mirror of
https://github.com/immich-app/immich.git
synced 2026-09-30 13:23:21 +08:00
refactor: api key response dto (#30887)
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user