1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
2019-12-24 12:22:25 +01:00

19 lines
416 B
TypeScript

export type fieldType = 'string' | 'number' | 'boolean' | 'number-array';
export enum DefaultsJobs {
Indexing = 1, 'Database Reset' = 2, 'Video Converting' = 3, 'Photo Converting' = 4, 'Thumbnail Generation' = 5
}
export interface ConfigTemplateEntry {
id: string;
name: string;
type: fieldType;
defaultValue: any;
}
export interface JobDTO {
Name: string;
ConfigTemplate: ConfigTemplateEntry[];
}