-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.blank.ts
More file actions
61 lines (52 loc) · 1.36 KB
/
Config.blank.ts
File metadata and controls
61 lines (52 loc) · 1.36 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
* Api endpoint
*/
export const apiUrl: string = "https://localhost:5000/api";
/**
* Api key
*/
export const apiKey: string = "YOUR_API_KEY";
/**
* Tenant Id (Company Id) of the apps organization.
*/
export const tenantId: string = "";
/**
* URL used for initiating authorization request
*/
export const authorityUrl: string = `https://login.microsoftonline.com/${tenantId}/`;
/**
* End point URL for Power BI API
*/
export const powerBiApiUrl: string = "https://api.powerbi.com/";
/**
* Power BI Config
*/
export const powerBiConfig = {
clusterUrl: "",
embedFeatures: {
modernEmbed: true,
usageMetricsVNext: true
}
}
/**
* End point URL for Action Tracker Sharepoint API
*/
export const sharePointApiUrl: string = "https://<!-- your company -->.sharepoint.com/sites/<!-- your site --> /_api/web/lists/GetByTitle('<!-- your list -->')";
/**
* Client Id (Application Id) of the AAD app.
*/
export const clientId: string = "";
/**
* Redirect URI of the AAD app. Must be http://localhost:port or https://{domain}
*/
export const redirectUri: string = "";
/**
* Scopes of the AAD app.
*/
export const scopes: string[] = [
"User.Read",
"https://analysis.windows.net/powerbi/api/Report.Read.All",
"https://analysis.windows.net/powerbi/api/Dashboard.Read.All",
"https://graph.microsoft.com/Sites.Read.All"
// Add more scopes here if needed
];