feat: removed isReplicated fields from secret as no longer needed corresponding its changes in ui

This commit is contained in:
=
2024-05-31 23:10:04 +05:30
parent cf690e2e16
commit c6043568cf
6 changed files with 9 additions and 16 deletions
@@ -67,7 +67,6 @@ export const decryptSecrets = (
env: encSecret.environment,
key: secretKey,
value: secretValue,
isReplicated: encSecret.isReplicated,
tags: encSecret.tags,
comment: secretComment,
reminderRepeatDays: encSecret.secretReminderRepeatDays,
-2
View File
@@ -14,7 +14,6 @@ export type EncryptedSecret = {
secretValueIV: string;
secretValueTag: string;
__v: number;
isReplicated?: boolean;
createdAt: string;
updatedAt: string;
skipMultilineEncoding?: boolean;
@@ -32,7 +31,6 @@ export type DecryptedSecret = {
key: string;
value: string;
comment: string;
isReplicated?: boolean;
reminderRepeatDays?: number | null;
reminderNote?: string | null;
tags: WsTag[];