Add new config format

This commit is contained in:
Meierschlumpf
2022-12-04 17:36:30 +01:00
parent b2f5149527
commit d5a3b3f3ba
76 changed files with 2461 additions and 1034 deletions

19
src/types/config.ts Normal file
View File

@@ -0,0 +1,19 @@
import { CategoryType } from './category';
import { WrapperType } from './wrapper';
import { ServiceType } from './service';
import { IntegrationsType } from './integration';
import { SettingsType } from './settings';
export interface ConfigType {
schemaVersion: string;
configProperties: ConfigPropertiesType;
categories: CategoryType[];
wrappers: WrapperType[];
services: ServiceType[];
integrations: IntegrationsType;
settings: SettingsType;
}
export interface ConfigPropertiesType {
name: string;
}