"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ProvisionType {
}
ProvisionType.Development = "Development";
ProvisionType.AdHoc = "AdHoc";
ProvisionType.AppStore = "AppStore";
ProvisionType.Enterprise = "Enterprise";
exports.ProvisionType = ProvisionType;
class DeviceTypes {
}
DeviceTypes.Emulator = "Emulator";
DeviceTypes.Simulator = "Simulator";
DeviceTypes.Device = "Device";
exports.DeviceTypes = DeviceTypes;
exports.APP_RESOURCES_FOLDER_NAME = "App_Resources";
exports.ERROR_NO_DEVICES = "Cannot find connected devices. Reconnect any connected devices, verify that your system recognizes them, and run this command again.";
exports.ERROR_CANT_USE_SIMULATOR = "You can use iOS simulator only on OS X.";
exports.ERROR_NO_DEVICES_CANT_USE_IOS_SIMULATOR = "Cannot find connected devices and cannot start iOS simulator on this OS.";
exports.ERROR_CANNOT_RESOLVE_DEVICE = "Cannot resolve the specified connected device. The provided platform does not match the provided index or identifier. To list currently connected devices and verify that the specified pair of platform and index or identifier exists, run 'device'.";
exports.ERROR_NO_VALID_SUBCOMMAND_FORMAT = "The input is not valid sub-command for '%s' command";
exports.UNREACHABLE_STATUS = "Unreachable";
exports.CONNECTED_STATUS = "Connected";
exports.RUNNING_EMULATOR_STATUS = "Running";
exports.NOT_RUNNING_EMULATOR_STATUS = "Not running";
exports.APPLE_VENDOR_NAME = "Apple";
class LiveSyncPaths {
}
LiveSyncPaths.SYNC_DIR_NAME = "sync";
LiveSyncPaths.REMOVEDSYNC_DIR_NAME = "removedsync";
LiveSyncPaths.FULLSYNC_DIR_NAME = "fullsync";
LiveSyncPaths.IOS_DEVICE_PROJECT_ROOT_PATH = "Library/Application Support/LiveSync";
LiveSyncPaths.IOS_DEVICE_SYNC_ZIP_PATH = "Library/Application Support/LiveSync/sync.zip";
LiveSyncPaths.ANDROID_TMP_DIR_NAME = "/data/local/tmp";
exports.LiveSyncPaths = LiveSyncPaths;
class HmrConstants {
}
HmrConstants.HMR_ERROR_STATUS = 3;
HmrConstants.HMR_SUCCESS_STATUS = 2;
exports.HmrConstants = HmrConstants;
class DeviceDiscoveryEventNames {
}
DeviceDiscoveryEventNames.DEVICE_FOUND = "deviceFound";
DeviceDiscoveryEventNames.DEVICE_LOST = "deviceLost";
exports.DeviceDiscoveryEventNames = DeviceDiscoveryEventNames;
class EmulatorDiscoveryNames {
}
EmulatorDiscoveryNames.EMULATOR_IMAGE_FOUND = "emulatorImageFound";
EmulatorDiscoveryNames.EMULATOR_IMAGE_LOST = "emulatorImageLost";
exports.EmulatorDiscoveryNames = EmulatorDiscoveryNames;
exports.DEVICE_LOG_EVENT_NAME = "deviceLogData";
exports.IOS_LOG_PREDICATE = 'senderImagePath contains "NativeScript" || eventMessage contains[c] "NativeScript"';
exports.IOS_APP_CRASH_LOG_REG_EXP = /Fatal JavaScript exception \- application has been terminated/;
exports.TARGET_FRAMEWORK_IDENTIFIERS = {
    Cordova: "Cordova",
    NativeScript: "NativeScript"
};
class Configurations {
}
Configurations.Debug = "Debug";
Configurations.Release = "Release";
exports.Configurations = Configurations;
exports.NODE_MODULES_DIR_NAME = "node_modules";
exports.TNS_CORE_MODULES = "tns-core-modules";
class FileExtensions {
}
FileExtensions.TYPESCRIPT_DEFINITION_FILE = ".d.ts";
FileExtensions.TYPESCRIPT_FILE = ".ts";
FileExtensions.PNG_FILE = ".png";
FileExtensions.NINE_PATCH_PNG_FILE = ".9.png";
exports.FileExtensions = FileExtensions;
exports.IOS_POST_NOTIFICATION_COMMAND_TYPE = "PostNotification";
exports.IOS_OBSERVE_NOTIFICATION_COMMAND_TYPE = "ObserveNotification";
exports.IOS_RELAY_NOTIFICATION_COMMAND_TYPE = "RelayNotification";
class Proxy {
}
Proxy.CACHE_FILE_NAME = "proxy-cache.json";
Proxy.USE_PROXY = "USE_PROXY";
Proxy.PROXY_PORT = "PROXY_PORT";
Proxy.PROXY_HOSTNAME = "PROXY_HOSTNAME";
exports.Proxy = Proxy;
class HttpStatusCodes {
}
HttpStatusCodes.SEE_OTHER = 303;
HttpStatusCodes.NOT_MODIFIED = 304;
HttpStatusCodes.PAYMENT_REQUIRED = 402;
HttpStatusCodes.PROXY_AUTHENTICATION_REQUIRED = 407;
exports.HttpStatusCodes = HttpStatusCodes;
exports.HttpProtocolToPort = {
    'http:': 80,
    'https:': 443
};
exports.DEFAULT_CHUNK_SIZE = 100;
exports.DEBUGGER_PORT_FOUND_EVENT_NAME = "DEBUGGER_PORT_FOUND";
exports.ATTACH_REQUEST_EVENT_NAME = "ATTACH_REQUEST";
class AndroidVirtualDevice {
}
AndroidVirtualDevice.ANDROID_DIR_NAME = ".android";
AndroidVirtualDevice.AVD_DIR_NAME = "avd";
AndroidVirtualDevice.ENCODING_MASK = /^avd\.ini\.encoding=(.*)$/;
AndroidVirtualDevice.INI_FILES_MASK = /^(.*)\.ini$/i;
AndroidVirtualDevice.AVD_FILES_MASK = /^(.*)\.avd$/i;
AndroidVirtualDevice.MIN_ANDROID_APILEVEL = 17;
AndroidVirtualDevice.MIN_ANDROID_VERSION = "4.2";
AndroidVirtualDevice.AVAILABLE_AVDS_MESSAGE = "Available Android Virtual Devices:";
AndroidVirtualDevice.AVD_LIST_DELIMITER = "---------";
AndroidVirtualDevice.CONFIG_INI_FILE_NAME = "config.ini";
AndroidVirtualDevice.INI_FILE_EXTENSION = ".ini";
AndroidVirtualDevice.AVD_FILE_EXTENSION = ".avd";
AndroidVirtualDevice.RUNNING_AVD_EMULATOR_REGEX = /^(emulator-\d+)\s+device$/;
AndroidVirtualDevice.RUNNING_GENY_EMULATOR_REGEX = /^(.+?)\s+device$/;
AndroidVirtualDevice.GENYMOTION_VENDOR_NAME = "Genymotion";
AndroidVirtualDevice.AVD_VENDOR_NAME = "Avd";
AndroidVirtualDevice.TIMEOUT_SECONDS = 120;
AndroidVirtualDevice.GENYMOTION_DEFAULT_STDERR_STRING = "Logging activities to file";
AndroidVirtualDevice.UNABLE_TO_START_EMULATOR_MESSAGE = "Cannot run the app in the selected native emulator. Try to restart the adb server by running the `adb kill-server` command in the Command Prompt, or increase the allocated RAM of the virtual device through the Android Virtual Device manager. NativeScript CLI users can try to increase the timeout of the operation by adding the `--timeout` flag.";
exports.AndroidVirtualDevice = AndroidVirtualDevice;
exports.SOCKET_CONNECTION_TIMEOUT_MS = 30000;
