@dosgato/templating 1.0.0 → 1.0.1
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 +8 -0
- package/package.json +1 -1
package/dist/uitemplate.d.ts
CHANGED
|
@@ -276,6 +276,14 @@ export interface UIConfig {
|
|
|
276
276
|
* Optional CMS logo to be placed in the top left of the admin UI.
|
|
277
277
|
*/
|
|
278
278
|
logo?: IconOrSVG;
|
|
279
|
+
/**
|
|
280
|
+
* Optional function to determine whether the admin UI is running in a non-PROD environment
|
|
281
|
+
* like QUAL or DEV or STAGING or whatever identifier you want to use.
|
|
282
|
+
*
|
|
283
|
+
* The string you return will be visually represented in the UI so that editors are clear about
|
|
284
|
+
* which environment they are working in.
|
|
285
|
+
*/
|
|
286
|
+
environmentTitle?: (environmentConfig: any) => string | undefined;
|
|
279
287
|
/**
|
|
280
288
|
* Page title for the <head>
|
|
281
289
|
*/
|