mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
More typing updates
This commit is contained in:
@@ -717,7 +717,7 @@ export const updateSecretHelper = async ({
|
|||||||
secretValueIV,
|
secretValueIV,
|
||||||
secretValueTag,
|
secretValueTag,
|
||||||
secretPath,
|
secretPath,
|
||||||
secretReminderCron,
|
secretReminderRepeatDays,
|
||||||
secretReminderNote,
|
secretReminderNote,
|
||||||
tags,
|
tags,
|
||||||
secretCommentCiphertext,
|
secretCommentCiphertext,
|
||||||
@@ -784,7 +784,7 @@ export const updateSecretHelper = async ({
|
|||||||
secretCommentTag,
|
secretCommentTag,
|
||||||
secretCommentCiphertext,
|
secretCommentCiphertext,
|
||||||
|
|
||||||
secretReminderCron,
|
secretReminderRepeatDays,
|
||||||
secretReminderNote,
|
secretReminderNote,
|
||||||
|
|
||||||
skipMultilineEncoding,
|
skipMultilineEncoding,
|
||||||
|
|||||||
@@ -59,8 +59,8 @@ export interface UpdateSecretParams {
|
|||||||
secretCommentIV?: string;
|
secretCommentIV?: string;
|
||||||
secretCommentTag?: string;
|
secretCommentTag?: string;
|
||||||
|
|
||||||
secretReminderCron?: string | null;
|
secretReminderRepeatDays?: number | null;
|
||||||
secretReminderNote?: string | null ;
|
secretReminderNote?: string | null;
|
||||||
|
|
||||||
skipMultilineEncoding?: boolean;
|
skipMultilineEncoding?: boolean;
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ export interface ISecret {
|
|||||||
|
|
||||||
// ? NOTE: This works great for workspace-level reminders.
|
// ? NOTE: This works great for workspace-level reminders.
|
||||||
// ? If we want to do it on a user-basis, we should ideally have a seperate model for reminders.
|
// ? If we want to do it on a user-basis, we should ideally have a seperate model for reminders.
|
||||||
secretReminderCron?: string | null;
|
secretReminderRepeatDays?: number | null;
|
||||||
secretReminderNote?: string | null;
|
secretReminderNote?: string | null;
|
||||||
|
|
||||||
skipMultilineEncoding?: boolean;
|
skipMultilineEncoding?: boolean;
|
||||||
@@ -125,8 +125,8 @@ const secretSchema = new Schema<ISecret>(
|
|||||||
required: false
|
required: false
|
||||||
},
|
},
|
||||||
|
|
||||||
secretReminderCron: {
|
secretReminderRepeatDays: {
|
||||||
type: String,
|
type: Number,
|
||||||
required: false,
|
required: false,
|
||||||
default: null
|
default: null
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user