feat(infisical-pg): changed frontend api types _id to normal id

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent f3b37de3f3
commit aaba4a0895
161 changed files with 5358 additions and 4510 deletions
+18 -18
View File
@@ -1,27 +1,27 @@
export type APIKeyDataV2 = {
id: string;
name: string;
user: string;
lastUsed?: string;
usageCount: number;
createdAt: string;
updatedAt: string;
};
id: string;
name: string;
user: string;
lastUsed?: string;
usageCount: number;
createdAt: string;
updatedAt: string;
};
export type CreateAPIKeyDataV2DTO = {
name: string;
}
name: string;
};
export type CreateServiceTokenDataV3Res = {
apiKeyData: APIKeyDataV2;
apiKey: string;
}
apiKeyData: APIKeyDataV2;
apiKey: string;
};
export type UpdateAPIKeyDataV2DTO = {
apiKeyDataId: string;
name: string;
}
apiKeyDataId: string;
name: string;
};
export type DeleteAPIKeyDataV2DTO = {
apiKeyDataId: string;
}
apiKeyDataId: string;
};