discovery model modify

This commit is contained in:
geek 2018-03-19 15:59:55 +09:00
parent 75a9958efd
commit a0bf4848d3
3 changed files with 4 additions and 4 deletions

View File

@ -6,5 +6,5 @@ export interface DiscoveryHost {
excludeHosts: string[];
includeHosts: string[];
discoveryPort: DiscoveryPort;
discoveryPort?: DiscoveryPort;
}

View File

@ -7,5 +7,5 @@ export interface DiscoveryPort {
includeTCP: boolean;
includeUDP: boolean;
discoveryService: DiscoveryService;
discoveryService?: DiscoveryService;
}

View File

@ -1,7 +1,7 @@
import { DiscoveryHost } from './DiscoveryHost';
export interface DiscoveryZone {
excludePatterns: string[];
excludePatterns?: string[];
discoveryHost: DiscoveryHost;
discoveryHost?: DiscoveryHost;
}