UNPKG

salesforce-alm

Version:

This package contains tools, and APIs, for an improved salesforce.com developer experience.

39 lines (37 loc) 2 kB
"use strict"; /* * Copyright (c) 2020, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ /* -------------------------------------------------------------------------------------------------------------------- * WARNING: This file has been deprecated and should now be considered locked against further changes. Its contents * have been partially or wholly superseded by functionality included in the @salesforce/core npm package, and exists * now to service prior uses in this repository only until they can be ported to use the new @salesforce/core library. * * If you need or want help deciding where to add new functionality or how to migrate to the new library, please * contact the CLI team at alm-cli@salesforce.com. * ----------------------------------------------------------------------------------------------------------------- */ class consts { } consts.DEFAULT_USER_DIR_MODE = '700'; consts.DEFAULT_USER_FILE_MODE = '600'; consts.DEFAULT_STREAM_TIMEOUT_MINUTES = 6; consts.MIN_STREAM_TIMEOUT_MINUTES = 2; consts.DEFAULT_SRC_WAIT_MINUTES = 33; consts.DEFAULT_MDAPI_WAIT_MINUTES = 0; consts.DEFAULT_MDAPI_RETRIEVE_WAIT_MINUTES = -1; consts.DEFAULT_MDAPI_POLL_INTERVAL_MINUTES = 0.1; consts.DEFAULT_MDAPI_POLL_INTERVAL_MILLISECONDS = consts.DEFAULT_MDAPI_POLL_INTERVAL_MINUTES * 60 * 1000; consts.MIN_SRC_WAIT_MINUTES = 1; consts.MIN_SRC_DEPLOY_WAIT_MINUTES = 0; consts.WORKSPACE_CONFIG_FILENAME = 'sfdx-project.json'; consts.OLD_WORKSPACE_CONFIG_FILENAME = 'sfdx-workspace.json'; consts.DEFAULT_DEV_HUB_USERNAME = 'defaultdevhubusername'; consts.DEFAULT_USERNAME = 'defaultusername'; consts.ACKNOWLEDGED_USAGE_COLLECTION_FILENAME = 'acknowledgedUsageCollection.json'; // tokens to be replaced on source:push consts.INSTANCE_URL_TOKEN = '__SFDX_INSTANCE_URL__'; module.exports = consts; //# sourceMappingURL=constants.js.map