budibase/packages/backend-core
Budibase Staging Release Bot b59aa48977 v2.1.32-alpha.8 2022-11-23 17:02:56 +00:00
..
__mocks__
src Merge branch 'develop' of github.com:Budibase/budibase into refactor/backend-core-import 2022-11-23 10:30:57 +00:00
tests
.gitignore
LICENSE
README.md
accounts.js
auth.js
cache.js
constants.js
context.js
db.js
deprovision.js
encryption.js
jest.config.ts
logging.js
middleware.js
migrations.js
objectStore.js
package.json v2.1.32-alpha.8 2022-11-23 17:02:56 +00:00
permissions.js
plugins.js
redis.js
roles.js
sessions.js
tenancy.js
tsconfig.build.json
tsconfig.json
utils.js
yarn.lock

README.md

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.