mirror of
https://github.com/KevinMidboe/immich.git
synced 2026-02-03 23:15:43 +00:00
refactor(server): domain/infra (#1298)
* refactor: user repository * refactor: user module * refactor: move database into infra * refactor(cli): use user core * chore: import path * chore: tests
This commit is contained in:
8
server/libs/domain/src/auth/dto/auth-user.dto.ts
Normal file
8
server/libs/domain/src/auth/dto/auth-user.dto.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export class AuthUserDto {
|
||||
id!: string;
|
||||
email!: string;
|
||||
isAdmin!: boolean;
|
||||
isPublicUser?: boolean;
|
||||
sharedLinkId?: string;
|
||||
isAllowUpload?: boolean;
|
||||
}
|
||||
1
server/libs/domain/src/auth/dto/index.ts
Normal file
1
server/libs/domain/src/auth/dto/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './auth-user.dto';
|
||||
1
server/libs/domain/src/auth/index.ts
Normal file
1
server/libs/domain/src/auth/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './dto';
|
||||
Reference in New Issue
Block a user