Add new types for integration configuration

This commit is contained in:
Meierschlumpf
2022-12-11 19:16:31 +01:00
parent 68a97e5f27
commit ed64d138c5
10 changed files with 153 additions and 66 deletions

View File

@@ -1,6 +1,6 @@
import { CategoryType } from './category';
import { WrapperType } from './wrapper';
import { ServiceType } from './service';
import { ConfigServiceType, ServiceType } from './service';
import { IntegrationsType } from './integration';
import { SettingsType } from './settings';
@@ -14,6 +14,10 @@ export interface ConfigType {
settings: SettingsType;
}
export type BackendConfigType = Omit<ConfigType, 'services'> & {
services: ConfigServiceType[];
};
export interface ConfigPropertiesType {
name: string;
}