argos/dmp-frontend/src/app/ui/admin/dataset-profile/table-of-contents/table-of-contents-entry.ts

29 lines
456 B
TypeScript
Raw Normal View History

2021-02-04 11:22:52 +01:00
import { AbstractControl } from "@angular/forms";
export interface ToCEntry {
id: string;
label: string;
subEntriesType: ToCEntryType;
subEntries: ToCEntry[];
2021-02-04 09:33:03 +01:00
type: ToCEntryType;
2021-02-04 11:22:52 +01:00
form: AbstractControl;
numbering: string;
}
2021-02-04 09:33:03 +01:00
2021-02-04 11:22:52 +01:00
export enum ToCEntryType {
Page = 0,
Section = 1,
FieldSet = 2,
Field = 3
}
export interface Foo {
childType: ToCEntryType,
parent: ToCEntry
}
export interface TableUpdateInfo{
draggedItemId?: string;
data?:any;
2021-02-04 09:33:03 +01:00
}