manytype_protocol library

Generated protobuf types for the Anytype wire protocol.

Due to name conflicts between proto packages (e.g., ErrCodes, Ok), types are organized into sub-libraries. Import the specific one you need:

import 'package:manytype_protocol/spacesync.dart';
import 'package:manytype_protocol/coordinator.dart';
import 'package:manytype_protocol/models.dart';

Or import this file for the most common types with conflicts resolved:

Classes

Ack
AclAccountAdd
AclAccountAdd contains new account to be added
AclAccountInvite
AclAccountInvite contains the public invite key, the private part of which is sent to the user directly
AclAccountInviteChange
AclAccountInviteJoin
AclInviteJoin contains the reference to the invite record and the data of the person who wants to join, confirmed by the private invite key The person must encrypt the key with its own public key
AclAccountInviteRevoke
AclAccountInviteRevoke revokes the invite record
AclAccountPermissionChange
AclAccountPermissionChange changes permissions of specific account
AclAccountPermissionChanges
AclAccountPermissionChanges contains permission changes for certain identities
AclAccountRemove
AclAccountRemove removes an account and changes read key for space
AclAccountRequestAccept
AclAccountRequestAccept contains the reference to join record and all read keys, encrypted with the identity of the requestor
AclAccountRequestCancel
AclRequestCancel contains reference to the request that is canceled by the account
AclAccountRequestDecline
AclAccountRequestDecline contains the reference to join record
AclAccountRequestJoin
AclAccountRequestJoin contains the reference to the invite record and the data of the person who wants to join, confirmed by the private invite key
AclAccountRequestRemove
AclAccountRequestRemove adds a request to remove an account
AclAccountsAdd
AclAccountsAdd contains new accounts to be added
AclContentValue
AclContentValue contains possible values for Acl
AclData
AclData contains different acl content
AclEncryptedReadKey
AclEncryptedReadKeys are new key for specific identity
AclInviteType
AclReadKeyChange
AclReadKeyChange changes the key for a space
AclRoot
AclRoot is a root of access control list
AclUserPermissions
AclUserPermissions contains different possible user roles
Credentials
CredentialsType
Encoding
Error
ErrorCodes
Key
KeyType
NoDataTreeChange
TreeChange is a change of a tree
PayloadSignedPeerIds
Proto
ProtoType
RawTreeChange
RawTreeChange is a marshalled TreeChange (or RootChange) payload and a signature of this payload
RawTreeChangeWithId
RawTreeChangeWithId is a marshalled RawTreeChange with CID
ReducedTreeChange
RootChange
RootChange is a root of a tree
TreeChange
TreeChange is a change of a tree
TreeChangeInfo
TreeChangeInfo is used internally in Tree implementation for ease of marshalling
TreeErrorResponse
TreeErrorResponse is an error sent as a response for a full sync request
TreeFullSyncRequest
TreeHeadUpdate is a message sent when document needs full sync
TreeFullSyncResponse
TreeFullSyncResponse is a message sent as a response for a specific full sync
TreeHeadUpdate
TreeHeadUpdate is a message sent on document head update
TreeSyncContentValue
TreeSyncContentValue provides different types for tree sync
TreeSyncMessage

Extensions

GeneratedMessageGenericExtensions on T
Extensions on GeneratedMessages.