mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor(server): library service (#8050)
* refactor: library service * chore: open api * fix: checks
This commit is contained in:
parent
761e7fdd2d
commit
40262c30cb
21 changed files with 198 additions and 335 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue