budibase/packages/backend-core
mike12345567 8483a53178 This removes the need for constant DB HEAD requests to check if a database exists or not. Instead, it tries to make the request, and if it fails it will check if the reason for failure is the database not existing. If it doesn't exist it runs through the same old flow to confirm that it definitely doesn't exist, and if it doesn't then it will create it. 2024-01-11 16:44:15 +00:00
..
__mocks__ Updating app backup exports to not include automation logs as these bloat the backups. 2023-10-30 17:41:08 +00:00
scripts Add dist/plugins.js back 2023-09-08 15:56:31 +02:00
src This removes the need for constant DB HEAD requests to check if a database exists or not. Instead, it tries to make the request, and if it fails it will check if the reason for failure is the database not existing. If it doesn't exist it runs through the same old flow to confirm that it definitely doesn't exist, and if it doesn't then it will create it. 2024-01-11 16:44:15 +00:00
tests Fix tests 2024-01-03 12:06:23 +01:00
.gitignore
.npmignore Revert "Clean backend-core package" 2023-09-07 21:14:38 +01:00
LICENSE
README.md
jest-testcontainers-config.js Remove redundant env from jestTestcontainersConfigGenerator 2023-02-01 11:49:25 +00:00
jest.config.ts Use path for shared-core in backend-core 2023-08-02 09:59:14 +02:00
package.json Update node refs to 20 2023-12-22 14:55:22 +01:00
tsconfig.build.json Bundle bb dependencies in backend-core 2023-08-08 19:08:57 +03:00
tsconfig.json Bundle bb dependencies in backend-core 2023-08-08 19:08:57 +03: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.