1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
Patrik J. Braun f8a361cb9e implementing video converting task
note: braking changes in database and config file
2019-12-09 14:05:06 +01:00

19 lines
350 B
TypeScript

export type fieldType = 'string' | 'number' | 'boolean';
export enum DefaultsTasks {
Indexing = 1, 'Database Reset' = 2, 'Video Converting' = 3
}
export interface ConfigTemplateEntry {
id: string;
name: string;
type: fieldType;
defaultValue: any;
}
export interface TaskDTO {
Name: string;
ConfigTemplate: ConfigTemplateEntry[];
}