mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
Add web interface with admin functionality (#167)
This commit is contained in:
parent
79dea504b0
commit
a779c3803c
76 changed files with 8252 additions and 87 deletions
|
|
@ -1 +1,27 @@
|
|||
export class CreateUserDto {}
|
||||
import { IsNotEmpty, IsOptional } from 'class-validator';
|
||||
|
||||
export class CreateUserDto {
|
||||
@IsNotEmpty()
|
||||
email: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
password: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
firstName: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
lastName: string;
|
||||
|
||||
@IsOptional()
|
||||
profileImagePath: string;
|
||||
|
||||
@IsOptional()
|
||||
isAdmin: boolean;
|
||||
|
||||
@IsOptional()
|
||||
isFirstLoggedIn: boolean;
|
||||
|
||||
@IsOptional()
|
||||
id: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue