@dosgato/templating 0.0.128 → 0.0.129

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.
@@ -66,7 +66,7 @@ export interface UITemplate {
66
66
  * anotherArea: [componentData3]
67
67
  * }
68
68
  */
69
- defaultContent?: Record<string, ComponentData[]>;
69
+ defaultContent?: Record<string, ComponentData[]> | ((data: ComponentData) => Record<string, ComponentData[]>);
70
70
  /**
71
71
  * if present this SVG will be used when presenting users with
72
72
  * an array of choices of templates to create. Ideally it should look
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.128",
3
+ "version": "0.0.129",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {