diff --git a/packages/backend-core/src/constants.js b/packages/backend-core/src/constants.js index 51c8dcffca..8d291a055c 100644 --- a/packages/backend-core/src/constants.js +++ b/packages/backend-core/src/constants.js @@ -3,7 +3,7 @@ exports.UserStatus = { INACTIVE: "inactive", } -exports.Cookies = { +exports.Cookie = { CurrentApp: "budibase:currentapp", Auth: "budibase:auth", Init: "budibase:init", @@ -12,7 +12,7 @@ exports.Cookies = { OIDC_CONFIG: "budibase:oidc:config", } -exports.Headers = { +exports.Header = { API_KEY: "x-budibase-api-key", LICENSE_KEY: "x-budibase-license-key", API_VER: "x-budibase-api-version", @@ -31,7 +31,7 @@ exports.GlobalRoles = { WORKSPACE_MANAGER: "workspace_manager", } -exports.Configs = { +exports.Config = { SETTINGS: "settings", ACCOUNT: "account", SMTP: "smtp", diff --git a/packages/backend-core/src/constants.ts b/packages/backend-core/src/constants.ts index 61b3cea1f6..8db01365b8 100644 --- a/packages/backend-core/src/constants.ts +++ b/packages/backend-core/src/constants.ts @@ -42,3 +42,4 @@ export enum Config { export const MAX_VALID_DATE = new Date(2147483647000) export const DEFAULT_TENANT_ID = "default" +export const BUDIBASE_DATASOURCE_TYPE = "budibase" diff --git a/packages/builder/src/pages/builder/app/[application]/data/datasource/datasource_internal_bb_default/index.svelte b/packages/builder/src/pages/builder/app/[application]/data/datasource/datasource_internal_bb_default/index.svelte index 699321367b..b19f0d15c5 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/datasource/datasource_internal_bb_default/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/datasource/datasource_internal_bb_default/index.svelte @@ -21,7 +21,7 @@
- Test DB + Sample Data
A little something to get you up and running!