1
0
Fork 0
mirror of synced 2024-09-18 18:28:33 +12:00
Commit graph

15 commits

Author SHA1 Message Date
Rory Powell
6ae59d767b offline license sdk module 2023-07-10 12:48:52 +01:00
adrinr
c77ed3d737 Renames 2023-04-11 13:39:13 +01:00
adrinr
e1279ffecd Use proper errors instead of string throwing 2023-04-11 13:39:13 +01:00
mike12345567
39bfbdfac1 PR comments. 2023-03-16 16:49:31 +00:00
Rory Powell
de89b9112a Simplify errors framework (#10042)
* Simplify errors framework

* Use enum for ErrorCode

* Lint

* Update base BudibaseError type to use enum

* For for public error on UsageLimitError

* Build fix

* Build fix
2023-03-16 08:42:02 +00:00
Rory Powell
fba7ef26ad Replace ts-jest with swc/jest (#9289)
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error
2023-01-11 09:37:37 +00:00
Rory Powell
f4963db294 Add buttonText to InlineAlert, export TooltipWrapper, update Account type with license key activate time, convert error package to TS 2022-09-12 10:43:26 +01:00
Peter Clement
fda6ed6e62 update feature error 2022-07-26 20:25:59 +01:00
Peter Clement
46a6fc5048 refactor groups into pro and some other pr comments 2022-07-26 20:04:29 +01:00
Peter Clement
9e75b18784 adding new custom feature disabled error 2022-07-25 19:45:50 +01:00
Rory Powell
857cd2d735 Merge branch 'develop' into feature/posthog-v2 2022-05-28 23:03:31 +01:00
Rory Powell
e98e659346 user / rbac events + tests 2022-04-08 01:28:22 +01:00
Rory Powell
795b48bfb0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
Rory Powell
e695a57853 Better error handling around license errors 2022-03-16 17:29:47 +00:00
Rory Powell
b686c19658 Enforce licensed developer count + error types/codes framework 2022-03-04 13:42:50 +00:00