UNPKG

1.22 kBJavaScriptView Raw
1"use strict";
2/**
3 * -------------------------------------------------------------------------------------------
4 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
5 * See License in the project root for license information.
6 * -------------------------------------------------------------------------------------------
7 */
8Object.defineProperty(exports, "__esModule", { value: true });
9exports.GRAPH_URLS = exports.GRAPH_BASE_URL = exports.GRAPH_API_VERSION = void 0;
10/**
11 * @module Constants
12 */
13/**
14 * @constant
15 * A Default API endpoint version for a request
16 */
17exports.GRAPH_API_VERSION = "v1.0";
18/**
19 * @constant
20 * A Default base url for a request
21 */
22exports.GRAPH_BASE_URL = "https://graph.microsoft.com/";
23/**
24 * To hold list of the service root endpoints for Microsoft Graph and Graph Explorer for each national cloud.
25 * Set(iterable:Object) is not supported in Internet Explorer. The consumer is recommended to use a suitable polyfill.
26 */
27exports.GRAPH_URLS = new Set(["graph.microsoft.com", "graph.microsoft.us", "dod-graph.microsoft.us", "graph.microsoft.de", "microsoftgraph.chinacloudapi.cn", "canary.graph.microsoft.com"]);
28//# sourceMappingURL=Constants.js.map
\No newline at end of file