type nestedListNode = { title: string; id: string; level: number; children: nestedListNode[]; };