@itwin/imodels-client-management
Version:
iModels API client wrapper for applications that manage iModels.
34 lines • 1.14 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Constants = void 0;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
class Constants {
static api = {
baseUrl: "https://api.bentley.com/imodels",
version: "itwin-platform.v2",
};
static headers = {
accept: "Accept",
authorization: "Authorization",
contentType: "Content-Type",
prefer: "Prefer",
location: "Location",
};
static time = {
sleepPeriodInMs: 1000,
iModelInitializationTimeOutInMs: 5 * 60 * 1000,
};
static httpStatusCodes = {
internalServerError: 500,
};
static retryPolicy = {
maxRetries: 3,
baseDelayInMs: 300,
delayFactor: 3,
};
}
exports.Constants = Constants;
//# sourceMappingURL=Constants.js.map