argos/dmp-frontend/src/app/ui/admin/description-template/editor/table-of-contents/description-template-table-...

31 lines
495 B
TypeScript
Raw Normal View History

2023-10-31 10:19:52 +01:00
import { AbstractControl } from "@angular/forms";
export interface ToCEntry {
id: string;
label: string;
subEntriesType: ToCEntryType;
subEntries: ToCEntry[];
type: ToCEntryType;
form: AbstractControl;
numbering: string;
2024-02-08 16:14:25 +01:00
validationRootPath: string;
2023-10-31 10:19:52 +01:00
}
export enum ToCEntryType {
Page = 0,
Section = 1,
FieldSet = 2,
Field = 3
}
export interface NewEntryType {
childType: ToCEntryType,
parent: ToCEntry
}
export interface TableUpdateInfo{
draggedItemId?: string;
data?:any;
}