app/@overflow/model/discovery/Service.ts

24 lines
522 B
TypeScript
Raw Normal View History

2018-09-03 16:12:10 +00:00
import { Port } from './Port';
import { MetaCryptoType } from '../meta';
2018-09-12 02:28:32 +00:00
export const defaultServiceType = 'ETC';
export const defaultServiceVendor = 'UNKNOWN';
export const defaultServiceVersion = 'UNKNOWN';
2018-09-03 16:12:10 +00:00
export interface Service {
metaCryptoType?: MetaCryptoType;
key?: string;
2018-09-11 08:04:22 +00:00
name?: string;
2018-09-03 16:12:10 +00:00
description?: string;
2018-09-12 02:28:32 +00:00
serviceType?: string;
serviceVendor?: string;
serviceVersion?: string;
2018-09-11 08:04:22 +00:00
meta?: Map<string, Map<string, string>>;
discoveredBy?: string[];
2018-09-03 16:12:10 +00:00
discoveredDate?: Date;
2018-09-11 08:04:22 +00:00
port?: Port;
2018-09-03 16:12:10 +00:00
}