Skip to content

emrgen/blocktree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blocktree

A reusable library for block storage

Hierarchical Data Model

    0000
    ├── space-1
    │   ├── block-1.1
    │   └── block-1.2
    └── space-2
        ├── block-2.1
        └── block-2.2

Block Invariants

  • 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

Coverage

Coverage

Progress

  • 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

About

a block store for collaborative applications

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published