From a0bf4848d3b8fc72c8e4e774f1377ba2cd956331 Mon Sep 17 00:00:00 2001 From: geek Date: Mon, 19 Mar 2018 15:59:55 +0900 Subject: [PATCH] discovery model modify --- src/packages/discovery/model/DiscoveryHost.ts | 2 +- src/packages/discovery/model/DiscoveryPort.ts | 2 +- src/packages/discovery/model/DiscoveryZone.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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; }