@dosgato/templating
Advanced tools
Comparing version 0.0.31 to 0.0.32
@@ -99,5 +99,7 @@ import { PageRecord, ComponentData, DataData, PageData } from './component.js'; | ||
/** | ||
* Data template implementations receive the dataId so they can self-reference in queries. | ||
* Data template implementations receive the id of the dataroot the data is/will be inside, | ||
* as well as the folder id (if applicable) and their own id. Keep in mind dataId will be | ||
* null when it is a creation operation. | ||
*/ | ||
validate?: (data: ComponentData, query: GraphQLQueryFn, dataId: string) => Promise<ValidationFeedback[]>; | ||
validate?: (data: ComponentData, query: GraphQLQueryFn, dataRootId: string, dataFolderId?: string, dataId?: string) => Promise<ValidationFeedback[]>; | ||
migrations: DataMigration[]; | ||
@@ -104,0 +106,0 @@ } |
{ | ||
"name": "@dosgato/templating", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"description": "A library to support building templates for dosgato CMS.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48899
1116