1Item: {2 shape: class34 id: string5 name: string6 kind: "file" | "folder"7 contentHash: string | null8 parentId: string | null9 spaceId: string10 createdAt: Date11 updatedAt: Date1213 getContent(): Uint8Array14 getVersions(): Version[]15 move(newParent): void16}1718Version: {19 shape: class2021 id: string22 itemId: string23 contentHash: string24 size: number25 message: string | null26 createdAt: Date2728 getContent(): Uint8Array29 getDiff(other): Diff30}3132Space: {33 shape: class3435 id: string36 slug: string37 name: string38 visibility: "public" | "private"39 ownerId: string4041 listItems(path): Item[]42 createItem(name, kind): Item43 getTree(): TreeEntry[]44}4546Commit: {47 shape: class4849 id: string50 commitHash: string51 treeHash: string52 parentHash: string | null53 message: string54 authorName: string55 createdAt: Date5657 getChanges(): CommitItem[]58}5960Space -> Item: contains61Item -> Version: has versions62Commit -> Version: references v1 of v6
commit ae355dc
message create class.d2 via macOS
author anton
date Apr 18, 2026
size 948 B