1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/common/entities/task/TaskDTO.ts

19 lines
350 B
TypeScript
Raw Normal View History

2019-07-28 04:56:12 +08:00
export type fieldType = 'string' | 'number' | 'boolean';
export enum DefaultsTasks {
Indexing = 1, 'Database Reset' = 2, 'Video Converting' = 3
2019-07-28 04:56:12 +08:00
}
export interface ConfigTemplateEntry {
id: string;
name: string;
type: fieldType;
defaultValue: any;
}
export interface TaskDTO {
Name: string;
ConfigTemplate: ConfigTemplateEntry[];
}