@budibase/server 2.6.26 → 2.6.27

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/query.js CHANGED
@@ -121,6 +121,7 @@ var init_event = __esm({
121
121
  Event6["USER_PASSWORD_UPDATED"] = "user:password:updated";
122
122
  Event6["USER_PASSWORD_RESET_REQUESTED"] = "user:password:reset:requested";
123
123
  Event6["USER_PASSWORD_RESET"] = "user:password:reset";
124
+ Event6["USER_DATA_COLLABORATION"] = "user:data:collaboration";
124
125
  Event6["EMAIL_SMTP_CREATED"] = "email:smtp:created";
125
126
  Event6["EMAIL_SMTP_UPDATED"] = "email:smtp:updated";
126
127
  Event6["AUTH_SSO_CREATED"] = "auth:sso:created";
@@ -271,6 +272,7 @@ var init_event = __esm({
271
272
  ["user:password:force:reset" /* USER_PASSWORD_FORCE_RESET */]: void 0,
272
273
  ["user_group:onboarding_added" /* USER_GROUP_ONBOARDING */]: void 0,
273
274
  ["user:onboarding:complete" /* USER_ONBOARDING_COMPLETE */]: void 0,
275
+ ["user:data:collaboration" /* USER_DATA_COLLABORATION */]: void 0,
274
276
  // EMAIL
275
277
  ["email:smtp:created" /* EMAIL_SMTP_CREATED */]: `Email configuration created`,
276
278
  ["email:smtp:updated" /* EMAIL_SMTP_UPDATED */]: `Email configuration updated`,
@@ -9952,6 +9954,12 @@ async function passwordReset(user) {
9952
9954
  };
9953
9955
  await publishEvent("user:password:reset" /* USER_PASSWORD_RESET */, properties);
9954
9956
  }
9957
+ async function dataCollaboration(users2) {
9958
+ const properties = {
9959
+ users: users2
9960
+ };
9961
+ await publishEvent("user:data:collaboration" /* USER_DATA_COLLABORATION */, properties);
9962
+ }
9955
9963
  var user_default = {
9956
9964
  created: created11,
9957
9965
  updated: updated6,
@@ -9966,7 +9974,8 @@ var user_default = {
9966
9974
  passwordForceReset,
9967
9975
  passwordUpdated,
9968
9976
  passwordResetRequested,
9969
- passwordReset
9977
+ passwordReset,
9978
+ dataCollaboration
9970
9979
  };
9971
9980
 
9972
9981
  // ../backend-core/src/events/publishers/view.ts