Skip to content

Function: createTree()

function createTree(projects, folders): TreeOperationResult;

Defined in: shared/src/helper/workHelper/treeHelperFunctions.ts:93

ParameterType
projects{ bank_account_id: string | null; color: string | null; contact_id: string | null; created_at: string; description: string | null; finance_project_id: string | null; id: string; order_index: number; round_in_time_fragments: boolean | null; rounding_direction: "up" | "down" | "nearest" | null; rounding_interval: number | null; salary: number | null; time_fragment_interval: number | null; title: string; user_id: string; work_folder_id: string | null; }[]
folders{ created_at: string; description: string | null; id: string; order_index: number; parent_folder: string | null; title: string; user_id: string | null; }[]

TreeOperationResult