mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
8ebac41318
* 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;
|
|
}
|