mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 07:17:55 +01:00
chore: Aggiunti alias per i tipi delle colonne/righe/sezioni
This commit is contained in:
parent
9a466971ca
commit
0b86133bab
@ -80,14 +80,18 @@ export type SectionT = FieldT[] | {
|
||||
fields: FieldT[] | { [string]: FieldT }
|
||||
};
|
||||
|
||||
export type ColumnsT = { [string]: [string] | ColumnT } | ColumnT[];
|
||||
export type RowsT = Collection<Model>;
|
||||
export type SectionsT = { [string]: SectionT } | SectionT[];
|
||||
|
||||
/**
|
||||
* @abstract
|
||||
*/
|
||||
export default class RecordsPage extends Page {
|
||||
columns: { [string]: [string] | ColumnT } | ColumnT[];
|
||||
rows: Collection<Model> = collect({});
|
||||
columns: ColumnsT;
|
||||
rows: RowsT = collect({});
|
||||
|
||||
sections: { [string]: SectionT } | SectionT[];
|
||||
sections: SectionsT;
|
||||
|
||||
dialogs: Children[];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user