budibase/packages/backend-core
mike12345567 fe846f86a5 Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it. 2022-04-21 14:56:14 +01:00
..
scripts Changing directory. 2022-01-10 19:30:35 +00:00
src Fixing issues with test cases - a lot of test cases didn't setup tenancy in any format, which now means that the API endpoints they call would not have access to a Global DB instance. Also had to disable the closing of the database in test as this was removing the database from memory, meaning future calls would find an empty database when they opened it. 2022-04-21 14:56:14 +01:00
.gitignore Changing directory. 2022-01-10 19:30:35 +00:00
LICENSE Changing directory. 2022-01-10 19:30:35 +00:00
README.md Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
accounts.js Changing directory. 2022-01-10 19:30:35 +00:00
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 Changing directory. 2022-01-10 19:30:35 +00:00
constants.js Changing directory. 2022-01-10 19:30:35 +00:00
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
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 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00
permissions.js Changing directory. 2022-01-10 19:30:35 +00:00
redis.js Changing directory. 2022-01-10 19:30:35 +00:00
roles.js Changing directory. 2022-01-10 19:30:35 +00:00
sessions.js Changing directory. 2022-01-10 19:30:35 +00:00
tenancy.js Changing directory. 2022-01-10 19:30:35 +00:00
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 Some updates, making sure databases will always close directly using finally checks around the actual tasks, updating how replication works to have a close statement (to make sure it is controlled correctly) and then updating to PouchDB 7.3.0 for one of the memory leak fixes. 2022-04-20 17:33:42 +01:00

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.