Change integration structure to array and rename to widgets in config

This commit is contained in:
Meierschlumpf
2022-12-19 17:03:39 +01:00
parent ed0146e7b0
commit 8f7a3111ca
21 changed files with 154 additions and 134 deletions

View File

@@ -1,8 +1,8 @@
import { CategoryType } from './category';
import { WrapperType } from './wrapper';
import { ConfigAppType, AppType } from './app';
import { IntegrationsType } from './integration';
import { SettingsType } from './settings';
import { IWidget } from '../widgets/widgets';
export interface ConfigType {
schemaVersion: string;
@@ -10,7 +10,7 @@ export interface ConfigType {
categories: CategoryType[];
wrappers: WrapperType[];
apps: AppType[];
integrations: IntegrationsType;
widgets: IWidget<string, any>[];
settings: SettingsType;
}