preserve stuff before trying something craz
This commit is contained in:
19
dist/processDef.d.ts
vendored
19
dist/processDef.d.ts
vendored
@ -1,10 +1,29 @@
|
||||
interface SystemDef {
|
||||
storage: StorageDef;
|
||||
views: ViewDef[];
|
||||
}
|
||||
interface StorageDef {
|
||||
tables: TableDef[];
|
||||
relations: ManyToManyDef[];
|
||||
}
|
||||
interface ViewDef {
|
||||
component: string;
|
||||
type: ('list' | 'count' | 'item' | 'distinct')[];
|
||||
columns: string[];
|
||||
orderBy?: Order[];
|
||||
filters?: Filter[];
|
||||
}
|
||||
interface Order {
|
||||
column: string;
|
||||
direction: 'asc' | 'desc';
|
||||
}
|
||||
interface Filter {
|
||||
param: string;
|
||||
column: string;
|
||||
comparison: '=' | '!=' | '>' | '<' | 'contains';
|
||||
value?: string;
|
||||
required?: boolean;
|
||||
}
|
||||
interface TableDef {
|
||||
name: string;
|
||||
columns: ColumnDef[];
|
||||
|
Reference in New Issue
Block a user