mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-12-07 19:59:07 +00:00
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
13 lines
304 B
TypeScript
13 lines
304 B
TypeScript
import { Transform } from 'class-transformer';
|
|
import { IsBoolean, IsOptional } from 'class-validator';
|
|
|
|
export class UserCountDto {
|
|
@IsBoolean()
|
|
@IsOptional()
|
|
@Transform(({ value }) => value === 'true')
|
|
/**
|
|
* When true, return the number of admins accounts
|
|
*/
|
|
admin?: boolean = false;
|
|
}
|