2e38fa73bf
* fix: pgvecto.rs extension breaks typeorm schema:drop command * fix: parse postgres bigints to javascript number types when selecting data * feat: verify file size is the same as original asset after copying file for storage template job * feat: allow disabling of storage template job, defaults to disabled for new instances * fix: don't allow setting concurrency for storage template migration, can cause race conditions above 1 * feat: add checksum verification when file is copied for storage template job * fix: extract metadata for assets that aren't visible on timeline
12 lines
255 B
TypeScript
12 lines
255 B
TypeScript
import { IsBoolean, IsNotEmpty, IsString } from 'class-validator';
|
|
|
|
export class SystemConfigStorageTemplateDto {
|
|
@IsBoolean()
|
|
enabled!: boolean;
|
|
@IsBoolean()
|
|
hashVerificationEnabled!: boolean;
|
|
@IsNotEmpty()
|
|
@IsString()
|
|
template!: string;
|
|
}
|