mirror of
https://github.com/Art051/immich.git
synced 2025-08-11 19:29:00 +00:00
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
15 lines
246 B
TypeScript
15 lines
246 B
TypeScript
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
|
|
export class APIKeyCreateDto {
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
@IsOptional()
|
|
name?: string;
|
|
}
|
|
|
|
export class APIKeyUpdateDto {
|
|
@IsString()
|
|
@IsNotEmpty()
|
|
name!: string;
|
|
}
|