@builder.io/ai-utils 0.0.35 → 0.0.36

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 +10 -1
  2. package/package.json +1 -1
package/dist/events.d.ts CHANGED
@@ -97,7 +97,7 @@ export interface ContentUpdateEvent {
97
97
  type: "assistant.content.update";
98
98
  data: ContentUpdatePatch[];
99
99
  }
100
- export type ContentUpdatePatch = ContentInsertBeforePatch | ContentInsertAfterPatch | ContentPropsUpdatePatch | ContentSetChildrenPatch | ContentStyleUpdatePatch | ContentDeletePatch | ContentSetStorePatch | ContentSetMountPatch;
100
+ export type ContentUpdatePatch = ContentInsertBeforePatch | ContentInsertAfterPatch | ContentPropsUpdatePatch | ContentSetChildrenPatch | ContentStyleUpdatePatch | ContentDeletePatch | ContentSetStorePatch | ContentSetMountPatch | ContentMovePatch | ContentMoveAfterPatch | ContentMoveBeforePatch;
101
101
  export interface NodeData {
102
102
  /**
103
103
  * When dealing with column nodes we need to store the column index so
@@ -144,6 +144,15 @@ export interface ContentSetStorePatch extends ContentPatchBase {
144
144
  export interface ContentSetMountPatch extends ContentPatchBase {
145
145
  type: "mount";
146
146
  }
147
+ export interface ContentMovePatch extends ContentPatchBase {
148
+ type: "move";
149
+ }
150
+ export interface ContentMoveAfterPatch extends ContentPatchBase {
151
+ type: "move_after";
152
+ }
153
+ export interface ContentMoveBeforePatch extends ContentPatchBase {
154
+ type: "move_before";
155
+ }
147
156
  export interface AssistantStatsEvent {
148
157
  type: "assistant.stats";
149
158
  data: AssistantStats;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",