A reusable library for block storage
0000
├── space-1
│ ├── block-1.1
│ └── block-1.2
└── space-2
├── block-2.1
└── block-2.2
- all spaces are direct children of the root space(0000)
- blocks in a space form a tree (no cycles, no multiple parents, only one block tree per space)
- space is also a block
- insert block
- update block
- patch block
- delete block
- erased block
- move block
- get block
- get all descendants of a block
- list blocks by parent
- list page blocks by space
- create space
- update space
- delete space
- get space
- link block
- get backlinks of a block