@@ -3,7 +3,7 @@ import { execCouncilGroupId, execCouncilTestingGroupId } from '@common/config';
33export const runEnvironments = [ 'dev' , 'prod' , 'local-dev' ] as const ;
44// local dev should be used when you want to test against a local instance of the API
55
6- export const services = [ 'core' , 'tickets' , 'merch' ] as const ;
6+ export const services = [ 'core' , 'tickets' , 'merch' , 'msGraphApi' ] as const ;
77export type RunEnvironment = ( typeof runEnvironments ) [ number ] ;
88export type ValidServices = ( typeof services ) [ number ] ;
99export type ValidService = ValidServices ;
@@ -49,6 +49,12 @@ const environmentConfig: EnvironmentConfigType = {
4949 friendlyName : 'Merch Sales Service (Prod)' ,
5050 baseEndpoint : 'https://merchapi.acm.illinois.edu' ,
5151 } ,
52+ msGraphApi : {
53+ friendlyName : 'Microsoft Graph API' ,
54+ baseEndpoint : 'https://graph.microsoft.com' ,
55+ loginScope : 'https://graph.microsoft.com/.default' ,
56+ apiId : 'https://graph.microsoft.com' ,
57+ } ,
5258 } ,
5359 KnownGroupMappings : {
5460 Exec : execCouncilTestingGroupId ,
@@ -72,6 +78,12 @@ const environmentConfig: EnvironmentConfigType = {
7278 friendlyName : 'Merch Sales Service (Prod)' ,
7379 baseEndpoint : 'https://merchapi.acm.illinois.edu' ,
7480 } ,
81+ msGraphApi : {
82+ friendlyName : 'Microsoft Graph API' ,
83+ baseEndpoint : 'https://graph.microsoft.com' ,
84+ loginScope : 'https://graph.microsoft.com/.default' ,
85+ apiId : 'https://graph.microsoft.com' ,
86+ } ,
7587 } ,
7688 KnownGroupMappings : {
7789 Exec : execCouncilTestingGroupId ,
@@ -95,6 +107,12 @@ const environmentConfig: EnvironmentConfigType = {
95107 friendlyName : 'Merch Sales Service' ,
96108 baseEndpoint : 'https://merchapi.acm.illinois.edu' ,
97109 } ,
110+ msGraphApi : {
111+ friendlyName : 'Microsoft Graph API' ,
112+ baseEndpoint : 'https://graph.microsoft.com' ,
113+ loginScope : 'https://graph.microsoft.com/.default' ,
114+ apiId : 'https://graph.microsoft.com' ,
115+ } ,
98116 } ,
99117 KnownGroupMappings : {
100118 Exec : execCouncilGroupId ,
0 commit comments