Skip to content

The open alternative to Salesforce, designed for AI.

629 B
Raw Blame
import { type BlocklistScope } from 'twenty-shared/types';

import { BaseWorkspaceEntity } from 'src/engine/twenty-orm/base.workspace-entity';
import { type EntityRelation } from 'src/engine/workspace-manager/workspace-migration/types/entity-relation.interface';
import { type WorkspaceMemberWorkspaceEntity } from 'src/modules/workspace-member/standard-objects/workspace-member.workspace-entity';

export class BlocklistWorkspaceEntity extends BaseWorkspaceEntity {
  handle: string | null;
  scope: BlocklistScope;
  workspaceMember: EntityRelation<WorkspaceMemberWorkspaceEntity> | null;
  workspaceMemberId: string | null;
}