import type { Job } from './job.options'; export interface TreeStructBase { readonly id: string; readonly title: string; readonly treeStructType: string; readonly description?: string; readonly ancestors: [TreeStructAncestor, ...TreeStructAncestor[]]; } export interface TreeStruct extends TreeStructBase { readonly elements: T[]; readonly children: TreeStruct[] | string[]; } export interface TreeStructAncestor { readonly id: string; }