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:
@ -1,14 +1,18 @@
|
||||
import 'reflect-metadata';
|
||||
|
||||
import { GateDecoratorParams } from 'src/workspace/workspace-sync-metadata/interfaces/gate-decorator.interface';
|
||||
import { ReflectBaseCustomObjectMetadata } from 'src/workspace/workspace-sync-metadata/interfaces/reflect-custom-object-metadata.interface';
|
||||
import { ReflectDynamicRelationFieldMetadata } from 'src/workspace/workspace-sync-metadata/interfaces/reflect-computed-relation-field-metadata.interface';
|
||||
import { ReflectFieldMetadata } from 'src/workspace/workspace-sync-metadata/interfaces/reflect-field-metadata.interface';
|
||||
import { ReflectObjectMetadata } from 'src/workspace/workspace-sync-metadata/interfaces/reflect-object-metadata.interface';
|
||||
import { ReflectRelationMetadata } from 'src/workspace/workspace-sync-metadata/interfaces/reflect-relation-metadata.interface';
|
||||
|
||||
export interface ReflectMetadataTypeMap {
|
||||
objectMetadata: ReflectObjectMetadata;
|
||||
extendObjectMetadata: ReflectBaseCustomObjectMetadata;
|
||||
fieldMetadataMap: ReflectFieldMetadata;
|
||||
relationMetadataCollection: ReflectRelationMetadata[];
|
||||
dynamicRelationFieldMetadataMap: ReflectDynamicRelationFieldMetadata;
|
||||
reflectRelationMetadataCollection: ReflectRelationMetadata[];
|
||||
gate: GateDecoratorParams;
|
||||
isNullable: true;
|
||||
isSystem: true;
|
||||
|
||||
Reference in New Issue
Block a user