diff options
Diffstat (limited to 'sdnr/wt/odlux/framework/src/models')
-rw-r--r-- | sdnr/wt/odlux/framework/src/models/settings.ts | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/sdnr/wt/odlux/framework/src/models/settings.ts b/sdnr/wt/odlux/framework/src/models/settings.ts index 11ba2f901..1752d6a52 100644 --- a/sdnr/wt/odlux/framework/src/models/settings.ts +++ b/sdnr/wt/odlux/framework/src/models/settings.ts @@ -17,35 +17,32 @@ */ export type TableSettingsColumn = { - property: string, - displayed: boolean -} + property: string; + displayed: boolean; +}; export type TableSettings = { - tables:{ - [key: string]: { - columns: TableSettingsColumn[] + tables:{ + [key: string]: { + columns: TableSettingsColumn[]; - //match prop names, hide them - //via property name! -> only those which are hidden! - //all others default false, oh yeah - //or maybe the other way around, gotta think about that - - } - } + //match prop names, hide them + //via property name! -> only those which are hidden! + //all others default false, oh yeah + //or maybe the other way around, gotta think about that - - -} + }; + }; +}; export type GeneralSettings = { - general:{ - areNotificationsEnabled: boolean | null - } + general:{ + areNotificationsEnabled: boolean | null; + }; }; -export type Settings= TableSettings & GeneralSettings; +export type Settings = TableSettings & GeneralSettings; export type SettingsComponentProps = { - onClose(): void + onClose(): void; };
\ No newline at end of file |