@salesforce/apex-node
Version:
Salesforce JS library for Apex
17 lines • 871 B
JavaScript
;
/*
* 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
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.TEST_RUN_ID_PREFIX = exports.CLASS_ID_PREFIX = exports.QUERY_RECORD_LIMIT = void 0;
// Tooling API query char limit is 100,000 after v48; REST API limit for uri + headers is 16,348 bytes.
// Local testing shows query char limit to be closer to ~12,300.
// Through experimentation, the record limit is around 550 before the REST API limit is hit.
// To err on the side of caution, the limit is reduced down to 500.
exports.QUERY_RECORD_LIMIT = 500;
exports.CLASS_ID_PREFIX = '01p';
exports.TEST_RUN_ID_PREFIX = '707';
//# sourceMappingURL=constants.js.map