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