Move all config stuff to a single directory

This commit is contained in:
Giuseppe
2018-10-17 15:01:55 +02:00
parent 917a724c83
commit ea227aef64
38 changed files with 50 additions and 52 deletions

View File

@@ -0,0 +1,23 @@
import { autoserialize, inheritSerialization } from 'cerialize';
import { ConfigObject } from './config.model';
import { SectionsType } from '../../../submission/sections/sections-type';
@inheritSerialization(ConfigObject)
export class SubmissionSectionModel extends ConfigObject {
@autoserialize
header: string;
@autoserialize
mandatory: boolean;
@autoserialize
sectionType: SectionsType;
@autoserialize
visibility: {
main: any,
other: any
}
}