@budibase/types 2.29.9 → 2.29.13

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.
@@ -217,6 +217,14 @@ export type BucketedContent = AutomationAttachmentContent & {
217
217
  bucket: string;
218
218
  path: string;
219
219
  };
220
+ export declare enum AutomationEventType {
221
+ ROW_SAVE = "row:save",
222
+ ROW_UPDATE = "row:update",
223
+ ROW_DELETE = "row:delete",
224
+ APP_TRIGGER = "app:trigger",
225
+ CRON_TRIGGER = "cron:trigger",
226
+ WEBHOOK_TRIGGER = "web:trigger"
227
+ }
220
228
  export type UpdatedRowEventEmitter = {
221
229
  row: Row;
222
230
  oldRow: Row;
package/dist/index.js CHANGED
@@ -38,6 +38,7 @@ __export(src_exports, {
38
38
  AutoReason: () => AutoReason,
39
39
  AutomationActionStepId: () => AutomationActionStepId,
40
40
  AutomationCustomIOType: () => AutomationCustomIOType,
41
+ AutomationEventType: () => AutomationEventType,
41
42
  AutomationFeature: () => AutomationFeature,
42
43
  AutomationIOType: () => AutomationIOType,
43
44
  AutomationStatus: () => AutomationStatus,
@@ -923,6 +924,15 @@ var AutomationStatus = /* @__PURE__ */ ((AutomationStatus2) => {
923
924
  AutomationStatus2["STOPPED_ERROR"] = "stopped_error";
924
925
  return AutomationStatus2;
925
926
  })(AutomationStatus || {});
927
+ var AutomationEventType = /* @__PURE__ */ ((AutomationEventType2) => {
928
+ AutomationEventType2["ROW_SAVE"] = "row:save";
929
+ AutomationEventType2["ROW_UPDATE"] = "row:update";
930
+ AutomationEventType2["ROW_DELETE"] = "row:delete";
931
+ AutomationEventType2["APP_TRIGGER"] = "app:trigger";
932
+ AutomationEventType2["CRON_TRIGGER"] = "cron:trigger";
933
+ AutomationEventType2["WEBHOOK_TRIGGER"] = "web:trigger";
934
+ return AutomationEventType2;
935
+ })(AutomationEventType || {});
926
936
 
927
937
  // src/documents/app/datasource.ts
928
938
  var RestAuthType = /* @__PURE__ */ ((RestAuthType2) => {
@@ -1289,6 +1299,7 @@ var MaintenanceType = /* @__PURE__ */ ((MaintenanceType2) => {
1289
1299
  AutoReason,
1290
1300
  AutomationActionStepId,
1291
1301
  AutomationCustomIOType,
1302
+ AutomationEventType,
1292
1303
  AutomationFeature,
1293
1304
  AutomationIOType,
1294
1305
  AutomationStatus,