import { RegistryEntry } from './RegistryEntry' ; export enum EnvironmentFlags { ENVIRONMENT = 1 << 0 , ANSIBLE = 1 << 1 , MANAGED = 1 << 2 , LOCAL = 1 << 3 , OPS_TOOLS = 1 << 4 , SAAS = 1 << 5 , MICROFAB = 1 << 6 } export enum EnvironmentType { ENVIRONMENT = EnvironmentFlags . ENVIRONMENT , ANSIBLE_ENVIRONMENT = EnvironmentFlags . ANSIBLE , LOCAL_ENVIRONMENT = EnvironmentFlags . LOCAL | EnvironmentFlags . MANAGED | EnvironmentFlags . ANSIBLE , OPS_TOOLS_ENVIRONMENT = EnvironmentFlags . OPS_TOOLS , SAAS_OPS_TOOLS_ENVIRONMENT = EnvironmentFlags . OPS_TOOLS | EnvironmentFlags . SAAS , LOCAL_MICROFAB_ENVIRONMENT = EnvironmentFlags . MICROFAB | EnvironmentFlags . MANAGED | EnvironmentFlags . LOCAL , MICROFAB_ENVIRONMENT = EnvironmentFlags . MICROFAB , MANAGED = EnvironmentFlags . MANAGED } export class FabricEnvironmentRegistryEntry extends RegistryEntry { public managedRuntime ? : boolean ; public environmentType : EnvironmentType ; public environmentDirectory ? : string ; public url ? : string ; public numberOfOrgs ? : number ; public fabricCapabilities ? : string ; constructor ( fields ? ) { super ( ) ; Object . assign ( this , fields ) ; } }