@nodeject/ui-components
Version:
UI library for non-trivial components
27 lines (26 loc) • 513 B
TypeScript
export interface ItemType {
id: string;
metadata: {
[key: string]: any;
};
}
export declare type ItemListType = {
[key: string]: ItemType;
};
export interface List {
id: string;
metaData: {
[key: string]: any;
};
itemIds: string[];
}
export interface ListType extends List {
items: ItemListType;
}
export interface DragDropData {
columnOrder: string[];
columns: {
[key: string]: List;
};
items: ItemListType;
}