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
|
|
@ -8,8 +8,8 @@ export class CreateLibraryDto {
|
|||
@ApiProperty({ enumName: 'LibraryType', enum: LibraryType })
|
||||
type!: LibraryType;
|
||||
|
||||
@ValidateUUID({ optional: true })
|
||||
ownerId?: string;
|
||||
@ValidateUUID()
|
||||
ownerId!: string;
|
||||
|
||||
@IsString()
|
||||
@Optional()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue