-
Notifications
You must be signed in to change notification settings - Fork 231
/
Copy pathConstants.ts
28 lines (24 loc) · 1.03 KB
/
Constants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
/**
* @module Constants
*/
/**
* @constant
* A Default API endpoint version for a request
*/
export const GRAPH_API_VERSION = "v1.0";
/**
* @constant
* A Default base url for a request
*/
export const GRAPH_BASE_URL = "https://graph.microsoft.com/";
/**
* To hold list of the service root endpoints for Microsoft Graph and Graph Explorer for each national cloud.
* Set(iterable:Object) is not supported in Internet Explorer. The consumer is recommended to use a suitable polyfill.
*/
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"]);