af6ffbcc68
feat: standard fields on custom ( #4332 )
...
* feat: add ability to sync standard fields on custom object
* fix: clean
* fix: wrong compute during object creation
* fix: missing cascade delete
* fix: remove unused injected class
* fix: naming
* fix: rename factory to paramsFactory and clean
* fix: rename ExtendCustomObjectMetadata to BaseCustomObjectMetadata
* fix: partial fix inconsistent label and description
* Fixes
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-03-07 17:21:50 +01:00
7001ca83d1
3491 launch cleaning cron ( #3872 )
...
* Add command to delete incomplete workspaces
* Inject command dependencies
* Fix command
* Do not delete core.workspace
* Reorganize files
* Delete src/workspace/cron
* Fix
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-02-07 18:52:48 +01:00
73f6876641
feat: workspace sync ( #3505 )
...
* feat: wip workspace sync
* feat: wip lot of debugging
* feat: refactor and fix sync
* fix: clean
fix: clean
* feat: add simple comparator tests
* fix: remove debug
* feat: wip drop table
* fix: main merge
* fix: some issues, and prepare storage system to handle complex deletion
* feat: wip clean and fix
* fix: reflect issue when using array instead of map and clean
* fix: test & sync
* fix: yarn files
* fix: unecesary if-else
* fix: if condition not needed
* fix: remove debug
* fix: replace EQUAL by SKIP
* fix: sync metadata relation not applied properly
* fix: lint issues
* fix: merge issue
2024-01-30 14:40:55 +01:00
8483cf0b4b
POC: chore: use Nx workspace lint rules ( #3163 )
...
* chore: use Nx workspace lint rules
Closes #3162
* Fix lint
* Fix lint on BE
* Fix tests
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2024-01-03 23:07:25 +01:00
d532f22fbb
feat: migration can be applied on a specific schema & some enhancements ( #2998 )
...
* fix: remove old metadata seed files
* feat: wip standard to core relation
* fix: lint
* fix: merge
* fix: remove debug files
* feat: add feature flag for core object metadata
* fix: remove debug
* feat: always disable the standard core relation
* fix: missing feature flag
* fix: remove debug
* fix: feature flag doesn't seems to disable relation
* fix: delete .vscode folder, change this in another PR
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/reflective-metadata.factory.ts
Co-authored-by: Weiko <corentin@twenty.com >
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/reflective-metadata.factory.ts
Co-authored-by: Weiko <corentin@twenty.com >
* Update packages/twenty-server/src/workspace/workspace-sync-metadata/workspace-sync.metadata.service.ts
Co-authored-by: Weiko <corentin@twenty.com >
* fix: remove optional fields from metadata entities
* fix: renamed variable
* fix: put back CursorScalarType
* fix: delete test command
* fix: remove unused workspace standard migration command
* fix: drop core object metadata declaration
* fix: rename variable
* fix: drop creation of core datasource
* fix: remove feature flag
* fix: drop support of standard to core relations
* feat: add user email field on workspace-member standard object
* fix: update seed accordingly
* fix: missing remove command file
* fix: datasource label should remain nullable
* fix: better asserts
* Remove unused code
* Remove unused code
---------
Co-authored-by: Weiko <corentin@twenty.com >
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-12-21 19:15:05 +01:00
fff51a2d91
Basic data enrichment ( #3023 )
...
* Add Enrich to frontend
* Naive backend implementation
* Add work email check
* Rename Enrich to Quick Action
* Refactor logic to a separate service
* Refacto to separate IntelligenceService
* Small fixes
* Missing Break statement
* Address PR comments
* Create company interface
* Improve edge case handling
* Use httpService instead of Axios
* Fix server tests
2023-12-18 15:45:30 +01:00
e3e42be723
Add generate openapi schema for rest api ( #2923 )
...
* Add generate openapi schema for rest api
* Split method in utils
* Add paramters
* Add error response
* Update description of filter and order by
* Add get/id routes
* Add delete route
* Use components
* Fix Typo
* Add tags
* Add create query
* Add required field
* Add update query
* Add body request example
* Add 201 on create request
* Add servers
* Fix failing test
* Add open-api endpoint
* Update description
* Return base schema if no auth
* Code review returns
* Use open-api/types
* Fix tag
* Use components for parameters
* Improve response examples
* Improve axios error message
* Fix tests
2023-12-13 14:58:34 +01:00
5bdca9de6c
Migrate to a monorepo structure ( #2909 )
2023-12-10 18:10:54 +01:00