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>
This commit is contained in:
@ -72,6 +72,7 @@ export const useInjectIntoActivityTargetsQueries = () => {
|
||||
overwriteFindManyActivityTargetsQueryInCache({
|
||||
objectRecordsToOverwrite: newActivityTargets,
|
||||
queryVariables: findManyActivitiyTargetsQueryVariables,
|
||||
depth: 2,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@ -63,6 +63,7 @@ export const useRemoveFromActivityTargetsQueries = () => {
|
||||
overwriteFindManyActivityTargetsQueryInCache({
|
||||
objectRecordsToOverwrite: newActivityTargetsForTargetableObject,
|
||||
queryVariables: findManyActivityTargetsQueryVariables,
|
||||
depth: 2,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@ -34,6 +34,7 @@ export const useInjectIntoActivityTargetInlineCellCache = () => {
|
||||
overwriteFindManyActivityTargetsQueryInCache({
|
||||
queryVariables: activityTargetInlineCellQueryVariables,
|
||||
objectRecordsToOverwrite: activityTargetsToInject,
|
||||
depth: 2,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user