@dosgato/templating 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/uitemplate.d.ts +7 -2
- package/package.json +1 -1
package/dist/uitemplate.d.ts
CHANGED
|
@@ -301,9 +301,14 @@ export interface UIConfig {
|
|
|
301
301
|
logout?: (environmentConfig: any, token: string) => void;
|
|
302
302
|
};
|
|
303
303
|
/**
|
|
304
|
-
* Optional CMS logo to be placed in the top left of the admin UI.
|
|
304
|
+
* Optional CMS logo to be placed in the top left of the admin UI. Function can be used if the logo depends
|
|
305
|
+
* on the environment.
|
|
305
306
|
*/
|
|
306
|
-
logo?: IconOrSVG;
|
|
307
|
+
logo?: IconOrSVG | ((environmentConfig: any) => IconOrSVG) | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* Optional favicon. Function can be used if the favicon depends on the environment.
|
|
310
|
+
*/
|
|
311
|
+
favicon?: string | ((environmentConfig: any) => string) | undefined;
|
|
307
312
|
/**
|
|
308
313
|
* Optional function to determine whether the admin UI is running in a non-PROD environment
|
|
309
314
|
* like QUAL or DEV or STAGING or whatever identifier you want to use.
|