refactor: api validators (boolean and date) (#7709)

* refactor: api validators (boolean and date)

* chore: open api

* revert: time bucket change
This commit is contained in:
Jason Rasmussen
2024-03-07 22:59:02 -05:00
committed by GitHub
parent 753842745d
commit a50f125dd1
41 changed files with 276 additions and 368 deletions

View File

@@ -1,6 +1,6 @@
import { IsBoolean } from 'class-validator';
import { ValidateBoolean } from '../../domain.util';
export class SystemConfigReverseGeocodingDto {
@IsBoolean()
@ValidateBoolean()
enabled!: boolean;
}