import { AggregationItem } from "./aggregation-item"; import { WithMongooseProps } from "./with-mongoose-props"; import { WithTranslations } from "./with-translations"; export enum OrganizationalChartMobileView { NODES = 'nodes', TEXT = 'text' } export type OrganizationalChart = { _id: string name: string translations: { it: string; en: string } } export type organizationalChartItemTranslations = { name: string } export type OrganizationalChartItem = WithMongooseProps<{ _id: string; organizationChartId: string; parentId?: string; name: string; childs: OrganizationalChartItem[] translations: WithTranslations; aggregationItemId?: string; referenceEntityType?: 'Unit' | 'AslPeople'; aggregationItem?: AggregationItem color: string; link?: string; order?: number; }>