1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00
budibase/packages/backend-core
Michael Drury 8c2f1d6631
Merge pull request #5597 from Budibase/fix/update-tenancy
Fix: Update global db context when tenant is updated + configurable couch integration in tenancy middleware
2022-04-26 19:21:48 +01:00
..
scripts
src Bypass couch db when using tenancy middleware 2022-04-26 17:13:45 +01:00
.gitignore
accounts.js
auth.js Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
cache.js
constants.js
context.js Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 2022-01-31 17:53:19 +00:00
db.js Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-04-19 16:45:27 +01:00
deprovision.js Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area. 2022-01-31 17:53:19 +00:00
encryption.js Adding basic encrypt/decrypt pathway. 2022-02-14 18:32:09 +00:00
LICENSE
middleware.js Removing use of direct package access. 2022-01-12 12:54:25 +00:00
migrations.js Merge branch 'develop' of github.com:Budibase/budibase into fix/sync-apps-reset-rows-quotas 2022-01-12 13:20:22 +00:00
objectStore.js Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
package.json v1.0.123-alpha.0 2022-04-26 16:12:16 +00:00
permissions.js
README.md
redis.js
roles.js
sessions.js
tenancy.js
utils.js Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
yarn.lock merge with master 2022-04-26 10:21:45 +01:00

Budibase Core backend library

This library contains core functionality, like auth and security features which are shared between backend services.

Note about top level JS files

For the purposes of being able to do say require("@budibase/backend-core/permissions") we need to specify the exports at the top-level of the module.

For these files they should be limited to a single require of the file that should be exported and then a single module.exports = ... to export the file in commonJS.