/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */ export enum ErrorType { Error , Warning } export enum AppCreatorType { NEW = "NEW" , IMPORT = "IMPORT" , COPY = "COPY" , OBI = "OBI" } export enum SelectionType { CURRENT = "CURRENT" , NEXT = "NEXT" , NONE = "NONE" } export enum EditDialogType { NEW = 'NEW' , TRAIN_EDITED = 'TRAIN_EDITED' , TRAIN_ORIGINAL = 'TRAIN_ORIGINAL' , LOG_EDITED = 'LOG_EDITED' , LOG_ORIGINAL = 'LOG_ORIGINAL' , BRANCH = 'BRANCH' , IMPORT = 'IMPORT' } export enum EditState { CAN_EDIT = 'CAN_EDIT' , INVALID_BOT = 'INVALID_BOT' , INVALID_PACKAGE = 'INVALID_PACKAGE' } export const CL_IMPORT_TUTORIALS_USER_ID = '9c110735ea8b440d8f31c5c68ffb767d' ; export const BOT_HOST_NAME = location . hostname ; export const REPROMPT_SELF = "SELF" ; export const NONE_RESOLVER_KEY = 'none' ; const LOCATION_PORT = location . port === '' ? location . protocol === 'https:' ? '443' : '80' : location . port ; export const ports = { urlBotPort : parseInt ( LOCATION_PORT , 10 ) , defaultUiPort : 3000 , defaultBotPort : 3978 , } ; export enum FeatureStrings { CCI = "CCI" , DISPATCHER = "DISPATCHER" } export const fromLogTag = 'from-log' ;