misc: add secret metadata to batch update

This commit is contained in:
Sheen Capadngan
2024-12-23 14:46:23 +08:00
parent 356e7c5958
commit cb1b006118
2 changed files with 3 additions and 1 deletions
@@ -1932,7 +1932,8 @@ export const secretServiceFactory = ({
secretValue: el.secretValue, secretValue: el.secretValue,
secretComment: el.secretComment, secretComment: el.secretComment,
skipMultilineEncoding: el.skipMultilineEncoding, skipMultilineEncoding: el.skipMultilineEncoding,
secretKey: el.secretKey secretKey: el.secretKey,
secretMetadata: el.secretMetadata
})) }))
} }
}); });
@@ -271,6 +271,7 @@ export type TUpdateManySecretRawDTO = Omit<TProjectPermission, "projectId"> & {
secretComment?: string; secretComment?: string;
skipMultilineEncoding?: boolean; skipMultilineEncoding?: boolean;
tagIds?: string[]; tagIds?: string[];
secretMetadata?: ResourceMetadataDTO;
secretReminderRepeatDays?: number | null; secretReminderRepeatDays?: number | null;
secretReminderNote?: string | null; secretReminderNote?: string | null;
}[]; }[];