@dosgato/templating 0.0.26 → 0.0.27

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 APITemplate {
66
66
  * available as parameters in case you need them. Keep in mind that the current editor MUST
67
67
  * have access to any data you attempt to query in GraphQL.
68
68
  */
69
- validate: (data: ComponentData, query: <T>(query: string, variables?: any) => Promise<T>, page: PageData, path: string) => Promise<ValidationFeedback[]>;
69
+ validate?: (data: ComponentData, query: <T>(query: string, variables?: any) => Promise<T>, page: PageData, path: string) => Promise<ValidationFeedback[]>;
70
70
  /**
71
71
  * Hard-coded properties that may be set on page templates to influence the rendering of
72
72
  * components on the page. For instance, a set of color choices that are customized for
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {