@dosgato/templating 0.0.147 → 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/links.d.ts CHANGED
@@ -31,6 +31,7 @@ export interface PageLink {
31
31
  siteId: string;
32
32
  linkId: string;
33
33
  path: string;
34
+ hash?: string;
34
35
  }
35
36
  /**
36
37
  * When looking up a page by linkId, the context matters. For instance, if I'm
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.147",
3
+ "version": "1.0.1",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {