@builder.io/ai-utils 0.0.50 → 0.0.51

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.
Files changed (2) hide show
  1. package/dist/events.d.ts +4 -0
  2. package/package.json +1 -1
package/dist/events.d.ts CHANGED
@@ -108,6 +108,7 @@ export interface NodeData {
108
108
  }
109
109
  interface ContentPatchBase {
110
110
  id: string;
111
+ builderId?: string;
111
112
  description?: string;
112
113
  index: number;
113
114
  value: string;
@@ -127,9 +128,11 @@ export interface ContentTsCodePatch extends ContentPatchBase {
127
128
  }
128
129
  export interface ContentInsertBeforePatch extends ContentPatchBase {
129
130
  type: "insert_before";
131
+ snapshotBuilderId?: string;
130
132
  }
131
133
  export interface ContentInsertAfterPatch extends ContentPatchBase {
132
134
  type: "insert_after";
135
+ snapshotBuilderId?: string;
133
136
  }
134
137
  export interface ContentPropsUpdatePatch extends ContentPatchBase {
135
138
  type: "props";
@@ -139,6 +142,7 @@ export interface ContentStyleUpdatePatch extends ContentPatchBase {
139
142
  }
140
143
  export interface ContentSetChildrenPatch extends ContentPatchBase {
141
144
  type: "children";
145
+ snapshotBuilderId?: string;
142
146
  }
143
147
  export interface ContentDeletePatch extends ContentPatchBase {
144
148
  type: "delete";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",