import { GroupEntity } from '../groups/group.entity'; import { OrganizationEntity } from '../organizations/organization.entity'; import { LabelEntity } from '../labels/label.entity'; import { UserEntity } from '../users/user.entity'; import { ENTITY_ACCESS } from '../common/enum'; import { BaseClass } from './base'; /** * Primary class to be shared among all entities on this server */ export declare abstract class BaseEntityClass extends BaseClass { /** * Organization that owns this entry * delete entity if organization is deleted */ organization: OrganizationEntity; /** * Groups within an organization that have access to this entry */ groups: GroupEntity[]; /** * Group user that created this entry * set owner to null when user is deleted */ createdByUser: UserEntity; /** * Labels assigned to this entry */ labels: LabelEntity[]; /** * Overwrite entity access properties */ readAccessSwitch: ENTITY_ACCESS; }