mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 09:15:35 +03:00
Add web interface with admin functionality (#167)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user