UNPKG

@itwin/imodels-client-management

Version:

iModels API client wrapper for applications that manage iModels.

30 lines 1.01 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ export 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, }; } //# sourceMappingURL=Constants.js.map