mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
Move all config stuff to a single directory
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user