import { Port } from './Port';
import { MetaCryptoType, MetaDiscovererType } from '../meta';

export const defaultServiceType = 'ETC';
export const defaultServiceVendor = 'UNKNOWN';
export const defaultServiceVersion = 'UNKNOWN';

export interface Service {
  metaCryptoType?: MetaCryptoType;
  key?: string;
  name?: string;
  description?: string;

  serviceType?: string;
  serviceVendor?: string;
  serviceVersion?: string;

  meta?: Map<string, Map<string, string>>;
  discoveredBy?: MetaDiscovererType[];
  discoveredDate?: Date;

  port?: Port;
}
