import { Taxonomy, Term } from "@prisma/client";
import { ResPerm } from "./rbac";
import { TaxonomySlug } from "../enum";

export type TermDto = Term & {
    permissions: ResPerm;
    children: TermDto[];
    hasChildren: boolean;
    taxonomy: Taxonomy
};