mirror of
https://github.com/immich-app/immich.git
synced 2026-02-12 20:08:25 +03:00
generate openapi
This commit is contained in:
@@ -7065,11 +7065,32 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"AlbumPermissionResponseDto": {
|
||||
"properties": {
|
||||
"readonly": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"user": {
|
||||
"$ref": "#/components/schemas/UserResponseDto"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"readonly",
|
||||
"user"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"AlbumResponseDto": {
|
||||
"properties": {
|
||||
"albumName": {
|
||||
"type": "string"
|
||||
},
|
||||
"albumPermissions": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/AlbumPermissionResponseDto"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"albumThumbnailAssetId": {
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
@@ -7120,6 +7141,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"sharedUsers": {
|
||||
"deprecated": true,
|
||||
"description": "Deprecated in favor of albumPermissions",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/UserResponseDto"
|
||||
},
|
||||
@@ -7136,6 +7159,7 @@
|
||||
},
|
||||
"required": [
|
||||
"albumName",
|
||||
"albumPermissions",
|
||||
"albumThumbnailAssetId",
|
||||
"assetCount",
|
||||
"assets",
|
||||
|
||||
@@ -38,6 +38,28 @@ export type ActivityCreateDto = {
|
||||
export type ActivityStatisticsResponseDto = {
|
||||
comments: number;
|
||||
};
|
||||
export type UserResponseDto = {
|
||||
avatarColor: UserAvatarColor;
|
||||
createdAt: string;
|
||||
deletedAt: string | null;
|
||||
email: string;
|
||||
id: string;
|
||||
isAdmin: boolean;
|
||||
memoriesEnabled?: boolean;
|
||||
name: string;
|
||||
oauthId: string;
|
||||
profileImagePath: string;
|
||||
quotaSizeInBytes: number | null;
|
||||
quotaUsageInBytes: number | null;
|
||||
shouldChangePassword: boolean;
|
||||
status: UserStatus;
|
||||
storageLabel: string | null;
|
||||
updatedAt: string;
|
||||
};
|
||||
export type AlbumPermissionResponseDto = {
|
||||
"readonly": boolean;
|
||||
user: UserResponseDto;
|
||||
};
|
||||
export type ExifResponseDto = {
|
||||
city?: string | null;
|
||||
country?: string | null;
|
||||
@@ -61,24 +83,6 @@ export type ExifResponseDto = {
|
||||
state?: string | null;
|
||||
timeZone?: string | null;
|
||||
};
|
||||
export type UserResponseDto = {
|
||||
avatarColor: UserAvatarColor;
|
||||
createdAt: string;
|
||||
deletedAt: string | null;
|
||||
email: string;
|
||||
id: string;
|
||||
isAdmin: boolean;
|
||||
memoriesEnabled?: boolean;
|
||||
name: string;
|
||||
oauthId: string;
|
||||
profileImagePath: string;
|
||||
quotaSizeInBytes: number | null;
|
||||
quotaUsageInBytes: number | null;
|
||||
shouldChangePassword: boolean;
|
||||
status: UserStatus;
|
||||
storageLabel: string | null;
|
||||
updatedAt: string;
|
||||
};
|
||||
export type AssetFaceWithoutPersonResponseDto = {
|
||||
boundingBoxX1: number;
|
||||
boundingBoxX2: number;
|
||||
@@ -143,6 +147,7 @@ export type AssetResponseDto = {
|
||||
};
|
||||
export type AlbumResponseDto = {
|
||||
albumName: string;
|
||||
albumPermissions: AlbumPermissionResponseDto[];
|
||||
albumThumbnailAssetId: string | null;
|
||||
assetCount: number;
|
||||
assets: AssetResponseDto[];
|
||||
@@ -157,6 +162,7 @@ export type AlbumResponseDto = {
|
||||
owner: UserResponseDto;
|
||||
ownerId: string;
|
||||
shared: boolean;
|
||||
/** Deprecated in favor of albumPermissions */
|
||||
sharedUsers: UserResponseDto[];
|
||||
startDate?: string;
|
||||
updatedAt: string;
|
||||
|
||||
Reference in New Issue
Block a user