mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 09:15:44 +03:00
refactor(server): library service (#8050)
* refactor: library service * chore: open api * fix: checks
This commit is contained in:
@@ -7646,6 +7646,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"ownerId",
|
||||
"type"
|
||||
],
|
||||
"type": "object"
|
||||
@@ -10689,7 +10690,8 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"importPath"
|
||||
"importPath",
|
||||
"isValid"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
||||
@@ -466,7 +466,7 @@ export type CreateLibraryDto = {
|
||||
isVisible?: boolean;
|
||||
isWatched?: boolean;
|
||||
name?: string;
|
||||
ownerId?: string;
|
||||
ownerId: string;
|
||||
"type": LibraryType;
|
||||
};
|
||||
export type UpdateLibraryDto = {
|
||||
@@ -491,7 +491,7 @@ export type ValidateLibraryDto = {
|
||||
};
|
||||
export type ValidateLibraryImportPathResponseDto = {
|
||||
importPath: string;
|
||||
isValid?: boolean;
|
||||
isValid: boolean;
|
||||
message?: string;
|
||||
};
|
||||
export type ValidateLibraryResponseDto = {
|
||||
|
||||
Reference in New Issue
Block a user