Spaces:
Build error
Build error
File size: 1,232 Bytes
d9494a5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import { BaseWorkspaceEntity } from 'src/engine/twenty-orm/base.workspace-entity';
import { type CustomWorkspaceEntity } from 'src/engine/twenty-orm/custom.workspace-entity';
import { type EntityRelation } from 'src/engine/workspace-manager/workspace-migration/types/entity-relation.interface';
import { type CompanyWorkspaceEntity } from 'src/modules/company/standard-objects/company.workspace-entity';
import { type NoteWorkspaceEntity } from 'src/modules/note/standard-objects/note.workspace-entity';
import { type OpportunityWorkspaceEntity } from 'src/modules/opportunity/standard-objects/opportunity.workspace-entity';
import { type PersonWorkspaceEntity } from 'src/modules/person/standard-objects/person.workspace-entity';
export class NoteTargetWorkspaceEntity extends BaseWorkspaceEntity {
note: EntityRelation<NoteWorkspaceEntity> | null;
noteId: string | null;
targetPerson: EntityRelation<PersonWorkspaceEntity> | null;
targetPersonId: string | null;
targetCompany: EntityRelation<CompanyWorkspaceEntity> | null;
targetCompanyId: string | null;
targetOpportunity: EntityRelation<OpportunityWorkspaceEntity> | null;
targetOpportunityId: string | null;
custom: EntityRelation<CustomWorkspaceEntity>;
}
|