@budibase/backend-core 2.13.35 → 2.13.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.
package/dist/index.js CHANGED
@@ -974,6 +974,7 @@ var init_document = __esm({
974
974
  DocumentType2["USER_FLAG"] = "flag";
975
975
  DocumentType2["AUTOMATION_METADATA"] = "meta_au";
976
976
  DocumentType2["AUDIT_LOG"] = "al";
977
+ DocumentType2["APP_MIGRATION_METADATA"] = "_design/migrations";
977
978
  return DocumentType2;
978
979
  })(DocumentType || {});
979
980
  InternalTable = /* @__PURE__ */ ((InternalTable2) => {
@@ -8004,6 +8005,7 @@ var JobQueue = /* @__PURE__ */ ((JobQueue2) => {
8004
8005
  JobQueue2["APP_BACKUP"] = "appBackupQueue";
8005
8006
  JobQueue2["AUDIT_LOG"] = "auditLogQueue";
8006
8007
  JobQueue2["SYSTEM_EVENT_QUEUE"] = "systemEventQueue";
8008
+ JobQueue2["APP_MIGRATION"] = "appMigration";
8007
8009
  return JobQueue2;
8008
8010
  })(JobQueue || {});
8009
8011
 
@@ -8055,7 +8057,8 @@ var EventTypeMap = {
8055
8057
  ["automationQueue" /* AUTOMATION */]: "automation-event" /* AUTOMATION_EVENT */,
8056
8058
  ["appBackupQueue" /* APP_BACKUP */]: "app-backup-event" /* APP_BACKUP_EVENT */,
8057
8059
  ["auditLogQueue" /* AUDIT_LOG */]: "audit-log-event" /* AUDIT_LOG_EVENT */,
8058
- ["systemEventQueue" /* SYSTEM_EVENT_QUEUE */]: "system-event" /* SYSTEM_EVENT */
8060
+ ["systemEventQueue" /* SYSTEM_EVENT_QUEUE */]: "system-event" /* SYSTEM_EVENT */,
8061
+ ["appMigration" /* APP_MIGRATION */]: "app-migration" /* APP_MIGRATION */
8059
8062
  };
8060
8063
  function logging(queue, jobQueue) {
8061
8064
  const eventType = EventTypeMap[jobQueue];