🐛 Fix nullable integration type

This commit is contained in:
Manuel Ruwe
2022-12-12 21:53:30 +01:00
parent 1861a8d9d2
commit 4840548946
2 changed files with 37 additions and 35 deletions

View File

@@ -16,7 +16,7 @@ export interface ServiceType extends TileBaseType {
behaviour: ServiceBehaviourType;
network: ServiceNetworkType;
appearance: ServiceAppearanceType;
integration?: ServiceIntegrationType | null;
integration: ServiceIntegrationType;
}
export type ConfigServiceType = Omit<ServiceType, 'integration'> & {
@@ -51,7 +51,7 @@ export type IntegrationType =
| 'nzbGet';
export type ServiceIntegrationType = {
type: IntegrationType;
type: IntegrationType | null;
properties: ServiceIntegrationPropertyType[];
};