mike12345567
ccc751d09c
A quick refactor to get rid of the old 'FieldTypes' enumeration, considering how core it is to all data handling in Budibase, the fact we had both 'FieldType' and 'FieldTypes' was confusing - righting this fully.
2024-01-24 16:58:13 +00:00
melohagan
bd0202e7b5
Error deleting datasource on first attempt at deleting ( #12819 )
...
* Add badge photo to the employee import
* Update revisions from relationships when loop deleting tables
2024-01-22 10:25:21 +00:00
mike12345567
b86640772b
Fix for saving relationships that have the same field name used on both sides, previously this could cause a relationship to be cleared depending on how the relationship schema was configured. There is a chance when saving that this won't happen as which side of the relationship is denoted by doc1 and doc2 is random, so when this happens is random. Using the table to pick the correct side is safer than just using the field name.
2023-11-29 18:45:48 +00:00
Sam Rose
f9bff0846a
Merge branch 'master' into refactor/remove-jsdoc-types-in-ts-files
2023-10-18 11:45:52 +01:00
Adria Navarro
06ae3fb52c
Log warn
2023-10-18 12:07:50 +02:00
Adria Navarro
ea1853c78c
Remove sentry from the backend
2023-10-18 10:51:09 +02:00
Sam Rose
767900aec6
Remove type information from JSDoc in .ts files, it's redundant.
2023-10-17 16:46:32 +01:00
Adria Navarro
1e8aa9eb60
More types
2023-10-11 13:36:56 +02:00
Adria Navarro
6c328109b6
Fixes
2023-10-10 18:54:57 +02:00
melohagan
23b7a8de72
Allow relationship to be deleted even if missing ( #11991 )
...
* Allow relationship to be deleted even if missing
* Comment
2023-10-06 14:17:36 +01:00
mike12345567
7673673db2
Updating RelationshipTypes -> RelationshipType.
2023-07-21 12:57:47 +01:00
Adria Navarro
2698e47ec4
Type internal db.get
2023-07-18 11:41:51 +02:00
Adria Navarro
7f53cbeca7
Fix types
2023-01-20 09:58:59 +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
mike12345567
658f12281d
Fixes based on server build so far.
2022-11-26 15:10:41 +00:00
mike12345567
eeebd0fe70
Typescript conversion of linked row controller.
2022-11-25 18:54:57 +00:00