feat(secret-approval): updated names to secret policy and fixed approval number bug

This commit is contained in:
Akhil Mohan
2023-09-28 12:23:01 +05:30
parent c67432a56f
commit b0c398688b
11 changed files with 54 additions and 37 deletions
@@ -10,7 +10,7 @@ export type TSecretApprovalPolicy = {
export type TCreateSecretPolicyDTO = {
workspaceId: string;
environment: string;
secretPath?: string;
secretPath?: string | null;
approvers?: string[];
approvals?: number;
};
@@ -18,7 +18,7 @@ export type TCreateSecretPolicyDTO = {
export type TUpdateSecretPolicyDTO = {
id: string;
approvers?: string[];
secretPath?: string;
secretPath?: string | null;
approvals?: number;
// for invalidating list
workspaceId: string;