MOBILE-4245 Config: update sites type
parent
3e0e29ba2e
commit
fe97d32342
|
@ -86,7 +86,6 @@
|
||||||
},
|
},
|
||||||
"customurlscheme": "moodlemobile",
|
"customurlscheme": "moodlemobile",
|
||||||
"sites": [],
|
"sites": [],
|
||||||
"stagingsites": [],
|
|
||||||
"multisitesdisplay": "",
|
"multisitesdisplay": "",
|
||||||
"sitefindersettings": {},
|
"sitefindersettings": {},
|
||||||
"onlyallowlistedsites": false,
|
"onlyallowlistedsites": false,
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue