mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 20:27:43 +00:00
Updated typings
This commit is contained in:
@@ -139,7 +139,7 @@ export const useUpdateSecretV3 = ({
|
|||||||
latestFileKey,
|
latestFileKey,
|
||||||
tags,
|
tags,
|
||||||
secretComment,
|
secretComment,
|
||||||
secretReminderCron,
|
secretReminderRepeatDays,
|
||||||
secretReminderNote,
|
secretReminderNote,
|
||||||
newSecretName,
|
newSecretName,
|
||||||
skipMultilineEncoding
|
skipMultilineEncoding
|
||||||
@@ -160,7 +160,7 @@ export const useUpdateSecretV3 = ({
|
|||||||
environment,
|
environment,
|
||||||
type,
|
type,
|
||||||
secretReminderNote,
|
secretReminderNote,
|
||||||
secretReminderCron,
|
secretReminderRepeatDays,
|
||||||
secretPath,
|
secretPath,
|
||||||
secretId,
|
secretId,
|
||||||
...encryptSecret(randomBytes, newSecretName ?? secretName, secretValue, secretComment),
|
...encryptSecret(randomBytes, newSecretName ?? secretName, secretValue, secretComment),
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ export const decryptSecrets = (
|
|||||||
value: secretValue,
|
value: secretValue,
|
||||||
tags: encSecret.tags,
|
tags: encSecret.tags,
|
||||||
comment: secretComment,
|
comment: secretComment,
|
||||||
reminderCron: encSecret.secretReminderCron,
|
reminderRepeatDays: encSecret.secretReminderRepeatDays,
|
||||||
reminderNote: encSecret.secretReminderNote,
|
reminderNote: encSecret.secretReminderNote,
|
||||||
createdAt: encSecret.createdAt,
|
createdAt: encSecret.createdAt,
|
||||||
updatedAt: encSecret.updatedAt,
|
updatedAt: encSecret.updatedAt,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export type EncryptedSecret = {
|
|||||||
secretCommentCiphertext: string;
|
secretCommentCiphertext: string;
|
||||||
secretCommentIV: string;
|
secretCommentIV: string;
|
||||||
secretCommentTag: string;
|
secretCommentTag: string;
|
||||||
secretReminderCron?: string | null;
|
secretReminderRepeatDays?: number | null;
|
||||||
secretReminderNote?: string | null;
|
secretReminderNote?: string | null;
|
||||||
tags: WsTag[];
|
tags: WsTag[];
|
||||||
};
|
};
|
||||||
@@ -31,7 +31,7 @@ export type DecryptedSecret = {
|
|||||||
key: string;
|
key: string;
|
||||||
value: string;
|
value: string;
|
||||||
comment: string;
|
comment: string;
|
||||||
reminderCron?: string | null;
|
reminderRepeatDays?: number | null;
|
||||||
reminderNote?: string | null;
|
reminderNote?: string | null;
|
||||||
tags: WsTag[];
|
tags: WsTag[];
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
@@ -116,7 +116,7 @@ export type TUpdateSecretsV3DTO = {
|
|||||||
secretId?: string;
|
secretId?: string;
|
||||||
secretValue: string;
|
secretValue: string;
|
||||||
secretComment?: string;
|
secretComment?: string;
|
||||||
secretReminderCron?: string | null;
|
secretReminderRepeatDays?: number | null;
|
||||||
secretReminderNote?: string | null;
|
secretReminderNote?: string | null;
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user