adds initial user defined panels
This commit is contained in:
13
frontend/src/composables/dynamic.ts
Normal file
13
frontend/src/composables/dynamic.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export type DynamicComponentData =
|
||||
| { type: 'text'; text: string; justify_right: boolean }
|
||||
| { type: 'telemetry'; data: string }
|
||||
| {
|
||||
type: 'grid';
|
||||
columns: number;
|
||||
equal_width: boolean;
|
||||
cells: OptionalDynamicComponentData[][];
|
||||
};
|
||||
|
||||
export type OptionalDynamicComponentData =
|
||||
| { type: 'none' }
|
||||
| DynamicComponentData;
|
||||
Reference in New Issue
Block a user