MOBILE-4245 Config: update sites type

main
Alfonso Salces 2023-02-23 11:45:23 +01:00
parent 3e0e29ba2e
commit fe97d32342
3 changed files with 10 additions and 2 deletions

View File

@ -86,7 +86,6 @@
},
"customurlscheme": "moodlemobile",
"sites": [],
"stagingsites": [],
"multisitesdisplay": "",
"sitefindersettings": {},
"onlyallowlistedsites": false,

View File

@ -2105,6 +2105,16 @@ export type CoreLoginSiteInfo = {
* Countrycode of the site.
*/
countrycode?: string;
/**
* Is staging site.
*/
staging?: boolean;
/**
* Class to apply to site item.
*/
className?: string;
};
/**

View File

@ -43,7 +43,6 @@ export interface EnvironmentConfig {
defaultZoomLevel?: CoreZoomLevel; // Set the default zoom level of the app.
customurlscheme: string;
sites: CoreLoginSiteInfo[];
stagingsites: CoreLoginSiteInfo[];
multisitesdisplay: CoreLoginSiteSelectorListMethod;
sitefindersettings: Partial<CoreLoginSiteFinderSettings>;
onlyallowlistedsites: boolean;