@budibase/shared-core 2.19.4 → 2.19.6

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.
@@ -15,5 +15,6 @@ export declare enum Header {
15
15
  CSRF_TOKEN = "x-csrf-token",
16
16
  CORRELATION_ID = "x-budibase-correlation-id",
17
17
  AUTHORIZATION = "authorization",
18
- MIGRATING_APP = "x-budibase-migrating-app"
18
+ MIGRATING_APP = "x-budibase-migrating-app",
19
+ COOKIE = "cookie"
19
20
  }
package/dist/index.js CHANGED
@@ -4566,6 +4566,7 @@ var Header = /* @__PURE__ */ ((Header2) => {
4566
4566
  Header2["CORRELATION_ID"] = "x-budibase-correlation-id";
4567
4567
  Header2["AUTHORIZATION"] = "authorization";
4568
4568
  Header2["MIGRATING_APP"] = "x-budibase-migrating-app";
4569
+ Header2["COOKIE"] = "cookie";
4569
4570
  return Header2;
4570
4571
  })(Header || {});
4571
4572
 
@@ -4794,6 +4795,7 @@ var AutomationActionStepId = /* @__PURE__ */ ((AutomationActionStepId2) => {
4794
4795
  AutomationActionStepId2["slack"] = "slack";
4795
4796
  AutomationActionStepId2["zapier"] = "zapier";
4796
4797
  AutomationActionStepId2["integromat"] = "integromat";
4798
+ AutomationActionStepId2["n8n"] = "n8n";
4797
4799
  return AutomationActionStepId2;
4798
4800
  })(AutomationActionStepId || {});
4799
4801
  var AutomationStepIdArray = [
@@ -5275,6 +5277,7 @@ var hasFilters = (query) => {
5275
5277
  var utils_exports = {};
5276
5278
  __export(utils_exports, {
5277
5279
  filterValueToLabel: () => filterValueToLabel,
5280
+ hasSchema: () => hasSchema,
5278
5281
  parallelForeach: () => parallelForeach,
5279
5282
  unreachable: () => unreachable
5280
5283
  });
@@ -5319,6 +5322,9 @@ function filterValueToLabel() {
5319
5322
  {}
5320
5323
  );
5321
5324
  }
5325
+ function hasSchema(test) {
5326
+ return typeof test === "object" && !Array.isArray(test) && test !== null && !(test instanceof Date) && Object.keys(test).length > 0;
5327
+ }
5322
5328
 
5323
5329
  // src/sdk/index.ts
5324
5330
  var sdk_exports = {};