@builder.io/ai-utils 0.0.68 → 0.0.70

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 -1
  2. package/package.json +1 -1
package/dist/events.d.ts CHANGED
@@ -127,7 +127,7 @@ export interface ContentUpdateEvent {
127
127
  type: "assistant.content.update";
128
128
  data: ContentUpdatePatch[];
129
129
  }
130
- export type ContentUpdatePatch = ContentTsCodePatch | ContentInsertBeforePatch | ContentInsertAfterPatch | ContentPropsUpdatePatch | ContentSetChildrenPatch | ContentStyleUpdatePatch | ContentDeletePatch | ContentSetStorePatch | ContentSetMountPatch | ContentMovePatch | ContentMoveAfterPatch | ContentMoveBeforePatch | ContentSetTagNamePatch;
130
+ export type ContentUpdatePatch = ContentTsCodePatch | ContentInsertBeforePatch | ContentInsertAfterPatch | ContentPropsUpdatePatch | ContentSetChildrenPatch | ContentStyleUpdatePatch | ContentDeletePatch | ContentSetStorePatch | ContentSetMountPatch | ContentMovePatch | ContentMoveAfterPatch | ContentMoveBeforePatch | ContentSetTagNamePatch | ContentTsUpdateComponentPatch;
131
131
  export interface NodeData {
132
132
  /**
133
133
  * When dealing with some builder nodes that contain virtual children like Columns, and PersonalizationContainer,
@@ -157,6 +157,9 @@ interface ContentPatchBase {
157
157
  */
158
158
  error?: string;
159
159
  }
160
+ export interface ContentTsUpdateComponentPatch extends ContentPatchBase {
161
+ type: "update_component";
162
+ }
160
163
  export interface ContentTsCodePatch extends ContentPatchBase {
161
164
  type: "ts_code";
162
165
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.0.68",
3
+ "version": "0.0.70",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",