Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Updated typings

Daniel Hougaard8886e57d4f7d
diff --git a/frontend/src/hooks/api/secrets/mutations.tsx b/frontend/src/hooks/api/secrets/mutations.tsx
index d3f7057667..448daee3be 100644
--- a/frontend/src/hooks/api/secrets/mutations.tsx
+++ b/frontend/src/hooks/api/secrets/mutations.tsx
@@ -139,7 +139,7 @@ export const useUpdateSecretV3 = ({
latestFileKey,
tags,
secretComment,
- secretReminderCron,
+ secretReminderRepeatDays,
secretReminderNote,
newSecretName,
skipMultilineEncoding
@@ -160,7 +160,7 @@ export const useUpdateSecretV3 = ({
environment,
type,
secretReminderNote,
- secretReminderCron,
+ secretReminderRepeatDays,
secretPath,
secretId,
...encryptSecret(randomBytes, newSecretName ?? secretName, secretValue, secretComment),
diff --git a/frontend/src/hooks/api/secrets/queries.tsx b/frontend/src/hooks/api/secrets/queries.tsx
index 1591893750..55bce3338b 100644
--- a/frontend/src/hooks/api/secrets/queries.tsx
+++ b/frontend/src/hooks/api/secrets/queries.tsx
@@ -69,7 +69,7 @@ export const decryptSecrets = (
value: secretValue,
tags: encSecret.tags,
comment: secretComment,
- reminderCron: encSecret.secretReminderCron,
+ reminderRepeatDays: encSecret.secretReminderRepeatDays,
reminderNote: encSecret.secretReminderNote,
createdAt: encSecret.createdAt,
updatedAt: encSecret.updatedAt,
diff --git a/frontend/src/hooks/api/secrets/types.ts b/frontend/src/hooks/api/secrets/types.ts
index 604c604b46..36f62c3dff 100644
--- a/frontend/src/hooks/api/secrets/types.ts
+++ b/frontend/src/hooks/api/secrets/types.ts
@@ -20,7 +20,7 @@ export type EncryptedSecret = {
secretCommentCiphertext: string;
secretCommentIV: string;
secretCommentTag: string;
- secretReminderCron?: string | null;
+ secretReminderRepeatDays?: number | null;
secretReminderNote?: string | null;
tags: WsTag[];
};
@@ -31,7 +31,7 @@ export type DecryptedSecret = {
key: string;
value: string;
comment: string;
- reminderCron?: string | null;
+ reminderRepeatDays?: number | null;
reminderNote?: string | null;
tags: WsTag[];
createdAt: string;
@@ -116,7 +116,7 @@ export type TUpdateSecretsV3DTO = {
secretId?: string;
secretValue: string;
secretComment?: string;
- secretReminderCron?: string | null;
+ secretReminderRepeatDays?: number | null;
secretReminderNote?: string | null;
tags?: string[];
};