feat: twenty orm sync (#5266)
This PR is updating all object metadata entities with the new decorators, and deleting the old ones. This way we can use the new TwentyORM with all the standard objects. --------- Co-authored-by: Weiko <corentin@twenty.com>
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
import { FactoryProvider, ModuleMetadata, Type } from '@nestjs/common';
|
||||
|
||||
import { BaseObjectMetadata } from 'src/engine/workspace-manager/workspace-sync-metadata/standard-objects/base.object-metadata';
|
||||
import { BaseWorkspaceEntity } from 'src/engine/twenty-orm/base.workspace-entity';
|
||||
|
||||
export interface TwentyORMOptions {
|
||||
objects: Type<BaseObjectMetadata>[];
|
||||
workspaceEntities: Type<BaseWorkspaceEntity>[];
|
||||
}
|
||||
|
||||
export type TwentyORMModuleAsyncOptions = {
|
||||
|
||||
Reference in New Issue
Block a user