mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 23:37:51 +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 }
|
fields: FieldT[] | { [string]: FieldT }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type ColumnsT = { [string]: [string] | ColumnT } | ColumnT[];
|
||||||
|
export type RowsT = Collection<Model>;
|
||||||
|
export type SectionsT = { [string]: SectionT } | SectionT[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @abstract
|
* @abstract
|
||||||
*/
|
*/
|
||||||
export default class RecordsPage extends Page {
|
export default class RecordsPage extends Page {
|
||||||
columns: { [string]: [string] | ColumnT } | ColumnT[];
|
columns: ColumnsT;
|
||||||
rows: Collection<Model> = collect({});
|
rows: RowsT = collect({});
|
||||||
|
|
||||||
sections: { [string]: SectionT } | SectionT[];
|
sections: SectionsT;
|
||||||
|
|
||||||
dialogs: Children[];
|
dialogs: Children[];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user