mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-14 11:50:31 +00:00
add server to monorepo.
This commit is contained in:
31
packages/server/src/interfaces/Table.ts
Normal file
31
packages/server/src/interfaces/Table.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
export interface IColumnMapperMeta {
|
||||
key: string;
|
||||
accessor?: string;
|
||||
value?: string;
|
||||
}
|
||||
|
||||
export interface ITableCell {
|
||||
value: string;
|
||||
key: string;
|
||||
}
|
||||
|
||||
export type ITableRow = {
|
||||
rows: ITableCell[];
|
||||
};
|
||||
|
||||
export interface ITableColumn {
|
||||
key: string;
|
||||
label: string;
|
||||
cellIndex?: number;
|
||||
children?: ITableColumn[];
|
||||
}
|
||||
|
||||
export interface ITable {
|
||||
columns: ITableColumn[];
|
||||
data: ITableRow[];
|
||||
}
|
||||
|
||||
export interface ITableColumnAccessor {
|
||||
key: string;
|
||||
accessor: string;
|
||||
}
|
||||
Reference in New Issue
Block a user