refactor: api key response dto (#30887)

This commit is contained in:
Jason Rasmussen
2026-08-20 11:23:12 -04:00
committed by GitHub
parent a066b5f301
commit 47c5a3dbf6
8 changed files with 104 additions and 37 deletions
+10
View File
@@ -631,8 +631,18 @@ export type ApiKeyCreateDto = {
};
export type ApiKeyCreateResponseDto = {
apiKey: ApiKeyResponseDto;
/** Creation date */
createdAt: string;
/** API key ID */
id: string;
/** API key name */
name: string;
/** List of permissions */
permissions: Permission[];
/** API key secret (only shown once) */
secret: string;
/** Last update date */
updatedAt: string;
};
export type ApiKeyUpdateDto = {
/** API key name */