@budibase/shared-core 2.13.40 → 2.13.41
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.
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum Header {
|
|
2
|
+
API_KEY = "x-budibase-api-key",
|
|
3
|
+
LICENSE_KEY = "x-budibase-license-key",
|
|
4
|
+
API_VER = "x-budibase-api-version",
|
|
5
|
+
APP_ID = "x-budibase-app-id",
|
|
6
|
+
SESSION_ID = "x-budibase-session-id",
|
|
7
|
+
TYPE = "x-budibase-type",
|
|
8
|
+
PREVIEW_ROLE = "x-budibase-role",
|
|
9
|
+
TENANT_ID = "x-budibase-tenant-id",
|
|
10
|
+
VERIFICATION_CODE = "x-budibase-verification-code",
|
|
11
|
+
RETURN_VERIFICATION_CODE = "x-budibase-return-verification-code",
|
|
12
|
+
RESET_PASSWORD_CODE = "x-budibase-reset-password-code",
|
|
13
|
+
RETURN_RESET_PASSWORD_CODE = "x-budibase-return-reset-password-code",
|
|
14
|
+
TOKEN = "x-budibase-token",
|
|
15
|
+
CSRF_TOKEN = "x-csrf-token",
|
|
16
|
+
CORRELATION_ID = "x-budibase-correlation-id",
|
|
17
|
+
AUTHORIZATION = "authorization",
|
|
18
|
+
MIGRATING_APP = "x-budibase-migrating-app"
|
|
19
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -4529,6 +4529,7 @@ var src_exports = {};
|
|
|
4529
4529
|
__export(src_exports, {
|
|
4530
4530
|
BuilderSocketEvent: () => BuilderSocketEvent,
|
|
4531
4531
|
GridSocketEvent: () => GridSocketEvent,
|
|
4532
|
+
Header: () => Header,
|
|
4532
4533
|
InvalidFileExtensions: () => InvalidFileExtensions,
|
|
4533
4534
|
OperatorOptions: () => OperatorOptions,
|
|
4534
4535
|
SocketEvent: () => SocketEvent,
|
|
@@ -4545,7 +4546,29 @@ __export(src_exports, {
|
|
|
4545
4546
|
});
|
|
4546
4547
|
module.exports = __toCommonJS(src_exports);
|
|
4547
4548
|
|
|
4548
|
-
// src/constants.ts
|
|
4549
|
+
// src/constants/api.ts
|
|
4550
|
+
var Header = /* @__PURE__ */ ((Header2) => {
|
|
4551
|
+
Header2["API_KEY"] = "x-budibase-api-key";
|
|
4552
|
+
Header2["LICENSE_KEY"] = "x-budibase-license-key";
|
|
4553
|
+
Header2["API_VER"] = "x-budibase-api-version";
|
|
4554
|
+
Header2["APP_ID"] = "x-budibase-app-id";
|
|
4555
|
+
Header2["SESSION_ID"] = "x-budibase-session-id";
|
|
4556
|
+
Header2["TYPE"] = "x-budibase-type";
|
|
4557
|
+
Header2["PREVIEW_ROLE"] = "x-budibase-role";
|
|
4558
|
+
Header2["TENANT_ID"] = "x-budibase-tenant-id";
|
|
4559
|
+
Header2["VERIFICATION_CODE"] = "x-budibase-verification-code";
|
|
4560
|
+
Header2["RETURN_VERIFICATION_CODE"] = "x-budibase-return-verification-code";
|
|
4561
|
+
Header2["RESET_PASSWORD_CODE"] = "x-budibase-reset-password-code";
|
|
4562
|
+
Header2["RETURN_RESET_PASSWORD_CODE"] = "x-budibase-return-reset-password-code";
|
|
4563
|
+
Header2["TOKEN"] = "x-budibase-token";
|
|
4564
|
+
Header2["CSRF_TOKEN"] = "x-csrf-token";
|
|
4565
|
+
Header2["CORRELATION_ID"] = "x-budibase-correlation-id";
|
|
4566
|
+
Header2["AUTHORIZATION"] = "authorization";
|
|
4567
|
+
Header2["MIGRATING_APP"] = "x-budibase-migrating-app";
|
|
4568
|
+
return Header2;
|
|
4569
|
+
})(Header || {});
|
|
4570
|
+
|
|
4571
|
+
// src/constants/index.ts
|
|
4549
4572
|
var OperatorOptions = {
|
|
4550
4573
|
Equals: {
|
|
4551
4574
|
value: "equal",
|
|
@@ -5440,6 +5463,7 @@ function canBeSortColumn(type) {
|
|
|
5440
5463
|
0 && (module.exports = {
|
|
5441
5464
|
BuilderSocketEvent,
|
|
5442
5465
|
GridSocketEvent,
|
|
5466
|
+
Header,
|
|
5443
5467
|
InvalidFileExtensions,
|
|
5444
5468
|
OperatorOptions,
|
|
5445
5469
|
SocketEvent,
|