diff --git a/src/packages/discovery/model/DiscoveryHost.ts b/src/packages/discovery/model/DiscoveryHost.ts index 9c04c20..a6a0489 100644 --- a/src/packages/discovery/model/DiscoveryHost.ts +++ b/src/packages/discovery/model/DiscoveryHost.ts @@ -6,5 +6,5 @@ export interface DiscoveryHost { excludeHosts: string[]; includeHosts: string[]; - discoveryPort: DiscoveryPort; + discoveryPort?: DiscoveryPort; } diff --git a/src/packages/discovery/model/DiscoveryPort.ts b/src/packages/discovery/model/DiscoveryPort.ts index 0320c47..90f5e79 100644 --- a/src/packages/discovery/model/DiscoveryPort.ts +++ b/src/packages/discovery/model/DiscoveryPort.ts @@ -7,5 +7,5 @@ export interface DiscoveryPort { includeTCP: boolean; includeUDP: boolean; - discoveryService: DiscoveryService; + discoveryService?: DiscoveryService; } diff --git a/src/packages/discovery/model/DiscoveryZone.ts b/src/packages/discovery/model/DiscoveryZone.ts index d3aba60..7a17f6a 100644 --- a/src/packages/discovery/model/DiscoveryZone.ts +++ b/src/packages/discovery/model/DiscoveryZone.ts @@ -1,7 +1,7 @@ import { DiscoveryHost } from './DiscoveryHost'; export interface DiscoveryZone { - excludePatterns: string[]; + excludePatterns?: string[]; - discoveryHost: DiscoveryHost; + discoveryHost?: DiscoveryHost; }