import { ListConfiguration } from '../configuration-model'; import { ListData } from './list-data.model'; import { ListLayout } from './list-layout.model'; import { ListState } from './list-state.model'; export interface ListContainer { Layout?: Partial; Data?: ListData; State?: Partial; List?: ListConfiguration; ErrorMessage?: string; Actions?: ListAction[]; } export interface ListAction { Type: string; Data?: { [key: string]: unknown; }; } export interface ExportListAction extends ListAction { Type: 'Export'; Data: { AddonUUID: string; Resource: string; Format?: string; IncludeDeleted?: boolean; FileName?: string; Where?: string; Fields?: string; Delimiter?: string; ActionID?: string; AdditionalData?: any; }; } export interface ImportListAction extends ListAction { Type: 'Import'; Data: { AddonUUID: string; Resource: string; OverwriteObject?: boolean; Delimiter?: string; AdditionalData?: any; }; }