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", "customurlscheme": "moodlemobile",
"sites": [], "sites": [],
"stagingsites": [],
"multisitesdisplay": "", "multisitesdisplay": "",
"sitefindersettings": {}, "sitefindersettings": {},
"onlyallowlistedsites": false, "onlyallowlistedsites": false,

View File

@ -2105,6 +2105,16 @@ export type CoreLoginSiteInfo = {
* Countrycode of the site. * Countrycode of the site.
*/ */
countrycode?: string; 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. defaultZoomLevel?: CoreZoomLevel; // Set the default zoom level of the app.
customurlscheme: string; customurlscheme: string;
sites: CoreLoginSiteInfo[]; sites: CoreLoginSiteInfo[];
stagingsites: CoreLoginSiteInfo[];
multisitesdisplay: CoreLoginSiteSelectorListMethod; multisitesdisplay: CoreLoginSiteSelectorListMethod;
sitefindersettings: Partial<CoreLoginSiteFinderSettings>; sitefindersettings: Partial<CoreLoginSiteFinderSettings>;
onlyallowlistedsites: boolean; onlyallowlistedsites: boolean;