twenty/packages/twenty-server/src
Weiko 28815f54fe
Refactor object metadata service (#8123)
## Context
ObjectMetadataService became quite large and handles too many
responsibilities. I'm trying to refactor a bit this part in preparation
of a larger work that will combine object-metadata services and
sync-metadata logic

- Created a STANDARD_OBJECT_ICONS that can be reused in relation
creation to refer to a standard object icon.
- Created a STANDARD_OBJECT_FIELD_IDS that can be used with an object
name to get its standard field ids.
- Moved migration, record and relation creations to dedicated services,
refactored to improve performances and readability
- Refactored some validation logic

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-10-28 14:13:15 +01:00
..
command 6658 workflows add a first twenty piece email sender (#6965) 2024-09-12 11:00:25 +02:00
constants Fix all broken CIs (#7439) 2024-10-05 00:23:23 +02:00
database Replace shouldSyncNameAndLabel with isLabelSyncedWithName (#8067) 2024-10-25 18:28:58 +02:00
engine Refactor object metadata service (#8123) 2024-10-28 14:13:15 +01:00
modules Refactor object metadata service (#8123) 2024-10-28 14:13:15 +01:00
queue-worker Improve snackbar and fix sentry (#7181) 2024-09-21 06:33:15 +02:00
utils Add Manual Triggers (#8024) 2024-10-25 14:24:56 +02:00
app.module.ts Improve snackbar and fix sentry (#7181) 2024-09-21 06:33:15 +02:00
instrument.ts Improve snackbar and fix sentry (#7181) 2024-09-21 06:33:15 +02:00
main.ts feat(sso): allow to use OIDC and SAML (#7246) 2024-10-21 20:07:08 +02:00