@dosgato/templating 0.0.32 → 0.0.33

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.
@@ -144,8 +144,8 @@ export interface PageMigration extends Migration {
144
144
  down: (data: PageData, query: GraphQLQueryFn, page: PageRecord) => PageData | Promise<PageData>;
145
145
  }
146
146
  export interface DataMigration extends Migration {
147
- up: (data: DataData, query: GraphQLQueryFn, dataId: string) => DataData | Promise<DataData>;
148
- down: (data: DataData, query: GraphQLQueryFn, dataId: string) => DataData | Promise<DataData>;
147
+ up: (data: DataData, query: GraphQLQueryFn, dataRootId: string, dataFolderId?: string, dataId?: string) => DataData | Promise<DataData>;
148
+ down: (data: DataData, query: GraphQLQueryFn, dataRootId: string, dataFolderId?: string, dataId?: string) => DataData | Promise<DataData>;
149
149
  }
150
150
  export declare type AnyMigration = ComponentMigration | PageMigration | DataMigration;
151
151
  export declare type LinkGatheringFn = (data: any) => LinkDefinition[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {