Apr 19, 2026 920 B octet-stream
1Item: {
2 shape: class
3
4 id: string
5 name: string
6 kind: string
7 contentHash: string
8 parentId: string
9 spaceId: string
10 createdAt: Date
11 updatedAt: Date
12
13 getContent(): Uint8Array
14 getVersions(): Versions
15 move(newParent): void
16}
17
18Version: {
19 shape: class
20
21 id: string
22 itemId: string
23 contentHash: string
24 size: number
25 message: string
26 createdAt: Date
27
28 getContent(): Uint8Array
29 getDiff(other): Diff
30}
31
32Space: {
33 shape: class
34
35 id: string
36 slug: string
37 name: string
38 visibility: string
39 ownerId: string
40
41 listItems(path): Items
42 createItem(name, kind): Item
43 getTree(): TreeEntries
44 getActivity(): Activities
45}
46
47Commit: {
48 shape: class
49
50 id: string
51 commitHash: string
52 treeHash: string
53 parentHash: string
54 message: string
55 authorName: string
56 createdAt: Date
57
58 getChanges(): CommitItems
59}
60
61Space -> Item: contains
62Item -> Version: has versions
63Commit -> Version: references