Expand description
NextGraph Repo types
Corresponds to the BARE schema
Structs§
- AddBranch
V0 - Add a branch to the repository
- AddFile
V0 - Add a new binary file in a branch
- AddLink
V0 - Adds a link into the user branch, so that a user can share with all its device a new Link they received.
- AddMember
V0 - Add member to a repo
- AddName
V0 - Add a new name in the repo that can point to a branch or a commit
- AddPermission
V0 - Add permission to a member in a repo
- AddRepo
V0 - Adds a repo into the store branch.
- AddSigner
CapV0 - Adds a SignerCap into the user branch,
- Block
Content V0 - unencrypted part of the Block
- Block
Ref - Block reference
- BlockV0
- Immutable block with encrypted content
- Bloom
Filter V0 - Bloom filter (variable size)
- Branch
CapRefresh V0 - BranchCapRefresh renew the capabilities of one specific transactional branch
- Branch
CapRefreshed V0 - BranchCapRefreshed is a singleton in a new topic. it has no ACKS nor DEPS.
- Branch
V0 - Branch definition
- Certificate
Content V0 - A Certificate content, that will be signed by the previous certificate signers.
- Certificate
V0 - A Certificate object (not a commit) containing all the information needed to verify a signature.
- Commit
Content V0 - Content of a Commit
- Commit
Header Keys V0 - Keys for the corresponding IDs contained in the Header
- Commit
Header Ref - Commit
Header V0 - Header of a Commit, can be embedded or as a ref
- Commit
V0 - Commit object
- Compact
V0 - Compact: Hard Snapshot of a Branch
- Event
Content V0 - Content of EventV0
- EventV0
- Pub/sub event published in a topic
- Quorum
V0 - Quorum definition V0
- Random
Access File Meta V0 - Random Access File Object
- Reduced
Site V0 - Reduced Site (for QRcode)
- Refresh
CapV0 - Refresh
Secret V0 - the second tuple member is only set when a write_cap refresh is performed, and for users that are Editor (any Member that also has at least one permission, plus all the Owners)
- Remove
Link V0 - Removes a link from the
user
branch. - Remove
Member V0 - Remove member from a repo
- Remove
Name V0 - Remove a name from the repo, using ORset CRDT logic
- Remove
Permission V0 - Remove permission from a user in a repo
- Remove
Repo V0 - Removes a repo from the store branch.
- Remove
Signer CapV0 - Removes a SignerCap from the
user
branch. - Repository
V0 - Repository definition
- Root
Branch V0 - Root Branch definition V0
- Root
CapRefresh V0 - RootCapRefresh. renew the capabilities of the root branch, or all transactional branches and the root_branch.
- Signature
Content V0 - A Threshold Signature content
- Signature
V0 - A Threshold Signature object (not a commit) containing all the information that the signers have prepared.
- Signer
Cap - when a signing capability is removed, a new SignerCap should be committed to User branch, with the removed key set to None
- Site
Store - Site Store
- Small
File V0 - File Object
- Snapshot
V0 - Snapshot of a Branch
- Store
Update V0 - Updates the ReadCap of the public, protected sites, Group and Dialog stores of the User
- Wallet
Update V0 - Adds a wallet operation so all the devices can sync their locally saved wallet on disk (at the next wallet opening)
Enums§
- AddBranch
- Add a branch to the repository
- AddFile
- AddLink
- AddMember
- AddName
- AddPermission
- AddRepo
- AddSigner
Cap - Async
Signature - Async Threshold Signature of a commit based on the partial order quorum
- Block
- Immutable block with encrypted content
- Block
Content - Immutable object with encrypted content
- Bloom
Filter - Branch
- Branch definition
- Branch
CapRefresh - BranchCapRefresh
- Branch
CapRefreshed - BranchCapRefreshed
- Branch
Crdt - Branch
Type - Certificate
- A certificate object
- Certificate
Signature V0 - A Signature of a Certificate, with an indication of which the threshold keyset or private key used to generate it
- Chunk
Content V0 - encrypted_content of BlockContentV0: a Merkle tree node
- Commit
- Commit Object
- Commit
Body - Commit body
- Commit
Body V0 - Commit body V0
- Commit
Content - Content of a Commit
- Commit
Header - Commit
Header Keys - Commit
Header Object - Commit
Type - Compact
- Snapshot of a Branch
- Digest
- Hash digest
- Event
- Pub/sub event published in a topic
- Object
Content - Immutable data stored encrypted in a Merkle tree
- Object
Content V0 - Immutable data stored encrypted in a Merkle tree V0
- Orders
Public KeySets V0 - Enum for “orders” PKsets.
- Overlay
Id - Overlay ID
- PeerId
- Peer ID: public key of the node, or an encrypted version of it
- Permission
V0 - Permissions
- PrivKey
- Private key
- PubKey
- Public key
- Quorum
- Quorum definition, is part of the RootBranch commit
- Quorum
Type - Random
Access File Meta - A Random Access file stored in an Object
- Refresh
Cap - RefreshCap
- RelTime
- Relative time (e.g. delay from current time)
- Remove
Branch - Remove a branch from the repository
- Remove
File - Remove
Link - Remove
Member - Remove
Name - Remove
Permission - Remove
Repo - Remove
Signer Cap - Repo
Named Item - Repo
Named Item V0 - Repository
- Repository definition
- Root
Branch - RootBranch definition
- Root
CapRefresh - Sig
- Cryptographic signature
- Signature
- A Signature object (it is not a commit), referenced in AsyncSignature or SyncSignature
- Signature
Content - A Signature content
- Site
Name - Site Name
- Site
Store Type - Site Store type
- Site
Type - Site type
- Small
File - A file stored in an Object
- Snapshot
- Snapshot of a Branch
- Store
Overlay - Store
Overlay V0 - List of Store Overlay types
- Store
Repo - Store
Repo V0 - List of Store Root Repo types
- Store
Update - SymKey
- Symmetric cryptographic key
- Sync
Signature - Sync Threshold Signature of one or a chain of commits . V0
- Threshold
Signature V0 - A Threshold Signature and the set used to generate it
- Transaction
- Wallet
Update
Constants§
Traits§
Type Aliases§
- Blake3
Digest32 - 32-byte Blake3 hash digest
- BlockId
- Block ID: BLAKE3 hash over the serialized BlockContent (contains encrypted content)
- Block
Key - Branch
Id - BranchId is a PubKey
- Branch
Write CapSecret - Write capability secret (for a branch’s topic)
- ChaCha20
Key - ChaCha20 symmetric key
- Direct
Peer Id - Ed25519
Priv Key - Curve25519 private key Edwards form
- Ed25519
PubKey - Curve25519 public key Edwards form
- Ed25519
Sig - Ed25519 signature
- Forwarded
Peer Id - Inner
Overlay Id - Internal
Node - Internal node of a Merkle tree
- Object
Id - Object ID
- Object
Key - Object Key
- Object
Ref - Object reference
- Outer
Overlay Id - ReadCap
- Read capability (for a commit, branch, whole repo, or store)
- Read
CapSecret - Read capability secret (for a commit, branch, whole repo, or store)
- Remove
Branch V0 - Remove
File V0 - Remove a file from the branch, using ORset CRDT logic
- Repo
Hash - RepoHash is the BLAKE3 Digest over the RepoId
- RepoId
- RepoId is a PubKey
- Repo
Write CapSecret - Write capability secret (for a whole repo)
- Timestamp
- Timestamp: absolute time in minutes since 2022-02-22 22:22 UTC
- TopicId
- Topic ID: public key of the topic
- Transaction
V0 - Transaction with CRDT operations
- UserId
- User ID: user account for broker and member of a repo
- X25519
Priv Key - Curve25519 private key Montgomery form
- X25519
PubKey - Curve25519 public key Montgomery form