diff --git a/.golangci.yml b/.golangci.yml index f5cfb352a..d06c49ea1 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -47,6 +47,7 @@ linters: - gosec - interfacebloat - importas + - ineffassign # - lll - misspell - nestif diff --git a/.mockery.yaml b/.mockery.yaml new file mode 100644 index 000000000..a0c585ab1 --- /dev/null +++ b/.mockery.yaml @@ -0,0 +1,12 @@ +dir: "{{.InterfaceDir}}/mock_{{.PackageName}}" +testonly: True +with-expecter: True +all: False +outpkg: "mock_{{.PackageName}}" +packages: + github.com/anyproto/anytype-heart/space/typeprovider: + interfaces: + SmartBlockTypeProvider: + github.com/anyproto/anytype-heart/core/wallet: + interfaces: + Wallet: diff --git a/Makefile b/Makefile index 1cf2c5014..97b33fba0 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,7 @@ test-deps: @echo 'Generating test mocks...' @go install github.com/golang/mock/mockgen @go generate ./... + @mockery --all clear-test-deps: @echo 'Removing test mocks...' diff --git a/README.md b/README.md index f5295afbd..693d9b558 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ make protos ### Run tests Generate mocks: + +Install Mockery https://vektra.github.io/mockery/installation/ ``` make test-deps ``` diff --git a/cmd/dbbenchmark/dbbenchmark.go b/cmd/dbbenchmark/dbbenchmark.go index 01630106f..7635b4c88 100644 --- a/cmd/dbbenchmark/dbbenchmark.go +++ b/cmd/dbbenchmark/dbbenchmark.go @@ -3,6 +3,14 @@ package main import ( "flag" "fmt" + "math/rand" + "os" + "path/filepath" + "time" + + "github.com/gogo/protobuf/types" + dsbadgerv3 "github.com/textileio/go-ds-badger3" + "github.com/anyproto/anytype-heart/pkg/lib/bundle" "github.com/anyproto/anytype-heart/pkg/lib/datastore" "github.com/anyproto/anytype-heart/pkg/lib/datastore/clientds" @@ -10,12 +18,6 @@ import ( "github.com/anyproto/anytype-heart/pkg/lib/localstore/objectstore" "github.com/anyproto/anytype-heart/pkg/lib/pb/model" "github.com/anyproto/anytype-heart/util/pbtypes" - "github.com/gogo/protobuf/types" - dsbadgerv3 "github.com/textileio/go-ds-badger3" - "math/rand" - "os" - "path/filepath" - "time" ) const localstoreDir string = "localstore" @@ -176,11 +178,17 @@ func createObjects(store objectstore.ObjectStore, ids []string, detailsCount int for _, id := range ids { details := genRandomDetails(ids, detailsCount) start := time.Now() - err := store.CreateObject(id, details, nil, "snippet") + err := store.UpdateObjectDetails(id, details) if err != nil { fmt.Println("error occurred while updating object store:", err.Error()) return err } + err = store.UpdateObjectSnippet(id, "snippet") + if err != nil { + fmt.Println("error occurred while updating snippet:", err.Error()) + return err + } + taken := float32(time.Now().Sub(start).Nanoseconds()) avg = (avg*i + taken) / (i + 1) i += 1.0 @@ -195,7 +203,7 @@ func updateDetails(store objectstore.ObjectStore, ids []string, detailsCount int for _, id := range ids { details := genRandomDetails(ids, detailsCount) start := time.Now() - err := store.UpdateObjectDetails(id, details, false) + err := store.UpdateObjectDetails(id, details) if err != nil { fmt.Println("error occurred while updating object store:", err.Error()) return err diff --git a/core/block/bookmark/bookmark_service.go b/core/block/bookmark/bookmark_service.go index b26acb4b9..c23f07389 100644 --- a/core/block/bookmark/bookmark_service.go +++ b/core/block/bookmark/bookmark_service.go @@ -100,15 +100,17 @@ func (s *service) CreateBookmarkObject(details *types.Struct, getContent Content }, Filters: []*model.BlockContentDataviewFilter{ { - Condition: model.BlockContentDataviewFilter_Equal, RelationKey: bundle.RelationKeySource.String(), + Condition: model.BlockContentDataviewFilter_Equal, Value: pbtypes.String(url), }, + { + RelationKey: bundle.RelationKeyType.String(), + Condition: model.BlockContentDataviewFilter_Equal, + Value: pbtypes.String(bundle.TypeKeyBookmark.URL()), + }, }, Limit: 1, - ObjectTypeFilter: []string{ - bundle.TypeKeyBookmark.URL(), - }, }) if err != nil { return "", nil, fmt.Errorf("query: %w", err) diff --git a/core/block/editor/basic/details.go b/core/block/editor/basic/details.go index cd9646150..3a20fc591 100644 --- a/core/block/editor/basic/details.go +++ b/core/block/editor/basic/details.go @@ -10,7 +10,6 @@ import ( "github.com/anyproto/anytype-heart/core/session" "github.com/anyproto/anytype-heart/pb" "github.com/anyproto/anytype-heart/pkg/lib/bundle" - "github.com/anyproto/anytype-heart/pkg/lib/localstore/objectstore" "github.com/anyproto/anytype-heart/pkg/lib/logging" "github.com/anyproto/anytype-heart/pkg/lib/pb/model" "github.com/anyproto/anytype-heart/util/internalflag" @@ -185,7 +184,7 @@ func (bs *basic) SetObjectTypesInState(s *state.State, objectTypes []string) (er return fmt.Errorf("you must provide at least 1 object type") } - otypes, err := objectstore.GetObjectTypes(bs.objectStore, objectTypes) + otypes, err := bs.objectStore.GetObjectTypes(objectTypes) if err != nil { return } diff --git a/core/block/editor/dataview/dataview.go b/core/block/editor/dataview/dataview.go index 93a330fc0..cf63c2b79 100644 --- a/core/block/editor/dataview/dataview.go +++ b/core/block/editor/dataview/dataview.go @@ -416,7 +416,7 @@ func SchemaBySources(sbtProvider typeprovider.SmartBlockTypeProvider, sources [] if hasRelations { // todo: fix a bug here. we will get subobject type here so we can't depend on smartblock type - ids, _, err := store.QueryObjectIds(database.Query{ + ids, _, err := store.QueryObjectIDs(database.Query{ Filters: []*model.BlockContentDataviewFilter{ { RelationKey: bundle.RelationKeyRecommendedRelations.String(), diff --git a/core/block/editor/page.go b/core/block/editor/page.go index 7b2172c4b..e04ec79b6 100644 --- a/core/block/editor/page.go +++ b/core/block/editor/page.go @@ -111,7 +111,7 @@ func (p *Page) CreationStateMigration(ctx *smartblock.InitContext) migration.Mig layout, ok := ctx.State.Layout() if !ok { // nolint:errcheck - otypes, _ := objectstore.GetObjectTypes(p.objectStore, ctx.ObjectTypeUrls) + otypes, _ := p.objectStore.GetObjectTypes(ctx.ObjectTypeUrls) for _, ot := range otypes { layout = ot.Layout } diff --git a/core/block/editor/smartblock/smartblock.go b/core/block/editor/smartblock/smartblock.go index faec89817..dc1b19bf2 100644 --- a/core/block/editor/smartblock/smartblock.go +++ b/core/block/editor/smartblock/smartblock.go @@ -442,7 +442,10 @@ func (sb *smartBlock) fetchMeta() (details []*model.ObjectViewDetailsSet, object addObjectTypesByDetails(rec.Details) } - objectTypes, _ = objectstore.GetObjectTypes(sb.objectStore, uniqueObjTypes) + objectTypes, err = sb.objectStore.GetObjectTypes(uniqueObjTypes) + if err != nil { + log.With("objectID", sb.Id()).Errorf("error while fetching meta: get object types: %s", err) + } go sb.metaListener(recordsCh) return } diff --git a/core/block/export/export.go b/core/block/export/export.go index 0f052ae9a..6b6312c63 100644 --- a/core/block/export/export.go +++ b/core/block/export/export.go @@ -177,9 +177,8 @@ func (e *export) docsForExport(reqIds []string, includeNested bool, includeArchi } func (e *export) getObjectsByIDs(reqIds []string, includeNested bool) (map[string]*types.Struct, error) { - var res []*model.ObjectInfo docs := make(map[string]*types.Struct) - res, _, err := e.objectStore.QueryObjectInfo(database.Query{ + res, _, err := e.objectStore.Query(nil, database.Query{ Filters: []*model.BlockContentDataviewFilter{ { RelationKey: bundle.RelationKeyId.String(), @@ -197,14 +196,15 @@ func (e *export) getObjectsByIDs(reqIds []string, includeNested bool) (map[strin Value: pbtypes.Bool(false), }, }, - }, nil) + }) if err != nil { return nil, err } ids := make([]string, 0, len(res)) for _, r := range res { - docs[r.Id] = r.Details - ids = append(ids, r.Id) + id := pbtypes.GetString(r.Details, bundle.RelationKeyId.String()) + docs[id] = r.Details + ids = append(ids, id) } if includeNested { for _, id := range ids { diff --git a/core/block/import/objectidgetter.go b/core/block/import/objectidgetter.go index 2c4b0bb1c..a21a0714e 100644 --- a/core/block/import/objectidgetter.go +++ b/core/block/import/objectidgetter.go @@ -94,7 +94,7 @@ func (ou *ObjectIDGetter) Get(ctx *session.Context, func (ou *ObjectIDGetter) getObjectByOldAnytypeID(sn *converter.Snapshot, sbType sb.SmartBlockType) (string, error) { oldAnytypeID := pbtypes.GetString(sn.Snapshot.Data.Details, bundle.RelationKeyOldAnytypeID.String()) - ids, _, err := ou.objectStore.QueryObjectIds(database.Query{ + ids, _, err := ou.objectStore.QueryObjectIDs(database.Query{ Filters: []*model.BlockContentDataviewFilter{ { Condition: model.BlockContentDataviewFilter_Equal, @@ -157,7 +157,7 @@ func (ou *ObjectIDGetter) getIDBySourceObject(sn *converter.Snapshot) string { func (ou *ObjectIDGetter) getAlreadyExistingSubObject(snapshot *converter.Snapshot) ([]string, error) { id := pbtypes.GetString(snapshot.Snapshot.Data.Details, bundle.RelationKeyId.String()) - ids, _, err := ou.objectStore.QueryObjectIds(database.Query{ + ids, _, err := ou.objectStore.QueryObjectIDs(database.Query{ Filters: []*model.BlockContentDataviewFilter{ { Condition: model.BlockContentDataviewFilter_Equal, @@ -182,7 +182,7 @@ func (ou *ObjectIDGetter) getAlreadyExistingSubObject(snapshot *converter.Snapsh func (ou *ObjectIDGetter) getExistingRelation(snapshot *converter.Snapshot, ids []string) ([]string, error) { name := pbtypes.GetString(snapshot.Snapshot.Data.Details, bundle.RelationKeyName.String()) format := pbtypes.GetFloat64(snapshot.Snapshot.Data.Details, bundle.RelationKeyRelationFormat.String()) - ids, _, err := ou.objectStore.QueryObjectIds(database.Query{ + ids, _, err := ou.objectStore.QueryObjectIDs(database.Query{ Filters: []*model.BlockContentDataviewFilter{ { Condition: model.BlockContentDataviewFilter_Equal, @@ -202,7 +202,7 @@ func (ou *ObjectIDGetter) getExistingRelation(snapshot *converter.Snapshot, ids func (ou *ObjectIDGetter) getExistingRelationOption(snapshot *converter.Snapshot, ids []string) ([]string, error) { name := pbtypes.GetString(snapshot.Snapshot.Data.Details, bundle.RelationKeyName.String()) key := pbtypes.GetString(snapshot.Snapshot.Data.Details, bundle.RelationKeyRelationKey.String()) - ids, _, err := ou.objectStore.QueryObjectIds(database.Query{ + ids, _, err := ou.objectStore.QueryObjectIDs(database.Query{ Filters: []*model.BlockContentDataviewFilter{ { Condition: model.BlockContentDataviewFilter_Equal, @@ -237,7 +237,7 @@ func (ou *ObjectIDGetter) removePrefixesFromSubID(subID string) string { func (ou *ObjectIDGetter) getExistingObject(sn *converter.Snapshot) string { source := pbtypes.GetString(sn.Snapshot.Data.Details, bundle.RelationKeySourceFilePath.String()) - ids, _, err := ou.objectStore.QueryObjectIds(database.Query{ + ids, _, err := ou.objectStore.QueryObjectIDs(database.Query{ Filters: []*model.BlockContentDataviewFilter{ { Condition: model.BlockContentDataviewFilter_Equal, diff --git a/core/block/object/objectgraph/graph.go b/core/block/object/objectgraph/graph.go index 7f7791949..2b7bc04dd 100644 --- a/core/block/object/objectgraph/graph.go +++ b/core/block/object/objectgraph/graph.go @@ -111,9 +111,8 @@ func (gr *Builder) queryRecords(req *pb.RpcObjectGraphRequest) ([]database.Recor records, _, err := gr.objectStore.Query( nil, database.Query{ - Filters: req.Filters, - Limit: int(req.Limit), - ObjectTypeFilter: req.ObjectTypeFilter, + Filters: req.Filters, + Limit: int(req.Limit), }, ) return records, err diff --git a/core/block/service.go b/core/block/service.go index bd381e6fa..75a337443 100644 --- a/core/block/service.go +++ b/core/block/service.go @@ -8,8 +8,6 @@ import ( "sync" "time" - "go.uber.org/zap" - "github.com/anyproto/any-sync/accountservice" "github.com/anyproto/any-sync/app" "github.com/anyproto/any-sync/app/ocache" @@ -17,8 +15,8 @@ import ( "github.com/anyproto/any-sync/commonspace/object/treemanager" "github.com/gogo/protobuf/types" "github.com/hashicorp/go-multierror" - "github.com/ipfs/go-datastore/query" "github.com/samber/lo" + "go.uber.org/zap" bookmarksvc "github.com/anyproto/anytype-heart/core/block/bookmark" "github.com/anyproto/anytype-heart/core/block/editor" @@ -715,6 +713,9 @@ func (s *Service) RemoveListOption(ctx *session.Context, optIds []string, checkI for _, id := range optIds { if checkInObjects { opt, err := workspace.Open(id) + if err != nil { + return fmt.Errorf("workspace open: %w", err) + } relKey := pbtypes.GetString(opt.Details(), bundle.RelationKeyRelationKey.String()) q := database.Query{ @@ -726,13 +727,10 @@ func (s *Service) RemoveListOption(ctx *session.Context, optIds []string, checkI }, }, } - f, err := database.NewFilters(q, nil, s.objectStore) + records, _, err := s.objectStore.Query(nil, q) if err != nil { return nil } - records, err := s.objectStore.QueryRaw(query.Query{ - Filters: []query.Filter{f}, - }) if len(records) > 0 { return ErrOptionUsedByOtherObjects diff --git a/core/indexer/indexer.go b/core/indexer/indexer.go index 7c995be45..69dd9267d 100644 --- a/core/indexer/indexer.go +++ b/core/indexer/indexer.go @@ -238,7 +238,7 @@ func (i *indexer) Index(ctx context.Context, info smartblock2.DocInfo, options . indexLinksTime := time.Now() if indexDetails { - if err := i.store.UpdateObjectDetails(info.Id, details, false); err != nil { + if err := i.store.UpdateObjectDetails(info.Id, details); err != nil { if errors.Is(err, objectstore.ErrDetailsNotChanged) { metrics.ObjectDetailsHeadsNotChangedCounter.Add(1) log.With("objectId", info.Id).With("hashesAreEqual", lastIndexedHash == headHashToIndex).With("lastHashIsEmpty", lastIndexedHash == "").With("skipFlagSet", opts.SkipIfHeadsNotChanged).Debugf("details have not changed") @@ -496,7 +496,7 @@ func (i *indexer) reindex(ctx context.Context, flags reindexFlags) (err error) { } if flags.bundledTemplates { - existing, _, err := i.store.QueryObjectIds(database.Query{}, []smartblock.SmartBlockType{smartblock.SmartBlockTypeBundledTemplate}) + existing, _, err := i.store.QueryObjectIDs(database.Query{}, []smartblock.SmartBlockType{smartblock.SmartBlockTypeBundledTemplate}) if err != nil { return err } diff --git a/core/kanban/group_tag.go b/core/kanban/group_tag.go index 0ed3c918e..564436452 100644 --- a/core/kanban/group_tag.go +++ b/core/kanban/group_tag.go @@ -2,6 +2,9 @@ package kanban import ( "fmt" + "sort" + "strings" + "github.com/anyproto/anytype-heart/pkg/lib/bundle" "github.com/anyproto/anytype-heart/pkg/lib/database" "github.com/anyproto/anytype-heart/pkg/lib/database/filter" @@ -9,9 +12,6 @@ import ( "github.com/anyproto/anytype-heart/pkg/lib/pb/model" "github.com/anyproto/anytype-heart/util/pbtypes" "github.com/anyproto/anytype-heart/util/slice" - "github.com/ipfs/go-datastore/query" - "sort" - "strings" ) type GroupTag struct { @@ -41,9 +41,7 @@ func (t *GroupTag) InitGroups(f *database.Filters) error { }, }} - records, err := t.store.QueryRaw(query.Query{ - Filters: []query.Filter{f}, - }) + records, err := t.store.QueryRaw(f) if err != nil { return fmt.Errorf("init kanban by tag, objectStore query error: %v", err) } diff --git a/core/kanban/service_test.go b/core/kanban/service_test.go index 098d268a3..b3a49ed08 100644 --- a/core/kanban/service_test.go +++ b/core/kanban/service_test.go @@ -44,39 +44,41 @@ func Test_GrouperTags(t *testing.T) { Start(context.Background()) require.NoError(t, err) - require.NoError(t, ds.CreateObject("rel-tag", &types.Struct{ + require.NoError(t, ds.UpdateObjectDetails("rel-tag", &types.Struct{ Fields: map[string]*types.Value{ "id": pbtypes.String("rel-tag"), "relationKey": pbtypes.String("tag"), "relationFormat": pbtypes.Int64(int64(model.RelationFormat_tag)), "type": pbtypes.String(bundle.TypeKeyRelation.URL()), }, - }, nil, "")) + })) idTag1 := bson.NewObjectId().Hex() idTag2 := bson.NewObjectId().Hex() idTag3 := bson.NewObjectId().Hex() - require.NoError(t, ds.CreateObject(idTag1, &types.Struct{ + + require.NoError(t, ds.UpdateObjectDetails(idTag1, &types.Struct{ Fields: map[string]*types.Value{ "id": pbtypes.String(idTag1), "relationKey": pbtypes.String("tag"), "type": pbtypes.String(bundle.TypeKeyRelationOption.URL()), }, - }, nil, "")) - require.NoError(t, ds.CreateObject(idTag2, &types.Struct{ + })) + + require.NoError(t, ds.UpdateObjectDetails(idTag2, &types.Struct{ Fields: map[string]*types.Value{ "id": pbtypes.String(idTag2), "relationKey": pbtypes.String("tag"), "type": pbtypes.String(bundle.TypeKeyRelationOption.URL()), }, - }, nil, "")) - require.NoError(t, ds.CreateObject(idTag3, &types.Struct{ + })) + require.NoError(t, ds.UpdateObjectDetails(idTag3, &types.Struct{ Fields: map[string]*types.Value{ "id": pbtypes.String(idTag3), "relationKey": pbtypes.String("tag"), "type": pbtypes.String(bundle.TypeKeyRelationOption.URL()), }, - }, nil, "")) + })) id1 := bson.NewObjectId().Hex() id2 := bson.NewObjectId().Hex() @@ -87,24 +89,28 @@ func Test_GrouperTags(t *testing.T) { tp.RegisterStaticType(id3, smartblock2.SmartBlockTypePage) tp.RegisterStaticType(id4, smartblock2.SmartBlockTypePage) - require.NoError(t, ds.CreateObject(id1, &types.Struct{ + require.NoError(t, ds.UpdateObjectDetails(id1, &types.Struct{ Fields: map[string]*types.Value{"name": pbtypes.String("one")}, - }, nil, "s1")) + })) + require.NoError(t, ds.UpdateObjectSnippet(id1, "s1")) - require.NoError(t, ds.CreateObject(id2, &types.Struct{Fields: map[string]*types.Value{ + require.NoError(t, ds.UpdateObjectDetails(id2, &types.Struct{Fields: map[string]*types.Value{ "name": pbtypes.String("two"), "tag": pbtypes.StringList([]string{idTag1}), - }}, nil, "s2")) + }})) + require.NoError(t, ds.UpdateObjectSnippet(id1, "s2")) - require.NoError(t, ds.CreateObject(id3, &types.Struct{Fields: map[string]*types.Value{ + require.NoError(t, ds.UpdateObjectDetails(id3, &types.Struct{Fields: map[string]*types.Value{ "name": pbtypes.String("three"), "tag": pbtypes.StringList([]string{idTag1, idTag2, idTag3}), - }}, nil, "s3")) + }})) + require.NoError(t, ds.UpdateObjectSnippet(id1, "s3")) - require.NoError(t, ds.CreateObject(id4, &types.Struct{Fields: map[string]*types.Value{ + require.NoError(t, ds.UpdateObjectDetails(id4, &types.Struct{Fields: map[string]*types.Value{ "name": pbtypes.String("four"), "tag": pbtypes.StringList([]string{idTag1, idTag3}), - }}, nil, "s4")) + }})) + require.NoError(t, ds.UpdateObjectSnippet(id1, "s4")) grouper, err := kanbanSrv.Grouper("tag") require.NoError(t, err) diff --git a/core/navigation.go b/core/navigation.go index 98e3d3b67..f65095d72 100644 --- a/core/navigation.go +++ b/core/navigation.go @@ -9,8 +9,6 @@ import ( "github.com/anyproto/anytype-heart/core/block" "github.com/anyproto/anytype-heart/pb" - coresb "github.com/anyproto/anytype-heart/pkg/lib/core/smartblock" - "github.com/anyproto/anytype-heart/pkg/lib/database" "github.com/anyproto/anytype-heart/pkg/lib/localstore/objectstore" "github.com/anyproto/anytype-heart/pkg/lib/pb/model" ) @@ -21,39 +19,9 @@ func (mw *Middleware) NavigationListObjects(cctx context.Context, req *pb.RpcNav if err != nil { m.Error.Description = err.Error() } - return m } - mw.m.RLock() - defer mw.m.RUnlock() - - if mw.app == nil { - return response(pb.RpcNavigationListObjectsResponseError_BAD_INPUT, nil, fmt.Errorf("account must be started")) - } - - objectTypes := []coresb.SmartBlockType{ - coresb.SmartBlockTypePage, - coresb.SmartBlockTypeProfilePage, - coresb.SmartBlockTypeHome, - } - if req.Context != pb.RpcNavigation_Navigation { - objectTypes = []coresb.SmartBlockType{ - coresb.SmartBlockTypePage, - coresb.SmartBlockTypeProfilePage, - } - } - - store := app.MustComponent[objectstore.ObjectStore](mw.app) - records, _, err := store.QueryObjectInfo(database.Query{ - FullText: req.FullText, - Limit: int(req.Limit), - Offset: int(req.Offset), - }, objectTypes) - if err != nil { - return response(pb.RpcNavigationListObjectsResponseError_UNKNOWN_ERROR, nil, err) - } - - return response(pb.RpcNavigationListObjectsResponseError_NULL, records, nil) + return response(pb.RpcNavigationListObjectsResponseError_UNKNOWN_ERROR, nil, fmt.Errorf("not implemented")) } func (mw *Middleware) NavigationGetObjectInfoWithLinks(cctx context.Context, req *pb.RpcNavigationGetObjectInfoWithLinksRequest) *pb.RpcNavigationGetObjectInfoWithLinksResponse { diff --git a/core/object.go b/core/object.go index 65ffac22e..d9d1dafe5 100644 --- a/core/object.go +++ b/core/object.go @@ -115,12 +115,11 @@ func (mw *Middleware) ObjectSearch(cctx context.Context, req *pb.RpcObjectSearch ds := mw.app.MustComponent(objectstore.CName).(objectstore.ObjectStore) records, _, err := ds.Query(nil, database.Query{ - Filters: req.Filters, - Sorts: req.Sorts, - Offset: int(req.Offset), - Limit: int(req.Limit), - FullText: req.FullText, - ObjectTypeFilter: req.ObjectTypeFilter, + Filters: req.Filters, + Sorts: req.Sorts, + Offset: int(req.Offset), + Limit: int(req.Limit), + FullText: req.FullText, }) if err != nil { return response(pb.RpcObjectSearchResponseError_UNKNOWN_ERROR, nil, err) diff --git a/core/relation/service.go b/core/relation/service.go index fa3390d81..e05d8d776 100644 --- a/core/relation/service.go +++ b/core/relation/service.go @@ -8,7 +8,6 @@ import ( "github.com/anyproto/any-sync/app" "github.com/anyproto/any-sync/commonspace/object/treemanager" "github.com/gogo/protobuf/types" - "github.com/ipfs/go-datastore/query" "github.com/anyproto/anytype-heart/core/relation/relationutils" "github.com/anyproto/anytype-heart/pkg/lib/bundle" @@ -174,13 +173,10 @@ func (s *service) fetchKey(key string, opts ...FetchOption) (relation *relationu Value: pbtypes.String(*o.workspaceId), }) } - f, err := database.NewFilters(q, nil, s.objectStore) + records, _, err := s.objectStore.Query(nil, q) if err != nil { return } - records, err := s.objectStore.QueryRaw(query.Query{ - Filters: []query.Filter{f}, - }) for _, rec := range records { return relationutils.RelationFromStruct(rec.Details), nil } diff --git a/core/subscription/service.go b/core/subscription/service.go index 86103ed4a..2e9d88f3e 100644 --- a/core/subscription/service.go +++ b/core/subscription/service.go @@ -11,7 +11,6 @@ import ( "github.com/cheggaaa/mb" "github.com/globalsign/mgo/bson" "github.com/gogo/protobuf/types" - "github.com/ipfs/go-datastore/query" "github.com/anyproto/anytype-heart/core/event" "github.com/anyproto/anytype-heart/core/kanban" @@ -160,9 +159,7 @@ func (s *service) subscribeForQuery(req pb.RpcObjectSearchSubscribeRequest, f *d sub.forceSubIds = filterDepIds } - records, err := s.objectStore.QueryRaw(query.Query{ - Filters: []query.Filter{f}, - }) + records, err := s.objectStore.QueryRaw(f) if err != nil { return nil, fmt.Errorf("objectStore query error: %v", err) } diff --git a/core/template.go b/core/template.go index ebf011314..00b5b605f 100644 --- a/core/template.go +++ b/core/template.go @@ -110,12 +110,11 @@ func (mw *Middleware) TemplateExportAll(cctx context.Context, req *pb.RpcTemplat } var ( path string - err error ) - err = mw.doBlockService(func(_ *block.Service) error { + err := mw.doBlockService(func(_ *block.Service) error { es := mw.app.MustComponent(export.CName).(export.Export) ds := mw.app.MustComponent(objectstore.CName).(objectstore.ObjectStore) - res, _, err := ds.QueryObjectInfo(database.Query{ + docIds, _, err := ds.QueryObjectIDs(database.Query{ Filters: []*model.BlockContentDataviewFilter{ { RelationKey: bundle.RelationKeyIsArchived.String(), @@ -127,10 +126,6 @@ func (mw *Middleware) TemplateExportAll(cctx context.Context, req *pb.RpcTemplat if err != nil { return err } - var docIds []string - for _, r := range res { - docIds = append(docIds, r.Id) - } if len(docIds) == 0 { return fmt.Errorf("no templates") } @@ -163,12 +158,11 @@ func (mw *Middleware) WorkspaceExport(cctx context.Context, req *pb.RpcWorkspace } var ( path string - err error ) - err = mw.doBlockService(func(_ *block.Service) error { + err := mw.doBlockService(func(_ *block.Service) error { es := mw.app.MustComponent(export.CName).(export.Export) ds := mw.app.MustComponent(objectstore.CName).(objectstore.ObjectStore) - res, _, err := ds.QueryObjectInfo(database.Query{ + docIds, _, err := ds.QueryObjectIDs(database.Query{ Filters: []*model.BlockContentDataviewFilter{ { RelationKey: bundle.RelationKeyIsArchived.String(), @@ -185,10 +179,6 @@ func (mw *Middleware) WorkspaceExport(cctx context.Context, req *pb.RpcWorkspace if err != nil { return err } - var docIds []string - for _, r := range res { - docIds = append(docIds, r.Id) - } if len(docIds) == 0 { return fmt.Errorf("no objects in workspace") } diff --git a/core/wallet/mock_wallet/mock_Wallet.go b/core/wallet/mock_wallet/mock_Wallet.go new file mode 100644 index 000000000..b4c0d8dc7 --- /dev/null +++ b/core/wallet/mock_wallet/mock_Wallet.go @@ -0,0 +1,420 @@ +// Code generated by mockery v2.26.1. DO NOT EDIT. + +package mock_wallet + +import ( + app "github.com/anyproto/any-sync/app" + accountdata "github.com/anyproto/any-sync/commonspace/object/accountdata" + + crypto "github.com/anyproto/any-sync/util/crypto" + + mock "github.com/stretchr/testify/mock" +) + +// MockWallet is an autogenerated mock type for the Wallet type +type MockWallet struct { + mock.Mock +} + +type MockWallet_Expecter struct { + mock *mock.Mock +} + +func (_m *MockWallet) EXPECT() *MockWallet_Expecter { + return &MockWallet_Expecter{mock: &_m.Mock} +} + +// Account provides a mock function with given fields: +func (_m *MockWallet) Account() *accountdata.AccountKeys { + ret := _m.Called() + + var r0 *accountdata.AccountKeys + if rf, ok := ret.Get(0).(func() *accountdata.AccountKeys); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*accountdata.AccountKeys) + } + } + + return r0 +} + +// MockWallet_Account_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Account' +type MockWallet_Account_Call struct { + *mock.Call +} + +// Account is a helper method to define mock.On call +func (_e *MockWallet_Expecter) Account() *MockWallet_Account_Call { + return &MockWallet_Account_Call{Call: _e.mock.On("Account")} +} + +func (_c *MockWallet_Account_Call) Run(run func()) *MockWallet_Account_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *MockWallet_Account_Call) Return(_a0 *accountdata.AccountKeys) *MockWallet_Account_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockWallet_Account_Call) RunAndReturn(run func() *accountdata.AccountKeys) *MockWallet_Account_Call { + _c.Call.Return(run) + return _c +} + +// GetAccountPrivkey provides a mock function with given fields: +func (_m *MockWallet) GetAccountPrivkey() crypto.PrivKey { + ret := _m.Called() + + var r0 crypto.PrivKey + if rf, ok := ret.Get(0).(func() crypto.PrivKey); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(crypto.PrivKey) + } + } + + return r0 +} + +// MockWallet_GetAccountPrivkey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountPrivkey' +type MockWallet_GetAccountPrivkey_Call struct { + *mock.Call +} + +// GetAccountPrivkey is a helper method to define mock.On call +func (_e *MockWallet_Expecter) GetAccountPrivkey() *MockWallet_GetAccountPrivkey_Call { + return &MockWallet_GetAccountPrivkey_Call{Call: _e.mock.On("GetAccountPrivkey")} +} + +func (_c *MockWallet_GetAccountPrivkey_Call) Run(run func()) *MockWallet_GetAccountPrivkey_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *MockWallet_GetAccountPrivkey_Call) Return(_a0 crypto.PrivKey) *MockWallet_GetAccountPrivkey_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockWallet_GetAccountPrivkey_Call) RunAndReturn(run func() crypto.PrivKey) *MockWallet_GetAccountPrivkey_Call { + _c.Call.Return(run) + return _c +} + +// GetDevicePrivkey provides a mock function with given fields: +func (_m *MockWallet) GetDevicePrivkey() crypto.PrivKey { + ret := _m.Called() + + var r0 crypto.PrivKey + if rf, ok := ret.Get(0).(func() crypto.PrivKey); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(crypto.PrivKey) + } + } + + return r0 +} + +// MockWallet_GetDevicePrivkey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDevicePrivkey' +type MockWallet_GetDevicePrivkey_Call struct { + *mock.Call +} + +// GetDevicePrivkey is a helper method to define mock.On call +func (_e *MockWallet_Expecter) GetDevicePrivkey() *MockWallet_GetDevicePrivkey_Call { + return &MockWallet_GetDevicePrivkey_Call{Call: _e.mock.On("GetDevicePrivkey")} +} + +func (_c *MockWallet_GetDevicePrivkey_Call) Run(run func()) *MockWallet_GetDevicePrivkey_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *MockWallet_GetDevicePrivkey_Call) Return(_a0 crypto.PrivKey) *MockWallet_GetDevicePrivkey_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockWallet_GetDevicePrivkey_Call) RunAndReturn(run func() crypto.PrivKey) *MockWallet_GetDevicePrivkey_Call { + _c.Call.Return(run) + return _c +} + +// GetMasterKey provides a mock function with given fields: +func (_m *MockWallet) GetMasterKey() crypto.PrivKey { + ret := _m.Called() + + var r0 crypto.PrivKey + if rf, ok := ret.Get(0).(func() crypto.PrivKey); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(crypto.PrivKey) + } + } + + return r0 +} + +// MockWallet_GetMasterKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMasterKey' +type MockWallet_GetMasterKey_Call struct { + *mock.Call +} + +// GetMasterKey is a helper method to define mock.On call +func (_e *MockWallet_Expecter) GetMasterKey() *MockWallet_GetMasterKey_Call { + return &MockWallet_GetMasterKey_Call{Call: _e.mock.On("GetMasterKey")} +} + +func (_c *MockWallet_GetMasterKey_Call) Run(run func()) *MockWallet_GetMasterKey_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *MockWallet_GetMasterKey_Call) Return(_a0 crypto.PrivKey) *MockWallet_GetMasterKey_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockWallet_GetMasterKey_Call) RunAndReturn(run func() crypto.PrivKey) *MockWallet_GetMasterKey_Call { + _c.Call.Return(run) + return _c +} + +// GetOldAccountKey provides a mock function with given fields: +func (_m *MockWallet) GetOldAccountKey() crypto.PrivKey { + ret := _m.Called() + + var r0 crypto.PrivKey + if rf, ok := ret.Get(0).(func() crypto.PrivKey); ok { + r0 = rf() + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(crypto.PrivKey) + } + } + + return r0 +} + +// MockWallet_GetOldAccountKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOldAccountKey' +type MockWallet_GetOldAccountKey_Call struct { + *mock.Call +} + +// GetOldAccountKey is a helper method to define mock.On call +func (_e *MockWallet_Expecter) GetOldAccountKey() *MockWallet_GetOldAccountKey_Call { + return &MockWallet_GetOldAccountKey_Call{Call: _e.mock.On("GetOldAccountKey")} +} + +func (_c *MockWallet_GetOldAccountKey_Call) Run(run func()) *MockWallet_GetOldAccountKey_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *MockWallet_GetOldAccountKey_Call) Return(_a0 crypto.PrivKey) *MockWallet_GetOldAccountKey_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockWallet_GetOldAccountKey_Call) RunAndReturn(run func() crypto.PrivKey) *MockWallet_GetOldAccountKey_Call { + _c.Call.Return(run) + return _c +} + +// Init provides a mock function with given fields: a +func (_m *MockWallet) Init(a *app.App) error { + ret := _m.Called(a) + + var r0 error + if rf, ok := ret.Get(0).(func(*app.App) error); ok { + r0 = rf(a) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockWallet_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init' +type MockWallet_Init_Call struct { + *mock.Call +} + +// Init is a helper method to define mock.On call +// - a *app.App +func (_e *MockWallet_Expecter) Init(a interface{}) *MockWallet_Init_Call { + return &MockWallet_Init_Call{Call: _e.mock.On("Init", a)} +} + +func (_c *MockWallet_Init_Call) Run(run func(a *app.App)) *MockWallet_Init_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*app.App)) + }) + return _c +} + +func (_c *MockWallet_Init_Call) Return(err error) *MockWallet_Init_Call { + _c.Call.Return(err) + return _c +} + +func (_c *MockWallet_Init_Call) RunAndReturn(run func(*app.App) error) *MockWallet_Init_Call { + _c.Call.Return(run) + return _c +} + +// Name provides a mock function with given fields: +func (_m *MockWallet) Name() string { + ret := _m.Called() + + var r0 string + if rf, ok := ret.Get(0).(func() string); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(string) + } + + return r0 +} + +// MockWallet_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name' +type MockWallet_Name_Call struct { + *mock.Call +} + +// Name is a helper method to define mock.On call +func (_e *MockWallet_Expecter) Name() *MockWallet_Name_Call { + return &MockWallet_Name_Call{Call: _e.mock.On("Name")} +} + +func (_c *MockWallet_Name_Call) Run(run func()) *MockWallet_Name_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *MockWallet_Name_Call) Return(name string) *MockWallet_Name_Call { + _c.Call.Return(name) + return _c +} + +func (_c *MockWallet_Name_Call) RunAndReturn(run func() string) *MockWallet_Name_Call { + _c.Call.Return(run) + return _c +} + +// RepoPath provides a mock function with given fields: +func (_m *MockWallet) RepoPath() string { + ret := _m.Called() + + var r0 string + if rf, ok := ret.Get(0).(func() string); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(string) + } + + return r0 +} + +// MockWallet_RepoPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoPath' +type MockWallet_RepoPath_Call struct { + *mock.Call +} + +// RepoPath is a helper method to define mock.On call +func (_e *MockWallet_Expecter) RepoPath() *MockWallet_RepoPath_Call { + return &MockWallet_RepoPath_Call{Call: _e.mock.On("RepoPath")} +} + +func (_c *MockWallet_RepoPath_Call) Run(run func()) *MockWallet_RepoPath_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *MockWallet_RepoPath_Call) Return(_a0 string) *MockWallet_RepoPath_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockWallet_RepoPath_Call) RunAndReturn(run func() string) *MockWallet_RepoPath_Call { + _c.Call.Return(run) + return _c +} + +// RootPath provides a mock function with given fields: +func (_m *MockWallet) RootPath() string { + ret := _m.Called() + + var r0 string + if rf, ok := ret.Get(0).(func() string); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(string) + } + + return r0 +} + +// MockWallet_RootPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RootPath' +type MockWallet_RootPath_Call struct { + *mock.Call +} + +// RootPath is a helper method to define mock.On call +func (_e *MockWallet_Expecter) RootPath() *MockWallet_RootPath_Call { + return &MockWallet_RootPath_Call{Call: _e.mock.On("RootPath")} +} + +func (_c *MockWallet_RootPath_Call) Run(run func()) *MockWallet_RootPath_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *MockWallet_RootPath_Call) Return(_a0 string) *MockWallet_RootPath_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockWallet_RootPath_Call) RunAndReturn(run func() string) *MockWallet_RootPath_Call { + _c.Call.Return(run) + return _c +} + +type mockConstructorTestingTNewMockWallet interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockWallet creates a new instance of MockWallet. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockWallet(t mockConstructorTestingTNewMockWallet) *MockWallet { + mock := &MockWallet{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/docs/proto.md b/docs/proto.md index 8aa99a533..0288459cd 100644 --- a/docs/proto.md +++ b/docs/proto.md @@ -3,1427 +3,1427 @@ ## Table of Contents -- [pb/protos/service/service.proto](#pb/protos/service/service.proto) - - [ClientCommands](#anytype.ClientCommands) +- [pb/protos/service/service.proto](#pb_protos_service_service-proto) + - [ClientCommands](#anytype-ClientCommands) -- [pb/protos/changes.proto](#pb/protos/changes.proto) - - [Change](#anytype.Change) - - [Change.BlockCreate](#anytype.Change.BlockCreate) - - [Change.BlockDuplicate](#anytype.Change.BlockDuplicate) - - [Change.BlockMove](#anytype.Change.BlockMove) - - [Change.BlockRemove](#anytype.Change.BlockRemove) - - [Change.BlockUpdate](#anytype.Change.BlockUpdate) - - [Change.Content](#anytype.Change.Content) - - [Change.DetailsSet](#anytype.Change.DetailsSet) - - [Change.DetailsUnset](#anytype.Change.DetailsUnset) - - [Change.FileKeys](#anytype.Change.FileKeys) - - [Change.FileKeys.KeysEntry](#anytype.Change.FileKeys.KeysEntry) - - [Change.ObjectTypeAdd](#anytype.Change.ObjectTypeAdd) - - [Change.ObjectTypeRemove](#anytype.Change.ObjectTypeRemove) - - [Change.RelationAdd](#anytype.Change.RelationAdd) - - [Change.RelationRemove](#anytype.Change.RelationRemove) - - [Change.Snapshot](#anytype.Change.Snapshot) - - [Change.Snapshot.LogHeadsEntry](#anytype.Change.Snapshot.LogHeadsEntry) - - [Change.StoreKeySet](#anytype.Change.StoreKeySet) - - [Change.StoreKeyUnset](#anytype.Change.StoreKeyUnset) - - [Change.StoreSliceUpdate](#anytype.Change.StoreSliceUpdate) - - [Change.StoreSliceUpdate.Add](#anytype.Change.StoreSliceUpdate.Add) - - [Change.StoreSliceUpdate.Move](#anytype.Change.StoreSliceUpdate.Move) - - [Change.StoreSliceUpdate.Remove](#anytype.Change.StoreSliceUpdate.Remove) - - [Change._RelationAdd](#anytype.Change._RelationAdd) - - [Change._RelationRemove](#anytype.Change._RelationRemove) - - [Change._RelationUpdate](#anytype.Change._RelationUpdate) - - [Change._RelationUpdate.Dict](#anytype.Change._RelationUpdate.Dict) - - [Change._RelationUpdate.ObjectTypes](#anytype.Change._RelationUpdate.ObjectTypes) +- [pb/protos/changes.proto](#pb_protos_changes-proto) + - [Change](#anytype-Change) + - [Change.BlockCreate](#anytype-Change-BlockCreate) + - [Change.BlockDuplicate](#anytype-Change-BlockDuplicate) + - [Change.BlockMove](#anytype-Change-BlockMove) + - [Change.BlockRemove](#anytype-Change-BlockRemove) + - [Change.BlockUpdate](#anytype-Change-BlockUpdate) + - [Change.Content](#anytype-Change-Content) + - [Change.DetailsSet](#anytype-Change-DetailsSet) + - [Change.DetailsUnset](#anytype-Change-DetailsUnset) + - [Change.FileKeys](#anytype-Change-FileKeys) + - [Change.FileKeys.KeysEntry](#anytype-Change-FileKeys-KeysEntry) + - [Change.ObjectTypeAdd](#anytype-Change-ObjectTypeAdd) + - [Change.ObjectTypeRemove](#anytype-Change-ObjectTypeRemove) + - [Change.RelationAdd](#anytype-Change-RelationAdd) + - [Change.RelationRemove](#anytype-Change-RelationRemove) + - [Change.Snapshot](#anytype-Change-Snapshot) + - [Change.Snapshot.LogHeadsEntry](#anytype-Change-Snapshot-LogHeadsEntry) + - [Change.StoreKeySet](#anytype-Change-StoreKeySet) + - [Change.StoreKeyUnset](#anytype-Change-StoreKeyUnset) + - [Change.StoreSliceUpdate](#anytype-Change-StoreSliceUpdate) + - [Change.StoreSliceUpdate.Add](#anytype-Change-StoreSliceUpdate-Add) + - [Change.StoreSliceUpdate.Move](#anytype-Change-StoreSliceUpdate-Move) + - [Change.StoreSliceUpdate.Remove](#anytype-Change-StoreSliceUpdate-Remove) + - [Change._RelationAdd](#anytype-Change-_RelationAdd) + - [Change._RelationRemove](#anytype-Change-_RelationRemove) + - [Change._RelationUpdate](#anytype-Change-_RelationUpdate) + - [Change._RelationUpdate.Dict](#anytype-Change-_RelationUpdate-Dict) + - [Change._RelationUpdate.ObjectTypes](#anytype-Change-_RelationUpdate-ObjectTypes) -- [pb/protos/commands.proto](#pb/protos/commands.proto) - - [Empty](#anytype.Empty) - - [Rpc](#anytype.Rpc) - - [Rpc.Account](#anytype.Rpc.Account) - - [Rpc.Account.Config](#anytype.Rpc.Account.Config) - - [Rpc.Account.ConfigUpdate](#anytype.Rpc.Account.ConfigUpdate) - - [Rpc.Account.ConfigUpdate.Request](#anytype.Rpc.Account.ConfigUpdate.Request) - - [Rpc.Account.ConfigUpdate.Response](#anytype.Rpc.Account.ConfigUpdate.Response) - - [Rpc.Account.ConfigUpdate.Response.Error](#anytype.Rpc.Account.ConfigUpdate.Response.Error) - - [Rpc.Account.Create](#anytype.Rpc.Account.Create) - - [Rpc.Account.Create.Request](#anytype.Rpc.Account.Create.Request) - - [Rpc.Account.Create.Response](#anytype.Rpc.Account.Create.Response) - - [Rpc.Account.Create.Response.Error](#anytype.Rpc.Account.Create.Response.Error) - - [Rpc.Account.Delete](#anytype.Rpc.Account.Delete) - - [Rpc.Account.Delete.Request](#anytype.Rpc.Account.Delete.Request) - - [Rpc.Account.Delete.Response](#anytype.Rpc.Account.Delete.Response) - - [Rpc.Account.Delete.Response.Error](#anytype.Rpc.Account.Delete.Response.Error) - - [Rpc.Account.GetConfig](#anytype.Rpc.Account.GetConfig) - - [Rpc.Account.GetConfig.Get](#anytype.Rpc.Account.GetConfig.Get) - - [Rpc.Account.GetConfig.Get.Request](#anytype.Rpc.Account.GetConfig.Get.Request) - - [Rpc.Account.Move](#anytype.Rpc.Account.Move) - - [Rpc.Account.Move.Request](#anytype.Rpc.Account.Move.Request) - - [Rpc.Account.Move.Response](#anytype.Rpc.Account.Move.Response) - - [Rpc.Account.Move.Response.Error](#anytype.Rpc.Account.Move.Response.Error) - - [Rpc.Account.Recover](#anytype.Rpc.Account.Recover) - - [Rpc.Account.Recover.Request](#anytype.Rpc.Account.Recover.Request) - - [Rpc.Account.Recover.Response](#anytype.Rpc.Account.Recover.Response) - - [Rpc.Account.Recover.Response.Error](#anytype.Rpc.Account.Recover.Response.Error) - - [Rpc.Account.RecoverFromLegacyExport](#anytype.Rpc.Account.RecoverFromLegacyExport) - - [Rpc.Account.RecoverFromLegacyExport.Request](#anytype.Rpc.Account.RecoverFromLegacyExport.Request) - - [Rpc.Account.RecoverFromLegacyExport.Response](#anytype.Rpc.Account.RecoverFromLegacyExport.Response) - - [Rpc.Account.RecoverFromLegacyExport.Response.Error](#anytype.Rpc.Account.RecoverFromLegacyExport.Response.Error) - - [Rpc.Account.Select](#anytype.Rpc.Account.Select) - - [Rpc.Account.Select.Request](#anytype.Rpc.Account.Select.Request) - - [Rpc.Account.Select.Response](#anytype.Rpc.Account.Select.Response) - - [Rpc.Account.Select.Response.Error](#anytype.Rpc.Account.Select.Response.Error) - - [Rpc.Account.Stop](#anytype.Rpc.Account.Stop) - - [Rpc.Account.Stop.Request](#anytype.Rpc.Account.Stop.Request) - - [Rpc.Account.Stop.Response](#anytype.Rpc.Account.Stop.Response) - - [Rpc.Account.Stop.Response.Error](#anytype.Rpc.Account.Stop.Response.Error) - - [Rpc.App](#anytype.Rpc.App) - - [Rpc.App.GetVersion](#anytype.Rpc.App.GetVersion) - - [Rpc.App.GetVersion.Request](#anytype.Rpc.App.GetVersion.Request) - - [Rpc.App.GetVersion.Response](#anytype.Rpc.App.GetVersion.Response) - - [Rpc.App.GetVersion.Response.Error](#anytype.Rpc.App.GetVersion.Response.Error) - - [Rpc.App.SetDeviceState](#anytype.Rpc.App.SetDeviceState) - - [Rpc.App.SetDeviceState.Request](#anytype.Rpc.App.SetDeviceState.Request) - - [Rpc.App.SetDeviceState.Response](#anytype.Rpc.App.SetDeviceState.Response) - - [Rpc.App.SetDeviceState.Response.Error](#anytype.Rpc.App.SetDeviceState.Response.Error) - - [Rpc.App.Shutdown](#anytype.Rpc.App.Shutdown) - - [Rpc.App.Shutdown.Request](#anytype.Rpc.App.Shutdown.Request) - - [Rpc.App.Shutdown.Response](#anytype.Rpc.App.Shutdown.Response) - - [Rpc.App.Shutdown.Response.Error](#anytype.Rpc.App.Shutdown.Response.Error) - - [Rpc.Block](#anytype.Rpc.Block) - - [Rpc.Block.Copy](#anytype.Rpc.Block.Copy) - - [Rpc.Block.Copy.Request](#anytype.Rpc.Block.Copy.Request) - - [Rpc.Block.Copy.Response](#anytype.Rpc.Block.Copy.Response) - - [Rpc.Block.Copy.Response.Error](#anytype.Rpc.Block.Copy.Response.Error) - - [Rpc.Block.Create](#anytype.Rpc.Block.Create) - - [Rpc.Block.Create.Request](#anytype.Rpc.Block.Create.Request) - - [Rpc.Block.Create.Response](#anytype.Rpc.Block.Create.Response) - - [Rpc.Block.Create.Response.Error](#anytype.Rpc.Block.Create.Response.Error) - - [Rpc.Block.CreateWidget](#anytype.Rpc.Block.CreateWidget) - - [Rpc.Block.CreateWidget.Request](#anytype.Rpc.Block.CreateWidget.Request) - - [Rpc.Block.CreateWidget.Response](#anytype.Rpc.Block.CreateWidget.Response) - - [Rpc.Block.CreateWidget.Response.Error](#anytype.Rpc.Block.CreateWidget.Response.Error) - - [Rpc.Block.Cut](#anytype.Rpc.Block.Cut) - - [Rpc.Block.Cut.Request](#anytype.Rpc.Block.Cut.Request) - - [Rpc.Block.Cut.Response](#anytype.Rpc.Block.Cut.Response) - - [Rpc.Block.Cut.Response.Error](#anytype.Rpc.Block.Cut.Response.Error) - - [Rpc.Block.Download](#anytype.Rpc.Block.Download) - - [Rpc.Block.Download.Request](#anytype.Rpc.Block.Download.Request) - - [Rpc.Block.Download.Response](#anytype.Rpc.Block.Download.Response) - - [Rpc.Block.Download.Response.Error](#anytype.Rpc.Block.Download.Response.Error) - - [Rpc.Block.Export](#anytype.Rpc.Block.Export) - - [Rpc.Block.Export.Request](#anytype.Rpc.Block.Export.Request) - - [Rpc.Block.Export.Response](#anytype.Rpc.Block.Export.Response) - - [Rpc.Block.Export.Response.Error](#anytype.Rpc.Block.Export.Response.Error) - - [Rpc.Block.ListConvertToObjects](#anytype.Rpc.Block.ListConvertToObjects) - - [Rpc.Block.ListConvertToObjects.Request](#anytype.Rpc.Block.ListConvertToObjects.Request) - - [Rpc.Block.ListConvertToObjects.Response](#anytype.Rpc.Block.ListConvertToObjects.Response) - - [Rpc.Block.ListConvertToObjects.Response.Error](#anytype.Rpc.Block.ListConvertToObjects.Response.Error) - - [Rpc.Block.ListDelete](#anytype.Rpc.Block.ListDelete) - - [Rpc.Block.ListDelete.Request](#anytype.Rpc.Block.ListDelete.Request) - - [Rpc.Block.ListDelete.Response](#anytype.Rpc.Block.ListDelete.Response) - - [Rpc.Block.ListDelete.Response.Error](#anytype.Rpc.Block.ListDelete.Response.Error) - - [Rpc.Block.ListDuplicate](#anytype.Rpc.Block.ListDuplicate) - - [Rpc.Block.ListDuplicate.Request](#anytype.Rpc.Block.ListDuplicate.Request) - - [Rpc.Block.ListDuplicate.Response](#anytype.Rpc.Block.ListDuplicate.Response) - - [Rpc.Block.ListDuplicate.Response.Error](#anytype.Rpc.Block.ListDuplicate.Response.Error) - - [Rpc.Block.ListMoveToExistingObject](#anytype.Rpc.Block.ListMoveToExistingObject) - - [Rpc.Block.ListMoveToExistingObject.Request](#anytype.Rpc.Block.ListMoveToExistingObject.Request) - - [Rpc.Block.ListMoveToExistingObject.Response](#anytype.Rpc.Block.ListMoveToExistingObject.Response) - - [Rpc.Block.ListMoveToExistingObject.Response.Error](#anytype.Rpc.Block.ListMoveToExistingObject.Response.Error) - - [Rpc.Block.ListMoveToNewObject](#anytype.Rpc.Block.ListMoveToNewObject) - - [Rpc.Block.ListMoveToNewObject.Request](#anytype.Rpc.Block.ListMoveToNewObject.Request) - - [Rpc.Block.ListMoveToNewObject.Response](#anytype.Rpc.Block.ListMoveToNewObject.Response) - - [Rpc.Block.ListMoveToNewObject.Response.Error](#anytype.Rpc.Block.ListMoveToNewObject.Response.Error) - - [Rpc.Block.ListSetAlign](#anytype.Rpc.Block.ListSetAlign) - - [Rpc.Block.ListSetAlign.Request](#anytype.Rpc.Block.ListSetAlign.Request) - - [Rpc.Block.ListSetAlign.Response](#anytype.Rpc.Block.ListSetAlign.Response) - - [Rpc.Block.ListSetAlign.Response.Error](#anytype.Rpc.Block.ListSetAlign.Response.Error) - - [Rpc.Block.ListSetBackgroundColor](#anytype.Rpc.Block.ListSetBackgroundColor) - - [Rpc.Block.ListSetBackgroundColor.Request](#anytype.Rpc.Block.ListSetBackgroundColor.Request) - - [Rpc.Block.ListSetBackgroundColor.Response](#anytype.Rpc.Block.ListSetBackgroundColor.Response) - - [Rpc.Block.ListSetBackgroundColor.Response.Error](#anytype.Rpc.Block.ListSetBackgroundColor.Response.Error) - - [Rpc.Block.ListSetFields](#anytype.Rpc.Block.ListSetFields) - - [Rpc.Block.ListSetFields.Request](#anytype.Rpc.Block.ListSetFields.Request) - - [Rpc.Block.ListSetFields.Request.BlockField](#anytype.Rpc.Block.ListSetFields.Request.BlockField) - - [Rpc.Block.ListSetFields.Response](#anytype.Rpc.Block.ListSetFields.Response) - - [Rpc.Block.ListSetFields.Response.Error](#anytype.Rpc.Block.ListSetFields.Response.Error) - - [Rpc.Block.ListSetVerticalAlign](#anytype.Rpc.Block.ListSetVerticalAlign) - - [Rpc.Block.ListSetVerticalAlign.Request](#anytype.Rpc.Block.ListSetVerticalAlign.Request) - - [Rpc.Block.ListSetVerticalAlign.Response](#anytype.Rpc.Block.ListSetVerticalAlign.Response) - - [Rpc.Block.ListSetVerticalAlign.Response.Error](#anytype.Rpc.Block.ListSetVerticalAlign.Response.Error) - - [Rpc.Block.ListTurnInto](#anytype.Rpc.Block.ListTurnInto) - - [Rpc.Block.ListTurnInto.Request](#anytype.Rpc.Block.ListTurnInto.Request) - - [Rpc.Block.ListTurnInto.Response](#anytype.Rpc.Block.ListTurnInto.Response) - - [Rpc.Block.ListTurnInto.Response.Error](#anytype.Rpc.Block.ListTurnInto.Response.Error) - - [Rpc.Block.ListUpdate](#anytype.Rpc.Block.ListUpdate) - - [Rpc.Block.ListUpdate.Request](#anytype.Rpc.Block.ListUpdate.Request) - - [Rpc.Block.ListUpdate.Request.Text](#anytype.Rpc.Block.ListUpdate.Request.Text) - - [Rpc.Block.Merge](#anytype.Rpc.Block.Merge) - - [Rpc.Block.Merge.Request](#anytype.Rpc.Block.Merge.Request) - - [Rpc.Block.Merge.Response](#anytype.Rpc.Block.Merge.Response) - - [Rpc.Block.Merge.Response.Error](#anytype.Rpc.Block.Merge.Response.Error) - - [Rpc.Block.Paste](#anytype.Rpc.Block.Paste) - - [Rpc.Block.Paste.Request](#anytype.Rpc.Block.Paste.Request) - - [Rpc.Block.Paste.Request.File](#anytype.Rpc.Block.Paste.Request.File) - - [Rpc.Block.Paste.Response](#anytype.Rpc.Block.Paste.Response) - - [Rpc.Block.Paste.Response.Error](#anytype.Rpc.Block.Paste.Response.Error) - - [Rpc.Block.Replace](#anytype.Rpc.Block.Replace) - - [Rpc.Block.Replace.Request](#anytype.Rpc.Block.Replace.Request) - - [Rpc.Block.Replace.Response](#anytype.Rpc.Block.Replace.Response) - - [Rpc.Block.Replace.Response.Error](#anytype.Rpc.Block.Replace.Response.Error) - - [Rpc.Block.SetFields](#anytype.Rpc.Block.SetFields) - - [Rpc.Block.SetFields.Request](#anytype.Rpc.Block.SetFields.Request) - - [Rpc.Block.SetFields.Response](#anytype.Rpc.Block.SetFields.Response) - - [Rpc.Block.SetFields.Response.Error](#anytype.Rpc.Block.SetFields.Response.Error) - - [Rpc.Block.Split](#anytype.Rpc.Block.Split) - - [Rpc.Block.Split.Request](#anytype.Rpc.Block.Split.Request) - - [Rpc.Block.Split.Response](#anytype.Rpc.Block.Split.Response) - - [Rpc.Block.Split.Response.Error](#anytype.Rpc.Block.Split.Response.Error) - - [Rpc.Block.Upload](#anytype.Rpc.Block.Upload) - - [Rpc.Block.Upload.Request](#anytype.Rpc.Block.Upload.Request) - - [Rpc.Block.Upload.Response](#anytype.Rpc.Block.Upload.Response) - - [Rpc.Block.Upload.Response.Error](#anytype.Rpc.Block.Upload.Response.Error) - - [Rpc.BlockBookmark](#anytype.Rpc.BlockBookmark) - - [Rpc.BlockBookmark.CreateAndFetch](#anytype.Rpc.BlockBookmark.CreateAndFetch) - - [Rpc.BlockBookmark.CreateAndFetch.Request](#anytype.Rpc.BlockBookmark.CreateAndFetch.Request) - - [Rpc.BlockBookmark.CreateAndFetch.Response](#anytype.Rpc.BlockBookmark.CreateAndFetch.Response) - - [Rpc.BlockBookmark.CreateAndFetch.Response.Error](#anytype.Rpc.BlockBookmark.CreateAndFetch.Response.Error) - - [Rpc.BlockBookmark.Fetch](#anytype.Rpc.BlockBookmark.Fetch) - - [Rpc.BlockBookmark.Fetch.Request](#anytype.Rpc.BlockBookmark.Fetch.Request) - - [Rpc.BlockBookmark.Fetch.Response](#anytype.Rpc.BlockBookmark.Fetch.Response) - - [Rpc.BlockBookmark.Fetch.Response.Error](#anytype.Rpc.BlockBookmark.Fetch.Response.Error) - - [Rpc.BlockDataview](#anytype.Rpc.BlockDataview) - - [Rpc.BlockDataview.CreateBookmark](#anytype.Rpc.BlockDataview.CreateBookmark) - - [Rpc.BlockDataview.CreateBookmark.Request](#anytype.Rpc.BlockDataview.CreateBookmark.Request) - - [Rpc.BlockDataview.CreateBookmark.Response](#anytype.Rpc.BlockDataview.CreateBookmark.Response) - - [Rpc.BlockDataview.CreateBookmark.Response.Error](#anytype.Rpc.BlockDataview.CreateBookmark.Response.Error) - - [Rpc.BlockDataview.CreateFromExistingObject](#anytype.Rpc.BlockDataview.CreateFromExistingObject) - - [Rpc.BlockDataview.CreateFromExistingObject.Request](#anytype.Rpc.BlockDataview.CreateFromExistingObject.Request) - - [Rpc.BlockDataview.CreateFromExistingObject.Response](#anytype.Rpc.BlockDataview.CreateFromExistingObject.Response) - - [Rpc.BlockDataview.CreateFromExistingObject.Response.Error](#anytype.Rpc.BlockDataview.CreateFromExistingObject.Response.Error) - - [Rpc.BlockDataview.Filter](#anytype.Rpc.BlockDataview.Filter) - - [Rpc.BlockDataview.Filter.Add](#anytype.Rpc.BlockDataview.Filter.Add) - - [Rpc.BlockDataview.Filter.Add.Request](#anytype.Rpc.BlockDataview.Filter.Add.Request) - - [Rpc.BlockDataview.Filter.Add.Response](#anytype.Rpc.BlockDataview.Filter.Add.Response) - - [Rpc.BlockDataview.Filter.Add.Response.Error](#anytype.Rpc.BlockDataview.Filter.Add.Response.Error) - - [Rpc.BlockDataview.Filter.Remove](#anytype.Rpc.BlockDataview.Filter.Remove) - - [Rpc.BlockDataview.Filter.Remove.Request](#anytype.Rpc.BlockDataview.Filter.Remove.Request) - - [Rpc.BlockDataview.Filter.Remove.Response](#anytype.Rpc.BlockDataview.Filter.Remove.Response) - - [Rpc.BlockDataview.Filter.Remove.Response.Error](#anytype.Rpc.BlockDataview.Filter.Remove.Response.Error) - - [Rpc.BlockDataview.Filter.Replace](#anytype.Rpc.BlockDataview.Filter.Replace) - - [Rpc.BlockDataview.Filter.Replace.Request](#anytype.Rpc.BlockDataview.Filter.Replace.Request) - - [Rpc.BlockDataview.Filter.Replace.Response](#anytype.Rpc.BlockDataview.Filter.Replace.Response) - - [Rpc.BlockDataview.Filter.Replace.Response.Error](#anytype.Rpc.BlockDataview.Filter.Replace.Response.Error) - - [Rpc.BlockDataview.Filter.Sort](#anytype.Rpc.BlockDataview.Filter.Sort) - - [Rpc.BlockDataview.Filter.Sort.Request](#anytype.Rpc.BlockDataview.Filter.Sort.Request) - - [Rpc.BlockDataview.Filter.Sort.Response](#anytype.Rpc.BlockDataview.Filter.Sort.Response) - - [Rpc.BlockDataview.Filter.Sort.Response.Error](#anytype.Rpc.BlockDataview.Filter.Sort.Response.Error) - - [Rpc.BlockDataview.GroupOrder](#anytype.Rpc.BlockDataview.GroupOrder) - - [Rpc.BlockDataview.GroupOrder.Update](#anytype.Rpc.BlockDataview.GroupOrder.Update) - - [Rpc.BlockDataview.GroupOrder.Update.Request](#anytype.Rpc.BlockDataview.GroupOrder.Update.Request) - - [Rpc.BlockDataview.GroupOrder.Update.Response](#anytype.Rpc.BlockDataview.GroupOrder.Update.Response) - - [Rpc.BlockDataview.GroupOrder.Update.Response.Error](#anytype.Rpc.BlockDataview.GroupOrder.Update.Response.Error) - - [Rpc.BlockDataview.ObjectOrder](#anytype.Rpc.BlockDataview.ObjectOrder) - - [Rpc.BlockDataview.ObjectOrder.Move](#anytype.Rpc.BlockDataview.ObjectOrder.Move) - - [Rpc.BlockDataview.ObjectOrder.Move.Request](#anytype.Rpc.BlockDataview.ObjectOrder.Move.Request) - - [Rpc.BlockDataview.ObjectOrder.Move.Response](#anytype.Rpc.BlockDataview.ObjectOrder.Move.Response) - - [Rpc.BlockDataview.ObjectOrder.Move.Response.Error](#anytype.Rpc.BlockDataview.ObjectOrder.Move.Response.Error) - - [Rpc.BlockDataview.ObjectOrder.Update](#anytype.Rpc.BlockDataview.ObjectOrder.Update) - - [Rpc.BlockDataview.ObjectOrder.Update.Request](#anytype.Rpc.BlockDataview.ObjectOrder.Update.Request) - - [Rpc.BlockDataview.ObjectOrder.Update.Response](#anytype.Rpc.BlockDataview.ObjectOrder.Update.Response) - - [Rpc.BlockDataview.ObjectOrder.Update.Response.Error](#anytype.Rpc.BlockDataview.ObjectOrder.Update.Response.Error) - - [Rpc.BlockDataview.Relation](#anytype.Rpc.BlockDataview.Relation) - - [Rpc.BlockDataview.Relation.Add](#anytype.Rpc.BlockDataview.Relation.Add) - - [Rpc.BlockDataview.Relation.Add.Request](#anytype.Rpc.BlockDataview.Relation.Add.Request) - - [Rpc.BlockDataview.Relation.Add.Response](#anytype.Rpc.BlockDataview.Relation.Add.Response) - - [Rpc.BlockDataview.Relation.Add.Response.Error](#anytype.Rpc.BlockDataview.Relation.Add.Response.Error) - - [Rpc.BlockDataview.Relation.Delete](#anytype.Rpc.BlockDataview.Relation.Delete) - - [Rpc.BlockDataview.Relation.Delete.Request](#anytype.Rpc.BlockDataview.Relation.Delete.Request) - - [Rpc.BlockDataview.Relation.Delete.Response](#anytype.Rpc.BlockDataview.Relation.Delete.Response) - - [Rpc.BlockDataview.Relation.Delete.Response.Error](#anytype.Rpc.BlockDataview.Relation.Delete.Response.Error) - - [Rpc.BlockDataview.Relation.ListAvailable](#anytype.Rpc.BlockDataview.Relation.ListAvailable) - - [Rpc.BlockDataview.Relation.ListAvailable.Request](#anytype.Rpc.BlockDataview.Relation.ListAvailable.Request) - - [Rpc.BlockDataview.Relation.ListAvailable.Response](#anytype.Rpc.BlockDataview.Relation.ListAvailable.Response) - - [Rpc.BlockDataview.Relation.ListAvailable.Response.Error](#anytype.Rpc.BlockDataview.Relation.ListAvailable.Response.Error) - - [Rpc.BlockDataview.SetSource](#anytype.Rpc.BlockDataview.SetSource) - - [Rpc.BlockDataview.SetSource.Request](#anytype.Rpc.BlockDataview.SetSource.Request) - - [Rpc.BlockDataview.SetSource.Response](#anytype.Rpc.BlockDataview.SetSource.Response) - - [Rpc.BlockDataview.SetSource.Response.Error](#anytype.Rpc.BlockDataview.SetSource.Response.Error) - - [Rpc.BlockDataview.Sort](#anytype.Rpc.BlockDataview.Sort) - - [Rpc.BlockDataview.Sort.Add](#anytype.Rpc.BlockDataview.Sort.Add) - - [Rpc.BlockDataview.Sort.Add.Request](#anytype.Rpc.BlockDataview.Sort.Add.Request) - - [Rpc.BlockDataview.Sort.Add.Response](#anytype.Rpc.BlockDataview.Sort.Add.Response) - - [Rpc.BlockDataview.Sort.Add.Response.Error](#anytype.Rpc.BlockDataview.Sort.Add.Response.Error) - - [Rpc.BlockDataview.Sort.Remove](#anytype.Rpc.BlockDataview.Sort.Remove) - - [Rpc.BlockDataview.Sort.Remove.Request](#anytype.Rpc.BlockDataview.Sort.Remove.Request) - - [Rpc.BlockDataview.Sort.Remove.Response](#anytype.Rpc.BlockDataview.Sort.Remove.Response) - - [Rpc.BlockDataview.Sort.Remove.Response.Error](#anytype.Rpc.BlockDataview.Sort.Remove.Response.Error) - - [Rpc.BlockDataview.Sort.Replace](#anytype.Rpc.BlockDataview.Sort.Replace) - - [Rpc.BlockDataview.Sort.Replace.Request](#anytype.Rpc.BlockDataview.Sort.Replace.Request) - - [Rpc.BlockDataview.Sort.Replace.Response](#anytype.Rpc.BlockDataview.Sort.Replace.Response) - - [Rpc.BlockDataview.Sort.Replace.Response.Error](#anytype.Rpc.BlockDataview.Sort.Replace.Response.Error) - - [Rpc.BlockDataview.Sort.Sort](#anytype.Rpc.BlockDataview.Sort.Sort) - - [Rpc.BlockDataview.Sort.Sort.Request](#anytype.Rpc.BlockDataview.Sort.Sort.Request) - - [Rpc.BlockDataview.Sort.Sort.Response](#anytype.Rpc.BlockDataview.Sort.Sort.Response) - - [Rpc.BlockDataview.Sort.Sort.Response.Error](#anytype.Rpc.BlockDataview.Sort.Sort.Response.Error) - - [Rpc.BlockDataview.View](#anytype.Rpc.BlockDataview.View) - - [Rpc.BlockDataview.View.Create](#anytype.Rpc.BlockDataview.View.Create) - - [Rpc.BlockDataview.View.Create.Request](#anytype.Rpc.BlockDataview.View.Create.Request) - - [Rpc.BlockDataview.View.Create.Response](#anytype.Rpc.BlockDataview.View.Create.Response) - - [Rpc.BlockDataview.View.Create.Response.Error](#anytype.Rpc.BlockDataview.View.Create.Response.Error) - - [Rpc.BlockDataview.View.Delete](#anytype.Rpc.BlockDataview.View.Delete) - - [Rpc.BlockDataview.View.Delete.Request](#anytype.Rpc.BlockDataview.View.Delete.Request) - - [Rpc.BlockDataview.View.Delete.Response](#anytype.Rpc.BlockDataview.View.Delete.Response) - - [Rpc.BlockDataview.View.Delete.Response.Error](#anytype.Rpc.BlockDataview.View.Delete.Response.Error) - - [Rpc.BlockDataview.View.SetActive](#anytype.Rpc.BlockDataview.View.SetActive) - - [Rpc.BlockDataview.View.SetActive.Request](#anytype.Rpc.BlockDataview.View.SetActive.Request) - - [Rpc.BlockDataview.View.SetActive.Response](#anytype.Rpc.BlockDataview.View.SetActive.Response) - - [Rpc.BlockDataview.View.SetActive.Response.Error](#anytype.Rpc.BlockDataview.View.SetActive.Response.Error) - - [Rpc.BlockDataview.View.SetPosition](#anytype.Rpc.BlockDataview.View.SetPosition) - - [Rpc.BlockDataview.View.SetPosition.Request](#anytype.Rpc.BlockDataview.View.SetPosition.Request) - - [Rpc.BlockDataview.View.SetPosition.Response](#anytype.Rpc.BlockDataview.View.SetPosition.Response) - - [Rpc.BlockDataview.View.SetPosition.Response.Error](#anytype.Rpc.BlockDataview.View.SetPosition.Response.Error) - - [Rpc.BlockDataview.View.Update](#anytype.Rpc.BlockDataview.View.Update) - - [Rpc.BlockDataview.View.Update.Request](#anytype.Rpc.BlockDataview.View.Update.Request) - - [Rpc.BlockDataview.View.Update.Response](#anytype.Rpc.BlockDataview.View.Update.Response) - - [Rpc.BlockDataview.View.Update.Response.Error](#anytype.Rpc.BlockDataview.View.Update.Response.Error) - - [Rpc.BlockDataview.ViewRelation](#anytype.Rpc.BlockDataview.ViewRelation) - - [Rpc.BlockDataview.ViewRelation.Add](#anytype.Rpc.BlockDataview.ViewRelation.Add) - - [Rpc.BlockDataview.ViewRelation.Add.Request](#anytype.Rpc.BlockDataview.ViewRelation.Add.Request) - - [Rpc.BlockDataview.ViewRelation.Add.Response](#anytype.Rpc.BlockDataview.ViewRelation.Add.Response) - - [Rpc.BlockDataview.ViewRelation.Add.Response.Error](#anytype.Rpc.BlockDataview.ViewRelation.Add.Response.Error) - - [Rpc.BlockDataview.ViewRelation.Remove](#anytype.Rpc.BlockDataview.ViewRelation.Remove) - - [Rpc.BlockDataview.ViewRelation.Remove.Request](#anytype.Rpc.BlockDataview.ViewRelation.Remove.Request) - - [Rpc.BlockDataview.ViewRelation.Remove.Response](#anytype.Rpc.BlockDataview.ViewRelation.Remove.Response) - - [Rpc.BlockDataview.ViewRelation.Remove.Response.Error](#anytype.Rpc.BlockDataview.ViewRelation.Remove.Response.Error) - - [Rpc.BlockDataview.ViewRelation.Replace](#anytype.Rpc.BlockDataview.ViewRelation.Replace) - - [Rpc.BlockDataview.ViewRelation.Replace.Request](#anytype.Rpc.BlockDataview.ViewRelation.Replace.Request) - - [Rpc.BlockDataview.ViewRelation.Replace.Response](#anytype.Rpc.BlockDataview.ViewRelation.Replace.Response) - - [Rpc.BlockDataview.ViewRelation.Replace.Response.Error](#anytype.Rpc.BlockDataview.ViewRelation.Replace.Response.Error) - - [Rpc.BlockDataview.ViewRelation.Sort](#anytype.Rpc.BlockDataview.ViewRelation.Sort) - - [Rpc.BlockDataview.ViewRelation.Sort.Request](#anytype.Rpc.BlockDataview.ViewRelation.Sort.Request) - - [Rpc.BlockDataview.ViewRelation.Sort.Response](#anytype.Rpc.BlockDataview.ViewRelation.Sort.Response) - - [Rpc.BlockDataview.ViewRelation.Sort.Response.Error](#anytype.Rpc.BlockDataview.ViewRelation.Sort.Response.Error) - - [Rpc.BlockDiv](#anytype.Rpc.BlockDiv) - - [Rpc.BlockDiv.ListSetStyle](#anytype.Rpc.BlockDiv.ListSetStyle) - - [Rpc.BlockDiv.ListSetStyle.Request](#anytype.Rpc.BlockDiv.ListSetStyle.Request) - - [Rpc.BlockDiv.ListSetStyle.Response](#anytype.Rpc.BlockDiv.ListSetStyle.Response) - - [Rpc.BlockDiv.ListSetStyle.Response.Error](#anytype.Rpc.BlockDiv.ListSetStyle.Response.Error) - - [Rpc.BlockFile](#anytype.Rpc.BlockFile) - - [Rpc.BlockFile.CreateAndUpload](#anytype.Rpc.BlockFile.CreateAndUpload) - - [Rpc.BlockFile.CreateAndUpload.Request](#anytype.Rpc.BlockFile.CreateAndUpload.Request) - - [Rpc.BlockFile.CreateAndUpload.Response](#anytype.Rpc.BlockFile.CreateAndUpload.Response) - - [Rpc.BlockFile.CreateAndUpload.Response.Error](#anytype.Rpc.BlockFile.CreateAndUpload.Response.Error) - - [Rpc.BlockFile.ListSetStyle](#anytype.Rpc.BlockFile.ListSetStyle) - - [Rpc.BlockFile.ListSetStyle.Request](#anytype.Rpc.BlockFile.ListSetStyle.Request) - - [Rpc.BlockFile.ListSetStyle.Response](#anytype.Rpc.BlockFile.ListSetStyle.Response) - - [Rpc.BlockFile.ListSetStyle.Response.Error](#anytype.Rpc.BlockFile.ListSetStyle.Response.Error) - - [Rpc.BlockFile.SetName](#anytype.Rpc.BlockFile.SetName) - - [Rpc.BlockFile.SetName.Request](#anytype.Rpc.BlockFile.SetName.Request) - - [Rpc.BlockFile.SetName.Response](#anytype.Rpc.BlockFile.SetName.Response) - - [Rpc.BlockFile.SetName.Response.Error](#anytype.Rpc.BlockFile.SetName.Response.Error) - - [Rpc.BlockImage](#anytype.Rpc.BlockImage) - - [Rpc.BlockImage.SetName](#anytype.Rpc.BlockImage.SetName) - - [Rpc.BlockImage.SetName.Request](#anytype.Rpc.BlockImage.SetName.Request) - - [Rpc.BlockImage.SetName.Response](#anytype.Rpc.BlockImage.SetName.Response) - - [Rpc.BlockImage.SetName.Response.Error](#anytype.Rpc.BlockImage.SetName.Response.Error) - - [Rpc.BlockImage.SetWidth](#anytype.Rpc.BlockImage.SetWidth) - - [Rpc.BlockImage.SetWidth.Request](#anytype.Rpc.BlockImage.SetWidth.Request) - - [Rpc.BlockImage.SetWidth.Response](#anytype.Rpc.BlockImage.SetWidth.Response) - - [Rpc.BlockImage.SetWidth.Response.Error](#anytype.Rpc.BlockImage.SetWidth.Response.Error) - - [Rpc.BlockLatex](#anytype.Rpc.BlockLatex) - - [Rpc.BlockLatex.SetText](#anytype.Rpc.BlockLatex.SetText) - - [Rpc.BlockLatex.SetText.Request](#anytype.Rpc.BlockLatex.SetText.Request) - - [Rpc.BlockLatex.SetText.Response](#anytype.Rpc.BlockLatex.SetText.Response) - - [Rpc.BlockLatex.SetText.Response.Error](#anytype.Rpc.BlockLatex.SetText.Response.Error) - - [Rpc.BlockLink](#anytype.Rpc.BlockLink) - - [Rpc.BlockLink.CreateWithObject](#anytype.Rpc.BlockLink.CreateWithObject) - - [Rpc.BlockLink.CreateWithObject.Request](#anytype.Rpc.BlockLink.CreateWithObject.Request) - - [Rpc.BlockLink.CreateWithObject.Response](#anytype.Rpc.BlockLink.CreateWithObject.Response) - - [Rpc.BlockLink.CreateWithObject.Response.Error](#anytype.Rpc.BlockLink.CreateWithObject.Response.Error) - - [Rpc.BlockLink.ListSetAppearance](#anytype.Rpc.BlockLink.ListSetAppearance) - - [Rpc.BlockLink.ListSetAppearance.Request](#anytype.Rpc.BlockLink.ListSetAppearance.Request) - - [Rpc.BlockLink.ListSetAppearance.Response](#anytype.Rpc.BlockLink.ListSetAppearance.Response) - - [Rpc.BlockLink.ListSetAppearance.Response.Error](#anytype.Rpc.BlockLink.ListSetAppearance.Response.Error) - - [Rpc.BlockRelation](#anytype.Rpc.BlockRelation) - - [Rpc.BlockRelation.Add](#anytype.Rpc.BlockRelation.Add) - - [Rpc.BlockRelation.Add.Request](#anytype.Rpc.BlockRelation.Add.Request) - - [Rpc.BlockRelation.Add.Response](#anytype.Rpc.BlockRelation.Add.Response) - - [Rpc.BlockRelation.Add.Response.Error](#anytype.Rpc.BlockRelation.Add.Response.Error) - - [Rpc.BlockRelation.SetKey](#anytype.Rpc.BlockRelation.SetKey) - - [Rpc.BlockRelation.SetKey.Request](#anytype.Rpc.BlockRelation.SetKey.Request) - - [Rpc.BlockRelation.SetKey.Response](#anytype.Rpc.BlockRelation.SetKey.Response) - - [Rpc.BlockRelation.SetKey.Response.Error](#anytype.Rpc.BlockRelation.SetKey.Response.Error) - - [Rpc.BlockTable](#anytype.Rpc.BlockTable) - - [Rpc.BlockTable.ColumnCreate](#anytype.Rpc.BlockTable.ColumnCreate) - - [Rpc.BlockTable.ColumnCreate.Request](#anytype.Rpc.BlockTable.ColumnCreate.Request) - - [Rpc.BlockTable.ColumnCreate.Response](#anytype.Rpc.BlockTable.ColumnCreate.Response) - - [Rpc.BlockTable.ColumnCreate.Response.Error](#anytype.Rpc.BlockTable.ColumnCreate.Response.Error) - - [Rpc.BlockTable.ColumnDelete](#anytype.Rpc.BlockTable.ColumnDelete) - - [Rpc.BlockTable.ColumnDelete.Request](#anytype.Rpc.BlockTable.ColumnDelete.Request) - - [Rpc.BlockTable.ColumnDelete.Response](#anytype.Rpc.BlockTable.ColumnDelete.Response) - - [Rpc.BlockTable.ColumnDelete.Response.Error](#anytype.Rpc.BlockTable.ColumnDelete.Response.Error) - - [Rpc.BlockTable.ColumnDuplicate](#anytype.Rpc.BlockTable.ColumnDuplicate) - - [Rpc.BlockTable.ColumnDuplicate.Request](#anytype.Rpc.BlockTable.ColumnDuplicate.Request) - - [Rpc.BlockTable.ColumnDuplicate.Response](#anytype.Rpc.BlockTable.ColumnDuplicate.Response) - - [Rpc.BlockTable.ColumnDuplicate.Response.Error](#anytype.Rpc.BlockTable.ColumnDuplicate.Response.Error) - - [Rpc.BlockTable.ColumnListFill](#anytype.Rpc.BlockTable.ColumnListFill) - - [Rpc.BlockTable.ColumnListFill.Request](#anytype.Rpc.BlockTable.ColumnListFill.Request) - - [Rpc.BlockTable.ColumnListFill.Response](#anytype.Rpc.BlockTable.ColumnListFill.Response) - - [Rpc.BlockTable.ColumnListFill.Response.Error](#anytype.Rpc.BlockTable.ColumnListFill.Response.Error) - - [Rpc.BlockTable.ColumnMove](#anytype.Rpc.BlockTable.ColumnMove) - - [Rpc.BlockTable.ColumnMove.Request](#anytype.Rpc.BlockTable.ColumnMove.Request) - - [Rpc.BlockTable.ColumnMove.Response](#anytype.Rpc.BlockTable.ColumnMove.Response) - - [Rpc.BlockTable.ColumnMove.Response.Error](#anytype.Rpc.BlockTable.ColumnMove.Response.Error) - - [Rpc.BlockTable.Create](#anytype.Rpc.BlockTable.Create) - - [Rpc.BlockTable.Create.Request](#anytype.Rpc.BlockTable.Create.Request) - - [Rpc.BlockTable.Create.Response](#anytype.Rpc.BlockTable.Create.Response) - - [Rpc.BlockTable.Create.Response.Error](#anytype.Rpc.BlockTable.Create.Response.Error) - - [Rpc.BlockTable.Expand](#anytype.Rpc.BlockTable.Expand) - - [Rpc.BlockTable.Expand.Request](#anytype.Rpc.BlockTable.Expand.Request) - - [Rpc.BlockTable.Expand.Response](#anytype.Rpc.BlockTable.Expand.Response) - - [Rpc.BlockTable.Expand.Response.Error](#anytype.Rpc.BlockTable.Expand.Response.Error) - - [Rpc.BlockTable.RowCreate](#anytype.Rpc.BlockTable.RowCreate) - - [Rpc.BlockTable.RowCreate.Request](#anytype.Rpc.BlockTable.RowCreate.Request) - - [Rpc.BlockTable.RowCreate.Response](#anytype.Rpc.BlockTable.RowCreate.Response) - - [Rpc.BlockTable.RowCreate.Response.Error](#anytype.Rpc.BlockTable.RowCreate.Response.Error) - - [Rpc.BlockTable.RowDelete](#anytype.Rpc.BlockTable.RowDelete) - - [Rpc.BlockTable.RowDelete.Request](#anytype.Rpc.BlockTable.RowDelete.Request) - - [Rpc.BlockTable.RowDelete.Response](#anytype.Rpc.BlockTable.RowDelete.Response) - - [Rpc.BlockTable.RowDelete.Response.Error](#anytype.Rpc.BlockTable.RowDelete.Response.Error) - - [Rpc.BlockTable.RowDuplicate](#anytype.Rpc.BlockTable.RowDuplicate) - - [Rpc.BlockTable.RowDuplicate.Request](#anytype.Rpc.BlockTable.RowDuplicate.Request) - - [Rpc.BlockTable.RowDuplicate.Response](#anytype.Rpc.BlockTable.RowDuplicate.Response) - - [Rpc.BlockTable.RowDuplicate.Response.Error](#anytype.Rpc.BlockTable.RowDuplicate.Response.Error) - - [Rpc.BlockTable.RowListClean](#anytype.Rpc.BlockTable.RowListClean) - - [Rpc.BlockTable.RowListClean.Request](#anytype.Rpc.BlockTable.RowListClean.Request) - - [Rpc.BlockTable.RowListClean.Response](#anytype.Rpc.BlockTable.RowListClean.Response) - - [Rpc.BlockTable.RowListClean.Response.Error](#anytype.Rpc.BlockTable.RowListClean.Response.Error) - - [Rpc.BlockTable.RowListFill](#anytype.Rpc.BlockTable.RowListFill) - - [Rpc.BlockTable.RowListFill.Request](#anytype.Rpc.BlockTable.RowListFill.Request) - - [Rpc.BlockTable.RowListFill.Response](#anytype.Rpc.BlockTable.RowListFill.Response) - - [Rpc.BlockTable.RowListFill.Response.Error](#anytype.Rpc.BlockTable.RowListFill.Response.Error) - - [Rpc.BlockTable.RowSetHeader](#anytype.Rpc.BlockTable.RowSetHeader) - - [Rpc.BlockTable.RowSetHeader.Request](#anytype.Rpc.BlockTable.RowSetHeader.Request) - - [Rpc.BlockTable.RowSetHeader.Response](#anytype.Rpc.BlockTable.RowSetHeader.Response) - - [Rpc.BlockTable.RowSetHeader.Response.Error](#anytype.Rpc.BlockTable.RowSetHeader.Response.Error) - - [Rpc.BlockTable.Sort](#anytype.Rpc.BlockTable.Sort) - - [Rpc.BlockTable.Sort.Request](#anytype.Rpc.BlockTable.Sort.Request) - - [Rpc.BlockTable.Sort.Response](#anytype.Rpc.BlockTable.Sort.Response) - - [Rpc.BlockTable.Sort.Response.Error](#anytype.Rpc.BlockTable.Sort.Response.Error) - - [Rpc.BlockText](#anytype.Rpc.BlockText) - - [Rpc.BlockText.ListClearContent](#anytype.Rpc.BlockText.ListClearContent) - - [Rpc.BlockText.ListClearContent.Request](#anytype.Rpc.BlockText.ListClearContent.Request) - - [Rpc.BlockText.ListClearContent.Response](#anytype.Rpc.BlockText.ListClearContent.Response) - - [Rpc.BlockText.ListClearContent.Response.Error](#anytype.Rpc.BlockText.ListClearContent.Response.Error) - - [Rpc.BlockText.ListClearStyle](#anytype.Rpc.BlockText.ListClearStyle) - - [Rpc.BlockText.ListClearStyle.Request](#anytype.Rpc.BlockText.ListClearStyle.Request) - - [Rpc.BlockText.ListClearStyle.Response](#anytype.Rpc.BlockText.ListClearStyle.Response) - - [Rpc.BlockText.ListClearStyle.Response.Error](#anytype.Rpc.BlockText.ListClearStyle.Response.Error) - - [Rpc.BlockText.ListSetColor](#anytype.Rpc.BlockText.ListSetColor) - - [Rpc.BlockText.ListSetColor.Request](#anytype.Rpc.BlockText.ListSetColor.Request) - - [Rpc.BlockText.ListSetColor.Response](#anytype.Rpc.BlockText.ListSetColor.Response) - - [Rpc.BlockText.ListSetColor.Response.Error](#anytype.Rpc.BlockText.ListSetColor.Response.Error) - - [Rpc.BlockText.ListSetMark](#anytype.Rpc.BlockText.ListSetMark) - - [Rpc.BlockText.ListSetMark.Request](#anytype.Rpc.BlockText.ListSetMark.Request) - - [Rpc.BlockText.ListSetMark.Response](#anytype.Rpc.BlockText.ListSetMark.Response) - - [Rpc.BlockText.ListSetMark.Response.Error](#anytype.Rpc.BlockText.ListSetMark.Response.Error) - - [Rpc.BlockText.ListSetStyle](#anytype.Rpc.BlockText.ListSetStyle) - - [Rpc.BlockText.ListSetStyle.Request](#anytype.Rpc.BlockText.ListSetStyle.Request) - - [Rpc.BlockText.ListSetStyle.Response](#anytype.Rpc.BlockText.ListSetStyle.Response) - - [Rpc.BlockText.ListSetStyle.Response.Error](#anytype.Rpc.BlockText.ListSetStyle.Response.Error) - - [Rpc.BlockText.SetChecked](#anytype.Rpc.BlockText.SetChecked) - - [Rpc.BlockText.SetChecked.Request](#anytype.Rpc.BlockText.SetChecked.Request) - - [Rpc.BlockText.SetChecked.Response](#anytype.Rpc.BlockText.SetChecked.Response) - - [Rpc.BlockText.SetChecked.Response.Error](#anytype.Rpc.BlockText.SetChecked.Response.Error) - - [Rpc.BlockText.SetColor](#anytype.Rpc.BlockText.SetColor) - - [Rpc.BlockText.SetColor.Request](#anytype.Rpc.BlockText.SetColor.Request) - - [Rpc.BlockText.SetColor.Response](#anytype.Rpc.BlockText.SetColor.Response) - - [Rpc.BlockText.SetColor.Response.Error](#anytype.Rpc.BlockText.SetColor.Response.Error) - - [Rpc.BlockText.SetIcon](#anytype.Rpc.BlockText.SetIcon) - - [Rpc.BlockText.SetIcon.Request](#anytype.Rpc.BlockText.SetIcon.Request) - - [Rpc.BlockText.SetIcon.Response](#anytype.Rpc.BlockText.SetIcon.Response) - - [Rpc.BlockText.SetIcon.Response.Error](#anytype.Rpc.BlockText.SetIcon.Response.Error) - - [Rpc.BlockText.SetMarks](#anytype.Rpc.BlockText.SetMarks) - - [Rpc.BlockText.SetMarks.Get](#anytype.Rpc.BlockText.SetMarks.Get) - - [Rpc.BlockText.SetMarks.Get.Request](#anytype.Rpc.BlockText.SetMarks.Get.Request) - - [Rpc.BlockText.SetMarks.Get.Response](#anytype.Rpc.BlockText.SetMarks.Get.Response) - - [Rpc.BlockText.SetMarks.Get.Response.Error](#anytype.Rpc.BlockText.SetMarks.Get.Response.Error) - - [Rpc.BlockText.SetStyle](#anytype.Rpc.BlockText.SetStyle) - - [Rpc.BlockText.SetStyle.Request](#anytype.Rpc.BlockText.SetStyle.Request) - - [Rpc.BlockText.SetStyle.Response](#anytype.Rpc.BlockText.SetStyle.Response) - - [Rpc.BlockText.SetStyle.Response.Error](#anytype.Rpc.BlockText.SetStyle.Response.Error) - - [Rpc.BlockText.SetText](#anytype.Rpc.BlockText.SetText) - - [Rpc.BlockText.SetText.Request](#anytype.Rpc.BlockText.SetText.Request) - - [Rpc.BlockText.SetText.Response](#anytype.Rpc.BlockText.SetText.Response) - - [Rpc.BlockText.SetText.Response.Error](#anytype.Rpc.BlockText.SetText.Response.Error) - - [Rpc.BlockVideo](#anytype.Rpc.BlockVideo) - - [Rpc.BlockVideo.SetName](#anytype.Rpc.BlockVideo.SetName) - - [Rpc.BlockVideo.SetName.Request](#anytype.Rpc.BlockVideo.SetName.Request) - - [Rpc.BlockVideo.SetName.Response](#anytype.Rpc.BlockVideo.SetName.Response) - - [Rpc.BlockVideo.SetName.Response.Error](#anytype.Rpc.BlockVideo.SetName.Response.Error) - - [Rpc.BlockVideo.SetWidth](#anytype.Rpc.BlockVideo.SetWidth) - - [Rpc.BlockVideo.SetWidth.Request](#anytype.Rpc.BlockVideo.SetWidth.Request) - - [Rpc.BlockVideo.SetWidth.Response](#anytype.Rpc.BlockVideo.SetWidth.Response) - - [Rpc.BlockVideo.SetWidth.Response.Error](#anytype.Rpc.BlockVideo.SetWidth.Response.Error) - - [Rpc.BlockWidget](#anytype.Rpc.BlockWidget) - - [Rpc.BlockWidget.SetLayout](#anytype.Rpc.BlockWidget.SetLayout) - - [Rpc.BlockWidget.SetLayout.Request](#anytype.Rpc.BlockWidget.SetLayout.Request) - - [Rpc.BlockWidget.SetLayout.Response](#anytype.Rpc.BlockWidget.SetLayout.Response) - - [Rpc.BlockWidget.SetLayout.Response.Error](#anytype.Rpc.BlockWidget.SetLayout.Response.Error) - - [Rpc.BlockWidget.SetLimit](#anytype.Rpc.BlockWidget.SetLimit) - - [Rpc.BlockWidget.SetLimit.Request](#anytype.Rpc.BlockWidget.SetLimit.Request) - - [Rpc.BlockWidget.SetLimit.Response](#anytype.Rpc.BlockWidget.SetLimit.Response) - - [Rpc.BlockWidget.SetLimit.Response.Error](#anytype.Rpc.BlockWidget.SetLimit.Response.Error) - - [Rpc.BlockWidget.SetTargetId](#anytype.Rpc.BlockWidget.SetTargetId) - - [Rpc.BlockWidget.SetTargetId.Request](#anytype.Rpc.BlockWidget.SetTargetId.Request) - - [Rpc.BlockWidget.SetTargetId.Response](#anytype.Rpc.BlockWidget.SetTargetId.Response) - - [Rpc.BlockWidget.SetTargetId.Response.Error](#anytype.Rpc.BlockWidget.SetTargetId.Response.Error) - - [Rpc.BlockWidget.SetViewId](#anytype.Rpc.BlockWidget.SetViewId) - - [Rpc.BlockWidget.SetViewId.Request](#anytype.Rpc.BlockWidget.SetViewId.Request) - - [Rpc.BlockWidget.SetViewId.Response](#anytype.Rpc.BlockWidget.SetViewId.Response) - - [Rpc.BlockWidget.SetViewId.Response.Error](#anytype.Rpc.BlockWidget.SetViewId.Response.Error) - - [Rpc.Debug](#anytype.Rpc.Debug) - - [Rpc.Debug.ExportLocalstore](#anytype.Rpc.Debug.ExportLocalstore) - - [Rpc.Debug.ExportLocalstore.Request](#anytype.Rpc.Debug.ExportLocalstore.Request) - - [Rpc.Debug.ExportLocalstore.Response](#anytype.Rpc.Debug.ExportLocalstore.Response) - - [Rpc.Debug.ExportLocalstore.Response.Error](#anytype.Rpc.Debug.ExportLocalstore.Response.Error) - - [Rpc.Debug.Ping](#anytype.Rpc.Debug.Ping) - - [Rpc.Debug.Ping.Request](#anytype.Rpc.Debug.Ping.Request) - - [Rpc.Debug.Ping.Response](#anytype.Rpc.Debug.Ping.Response) - - [Rpc.Debug.Ping.Response.Error](#anytype.Rpc.Debug.Ping.Response.Error) - - [Rpc.Debug.SpaceSummary](#anytype.Rpc.Debug.SpaceSummary) - - [Rpc.Debug.SpaceSummary.Request](#anytype.Rpc.Debug.SpaceSummary.Request) - - [Rpc.Debug.SpaceSummary.Response](#anytype.Rpc.Debug.SpaceSummary.Response) - - [Rpc.Debug.SpaceSummary.Response.Error](#anytype.Rpc.Debug.SpaceSummary.Response.Error) - - [Rpc.Debug.Tree](#anytype.Rpc.Debug.Tree) - - [Rpc.Debug.Tree.Request](#anytype.Rpc.Debug.Tree.Request) - - [Rpc.Debug.Tree.Response](#anytype.Rpc.Debug.Tree.Response) - - [Rpc.Debug.Tree.Response.Error](#anytype.Rpc.Debug.Tree.Response.Error) - - [Rpc.Debug.TreeHeads](#anytype.Rpc.Debug.TreeHeads) - - [Rpc.Debug.TreeHeads.Request](#anytype.Rpc.Debug.TreeHeads.Request) - - [Rpc.Debug.TreeHeads.Response](#anytype.Rpc.Debug.TreeHeads.Response) - - [Rpc.Debug.TreeHeads.Response.Error](#anytype.Rpc.Debug.TreeHeads.Response.Error) - - [Rpc.Debug.TreeInfo](#anytype.Rpc.Debug.TreeInfo) - - [Rpc.File](#anytype.Rpc.File) - - [Rpc.File.Download](#anytype.Rpc.File.Download) - - [Rpc.File.Download.Request](#anytype.Rpc.File.Download.Request) - - [Rpc.File.Download.Response](#anytype.Rpc.File.Download.Response) - - [Rpc.File.Download.Response.Error](#anytype.Rpc.File.Download.Response.Error) - - [Rpc.File.Drop](#anytype.Rpc.File.Drop) - - [Rpc.File.Drop.Request](#anytype.Rpc.File.Drop.Request) - - [Rpc.File.Drop.Response](#anytype.Rpc.File.Drop.Response) - - [Rpc.File.Drop.Response.Error](#anytype.Rpc.File.Drop.Response.Error) - - [Rpc.File.ListOffload](#anytype.Rpc.File.ListOffload) - - [Rpc.File.ListOffload.Request](#anytype.Rpc.File.ListOffload.Request) - - [Rpc.File.ListOffload.Response](#anytype.Rpc.File.ListOffload.Response) - - [Rpc.File.ListOffload.Response.Error](#anytype.Rpc.File.ListOffload.Response.Error) - - [Rpc.File.Offload](#anytype.Rpc.File.Offload) - - [Rpc.File.Offload.Request](#anytype.Rpc.File.Offload.Request) - - [Rpc.File.Offload.Response](#anytype.Rpc.File.Offload.Response) - - [Rpc.File.Offload.Response.Error](#anytype.Rpc.File.Offload.Response.Error) - - [Rpc.File.SpaceUsage](#anytype.Rpc.File.SpaceUsage) - - [Rpc.File.SpaceUsage.Request](#anytype.Rpc.File.SpaceUsage.Request) - - [Rpc.File.SpaceUsage.Response](#anytype.Rpc.File.SpaceUsage.Response) - - [Rpc.File.SpaceUsage.Response.Error](#anytype.Rpc.File.SpaceUsage.Response.Error) - - [Rpc.File.SpaceUsage.Response.Usage](#anytype.Rpc.File.SpaceUsage.Response.Usage) - - [Rpc.File.Upload](#anytype.Rpc.File.Upload) - - [Rpc.File.Upload.Request](#anytype.Rpc.File.Upload.Request) - - [Rpc.File.Upload.Response](#anytype.Rpc.File.Upload.Response) - - [Rpc.File.Upload.Response.Error](#anytype.Rpc.File.Upload.Response.Error) - - [Rpc.GenericErrorResponse](#anytype.Rpc.GenericErrorResponse) - - [Rpc.GenericErrorResponse.Error](#anytype.Rpc.GenericErrorResponse.Error) - - [Rpc.History](#anytype.Rpc.History) - - [Rpc.History.GetVersions](#anytype.Rpc.History.GetVersions) - - [Rpc.History.GetVersions.Request](#anytype.Rpc.History.GetVersions.Request) - - [Rpc.History.GetVersions.Response](#anytype.Rpc.History.GetVersions.Response) - - [Rpc.History.GetVersions.Response.Error](#anytype.Rpc.History.GetVersions.Response.Error) - - [Rpc.History.SetVersion](#anytype.Rpc.History.SetVersion) - - [Rpc.History.SetVersion.Request](#anytype.Rpc.History.SetVersion.Request) - - [Rpc.History.SetVersion.Response](#anytype.Rpc.History.SetVersion.Response) - - [Rpc.History.SetVersion.Response.Error](#anytype.Rpc.History.SetVersion.Response.Error) - - [Rpc.History.ShowVersion](#anytype.Rpc.History.ShowVersion) - - [Rpc.History.ShowVersion.Request](#anytype.Rpc.History.ShowVersion.Request) - - [Rpc.History.ShowVersion.Response](#anytype.Rpc.History.ShowVersion.Response) - - [Rpc.History.ShowVersion.Response.Error](#anytype.Rpc.History.ShowVersion.Response.Error) - - [Rpc.History.Version](#anytype.Rpc.History.Version) - - [Rpc.LinkPreview](#anytype.Rpc.LinkPreview) - - [Rpc.LinkPreview.Request](#anytype.Rpc.LinkPreview.Request) - - [Rpc.LinkPreview.Response](#anytype.Rpc.LinkPreview.Response) - - [Rpc.LinkPreview.Response.Error](#anytype.Rpc.LinkPreview.Response.Error) - - [Rpc.Log](#anytype.Rpc.Log) - - [Rpc.Log.Send](#anytype.Rpc.Log.Send) - - [Rpc.Log.Send.Request](#anytype.Rpc.Log.Send.Request) - - [Rpc.Log.Send.Response](#anytype.Rpc.Log.Send.Response) - - [Rpc.Log.Send.Response.Error](#anytype.Rpc.Log.Send.Response.Error) - - [Rpc.Metrics](#anytype.Rpc.Metrics) - - [Rpc.Metrics.SetParameters](#anytype.Rpc.Metrics.SetParameters) - - [Rpc.Metrics.SetParameters.Request](#anytype.Rpc.Metrics.SetParameters.Request) - - [Rpc.Metrics.SetParameters.Response](#anytype.Rpc.Metrics.SetParameters.Response) - - [Rpc.Metrics.SetParameters.Response.Error](#anytype.Rpc.Metrics.SetParameters.Response.Error) - - [Rpc.Navigation](#anytype.Rpc.Navigation) - - [Rpc.Navigation.GetObjectInfoWithLinks](#anytype.Rpc.Navigation.GetObjectInfoWithLinks) - - [Rpc.Navigation.GetObjectInfoWithLinks.Request](#anytype.Rpc.Navigation.GetObjectInfoWithLinks.Request) - - [Rpc.Navigation.GetObjectInfoWithLinks.Response](#anytype.Rpc.Navigation.GetObjectInfoWithLinks.Response) - - [Rpc.Navigation.GetObjectInfoWithLinks.Response.Error](#anytype.Rpc.Navigation.GetObjectInfoWithLinks.Response.Error) - - [Rpc.Navigation.ListObjects](#anytype.Rpc.Navigation.ListObjects) - - [Rpc.Navigation.ListObjects.Request](#anytype.Rpc.Navigation.ListObjects.Request) - - [Rpc.Navigation.ListObjects.Response](#anytype.Rpc.Navigation.ListObjects.Response) - - [Rpc.Navigation.ListObjects.Response.Error](#anytype.Rpc.Navigation.ListObjects.Response.Error) - - [Rpc.Object](#anytype.Rpc.Object) - - [Rpc.Object.ApplyTemplate](#anytype.Rpc.Object.ApplyTemplate) - - [Rpc.Object.ApplyTemplate.Request](#anytype.Rpc.Object.ApplyTemplate.Request) - - [Rpc.Object.ApplyTemplate.Response](#anytype.Rpc.Object.ApplyTemplate.Response) - - [Rpc.Object.ApplyTemplate.Response.Error](#anytype.Rpc.Object.ApplyTemplate.Response.Error) - - [Rpc.Object.BookmarkFetch](#anytype.Rpc.Object.BookmarkFetch) - - [Rpc.Object.BookmarkFetch.Request](#anytype.Rpc.Object.BookmarkFetch.Request) - - [Rpc.Object.BookmarkFetch.Response](#anytype.Rpc.Object.BookmarkFetch.Response) - - [Rpc.Object.BookmarkFetch.Response.Error](#anytype.Rpc.Object.BookmarkFetch.Response.Error) - - [Rpc.Object.Close](#anytype.Rpc.Object.Close) - - [Rpc.Object.Close.Request](#anytype.Rpc.Object.Close.Request) - - [Rpc.Object.Close.Response](#anytype.Rpc.Object.Close.Response) - - [Rpc.Object.Close.Response.Error](#anytype.Rpc.Object.Close.Response.Error) - - [Rpc.Object.Create](#anytype.Rpc.Object.Create) - - [Rpc.Object.Create.Request](#anytype.Rpc.Object.Create.Request) - - [Rpc.Object.Create.Response](#anytype.Rpc.Object.Create.Response) - - [Rpc.Object.Create.Response.Error](#anytype.Rpc.Object.Create.Response.Error) - - [Rpc.Object.CreateBookmark](#anytype.Rpc.Object.CreateBookmark) - - [Rpc.Object.CreateBookmark.Request](#anytype.Rpc.Object.CreateBookmark.Request) - - [Rpc.Object.CreateBookmark.Response](#anytype.Rpc.Object.CreateBookmark.Response) - - [Rpc.Object.CreateBookmark.Response.Error](#anytype.Rpc.Object.CreateBookmark.Response.Error) - - [Rpc.Object.CreateObjectType](#anytype.Rpc.Object.CreateObjectType) - - [Rpc.Object.CreateObjectType.Request](#anytype.Rpc.Object.CreateObjectType.Request) - - [Rpc.Object.CreateObjectType.Response](#anytype.Rpc.Object.CreateObjectType.Response) - - [Rpc.Object.CreateObjectType.Response.Error](#anytype.Rpc.Object.CreateObjectType.Response.Error) - - [Rpc.Object.CreateRelation](#anytype.Rpc.Object.CreateRelation) - - [Rpc.Object.CreateRelation.Request](#anytype.Rpc.Object.CreateRelation.Request) - - [Rpc.Object.CreateRelation.Response](#anytype.Rpc.Object.CreateRelation.Response) - - [Rpc.Object.CreateRelation.Response.Error](#anytype.Rpc.Object.CreateRelation.Response.Error) - - [Rpc.Object.CreateRelationOption](#anytype.Rpc.Object.CreateRelationOption) - - [Rpc.Object.CreateRelationOption.Request](#anytype.Rpc.Object.CreateRelationOption.Request) - - [Rpc.Object.CreateRelationOption.Response](#anytype.Rpc.Object.CreateRelationOption.Response) - - [Rpc.Object.CreateRelationOption.Response.Error](#anytype.Rpc.Object.CreateRelationOption.Response.Error) - - [Rpc.Object.CreateSet](#anytype.Rpc.Object.CreateSet) - - [Rpc.Object.CreateSet.Request](#anytype.Rpc.Object.CreateSet.Request) - - [Rpc.Object.CreateSet.Response](#anytype.Rpc.Object.CreateSet.Response) - - [Rpc.Object.CreateSet.Response.Error](#anytype.Rpc.Object.CreateSet.Response.Error) - - [Rpc.Object.Duplicate](#anytype.Rpc.Object.Duplicate) - - [Rpc.Object.Duplicate.Request](#anytype.Rpc.Object.Duplicate.Request) - - [Rpc.Object.Duplicate.Response](#anytype.Rpc.Object.Duplicate.Response) - - [Rpc.Object.Duplicate.Response.Error](#anytype.Rpc.Object.Duplicate.Response.Error) - - [Rpc.Object.Graph](#anytype.Rpc.Object.Graph) - - [Rpc.Object.Graph.Edge](#anytype.Rpc.Object.Graph.Edge) - - [Rpc.Object.Graph.Request](#anytype.Rpc.Object.Graph.Request) - - [Rpc.Object.Graph.Response](#anytype.Rpc.Object.Graph.Response) - - [Rpc.Object.Graph.Response.Error](#anytype.Rpc.Object.Graph.Response.Error) - - [Rpc.Object.GroupsSubscribe](#anytype.Rpc.Object.GroupsSubscribe) - - [Rpc.Object.GroupsSubscribe.Request](#anytype.Rpc.Object.GroupsSubscribe.Request) - - [Rpc.Object.GroupsSubscribe.Response](#anytype.Rpc.Object.GroupsSubscribe.Response) - - [Rpc.Object.GroupsSubscribe.Response.Error](#anytype.Rpc.Object.GroupsSubscribe.Response.Error) - - [Rpc.Object.Import](#anytype.Rpc.Object.Import) - - [Rpc.Object.Import.Notion](#anytype.Rpc.Object.Import.Notion) - - [Rpc.Object.Import.Notion.ValidateToken](#anytype.Rpc.Object.Import.Notion.ValidateToken) - - [Rpc.Object.Import.Notion.ValidateToken.Request](#anytype.Rpc.Object.Import.Notion.ValidateToken.Request) - - [Rpc.Object.Import.Notion.ValidateToken.Response](#anytype.Rpc.Object.Import.Notion.ValidateToken.Response) - - [Rpc.Object.Import.Notion.ValidateToken.Response.Error](#anytype.Rpc.Object.Import.Notion.ValidateToken.Response.Error) - - [Rpc.Object.Import.Request](#anytype.Rpc.Object.Import.Request) - - [Rpc.Object.Import.Request.BookmarksParams](#anytype.Rpc.Object.Import.Request.BookmarksParams) - - [Rpc.Object.Import.Request.CsvParams](#anytype.Rpc.Object.Import.Request.CsvParams) - - [Rpc.Object.Import.Request.HtmlParams](#anytype.Rpc.Object.Import.Request.HtmlParams) - - [Rpc.Object.Import.Request.MarkdownParams](#anytype.Rpc.Object.Import.Request.MarkdownParams) - - [Rpc.Object.Import.Request.NotionParams](#anytype.Rpc.Object.Import.Request.NotionParams) - - [Rpc.Object.Import.Request.PbParams](#anytype.Rpc.Object.Import.Request.PbParams) - - [Rpc.Object.Import.Request.Snapshot](#anytype.Rpc.Object.Import.Request.Snapshot) - - [Rpc.Object.Import.Request.TxtParams](#anytype.Rpc.Object.Import.Request.TxtParams) - - [Rpc.Object.Import.Response](#anytype.Rpc.Object.Import.Response) - - [Rpc.Object.Import.Response.Error](#anytype.Rpc.Object.Import.Response.Error) - - [Rpc.Object.ImportList](#anytype.Rpc.Object.ImportList) - - [Rpc.Object.ImportList.ImportResponse](#anytype.Rpc.Object.ImportList.ImportResponse) - - [Rpc.Object.ImportList.Request](#anytype.Rpc.Object.ImportList.Request) - - [Rpc.Object.ImportList.Response](#anytype.Rpc.Object.ImportList.Response) - - [Rpc.Object.ImportList.Response.Error](#anytype.Rpc.Object.ImportList.Response.Error) - - [Rpc.Object.ListDelete](#anytype.Rpc.Object.ListDelete) - - [Rpc.Object.ListDelete.Request](#anytype.Rpc.Object.ListDelete.Request) - - [Rpc.Object.ListDelete.Response](#anytype.Rpc.Object.ListDelete.Response) - - [Rpc.Object.ListDelete.Response.Error](#anytype.Rpc.Object.ListDelete.Response.Error) - - [Rpc.Object.ListDuplicate](#anytype.Rpc.Object.ListDuplicate) - - [Rpc.Object.ListDuplicate.Request](#anytype.Rpc.Object.ListDuplicate.Request) - - [Rpc.Object.ListDuplicate.Response](#anytype.Rpc.Object.ListDuplicate.Response) - - [Rpc.Object.ListDuplicate.Response.Error](#anytype.Rpc.Object.ListDuplicate.Response.Error) - - [Rpc.Object.ListExport](#anytype.Rpc.Object.ListExport) - - [Rpc.Object.ListExport.Request](#anytype.Rpc.Object.ListExport.Request) - - [Rpc.Object.ListExport.Response](#anytype.Rpc.Object.ListExport.Response) - - [Rpc.Object.ListExport.Response.Error](#anytype.Rpc.Object.ListExport.Response.Error) - - [Rpc.Object.ListSetIsArchived](#anytype.Rpc.Object.ListSetIsArchived) - - [Rpc.Object.ListSetIsArchived.Request](#anytype.Rpc.Object.ListSetIsArchived.Request) - - [Rpc.Object.ListSetIsArchived.Response](#anytype.Rpc.Object.ListSetIsArchived.Response) - - [Rpc.Object.ListSetIsArchived.Response.Error](#anytype.Rpc.Object.ListSetIsArchived.Response.Error) - - [Rpc.Object.ListSetIsFavorite](#anytype.Rpc.Object.ListSetIsFavorite) - - [Rpc.Object.ListSetIsFavorite.Request](#anytype.Rpc.Object.ListSetIsFavorite.Request) - - [Rpc.Object.ListSetIsFavorite.Response](#anytype.Rpc.Object.ListSetIsFavorite.Response) - - [Rpc.Object.ListSetIsFavorite.Response.Error](#anytype.Rpc.Object.ListSetIsFavorite.Response.Error) - - [Rpc.Object.Open](#anytype.Rpc.Object.Open) - - [Rpc.Object.Open.Request](#anytype.Rpc.Object.Open.Request) - - [Rpc.Object.Open.Response](#anytype.Rpc.Object.Open.Response) - - [Rpc.Object.Open.Response.Error](#anytype.Rpc.Object.Open.Response.Error) - - [Rpc.Object.OpenBreadcrumbs](#anytype.Rpc.Object.OpenBreadcrumbs) - - [Rpc.Object.OpenBreadcrumbs.Request](#anytype.Rpc.Object.OpenBreadcrumbs.Request) - - [Rpc.Object.OpenBreadcrumbs.Response](#anytype.Rpc.Object.OpenBreadcrumbs.Response) - - [Rpc.Object.OpenBreadcrumbs.Response.Error](#anytype.Rpc.Object.OpenBreadcrumbs.Response.Error) - - [Rpc.Object.Redo](#anytype.Rpc.Object.Redo) - - [Rpc.Object.Redo.Request](#anytype.Rpc.Object.Redo.Request) - - [Rpc.Object.Redo.Response](#anytype.Rpc.Object.Redo.Response) - - [Rpc.Object.Redo.Response.Error](#anytype.Rpc.Object.Redo.Response.Error) - - [Rpc.Object.Search](#anytype.Rpc.Object.Search) - - [Rpc.Object.Search.Request](#anytype.Rpc.Object.Search.Request) - - [Rpc.Object.Search.Response](#anytype.Rpc.Object.Search.Response) - - [Rpc.Object.Search.Response.Error](#anytype.Rpc.Object.Search.Response.Error) - - [Rpc.Object.SearchSubscribe](#anytype.Rpc.Object.SearchSubscribe) - - [Rpc.Object.SearchSubscribe.Request](#anytype.Rpc.Object.SearchSubscribe.Request) - - [Rpc.Object.SearchSubscribe.Response](#anytype.Rpc.Object.SearchSubscribe.Response) - - [Rpc.Object.SearchSubscribe.Response.Error](#anytype.Rpc.Object.SearchSubscribe.Response.Error) - - [Rpc.Object.SearchUnsubscribe](#anytype.Rpc.Object.SearchUnsubscribe) - - [Rpc.Object.SearchUnsubscribe.Request](#anytype.Rpc.Object.SearchUnsubscribe.Request) - - [Rpc.Object.SearchUnsubscribe.Response](#anytype.Rpc.Object.SearchUnsubscribe.Response) - - [Rpc.Object.SearchUnsubscribe.Response.Error](#anytype.Rpc.Object.SearchUnsubscribe.Response.Error) - - [Rpc.Object.SetBreadcrumbs](#anytype.Rpc.Object.SetBreadcrumbs) - - [Rpc.Object.SetBreadcrumbs.Request](#anytype.Rpc.Object.SetBreadcrumbs.Request) - - [Rpc.Object.SetBreadcrumbs.Response](#anytype.Rpc.Object.SetBreadcrumbs.Response) - - [Rpc.Object.SetBreadcrumbs.Response.Error](#anytype.Rpc.Object.SetBreadcrumbs.Response.Error) - - [Rpc.Object.SetDetails](#anytype.Rpc.Object.SetDetails) - - [Rpc.Object.SetDetails.Detail](#anytype.Rpc.Object.SetDetails.Detail) - - [Rpc.Object.SetDetails.Request](#anytype.Rpc.Object.SetDetails.Request) - - [Rpc.Object.SetDetails.Response](#anytype.Rpc.Object.SetDetails.Response) - - [Rpc.Object.SetDetails.Response.Error](#anytype.Rpc.Object.SetDetails.Response.Error) - - [Rpc.Object.SetInternalFlags](#anytype.Rpc.Object.SetInternalFlags) - - [Rpc.Object.SetInternalFlags.Request](#anytype.Rpc.Object.SetInternalFlags.Request) - - [Rpc.Object.SetInternalFlags.Response](#anytype.Rpc.Object.SetInternalFlags.Response) - - [Rpc.Object.SetInternalFlags.Response.Error](#anytype.Rpc.Object.SetInternalFlags.Response.Error) - - [Rpc.Object.SetIsArchived](#anytype.Rpc.Object.SetIsArchived) - - [Rpc.Object.SetIsArchived.Request](#anytype.Rpc.Object.SetIsArchived.Request) - - [Rpc.Object.SetIsArchived.Response](#anytype.Rpc.Object.SetIsArchived.Response) - - [Rpc.Object.SetIsArchived.Response.Error](#anytype.Rpc.Object.SetIsArchived.Response.Error) - - [Rpc.Object.SetIsFavorite](#anytype.Rpc.Object.SetIsFavorite) - - [Rpc.Object.SetIsFavorite.Request](#anytype.Rpc.Object.SetIsFavorite.Request) - - [Rpc.Object.SetIsFavorite.Response](#anytype.Rpc.Object.SetIsFavorite.Response) - - [Rpc.Object.SetIsFavorite.Response.Error](#anytype.Rpc.Object.SetIsFavorite.Response.Error) - - [Rpc.Object.SetLayout](#anytype.Rpc.Object.SetLayout) - - [Rpc.Object.SetLayout.Request](#anytype.Rpc.Object.SetLayout.Request) - - [Rpc.Object.SetLayout.Response](#anytype.Rpc.Object.SetLayout.Response) - - [Rpc.Object.SetLayout.Response.Error](#anytype.Rpc.Object.SetLayout.Response.Error) - - [Rpc.Object.SetObjectType](#anytype.Rpc.Object.SetObjectType) - - [Rpc.Object.SetObjectType.Request](#anytype.Rpc.Object.SetObjectType.Request) - - [Rpc.Object.SetObjectType.Response](#anytype.Rpc.Object.SetObjectType.Response) - - [Rpc.Object.SetObjectType.Response.Error](#anytype.Rpc.Object.SetObjectType.Response.Error) - - [Rpc.Object.SetSource](#anytype.Rpc.Object.SetSource) - - [Rpc.Object.SetSource.Request](#anytype.Rpc.Object.SetSource.Request) - - [Rpc.Object.SetSource.Response](#anytype.Rpc.Object.SetSource.Response) - - [Rpc.Object.SetSource.Response.Error](#anytype.Rpc.Object.SetSource.Response.Error) - - [Rpc.Object.ShareByLink](#anytype.Rpc.Object.ShareByLink) - - [Rpc.Object.ShareByLink.Request](#anytype.Rpc.Object.ShareByLink.Request) - - [Rpc.Object.ShareByLink.Response](#anytype.Rpc.Object.ShareByLink.Response) - - [Rpc.Object.ShareByLink.Response.Error](#anytype.Rpc.Object.ShareByLink.Response.Error) - - [Rpc.Object.Show](#anytype.Rpc.Object.Show) - - [Rpc.Object.Show.Request](#anytype.Rpc.Object.Show.Request) - - [Rpc.Object.Show.Response](#anytype.Rpc.Object.Show.Response) - - [Rpc.Object.Show.Response.Error](#anytype.Rpc.Object.Show.Response.Error) - - [Rpc.Object.SubscribeIds](#anytype.Rpc.Object.SubscribeIds) - - [Rpc.Object.SubscribeIds.Request](#anytype.Rpc.Object.SubscribeIds.Request) - - [Rpc.Object.SubscribeIds.Response](#anytype.Rpc.Object.SubscribeIds.Response) - - [Rpc.Object.SubscribeIds.Response.Error](#anytype.Rpc.Object.SubscribeIds.Response.Error) - - [Rpc.Object.ToBookmark](#anytype.Rpc.Object.ToBookmark) - - [Rpc.Object.ToBookmark.Request](#anytype.Rpc.Object.ToBookmark.Request) - - [Rpc.Object.ToBookmark.Response](#anytype.Rpc.Object.ToBookmark.Response) - - [Rpc.Object.ToBookmark.Response.Error](#anytype.Rpc.Object.ToBookmark.Response.Error) - - [Rpc.Object.ToCollection](#anytype.Rpc.Object.ToCollection) - - [Rpc.Object.ToCollection.Request](#anytype.Rpc.Object.ToCollection.Request) - - [Rpc.Object.ToCollection.Response](#anytype.Rpc.Object.ToCollection.Response) - - [Rpc.Object.ToCollection.Response.Error](#anytype.Rpc.Object.ToCollection.Response.Error) - - [Rpc.Object.ToSet](#anytype.Rpc.Object.ToSet) - - [Rpc.Object.ToSet.Request](#anytype.Rpc.Object.ToSet.Request) - - [Rpc.Object.ToSet.Response](#anytype.Rpc.Object.ToSet.Response) - - [Rpc.Object.ToSet.Response.Error](#anytype.Rpc.Object.ToSet.Response.Error) - - [Rpc.Object.Undo](#anytype.Rpc.Object.Undo) - - [Rpc.Object.Undo.Request](#anytype.Rpc.Object.Undo.Request) - - [Rpc.Object.Undo.Response](#anytype.Rpc.Object.Undo.Response) - - [Rpc.Object.Undo.Response.Error](#anytype.Rpc.Object.Undo.Response.Error) - - [Rpc.Object.UndoRedoCounter](#anytype.Rpc.Object.UndoRedoCounter) - - [Rpc.Object.WorkspaceSetDashboard](#anytype.Rpc.Object.WorkspaceSetDashboard) - - [Rpc.Object.WorkspaceSetDashboard.Request](#anytype.Rpc.Object.WorkspaceSetDashboard.Request) - - [Rpc.Object.WorkspaceSetDashboard.Response](#anytype.Rpc.Object.WorkspaceSetDashboard.Response) - - [Rpc.Object.WorkspaceSetDashboard.Response.Error](#anytype.Rpc.Object.WorkspaceSetDashboard.Response.Error) - - [Rpc.ObjectCollection](#anytype.Rpc.ObjectCollection) - - [Rpc.ObjectCollection.Add](#anytype.Rpc.ObjectCollection.Add) - - [Rpc.ObjectCollection.Add.Request](#anytype.Rpc.ObjectCollection.Add.Request) - - [Rpc.ObjectCollection.Add.Response](#anytype.Rpc.ObjectCollection.Add.Response) - - [Rpc.ObjectCollection.Add.Response.Error](#anytype.Rpc.ObjectCollection.Add.Response.Error) - - [Rpc.ObjectCollection.Remove](#anytype.Rpc.ObjectCollection.Remove) - - [Rpc.ObjectCollection.Remove.Request](#anytype.Rpc.ObjectCollection.Remove.Request) - - [Rpc.ObjectCollection.Remove.Response](#anytype.Rpc.ObjectCollection.Remove.Response) - - [Rpc.ObjectCollection.Remove.Response.Error](#anytype.Rpc.ObjectCollection.Remove.Response.Error) - - [Rpc.ObjectCollection.Sort](#anytype.Rpc.ObjectCollection.Sort) - - [Rpc.ObjectCollection.Sort.Request](#anytype.Rpc.ObjectCollection.Sort.Request) - - [Rpc.ObjectCollection.Sort.Response](#anytype.Rpc.ObjectCollection.Sort.Response) - - [Rpc.ObjectCollection.Sort.Response.Error](#anytype.Rpc.ObjectCollection.Sort.Response.Error) - - [Rpc.ObjectRelation](#anytype.Rpc.ObjectRelation) - - [Rpc.ObjectRelation.Add](#anytype.Rpc.ObjectRelation.Add) - - [Rpc.ObjectRelation.Add.Request](#anytype.Rpc.ObjectRelation.Add.Request) - - [Rpc.ObjectRelation.Add.Response](#anytype.Rpc.ObjectRelation.Add.Response) - - [Rpc.ObjectRelation.Add.Response.Error](#anytype.Rpc.ObjectRelation.Add.Response.Error) - - [Rpc.ObjectRelation.AddFeatured](#anytype.Rpc.ObjectRelation.AddFeatured) - - [Rpc.ObjectRelation.AddFeatured.Request](#anytype.Rpc.ObjectRelation.AddFeatured.Request) - - [Rpc.ObjectRelation.AddFeatured.Response](#anytype.Rpc.ObjectRelation.AddFeatured.Response) - - [Rpc.ObjectRelation.AddFeatured.Response.Error](#anytype.Rpc.ObjectRelation.AddFeatured.Response.Error) - - [Rpc.ObjectRelation.Delete](#anytype.Rpc.ObjectRelation.Delete) - - [Rpc.ObjectRelation.Delete.Request](#anytype.Rpc.ObjectRelation.Delete.Request) - - [Rpc.ObjectRelation.Delete.Response](#anytype.Rpc.ObjectRelation.Delete.Response) - - [Rpc.ObjectRelation.Delete.Response.Error](#anytype.Rpc.ObjectRelation.Delete.Response.Error) - - [Rpc.ObjectRelation.ListAvailable](#anytype.Rpc.ObjectRelation.ListAvailable) - - [Rpc.ObjectRelation.ListAvailable.Request](#anytype.Rpc.ObjectRelation.ListAvailable.Request) - - [Rpc.ObjectRelation.ListAvailable.Response](#anytype.Rpc.ObjectRelation.ListAvailable.Response) - - [Rpc.ObjectRelation.ListAvailable.Response.Error](#anytype.Rpc.ObjectRelation.ListAvailable.Response.Error) - - [Rpc.ObjectRelation.RemoveFeatured](#anytype.Rpc.ObjectRelation.RemoveFeatured) - - [Rpc.ObjectRelation.RemoveFeatured.Request](#anytype.Rpc.ObjectRelation.RemoveFeatured.Request) - - [Rpc.ObjectRelation.RemoveFeatured.Response](#anytype.Rpc.ObjectRelation.RemoveFeatured.Response) - - [Rpc.ObjectRelation.RemoveFeatured.Response.Error](#anytype.Rpc.ObjectRelation.RemoveFeatured.Response.Error) - - [Rpc.ObjectType](#anytype.Rpc.ObjectType) - - [Rpc.ObjectType.Relation](#anytype.Rpc.ObjectType.Relation) - - [Rpc.ObjectType.Relation.Add](#anytype.Rpc.ObjectType.Relation.Add) - - [Rpc.ObjectType.Relation.Add.Request](#anytype.Rpc.ObjectType.Relation.Add.Request) - - [Rpc.ObjectType.Relation.Add.Response](#anytype.Rpc.ObjectType.Relation.Add.Response) - - [Rpc.ObjectType.Relation.Add.Response.Error](#anytype.Rpc.ObjectType.Relation.Add.Response.Error) - - [Rpc.ObjectType.Relation.List](#anytype.Rpc.ObjectType.Relation.List) - - [Rpc.ObjectType.Relation.List.Request](#anytype.Rpc.ObjectType.Relation.List.Request) - - [Rpc.ObjectType.Relation.List.Response](#anytype.Rpc.ObjectType.Relation.List.Response) - - [Rpc.ObjectType.Relation.List.Response.Error](#anytype.Rpc.ObjectType.Relation.List.Response.Error) - - [Rpc.ObjectType.Relation.Remove](#anytype.Rpc.ObjectType.Relation.Remove) - - [Rpc.ObjectType.Relation.Remove.Request](#anytype.Rpc.ObjectType.Relation.Remove.Request) - - [Rpc.ObjectType.Relation.Remove.Response](#anytype.Rpc.ObjectType.Relation.Remove.Response) - - [Rpc.ObjectType.Relation.Remove.Response.Error](#anytype.Rpc.ObjectType.Relation.Remove.Response.Error) - - [Rpc.Process](#anytype.Rpc.Process) - - [Rpc.Process.Cancel](#anytype.Rpc.Process.Cancel) - - [Rpc.Process.Cancel.Request](#anytype.Rpc.Process.Cancel.Request) - - [Rpc.Process.Cancel.Response](#anytype.Rpc.Process.Cancel.Response) - - [Rpc.Process.Cancel.Response.Error](#anytype.Rpc.Process.Cancel.Response.Error) - - [Rpc.Relation](#anytype.Rpc.Relation) - - [Rpc.Relation.ListRemoveOption](#anytype.Rpc.Relation.ListRemoveOption) - - [Rpc.Relation.ListRemoveOption.Request](#anytype.Rpc.Relation.ListRemoveOption.Request) - - [Rpc.Relation.ListRemoveOption.Response](#anytype.Rpc.Relation.ListRemoveOption.Response) - - [Rpc.Relation.ListRemoveOption.Response.Error](#anytype.Rpc.Relation.ListRemoveOption.Response.Error) - - [Rpc.Relation.Options](#anytype.Rpc.Relation.Options) - - [Rpc.Relation.Options.Request](#anytype.Rpc.Relation.Options.Request) - - [Rpc.Relation.Options.Response](#anytype.Rpc.Relation.Options.Response) - - [Rpc.Relation.Options.Response.Error](#anytype.Rpc.Relation.Options.Response.Error) - - [Rpc.Template](#anytype.Rpc.Template) - - [Rpc.Template.Clone](#anytype.Rpc.Template.Clone) - - [Rpc.Template.Clone.Request](#anytype.Rpc.Template.Clone.Request) - - [Rpc.Template.Clone.Response](#anytype.Rpc.Template.Clone.Response) - - [Rpc.Template.Clone.Response.Error](#anytype.Rpc.Template.Clone.Response.Error) - - [Rpc.Template.CreateFromObject](#anytype.Rpc.Template.CreateFromObject) - - [Rpc.Template.CreateFromObject.Request](#anytype.Rpc.Template.CreateFromObject.Request) - - [Rpc.Template.CreateFromObject.Response](#anytype.Rpc.Template.CreateFromObject.Response) - - [Rpc.Template.CreateFromObject.Response.Error](#anytype.Rpc.Template.CreateFromObject.Response.Error) - - [Rpc.Template.CreateFromObjectType](#anytype.Rpc.Template.CreateFromObjectType) - - [Rpc.Template.CreateFromObjectType.Request](#anytype.Rpc.Template.CreateFromObjectType.Request) - - [Rpc.Template.CreateFromObjectType.Response](#anytype.Rpc.Template.CreateFromObjectType.Response) - - [Rpc.Template.CreateFromObjectType.Response.Error](#anytype.Rpc.Template.CreateFromObjectType.Response.Error) - - [Rpc.Template.ExportAll](#anytype.Rpc.Template.ExportAll) - - [Rpc.Template.ExportAll.Request](#anytype.Rpc.Template.ExportAll.Request) - - [Rpc.Template.ExportAll.Response](#anytype.Rpc.Template.ExportAll.Response) - - [Rpc.Template.ExportAll.Response.Error](#anytype.Rpc.Template.ExportAll.Response.Error) - - [Rpc.Unsplash](#anytype.Rpc.Unsplash) - - [Rpc.Unsplash.Download](#anytype.Rpc.Unsplash.Download) - - [Rpc.Unsplash.Download.Request](#anytype.Rpc.Unsplash.Download.Request) - - [Rpc.Unsplash.Download.Response](#anytype.Rpc.Unsplash.Download.Response) - - [Rpc.Unsplash.Download.Response.Error](#anytype.Rpc.Unsplash.Download.Response.Error) - - [Rpc.Unsplash.Search](#anytype.Rpc.Unsplash.Search) - - [Rpc.Unsplash.Search.Request](#anytype.Rpc.Unsplash.Search.Request) - - [Rpc.Unsplash.Search.Response](#anytype.Rpc.Unsplash.Search.Response) - - [Rpc.Unsplash.Search.Response.Error](#anytype.Rpc.Unsplash.Search.Response.Error) - - [Rpc.Unsplash.Search.Response.Picture](#anytype.Rpc.Unsplash.Search.Response.Picture) - - [Rpc.UserData](#anytype.Rpc.UserData) - - [Rpc.UserData.Dump](#anytype.Rpc.UserData.Dump) - - [Rpc.UserData.Dump.Request](#anytype.Rpc.UserData.Dump.Request) - - [Rpc.UserData.Dump.Response](#anytype.Rpc.UserData.Dump.Response) - - [Rpc.UserData.Dump.Response.Error](#anytype.Rpc.UserData.Dump.Response.Error) - - [Rpc.Wallet](#anytype.Rpc.Wallet) - - [Rpc.Wallet.CloseSession](#anytype.Rpc.Wallet.CloseSession) - - [Rpc.Wallet.CloseSession.Request](#anytype.Rpc.Wallet.CloseSession.Request) - - [Rpc.Wallet.CloseSession.Response](#anytype.Rpc.Wallet.CloseSession.Response) - - [Rpc.Wallet.CloseSession.Response.Error](#anytype.Rpc.Wallet.CloseSession.Response.Error) - - [Rpc.Wallet.Convert](#anytype.Rpc.Wallet.Convert) - - [Rpc.Wallet.Convert.Request](#anytype.Rpc.Wallet.Convert.Request) - - [Rpc.Wallet.Convert.Response](#anytype.Rpc.Wallet.Convert.Response) - - [Rpc.Wallet.Convert.Response.Error](#anytype.Rpc.Wallet.Convert.Response.Error) - - [Rpc.Wallet.Create](#anytype.Rpc.Wallet.Create) - - [Rpc.Wallet.Create.Request](#anytype.Rpc.Wallet.Create.Request) - - [Rpc.Wallet.Create.Response](#anytype.Rpc.Wallet.Create.Response) - - [Rpc.Wallet.Create.Response.Error](#anytype.Rpc.Wallet.Create.Response.Error) - - [Rpc.Wallet.CreateSession](#anytype.Rpc.Wallet.CreateSession) - - [Rpc.Wallet.CreateSession.Request](#anytype.Rpc.Wallet.CreateSession.Request) - - [Rpc.Wallet.CreateSession.Response](#anytype.Rpc.Wallet.CreateSession.Response) - - [Rpc.Wallet.CreateSession.Response.Error](#anytype.Rpc.Wallet.CreateSession.Response.Error) - - [Rpc.Wallet.Recover](#anytype.Rpc.Wallet.Recover) - - [Rpc.Wallet.Recover.Request](#anytype.Rpc.Wallet.Recover.Request) - - [Rpc.Wallet.Recover.Response](#anytype.Rpc.Wallet.Recover.Response) - - [Rpc.Wallet.Recover.Response.Error](#anytype.Rpc.Wallet.Recover.Response.Error) - - [Rpc.Workspace](#anytype.Rpc.Workspace) - - [Rpc.Workspace.Create](#anytype.Rpc.Workspace.Create) - - [Rpc.Workspace.Create.Request](#anytype.Rpc.Workspace.Create.Request) - - [Rpc.Workspace.Create.Response](#anytype.Rpc.Workspace.Create.Response) - - [Rpc.Workspace.Create.Response.Error](#anytype.Rpc.Workspace.Create.Response.Error) - - [Rpc.Workspace.Export](#anytype.Rpc.Workspace.Export) - - [Rpc.Workspace.Export.Request](#anytype.Rpc.Workspace.Export.Request) - - [Rpc.Workspace.Export.Response](#anytype.Rpc.Workspace.Export.Response) - - [Rpc.Workspace.Export.Response.Error](#anytype.Rpc.Workspace.Export.Response.Error) - - [Rpc.Workspace.GetAll](#anytype.Rpc.Workspace.GetAll) - - [Rpc.Workspace.GetAll.Request](#anytype.Rpc.Workspace.GetAll.Request) - - [Rpc.Workspace.GetAll.Response](#anytype.Rpc.Workspace.GetAll.Response) - - [Rpc.Workspace.GetAll.Response.Error](#anytype.Rpc.Workspace.GetAll.Response.Error) - - [Rpc.Workspace.GetCurrent](#anytype.Rpc.Workspace.GetCurrent) - - [Rpc.Workspace.GetCurrent.Request](#anytype.Rpc.Workspace.GetCurrent.Request) - - [Rpc.Workspace.GetCurrent.Response](#anytype.Rpc.Workspace.GetCurrent.Response) - - [Rpc.Workspace.GetCurrent.Response.Error](#anytype.Rpc.Workspace.GetCurrent.Response.Error) - - [Rpc.Workspace.Object](#anytype.Rpc.Workspace.Object) - - [Rpc.Workspace.Object.Add](#anytype.Rpc.Workspace.Object.Add) - - [Rpc.Workspace.Object.Add.Request](#anytype.Rpc.Workspace.Object.Add.Request) - - [Rpc.Workspace.Object.Add.Response](#anytype.Rpc.Workspace.Object.Add.Response) - - [Rpc.Workspace.Object.Add.Response.Error](#anytype.Rpc.Workspace.Object.Add.Response.Error) - - [Rpc.Workspace.Object.ListAdd](#anytype.Rpc.Workspace.Object.ListAdd) - - [Rpc.Workspace.Object.ListAdd.Request](#anytype.Rpc.Workspace.Object.ListAdd.Request) - - [Rpc.Workspace.Object.ListAdd.Response](#anytype.Rpc.Workspace.Object.ListAdd.Response) - - [Rpc.Workspace.Object.ListAdd.Response.Error](#anytype.Rpc.Workspace.Object.ListAdd.Response.Error) - - [Rpc.Workspace.Object.ListRemove](#anytype.Rpc.Workspace.Object.ListRemove) - - [Rpc.Workspace.Object.ListRemove.Request](#anytype.Rpc.Workspace.Object.ListRemove.Request) - - [Rpc.Workspace.Object.ListRemove.Response](#anytype.Rpc.Workspace.Object.ListRemove.Response) - - [Rpc.Workspace.Object.ListRemove.Response.Error](#anytype.Rpc.Workspace.Object.ListRemove.Response.Error) - - [Rpc.Workspace.Select](#anytype.Rpc.Workspace.Select) - - [Rpc.Workspace.Select.Request](#anytype.Rpc.Workspace.Select.Request) - - [Rpc.Workspace.Select.Response](#anytype.Rpc.Workspace.Select.Response) - - [Rpc.Workspace.Select.Response.Error](#anytype.Rpc.Workspace.Select.Response.Error) - - [Rpc.Workspace.SetIsHighlighted](#anytype.Rpc.Workspace.SetIsHighlighted) - - [Rpc.Workspace.SetIsHighlighted.Request](#anytype.Rpc.Workspace.SetIsHighlighted.Request) - - [Rpc.Workspace.SetIsHighlighted.Response](#anytype.Rpc.Workspace.SetIsHighlighted.Response) - - [Rpc.Workspace.SetIsHighlighted.Response.Error](#anytype.Rpc.Workspace.SetIsHighlighted.Response.Error) - - [StreamRequest](#anytype.StreamRequest) +- [pb/protos/commands.proto](#pb_protos_commands-proto) + - [Empty](#anytype-Empty) + - [Rpc](#anytype-Rpc) + - [Rpc.Account](#anytype-Rpc-Account) + - [Rpc.Account.Config](#anytype-Rpc-Account-Config) + - [Rpc.Account.ConfigUpdate](#anytype-Rpc-Account-ConfigUpdate) + - [Rpc.Account.ConfigUpdate.Request](#anytype-Rpc-Account-ConfigUpdate-Request) + - [Rpc.Account.ConfigUpdate.Response](#anytype-Rpc-Account-ConfigUpdate-Response) + - [Rpc.Account.ConfigUpdate.Response.Error](#anytype-Rpc-Account-ConfigUpdate-Response-Error) + - [Rpc.Account.Create](#anytype-Rpc-Account-Create) + - [Rpc.Account.Create.Request](#anytype-Rpc-Account-Create-Request) + - [Rpc.Account.Create.Response](#anytype-Rpc-Account-Create-Response) + - [Rpc.Account.Create.Response.Error](#anytype-Rpc-Account-Create-Response-Error) + - [Rpc.Account.Delete](#anytype-Rpc-Account-Delete) + - [Rpc.Account.Delete.Request](#anytype-Rpc-Account-Delete-Request) + - [Rpc.Account.Delete.Response](#anytype-Rpc-Account-Delete-Response) + - [Rpc.Account.Delete.Response.Error](#anytype-Rpc-Account-Delete-Response-Error) + - [Rpc.Account.GetConfig](#anytype-Rpc-Account-GetConfig) + - [Rpc.Account.GetConfig.Get](#anytype-Rpc-Account-GetConfig-Get) + - [Rpc.Account.GetConfig.Get.Request](#anytype-Rpc-Account-GetConfig-Get-Request) + - [Rpc.Account.Move](#anytype-Rpc-Account-Move) + - [Rpc.Account.Move.Request](#anytype-Rpc-Account-Move-Request) + - [Rpc.Account.Move.Response](#anytype-Rpc-Account-Move-Response) + - [Rpc.Account.Move.Response.Error](#anytype-Rpc-Account-Move-Response-Error) + - [Rpc.Account.Recover](#anytype-Rpc-Account-Recover) + - [Rpc.Account.Recover.Request](#anytype-Rpc-Account-Recover-Request) + - [Rpc.Account.Recover.Response](#anytype-Rpc-Account-Recover-Response) + - [Rpc.Account.Recover.Response.Error](#anytype-Rpc-Account-Recover-Response-Error) + - [Rpc.Account.RecoverFromLegacyExport](#anytype-Rpc-Account-RecoverFromLegacyExport) + - [Rpc.Account.RecoverFromLegacyExport.Request](#anytype-Rpc-Account-RecoverFromLegacyExport-Request) + - [Rpc.Account.RecoverFromLegacyExport.Response](#anytype-Rpc-Account-RecoverFromLegacyExport-Response) + - [Rpc.Account.RecoverFromLegacyExport.Response.Error](#anytype-Rpc-Account-RecoverFromLegacyExport-Response-Error) + - [Rpc.Account.Select](#anytype-Rpc-Account-Select) + - [Rpc.Account.Select.Request](#anytype-Rpc-Account-Select-Request) + - [Rpc.Account.Select.Response](#anytype-Rpc-Account-Select-Response) + - [Rpc.Account.Select.Response.Error](#anytype-Rpc-Account-Select-Response-Error) + - [Rpc.Account.Stop](#anytype-Rpc-Account-Stop) + - [Rpc.Account.Stop.Request](#anytype-Rpc-Account-Stop-Request) + - [Rpc.Account.Stop.Response](#anytype-Rpc-Account-Stop-Response) + - [Rpc.Account.Stop.Response.Error](#anytype-Rpc-Account-Stop-Response-Error) + - [Rpc.App](#anytype-Rpc-App) + - [Rpc.App.GetVersion](#anytype-Rpc-App-GetVersion) + - [Rpc.App.GetVersion.Request](#anytype-Rpc-App-GetVersion-Request) + - [Rpc.App.GetVersion.Response](#anytype-Rpc-App-GetVersion-Response) + - [Rpc.App.GetVersion.Response.Error](#anytype-Rpc-App-GetVersion-Response-Error) + - [Rpc.App.SetDeviceState](#anytype-Rpc-App-SetDeviceState) + - [Rpc.App.SetDeviceState.Request](#anytype-Rpc-App-SetDeviceState-Request) + - [Rpc.App.SetDeviceState.Response](#anytype-Rpc-App-SetDeviceState-Response) + - [Rpc.App.SetDeviceState.Response.Error](#anytype-Rpc-App-SetDeviceState-Response-Error) + - [Rpc.App.Shutdown](#anytype-Rpc-App-Shutdown) + - [Rpc.App.Shutdown.Request](#anytype-Rpc-App-Shutdown-Request) + - [Rpc.App.Shutdown.Response](#anytype-Rpc-App-Shutdown-Response) + - [Rpc.App.Shutdown.Response.Error](#anytype-Rpc-App-Shutdown-Response-Error) + - [Rpc.Block](#anytype-Rpc-Block) + - [Rpc.Block.Copy](#anytype-Rpc-Block-Copy) + - [Rpc.Block.Copy.Request](#anytype-Rpc-Block-Copy-Request) + - [Rpc.Block.Copy.Response](#anytype-Rpc-Block-Copy-Response) + - [Rpc.Block.Copy.Response.Error](#anytype-Rpc-Block-Copy-Response-Error) + - [Rpc.Block.Create](#anytype-Rpc-Block-Create) + - [Rpc.Block.Create.Request](#anytype-Rpc-Block-Create-Request) + - [Rpc.Block.Create.Response](#anytype-Rpc-Block-Create-Response) + - [Rpc.Block.Create.Response.Error](#anytype-Rpc-Block-Create-Response-Error) + - [Rpc.Block.CreateWidget](#anytype-Rpc-Block-CreateWidget) + - [Rpc.Block.CreateWidget.Request](#anytype-Rpc-Block-CreateWidget-Request) + - [Rpc.Block.CreateWidget.Response](#anytype-Rpc-Block-CreateWidget-Response) + - [Rpc.Block.CreateWidget.Response.Error](#anytype-Rpc-Block-CreateWidget-Response-Error) + - [Rpc.Block.Cut](#anytype-Rpc-Block-Cut) + - [Rpc.Block.Cut.Request](#anytype-Rpc-Block-Cut-Request) + - [Rpc.Block.Cut.Response](#anytype-Rpc-Block-Cut-Response) + - [Rpc.Block.Cut.Response.Error](#anytype-Rpc-Block-Cut-Response-Error) + - [Rpc.Block.Download](#anytype-Rpc-Block-Download) + - [Rpc.Block.Download.Request](#anytype-Rpc-Block-Download-Request) + - [Rpc.Block.Download.Response](#anytype-Rpc-Block-Download-Response) + - [Rpc.Block.Download.Response.Error](#anytype-Rpc-Block-Download-Response-Error) + - [Rpc.Block.Export](#anytype-Rpc-Block-Export) + - [Rpc.Block.Export.Request](#anytype-Rpc-Block-Export-Request) + - [Rpc.Block.Export.Response](#anytype-Rpc-Block-Export-Response) + - [Rpc.Block.Export.Response.Error](#anytype-Rpc-Block-Export-Response-Error) + - [Rpc.Block.ListConvertToObjects](#anytype-Rpc-Block-ListConvertToObjects) + - [Rpc.Block.ListConvertToObjects.Request](#anytype-Rpc-Block-ListConvertToObjects-Request) + - [Rpc.Block.ListConvertToObjects.Response](#anytype-Rpc-Block-ListConvertToObjects-Response) + - [Rpc.Block.ListConvertToObjects.Response.Error](#anytype-Rpc-Block-ListConvertToObjects-Response-Error) + - [Rpc.Block.ListDelete](#anytype-Rpc-Block-ListDelete) + - [Rpc.Block.ListDelete.Request](#anytype-Rpc-Block-ListDelete-Request) + - [Rpc.Block.ListDelete.Response](#anytype-Rpc-Block-ListDelete-Response) + - [Rpc.Block.ListDelete.Response.Error](#anytype-Rpc-Block-ListDelete-Response-Error) + - [Rpc.Block.ListDuplicate](#anytype-Rpc-Block-ListDuplicate) + - [Rpc.Block.ListDuplicate.Request](#anytype-Rpc-Block-ListDuplicate-Request) + - [Rpc.Block.ListDuplicate.Response](#anytype-Rpc-Block-ListDuplicate-Response) + - [Rpc.Block.ListDuplicate.Response.Error](#anytype-Rpc-Block-ListDuplicate-Response-Error) + - [Rpc.Block.ListMoveToExistingObject](#anytype-Rpc-Block-ListMoveToExistingObject) + - [Rpc.Block.ListMoveToExistingObject.Request](#anytype-Rpc-Block-ListMoveToExistingObject-Request) + - [Rpc.Block.ListMoveToExistingObject.Response](#anytype-Rpc-Block-ListMoveToExistingObject-Response) + - [Rpc.Block.ListMoveToExistingObject.Response.Error](#anytype-Rpc-Block-ListMoveToExistingObject-Response-Error) + - [Rpc.Block.ListMoveToNewObject](#anytype-Rpc-Block-ListMoveToNewObject) + - [Rpc.Block.ListMoveToNewObject.Request](#anytype-Rpc-Block-ListMoveToNewObject-Request) + - [Rpc.Block.ListMoveToNewObject.Response](#anytype-Rpc-Block-ListMoveToNewObject-Response) + - [Rpc.Block.ListMoveToNewObject.Response.Error](#anytype-Rpc-Block-ListMoveToNewObject-Response-Error) + - [Rpc.Block.ListSetAlign](#anytype-Rpc-Block-ListSetAlign) + - [Rpc.Block.ListSetAlign.Request](#anytype-Rpc-Block-ListSetAlign-Request) + - [Rpc.Block.ListSetAlign.Response](#anytype-Rpc-Block-ListSetAlign-Response) + - [Rpc.Block.ListSetAlign.Response.Error](#anytype-Rpc-Block-ListSetAlign-Response-Error) + - [Rpc.Block.ListSetBackgroundColor](#anytype-Rpc-Block-ListSetBackgroundColor) + - [Rpc.Block.ListSetBackgroundColor.Request](#anytype-Rpc-Block-ListSetBackgroundColor-Request) + - [Rpc.Block.ListSetBackgroundColor.Response](#anytype-Rpc-Block-ListSetBackgroundColor-Response) + - [Rpc.Block.ListSetBackgroundColor.Response.Error](#anytype-Rpc-Block-ListSetBackgroundColor-Response-Error) + - [Rpc.Block.ListSetFields](#anytype-Rpc-Block-ListSetFields) + - [Rpc.Block.ListSetFields.Request](#anytype-Rpc-Block-ListSetFields-Request) + - [Rpc.Block.ListSetFields.Request.BlockField](#anytype-Rpc-Block-ListSetFields-Request-BlockField) + - [Rpc.Block.ListSetFields.Response](#anytype-Rpc-Block-ListSetFields-Response) + - [Rpc.Block.ListSetFields.Response.Error](#anytype-Rpc-Block-ListSetFields-Response-Error) + - [Rpc.Block.ListSetVerticalAlign](#anytype-Rpc-Block-ListSetVerticalAlign) + - [Rpc.Block.ListSetVerticalAlign.Request](#anytype-Rpc-Block-ListSetVerticalAlign-Request) + - [Rpc.Block.ListSetVerticalAlign.Response](#anytype-Rpc-Block-ListSetVerticalAlign-Response) + - [Rpc.Block.ListSetVerticalAlign.Response.Error](#anytype-Rpc-Block-ListSetVerticalAlign-Response-Error) + - [Rpc.Block.ListTurnInto](#anytype-Rpc-Block-ListTurnInto) + - [Rpc.Block.ListTurnInto.Request](#anytype-Rpc-Block-ListTurnInto-Request) + - [Rpc.Block.ListTurnInto.Response](#anytype-Rpc-Block-ListTurnInto-Response) + - [Rpc.Block.ListTurnInto.Response.Error](#anytype-Rpc-Block-ListTurnInto-Response-Error) + - [Rpc.Block.ListUpdate](#anytype-Rpc-Block-ListUpdate) + - [Rpc.Block.ListUpdate.Request](#anytype-Rpc-Block-ListUpdate-Request) + - [Rpc.Block.ListUpdate.Request.Text](#anytype-Rpc-Block-ListUpdate-Request-Text) + - [Rpc.Block.Merge](#anytype-Rpc-Block-Merge) + - [Rpc.Block.Merge.Request](#anytype-Rpc-Block-Merge-Request) + - [Rpc.Block.Merge.Response](#anytype-Rpc-Block-Merge-Response) + - [Rpc.Block.Merge.Response.Error](#anytype-Rpc-Block-Merge-Response-Error) + - [Rpc.Block.Paste](#anytype-Rpc-Block-Paste) + - [Rpc.Block.Paste.Request](#anytype-Rpc-Block-Paste-Request) + - [Rpc.Block.Paste.Request.File](#anytype-Rpc-Block-Paste-Request-File) + - [Rpc.Block.Paste.Response](#anytype-Rpc-Block-Paste-Response) + - [Rpc.Block.Paste.Response.Error](#anytype-Rpc-Block-Paste-Response-Error) + - [Rpc.Block.Replace](#anytype-Rpc-Block-Replace) + - [Rpc.Block.Replace.Request](#anytype-Rpc-Block-Replace-Request) + - [Rpc.Block.Replace.Response](#anytype-Rpc-Block-Replace-Response) + - [Rpc.Block.Replace.Response.Error](#anytype-Rpc-Block-Replace-Response-Error) + - [Rpc.Block.SetFields](#anytype-Rpc-Block-SetFields) + - [Rpc.Block.SetFields.Request](#anytype-Rpc-Block-SetFields-Request) + - [Rpc.Block.SetFields.Response](#anytype-Rpc-Block-SetFields-Response) + - [Rpc.Block.SetFields.Response.Error](#anytype-Rpc-Block-SetFields-Response-Error) + - [Rpc.Block.Split](#anytype-Rpc-Block-Split) + - [Rpc.Block.Split.Request](#anytype-Rpc-Block-Split-Request) + - [Rpc.Block.Split.Response](#anytype-Rpc-Block-Split-Response) + - [Rpc.Block.Split.Response.Error](#anytype-Rpc-Block-Split-Response-Error) + - [Rpc.Block.Upload](#anytype-Rpc-Block-Upload) + - [Rpc.Block.Upload.Request](#anytype-Rpc-Block-Upload-Request) + - [Rpc.Block.Upload.Response](#anytype-Rpc-Block-Upload-Response) + - [Rpc.Block.Upload.Response.Error](#anytype-Rpc-Block-Upload-Response-Error) + - [Rpc.BlockBookmark](#anytype-Rpc-BlockBookmark) + - [Rpc.BlockBookmark.CreateAndFetch](#anytype-Rpc-BlockBookmark-CreateAndFetch) + - [Rpc.BlockBookmark.CreateAndFetch.Request](#anytype-Rpc-BlockBookmark-CreateAndFetch-Request) + - [Rpc.BlockBookmark.CreateAndFetch.Response](#anytype-Rpc-BlockBookmark-CreateAndFetch-Response) + - [Rpc.BlockBookmark.CreateAndFetch.Response.Error](#anytype-Rpc-BlockBookmark-CreateAndFetch-Response-Error) + - [Rpc.BlockBookmark.Fetch](#anytype-Rpc-BlockBookmark-Fetch) + - [Rpc.BlockBookmark.Fetch.Request](#anytype-Rpc-BlockBookmark-Fetch-Request) + - [Rpc.BlockBookmark.Fetch.Response](#anytype-Rpc-BlockBookmark-Fetch-Response) + - [Rpc.BlockBookmark.Fetch.Response.Error](#anytype-Rpc-BlockBookmark-Fetch-Response-Error) + - [Rpc.BlockDataview](#anytype-Rpc-BlockDataview) + - [Rpc.BlockDataview.CreateBookmark](#anytype-Rpc-BlockDataview-CreateBookmark) + - [Rpc.BlockDataview.CreateBookmark.Request](#anytype-Rpc-BlockDataview-CreateBookmark-Request) + - [Rpc.BlockDataview.CreateBookmark.Response](#anytype-Rpc-BlockDataview-CreateBookmark-Response) + - [Rpc.BlockDataview.CreateBookmark.Response.Error](#anytype-Rpc-BlockDataview-CreateBookmark-Response-Error) + - [Rpc.BlockDataview.CreateFromExistingObject](#anytype-Rpc-BlockDataview-CreateFromExistingObject) + - [Rpc.BlockDataview.CreateFromExistingObject.Request](#anytype-Rpc-BlockDataview-CreateFromExistingObject-Request) + - [Rpc.BlockDataview.CreateFromExistingObject.Response](#anytype-Rpc-BlockDataview-CreateFromExistingObject-Response) + - [Rpc.BlockDataview.CreateFromExistingObject.Response.Error](#anytype-Rpc-BlockDataview-CreateFromExistingObject-Response-Error) + - [Rpc.BlockDataview.Filter](#anytype-Rpc-BlockDataview-Filter) + - [Rpc.BlockDataview.Filter.Add](#anytype-Rpc-BlockDataview-Filter-Add) + - [Rpc.BlockDataview.Filter.Add.Request](#anytype-Rpc-BlockDataview-Filter-Add-Request) + - [Rpc.BlockDataview.Filter.Add.Response](#anytype-Rpc-BlockDataview-Filter-Add-Response) + - [Rpc.BlockDataview.Filter.Add.Response.Error](#anytype-Rpc-BlockDataview-Filter-Add-Response-Error) + - [Rpc.BlockDataview.Filter.Remove](#anytype-Rpc-BlockDataview-Filter-Remove) + - [Rpc.BlockDataview.Filter.Remove.Request](#anytype-Rpc-BlockDataview-Filter-Remove-Request) + - [Rpc.BlockDataview.Filter.Remove.Response](#anytype-Rpc-BlockDataview-Filter-Remove-Response) + - [Rpc.BlockDataview.Filter.Remove.Response.Error](#anytype-Rpc-BlockDataview-Filter-Remove-Response-Error) + - [Rpc.BlockDataview.Filter.Replace](#anytype-Rpc-BlockDataview-Filter-Replace) + - [Rpc.BlockDataview.Filter.Replace.Request](#anytype-Rpc-BlockDataview-Filter-Replace-Request) + - [Rpc.BlockDataview.Filter.Replace.Response](#anytype-Rpc-BlockDataview-Filter-Replace-Response) + - [Rpc.BlockDataview.Filter.Replace.Response.Error](#anytype-Rpc-BlockDataview-Filter-Replace-Response-Error) + - [Rpc.BlockDataview.Filter.Sort](#anytype-Rpc-BlockDataview-Filter-Sort) + - [Rpc.BlockDataview.Filter.Sort.Request](#anytype-Rpc-BlockDataview-Filter-Sort-Request) + - [Rpc.BlockDataview.Filter.Sort.Response](#anytype-Rpc-BlockDataview-Filter-Sort-Response) + - [Rpc.BlockDataview.Filter.Sort.Response.Error](#anytype-Rpc-BlockDataview-Filter-Sort-Response-Error) + - [Rpc.BlockDataview.GroupOrder](#anytype-Rpc-BlockDataview-GroupOrder) + - [Rpc.BlockDataview.GroupOrder.Update](#anytype-Rpc-BlockDataview-GroupOrder-Update) + - [Rpc.BlockDataview.GroupOrder.Update.Request](#anytype-Rpc-BlockDataview-GroupOrder-Update-Request) + - [Rpc.BlockDataview.GroupOrder.Update.Response](#anytype-Rpc-BlockDataview-GroupOrder-Update-Response) + - [Rpc.BlockDataview.GroupOrder.Update.Response.Error](#anytype-Rpc-BlockDataview-GroupOrder-Update-Response-Error) + - [Rpc.BlockDataview.ObjectOrder](#anytype-Rpc-BlockDataview-ObjectOrder) + - [Rpc.BlockDataview.ObjectOrder.Move](#anytype-Rpc-BlockDataview-ObjectOrder-Move) + - [Rpc.BlockDataview.ObjectOrder.Move.Request](#anytype-Rpc-BlockDataview-ObjectOrder-Move-Request) + - [Rpc.BlockDataview.ObjectOrder.Move.Response](#anytype-Rpc-BlockDataview-ObjectOrder-Move-Response) + - [Rpc.BlockDataview.ObjectOrder.Move.Response.Error](#anytype-Rpc-BlockDataview-ObjectOrder-Move-Response-Error) + - [Rpc.BlockDataview.ObjectOrder.Update](#anytype-Rpc-BlockDataview-ObjectOrder-Update) + - [Rpc.BlockDataview.ObjectOrder.Update.Request](#anytype-Rpc-BlockDataview-ObjectOrder-Update-Request) + - [Rpc.BlockDataview.ObjectOrder.Update.Response](#anytype-Rpc-BlockDataview-ObjectOrder-Update-Response) + - [Rpc.BlockDataview.ObjectOrder.Update.Response.Error](#anytype-Rpc-BlockDataview-ObjectOrder-Update-Response-Error) + - [Rpc.BlockDataview.Relation](#anytype-Rpc-BlockDataview-Relation) + - [Rpc.BlockDataview.Relation.Add](#anytype-Rpc-BlockDataview-Relation-Add) + - [Rpc.BlockDataview.Relation.Add.Request](#anytype-Rpc-BlockDataview-Relation-Add-Request) + - [Rpc.BlockDataview.Relation.Add.Response](#anytype-Rpc-BlockDataview-Relation-Add-Response) + - [Rpc.BlockDataview.Relation.Add.Response.Error](#anytype-Rpc-BlockDataview-Relation-Add-Response-Error) + - [Rpc.BlockDataview.Relation.Delete](#anytype-Rpc-BlockDataview-Relation-Delete) + - [Rpc.BlockDataview.Relation.Delete.Request](#anytype-Rpc-BlockDataview-Relation-Delete-Request) + - [Rpc.BlockDataview.Relation.Delete.Response](#anytype-Rpc-BlockDataview-Relation-Delete-Response) + - [Rpc.BlockDataview.Relation.Delete.Response.Error](#anytype-Rpc-BlockDataview-Relation-Delete-Response-Error) + - [Rpc.BlockDataview.Relation.ListAvailable](#anytype-Rpc-BlockDataview-Relation-ListAvailable) + - [Rpc.BlockDataview.Relation.ListAvailable.Request](#anytype-Rpc-BlockDataview-Relation-ListAvailable-Request) + - [Rpc.BlockDataview.Relation.ListAvailable.Response](#anytype-Rpc-BlockDataview-Relation-ListAvailable-Response) + - [Rpc.BlockDataview.Relation.ListAvailable.Response.Error](#anytype-Rpc-BlockDataview-Relation-ListAvailable-Response-Error) + - [Rpc.BlockDataview.SetSource](#anytype-Rpc-BlockDataview-SetSource) + - [Rpc.BlockDataview.SetSource.Request](#anytype-Rpc-BlockDataview-SetSource-Request) + - [Rpc.BlockDataview.SetSource.Response](#anytype-Rpc-BlockDataview-SetSource-Response) + - [Rpc.BlockDataview.SetSource.Response.Error](#anytype-Rpc-BlockDataview-SetSource-Response-Error) + - [Rpc.BlockDataview.Sort](#anytype-Rpc-BlockDataview-Sort) + - [Rpc.BlockDataview.Sort.Add](#anytype-Rpc-BlockDataview-Sort-Add) + - [Rpc.BlockDataview.Sort.Add.Request](#anytype-Rpc-BlockDataview-Sort-Add-Request) + - [Rpc.BlockDataview.Sort.Add.Response](#anytype-Rpc-BlockDataview-Sort-Add-Response) + - [Rpc.BlockDataview.Sort.Add.Response.Error](#anytype-Rpc-BlockDataview-Sort-Add-Response-Error) + - [Rpc.BlockDataview.Sort.Remove](#anytype-Rpc-BlockDataview-Sort-Remove) + - [Rpc.BlockDataview.Sort.Remove.Request](#anytype-Rpc-BlockDataview-Sort-Remove-Request) + - [Rpc.BlockDataview.Sort.Remove.Response](#anytype-Rpc-BlockDataview-Sort-Remove-Response) + - [Rpc.BlockDataview.Sort.Remove.Response.Error](#anytype-Rpc-BlockDataview-Sort-Remove-Response-Error) + - [Rpc.BlockDataview.Sort.Replace](#anytype-Rpc-BlockDataview-Sort-Replace) + - [Rpc.BlockDataview.Sort.Replace.Request](#anytype-Rpc-BlockDataview-Sort-Replace-Request) + - [Rpc.BlockDataview.Sort.Replace.Response](#anytype-Rpc-BlockDataview-Sort-Replace-Response) + - [Rpc.BlockDataview.Sort.Replace.Response.Error](#anytype-Rpc-BlockDataview-Sort-Replace-Response-Error) + - [Rpc.BlockDataview.Sort.Sort](#anytype-Rpc-BlockDataview-Sort-Sort) + - [Rpc.BlockDataview.Sort.Sort.Request](#anytype-Rpc-BlockDataview-Sort-Sort-Request) + - [Rpc.BlockDataview.Sort.Sort.Response](#anytype-Rpc-BlockDataview-Sort-Sort-Response) + - [Rpc.BlockDataview.Sort.Sort.Response.Error](#anytype-Rpc-BlockDataview-Sort-Sort-Response-Error) + - [Rpc.BlockDataview.View](#anytype-Rpc-BlockDataview-View) + - [Rpc.BlockDataview.View.Create](#anytype-Rpc-BlockDataview-View-Create) + - [Rpc.BlockDataview.View.Create.Request](#anytype-Rpc-BlockDataview-View-Create-Request) + - [Rpc.BlockDataview.View.Create.Response](#anytype-Rpc-BlockDataview-View-Create-Response) + - [Rpc.BlockDataview.View.Create.Response.Error](#anytype-Rpc-BlockDataview-View-Create-Response-Error) + - [Rpc.BlockDataview.View.Delete](#anytype-Rpc-BlockDataview-View-Delete) + - [Rpc.BlockDataview.View.Delete.Request](#anytype-Rpc-BlockDataview-View-Delete-Request) + - [Rpc.BlockDataview.View.Delete.Response](#anytype-Rpc-BlockDataview-View-Delete-Response) + - [Rpc.BlockDataview.View.Delete.Response.Error](#anytype-Rpc-BlockDataview-View-Delete-Response-Error) + - [Rpc.BlockDataview.View.SetActive](#anytype-Rpc-BlockDataview-View-SetActive) + - [Rpc.BlockDataview.View.SetActive.Request](#anytype-Rpc-BlockDataview-View-SetActive-Request) + - [Rpc.BlockDataview.View.SetActive.Response](#anytype-Rpc-BlockDataview-View-SetActive-Response) + - [Rpc.BlockDataview.View.SetActive.Response.Error](#anytype-Rpc-BlockDataview-View-SetActive-Response-Error) + - [Rpc.BlockDataview.View.SetPosition](#anytype-Rpc-BlockDataview-View-SetPosition) + - [Rpc.BlockDataview.View.SetPosition.Request](#anytype-Rpc-BlockDataview-View-SetPosition-Request) + - [Rpc.BlockDataview.View.SetPosition.Response](#anytype-Rpc-BlockDataview-View-SetPosition-Response) + - [Rpc.BlockDataview.View.SetPosition.Response.Error](#anytype-Rpc-BlockDataview-View-SetPosition-Response-Error) + - [Rpc.BlockDataview.View.Update](#anytype-Rpc-BlockDataview-View-Update) + - [Rpc.BlockDataview.View.Update.Request](#anytype-Rpc-BlockDataview-View-Update-Request) + - [Rpc.BlockDataview.View.Update.Response](#anytype-Rpc-BlockDataview-View-Update-Response) + - [Rpc.BlockDataview.View.Update.Response.Error](#anytype-Rpc-BlockDataview-View-Update-Response-Error) + - [Rpc.BlockDataview.ViewRelation](#anytype-Rpc-BlockDataview-ViewRelation) + - [Rpc.BlockDataview.ViewRelation.Add](#anytype-Rpc-BlockDataview-ViewRelation-Add) + - [Rpc.BlockDataview.ViewRelation.Add.Request](#anytype-Rpc-BlockDataview-ViewRelation-Add-Request) + - [Rpc.BlockDataview.ViewRelation.Add.Response](#anytype-Rpc-BlockDataview-ViewRelation-Add-Response) + - [Rpc.BlockDataview.ViewRelation.Add.Response.Error](#anytype-Rpc-BlockDataview-ViewRelation-Add-Response-Error) + - [Rpc.BlockDataview.ViewRelation.Remove](#anytype-Rpc-BlockDataview-ViewRelation-Remove) + - [Rpc.BlockDataview.ViewRelation.Remove.Request](#anytype-Rpc-BlockDataview-ViewRelation-Remove-Request) + - [Rpc.BlockDataview.ViewRelation.Remove.Response](#anytype-Rpc-BlockDataview-ViewRelation-Remove-Response) + - [Rpc.BlockDataview.ViewRelation.Remove.Response.Error](#anytype-Rpc-BlockDataview-ViewRelation-Remove-Response-Error) + - [Rpc.BlockDataview.ViewRelation.Replace](#anytype-Rpc-BlockDataview-ViewRelation-Replace) + - [Rpc.BlockDataview.ViewRelation.Replace.Request](#anytype-Rpc-BlockDataview-ViewRelation-Replace-Request) + - [Rpc.BlockDataview.ViewRelation.Replace.Response](#anytype-Rpc-BlockDataview-ViewRelation-Replace-Response) + - [Rpc.BlockDataview.ViewRelation.Replace.Response.Error](#anytype-Rpc-BlockDataview-ViewRelation-Replace-Response-Error) + - [Rpc.BlockDataview.ViewRelation.Sort](#anytype-Rpc-BlockDataview-ViewRelation-Sort) + - [Rpc.BlockDataview.ViewRelation.Sort.Request](#anytype-Rpc-BlockDataview-ViewRelation-Sort-Request) + - [Rpc.BlockDataview.ViewRelation.Sort.Response](#anytype-Rpc-BlockDataview-ViewRelation-Sort-Response) + - [Rpc.BlockDataview.ViewRelation.Sort.Response.Error](#anytype-Rpc-BlockDataview-ViewRelation-Sort-Response-Error) + - [Rpc.BlockDiv](#anytype-Rpc-BlockDiv) + - [Rpc.BlockDiv.ListSetStyle](#anytype-Rpc-BlockDiv-ListSetStyle) + - [Rpc.BlockDiv.ListSetStyle.Request](#anytype-Rpc-BlockDiv-ListSetStyle-Request) + - [Rpc.BlockDiv.ListSetStyle.Response](#anytype-Rpc-BlockDiv-ListSetStyle-Response) + - [Rpc.BlockDiv.ListSetStyle.Response.Error](#anytype-Rpc-BlockDiv-ListSetStyle-Response-Error) + - [Rpc.BlockFile](#anytype-Rpc-BlockFile) + - [Rpc.BlockFile.CreateAndUpload](#anytype-Rpc-BlockFile-CreateAndUpload) + - [Rpc.BlockFile.CreateAndUpload.Request](#anytype-Rpc-BlockFile-CreateAndUpload-Request) + - [Rpc.BlockFile.CreateAndUpload.Response](#anytype-Rpc-BlockFile-CreateAndUpload-Response) + - [Rpc.BlockFile.CreateAndUpload.Response.Error](#anytype-Rpc-BlockFile-CreateAndUpload-Response-Error) + - [Rpc.BlockFile.ListSetStyle](#anytype-Rpc-BlockFile-ListSetStyle) + - [Rpc.BlockFile.ListSetStyle.Request](#anytype-Rpc-BlockFile-ListSetStyle-Request) + - [Rpc.BlockFile.ListSetStyle.Response](#anytype-Rpc-BlockFile-ListSetStyle-Response) + - [Rpc.BlockFile.ListSetStyle.Response.Error](#anytype-Rpc-BlockFile-ListSetStyle-Response-Error) + - [Rpc.BlockFile.SetName](#anytype-Rpc-BlockFile-SetName) + - [Rpc.BlockFile.SetName.Request](#anytype-Rpc-BlockFile-SetName-Request) + - [Rpc.BlockFile.SetName.Response](#anytype-Rpc-BlockFile-SetName-Response) + - [Rpc.BlockFile.SetName.Response.Error](#anytype-Rpc-BlockFile-SetName-Response-Error) + - [Rpc.BlockImage](#anytype-Rpc-BlockImage) + - [Rpc.BlockImage.SetName](#anytype-Rpc-BlockImage-SetName) + - [Rpc.BlockImage.SetName.Request](#anytype-Rpc-BlockImage-SetName-Request) + - [Rpc.BlockImage.SetName.Response](#anytype-Rpc-BlockImage-SetName-Response) + - [Rpc.BlockImage.SetName.Response.Error](#anytype-Rpc-BlockImage-SetName-Response-Error) + - [Rpc.BlockImage.SetWidth](#anytype-Rpc-BlockImage-SetWidth) + - [Rpc.BlockImage.SetWidth.Request](#anytype-Rpc-BlockImage-SetWidth-Request) + - [Rpc.BlockImage.SetWidth.Response](#anytype-Rpc-BlockImage-SetWidth-Response) + - [Rpc.BlockImage.SetWidth.Response.Error](#anytype-Rpc-BlockImage-SetWidth-Response-Error) + - [Rpc.BlockLatex](#anytype-Rpc-BlockLatex) + - [Rpc.BlockLatex.SetText](#anytype-Rpc-BlockLatex-SetText) + - [Rpc.BlockLatex.SetText.Request](#anytype-Rpc-BlockLatex-SetText-Request) + - [Rpc.BlockLatex.SetText.Response](#anytype-Rpc-BlockLatex-SetText-Response) + - [Rpc.BlockLatex.SetText.Response.Error](#anytype-Rpc-BlockLatex-SetText-Response-Error) + - [Rpc.BlockLink](#anytype-Rpc-BlockLink) + - [Rpc.BlockLink.CreateWithObject](#anytype-Rpc-BlockLink-CreateWithObject) + - [Rpc.BlockLink.CreateWithObject.Request](#anytype-Rpc-BlockLink-CreateWithObject-Request) + - [Rpc.BlockLink.CreateWithObject.Response](#anytype-Rpc-BlockLink-CreateWithObject-Response) + - [Rpc.BlockLink.CreateWithObject.Response.Error](#anytype-Rpc-BlockLink-CreateWithObject-Response-Error) + - [Rpc.BlockLink.ListSetAppearance](#anytype-Rpc-BlockLink-ListSetAppearance) + - [Rpc.BlockLink.ListSetAppearance.Request](#anytype-Rpc-BlockLink-ListSetAppearance-Request) + - [Rpc.BlockLink.ListSetAppearance.Response](#anytype-Rpc-BlockLink-ListSetAppearance-Response) + - [Rpc.BlockLink.ListSetAppearance.Response.Error](#anytype-Rpc-BlockLink-ListSetAppearance-Response-Error) + - [Rpc.BlockRelation](#anytype-Rpc-BlockRelation) + - [Rpc.BlockRelation.Add](#anytype-Rpc-BlockRelation-Add) + - [Rpc.BlockRelation.Add.Request](#anytype-Rpc-BlockRelation-Add-Request) + - [Rpc.BlockRelation.Add.Response](#anytype-Rpc-BlockRelation-Add-Response) + - [Rpc.BlockRelation.Add.Response.Error](#anytype-Rpc-BlockRelation-Add-Response-Error) + - [Rpc.BlockRelation.SetKey](#anytype-Rpc-BlockRelation-SetKey) + - [Rpc.BlockRelation.SetKey.Request](#anytype-Rpc-BlockRelation-SetKey-Request) + - [Rpc.BlockRelation.SetKey.Response](#anytype-Rpc-BlockRelation-SetKey-Response) + - [Rpc.BlockRelation.SetKey.Response.Error](#anytype-Rpc-BlockRelation-SetKey-Response-Error) + - [Rpc.BlockTable](#anytype-Rpc-BlockTable) + - [Rpc.BlockTable.ColumnCreate](#anytype-Rpc-BlockTable-ColumnCreate) + - [Rpc.BlockTable.ColumnCreate.Request](#anytype-Rpc-BlockTable-ColumnCreate-Request) + - [Rpc.BlockTable.ColumnCreate.Response](#anytype-Rpc-BlockTable-ColumnCreate-Response) + - [Rpc.BlockTable.ColumnCreate.Response.Error](#anytype-Rpc-BlockTable-ColumnCreate-Response-Error) + - [Rpc.BlockTable.ColumnDelete](#anytype-Rpc-BlockTable-ColumnDelete) + - [Rpc.BlockTable.ColumnDelete.Request](#anytype-Rpc-BlockTable-ColumnDelete-Request) + - [Rpc.BlockTable.ColumnDelete.Response](#anytype-Rpc-BlockTable-ColumnDelete-Response) + - [Rpc.BlockTable.ColumnDelete.Response.Error](#anytype-Rpc-BlockTable-ColumnDelete-Response-Error) + - [Rpc.BlockTable.ColumnDuplicate](#anytype-Rpc-BlockTable-ColumnDuplicate) + - [Rpc.BlockTable.ColumnDuplicate.Request](#anytype-Rpc-BlockTable-ColumnDuplicate-Request) + - [Rpc.BlockTable.ColumnDuplicate.Response](#anytype-Rpc-BlockTable-ColumnDuplicate-Response) + - [Rpc.BlockTable.ColumnDuplicate.Response.Error](#anytype-Rpc-BlockTable-ColumnDuplicate-Response-Error) + - [Rpc.BlockTable.ColumnListFill](#anytype-Rpc-BlockTable-ColumnListFill) + - [Rpc.BlockTable.ColumnListFill.Request](#anytype-Rpc-BlockTable-ColumnListFill-Request) + - [Rpc.BlockTable.ColumnListFill.Response](#anytype-Rpc-BlockTable-ColumnListFill-Response) + - [Rpc.BlockTable.ColumnListFill.Response.Error](#anytype-Rpc-BlockTable-ColumnListFill-Response-Error) + - [Rpc.BlockTable.ColumnMove](#anytype-Rpc-BlockTable-ColumnMove) + - [Rpc.BlockTable.ColumnMove.Request](#anytype-Rpc-BlockTable-ColumnMove-Request) + - [Rpc.BlockTable.ColumnMove.Response](#anytype-Rpc-BlockTable-ColumnMove-Response) + - [Rpc.BlockTable.ColumnMove.Response.Error](#anytype-Rpc-BlockTable-ColumnMove-Response-Error) + - [Rpc.BlockTable.Create](#anytype-Rpc-BlockTable-Create) + - [Rpc.BlockTable.Create.Request](#anytype-Rpc-BlockTable-Create-Request) + - [Rpc.BlockTable.Create.Response](#anytype-Rpc-BlockTable-Create-Response) + - [Rpc.BlockTable.Create.Response.Error](#anytype-Rpc-BlockTable-Create-Response-Error) + - [Rpc.BlockTable.Expand](#anytype-Rpc-BlockTable-Expand) + - [Rpc.BlockTable.Expand.Request](#anytype-Rpc-BlockTable-Expand-Request) + - [Rpc.BlockTable.Expand.Response](#anytype-Rpc-BlockTable-Expand-Response) + - [Rpc.BlockTable.Expand.Response.Error](#anytype-Rpc-BlockTable-Expand-Response-Error) + - [Rpc.BlockTable.RowCreate](#anytype-Rpc-BlockTable-RowCreate) + - [Rpc.BlockTable.RowCreate.Request](#anytype-Rpc-BlockTable-RowCreate-Request) + - [Rpc.BlockTable.RowCreate.Response](#anytype-Rpc-BlockTable-RowCreate-Response) + - [Rpc.BlockTable.RowCreate.Response.Error](#anytype-Rpc-BlockTable-RowCreate-Response-Error) + - [Rpc.BlockTable.RowDelete](#anytype-Rpc-BlockTable-RowDelete) + - [Rpc.BlockTable.RowDelete.Request](#anytype-Rpc-BlockTable-RowDelete-Request) + - [Rpc.BlockTable.RowDelete.Response](#anytype-Rpc-BlockTable-RowDelete-Response) + - [Rpc.BlockTable.RowDelete.Response.Error](#anytype-Rpc-BlockTable-RowDelete-Response-Error) + - [Rpc.BlockTable.RowDuplicate](#anytype-Rpc-BlockTable-RowDuplicate) + - [Rpc.BlockTable.RowDuplicate.Request](#anytype-Rpc-BlockTable-RowDuplicate-Request) + - [Rpc.BlockTable.RowDuplicate.Response](#anytype-Rpc-BlockTable-RowDuplicate-Response) + - [Rpc.BlockTable.RowDuplicate.Response.Error](#anytype-Rpc-BlockTable-RowDuplicate-Response-Error) + - [Rpc.BlockTable.RowListClean](#anytype-Rpc-BlockTable-RowListClean) + - [Rpc.BlockTable.RowListClean.Request](#anytype-Rpc-BlockTable-RowListClean-Request) + - [Rpc.BlockTable.RowListClean.Response](#anytype-Rpc-BlockTable-RowListClean-Response) + - [Rpc.BlockTable.RowListClean.Response.Error](#anytype-Rpc-BlockTable-RowListClean-Response-Error) + - [Rpc.BlockTable.RowListFill](#anytype-Rpc-BlockTable-RowListFill) + - [Rpc.BlockTable.RowListFill.Request](#anytype-Rpc-BlockTable-RowListFill-Request) + - [Rpc.BlockTable.RowListFill.Response](#anytype-Rpc-BlockTable-RowListFill-Response) + - [Rpc.BlockTable.RowListFill.Response.Error](#anytype-Rpc-BlockTable-RowListFill-Response-Error) + - [Rpc.BlockTable.RowSetHeader](#anytype-Rpc-BlockTable-RowSetHeader) + - [Rpc.BlockTable.RowSetHeader.Request](#anytype-Rpc-BlockTable-RowSetHeader-Request) + - [Rpc.BlockTable.RowSetHeader.Response](#anytype-Rpc-BlockTable-RowSetHeader-Response) + - [Rpc.BlockTable.RowSetHeader.Response.Error](#anytype-Rpc-BlockTable-RowSetHeader-Response-Error) + - [Rpc.BlockTable.Sort](#anytype-Rpc-BlockTable-Sort) + - [Rpc.BlockTable.Sort.Request](#anytype-Rpc-BlockTable-Sort-Request) + - [Rpc.BlockTable.Sort.Response](#anytype-Rpc-BlockTable-Sort-Response) + - [Rpc.BlockTable.Sort.Response.Error](#anytype-Rpc-BlockTable-Sort-Response-Error) + - [Rpc.BlockText](#anytype-Rpc-BlockText) + - [Rpc.BlockText.ListClearContent](#anytype-Rpc-BlockText-ListClearContent) + - [Rpc.BlockText.ListClearContent.Request](#anytype-Rpc-BlockText-ListClearContent-Request) + - [Rpc.BlockText.ListClearContent.Response](#anytype-Rpc-BlockText-ListClearContent-Response) + - [Rpc.BlockText.ListClearContent.Response.Error](#anytype-Rpc-BlockText-ListClearContent-Response-Error) + - [Rpc.BlockText.ListClearStyle](#anytype-Rpc-BlockText-ListClearStyle) + - [Rpc.BlockText.ListClearStyle.Request](#anytype-Rpc-BlockText-ListClearStyle-Request) + - [Rpc.BlockText.ListClearStyle.Response](#anytype-Rpc-BlockText-ListClearStyle-Response) + - [Rpc.BlockText.ListClearStyle.Response.Error](#anytype-Rpc-BlockText-ListClearStyle-Response-Error) + - [Rpc.BlockText.ListSetColor](#anytype-Rpc-BlockText-ListSetColor) + - [Rpc.BlockText.ListSetColor.Request](#anytype-Rpc-BlockText-ListSetColor-Request) + - [Rpc.BlockText.ListSetColor.Response](#anytype-Rpc-BlockText-ListSetColor-Response) + - [Rpc.BlockText.ListSetColor.Response.Error](#anytype-Rpc-BlockText-ListSetColor-Response-Error) + - [Rpc.BlockText.ListSetMark](#anytype-Rpc-BlockText-ListSetMark) + - [Rpc.BlockText.ListSetMark.Request](#anytype-Rpc-BlockText-ListSetMark-Request) + - [Rpc.BlockText.ListSetMark.Response](#anytype-Rpc-BlockText-ListSetMark-Response) + - [Rpc.BlockText.ListSetMark.Response.Error](#anytype-Rpc-BlockText-ListSetMark-Response-Error) + - [Rpc.BlockText.ListSetStyle](#anytype-Rpc-BlockText-ListSetStyle) + - [Rpc.BlockText.ListSetStyle.Request](#anytype-Rpc-BlockText-ListSetStyle-Request) + - [Rpc.BlockText.ListSetStyle.Response](#anytype-Rpc-BlockText-ListSetStyle-Response) + - [Rpc.BlockText.ListSetStyle.Response.Error](#anytype-Rpc-BlockText-ListSetStyle-Response-Error) + - [Rpc.BlockText.SetChecked](#anytype-Rpc-BlockText-SetChecked) + - [Rpc.BlockText.SetChecked.Request](#anytype-Rpc-BlockText-SetChecked-Request) + - [Rpc.BlockText.SetChecked.Response](#anytype-Rpc-BlockText-SetChecked-Response) + - [Rpc.BlockText.SetChecked.Response.Error](#anytype-Rpc-BlockText-SetChecked-Response-Error) + - [Rpc.BlockText.SetColor](#anytype-Rpc-BlockText-SetColor) + - [Rpc.BlockText.SetColor.Request](#anytype-Rpc-BlockText-SetColor-Request) + - [Rpc.BlockText.SetColor.Response](#anytype-Rpc-BlockText-SetColor-Response) + - [Rpc.BlockText.SetColor.Response.Error](#anytype-Rpc-BlockText-SetColor-Response-Error) + - [Rpc.BlockText.SetIcon](#anytype-Rpc-BlockText-SetIcon) + - [Rpc.BlockText.SetIcon.Request](#anytype-Rpc-BlockText-SetIcon-Request) + - [Rpc.BlockText.SetIcon.Response](#anytype-Rpc-BlockText-SetIcon-Response) + - [Rpc.BlockText.SetIcon.Response.Error](#anytype-Rpc-BlockText-SetIcon-Response-Error) + - [Rpc.BlockText.SetMarks](#anytype-Rpc-BlockText-SetMarks) + - [Rpc.BlockText.SetMarks.Get](#anytype-Rpc-BlockText-SetMarks-Get) + - [Rpc.BlockText.SetMarks.Get.Request](#anytype-Rpc-BlockText-SetMarks-Get-Request) + - [Rpc.BlockText.SetMarks.Get.Response](#anytype-Rpc-BlockText-SetMarks-Get-Response) + - [Rpc.BlockText.SetMarks.Get.Response.Error](#anytype-Rpc-BlockText-SetMarks-Get-Response-Error) + - [Rpc.BlockText.SetStyle](#anytype-Rpc-BlockText-SetStyle) + - [Rpc.BlockText.SetStyle.Request](#anytype-Rpc-BlockText-SetStyle-Request) + - [Rpc.BlockText.SetStyle.Response](#anytype-Rpc-BlockText-SetStyle-Response) + - [Rpc.BlockText.SetStyle.Response.Error](#anytype-Rpc-BlockText-SetStyle-Response-Error) + - [Rpc.BlockText.SetText](#anytype-Rpc-BlockText-SetText) + - [Rpc.BlockText.SetText.Request](#anytype-Rpc-BlockText-SetText-Request) + - [Rpc.BlockText.SetText.Response](#anytype-Rpc-BlockText-SetText-Response) + - [Rpc.BlockText.SetText.Response.Error](#anytype-Rpc-BlockText-SetText-Response-Error) + - [Rpc.BlockVideo](#anytype-Rpc-BlockVideo) + - [Rpc.BlockVideo.SetName](#anytype-Rpc-BlockVideo-SetName) + - [Rpc.BlockVideo.SetName.Request](#anytype-Rpc-BlockVideo-SetName-Request) + - [Rpc.BlockVideo.SetName.Response](#anytype-Rpc-BlockVideo-SetName-Response) + - [Rpc.BlockVideo.SetName.Response.Error](#anytype-Rpc-BlockVideo-SetName-Response-Error) + - [Rpc.BlockVideo.SetWidth](#anytype-Rpc-BlockVideo-SetWidth) + - [Rpc.BlockVideo.SetWidth.Request](#anytype-Rpc-BlockVideo-SetWidth-Request) + - [Rpc.BlockVideo.SetWidth.Response](#anytype-Rpc-BlockVideo-SetWidth-Response) + - [Rpc.BlockVideo.SetWidth.Response.Error](#anytype-Rpc-BlockVideo-SetWidth-Response-Error) + - [Rpc.BlockWidget](#anytype-Rpc-BlockWidget) + - [Rpc.BlockWidget.SetLayout](#anytype-Rpc-BlockWidget-SetLayout) + - [Rpc.BlockWidget.SetLayout.Request](#anytype-Rpc-BlockWidget-SetLayout-Request) + - [Rpc.BlockWidget.SetLayout.Response](#anytype-Rpc-BlockWidget-SetLayout-Response) + - [Rpc.BlockWidget.SetLayout.Response.Error](#anytype-Rpc-BlockWidget-SetLayout-Response-Error) + - [Rpc.BlockWidget.SetLimit](#anytype-Rpc-BlockWidget-SetLimit) + - [Rpc.BlockWidget.SetLimit.Request](#anytype-Rpc-BlockWidget-SetLimit-Request) + - [Rpc.BlockWidget.SetLimit.Response](#anytype-Rpc-BlockWidget-SetLimit-Response) + - [Rpc.BlockWidget.SetLimit.Response.Error](#anytype-Rpc-BlockWidget-SetLimit-Response-Error) + - [Rpc.BlockWidget.SetTargetId](#anytype-Rpc-BlockWidget-SetTargetId) + - [Rpc.BlockWidget.SetTargetId.Request](#anytype-Rpc-BlockWidget-SetTargetId-Request) + - [Rpc.BlockWidget.SetTargetId.Response](#anytype-Rpc-BlockWidget-SetTargetId-Response) + - [Rpc.BlockWidget.SetTargetId.Response.Error](#anytype-Rpc-BlockWidget-SetTargetId-Response-Error) + - [Rpc.BlockWidget.SetViewId](#anytype-Rpc-BlockWidget-SetViewId) + - [Rpc.BlockWidget.SetViewId.Request](#anytype-Rpc-BlockWidget-SetViewId-Request) + - [Rpc.BlockWidget.SetViewId.Response](#anytype-Rpc-BlockWidget-SetViewId-Response) + - [Rpc.BlockWidget.SetViewId.Response.Error](#anytype-Rpc-BlockWidget-SetViewId-Response-Error) + - [Rpc.Debug](#anytype-Rpc-Debug) + - [Rpc.Debug.ExportLocalstore](#anytype-Rpc-Debug-ExportLocalstore) + - [Rpc.Debug.ExportLocalstore.Request](#anytype-Rpc-Debug-ExportLocalstore-Request) + - [Rpc.Debug.ExportLocalstore.Response](#anytype-Rpc-Debug-ExportLocalstore-Response) + - [Rpc.Debug.ExportLocalstore.Response.Error](#anytype-Rpc-Debug-ExportLocalstore-Response-Error) + - [Rpc.Debug.Ping](#anytype-Rpc-Debug-Ping) + - [Rpc.Debug.Ping.Request](#anytype-Rpc-Debug-Ping-Request) + - [Rpc.Debug.Ping.Response](#anytype-Rpc-Debug-Ping-Response) + - [Rpc.Debug.Ping.Response.Error](#anytype-Rpc-Debug-Ping-Response-Error) + - [Rpc.Debug.SpaceSummary](#anytype-Rpc-Debug-SpaceSummary) + - [Rpc.Debug.SpaceSummary.Request](#anytype-Rpc-Debug-SpaceSummary-Request) + - [Rpc.Debug.SpaceSummary.Response](#anytype-Rpc-Debug-SpaceSummary-Response) + - [Rpc.Debug.SpaceSummary.Response.Error](#anytype-Rpc-Debug-SpaceSummary-Response-Error) + - [Rpc.Debug.Tree](#anytype-Rpc-Debug-Tree) + - [Rpc.Debug.Tree.Request](#anytype-Rpc-Debug-Tree-Request) + - [Rpc.Debug.Tree.Response](#anytype-Rpc-Debug-Tree-Response) + - [Rpc.Debug.Tree.Response.Error](#anytype-Rpc-Debug-Tree-Response-Error) + - [Rpc.Debug.TreeHeads](#anytype-Rpc-Debug-TreeHeads) + - [Rpc.Debug.TreeHeads.Request](#anytype-Rpc-Debug-TreeHeads-Request) + - [Rpc.Debug.TreeHeads.Response](#anytype-Rpc-Debug-TreeHeads-Response) + - [Rpc.Debug.TreeHeads.Response.Error](#anytype-Rpc-Debug-TreeHeads-Response-Error) + - [Rpc.Debug.TreeInfo](#anytype-Rpc-Debug-TreeInfo) + - [Rpc.File](#anytype-Rpc-File) + - [Rpc.File.Download](#anytype-Rpc-File-Download) + - [Rpc.File.Download.Request](#anytype-Rpc-File-Download-Request) + - [Rpc.File.Download.Response](#anytype-Rpc-File-Download-Response) + - [Rpc.File.Download.Response.Error](#anytype-Rpc-File-Download-Response-Error) + - [Rpc.File.Drop](#anytype-Rpc-File-Drop) + - [Rpc.File.Drop.Request](#anytype-Rpc-File-Drop-Request) + - [Rpc.File.Drop.Response](#anytype-Rpc-File-Drop-Response) + - [Rpc.File.Drop.Response.Error](#anytype-Rpc-File-Drop-Response-Error) + - [Rpc.File.ListOffload](#anytype-Rpc-File-ListOffload) + - [Rpc.File.ListOffload.Request](#anytype-Rpc-File-ListOffload-Request) + - [Rpc.File.ListOffload.Response](#anytype-Rpc-File-ListOffload-Response) + - [Rpc.File.ListOffload.Response.Error](#anytype-Rpc-File-ListOffload-Response-Error) + - [Rpc.File.Offload](#anytype-Rpc-File-Offload) + - [Rpc.File.Offload.Request](#anytype-Rpc-File-Offload-Request) + - [Rpc.File.Offload.Response](#anytype-Rpc-File-Offload-Response) + - [Rpc.File.Offload.Response.Error](#anytype-Rpc-File-Offload-Response-Error) + - [Rpc.File.SpaceUsage](#anytype-Rpc-File-SpaceUsage) + - [Rpc.File.SpaceUsage.Request](#anytype-Rpc-File-SpaceUsage-Request) + - [Rpc.File.SpaceUsage.Response](#anytype-Rpc-File-SpaceUsage-Response) + - [Rpc.File.SpaceUsage.Response.Error](#anytype-Rpc-File-SpaceUsage-Response-Error) + - [Rpc.File.SpaceUsage.Response.Usage](#anytype-Rpc-File-SpaceUsage-Response-Usage) + - [Rpc.File.Upload](#anytype-Rpc-File-Upload) + - [Rpc.File.Upload.Request](#anytype-Rpc-File-Upload-Request) + - [Rpc.File.Upload.Response](#anytype-Rpc-File-Upload-Response) + - [Rpc.File.Upload.Response.Error](#anytype-Rpc-File-Upload-Response-Error) + - [Rpc.GenericErrorResponse](#anytype-Rpc-GenericErrorResponse) + - [Rpc.GenericErrorResponse.Error](#anytype-Rpc-GenericErrorResponse-Error) + - [Rpc.History](#anytype-Rpc-History) + - [Rpc.History.GetVersions](#anytype-Rpc-History-GetVersions) + - [Rpc.History.GetVersions.Request](#anytype-Rpc-History-GetVersions-Request) + - [Rpc.History.GetVersions.Response](#anytype-Rpc-History-GetVersions-Response) + - [Rpc.History.GetVersions.Response.Error](#anytype-Rpc-History-GetVersions-Response-Error) + - [Rpc.History.SetVersion](#anytype-Rpc-History-SetVersion) + - [Rpc.History.SetVersion.Request](#anytype-Rpc-History-SetVersion-Request) + - [Rpc.History.SetVersion.Response](#anytype-Rpc-History-SetVersion-Response) + - [Rpc.History.SetVersion.Response.Error](#anytype-Rpc-History-SetVersion-Response-Error) + - [Rpc.History.ShowVersion](#anytype-Rpc-History-ShowVersion) + - [Rpc.History.ShowVersion.Request](#anytype-Rpc-History-ShowVersion-Request) + - [Rpc.History.ShowVersion.Response](#anytype-Rpc-History-ShowVersion-Response) + - [Rpc.History.ShowVersion.Response.Error](#anytype-Rpc-History-ShowVersion-Response-Error) + - [Rpc.History.Version](#anytype-Rpc-History-Version) + - [Rpc.LinkPreview](#anytype-Rpc-LinkPreview) + - [Rpc.LinkPreview.Request](#anytype-Rpc-LinkPreview-Request) + - [Rpc.LinkPreview.Response](#anytype-Rpc-LinkPreview-Response) + - [Rpc.LinkPreview.Response.Error](#anytype-Rpc-LinkPreview-Response-Error) + - [Rpc.Log](#anytype-Rpc-Log) + - [Rpc.Log.Send](#anytype-Rpc-Log-Send) + - [Rpc.Log.Send.Request](#anytype-Rpc-Log-Send-Request) + - [Rpc.Log.Send.Response](#anytype-Rpc-Log-Send-Response) + - [Rpc.Log.Send.Response.Error](#anytype-Rpc-Log-Send-Response-Error) + - [Rpc.Metrics](#anytype-Rpc-Metrics) + - [Rpc.Metrics.SetParameters](#anytype-Rpc-Metrics-SetParameters) + - [Rpc.Metrics.SetParameters.Request](#anytype-Rpc-Metrics-SetParameters-Request) + - [Rpc.Metrics.SetParameters.Response](#anytype-Rpc-Metrics-SetParameters-Response) + - [Rpc.Metrics.SetParameters.Response.Error](#anytype-Rpc-Metrics-SetParameters-Response-Error) + - [Rpc.Navigation](#anytype-Rpc-Navigation) + - [Rpc.Navigation.GetObjectInfoWithLinks](#anytype-Rpc-Navigation-GetObjectInfoWithLinks) + - [Rpc.Navigation.GetObjectInfoWithLinks.Request](#anytype-Rpc-Navigation-GetObjectInfoWithLinks-Request) + - [Rpc.Navigation.GetObjectInfoWithLinks.Response](#anytype-Rpc-Navigation-GetObjectInfoWithLinks-Response) + - [Rpc.Navigation.GetObjectInfoWithLinks.Response.Error](#anytype-Rpc-Navigation-GetObjectInfoWithLinks-Response-Error) + - [Rpc.Navigation.ListObjects](#anytype-Rpc-Navigation-ListObjects) + - [Rpc.Navigation.ListObjects.Request](#anytype-Rpc-Navigation-ListObjects-Request) + - [Rpc.Navigation.ListObjects.Response](#anytype-Rpc-Navigation-ListObjects-Response) + - [Rpc.Navigation.ListObjects.Response.Error](#anytype-Rpc-Navigation-ListObjects-Response-Error) + - [Rpc.Object](#anytype-Rpc-Object) + - [Rpc.Object.ApplyTemplate](#anytype-Rpc-Object-ApplyTemplate) + - [Rpc.Object.ApplyTemplate.Request](#anytype-Rpc-Object-ApplyTemplate-Request) + - [Rpc.Object.ApplyTemplate.Response](#anytype-Rpc-Object-ApplyTemplate-Response) + - [Rpc.Object.ApplyTemplate.Response.Error](#anytype-Rpc-Object-ApplyTemplate-Response-Error) + - [Rpc.Object.BookmarkFetch](#anytype-Rpc-Object-BookmarkFetch) + - [Rpc.Object.BookmarkFetch.Request](#anytype-Rpc-Object-BookmarkFetch-Request) + - [Rpc.Object.BookmarkFetch.Response](#anytype-Rpc-Object-BookmarkFetch-Response) + - [Rpc.Object.BookmarkFetch.Response.Error](#anytype-Rpc-Object-BookmarkFetch-Response-Error) + - [Rpc.Object.Close](#anytype-Rpc-Object-Close) + - [Rpc.Object.Close.Request](#anytype-Rpc-Object-Close-Request) + - [Rpc.Object.Close.Response](#anytype-Rpc-Object-Close-Response) + - [Rpc.Object.Close.Response.Error](#anytype-Rpc-Object-Close-Response-Error) + - [Rpc.Object.Create](#anytype-Rpc-Object-Create) + - [Rpc.Object.Create.Request](#anytype-Rpc-Object-Create-Request) + - [Rpc.Object.Create.Response](#anytype-Rpc-Object-Create-Response) + - [Rpc.Object.Create.Response.Error](#anytype-Rpc-Object-Create-Response-Error) + - [Rpc.Object.CreateBookmark](#anytype-Rpc-Object-CreateBookmark) + - [Rpc.Object.CreateBookmark.Request](#anytype-Rpc-Object-CreateBookmark-Request) + - [Rpc.Object.CreateBookmark.Response](#anytype-Rpc-Object-CreateBookmark-Response) + - [Rpc.Object.CreateBookmark.Response.Error](#anytype-Rpc-Object-CreateBookmark-Response-Error) + - [Rpc.Object.CreateObjectType](#anytype-Rpc-Object-CreateObjectType) + - [Rpc.Object.CreateObjectType.Request](#anytype-Rpc-Object-CreateObjectType-Request) + - [Rpc.Object.CreateObjectType.Response](#anytype-Rpc-Object-CreateObjectType-Response) + - [Rpc.Object.CreateObjectType.Response.Error](#anytype-Rpc-Object-CreateObjectType-Response-Error) + - [Rpc.Object.CreateRelation](#anytype-Rpc-Object-CreateRelation) + - [Rpc.Object.CreateRelation.Request](#anytype-Rpc-Object-CreateRelation-Request) + - [Rpc.Object.CreateRelation.Response](#anytype-Rpc-Object-CreateRelation-Response) + - [Rpc.Object.CreateRelation.Response.Error](#anytype-Rpc-Object-CreateRelation-Response-Error) + - [Rpc.Object.CreateRelationOption](#anytype-Rpc-Object-CreateRelationOption) + - [Rpc.Object.CreateRelationOption.Request](#anytype-Rpc-Object-CreateRelationOption-Request) + - [Rpc.Object.CreateRelationOption.Response](#anytype-Rpc-Object-CreateRelationOption-Response) + - [Rpc.Object.CreateRelationOption.Response.Error](#anytype-Rpc-Object-CreateRelationOption-Response-Error) + - [Rpc.Object.CreateSet](#anytype-Rpc-Object-CreateSet) + - [Rpc.Object.CreateSet.Request](#anytype-Rpc-Object-CreateSet-Request) + - [Rpc.Object.CreateSet.Response](#anytype-Rpc-Object-CreateSet-Response) + - [Rpc.Object.CreateSet.Response.Error](#anytype-Rpc-Object-CreateSet-Response-Error) + - [Rpc.Object.Duplicate](#anytype-Rpc-Object-Duplicate) + - [Rpc.Object.Duplicate.Request](#anytype-Rpc-Object-Duplicate-Request) + - [Rpc.Object.Duplicate.Response](#anytype-Rpc-Object-Duplicate-Response) + - [Rpc.Object.Duplicate.Response.Error](#anytype-Rpc-Object-Duplicate-Response-Error) + - [Rpc.Object.Graph](#anytype-Rpc-Object-Graph) + - [Rpc.Object.Graph.Edge](#anytype-Rpc-Object-Graph-Edge) + - [Rpc.Object.Graph.Request](#anytype-Rpc-Object-Graph-Request) + - [Rpc.Object.Graph.Response](#anytype-Rpc-Object-Graph-Response) + - [Rpc.Object.Graph.Response.Error](#anytype-Rpc-Object-Graph-Response-Error) + - [Rpc.Object.GroupsSubscribe](#anytype-Rpc-Object-GroupsSubscribe) + - [Rpc.Object.GroupsSubscribe.Request](#anytype-Rpc-Object-GroupsSubscribe-Request) + - [Rpc.Object.GroupsSubscribe.Response](#anytype-Rpc-Object-GroupsSubscribe-Response) + - [Rpc.Object.GroupsSubscribe.Response.Error](#anytype-Rpc-Object-GroupsSubscribe-Response-Error) + - [Rpc.Object.Import](#anytype-Rpc-Object-Import) + - [Rpc.Object.Import.Notion](#anytype-Rpc-Object-Import-Notion) + - [Rpc.Object.Import.Notion.ValidateToken](#anytype-Rpc-Object-Import-Notion-ValidateToken) + - [Rpc.Object.Import.Notion.ValidateToken.Request](#anytype-Rpc-Object-Import-Notion-ValidateToken-Request) + - [Rpc.Object.Import.Notion.ValidateToken.Response](#anytype-Rpc-Object-Import-Notion-ValidateToken-Response) + - [Rpc.Object.Import.Notion.ValidateToken.Response.Error](#anytype-Rpc-Object-Import-Notion-ValidateToken-Response-Error) + - [Rpc.Object.Import.Request](#anytype-Rpc-Object-Import-Request) + - [Rpc.Object.Import.Request.BookmarksParams](#anytype-Rpc-Object-Import-Request-BookmarksParams) + - [Rpc.Object.Import.Request.CsvParams](#anytype-Rpc-Object-Import-Request-CsvParams) + - [Rpc.Object.Import.Request.HtmlParams](#anytype-Rpc-Object-Import-Request-HtmlParams) + - [Rpc.Object.Import.Request.MarkdownParams](#anytype-Rpc-Object-Import-Request-MarkdownParams) + - [Rpc.Object.Import.Request.NotionParams](#anytype-Rpc-Object-Import-Request-NotionParams) + - [Rpc.Object.Import.Request.PbParams](#anytype-Rpc-Object-Import-Request-PbParams) + - [Rpc.Object.Import.Request.Snapshot](#anytype-Rpc-Object-Import-Request-Snapshot) + - [Rpc.Object.Import.Request.TxtParams](#anytype-Rpc-Object-Import-Request-TxtParams) + - [Rpc.Object.Import.Response](#anytype-Rpc-Object-Import-Response) + - [Rpc.Object.Import.Response.Error](#anytype-Rpc-Object-Import-Response-Error) + - [Rpc.Object.ImportList](#anytype-Rpc-Object-ImportList) + - [Rpc.Object.ImportList.ImportResponse](#anytype-Rpc-Object-ImportList-ImportResponse) + - [Rpc.Object.ImportList.Request](#anytype-Rpc-Object-ImportList-Request) + - [Rpc.Object.ImportList.Response](#anytype-Rpc-Object-ImportList-Response) + - [Rpc.Object.ImportList.Response.Error](#anytype-Rpc-Object-ImportList-Response-Error) + - [Rpc.Object.ListDelete](#anytype-Rpc-Object-ListDelete) + - [Rpc.Object.ListDelete.Request](#anytype-Rpc-Object-ListDelete-Request) + - [Rpc.Object.ListDelete.Response](#anytype-Rpc-Object-ListDelete-Response) + - [Rpc.Object.ListDelete.Response.Error](#anytype-Rpc-Object-ListDelete-Response-Error) + - [Rpc.Object.ListDuplicate](#anytype-Rpc-Object-ListDuplicate) + - [Rpc.Object.ListDuplicate.Request](#anytype-Rpc-Object-ListDuplicate-Request) + - [Rpc.Object.ListDuplicate.Response](#anytype-Rpc-Object-ListDuplicate-Response) + - [Rpc.Object.ListDuplicate.Response.Error](#anytype-Rpc-Object-ListDuplicate-Response-Error) + - [Rpc.Object.ListExport](#anytype-Rpc-Object-ListExport) + - [Rpc.Object.ListExport.Request](#anytype-Rpc-Object-ListExport-Request) + - [Rpc.Object.ListExport.Response](#anytype-Rpc-Object-ListExport-Response) + - [Rpc.Object.ListExport.Response.Error](#anytype-Rpc-Object-ListExport-Response-Error) + - [Rpc.Object.ListSetIsArchived](#anytype-Rpc-Object-ListSetIsArchived) + - [Rpc.Object.ListSetIsArchived.Request](#anytype-Rpc-Object-ListSetIsArchived-Request) + - [Rpc.Object.ListSetIsArchived.Response](#anytype-Rpc-Object-ListSetIsArchived-Response) + - [Rpc.Object.ListSetIsArchived.Response.Error](#anytype-Rpc-Object-ListSetIsArchived-Response-Error) + - [Rpc.Object.ListSetIsFavorite](#anytype-Rpc-Object-ListSetIsFavorite) + - [Rpc.Object.ListSetIsFavorite.Request](#anytype-Rpc-Object-ListSetIsFavorite-Request) + - [Rpc.Object.ListSetIsFavorite.Response](#anytype-Rpc-Object-ListSetIsFavorite-Response) + - [Rpc.Object.ListSetIsFavorite.Response.Error](#anytype-Rpc-Object-ListSetIsFavorite-Response-Error) + - [Rpc.Object.Open](#anytype-Rpc-Object-Open) + - [Rpc.Object.Open.Request](#anytype-Rpc-Object-Open-Request) + - [Rpc.Object.Open.Response](#anytype-Rpc-Object-Open-Response) + - [Rpc.Object.Open.Response.Error](#anytype-Rpc-Object-Open-Response-Error) + - [Rpc.Object.OpenBreadcrumbs](#anytype-Rpc-Object-OpenBreadcrumbs) + - [Rpc.Object.OpenBreadcrumbs.Request](#anytype-Rpc-Object-OpenBreadcrumbs-Request) + - [Rpc.Object.OpenBreadcrumbs.Response](#anytype-Rpc-Object-OpenBreadcrumbs-Response) + - [Rpc.Object.OpenBreadcrumbs.Response.Error](#anytype-Rpc-Object-OpenBreadcrumbs-Response-Error) + - [Rpc.Object.Redo](#anytype-Rpc-Object-Redo) + - [Rpc.Object.Redo.Request](#anytype-Rpc-Object-Redo-Request) + - [Rpc.Object.Redo.Response](#anytype-Rpc-Object-Redo-Response) + - [Rpc.Object.Redo.Response.Error](#anytype-Rpc-Object-Redo-Response-Error) + - [Rpc.Object.Search](#anytype-Rpc-Object-Search) + - [Rpc.Object.Search.Request](#anytype-Rpc-Object-Search-Request) + - [Rpc.Object.Search.Response](#anytype-Rpc-Object-Search-Response) + - [Rpc.Object.Search.Response.Error](#anytype-Rpc-Object-Search-Response-Error) + - [Rpc.Object.SearchSubscribe](#anytype-Rpc-Object-SearchSubscribe) + - [Rpc.Object.SearchSubscribe.Request](#anytype-Rpc-Object-SearchSubscribe-Request) + - [Rpc.Object.SearchSubscribe.Response](#anytype-Rpc-Object-SearchSubscribe-Response) + - [Rpc.Object.SearchSubscribe.Response.Error](#anytype-Rpc-Object-SearchSubscribe-Response-Error) + - [Rpc.Object.SearchUnsubscribe](#anytype-Rpc-Object-SearchUnsubscribe) + - [Rpc.Object.SearchUnsubscribe.Request](#anytype-Rpc-Object-SearchUnsubscribe-Request) + - [Rpc.Object.SearchUnsubscribe.Response](#anytype-Rpc-Object-SearchUnsubscribe-Response) + - [Rpc.Object.SearchUnsubscribe.Response.Error](#anytype-Rpc-Object-SearchUnsubscribe-Response-Error) + - [Rpc.Object.SetBreadcrumbs](#anytype-Rpc-Object-SetBreadcrumbs) + - [Rpc.Object.SetBreadcrumbs.Request](#anytype-Rpc-Object-SetBreadcrumbs-Request) + - [Rpc.Object.SetBreadcrumbs.Response](#anytype-Rpc-Object-SetBreadcrumbs-Response) + - [Rpc.Object.SetBreadcrumbs.Response.Error](#anytype-Rpc-Object-SetBreadcrumbs-Response-Error) + - [Rpc.Object.SetDetails](#anytype-Rpc-Object-SetDetails) + - [Rpc.Object.SetDetails.Detail](#anytype-Rpc-Object-SetDetails-Detail) + - [Rpc.Object.SetDetails.Request](#anytype-Rpc-Object-SetDetails-Request) + - [Rpc.Object.SetDetails.Response](#anytype-Rpc-Object-SetDetails-Response) + - [Rpc.Object.SetDetails.Response.Error](#anytype-Rpc-Object-SetDetails-Response-Error) + - [Rpc.Object.SetInternalFlags](#anytype-Rpc-Object-SetInternalFlags) + - [Rpc.Object.SetInternalFlags.Request](#anytype-Rpc-Object-SetInternalFlags-Request) + - [Rpc.Object.SetInternalFlags.Response](#anytype-Rpc-Object-SetInternalFlags-Response) + - [Rpc.Object.SetInternalFlags.Response.Error](#anytype-Rpc-Object-SetInternalFlags-Response-Error) + - [Rpc.Object.SetIsArchived](#anytype-Rpc-Object-SetIsArchived) + - [Rpc.Object.SetIsArchived.Request](#anytype-Rpc-Object-SetIsArchived-Request) + - [Rpc.Object.SetIsArchived.Response](#anytype-Rpc-Object-SetIsArchived-Response) + - [Rpc.Object.SetIsArchived.Response.Error](#anytype-Rpc-Object-SetIsArchived-Response-Error) + - [Rpc.Object.SetIsFavorite](#anytype-Rpc-Object-SetIsFavorite) + - [Rpc.Object.SetIsFavorite.Request](#anytype-Rpc-Object-SetIsFavorite-Request) + - [Rpc.Object.SetIsFavorite.Response](#anytype-Rpc-Object-SetIsFavorite-Response) + - [Rpc.Object.SetIsFavorite.Response.Error](#anytype-Rpc-Object-SetIsFavorite-Response-Error) + - [Rpc.Object.SetLayout](#anytype-Rpc-Object-SetLayout) + - [Rpc.Object.SetLayout.Request](#anytype-Rpc-Object-SetLayout-Request) + - [Rpc.Object.SetLayout.Response](#anytype-Rpc-Object-SetLayout-Response) + - [Rpc.Object.SetLayout.Response.Error](#anytype-Rpc-Object-SetLayout-Response-Error) + - [Rpc.Object.SetObjectType](#anytype-Rpc-Object-SetObjectType) + - [Rpc.Object.SetObjectType.Request](#anytype-Rpc-Object-SetObjectType-Request) + - [Rpc.Object.SetObjectType.Response](#anytype-Rpc-Object-SetObjectType-Response) + - [Rpc.Object.SetObjectType.Response.Error](#anytype-Rpc-Object-SetObjectType-Response-Error) + - [Rpc.Object.SetSource](#anytype-Rpc-Object-SetSource) + - [Rpc.Object.SetSource.Request](#anytype-Rpc-Object-SetSource-Request) + - [Rpc.Object.SetSource.Response](#anytype-Rpc-Object-SetSource-Response) + - [Rpc.Object.SetSource.Response.Error](#anytype-Rpc-Object-SetSource-Response-Error) + - [Rpc.Object.ShareByLink](#anytype-Rpc-Object-ShareByLink) + - [Rpc.Object.ShareByLink.Request](#anytype-Rpc-Object-ShareByLink-Request) + - [Rpc.Object.ShareByLink.Response](#anytype-Rpc-Object-ShareByLink-Response) + - [Rpc.Object.ShareByLink.Response.Error](#anytype-Rpc-Object-ShareByLink-Response-Error) + - [Rpc.Object.Show](#anytype-Rpc-Object-Show) + - [Rpc.Object.Show.Request](#anytype-Rpc-Object-Show-Request) + - [Rpc.Object.Show.Response](#anytype-Rpc-Object-Show-Response) + - [Rpc.Object.Show.Response.Error](#anytype-Rpc-Object-Show-Response-Error) + - [Rpc.Object.SubscribeIds](#anytype-Rpc-Object-SubscribeIds) + - [Rpc.Object.SubscribeIds.Request](#anytype-Rpc-Object-SubscribeIds-Request) + - [Rpc.Object.SubscribeIds.Response](#anytype-Rpc-Object-SubscribeIds-Response) + - [Rpc.Object.SubscribeIds.Response.Error](#anytype-Rpc-Object-SubscribeIds-Response-Error) + - [Rpc.Object.ToBookmark](#anytype-Rpc-Object-ToBookmark) + - [Rpc.Object.ToBookmark.Request](#anytype-Rpc-Object-ToBookmark-Request) + - [Rpc.Object.ToBookmark.Response](#anytype-Rpc-Object-ToBookmark-Response) + - [Rpc.Object.ToBookmark.Response.Error](#anytype-Rpc-Object-ToBookmark-Response-Error) + - [Rpc.Object.ToCollection](#anytype-Rpc-Object-ToCollection) + - [Rpc.Object.ToCollection.Request](#anytype-Rpc-Object-ToCollection-Request) + - [Rpc.Object.ToCollection.Response](#anytype-Rpc-Object-ToCollection-Response) + - [Rpc.Object.ToCollection.Response.Error](#anytype-Rpc-Object-ToCollection-Response-Error) + - [Rpc.Object.ToSet](#anytype-Rpc-Object-ToSet) + - [Rpc.Object.ToSet.Request](#anytype-Rpc-Object-ToSet-Request) + - [Rpc.Object.ToSet.Response](#anytype-Rpc-Object-ToSet-Response) + - [Rpc.Object.ToSet.Response.Error](#anytype-Rpc-Object-ToSet-Response-Error) + - [Rpc.Object.Undo](#anytype-Rpc-Object-Undo) + - [Rpc.Object.Undo.Request](#anytype-Rpc-Object-Undo-Request) + - [Rpc.Object.Undo.Response](#anytype-Rpc-Object-Undo-Response) + - [Rpc.Object.Undo.Response.Error](#anytype-Rpc-Object-Undo-Response-Error) + - [Rpc.Object.UndoRedoCounter](#anytype-Rpc-Object-UndoRedoCounter) + - [Rpc.Object.WorkspaceSetDashboard](#anytype-Rpc-Object-WorkspaceSetDashboard) + - [Rpc.Object.WorkspaceSetDashboard.Request](#anytype-Rpc-Object-WorkspaceSetDashboard-Request) + - [Rpc.Object.WorkspaceSetDashboard.Response](#anytype-Rpc-Object-WorkspaceSetDashboard-Response) + - [Rpc.Object.WorkspaceSetDashboard.Response.Error](#anytype-Rpc-Object-WorkspaceSetDashboard-Response-Error) + - [Rpc.ObjectCollection](#anytype-Rpc-ObjectCollection) + - [Rpc.ObjectCollection.Add](#anytype-Rpc-ObjectCollection-Add) + - [Rpc.ObjectCollection.Add.Request](#anytype-Rpc-ObjectCollection-Add-Request) + - [Rpc.ObjectCollection.Add.Response](#anytype-Rpc-ObjectCollection-Add-Response) + - [Rpc.ObjectCollection.Add.Response.Error](#anytype-Rpc-ObjectCollection-Add-Response-Error) + - [Rpc.ObjectCollection.Remove](#anytype-Rpc-ObjectCollection-Remove) + - [Rpc.ObjectCollection.Remove.Request](#anytype-Rpc-ObjectCollection-Remove-Request) + - [Rpc.ObjectCollection.Remove.Response](#anytype-Rpc-ObjectCollection-Remove-Response) + - [Rpc.ObjectCollection.Remove.Response.Error](#anytype-Rpc-ObjectCollection-Remove-Response-Error) + - [Rpc.ObjectCollection.Sort](#anytype-Rpc-ObjectCollection-Sort) + - [Rpc.ObjectCollection.Sort.Request](#anytype-Rpc-ObjectCollection-Sort-Request) + - [Rpc.ObjectCollection.Sort.Response](#anytype-Rpc-ObjectCollection-Sort-Response) + - [Rpc.ObjectCollection.Sort.Response.Error](#anytype-Rpc-ObjectCollection-Sort-Response-Error) + - [Rpc.ObjectRelation](#anytype-Rpc-ObjectRelation) + - [Rpc.ObjectRelation.Add](#anytype-Rpc-ObjectRelation-Add) + - [Rpc.ObjectRelation.Add.Request](#anytype-Rpc-ObjectRelation-Add-Request) + - [Rpc.ObjectRelation.Add.Response](#anytype-Rpc-ObjectRelation-Add-Response) + - [Rpc.ObjectRelation.Add.Response.Error](#anytype-Rpc-ObjectRelation-Add-Response-Error) + - [Rpc.ObjectRelation.AddFeatured](#anytype-Rpc-ObjectRelation-AddFeatured) + - [Rpc.ObjectRelation.AddFeatured.Request](#anytype-Rpc-ObjectRelation-AddFeatured-Request) + - [Rpc.ObjectRelation.AddFeatured.Response](#anytype-Rpc-ObjectRelation-AddFeatured-Response) + - [Rpc.ObjectRelation.AddFeatured.Response.Error](#anytype-Rpc-ObjectRelation-AddFeatured-Response-Error) + - [Rpc.ObjectRelation.Delete](#anytype-Rpc-ObjectRelation-Delete) + - [Rpc.ObjectRelation.Delete.Request](#anytype-Rpc-ObjectRelation-Delete-Request) + - [Rpc.ObjectRelation.Delete.Response](#anytype-Rpc-ObjectRelation-Delete-Response) + - [Rpc.ObjectRelation.Delete.Response.Error](#anytype-Rpc-ObjectRelation-Delete-Response-Error) + - [Rpc.ObjectRelation.ListAvailable](#anytype-Rpc-ObjectRelation-ListAvailable) + - [Rpc.ObjectRelation.ListAvailable.Request](#anytype-Rpc-ObjectRelation-ListAvailable-Request) + - [Rpc.ObjectRelation.ListAvailable.Response](#anytype-Rpc-ObjectRelation-ListAvailable-Response) + - [Rpc.ObjectRelation.ListAvailable.Response.Error](#anytype-Rpc-ObjectRelation-ListAvailable-Response-Error) + - [Rpc.ObjectRelation.RemoveFeatured](#anytype-Rpc-ObjectRelation-RemoveFeatured) + - [Rpc.ObjectRelation.RemoveFeatured.Request](#anytype-Rpc-ObjectRelation-RemoveFeatured-Request) + - [Rpc.ObjectRelation.RemoveFeatured.Response](#anytype-Rpc-ObjectRelation-RemoveFeatured-Response) + - [Rpc.ObjectRelation.RemoveFeatured.Response.Error](#anytype-Rpc-ObjectRelation-RemoveFeatured-Response-Error) + - [Rpc.ObjectType](#anytype-Rpc-ObjectType) + - [Rpc.ObjectType.Relation](#anytype-Rpc-ObjectType-Relation) + - [Rpc.ObjectType.Relation.Add](#anytype-Rpc-ObjectType-Relation-Add) + - [Rpc.ObjectType.Relation.Add.Request](#anytype-Rpc-ObjectType-Relation-Add-Request) + - [Rpc.ObjectType.Relation.Add.Response](#anytype-Rpc-ObjectType-Relation-Add-Response) + - [Rpc.ObjectType.Relation.Add.Response.Error](#anytype-Rpc-ObjectType-Relation-Add-Response-Error) + - [Rpc.ObjectType.Relation.List](#anytype-Rpc-ObjectType-Relation-List) + - [Rpc.ObjectType.Relation.List.Request](#anytype-Rpc-ObjectType-Relation-List-Request) + - [Rpc.ObjectType.Relation.List.Response](#anytype-Rpc-ObjectType-Relation-List-Response) + - [Rpc.ObjectType.Relation.List.Response.Error](#anytype-Rpc-ObjectType-Relation-List-Response-Error) + - [Rpc.ObjectType.Relation.Remove](#anytype-Rpc-ObjectType-Relation-Remove) + - [Rpc.ObjectType.Relation.Remove.Request](#anytype-Rpc-ObjectType-Relation-Remove-Request) + - [Rpc.ObjectType.Relation.Remove.Response](#anytype-Rpc-ObjectType-Relation-Remove-Response) + - [Rpc.ObjectType.Relation.Remove.Response.Error](#anytype-Rpc-ObjectType-Relation-Remove-Response-Error) + - [Rpc.Process](#anytype-Rpc-Process) + - [Rpc.Process.Cancel](#anytype-Rpc-Process-Cancel) + - [Rpc.Process.Cancel.Request](#anytype-Rpc-Process-Cancel-Request) + - [Rpc.Process.Cancel.Response](#anytype-Rpc-Process-Cancel-Response) + - [Rpc.Process.Cancel.Response.Error](#anytype-Rpc-Process-Cancel-Response-Error) + - [Rpc.Relation](#anytype-Rpc-Relation) + - [Rpc.Relation.ListRemoveOption](#anytype-Rpc-Relation-ListRemoveOption) + - [Rpc.Relation.ListRemoveOption.Request](#anytype-Rpc-Relation-ListRemoveOption-Request) + - [Rpc.Relation.ListRemoveOption.Response](#anytype-Rpc-Relation-ListRemoveOption-Response) + - [Rpc.Relation.ListRemoveOption.Response.Error](#anytype-Rpc-Relation-ListRemoveOption-Response-Error) + - [Rpc.Relation.Options](#anytype-Rpc-Relation-Options) + - [Rpc.Relation.Options.Request](#anytype-Rpc-Relation-Options-Request) + - [Rpc.Relation.Options.Response](#anytype-Rpc-Relation-Options-Response) + - [Rpc.Relation.Options.Response.Error](#anytype-Rpc-Relation-Options-Response-Error) + - [Rpc.Template](#anytype-Rpc-Template) + - [Rpc.Template.Clone](#anytype-Rpc-Template-Clone) + - [Rpc.Template.Clone.Request](#anytype-Rpc-Template-Clone-Request) + - [Rpc.Template.Clone.Response](#anytype-Rpc-Template-Clone-Response) + - [Rpc.Template.Clone.Response.Error](#anytype-Rpc-Template-Clone-Response-Error) + - [Rpc.Template.CreateFromObject](#anytype-Rpc-Template-CreateFromObject) + - [Rpc.Template.CreateFromObject.Request](#anytype-Rpc-Template-CreateFromObject-Request) + - [Rpc.Template.CreateFromObject.Response](#anytype-Rpc-Template-CreateFromObject-Response) + - [Rpc.Template.CreateFromObject.Response.Error](#anytype-Rpc-Template-CreateFromObject-Response-Error) + - [Rpc.Template.CreateFromObjectType](#anytype-Rpc-Template-CreateFromObjectType) + - [Rpc.Template.CreateFromObjectType.Request](#anytype-Rpc-Template-CreateFromObjectType-Request) + - [Rpc.Template.CreateFromObjectType.Response](#anytype-Rpc-Template-CreateFromObjectType-Response) + - [Rpc.Template.CreateFromObjectType.Response.Error](#anytype-Rpc-Template-CreateFromObjectType-Response-Error) + - [Rpc.Template.ExportAll](#anytype-Rpc-Template-ExportAll) + - [Rpc.Template.ExportAll.Request](#anytype-Rpc-Template-ExportAll-Request) + - [Rpc.Template.ExportAll.Response](#anytype-Rpc-Template-ExportAll-Response) + - [Rpc.Template.ExportAll.Response.Error](#anytype-Rpc-Template-ExportAll-Response-Error) + - [Rpc.Unsplash](#anytype-Rpc-Unsplash) + - [Rpc.Unsplash.Download](#anytype-Rpc-Unsplash-Download) + - [Rpc.Unsplash.Download.Request](#anytype-Rpc-Unsplash-Download-Request) + - [Rpc.Unsplash.Download.Response](#anytype-Rpc-Unsplash-Download-Response) + - [Rpc.Unsplash.Download.Response.Error](#anytype-Rpc-Unsplash-Download-Response-Error) + - [Rpc.Unsplash.Search](#anytype-Rpc-Unsplash-Search) + - [Rpc.Unsplash.Search.Request](#anytype-Rpc-Unsplash-Search-Request) + - [Rpc.Unsplash.Search.Response](#anytype-Rpc-Unsplash-Search-Response) + - [Rpc.Unsplash.Search.Response.Error](#anytype-Rpc-Unsplash-Search-Response-Error) + - [Rpc.Unsplash.Search.Response.Picture](#anytype-Rpc-Unsplash-Search-Response-Picture) + - [Rpc.UserData](#anytype-Rpc-UserData) + - [Rpc.UserData.Dump](#anytype-Rpc-UserData-Dump) + - [Rpc.UserData.Dump.Request](#anytype-Rpc-UserData-Dump-Request) + - [Rpc.UserData.Dump.Response](#anytype-Rpc-UserData-Dump-Response) + - [Rpc.UserData.Dump.Response.Error](#anytype-Rpc-UserData-Dump-Response-Error) + - [Rpc.Wallet](#anytype-Rpc-Wallet) + - [Rpc.Wallet.CloseSession](#anytype-Rpc-Wallet-CloseSession) + - [Rpc.Wallet.CloseSession.Request](#anytype-Rpc-Wallet-CloseSession-Request) + - [Rpc.Wallet.CloseSession.Response](#anytype-Rpc-Wallet-CloseSession-Response) + - [Rpc.Wallet.CloseSession.Response.Error](#anytype-Rpc-Wallet-CloseSession-Response-Error) + - [Rpc.Wallet.Convert](#anytype-Rpc-Wallet-Convert) + - [Rpc.Wallet.Convert.Request](#anytype-Rpc-Wallet-Convert-Request) + - [Rpc.Wallet.Convert.Response](#anytype-Rpc-Wallet-Convert-Response) + - [Rpc.Wallet.Convert.Response.Error](#anytype-Rpc-Wallet-Convert-Response-Error) + - [Rpc.Wallet.Create](#anytype-Rpc-Wallet-Create) + - [Rpc.Wallet.Create.Request](#anytype-Rpc-Wallet-Create-Request) + - [Rpc.Wallet.Create.Response](#anytype-Rpc-Wallet-Create-Response) + - [Rpc.Wallet.Create.Response.Error](#anytype-Rpc-Wallet-Create-Response-Error) + - [Rpc.Wallet.CreateSession](#anytype-Rpc-Wallet-CreateSession) + - [Rpc.Wallet.CreateSession.Request](#anytype-Rpc-Wallet-CreateSession-Request) + - [Rpc.Wallet.CreateSession.Response](#anytype-Rpc-Wallet-CreateSession-Response) + - [Rpc.Wallet.CreateSession.Response.Error](#anytype-Rpc-Wallet-CreateSession-Response-Error) + - [Rpc.Wallet.Recover](#anytype-Rpc-Wallet-Recover) + - [Rpc.Wallet.Recover.Request](#anytype-Rpc-Wallet-Recover-Request) + - [Rpc.Wallet.Recover.Response](#anytype-Rpc-Wallet-Recover-Response) + - [Rpc.Wallet.Recover.Response.Error](#anytype-Rpc-Wallet-Recover-Response-Error) + - [Rpc.Workspace](#anytype-Rpc-Workspace) + - [Rpc.Workspace.Create](#anytype-Rpc-Workspace-Create) + - [Rpc.Workspace.Create.Request](#anytype-Rpc-Workspace-Create-Request) + - [Rpc.Workspace.Create.Response](#anytype-Rpc-Workspace-Create-Response) + - [Rpc.Workspace.Create.Response.Error](#anytype-Rpc-Workspace-Create-Response-Error) + - [Rpc.Workspace.Export](#anytype-Rpc-Workspace-Export) + - [Rpc.Workspace.Export.Request](#anytype-Rpc-Workspace-Export-Request) + - [Rpc.Workspace.Export.Response](#anytype-Rpc-Workspace-Export-Response) + - [Rpc.Workspace.Export.Response.Error](#anytype-Rpc-Workspace-Export-Response-Error) + - [Rpc.Workspace.GetAll](#anytype-Rpc-Workspace-GetAll) + - [Rpc.Workspace.GetAll.Request](#anytype-Rpc-Workspace-GetAll-Request) + - [Rpc.Workspace.GetAll.Response](#anytype-Rpc-Workspace-GetAll-Response) + - [Rpc.Workspace.GetAll.Response.Error](#anytype-Rpc-Workspace-GetAll-Response-Error) + - [Rpc.Workspace.GetCurrent](#anytype-Rpc-Workspace-GetCurrent) + - [Rpc.Workspace.GetCurrent.Request](#anytype-Rpc-Workspace-GetCurrent-Request) + - [Rpc.Workspace.GetCurrent.Response](#anytype-Rpc-Workspace-GetCurrent-Response) + - [Rpc.Workspace.GetCurrent.Response.Error](#anytype-Rpc-Workspace-GetCurrent-Response-Error) + - [Rpc.Workspace.Object](#anytype-Rpc-Workspace-Object) + - [Rpc.Workspace.Object.Add](#anytype-Rpc-Workspace-Object-Add) + - [Rpc.Workspace.Object.Add.Request](#anytype-Rpc-Workspace-Object-Add-Request) + - [Rpc.Workspace.Object.Add.Response](#anytype-Rpc-Workspace-Object-Add-Response) + - [Rpc.Workspace.Object.Add.Response.Error](#anytype-Rpc-Workspace-Object-Add-Response-Error) + - [Rpc.Workspace.Object.ListAdd](#anytype-Rpc-Workspace-Object-ListAdd) + - [Rpc.Workspace.Object.ListAdd.Request](#anytype-Rpc-Workspace-Object-ListAdd-Request) + - [Rpc.Workspace.Object.ListAdd.Response](#anytype-Rpc-Workspace-Object-ListAdd-Response) + - [Rpc.Workspace.Object.ListAdd.Response.Error](#anytype-Rpc-Workspace-Object-ListAdd-Response-Error) + - [Rpc.Workspace.Object.ListRemove](#anytype-Rpc-Workspace-Object-ListRemove) + - [Rpc.Workspace.Object.ListRemove.Request](#anytype-Rpc-Workspace-Object-ListRemove-Request) + - [Rpc.Workspace.Object.ListRemove.Response](#anytype-Rpc-Workspace-Object-ListRemove-Response) + - [Rpc.Workspace.Object.ListRemove.Response.Error](#anytype-Rpc-Workspace-Object-ListRemove-Response-Error) + - [Rpc.Workspace.Select](#anytype-Rpc-Workspace-Select) + - [Rpc.Workspace.Select.Request](#anytype-Rpc-Workspace-Select-Request) + - [Rpc.Workspace.Select.Response](#anytype-Rpc-Workspace-Select-Response) + - [Rpc.Workspace.Select.Response.Error](#anytype-Rpc-Workspace-Select-Response-Error) + - [Rpc.Workspace.SetIsHighlighted](#anytype-Rpc-Workspace-SetIsHighlighted) + - [Rpc.Workspace.SetIsHighlighted.Request](#anytype-Rpc-Workspace-SetIsHighlighted-Request) + - [Rpc.Workspace.SetIsHighlighted.Response](#anytype-Rpc-Workspace-SetIsHighlighted-Response) + - [Rpc.Workspace.SetIsHighlighted.Response.Error](#anytype-Rpc-Workspace-SetIsHighlighted-Response-Error) + - [StreamRequest](#anytype-StreamRequest) - - [Rpc.Account.ConfigUpdate.Response.Error.Code](#anytype.Rpc.Account.ConfigUpdate.Response.Error.Code) - - [Rpc.Account.ConfigUpdate.Timezones](#anytype.Rpc.Account.ConfigUpdate.Timezones) - - [Rpc.Account.Create.Response.Error.Code](#anytype.Rpc.Account.Create.Response.Error.Code) - - [Rpc.Account.Delete.Response.Error.Code](#anytype.Rpc.Account.Delete.Response.Error.Code) - - [Rpc.Account.Move.Response.Error.Code](#anytype.Rpc.Account.Move.Response.Error.Code) - - [Rpc.Account.Recover.Response.Error.Code](#anytype.Rpc.Account.Recover.Response.Error.Code) - - [Rpc.Account.RecoverFromLegacyExport.Response.Error.Code](#anytype.Rpc.Account.RecoverFromLegacyExport.Response.Error.Code) - - [Rpc.Account.Select.Response.Error.Code](#anytype.Rpc.Account.Select.Response.Error.Code) - - [Rpc.Account.Stop.Response.Error.Code](#anytype.Rpc.Account.Stop.Response.Error.Code) - - [Rpc.App.GetVersion.Response.Error.Code](#anytype.Rpc.App.GetVersion.Response.Error.Code) - - [Rpc.App.SetDeviceState.Request.DeviceState](#anytype.Rpc.App.SetDeviceState.Request.DeviceState) - - [Rpc.App.SetDeviceState.Response.Error.Code](#anytype.Rpc.App.SetDeviceState.Response.Error.Code) - - [Rpc.App.Shutdown.Response.Error.Code](#anytype.Rpc.App.Shutdown.Response.Error.Code) - - [Rpc.Block.Copy.Response.Error.Code](#anytype.Rpc.Block.Copy.Response.Error.Code) - - [Rpc.Block.Create.Response.Error.Code](#anytype.Rpc.Block.Create.Response.Error.Code) - - [Rpc.Block.CreateWidget.Response.Error.Code](#anytype.Rpc.Block.CreateWidget.Response.Error.Code) - - [Rpc.Block.Cut.Response.Error.Code](#anytype.Rpc.Block.Cut.Response.Error.Code) - - [Rpc.Block.Download.Response.Error.Code](#anytype.Rpc.Block.Download.Response.Error.Code) - - [Rpc.Block.Export.Response.Error.Code](#anytype.Rpc.Block.Export.Response.Error.Code) - - [Rpc.Block.ListConvertToObjects.Response.Error.Code](#anytype.Rpc.Block.ListConvertToObjects.Response.Error.Code) - - [Rpc.Block.ListDelete.Response.Error.Code](#anytype.Rpc.Block.ListDelete.Response.Error.Code) - - [Rpc.Block.ListDuplicate.Response.Error.Code](#anytype.Rpc.Block.ListDuplicate.Response.Error.Code) - - [Rpc.Block.ListMoveToExistingObject.Response.Error.Code](#anytype.Rpc.Block.ListMoveToExistingObject.Response.Error.Code) - - [Rpc.Block.ListMoveToNewObject.Response.Error.Code](#anytype.Rpc.Block.ListMoveToNewObject.Response.Error.Code) - - [Rpc.Block.ListSetAlign.Response.Error.Code](#anytype.Rpc.Block.ListSetAlign.Response.Error.Code) - - [Rpc.Block.ListSetBackgroundColor.Response.Error.Code](#anytype.Rpc.Block.ListSetBackgroundColor.Response.Error.Code) - - [Rpc.Block.ListSetFields.Response.Error.Code](#anytype.Rpc.Block.ListSetFields.Response.Error.Code) - - [Rpc.Block.ListSetVerticalAlign.Response.Error.Code](#anytype.Rpc.Block.ListSetVerticalAlign.Response.Error.Code) - - [Rpc.Block.ListTurnInto.Response.Error.Code](#anytype.Rpc.Block.ListTurnInto.Response.Error.Code) - - [Rpc.Block.Merge.Response.Error.Code](#anytype.Rpc.Block.Merge.Response.Error.Code) - - [Rpc.Block.Paste.Response.Error.Code](#anytype.Rpc.Block.Paste.Response.Error.Code) - - [Rpc.Block.Replace.Response.Error.Code](#anytype.Rpc.Block.Replace.Response.Error.Code) - - [Rpc.Block.SetFields.Response.Error.Code](#anytype.Rpc.Block.SetFields.Response.Error.Code) - - [Rpc.Block.Split.Request.Mode](#anytype.Rpc.Block.Split.Request.Mode) - - [Rpc.Block.Split.Response.Error.Code](#anytype.Rpc.Block.Split.Response.Error.Code) - - [Rpc.Block.Upload.Response.Error.Code](#anytype.Rpc.Block.Upload.Response.Error.Code) - - [Rpc.BlockBookmark.CreateAndFetch.Response.Error.Code](#anytype.Rpc.BlockBookmark.CreateAndFetch.Response.Error.Code) - - [Rpc.BlockBookmark.Fetch.Response.Error.Code](#anytype.Rpc.BlockBookmark.Fetch.Response.Error.Code) - - [Rpc.BlockDataview.CreateBookmark.Response.Error.Code](#anytype.Rpc.BlockDataview.CreateBookmark.Response.Error.Code) - - [Rpc.BlockDataview.CreateFromExistingObject.Response.Error.Code](#anytype.Rpc.BlockDataview.CreateFromExistingObject.Response.Error.Code) - - [Rpc.BlockDataview.Filter.Add.Response.Error.Code](#anytype.Rpc.BlockDataview.Filter.Add.Response.Error.Code) - - [Rpc.BlockDataview.Filter.Remove.Response.Error.Code](#anytype.Rpc.BlockDataview.Filter.Remove.Response.Error.Code) - - [Rpc.BlockDataview.Filter.Replace.Response.Error.Code](#anytype.Rpc.BlockDataview.Filter.Replace.Response.Error.Code) - - [Rpc.BlockDataview.Filter.Sort.Response.Error.Code](#anytype.Rpc.BlockDataview.Filter.Sort.Response.Error.Code) - - [Rpc.BlockDataview.GroupOrder.Update.Response.Error.Code](#anytype.Rpc.BlockDataview.GroupOrder.Update.Response.Error.Code) - - [Rpc.BlockDataview.ObjectOrder.Move.Response.Error.Code](#anytype.Rpc.BlockDataview.ObjectOrder.Move.Response.Error.Code) - - [Rpc.BlockDataview.ObjectOrder.Update.Response.Error.Code](#anytype.Rpc.BlockDataview.ObjectOrder.Update.Response.Error.Code) - - [Rpc.BlockDataview.Relation.Add.Response.Error.Code](#anytype.Rpc.BlockDataview.Relation.Add.Response.Error.Code) - - [Rpc.BlockDataview.Relation.Delete.Response.Error.Code](#anytype.Rpc.BlockDataview.Relation.Delete.Response.Error.Code) - - [Rpc.BlockDataview.Relation.ListAvailable.Response.Error.Code](#anytype.Rpc.BlockDataview.Relation.ListAvailable.Response.Error.Code) - - [Rpc.BlockDataview.SetSource.Response.Error.Code](#anytype.Rpc.BlockDataview.SetSource.Response.Error.Code) - - [Rpc.BlockDataview.Sort.Add.Response.Error.Code](#anytype.Rpc.BlockDataview.Sort.Add.Response.Error.Code) - - [Rpc.BlockDataview.Sort.Remove.Response.Error.Code](#anytype.Rpc.BlockDataview.Sort.Remove.Response.Error.Code) - - [Rpc.BlockDataview.Sort.Replace.Response.Error.Code](#anytype.Rpc.BlockDataview.Sort.Replace.Response.Error.Code) - - [Rpc.BlockDataview.Sort.Sort.Response.Error.Code](#anytype.Rpc.BlockDataview.Sort.Sort.Response.Error.Code) - - [Rpc.BlockDataview.View.Create.Response.Error.Code](#anytype.Rpc.BlockDataview.View.Create.Response.Error.Code) - - [Rpc.BlockDataview.View.Delete.Response.Error.Code](#anytype.Rpc.BlockDataview.View.Delete.Response.Error.Code) - - [Rpc.BlockDataview.View.SetActive.Response.Error.Code](#anytype.Rpc.BlockDataview.View.SetActive.Response.Error.Code) - - [Rpc.BlockDataview.View.SetPosition.Response.Error.Code](#anytype.Rpc.BlockDataview.View.SetPosition.Response.Error.Code) - - [Rpc.BlockDataview.View.Update.Response.Error.Code](#anytype.Rpc.BlockDataview.View.Update.Response.Error.Code) - - [Rpc.BlockDataview.ViewRelation.Add.Response.Error.Code](#anytype.Rpc.BlockDataview.ViewRelation.Add.Response.Error.Code) - - [Rpc.BlockDataview.ViewRelation.Remove.Response.Error.Code](#anytype.Rpc.BlockDataview.ViewRelation.Remove.Response.Error.Code) - - [Rpc.BlockDataview.ViewRelation.Replace.Response.Error.Code](#anytype.Rpc.BlockDataview.ViewRelation.Replace.Response.Error.Code) - - [Rpc.BlockDataview.ViewRelation.Sort.Response.Error.Code](#anytype.Rpc.BlockDataview.ViewRelation.Sort.Response.Error.Code) - - [Rpc.BlockDiv.ListSetStyle.Response.Error.Code](#anytype.Rpc.BlockDiv.ListSetStyle.Response.Error.Code) - - [Rpc.BlockFile.CreateAndUpload.Response.Error.Code](#anytype.Rpc.BlockFile.CreateAndUpload.Response.Error.Code) - - [Rpc.BlockFile.ListSetStyle.Response.Error.Code](#anytype.Rpc.BlockFile.ListSetStyle.Response.Error.Code) - - [Rpc.BlockFile.SetName.Response.Error.Code](#anytype.Rpc.BlockFile.SetName.Response.Error.Code) - - [Rpc.BlockImage.SetName.Response.Error.Code](#anytype.Rpc.BlockImage.SetName.Response.Error.Code) - - [Rpc.BlockImage.SetWidth.Response.Error.Code](#anytype.Rpc.BlockImage.SetWidth.Response.Error.Code) - - [Rpc.BlockLatex.SetText.Response.Error.Code](#anytype.Rpc.BlockLatex.SetText.Response.Error.Code) - - [Rpc.BlockLink.CreateWithObject.Response.Error.Code](#anytype.Rpc.BlockLink.CreateWithObject.Response.Error.Code) - - [Rpc.BlockLink.ListSetAppearance.Response.Error.Code](#anytype.Rpc.BlockLink.ListSetAppearance.Response.Error.Code) - - [Rpc.BlockRelation.Add.Response.Error.Code](#anytype.Rpc.BlockRelation.Add.Response.Error.Code) - - [Rpc.BlockRelation.SetKey.Response.Error.Code](#anytype.Rpc.BlockRelation.SetKey.Response.Error.Code) - - [Rpc.BlockTable.ColumnCreate.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnCreate.Response.Error.Code) - - [Rpc.BlockTable.ColumnDelete.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnDelete.Response.Error.Code) - - [Rpc.BlockTable.ColumnDuplicate.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnDuplicate.Response.Error.Code) - - [Rpc.BlockTable.ColumnListFill.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnListFill.Response.Error.Code) - - [Rpc.BlockTable.ColumnMove.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnMove.Response.Error.Code) - - [Rpc.BlockTable.Create.Response.Error.Code](#anytype.Rpc.BlockTable.Create.Response.Error.Code) - - [Rpc.BlockTable.Expand.Response.Error.Code](#anytype.Rpc.BlockTable.Expand.Response.Error.Code) - - [Rpc.BlockTable.RowCreate.Response.Error.Code](#anytype.Rpc.BlockTable.RowCreate.Response.Error.Code) - - [Rpc.BlockTable.RowDelete.Response.Error.Code](#anytype.Rpc.BlockTable.RowDelete.Response.Error.Code) - - [Rpc.BlockTable.RowDuplicate.Response.Error.Code](#anytype.Rpc.BlockTable.RowDuplicate.Response.Error.Code) - - [Rpc.BlockTable.RowListClean.Response.Error.Code](#anytype.Rpc.BlockTable.RowListClean.Response.Error.Code) - - [Rpc.BlockTable.RowListFill.Response.Error.Code](#anytype.Rpc.BlockTable.RowListFill.Response.Error.Code) - - [Rpc.BlockTable.RowSetHeader.Response.Error.Code](#anytype.Rpc.BlockTable.RowSetHeader.Response.Error.Code) - - [Rpc.BlockTable.Sort.Response.Error.Code](#anytype.Rpc.BlockTable.Sort.Response.Error.Code) - - [Rpc.BlockText.ListClearContent.Response.Error.Code](#anytype.Rpc.BlockText.ListClearContent.Response.Error.Code) - - [Rpc.BlockText.ListClearStyle.Response.Error.Code](#anytype.Rpc.BlockText.ListClearStyle.Response.Error.Code) - - [Rpc.BlockText.ListSetColor.Response.Error.Code](#anytype.Rpc.BlockText.ListSetColor.Response.Error.Code) - - [Rpc.BlockText.ListSetMark.Response.Error.Code](#anytype.Rpc.BlockText.ListSetMark.Response.Error.Code) - - [Rpc.BlockText.ListSetStyle.Response.Error.Code](#anytype.Rpc.BlockText.ListSetStyle.Response.Error.Code) - - [Rpc.BlockText.SetChecked.Response.Error.Code](#anytype.Rpc.BlockText.SetChecked.Response.Error.Code) - - [Rpc.BlockText.SetColor.Response.Error.Code](#anytype.Rpc.BlockText.SetColor.Response.Error.Code) - - [Rpc.BlockText.SetIcon.Response.Error.Code](#anytype.Rpc.BlockText.SetIcon.Response.Error.Code) - - [Rpc.BlockText.SetMarks.Get.Response.Error.Code](#anytype.Rpc.BlockText.SetMarks.Get.Response.Error.Code) - - [Rpc.BlockText.SetStyle.Response.Error.Code](#anytype.Rpc.BlockText.SetStyle.Response.Error.Code) - - [Rpc.BlockText.SetText.Response.Error.Code](#anytype.Rpc.BlockText.SetText.Response.Error.Code) - - [Rpc.BlockVideo.SetName.Response.Error.Code](#anytype.Rpc.BlockVideo.SetName.Response.Error.Code) - - [Rpc.BlockVideo.SetWidth.Response.Error.Code](#anytype.Rpc.BlockVideo.SetWidth.Response.Error.Code) - - [Rpc.BlockWidget.SetLayout.Response.Error.Code](#anytype.Rpc.BlockWidget.SetLayout.Response.Error.Code) - - [Rpc.BlockWidget.SetLimit.Response.Error.Code](#anytype.Rpc.BlockWidget.SetLimit.Response.Error.Code) - - [Rpc.BlockWidget.SetTargetId.Response.Error.Code](#anytype.Rpc.BlockWidget.SetTargetId.Response.Error.Code) - - [Rpc.BlockWidget.SetViewId.Response.Error.Code](#anytype.Rpc.BlockWidget.SetViewId.Response.Error.Code) - - [Rpc.Debug.ExportLocalstore.Response.Error.Code](#anytype.Rpc.Debug.ExportLocalstore.Response.Error.Code) - - [Rpc.Debug.Ping.Response.Error.Code](#anytype.Rpc.Debug.Ping.Response.Error.Code) - - [Rpc.Debug.SpaceSummary.Response.Error.Code](#anytype.Rpc.Debug.SpaceSummary.Response.Error.Code) - - [Rpc.Debug.Tree.Response.Error.Code](#anytype.Rpc.Debug.Tree.Response.Error.Code) - - [Rpc.Debug.TreeHeads.Response.Error.Code](#anytype.Rpc.Debug.TreeHeads.Response.Error.Code) - - [Rpc.File.Download.Response.Error.Code](#anytype.Rpc.File.Download.Response.Error.Code) - - [Rpc.File.Drop.Response.Error.Code](#anytype.Rpc.File.Drop.Response.Error.Code) - - [Rpc.File.ListOffload.Response.Error.Code](#anytype.Rpc.File.ListOffload.Response.Error.Code) - - [Rpc.File.Offload.Response.Error.Code](#anytype.Rpc.File.Offload.Response.Error.Code) - - [Rpc.File.SpaceUsage.Response.Error.Code](#anytype.Rpc.File.SpaceUsage.Response.Error.Code) - - [Rpc.File.Upload.Response.Error.Code](#anytype.Rpc.File.Upload.Response.Error.Code) - - [Rpc.GenericErrorResponse.Error.Code](#anytype.Rpc.GenericErrorResponse.Error.Code) - - [Rpc.History.GetVersions.Response.Error.Code](#anytype.Rpc.History.GetVersions.Response.Error.Code) - - [Rpc.History.SetVersion.Response.Error.Code](#anytype.Rpc.History.SetVersion.Response.Error.Code) - - [Rpc.History.ShowVersion.Response.Error.Code](#anytype.Rpc.History.ShowVersion.Response.Error.Code) - - [Rpc.LinkPreview.Response.Error.Code](#anytype.Rpc.LinkPreview.Response.Error.Code) - - [Rpc.Log.Send.Request.Level](#anytype.Rpc.Log.Send.Request.Level) - - [Rpc.Log.Send.Response.Error.Code](#anytype.Rpc.Log.Send.Response.Error.Code) - - [Rpc.Metrics.SetParameters.Response.Error.Code](#anytype.Rpc.Metrics.SetParameters.Response.Error.Code) - - [Rpc.Navigation.Context](#anytype.Rpc.Navigation.Context) - - [Rpc.Navigation.GetObjectInfoWithLinks.Response.Error.Code](#anytype.Rpc.Navigation.GetObjectInfoWithLinks.Response.Error.Code) - - [Rpc.Navigation.ListObjects.Response.Error.Code](#anytype.Rpc.Navigation.ListObjects.Response.Error.Code) - - [Rpc.Object.ApplyTemplate.Response.Error.Code](#anytype.Rpc.Object.ApplyTemplate.Response.Error.Code) - - [Rpc.Object.BookmarkFetch.Response.Error.Code](#anytype.Rpc.Object.BookmarkFetch.Response.Error.Code) - - [Rpc.Object.Close.Response.Error.Code](#anytype.Rpc.Object.Close.Response.Error.Code) - - [Rpc.Object.Create.Response.Error.Code](#anytype.Rpc.Object.Create.Response.Error.Code) - - [Rpc.Object.CreateBookmark.Response.Error.Code](#anytype.Rpc.Object.CreateBookmark.Response.Error.Code) - - [Rpc.Object.CreateObjectType.Response.Error.Code](#anytype.Rpc.Object.CreateObjectType.Response.Error.Code) - - [Rpc.Object.CreateRelation.Response.Error.Code](#anytype.Rpc.Object.CreateRelation.Response.Error.Code) - - [Rpc.Object.CreateRelationOption.Response.Error.Code](#anytype.Rpc.Object.CreateRelationOption.Response.Error.Code) - - [Rpc.Object.CreateSet.Response.Error.Code](#anytype.Rpc.Object.CreateSet.Response.Error.Code) - - [Rpc.Object.Duplicate.Response.Error.Code](#anytype.Rpc.Object.Duplicate.Response.Error.Code) - - [Rpc.Object.Graph.Edge.Type](#anytype.Rpc.Object.Graph.Edge.Type) - - [Rpc.Object.Graph.Response.Error.Code](#anytype.Rpc.Object.Graph.Response.Error.Code) - - [Rpc.Object.GroupsSubscribe.Response.Error.Code](#anytype.Rpc.Object.GroupsSubscribe.Response.Error.Code) - - [Rpc.Object.Import.Notion.ValidateToken.Response.Error.Code](#anytype.Rpc.Object.Import.Notion.ValidateToken.Response.Error.Code) - - [Rpc.Object.Import.Request.CsvParams.Mode](#anytype.Rpc.Object.Import.Request.CsvParams.Mode) - - [Rpc.Object.Import.Request.Mode](#anytype.Rpc.Object.Import.Request.Mode) - - [Rpc.Object.Import.Request.Type](#anytype.Rpc.Object.Import.Request.Type) - - [Rpc.Object.Import.Response.Error.Code](#anytype.Rpc.Object.Import.Response.Error.Code) - - [Rpc.Object.ImportList.ImportResponse.Type](#anytype.Rpc.Object.ImportList.ImportResponse.Type) - - [Rpc.Object.ImportList.Response.Error.Code](#anytype.Rpc.Object.ImportList.Response.Error.Code) - - [Rpc.Object.ListDelete.Response.Error.Code](#anytype.Rpc.Object.ListDelete.Response.Error.Code) - - [Rpc.Object.ListDuplicate.Response.Error.Code](#anytype.Rpc.Object.ListDuplicate.Response.Error.Code) - - [Rpc.Object.ListExport.Format](#anytype.Rpc.Object.ListExport.Format) - - [Rpc.Object.ListExport.Response.Error.Code](#anytype.Rpc.Object.ListExport.Response.Error.Code) - - [Rpc.Object.ListSetIsArchived.Response.Error.Code](#anytype.Rpc.Object.ListSetIsArchived.Response.Error.Code) - - [Rpc.Object.ListSetIsFavorite.Response.Error.Code](#anytype.Rpc.Object.ListSetIsFavorite.Response.Error.Code) - - [Rpc.Object.Open.Response.Error.Code](#anytype.Rpc.Object.Open.Response.Error.Code) - - [Rpc.Object.OpenBreadcrumbs.Response.Error.Code](#anytype.Rpc.Object.OpenBreadcrumbs.Response.Error.Code) - - [Rpc.Object.Redo.Response.Error.Code](#anytype.Rpc.Object.Redo.Response.Error.Code) - - [Rpc.Object.Search.Response.Error.Code](#anytype.Rpc.Object.Search.Response.Error.Code) - - [Rpc.Object.SearchSubscribe.Response.Error.Code](#anytype.Rpc.Object.SearchSubscribe.Response.Error.Code) - - [Rpc.Object.SearchUnsubscribe.Response.Error.Code](#anytype.Rpc.Object.SearchUnsubscribe.Response.Error.Code) - - [Rpc.Object.SetBreadcrumbs.Response.Error.Code](#anytype.Rpc.Object.SetBreadcrumbs.Response.Error.Code) - - [Rpc.Object.SetDetails.Response.Error.Code](#anytype.Rpc.Object.SetDetails.Response.Error.Code) - - [Rpc.Object.SetInternalFlags.Response.Error.Code](#anytype.Rpc.Object.SetInternalFlags.Response.Error.Code) - - [Rpc.Object.SetIsArchived.Response.Error.Code](#anytype.Rpc.Object.SetIsArchived.Response.Error.Code) - - [Rpc.Object.SetIsFavorite.Response.Error.Code](#anytype.Rpc.Object.SetIsFavorite.Response.Error.Code) - - [Rpc.Object.SetLayout.Response.Error.Code](#anytype.Rpc.Object.SetLayout.Response.Error.Code) - - [Rpc.Object.SetObjectType.Response.Error.Code](#anytype.Rpc.Object.SetObjectType.Response.Error.Code) - - [Rpc.Object.SetSource.Response.Error.Code](#anytype.Rpc.Object.SetSource.Response.Error.Code) - - [Rpc.Object.ShareByLink.Response.Error.Code](#anytype.Rpc.Object.ShareByLink.Response.Error.Code) - - [Rpc.Object.Show.Response.Error.Code](#anytype.Rpc.Object.Show.Response.Error.Code) - - [Rpc.Object.SubscribeIds.Response.Error.Code](#anytype.Rpc.Object.SubscribeIds.Response.Error.Code) - - [Rpc.Object.ToBookmark.Response.Error.Code](#anytype.Rpc.Object.ToBookmark.Response.Error.Code) - - [Rpc.Object.ToCollection.Response.Error.Code](#anytype.Rpc.Object.ToCollection.Response.Error.Code) - - [Rpc.Object.ToSet.Response.Error.Code](#anytype.Rpc.Object.ToSet.Response.Error.Code) - - [Rpc.Object.Undo.Response.Error.Code](#anytype.Rpc.Object.Undo.Response.Error.Code) - - [Rpc.Object.WorkspaceSetDashboard.Response.Error.Code](#anytype.Rpc.Object.WorkspaceSetDashboard.Response.Error.Code) - - [Rpc.ObjectCollection.Add.Response.Error.Code](#anytype.Rpc.ObjectCollection.Add.Response.Error.Code) - - [Rpc.ObjectCollection.Remove.Response.Error.Code](#anytype.Rpc.ObjectCollection.Remove.Response.Error.Code) - - [Rpc.ObjectCollection.Sort.Response.Error.Code](#anytype.Rpc.ObjectCollection.Sort.Response.Error.Code) - - [Rpc.ObjectRelation.Add.Response.Error.Code](#anytype.Rpc.ObjectRelation.Add.Response.Error.Code) - - [Rpc.ObjectRelation.AddFeatured.Response.Error.Code](#anytype.Rpc.ObjectRelation.AddFeatured.Response.Error.Code) - - [Rpc.ObjectRelation.Delete.Response.Error.Code](#anytype.Rpc.ObjectRelation.Delete.Response.Error.Code) - - [Rpc.ObjectRelation.ListAvailable.Response.Error.Code](#anytype.Rpc.ObjectRelation.ListAvailable.Response.Error.Code) - - [Rpc.ObjectRelation.RemoveFeatured.Response.Error.Code](#anytype.Rpc.ObjectRelation.RemoveFeatured.Response.Error.Code) - - [Rpc.ObjectType.Relation.Add.Response.Error.Code](#anytype.Rpc.ObjectType.Relation.Add.Response.Error.Code) - - [Rpc.ObjectType.Relation.List.Response.Error.Code](#anytype.Rpc.ObjectType.Relation.List.Response.Error.Code) - - [Rpc.ObjectType.Relation.Remove.Response.Error.Code](#anytype.Rpc.ObjectType.Relation.Remove.Response.Error.Code) - - [Rpc.Process.Cancel.Response.Error.Code](#anytype.Rpc.Process.Cancel.Response.Error.Code) - - [Rpc.Relation.ListRemoveOption.Response.Error.Code](#anytype.Rpc.Relation.ListRemoveOption.Response.Error.Code) - - [Rpc.Relation.Options.Response.Error.Code](#anytype.Rpc.Relation.Options.Response.Error.Code) - - [Rpc.Template.Clone.Response.Error.Code](#anytype.Rpc.Template.Clone.Response.Error.Code) - - [Rpc.Template.CreateFromObject.Response.Error.Code](#anytype.Rpc.Template.CreateFromObject.Response.Error.Code) - - [Rpc.Template.CreateFromObjectType.Response.Error.Code](#anytype.Rpc.Template.CreateFromObjectType.Response.Error.Code) - - [Rpc.Template.ExportAll.Response.Error.Code](#anytype.Rpc.Template.ExportAll.Response.Error.Code) - - [Rpc.Unsplash.Download.Response.Error.Code](#anytype.Rpc.Unsplash.Download.Response.Error.Code) - - [Rpc.Unsplash.Search.Response.Error.Code](#anytype.Rpc.Unsplash.Search.Response.Error.Code) - - [Rpc.UserData.Dump.Response.Error.Code](#anytype.Rpc.UserData.Dump.Response.Error.Code) - - [Rpc.Wallet.CloseSession.Response.Error.Code](#anytype.Rpc.Wallet.CloseSession.Response.Error.Code) - - [Rpc.Wallet.Convert.Response.Error.Code](#anytype.Rpc.Wallet.Convert.Response.Error.Code) - - [Rpc.Wallet.Create.Response.Error.Code](#anytype.Rpc.Wallet.Create.Response.Error.Code) - - [Rpc.Wallet.CreateSession.Response.Error.Code](#anytype.Rpc.Wallet.CreateSession.Response.Error.Code) - - [Rpc.Wallet.Recover.Response.Error.Code](#anytype.Rpc.Wallet.Recover.Response.Error.Code) - - [Rpc.Workspace.Create.Response.Error.Code](#anytype.Rpc.Workspace.Create.Response.Error.Code) - - [Rpc.Workspace.Export.Response.Error.Code](#anytype.Rpc.Workspace.Export.Response.Error.Code) - - [Rpc.Workspace.GetAll.Response.Error.Code](#anytype.Rpc.Workspace.GetAll.Response.Error.Code) - - [Rpc.Workspace.GetCurrent.Response.Error.Code](#anytype.Rpc.Workspace.GetCurrent.Response.Error.Code) - - [Rpc.Workspace.Object.Add.Response.Error.Code](#anytype.Rpc.Workspace.Object.Add.Response.Error.Code) - - [Rpc.Workspace.Object.ListAdd.Response.Error.Code](#anytype.Rpc.Workspace.Object.ListAdd.Response.Error.Code) - - [Rpc.Workspace.Object.ListRemove.Response.Error.Code](#anytype.Rpc.Workspace.Object.ListRemove.Response.Error.Code) - - [Rpc.Workspace.Select.Response.Error.Code](#anytype.Rpc.Workspace.Select.Response.Error.Code) - - [Rpc.Workspace.SetIsHighlighted.Response.Error.Code](#anytype.Rpc.Workspace.SetIsHighlighted.Response.Error.Code) + - [Rpc.Account.ConfigUpdate.Response.Error.Code](#anytype-Rpc-Account-ConfigUpdate-Response-Error-Code) + - [Rpc.Account.ConfigUpdate.Timezones](#anytype-Rpc-Account-ConfigUpdate-Timezones) + - [Rpc.Account.Create.Response.Error.Code](#anytype-Rpc-Account-Create-Response-Error-Code) + - [Rpc.Account.Delete.Response.Error.Code](#anytype-Rpc-Account-Delete-Response-Error-Code) + - [Rpc.Account.Move.Response.Error.Code](#anytype-Rpc-Account-Move-Response-Error-Code) + - [Rpc.Account.Recover.Response.Error.Code](#anytype-Rpc-Account-Recover-Response-Error-Code) + - [Rpc.Account.RecoverFromLegacyExport.Response.Error.Code](#anytype-Rpc-Account-RecoverFromLegacyExport-Response-Error-Code) + - [Rpc.Account.Select.Response.Error.Code](#anytype-Rpc-Account-Select-Response-Error-Code) + - [Rpc.Account.Stop.Response.Error.Code](#anytype-Rpc-Account-Stop-Response-Error-Code) + - [Rpc.App.GetVersion.Response.Error.Code](#anytype-Rpc-App-GetVersion-Response-Error-Code) + - [Rpc.App.SetDeviceState.Request.DeviceState](#anytype-Rpc-App-SetDeviceState-Request-DeviceState) + - [Rpc.App.SetDeviceState.Response.Error.Code](#anytype-Rpc-App-SetDeviceState-Response-Error-Code) + - [Rpc.App.Shutdown.Response.Error.Code](#anytype-Rpc-App-Shutdown-Response-Error-Code) + - [Rpc.Block.Copy.Response.Error.Code](#anytype-Rpc-Block-Copy-Response-Error-Code) + - [Rpc.Block.Create.Response.Error.Code](#anytype-Rpc-Block-Create-Response-Error-Code) + - [Rpc.Block.CreateWidget.Response.Error.Code](#anytype-Rpc-Block-CreateWidget-Response-Error-Code) + - [Rpc.Block.Cut.Response.Error.Code](#anytype-Rpc-Block-Cut-Response-Error-Code) + - [Rpc.Block.Download.Response.Error.Code](#anytype-Rpc-Block-Download-Response-Error-Code) + - [Rpc.Block.Export.Response.Error.Code](#anytype-Rpc-Block-Export-Response-Error-Code) + - [Rpc.Block.ListConvertToObjects.Response.Error.Code](#anytype-Rpc-Block-ListConvertToObjects-Response-Error-Code) + - [Rpc.Block.ListDelete.Response.Error.Code](#anytype-Rpc-Block-ListDelete-Response-Error-Code) + - [Rpc.Block.ListDuplicate.Response.Error.Code](#anytype-Rpc-Block-ListDuplicate-Response-Error-Code) + - [Rpc.Block.ListMoveToExistingObject.Response.Error.Code](#anytype-Rpc-Block-ListMoveToExistingObject-Response-Error-Code) + - [Rpc.Block.ListMoveToNewObject.Response.Error.Code](#anytype-Rpc-Block-ListMoveToNewObject-Response-Error-Code) + - [Rpc.Block.ListSetAlign.Response.Error.Code](#anytype-Rpc-Block-ListSetAlign-Response-Error-Code) + - [Rpc.Block.ListSetBackgroundColor.Response.Error.Code](#anytype-Rpc-Block-ListSetBackgroundColor-Response-Error-Code) + - [Rpc.Block.ListSetFields.Response.Error.Code](#anytype-Rpc-Block-ListSetFields-Response-Error-Code) + - [Rpc.Block.ListSetVerticalAlign.Response.Error.Code](#anytype-Rpc-Block-ListSetVerticalAlign-Response-Error-Code) + - [Rpc.Block.ListTurnInto.Response.Error.Code](#anytype-Rpc-Block-ListTurnInto-Response-Error-Code) + - [Rpc.Block.Merge.Response.Error.Code](#anytype-Rpc-Block-Merge-Response-Error-Code) + - [Rpc.Block.Paste.Response.Error.Code](#anytype-Rpc-Block-Paste-Response-Error-Code) + - [Rpc.Block.Replace.Response.Error.Code](#anytype-Rpc-Block-Replace-Response-Error-Code) + - [Rpc.Block.SetFields.Response.Error.Code](#anytype-Rpc-Block-SetFields-Response-Error-Code) + - [Rpc.Block.Split.Request.Mode](#anytype-Rpc-Block-Split-Request-Mode) + - [Rpc.Block.Split.Response.Error.Code](#anytype-Rpc-Block-Split-Response-Error-Code) + - [Rpc.Block.Upload.Response.Error.Code](#anytype-Rpc-Block-Upload-Response-Error-Code) + - [Rpc.BlockBookmark.CreateAndFetch.Response.Error.Code](#anytype-Rpc-BlockBookmark-CreateAndFetch-Response-Error-Code) + - [Rpc.BlockBookmark.Fetch.Response.Error.Code](#anytype-Rpc-BlockBookmark-Fetch-Response-Error-Code) + - [Rpc.BlockDataview.CreateBookmark.Response.Error.Code](#anytype-Rpc-BlockDataview-CreateBookmark-Response-Error-Code) + - [Rpc.BlockDataview.CreateFromExistingObject.Response.Error.Code](#anytype-Rpc-BlockDataview-CreateFromExistingObject-Response-Error-Code) + - [Rpc.BlockDataview.Filter.Add.Response.Error.Code](#anytype-Rpc-BlockDataview-Filter-Add-Response-Error-Code) + - [Rpc.BlockDataview.Filter.Remove.Response.Error.Code](#anytype-Rpc-BlockDataview-Filter-Remove-Response-Error-Code) + - [Rpc.BlockDataview.Filter.Replace.Response.Error.Code](#anytype-Rpc-BlockDataview-Filter-Replace-Response-Error-Code) + - [Rpc.BlockDataview.Filter.Sort.Response.Error.Code](#anytype-Rpc-BlockDataview-Filter-Sort-Response-Error-Code) + - [Rpc.BlockDataview.GroupOrder.Update.Response.Error.Code](#anytype-Rpc-BlockDataview-GroupOrder-Update-Response-Error-Code) + - [Rpc.BlockDataview.ObjectOrder.Move.Response.Error.Code](#anytype-Rpc-BlockDataview-ObjectOrder-Move-Response-Error-Code) + - [Rpc.BlockDataview.ObjectOrder.Update.Response.Error.Code](#anytype-Rpc-BlockDataview-ObjectOrder-Update-Response-Error-Code) + - [Rpc.BlockDataview.Relation.Add.Response.Error.Code](#anytype-Rpc-BlockDataview-Relation-Add-Response-Error-Code) + - [Rpc.BlockDataview.Relation.Delete.Response.Error.Code](#anytype-Rpc-BlockDataview-Relation-Delete-Response-Error-Code) + - [Rpc.BlockDataview.Relation.ListAvailable.Response.Error.Code](#anytype-Rpc-BlockDataview-Relation-ListAvailable-Response-Error-Code) + - [Rpc.BlockDataview.SetSource.Response.Error.Code](#anytype-Rpc-BlockDataview-SetSource-Response-Error-Code) + - [Rpc.BlockDataview.Sort.Add.Response.Error.Code](#anytype-Rpc-BlockDataview-Sort-Add-Response-Error-Code) + - [Rpc.BlockDataview.Sort.Remove.Response.Error.Code](#anytype-Rpc-BlockDataview-Sort-Remove-Response-Error-Code) + - [Rpc.BlockDataview.Sort.Replace.Response.Error.Code](#anytype-Rpc-BlockDataview-Sort-Replace-Response-Error-Code) + - [Rpc.BlockDataview.Sort.Sort.Response.Error.Code](#anytype-Rpc-BlockDataview-Sort-Sort-Response-Error-Code) + - [Rpc.BlockDataview.View.Create.Response.Error.Code](#anytype-Rpc-BlockDataview-View-Create-Response-Error-Code) + - [Rpc.BlockDataview.View.Delete.Response.Error.Code](#anytype-Rpc-BlockDataview-View-Delete-Response-Error-Code) + - [Rpc.BlockDataview.View.SetActive.Response.Error.Code](#anytype-Rpc-BlockDataview-View-SetActive-Response-Error-Code) + - [Rpc.BlockDataview.View.SetPosition.Response.Error.Code](#anytype-Rpc-BlockDataview-View-SetPosition-Response-Error-Code) + - [Rpc.BlockDataview.View.Update.Response.Error.Code](#anytype-Rpc-BlockDataview-View-Update-Response-Error-Code) + - [Rpc.BlockDataview.ViewRelation.Add.Response.Error.Code](#anytype-Rpc-BlockDataview-ViewRelation-Add-Response-Error-Code) + - [Rpc.BlockDataview.ViewRelation.Remove.Response.Error.Code](#anytype-Rpc-BlockDataview-ViewRelation-Remove-Response-Error-Code) + - [Rpc.BlockDataview.ViewRelation.Replace.Response.Error.Code](#anytype-Rpc-BlockDataview-ViewRelation-Replace-Response-Error-Code) + - [Rpc.BlockDataview.ViewRelation.Sort.Response.Error.Code](#anytype-Rpc-BlockDataview-ViewRelation-Sort-Response-Error-Code) + - [Rpc.BlockDiv.ListSetStyle.Response.Error.Code](#anytype-Rpc-BlockDiv-ListSetStyle-Response-Error-Code) + - [Rpc.BlockFile.CreateAndUpload.Response.Error.Code](#anytype-Rpc-BlockFile-CreateAndUpload-Response-Error-Code) + - [Rpc.BlockFile.ListSetStyle.Response.Error.Code](#anytype-Rpc-BlockFile-ListSetStyle-Response-Error-Code) + - [Rpc.BlockFile.SetName.Response.Error.Code](#anytype-Rpc-BlockFile-SetName-Response-Error-Code) + - [Rpc.BlockImage.SetName.Response.Error.Code](#anytype-Rpc-BlockImage-SetName-Response-Error-Code) + - [Rpc.BlockImage.SetWidth.Response.Error.Code](#anytype-Rpc-BlockImage-SetWidth-Response-Error-Code) + - [Rpc.BlockLatex.SetText.Response.Error.Code](#anytype-Rpc-BlockLatex-SetText-Response-Error-Code) + - [Rpc.BlockLink.CreateWithObject.Response.Error.Code](#anytype-Rpc-BlockLink-CreateWithObject-Response-Error-Code) + - [Rpc.BlockLink.ListSetAppearance.Response.Error.Code](#anytype-Rpc-BlockLink-ListSetAppearance-Response-Error-Code) + - [Rpc.BlockRelation.Add.Response.Error.Code](#anytype-Rpc-BlockRelation-Add-Response-Error-Code) + - [Rpc.BlockRelation.SetKey.Response.Error.Code](#anytype-Rpc-BlockRelation-SetKey-Response-Error-Code) + - [Rpc.BlockTable.ColumnCreate.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnCreate-Response-Error-Code) + - [Rpc.BlockTable.ColumnDelete.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnDelete-Response-Error-Code) + - [Rpc.BlockTable.ColumnDuplicate.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnDuplicate-Response-Error-Code) + - [Rpc.BlockTable.ColumnListFill.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnListFill-Response-Error-Code) + - [Rpc.BlockTable.ColumnMove.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnMove-Response-Error-Code) + - [Rpc.BlockTable.Create.Response.Error.Code](#anytype-Rpc-BlockTable-Create-Response-Error-Code) + - [Rpc.BlockTable.Expand.Response.Error.Code](#anytype-Rpc-BlockTable-Expand-Response-Error-Code) + - [Rpc.BlockTable.RowCreate.Response.Error.Code](#anytype-Rpc-BlockTable-RowCreate-Response-Error-Code) + - [Rpc.BlockTable.RowDelete.Response.Error.Code](#anytype-Rpc-BlockTable-RowDelete-Response-Error-Code) + - [Rpc.BlockTable.RowDuplicate.Response.Error.Code](#anytype-Rpc-BlockTable-RowDuplicate-Response-Error-Code) + - [Rpc.BlockTable.RowListClean.Response.Error.Code](#anytype-Rpc-BlockTable-RowListClean-Response-Error-Code) + - [Rpc.BlockTable.RowListFill.Response.Error.Code](#anytype-Rpc-BlockTable-RowListFill-Response-Error-Code) + - [Rpc.BlockTable.RowSetHeader.Response.Error.Code](#anytype-Rpc-BlockTable-RowSetHeader-Response-Error-Code) + - [Rpc.BlockTable.Sort.Response.Error.Code](#anytype-Rpc-BlockTable-Sort-Response-Error-Code) + - [Rpc.BlockText.ListClearContent.Response.Error.Code](#anytype-Rpc-BlockText-ListClearContent-Response-Error-Code) + - [Rpc.BlockText.ListClearStyle.Response.Error.Code](#anytype-Rpc-BlockText-ListClearStyle-Response-Error-Code) + - [Rpc.BlockText.ListSetColor.Response.Error.Code](#anytype-Rpc-BlockText-ListSetColor-Response-Error-Code) + - [Rpc.BlockText.ListSetMark.Response.Error.Code](#anytype-Rpc-BlockText-ListSetMark-Response-Error-Code) + - [Rpc.BlockText.ListSetStyle.Response.Error.Code](#anytype-Rpc-BlockText-ListSetStyle-Response-Error-Code) + - [Rpc.BlockText.SetChecked.Response.Error.Code](#anytype-Rpc-BlockText-SetChecked-Response-Error-Code) + - [Rpc.BlockText.SetColor.Response.Error.Code](#anytype-Rpc-BlockText-SetColor-Response-Error-Code) + - [Rpc.BlockText.SetIcon.Response.Error.Code](#anytype-Rpc-BlockText-SetIcon-Response-Error-Code) + - [Rpc.BlockText.SetMarks.Get.Response.Error.Code](#anytype-Rpc-BlockText-SetMarks-Get-Response-Error-Code) + - [Rpc.BlockText.SetStyle.Response.Error.Code](#anytype-Rpc-BlockText-SetStyle-Response-Error-Code) + - [Rpc.BlockText.SetText.Response.Error.Code](#anytype-Rpc-BlockText-SetText-Response-Error-Code) + - [Rpc.BlockVideo.SetName.Response.Error.Code](#anytype-Rpc-BlockVideo-SetName-Response-Error-Code) + - [Rpc.BlockVideo.SetWidth.Response.Error.Code](#anytype-Rpc-BlockVideo-SetWidth-Response-Error-Code) + - [Rpc.BlockWidget.SetLayout.Response.Error.Code](#anytype-Rpc-BlockWidget-SetLayout-Response-Error-Code) + - [Rpc.BlockWidget.SetLimit.Response.Error.Code](#anytype-Rpc-BlockWidget-SetLimit-Response-Error-Code) + - [Rpc.BlockWidget.SetTargetId.Response.Error.Code](#anytype-Rpc-BlockWidget-SetTargetId-Response-Error-Code) + - [Rpc.BlockWidget.SetViewId.Response.Error.Code](#anytype-Rpc-BlockWidget-SetViewId-Response-Error-Code) + - [Rpc.Debug.ExportLocalstore.Response.Error.Code](#anytype-Rpc-Debug-ExportLocalstore-Response-Error-Code) + - [Rpc.Debug.Ping.Response.Error.Code](#anytype-Rpc-Debug-Ping-Response-Error-Code) + - [Rpc.Debug.SpaceSummary.Response.Error.Code](#anytype-Rpc-Debug-SpaceSummary-Response-Error-Code) + - [Rpc.Debug.Tree.Response.Error.Code](#anytype-Rpc-Debug-Tree-Response-Error-Code) + - [Rpc.Debug.TreeHeads.Response.Error.Code](#anytype-Rpc-Debug-TreeHeads-Response-Error-Code) + - [Rpc.File.Download.Response.Error.Code](#anytype-Rpc-File-Download-Response-Error-Code) + - [Rpc.File.Drop.Response.Error.Code](#anytype-Rpc-File-Drop-Response-Error-Code) + - [Rpc.File.ListOffload.Response.Error.Code](#anytype-Rpc-File-ListOffload-Response-Error-Code) + - [Rpc.File.Offload.Response.Error.Code](#anytype-Rpc-File-Offload-Response-Error-Code) + - [Rpc.File.SpaceUsage.Response.Error.Code](#anytype-Rpc-File-SpaceUsage-Response-Error-Code) + - [Rpc.File.Upload.Response.Error.Code](#anytype-Rpc-File-Upload-Response-Error-Code) + - [Rpc.GenericErrorResponse.Error.Code](#anytype-Rpc-GenericErrorResponse-Error-Code) + - [Rpc.History.GetVersions.Response.Error.Code](#anytype-Rpc-History-GetVersions-Response-Error-Code) + - [Rpc.History.SetVersion.Response.Error.Code](#anytype-Rpc-History-SetVersion-Response-Error-Code) + - [Rpc.History.ShowVersion.Response.Error.Code](#anytype-Rpc-History-ShowVersion-Response-Error-Code) + - [Rpc.LinkPreview.Response.Error.Code](#anytype-Rpc-LinkPreview-Response-Error-Code) + - [Rpc.Log.Send.Request.Level](#anytype-Rpc-Log-Send-Request-Level) + - [Rpc.Log.Send.Response.Error.Code](#anytype-Rpc-Log-Send-Response-Error-Code) + - [Rpc.Metrics.SetParameters.Response.Error.Code](#anytype-Rpc-Metrics-SetParameters-Response-Error-Code) + - [Rpc.Navigation.Context](#anytype-Rpc-Navigation-Context) + - [Rpc.Navigation.GetObjectInfoWithLinks.Response.Error.Code](#anytype-Rpc-Navigation-GetObjectInfoWithLinks-Response-Error-Code) + - [Rpc.Navigation.ListObjects.Response.Error.Code](#anytype-Rpc-Navigation-ListObjects-Response-Error-Code) + - [Rpc.Object.ApplyTemplate.Response.Error.Code](#anytype-Rpc-Object-ApplyTemplate-Response-Error-Code) + - [Rpc.Object.BookmarkFetch.Response.Error.Code](#anytype-Rpc-Object-BookmarkFetch-Response-Error-Code) + - [Rpc.Object.Close.Response.Error.Code](#anytype-Rpc-Object-Close-Response-Error-Code) + - [Rpc.Object.Create.Response.Error.Code](#anytype-Rpc-Object-Create-Response-Error-Code) + - [Rpc.Object.CreateBookmark.Response.Error.Code](#anytype-Rpc-Object-CreateBookmark-Response-Error-Code) + - [Rpc.Object.CreateObjectType.Response.Error.Code](#anytype-Rpc-Object-CreateObjectType-Response-Error-Code) + - [Rpc.Object.CreateRelation.Response.Error.Code](#anytype-Rpc-Object-CreateRelation-Response-Error-Code) + - [Rpc.Object.CreateRelationOption.Response.Error.Code](#anytype-Rpc-Object-CreateRelationOption-Response-Error-Code) + - [Rpc.Object.CreateSet.Response.Error.Code](#anytype-Rpc-Object-CreateSet-Response-Error-Code) + - [Rpc.Object.Duplicate.Response.Error.Code](#anytype-Rpc-Object-Duplicate-Response-Error-Code) + - [Rpc.Object.Graph.Edge.Type](#anytype-Rpc-Object-Graph-Edge-Type) + - [Rpc.Object.Graph.Response.Error.Code](#anytype-Rpc-Object-Graph-Response-Error-Code) + - [Rpc.Object.GroupsSubscribe.Response.Error.Code](#anytype-Rpc-Object-GroupsSubscribe-Response-Error-Code) + - [Rpc.Object.Import.Notion.ValidateToken.Response.Error.Code](#anytype-Rpc-Object-Import-Notion-ValidateToken-Response-Error-Code) + - [Rpc.Object.Import.Request.CsvParams.Mode](#anytype-Rpc-Object-Import-Request-CsvParams-Mode) + - [Rpc.Object.Import.Request.Mode](#anytype-Rpc-Object-Import-Request-Mode) + - [Rpc.Object.Import.Request.Type](#anytype-Rpc-Object-Import-Request-Type) + - [Rpc.Object.Import.Response.Error.Code](#anytype-Rpc-Object-Import-Response-Error-Code) + - [Rpc.Object.ImportList.ImportResponse.Type](#anytype-Rpc-Object-ImportList-ImportResponse-Type) + - [Rpc.Object.ImportList.Response.Error.Code](#anytype-Rpc-Object-ImportList-Response-Error-Code) + - [Rpc.Object.ListDelete.Response.Error.Code](#anytype-Rpc-Object-ListDelete-Response-Error-Code) + - [Rpc.Object.ListDuplicate.Response.Error.Code](#anytype-Rpc-Object-ListDuplicate-Response-Error-Code) + - [Rpc.Object.ListExport.Format](#anytype-Rpc-Object-ListExport-Format) + - [Rpc.Object.ListExport.Response.Error.Code](#anytype-Rpc-Object-ListExport-Response-Error-Code) + - [Rpc.Object.ListSetIsArchived.Response.Error.Code](#anytype-Rpc-Object-ListSetIsArchived-Response-Error-Code) + - [Rpc.Object.ListSetIsFavorite.Response.Error.Code](#anytype-Rpc-Object-ListSetIsFavorite-Response-Error-Code) + - [Rpc.Object.Open.Response.Error.Code](#anytype-Rpc-Object-Open-Response-Error-Code) + - [Rpc.Object.OpenBreadcrumbs.Response.Error.Code](#anytype-Rpc-Object-OpenBreadcrumbs-Response-Error-Code) + - [Rpc.Object.Redo.Response.Error.Code](#anytype-Rpc-Object-Redo-Response-Error-Code) + - [Rpc.Object.Search.Response.Error.Code](#anytype-Rpc-Object-Search-Response-Error-Code) + - [Rpc.Object.SearchSubscribe.Response.Error.Code](#anytype-Rpc-Object-SearchSubscribe-Response-Error-Code) + - [Rpc.Object.SearchUnsubscribe.Response.Error.Code](#anytype-Rpc-Object-SearchUnsubscribe-Response-Error-Code) + - [Rpc.Object.SetBreadcrumbs.Response.Error.Code](#anytype-Rpc-Object-SetBreadcrumbs-Response-Error-Code) + - [Rpc.Object.SetDetails.Response.Error.Code](#anytype-Rpc-Object-SetDetails-Response-Error-Code) + - [Rpc.Object.SetInternalFlags.Response.Error.Code](#anytype-Rpc-Object-SetInternalFlags-Response-Error-Code) + - [Rpc.Object.SetIsArchived.Response.Error.Code](#anytype-Rpc-Object-SetIsArchived-Response-Error-Code) + - [Rpc.Object.SetIsFavorite.Response.Error.Code](#anytype-Rpc-Object-SetIsFavorite-Response-Error-Code) + - [Rpc.Object.SetLayout.Response.Error.Code](#anytype-Rpc-Object-SetLayout-Response-Error-Code) + - [Rpc.Object.SetObjectType.Response.Error.Code](#anytype-Rpc-Object-SetObjectType-Response-Error-Code) + - [Rpc.Object.SetSource.Response.Error.Code](#anytype-Rpc-Object-SetSource-Response-Error-Code) + - [Rpc.Object.ShareByLink.Response.Error.Code](#anytype-Rpc-Object-ShareByLink-Response-Error-Code) + - [Rpc.Object.Show.Response.Error.Code](#anytype-Rpc-Object-Show-Response-Error-Code) + - [Rpc.Object.SubscribeIds.Response.Error.Code](#anytype-Rpc-Object-SubscribeIds-Response-Error-Code) + - [Rpc.Object.ToBookmark.Response.Error.Code](#anytype-Rpc-Object-ToBookmark-Response-Error-Code) + - [Rpc.Object.ToCollection.Response.Error.Code](#anytype-Rpc-Object-ToCollection-Response-Error-Code) + - [Rpc.Object.ToSet.Response.Error.Code](#anytype-Rpc-Object-ToSet-Response-Error-Code) + - [Rpc.Object.Undo.Response.Error.Code](#anytype-Rpc-Object-Undo-Response-Error-Code) + - [Rpc.Object.WorkspaceSetDashboard.Response.Error.Code](#anytype-Rpc-Object-WorkspaceSetDashboard-Response-Error-Code) + - [Rpc.ObjectCollection.Add.Response.Error.Code](#anytype-Rpc-ObjectCollection-Add-Response-Error-Code) + - [Rpc.ObjectCollection.Remove.Response.Error.Code](#anytype-Rpc-ObjectCollection-Remove-Response-Error-Code) + - [Rpc.ObjectCollection.Sort.Response.Error.Code](#anytype-Rpc-ObjectCollection-Sort-Response-Error-Code) + - [Rpc.ObjectRelation.Add.Response.Error.Code](#anytype-Rpc-ObjectRelation-Add-Response-Error-Code) + - [Rpc.ObjectRelation.AddFeatured.Response.Error.Code](#anytype-Rpc-ObjectRelation-AddFeatured-Response-Error-Code) + - [Rpc.ObjectRelation.Delete.Response.Error.Code](#anytype-Rpc-ObjectRelation-Delete-Response-Error-Code) + - [Rpc.ObjectRelation.ListAvailable.Response.Error.Code](#anytype-Rpc-ObjectRelation-ListAvailable-Response-Error-Code) + - [Rpc.ObjectRelation.RemoveFeatured.Response.Error.Code](#anytype-Rpc-ObjectRelation-RemoveFeatured-Response-Error-Code) + - [Rpc.ObjectType.Relation.Add.Response.Error.Code](#anytype-Rpc-ObjectType-Relation-Add-Response-Error-Code) + - [Rpc.ObjectType.Relation.List.Response.Error.Code](#anytype-Rpc-ObjectType-Relation-List-Response-Error-Code) + - [Rpc.ObjectType.Relation.Remove.Response.Error.Code](#anytype-Rpc-ObjectType-Relation-Remove-Response-Error-Code) + - [Rpc.Process.Cancel.Response.Error.Code](#anytype-Rpc-Process-Cancel-Response-Error-Code) + - [Rpc.Relation.ListRemoveOption.Response.Error.Code](#anytype-Rpc-Relation-ListRemoveOption-Response-Error-Code) + - [Rpc.Relation.Options.Response.Error.Code](#anytype-Rpc-Relation-Options-Response-Error-Code) + - [Rpc.Template.Clone.Response.Error.Code](#anytype-Rpc-Template-Clone-Response-Error-Code) + - [Rpc.Template.CreateFromObject.Response.Error.Code](#anytype-Rpc-Template-CreateFromObject-Response-Error-Code) + - [Rpc.Template.CreateFromObjectType.Response.Error.Code](#anytype-Rpc-Template-CreateFromObjectType-Response-Error-Code) + - [Rpc.Template.ExportAll.Response.Error.Code](#anytype-Rpc-Template-ExportAll-Response-Error-Code) + - [Rpc.Unsplash.Download.Response.Error.Code](#anytype-Rpc-Unsplash-Download-Response-Error-Code) + - [Rpc.Unsplash.Search.Response.Error.Code](#anytype-Rpc-Unsplash-Search-Response-Error-Code) + - [Rpc.UserData.Dump.Response.Error.Code](#anytype-Rpc-UserData-Dump-Response-Error-Code) + - [Rpc.Wallet.CloseSession.Response.Error.Code](#anytype-Rpc-Wallet-CloseSession-Response-Error-Code) + - [Rpc.Wallet.Convert.Response.Error.Code](#anytype-Rpc-Wallet-Convert-Response-Error-Code) + - [Rpc.Wallet.Create.Response.Error.Code](#anytype-Rpc-Wallet-Create-Response-Error-Code) + - [Rpc.Wallet.CreateSession.Response.Error.Code](#anytype-Rpc-Wallet-CreateSession-Response-Error-Code) + - [Rpc.Wallet.Recover.Response.Error.Code](#anytype-Rpc-Wallet-Recover-Response-Error-Code) + - [Rpc.Workspace.Create.Response.Error.Code](#anytype-Rpc-Workspace-Create-Response-Error-Code) + - [Rpc.Workspace.Export.Response.Error.Code](#anytype-Rpc-Workspace-Export-Response-Error-Code) + - [Rpc.Workspace.GetAll.Response.Error.Code](#anytype-Rpc-Workspace-GetAll-Response-Error-Code) + - [Rpc.Workspace.GetCurrent.Response.Error.Code](#anytype-Rpc-Workspace-GetCurrent-Response-Error-Code) + - [Rpc.Workspace.Object.Add.Response.Error.Code](#anytype-Rpc-Workspace-Object-Add-Response-Error-Code) + - [Rpc.Workspace.Object.ListAdd.Response.Error.Code](#anytype-Rpc-Workspace-Object-ListAdd-Response-Error-Code) + - [Rpc.Workspace.Object.ListRemove.Response.Error.Code](#anytype-Rpc-Workspace-Object-ListRemove-Response-Error-Code) + - [Rpc.Workspace.Select.Response.Error.Code](#anytype-Rpc-Workspace-Select-Response-Error-Code) + - [Rpc.Workspace.SetIsHighlighted.Response.Error.Code](#anytype-Rpc-Workspace-SetIsHighlighted-Response-Error-Code) - - [File-level Extensions](#pb/protos/commands.proto-extensions) + - [File-level Extensions](#pb_protos_commands-proto-extensions) -- [pb/protos/events.proto](#pb/protos/events.proto) - - [Event](#anytype.Event) - - [Event.Account](#anytype.Event.Account) - - [Event.Account.Config](#anytype.Event.Account.Config) - - [Event.Account.Config.Update](#anytype.Event.Account.Config.Update) - - [Event.Account.Details](#anytype.Event.Account.Details) - - [Event.Account.Show](#anytype.Event.Account.Show) - - [Event.Account.Update](#anytype.Event.Account.Update) - - [Event.Block](#anytype.Event.Block) - - [Event.Block.Add](#anytype.Event.Block.Add) - - [Event.Block.Dataview](#anytype.Event.Block.Dataview) - - [Event.Block.Dataview.GroupOrderUpdate](#anytype.Event.Block.Dataview.GroupOrderUpdate) - - [Event.Block.Dataview.IsCollectionSet](#anytype.Event.Block.Dataview.IsCollectionSet) - - [Event.Block.Dataview.ObjectOrderUpdate](#anytype.Event.Block.Dataview.ObjectOrderUpdate) - - [Event.Block.Dataview.OldRelationDelete](#anytype.Event.Block.Dataview.OldRelationDelete) - - [Event.Block.Dataview.OldRelationSet](#anytype.Event.Block.Dataview.OldRelationSet) - - [Event.Block.Dataview.RelationDelete](#anytype.Event.Block.Dataview.RelationDelete) - - [Event.Block.Dataview.RelationSet](#anytype.Event.Block.Dataview.RelationSet) - - [Event.Block.Dataview.SliceChange](#anytype.Event.Block.Dataview.SliceChange) - - [Event.Block.Dataview.SourceSet](#anytype.Event.Block.Dataview.SourceSet) - - [Event.Block.Dataview.TargetObjectIdSet](#anytype.Event.Block.Dataview.TargetObjectIdSet) - - [Event.Block.Dataview.ViewDelete](#anytype.Event.Block.Dataview.ViewDelete) - - [Event.Block.Dataview.ViewOrder](#anytype.Event.Block.Dataview.ViewOrder) - - [Event.Block.Dataview.ViewSet](#anytype.Event.Block.Dataview.ViewSet) - - [Event.Block.Dataview.ViewUpdate](#anytype.Event.Block.Dataview.ViewUpdate) - - [Event.Block.Dataview.ViewUpdate.Fields](#anytype.Event.Block.Dataview.ViewUpdate.Fields) - - [Event.Block.Dataview.ViewUpdate.Filter](#anytype.Event.Block.Dataview.ViewUpdate.Filter) - - [Event.Block.Dataview.ViewUpdate.Filter.Add](#anytype.Event.Block.Dataview.ViewUpdate.Filter.Add) - - [Event.Block.Dataview.ViewUpdate.Filter.Move](#anytype.Event.Block.Dataview.ViewUpdate.Filter.Move) - - [Event.Block.Dataview.ViewUpdate.Filter.Remove](#anytype.Event.Block.Dataview.ViewUpdate.Filter.Remove) - - [Event.Block.Dataview.ViewUpdate.Filter.Update](#anytype.Event.Block.Dataview.ViewUpdate.Filter.Update) - - [Event.Block.Dataview.ViewUpdate.Relation](#anytype.Event.Block.Dataview.ViewUpdate.Relation) - - [Event.Block.Dataview.ViewUpdate.Relation.Add](#anytype.Event.Block.Dataview.ViewUpdate.Relation.Add) - - [Event.Block.Dataview.ViewUpdate.Relation.Move](#anytype.Event.Block.Dataview.ViewUpdate.Relation.Move) - - [Event.Block.Dataview.ViewUpdate.Relation.Remove](#anytype.Event.Block.Dataview.ViewUpdate.Relation.Remove) - - [Event.Block.Dataview.ViewUpdate.Relation.Update](#anytype.Event.Block.Dataview.ViewUpdate.Relation.Update) - - [Event.Block.Dataview.ViewUpdate.Sort](#anytype.Event.Block.Dataview.ViewUpdate.Sort) - - [Event.Block.Dataview.ViewUpdate.Sort.Add](#anytype.Event.Block.Dataview.ViewUpdate.Sort.Add) - - [Event.Block.Dataview.ViewUpdate.Sort.Move](#anytype.Event.Block.Dataview.ViewUpdate.Sort.Move) - - [Event.Block.Dataview.ViewUpdate.Sort.Remove](#anytype.Event.Block.Dataview.ViewUpdate.Sort.Remove) - - [Event.Block.Dataview.ViewUpdate.Sort.Update](#anytype.Event.Block.Dataview.ViewUpdate.Sort.Update) - - [Event.Block.Delete](#anytype.Event.Block.Delete) - - [Event.Block.FilesUpload](#anytype.Event.Block.FilesUpload) - - [Event.Block.Fill](#anytype.Event.Block.Fill) - - [Event.Block.Fill.Align](#anytype.Event.Block.Fill.Align) - - [Event.Block.Fill.BackgroundColor](#anytype.Event.Block.Fill.BackgroundColor) - - [Event.Block.Fill.Bookmark](#anytype.Event.Block.Fill.Bookmark) - - [Event.Block.Fill.Bookmark.Description](#anytype.Event.Block.Fill.Bookmark.Description) - - [Event.Block.Fill.Bookmark.FaviconHash](#anytype.Event.Block.Fill.Bookmark.FaviconHash) - - [Event.Block.Fill.Bookmark.ImageHash](#anytype.Event.Block.Fill.Bookmark.ImageHash) - - [Event.Block.Fill.Bookmark.TargetObjectId](#anytype.Event.Block.Fill.Bookmark.TargetObjectId) - - [Event.Block.Fill.Bookmark.Title](#anytype.Event.Block.Fill.Bookmark.Title) - - [Event.Block.Fill.Bookmark.Type](#anytype.Event.Block.Fill.Bookmark.Type) - - [Event.Block.Fill.Bookmark.Url](#anytype.Event.Block.Fill.Bookmark.Url) - - [Event.Block.Fill.ChildrenIds](#anytype.Event.Block.Fill.ChildrenIds) - - [Event.Block.Fill.DatabaseRecords](#anytype.Event.Block.Fill.DatabaseRecords) - - [Event.Block.Fill.Details](#anytype.Event.Block.Fill.Details) - - [Event.Block.Fill.Div](#anytype.Event.Block.Fill.Div) - - [Event.Block.Fill.Div.Style](#anytype.Event.Block.Fill.Div.Style) - - [Event.Block.Fill.Fields](#anytype.Event.Block.Fill.Fields) - - [Event.Block.Fill.File](#anytype.Event.Block.Fill.File) - - [Event.Block.Fill.File.Hash](#anytype.Event.Block.Fill.File.Hash) - - [Event.Block.Fill.File.Mime](#anytype.Event.Block.Fill.File.Mime) - - [Event.Block.Fill.File.Name](#anytype.Event.Block.Fill.File.Name) - - [Event.Block.Fill.File.Size](#anytype.Event.Block.Fill.File.Size) - - [Event.Block.Fill.File.State](#anytype.Event.Block.Fill.File.State) - - [Event.Block.Fill.File.Style](#anytype.Event.Block.Fill.File.Style) - - [Event.Block.Fill.File.Type](#anytype.Event.Block.Fill.File.Type) - - [Event.Block.Fill.File.Width](#anytype.Event.Block.Fill.File.Width) - - [Event.Block.Fill.Link](#anytype.Event.Block.Fill.Link) - - [Event.Block.Fill.Link.Fields](#anytype.Event.Block.Fill.Link.Fields) - - [Event.Block.Fill.Link.Style](#anytype.Event.Block.Fill.Link.Style) - - [Event.Block.Fill.Link.TargetBlockId](#anytype.Event.Block.Fill.Link.TargetBlockId) - - [Event.Block.Fill.Restrictions](#anytype.Event.Block.Fill.Restrictions) - - [Event.Block.Fill.Text](#anytype.Event.Block.Fill.Text) - - [Event.Block.Fill.Text.Checked](#anytype.Event.Block.Fill.Text.Checked) - - [Event.Block.Fill.Text.Color](#anytype.Event.Block.Fill.Text.Color) - - [Event.Block.Fill.Text.Marks](#anytype.Event.Block.Fill.Text.Marks) - - [Event.Block.Fill.Text.Style](#anytype.Event.Block.Fill.Text.Style) - - [Event.Block.Fill.Text.Text](#anytype.Event.Block.Fill.Text.Text) - - [Event.Block.MarksInfo](#anytype.Event.Block.MarksInfo) - - [Event.Block.Set](#anytype.Event.Block.Set) - - [Event.Block.Set.Align](#anytype.Event.Block.Set.Align) - - [Event.Block.Set.BackgroundColor](#anytype.Event.Block.Set.BackgroundColor) - - [Event.Block.Set.Bookmark](#anytype.Event.Block.Set.Bookmark) - - [Event.Block.Set.Bookmark.Description](#anytype.Event.Block.Set.Bookmark.Description) - - [Event.Block.Set.Bookmark.FaviconHash](#anytype.Event.Block.Set.Bookmark.FaviconHash) - - [Event.Block.Set.Bookmark.ImageHash](#anytype.Event.Block.Set.Bookmark.ImageHash) - - [Event.Block.Set.Bookmark.State](#anytype.Event.Block.Set.Bookmark.State) - - [Event.Block.Set.Bookmark.TargetObjectId](#anytype.Event.Block.Set.Bookmark.TargetObjectId) - - [Event.Block.Set.Bookmark.Title](#anytype.Event.Block.Set.Bookmark.Title) - - [Event.Block.Set.Bookmark.Type](#anytype.Event.Block.Set.Bookmark.Type) - - [Event.Block.Set.Bookmark.Url](#anytype.Event.Block.Set.Bookmark.Url) - - [Event.Block.Set.ChildrenIds](#anytype.Event.Block.Set.ChildrenIds) - - [Event.Block.Set.Div](#anytype.Event.Block.Set.Div) - - [Event.Block.Set.Div.Style](#anytype.Event.Block.Set.Div.Style) - - [Event.Block.Set.Fields](#anytype.Event.Block.Set.Fields) - - [Event.Block.Set.File](#anytype.Event.Block.Set.File) - - [Event.Block.Set.File.Hash](#anytype.Event.Block.Set.File.Hash) - - [Event.Block.Set.File.Mime](#anytype.Event.Block.Set.File.Mime) - - [Event.Block.Set.File.Name](#anytype.Event.Block.Set.File.Name) - - [Event.Block.Set.File.Size](#anytype.Event.Block.Set.File.Size) - - [Event.Block.Set.File.State](#anytype.Event.Block.Set.File.State) - - [Event.Block.Set.File.Style](#anytype.Event.Block.Set.File.Style) - - [Event.Block.Set.File.Type](#anytype.Event.Block.Set.File.Type) - - [Event.Block.Set.File.Width](#anytype.Event.Block.Set.File.Width) - - [Event.Block.Set.Latex](#anytype.Event.Block.Set.Latex) - - [Event.Block.Set.Latex.Text](#anytype.Event.Block.Set.Latex.Text) - - [Event.Block.Set.Link](#anytype.Event.Block.Set.Link) - - [Event.Block.Set.Link.CardStyle](#anytype.Event.Block.Set.Link.CardStyle) - - [Event.Block.Set.Link.Description](#anytype.Event.Block.Set.Link.Description) - - [Event.Block.Set.Link.Fields](#anytype.Event.Block.Set.Link.Fields) - - [Event.Block.Set.Link.IconSize](#anytype.Event.Block.Set.Link.IconSize) - - [Event.Block.Set.Link.Relations](#anytype.Event.Block.Set.Link.Relations) - - [Event.Block.Set.Link.Style](#anytype.Event.Block.Set.Link.Style) - - [Event.Block.Set.Link.TargetBlockId](#anytype.Event.Block.Set.Link.TargetBlockId) - - [Event.Block.Set.Relation](#anytype.Event.Block.Set.Relation) - - [Event.Block.Set.Relation.Key](#anytype.Event.Block.Set.Relation.Key) - - [Event.Block.Set.Restrictions](#anytype.Event.Block.Set.Restrictions) - - [Event.Block.Set.TableRow](#anytype.Event.Block.Set.TableRow) - - [Event.Block.Set.TableRow.IsHeader](#anytype.Event.Block.Set.TableRow.IsHeader) - - [Event.Block.Set.Text](#anytype.Event.Block.Set.Text) - - [Event.Block.Set.Text.Checked](#anytype.Event.Block.Set.Text.Checked) - - [Event.Block.Set.Text.Color](#anytype.Event.Block.Set.Text.Color) - - [Event.Block.Set.Text.IconEmoji](#anytype.Event.Block.Set.Text.IconEmoji) - - [Event.Block.Set.Text.IconImage](#anytype.Event.Block.Set.Text.IconImage) - - [Event.Block.Set.Text.Marks](#anytype.Event.Block.Set.Text.Marks) - - [Event.Block.Set.Text.Style](#anytype.Event.Block.Set.Text.Style) - - [Event.Block.Set.Text.Text](#anytype.Event.Block.Set.Text.Text) - - [Event.Block.Set.VerticalAlign](#anytype.Event.Block.Set.VerticalAlign) - - [Event.Block.Set.Widget](#anytype.Event.Block.Set.Widget) - - [Event.Block.Set.Widget.Layout](#anytype.Event.Block.Set.Widget.Layout) - - [Event.Block.Set.Widget.Limit](#anytype.Event.Block.Set.Widget.Limit) - - [Event.Block.Set.Widget.ViewId](#anytype.Event.Block.Set.Widget.ViewId) - - [Event.File](#anytype.Event.File) - - [Event.File.LimitReached](#anytype.Event.File.LimitReached) - - [Event.File.LocalUsage](#anytype.Event.File.LocalUsage) - - [Event.File.SpaceUsage](#anytype.Event.File.SpaceUsage) - - [Event.Message](#anytype.Event.Message) - - [Event.Object](#anytype.Event.Object) - - [Event.Object.Details](#anytype.Event.Object.Details) - - [Event.Object.Details.Amend](#anytype.Event.Object.Details.Amend) - - [Event.Object.Details.Amend.KeyValue](#anytype.Event.Object.Details.Amend.KeyValue) - - [Event.Object.Details.Set](#anytype.Event.Object.Details.Set) - - [Event.Object.Details.Unset](#anytype.Event.Object.Details.Unset) - - [Event.Object.Relations](#anytype.Event.Object.Relations) - - [Event.Object.Relations.Amend](#anytype.Event.Object.Relations.Amend) - - [Event.Object.Relations.Remove](#anytype.Event.Object.Relations.Remove) - - [Event.Object.Remove](#anytype.Event.Object.Remove) - - [Event.Object.Restrictions](#anytype.Event.Object.Restrictions) - - [Event.Object.Restrictions.Set](#anytype.Event.Object.Restrictions.Set) - - [Event.Object.Subscription](#anytype.Event.Object.Subscription) - - [Event.Object.Subscription.Add](#anytype.Event.Object.Subscription.Add) - - [Event.Object.Subscription.Counters](#anytype.Event.Object.Subscription.Counters) - - [Event.Object.Subscription.Groups](#anytype.Event.Object.Subscription.Groups) - - [Event.Object.Subscription.Position](#anytype.Event.Object.Subscription.Position) - - [Event.Object.Subscription.Remove](#anytype.Event.Object.Subscription.Remove) - - [Event.Ping](#anytype.Event.Ping) - - [Event.Process](#anytype.Event.Process) - - [Event.Process.Done](#anytype.Event.Process.Done) - - [Event.Process.New](#anytype.Event.Process.New) - - [Event.Process.Update](#anytype.Event.Process.Update) - - [Event.Status](#anytype.Event.Status) - - [Event.Status.Thread](#anytype.Event.Status.Thread) - - [Event.Status.Thread.Account](#anytype.Event.Status.Thread.Account) - - [Event.Status.Thread.Cafe](#anytype.Event.Status.Thread.Cafe) - - [Event.Status.Thread.Cafe.PinStatus](#anytype.Event.Status.Thread.Cafe.PinStatus) - - [Event.Status.Thread.Device](#anytype.Event.Status.Thread.Device) - - [Event.Status.Thread.Summary](#anytype.Event.Status.Thread.Summary) - - [Event.User](#anytype.Event.User) - - [Event.User.Block](#anytype.Event.User.Block) - - [Event.User.Block.Join](#anytype.Event.User.Block.Join) - - [Event.User.Block.Left](#anytype.Event.User.Block.Left) - - [Event.User.Block.SelectRange](#anytype.Event.User.Block.SelectRange) - - [Event.User.Block.TextRange](#anytype.Event.User.Block.TextRange) - - [Model](#anytype.Model) - - [Model.Process](#anytype.Model.Process) - - [Model.Process.Progress](#anytype.Model.Process.Progress) - - [ResponseEvent](#anytype.ResponseEvent) +- [pb/protos/events.proto](#pb_protos_events-proto) + - [Event](#anytype-Event) + - [Event.Account](#anytype-Event-Account) + - [Event.Account.Config](#anytype-Event-Account-Config) + - [Event.Account.Config.Update](#anytype-Event-Account-Config-Update) + - [Event.Account.Details](#anytype-Event-Account-Details) + - [Event.Account.Show](#anytype-Event-Account-Show) + - [Event.Account.Update](#anytype-Event-Account-Update) + - [Event.Block](#anytype-Event-Block) + - [Event.Block.Add](#anytype-Event-Block-Add) + - [Event.Block.Dataview](#anytype-Event-Block-Dataview) + - [Event.Block.Dataview.GroupOrderUpdate](#anytype-Event-Block-Dataview-GroupOrderUpdate) + - [Event.Block.Dataview.IsCollectionSet](#anytype-Event-Block-Dataview-IsCollectionSet) + - [Event.Block.Dataview.ObjectOrderUpdate](#anytype-Event-Block-Dataview-ObjectOrderUpdate) + - [Event.Block.Dataview.OldRelationDelete](#anytype-Event-Block-Dataview-OldRelationDelete) + - [Event.Block.Dataview.OldRelationSet](#anytype-Event-Block-Dataview-OldRelationSet) + - [Event.Block.Dataview.RelationDelete](#anytype-Event-Block-Dataview-RelationDelete) + - [Event.Block.Dataview.RelationSet](#anytype-Event-Block-Dataview-RelationSet) + - [Event.Block.Dataview.SliceChange](#anytype-Event-Block-Dataview-SliceChange) + - [Event.Block.Dataview.SourceSet](#anytype-Event-Block-Dataview-SourceSet) + - [Event.Block.Dataview.TargetObjectIdSet](#anytype-Event-Block-Dataview-TargetObjectIdSet) + - [Event.Block.Dataview.ViewDelete](#anytype-Event-Block-Dataview-ViewDelete) + - [Event.Block.Dataview.ViewOrder](#anytype-Event-Block-Dataview-ViewOrder) + - [Event.Block.Dataview.ViewSet](#anytype-Event-Block-Dataview-ViewSet) + - [Event.Block.Dataview.ViewUpdate](#anytype-Event-Block-Dataview-ViewUpdate) + - [Event.Block.Dataview.ViewUpdate.Fields](#anytype-Event-Block-Dataview-ViewUpdate-Fields) + - [Event.Block.Dataview.ViewUpdate.Filter](#anytype-Event-Block-Dataview-ViewUpdate-Filter) + - [Event.Block.Dataview.ViewUpdate.Filter.Add](#anytype-Event-Block-Dataview-ViewUpdate-Filter-Add) + - [Event.Block.Dataview.ViewUpdate.Filter.Move](#anytype-Event-Block-Dataview-ViewUpdate-Filter-Move) + - [Event.Block.Dataview.ViewUpdate.Filter.Remove](#anytype-Event-Block-Dataview-ViewUpdate-Filter-Remove) + - [Event.Block.Dataview.ViewUpdate.Filter.Update](#anytype-Event-Block-Dataview-ViewUpdate-Filter-Update) + - [Event.Block.Dataview.ViewUpdate.Relation](#anytype-Event-Block-Dataview-ViewUpdate-Relation) + - [Event.Block.Dataview.ViewUpdate.Relation.Add](#anytype-Event-Block-Dataview-ViewUpdate-Relation-Add) + - [Event.Block.Dataview.ViewUpdate.Relation.Move](#anytype-Event-Block-Dataview-ViewUpdate-Relation-Move) + - [Event.Block.Dataview.ViewUpdate.Relation.Remove](#anytype-Event-Block-Dataview-ViewUpdate-Relation-Remove) + - [Event.Block.Dataview.ViewUpdate.Relation.Update](#anytype-Event-Block-Dataview-ViewUpdate-Relation-Update) + - [Event.Block.Dataview.ViewUpdate.Sort](#anytype-Event-Block-Dataview-ViewUpdate-Sort) + - [Event.Block.Dataview.ViewUpdate.Sort.Add](#anytype-Event-Block-Dataview-ViewUpdate-Sort-Add) + - [Event.Block.Dataview.ViewUpdate.Sort.Move](#anytype-Event-Block-Dataview-ViewUpdate-Sort-Move) + - [Event.Block.Dataview.ViewUpdate.Sort.Remove](#anytype-Event-Block-Dataview-ViewUpdate-Sort-Remove) + - [Event.Block.Dataview.ViewUpdate.Sort.Update](#anytype-Event-Block-Dataview-ViewUpdate-Sort-Update) + - [Event.Block.Delete](#anytype-Event-Block-Delete) + - [Event.Block.FilesUpload](#anytype-Event-Block-FilesUpload) + - [Event.Block.Fill](#anytype-Event-Block-Fill) + - [Event.Block.Fill.Align](#anytype-Event-Block-Fill-Align) + - [Event.Block.Fill.BackgroundColor](#anytype-Event-Block-Fill-BackgroundColor) + - [Event.Block.Fill.Bookmark](#anytype-Event-Block-Fill-Bookmark) + - [Event.Block.Fill.Bookmark.Description](#anytype-Event-Block-Fill-Bookmark-Description) + - [Event.Block.Fill.Bookmark.FaviconHash](#anytype-Event-Block-Fill-Bookmark-FaviconHash) + - [Event.Block.Fill.Bookmark.ImageHash](#anytype-Event-Block-Fill-Bookmark-ImageHash) + - [Event.Block.Fill.Bookmark.TargetObjectId](#anytype-Event-Block-Fill-Bookmark-TargetObjectId) + - [Event.Block.Fill.Bookmark.Title](#anytype-Event-Block-Fill-Bookmark-Title) + - [Event.Block.Fill.Bookmark.Type](#anytype-Event-Block-Fill-Bookmark-Type) + - [Event.Block.Fill.Bookmark.Url](#anytype-Event-Block-Fill-Bookmark-Url) + - [Event.Block.Fill.ChildrenIds](#anytype-Event-Block-Fill-ChildrenIds) + - [Event.Block.Fill.DatabaseRecords](#anytype-Event-Block-Fill-DatabaseRecords) + - [Event.Block.Fill.Details](#anytype-Event-Block-Fill-Details) + - [Event.Block.Fill.Div](#anytype-Event-Block-Fill-Div) + - [Event.Block.Fill.Div.Style](#anytype-Event-Block-Fill-Div-Style) + - [Event.Block.Fill.Fields](#anytype-Event-Block-Fill-Fields) + - [Event.Block.Fill.File](#anytype-Event-Block-Fill-File) + - [Event.Block.Fill.File.Hash](#anytype-Event-Block-Fill-File-Hash) + - [Event.Block.Fill.File.Mime](#anytype-Event-Block-Fill-File-Mime) + - [Event.Block.Fill.File.Name](#anytype-Event-Block-Fill-File-Name) + - [Event.Block.Fill.File.Size](#anytype-Event-Block-Fill-File-Size) + - [Event.Block.Fill.File.State](#anytype-Event-Block-Fill-File-State) + - [Event.Block.Fill.File.Style](#anytype-Event-Block-Fill-File-Style) + - [Event.Block.Fill.File.Type](#anytype-Event-Block-Fill-File-Type) + - [Event.Block.Fill.File.Width](#anytype-Event-Block-Fill-File-Width) + - [Event.Block.Fill.Link](#anytype-Event-Block-Fill-Link) + - [Event.Block.Fill.Link.Fields](#anytype-Event-Block-Fill-Link-Fields) + - [Event.Block.Fill.Link.Style](#anytype-Event-Block-Fill-Link-Style) + - [Event.Block.Fill.Link.TargetBlockId](#anytype-Event-Block-Fill-Link-TargetBlockId) + - [Event.Block.Fill.Restrictions](#anytype-Event-Block-Fill-Restrictions) + - [Event.Block.Fill.Text](#anytype-Event-Block-Fill-Text) + - [Event.Block.Fill.Text.Checked](#anytype-Event-Block-Fill-Text-Checked) + - [Event.Block.Fill.Text.Color](#anytype-Event-Block-Fill-Text-Color) + - [Event.Block.Fill.Text.Marks](#anytype-Event-Block-Fill-Text-Marks) + - [Event.Block.Fill.Text.Style](#anytype-Event-Block-Fill-Text-Style) + - [Event.Block.Fill.Text.Text](#anytype-Event-Block-Fill-Text-Text) + - [Event.Block.MarksInfo](#anytype-Event-Block-MarksInfo) + - [Event.Block.Set](#anytype-Event-Block-Set) + - [Event.Block.Set.Align](#anytype-Event-Block-Set-Align) + - [Event.Block.Set.BackgroundColor](#anytype-Event-Block-Set-BackgroundColor) + - [Event.Block.Set.Bookmark](#anytype-Event-Block-Set-Bookmark) + - [Event.Block.Set.Bookmark.Description](#anytype-Event-Block-Set-Bookmark-Description) + - [Event.Block.Set.Bookmark.FaviconHash](#anytype-Event-Block-Set-Bookmark-FaviconHash) + - [Event.Block.Set.Bookmark.ImageHash](#anytype-Event-Block-Set-Bookmark-ImageHash) + - [Event.Block.Set.Bookmark.State](#anytype-Event-Block-Set-Bookmark-State) + - [Event.Block.Set.Bookmark.TargetObjectId](#anytype-Event-Block-Set-Bookmark-TargetObjectId) + - [Event.Block.Set.Bookmark.Title](#anytype-Event-Block-Set-Bookmark-Title) + - [Event.Block.Set.Bookmark.Type](#anytype-Event-Block-Set-Bookmark-Type) + - [Event.Block.Set.Bookmark.Url](#anytype-Event-Block-Set-Bookmark-Url) + - [Event.Block.Set.ChildrenIds](#anytype-Event-Block-Set-ChildrenIds) + - [Event.Block.Set.Div](#anytype-Event-Block-Set-Div) + - [Event.Block.Set.Div.Style](#anytype-Event-Block-Set-Div-Style) + - [Event.Block.Set.Fields](#anytype-Event-Block-Set-Fields) + - [Event.Block.Set.File](#anytype-Event-Block-Set-File) + - [Event.Block.Set.File.Hash](#anytype-Event-Block-Set-File-Hash) + - [Event.Block.Set.File.Mime](#anytype-Event-Block-Set-File-Mime) + - [Event.Block.Set.File.Name](#anytype-Event-Block-Set-File-Name) + - [Event.Block.Set.File.Size](#anytype-Event-Block-Set-File-Size) + - [Event.Block.Set.File.State](#anytype-Event-Block-Set-File-State) + - [Event.Block.Set.File.Style](#anytype-Event-Block-Set-File-Style) + - [Event.Block.Set.File.Type](#anytype-Event-Block-Set-File-Type) + - [Event.Block.Set.File.Width](#anytype-Event-Block-Set-File-Width) + - [Event.Block.Set.Latex](#anytype-Event-Block-Set-Latex) + - [Event.Block.Set.Latex.Text](#anytype-Event-Block-Set-Latex-Text) + - [Event.Block.Set.Link](#anytype-Event-Block-Set-Link) + - [Event.Block.Set.Link.CardStyle](#anytype-Event-Block-Set-Link-CardStyle) + - [Event.Block.Set.Link.Description](#anytype-Event-Block-Set-Link-Description) + - [Event.Block.Set.Link.Fields](#anytype-Event-Block-Set-Link-Fields) + - [Event.Block.Set.Link.IconSize](#anytype-Event-Block-Set-Link-IconSize) + - [Event.Block.Set.Link.Relations](#anytype-Event-Block-Set-Link-Relations) + - [Event.Block.Set.Link.Style](#anytype-Event-Block-Set-Link-Style) + - [Event.Block.Set.Link.TargetBlockId](#anytype-Event-Block-Set-Link-TargetBlockId) + - [Event.Block.Set.Relation](#anytype-Event-Block-Set-Relation) + - [Event.Block.Set.Relation.Key](#anytype-Event-Block-Set-Relation-Key) + - [Event.Block.Set.Restrictions](#anytype-Event-Block-Set-Restrictions) + - [Event.Block.Set.TableRow](#anytype-Event-Block-Set-TableRow) + - [Event.Block.Set.TableRow.IsHeader](#anytype-Event-Block-Set-TableRow-IsHeader) + - [Event.Block.Set.Text](#anytype-Event-Block-Set-Text) + - [Event.Block.Set.Text.Checked](#anytype-Event-Block-Set-Text-Checked) + - [Event.Block.Set.Text.Color](#anytype-Event-Block-Set-Text-Color) + - [Event.Block.Set.Text.IconEmoji](#anytype-Event-Block-Set-Text-IconEmoji) + - [Event.Block.Set.Text.IconImage](#anytype-Event-Block-Set-Text-IconImage) + - [Event.Block.Set.Text.Marks](#anytype-Event-Block-Set-Text-Marks) + - [Event.Block.Set.Text.Style](#anytype-Event-Block-Set-Text-Style) + - [Event.Block.Set.Text.Text](#anytype-Event-Block-Set-Text-Text) + - [Event.Block.Set.VerticalAlign](#anytype-Event-Block-Set-VerticalAlign) + - [Event.Block.Set.Widget](#anytype-Event-Block-Set-Widget) + - [Event.Block.Set.Widget.Layout](#anytype-Event-Block-Set-Widget-Layout) + - [Event.Block.Set.Widget.Limit](#anytype-Event-Block-Set-Widget-Limit) + - [Event.Block.Set.Widget.ViewId](#anytype-Event-Block-Set-Widget-ViewId) + - [Event.File](#anytype-Event-File) + - [Event.File.LimitReached](#anytype-Event-File-LimitReached) + - [Event.File.LocalUsage](#anytype-Event-File-LocalUsage) + - [Event.File.SpaceUsage](#anytype-Event-File-SpaceUsage) + - [Event.Message](#anytype-Event-Message) + - [Event.Object](#anytype-Event-Object) + - [Event.Object.Details](#anytype-Event-Object-Details) + - [Event.Object.Details.Amend](#anytype-Event-Object-Details-Amend) + - [Event.Object.Details.Amend.KeyValue](#anytype-Event-Object-Details-Amend-KeyValue) + - [Event.Object.Details.Set](#anytype-Event-Object-Details-Set) + - [Event.Object.Details.Unset](#anytype-Event-Object-Details-Unset) + - [Event.Object.Relations](#anytype-Event-Object-Relations) + - [Event.Object.Relations.Amend](#anytype-Event-Object-Relations-Amend) + - [Event.Object.Relations.Remove](#anytype-Event-Object-Relations-Remove) + - [Event.Object.Remove](#anytype-Event-Object-Remove) + - [Event.Object.Restrictions](#anytype-Event-Object-Restrictions) + - [Event.Object.Restrictions.Set](#anytype-Event-Object-Restrictions-Set) + - [Event.Object.Subscription](#anytype-Event-Object-Subscription) + - [Event.Object.Subscription.Add](#anytype-Event-Object-Subscription-Add) + - [Event.Object.Subscription.Counters](#anytype-Event-Object-Subscription-Counters) + - [Event.Object.Subscription.Groups](#anytype-Event-Object-Subscription-Groups) + - [Event.Object.Subscription.Position](#anytype-Event-Object-Subscription-Position) + - [Event.Object.Subscription.Remove](#anytype-Event-Object-Subscription-Remove) + - [Event.Ping](#anytype-Event-Ping) + - [Event.Process](#anytype-Event-Process) + - [Event.Process.Done](#anytype-Event-Process-Done) + - [Event.Process.New](#anytype-Event-Process-New) + - [Event.Process.Update](#anytype-Event-Process-Update) + - [Event.Status](#anytype-Event-Status) + - [Event.Status.Thread](#anytype-Event-Status-Thread) + - [Event.Status.Thread.Account](#anytype-Event-Status-Thread-Account) + - [Event.Status.Thread.Cafe](#anytype-Event-Status-Thread-Cafe) + - [Event.Status.Thread.Cafe.PinStatus](#anytype-Event-Status-Thread-Cafe-PinStatus) + - [Event.Status.Thread.Device](#anytype-Event-Status-Thread-Device) + - [Event.Status.Thread.Summary](#anytype-Event-Status-Thread-Summary) + - [Event.User](#anytype-Event-User) + - [Event.User.Block](#anytype-Event-User-Block) + - [Event.User.Block.Join](#anytype-Event-User-Block-Join) + - [Event.User.Block.Left](#anytype-Event-User-Block-Left) + - [Event.User.Block.SelectRange](#anytype-Event-User-Block-SelectRange) + - [Event.User.Block.TextRange](#anytype-Event-User-Block-TextRange) + - [Model](#anytype-Model) + - [Model.Process](#anytype-Model-Process) + - [Model.Process.Progress](#anytype-Model-Process-Progress) + - [ResponseEvent](#anytype-ResponseEvent) - - [Event.Block.Dataview.SliceOperation](#anytype.Event.Block.Dataview.SliceOperation) - - [Event.Status.Thread.SyncStatus](#anytype.Event.Status.Thread.SyncStatus) - - [Model.Process.State](#anytype.Model.Process.State) - - [Model.Process.Type](#anytype.Model.Process.Type) + - [Event.Block.Dataview.SliceOperation](#anytype-Event-Block-Dataview-SliceOperation) + - [Event.Status.Thread.SyncStatus](#anytype-Event-Status-Thread-SyncStatus) + - [Model.Process.State](#anytype-Model-Process-State) + - [Model.Process.Type](#anytype-Model-Process-Type) -- [pb/protos/snapshot.proto](#pb/protos/snapshot.proto) - - [Profile](#anytype.Profile) - - [SnapshotWithType](#anytype.SnapshotWithType) +- [pb/protos/snapshot.proto](#pb_protos_snapshot-proto) + - [Profile](#anytype-Profile) + - [SnapshotWithType](#anytype-SnapshotWithType) -- [pkg/lib/pb/model/protos/localstore.proto](#pkg/lib/pb/model/protos/localstore.proto) - - [ObjectDetails](#anytype.model.ObjectDetails) - - [ObjectInfo](#anytype.model.ObjectInfo) - - [ObjectInfoWithLinks](#anytype.model.ObjectInfoWithLinks) - - [ObjectInfoWithOutboundLinks](#anytype.model.ObjectInfoWithOutboundLinks) - - [ObjectInfoWithOutboundLinksIDs](#anytype.model.ObjectInfoWithOutboundLinksIDs) - - [ObjectLinks](#anytype.model.ObjectLinks) - - [ObjectLinksInfo](#anytype.model.ObjectLinksInfo) - - [ObjectStoreChecksums](#anytype.model.ObjectStoreChecksums) +- [pkg/lib/pb/model/protos/localstore.proto](#pkg_lib_pb_model_protos_localstore-proto) + - [ObjectDetails](#anytype-model-ObjectDetails) + - [ObjectInfo](#anytype-model-ObjectInfo) + - [ObjectInfoWithLinks](#anytype-model-ObjectInfoWithLinks) + - [ObjectInfoWithOutboundLinks](#anytype-model-ObjectInfoWithOutboundLinks) + - [ObjectInfoWithOutboundLinksIDs](#anytype-model-ObjectInfoWithOutboundLinksIDs) + - [ObjectLinks](#anytype-model-ObjectLinks) + - [ObjectLinksInfo](#anytype-model-ObjectLinksInfo) + - [ObjectStoreChecksums](#anytype-model-ObjectStoreChecksums) -- [pkg/lib/pb/model/protos/models.proto](#pkg/lib/pb/model/protos/models.proto) - - [Account](#anytype.model.Account) - - [Account.Avatar](#anytype.model.Account.Avatar) - - [Account.Config](#anytype.model.Account.Config) - - [Account.Info](#anytype.model.Account.Info) - - [Account.Status](#anytype.model.Account.Status) - - [Block](#anytype.model.Block) - - [Block.Content](#anytype.model.Block.Content) - - [Block.Content.Bookmark](#anytype.model.Block.Content.Bookmark) - - [Block.Content.Dataview](#anytype.model.Block.Content.Dataview) - - [Block.Content.Dataview.Checkbox](#anytype.model.Block.Content.Dataview.Checkbox) - - [Block.Content.Dataview.Date](#anytype.model.Block.Content.Dataview.Date) - - [Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) - - [Block.Content.Dataview.Group](#anytype.model.Block.Content.Dataview.Group) - - [Block.Content.Dataview.GroupOrder](#anytype.model.Block.Content.Dataview.GroupOrder) - - [Block.Content.Dataview.ObjectOrder](#anytype.model.Block.Content.Dataview.ObjectOrder) - - [Block.Content.Dataview.Relation](#anytype.model.Block.Content.Dataview.Relation) - - [Block.Content.Dataview.Sort](#anytype.model.Block.Content.Dataview.Sort) - - [Block.Content.Dataview.Status](#anytype.model.Block.Content.Dataview.Status) - - [Block.Content.Dataview.Tag](#anytype.model.Block.Content.Dataview.Tag) - - [Block.Content.Dataview.View](#anytype.model.Block.Content.Dataview.View) - - [Block.Content.Dataview.ViewGroup](#anytype.model.Block.Content.Dataview.ViewGroup) - - [Block.Content.Div](#anytype.model.Block.Content.Div) - - [Block.Content.FeaturedRelations](#anytype.model.Block.Content.FeaturedRelations) - - [Block.Content.File](#anytype.model.Block.Content.File) - - [Block.Content.Icon](#anytype.model.Block.Content.Icon) - - [Block.Content.Latex](#anytype.model.Block.Content.Latex) - - [Block.Content.Layout](#anytype.model.Block.Content.Layout) - - [Block.Content.Link](#anytype.model.Block.Content.Link) - - [Block.Content.Relation](#anytype.model.Block.Content.Relation) - - [Block.Content.Smartblock](#anytype.model.Block.Content.Smartblock) - - [Block.Content.Table](#anytype.model.Block.Content.Table) - - [Block.Content.TableColumn](#anytype.model.Block.Content.TableColumn) - - [Block.Content.TableOfContents](#anytype.model.Block.Content.TableOfContents) - - [Block.Content.TableRow](#anytype.model.Block.Content.TableRow) - - [Block.Content.Text](#anytype.model.Block.Content.Text) - - [Block.Content.Text.Mark](#anytype.model.Block.Content.Text.Mark) - - [Block.Content.Text.Marks](#anytype.model.Block.Content.Text.Marks) - - [Block.Content.Widget](#anytype.model.Block.Content.Widget) - - [Block.Restrictions](#anytype.model.Block.Restrictions) - - [BlockMetaOnly](#anytype.model.BlockMetaOnly) - - [InternalFlag](#anytype.model.InternalFlag) - - [Layout](#anytype.model.Layout) - - [LinkPreview](#anytype.model.LinkPreview) - - [Object](#anytype.model.Object) - - [Object.ChangePayload](#anytype.model.Object.ChangePayload) - - [ObjectType](#anytype.model.ObjectType) - - [ObjectView](#anytype.model.ObjectView) - - [ObjectView.DetailsSet](#anytype.model.ObjectView.DetailsSet) - - [ObjectView.HistorySize](#anytype.model.ObjectView.HistorySize) - - [ObjectView.RelationWithValuePerObject](#anytype.model.ObjectView.RelationWithValuePerObject) - - [Range](#anytype.model.Range) - - [Relation](#anytype.model.Relation) - - [Relation.Option](#anytype.model.Relation.Option) - - [RelationLink](#anytype.model.RelationLink) - - [RelationOptions](#anytype.model.RelationOptions) - - [RelationWithValue](#anytype.model.RelationWithValue) - - [Relations](#anytype.model.Relations) - - [Restrictions](#anytype.model.Restrictions) - - [Restrictions.DataviewRestrictions](#anytype.model.Restrictions.DataviewRestrictions) - - [SmartBlockSnapshotBase](#anytype.model.SmartBlockSnapshotBase) - - [ThreadCreateQueueEntry](#anytype.model.ThreadCreateQueueEntry) - - [ThreadDeeplinkPayload](#anytype.model.ThreadDeeplinkPayload) +- [pkg/lib/pb/model/protos/models.proto](#pkg_lib_pb_model_protos_models-proto) + - [Account](#anytype-model-Account) + - [Account.Avatar](#anytype-model-Account-Avatar) + - [Account.Config](#anytype-model-Account-Config) + - [Account.Info](#anytype-model-Account-Info) + - [Account.Status](#anytype-model-Account-Status) + - [Block](#anytype-model-Block) + - [Block.Content](#anytype-model-Block-Content) + - [Block.Content.Bookmark](#anytype-model-Block-Content-Bookmark) + - [Block.Content.Dataview](#anytype-model-Block-Content-Dataview) + - [Block.Content.Dataview.Checkbox](#anytype-model-Block-Content-Dataview-Checkbox) + - [Block.Content.Dataview.Date](#anytype-model-Block-Content-Dataview-Date) + - [Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) + - [Block.Content.Dataview.Group](#anytype-model-Block-Content-Dataview-Group) + - [Block.Content.Dataview.GroupOrder](#anytype-model-Block-Content-Dataview-GroupOrder) + - [Block.Content.Dataview.ObjectOrder](#anytype-model-Block-Content-Dataview-ObjectOrder) + - [Block.Content.Dataview.Relation](#anytype-model-Block-Content-Dataview-Relation) + - [Block.Content.Dataview.Sort](#anytype-model-Block-Content-Dataview-Sort) + - [Block.Content.Dataview.Status](#anytype-model-Block-Content-Dataview-Status) + - [Block.Content.Dataview.Tag](#anytype-model-Block-Content-Dataview-Tag) + - [Block.Content.Dataview.View](#anytype-model-Block-Content-Dataview-View) + - [Block.Content.Dataview.ViewGroup](#anytype-model-Block-Content-Dataview-ViewGroup) + - [Block.Content.Div](#anytype-model-Block-Content-Div) + - [Block.Content.FeaturedRelations](#anytype-model-Block-Content-FeaturedRelations) + - [Block.Content.File](#anytype-model-Block-Content-File) + - [Block.Content.Icon](#anytype-model-Block-Content-Icon) + - [Block.Content.Latex](#anytype-model-Block-Content-Latex) + - [Block.Content.Layout](#anytype-model-Block-Content-Layout) + - [Block.Content.Link](#anytype-model-Block-Content-Link) + - [Block.Content.Relation](#anytype-model-Block-Content-Relation) + - [Block.Content.Smartblock](#anytype-model-Block-Content-Smartblock) + - [Block.Content.Table](#anytype-model-Block-Content-Table) + - [Block.Content.TableColumn](#anytype-model-Block-Content-TableColumn) + - [Block.Content.TableOfContents](#anytype-model-Block-Content-TableOfContents) + - [Block.Content.TableRow](#anytype-model-Block-Content-TableRow) + - [Block.Content.Text](#anytype-model-Block-Content-Text) + - [Block.Content.Text.Mark](#anytype-model-Block-Content-Text-Mark) + - [Block.Content.Text.Marks](#anytype-model-Block-Content-Text-Marks) + - [Block.Content.Widget](#anytype-model-Block-Content-Widget) + - [Block.Restrictions](#anytype-model-Block-Restrictions) + - [BlockMetaOnly](#anytype-model-BlockMetaOnly) + - [InternalFlag](#anytype-model-InternalFlag) + - [Layout](#anytype-model-Layout) + - [LinkPreview](#anytype-model-LinkPreview) + - [Object](#anytype-model-Object) + - [Object.ChangePayload](#anytype-model-Object-ChangePayload) + - [ObjectType](#anytype-model-ObjectType) + - [ObjectView](#anytype-model-ObjectView) + - [ObjectView.DetailsSet](#anytype-model-ObjectView-DetailsSet) + - [ObjectView.HistorySize](#anytype-model-ObjectView-HistorySize) + - [ObjectView.RelationWithValuePerObject](#anytype-model-ObjectView-RelationWithValuePerObject) + - [Range](#anytype-model-Range) + - [Relation](#anytype-model-Relation) + - [Relation.Option](#anytype-model-Relation-Option) + - [RelationLink](#anytype-model-RelationLink) + - [RelationOptions](#anytype-model-RelationOptions) + - [RelationWithValue](#anytype-model-RelationWithValue) + - [Relations](#anytype-model-Relations) + - [Restrictions](#anytype-model-Restrictions) + - [Restrictions.DataviewRestrictions](#anytype-model-Restrictions-DataviewRestrictions) + - [SmartBlockSnapshotBase](#anytype-model-SmartBlockSnapshotBase) + - [ThreadCreateQueueEntry](#anytype-model-ThreadCreateQueueEntry) + - [ThreadDeeplinkPayload](#anytype-model-ThreadDeeplinkPayload) - - [Account.StatusType](#anytype.model.Account.StatusType) - - [Block.Align](#anytype.model.Block.Align) - - [Block.Content.Bookmark.State](#anytype.model.Block.Content.Bookmark.State) - - [Block.Content.Dataview.Filter.Condition](#anytype.model.Block.Content.Dataview.Filter.Condition) - - [Block.Content.Dataview.Filter.Operator](#anytype.model.Block.Content.Dataview.Filter.Operator) - - [Block.Content.Dataview.Filter.QuickOption](#anytype.model.Block.Content.Dataview.Filter.QuickOption) - - [Block.Content.Dataview.Relation.DateFormat](#anytype.model.Block.Content.Dataview.Relation.DateFormat) - - [Block.Content.Dataview.Relation.TimeFormat](#anytype.model.Block.Content.Dataview.Relation.TimeFormat) - - [Block.Content.Dataview.Sort.Type](#anytype.model.Block.Content.Dataview.Sort.Type) - - [Block.Content.Dataview.View.Size](#anytype.model.Block.Content.Dataview.View.Size) - - [Block.Content.Dataview.View.Type](#anytype.model.Block.Content.Dataview.View.Type) - - [Block.Content.Div.Style](#anytype.model.Block.Content.Div.Style) - - [Block.Content.File.State](#anytype.model.Block.Content.File.State) - - [Block.Content.File.Style](#anytype.model.Block.Content.File.Style) - - [Block.Content.File.Type](#anytype.model.Block.Content.File.Type) - - [Block.Content.Layout.Style](#anytype.model.Block.Content.Layout.Style) - - [Block.Content.Link.CardStyle](#anytype.model.Block.Content.Link.CardStyle) - - [Block.Content.Link.Description](#anytype.model.Block.Content.Link.Description) - - [Block.Content.Link.IconSize](#anytype.model.Block.Content.Link.IconSize) - - [Block.Content.Link.Style](#anytype.model.Block.Content.Link.Style) - - [Block.Content.Text.Mark.Type](#anytype.model.Block.Content.Text.Mark.Type) - - [Block.Content.Text.Style](#anytype.model.Block.Content.Text.Style) - - [Block.Content.Widget.Layout](#anytype.model.Block.Content.Widget.Layout) - - [Block.Position](#anytype.model.Block.Position) - - [Block.VerticalAlign](#anytype.model.Block.VerticalAlign) - - [InternalFlag.Value](#anytype.model.InternalFlag.Value) - - [LinkPreview.Type](#anytype.model.LinkPreview.Type) - - [ObjectType.Layout](#anytype.model.ObjectType.Layout) - - [Relation.DataSource](#anytype.model.Relation.DataSource) - - [Relation.Scope](#anytype.model.Relation.Scope) - - [RelationFormat](#anytype.model.RelationFormat) - - [Restrictions.DataviewRestriction](#anytype.model.Restrictions.DataviewRestriction) - - [Restrictions.ObjectRestriction](#anytype.model.Restrictions.ObjectRestriction) - - [SmartBlockType](#anytype.model.SmartBlockType) + - [Account.StatusType](#anytype-model-Account-StatusType) + - [Block.Align](#anytype-model-Block-Align) + - [Block.Content.Bookmark.State](#anytype-model-Block-Content-Bookmark-State) + - [Block.Content.Dataview.Filter.Condition](#anytype-model-Block-Content-Dataview-Filter-Condition) + - [Block.Content.Dataview.Filter.Operator](#anytype-model-Block-Content-Dataview-Filter-Operator) + - [Block.Content.Dataview.Filter.QuickOption](#anytype-model-Block-Content-Dataview-Filter-QuickOption) + - [Block.Content.Dataview.Relation.DateFormat](#anytype-model-Block-Content-Dataview-Relation-DateFormat) + - [Block.Content.Dataview.Relation.TimeFormat](#anytype-model-Block-Content-Dataview-Relation-TimeFormat) + - [Block.Content.Dataview.Sort.Type](#anytype-model-Block-Content-Dataview-Sort-Type) + - [Block.Content.Dataview.View.Size](#anytype-model-Block-Content-Dataview-View-Size) + - [Block.Content.Dataview.View.Type](#anytype-model-Block-Content-Dataview-View-Type) + - [Block.Content.Div.Style](#anytype-model-Block-Content-Div-Style) + - [Block.Content.File.State](#anytype-model-Block-Content-File-State) + - [Block.Content.File.Style](#anytype-model-Block-Content-File-Style) + - [Block.Content.File.Type](#anytype-model-Block-Content-File-Type) + - [Block.Content.Layout.Style](#anytype-model-Block-Content-Layout-Style) + - [Block.Content.Link.CardStyle](#anytype-model-Block-Content-Link-CardStyle) + - [Block.Content.Link.Description](#anytype-model-Block-Content-Link-Description) + - [Block.Content.Link.IconSize](#anytype-model-Block-Content-Link-IconSize) + - [Block.Content.Link.Style](#anytype-model-Block-Content-Link-Style) + - [Block.Content.Text.Mark.Type](#anytype-model-Block-Content-Text-Mark-Type) + - [Block.Content.Text.Style](#anytype-model-Block-Content-Text-Style) + - [Block.Content.Widget.Layout](#anytype-model-Block-Content-Widget-Layout) + - [Block.Position](#anytype-model-Block-Position) + - [Block.VerticalAlign](#anytype-model-Block-VerticalAlign) + - [InternalFlag.Value](#anytype-model-InternalFlag-Value) + - [LinkPreview.Type](#anytype-model-LinkPreview-Type) + - [ObjectType.Layout](#anytype-model-ObjectType-Layout) + - [Relation.DataSource](#anytype-model-Relation-DataSource) + - [Relation.Scope](#anytype-model-Relation-Scope) + - [RelationFormat](#anytype-model-RelationFormat) + - [Restrictions.DataviewRestriction](#anytype-model-Restrictions-DataviewRestriction) + - [Restrictions.ObjectRestriction](#anytype-model-Restrictions-ObjectRestriction) + - [SmartBlockType](#anytype-model-SmartBlockType) - [Scalar Value Types](#scalar-value-types) - +

Top

## pb/protos/service/service.proto @@ -1436,218 +1436,218 @@ - + ### ClientCommands | Method Name | Request Type | Response Type | Description | | ----------- | ------------ | ------------- | ------------| -| AppGetVersion | [Rpc.App.GetVersion.Request](#anytype.Rpc.App.GetVersion.Request) | [Rpc.App.GetVersion.Response](#anytype.Rpc.App.GetVersion.Response) | | -| AppSetDeviceState | [Rpc.App.SetDeviceState.Request](#anytype.Rpc.App.SetDeviceState.Request) | [Rpc.App.SetDeviceState.Response](#anytype.Rpc.App.SetDeviceState.Response) | | -| AppShutdown | [Rpc.App.Shutdown.Request](#anytype.Rpc.App.Shutdown.Request) | [Rpc.App.Shutdown.Response](#anytype.Rpc.App.Shutdown.Response) | | -| WalletCreate | [Rpc.Wallet.Create.Request](#anytype.Rpc.Wallet.Create.Request) | [Rpc.Wallet.Create.Response](#anytype.Rpc.Wallet.Create.Response) | Wallet *** | -| WalletRecover | [Rpc.Wallet.Recover.Request](#anytype.Rpc.Wallet.Recover.Request) | [Rpc.Wallet.Recover.Response](#anytype.Rpc.Wallet.Recover.Response) | | -| WalletConvert | [Rpc.Wallet.Convert.Request](#anytype.Rpc.Wallet.Convert.Request) | [Rpc.Wallet.Convert.Response](#anytype.Rpc.Wallet.Convert.Response) | | -| WalletCreateSession | [Rpc.Wallet.CreateSession.Request](#anytype.Rpc.Wallet.CreateSession.Request) | [Rpc.Wallet.CreateSession.Response](#anytype.Rpc.Wallet.CreateSession.Response) | | -| WalletCloseSession | [Rpc.Wallet.CloseSession.Request](#anytype.Rpc.Wallet.CloseSession.Request) | [Rpc.Wallet.CloseSession.Response](#anytype.Rpc.Wallet.CloseSession.Response) | | -| WorkspaceCreate | [Rpc.Workspace.Create.Request](#anytype.Rpc.Workspace.Create.Request) | [Rpc.Workspace.Create.Response](#anytype.Rpc.Workspace.Create.Response) | Workspace *** | -| WorkspaceObjectAdd | [Rpc.Workspace.Object.Add.Request](#anytype.Rpc.Workspace.Object.Add.Request) | [Rpc.Workspace.Object.Add.Response](#anytype.Rpc.Workspace.Object.Add.Response) | | -| WorkspaceObjectListAdd | [Rpc.Workspace.Object.ListAdd.Request](#anytype.Rpc.Workspace.Object.ListAdd.Request) | [Rpc.Workspace.Object.ListAdd.Response](#anytype.Rpc.Workspace.Object.ListAdd.Response) | | -| WorkspaceObjectListRemove | [Rpc.Workspace.Object.ListRemove.Request](#anytype.Rpc.Workspace.Object.ListRemove.Request) | [Rpc.Workspace.Object.ListRemove.Response](#anytype.Rpc.Workspace.Object.ListRemove.Response) | | -| WorkspaceSelect | [Rpc.Workspace.Select.Request](#anytype.Rpc.Workspace.Select.Request) | [Rpc.Workspace.Select.Response](#anytype.Rpc.Workspace.Select.Response) | | -| WorkspaceGetCurrent | [Rpc.Workspace.GetCurrent.Request](#anytype.Rpc.Workspace.GetCurrent.Request) | [Rpc.Workspace.GetCurrent.Response](#anytype.Rpc.Workspace.GetCurrent.Response) | | -| WorkspaceGetAll | [Rpc.Workspace.GetAll.Request](#anytype.Rpc.Workspace.GetAll.Request) | [Rpc.Workspace.GetAll.Response](#anytype.Rpc.Workspace.GetAll.Response) | | -| WorkspaceSetIsHighlighted | [Rpc.Workspace.SetIsHighlighted.Request](#anytype.Rpc.Workspace.SetIsHighlighted.Request) | [Rpc.Workspace.SetIsHighlighted.Response](#anytype.Rpc.Workspace.SetIsHighlighted.Response) | | -| WorkspaceExport | [Rpc.Workspace.Export.Request](#anytype.Rpc.Workspace.Export.Request) | [Rpc.Workspace.Export.Response](#anytype.Rpc.Workspace.Export.Response) | | -| AccountRecover | [Rpc.Account.Recover.Request](#anytype.Rpc.Account.Recover.Request) | [Rpc.Account.Recover.Response](#anytype.Rpc.Account.Recover.Response) | Account *** | -| AccountCreate | [Rpc.Account.Create.Request](#anytype.Rpc.Account.Create.Request) | [Rpc.Account.Create.Response](#anytype.Rpc.Account.Create.Response) | | -| AccountDelete | [Rpc.Account.Delete.Request](#anytype.Rpc.Account.Delete.Request) | [Rpc.Account.Delete.Response](#anytype.Rpc.Account.Delete.Response) | | -| AccountSelect | [Rpc.Account.Select.Request](#anytype.Rpc.Account.Select.Request) | [Rpc.Account.Select.Response](#anytype.Rpc.Account.Select.Response) | | -| AccountStop | [Rpc.Account.Stop.Request](#anytype.Rpc.Account.Stop.Request) | [Rpc.Account.Stop.Response](#anytype.Rpc.Account.Stop.Response) | | -| AccountMove | [Rpc.Account.Move.Request](#anytype.Rpc.Account.Move.Request) | [Rpc.Account.Move.Response](#anytype.Rpc.Account.Move.Response) | | -| AccountConfigUpdate | [Rpc.Account.ConfigUpdate.Request](#anytype.Rpc.Account.ConfigUpdate.Request) | [Rpc.Account.ConfigUpdate.Response](#anytype.Rpc.Account.ConfigUpdate.Response) | | -| AccountRecoverFromLegacyExport | [Rpc.Account.RecoverFromLegacyExport.Request](#anytype.Rpc.Account.RecoverFromLegacyExport.Request) | [Rpc.Account.RecoverFromLegacyExport.Response](#anytype.Rpc.Account.RecoverFromLegacyExport.Response) | | -| ObjectOpen | [Rpc.Object.Open.Request](#anytype.Rpc.Object.Open.Request) | [Rpc.Object.Open.Response](#anytype.Rpc.Object.Open.Response) | Object *** | -| ObjectClose | [Rpc.Object.Close.Request](#anytype.Rpc.Object.Close.Request) | [Rpc.Object.Close.Response](#anytype.Rpc.Object.Close.Response) | | -| ObjectShow | [Rpc.Object.Show.Request](#anytype.Rpc.Object.Show.Request) | [Rpc.Object.Show.Response](#anytype.Rpc.Object.Show.Response) | | -| ObjectCreate | [Rpc.Object.Create.Request](#anytype.Rpc.Object.Create.Request) | [Rpc.Object.Create.Response](#anytype.Rpc.Object.Create.Response) | ObjectCreate just creates the new page, without adding the link to it from some other page | -| ObjectCreateBookmark | [Rpc.Object.CreateBookmark.Request](#anytype.Rpc.Object.CreateBookmark.Request) | [Rpc.Object.CreateBookmark.Response](#anytype.Rpc.Object.CreateBookmark.Response) | | -| ObjectCreateSet | [Rpc.Object.CreateSet.Request](#anytype.Rpc.Object.CreateSet.Request) | [Rpc.Object.CreateSet.Response](#anytype.Rpc.Object.CreateSet.Response) | ObjectCreateSet just creates the new set, without adding the link to it from some other page | -| ObjectGraph | [Rpc.Object.Graph.Request](#anytype.Rpc.Object.Graph.Request) | [Rpc.Object.Graph.Response](#anytype.Rpc.Object.Graph.Response) | | -| ObjectSearch | [Rpc.Object.Search.Request](#anytype.Rpc.Object.Search.Request) | [Rpc.Object.Search.Response](#anytype.Rpc.Object.Search.Response) | | -| ObjectSearchSubscribe | [Rpc.Object.SearchSubscribe.Request](#anytype.Rpc.Object.SearchSubscribe.Request) | [Rpc.Object.SearchSubscribe.Response](#anytype.Rpc.Object.SearchSubscribe.Response) | | -| ObjectSubscribeIds | [Rpc.Object.SubscribeIds.Request](#anytype.Rpc.Object.SubscribeIds.Request) | [Rpc.Object.SubscribeIds.Response](#anytype.Rpc.Object.SubscribeIds.Response) | | -| ObjectGroupsSubscribe | [Rpc.Object.GroupsSubscribe.Request](#anytype.Rpc.Object.GroupsSubscribe.Request) | [Rpc.Object.GroupsSubscribe.Response](#anytype.Rpc.Object.GroupsSubscribe.Response) | | -| ObjectSearchUnsubscribe | [Rpc.Object.SearchUnsubscribe.Request](#anytype.Rpc.Object.SearchUnsubscribe.Request) | [Rpc.Object.SearchUnsubscribe.Response](#anytype.Rpc.Object.SearchUnsubscribe.Response) | | -| ObjectSetDetails | [Rpc.Object.SetDetails.Request](#anytype.Rpc.Object.SetDetails.Request) | [Rpc.Object.SetDetails.Response](#anytype.Rpc.Object.SetDetails.Response) | | -| ObjectDuplicate | [Rpc.Object.Duplicate.Request](#anytype.Rpc.Object.Duplicate.Request) | [Rpc.Object.Duplicate.Response](#anytype.Rpc.Object.Duplicate.Response) | | -| ObjectSetObjectType | [Rpc.Object.SetObjectType.Request](#anytype.Rpc.Object.SetObjectType.Request) | [Rpc.Object.SetObjectType.Response](#anytype.Rpc.Object.SetObjectType.Response) | ObjectSetObjectType sets an existing object type to the object so it will appear in sets and suggests relations from this type | -| ObjectSetLayout | [Rpc.Object.SetLayout.Request](#anytype.Rpc.Object.SetLayout.Request) | [Rpc.Object.SetLayout.Response](#anytype.Rpc.Object.SetLayout.Response) | | -| ObjectSetInternalFlags | [Rpc.Object.SetInternalFlags.Request](#anytype.Rpc.Object.SetInternalFlags.Request) | [Rpc.Object.SetInternalFlags.Response](#anytype.Rpc.Object.SetInternalFlags.Response) | | -| ObjectSetIsFavorite | [Rpc.Object.SetIsFavorite.Request](#anytype.Rpc.Object.SetIsFavorite.Request) | [Rpc.Object.SetIsFavorite.Response](#anytype.Rpc.Object.SetIsFavorite.Response) | | -| ObjectSetIsArchived | [Rpc.Object.SetIsArchived.Request](#anytype.Rpc.Object.SetIsArchived.Request) | [Rpc.Object.SetIsArchived.Response](#anytype.Rpc.Object.SetIsArchived.Response) | | -| ObjectSetSource | [Rpc.Object.SetSource.Request](#anytype.Rpc.Object.SetSource.Request) | [Rpc.Object.SetSource.Response](#anytype.Rpc.Object.SetSource.Response) | | -| ObjectWorkspaceSetDashboard | [Rpc.Object.WorkspaceSetDashboard.Request](#anytype.Rpc.Object.WorkspaceSetDashboard.Request) | [Rpc.Object.WorkspaceSetDashboard.Response](#anytype.Rpc.Object.WorkspaceSetDashboard.Response) | | -| ObjectListDuplicate | [Rpc.Object.ListDuplicate.Request](#anytype.Rpc.Object.ListDuplicate.Request) | [Rpc.Object.ListDuplicate.Response](#anytype.Rpc.Object.ListDuplicate.Response) | | -| ObjectListDelete | [Rpc.Object.ListDelete.Request](#anytype.Rpc.Object.ListDelete.Request) | [Rpc.Object.ListDelete.Response](#anytype.Rpc.Object.ListDelete.Response) | | -| ObjectListSetIsArchived | [Rpc.Object.ListSetIsArchived.Request](#anytype.Rpc.Object.ListSetIsArchived.Request) | [Rpc.Object.ListSetIsArchived.Response](#anytype.Rpc.Object.ListSetIsArchived.Response) | | -| ObjectListSetIsFavorite | [Rpc.Object.ListSetIsFavorite.Request](#anytype.Rpc.Object.ListSetIsFavorite.Request) | [Rpc.Object.ListSetIsFavorite.Response](#anytype.Rpc.Object.ListSetIsFavorite.Response) | | -| ObjectApplyTemplate | [Rpc.Object.ApplyTemplate.Request](#anytype.Rpc.Object.ApplyTemplate.Request) | [Rpc.Object.ApplyTemplate.Response](#anytype.Rpc.Object.ApplyTemplate.Response) | | -| ObjectToSet | [Rpc.Object.ToSet.Request](#anytype.Rpc.Object.ToSet.Request) | [Rpc.Object.ToSet.Response](#anytype.Rpc.Object.ToSet.Response) | ObjectToSet creates new set from given object and removes object | -| ObjectToCollection | [Rpc.Object.ToCollection.Request](#anytype.Rpc.Object.ToCollection.Request) | [Rpc.Object.ToCollection.Response](#anytype.Rpc.Object.ToCollection.Response) | | -| ObjectShareByLink | [Rpc.Object.ShareByLink.Request](#anytype.Rpc.Object.ShareByLink.Request) | [Rpc.Object.ShareByLink.Response](#anytype.Rpc.Object.ShareByLink.Response) | | -| ObjectUndo | [Rpc.Object.Undo.Request](#anytype.Rpc.Object.Undo.Request) | [Rpc.Object.Undo.Response](#anytype.Rpc.Object.Undo.Response) | | -| ObjectRedo | [Rpc.Object.Redo.Request](#anytype.Rpc.Object.Redo.Request) | [Rpc.Object.Redo.Response](#anytype.Rpc.Object.Redo.Response) | | -| ObjectListExport | [Rpc.Object.ListExport.Request](#anytype.Rpc.Object.ListExport.Request) | [Rpc.Object.ListExport.Response](#anytype.Rpc.Object.ListExport.Response) | | -| ObjectBookmarkFetch | [Rpc.Object.BookmarkFetch.Request](#anytype.Rpc.Object.BookmarkFetch.Request) | [Rpc.Object.BookmarkFetch.Response](#anytype.Rpc.Object.BookmarkFetch.Response) | | -| ObjectToBookmark | [Rpc.Object.ToBookmark.Request](#anytype.Rpc.Object.ToBookmark.Request) | [Rpc.Object.ToBookmark.Response](#anytype.Rpc.Object.ToBookmark.Response) | | -| ObjectImport | [Rpc.Object.Import.Request](#anytype.Rpc.Object.Import.Request) | [Rpc.Object.Import.Response](#anytype.Rpc.Object.Import.Response) | | -| ObjectImportList | [Rpc.Object.ImportList.Request](#anytype.Rpc.Object.ImportList.Request) | [Rpc.Object.ImportList.Response](#anytype.Rpc.Object.ImportList.Response) | | -| ObjectImportNotionValidateToken | [Rpc.Object.Import.Notion.ValidateToken.Request](#anytype.Rpc.Object.Import.Notion.ValidateToken.Request) | [Rpc.Object.Import.Notion.ValidateToken.Response](#anytype.Rpc.Object.Import.Notion.ValidateToken.Response) | | -| ObjectCollectionAdd | [Rpc.ObjectCollection.Add.Request](#anytype.Rpc.ObjectCollection.Add.Request) | [Rpc.ObjectCollection.Add.Response](#anytype.Rpc.ObjectCollection.Add.Response) | Collections *** | -| ObjectCollectionRemove | [Rpc.ObjectCollection.Remove.Request](#anytype.Rpc.ObjectCollection.Remove.Request) | [Rpc.ObjectCollection.Remove.Response](#anytype.Rpc.ObjectCollection.Remove.Response) | | -| ObjectCollectionSort | [Rpc.ObjectCollection.Sort.Request](#anytype.Rpc.ObjectCollection.Sort.Request) | [Rpc.ObjectCollection.Sort.Response](#anytype.Rpc.ObjectCollection.Sort.Response) | | -| ObjectCreateRelation | [Rpc.Object.CreateRelation.Request](#anytype.Rpc.Object.CreateRelation.Request) | [Rpc.Object.CreateRelation.Response](#anytype.Rpc.Object.CreateRelation.Response) | Relations *** | -| ObjectCreateRelationOption | [Rpc.Object.CreateRelationOption.Request](#anytype.Rpc.Object.CreateRelationOption.Request) | [Rpc.Object.CreateRelationOption.Response](#anytype.Rpc.Object.CreateRelationOption.Response) | | -| RelationListRemoveOption | [Rpc.Relation.ListRemoveOption.Request](#anytype.Rpc.Relation.ListRemoveOption.Request) | [Rpc.Relation.ListRemoveOption.Response](#anytype.Rpc.Relation.ListRemoveOption.Response) | | -| RelationOptions | [Rpc.Relation.Options.Request](#anytype.Rpc.Relation.Options.Request) | [Rpc.Relation.Options.Response](#anytype.Rpc.Relation.Options.Response) | | -| ObjectRelationAdd | [Rpc.ObjectRelation.Add.Request](#anytype.Rpc.ObjectRelation.Add.Request) | [Rpc.ObjectRelation.Add.Response](#anytype.Rpc.ObjectRelation.Add.Response) | Object Relations *** | -| ObjectRelationDelete | [Rpc.ObjectRelation.Delete.Request](#anytype.Rpc.ObjectRelation.Delete.Request) | [Rpc.ObjectRelation.Delete.Response](#anytype.Rpc.ObjectRelation.Delete.Response) | | -| ObjectRelationAddFeatured | [Rpc.ObjectRelation.AddFeatured.Request](#anytype.Rpc.ObjectRelation.AddFeatured.Request) | [Rpc.ObjectRelation.AddFeatured.Response](#anytype.Rpc.ObjectRelation.AddFeatured.Response) | | -| ObjectRelationRemoveFeatured | [Rpc.ObjectRelation.RemoveFeatured.Request](#anytype.Rpc.ObjectRelation.RemoveFeatured.Request) | [Rpc.ObjectRelation.RemoveFeatured.Response](#anytype.Rpc.ObjectRelation.RemoveFeatured.Response) | | -| ObjectRelationListAvailable | [Rpc.ObjectRelation.ListAvailable.Request](#anytype.Rpc.ObjectRelation.ListAvailable.Request) | [Rpc.ObjectRelation.ListAvailable.Response](#anytype.Rpc.ObjectRelation.ListAvailable.Response) | | -| ObjectCreateObjectType | [Rpc.Object.CreateObjectType.Request](#anytype.Rpc.Object.CreateObjectType.Request) | [Rpc.Object.CreateObjectType.Response](#anytype.Rpc.Object.CreateObjectType.Response) | ObjectType commands *** | -| ObjectTypeRelationList | [Rpc.ObjectType.Relation.List.Request](#anytype.Rpc.ObjectType.Relation.List.Request) | [Rpc.ObjectType.Relation.List.Response](#anytype.Rpc.ObjectType.Relation.List.Response) | | -| ObjectTypeRelationAdd | [Rpc.ObjectType.Relation.Add.Request](#anytype.Rpc.ObjectType.Relation.Add.Request) | [Rpc.ObjectType.Relation.Add.Response](#anytype.Rpc.ObjectType.Relation.Add.Response) | | -| ObjectTypeRelationRemove | [Rpc.ObjectType.Relation.Remove.Request](#anytype.Rpc.ObjectType.Relation.Remove.Request) | [Rpc.ObjectType.Relation.Remove.Response](#anytype.Rpc.ObjectType.Relation.Remove.Response) | | -| HistoryShowVersion | [Rpc.History.ShowVersion.Request](#anytype.Rpc.History.ShowVersion.Request) | [Rpc.History.ShowVersion.Response](#anytype.Rpc.History.ShowVersion.Response) | | -| HistoryGetVersions | [Rpc.History.GetVersions.Request](#anytype.Rpc.History.GetVersions.Request) | [Rpc.History.GetVersions.Response](#anytype.Rpc.History.GetVersions.Response) | | -| HistorySetVersion | [Rpc.History.SetVersion.Request](#anytype.Rpc.History.SetVersion.Request) | [Rpc.History.SetVersion.Response](#anytype.Rpc.History.SetVersion.Response) | | -| FileOffload | [Rpc.File.Offload.Request](#anytype.Rpc.File.Offload.Request) | [Rpc.File.Offload.Response](#anytype.Rpc.File.Offload.Response) | Files *** | -| FileListOffload | [Rpc.File.ListOffload.Request](#anytype.Rpc.File.ListOffload.Request) | [Rpc.File.ListOffload.Response](#anytype.Rpc.File.ListOffload.Response) | | -| FileUpload | [Rpc.File.Upload.Request](#anytype.Rpc.File.Upload.Request) | [Rpc.File.Upload.Response](#anytype.Rpc.File.Upload.Response) | | -| FileDownload | [Rpc.File.Download.Request](#anytype.Rpc.File.Download.Request) | [Rpc.File.Download.Response](#anytype.Rpc.File.Download.Response) | | -| FileDrop | [Rpc.File.Drop.Request](#anytype.Rpc.File.Drop.Request) | [Rpc.File.Drop.Response](#anytype.Rpc.File.Drop.Response) | | -| FileSpaceUsage | [Rpc.File.SpaceUsage.Request](#anytype.Rpc.File.SpaceUsage.Request) | [Rpc.File.SpaceUsage.Response](#anytype.Rpc.File.SpaceUsage.Response) | | -| NavigationListObjects | [Rpc.Navigation.ListObjects.Request](#anytype.Rpc.Navigation.ListObjects.Request) | [Rpc.Navigation.ListObjects.Response](#anytype.Rpc.Navigation.ListObjects.Response) | | -| NavigationGetObjectInfoWithLinks | [Rpc.Navigation.GetObjectInfoWithLinks.Request](#anytype.Rpc.Navigation.GetObjectInfoWithLinks.Request) | [Rpc.Navigation.GetObjectInfoWithLinks.Response](#anytype.Rpc.Navigation.GetObjectInfoWithLinks.Response) | | -| TemplateCreateFromObject | [Rpc.Template.CreateFromObject.Request](#anytype.Rpc.Template.CreateFromObject.Request) | [Rpc.Template.CreateFromObject.Response](#anytype.Rpc.Template.CreateFromObject.Response) | | -| TemplateCreateFromObjectType | [Rpc.Template.CreateFromObjectType.Request](#anytype.Rpc.Template.CreateFromObjectType.Request) | [Rpc.Template.CreateFromObjectType.Response](#anytype.Rpc.Template.CreateFromObjectType.Response) | to be renamed to ObjectCreateTemplate | -| TemplateClone | [Rpc.Template.Clone.Request](#anytype.Rpc.Template.Clone.Request) | [Rpc.Template.Clone.Response](#anytype.Rpc.Template.Clone.Response) | | -| TemplateExportAll | [Rpc.Template.ExportAll.Request](#anytype.Rpc.Template.ExportAll.Request) | [Rpc.Template.ExportAll.Response](#anytype.Rpc.Template.ExportAll.Response) | | -| LinkPreview | [Rpc.LinkPreview.Request](#anytype.Rpc.LinkPreview.Request) | [Rpc.LinkPreview.Response](#anytype.Rpc.LinkPreview.Response) | | -| UnsplashSearch | [Rpc.Unsplash.Search.Request](#anytype.Rpc.Unsplash.Search.Request) | [Rpc.Unsplash.Search.Response](#anytype.Rpc.Unsplash.Search.Response) | | -| UnsplashDownload | [Rpc.Unsplash.Download.Request](#anytype.Rpc.Unsplash.Download.Request) | [Rpc.Unsplash.Download.Response](#anytype.Rpc.Unsplash.Download.Response) | UnsplashDownload downloads picture from unsplash by ID, put it to the IPFS and returns the hash. The artist info is available in the object details | -| BlockUpload | [Rpc.Block.Upload.Request](#anytype.Rpc.Block.Upload.Request) | [Rpc.Block.Upload.Response](#anytype.Rpc.Block.Upload.Response) | General Block commands *** | -| BlockReplace | [Rpc.Block.Replace.Request](#anytype.Rpc.Block.Replace.Request) | [Rpc.Block.Replace.Response](#anytype.Rpc.Block.Replace.Response) | | -| BlockCreate | [Rpc.Block.Create.Request](#anytype.Rpc.Block.Create.Request) | [Rpc.Block.Create.Response](#anytype.Rpc.Block.Create.Response) | | -| BlockSplit | [Rpc.Block.Split.Request](#anytype.Rpc.Block.Split.Request) | [Rpc.Block.Split.Response](#anytype.Rpc.Block.Split.Response) | | -| BlockMerge | [Rpc.Block.Merge.Request](#anytype.Rpc.Block.Merge.Request) | [Rpc.Block.Merge.Response](#anytype.Rpc.Block.Merge.Response) | | -| BlockCopy | [Rpc.Block.Copy.Request](#anytype.Rpc.Block.Copy.Request) | [Rpc.Block.Copy.Response](#anytype.Rpc.Block.Copy.Response) | | -| BlockPaste | [Rpc.Block.Paste.Request](#anytype.Rpc.Block.Paste.Request) | [Rpc.Block.Paste.Response](#anytype.Rpc.Block.Paste.Response) | | -| BlockCut | [Rpc.Block.Cut.Request](#anytype.Rpc.Block.Cut.Request) | [Rpc.Block.Cut.Response](#anytype.Rpc.Block.Cut.Response) | | -| BlockSetFields | [Rpc.Block.SetFields.Request](#anytype.Rpc.Block.SetFields.Request) | [Rpc.Block.SetFields.Response](#anytype.Rpc.Block.SetFields.Response) | | -| BlockExport | [Rpc.Block.Export.Request](#anytype.Rpc.Block.Export.Request) | [Rpc.Block.Export.Response](#anytype.Rpc.Block.Export.Response) | | -| BlockListDelete | [Rpc.Block.ListDelete.Request](#anytype.Rpc.Block.ListDelete.Request) | [Rpc.Block.ListDelete.Response](#anytype.Rpc.Block.ListDelete.Response) | | -| BlockListMoveToExistingObject | [Rpc.Block.ListMoveToExistingObject.Request](#anytype.Rpc.Block.ListMoveToExistingObject.Request) | [Rpc.Block.ListMoveToExistingObject.Response](#anytype.Rpc.Block.ListMoveToExistingObject.Response) | | -| BlockListMoveToNewObject | [Rpc.Block.ListMoveToNewObject.Request](#anytype.Rpc.Block.ListMoveToNewObject.Request) | [Rpc.Block.ListMoveToNewObject.Response](#anytype.Rpc.Block.ListMoveToNewObject.Response) | | -| BlockListConvertToObjects | [Rpc.Block.ListConvertToObjects.Request](#anytype.Rpc.Block.ListConvertToObjects.Request) | [Rpc.Block.ListConvertToObjects.Response](#anytype.Rpc.Block.ListConvertToObjects.Response) | | -| BlockListSetFields | [Rpc.Block.ListSetFields.Request](#anytype.Rpc.Block.ListSetFields.Request) | [Rpc.Block.ListSetFields.Response](#anytype.Rpc.Block.ListSetFields.Response) | | -| BlockListDuplicate | [Rpc.Block.ListDuplicate.Request](#anytype.Rpc.Block.ListDuplicate.Request) | [Rpc.Block.ListDuplicate.Response](#anytype.Rpc.Block.ListDuplicate.Response) | | -| BlockListSetBackgroundColor | [Rpc.Block.ListSetBackgroundColor.Request](#anytype.Rpc.Block.ListSetBackgroundColor.Request) | [Rpc.Block.ListSetBackgroundColor.Response](#anytype.Rpc.Block.ListSetBackgroundColor.Response) | | -| BlockListSetAlign | [Rpc.Block.ListSetAlign.Request](#anytype.Rpc.Block.ListSetAlign.Request) | [Rpc.Block.ListSetAlign.Response](#anytype.Rpc.Block.ListSetAlign.Response) | | -| BlockListSetVerticalAlign | [Rpc.Block.ListSetVerticalAlign.Request](#anytype.Rpc.Block.ListSetVerticalAlign.Request) | [Rpc.Block.ListSetVerticalAlign.Response](#anytype.Rpc.Block.ListSetVerticalAlign.Response) | | -| BlockListTurnInto | [Rpc.Block.ListTurnInto.Request](#anytype.Rpc.Block.ListTurnInto.Request) | [Rpc.Block.ListTurnInto.Response](#anytype.Rpc.Block.ListTurnInto.Response) | | -| BlockTextSetText | [Rpc.BlockText.SetText.Request](#anytype.Rpc.BlockText.SetText.Request) | [Rpc.BlockText.SetText.Response](#anytype.Rpc.BlockText.SetText.Response) | Text Block commands *** | -| BlockTextSetColor | [Rpc.BlockText.SetColor.Request](#anytype.Rpc.BlockText.SetColor.Request) | [Rpc.BlockText.SetColor.Response](#anytype.Rpc.BlockText.SetColor.Response) | | -| BlockTextSetStyle | [Rpc.BlockText.SetStyle.Request](#anytype.Rpc.BlockText.SetStyle.Request) | [Rpc.BlockText.SetStyle.Response](#anytype.Rpc.BlockText.SetStyle.Response) | | -| BlockTextSetChecked | [Rpc.BlockText.SetChecked.Request](#anytype.Rpc.BlockText.SetChecked.Request) | [Rpc.BlockText.SetChecked.Response](#anytype.Rpc.BlockText.SetChecked.Response) | | -| BlockTextSetIcon | [Rpc.BlockText.SetIcon.Request](#anytype.Rpc.BlockText.SetIcon.Request) | [Rpc.BlockText.SetIcon.Response](#anytype.Rpc.BlockText.SetIcon.Response) | | -| BlockTextListSetColor | [Rpc.BlockText.ListSetColor.Request](#anytype.Rpc.BlockText.ListSetColor.Request) | [Rpc.BlockText.ListSetColor.Response](#anytype.Rpc.BlockText.ListSetColor.Response) | | -| BlockTextListSetMark | [Rpc.BlockText.ListSetMark.Request](#anytype.Rpc.BlockText.ListSetMark.Request) | [Rpc.BlockText.ListSetMark.Response](#anytype.Rpc.BlockText.ListSetMark.Response) | | -| BlockTextListSetStyle | [Rpc.BlockText.ListSetStyle.Request](#anytype.Rpc.BlockText.ListSetStyle.Request) | [Rpc.BlockText.ListSetStyle.Response](#anytype.Rpc.BlockText.ListSetStyle.Response) | | -| BlockTextListClearStyle | [Rpc.BlockText.ListClearStyle.Request](#anytype.Rpc.BlockText.ListClearStyle.Request) | [Rpc.BlockText.ListClearStyle.Response](#anytype.Rpc.BlockText.ListClearStyle.Response) | | -| BlockTextListClearContent | [Rpc.BlockText.ListClearContent.Request](#anytype.Rpc.BlockText.ListClearContent.Request) | [Rpc.BlockText.ListClearContent.Response](#anytype.Rpc.BlockText.ListClearContent.Response) | | -| BlockFileSetName | [Rpc.BlockFile.SetName.Request](#anytype.Rpc.BlockFile.SetName.Request) | [Rpc.BlockFile.SetName.Response](#anytype.Rpc.BlockFile.SetName.Response) | File block commands *** | -| BlockImageSetName | [Rpc.BlockImage.SetName.Request](#anytype.Rpc.BlockImage.SetName.Request) | [Rpc.BlockImage.SetName.Response](#anytype.Rpc.BlockImage.SetName.Response) | | -| BlockVideoSetName | [Rpc.BlockVideo.SetName.Request](#anytype.Rpc.BlockVideo.SetName.Request) | [Rpc.BlockVideo.SetName.Response](#anytype.Rpc.BlockVideo.SetName.Response) | | -| BlockFileCreateAndUpload | [Rpc.BlockFile.CreateAndUpload.Request](#anytype.Rpc.BlockFile.CreateAndUpload.Request) | [Rpc.BlockFile.CreateAndUpload.Response](#anytype.Rpc.BlockFile.CreateAndUpload.Response) | | -| BlockFileListSetStyle | [Rpc.BlockFile.ListSetStyle.Request](#anytype.Rpc.BlockFile.ListSetStyle.Request) | [Rpc.BlockFile.ListSetStyle.Response](#anytype.Rpc.BlockFile.ListSetStyle.Response) | | -| BlockDataviewViewCreate | [Rpc.BlockDataview.View.Create.Request](#anytype.Rpc.BlockDataview.View.Create.Request) | [Rpc.BlockDataview.View.Create.Response](#anytype.Rpc.BlockDataview.View.Create.Response) | Dataview block commands *** | -| BlockDataviewViewDelete | [Rpc.BlockDataview.View.Delete.Request](#anytype.Rpc.BlockDataview.View.Delete.Request) | [Rpc.BlockDataview.View.Delete.Response](#anytype.Rpc.BlockDataview.View.Delete.Response) | | -| BlockDataviewViewUpdate | [Rpc.BlockDataview.View.Update.Request](#anytype.Rpc.BlockDataview.View.Update.Request) | [Rpc.BlockDataview.View.Update.Response](#anytype.Rpc.BlockDataview.View.Update.Response) | | -| BlockDataviewViewSetActive | [Rpc.BlockDataview.View.SetActive.Request](#anytype.Rpc.BlockDataview.View.SetActive.Request) | [Rpc.BlockDataview.View.SetActive.Response](#anytype.Rpc.BlockDataview.View.SetActive.Response) | | -| BlockDataviewViewSetPosition | [Rpc.BlockDataview.View.SetPosition.Request](#anytype.Rpc.BlockDataview.View.SetPosition.Request) | [Rpc.BlockDataview.View.SetPosition.Response](#anytype.Rpc.BlockDataview.View.SetPosition.Response) | | -| BlockDataviewSetSource | [Rpc.BlockDataview.SetSource.Request](#anytype.Rpc.BlockDataview.SetSource.Request) | [Rpc.BlockDataview.SetSource.Response](#anytype.Rpc.BlockDataview.SetSource.Response) | | -| BlockDataviewRelationAdd | [Rpc.BlockDataview.Relation.Add.Request](#anytype.Rpc.BlockDataview.Relation.Add.Request) | [Rpc.BlockDataview.Relation.Add.Response](#anytype.Rpc.BlockDataview.Relation.Add.Response) | | -| BlockDataviewRelationDelete | [Rpc.BlockDataview.Relation.Delete.Request](#anytype.Rpc.BlockDataview.Relation.Delete.Request) | [Rpc.BlockDataview.Relation.Delete.Response](#anytype.Rpc.BlockDataview.Relation.Delete.Response) | | -| BlockDataviewRelationListAvailable | [Rpc.BlockDataview.Relation.ListAvailable.Request](#anytype.Rpc.BlockDataview.Relation.ListAvailable.Request) | [Rpc.BlockDataview.Relation.ListAvailable.Response](#anytype.Rpc.BlockDataview.Relation.ListAvailable.Response) | | -| BlockDataviewGroupOrderUpdate | [Rpc.BlockDataview.GroupOrder.Update.Request](#anytype.Rpc.BlockDataview.GroupOrder.Update.Request) | [Rpc.BlockDataview.GroupOrder.Update.Response](#anytype.Rpc.BlockDataview.GroupOrder.Update.Response) | | -| BlockDataviewObjectOrderUpdate | [Rpc.BlockDataview.ObjectOrder.Update.Request](#anytype.Rpc.BlockDataview.ObjectOrder.Update.Request) | [Rpc.BlockDataview.ObjectOrder.Update.Response](#anytype.Rpc.BlockDataview.ObjectOrder.Update.Response) | | -| BlockDataviewObjectOrderMove | [Rpc.BlockDataview.ObjectOrder.Move.Request](#anytype.Rpc.BlockDataview.ObjectOrder.Move.Request) | [Rpc.BlockDataview.ObjectOrder.Move.Response](#anytype.Rpc.BlockDataview.ObjectOrder.Move.Response) | | -| BlockDataviewCreateFromExistingObject | [Rpc.BlockDataview.CreateFromExistingObject.Request](#anytype.Rpc.BlockDataview.CreateFromExistingObject.Request) | [Rpc.BlockDataview.CreateFromExistingObject.Response](#anytype.Rpc.BlockDataview.CreateFromExistingObject.Response) | | -| BlockDataviewFilterAdd | [Rpc.BlockDataview.Filter.Add.Request](#anytype.Rpc.BlockDataview.Filter.Add.Request) | [Rpc.BlockDataview.Filter.Add.Response](#anytype.Rpc.BlockDataview.Filter.Add.Response) | | -| BlockDataviewFilterRemove | [Rpc.BlockDataview.Filter.Remove.Request](#anytype.Rpc.BlockDataview.Filter.Remove.Request) | [Rpc.BlockDataview.Filter.Remove.Response](#anytype.Rpc.BlockDataview.Filter.Remove.Response) | | -| BlockDataviewFilterReplace | [Rpc.BlockDataview.Filter.Replace.Request](#anytype.Rpc.BlockDataview.Filter.Replace.Request) | [Rpc.BlockDataview.Filter.Replace.Response](#anytype.Rpc.BlockDataview.Filter.Replace.Response) | | -| BlockDataviewFilterSort | [Rpc.BlockDataview.Filter.Sort.Request](#anytype.Rpc.BlockDataview.Filter.Sort.Request) | [Rpc.BlockDataview.Filter.Sort.Response](#anytype.Rpc.BlockDataview.Filter.Sort.Response) | | -| BlockDataviewSortAdd | [Rpc.BlockDataview.Sort.Add.Request](#anytype.Rpc.BlockDataview.Sort.Add.Request) | [Rpc.BlockDataview.Sort.Add.Response](#anytype.Rpc.BlockDataview.Sort.Add.Response) | | -| BlockDataviewSortRemove | [Rpc.BlockDataview.Sort.Remove.Request](#anytype.Rpc.BlockDataview.Sort.Remove.Request) | [Rpc.BlockDataview.Sort.Remove.Response](#anytype.Rpc.BlockDataview.Sort.Remove.Response) | | -| BlockDataviewSortReplace | [Rpc.BlockDataview.Sort.Replace.Request](#anytype.Rpc.BlockDataview.Sort.Replace.Request) | [Rpc.BlockDataview.Sort.Replace.Response](#anytype.Rpc.BlockDataview.Sort.Replace.Response) | | -| BlockDataviewSortSort | [Rpc.BlockDataview.Sort.Sort.Request](#anytype.Rpc.BlockDataview.Sort.Sort.Request) | [Rpc.BlockDataview.Sort.Sort.Response](#anytype.Rpc.BlockDataview.Sort.Sort.Response) | | -| BlockDataviewViewRelationAdd | [Rpc.BlockDataview.ViewRelation.Add.Request](#anytype.Rpc.BlockDataview.ViewRelation.Add.Request) | [Rpc.BlockDataview.ViewRelation.Add.Response](#anytype.Rpc.BlockDataview.ViewRelation.Add.Response) | | -| BlockDataviewViewRelationRemove | [Rpc.BlockDataview.ViewRelation.Remove.Request](#anytype.Rpc.BlockDataview.ViewRelation.Remove.Request) | [Rpc.BlockDataview.ViewRelation.Remove.Response](#anytype.Rpc.BlockDataview.ViewRelation.Remove.Response) | | -| BlockDataviewViewRelationReplace | [Rpc.BlockDataview.ViewRelation.Replace.Request](#anytype.Rpc.BlockDataview.ViewRelation.Replace.Request) | [Rpc.BlockDataview.ViewRelation.Replace.Response](#anytype.Rpc.BlockDataview.ViewRelation.Replace.Response) | | -| BlockDataviewViewRelationSort | [Rpc.BlockDataview.ViewRelation.Sort.Request](#anytype.Rpc.BlockDataview.ViewRelation.Sort.Request) | [Rpc.BlockDataview.ViewRelation.Sort.Response](#anytype.Rpc.BlockDataview.ViewRelation.Sort.Response) | | -| BlockTableCreate | [Rpc.BlockTable.Create.Request](#anytype.Rpc.BlockTable.Create.Request) | [Rpc.BlockTable.Create.Response](#anytype.Rpc.BlockTable.Create.Response) | Simple table block commands *** | -| BlockTableExpand | [Rpc.BlockTable.Expand.Request](#anytype.Rpc.BlockTable.Expand.Request) | [Rpc.BlockTable.Expand.Response](#anytype.Rpc.BlockTable.Expand.Response) | | -| BlockTableRowCreate | [Rpc.BlockTable.RowCreate.Request](#anytype.Rpc.BlockTable.RowCreate.Request) | [Rpc.BlockTable.RowCreate.Response](#anytype.Rpc.BlockTable.RowCreate.Response) | | -| BlockTableRowDelete | [Rpc.BlockTable.RowDelete.Request](#anytype.Rpc.BlockTable.RowDelete.Request) | [Rpc.BlockTable.RowDelete.Response](#anytype.Rpc.BlockTable.RowDelete.Response) | | -| BlockTableRowDuplicate | [Rpc.BlockTable.RowDuplicate.Request](#anytype.Rpc.BlockTable.RowDuplicate.Request) | [Rpc.BlockTable.RowDuplicate.Response](#anytype.Rpc.BlockTable.RowDuplicate.Response) | | -| BlockTableRowSetHeader | [Rpc.BlockTable.RowSetHeader.Request](#anytype.Rpc.BlockTable.RowSetHeader.Request) | [Rpc.BlockTable.RowSetHeader.Response](#anytype.Rpc.BlockTable.RowSetHeader.Response) | | -| BlockTableColumnCreate | [Rpc.BlockTable.ColumnCreate.Request](#anytype.Rpc.BlockTable.ColumnCreate.Request) | [Rpc.BlockTable.ColumnCreate.Response](#anytype.Rpc.BlockTable.ColumnCreate.Response) | | -| BlockTableColumnMove | [Rpc.BlockTable.ColumnMove.Request](#anytype.Rpc.BlockTable.ColumnMove.Request) | [Rpc.BlockTable.ColumnMove.Response](#anytype.Rpc.BlockTable.ColumnMove.Response) | | -| BlockTableColumnDelete | [Rpc.BlockTable.ColumnDelete.Request](#anytype.Rpc.BlockTable.ColumnDelete.Request) | [Rpc.BlockTable.ColumnDelete.Response](#anytype.Rpc.BlockTable.ColumnDelete.Response) | | -| BlockTableColumnDuplicate | [Rpc.BlockTable.ColumnDuplicate.Request](#anytype.Rpc.BlockTable.ColumnDuplicate.Request) | [Rpc.BlockTable.ColumnDuplicate.Response](#anytype.Rpc.BlockTable.ColumnDuplicate.Response) | | -| BlockTableRowListFill | [Rpc.BlockTable.RowListFill.Request](#anytype.Rpc.BlockTable.RowListFill.Request) | [Rpc.BlockTable.RowListFill.Response](#anytype.Rpc.BlockTable.RowListFill.Response) | | -| BlockTableRowListClean | [Rpc.BlockTable.RowListClean.Request](#anytype.Rpc.BlockTable.RowListClean.Request) | [Rpc.BlockTable.RowListClean.Response](#anytype.Rpc.BlockTable.RowListClean.Response) | | -| BlockTableColumnListFill | [Rpc.BlockTable.ColumnListFill.Request](#anytype.Rpc.BlockTable.ColumnListFill.Request) | [Rpc.BlockTable.ColumnListFill.Response](#anytype.Rpc.BlockTable.ColumnListFill.Response) | | -| BlockTableSort | [Rpc.BlockTable.Sort.Request](#anytype.Rpc.BlockTable.Sort.Request) | [Rpc.BlockTable.Sort.Response](#anytype.Rpc.BlockTable.Sort.Response) | | -| BlockCreateWidget | [Rpc.Block.CreateWidget.Request](#anytype.Rpc.Block.CreateWidget.Request) | [Rpc.Block.CreateWidget.Response](#anytype.Rpc.Block.CreateWidget.Response) | Widget commands *** | -| BlockWidgetSetTargetId | [Rpc.BlockWidget.SetTargetId.Request](#anytype.Rpc.BlockWidget.SetTargetId.Request) | [Rpc.BlockWidget.SetTargetId.Response](#anytype.Rpc.BlockWidget.SetTargetId.Response) | | -| BlockWidgetSetLayout | [Rpc.BlockWidget.SetLayout.Request](#anytype.Rpc.BlockWidget.SetLayout.Request) | [Rpc.BlockWidget.SetLayout.Response](#anytype.Rpc.BlockWidget.SetLayout.Response) | | -| BlockWidgetSetLimit | [Rpc.BlockWidget.SetLimit.Request](#anytype.Rpc.BlockWidget.SetLimit.Request) | [Rpc.BlockWidget.SetLimit.Response](#anytype.Rpc.BlockWidget.SetLimit.Response) | | -| BlockWidgetSetViewId | [Rpc.BlockWidget.SetViewId.Request](#anytype.Rpc.BlockWidget.SetViewId.Request) | [Rpc.BlockWidget.SetViewId.Response](#anytype.Rpc.BlockWidget.SetViewId.Response) | | -| BlockLinkCreateWithObject | [Rpc.BlockLink.CreateWithObject.Request](#anytype.Rpc.BlockLink.CreateWithObject.Request) | [Rpc.BlockLink.CreateWithObject.Response](#anytype.Rpc.BlockLink.CreateWithObject.Response) | Other specific block commands *** | -| BlockLinkListSetAppearance | [Rpc.BlockLink.ListSetAppearance.Request](#anytype.Rpc.BlockLink.ListSetAppearance.Request) | [Rpc.BlockLink.ListSetAppearance.Response](#anytype.Rpc.BlockLink.ListSetAppearance.Response) | | -| BlockBookmarkFetch | [Rpc.BlockBookmark.Fetch.Request](#anytype.Rpc.BlockBookmark.Fetch.Request) | [Rpc.BlockBookmark.Fetch.Response](#anytype.Rpc.BlockBookmark.Fetch.Response) | | -| BlockBookmarkCreateAndFetch | [Rpc.BlockBookmark.CreateAndFetch.Request](#anytype.Rpc.BlockBookmark.CreateAndFetch.Request) | [Rpc.BlockBookmark.CreateAndFetch.Response](#anytype.Rpc.BlockBookmark.CreateAndFetch.Response) | | -| BlockRelationSetKey | [Rpc.BlockRelation.SetKey.Request](#anytype.Rpc.BlockRelation.SetKey.Request) | [Rpc.BlockRelation.SetKey.Response](#anytype.Rpc.BlockRelation.SetKey.Response) | | -| BlockRelationAdd | [Rpc.BlockRelation.Add.Request](#anytype.Rpc.BlockRelation.Add.Request) | [Rpc.BlockRelation.Add.Response](#anytype.Rpc.BlockRelation.Add.Response) | | -| BlockDivListSetStyle | [Rpc.BlockDiv.ListSetStyle.Request](#anytype.Rpc.BlockDiv.ListSetStyle.Request) | [Rpc.BlockDiv.ListSetStyle.Response](#anytype.Rpc.BlockDiv.ListSetStyle.Response) | | -| BlockLatexSetText | [Rpc.BlockLatex.SetText.Request](#anytype.Rpc.BlockLatex.SetText.Request) | [Rpc.BlockLatex.SetText.Response](#anytype.Rpc.BlockLatex.SetText.Response) | | -| ProcessCancel | [Rpc.Process.Cancel.Request](#anytype.Rpc.Process.Cancel.Request) | [Rpc.Process.Cancel.Response](#anytype.Rpc.Process.Cancel.Response) | | -| LogSend | [Rpc.Log.Send.Request](#anytype.Rpc.Log.Send.Request) | [Rpc.Log.Send.Response](#anytype.Rpc.Log.Send.Response) | | -| DebugTree | [Rpc.Debug.Tree.Request](#anytype.Rpc.Debug.Tree.Request) | [Rpc.Debug.Tree.Response](#anytype.Rpc.Debug.Tree.Response) | | -| DebugTreeHeads | [Rpc.Debug.TreeHeads.Request](#anytype.Rpc.Debug.TreeHeads.Request) | [Rpc.Debug.TreeHeads.Response](#anytype.Rpc.Debug.TreeHeads.Response) | | -| DebugSpaceSummary | [Rpc.Debug.SpaceSummary.Request](#anytype.Rpc.Debug.SpaceSummary.Request) | [Rpc.Debug.SpaceSummary.Response](#anytype.Rpc.Debug.SpaceSummary.Response) | | -| DebugExportLocalstore | [Rpc.Debug.ExportLocalstore.Request](#anytype.Rpc.Debug.ExportLocalstore.Request) | [Rpc.Debug.ExportLocalstore.Response](#anytype.Rpc.Debug.ExportLocalstore.Response) | | -| DebugPing | [Rpc.Debug.Ping.Request](#anytype.Rpc.Debug.Ping.Request) | [Rpc.Debug.Ping.Response](#anytype.Rpc.Debug.Ping.Response) | | -| MetricsSetParameters | [Rpc.Metrics.SetParameters.Request](#anytype.Rpc.Metrics.SetParameters.Request) | [Rpc.Metrics.SetParameters.Response](#anytype.Rpc.Metrics.SetParameters.Response) | | -| ListenSessionEvents | [StreamRequest](#anytype.StreamRequest) | [Event](#anytype.Event) stream | used only for lib-server via grpc | +| AppGetVersion | [Rpc.App.GetVersion.Request](#anytype-Rpc-App-GetVersion-Request) | [Rpc.App.GetVersion.Response](#anytype-Rpc-App-GetVersion-Response) | | +| AppSetDeviceState | [Rpc.App.SetDeviceState.Request](#anytype-Rpc-App-SetDeviceState-Request) | [Rpc.App.SetDeviceState.Response](#anytype-Rpc-App-SetDeviceState-Response) | | +| AppShutdown | [Rpc.App.Shutdown.Request](#anytype-Rpc-App-Shutdown-Request) | [Rpc.App.Shutdown.Response](#anytype-Rpc-App-Shutdown-Response) | | +| WalletCreate | [Rpc.Wallet.Create.Request](#anytype-Rpc-Wallet-Create-Request) | [Rpc.Wallet.Create.Response](#anytype-Rpc-Wallet-Create-Response) | Wallet *** | +| WalletRecover | [Rpc.Wallet.Recover.Request](#anytype-Rpc-Wallet-Recover-Request) | [Rpc.Wallet.Recover.Response](#anytype-Rpc-Wallet-Recover-Response) | | +| WalletConvert | [Rpc.Wallet.Convert.Request](#anytype-Rpc-Wallet-Convert-Request) | [Rpc.Wallet.Convert.Response](#anytype-Rpc-Wallet-Convert-Response) | | +| WalletCreateSession | [Rpc.Wallet.CreateSession.Request](#anytype-Rpc-Wallet-CreateSession-Request) | [Rpc.Wallet.CreateSession.Response](#anytype-Rpc-Wallet-CreateSession-Response) | | +| WalletCloseSession | [Rpc.Wallet.CloseSession.Request](#anytype-Rpc-Wallet-CloseSession-Request) | [Rpc.Wallet.CloseSession.Response](#anytype-Rpc-Wallet-CloseSession-Response) | | +| WorkspaceCreate | [Rpc.Workspace.Create.Request](#anytype-Rpc-Workspace-Create-Request) | [Rpc.Workspace.Create.Response](#anytype-Rpc-Workspace-Create-Response) | Workspace *** | +| WorkspaceObjectAdd | [Rpc.Workspace.Object.Add.Request](#anytype-Rpc-Workspace-Object-Add-Request) | [Rpc.Workspace.Object.Add.Response](#anytype-Rpc-Workspace-Object-Add-Response) | | +| WorkspaceObjectListAdd | [Rpc.Workspace.Object.ListAdd.Request](#anytype-Rpc-Workspace-Object-ListAdd-Request) | [Rpc.Workspace.Object.ListAdd.Response](#anytype-Rpc-Workspace-Object-ListAdd-Response) | | +| WorkspaceObjectListRemove | [Rpc.Workspace.Object.ListRemove.Request](#anytype-Rpc-Workspace-Object-ListRemove-Request) | [Rpc.Workspace.Object.ListRemove.Response](#anytype-Rpc-Workspace-Object-ListRemove-Response) | | +| WorkspaceSelect | [Rpc.Workspace.Select.Request](#anytype-Rpc-Workspace-Select-Request) | [Rpc.Workspace.Select.Response](#anytype-Rpc-Workspace-Select-Response) | | +| WorkspaceGetCurrent | [Rpc.Workspace.GetCurrent.Request](#anytype-Rpc-Workspace-GetCurrent-Request) | [Rpc.Workspace.GetCurrent.Response](#anytype-Rpc-Workspace-GetCurrent-Response) | | +| WorkspaceGetAll | [Rpc.Workspace.GetAll.Request](#anytype-Rpc-Workspace-GetAll-Request) | [Rpc.Workspace.GetAll.Response](#anytype-Rpc-Workspace-GetAll-Response) | | +| WorkspaceSetIsHighlighted | [Rpc.Workspace.SetIsHighlighted.Request](#anytype-Rpc-Workspace-SetIsHighlighted-Request) | [Rpc.Workspace.SetIsHighlighted.Response](#anytype-Rpc-Workspace-SetIsHighlighted-Response) | | +| WorkspaceExport | [Rpc.Workspace.Export.Request](#anytype-Rpc-Workspace-Export-Request) | [Rpc.Workspace.Export.Response](#anytype-Rpc-Workspace-Export-Response) | | +| AccountRecover | [Rpc.Account.Recover.Request](#anytype-Rpc-Account-Recover-Request) | [Rpc.Account.Recover.Response](#anytype-Rpc-Account-Recover-Response) | Account *** | +| AccountCreate | [Rpc.Account.Create.Request](#anytype-Rpc-Account-Create-Request) | [Rpc.Account.Create.Response](#anytype-Rpc-Account-Create-Response) | | +| AccountDelete | [Rpc.Account.Delete.Request](#anytype-Rpc-Account-Delete-Request) | [Rpc.Account.Delete.Response](#anytype-Rpc-Account-Delete-Response) | | +| AccountSelect | [Rpc.Account.Select.Request](#anytype-Rpc-Account-Select-Request) | [Rpc.Account.Select.Response](#anytype-Rpc-Account-Select-Response) | | +| AccountStop | [Rpc.Account.Stop.Request](#anytype-Rpc-Account-Stop-Request) | [Rpc.Account.Stop.Response](#anytype-Rpc-Account-Stop-Response) | | +| AccountMove | [Rpc.Account.Move.Request](#anytype-Rpc-Account-Move-Request) | [Rpc.Account.Move.Response](#anytype-Rpc-Account-Move-Response) | | +| AccountConfigUpdate | [Rpc.Account.ConfigUpdate.Request](#anytype-Rpc-Account-ConfigUpdate-Request) | [Rpc.Account.ConfigUpdate.Response](#anytype-Rpc-Account-ConfigUpdate-Response) | | +| AccountRecoverFromLegacyExport | [Rpc.Account.RecoverFromLegacyExport.Request](#anytype-Rpc-Account-RecoverFromLegacyExport-Request) | [Rpc.Account.RecoverFromLegacyExport.Response](#anytype-Rpc-Account-RecoverFromLegacyExport-Response) | | +| ObjectOpen | [Rpc.Object.Open.Request](#anytype-Rpc-Object-Open-Request) | [Rpc.Object.Open.Response](#anytype-Rpc-Object-Open-Response) | Object *** | +| ObjectClose | [Rpc.Object.Close.Request](#anytype-Rpc-Object-Close-Request) | [Rpc.Object.Close.Response](#anytype-Rpc-Object-Close-Response) | | +| ObjectShow | [Rpc.Object.Show.Request](#anytype-Rpc-Object-Show-Request) | [Rpc.Object.Show.Response](#anytype-Rpc-Object-Show-Response) | | +| ObjectCreate | [Rpc.Object.Create.Request](#anytype-Rpc-Object-Create-Request) | [Rpc.Object.Create.Response](#anytype-Rpc-Object-Create-Response) | ObjectCreate just creates the new page, without adding the link to it from some other page | +| ObjectCreateBookmark | [Rpc.Object.CreateBookmark.Request](#anytype-Rpc-Object-CreateBookmark-Request) | [Rpc.Object.CreateBookmark.Response](#anytype-Rpc-Object-CreateBookmark-Response) | | +| ObjectCreateSet | [Rpc.Object.CreateSet.Request](#anytype-Rpc-Object-CreateSet-Request) | [Rpc.Object.CreateSet.Response](#anytype-Rpc-Object-CreateSet-Response) | ObjectCreateSet just creates the new set, without adding the link to it from some other page | +| ObjectGraph | [Rpc.Object.Graph.Request](#anytype-Rpc-Object-Graph-Request) | [Rpc.Object.Graph.Response](#anytype-Rpc-Object-Graph-Response) | | +| ObjectSearch | [Rpc.Object.Search.Request](#anytype-Rpc-Object-Search-Request) | [Rpc.Object.Search.Response](#anytype-Rpc-Object-Search-Response) | | +| ObjectSearchSubscribe | [Rpc.Object.SearchSubscribe.Request](#anytype-Rpc-Object-SearchSubscribe-Request) | [Rpc.Object.SearchSubscribe.Response](#anytype-Rpc-Object-SearchSubscribe-Response) | | +| ObjectSubscribeIds | [Rpc.Object.SubscribeIds.Request](#anytype-Rpc-Object-SubscribeIds-Request) | [Rpc.Object.SubscribeIds.Response](#anytype-Rpc-Object-SubscribeIds-Response) | | +| ObjectGroupsSubscribe | [Rpc.Object.GroupsSubscribe.Request](#anytype-Rpc-Object-GroupsSubscribe-Request) | [Rpc.Object.GroupsSubscribe.Response](#anytype-Rpc-Object-GroupsSubscribe-Response) | | +| ObjectSearchUnsubscribe | [Rpc.Object.SearchUnsubscribe.Request](#anytype-Rpc-Object-SearchUnsubscribe-Request) | [Rpc.Object.SearchUnsubscribe.Response](#anytype-Rpc-Object-SearchUnsubscribe-Response) | | +| ObjectSetDetails | [Rpc.Object.SetDetails.Request](#anytype-Rpc-Object-SetDetails-Request) | [Rpc.Object.SetDetails.Response](#anytype-Rpc-Object-SetDetails-Response) | | +| ObjectDuplicate | [Rpc.Object.Duplicate.Request](#anytype-Rpc-Object-Duplicate-Request) | [Rpc.Object.Duplicate.Response](#anytype-Rpc-Object-Duplicate-Response) | | +| ObjectSetObjectType | [Rpc.Object.SetObjectType.Request](#anytype-Rpc-Object-SetObjectType-Request) | [Rpc.Object.SetObjectType.Response](#anytype-Rpc-Object-SetObjectType-Response) | ObjectSetObjectType sets an existing object type to the object so it will appear in sets and suggests relations from this type | +| ObjectSetLayout | [Rpc.Object.SetLayout.Request](#anytype-Rpc-Object-SetLayout-Request) | [Rpc.Object.SetLayout.Response](#anytype-Rpc-Object-SetLayout-Response) | | +| ObjectSetInternalFlags | [Rpc.Object.SetInternalFlags.Request](#anytype-Rpc-Object-SetInternalFlags-Request) | [Rpc.Object.SetInternalFlags.Response](#anytype-Rpc-Object-SetInternalFlags-Response) | | +| ObjectSetIsFavorite | [Rpc.Object.SetIsFavorite.Request](#anytype-Rpc-Object-SetIsFavorite-Request) | [Rpc.Object.SetIsFavorite.Response](#anytype-Rpc-Object-SetIsFavorite-Response) | | +| ObjectSetIsArchived | [Rpc.Object.SetIsArchived.Request](#anytype-Rpc-Object-SetIsArchived-Request) | [Rpc.Object.SetIsArchived.Response](#anytype-Rpc-Object-SetIsArchived-Response) | | +| ObjectSetSource | [Rpc.Object.SetSource.Request](#anytype-Rpc-Object-SetSource-Request) | [Rpc.Object.SetSource.Response](#anytype-Rpc-Object-SetSource-Response) | | +| ObjectWorkspaceSetDashboard | [Rpc.Object.WorkspaceSetDashboard.Request](#anytype-Rpc-Object-WorkspaceSetDashboard-Request) | [Rpc.Object.WorkspaceSetDashboard.Response](#anytype-Rpc-Object-WorkspaceSetDashboard-Response) | | +| ObjectListDuplicate | [Rpc.Object.ListDuplicate.Request](#anytype-Rpc-Object-ListDuplicate-Request) | [Rpc.Object.ListDuplicate.Response](#anytype-Rpc-Object-ListDuplicate-Response) | | +| ObjectListDelete | [Rpc.Object.ListDelete.Request](#anytype-Rpc-Object-ListDelete-Request) | [Rpc.Object.ListDelete.Response](#anytype-Rpc-Object-ListDelete-Response) | | +| ObjectListSetIsArchived | [Rpc.Object.ListSetIsArchived.Request](#anytype-Rpc-Object-ListSetIsArchived-Request) | [Rpc.Object.ListSetIsArchived.Response](#anytype-Rpc-Object-ListSetIsArchived-Response) | | +| ObjectListSetIsFavorite | [Rpc.Object.ListSetIsFavorite.Request](#anytype-Rpc-Object-ListSetIsFavorite-Request) | [Rpc.Object.ListSetIsFavorite.Response](#anytype-Rpc-Object-ListSetIsFavorite-Response) | | +| ObjectApplyTemplate | [Rpc.Object.ApplyTemplate.Request](#anytype-Rpc-Object-ApplyTemplate-Request) | [Rpc.Object.ApplyTemplate.Response](#anytype-Rpc-Object-ApplyTemplate-Response) | | +| ObjectToSet | [Rpc.Object.ToSet.Request](#anytype-Rpc-Object-ToSet-Request) | [Rpc.Object.ToSet.Response](#anytype-Rpc-Object-ToSet-Response) | ObjectToSet creates new set from given object and removes object | +| ObjectToCollection | [Rpc.Object.ToCollection.Request](#anytype-Rpc-Object-ToCollection-Request) | [Rpc.Object.ToCollection.Response](#anytype-Rpc-Object-ToCollection-Response) | | +| ObjectShareByLink | [Rpc.Object.ShareByLink.Request](#anytype-Rpc-Object-ShareByLink-Request) | [Rpc.Object.ShareByLink.Response](#anytype-Rpc-Object-ShareByLink-Response) | | +| ObjectUndo | [Rpc.Object.Undo.Request](#anytype-Rpc-Object-Undo-Request) | [Rpc.Object.Undo.Response](#anytype-Rpc-Object-Undo-Response) | | +| ObjectRedo | [Rpc.Object.Redo.Request](#anytype-Rpc-Object-Redo-Request) | [Rpc.Object.Redo.Response](#anytype-Rpc-Object-Redo-Response) | | +| ObjectListExport | [Rpc.Object.ListExport.Request](#anytype-Rpc-Object-ListExport-Request) | [Rpc.Object.ListExport.Response](#anytype-Rpc-Object-ListExport-Response) | | +| ObjectBookmarkFetch | [Rpc.Object.BookmarkFetch.Request](#anytype-Rpc-Object-BookmarkFetch-Request) | [Rpc.Object.BookmarkFetch.Response](#anytype-Rpc-Object-BookmarkFetch-Response) | | +| ObjectToBookmark | [Rpc.Object.ToBookmark.Request](#anytype-Rpc-Object-ToBookmark-Request) | [Rpc.Object.ToBookmark.Response](#anytype-Rpc-Object-ToBookmark-Response) | | +| ObjectImport | [Rpc.Object.Import.Request](#anytype-Rpc-Object-Import-Request) | [Rpc.Object.Import.Response](#anytype-Rpc-Object-Import-Response) | | +| ObjectImportList | [Rpc.Object.ImportList.Request](#anytype-Rpc-Object-ImportList-Request) | [Rpc.Object.ImportList.Response](#anytype-Rpc-Object-ImportList-Response) | | +| ObjectImportNotionValidateToken | [Rpc.Object.Import.Notion.ValidateToken.Request](#anytype-Rpc-Object-Import-Notion-ValidateToken-Request) | [Rpc.Object.Import.Notion.ValidateToken.Response](#anytype-Rpc-Object-Import-Notion-ValidateToken-Response) | | +| ObjectCollectionAdd | [Rpc.ObjectCollection.Add.Request](#anytype-Rpc-ObjectCollection-Add-Request) | [Rpc.ObjectCollection.Add.Response](#anytype-Rpc-ObjectCollection-Add-Response) | Collections *** | +| ObjectCollectionRemove | [Rpc.ObjectCollection.Remove.Request](#anytype-Rpc-ObjectCollection-Remove-Request) | [Rpc.ObjectCollection.Remove.Response](#anytype-Rpc-ObjectCollection-Remove-Response) | | +| ObjectCollectionSort | [Rpc.ObjectCollection.Sort.Request](#anytype-Rpc-ObjectCollection-Sort-Request) | [Rpc.ObjectCollection.Sort.Response](#anytype-Rpc-ObjectCollection-Sort-Response) | | +| ObjectCreateRelation | [Rpc.Object.CreateRelation.Request](#anytype-Rpc-Object-CreateRelation-Request) | [Rpc.Object.CreateRelation.Response](#anytype-Rpc-Object-CreateRelation-Response) | Relations *** | +| ObjectCreateRelationOption | [Rpc.Object.CreateRelationOption.Request](#anytype-Rpc-Object-CreateRelationOption-Request) | [Rpc.Object.CreateRelationOption.Response](#anytype-Rpc-Object-CreateRelationOption-Response) | | +| RelationListRemoveOption | [Rpc.Relation.ListRemoveOption.Request](#anytype-Rpc-Relation-ListRemoveOption-Request) | [Rpc.Relation.ListRemoveOption.Response](#anytype-Rpc-Relation-ListRemoveOption-Response) | | +| RelationOptions | [Rpc.Relation.Options.Request](#anytype-Rpc-Relation-Options-Request) | [Rpc.Relation.Options.Response](#anytype-Rpc-Relation-Options-Response) | | +| ObjectRelationAdd | [Rpc.ObjectRelation.Add.Request](#anytype-Rpc-ObjectRelation-Add-Request) | [Rpc.ObjectRelation.Add.Response](#anytype-Rpc-ObjectRelation-Add-Response) | Object Relations *** | +| ObjectRelationDelete | [Rpc.ObjectRelation.Delete.Request](#anytype-Rpc-ObjectRelation-Delete-Request) | [Rpc.ObjectRelation.Delete.Response](#anytype-Rpc-ObjectRelation-Delete-Response) | | +| ObjectRelationAddFeatured | [Rpc.ObjectRelation.AddFeatured.Request](#anytype-Rpc-ObjectRelation-AddFeatured-Request) | [Rpc.ObjectRelation.AddFeatured.Response](#anytype-Rpc-ObjectRelation-AddFeatured-Response) | | +| ObjectRelationRemoveFeatured | [Rpc.ObjectRelation.RemoveFeatured.Request](#anytype-Rpc-ObjectRelation-RemoveFeatured-Request) | [Rpc.ObjectRelation.RemoveFeatured.Response](#anytype-Rpc-ObjectRelation-RemoveFeatured-Response) | | +| ObjectRelationListAvailable | [Rpc.ObjectRelation.ListAvailable.Request](#anytype-Rpc-ObjectRelation-ListAvailable-Request) | [Rpc.ObjectRelation.ListAvailable.Response](#anytype-Rpc-ObjectRelation-ListAvailable-Response) | | +| ObjectCreateObjectType | [Rpc.Object.CreateObjectType.Request](#anytype-Rpc-Object-CreateObjectType-Request) | [Rpc.Object.CreateObjectType.Response](#anytype-Rpc-Object-CreateObjectType-Response) | ObjectType commands *** | +| ObjectTypeRelationList | [Rpc.ObjectType.Relation.List.Request](#anytype-Rpc-ObjectType-Relation-List-Request) | [Rpc.ObjectType.Relation.List.Response](#anytype-Rpc-ObjectType-Relation-List-Response) | | +| ObjectTypeRelationAdd | [Rpc.ObjectType.Relation.Add.Request](#anytype-Rpc-ObjectType-Relation-Add-Request) | [Rpc.ObjectType.Relation.Add.Response](#anytype-Rpc-ObjectType-Relation-Add-Response) | | +| ObjectTypeRelationRemove | [Rpc.ObjectType.Relation.Remove.Request](#anytype-Rpc-ObjectType-Relation-Remove-Request) | [Rpc.ObjectType.Relation.Remove.Response](#anytype-Rpc-ObjectType-Relation-Remove-Response) | | +| HistoryShowVersion | [Rpc.History.ShowVersion.Request](#anytype-Rpc-History-ShowVersion-Request) | [Rpc.History.ShowVersion.Response](#anytype-Rpc-History-ShowVersion-Response) | | +| HistoryGetVersions | [Rpc.History.GetVersions.Request](#anytype-Rpc-History-GetVersions-Request) | [Rpc.History.GetVersions.Response](#anytype-Rpc-History-GetVersions-Response) | | +| HistorySetVersion | [Rpc.History.SetVersion.Request](#anytype-Rpc-History-SetVersion-Request) | [Rpc.History.SetVersion.Response](#anytype-Rpc-History-SetVersion-Response) | | +| FileOffload | [Rpc.File.Offload.Request](#anytype-Rpc-File-Offload-Request) | [Rpc.File.Offload.Response](#anytype-Rpc-File-Offload-Response) | Files *** | +| FileListOffload | [Rpc.File.ListOffload.Request](#anytype-Rpc-File-ListOffload-Request) | [Rpc.File.ListOffload.Response](#anytype-Rpc-File-ListOffload-Response) | | +| FileUpload | [Rpc.File.Upload.Request](#anytype-Rpc-File-Upload-Request) | [Rpc.File.Upload.Response](#anytype-Rpc-File-Upload-Response) | | +| FileDownload | [Rpc.File.Download.Request](#anytype-Rpc-File-Download-Request) | [Rpc.File.Download.Response](#anytype-Rpc-File-Download-Response) | | +| FileDrop | [Rpc.File.Drop.Request](#anytype-Rpc-File-Drop-Request) | [Rpc.File.Drop.Response](#anytype-Rpc-File-Drop-Response) | | +| FileSpaceUsage | [Rpc.File.SpaceUsage.Request](#anytype-Rpc-File-SpaceUsage-Request) | [Rpc.File.SpaceUsage.Response](#anytype-Rpc-File-SpaceUsage-Response) | | +| NavigationListObjects | [Rpc.Navigation.ListObjects.Request](#anytype-Rpc-Navigation-ListObjects-Request) | [Rpc.Navigation.ListObjects.Response](#anytype-Rpc-Navigation-ListObjects-Response) | | +| NavigationGetObjectInfoWithLinks | [Rpc.Navigation.GetObjectInfoWithLinks.Request](#anytype-Rpc-Navigation-GetObjectInfoWithLinks-Request) | [Rpc.Navigation.GetObjectInfoWithLinks.Response](#anytype-Rpc-Navigation-GetObjectInfoWithLinks-Response) | | +| TemplateCreateFromObject | [Rpc.Template.CreateFromObject.Request](#anytype-Rpc-Template-CreateFromObject-Request) | [Rpc.Template.CreateFromObject.Response](#anytype-Rpc-Template-CreateFromObject-Response) | | +| TemplateCreateFromObjectType | [Rpc.Template.CreateFromObjectType.Request](#anytype-Rpc-Template-CreateFromObjectType-Request) | [Rpc.Template.CreateFromObjectType.Response](#anytype-Rpc-Template-CreateFromObjectType-Response) | to be renamed to ObjectCreateTemplate | +| TemplateClone | [Rpc.Template.Clone.Request](#anytype-Rpc-Template-Clone-Request) | [Rpc.Template.Clone.Response](#anytype-Rpc-Template-Clone-Response) | | +| TemplateExportAll | [Rpc.Template.ExportAll.Request](#anytype-Rpc-Template-ExportAll-Request) | [Rpc.Template.ExportAll.Response](#anytype-Rpc-Template-ExportAll-Response) | | +| LinkPreview | [Rpc.LinkPreview.Request](#anytype-Rpc-LinkPreview-Request) | [Rpc.LinkPreview.Response](#anytype-Rpc-LinkPreview-Response) | | +| UnsplashSearch | [Rpc.Unsplash.Search.Request](#anytype-Rpc-Unsplash-Search-Request) | [Rpc.Unsplash.Search.Response](#anytype-Rpc-Unsplash-Search-Response) | | +| UnsplashDownload | [Rpc.Unsplash.Download.Request](#anytype-Rpc-Unsplash-Download-Request) | [Rpc.Unsplash.Download.Response](#anytype-Rpc-Unsplash-Download-Response) | UnsplashDownload downloads picture from unsplash by ID, put it to the IPFS and returns the hash. The artist info is available in the object details | +| BlockUpload | [Rpc.Block.Upload.Request](#anytype-Rpc-Block-Upload-Request) | [Rpc.Block.Upload.Response](#anytype-Rpc-Block-Upload-Response) | General Block commands *** | +| BlockReplace | [Rpc.Block.Replace.Request](#anytype-Rpc-Block-Replace-Request) | [Rpc.Block.Replace.Response](#anytype-Rpc-Block-Replace-Response) | | +| BlockCreate | [Rpc.Block.Create.Request](#anytype-Rpc-Block-Create-Request) | [Rpc.Block.Create.Response](#anytype-Rpc-Block-Create-Response) | | +| BlockSplit | [Rpc.Block.Split.Request](#anytype-Rpc-Block-Split-Request) | [Rpc.Block.Split.Response](#anytype-Rpc-Block-Split-Response) | | +| BlockMerge | [Rpc.Block.Merge.Request](#anytype-Rpc-Block-Merge-Request) | [Rpc.Block.Merge.Response](#anytype-Rpc-Block-Merge-Response) | | +| BlockCopy | [Rpc.Block.Copy.Request](#anytype-Rpc-Block-Copy-Request) | [Rpc.Block.Copy.Response](#anytype-Rpc-Block-Copy-Response) | | +| BlockPaste | [Rpc.Block.Paste.Request](#anytype-Rpc-Block-Paste-Request) | [Rpc.Block.Paste.Response](#anytype-Rpc-Block-Paste-Response) | | +| BlockCut | [Rpc.Block.Cut.Request](#anytype-Rpc-Block-Cut-Request) | [Rpc.Block.Cut.Response](#anytype-Rpc-Block-Cut-Response) | | +| BlockSetFields | [Rpc.Block.SetFields.Request](#anytype-Rpc-Block-SetFields-Request) | [Rpc.Block.SetFields.Response](#anytype-Rpc-Block-SetFields-Response) | | +| BlockExport | [Rpc.Block.Export.Request](#anytype-Rpc-Block-Export-Request) | [Rpc.Block.Export.Response](#anytype-Rpc-Block-Export-Response) | | +| BlockListDelete | [Rpc.Block.ListDelete.Request](#anytype-Rpc-Block-ListDelete-Request) | [Rpc.Block.ListDelete.Response](#anytype-Rpc-Block-ListDelete-Response) | | +| BlockListMoveToExistingObject | [Rpc.Block.ListMoveToExistingObject.Request](#anytype-Rpc-Block-ListMoveToExistingObject-Request) | [Rpc.Block.ListMoveToExistingObject.Response](#anytype-Rpc-Block-ListMoveToExistingObject-Response) | | +| BlockListMoveToNewObject | [Rpc.Block.ListMoveToNewObject.Request](#anytype-Rpc-Block-ListMoveToNewObject-Request) | [Rpc.Block.ListMoveToNewObject.Response](#anytype-Rpc-Block-ListMoveToNewObject-Response) | | +| BlockListConvertToObjects | [Rpc.Block.ListConvertToObjects.Request](#anytype-Rpc-Block-ListConvertToObjects-Request) | [Rpc.Block.ListConvertToObjects.Response](#anytype-Rpc-Block-ListConvertToObjects-Response) | | +| BlockListSetFields | [Rpc.Block.ListSetFields.Request](#anytype-Rpc-Block-ListSetFields-Request) | [Rpc.Block.ListSetFields.Response](#anytype-Rpc-Block-ListSetFields-Response) | | +| BlockListDuplicate | [Rpc.Block.ListDuplicate.Request](#anytype-Rpc-Block-ListDuplicate-Request) | [Rpc.Block.ListDuplicate.Response](#anytype-Rpc-Block-ListDuplicate-Response) | | +| BlockListSetBackgroundColor | [Rpc.Block.ListSetBackgroundColor.Request](#anytype-Rpc-Block-ListSetBackgroundColor-Request) | [Rpc.Block.ListSetBackgroundColor.Response](#anytype-Rpc-Block-ListSetBackgroundColor-Response) | | +| BlockListSetAlign | [Rpc.Block.ListSetAlign.Request](#anytype-Rpc-Block-ListSetAlign-Request) | [Rpc.Block.ListSetAlign.Response](#anytype-Rpc-Block-ListSetAlign-Response) | | +| BlockListSetVerticalAlign | [Rpc.Block.ListSetVerticalAlign.Request](#anytype-Rpc-Block-ListSetVerticalAlign-Request) | [Rpc.Block.ListSetVerticalAlign.Response](#anytype-Rpc-Block-ListSetVerticalAlign-Response) | | +| BlockListTurnInto | [Rpc.Block.ListTurnInto.Request](#anytype-Rpc-Block-ListTurnInto-Request) | [Rpc.Block.ListTurnInto.Response](#anytype-Rpc-Block-ListTurnInto-Response) | | +| BlockTextSetText | [Rpc.BlockText.SetText.Request](#anytype-Rpc-BlockText-SetText-Request) | [Rpc.BlockText.SetText.Response](#anytype-Rpc-BlockText-SetText-Response) | Text Block commands *** | +| BlockTextSetColor | [Rpc.BlockText.SetColor.Request](#anytype-Rpc-BlockText-SetColor-Request) | [Rpc.BlockText.SetColor.Response](#anytype-Rpc-BlockText-SetColor-Response) | | +| BlockTextSetStyle | [Rpc.BlockText.SetStyle.Request](#anytype-Rpc-BlockText-SetStyle-Request) | [Rpc.BlockText.SetStyle.Response](#anytype-Rpc-BlockText-SetStyle-Response) | | +| BlockTextSetChecked | [Rpc.BlockText.SetChecked.Request](#anytype-Rpc-BlockText-SetChecked-Request) | [Rpc.BlockText.SetChecked.Response](#anytype-Rpc-BlockText-SetChecked-Response) | | +| BlockTextSetIcon | [Rpc.BlockText.SetIcon.Request](#anytype-Rpc-BlockText-SetIcon-Request) | [Rpc.BlockText.SetIcon.Response](#anytype-Rpc-BlockText-SetIcon-Response) | | +| BlockTextListSetColor | [Rpc.BlockText.ListSetColor.Request](#anytype-Rpc-BlockText-ListSetColor-Request) | [Rpc.BlockText.ListSetColor.Response](#anytype-Rpc-BlockText-ListSetColor-Response) | | +| BlockTextListSetMark | [Rpc.BlockText.ListSetMark.Request](#anytype-Rpc-BlockText-ListSetMark-Request) | [Rpc.BlockText.ListSetMark.Response](#anytype-Rpc-BlockText-ListSetMark-Response) | | +| BlockTextListSetStyle | [Rpc.BlockText.ListSetStyle.Request](#anytype-Rpc-BlockText-ListSetStyle-Request) | [Rpc.BlockText.ListSetStyle.Response](#anytype-Rpc-BlockText-ListSetStyle-Response) | | +| BlockTextListClearStyle | [Rpc.BlockText.ListClearStyle.Request](#anytype-Rpc-BlockText-ListClearStyle-Request) | [Rpc.BlockText.ListClearStyle.Response](#anytype-Rpc-BlockText-ListClearStyle-Response) | | +| BlockTextListClearContent | [Rpc.BlockText.ListClearContent.Request](#anytype-Rpc-BlockText-ListClearContent-Request) | [Rpc.BlockText.ListClearContent.Response](#anytype-Rpc-BlockText-ListClearContent-Response) | | +| BlockFileSetName | [Rpc.BlockFile.SetName.Request](#anytype-Rpc-BlockFile-SetName-Request) | [Rpc.BlockFile.SetName.Response](#anytype-Rpc-BlockFile-SetName-Response) | File block commands *** | +| BlockImageSetName | [Rpc.BlockImage.SetName.Request](#anytype-Rpc-BlockImage-SetName-Request) | [Rpc.BlockImage.SetName.Response](#anytype-Rpc-BlockImage-SetName-Response) | | +| BlockVideoSetName | [Rpc.BlockVideo.SetName.Request](#anytype-Rpc-BlockVideo-SetName-Request) | [Rpc.BlockVideo.SetName.Response](#anytype-Rpc-BlockVideo-SetName-Response) | | +| BlockFileCreateAndUpload | [Rpc.BlockFile.CreateAndUpload.Request](#anytype-Rpc-BlockFile-CreateAndUpload-Request) | [Rpc.BlockFile.CreateAndUpload.Response](#anytype-Rpc-BlockFile-CreateAndUpload-Response) | | +| BlockFileListSetStyle | [Rpc.BlockFile.ListSetStyle.Request](#anytype-Rpc-BlockFile-ListSetStyle-Request) | [Rpc.BlockFile.ListSetStyle.Response](#anytype-Rpc-BlockFile-ListSetStyle-Response) | | +| BlockDataviewViewCreate | [Rpc.BlockDataview.View.Create.Request](#anytype-Rpc-BlockDataview-View-Create-Request) | [Rpc.BlockDataview.View.Create.Response](#anytype-Rpc-BlockDataview-View-Create-Response) | Dataview block commands *** | +| BlockDataviewViewDelete | [Rpc.BlockDataview.View.Delete.Request](#anytype-Rpc-BlockDataview-View-Delete-Request) | [Rpc.BlockDataview.View.Delete.Response](#anytype-Rpc-BlockDataview-View-Delete-Response) | | +| BlockDataviewViewUpdate | [Rpc.BlockDataview.View.Update.Request](#anytype-Rpc-BlockDataview-View-Update-Request) | [Rpc.BlockDataview.View.Update.Response](#anytype-Rpc-BlockDataview-View-Update-Response) | | +| BlockDataviewViewSetActive | [Rpc.BlockDataview.View.SetActive.Request](#anytype-Rpc-BlockDataview-View-SetActive-Request) | [Rpc.BlockDataview.View.SetActive.Response](#anytype-Rpc-BlockDataview-View-SetActive-Response) | | +| BlockDataviewViewSetPosition | [Rpc.BlockDataview.View.SetPosition.Request](#anytype-Rpc-BlockDataview-View-SetPosition-Request) | [Rpc.BlockDataview.View.SetPosition.Response](#anytype-Rpc-BlockDataview-View-SetPosition-Response) | | +| BlockDataviewSetSource | [Rpc.BlockDataview.SetSource.Request](#anytype-Rpc-BlockDataview-SetSource-Request) | [Rpc.BlockDataview.SetSource.Response](#anytype-Rpc-BlockDataview-SetSource-Response) | | +| BlockDataviewRelationAdd | [Rpc.BlockDataview.Relation.Add.Request](#anytype-Rpc-BlockDataview-Relation-Add-Request) | [Rpc.BlockDataview.Relation.Add.Response](#anytype-Rpc-BlockDataview-Relation-Add-Response) | | +| BlockDataviewRelationDelete | [Rpc.BlockDataview.Relation.Delete.Request](#anytype-Rpc-BlockDataview-Relation-Delete-Request) | [Rpc.BlockDataview.Relation.Delete.Response](#anytype-Rpc-BlockDataview-Relation-Delete-Response) | | +| BlockDataviewRelationListAvailable | [Rpc.BlockDataview.Relation.ListAvailable.Request](#anytype-Rpc-BlockDataview-Relation-ListAvailable-Request) | [Rpc.BlockDataview.Relation.ListAvailable.Response](#anytype-Rpc-BlockDataview-Relation-ListAvailable-Response) | | +| BlockDataviewGroupOrderUpdate | [Rpc.BlockDataview.GroupOrder.Update.Request](#anytype-Rpc-BlockDataview-GroupOrder-Update-Request) | [Rpc.BlockDataview.GroupOrder.Update.Response](#anytype-Rpc-BlockDataview-GroupOrder-Update-Response) | | +| BlockDataviewObjectOrderUpdate | [Rpc.BlockDataview.ObjectOrder.Update.Request](#anytype-Rpc-BlockDataview-ObjectOrder-Update-Request) | [Rpc.BlockDataview.ObjectOrder.Update.Response](#anytype-Rpc-BlockDataview-ObjectOrder-Update-Response) | | +| BlockDataviewObjectOrderMove | [Rpc.BlockDataview.ObjectOrder.Move.Request](#anytype-Rpc-BlockDataview-ObjectOrder-Move-Request) | [Rpc.BlockDataview.ObjectOrder.Move.Response](#anytype-Rpc-BlockDataview-ObjectOrder-Move-Response) | | +| BlockDataviewCreateFromExistingObject | [Rpc.BlockDataview.CreateFromExistingObject.Request](#anytype-Rpc-BlockDataview-CreateFromExistingObject-Request) | [Rpc.BlockDataview.CreateFromExistingObject.Response](#anytype-Rpc-BlockDataview-CreateFromExistingObject-Response) | | +| BlockDataviewFilterAdd | [Rpc.BlockDataview.Filter.Add.Request](#anytype-Rpc-BlockDataview-Filter-Add-Request) | [Rpc.BlockDataview.Filter.Add.Response](#anytype-Rpc-BlockDataview-Filter-Add-Response) | | +| BlockDataviewFilterRemove | [Rpc.BlockDataview.Filter.Remove.Request](#anytype-Rpc-BlockDataview-Filter-Remove-Request) | [Rpc.BlockDataview.Filter.Remove.Response](#anytype-Rpc-BlockDataview-Filter-Remove-Response) | | +| BlockDataviewFilterReplace | [Rpc.BlockDataview.Filter.Replace.Request](#anytype-Rpc-BlockDataview-Filter-Replace-Request) | [Rpc.BlockDataview.Filter.Replace.Response](#anytype-Rpc-BlockDataview-Filter-Replace-Response) | | +| BlockDataviewFilterSort | [Rpc.BlockDataview.Filter.Sort.Request](#anytype-Rpc-BlockDataview-Filter-Sort-Request) | [Rpc.BlockDataview.Filter.Sort.Response](#anytype-Rpc-BlockDataview-Filter-Sort-Response) | | +| BlockDataviewSortAdd | [Rpc.BlockDataview.Sort.Add.Request](#anytype-Rpc-BlockDataview-Sort-Add-Request) | [Rpc.BlockDataview.Sort.Add.Response](#anytype-Rpc-BlockDataview-Sort-Add-Response) | | +| BlockDataviewSortRemove | [Rpc.BlockDataview.Sort.Remove.Request](#anytype-Rpc-BlockDataview-Sort-Remove-Request) | [Rpc.BlockDataview.Sort.Remove.Response](#anytype-Rpc-BlockDataview-Sort-Remove-Response) | | +| BlockDataviewSortReplace | [Rpc.BlockDataview.Sort.Replace.Request](#anytype-Rpc-BlockDataview-Sort-Replace-Request) | [Rpc.BlockDataview.Sort.Replace.Response](#anytype-Rpc-BlockDataview-Sort-Replace-Response) | | +| BlockDataviewSortSort | [Rpc.BlockDataview.Sort.Sort.Request](#anytype-Rpc-BlockDataview-Sort-Sort-Request) | [Rpc.BlockDataview.Sort.Sort.Response](#anytype-Rpc-BlockDataview-Sort-Sort-Response) | | +| BlockDataviewViewRelationAdd | [Rpc.BlockDataview.ViewRelation.Add.Request](#anytype-Rpc-BlockDataview-ViewRelation-Add-Request) | [Rpc.BlockDataview.ViewRelation.Add.Response](#anytype-Rpc-BlockDataview-ViewRelation-Add-Response) | | +| BlockDataviewViewRelationRemove | [Rpc.BlockDataview.ViewRelation.Remove.Request](#anytype-Rpc-BlockDataview-ViewRelation-Remove-Request) | [Rpc.BlockDataview.ViewRelation.Remove.Response](#anytype-Rpc-BlockDataview-ViewRelation-Remove-Response) | | +| BlockDataviewViewRelationReplace | [Rpc.BlockDataview.ViewRelation.Replace.Request](#anytype-Rpc-BlockDataview-ViewRelation-Replace-Request) | [Rpc.BlockDataview.ViewRelation.Replace.Response](#anytype-Rpc-BlockDataview-ViewRelation-Replace-Response) | | +| BlockDataviewViewRelationSort | [Rpc.BlockDataview.ViewRelation.Sort.Request](#anytype-Rpc-BlockDataview-ViewRelation-Sort-Request) | [Rpc.BlockDataview.ViewRelation.Sort.Response](#anytype-Rpc-BlockDataview-ViewRelation-Sort-Response) | | +| BlockTableCreate | [Rpc.BlockTable.Create.Request](#anytype-Rpc-BlockTable-Create-Request) | [Rpc.BlockTable.Create.Response](#anytype-Rpc-BlockTable-Create-Response) | Simple table block commands *** | +| BlockTableExpand | [Rpc.BlockTable.Expand.Request](#anytype-Rpc-BlockTable-Expand-Request) | [Rpc.BlockTable.Expand.Response](#anytype-Rpc-BlockTable-Expand-Response) | | +| BlockTableRowCreate | [Rpc.BlockTable.RowCreate.Request](#anytype-Rpc-BlockTable-RowCreate-Request) | [Rpc.BlockTable.RowCreate.Response](#anytype-Rpc-BlockTable-RowCreate-Response) | | +| BlockTableRowDelete | [Rpc.BlockTable.RowDelete.Request](#anytype-Rpc-BlockTable-RowDelete-Request) | [Rpc.BlockTable.RowDelete.Response](#anytype-Rpc-BlockTable-RowDelete-Response) | | +| BlockTableRowDuplicate | [Rpc.BlockTable.RowDuplicate.Request](#anytype-Rpc-BlockTable-RowDuplicate-Request) | [Rpc.BlockTable.RowDuplicate.Response](#anytype-Rpc-BlockTable-RowDuplicate-Response) | | +| BlockTableRowSetHeader | [Rpc.BlockTable.RowSetHeader.Request](#anytype-Rpc-BlockTable-RowSetHeader-Request) | [Rpc.BlockTable.RowSetHeader.Response](#anytype-Rpc-BlockTable-RowSetHeader-Response) | | +| BlockTableColumnCreate | [Rpc.BlockTable.ColumnCreate.Request](#anytype-Rpc-BlockTable-ColumnCreate-Request) | [Rpc.BlockTable.ColumnCreate.Response](#anytype-Rpc-BlockTable-ColumnCreate-Response) | | +| BlockTableColumnMove | [Rpc.BlockTable.ColumnMove.Request](#anytype-Rpc-BlockTable-ColumnMove-Request) | [Rpc.BlockTable.ColumnMove.Response](#anytype-Rpc-BlockTable-ColumnMove-Response) | | +| BlockTableColumnDelete | [Rpc.BlockTable.ColumnDelete.Request](#anytype-Rpc-BlockTable-ColumnDelete-Request) | [Rpc.BlockTable.ColumnDelete.Response](#anytype-Rpc-BlockTable-ColumnDelete-Response) | | +| BlockTableColumnDuplicate | [Rpc.BlockTable.ColumnDuplicate.Request](#anytype-Rpc-BlockTable-ColumnDuplicate-Request) | [Rpc.BlockTable.ColumnDuplicate.Response](#anytype-Rpc-BlockTable-ColumnDuplicate-Response) | | +| BlockTableRowListFill | [Rpc.BlockTable.RowListFill.Request](#anytype-Rpc-BlockTable-RowListFill-Request) | [Rpc.BlockTable.RowListFill.Response](#anytype-Rpc-BlockTable-RowListFill-Response) | | +| BlockTableRowListClean | [Rpc.BlockTable.RowListClean.Request](#anytype-Rpc-BlockTable-RowListClean-Request) | [Rpc.BlockTable.RowListClean.Response](#anytype-Rpc-BlockTable-RowListClean-Response) | | +| BlockTableColumnListFill | [Rpc.BlockTable.ColumnListFill.Request](#anytype-Rpc-BlockTable-ColumnListFill-Request) | [Rpc.BlockTable.ColumnListFill.Response](#anytype-Rpc-BlockTable-ColumnListFill-Response) | | +| BlockTableSort | [Rpc.BlockTable.Sort.Request](#anytype-Rpc-BlockTable-Sort-Request) | [Rpc.BlockTable.Sort.Response](#anytype-Rpc-BlockTable-Sort-Response) | | +| BlockCreateWidget | [Rpc.Block.CreateWidget.Request](#anytype-Rpc-Block-CreateWidget-Request) | [Rpc.Block.CreateWidget.Response](#anytype-Rpc-Block-CreateWidget-Response) | Widget commands *** | +| BlockWidgetSetTargetId | [Rpc.BlockWidget.SetTargetId.Request](#anytype-Rpc-BlockWidget-SetTargetId-Request) | [Rpc.BlockWidget.SetTargetId.Response](#anytype-Rpc-BlockWidget-SetTargetId-Response) | | +| BlockWidgetSetLayout | [Rpc.BlockWidget.SetLayout.Request](#anytype-Rpc-BlockWidget-SetLayout-Request) | [Rpc.BlockWidget.SetLayout.Response](#anytype-Rpc-BlockWidget-SetLayout-Response) | | +| BlockWidgetSetLimit | [Rpc.BlockWidget.SetLimit.Request](#anytype-Rpc-BlockWidget-SetLimit-Request) | [Rpc.BlockWidget.SetLimit.Response](#anytype-Rpc-BlockWidget-SetLimit-Response) | | +| BlockWidgetSetViewId | [Rpc.BlockWidget.SetViewId.Request](#anytype-Rpc-BlockWidget-SetViewId-Request) | [Rpc.BlockWidget.SetViewId.Response](#anytype-Rpc-BlockWidget-SetViewId-Response) | | +| BlockLinkCreateWithObject | [Rpc.BlockLink.CreateWithObject.Request](#anytype-Rpc-BlockLink-CreateWithObject-Request) | [Rpc.BlockLink.CreateWithObject.Response](#anytype-Rpc-BlockLink-CreateWithObject-Response) | Other specific block commands *** | +| BlockLinkListSetAppearance | [Rpc.BlockLink.ListSetAppearance.Request](#anytype-Rpc-BlockLink-ListSetAppearance-Request) | [Rpc.BlockLink.ListSetAppearance.Response](#anytype-Rpc-BlockLink-ListSetAppearance-Response) | | +| BlockBookmarkFetch | [Rpc.BlockBookmark.Fetch.Request](#anytype-Rpc-BlockBookmark-Fetch-Request) | [Rpc.BlockBookmark.Fetch.Response](#anytype-Rpc-BlockBookmark-Fetch-Response) | | +| BlockBookmarkCreateAndFetch | [Rpc.BlockBookmark.CreateAndFetch.Request](#anytype-Rpc-BlockBookmark-CreateAndFetch-Request) | [Rpc.BlockBookmark.CreateAndFetch.Response](#anytype-Rpc-BlockBookmark-CreateAndFetch-Response) | | +| BlockRelationSetKey | [Rpc.BlockRelation.SetKey.Request](#anytype-Rpc-BlockRelation-SetKey-Request) | [Rpc.BlockRelation.SetKey.Response](#anytype-Rpc-BlockRelation-SetKey-Response) | | +| BlockRelationAdd | [Rpc.BlockRelation.Add.Request](#anytype-Rpc-BlockRelation-Add-Request) | [Rpc.BlockRelation.Add.Response](#anytype-Rpc-BlockRelation-Add-Response) | | +| BlockDivListSetStyle | [Rpc.BlockDiv.ListSetStyle.Request](#anytype-Rpc-BlockDiv-ListSetStyle-Request) | [Rpc.BlockDiv.ListSetStyle.Response](#anytype-Rpc-BlockDiv-ListSetStyle-Response) | | +| BlockLatexSetText | [Rpc.BlockLatex.SetText.Request](#anytype-Rpc-BlockLatex-SetText-Request) | [Rpc.BlockLatex.SetText.Response](#anytype-Rpc-BlockLatex-SetText-Response) | | +| ProcessCancel | [Rpc.Process.Cancel.Request](#anytype-Rpc-Process-Cancel-Request) | [Rpc.Process.Cancel.Response](#anytype-Rpc-Process-Cancel-Response) | | +| LogSend | [Rpc.Log.Send.Request](#anytype-Rpc-Log-Send-Request) | [Rpc.Log.Send.Response](#anytype-Rpc-Log-Send-Response) | | +| DebugTree | [Rpc.Debug.Tree.Request](#anytype-Rpc-Debug-Tree-Request) | [Rpc.Debug.Tree.Response](#anytype-Rpc-Debug-Tree-Response) | | +| DebugTreeHeads | [Rpc.Debug.TreeHeads.Request](#anytype-Rpc-Debug-TreeHeads-Request) | [Rpc.Debug.TreeHeads.Response](#anytype-Rpc-Debug-TreeHeads-Response) | | +| DebugSpaceSummary | [Rpc.Debug.SpaceSummary.Request](#anytype-Rpc-Debug-SpaceSummary-Request) | [Rpc.Debug.SpaceSummary.Response](#anytype-Rpc-Debug-SpaceSummary-Response) | | +| DebugExportLocalstore | [Rpc.Debug.ExportLocalstore.Request](#anytype-Rpc-Debug-ExportLocalstore-Request) | [Rpc.Debug.ExportLocalstore.Response](#anytype-Rpc-Debug-ExportLocalstore-Response) | | +| DebugPing | [Rpc.Debug.Ping.Request](#anytype-Rpc-Debug-Ping-Request) | [Rpc.Debug.Ping.Response](#anytype-Rpc-Debug-Ping-Response) | | +| MetricsSetParameters | [Rpc.Metrics.SetParameters.Request](#anytype-Rpc-Metrics-SetParameters-Request) | [Rpc.Metrics.SetParameters.Response](#anytype-Rpc-Metrics-SetParameters-Response) | | +| ListenSessionEvents | [StreamRequest](#anytype-StreamRequest) | [Event](#anytype-Event) stream | used only for lib-server via grpc | - +

Top

## pb/protos/changes.proto - + ### Change the element of change tree used to store and internal apply smartBlock history @@ -1658,9 +1658,9 @@ the element of change tree used to store and internal apply smartBlock history | previous_ids | [string](#string) | repeated | ids of previous changes | | last_snapshot_id | [string](#string) | | id of the last snapshot | | previous_meta_ids | [string](#string) | repeated | ids of the last changes with details/relations content | -| content | [Change.Content](#anytype.Change.Content) | repeated | set of actions to apply | -| snapshot | [Change.Snapshot](#anytype.Change.Snapshot) | | snapshot - when not null, the Content will be ignored | -| fileKeys | [Change.FileKeys](#anytype.Change.FileKeys) | repeated | file keys related to changes content | +| content | [Change.Content](#anytype-Change-Content) | repeated | set of actions to apply | +| snapshot | [Change.Snapshot](#anytype-Change-Snapshot) | | snapshot - when not null, the Content will be ignored | +| fileKeys | [Change.FileKeys](#anytype-Change-FileKeys) | repeated | file keys related to changes content | | timestamp | [int64](#int64) | | creation timestamp | | version | [uint32](#uint32) | | version of business logic | @@ -1669,7 +1669,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.BlockCreate @@ -1678,15 +1678,15 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | targetId | [string](#string) | | | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | -| blocks | [model.Block](#anytype.model.Block) | repeated | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | +| blocks | [model.Block](#anytype-model-Block) | repeated | | - + ### Change.BlockDuplicate @@ -1695,7 +1695,7 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | targetId | [string](#string) | | | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | | ids | [string](#string) | repeated | | @@ -1703,7 +1703,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.BlockMove @@ -1712,7 +1712,7 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | targetId | [string](#string) | | | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | | ids | [string](#string) | repeated | | @@ -1720,7 +1720,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.BlockRemove @@ -1735,7 +1735,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.BlockUpdate @@ -1743,14 +1743,14 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| events | [Event.Message](#anytype.Event.Message) | repeated | | +| events | [Event.Message](#anytype-Event-Message) | repeated | | - + ### Change.Content @@ -1758,30 +1758,30 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| blockCreate | [Change.BlockCreate](#anytype.Change.BlockCreate) | | | -| blockUpdate | [Change.BlockUpdate](#anytype.Change.BlockUpdate) | | | -| blockRemove | [Change.BlockRemove](#anytype.Change.BlockRemove) | | | -| blockMove | [Change.BlockMove](#anytype.Change.BlockMove) | | | -| blockDuplicate | [Change.BlockDuplicate](#anytype.Change.BlockDuplicate) | | | -| relationAdd | [Change.RelationAdd](#anytype.Change.RelationAdd) | | | -| relationRemove | [Change.RelationRemove](#anytype.Change.RelationRemove) | | | -| detailsSet | [Change.DetailsSet](#anytype.Change.DetailsSet) | | | -| detailsUnset | [Change.DetailsUnset](#anytype.Change.DetailsUnset) | | | -| old_relationAdd | [Change._RelationAdd](#anytype.Change._RelationAdd) | | deprecated | -| old_relationRemove | [Change._RelationRemove](#anytype.Change._RelationRemove) | | | -| old_relationUpdate | [Change._RelationUpdate](#anytype.Change._RelationUpdate) | | | -| objectTypeAdd | [Change.ObjectTypeAdd](#anytype.Change.ObjectTypeAdd) | | | -| objectTypeRemove | [Change.ObjectTypeRemove](#anytype.Change.ObjectTypeRemove) | | | -| storeKeySet | [Change.StoreKeySet](#anytype.Change.StoreKeySet) | | | -| storeKeyUnset | [Change.StoreKeyUnset](#anytype.Change.StoreKeyUnset) | | | -| storeSliceUpdate | [Change.StoreSliceUpdate](#anytype.Change.StoreSliceUpdate) | | | +| blockCreate | [Change.BlockCreate](#anytype-Change-BlockCreate) | | | +| blockUpdate | [Change.BlockUpdate](#anytype-Change-BlockUpdate) | | | +| blockRemove | [Change.BlockRemove](#anytype-Change-BlockRemove) | | | +| blockMove | [Change.BlockMove](#anytype-Change-BlockMove) | | | +| blockDuplicate | [Change.BlockDuplicate](#anytype-Change-BlockDuplicate) | | | +| relationAdd | [Change.RelationAdd](#anytype-Change-RelationAdd) | | | +| relationRemove | [Change.RelationRemove](#anytype-Change-RelationRemove) | | | +| detailsSet | [Change.DetailsSet](#anytype-Change-DetailsSet) | | | +| detailsUnset | [Change.DetailsUnset](#anytype-Change-DetailsUnset) | | | +| old_relationAdd | [Change._RelationAdd](#anytype-Change-_RelationAdd) | | deprecated | +| old_relationRemove | [Change._RelationRemove](#anytype-Change-_RelationRemove) | | | +| old_relationUpdate | [Change._RelationUpdate](#anytype-Change-_RelationUpdate) | | | +| objectTypeAdd | [Change.ObjectTypeAdd](#anytype-Change-ObjectTypeAdd) | | | +| objectTypeRemove | [Change.ObjectTypeRemove](#anytype-Change-ObjectTypeRemove) | | | +| storeKeySet | [Change.StoreKeySet](#anytype-Change-StoreKeySet) | | | +| storeKeyUnset | [Change.StoreKeyUnset](#anytype-Change-StoreKeyUnset) | | | +| storeSliceUpdate | [Change.StoreSliceUpdate](#anytype-Change-StoreSliceUpdate) | | | - + ### Change.DetailsSet @@ -1790,14 +1790,14 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | key | [string](#string) | | | -| value | [google.protobuf.Value](#google.protobuf.Value) | | | +| value | [google.protobuf.Value](#google-protobuf-Value) | | | - + ### Change.DetailsUnset @@ -1812,7 +1812,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.FileKeys @@ -1821,14 +1821,14 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | hash | [string](#string) | | | -| keys | [Change.FileKeys.KeysEntry](#anytype.Change.FileKeys.KeysEntry) | repeated | | +| keys | [Change.FileKeys.KeysEntry](#anytype-Change-FileKeys-KeysEntry) | repeated | | - + ### Change.FileKeys.KeysEntry @@ -1844,7 +1844,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.ObjectTypeAdd @@ -1859,7 +1859,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.ObjectTypeRemove @@ -1874,7 +1874,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.RelationAdd @@ -1882,14 +1882,14 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| relationLinks | [model.RelationLink](#anytype.model.RelationLink) | repeated | | +| relationLinks | [model.RelationLink](#anytype-model-RelationLink) | repeated | | - + ### Change.RelationRemove @@ -1904,7 +1904,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.Snapshot @@ -1912,16 +1912,16 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| logHeads | [Change.Snapshot.LogHeadsEntry](#anytype.Change.Snapshot.LogHeadsEntry) | repeated | logId -> lastChangeId | -| data | [model.SmartBlockSnapshotBase](#anytype.model.SmartBlockSnapshotBase) | | snapshot data | -| fileKeys | [Change.FileKeys](#anytype.Change.FileKeys) | repeated | all file keys related to doc | +| logHeads | [Change.Snapshot.LogHeadsEntry](#anytype-Change-Snapshot-LogHeadsEntry) | repeated | logId -> lastChangeId | +| data | [model.SmartBlockSnapshotBase](#anytype-model-SmartBlockSnapshotBase) | | snapshot data | +| fileKeys | [Change.FileKeys](#anytype-Change-FileKeys) | repeated | all file keys related to doc | - + ### Change.Snapshot.LogHeadsEntry @@ -1937,7 +1937,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.StoreKeySet @@ -1946,14 +1946,14 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | path | [string](#string) | repeated | | -| value | [google.protobuf.Value](#google.protobuf.Value) | | | +| value | [google.protobuf.Value](#google-protobuf-Value) | | | - + ### Change.StoreKeyUnset @@ -1968,7 +1968,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.StoreSliceUpdate @@ -1977,16 +1977,16 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | key | [string](#string) | | | -| add | [Change.StoreSliceUpdate.Add](#anytype.Change.StoreSliceUpdate.Add) | | | -| remove | [Change.StoreSliceUpdate.Remove](#anytype.Change.StoreSliceUpdate.Remove) | | | -| move | [Change.StoreSliceUpdate.Move](#anytype.Change.StoreSliceUpdate.Move) | | | +| add | [Change.StoreSliceUpdate.Add](#anytype-Change-StoreSliceUpdate-Add) | | | +| remove | [Change.StoreSliceUpdate.Remove](#anytype-Change-StoreSliceUpdate-Remove) | | | +| move | [Change.StoreSliceUpdate.Move](#anytype-Change-StoreSliceUpdate-Move) | | | - + ### Change.StoreSliceUpdate.Add @@ -2002,7 +2002,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.StoreSliceUpdate.Move @@ -2018,7 +2018,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change.StoreSliceUpdate.Remove @@ -2033,7 +2033,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change._RelationAdd @@ -2041,14 +2041,14 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| relation | [model.Relation](#anytype.model.Relation) | | | +| relation | [model.Relation](#anytype-model-Relation) | | | - + ### Change._RelationRemove @@ -2063,7 +2063,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Change._RelationUpdate @@ -2072,19 +2072,19 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | key | [string](#string) | | | -| format | [model.RelationFormat](#anytype.model.RelationFormat) | | | +| format | [model.RelationFormat](#anytype-model-RelationFormat) | | | | name | [string](#string) | | | -| defaultValue | [google.protobuf.Value](#google.protobuf.Value) | | | -| objectTypes | [Change._RelationUpdate.ObjectTypes](#anytype.Change._RelationUpdate.ObjectTypes) | | | +| defaultValue | [google.protobuf.Value](#google-protobuf-Value) | | | +| objectTypes | [Change._RelationUpdate.ObjectTypes](#anytype-Change-_RelationUpdate-ObjectTypes) | | | | multi | [bool](#bool) | | | -| selectDict | [Change._RelationUpdate.Dict](#anytype.Change._RelationUpdate.Dict) | | | +| selectDict | [Change._RelationUpdate.Dict](#anytype-Change-_RelationUpdate-Dict) | | | - + ### Change._RelationUpdate.Dict @@ -2092,14 +2092,14 @@ the element of change tree used to store and internal apply smartBlock history | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| dict | [model.Relation.Option](#anytype.model.Relation.Option) | repeated | | +| dict | [model.Relation.Option](#anytype-model-Relation-Option) | repeated | | - + ### Change._RelationUpdate.ObjectTypes @@ -2123,14 +2123,14 @@ the element of change tree used to store and internal apply smartBlock history - +

Top

## pb/protos/commands.proto - + ### Empty @@ -2140,7 +2140,7 @@ the element of change tree used to store and internal apply smartBlock history - + ### Rpc Rpc is a namespace, that agregates all of the service commands between client and middleware. @@ -2153,7 +2153,7 @@ Response – message from a middleware. - + ### Rpc.Account @@ -2163,7 +2163,7 @@ Response – message from a middleware. - + ### Rpc.Account.Config @@ -2175,14 +2175,14 @@ Response – message from a middleware. | enableDebug | [bool](#bool) | | | | enablePrereleaseChannel | [bool](#bool) | | | | enableSpaces | [bool](#bool) | | | -| extra | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| extra | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Account.ConfigUpdate @@ -2192,7 +2192,7 @@ Response – message from a middleware. - + ### Rpc.Account.ConfigUpdate.Request @@ -2208,7 +2208,7 @@ Response – message from a middleware. - + ### Rpc.Account.ConfigUpdate.Response @@ -2216,14 +2216,14 @@ Response – message from a middleware. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Account.ConfigUpdate.Response.Error](#anytype.Rpc.Account.ConfigUpdate.Response.Error) | | | +| error | [Rpc.Account.ConfigUpdate.Response.Error](#anytype-Rpc-Account-ConfigUpdate-Response-Error) | | | - + ### Rpc.Account.ConfigUpdate.Response.Error @@ -2231,7 +2231,7 @@ Response – message from a middleware. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Account.ConfigUpdate.Response.Error.Code](#anytype.Rpc.Account.ConfigUpdate.Response.Error.Code) | | | +| code | [Rpc.Account.ConfigUpdate.Response.Error.Code](#anytype-Rpc-Account-ConfigUpdate-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2239,7 +2239,7 @@ Response – message from a middleware. - + ### Rpc.Account.Create @@ -2249,7 +2249,7 @@ Response – message from a middleware. - + ### Rpc.Account.Create.Request Front end to middleware request-to-create-an account @@ -2268,7 +2268,7 @@ Front end to middleware request-to-create-an account - + ### Rpc.Account.Create.Response Middleware-to-front-end response for an account creation request, that can contain a NULL error and created account or a non-NULL error and an empty account @@ -2276,16 +2276,16 @@ Middleware-to-front-end response for an account creation request, that can conta | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Account.Create.Response.Error](#anytype.Rpc.Account.Create.Response.Error) | | Error while trying to create an account | -| account | [model.Account](#anytype.model.Account) | | A newly created account; In case of a failure, i.e. error is non-NULL, the account model should contain empty/default-value fields | -| config | [Rpc.Account.Config](#anytype.Rpc.Account.Config) | | deprecated, use account | +| error | [Rpc.Account.Create.Response.Error](#anytype-Rpc-Account-Create-Response-Error) | | Error while trying to create an account | +| account | [model.Account](#anytype-model-Account) | | A newly created account; In case of a failure, i.e. error is non-NULL, the account model should contain empty/default-value fields | +| config | [Rpc.Account.Config](#anytype-Rpc-Account-Config) | | deprecated, use account | - + ### Rpc.Account.Create.Response.Error @@ -2293,7 +2293,7 @@ Middleware-to-front-end response for an account creation request, that can conta | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Account.Create.Response.Error.Code](#anytype.Rpc.Account.Create.Response.Error.Code) | | | +| code | [Rpc.Account.Create.Response.Error.Code](#anytype-Rpc-Account-Create-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2301,7 +2301,7 @@ Middleware-to-front-end response for an account creation request, that can conta - + ### Rpc.Account.Delete @@ -2311,7 +2311,7 @@ Middleware-to-front-end response for an account creation request, that can conta - + ### Rpc.Account.Delete.Request @@ -2326,7 +2326,7 @@ Middleware-to-front-end response for an account creation request, that can conta - + ### Rpc.Account.Delete.Response @@ -2334,15 +2334,15 @@ Middleware-to-front-end response for an account creation request, that can conta | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Account.Delete.Response.Error](#anytype.Rpc.Account.Delete.Response.Error) | | Error while trying to recover an account | -| status | [model.Account.Status](#anytype.model.Account.Status) | | | +| error | [Rpc.Account.Delete.Response.Error](#anytype-Rpc-Account-Delete-Response-Error) | | Error while trying to recover an account | +| status | [model.Account.Status](#anytype-model-Account-Status) | | | - + ### Rpc.Account.Delete.Response.Error @@ -2350,7 +2350,7 @@ Middleware-to-front-end response for an account creation request, that can conta | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Account.Delete.Response.Error.Code](#anytype.Rpc.Account.Delete.Response.Error.Code) | | | +| code | [Rpc.Account.Delete.Response.Error.Code](#anytype-Rpc-Account-Delete-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2358,7 +2358,7 @@ Middleware-to-front-end response for an account creation request, that can conta - + ### Rpc.Account.GetConfig @@ -2368,7 +2368,7 @@ Middleware-to-front-end response for an account creation request, that can conta - + ### Rpc.Account.GetConfig.Get @@ -2378,7 +2378,7 @@ Middleware-to-front-end response for an account creation request, that can conta - + ### Rpc.Account.GetConfig.Get.Request @@ -2388,7 +2388,7 @@ Middleware-to-front-end response for an account creation request, that can conta - + ### Rpc.Account.Move @@ -2398,7 +2398,7 @@ Middleware-to-front-end response for an account creation request, that can conta - + ### Rpc.Account.Move.Request Front-end-to-middleware request to move a account to a new disk location @@ -2413,7 +2413,7 @@ Front-end-to-middleware request to move a account to a new disk location - + ### Rpc.Account.Move.Response @@ -2421,14 +2421,14 @@ Front-end-to-middleware request to move a account to a new disk location | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Account.Move.Response.Error](#anytype.Rpc.Account.Move.Response.Error) | | | +| error | [Rpc.Account.Move.Response.Error](#anytype-Rpc-Account-Move-Response-Error) | | | - + ### Rpc.Account.Move.Response.Error @@ -2436,7 +2436,7 @@ Front-end-to-middleware request to move a account to a new disk location | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Account.Move.Response.Error.Code](#anytype.Rpc.Account.Move.Response.Error.Code) | | | +| code | [Rpc.Account.Move.Response.Error.Code](#anytype-Rpc-Account-Move-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2444,7 +2444,7 @@ Front-end-to-middleware request to move a account to a new disk location - + ### Rpc.Account.Recover @@ -2454,7 +2454,7 @@ Front-end-to-middleware request to move a account to a new disk location - + ### Rpc.Account.Recover.Request Front end to middleware request-to-start-search of an accounts for a recovered mnemonic. @@ -2465,7 +2465,7 @@ Each of an account that would be found will come with an AccountAdd event - + ### Rpc.Account.Recover.Response Middleware-to-front-end response to an account recover request, that can contain a NULL error and created account or a non-NULL error and an empty account @@ -2473,14 +2473,14 @@ Middleware-to-front-end response to an account recover request, that can contain | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Account.Recover.Response.Error](#anytype.Rpc.Account.Recover.Response.Error) | | Error while trying to recover an account | +| error | [Rpc.Account.Recover.Response.Error](#anytype-Rpc-Account-Recover-Response-Error) | | Error while trying to recover an account | - + ### Rpc.Account.Recover.Response.Error @@ -2488,7 +2488,7 @@ Middleware-to-front-end response to an account recover request, that can contain | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Account.Recover.Response.Error.Code](#anytype.Rpc.Account.Recover.Response.Error.Code) | | | +| code | [Rpc.Account.Recover.Response.Error.Code](#anytype-Rpc-Account-Recover-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2496,7 +2496,7 @@ Middleware-to-front-end response to an account recover request, that can contain - + ### Rpc.Account.RecoverFromLegacyExport @@ -2506,7 +2506,7 @@ Middleware-to-front-end response to an account recover request, that can contain - + ### Rpc.Account.RecoverFromLegacyExport.Request @@ -2523,7 +2523,7 @@ Middleware-to-front-end response to an account recover request, that can contain - + ### Rpc.Account.RecoverFromLegacyExport.Response @@ -2532,14 +2532,14 @@ Middleware-to-front-end response to an account recover request, that can contain | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | accountId | [string](#string) | | | -| error | [Rpc.Account.RecoverFromLegacyExport.Response.Error](#anytype.Rpc.Account.RecoverFromLegacyExport.Response.Error) | | | +| error | [Rpc.Account.RecoverFromLegacyExport.Response.Error](#anytype-Rpc-Account-RecoverFromLegacyExport-Response-Error) | | | - + ### Rpc.Account.RecoverFromLegacyExport.Response.Error @@ -2547,7 +2547,7 @@ Middleware-to-front-end response to an account recover request, that can contain | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Account.RecoverFromLegacyExport.Response.Error.Code](#anytype.Rpc.Account.RecoverFromLegacyExport.Response.Error.Code) | | | +| code | [Rpc.Account.RecoverFromLegacyExport.Response.Error.Code](#anytype-Rpc-Account-RecoverFromLegacyExport-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2555,7 +2555,7 @@ Middleware-to-front-end response to an account recover request, that can contain - + ### Rpc.Account.Select @@ -2565,7 +2565,7 @@ Middleware-to-front-end response to an account recover request, that can contain - + ### Rpc.Account.Select.Request Front end to middleware request-to-launch-a specific account using account id and a root path @@ -2582,7 +2582,7 @@ User can select an account from those, that came with an AccountAdd events - + ### Rpc.Account.Select.Response Middleware-to-front-end response for an account select request, that can contain a NULL error and selected account or a non-NULL error and an empty account @@ -2590,16 +2590,16 @@ Middleware-to-front-end response for an account select request, that can contain | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Account.Select.Response.Error](#anytype.Rpc.Account.Select.Response.Error) | | Error while trying to launch/select an account | -| account | [model.Account](#anytype.model.Account) | | Selected account | -| config | [Rpc.Account.Config](#anytype.Rpc.Account.Config) | | deprecated, use account | +| error | [Rpc.Account.Select.Response.Error](#anytype-Rpc-Account-Select-Response-Error) | | Error while trying to launch/select an account | +| account | [model.Account](#anytype-model-Account) | | Selected account | +| config | [Rpc.Account.Config](#anytype-Rpc-Account-Config) | | deprecated, use account | - + ### Rpc.Account.Select.Response.Error @@ -2607,7 +2607,7 @@ Middleware-to-front-end response for an account select request, that can contain | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Account.Select.Response.Error.Code](#anytype.Rpc.Account.Select.Response.Error.Code) | | | +| code | [Rpc.Account.Select.Response.Error.Code](#anytype-Rpc-Account-Select-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2615,7 +2615,7 @@ Middleware-to-front-end response for an account select request, that can contain - + ### Rpc.Account.Stop @@ -2625,7 +2625,7 @@ Middleware-to-front-end response for an account select request, that can contain - + ### Rpc.Account.Stop.Request Front end to middleware request to stop currently running account node and optionally remove the locally stored data @@ -2640,7 +2640,7 @@ Front end to middleware request to stop currently running account node and optio - + ### Rpc.Account.Stop.Response Middleware-to-front-end response for an account stop request @@ -2648,14 +2648,14 @@ Middleware-to-front-end response for an account stop request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Account.Stop.Response.Error](#anytype.Rpc.Account.Stop.Response.Error) | | Error while trying to launch/select an account | +| error | [Rpc.Account.Stop.Response.Error](#anytype-Rpc-Account-Stop-Response-Error) | | Error while trying to launch/select an account | - + ### Rpc.Account.Stop.Response.Error @@ -2663,7 +2663,7 @@ Middleware-to-front-end response for an account stop request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Account.Stop.Response.Error.Code](#anytype.Rpc.Account.Stop.Response.Error.Code) | | | +| code | [Rpc.Account.Stop.Response.Error.Code](#anytype-Rpc-Account-Stop-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2671,7 +2671,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App @@ -2681,7 +2681,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App.GetVersion @@ -2691,7 +2691,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App.GetVersion.Request @@ -2701,7 +2701,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App.GetVersion.Response @@ -2709,7 +2709,7 @@ Middleware-to-front-end response for an account stop request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.App.GetVersion.Response.Error](#anytype.Rpc.App.GetVersion.Response.Error) | | | +| error | [Rpc.App.GetVersion.Response.Error](#anytype-Rpc-App-GetVersion-Response-Error) | | | | version | [string](#string) | | | | details | [string](#string) | | build date, branch and commit | @@ -2718,7 +2718,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App.GetVersion.Response.Error @@ -2726,7 +2726,7 @@ Middleware-to-front-end response for an account stop request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.App.GetVersion.Response.Error.Code](#anytype.Rpc.App.GetVersion.Response.Error.Code) | | | +| code | [Rpc.App.GetVersion.Response.Error.Code](#anytype-Rpc-App-GetVersion-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2734,7 +2734,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App.SetDeviceState @@ -2744,7 +2744,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App.SetDeviceState.Request @@ -2752,14 +2752,14 @@ Middleware-to-front-end response for an account stop request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| deviceState | [Rpc.App.SetDeviceState.Request.DeviceState](#anytype.Rpc.App.SetDeviceState.Request.DeviceState) | | | +| deviceState | [Rpc.App.SetDeviceState.Request.DeviceState](#anytype-Rpc-App-SetDeviceState-Request-DeviceState) | | | - + ### Rpc.App.SetDeviceState.Response @@ -2767,14 +2767,14 @@ Middleware-to-front-end response for an account stop request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.App.SetDeviceState.Response.Error](#anytype.Rpc.App.SetDeviceState.Response.Error) | | | +| error | [Rpc.App.SetDeviceState.Response.Error](#anytype-Rpc-App-SetDeviceState-Response-Error) | | | - + ### Rpc.App.SetDeviceState.Response.Error @@ -2782,7 +2782,7 @@ Middleware-to-front-end response for an account stop request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.App.SetDeviceState.Response.Error.Code](#anytype.Rpc.App.SetDeviceState.Response.Error.Code) | | | +| code | [Rpc.App.SetDeviceState.Response.Error.Code](#anytype-Rpc-App-SetDeviceState-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2790,7 +2790,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App.Shutdown @@ -2800,7 +2800,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App.Shutdown.Request @@ -2810,7 +2810,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.App.Shutdown.Response @@ -2818,14 +2818,14 @@ Middleware-to-front-end response for an account stop request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.App.Shutdown.Response.Error](#anytype.Rpc.App.Shutdown.Response.Error) | | | +| error | [Rpc.App.Shutdown.Response.Error](#anytype-Rpc-App-Shutdown-Response-Error) | | | - + ### Rpc.App.Shutdown.Response.Error @@ -2833,7 +2833,7 @@ Middleware-to-front-end response for an account stop request | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.App.Shutdown.Response.Error.Code](#anytype.Rpc.App.Shutdown.Response.Error.Code) | | | +| code | [Rpc.App.Shutdown.Response.Error.Code](#anytype-Rpc-App-Shutdown-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2841,7 +2841,7 @@ Middleware-to-front-end response for an account stop request - + ### Rpc.Block Block commands @@ -2851,7 +2851,7 @@ Block commands - + ### Rpc.Block.Copy @@ -2861,7 +2861,7 @@ Block commands - + ### Rpc.Block.Copy.Request @@ -2870,15 +2870,15 @@ Block commands | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | -| blocks | [model.Block](#anytype.model.Block) | repeated | | -| selectedTextRange | [model.Range](#anytype.model.Range) | | | +| blocks | [model.Block](#anytype-model-Block) | repeated | | +| selectedTextRange | [model.Range](#anytype-model-Range) | | | - + ### Rpc.Block.Copy.Response @@ -2886,17 +2886,17 @@ Block commands | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Copy.Response.Error](#anytype.Rpc.Block.Copy.Response.Error) | | | +| error | [Rpc.Block.Copy.Response.Error](#anytype-Rpc-Block-Copy-Response-Error) | | | | textSlot | [string](#string) | | | | htmlSlot | [string](#string) | | | -| anySlot | [model.Block](#anytype.model.Block) | repeated | | +| anySlot | [model.Block](#anytype-model-Block) | repeated | | - + ### Rpc.Block.Copy.Response.Error @@ -2904,7 +2904,7 @@ Block commands | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Copy.Response.Error.Code](#anytype.Rpc.Block.Copy.Response.Error.Code) | | | +| code | [Rpc.Block.Copy.Response.Error.Code](#anytype-Rpc-Block-Copy-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2912,7 +2912,7 @@ Block commands - + ### Rpc.Block.Create Create a Smart/Internal block. Request can contain a block with a content, or it can be an empty block with a specific block.content. @@ -2934,7 +2934,7 @@ Create a Smart/Internal block. Request can contain a block with a content, or it - + ### Rpc.Block.Create.Request common simple block command @@ -2944,15 +2944,15 @@ common simple block command | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | id of the context object | | targetId | [string](#string) | | id of the closest block | -| block | [model.Block](#anytype.model.Block) | | | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| block | [model.Block](#anytype-model-Block) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | - + ### Rpc.Block.Create.Response @@ -2960,16 +2960,16 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Create.Response.Error](#anytype.Rpc.Block.Create.Response.Error) | | | +| error | [Rpc.Block.Create.Response.Error](#anytype-Rpc-Block-Create-Response-Error) | | | | blockId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.Create.Response.Error @@ -2977,7 +2977,7 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Create.Response.Error.Code](#anytype.Rpc.Block.Create.Response.Error.Code) | | | +| code | [Rpc.Block.Create.Response.Error.Code](#anytype-Rpc-Block-Create-Response-Error-Code) | | | | description | [string](#string) | | | @@ -2985,7 +2985,7 @@ common simple block command - + ### Rpc.Block.CreateWidget @@ -2995,7 +2995,7 @@ common simple block command - + ### Rpc.Block.CreateWidget.Request @@ -3005,9 +3005,9 @@ common simple block command | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | id of the context object | | targetId | [string](#string) | | id of the closest block | -| block | [model.Block](#anytype.model.Block) | | | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | -| widgetLayout | [model.Block.Content.Widget.Layout](#anytype.model.Block.Content.Widget.Layout) | | | +| block | [model.Block](#anytype-model-Block) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | +| widgetLayout | [model.Block.Content.Widget.Layout](#anytype-model-Block-Content-Widget-Layout) | | | | objectLimit | [int32](#int32) | | | | viewId | [string](#string) | | | @@ -3016,7 +3016,7 @@ common simple block command - + ### Rpc.Block.CreateWidget.Response @@ -3024,16 +3024,16 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.CreateWidget.Response.Error](#anytype.Rpc.Block.CreateWidget.Response.Error) | | | +| error | [Rpc.Block.CreateWidget.Response.Error](#anytype-Rpc-Block-CreateWidget-Response-Error) | | | | blockId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.CreateWidget.Response.Error @@ -3041,7 +3041,7 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.CreateWidget.Response.Error.Code](#anytype.Rpc.Block.CreateWidget.Response.Error.Code) | | | +| code | [Rpc.Block.CreateWidget.Response.Error.Code](#anytype-Rpc-Block-CreateWidget-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3049,7 +3049,7 @@ common simple block command - + ### Rpc.Block.Cut @@ -3059,7 +3059,7 @@ common simple block command - + ### Rpc.Block.Cut.Request @@ -3068,15 +3068,15 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | -| blocks | [model.Block](#anytype.model.Block) | repeated | | -| selectedTextRange | [model.Range](#anytype.model.Range) | | | +| blocks | [model.Block](#anytype-model-Block) | repeated | | +| selectedTextRange | [model.Range](#anytype-model-Range) | | | - + ### Rpc.Block.Cut.Response @@ -3084,18 +3084,18 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Cut.Response.Error](#anytype.Rpc.Block.Cut.Response.Error) | | | +| error | [Rpc.Block.Cut.Response.Error](#anytype-Rpc-Block-Cut-Response-Error) | | | | textSlot | [string](#string) | | | | htmlSlot | [string](#string) | | | -| anySlot | [model.Block](#anytype.model.Block) | repeated | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| anySlot | [model.Block](#anytype-model-Block) | repeated | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.Cut.Response.Error @@ -3103,7 +3103,7 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Cut.Response.Error.Code](#anytype.Rpc.Block.Cut.Response.Error.Code) | | | +| code | [Rpc.Block.Cut.Response.Error.Code](#anytype-Rpc-Block-Cut-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3111,7 +3111,7 @@ common simple block command - + ### Rpc.Block.Download @@ -3121,7 +3121,7 @@ common simple block command - + ### Rpc.Block.Download.Request @@ -3137,7 +3137,7 @@ common simple block command - + ### Rpc.Block.Download.Response @@ -3145,15 +3145,15 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Download.Response.Error](#anytype.Rpc.Block.Download.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.Download.Response.Error](#anytype-Rpc-Block-Download-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.Download.Response.Error @@ -3161,7 +3161,7 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Download.Response.Error.Code](#anytype.Rpc.Block.Download.Response.Error.Code) | | | +| code | [Rpc.Block.Download.Response.Error.Code](#anytype-Rpc-Block-Download-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3169,7 +3169,7 @@ common simple block command - + ### Rpc.Block.Export @@ -3179,7 +3179,7 @@ common simple block command - + ### Rpc.Block.Export.Request @@ -3188,14 +3188,14 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | -| blocks | [model.Block](#anytype.model.Block) | repeated | | +| blocks | [model.Block](#anytype-model-Block) | repeated | | - + ### Rpc.Block.Export.Response @@ -3203,16 +3203,16 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Export.Response.Error](#anytype.Rpc.Block.Export.Response.Error) | | | +| error | [Rpc.Block.Export.Response.Error](#anytype-Rpc-Block-Export-Response-Error) | | | | path | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.Export.Response.Error @@ -3220,7 +3220,7 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Export.Response.Error.Code](#anytype.Rpc.Block.Export.Response.Error.Code) | | | +| code | [Rpc.Block.Export.Response.Error.Code](#anytype-Rpc-Block-Export-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3228,7 +3228,7 @@ common simple block command - + ### Rpc.Block.ListConvertToObjects @@ -3238,7 +3238,7 @@ common simple block command - + ### Rpc.Block.ListConvertToObjects.Request @@ -3255,7 +3255,7 @@ common simple block command - + ### Rpc.Block.ListConvertToObjects.Response @@ -3263,16 +3263,16 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListConvertToObjects.Response.Error](#anytype.Rpc.Block.ListConvertToObjects.Response.Error) | | | +| error | [Rpc.Block.ListConvertToObjects.Response.Error](#anytype-Rpc-Block-ListConvertToObjects-Response-Error) | | | | linkIds | [string](#string) | repeated | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListConvertToObjects.Response.Error @@ -3280,7 +3280,7 @@ common simple block command | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListConvertToObjects.Response.Error.Code](#anytype.Rpc.Block.ListConvertToObjects.Response.Error.Code) | | | +| code | [Rpc.Block.ListConvertToObjects.Response.Error.Code](#anytype-Rpc-Block-ListConvertToObjects-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3288,7 +3288,7 @@ common simple block command - + ### Rpc.Block.ListDelete Remove blocks from the childrenIds of its parents @@ -3298,7 +3298,7 @@ Remove blocks from the childrenIds of its parents - + ### Rpc.Block.ListDelete.Request @@ -3314,7 +3314,7 @@ Remove blocks from the childrenIds of its parents - + ### Rpc.Block.ListDelete.Response @@ -3322,15 +3322,15 @@ Remove blocks from the childrenIds of its parents | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListDelete.Response.Error](#anytype.Rpc.Block.ListDelete.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.ListDelete.Response.Error](#anytype-Rpc-Block-ListDelete-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListDelete.Response.Error @@ -3338,7 +3338,7 @@ Remove blocks from the childrenIds of its parents | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListDelete.Response.Error.Code](#anytype.Rpc.Block.ListDelete.Response.Error.Code) | | | +| code | [Rpc.Block.ListDelete.Response.Error.Code](#anytype-Rpc-Block-ListDelete-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3346,7 +3346,7 @@ Remove blocks from the childrenIds of its parents - + ### Rpc.Block.ListDuplicate Makes blocks copy by given ids and paste it to shown place @@ -3356,7 +3356,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListDuplicate.Request @@ -3367,7 +3367,7 @@ Makes blocks copy by given ids and paste it to shown place | contextId | [string](#string) | | id of the context object | | targetId | [string](#string) | | id of the closest block | | blockIds | [string](#string) | repeated | id of block for duplicate | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | | targetContextId | [string](#string) | | | @@ -3375,7 +3375,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListDuplicate.Response @@ -3383,16 +3383,16 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListDuplicate.Response.Error](#anytype.Rpc.Block.ListDuplicate.Response.Error) | | | +| error | [Rpc.Block.ListDuplicate.Response.Error](#anytype-Rpc-Block-ListDuplicate-Response-Error) | | | | blockIds | [string](#string) | repeated | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListDuplicate.Response.Error @@ -3400,7 +3400,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListDuplicate.Response.Error.Code](#anytype.Rpc.Block.ListDuplicate.Response.Error.Code) | | | +| code | [Rpc.Block.ListDuplicate.Response.Error.Code](#anytype-Rpc-Block-ListDuplicate-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3408,7 +3408,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListMoveToExistingObject @@ -3418,7 +3418,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListMoveToExistingObject.Request @@ -3430,14 +3430,14 @@ Makes blocks copy by given ids and paste it to shown place | blockIds | [string](#string) | repeated | | | targetContextId | [string](#string) | | | | dropTargetId | [string](#string) | | id of the simple block to insert considering position | -| position | [model.Block.Position](#anytype.model.Block.Position) | | position relatively to the dropTargetId simple block | +| position | [model.Block.Position](#anytype-model-Block-Position) | | position relatively to the dropTargetId simple block | - + ### Rpc.Block.ListMoveToExistingObject.Response @@ -3445,15 +3445,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListMoveToExistingObject.Response.Error](#anytype.Rpc.Block.ListMoveToExistingObject.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.ListMoveToExistingObject.Response.Error](#anytype-Rpc-Block-ListMoveToExistingObject-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListMoveToExistingObject.Response.Error @@ -3461,7 +3461,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListMoveToExistingObject.Response.Error.Code](#anytype.Rpc.Block.ListMoveToExistingObject.Response.Error.Code) | | | +| code | [Rpc.Block.ListMoveToExistingObject.Response.Error.Code](#anytype-Rpc-Block-ListMoveToExistingObject-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3469,7 +3469,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListMoveToNewObject @@ -3479,7 +3479,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListMoveToNewObject.Request @@ -3489,16 +3489,16 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockIds | [string](#string) | repeated | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | new object details | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | new object details | | dropTargetId | [string](#string) | | id of the simple block to insert considering position | -| position | [model.Block.Position](#anytype.model.Block.Position) | | position relatively to the dropTargetId simple block | +| position | [model.Block.Position](#anytype-model-Block-Position) | | position relatively to the dropTargetId simple block | - + ### Rpc.Block.ListMoveToNewObject.Response @@ -3506,16 +3506,16 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListMoveToNewObject.Response.Error](#anytype.Rpc.Block.ListMoveToNewObject.Response.Error) | | | +| error | [Rpc.Block.ListMoveToNewObject.Response.Error](#anytype-Rpc-Block-ListMoveToNewObject-Response-Error) | | | | linkId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListMoveToNewObject.Response.Error @@ -3523,7 +3523,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListMoveToNewObject.Response.Error.Code](#anytype.Rpc.Block.ListMoveToNewObject.Response.Error.Code) | | | +| code | [Rpc.Block.ListMoveToNewObject.Response.Error.Code](#anytype-Rpc-Block-ListMoveToNewObject-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3531,7 +3531,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListSetAlign @@ -3541,7 +3541,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListSetAlign.Request @@ -3551,14 +3551,14 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockIds | [string](#string) | repeated | when empty - align will be applied as layoutAlign | -| align | [model.Block.Align](#anytype.model.Block.Align) | | | +| align | [model.Block.Align](#anytype-model-Block-Align) | | | - + ### Rpc.Block.ListSetAlign.Response @@ -3566,15 +3566,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListSetAlign.Response.Error](#anytype.Rpc.Block.ListSetAlign.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.ListSetAlign.Response.Error](#anytype-Rpc-Block-ListSetAlign-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListSetAlign.Response.Error @@ -3582,7 +3582,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListSetAlign.Response.Error.Code](#anytype.Rpc.Block.ListSetAlign.Response.Error.Code) | | | +| code | [Rpc.Block.ListSetAlign.Response.Error.Code](#anytype-Rpc-Block-ListSetAlign-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3590,7 +3590,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListSetBackgroundColor @@ -3600,7 +3600,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListSetBackgroundColor.Request @@ -3617,7 +3617,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListSetBackgroundColor.Response @@ -3625,15 +3625,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListSetBackgroundColor.Response.Error](#anytype.Rpc.Block.ListSetBackgroundColor.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.ListSetBackgroundColor.Response.Error](#anytype-Rpc-Block-ListSetBackgroundColor-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListSetBackgroundColor.Response.Error @@ -3641,7 +3641,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListSetBackgroundColor.Response.Error.Code](#anytype.Rpc.Block.ListSetBackgroundColor.Response.Error.Code) | | | +| code | [Rpc.Block.ListSetBackgroundColor.Response.Error.Code](#anytype-Rpc-Block-ListSetBackgroundColor-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3649,7 +3649,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListSetFields @@ -3659,7 +3659,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListSetFields.Request @@ -3668,14 +3668,14 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | -| blockFields | [Rpc.Block.ListSetFields.Request.BlockField](#anytype.Rpc.Block.ListSetFields.Request.BlockField) | repeated | | +| blockFields | [Rpc.Block.ListSetFields.Request.BlockField](#anytype-Rpc-Block-ListSetFields-Request-BlockField) | repeated | | - + ### Rpc.Block.ListSetFields.Request.BlockField @@ -3684,14 +3684,14 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | blockId | [string](#string) | | | -| fields | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| fields | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Block.ListSetFields.Response @@ -3699,15 +3699,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListSetFields.Response.Error](#anytype.Rpc.Block.ListSetFields.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.ListSetFields.Response.Error](#anytype-Rpc-Block-ListSetFields-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListSetFields.Response.Error @@ -3715,7 +3715,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListSetFields.Response.Error.Code](#anytype.Rpc.Block.ListSetFields.Response.Error.Code) | | | +| code | [Rpc.Block.ListSetFields.Response.Error.Code](#anytype-Rpc-Block-ListSetFields-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3723,7 +3723,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListSetVerticalAlign @@ -3733,7 +3733,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListSetVerticalAlign.Request @@ -3743,14 +3743,14 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | id of the context object | | blockIds | [string](#string) | repeated | | -| verticalAlign | [model.Block.VerticalAlign](#anytype.model.Block.VerticalAlign) | | | +| verticalAlign | [model.Block.VerticalAlign](#anytype-model-Block-VerticalAlign) | | | - + ### Rpc.Block.ListSetVerticalAlign.Response @@ -3758,15 +3758,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListSetVerticalAlign.Response.Error](#anytype.Rpc.Block.ListSetVerticalAlign.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.ListSetVerticalAlign.Response.Error](#anytype-Rpc-Block-ListSetVerticalAlign-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListSetVerticalAlign.Response.Error @@ -3774,7 +3774,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListSetVerticalAlign.Response.Error.Code](#anytype.Rpc.Block.ListSetVerticalAlign.Response.Error.Code) | | | +| code | [Rpc.Block.ListSetVerticalAlign.Response.Error.Code](#anytype-Rpc-Block-ListSetVerticalAlign-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3782,7 +3782,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListTurnInto @@ -3792,7 +3792,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListTurnInto.Request @@ -3802,14 +3802,14 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockIds | [string](#string) | repeated | | -| style | [model.Block.Content.Text.Style](#anytype.model.Block.Content.Text.Style) | | | +| style | [model.Block.Content.Text.Style](#anytype-model-Block-Content-Text-Style) | | | - + ### Rpc.Block.ListTurnInto.Response @@ -3817,15 +3817,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.ListTurnInto.Response.Error](#anytype.Rpc.Block.ListTurnInto.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.ListTurnInto.Response.Error](#anytype-Rpc-Block-ListTurnInto-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.ListTurnInto.Response.Error @@ -3833,7 +3833,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.ListTurnInto.Response.Error.Code](#anytype.Rpc.Block.ListTurnInto.Response.Error.Code) | | | +| code | [Rpc.Block.ListTurnInto.Response.Error.Code](#anytype-Rpc-Block-ListTurnInto-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3841,7 +3841,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListUpdate @@ -3851,7 +3851,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.ListUpdate.Request @@ -3861,19 +3861,19 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockIds | [string](#string) | repeated | | -| text | [Rpc.Block.ListUpdate.Request.Text](#anytype.Rpc.Block.ListUpdate.Request.Text) | | | +| text | [Rpc.Block.ListUpdate.Request.Text](#anytype-Rpc-Block-ListUpdate-Request-Text) | | | | backgroundColor | [string](#string) | | | -| align | [model.Block.Align](#anytype.model.Block.Align) | | | -| fields | [google.protobuf.Struct](#google.protobuf.Struct) | | | -| divStyle | [model.Block.Content.Div.Style](#anytype.model.Block.Content.Div.Style) | | | -| fileStyle | [model.Block.Content.File.Style](#anytype.model.Block.Content.File.Style) | | | +| align | [model.Block.Align](#anytype-model-Block-Align) | | | +| fields | [google.protobuf.Struct](#google-protobuf-Struct) | | | +| divStyle | [model.Block.Content.Div.Style](#anytype-model-Block-Content-Div-Style) | | | +| fileStyle | [model.Block.Content.File.Style](#anytype-model-Block-Content-File-Style) | | | - + ### Rpc.Block.ListUpdate.Request.Text @@ -3881,16 +3881,16 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| style | [model.Block.Content.Text.Style](#anytype.model.Block.Content.Text.Style) | | | +| style | [model.Block.Content.Text.Style](#anytype-model-Block-Content-Text-Style) | | | | color | [string](#string) | | | -| mark | [model.Block.Content.Text.Mark](#anytype.model.Block.Content.Text.Mark) | | | +| mark | [model.Block.Content.Text.Mark](#anytype-model-Block-Content-Text-Mark) | | | - + ### Rpc.Block.Merge @@ -3900,7 +3900,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Merge.Request @@ -3917,7 +3917,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Merge.Response @@ -3925,15 +3925,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Merge.Response.Error](#anytype.Rpc.Block.Merge.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.Merge.Response.Error](#anytype-Rpc-Block-Merge-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.Merge.Response.Error @@ -3941,7 +3941,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Merge.Response.Error.Code](#anytype.Rpc.Block.Merge.Response.Error.Code) | | | +| code | [Rpc.Block.Merge.Response.Error.Code](#anytype-Rpc-Block-Merge-Response-Error-Code) | | | | description | [string](#string) | | | @@ -3949,7 +3949,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Paste @@ -3959,7 +3959,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Paste.Request @@ -3969,20 +3969,20 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | focusedBlockId | [string](#string) | | | -| selectedTextRange | [model.Range](#anytype.model.Range) | | | +| selectedTextRange | [model.Range](#anytype-model-Range) | | | | selectedBlockIds | [string](#string) | repeated | | | isPartOfBlock | [bool](#bool) | | | | textSlot | [string](#string) | | | | htmlSlot | [string](#string) | | | -| anySlot | [model.Block](#anytype.model.Block) | repeated | | -| fileSlot | [Rpc.Block.Paste.Request.File](#anytype.Rpc.Block.Paste.Request.File) | repeated | | +| anySlot | [model.Block](#anytype-model-Block) | repeated | | +| fileSlot | [Rpc.Block.Paste.Request.File](#anytype-Rpc-Block-Paste-Request-File) | repeated | | - + ### Rpc.Block.Paste.Request.File @@ -3999,7 +3999,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Paste.Response @@ -4007,18 +4007,18 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Paste.Response.Error](#anytype.Rpc.Block.Paste.Response.Error) | | | +| error | [Rpc.Block.Paste.Response.Error](#anytype-Rpc-Block-Paste-Response-Error) | | | | blockIds | [string](#string) | repeated | | | caretPosition | [int32](#int32) | | | | isSameBlockCaret | [bool](#bool) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.Paste.Response.Error @@ -4026,7 +4026,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Paste.Response.Error.Code](#anytype.Rpc.Block.Paste.Response.Error.Code) | | | +| code | [Rpc.Block.Paste.Response.Error.Code](#anytype-Rpc-Block-Paste-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4034,7 +4034,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Replace @@ -4044,7 +4044,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Replace.Request @@ -4054,14 +4054,14 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockId | [string](#string) | | | -| block | [model.Block](#anytype.model.Block) | | | +| block | [model.Block](#anytype-model-Block) | | | - + ### Rpc.Block.Replace.Response @@ -4069,16 +4069,16 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Replace.Response.Error](#anytype.Rpc.Block.Replace.Response.Error) | | | +| error | [Rpc.Block.Replace.Response.Error](#anytype-Rpc-Block-Replace-Response-Error) | | | | blockId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.Replace.Response.Error @@ -4086,7 +4086,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Replace.Response.Error.Code](#anytype.Rpc.Block.Replace.Response.Error.Code) | | | +| code | [Rpc.Block.Replace.Response.Error.Code](#anytype-Rpc-Block-Replace-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4094,7 +4094,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.SetFields @@ -4104,7 +4104,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.SetFields.Request @@ -4114,14 +4114,14 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockId | [string](#string) | | | -| fields | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| fields | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Block.SetFields.Response @@ -4129,15 +4129,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.SetFields.Response.Error](#anytype.Rpc.Block.SetFields.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.SetFields.Response.Error](#anytype-Rpc-Block-SetFields-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.SetFields.Response.Error @@ -4145,7 +4145,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.SetFields.Response.Error.Code](#anytype.Rpc.Block.SetFields.Response.Error.Code) | | | +| code | [Rpc.Block.SetFields.Response.Error.Code](#anytype-Rpc-Block-SetFields-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4153,7 +4153,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Split @@ -4163,7 +4163,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Split.Request @@ -4173,16 +4173,16 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockId | [string](#string) | | | -| range | [model.Range](#anytype.model.Range) | | | -| style | [model.Block.Content.Text.Style](#anytype.model.Block.Content.Text.Style) | | | -| mode | [Rpc.Block.Split.Request.Mode](#anytype.Rpc.Block.Split.Request.Mode) | | | +| range | [model.Range](#anytype-model-Range) | | | +| style | [model.Block.Content.Text.Style](#anytype-model-Block-Content-Text-Style) | | | +| mode | [Rpc.Block.Split.Request.Mode](#anytype-Rpc-Block-Split-Request-Mode) | | | - + ### Rpc.Block.Split.Response @@ -4190,16 +4190,16 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Split.Response.Error](#anytype.Rpc.Block.Split.Response.Error) | | | +| error | [Rpc.Block.Split.Response.Error](#anytype-Rpc-Block-Split-Response-Error) | | | | blockId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.Split.Response.Error @@ -4207,7 +4207,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Split.Response.Error.Code](#anytype.Rpc.Block.Split.Response.Error.Code) | | | +| code | [Rpc.Block.Split.Response.Error.Code](#anytype-Rpc-Block-Split-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4215,7 +4215,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Upload @@ -4225,7 +4225,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Upload.Request @@ -4243,7 +4243,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.Block.Upload.Response @@ -4251,15 +4251,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Block.Upload.Response.Error](#anytype.Rpc.Block.Upload.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Block.Upload.Response.Error](#anytype-Rpc-Block-Upload-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Block.Upload.Response.Error @@ -4267,7 +4267,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Block.Upload.Response.Error.Code](#anytype.Rpc.Block.Upload.Response.Error.Code) | | | +| code | [Rpc.Block.Upload.Response.Error.Code](#anytype-Rpc-Block-Upload-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4275,7 +4275,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockBookmark @@ -4285,7 +4285,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockBookmark.CreateAndFetch @@ -4295,7 +4295,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockBookmark.CreateAndFetch.Request @@ -4305,7 +4305,7 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | targetId | [string](#string) | | | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | | url | [string](#string) | | | @@ -4313,7 +4313,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockBookmark.CreateAndFetch.Response @@ -4321,16 +4321,16 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockBookmark.CreateAndFetch.Response.Error](#anytype.Rpc.BlockBookmark.CreateAndFetch.Response.Error) | | | +| error | [Rpc.BlockBookmark.CreateAndFetch.Response.Error](#anytype-Rpc-BlockBookmark-CreateAndFetch-Response-Error) | | | | blockId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockBookmark.CreateAndFetch.Response.Error @@ -4338,7 +4338,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockBookmark.CreateAndFetch.Response.Error.Code](#anytype.Rpc.BlockBookmark.CreateAndFetch.Response.Error.Code) | | | +| code | [Rpc.BlockBookmark.CreateAndFetch.Response.Error.Code](#anytype-Rpc-BlockBookmark-CreateAndFetch-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4346,7 +4346,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockBookmark.Fetch @@ -4356,7 +4356,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockBookmark.Fetch.Request @@ -4373,7 +4373,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockBookmark.Fetch.Response @@ -4381,15 +4381,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockBookmark.Fetch.Response.Error](#anytype.Rpc.BlockBookmark.Fetch.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockBookmark.Fetch.Response.Error](#anytype-Rpc-BlockBookmark-Fetch-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockBookmark.Fetch.Response.Error @@ -4397,7 +4397,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockBookmark.Fetch.Response.Error.Code](#anytype.Rpc.BlockBookmark.Fetch.Response.Error.Code) | | | +| code | [Rpc.BlockBookmark.Fetch.Response.Error.Code](#anytype-Rpc-BlockBookmark-Fetch-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4405,7 +4405,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview @@ -4415,7 +4415,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.CreateBookmark @@ -4425,7 +4425,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.CreateBookmark.Request @@ -4442,7 +4442,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.CreateBookmark.Response @@ -4450,7 +4450,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.CreateBookmark.Response.Error](#anytype.Rpc.BlockDataview.CreateBookmark.Response.Error) | | | +| error | [Rpc.BlockDataview.CreateBookmark.Response.Error](#anytype-Rpc-BlockDataview-CreateBookmark-Response-Error) | | | | id | [string](#string) | | | @@ -4458,7 +4458,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.CreateBookmark.Response.Error @@ -4466,7 +4466,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.CreateBookmark.Response.Error.Code](#anytype.Rpc.BlockDataview.CreateBookmark.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.CreateBookmark.Response.Error.Code](#anytype-Rpc-BlockDataview-CreateBookmark-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4474,7 +4474,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.CreateFromExistingObject @@ -4484,7 +4484,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.CreateFromExistingObject.Request @@ -4501,7 +4501,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.CreateFromExistingObject.Response @@ -4509,18 +4509,18 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.CreateFromExistingObject.Response.Error](#anytype.Rpc.BlockDataview.CreateFromExistingObject.Response.Error) | | | +| error | [Rpc.BlockDataview.CreateFromExistingObject.Response.Error](#anytype-Rpc-BlockDataview-CreateFromExistingObject-Response-Error) | | | | blockId | [string](#string) | | | | targetObjectId | [string](#string) | | | -| view | [model.Block.Content.Dataview.View](#anytype.model.Block.Content.Dataview.View) | repeated | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| view | [model.Block.Content.Dataview.View](#anytype-model-Block-Content-Dataview-View) | repeated | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.CreateFromExistingObject.Response.Error @@ -4528,7 +4528,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.CreateFromExistingObject.Response.Error.Code](#anytype.Rpc.BlockDataview.CreateFromExistingObject.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.CreateFromExistingObject.Response.Error.Code](#anytype-Rpc-BlockDataview-CreateFromExistingObject-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4536,7 +4536,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter @@ -4546,7 +4546,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Add @@ -4556,7 +4556,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Add.Request @@ -4567,14 +4567,14 @@ Makes blocks copy by given ids and paste it to shown place | contextId | [string](#string) | | | | blockId | [string](#string) | | id of dataview block to update | | viewId | [string](#string) | | id of view to update | -| filter | [model.Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) | | | +| filter | [model.Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) | | | - + ### Rpc.BlockDataview.Filter.Add.Response @@ -4582,15 +4582,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Filter.Add.Response.Error](#anytype.Rpc.BlockDataview.Filter.Add.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Filter.Add.Response.Error](#anytype-Rpc-BlockDataview-Filter-Add-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Filter.Add.Response.Error @@ -4598,7 +4598,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Filter.Add.Response.Error.Code](#anytype.Rpc.BlockDataview.Filter.Add.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Filter.Add.Response.Error.Code](#anytype-Rpc-BlockDataview-Filter-Add-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4606,7 +4606,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Remove @@ -4616,7 +4616,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Remove.Request @@ -4634,7 +4634,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Remove.Response @@ -4642,15 +4642,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Filter.Remove.Response.Error](#anytype.Rpc.BlockDataview.Filter.Remove.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Filter.Remove.Response.Error](#anytype-Rpc-BlockDataview-Filter-Remove-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Filter.Remove.Response.Error @@ -4658,7 +4658,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Filter.Remove.Response.Error.Code](#anytype.Rpc.BlockDataview.Filter.Remove.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Filter.Remove.Response.Error.Code](#anytype-Rpc-BlockDataview-Filter-Remove-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4666,7 +4666,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Replace @@ -4676,7 +4676,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Replace.Request @@ -4688,14 +4688,14 @@ Makes blocks copy by given ids and paste it to shown place | blockId | [string](#string) | | id of dataview block to update | | viewId | [string](#string) | | id of view to update | | id | [string](#string) | | | -| filter | [model.Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) | | | +| filter | [model.Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) | | | - + ### Rpc.BlockDataview.Filter.Replace.Response @@ -4703,15 +4703,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Filter.Replace.Response.Error](#anytype.Rpc.BlockDataview.Filter.Replace.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Filter.Replace.Response.Error](#anytype-Rpc-BlockDataview-Filter-Replace-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Filter.Replace.Response.Error @@ -4719,7 +4719,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Filter.Replace.Response.Error.Code](#anytype.Rpc.BlockDataview.Filter.Replace.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Filter.Replace.Response.Error.Code](#anytype-Rpc-BlockDataview-Filter-Replace-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4727,7 +4727,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Sort @@ -4737,7 +4737,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Sort.Request @@ -4755,7 +4755,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Filter.Sort.Response @@ -4763,15 +4763,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Filter.Sort.Response.Error](#anytype.Rpc.BlockDataview.Filter.Sort.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Filter.Sort.Response.Error](#anytype-Rpc-BlockDataview-Filter-Sort-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Filter.Sort.Response.Error @@ -4779,7 +4779,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Filter.Sort.Response.Error.Code](#anytype.Rpc.BlockDataview.Filter.Sort.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Filter.Sort.Response.Error.Code](#anytype-Rpc-BlockDataview-Filter-Sort-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4787,7 +4787,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.GroupOrder @@ -4797,7 +4797,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.GroupOrder.Update @@ -4807,7 +4807,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.GroupOrder.Update.Request @@ -4817,14 +4817,14 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockId | [string](#string) | | | -| groupOrder | [model.Block.Content.Dataview.GroupOrder](#anytype.model.Block.Content.Dataview.GroupOrder) | | | +| groupOrder | [model.Block.Content.Dataview.GroupOrder](#anytype-model-Block-Content-Dataview-GroupOrder) | | | - + ### Rpc.BlockDataview.GroupOrder.Update.Response @@ -4832,15 +4832,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.GroupOrder.Update.Response.Error](#anytype.Rpc.BlockDataview.GroupOrder.Update.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.GroupOrder.Update.Response.Error](#anytype-Rpc-BlockDataview-GroupOrder-Update-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.GroupOrder.Update.Response.Error @@ -4848,7 +4848,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.GroupOrder.Update.Response.Error.Code](#anytype.Rpc.BlockDataview.GroupOrder.Update.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.GroupOrder.Update.Response.Error.Code](#anytype-Rpc-BlockDataview-GroupOrder-Update-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4856,7 +4856,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.ObjectOrder @@ -4866,7 +4866,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.ObjectOrder.Move @@ -4876,7 +4876,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.ObjectOrder.Move.Request @@ -4896,7 +4896,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.ObjectOrder.Move.Response @@ -4904,15 +4904,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.ObjectOrder.Move.Response.Error](#anytype.Rpc.BlockDataview.ObjectOrder.Move.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.ObjectOrder.Move.Response.Error](#anytype-Rpc-BlockDataview-ObjectOrder-Move-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.ObjectOrder.Move.Response.Error @@ -4920,7 +4920,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.ObjectOrder.Move.Response.Error.Code](#anytype.Rpc.BlockDataview.ObjectOrder.Move.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.ObjectOrder.Move.Response.Error.Code](#anytype-Rpc-BlockDataview-ObjectOrder-Move-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4928,7 +4928,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.ObjectOrder.Update @@ -4938,7 +4938,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.ObjectOrder.Update.Request @@ -4948,14 +4948,14 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockId | [string](#string) | | | -| objectOrders | [model.Block.Content.Dataview.ObjectOrder](#anytype.model.Block.Content.Dataview.ObjectOrder) | repeated | | +| objectOrders | [model.Block.Content.Dataview.ObjectOrder](#anytype-model-Block-Content-Dataview-ObjectOrder) | repeated | | - + ### Rpc.BlockDataview.ObjectOrder.Update.Response @@ -4963,15 +4963,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.ObjectOrder.Update.Response.Error](#anytype.Rpc.BlockDataview.ObjectOrder.Update.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.ObjectOrder.Update.Response.Error](#anytype-Rpc-BlockDataview-ObjectOrder-Update-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.ObjectOrder.Update.Response.Error @@ -4979,7 +4979,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.ObjectOrder.Update.Response.Error.Code](#anytype.Rpc.BlockDataview.ObjectOrder.Update.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.ObjectOrder.Update.Response.Error.Code](#anytype-Rpc-BlockDataview-ObjectOrder-Update-Response-Error-Code) | | | | description | [string](#string) | | | @@ -4987,7 +4987,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation @@ -4997,7 +4997,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation.Add @@ -5007,7 +5007,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation.Add.Request @@ -5024,7 +5024,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation.Add.Response @@ -5032,15 +5032,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Relation.Add.Response.Error](#anytype.Rpc.BlockDataview.Relation.Add.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Relation.Add.Response.Error](#anytype-Rpc-BlockDataview-Relation-Add-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Relation.Add.Response.Error @@ -5048,7 +5048,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Relation.Add.Response.Error.Code](#anytype.Rpc.BlockDataview.Relation.Add.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Relation.Add.Response.Error.Code](#anytype-Rpc-BlockDataview-Relation-Add-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5056,7 +5056,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation.Delete @@ -5066,7 +5066,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation.Delete.Request @@ -5083,7 +5083,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation.Delete.Response @@ -5091,15 +5091,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Relation.Delete.Response.Error](#anytype.Rpc.BlockDataview.Relation.Delete.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Relation.Delete.Response.Error](#anytype-Rpc-BlockDataview-Relation-Delete-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Relation.Delete.Response.Error @@ -5107,7 +5107,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Relation.Delete.Response.Error.Code](#anytype.Rpc.BlockDataview.Relation.Delete.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Relation.Delete.Response.Error.Code](#anytype-Rpc-BlockDataview-Relation-Delete-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5115,7 +5115,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation.ListAvailable @@ -5125,7 +5125,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation.ListAvailable.Request @@ -5141,7 +5141,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Relation.ListAvailable.Response @@ -5149,15 +5149,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Relation.ListAvailable.Response.Error](#anytype.Rpc.BlockDataview.Relation.ListAvailable.Response.Error) | | | -| relations | [model.Relation](#anytype.model.Relation) | repeated | | +| error | [Rpc.BlockDataview.Relation.ListAvailable.Response.Error](#anytype-Rpc-BlockDataview-Relation-ListAvailable-Response-Error) | | | +| relations | [model.Relation](#anytype-model-Relation) | repeated | | - + ### Rpc.BlockDataview.Relation.ListAvailable.Response.Error @@ -5165,7 +5165,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Relation.ListAvailable.Response.Error.Code](#anytype.Rpc.BlockDataview.Relation.ListAvailable.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Relation.ListAvailable.Response.Error.Code](#anytype-Rpc-BlockDataview-Relation-ListAvailable-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5173,7 +5173,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.SetSource @@ -5183,7 +5183,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.SetSource.Request @@ -5200,7 +5200,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.SetSource.Response @@ -5208,15 +5208,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.SetSource.Response.Error](#anytype.Rpc.BlockDataview.SetSource.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.SetSource.Response.Error](#anytype-Rpc-BlockDataview-SetSource-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.SetSource.Response.Error @@ -5224,7 +5224,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.SetSource.Response.Error.Code](#anytype.Rpc.BlockDataview.SetSource.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.SetSource.Response.Error.Code](#anytype-Rpc-BlockDataview-SetSource-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5232,7 +5232,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort @@ -5242,7 +5242,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Add @@ -5252,7 +5252,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Add.Request @@ -5263,14 +5263,14 @@ Makes blocks copy by given ids and paste it to shown place | contextId | [string](#string) | | | | blockId | [string](#string) | | id of dataview block to update | | viewId | [string](#string) | | id of view to update | -| sort | [model.Block.Content.Dataview.Sort](#anytype.model.Block.Content.Dataview.Sort) | | | +| sort | [model.Block.Content.Dataview.Sort](#anytype-model-Block-Content-Dataview-Sort) | | | - + ### Rpc.BlockDataview.Sort.Add.Response @@ -5278,15 +5278,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Sort.Add.Response.Error](#anytype.Rpc.BlockDataview.Sort.Add.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Sort.Add.Response.Error](#anytype-Rpc-BlockDataview-Sort-Add-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Sort.Add.Response.Error @@ -5294,7 +5294,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Sort.Add.Response.Error.Code](#anytype.Rpc.BlockDataview.Sort.Add.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Sort.Add.Response.Error.Code](#anytype-Rpc-BlockDataview-Sort-Add-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5302,7 +5302,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Remove @@ -5312,7 +5312,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Remove.Request @@ -5330,7 +5330,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Remove.Response @@ -5338,15 +5338,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Sort.Remove.Response.Error](#anytype.Rpc.BlockDataview.Sort.Remove.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Sort.Remove.Response.Error](#anytype-Rpc-BlockDataview-Sort-Remove-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Sort.Remove.Response.Error @@ -5354,7 +5354,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Sort.Remove.Response.Error.Code](#anytype.Rpc.BlockDataview.Sort.Remove.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Sort.Remove.Response.Error.Code](#anytype-Rpc-BlockDataview-Sort-Remove-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5362,7 +5362,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Replace @@ -5372,7 +5372,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Replace.Request @@ -5384,14 +5384,14 @@ Makes blocks copy by given ids and paste it to shown place | blockId | [string](#string) | | id of dataview block to update | | viewId | [string](#string) | | id of view to update | | id | [string](#string) | | | -| sort | [model.Block.Content.Dataview.Sort](#anytype.model.Block.Content.Dataview.Sort) | | | +| sort | [model.Block.Content.Dataview.Sort](#anytype-model-Block-Content-Dataview-Sort) | | | - + ### Rpc.BlockDataview.Sort.Replace.Response @@ -5399,15 +5399,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Sort.Replace.Response.Error](#anytype.Rpc.BlockDataview.Sort.Replace.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Sort.Replace.Response.Error](#anytype-Rpc-BlockDataview-Sort-Replace-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Sort.Replace.Response.Error @@ -5415,7 +5415,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Sort.Replace.Response.Error.Code](#anytype.Rpc.BlockDataview.Sort.Replace.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Sort.Replace.Response.Error.Code](#anytype-Rpc-BlockDataview-Sort-Replace-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5423,7 +5423,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Sort @@ -5433,7 +5433,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Sort.Request @@ -5451,7 +5451,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.Sort.Sort.Response @@ -5459,15 +5459,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.Sort.Sort.Response.Error](#anytype.Rpc.BlockDataview.Sort.Sort.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.Sort.Sort.Response.Error](#anytype-Rpc-BlockDataview-Sort-Sort-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.Sort.Sort.Response.Error @@ -5475,7 +5475,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.Sort.Sort.Response.Error.Code](#anytype.Rpc.BlockDataview.Sort.Sort.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.Sort.Sort.Response.Error.Code](#anytype-Rpc-BlockDataview-Sort-Sort-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5483,7 +5483,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.View @@ -5493,7 +5493,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.View.Create @@ -5503,7 +5503,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.View.Create.Request @@ -5513,7 +5513,7 @@ Makes blocks copy by given ids and paste it to shown place | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockId | [string](#string) | | id of dataview block to insert the new block | -| view | [model.Block.Content.Dataview.View](#anytype.model.Block.Content.Dataview.View) | | | +| view | [model.Block.Content.Dataview.View](#anytype-model-Block-Content-Dataview-View) | | | | source | [string](#string) | repeated | | @@ -5521,7 +5521,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.View.Create.Response @@ -5529,8 +5529,8 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.View.Create.Response.Error](#anytype.Rpc.BlockDataview.View.Create.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.View.Create.Response.Error](#anytype-Rpc-BlockDataview-View-Create-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | | viewId | [string](#string) | | | @@ -5538,7 +5538,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.View.Create.Response.Error @@ -5546,7 +5546,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.View.Create.Response.Error.Code](#anytype.Rpc.BlockDataview.View.Create.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.View.Create.Response.Error.Code](#anytype-Rpc-BlockDataview-View-Create-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5554,7 +5554,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.View.Delete @@ -5564,7 +5564,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.View.Delete.Request @@ -5581,7 +5581,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.View.Delete.Response @@ -5589,15 +5589,15 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.View.Delete.Response.Error](#anytype.Rpc.BlockDataview.View.Delete.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.View.Delete.Response.Error](#anytype-Rpc-BlockDataview-View-Delete-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.View.Delete.Response.Error @@ -5605,7 +5605,7 @@ Makes blocks copy by given ids and paste it to shown place | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.View.Delete.Response.Error.Code](#anytype.Rpc.BlockDataview.View.Delete.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.View.Delete.Response.Error.Code](#anytype-Rpc-BlockDataview-View-Delete-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5613,7 +5613,7 @@ Makes blocks copy by given ids and paste it to shown place - + ### Rpc.BlockDataview.View.SetActive set the current active view (persisted only within a session) @@ -5623,7 +5623,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.View.SetActive.Request @@ -5642,7 +5642,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.View.SetActive.Response @@ -5650,15 +5650,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.View.SetActive.Response.Error](#anytype.Rpc.BlockDataview.View.SetActive.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.View.SetActive.Response.Error](#anytype-Rpc-BlockDataview-View-SetActive-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.View.SetActive.Response.Error @@ -5666,7 +5666,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.View.SetActive.Response.Error.Code](#anytype.Rpc.BlockDataview.View.SetActive.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.View.SetActive.Response.Error.Code](#anytype-Rpc-BlockDataview-View-SetActive-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5674,7 +5674,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.View.SetPosition @@ -5684,7 +5684,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.View.SetPosition.Request @@ -5702,7 +5702,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.View.SetPosition.Response @@ -5710,15 +5710,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.View.SetPosition.Response.Error](#anytype.Rpc.BlockDataview.View.SetPosition.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.View.SetPosition.Response.Error](#anytype-Rpc-BlockDataview-View-SetPosition-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.View.SetPosition.Response.Error @@ -5726,7 +5726,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.View.SetPosition.Response.Error.Code](#anytype.Rpc.BlockDataview.View.SetPosition.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.View.SetPosition.Response.Error.Code](#anytype-Rpc-BlockDataview-View-SetPosition-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5734,7 +5734,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.View.Update @@ -5744,7 +5744,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.View.Update.Request @@ -5755,14 +5755,14 @@ set the current active view (persisted only within a session) | contextId | [string](#string) | | | | blockId | [string](#string) | | id of dataview block to update | | viewId | [string](#string) | | id of view to update | -| view | [model.Block.Content.Dataview.View](#anytype.model.Block.Content.Dataview.View) | | | +| view | [model.Block.Content.Dataview.View](#anytype-model-Block-Content-Dataview-View) | | | - + ### Rpc.BlockDataview.View.Update.Response @@ -5770,15 +5770,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.View.Update.Response.Error](#anytype.Rpc.BlockDataview.View.Update.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.View.Update.Response.Error](#anytype-Rpc-BlockDataview-View-Update-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.View.Update.Response.Error @@ -5786,7 +5786,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.View.Update.Response.Error.Code](#anytype.Rpc.BlockDataview.View.Update.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.View.Update.Response.Error.Code](#anytype-Rpc-BlockDataview-View-Update-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5794,7 +5794,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation @@ -5804,7 +5804,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Add @@ -5814,7 +5814,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Add.Request @@ -5825,14 +5825,14 @@ set the current active view (persisted only within a session) | contextId | [string](#string) | | | | blockId | [string](#string) | | id of dataview block to update | | viewId | [string](#string) | | id of view to update | -| relation | [model.Block.Content.Dataview.Relation](#anytype.model.Block.Content.Dataview.Relation) | | | +| relation | [model.Block.Content.Dataview.Relation](#anytype-model-Block-Content-Dataview-Relation) | | | - + ### Rpc.BlockDataview.ViewRelation.Add.Response @@ -5840,15 +5840,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.ViewRelation.Add.Response.Error](#anytype.Rpc.BlockDataview.ViewRelation.Add.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.ViewRelation.Add.Response.Error](#anytype-Rpc-BlockDataview-ViewRelation-Add-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.ViewRelation.Add.Response.Error @@ -5856,7 +5856,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.ViewRelation.Add.Response.Error.Code](#anytype.Rpc.BlockDataview.ViewRelation.Add.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.ViewRelation.Add.Response.Error.Code](#anytype-Rpc-BlockDataview-ViewRelation-Add-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5864,7 +5864,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Remove @@ -5874,7 +5874,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Remove.Request @@ -5892,7 +5892,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Remove.Response @@ -5900,15 +5900,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.ViewRelation.Remove.Response.Error](#anytype.Rpc.BlockDataview.ViewRelation.Remove.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.ViewRelation.Remove.Response.Error](#anytype-Rpc-BlockDataview-ViewRelation-Remove-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.ViewRelation.Remove.Response.Error @@ -5916,7 +5916,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.ViewRelation.Remove.Response.Error.Code](#anytype.Rpc.BlockDataview.ViewRelation.Remove.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.ViewRelation.Remove.Response.Error.Code](#anytype-Rpc-BlockDataview-ViewRelation-Remove-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5924,7 +5924,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Replace @@ -5934,7 +5934,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Replace.Request @@ -5946,14 +5946,14 @@ set the current active view (persisted only within a session) | blockId | [string](#string) | | id of dataview block to update | | viewId | [string](#string) | | id of view to update | | relationKey | [string](#string) | | | -| relation | [model.Block.Content.Dataview.Relation](#anytype.model.Block.Content.Dataview.Relation) | | | +| relation | [model.Block.Content.Dataview.Relation](#anytype-model-Block-Content-Dataview-Relation) | | | - + ### Rpc.BlockDataview.ViewRelation.Replace.Response @@ -5961,15 +5961,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.ViewRelation.Replace.Response.Error](#anytype.Rpc.BlockDataview.ViewRelation.Replace.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.ViewRelation.Replace.Response.Error](#anytype-Rpc-BlockDataview-ViewRelation-Replace-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.ViewRelation.Replace.Response.Error @@ -5977,7 +5977,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.ViewRelation.Replace.Response.Error.Code](#anytype.Rpc.BlockDataview.ViewRelation.Replace.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.ViewRelation.Replace.Response.Error.Code](#anytype-Rpc-BlockDataview-ViewRelation-Replace-Response-Error-Code) | | | | description | [string](#string) | | | @@ -5985,7 +5985,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Sort @@ -5995,7 +5995,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Sort.Request @@ -6013,7 +6013,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDataview.ViewRelation.Sort.Response @@ -6021,15 +6021,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDataview.ViewRelation.Sort.Response.Error](#anytype.Rpc.BlockDataview.ViewRelation.Sort.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDataview.ViewRelation.Sort.Response.Error](#anytype-Rpc-BlockDataview-ViewRelation-Sort-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDataview.ViewRelation.Sort.Response.Error @@ -6037,7 +6037,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDataview.ViewRelation.Sort.Response.Error.Code](#anytype.Rpc.BlockDataview.ViewRelation.Sort.Response.Error.Code) | | | +| code | [Rpc.BlockDataview.ViewRelation.Sort.Response.Error.Code](#anytype-Rpc-BlockDataview-ViewRelation-Sort-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6045,7 +6045,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDiv @@ -6055,7 +6055,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDiv.ListSetStyle @@ -6065,7 +6065,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockDiv.ListSetStyle.Request @@ -6075,14 +6075,14 @@ set the current active view (persisted only within a session) | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockIds | [string](#string) | repeated | | -| style | [model.Block.Content.Div.Style](#anytype.model.Block.Content.Div.Style) | | | +| style | [model.Block.Content.Div.Style](#anytype-model-Block-Content-Div-Style) | | | - + ### Rpc.BlockDiv.ListSetStyle.Response @@ -6090,15 +6090,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockDiv.ListSetStyle.Response.Error](#anytype.Rpc.BlockDiv.ListSetStyle.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockDiv.ListSetStyle.Response.Error](#anytype-Rpc-BlockDiv-ListSetStyle-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockDiv.ListSetStyle.Response.Error @@ -6106,7 +6106,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockDiv.ListSetStyle.Response.Error.Code](#anytype.Rpc.BlockDiv.ListSetStyle.Response.Error.Code) | | | +| code | [Rpc.BlockDiv.ListSetStyle.Response.Error.Code](#anytype-Rpc-BlockDiv-ListSetStyle-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6114,7 +6114,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockFile @@ -6124,7 +6124,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockFile.CreateAndUpload @@ -6134,7 +6134,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockFile.CreateAndUpload.Request @@ -6144,17 +6144,17 @@ set the current active view (persisted only within a session) | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | targetId | [string](#string) | | | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | | url | [string](#string) | | | | localPath | [string](#string) | | | -| fileType | [model.Block.Content.File.Type](#anytype.model.Block.Content.File.Type) | | | +| fileType | [model.Block.Content.File.Type](#anytype-model-Block-Content-File-Type) | | | - + ### Rpc.BlockFile.CreateAndUpload.Response @@ -6162,16 +6162,16 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockFile.CreateAndUpload.Response.Error](#anytype.Rpc.BlockFile.CreateAndUpload.Response.Error) | | | +| error | [Rpc.BlockFile.CreateAndUpload.Response.Error](#anytype-Rpc-BlockFile-CreateAndUpload-Response-Error) | | | | blockId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockFile.CreateAndUpload.Response.Error @@ -6179,7 +6179,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockFile.CreateAndUpload.Response.Error.Code](#anytype.Rpc.BlockFile.CreateAndUpload.Response.Error.Code) | | | +| code | [Rpc.BlockFile.CreateAndUpload.Response.Error.Code](#anytype-Rpc-BlockFile-CreateAndUpload-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6187,7 +6187,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockFile.ListSetStyle @@ -6197,7 +6197,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockFile.ListSetStyle.Request @@ -6207,14 +6207,14 @@ set the current active view (persisted only within a session) | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockIds | [string](#string) | repeated | | -| style | [model.Block.Content.File.Style](#anytype.model.Block.Content.File.Style) | | | +| style | [model.Block.Content.File.Style](#anytype-model-Block-Content-File-Style) | | | - + ### Rpc.BlockFile.ListSetStyle.Response @@ -6222,15 +6222,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockFile.ListSetStyle.Response.Error](#anytype.Rpc.BlockFile.ListSetStyle.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockFile.ListSetStyle.Response.Error](#anytype-Rpc-BlockFile-ListSetStyle-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockFile.ListSetStyle.Response.Error @@ -6238,7 +6238,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockFile.ListSetStyle.Response.Error.Code](#anytype.Rpc.BlockFile.ListSetStyle.Response.Error.Code) | | | +| code | [Rpc.BlockFile.ListSetStyle.Response.Error.Code](#anytype-Rpc-BlockFile-ListSetStyle-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6246,7 +6246,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockFile.SetName @@ -6256,7 +6256,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockFile.SetName.Request @@ -6273,7 +6273,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockFile.SetName.Response @@ -6281,15 +6281,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockFile.SetName.Response.Error](#anytype.Rpc.BlockFile.SetName.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockFile.SetName.Response.Error](#anytype-Rpc-BlockFile-SetName-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockFile.SetName.Response.Error @@ -6297,7 +6297,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockFile.SetName.Response.Error.Code](#anytype.Rpc.BlockFile.SetName.Response.Error.Code) | | | +| code | [Rpc.BlockFile.SetName.Response.Error.Code](#anytype-Rpc-BlockFile-SetName-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6305,7 +6305,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockImage @@ -6315,7 +6315,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockImage.SetName @@ -6325,7 +6325,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockImage.SetName.Request @@ -6342,7 +6342,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockImage.SetName.Response @@ -6350,14 +6350,14 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockImage.SetName.Response.Error](#anytype.Rpc.BlockImage.SetName.Response.Error) | | | +| error | [Rpc.BlockImage.SetName.Response.Error](#anytype-Rpc-BlockImage-SetName-Response-Error) | | | - + ### Rpc.BlockImage.SetName.Response.Error @@ -6365,7 +6365,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockImage.SetName.Response.Error.Code](#anytype.Rpc.BlockImage.SetName.Response.Error.Code) | | | +| code | [Rpc.BlockImage.SetName.Response.Error.Code](#anytype-Rpc-BlockImage-SetName-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6373,7 +6373,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockImage.SetWidth @@ -6383,7 +6383,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockImage.SetWidth.Request @@ -6400,7 +6400,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockImage.SetWidth.Response @@ -6408,14 +6408,14 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockImage.SetWidth.Response.Error](#anytype.Rpc.BlockImage.SetWidth.Response.Error) | | | +| error | [Rpc.BlockImage.SetWidth.Response.Error](#anytype-Rpc-BlockImage-SetWidth-Response-Error) | | | - + ### Rpc.BlockImage.SetWidth.Response.Error @@ -6423,7 +6423,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockImage.SetWidth.Response.Error.Code](#anytype.Rpc.BlockImage.SetWidth.Response.Error.Code) | | | +| code | [Rpc.BlockImage.SetWidth.Response.Error.Code](#anytype-Rpc-BlockImage-SetWidth-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6431,7 +6431,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockLatex @@ -6441,7 +6441,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockLatex.SetText @@ -6451,7 +6451,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockLatex.SetText.Request @@ -6468,7 +6468,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockLatex.SetText.Response @@ -6476,15 +6476,15 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockLatex.SetText.Response.Error](#anytype.Rpc.BlockLatex.SetText.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockLatex.SetText.Response.Error](#anytype-Rpc-BlockLatex-SetText-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockLatex.SetText.Response.Error @@ -6492,7 +6492,7 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockLatex.SetText.Response.Error.Code](#anytype.Rpc.BlockLatex.SetText.Response.Error.Code) | | | +| code | [Rpc.BlockLatex.SetText.Response.Error.Code](#anytype-Rpc-BlockLatex-SetText-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6500,7 +6500,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockLink @@ -6510,7 +6510,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockLink.CreateWithObject @@ -6520,7 +6520,7 @@ set the current active view (persisted only within a session) - + ### Rpc.BlockLink.CreateWithObject.Request @@ -6529,21 +6529,21 @@ set the current active view (persisted only within a session) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | id of the context object | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | new object details | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | new object details | | templateId | [string](#string) | | optional template id for creating from template | -| internalFlags | [model.InternalFlag](#anytype.model.InternalFlag) | repeated | | +| internalFlags | [model.InternalFlag](#anytype-model-InternalFlag) | repeated | | | targetId | [string](#string) | | link block params id of the closest simple block | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | -| fields | [google.protobuf.Struct](#google.protobuf.Struct) | | link block fields | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | +| fields | [google.protobuf.Struct](#google-protobuf-Struct) | | link block fields | - + ### Rpc.BlockLink.CreateWithObject.Response @@ -6551,17 +6551,17 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockLink.CreateWithObject.Response.Error](#anytype.Rpc.BlockLink.CreateWithObject.Response.Error) | | | +| error | [Rpc.BlockLink.CreateWithObject.Response.Error](#anytype-Rpc-BlockLink-CreateWithObject-Response-Error) | | | | blockId | [string](#string) | | | | targetId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockLink.CreateWithObject.Response.Error @@ -6569,7 +6569,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockLink.CreateWithObject.Response.Error.Code](#anytype.Rpc.BlockLink.CreateWithObject.Response.Error.Code) | | | +| code | [Rpc.BlockLink.CreateWithObject.Response.Error.Code](#anytype-Rpc-BlockLink-CreateWithObject-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6577,7 +6577,7 @@ id of the closest simple block | - + ### Rpc.BlockLink.ListSetAppearance @@ -6587,7 +6587,7 @@ id of the closest simple block | - + ### Rpc.BlockLink.ListSetAppearance.Request @@ -6597,9 +6597,9 @@ id of the closest simple block | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockIds | [string](#string) | repeated | | -| iconSize | [model.Block.Content.Link.IconSize](#anytype.model.Block.Content.Link.IconSize) | | | -| cardStyle | [model.Block.Content.Link.CardStyle](#anytype.model.Block.Content.Link.CardStyle) | | | -| description | [model.Block.Content.Link.Description](#anytype.model.Block.Content.Link.Description) | | | +| iconSize | [model.Block.Content.Link.IconSize](#anytype-model-Block-Content-Link-IconSize) | | | +| cardStyle | [model.Block.Content.Link.CardStyle](#anytype-model-Block-Content-Link-CardStyle) | | | +| description | [model.Block.Content.Link.Description](#anytype-model-Block-Content-Link-Description) | | | | relations | [string](#string) | repeated | | @@ -6607,7 +6607,7 @@ id of the closest simple block | - + ### Rpc.BlockLink.ListSetAppearance.Response @@ -6615,15 +6615,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockLink.ListSetAppearance.Response.Error](#anytype.Rpc.BlockLink.ListSetAppearance.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockLink.ListSetAppearance.Response.Error](#anytype-Rpc-BlockLink-ListSetAppearance-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockLink.ListSetAppearance.Response.Error @@ -6631,7 +6631,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockLink.ListSetAppearance.Response.Error.Code](#anytype.Rpc.BlockLink.ListSetAppearance.Response.Error.Code) | | | +| code | [Rpc.BlockLink.ListSetAppearance.Response.Error.Code](#anytype-Rpc-BlockLink-ListSetAppearance-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6639,7 +6639,7 @@ id of the closest simple block | - + ### Rpc.BlockRelation @@ -6649,7 +6649,7 @@ id of the closest simple block | - + ### Rpc.BlockRelation.Add @@ -6659,7 +6659,7 @@ id of the closest simple block | - + ### Rpc.BlockRelation.Add.Request @@ -6676,7 +6676,7 @@ id of the closest simple block | - + ### Rpc.BlockRelation.Add.Response @@ -6684,15 +6684,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockRelation.Add.Response.Error](#anytype.Rpc.BlockRelation.Add.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockRelation.Add.Response.Error](#anytype-Rpc-BlockRelation-Add-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockRelation.Add.Response.Error @@ -6700,7 +6700,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockRelation.Add.Response.Error.Code](#anytype.Rpc.BlockRelation.Add.Response.Error.Code) | | | +| code | [Rpc.BlockRelation.Add.Response.Error.Code](#anytype-Rpc-BlockRelation-Add-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6708,7 +6708,7 @@ id of the closest simple block | - + ### Rpc.BlockRelation.SetKey @@ -6718,7 +6718,7 @@ id of the closest simple block | - + ### Rpc.BlockRelation.SetKey.Request @@ -6735,7 +6735,7 @@ id of the closest simple block | - + ### Rpc.BlockRelation.SetKey.Response @@ -6743,15 +6743,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockRelation.SetKey.Response.Error](#anytype.Rpc.BlockRelation.SetKey.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockRelation.SetKey.Response.Error](#anytype-Rpc-BlockRelation-SetKey-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockRelation.SetKey.Response.Error @@ -6759,7 +6759,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockRelation.SetKey.Response.Error.Code](#anytype.Rpc.BlockRelation.SetKey.Response.Error.Code) | | | +| code | [Rpc.BlockRelation.SetKey.Response.Error.Code](#anytype-Rpc-BlockRelation-SetKey-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6767,7 +6767,7 @@ id of the closest simple block | - + ### Rpc.BlockTable @@ -6777,7 +6777,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnCreate @@ -6787,7 +6787,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnCreate.Request @@ -6797,14 +6797,14 @@ id of the closest simple block | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | id of the context object | | targetId | [string](#string) | | id of the closest column | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | - + ### Rpc.BlockTable.ColumnCreate.Response @@ -6812,15 +6812,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.ColumnCreate.Response.Error](#anytype.Rpc.BlockTable.ColumnCreate.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.ColumnCreate.Response.Error](#anytype-Rpc-BlockTable-ColumnCreate-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.ColumnCreate.Response.Error @@ -6828,7 +6828,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.ColumnCreate.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnCreate.Response.Error.Code) | | | +| code | [Rpc.BlockTable.ColumnCreate.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnCreate-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6836,7 +6836,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnDelete @@ -6846,7 +6846,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnDelete.Request @@ -6862,7 +6862,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnDelete.Response @@ -6870,15 +6870,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.ColumnDelete.Response.Error](#anytype.Rpc.BlockTable.ColumnDelete.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.ColumnDelete.Response.Error](#anytype-Rpc-BlockTable-ColumnDelete-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.ColumnDelete.Response.Error @@ -6886,7 +6886,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.ColumnDelete.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnDelete.Response.Error.Code) | | | +| code | [Rpc.BlockTable.ColumnDelete.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnDelete-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6894,7 +6894,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnDuplicate @@ -6904,7 +6904,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnDuplicate.Request @@ -6915,14 +6915,14 @@ id of the closest simple block | | contextId | [string](#string) | | id of the context object | | targetId | [string](#string) | | | | blockId | [string](#string) | | block to duplicate | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | - + ### Rpc.BlockTable.ColumnDuplicate.Response @@ -6930,16 +6930,16 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.ColumnDuplicate.Response.Error](#anytype.Rpc.BlockTable.ColumnDuplicate.Response.Error) | | | +| error | [Rpc.BlockTable.ColumnDuplicate.Response.Error](#anytype-Rpc-BlockTable-ColumnDuplicate-Response-Error) | | | | blockId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.ColumnDuplicate.Response.Error @@ -6947,7 +6947,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.ColumnDuplicate.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnDuplicate.Response.Error.Code) | | | +| code | [Rpc.BlockTable.ColumnDuplicate.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnDuplicate-Response-Error-Code) | | | | description | [string](#string) | | | @@ -6955,7 +6955,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnListFill @@ -6965,7 +6965,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnListFill.Request @@ -6981,7 +6981,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnListFill.Response @@ -6989,15 +6989,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.ColumnListFill.Response.Error](#anytype.Rpc.BlockTable.ColumnListFill.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.ColumnListFill.Response.Error](#anytype-Rpc-BlockTable-ColumnListFill-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.ColumnListFill.Response.Error @@ -7005,7 +7005,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.ColumnListFill.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnListFill.Response.Error.Code) | | | +| code | [Rpc.BlockTable.ColumnListFill.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnListFill-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7013,7 +7013,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnMove @@ -7023,7 +7023,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.ColumnMove.Request @@ -7034,14 +7034,14 @@ id of the closest simple block | | contextId | [string](#string) | | | | targetId | [string](#string) | | | | dropTargetId | [string](#string) | | | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | - + ### Rpc.BlockTable.ColumnMove.Response @@ -7049,15 +7049,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.ColumnMove.Response.Error](#anytype.Rpc.BlockTable.ColumnMove.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.ColumnMove.Response.Error](#anytype-Rpc-BlockTable-ColumnMove-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.ColumnMove.Response.Error @@ -7065,7 +7065,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.ColumnMove.Response.Error.Code](#anytype.Rpc.BlockTable.ColumnMove.Response.Error.Code) | | | +| code | [Rpc.BlockTable.ColumnMove.Response.Error.Code](#anytype-Rpc-BlockTable-ColumnMove-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7073,7 +7073,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.Create @@ -7083,7 +7083,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.Create.Request @@ -7093,7 +7093,7 @@ id of the closest simple block | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | id of the context object | | targetId | [string](#string) | | id of the closest block | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | | rows | [uint32](#uint32) | | | | columns | [uint32](#uint32) | | | | withHeaderRow | [bool](#bool) | | | @@ -7103,7 +7103,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.Create.Response @@ -7111,16 +7111,16 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.Create.Response.Error](#anytype.Rpc.BlockTable.Create.Response.Error) | | | +| error | [Rpc.BlockTable.Create.Response.Error](#anytype-Rpc-BlockTable-Create-Response-Error) | | | | blockId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.Create.Response.Error @@ -7128,7 +7128,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.Create.Response.Error.Code](#anytype.Rpc.BlockTable.Create.Response.Error.Code) | | | +| code | [Rpc.BlockTable.Create.Response.Error.Code](#anytype-Rpc-BlockTable-Create-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7136,7 +7136,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.Expand @@ -7146,7 +7146,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.Expand.Request @@ -7164,7 +7164,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.Expand.Response @@ -7172,15 +7172,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.Expand.Response.Error](#anytype.Rpc.BlockTable.Expand.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.Expand.Response.Error](#anytype-Rpc-BlockTable-Expand-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.Expand.Response.Error @@ -7188,7 +7188,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.Expand.Response.Error.Code](#anytype.Rpc.BlockTable.Expand.Response.Error.Code) | | | +| code | [Rpc.BlockTable.Expand.Response.Error.Code](#anytype-Rpc-BlockTable-Expand-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7196,7 +7196,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowCreate @@ -7206,7 +7206,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowCreate.Request @@ -7216,14 +7216,14 @@ id of the closest simple block | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | id of the context object | | targetId | [string](#string) | | id of the closest row | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | - + ### Rpc.BlockTable.RowCreate.Response @@ -7231,15 +7231,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.RowCreate.Response.Error](#anytype.Rpc.BlockTable.RowCreate.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.RowCreate.Response.Error](#anytype-Rpc-BlockTable-RowCreate-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.RowCreate.Response.Error @@ -7247,7 +7247,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.RowCreate.Response.Error.Code](#anytype.Rpc.BlockTable.RowCreate.Response.Error.Code) | | | +| code | [Rpc.BlockTable.RowCreate.Response.Error.Code](#anytype-Rpc-BlockTable-RowCreate-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7255,7 +7255,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowDelete @@ -7265,7 +7265,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowDelete.Request @@ -7281,7 +7281,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowDelete.Response @@ -7289,15 +7289,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.RowDelete.Response.Error](#anytype.Rpc.BlockTable.RowDelete.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.RowDelete.Response.Error](#anytype-Rpc-BlockTable-RowDelete-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.RowDelete.Response.Error @@ -7305,7 +7305,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.RowDelete.Response.Error.Code](#anytype.Rpc.BlockTable.RowDelete.Response.Error.Code) | | | +| code | [Rpc.BlockTable.RowDelete.Response.Error.Code](#anytype-Rpc-BlockTable-RowDelete-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7313,7 +7313,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowDuplicate @@ -7323,7 +7323,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowDuplicate.Request @@ -7334,14 +7334,14 @@ id of the closest simple block | | contextId | [string](#string) | | id of the context object | | targetId | [string](#string) | | | | blockId | [string](#string) | | block to duplicate | -| position | [model.Block.Position](#anytype.model.Block.Position) | | | +| position | [model.Block.Position](#anytype-model-Block-Position) | | | - + ### Rpc.BlockTable.RowDuplicate.Response @@ -7349,15 +7349,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.RowDuplicate.Response.Error](#anytype.Rpc.BlockTable.RowDuplicate.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.RowDuplicate.Response.Error](#anytype-Rpc-BlockTable-RowDuplicate-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.RowDuplicate.Response.Error @@ -7365,7 +7365,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.RowDuplicate.Response.Error.Code](#anytype.Rpc.BlockTable.RowDuplicate.Response.Error.Code) | | | +| code | [Rpc.BlockTable.RowDuplicate.Response.Error.Code](#anytype-Rpc-BlockTable-RowDuplicate-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7373,7 +7373,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowListClean @@ -7383,7 +7383,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowListClean.Request @@ -7399,7 +7399,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowListClean.Response @@ -7407,15 +7407,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.RowListClean.Response.Error](#anytype.Rpc.BlockTable.RowListClean.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.RowListClean.Response.Error](#anytype-Rpc-BlockTable-RowListClean-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.RowListClean.Response.Error @@ -7423,7 +7423,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.RowListClean.Response.Error.Code](#anytype.Rpc.BlockTable.RowListClean.Response.Error.Code) | | | +| code | [Rpc.BlockTable.RowListClean.Response.Error.Code](#anytype-Rpc-BlockTable-RowListClean-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7431,7 +7431,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowListFill @@ -7441,7 +7441,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowListFill.Request @@ -7457,7 +7457,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowListFill.Response @@ -7465,15 +7465,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.RowListFill.Response.Error](#anytype.Rpc.BlockTable.RowListFill.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.RowListFill.Response.Error](#anytype-Rpc-BlockTable-RowListFill-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.RowListFill.Response.Error @@ -7481,7 +7481,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.RowListFill.Response.Error.Code](#anytype.Rpc.BlockTable.RowListFill.Response.Error.Code) | | | +| code | [Rpc.BlockTable.RowListFill.Response.Error.Code](#anytype-Rpc-BlockTable-RowListFill-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7489,7 +7489,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowSetHeader @@ -7499,7 +7499,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowSetHeader.Request @@ -7516,7 +7516,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.RowSetHeader.Response @@ -7524,15 +7524,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.RowSetHeader.Response.Error](#anytype.Rpc.BlockTable.RowSetHeader.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.RowSetHeader.Response.Error](#anytype-Rpc-BlockTable-RowSetHeader-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.RowSetHeader.Response.Error @@ -7540,7 +7540,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.RowSetHeader.Response.Error.Code](#anytype.Rpc.BlockTable.RowSetHeader.Response.Error.Code) | | | +| code | [Rpc.BlockTable.RowSetHeader.Response.Error.Code](#anytype-Rpc-BlockTable-RowSetHeader-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7548,7 +7548,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.Sort @@ -7558,7 +7558,7 @@ id of the closest simple block | - + ### Rpc.BlockTable.Sort.Request @@ -7568,14 +7568,14 @@ id of the closest simple block | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | id of the context object | | columnId | [string](#string) | | | -| type | [model.Block.Content.Dataview.Sort.Type](#anytype.model.Block.Content.Dataview.Sort.Type) | | | +| type | [model.Block.Content.Dataview.Sort.Type](#anytype-model-Block-Content-Dataview-Sort-Type) | | | - + ### Rpc.BlockTable.Sort.Response @@ -7583,15 +7583,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockTable.Sort.Response.Error](#anytype.Rpc.BlockTable.Sort.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockTable.Sort.Response.Error](#anytype-Rpc-BlockTable-Sort-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockTable.Sort.Response.Error @@ -7599,7 +7599,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockTable.Sort.Response.Error.Code](#anytype.Rpc.BlockTable.Sort.Response.Error.Code) | | | +| code | [Rpc.BlockTable.Sort.Response.Error.Code](#anytype-Rpc-BlockTable-Sort-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7607,7 +7607,7 @@ id of the closest simple block | - + ### Rpc.BlockText @@ -7617,7 +7617,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListClearContent @@ -7627,7 +7627,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListClearContent.Request @@ -7643,7 +7643,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListClearContent.Response @@ -7651,15 +7651,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.ListClearContent.Response.Error](#anytype.Rpc.BlockText.ListClearContent.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.ListClearContent.Response.Error](#anytype-Rpc-BlockText-ListClearContent-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.ListClearContent.Response.Error @@ -7667,7 +7667,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.ListClearContent.Response.Error.Code](#anytype.Rpc.BlockText.ListClearContent.Response.Error.Code) | | | +| code | [Rpc.BlockText.ListClearContent.Response.Error.Code](#anytype-Rpc-BlockText-ListClearContent-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7675,7 +7675,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListClearStyle @@ -7685,7 +7685,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListClearStyle.Request @@ -7701,7 +7701,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListClearStyle.Response @@ -7709,15 +7709,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.ListClearStyle.Response.Error](#anytype.Rpc.BlockText.ListClearStyle.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.ListClearStyle.Response.Error](#anytype-Rpc-BlockText-ListClearStyle-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.ListClearStyle.Response.Error @@ -7725,7 +7725,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.ListClearStyle.Response.Error.Code](#anytype.Rpc.BlockText.ListClearStyle.Response.Error.Code) | | | +| code | [Rpc.BlockText.ListClearStyle.Response.Error.Code](#anytype-Rpc-BlockText-ListClearStyle-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7733,7 +7733,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListSetColor @@ -7743,7 +7743,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListSetColor.Request @@ -7760,7 +7760,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListSetColor.Response @@ -7768,15 +7768,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.ListSetColor.Response.Error](#anytype.Rpc.BlockText.ListSetColor.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.ListSetColor.Response.Error](#anytype-Rpc-BlockText-ListSetColor-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.ListSetColor.Response.Error @@ -7784,7 +7784,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.ListSetColor.Response.Error.Code](#anytype.Rpc.BlockText.ListSetColor.Response.Error.Code) | | | +| code | [Rpc.BlockText.ListSetColor.Response.Error.Code](#anytype-Rpc-BlockText-ListSetColor-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7792,7 +7792,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListSetMark @@ -7802,7 +7802,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListSetMark.Request @@ -7812,14 +7812,14 @@ id of the closest simple block | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockIds | [string](#string) | repeated | | -| mark | [model.Block.Content.Text.Mark](#anytype.model.Block.Content.Text.Mark) | | | +| mark | [model.Block.Content.Text.Mark](#anytype-model-Block-Content-Text-Mark) | | | - + ### Rpc.BlockText.ListSetMark.Response @@ -7827,15 +7827,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.ListSetMark.Response.Error](#anytype.Rpc.BlockText.ListSetMark.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.ListSetMark.Response.Error](#anytype-Rpc-BlockText-ListSetMark-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.ListSetMark.Response.Error @@ -7843,7 +7843,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.ListSetMark.Response.Error.Code](#anytype.Rpc.BlockText.ListSetMark.Response.Error.Code) | | | +| code | [Rpc.BlockText.ListSetMark.Response.Error.Code](#anytype-Rpc-BlockText-ListSetMark-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7851,7 +7851,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListSetStyle @@ -7861,7 +7861,7 @@ id of the closest simple block | - + ### Rpc.BlockText.ListSetStyle.Request @@ -7871,14 +7871,14 @@ id of the closest simple block | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockIds | [string](#string) | repeated | | -| style | [model.Block.Content.Text.Style](#anytype.model.Block.Content.Text.Style) | | | +| style | [model.Block.Content.Text.Style](#anytype-model-Block-Content-Text-Style) | | | - + ### Rpc.BlockText.ListSetStyle.Response @@ -7886,15 +7886,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.ListSetStyle.Response.Error](#anytype.Rpc.BlockText.ListSetStyle.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.ListSetStyle.Response.Error](#anytype-Rpc-BlockText-ListSetStyle-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.ListSetStyle.Response.Error @@ -7902,7 +7902,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.ListSetStyle.Response.Error.Code](#anytype.Rpc.BlockText.ListSetStyle.Response.Error.Code) | | | +| code | [Rpc.BlockText.ListSetStyle.Response.Error.Code](#anytype-Rpc-BlockText-ListSetStyle-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7910,7 +7910,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetChecked @@ -7920,7 +7920,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetChecked.Request @@ -7937,7 +7937,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetChecked.Response @@ -7945,15 +7945,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.SetChecked.Response.Error](#anytype.Rpc.BlockText.SetChecked.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.SetChecked.Response.Error](#anytype-Rpc-BlockText-SetChecked-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.SetChecked.Response.Error @@ -7961,7 +7961,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.SetChecked.Response.Error.Code](#anytype.Rpc.BlockText.SetChecked.Response.Error.Code) | | | +| code | [Rpc.BlockText.SetChecked.Response.Error.Code](#anytype-Rpc-BlockText-SetChecked-Response-Error-Code) | | | | description | [string](#string) | | | @@ -7969,7 +7969,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetColor @@ -7979,7 +7979,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetColor.Request @@ -7996,7 +7996,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetColor.Response @@ -8004,15 +8004,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.SetColor.Response.Error](#anytype.Rpc.BlockText.SetColor.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.SetColor.Response.Error](#anytype-Rpc-BlockText-SetColor-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.SetColor.Response.Error @@ -8020,7 +8020,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.SetColor.Response.Error.Code](#anytype.Rpc.BlockText.SetColor.Response.Error.Code) | | | +| code | [Rpc.BlockText.SetColor.Response.Error.Code](#anytype-Rpc-BlockText-SetColor-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8028,7 +8028,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetIcon @@ -8038,7 +8038,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetIcon.Request @@ -8056,7 +8056,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetIcon.Response @@ -8064,15 +8064,15 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.SetIcon.Response.Error](#anytype.Rpc.BlockText.SetIcon.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.SetIcon.Response.Error](#anytype-Rpc-BlockText-SetIcon-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.SetIcon.Response.Error @@ -8080,7 +8080,7 @@ id of the closest simple block | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.SetIcon.Response.Error.Code](#anytype.Rpc.BlockText.SetIcon.Response.Error.Code) | | | +| code | [Rpc.BlockText.SetIcon.Response.Error.Code](#anytype-Rpc-BlockText-SetIcon-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8088,7 +8088,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetMarks @@ -8098,7 +8098,7 @@ id of the closest simple block | - + ### Rpc.BlockText.SetMarks.Get Get marks list in the selected range in text block. @@ -8108,7 +8108,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockText.SetMarks.Get.Request @@ -8118,14 +8118,14 @@ Get marks list in the selected range in text block. | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockId | [string](#string) | | | -| range | [model.Range](#anytype.model.Range) | | | +| range | [model.Range](#anytype-model-Range) | | | - + ### Rpc.BlockText.SetMarks.Get.Response @@ -8133,15 +8133,15 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.SetMarks.Get.Response.Error](#anytype.Rpc.BlockText.SetMarks.Get.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.SetMarks.Get.Response.Error](#anytype-Rpc-BlockText-SetMarks-Get-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.SetMarks.Get.Response.Error @@ -8149,7 +8149,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.SetMarks.Get.Response.Error.Code](#anytype.Rpc.BlockText.SetMarks.Get.Response.Error.Code) | | | +| code | [Rpc.BlockText.SetMarks.Get.Response.Error.Code](#anytype-Rpc-BlockText-SetMarks-Get-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8157,7 +8157,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockText.SetStyle @@ -8167,7 +8167,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockText.SetStyle.Request @@ -8177,14 +8177,14 @@ Get marks list in the selected range in text block. | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockId | [string](#string) | | | -| style | [model.Block.Content.Text.Style](#anytype.model.Block.Content.Text.Style) | | | +| style | [model.Block.Content.Text.Style](#anytype-model-Block-Content-Text-Style) | | | - + ### Rpc.BlockText.SetStyle.Response @@ -8192,15 +8192,15 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.SetStyle.Response.Error](#anytype.Rpc.BlockText.SetStyle.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.SetStyle.Response.Error](#anytype-Rpc-BlockText-SetStyle-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.SetStyle.Response.Error @@ -8208,7 +8208,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.SetStyle.Response.Error.Code](#anytype.Rpc.BlockText.SetStyle.Response.Error.Code) | | | +| code | [Rpc.BlockText.SetStyle.Response.Error.Code](#anytype-Rpc-BlockText-SetStyle-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8216,7 +8216,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockText.SetText @@ -8226,7 +8226,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockText.SetText.Request @@ -8237,14 +8237,14 @@ Get marks list in the selected range in text block. | contextId | [string](#string) | | | | blockId | [string](#string) | | | | text | [string](#string) | | | -| marks | [model.Block.Content.Text.Marks](#anytype.model.Block.Content.Text.Marks) | | | +| marks | [model.Block.Content.Text.Marks](#anytype-model-Block-Content-Text-Marks) | | | - + ### Rpc.BlockText.SetText.Response @@ -8252,15 +8252,15 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockText.SetText.Response.Error](#anytype.Rpc.BlockText.SetText.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockText.SetText.Response.Error](#anytype-Rpc-BlockText-SetText-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockText.SetText.Response.Error @@ -8268,7 +8268,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockText.SetText.Response.Error.Code](#anytype.Rpc.BlockText.SetText.Response.Error.Code) | | | +| code | [Rpc.BlockText.SetText.Response.Error.Code](#anytype-Rpc-BlockText-SetText-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8276,7 +8276,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockVideo @@ -8286,7 +8286,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockVideo.SetName @@ -8296,7 +8296,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockVideo.SetName.Request @@ -8313,7 +8313,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockVideo.SetName.Response @@ -8321,14 +8321,14 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockVideo.SetName.Response.Error](#anytype.Rpc.BlockVideo.SetName.Response.Error) | | | +| error | [Rpc.BlockVideo.SetName.Response.Error](#anytype-Rpc-BlockVideo-SetName-Response-Error) | | | - + ### Rpc.BlockVideo.SetName.Response.Error @@ -8336,7 +8336,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockVideo.SetName.Response.Error.Code](#anytype.Rpc.BlockVideo.SetName.Response.Error.Code) | | | +| code | [Rpc.BlockVideo.SetName.Response.Error.Code](#anytype-Rpc-BlockVideo-SetName-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8344,7 +8344,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockVideo.SetWidth @@ -8354,7 +8354,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockVideo.SetWidth.Request @@ -8371,7 +8371,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockVideo.SetWidth.Response @@ -8379,14 +8379,14 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockVideo.SetWidth.Response.Error](#anytype.Rpc.BlockVideo.SetWidth.Response.Error) | | | +| error | [Rpc.BlockVideo.SetWidth.Response.Error](#anytype-Rpc-BlockVideo-SetWidth-Response-Error) | | | - + ### Rpc.BlockVideo.SetWidth.Response.Error @@ -8394,7 +8394,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockVideo.SetWidth.Response.Error.Code](#anytype.Rpc.BlockVideo.SetWidth.Response.Error.Code) | | | +| code | [Rpc.BlockVideo.SetWidth.Response.Error.Code](#anytype-Rpc-BlockVideo-SetWidth-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8402,7 +8402,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget @@ -8412,7 +8412,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetLayout @@ -8422,7 +8422,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetLayout.Request @@ -8432,14 +8432,14 @@ Get marks list in the selected range in text block. | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | blockId | [string](#string) | | | -| layout | [model.Block.Content.Widget.Layout](#anytype.model.Block.Content.Widget.Layout) | | | +| layout | [model.Block.Content.Widget.Layout](#anytype-model-Block-Content-Widget-Layout) | | | - + ### Rpc.BlockWidget.SetLayout.Response @@ -8447,15 +8447,15 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockWidget.SetLayout.Response.Error](#anytype.Rpc.BlockWidget.SetLayout.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockWidget.SetLayout.Response.Error](#anytype-Rpc-BlockWidget-SetLayout-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockWidget.SetLayout.Response.Error @@ -8463,7 +8463,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockWidget.SetLayout.Response.Error.Code](#anytype.Rpc.BlockWidget.SetLayout.Response.Error.Code) | | | +| code | [Rpc.BlockWidget.SetLayout.Response.Error.Code](#anytype-Rpc-BlockWidget-SetLayout-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8471,7 +8471,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetLimit @@ -8481,7 +8481,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetLimit.Request @@ -8498,7 +8498,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetLimit.Response @@ -8506,15 +8506,15 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockWidget.SetLimit.Response.Error](#anytype.Rpc.BlockWidget.SetLimit.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockWidget.SetLimit.Response.Error](#anytype-Rpc-BlockWidget-SetLimit-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockWidget.SetLimit.Response.Error @@ -8522,7 +8522,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockWidget.SetLimit.Response.Error.Code](#anytype.Rpc.BlockWidget.SetLimit.Response.Error.Code) | | | +| code | [Rpc.BlockWidget.SetLimit.Response.Error.Code](#anytype-Rpc-BlockWidget-SetLimit-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8530,7 +8530,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetTargetId @@ -8540,7 +8540,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetTargetId.Request @@ -8557,7 +8557,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetTargetId.Response @@ -8565,15 +8565,15 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockWidget.SetTargetId.Response.Error](#anytype.Rpc.BlockWidget.SetTargetId.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockWidget.SetTargetId.Response.Error](#anytype-Rpc-BlockWidget-SetTargetId-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockWidget.SetTargetId.Response.Error @@ -8581,7 +8581,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockWidget.SetTargetId.Response.Error.Code](#anytype.Rpc.BlockWidget.SetTargetId.Response.Error.Code) | | | +| code | [Rpc.BlockWidget.SetTargetId.Response.Error.Code](#anytype-Rpc-BlockWidget-SetTargetId-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8589,7 +8589,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetViewId @@ -8599,7 +8599,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetViewId.Request @@ -8616,7 +8616,7 @@ Get marks list in the selected range in text block. - + ### Rpc.BlockWidget.SetViewId.Response @@ -8624,15 +8624,15 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.BlockWidget.SetViewId.Response.Error](#anytype.Rpc.BlockWidget.SetViewId.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.BlockWidget.SetViewId.Response.Error](#anytype-Rpc-BlockWidget-SetViewId-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.BlockWidget.SetViewId.Response.Error @@ -8640,7 +8640,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.BlockWidget.SetViewId.Response.Error.Code](#anytype.Rpc.BlockWidget.SetViewId.Response.Error.Code) | | | +| code | [Rpc.BlockWidget.SetViewId.Response.Error.Code](#anytype-Rpc-BlockWidget-SetViewId-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8648,7 +8648,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug @@ -8658,7 +8658,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.ExportLocalstore @@ -8668,7 +8668,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.ExportLocalstore.Request @@ -8684,7 +8684,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.ExportLocalstore.Response @@ -8692,16 +8692,16 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Debug.ExportLocalstore.Response.Error](#anytype.Rpc.Debug.ExportLocalstore.Response.Error) | | | +| error | [Rpc.Debug.ExportLocalstore.Response.Error](#anytype-Rpc-Debug-ExportLocalstore-Response-Error) | | | | path | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Debug.ExportLocalstore.Response.Error @@ -8709,7 +8709,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Debug.ExportLocalstore.Response.Error.Code](#anytype.Rpc.Debug.ExportLocalstore.Response.Error.Code) | | | +| code | [Rpc.Debug.ExportLocalstore.Response.Error.Code](#anytype-Rpc-Debug-ExportLocalstore-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8717,7 +8717,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.Ping @@ -8727,7 +8727,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.Ping.Request @@ -8743,7 +8743,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.Ping.Response @@ -8751,7 +8751,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Debug.Ping.Response.Error](#anytype.Rpc.Debug.Ping.Response.Error) | | | +| error | [Rpc.Debug.Ping.Response.Error](#anytype-Rpc-Debug-Ping-Response-Error) | | | | index | [int32](#int32) | | | @@ -8759,7 +8759,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.Ping.Response.Error @@ -8767,7 +8767,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Debug.Ping.Response.Error.Code](#anytype.Rpc.Debug.Ping.Response.Error.Code) | | | +| code | [Rpc.Debug.Ping.Response.Error.Code](#anytype-Rpc-Debug-Ping-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8775,7 +8775,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.SpaceSummary @@ -8785,7 +8785,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.SpaceSummary.Request @@ -8795,7 +8795,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.SpaceSummary.Response @@ -8803,16 +8803,16 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Debug.SpaceSummary.Response.Error](#anytype.Rpc.Debug.SpaceSummary.Response.Error) | | | +| error | [Rpc.Debug.SpaceSummary.Response.Error](#anytype-Rpc-Debug-SpaceSummary-Response-Error) | | | | spaceId | [string](#string) | | | -| infos | [Rpc.Debug.TreeInfo](#anytype.Rpc.Debug.TreeInfo) | repeated | | +| infos | [Rpc.Debug.TreeInfo](#anytype-Rpc-Debug-TreeInfo) | repeated | | - + ### Rpc.Debug.SpaceSummary.Response.Error @@ -8820,7 +8820,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Debug.SpaceSummary.Response.Error.Code](#anytype.Rpc.Debug.SpaceSummary.Response.Error.Code) | | | +| code | [Rpc.Debug.SpaceSummary.Response.Error.Code](#anytype-Rpc-Debug-SpaceSummary-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8828,7 +8828,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.Tree @@ -8838,7 +8838,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.Tree.Request @@ -8856,7 +8856,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.Tree.Response @@ -8864,7 +8864,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Debug.Tree.Response.Error](#anytype.Rpc.Debug.Tree.Response.Error) | | | +| error | [Rpc.Debug.Tree.Response.Error](#anytype-Rpc-Debug-Tree-Response-Error) | | | | filename | [string](#string) | | | @@ -8872,7 +8872,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.Tree.Response.Error @@ -8880,7 +8880,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Debug.Tree.Response.Error.Code](#anytype.Rpc.Debug.Tree.Response.Error.Code) | | | +| code | [Rpc.Debug.Tree.Response.Error.Code](#anytype-Rpc-Debug-Tree-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8888,7 +8888,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.TreeHeads @@ -8898,7 +8898,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.TreeHeads.Request @@ -8913,7 +8913,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.TreeHeads.Response @@ -8921,16 +8921,16 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Debug.TreeHeads.Response.Error](#anytype.Rpc.Debug.TreeHeads.Response.Error) | | | +| error | [Rpc.Debug.TreeHeads.Response.Error](#anytype-Rpc-Debug-TreeHeads-Response-Error) | | | | spaceId | [string](#string) | | | -| info | [Rpc.Debug.TreeInfo](#anytype.Rpc.Debug.TreeInfo) | | | +| info | [Rpc.Debug.TreeInfo](#anytype-Rpc-Debug-TreeInfo) | | | - + ### Rpc.Debug.TreeHeads.Response.Error @@ -8938,7 +8938,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Debug.TreeHeads.Response.Error.Code](#anytype.Rpc.Debug.TreeHeads.Response.Error.Code) | | | +| code | [Rpc.Debug.TreeHeads.Response.Error.Code](#anytype-Rpc-Debug-TreeHeads-Response-Error-Code) | | | | description | [string](#string) | | | @@ -8946,7 +8946,7 @@ Get marks list in the selected range in text block. - + ### Rpc.Debug.TreeInfo @@ -8962,7 +8962,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File @@ -8972,7 +8972,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Download @@ -8982,7 +8982,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Download.Request @@ -8998,7 +8998,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Download.Response @@ -9006,7 +9006,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.File.Download.Response.Error](#anytype.Rpc.File.Download.Response.Error) | | | +| error | [Rpc.File.Download.Response.Error](#anytype-Rpc-File-Download-Response-Error) | | | | localPath | [string](#string) | | | @@ -9014,7 +9014,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Download.Response.Error @@ -9022,7 +9022,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.File.Download.Response.Error.Code](#anytype.Rpc.File.Download.Response.Error.Code) | | | +| code | [Rpc.File.Download.Response.Error.Code](#anytype-Rpc-File-Download-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9030,7 +9030,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Drop @@ -9040,7 +9040,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Drop.Request @@ -9050,7 +9050,7 @@ Get marks list in the selected range in text block. | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | | dropTargetId | [string](#string) | | id of the simple block to insert considering position | -| position | [model.Block.Position](#anytype.model.Block.Position) | | position relatively to the dropTargetId simple block | +| position | [model.Block.Position](#anytype-model-Block-Position) | | position relatively to the dropTargetId simple block | | localFilePaths | [string](#string) | repeated | | @@ -9058,7 +9058,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Drop.Response @@ -9066,15 +9066,15 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.File.Drop.Response.Error](#anytype.Rpc.File.Drop.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.File.Drop.Response.Error](#anytype-Rpc-File-Drop-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.File.Drop.Response.Error @@ -9082,7 +9082,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.File.Drop.Response.Error.Code](#anytype.Rpc.File.Drop.Response.Error.Code) | | | +| code | [Rpc.File.Drop.Response.Error.Code](#anytype-Rpc-File-Drop-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9090,7 +9090,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.ListOffload @@ -9100,7 +9100,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.ListOffload.Request @@ -9116,7 +9116,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.ListOffload.Response @@ -9124,7 +9124,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.File.ListOffload.Response.Error](#anytype.Rpc.File.ListOffload.Response.Error) | | | +| error | [Rpc.File.ListOffload.Response.Error](#anytype-Rpc-File-ListOffload-Response-Error) | | | | filesOffloaded | [int32](#int32) | | | | bytesOffloaded | [uint64](#uint64) | | | @@ -9133,7 +9133,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.ListOffload.Response.Error @@ -9141,7 +9141,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.File.ListOffload.Response.Error.Code](#anytype.Rpc.File.ListOffload.Response.Error.Code) | | | +| code | [Rpc.File.ListOffload.Response.Error.Code](#anytype-Rpc-File-ListOffload-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9149,7 +9149,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Offload @@ -9159,7 +9159,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Offload.Request @@ -9175,7 +9175,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Offload.Response @@ -9183,7 +9183,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.File.Offload.Response.Error](#anytype.Rpc.File.Offload.Response.Error) | | | +| error | [Rpc.File.Offload.Response.Error](#anytype-Rpc-File-Offload-Response-Error) | | | | bytesOffloaded | [uint64](#uint64) | | | @@ -9191,7 +9191,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Offload.Response.Error @@ -9199,7 +9199,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.File.Offload.Response.Error.Code](#anytype.Rpc.File.Offload.Response.Error.Code) | | | +| code | [Rpc.File.Offload.Response.Error.Code](#anytype-Rpc-File-Offload-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9207,7 +9207,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.SpaceUsage @@ -9217,7 +9217,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.SpaceUsage.Request @@ -9227,7 +9227,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.SpaceUsage.Response @@ -9235,15 +9235,15 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.File.SpaceUsage.Response.Error](#anytype.Rpc.File.SpaceUsage.Response.Error) | | | -| usage | [Rpc.File.SpaceUsage.Response.Usage](#anytype.Rpc.File.SpaceUsage.Response.Usage) | | | +| error | [Rpc.File.SpaceUsage.Response.Error](#anytype-Rpc-File-SpaceUsage-Response-Error) | | | +| usage | [Rpc.File.SpaceUsage.Response.Usage](#anytype-Rpc-File-SpaceUsage-Response-Usage) | | | - + ### Rpc.File.SpaceUsage.Response.Error @@ -9251,7 +9251,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.File.SpaceUsage.Response.Error.Code](#anytype.Rpc.File.SpaceUsage.Response.Error.Code) | | | +| code | [Rpc.File.SpaceUsage.Response.Error.Code](#anytype-Rpc-File-SpaceUsage-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9259,7 +9259,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.SpaceUsage.Response.Usage @@ -9279,7 +9279,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Upload @@ -9289,7 +9289,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Upload.Request @@ -9299,16 +9299,16 @@ Get marks list in the selected range in text block. | ----- | ---- | ----- | ----------- | | url | [string](#string) | | | | localPath | [string](#string) | | | -| type | [model.Block.Content.File.Type](#anytype.model.Block.Content.File.Type) | | | +| type | [model.Block.Content.File.Type](#anytype-model-Block-Content-File-Type) | | | | disableEncryption | [bool](#bool) | | deprecated, has no affect | -| style | [model.Block.Content.File.Style](#anytype.model.Block.Content.File.Style) | | | +| style | [model.Block.Content.File.Style](#anytype-model-Block-Content-File-Style) | | | - + ### Rpc.File.Upload.Response @@ -9316,7 +9316,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.File.Upload.Response.Error](#anytype.Rpc.File.Upload.Response.Error) | | | +| error | [Rpc.File.Upload.Response.Error](#anytype-Rpc-File-Upload-Response-Error) | | | | hash | [string](#string) | | | @@ -9324,7 +9324,7 @@ Get marks list in the selected range in text block. - + ### Rpc.File.Upload.Response.Error @@ -9332,7 +9332,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.File.Upload.Response.Error.Code](#anytype.Rpc.File.Upload.Response.Error.Code) | | | +| code | [Rpc.File.Upload.Response.Error.Code](#anytype-Rpc-File-Upload-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9340,7 +9340,7 @@ Get marks list in the selected range in text block. - + ### Rpc.GenericErrorResponse @@ -9348,14 +9348,14 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.GenericErrorResponse.Error](#anytype.Rpc.GenericErrorResponse.Error) | | | +| error | [Rpc.GenericErrorResponse.Error](#anytype-Rpc-GenericErrorResponse-Error) | | | - + ### Rpc.GenericErrorResponse.Error @@ -9363,7 +9363,7 @@ Get marks list in the selected range in text block. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.GenericErrorResponse.Error.Code](#anytype.Rpc.GenericErrorResponse.Error.Code) | | | +| code | [Rpc.GenericErrorResponse.Error.Code](#anytype-Rpc-GenericErrorResponse-Error-Code) | | | | description | [string](#string) | | | @@ -9371,7 +9371,7 @@ Get marks list in the selected range in text block. - + ### Rpc.History @@ -9381,7 +9381,7 @@ Get marks list in the selected range in text block. - + ### Rpc.History.GetVersions returns list of versions (changes) @@ -9391,7 +9391,7 @@ returns list of versions (changes) - + ### Rpc.History.GetVersions.Request @@ -9408,7 +9408,7 @@ returns list of versions (changes) - + ### Rpc.History.GetVersions.Response @@ -9416,15 +9416,15 @@ returns list of versions (changes) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.History.GetVersions.Response.Error](#anytype.Rpc.History.GetVersions.Response.Error) | | | -| versions | [Rpc.History.Version](#anytype.Rpc.History.Version) | repeated | | +| error | [Rpc.History.GetVersions.Response.Error](#anytype-Rpc-History-GetVersions-Response-Error) | | | +| versions | [Rpc.History.Version](#anytype-Rpc-History-Version) | repeated | | - + ### Rpc.History.GetVersions.Response.Error @@ -9432,7 +9432,7 @@ returns list of versions (changes) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.History.GetVersions.Response.Error.Code](#anytype.Rpc.History.GetVersions.Response.Error.Code) | | | +| code | [Rpc.History.GetVersions.Response.Error.Code](#anytype-Rpc-History-GetVersions-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9440,7 +9440,7 @@ returns list of versions (changes) - + ### Rpc.History.SetVersion @@ -9450,7 +9450,7 @@ returns list of versions (changes) - + ### Rpc.History.SetVersion.Request @@ -9466,7 +9466,7 @@ returns list of versions (changes) - + ### Rpc.History.SetVersion.Response @@ -9474,14 +9474,14 @@ returns list of versions (changes) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.History.SetVersion.Response.Error](#anytype.Rpc.History.SetVersion.Response.Error) | | | +| error | [Rpc.History.SetVersion.Response.Error](#anytype-Rpc-History-SetVersion-Response-Error) | | | - + ### Rpc.History.SetVersion.Response.Error @@ -9489,7 +9489,7 @@ returns list of versions (changes) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.History.SetVersion.Response.Error.Code](#anytype.Rpc.History.SetVersion.Response.Error.Code) | | | +| code | [Rpc.History.SetVersion.Response.Error.Code](#anytype-Rpc-History-SetVersion-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9497,7 +9497,7 @@ returns list of versions (changes) - + ### Rpc.History.ShowVersion returns blockShow event for given version @@ -9507,7 +9507,7 @@ returns blockShow event for given version - + ### Rpc.History.ShowVersion.Request @@ -9524,7 +9524,7 @@ returns blockShow event for given version - + ### Rpc.History.ShowVersion.Response @@ -9532,9 +9532,9 @@ returns blockShow event for given version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.History.ShowVersion.Response.Error](#anytype.Rpc.History.ShowVersion.Response.Error) | | | -| objectView | [model.ObjectView](#anytype.model.ObjectView) | | | -| version | [Rpc.History.Version](#anytype.Rpc.History.Version) | | | +| error | [Rpc.History.ShowVersion.Response.Error](#anytype-Rpc-History-ShowVersion-Response-Error) | | | +| objectView | [model.ObjectView](#anytype-model-ObjectView) | | | +| version | [Rpc.History.Version](#anytype-Rpc-History-Version) | | | | traceId | [string](#string) | | | @@ -9542,7 +9542,7 @@ returns blockShow event for given version - + ### Rpc.History.ShowVersion.Response.Error @@ -9550,7 +9550,7 @@ returns blockShow event for given version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.History.ShowVersion.Response.Error.Code](#anytype.Rpc.History.ShowVersion.Response.Error.Code) | | | +| code | [Rpc.History.ShowVersion.Response.Error.Code](#anytype-Rpc-History-ShowVersion-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9558,7 +9558,7 @@ returns blockShow event for given version - + ### Rpc.History.Version @@ -9578,7 +9578,7 @@ returns blockShow event for given version - + ### Rpc.LinkPreview @@ -9588,7 +9588,7 @@ returns blockShow event for given version - + ### Rpc.LinkPreview.Request @@ -9603,7 +9603,7 @@ returns blockShow event for given version - + ### Rpc.LinkPreview.Response @@ -9611,15 +9611,15 @@ returns blockShow event for given version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.LinkPreview.Response.Error](#anytype.Rpc.LinkPreview.Response.Error) | | | -| linkPreview | [model.LinkPreview](#anytype.model.LinkPreview) | | | +| error | [Rpc.LinkPreview.Response.Error](#anytype-Rpc-LinkPreview-Response-Error) | | | +| linkPreview | [model.LinkPreview](#anytype-model-LinkPreview) | | | - + ### Rpc.LinkPreview.Response.Error @@ -9627,7 +9627,7 @@ returns blockShow event for given version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.LinkPreview.Response.Error.Code](#anytype.Rpc.LinkPreview.Response.Error.Code) | | | +| code | [Rpc.LinkPreview.Response.Error.Code](#anytype-Rpc-LinkPreview-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9635,7 +9635,7 @@ returns blockShow event for given version - + ### Rpc.Log @@ -9645,7 +9645,7 @@ returns blockShow event for given version - + ### Rpc.Log.Send @@ -9655,7 +9655,7 @@ returns blockShow event for given version - + ### Rpc.Log.Send.Request @@ -9664,14 +9664,14 @@ returns blockShow event for given version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | message | [string](#string) | | | -| level | [Rpc.Log.Send.Request.Level](#anytype.Rpc.Log.Send.Request.Level) | | | +| level | [Rpc.Log.Send.Request.Level](#anytype-Rpc-Log-Send-Request-Level) | | | - + ### Rpc.Log.Send.Response @@ -9679,14 +9679,14 @@ returns blockShow event for given version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Log.Send.Response.Error](#anytype.Rpc.Log.Send.Response.Error) | | | +| error | [Rpc.Log.Send.Response.Error](#anytype-Rpc-Log-Send-Response-Error) | | | - + ### Rpc.Log.Send.Response.Error @@ -9694,7 +9694,7 @@ returns blockShow event for given version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Log.Send.Response.Error.Code](#anytype.Rpc.Log.Send.Response.Error.Code) | | | +| code | [Rpc.Log.Send.Response.Error.Code](#anytype-Rpc-Log-Send-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9702,7 +9702,7 @@ returns blockShow event for given version - + ### Rpc.Metrics @@ -9712,7 +9712,7 @@ returns blockShow event for given version - + ### Rpc.Metrics.SetParameters @@ -9722,7 +9722,7 @@ returns blockShow event for given version - + ### Rpc.Metrics.SetParameters.Request @@ -9737,7 +9737,7 @@ returns blockShow event for given version - + ### Rpc.Metrics.SetParameters.Response @@ -9745,14 +9745,14 @@ returns blockShow event for given version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Metrics.SetParameters.Response.Error](#anytype.Rpc.Metrics.SetParameters.Response.Error) | | | +| error | [Rpc.Metrics.SetParameters.Response.Error](#anytype-Rpc-Metrics-SetParameters-Response-Error) | | | - + ### Rpc.Metrics.SetParameters.Response.Error @@ -9760,7 +9760,7 @@ returns blockShow event for given version | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Metrics.SetParameters.Response.Error.Code](#anytype.Rpc.Metrics.SetParameters.Response.Error.Code) | | | +| code | [Rpc.Metrics.SetParameters.Response.Error.Code](#anytype-Rpc-Metrics-SetParameters-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9768,7 +9768,7 @@ returns blockShow event for given version - + ### Rpc.Navigation @@ -9778,7 +9778,7 @@ returns blockShow event for given version - + ### Rpc.Navigation.GetObjectInfoWithLinks Get the info for page alongside with info for all inbound and outbound links from/to this page @@ -9788,7 +9788,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Navigation.GetObjectInfoWithLinks.Request @@ -9797,14 +9797,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | objectId | [string](#string) | | | -| context | [Rpc.Navigation.Context](#anytype.Rpc.Navigation.Context) | | | +| context | [Rpc.Navigation.Context](#anytype-Rpc-Navigation-Context) | | | - + ### Rpc.Navigation.GetObjectInfoWithLinks.Response @@ -9812,15 +9812,15 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Navigation.GetObjectInfoWithLinks.Response.Error](#anytype.Rpc.Navigation.GetObjectInfoWithLinks.Response.Error) | | | -| object | [model.ObjectInfoWithLinks](#anytype.model.ObjectInfoWithLinks) | | | +| error | [Rpc.Navigation.GetObjectInfoWithLinks.Response.Error](#anytype-Rpc-Navigation-GetObjectInfoWithLinks-Response-Error) | | | +| object | [model.ObjectInfoWithLinks](#anytype-model-ObjectInfoWithLinks) | | | - + ### Rpc.Navigation.GetObjectInfoWithLinks.Response.Error @@ -9828,7 +9828,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Navigation.GetObjectInfoWithLinks.Response.Error.Code](#anytype.Rpc.Navigation.GetObjectInfoWithLinks.Response.Error.Code) | | | +| code | [Rpc.Navigation.GetObjectInfoWithLinks.Response.Error.Code](#anytype-Rpc-Navigation-GetObjectInfoWithLinks-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9836,7 +9836,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Navigation.ListObjects @@ -9846,7 +9846,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Navigation.ListObjects.Request @@ -9854,7 +9854,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| context | [Rpc.Navigation.Context](#anytype.Rpc.Navigation.Context) | | | +| context | [Rpc.Navigation.Context](#anytype-Rpc-Navigation-Context) | | | | fullText | [string](#string) | | | | limit | [int32](#int32) | | | | offset | [int32](#int32) | | | @@ -9864,7 +9864,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Navigation.ListObjects.Response @@ -9872,15 +9872,15 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Navigation.ListObjects.Response.Error](#anytype.Rpc.Navigation.ListObjects.Response.Error) | | | -| objects | [model.ObjectInfo](#anytype.model.ObjectInfo) | repeated | | +| error | [Rpc.Navigation.ListObjects.Response.Error](#anytype-Rpc-Navigation-ListObjects-Response-Error) | | | +| objects | [model.ObjectInfo](#anytype-model-ObjectInfo) | repeated | | - + ### Rpc.Navigation.ListObjects.Response.Error @@ -9888,7 +9888,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Navigation.ListObjects.Response.Error.Code](#anytype.Rpc.Navigation.ListObjects.Response.Error.Code) | | | +| code | [Rpc.Navigation.ListObjects.Response.Error.Code](#anytype-Rpc-Navigation-ListObjects-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9896,7 +9896,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object @@ -9906,7 +9906,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.ApplyTemplate @@ -9916,7 +9916,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.ApplyTemplate.Request @@ -9932,7 +9932,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.ApplyTemplate.Response @@ -9940,14 +9940,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ApplyTemplate.Response.Error](#anytype.Rpc.Object.ApplyTemplate.Response.Error) | | | +| error | [Rpc.Object.ApplyTemplate.Response.Error](#anytype-Rpc-Object-ApplyTemplate-Response-Error) | | | - + ### Rpc.Object.ApplyTemplate.Response.Error @@ -9955,7 +9955,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ApplyTemplate.Response.Error.Code](#anytype.Rpc.Object.ApplyTemplate.Response.Error.Code) | | | +| code | [Rpc.Object.ApplyTemplate.Response.Error.Code](#anytype-Rpc-Object-ApplyTemplate-Response-Error-Code) | | | | description | [string](#string) | | | @@ -9963,7 +9963,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.BookmarkFetch @@ -9973,7 +9973,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.BookmarkFetch.Request @@ -9989,7 +9989,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.BookmarkFetch.Response @@ -9997,14 +9997,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.BookmarkFetch.Response.Error](#anytype.Rpc.Object.BookmarkFetch.Response.Error) | | | +| error | [Rpc.Object.BookmarkFetch.Response.Error](#anytype-Rpc-Object-BookmarkFetch-Response-Error) | | | - + ### Rpc.Object.BookmarkFetch.Response.Error @@ -10012,7 +10012,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.BookmarkFetch.Response.Error.Code](#anytype.Rpc.Object.BookmarkFetch.Response.Error.Code) | | | +| code | [Rpc.Object.BookmarkFetch.Response.Error.Code](#anytype-Rpc-Object-BookmarkFetch-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10020,7 +10020,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Close @@ -10030,7 +10030,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Close.Request @@ -10046,7 +10046,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Close.Response @@ -10054,14 +10054,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Close.Response.Error](#anytype.Rpc.Object.Close.Response.Error) | | | +| error | [Rpc.Object.Close.Response.Error](#anytype-Rpc-Object-Close-Response-Error) | | | - + ### Rpc.Object.Close.Response.Error @@ -10069,7 +10069,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Close.Response.Error.Code](#anytype.Rpc.Object.Close.Response.Error.Code) | | | +| code | [Rpc.Object.Close.Response.Error.Code](#anytype-Rpc-Object-Close-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10077,7 +10077,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Create @@ -10087,7 +10087,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Create.Request @@ -10095,8 +10095,8 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | object details | -| internalFlags | [model.InternalFlag](#anytype.model.InternalFlag) | repeated | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | object details | +| internalFlags | [model.InternalFlag](#anytype-model-InternalFlag) | repeated | | | templateId | [string](#string) | | | @@ -10104,7 +10104,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Create.Response @@ -10112,17 +10112,17 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Create.Response.Error](#anytype.Rpc.Object.Create.Response.Error) | | | +| error | [Rpc.Object.Create.Response.Error](#anytype-Rpc-Object-Create-Response-Error) | | | | objectId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Object.Create.Response.Error @@ -10130,7 +10130,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Create.Response.Error.Code](#anytype.Rpc.Object.Create.Response.Error.Code) | | | +| code | [Rpc.Object.Create.Response.Error.Code](#anytype-Rpc-Object-Create-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10138,7 +10138,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateBookmark @@ -10148,7 +10148,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateBookmark.Request @@ -10156,14 +10156,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Object.CreateBookmark.Response @@ -10171,16 +10171,16 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.CreateBookmark.Response.Error](#anytype.Rpc.Object.CreateBookmark.Response.Error) | | | +| error | [Rpc.Object.CreateBookmark.Response.Error](#anytype-Rpc-Object-CreateBookmark-Response-Error) | | | | objectId | [string](#string) | | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Object.CreateBookmark.Response.Error @@ -10188,7 +10188,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.CreateBookmark.Response.Error.Code](#anytype.Rpc.Object.CreateBookmark.Response.Error.Code) | | | +| code | [Rpc.Object.CreateBookmark.Response.Error.Code](#anytype-Rpc-Object-CreateBookmark-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10196,7 +10196,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateObjectType @@ -10206,7 +10206,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateObjectType.Request @@ -10214,15 +10214,15 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | -| internalFlags | [model.InternalFlag](#anytype.model.InternalFlag) | repeated | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | +| internalFlags | [model.InternalFlag](#anytype-model-InternalFlag) | repeated | | - + ### Rpc.Object.CreateObjectType.Response @@ -10230,8 +10230,8 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.CreateObjectType.Response.Error](#anytype.Rpc.Object.CreateObjectType.Response.Error) | | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| error | [Rpc.Object.CreateObjectType.Response.Error](#anytype-Rpc-Object-CreateObjectType-Response-Error) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | | objectId | [string](#string) | | | @@ -10239,7 +10239,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateObjectType.Response.Error @@ -10247,7 +10247,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.CreateObjectType.Response.Error.Code](#anytype.Rpc.Object.CreateObjectType.Response.Error.Code) | | | +| code | [Rpc.Object.CreateObjectType.Response.Error.Code](#anytype-Rpc-Object-CreateObjectType-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10255,7 +10255,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateRelation @@ -10265,7 +10265,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateRelation.Request @@ -10273,14 +10273,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Object.CreateRelation.Response @@ -10288,17 +10288,17 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.CreateRelation.Response.Error](#anytype.Rpc.Object.CreateRelation.Response.Error) | | | +| error | [Rpc.Object.CreateRelation.Response.Error](#anytype-Rpc-Object-CreateRelation-Response-Error) | | | | objectId | [string](#string) | | | | key | [string](#string) | | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Object.CreateRelation.Response.Error @@ -10306,7 +10306,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.CreateRelation.Response.Error.Code](#anytype.Rpc.Object.CreateRelation.Response.Error.Code) | | | +| code | [Rpc.Object.CreateRelation.Response.Error.Code](#anytype-Rpc-Object-CreateRelation-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10314,7 +10314,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateRelationOption @@ -10324,7 +10324,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateRelationOption.Request @@ -10332,14 +10332,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Object.CreateRelationOption.Response @@ -10347,16 +10347,16 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.CreateRelationOption.Response.Error](#anytype.Rpc.Object.CreateRelationOption.Response.Error) | | | +| error | [Rpc.Object.CreateRelationOption.Response.Error](#anytype-Rpc-Object-CreateRelationOption-Response-Error) | | | | objectId | [string](#string) | | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Object.CreateRelationOption.Response.Error @@ -10364,7 +10364,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.CreateRelationOption.Response.Error.Code](#anytype.Rpc.Object.CreateRelationOption.Response.Error.Code) | | | +| code | [Rpc.Object.CreateRelationOption.Response.Error.Code](#anytype-Rpc-Object-CreateRelationOption-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10372,7 +10372,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateSet @@ -10382,7 +10382,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.CreateSet.Request @@ -10391,16 +10391,16 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | source | [string](#string) | repeated | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | if omitted the name of page will be the same with object type | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | if omitted the name of page will be the same with object type | | templateId | [string](#string) | | optional template id for creating from template | -| internalFlags | [model.InternalFlag](#anytype.model.InternalFlag) | repeated | | +| internalFlags | [model.InternalFlag](#anytype-model-InternalFlag) | repeated | | - + ### Rpc.Object.CreateSet.Response @@ -10408,17 +10408,17 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.CreateSet.Response.Error](#anytype.Rpc.Object.CreateSet.Response.Error) | | | +| error | [Rpc.Object.CreateSet.Response.Error](#anytype-Rpc-Object-CreateSet-Response-Error) | | | | objectId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Object.CreateSet.Response.Error @@ -10426,7 +10426,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.CreateSet.Response.Error.Code](#anytype.Rpc.Object.CreateSet.Response.Error.Code) | | | +| code | [Rpc.Object.CreateSet.Response.Error.Code](#anytype-Rpc-Object-CreateSet-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10434,7 +10434,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Duplicate @@ -10444,7 +10444,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Duplicate.Request @@ -10459,7 +10459,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Duplicate.Response @@ -10467,7 +10467,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Duplicate.Response.Error](#anytype.Rpc.Object.Duplicate.Response.Error) | | | +| error | [Rpc.Object.Duplicate.Response.Error](#anytype-Rpc-Object-Duplicate-Response-Error) | | | | id | [string](#string) | | created template id | @@ -10475,7 +10475,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Duplicate.Response.Error @@ -10483,7 +10483,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Duplicate.Response.Error.Code](#anytype.Rpc.Object.Duplicate.Response.Error.Code) | | | +| code | [Rpc.Object.Duplicate.Response.Error.Code](#anytype-Rpc-Object-Duplicate-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10491,7 +10491,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Graph @@ -10501,7 +10501,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Graph.Edge @@ -10512,7 +10512,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | source | [string](#string) | | | | target | [string](#string) | | | | name | [string](#string) | | | -| type | [Rpc.Object.Graph.Edge.Type](#anytype.Rpc.Object.Graph.Edge.Type) | | | +| type | [Rpc.Object.Graph.Edge.Type](#anytype-Rpc-Object-Graph-Edge-Type) | | | | description | [string](#string) | | | | iconImage | [string](#string) | | | | iconEmoji | [string](#string) | | | @@ -10523,7 +10523,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Graph.Request @@ -10531,9 +10531,11 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| filters | [model.Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) | repeated | | +| filters | [model.Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) | repeated | | | limit | [int32](#int32) | | | -| objectTypeFilter | [string](#string) | repeated | additional filter by objectTypes | +| objectTypeFilter | [string](#string) | repeated | additional filter by objectTypes + +DEPRECATED | | keys | [string](#string) | repeated | | @@ -10541,7 +10543,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Graph.Response @@ -10549,16 +10551,16 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Graph.Response.Error](#anytype.Rpc.Object.Graph.Response.Error) | | | -| nodes | [google.protobuf.Struct](#google.protobuf.Struct) | repeated | | -| edges | [Rpc.Object.Graph.Edge](#anytype.Rpc.Object.Graph.Edge) | repeated | | +| error | [Rpc.Object.Graph.Response.Error](#anytype-Rpc-Object-Graph-Response-Error) | | | +| nodes | [google.protobuf.Struct](#google-protobuf-Struct) | repeated | | +| edges | [Rpc.Object.Graph.Edge](#anytype-Rpc-Object-Graph-Edge) | repeated | | - + ### Rpc.Object.Graph.Response.Error @@ -10566,7 +10568,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Graph.Response.Error.Code](#anytype.Rpc.Object.Graph.Response.Error.Code) | | | +| code | [Rpc.Object.Graph.Response.Error.Code](#anytype-Rpc-Object-Graph-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10574,7 +10576,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.GroupsSubscribe @@ -10584,7 +10586,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.GroupsSubscribe.Request @@ -10594,7 +10596,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | ----- | ---- | ----- | ----------- | | subId | [string](#string) | | | | relationKey | [string](#string) | | | -| filters | [model.Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) | repeated | | +| filters | [model.Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) | repeated | | | source | [string](#string) | repeated | | | collectionId | [string](#string) | | | @@ -10603,7 +10605,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.GroupsSubscribe.Response @@ -10611,8 +10613,8 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.GroupsSubscribe.Response.Error](#anytype.Rpc.Object.GroupsSubscribe.Response.Error) | | | -| groups | [model.Block.Content.Dataview.Group](#anytype.model.Block.Content.Dataview.Group) | repeated | | +| error | [Rpc.Object.GroupsSubscribe.Response.Error](#anytype-Rpc-Object-GroupsSubscribe-Response-Error) | | | +| groups | [model.Block.Content.Dataview.Group](#anytype-model-Block-Content-Dataview-Group) | repeated | | | subId | [string](#string) | | | @@ -10620,7 +10622,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.GroupsSubscribe.Response.Error @@ -10628,7 +10630,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.GroupsSubscribe.Response.Error.Code](#anytype.Rpc.Object.GroupsSubscribe.Response.Error.Code) | | | +| code | [Rpc.Object.GroupsSubscribe.Response.Error.Code](#anytype-Rpc-Object-GroupsSubscribe-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10636,7 +10638,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import @@ -10646,7 +10648,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Notion @@ -10656,7 +10658,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Notion.ValidateToken @@ -10666,7 +10668,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Notion.ValidateToken.Request @@ -10681,7 +10683,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Notion.ValidateToken.Response @@ -10689,14 +10691,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Import.Notion.ValidateToken.Response.Error](#anytype.Rpc.Object.Import.Notion.ValidateToken.Response.Error) | | | +| error | [Rpc.Object.Import.Notion.ValidateToken.Response.Error](#anytype-Rpc-Object-Import-Notion-ValidateToken-Response-Error) | | | - + ### Rpc.Object.Import.Notion.ValidateToken.Response.Error @@ -10704,7 +10706,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Import.Notion.ValidateToken.Response.Error.Code](#anytype.Rpc.Object.Import.Notion.ValidateToken.Response.Error.Code) | | | +| code | [Rpc.Object.Import.Notion.ValidateToken.Response.Error.Code](#anytype-Rpc-Object-Import-Notion-ValidateToken-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10712,7 +10714,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Request @@ -10720,17 +10722,17 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| notionParams | [Rpc.Object.Import.Request.NotionParams](#anytype.Rpc.Object.Import.Request.NotionParams) | | | -| bookmarksParams | [Rpc.Object.Import.Request.BookmarksParams](#anytype.Rpc.Object.Import.Request.BookmarksParams) | | for internal use | -| markdownParams | [Rpc.Object.Import.Request.MarkdownParams](#anytype.Rpc.Object.Import.Request.MarkdownParams) | | | -| htmlParams | [Rpc.Object.Import.Request.HtmlParams](#anytype.Rpc.Object.Import.Request.HtmlParams) | | | -| txtParams | [Rpc.Object.Import.Request.TxtParams](#anytype.Rpc.Object.Import.Request.TxtParams) | | | -| pbParams | [Rpc.Object.Import.Request.PbParams](#anytype.Rpc.Object.Import.Request.PbParams) | | | -| csvParams | [Rpc.Object.Import.Request.CsvParams](#anytype.Rpc.Object.Import.Request.CsvParams) | | | -| snapshots | [Rpc.Object.Import.Request.Snapshot](#anytype.Rpc.Object.Import.Request.Snapshot) | repeated | optional, for external developers usage | +| notionParams | [Rpc.Object.Import.Request.NotionParams](#anytype-Rpc-Object-Import-Request-NotionParams) | | | +| bookmarksParams | [Rpc.Object.Import.Request.BookmarksParams](#anytype-Rpc-Object-Import-Request-BookmarksParams) | | for internal use | +| markdownParams | [Rpc.Object.Import.Request.MarkdownParams](#anytype-Rpc-Object-Import-Request-MarkdownParams) | | | +| htmlParams | [Rpc.Object.Import.Request.HtmlParams](#anytype-Rpc-Object-Import-Request-HtmlParams) | | | +| txtParams | [Rpc.Object.Import.Request.TxtParams](#anytype-Rpc-Object-Import-Request-TxtParams) | | | +| pbParams | [Rpc.Object.Import.Request.PbParams](#anytype-Rpc-Object-Import-Request-PbParams) | | | +| csvParams | [Rpc.Object.Import.Request.CsvParams](#anytype-Rpc-Object-Import-Request-CsvParams) | | | +| snapshots | [Rpc.Object.Import.Request.Snapshot](#anytype-Rpc-Object-Import-Request-Snapshot) | repeated | optional, for external developers usage | | updateExistingObjects | [bool](#bool) | | | -| type | [Rpc.Object.Import.Request.Type](#anytype.Rpc.Object.Import.Request.Type) | | | -| mode | [Rpc.Object.Import.Request.Mode](#anytype.Rpc.Object.Import.Request.Mode) | | | +| type | [Rpc.Object.Import.Request.Type](#anytype-Rpc-Object-Import-Request-Type) | | | +| mode | [Rpc.Object.Import.Request.Mode](#anytype-Rpc-Object-Import-Request-Mode) | | | | noProgress | [bool](#bool) | | | | isMigration | [bool](#bool) | | | @@ -10739,7 +10741,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Request.BookmarksParams @@ -10754,7 +10756,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Request.CsvParams @@ -10763,7 +10765,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | path | [string](#string) | repeated | | -| mode | [Rpc.Object.Import.Request.CsvParams.Mode](#anytype.Rpc.Object.Import.Request.CsvParams.Mode) | | | +| mode | [Rpc.Object.Import.Request.CsvParams.Mode](#anytype-Rpc-Object-Import-Request-CsvParams-Mode) | | | | useFirstRowForRelations | [bool](#bool) | | | | delimiter | [string](#string) | | | | transposeRowsAndColumns | [bool](#bool) | | | @@ -10773,7 +10775,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Request.HtmlParams @@ -10788,7 +10790,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Request.MarkdownParams @@ -10803,7 +10805,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Request.NotionParams @@ -10818,7 +10820,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Request.PbParams @@ -10834,7 +10836,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Request.Snapshot @@ -10843,14 +10845,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| snapshot | [model.SmartBlockSnapshotBase](#anytype.model.SmartBlockSnapshotBase) | | | +| snapshot | [model.SmartBlockSnapshotBase](#anytype-model-SmartBlockSnapshotBase) | | | - + ### Rpc.Object.Import.Request.TxtParams @@ -10865,7 +10867,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.Import.Response @@ -10873,14 +10875,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Import.Response.Error](#anytype.Rpc.Object.Import.Response.Error) | | | +| error | [Rpc.Object.Import.Response.Error](#anytype-Rpc-Object-Import-Response-Error) | | | - + ### Rpc.Object.Import.Response.Error @@ -10888,7 +10890,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Import.Response.Error.Code](#anytype.Rpc.Object.Import.Response.Error.Code) | | | +| code | [Rpc.Object.Import.Response.Error.Code](#anytype-Rpc-Object-Import-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10896,7 +10898,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.ImportList @@ -10906,7 +10908,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.ImportList.ImportResponse @@ -10914,14 +10916,14 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| type | [Rpc.Object.ImportList.ImportResponse.Type](#anytype.Rpc.Object.ImportList.ImportResponse.Type) | | | +| type | [Rpc.Object.ImportList.ImportResponse.Type](#anytype-Rpc-Object-ImportList-ImportResponse-Type) | | | - + ### Rpc.Object.ImportList.Request @@ -10931,7 +10933,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.ImportList.Response @@ -10939,15 +10941,15 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ImportList.Response.Error](#anytype.Rpc.Object.ImportList.Response.Error) | | | -| response | [Rpc.Object.ImportList.ImportResponse](#anytype.Rpc.Object.ImportList.ImportResponse) | repeated | | +| error | [Rpc.Object.ImportList.Response.Error](#anytype-Rpc-Object-ImportList-Response-Error) | | | +| response | [Rpc.Object.ImportList.ImportResponse](#anytype-Rpc-Object-ImportList-ImportResponse) | repeated | | - + ### Rpc.Object.ImportList.Response.Error @@ -10955,7 +10957,7 @@ Get the info for page alongside with info for all inbound and outbound links fro | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ImportList.Response.Error.Code](#anytype.Rpc.Object.ImportList.Response.Error.Code) | | | +| code | [Rpc.Object.ImportList.Response.Error.Code](#anytype-Rpc-Object-ImportList-Response-Error-Code) | | | | description | [string](#string) | | | @@ -10963,7 +10965,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.ListDelete @@ -10973,7 +10975,7 @@ Get the info for page alongside with info for all inbound and outbound links fro - + ### Rpc.Object.ListDelete.Request Deletes the object, keys from the local store and unsubscribe from remote changes. Also offloads all orphan files @@ -10988,7 +10990,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListDelete.Response @@ -10996,15 +10998,15 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ListDelete.Response.Error](#anytype.Rpc.Object.ListDelete.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.ListDelete.Response.Error](#anytype-Rpc-Object-ListDelete-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.ListDelete.Response.Error @@ -11012,7 +11014,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ListDelete.Response.Error.Code](#anytype.Rpc.Object.ListDelete.Response.Error.Code) | | | +| code | [Rpc.Object.ListDelete.Response.Error.Code](#anytype-Rpc-Object-ListDelete-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11020,7 +11022,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListDuplicate @@ -11030,7 +11032,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListDuplicate.Request @@ -11045,7 +11047,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListDuplicate.Response @@ -11053,7 +11055,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ListDuplicate.Response.Error](#anytype.Rpc.Object.ListDuplicate.Response.Error) | | | +| error | [Rpc.Object.ListDuplicate.Response.Error](#anytype-Rpc-Object-ListDuplicate-Response-Error) | | | | ids | [string](#string) | repeated | | @@ -11061,7 +11063,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListDuplicate.Response.Error @@ -11069,7 +11071,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ListDuplicate.Response.Error.Code](#anytype.Rpc.Object.ListDuplicate.Response.Error.Code) | | | +| code | [Rpc.Object.ListDuplicate.Response.Error.Code](#anytype-Rpc-Object-ListDuplicate-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11077,7 +11079,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListExport @@ -11087,7 +11089,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListExport.Request @@ -11097,7 +11099,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | ----- | ---- | ----- | ----------- | | path | [string](#string) | | the path where export files will place | | objectIds | [string](#string) | repeated | ids of documents for export, when empty - will export all available docs | -| format | [Rpc.Object.ListExport.Format](#anytype.Rpc.Object.ListExport.Format) | | export format | +| format | [Rpc.Object.ListExport.Format](#anytype-Rpc-Object-ListExport-Format) | | export format | | zip | [bool](#bool) | | save as zip file | | includeNested | [bool](#bool) | | include all nested | | includeFiles | [bool](#bool) | | include all files | @@ -11109,7 +11111,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListExport.Response @@ -11117,17 +11119,17 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ListExport.Response.Error](#anytype.Rpc.Object.ListExport.Response.Error) | | | +| error | [Rpc.Object.ListExport.Response.Error](#anytype-Rpc-Object-ListExport-Response-Error) | | | | path | [string](#string) | | | | succeed | [int32](#int32) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.ListExport.Response.Error @@ -11135,7 +11137,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ListExport.Response.Error.Code](#anytype.Rpc.Object.ListExport.Response.Error.Code) | | | +| code | [Rpc.Object.ListExport.Response.Error.Code](#anytype-Rpc-Object-ListExport-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11143,7 +11145,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListSetIsArchived @@ -11153,7 +11155,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListSetIsArchived.Request @@ -11169,7 +11171,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListSetIsArchived.Response @@ -11177,14 +11179,14 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ListSetIsArchived.Response.Error](#anytype.Rpc.Object.ListSetIsArchived.Response.Error) | | | +| error | [Rpc.Object.ListSetIsArchived.Response.Error](#anytype-Rpc-Object-ListSetIsArchived-Response-Error) | | | - + ### Rpc.Object.ListSetIsArchived.Response.Error @@ -11192,7 +11194,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ListSetIsArchived.Response.Error.Code](#anytype.Rpc.Object.ListSetIsArchived.Response.Error.Code) | | | +| code | [Rpc.Object.ListSetIsArchived.Response.Error.Code](#anytype-Rpc-Object-ListSetIsArchived-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11200,7 +11202,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListSetIsFavorite @@ -11210,7 +11212,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListSetIsFavorite.Request @@ -11226,7 +11228,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.ListSetIsFavorite.Response @@ -11234,14 +11236,14 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ListSetIsFavorite.Response.Error](#anytype.Rpc.Object.ListSetIsFavorite.Response.Error) | | | +| error | [Rpc.Object.ListSetIsFavorite.Response.Error](#anytype-Rpc-Object-ListSetIsFavorite-Response-Error) | | | - + ### Rpc.Object.ListSetIsFavorite.Response.Error @@ -11249,7 +11251,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ListSetIsFavorite.Response.Error.Code](#anytype.Rpc.Object.ListSetIsFavorite.Response.Error.Code) | | | +| code | [Rpc.Object.ListSetIsFavorite.Response.Error.Code](#anytype-Rpc-Object-ListSetIsFavorite-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11257,7 +11259,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.Open @@ -11267,7 +11269,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.Open.Request @@ -11285,7 +11287,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.Open.Response @@ -11293,15 +11295,15 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Open.Response.Error](#anytype.Rpc.Object.Open.Response.Error) | | | -| objectView | [model.ObjectView](#anytype.model.ObjectView) | | | +| error | [Rpc.Object.Open.Response.Error](#anytype-Rpc-Object-Open-Response-Error) | | | +| objectView | [model.ObjectView](#anytype-model-ObjectView) | | | - + ### Rpc.Object.Open.Response.Error @@ -11309,7 +11311,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Open.Response.Error.Code](#anytype.Rpc.Object.Open.Response.Error.Code) | | | +| code | [Rpc.Object.Open.Response.Error.Code](#anytype-Rpc-Object-Open-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11317,7 +11319,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.OpenBreadcrumbs @@ -11327,7 +11329,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.OpenBreadcrumbs.Request @@ -11343,7 +11345,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.OpenBreadcrumbs.Response @@ -11351,17 +11353,17 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.OpenBreadcrumbs.Response.Error](#anytype.Rpc.Object.OpenBreadcrumbs.Response.Error) | | | +| error | [Rpc.Object.OpenBreadcrumbs.Response.Error](#anytype-Rpc-Object-OpenBreadcrumbs-Response-Error) | | | | objectId | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | -| objectView | [model.ObjectView](#anytype.model.ObjectView) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | +| objectView | [model.ObjectView](#anytype-model-ObjectView) | | | - + ### Rpc.Object.OpenBreadcrumbs.Response.Error @@ -11369,7 +11371,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.OpenBreadcrumbs.Response.Error.Code](#anytype.Rpc.Object.OpenBreadcrumbs.Response.Error.Code) | | | +| code | [Rpc.Object.OpenBreadcrumbs.Response.Error.Code](#anytype-Rpc-Object-OpenBreadcrumbs-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11377,7 +11379,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.Redo @@ -11387,7 +11389,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.Redo.Request @@ -11402,7 +11404,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.Redo.Response @@ -11410,16 +11412,16 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Redo.Response.Error](#anytype.Rpc.Object.Redo.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | -| counters | [Rpc.Object.UndoRedoCounter](#anytype.Rpc.Object.UndoRedoCounter) | | | +| error | [Rpc.Object.Redo.Response.Error](#anytype-Rpc-Object-Redo-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | +| counters | [Rpc.Object.UndoRedoCounter](#anytype-Rpc-Object-UndoRedoCounter) | | | - + ### Rpc.Object.Redo.Response.Error @@ -11427,7 +11429,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Redo.Response.Error.Code](#anytype.Rpc.Object.Redo.Response.Error.Code) | | | +| code | [Rpc.Object.Redo.Response.Error.Code](#anytype-Rpc-Object-Redo-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11435,7 +11437,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.Search @@ -11445,7 +11447,7 @@ Deletes the object, keys from the local store and unsubscribe from remote change - + ### Rpc.Object.Search.Request @@ -11453,14 +11455,14 @@ Deletes the object, keys from the local store and unsubscribe from remote change | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| filters | [model.Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) | repeated | | -| sorts | [model.Block.Content.Dataview.Sort](#anytype.model.Block.Content.Dataview.Sort) | repeated | | +| filters | [model.Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) | repeated | | +| sorts | [model.Block.Content.Dataview.Sort](#anytype-model-Block-Content-Dataview-Sort) | repeated | | | fullText | [string](#string) | | | | offset | [int32](#int32) | | | | limit | [int32](#int32) | | | | objectTypeFilter | [string](#string) | repeated | additional filter by objectTypes -deprecated, to be removed | +DEPRECATED | | keys | [string](#string) | repeated | needed keys in details for return, when empty - will return all | @@ -11468,7 +11470,7 @@ deprecated, to be removed | - + ### Rpc.Object.Search.Response @@ -11476,15 +11478,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Search.Response.Error](#anytype.Rpc.Object.Search.Response.Error) | | | -| records | [google.protobuf.Struct](#google.protobuf.Struct) | repeated | | +| error | [Rpc.Object.Search.Response.Error](#anytype-Rpc-Object-Search-Response-Error) | | | +| records | [google.protobuf.Struct](#google-protobuf-Struct) | repeated | | - + ### Rpc.Object.Search.Response.Error @@ -11492,7 +11494,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Search.Response.Error.Code](#anytype.Rpc.Object.Search.Response.Error.Code) | | | +| code | [Rpc.Object.Search.Response.Error.Code](#anytype-Rpc-Object-Search-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11500,7 +11502,7 @@ deprecated, to be removed | - + ### Rpc.Object.SearchSubscribe @@ -11510,7 +11512,7 @@ deprecated, to be removed | - + ### Rpc.Object.SearchSubscribe.Request @@ -11519,8 +11521,8 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | subId | [string](#string) | | (optional) subscription identifier client can provide some string or middleware will generate it automatically if subId is already registered on middleware, the new query will replace previous subscription | -| filters | [model.Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) | repeated | filters | -| sorts | [model.Block.Content.Dataview.Sort](#anytype.model.Block.Content.Dataview.Sort) | repeated | sorts | +| filters | [model.Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) | repeated | filters | +| sorts | [model.Block.Content.Dataview.Sort](#anytype-model-Block-Content-Dataview-Sort) | repeated | sorts | | limit | [int64](#int64) | | results limit | | offset | [int64](#int64) | | initial offset; middleware will find afterId | | keys | [string](#string) | repeated | (required) needed keys in details for return, for object fields mw will return (and subscribe) objects as dependent | @@ -11536,7 +11538,7 @@ deprecated, to be removed | - + ### Rpc.Object.SearchSubscribe.Response @@ -11544,18 +11546,18 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SearchSubscribe.Response.Error](#anytype.Rpc.Object.SearchSubscribe.Response.Error) | | | -| records | [google.protobuf.Struct](#google.protobuf.Struct) | repeated | | -| dependencies | [google.protobuf.Struct](#google.protobuf.Struct) | repeated | | +| error | [Rpc.Object.SearchSubscribe.Response.Error](#anytype-Rpc-Object-SearchSubscribe-Response-Error) | | | +| records | [google.protobuf.Struct](#google-protobuf-Struct) | repeated | | +| dependencies | [google.protobuf.Struct](#google-protobuf-Struct) | repeated | | | subId | [string](#string) | | | -| counters | [Event.Object.Subscription.Counters](#anytype.Event.Object.Subscription.Counters) | | | +| counters | [Event.Object.Subscription.Counters](#anytype-Event-Object-Subscription-Counters) | | | - + ### Rpc.Object.SearchSubscribe.Response.Error @@ -11563,7 +11565,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SearchSubscribe.Response.Error.Code](#anytype.Rpc.Object.SearchSubscribe.Response.Error.Code) | | | +| code | [Rpc.Object.SearchSubscribe.Response.Error.Code](#anytype-Rpc-Object-SearchSubscribe-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11571,7 +11573,7 @@ deprecated, to be removed | - + ### Rpc.Object.SearchUnsubscribe @@ -11581,7 +11583,7 @@ deprecated, to be removed | - + ### Rpc.Object.SearchUnsubscribe.Request @@ -11596,7 +11598,7 @@ deprecated, to be removed | - + ### Rpc.Object.SearchUnsubscribe.Response @@ -11604,14 +11606,14 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SearchUnsubscribe.Response.Error](#anytype.Rpc.Object.SearchUnsubscribe.Response.Error) | | | +| error | [Rpc.Object.SearchUnsubscribe.Response.Error](#anytype-Rpc-Object-SearchUnsubscribe-Response-Error) | | | - + ### Rpc.Object.SearchUnsubscribe.Response.Error @@ -11619,7 +11621,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SearchUnsubscribe.Response.Error.Code](#anytype.Rpc.Object.SearchUnsubscribe.Response.Error.Code) | | | +| code | [Rpc.Object.SearchUnsubscribe.Response.Error.Code](#anytype-Rpc-Object-SearchUnsubscribe-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11627,7 +11629,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetBreadcrumbs @@ -11637,7 +11639,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetBreadcrumbs.Request @@ -11653,7 +11655,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetBreadcrumbs.Response @@ -11661,15 +11663,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SetBreadcrumbs.Response.Error](#anytype.Rpc.Object.SetBreadcrumbs.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.SetBreadcrumbs.Response.Error](#anytype-Rpc-Object-SetBreadcrumbs-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.SetBreadcrumbs.Response.Error @@ -11677,7 +11679,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SetBreadcrumbs.Response.Error.Code](#anytype.Rpc.Object.SetBreadcrumbs.Response.Error.Code) | | | +| code | [Rpc.Object.SetBreadcrumbs.Response.Error.Code](#anytype-Rpc-Object-SetBreadcrumbs-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11685,7 +11687,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetDetails @@ -11695,7 +11697,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetDetails.Detail @@ -11704,14 +11706,14 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | key | [string](#string) | | | -| value | [google.protobuf.Value](#google.protobuf.Value) | | NUll - removes key | +| value | [google.protobuf.Value](#google-protobuf-Value) | | NUll - removes key | - + ### Rpc.Object.SetDetails.Request @@ -11720,14 +11722,14 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | -| details | [Rpc.Object.SetDetails.Detail](#anytype.Rpc.Object.SetDetails.Detail) | repeated | | +| details | [Rpc.Object.SetDetails.Detail](#anytype-Rpc-Object-SetDetails-Detail) | repeated | | - + ### Rpc.Object.SetDetails.Response @@ -11735,15 +11737,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SetDetails.Response.Error](#anytype.Rpc.Object.SetDetails.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.SetDetails.Response.Error](#anytype-Rpc-Object-SetDetails-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.SetDetails.Response.Error @@ -11751,7 +11753,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SetDetails.Response.Error.Code](#anytype.Rpc.Object.SetDetails.Response.Error.Code) | | | +| code | [Rpc.Object.SetDetails.Response.Error.Code](#anytype-Rpc-Object-SetDetails-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11759,7 +11761,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetInternalFlags @@ -11769,7 +11771,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetInternalFlags.Request @@ -11778,14 +11780,14 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | -| internalFlags | [model.InternalFlag](#anytype.model.InternalFlag) | repeated | | +| internalFlags | [model.InternalFlag](#anytype-model-InternalFlag) | repeated | | - + ### Rpc.Object.SetInternalFlags.Response @@ -11793,15 +11795,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SetInternalFlags.Response.Error](#anytype.Rpc.Object.SetInternalFlags.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.SetInternalFlags.Response.Error](#anytype-Rpc-Object-SetInternalFlags-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.SetInternalFlags.Response.Error @@ -11809,7 +11811,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SetInternalFlags.Response.Error.Code](#anytype.Rpc.Object.SetInternalFlags.Response.Error.Code) | | | +| code | [Rpc.Object.SetInternalFlags.Response.Error.Code](#anytype-Rpc-Object-SetInternalFlags-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11817,7 +11819,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetIsArchived @@ -11827,7 +11829,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetIsArchived.Request @@ -11843,7 +11845,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetIsArchived.Response @@ -11851,15 +11853,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SetIsArchived.Response.Error](#anytype.Rpc.Object.SetIsArchived.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.SetIsArchived.Response.Error](#anytype-Rpc-Object-SetIsArchived-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.SetIsArchived.Response.Error @@ -11867,7 +11869,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SetIsArchived.Response.Error.Code](#anytype.Rpc.Object.SetIsArchived.Response.Error.Code) | | | +| code | [Rpc.Object.SetIsArchived.Response.Error.Code](#anytype-Rpc-Object-SetIsArchived-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11875,7 +11877,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetIsFavorite @@ -11885,7 +11887,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetIsFavorite.Request @@ -11901,7 +11903,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetIsFavorite.Response @@ -11909,15 +11911,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SetIsFavorite.Response.Error](#anytype.Rpc.Object.SetIsFavorite.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.SetIsFavorite.Response.Error](#anytype-Rpc-Object-SetIsFavorite-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.SetIsFavorite.Response.Error @@ -11925,7 +11927,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SetIsFavorite.Response.Error.Code](#anytype.Rpc.Object.SetIsFavorite.Response.Error.Code) | | | +| code | [Rpc.Object.SetIsFavorite.Response.Error.Code](#anytype-Rpc-Object-SetIsFavorite-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11933,7 +11935,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetLayout @@ -11943,7 +11945,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetLayout.Request @@ -11952,14 +11954,14 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | contextId | [string](#string) | | | -| layout | [model.ObjectType.Layout](#anytype.model.ObjectType.Layout) | | | +| layout | [model.ObjectType.Layout](#anytype-model-ObjectType-Layout) | | | - + ### Rpc.Object.SetLayout.Response @@ -11967,15 +11969,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SetLayout.Response.Error](#anytype.Rpc.Object.SetLayout.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.SetLayout.Response.Error](#anytype-Rpc-Object-SetLayout-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.SetLayout.Response.Error @@ -11983,7 +11985,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SetLayout.Response.Error.Code](#anytype.Rpc.Object.SetLayout.Response.Error.Code) | | | +| code | [Rpc.Object.SetLayout.Response.Error.Code](#anytype-Rpc-Object-SetLayout-Response-Error-Code) | | | | description | [string](#string) | | | @@ -11991,7 +11993,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetObjectType @@ -12001,7 +12003,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetObjectType.Request @@ -12017,7 +12019,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetObjectType.Response @@ -12025,15 +12027,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SetObjectType.Response.Error](#anytype.Rpc.Object.SetObjectType.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.SetObjectType.Response.Error](#anytype-Rpc-Object-SetObjectType-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.SetObjectType.Response.Error @@ -12041,7 +12043,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SetObjectType.Response.Error.Code](#anytype.Rpc.Object.SetObjectType.Response.Error.Code) | | | +| code | [Rpc.Object.SetObjectType.Response.Error.Code](#anytype-Rpc-Object-SetObjectType-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12049,7 +12051,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetSource @@ -12059,7 +12061,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetSource.Request @@ -12075,7 +12077,7 @@ deprecated, to be removed | - + ### Rpc.Object.SetSource.Response @@ -12083,15 +12085,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SetSource.Response.Error](#anytype.Rpc.Object.SetSource.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.SetSource.Response.Error](#anytype-Rpc-Object-SetSource-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Object.SetSource.Response.Error @@ -12099,7 +12101,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SetSource.Response.Error.Code](#anytype.Rpc.Object.SetSource.Response.Error.Code) | | | +| code | [Rpc.Object.SetSource.Response.Error.Code](#anytype-Rpc-Object-SetSource-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12107,7 +12109,7 @@ deprecated, to be removed | - + ### Rpc.Object.ShareByLink @@ -12117,7 +12119,7 @@ deprecated, to be removed | - + ### Rpc.Object.ShareByLink.Request @@ -12132,7 +12134,7 @@ deprecated, to be removed | - + ### Rpc.Object.ShareByLink.Response @@ -12141,14 +12143,14 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | link | [string](#string) | | | -| error | [Rpc.Object.ShareByLink.Response.Error](#anytype.Rpc.Object.ShareByLink.Response.Error) | | | +| error | [Rpc.Object.ShareByLink.Response.Error](#anytype-Rpc-Object-ShareByLink-Response-Error) | | | - + ### Rpc.Object.ShareByLink.Response.Error @@ -12156,7 +12158,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ShareByLink.Response.Error.Code](#anytype.Rpc.Object.ShareByLink.Response.Error.Code) | | | +| code | [Rpc.Object.ShareByLink.Response.Error.Code](#anytype-Rpc-Object-ShareByLink-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12164,7 +12166,7 @@ deprecated, to be removed | - + ### Rpc.Object.Show @@ -12174,7 +12176,7 @@ deprecated, to be removed | - + ### Rpc.Object.Show.Request @@ -12192,7 +12194,7 @@ deprecated, to be removed | - + ### Rpc.Object.Show.Response @@ -12200,15 +12202,15 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Show.Response.Error](#anytype.Rpc.Object.Show.Response.Error) | | | -| objectView | [model.ObjectView](#anytype.model.ObjectView) | | | +| error | [Rpc.Object.Show.Response.Error](#anytype-Rpc-Object-Show-Response-Error) | | | +| objectView | [model.ObjectView](#anytype-model-ObjectView) | | | - + ### Rpc.Object.Show.Response.Error @@ -12216,7 +12218,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Show.Response.Error.Code](#anytype.Rpc.Object.Show.Response.Error.Code) | | | +| code | [Rpc.Object.Show.Response.Error.Code](#anytype-Rpc-Object-Show-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12224,7 +12226,7 @@ deprecated, to be removed | - + ### Rpc.Object.SubscribeIds @@ -12234,7 +12236,7 @@ deprecated, to be removed | - + ### Rpc.Object.SubscribeIds.Request @@ -12253,7 +12255,7 @@ deprecated, to be removed | - + ### Rpc.Object.SubscribeIds.Response @@ -12261,9 +12263,9 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.SubscribeIds.Response.Error](#anytype.Rpc.Object.SubscribeIds.Response.Error) | | | -| records | [google.protobuf.Struct](#google.protobuf.Struct) | repeated | | -| dependencies | [google.protobuf.Struct](#google.protobuf.Struct) | repeated | | +| error | [Rpc.Object.SubscribeIds.Response.Error](#anytype-Rpc-Object-SubscribeIds-Response-Error) | | | +| records | [google.protobuf.Struct](#google-protobuf-Struct) | repeated | | +| dependencies | [google.protobuf.Struct](#google-protobuf-Struct) | repeated | | | subId | [string](#string) | | | @@ -12271,7 +12273,7 @@ deprecated, to be removed | - + ### Rpc.Object.SubscribeIds.Response.Error @@ -12279,7 +12281,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.SubscribeIds.Response.Error.Code](#anytype.Rpc.Object.SubscribeIds.Response.Error.Code) | | | +| code | [Rpc.Object.SubscribeIds.Response.Error.Code](#anytype-Rpc-Object-SubscribeIds-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12287,7 +12289,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToBookmark @@ -12297,7 +12299,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToBookmark.Request @@ -12313,7 +12315,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToBookmark.Response @@ -12321,7 +12323,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ToBookmark.Response.Error](#anytype.Rpc.Object.ToBookmark.Response.Error) | | | +| error | [Rpc.Object.ToBookmark.Response.Error](#anytype-Rpc-Object-ToBookmark-Response-Error) | | | | objectId | [string](#string) | | | @@ -12329,7 +12331,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToBookmark.Response.Error @@ -12337,7 +12339,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ToBookmark.Response.Error.Code](#anytype.Rpc.Object.ToBookmark.Response.Error.Code) | | | +| code | [Rpc.Object.ToBookmark.Response.Error.Code](#anytype-Rpc-Object-ToBookmark-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12345,7 +12347,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToCollection @@ -12355,7 +12357,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToCollection.Request @@ -12370,7 +12372,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToCollection.Response @@ -12378,14 +12380,14 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ToCollection.Response.Error](#anytype.Rpc.Object.ToCollection.Response.Error) | | | +| error | [Rpc.Object.ToCollection.Response.Error](#anytype-Rpc-Object-ToCollection-Response-Error) | | | - + ### Rpc.Object.ToCollection.Response.Error @@ -12393,7 +12395,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ToCollection.Response.Error.Code](#anytype.Rpc.Object.ToCollection.Response.Error.Code) | | | +| code | [Rpc.Object.ToCollection.Response.Error.Code](#anytype-Rpc-Object-ToCollection-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12401,7 +12403,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToSet @@ -12411,7 +12413,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToSet.Request @@ -12427,7 +12429,7 @@ deprecated, to be removed | - + ### Rpc.Object.ToSet.Response @@ -12435,14 +12437,14 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.ToSet.Response.Error](#anytype.Rpc.Object.ToSet.Response.Error) | | | +| error | [Rpc.Object.ToSet.Response.Error](#anytype-Rpc-Object-ToSet-Response-Error) | | | - + ### Rpc.Object.ToSet.Response.Error @@ -12450,7 +12452,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.ToSet.Response.Error.Code](#anytype.Rpc.Object.ToSet.Response.Error.Code) | | | +| code | [Rpc.Object.ToSet.Response.Error.Code](#anytype-Rpc-Object-ToSet-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12458,7 +12460,7 @@ deprecated, to be removed | - + ### Rpc.Object.Undo @@ -12468,7 +12470,7 @@ deprecated, to be removed | - + ### Rpc.Object.Undo.Request @@ -12483,7 +12485,7 @@ deprecated, to be removed | - + ### Rpc.Object.Undo.Response @@ -12491,16 +12493,16 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.Undo.Response.Error](#anytype.Rpc.Object.Undo.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | -| counters | [Rpc.Object.UndoRedoCounter](#anytype.Rpc.Object.UndoRedoCounter) | | | +| error | [Rpc.Object.Undo.Response.Error](#anytype-Rpc-Object-Undo-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | +| counters | [Rpc.Object.UndoRedoCounter](#anytype-Rpc-Object-UndoRedoCounter) | | | - + ### Rpc.Object.Undo.Response.Error @@ -12508,7 +12510,7 @@ deprecated, to be removed | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.Undo.Response.Error.Code](#anytype.Rpc.Object.Undo.Response.Error.Code) | | | +| code | [Rpc.Object.Undo.Response.Error.Code](#anytype-Rpc-Object-Undo-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12516,7 +12518,7 @@ deprecated, to be removed | - + ### Rpc.Object.UndoRedoCounter Available undo/redo operations @@ -12532,7 +12534,7 @@ Available undo/redo operations - + ### Rpc.Object.WorkspaceSetDashboard @@ -12542,7 +12544,7 @@ Available undo/redo operations - + ### Rpc.Object.WorkspaceSetDashboard.Request @@ -12558,7 +12560,7 @@ Available undo/redo operations - + ### Rpc.Object.WorkspaceSetDashboard.Response @@ -12566,8 +12568,8 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Object.WorkspaceSetDashboard.Response.Error](#anytype.Rpc.Object.WorkspaceSetDashboard.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.Object.WorkspaceSetDashboard.Response.Error](#anytype-Rpc-Object-WorkspaceSetDashboard-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | | objectId | [string](#string) | | | @@ -12575,7 +12577,7 @@ Available undo/redo operations - + ### Rpc.Object.WorkspaceSetDashboard.Response.Error @@ -12583,7 +12585,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Object.WorkspaceSetDashboard.Response.Error.Code](#anytype.Rpc.Object.WorkspaceSetDashboard.Response.Error.Code) | | | +| code | [Rpc.Object.WorkspaceSetDashboard.Response.Error.Code](#anytype-Rpc-Object-WorkspaceSetDashboard-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12591,7 +12593,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection @@ -12601,7 +12603,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection.Add @@ -12611,7 +12613,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection.Add.Request @@ -12628,7 +12630,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection.Add.Response @@ -12636,15 +12638,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectCollection.Add.Response.Error](#anytype.Rpc.ObjectCollection.Add.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.ObjectCollection.Add.Response.Error](#anytype-Rpc-ObjectCollection-Add-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.ObjectCollection.Add.Response.Error @@ -12652,7 +12654,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectCollection.Add.Response.Error.Code](#anytype.Rpc.ObjectCollection.Add.Response.Error.Code) | | | +| code | [Rpc.ObjectCollection.Add.Response.Error.Code](#anytype-Rpc-ObjectCollection-Add-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12660,7 +12662,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection.Remove @@ -12670,7 +12672,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection.Remove.Request @@ -12686,7 +12688,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection.Remove.Response @@ -12694,15 +12696,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectCollection.Remove.Response.Error](#anytype.Rpc.ObjectCollection.Remove.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.ObjectCollection.Remove.Response.Error](#anytype-Rpc-ObjectCollection-Remove-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.ObjectCollection.Remove.Response.Error @@ -12710,7 +12712,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectCollection.Remove.Response.Error.Code](#anytype.Rpc.ObjectCollection.Remove.Response.Error.Code) | | | +| code | [Rpc.ObjectCollection.Remove.Response.Error.Code](#anytype-Rpc-ObjectCollection-Remove-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12718,7 +12720,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection.Sort @@ -12728,7 +12730,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection.Sort.Request @@ -12744,7 +12746,7 @@ Available undo/redo operations - + ### Rpc.ObjectCollection.Sort.Response @@ -12752,15 +12754,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectCollection.Sort.Response.Error](#anytype.Rpc.ObjectCollection.Sort.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.ObjectCollection.Sort.Response.Error](#anytype-Rpc-ObjectCollection-Sort-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.ObjectCollection.Sort.Response.Error @@ -12768,7 +12770,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectCollection.Sort.Response.Error.Code](#anytype.Rpc.ObjectCollection.Sort.Response.Error.Code) | | | +| code | [Rpc.ObjectCollection.Sort.Response.Error.Code](#anytype-Rpc-ObjectCollection-Sort-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12776,7 +12778,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation @@ -12786,7 +12788,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.Add @@ -12796,7 +12798,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.Add.Request @@ -12812,7 +12814,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.Add.Response @@ -12820,15 +12822,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectRelation.Add.Response.Error](#anytype.Rpc.ObjectRelation.Add.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.ObjectRelation.Add.Response.Error](#anytype-Rpc-ObjectRelation-Add-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.ObjectRelation.Add.Response.Error @@ -12836,7 +12838,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectRelation.Add.Response.Error.Code](#anytype.Rpc.ObjectRelation.Add.Response.Error.Code) | | | +| code | [Rpc.ObjectRelation.Add.Response.Error.Code](#anytype-Rpc-ObjectRelation-Add-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12844,7 +12846,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.AddFeatured @@ -12854,7 +12856,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.AddFeatured.Request @@ -12870,7 +12872,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.AddFeatured.Response @@ -12878,15 +12880,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectRelation.AddFeatured.Response.Error](#anytype.Rpc.ObjectRelation.AddFeatured.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.ObjectRelation.AddFeatured.Response.Error](#anytype-Rpc-ObjectRelation-AddFeatured-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.ObjectRelation.AddFeatured.Response.Error @@ -12894,7 +12896,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectRelation.AddFeatured.Response.Error.Code](#anytype.Rpc.ObjectRelation.AddFeatured.Response.Error.Code) | | | +| code | [Rpc.ObjectRelation.AddFeatured.Response.Error.Code](#anytype-Rpc-ObjectRelation-AddFeatured-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12902,7 +12904,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.Delete @@ -12912,7 +12914,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.Delete.Request @@ -12928,7 +12930,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.Delete.Response @@ -12936,15 +12938,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectRelation.Delete.Response.Error](#anytype.Rpc.ObjectRelation.Delete.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.ObjectRelation.Delete.Response.Error](#anytype-Rpc-ObjectRelation-Delete-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.ObjectRelation.Delete.Response.Error @@ -12952,7 +12954,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectRelation.Delete.Response.Error.Code](#anytype.Rpc.ObjectRelation.Delete.Response.Error.Code) | | | +| code | [Rpc.ObjectRelation.Delete.Response.Error.Code](#anytype-Rpc-ObjectRelation-Delete-Response-Error-Code) | | | | description | [string](#string) | | | @@ -12960,7 +12962,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.ListAvailable @@ -12970,7 +12972,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.ListAvailable.Request @@ -12985,7 +12987,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.ListAvailable.Response @@ -12993,15 +12995,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectRelation.ListAvailable.Response.Error](#anytype.Rpc.ObjectRelation.ListAvailable.Response.Error) | | | -| relations | [model.Relation](#anytype.model.Relation) | repeated | | +| error | [Rpc.ObjectRelation.ListAvailable.Response.Error](#anytype-Rpc-ObjectRelation-ListAvailable-Response-Error) | | | +| relations | [model.Relation](#anytype-model-Relation) | repeated | | - + ### Rpc.ObjectRelation.ListAvailable.Response.Error @@ -13009,7 +13011,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectRelation.ListAvailable.Response.Error.Code](#anytype.Rpc.ObjectRelation.ListAvailable.Response.Error.Code) | | | +| code | [Rpc.ObjectRelation.ListAvailable.Response.Error.Code](#anytype-Rpc-ObjectRelation-ListAvailable-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13017,7 +13019,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.RemoveFeatured @@ -13027,7 +13029,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.RemoveFeatured.Request @@ -13043,7 +13045,7 @@ Available undo/redo operations - + ### Rpc.ObjectRelation.RemoveFeatured.Response @@ -13051,15 +13053,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectRelation.RemoveFeatured.Response.Error](#anytype.Rpc.ObjectRelation.RemoveFeatured.Response.Error) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| error | [Rpc.ObjectRelation.RemoveFeatured.Response.Error](#anytype-Rpc-ObjectRelation-RemoveFeatured-Response-Error) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.ObjectRelation.RemoveFeatured.Response.Error @@ -13067,7 +13069,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectRelation.RemoveFeatured.Response.Error.Code](#anytype.Rpc.ObjectRelation.RemoveFeatured.Response.Error.Code) | | | +| code | [Rpc.ObjectRelation.RemoveFeatured.Response.Error.Code](#anytype-Rpc-ObjectRelation-RemoveFeatured-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13075,7 +13077,7 @@ Available undo/redo operations - + ### Rpc.ObjectType @@ -13085,7 +13087,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation @@ -13095,7 +13097,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation.Add @@ -13105,7 +13107,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation.Add.Request @@ -13121,7 +13123,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation.Add.Response @@ -13129,15 +13131,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectType.Relation.Add.Response.Error](#anytype.Rpc.ObjectType.Relation.Add.Response.Error) | | | -| relations | [model.Relation](#anytype.model.Relation) | repeated | | +| error | [Rpc.ObjectType.Relation.Add.Response.Error](#anytype-Rpc-ObjectType-Relation-Add-Response-Error) | | | +| relations | [model.Relation](#anytype-model-Relation) | repeated | | - + ### Rpc.ObjectType.Relation.Add.Response.Error @@ -13145,7 +13147,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectType.Relation.Add.Response.Error.Code](#anytype.Rpc.ObjectType.Relation.Add.Response.Error.Code) | | | +| code | [Rpc.ObjectType.Relation.Add.Response.Error.Code](#anytype-Rpc-ObjectType-Relation-Add-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13153,7 +13155,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation.List @@ -13163,7 +13165,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation.List.Request @@ -13179,7 +13181,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation.List.Response @@ -13187,15 +13189,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectType.Relation.List.Response.Error](#anytype.Rpc.ObjectType.Relation.List.Response.Error) | | | -| relations | [model.RelationLink](#anytype.model.RelationLink) | repeated | | +| error | [Rpc.ObjectType.Relation.List.Response.Error](#anytype-Rpc-ObjectType-Relation-List-Response-Error) | | | +| relations | [model.RelationLink](#anytype-model-RelationLink) | repeated | | - + ### Rpc.ObjectType.Relation.List.Response.Error @@ -13203,7 +13205,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectType.Relation.List.Response.Error.Code](#anytype.Rpc.ObjectType.Relation.List.Response.Error.Code) | | | +| code | [Rpc.ObjectType.Relation.List.Response.Error.Code](#anytype-Rpc-ObjectType-Relation-List-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13211,7 +13213,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation.Remove @@ -13221,7 +13223,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation.Remove.Request @@ -13237,7 +13239,7 @@ Available undo/redo operations - + ### Rpc.ObjectType.Relation.Remove.Response @@ -13245,14 +13247,14 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.ObjectType.Relation.Remove.Response.Error](#anytype.Rpc.ObjectType.Relation.Remove.Response.Error) | | | +| error | [Rpc.ObjectType.Relation.Remove.Response.Error](#anytype-Rpc-ObjectType-Relation-Remove-Response-Error) | | | - + ### Rpc.ObjectType.Relation.Remove.Response.Error @@ -13260,7 +13262,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.ObjectType.Relation.Remove.Response.Error.Code](#anytype.Rpc.ObjectType.Relation.Remove.Response.Error.Code) | | | +| code | [Rpc.ObjectType.Relation.Remove.Response.Error.Code](#anytype-Rpc-ObjectType-Relation-Remove-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13268,7 +13270,7 @@ Available undo/redo operations - + ### Rpc.Process @@ -13278,7 +13280,7 @@ Available undo/redo operations - + ### Rpc.Process.Cancel @@ -13288,7 +13290,7 @@ Available undo/redo operations - + ### Rpc.Process.Cancel.Request @@ -13303,7 +13305,7 @@ Available undo/redo operations - + ### Rpc.Process.Cancel.Response @@ -13311,14 +13313,14 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Process.Cancel.Response.Error](#anytype.Rpc.Process.Cancel.Response.Error) | | | +| error | [Rpc.Process.Cancel.Response.Error](#anytype-Rpc-Process-Cancel-Response-Error) | | | - + ### Rpc.Process.Cancel.Response.Error @@ -13326,7 +13328,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Process.Cancel.Response.Error.Code](#anytype.Rpc.Process.Cancel.Response.Error.Code) | | | +| code | [Rpc.Process.Cancel.Response.Error.Code](#anytype-Rpc-Process-Cancel-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13334,7 +13336,7 @@ Available undo/redo operations - + ### Rpc.Relation @@ -13344,7 +13346,7 @@ Available undo/redo operations - + ### Rpc.Relation.ListRemoveOption @@ -13354,7 +13356,7 @@ Available undo/redo operations - + ### Rpc.Relation.ListRemoveOption.Request @@ -13370,7 +13372,7 @@ Available undo/redo operations - + ### Rpc.Relation.ListRemoveOption.Response @@ -13378,14 +13380,14 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Relation.ListRemoveOption.Response.Error](#anytype.Rpc.Relation.ListRemoveOption.Response.Error) | | | +| error | [Rpc.Relation.ListRemoveOption.Response.Error](#anytype-Rpc-Relation-ListRemoveOption-Response-Error) | | | - + ### Rpc.Relation.ListRemoveOption.Response.Error @@ -13393,7 +13395,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Relation.ListRemoveOption.Response.Error.Code](#anytype.Rpc.Relation.ListRemoveOption.Response.Error.Code) | | | +| code | [Rpc.Relation.ListRemoveOption.Response.Error.Code](#anytype-Rpc-Relation-ListRemoveOption-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13401,7 +13403,7 @@ Available undo/redo operations - + ### Rpc.Relation.Options @@ -13411,7 +13413,7 @@ Available undo/redo operations - + ### Rpc.Relation.Options.Request @@ -13426,7 +13428,7 @@ Available undo/redo operations - + ### Rpc.Relation.Options.Response @@ -13434,15 +13436,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Relation.Options.Response.Error](#anytype.Rpc.Relation.Options.Response.Error) | | | -| options | [model.RelationOptions](#anytype.model.RelationOptions) | | | +| error | [Rpc.Relation.Options.Response.Error](#anytype-Rpc-Relation-Options-Response-Error) | | | +| options | [model.RelationOptions](#anytype-model-RelationOptions) | | | - + ### Rpc.Relation.Options.Response.Error @@ -13450,7 +13452,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Relation.Options.Response.Error.Code](#anytype.Rpc.Relation.Options.Response.Error.Code) | | | +| code | [Rpc.Relation.Options.Response.Error.Code](#anytype-Rpc-Relation-Options-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13458,7 +13460,7 @@ Available undo/redo operations - + ### Rpc.Template @@ -13468,7 +13470,7 @@ Available undo/redo operations - + ### Rpc.Template.Clone @@ -13478,7 +13480,7 @@ Available undo/redo operations - + ### Rpc.Template.Clone.Request @@ -13493,7 +13495,7 @@ Available undo/redo operations - + ### Rpc.Template.Clone.Response @@ -13501,7 +13503,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Template.Clone.Response.Error](#anytype.Rpc.Template.Clone.Response.Error) | | | +| error | [Rpc.Template.Clone.Response.Error](#anytype-Rpc-Template-Clone-Response-Error) | | | | id | [string](#string) | | created template id | @@ -13509,7 +13511,7 @@ Available undo/redo operations - + ### Rpc.Template.Clone.Response.Error @@ -13517,7 +13519,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Template.Clone.Response.Error.Code](#anytype.Rpc.Template.Clone.Response.Error.Code) | | | +| code | [Rpc.Template.Clone.Response.Error.Code](#anytype-Rpc-Template-Clone-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13525,7 +13527,7 @@ Available undo/redo operations - + ### Rpc.Template.CreateFromObject @@ -13535,7 +13537,7 @@ Available undo/redo operations - + ### Rpc.Template.CreateFromObject.Request @@ -13550,7 +13552,7 @@ Available undo/redo operations - + ### Rpc.Template.CreateFromObject.Response @@ -13558,7 +13560,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Template.CreateFromObject.Response.Error](#anytype.Rpc.Template.CreateFromObject.Response.Error) | | | +| error | [Rpc.Template.CreateFromObject.Response.Error](#anytype-Rpc-Template-CreateFromObject-Response-Error) | | | | id | [string](#string) | | created template id | @@ -13566,7 +13568,7 @@ Available undo/redo operations - + ### Rpc.Template.CreateFromObject.Response.Error @@ -13574,7 +13576,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Template.CreateFromObject.Response.Error.Code](#anytype.Rpc.Template.CreateFromObject.Response.Error.Code) | | | +| code | [Rpc.Template.CreateFromObject.Response.Error.Code](#anytype-Rpc-Template-CreateFromObject-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13582,7 +13584,7 @@ Available undo/redo operations - + ### Rpc.Template.CreateFromObjectType @@ -13592,7 +13594,7 @@ Available undo/redo operations - + ### Rpc.Template.CreateFromObjectType.Request @@ -13607,7 +13609,7 @@ Available undo/redo operations - + ### Rpc.Template.CreateFromObjectType.Response @@ -13615,7 +13617,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Template.CreateFromObjectType.Response.Error](#anytype.Rpc.Template.CreateFromObjectType.Response.Error) | | | +| error | [Rpc.Template.CreateFromObjectType.Response.Error](#anytype-Rpc-Template-CreateFromObjectType-Response-Error) | | | | id | [string](#string) | | created template id | @@ -13623,7 +13625,7 @@ Available undo/redo operations - + ### Rpc.Template.CreateFromObjectType.Response.Error @@ -13631,7 +13633,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Template.CreateFromObjectType.Response.Error.Code](#anytype.Rpc.Template.CreateFromObjectType.Response.Error.Code) | | | +| code | [Rpc.Template.CreateFromObjectType.Response.Error.Code](#anytype-Rpc-Template-CreateFromObjectType-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13639,7 +13641,7 @@ Available undo/redo operations - + ### Rpc.Template.ExportAll @@ -13649,7 +13651,7 @@ Available undo/redo operations - + ### Rpc.Template.ExportAll.Request @@ -13664,7 +13666,7 @@ Available undo/redo operations - + ### Rpc.Template.ExportAll.Response @@ -13672,16 +13674,16 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Template.ExportAll.Response.Error](#anytype.Rpc.Template.ExportAll.Response.Error) | | | +| error | [Rpc.Template.ExportAll.Response.Error](#anytype-Rpc-Template-ExportAll-Response-Error) | | | | path | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Template.ExportAll.Response.Error @@ -13689,7 +13691,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Template.ExportAll.Response.Error.Code](#anytype.Rpc.Template.ExportAll.Response.Error.Code) | | | +| code | [Rpc.Template.ExportAll.Response.Error.Code](#anytype-Rpc-Template-ExportAll-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13697,7 +13699,7 @@ Available undo/redo operations - + ### Rpc.Unsplash @@ -13707,7 +13709,7 @@ Available undo/redo operations - + ### Rpc.Unsplash.Download @@ -13717,7 +13719,7 @@ Available undo/redo operations - + ### Rpc.Unsplash.Download.Request @@ -13732,7 +13734,7 @@ Available undo/redo operations - + ### Rpc.Unsplash.Download.Response @@ -13740,7 +13742,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Unsplash.Download.Response.Error](#anytype.Rpc.Unsplash.Download.Response.Error) | | | +| error | [Rpc.Unsplash.Download.Response.Error](#anytype-Rpc-Unsplash-Download-Response-Error) | | | | hash | [string](#string) | | | @@ -13748,7 +13750,7 @@ Available undo/redo operations - + ### Rpc.Unsplash.Download.Response.Error @@ -13756,7 +13758,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Unsplash.Download.Response.Error.Code](#anytype.Rpc.Unsplash.Download.Response.Error.Code) | | | +| code | [Rpc.Unsplash.Download.Response.Error.Code](#anytype-Rpc-Unsplash-Download-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13764,7 +13766,7 @@ Available undo/redo operations - + ### Rpc.Unsplash.Search @@ -13774,7 +13776,7 @@ Available undo/redo operations - + ### Rpc.Unsplash.Search.Request @@ -13790,7 +13792,7 @@ Available undo/redo operations - + ### Rpc.Unsplash.Search.Response @@ -13798,15 +13800,15 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Unsplash.Search.Response.Error](#anytype.Rpc.Unsplash.Search.Response.Error) | | | -| pictures | [Rpc.Unsplash.Search.Response.Picture](#anytype.Rpc.Unsplash.Search.Response.Picture) | repeated | | +| error | [Rpc.Unsplash.Search.Response.Error](#anytype-Rpc-Unsplash-Search-Response-Error) | | | +| pictures | [Rpc.Unsplash.Search.Response.Picture](#anytype-Rpc-Unsplash-Search-Response-Picture) | repeated | | - + ### Rpc.Unsplash.Search.Response.Error @@ -13814,7 +13816,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Unsplash.Search.Response.Error.Code](#anytype.Rpc.Unsplash.Search.Response.Error.Code) | | | +| code | [Rpc.Unsplash.Search.Response.Error.Code](#anytype-Rpc-Unsplash-Search-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13822,7 +13824,7 @@ Available undo/redo operations - + ### Rpc.Unsplash.Search.Response.Picture @@ -13840,7 +13842,7 @@ Available undo/redo operations - + ### Rpc.UserData @@ -13850,7 +13852,7 @@ Available undo/redo operations - + ### Rpc.UserData.Dump @@ -13860,7 +13862,7 @@ Available undo/redo operations - + ### Rpc.UserData.Dump.Request @@ -13875,7 +13877,7 @@ Available undo/redo operations - + ### Rpc.UserData.Dump.Response @@ -13883,14 +13885,14 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.UserData.Dump.Response.Error](#anytype.Rpc.UserData.Dump.Response.Error) | | | +| error | [Rpc.UserData.Dump.Response.Error](#anytype-Rpc-UserData-Dump-Response-Error) | | | - + ### Rpc.UserData.Dump.Response.Error @@ -13898,7 +13900,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.UserData.Dump.Response.Error.Code](#anytype.Rpc.UserData.Dump.Response.Error.Code) | | | +| code | [Rpc.UserData.Dump.Response.Error.Code](#anytype-Rpc-UserData-Dump-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13906,7 +13908,7 @@ Available undo/redo operations - + ### Rpc.Wallet @@ -13916,7 +13918,7 @@ Available undo/redo operations - + ### Rpc.Wallet.CloseSession @@ -13926,7 +13928,7 @@ Available undo/redo operations - + ### Rpc.Wallet.CloseSession.Request @@ -13941,7 +13943,7 @@ Available undo/redo operations - + ### Rpc.Wallet.CloseSession.Response @@ -13949,14 +13951,14 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Wallet.CloseSession.Response.Error](#anytype.Rpc.Wallet.CloseSession.Response.Error) | | | +| error | [Rpc.Wallet.CloseSession.Response.Error](#anytype-Rpc-Wallet-CloseSession-Response-Error) | | | - + ### Rpc.Wallet.CloseSession.Response.Error @@ -13964,7 +13966,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Wallet.CloseSession.Response.Error.Code](#anytype.Rpc.Wallet.CloseSession.Response.Error.Code) | | | +| code | [Rpc.Wallet.CloseSession.Response.Error.Code](#anytype-Rpc-Wallet-CloseSession-Response-Error-Code) | | | | description | [string](#string) | | | @@ -13972,7 +13974,7 @@ Available undo/redo operations - + ### Rpc.Wallet.Convert @@ -13982,7 +13984,7 @@ Available undo/redo operations - + ### Rpc.Wallet.Convert.Request @@ -13998,7 +14000,7 @@ Available undo/redo operations - + ### Rpc.Wallet.Convert.Response @@ -14006,7 +14008,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Wallet.Convert.Response.Error](#anytype.Rpc.Wallet.Convert.Response.Error) | | Error while trying to recover a wallet | +| error | [Rpc.Wallet.Convert.Response.Error](#anytype-Rpc-Wallet-Convert-Response-Error) | | Error while trying to recover a wallet | | entropy | [string](#string) | | | | mnemonic | [string](#string) | | | @@ -14015,7 +14017,7 @@ Available undo/redo operations - + ### Rpc.Wallet.Convert.Response.Error @@ -14023,7 +14025,7 @@ Available undo/redo operations | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Wallet.Convert.Response.Error.Code](#anytype.Rpc.Wallet.Convert.Response.Error.Code) | | | +| code | [Rpc.Wallet.Convert.Response.Error.Code](#anytype-Rpc-Wallet-Convert-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14031,7 +14033,7 @@ Available undo/redo operations - + ### Rpc.Wallet.Create @@ -14041,7 +14043,7 @@ Available undo/redo operations - + ### Rpc.Wallet.Create.Request Front-end-to-middleware request to create a new wallet @@ -14056,7 +14058,7 @@ Front-end-to-middleware request to create a new wallet - + ### Rpc.Wallet.Create.Response Middleware-to-front-end response, that can contain mnemonic of a created account and a NULL error or an empty mnemonic and a non-NULL error @@ -14064,7 +14066,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Wallet.Create.Response.Error](#anytype.Rpc.Wallet.Create.Response.Error) | | | +| error | [Rpc.Wallet.Create.Response.Error](#anytype-Rpc-Wallet-Create-Response-Error) | | | | mnemonic | [string](#string) | | Mnemonic of a new account (sequence of words, divided by spaces) | @@ -14072,7 +14074,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account - + ### Rpc.Wallet.Create.Response.Error @@ -14080,7 +14082,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Wallet.Create.Response.Error.Code](#anytype.Rpc.Wallet.Create.Response.Error.Code) | | | +| code | [Rpc.Wallet.Create.Response.Error.Code](#anytype-Rpc-Wallet-Create-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14088,7 +14090,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account - + ### Rpc.Wallet.CreateSession @@ -14098,7 +14100,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account - + ### Rpc.Wallet.CreateSession.Request @@ -14113,7 +14115,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account - + ### Rpc.Wallet.CreateSession.Response @@ -14121,7 +14123,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Wallet.CreateSession.Response.Error](#anytype.Rpc.Wallet.CreateSession.Response.Error) | | | +| error | [Rpc.Wallet.CreateSession.Response.Error](#anytype-Rpc-Wallet-CreateSession-Response-Error) | | | | token | [string](#string) | | | @@ -14129,7 +14131,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account - + ### Rpc.Wallet.CreateSession.Response.Error @@ -14137,7 +14139,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Wallet.CreateSession.Response.Error.Code](#anytype.Rpc.Wallet.CreateSession.Response.Error.Code) | | | +| code | [Rpc.Wallet.CreateSession.Response.Error.Code](#anytype-Rpc-Wallet-CreateSession-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14145,7 +14147,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account - + ### Rpc.Wallet.Recover @@ -14155,7 +14157,7 @@ Middleware-to-front-end response, that can contain mnemonic of a created account - + ### Rpc.Wallet.Recover.Request Front end to middleware request-to-recover-a wallet with this mnemonic and a rootPath @@ -14171,7 +14173,7 @@ Front end to middleware request-to-recover-a wallet with this mnemonic and a roo - + ### Rpc.Wallet.Recover.Response Middleware-to-front-end response, that can contain a NULL error or a non-NULL error @@ -14179,14 +14181,14 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Wallet.Recover.Response.Error](#anytype.Rpc.Wallet.Recover.Response.Error) | | Error while trying to recover a wallet | +| error | [Rpc.Wallet.Recover.Response.Error](#anytype-Rpc-Wallet-Recover-Response-Error) | | Error while trying to recover a wallet | - + ### Rpc.Wallet.Recover.Response.Error @@ -14194,7 +14196,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Wallet.Recover.Response.Error.Code](#anytype.Rpc.Wallet.Recover.Response.Error.Code) | | | +| code | [Rpc.Wallet.Recover.Response.Error.Code](#anytype-Rpc-Wallet-Recover-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14202,7 +14204,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace @@ -14212,7 +14214,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Create @@ -14222,7 +14224,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Create.Request @@ -14237,7 +14239,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Create.Response @@ -14245,7 +14247,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Workspace.Create.Response.Error](#anytype.Rpc.Workspace.Create.Response.Error) | | | +| error | [Rpc.Workspace.Create.Response.Error](#anytype-Rpc-Workspace-Create-Response-Error) | | | | workspaceId | [string](#string) | | | @@ -14253,7 +14255,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Create.Response.Error @@ -14261,7 +14263,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Workspace.Create.Response.Error.Code](#anytype.Rpc.Workspace.Create.Response.Error.Code) | | | +| code | [Rpc.Workspace.Create.Response.Error.Code](#anytype-Rpc-Workspace-Create-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14269,7 +14271,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Export @@ -14279,7 +14281,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Export.Request @@ -14295,7 +14297,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Export.Response @@ -14303,16 +14305,16 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Workspace.Export.Response.Error](#anytype.Rpc.Workspace.Export.Response.Error) | | | +| error | [Rpc.Workspace.Export.Response.Error](#anytype-Rpc-Workspace-Export-Response-Error) | | | | path | [string](#string) | | | -| event | [ResponseEvent](#anytype.ResponseEvent) | | | +| event | [ResponseEvent](#anytype-ResponseEvent) | | | - + ### Rpc.Workspace.Export.Response.Error @@ -14320,7 +14322,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Workspace.Export.Response.Error.Code](#anytype.Rpc.Workspace.Export.Response.Error.Code) | | | +| code | [Rpc.Workspace.Export.Response.Error.Code](#anytype-Rpc-Workspace-Export-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14328,7 +14330,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetAll @@ -14338,7 +14340,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetAll.Request @@ -14348,7 +14350,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetAll.Response @@ -14356,7 +14358,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Workspace.GetAll.Response.Error](#anytype.Rpc.Workspace.GetAll.Response.Error) | | | +| error | [Rpc.Workspace.GetAll.Response.Error](#anytype-Rpc-Workspace-GetAll-Response-Error) | | | | workspaceIds | [string](#string) | repeated | | @@ -14364,7 +14366,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetAll.Response.Error @@ -14372,7 +14374,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Workspace.GetAll.Response.Error.Code](#anytype.Rpc.Workspace.GetAll.Response.Error.Code) | | | +| code | [Rpc.Workspace.GetAll.Response.Error.Code](#anytype-Rpc-Workspace-GetAll-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14380,7 +14382,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetCurrent @@ -14390,7 +14392,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetCurrent.Request @@ -14400,7 +14402,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetCurrent.Response @@ -14408,7 +14410,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Workspace.GetCurrent.Response.Error](#anytype.Rpc.Workspace.GetCurrent.Response.Error) | | | +| error | [Rpc.Workspace.GetCurrent.Response.Error](#anytype-Rpc-Workspace-GetCurrent-Response-Error) | | | | workspaceId | [string](#string) | | | @@ -14416,7 +14418,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetCurrent.Response.Error @@ -14424,7 +14426,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Workspace.GetCurrent.Response.Error.Code](#anytype.Rpc.Workspace.GetCurrent.Response.Error.Code) | | | +| code | [Rpc.Workspace.GetCurrent.Response.Error.Code](#anytype-Rpc-Workspace-GetCurrent-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14432,7 +14434,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object @@ -14442,7 +14444,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.Add @@ -14452,7 +14454,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.Add.Request @@ -14467,7 +14469,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.Add.Response @@ -14475,16 +14477,16 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Workspace.Object.Add.Response.Error](#anytype.Rpc.Workspace.Object.Add.Response.Error) | | | +| error | [Rpc.Workspace.Object.Add.Response.Error](#anytype-Rpc-Workspace-Object-Add-Response-Error) | | | | objectId | [string](#string) | | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Rpc.Workspace.Object.Add.Response.Error @@ -14492,7 +14494,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Workspace.Object.Add.Response.Error.Code](#anytype.Rpc.Workspace.Object.Add.Response.Error.Code) | | | +| code | [Rpc.Workspace.Object.Add.Response.Error.Code](#anytype-Rpc-Workspace-Object-Add-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14500,7 +14502,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListAdd @@ -14510,7 +14512,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListAdd.Request @@ -14525,7 +14527,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListAdd.Response @@ -14533,7 +14535,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Workspace.Object.ListAdd.Response.Error](#anytype.Rpc.Workspace.Object.ListAdd.Response.Error) | | | +| error | [Rpc.Workspace.Object.ListAdd.Response.Error](#anytype-Rpc-Workspace-Object-ListAdd-Response-Error) | | | | objectIds | [string](#string) | repeated | | @@ -14541,7 +14543,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListAdd.Response.Error @@ -14549,7 +14551,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Workspace.Object.ListAdd.Response.Error.Code](#anytype.Rpc.Workspace.Object.ListAdd.Response.Error.Code) | | | +| code | [Rpc.Workspace.Object.ListAdd.Response.Error.Code](#anytype-Rpc-Workspace-Object-ListAdd-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14557,7 +14559,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListRemove @@ -14567,7 +14569,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListRemove.Request @@ -14582,7 +14584,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListRemove.Response @@ -14590,7 +14592,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Workspace.Object.ListRemove.Response.Error](#anytype.Rpc.Workspace.Object.ListRemove.Response.Error) | | | +| error | [Rpc.Workspace.Object.ListRemove.Response.Error](#anytype-Rpc-Workspace-Object-ListRemove-Response-Error) | | | | ids | [string](#string) | repeated | | @@ -14598,7 +14600,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListRemove.Response.Error @@ -14606,7 +14608,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Workspace.Object.ListRemove.Response.Error.Code](#anytype.Rpc.Workspace.Object.ListRemove.Response.Error.Code) | | | +| code | [Rpc.Workspace.Object.ListRemove.Response.Error.Code](#anytype-Rpc-Workspace-Object-ListRemove-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14614,7 +14616,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Select @@ -14624,7 +14626,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Select.Request @@ -14639,7 +14641,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Select.Response @@ -14647,14 +14649,14 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Workspace.Select.Response.Error](#anytype.Rpc.Workspace.Select.Response.Error) | | | +| error | [Rpc.Workspace.Select.Response.Error](#anytype-Rpc-Workspace-Select-Response-Error) | | | - + ### Rpc.Workspace.Select.Response.Error @@ -14662,7 +14664,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Workspace.Select.Response.Error.Code](#anytype.Rpc.Workspace.Select.Response.Error.Code) | | | +| code | [Rpc.Workspace.Select.Response.Error.Code](#anytype-Rpc-Workspace-Select-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14670,7 +14672,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.SetIsHighlighted @@ -14680,7 +14682,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.SetIsHighlighted.Request @@ -14696,7 +14698,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.SetIsHighlighted.Response @@ -14704,14 +14706,14 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| error | [Rpc.Workspace.SetIsHighlighted.Response.Error](#anytype.Rpc.Workspace.SetIsHighlighted.Response.Error) | | | +| error | [Rpc.Workspace.SetIsHighlighted.Response.Error](#anytype-Rpc-Workspace-SetIsHighlighted-Response-Error) | | | - + ### Rpc.Workspace.SetIsHighlighted.Response.Error @@ -14719,7 +14721,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| code | [Rpc.Workspace.SetIsHighlighted.Response.Error.Code](#anytype.Rpc.Workspace.SetIsHighlighted.Response.Error.Code) | | | +| code | [Rpc.Workspace.SetIsHighlighted.Response.Error.Code](#anytype-Rpc-Workspace-SetIsHighlighted-Response-Error-Code) | | | | description | [string](#string) | | | @@ -14727,7 +14729,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### StreamRequest @@ -14744,7 +14746,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Account.ConfigUpdate.Response.Error.Code @@ -14760,7 +14762,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Account.ConfigUpdate.Timezones @@ -14798,7 +14800,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Account.Create.Response.Error.Code @@ -14821,7 +14823,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Account.Delete.Response.Error.Code @@ -14836,7 +14838,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Account.Move.Response.Error.Code @@ -14855,7 +14857,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Account.Recover.Response.Error.Code @@ -14876,7 +14878,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Account.RecoverFromLegacyExport.Response.Error.Code @@ -14890,7 +14892,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Account.Select.Response.Error.Code @@ -14913,7 +14915,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Account.Stop.Response.Error.Code @@ -14929,7 +14931,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.App.GetVersion.Response.Error.Code @@ -14945,7 +14947,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.App.SetDeviceState.Request.DeviceState @@ -14957,7 +14959,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.App.SetDeviceState.Response.Error.Code @@ -14971,7 +14973,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.App.Shutdown.Response.Error.Code @@ -14985,7 +14987,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Copy.Response.Error.Code @@ -14998,7 +15000,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Create.Response.Error.Code @@ -15011,7 +15013,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.CreateWidget.Response.Error.Code @@ -15024,7 +15026,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Cut.Response.Error.Code @@ -15037,7 +15039,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Download.Response.Error.Code @@ -15050,7 +15052,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Export.Response.Error.Code @@ -15063,7 +15065,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListConvertToObjects.Response.Error.Code @@ -15076,7 +15078,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListDelete.Response.Error.Code @@ -15089,7 +15091,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListDuplicate.Response.Error.Code @@ -15102,7 +15104,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListMoveToExistingObject.Response.Error.Code @@ -15115,7 +15117,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListMoveToNewObject.Response.Error.Code @@ -15128,7 +15130,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListSetAlign.Response.Error.Code @@ -15141,7 +15143,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListSetBackgroundColor.Response.Error.Code @@ -15154,7 +15156,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListSetFields.Response.Error.Code @@ -15167,7 +15169,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListSetVerticalAlign.Response.Error.Code @@ -15180,7 +15182,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.ListTurnInto.Response.Error.Code @@ -15193,7 +15195,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Merge.Response.Error.Code @@ -15206,7 +15208,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Paste.Response.Error.Code @@ -15219,7 +15221,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Replace.Response.Error.Code @@ -15232,7 +15234,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.SetFields.Response.Error.Code @@ -15245,7 +15247,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Split.Request.Mode @@ -15259,7 +15261,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Split.Response.Error.Code @@ -15272,7 +15274,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Block.Upload.Response.Error.Code @@ -15285,7 +15287,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockBookmark.CreateAndFetch.Response.Error.Code @@ -15298,7 +15300,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockBookmark.Fetch.Response.Error.Code @@ -15311,7 +15313,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.CreateBookmark.Response.Error.Code @@ -15324,7 +15326,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.CreateFromExistingObject.Response.Error.Code @@ -15337,7 +15339,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Filter.Add.Response.Error.Code @@ -15350,7 +15352,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Filter.Remove.Response.Error.Code @@ -15363,7 +15365,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Filter.Replace.Response.Error.Code @@ -15376,7 +15378,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Filter.Sort.Response.Error.Code @@ -15389,7 +15391,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.GroupOrder.Update.Response.Error.Code @@ -15402,7 +15404,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.ObjectOrder.Move.Response.Error.Code @@ -15415,7 +15417,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.ObjectOrder.Update.Response.Error.Code @@ -15428,7 +15430,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Relation.Add.Response.Error.Code @@ -15441,7 +15443,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Relation.Delete.Response.Error.Code @@ -15454,7 +15456,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Relation.ListAvailable.Response.Error.Code @@ -15468,7 +15470,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.SetSource.Response.Error.Code @@ -15481,7 +15483,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Sort.Add.Response.Error.Code @@ -15494,7 +15496,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Sort.Remove.Response.Error.Code @@ -15507,7 +15509,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Sort.Replace.Response.Error.Code @@ -15520,7 +15522,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.Sort.Sort.Response.Error.Code @@ -15533,7 +15535,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.View.Create.Response.Error.Code @@ -15546,7 +15548,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.View.Delete.Response.Error.Code @@ -15559,7 +15561,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.View.SetActive.Response.Error.Code @@ -15572,7 +15574,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.View.SetPosition.Response.Error.Code @@ -15585,7 +15587,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.View.Update.Response.Error.Code @@ -15598,7 +15600,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.ViewRelation.Add.Response.Error.Code @@ -15611,7 +15613,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.ViewRelation.Remove.Response.Error.Code @@ -15624,7 +15626,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.ViewRelation.Replace.Response.Error.Code @@ -15637,7 +15639,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDataview.ViewRelation.Sort.Response.Error.Code @@ -15650,7 +15652,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockDiv.ListSetStyle.Response.Error.Code @@ -15663,7 +15665,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockFile.CreateAndUpload.Response.Error.Code @@ -15676,7 +15678,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockFile.ListSetStyle.Response.Error.Code @@ -15689,7 +15691,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockFile.SetName.Response.Error.Code @@ -15702,7 +15704,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockImage.SetName.Response.Error.Code @@ -15715,7 +15717,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockImage.SetWidth.Response.Error.Code @@ -15728,7 +15730,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockLatex.SetText.Response.Error.Code @@ -15741,7 +15743,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockLink.CreateWithObject.Response.Error.Code @@ -15754,7 +15756,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockLink.ListSetAppearance.Response.Error.Code @@ -15767,7 +15769,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockRelation.Add.Response.Error.Code @@ -15780,7 +15782,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockRelation.SetKey.Response.Error.Code @@ -15793,7 +15795,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.ColumnCreate.Response.Error.Code @@ -15806,7 +15808,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.ColumnDelete.Response.Error.Code @@ -15819,7 +15821,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.ColumnDuplicate.Response.Error.Code @@ -15832,7 +15834,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.ColumnListFill.Response.Error.Code @@ -15845,7 +15847,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.ColumnMove.Response.Error.Code @@ -15858,7 +15860,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.Create.Response.Error.Code @@ -15871,7 +15873,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.Expand.Response.Error.Code @@ -15884,7 +15886,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.RowCreate.Response.Error.Code @@ -15897,7 +15899,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.RowDelete.Response.Error.Code @@ -15910,7 +15912,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.RowDuplicate.Response.Error.Code @@ -15923,7 +15925,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.RowListClean.Response.Error.Code @@ -15936,7 +15938,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.RowListFill.Response.Error.Code @@ -15949,7 +15951,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.RowSetHeader.Response.Error.Code @@ -15962,7 +15964,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockTable.Sort.Response.Error.Code @@ -15975,7 +15977,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.ListClearContent.Response.Error.Code @@ -15988,7 +15990,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.ListClearStyle.Response.Error.Code @@ -16001,7 +16003,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.ListSetColor.Response.Error.Code @@ -16014,7 +16016,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.ListSetMark.Response.Error.Code @@ -16027,7 +16029,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.ListSetStyle.Response.Error.Code @@ -16040,7 +16042,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.SetChecked.Response.Error.Code @@ -16053,7 +16055,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.SetColor.Response.Error.Code @@ -16066,7 +16068,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.SetIcon.Response.Error.Code @@ -16079,7 +16081,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.SetMarks.Get.Response.Error.Code @@ -16092,7 +16094,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.SetStyle.Response.Error.Code @@ -16105,7 +16107,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockText.SetText.Response.Error.Code @@ -16118,7 +16120,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockVideo.SetName.Response.Error.Code @@ -16131,7 +16133,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockVideo.SetWidth.Response.Error.Code @@ -16144,7 +16146,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockWidget.SetLayout.Response.Error.Code @@ -16157,7 +16159,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockWidget.SetLimit.Response.Error.Code @@ -16170,7 +16172,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockWidget.SetTargetId.Response.Error.Code @@ -16183,7 +16185,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.BlockWidget.SetViewId.Response.Error.Code @@ -16196,7 +16198,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Debug.ExportLocalstore.Response.Error.Code @@ -16209,7 +16211,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Debug.Ping.Response.Error.Code @@ -16222,7 +16224,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Debug.SpaceSummary.Response.Error.Code @@ -16235,7 +16237,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Debug.Tree.Response.Error.Code @@ -16248,7 +16250,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Debug.TreeHeads.Response.Error.Code @@ -16261,7 +16263,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.File.Download.Response.Error.Code @@ -16275,7 +16277,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.File.Drop.Response.Error.Code @@ -16288,7 +16290,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.File.ListOffload.Response.Error.Code @@ -16302,7 +16304,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.File.Offload.Response.Error.Code @@ -16317,7 +16319,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.File.SpaceUsage.Response.Error.Code @@ -16330,7 +16332,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.File.Upload.Response.Error.Code @@ -16343,7 +16345,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.GenericErrorResponse.Error.Code @@ -16356,7 +16358,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.History.GetVersions.Response.Error.Code @@ -16369,7 +16371,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.History.SetVersion.Response.Error.Code @@ -16382,7 +16384,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.History.ShowVersion.Response.Error.Code @@ -16395,7 +16397,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.LinkPreview.Response.Error.Code @@ -16408,7 +16410,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Log.Send.Request.Level @@ -16424,7 +16426,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Log.Send.Response.Error.Code @@ -16439,7 +16441,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Metrics.SetParameters.Response.Error.Code @@ -16452,7 +16454,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Navigation.Context @@ -16465,7 +16467,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Navigation.GetObjectInfoWithLinks.Response.Error.Code @@ -16478,7 +16480,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Navigation.ListObjects.Response.Error.Code @@ -16491,7 +16493,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ApplyTemplate.Response.Error.Code @@ -16504,7 +16506,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.BookmarkFetch.Response.Error.Code @@ -16517,7 +16519,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Close.Response.Error.Code @@ -16530,7 +16532,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Create.Response.Error.Code @@ -16543,7 +16545,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.CreateBookmark.Response.Error.Code @@ -16556,7 +16558,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.CreateObjectType.Response.Error.Code @@ -16570,7 +16572,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.CreateRelation.Response.Error.Code @@ -16583,7 +16585,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.CreateRelationOption.Response.Error.Code @@ -16596,7 +16598,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.CreateSet.Response.Error.Code @@ -16610,7 +16612,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Duplicate.Response.Error.Code @@ -16623,7 +16625,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Graph.Edge.Type @@ -16635,7 +16637,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Graph.Response.Error.Code @@ -16648,7 +16650,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.GroupsSubscribe.Response.Error.Code @@ -16661,7 +16663,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Import.Notion.ValidateToken.Response.Error.Code @@ -16679,7 +16681,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Import.Request.CsvParams.Mode @@ -16691,7 +16693,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Import.Request.Mode @@ -16703,7 +16705,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Import.Request.Type @@ -16720,7 +16722,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Import.Response.Error.Code @@ -16737,7 +16739,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ImportList.ImportResponse.Type @@ -16751,7 +16753,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ImportList.Response.Error.Code @@ -16765,7 +16767,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ListDelete.Response.Error.Code @@ -16778,7 +16780,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ListDuplicate.Response.Error.Code @@ -16791,7 +16793,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ListExport.Format @@ -16807,7 +16809,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ListExport.Response.Error.Code @@ -16820,7 +16822,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ListSetIsArchived.Response.Error.Code @@ -16833,7 +16835,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ListSetIsFavorite.Response.Error.Code @@ -16846,7 +16848,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Open.Response.Error.Code @@ -16861,7 +16863,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.OpenBreadcrumbs.Response.Error.Code @@ -16874,7 +16876,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Redo.Response.Error.Code @@ -16888,7 +16890,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Search.Response.Error.Code @@ -16901,7 +16903,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SearchSubscribe.Response.Error.Code @@ -16914,7 +16916,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SearchUnsubscribe.Response.Error.Code @@ -16927,7 +16929,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SetBreadcrumbs.Response.Error.Code @@ -16940,7 +16942,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SetDetails.Response.Error.Code @@ -16953,7 +16955,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SetInternalFlags.Response.Error.Code @@ -16967,7 +16969,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SetIsArchived.Response.Error.Code @@ -16980,7 +16982,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SetIsFavorite.Response.Error.Code @@ -16993,7 +16995,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SetLayout.Response.Error.Code @@ -17006,7 +17008,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SetObjectType.Response.Error.Code @@ -17020,7 +17022,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SetSource.Response.Error.Code @@ -17033,7 +17035,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ShareByLink.Response.Error.Code @@ -17046,7 +17048,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Show.Response.Error.Code @@ -17061,7 +17063,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.SubscribeIds.Response.Error.Code @@ -17074,7 +17076,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ToBookmark.Response.Error.Code @@ -17087,7 +17089,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ToCollection.Response.Error.Code @@ -17100,7 +17102,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.ToSet.Response.Error.Code @@ -17113,7 +17115,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.Undo.Response.Error.Code @@ -17127,7 +17129,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Object.WorkspaceSetDashboard.Response.Error.Code @@ -17140,7 +17142,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectCollection.Add.Response.Error.Code @@ -17153,7 +17155,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectCollection.Remove.Response.Error.Code @@ -17166,7 +17168,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectCollection.Sort.Response.Error.Code @@ -17179,7 +17181,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectRelation.Add.Response.Error.Code @@ -17192,7 +17194,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectRelation.AddFeatured.Response.Error.Code @@ -17205,7 +17207,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectRelation.Delete.Response.Error.Code @@ -17218,7 +17220,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectRelation.ListAvailable.Response.Error.Code @@ -17231,7 +17233,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectRelation.RemoveFeatured.Response.Error.Code @@ -17244,7 +17246,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectType.Relation.Add.Response.Error.Code @@ -17259,7 +17261,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectType.Relation.List.Response.Error.Code @@ -17273,7 +17275,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.ObjectType.Relation.Remove.Response.Error.Code @@ -17288,7 +17290,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Process.Cancel.Response.Error.Code @@ -17301,7 +17303,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Relation.ListRemoveOption.Response.Error.Code @@ -17315,7 +17317,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Relation.Options.Response.Error.Code @@ -17328,7 +17330,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Template.Clone.Response.Error.Code @@ -17341,7 +17343,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Template.CreateFromObject.Response.Error.Code @@ -17354,7 +17356,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Template.CreateFromObjectType.Response.Error.Code @@ -17367,7 +17369,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Template.ExportAll.Response.Error.Code @@ -17380,7 +17382,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Unsplash.Download.Response.Error.Code @@ -17394,7 +17396,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Unsplash.Search.Response.Error.Code @@ -17408,7 +17410,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.UserData.Dump.Response.Error.Code @@ -17421,7 +17423,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Wallet.CloseSession.Response.Error.Code @@ -17434,7 +17436,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Wallet.Convert.Response.Error.Code @@ -17447,7 +17449,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Wallet.Create.Response.Error.Code @@ -17461,7 +17463,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Wallet.CreateSession.Response.Error.Code @@ -17474,7 +17476,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Wallet.Recover.Response.Error.Code @@ -17488,7 +17490,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Create.Response.Error.Code @@ -17501,7 +17503,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Export.Response.Error.Code @@ -17514,7 +17516,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetAll.Response.Error.Code @@ -17527,7 +17529,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.GetCurrent.Response.Error.Code @@ -17540,7 +17542,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.Add.Response.Error.Code @@ -17553,7 +17555,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListAdd.Response.Error.Code @@ -17566,7 +17568,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Object.ListRemove.Response.Error.Code @@ -17579,7 +17581,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.Select.Response.Error.Code @@ -17592,7 +17594,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### Rpc.Workspace.SetIsHighlighted.Response.Error.Code @@ -17607,7 +17609,7 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - + ### File-level Extensions | Extension | Type | Base | Number | Description | @@ -17620,14 +17622,14 @@ Middleware-to-front-end response, that can contain a NULL error or a non-NULL er - +

Top

## pb/protos/events.proto - + ### Event Event – type of message, that could be sent from a middleware to the corresponding front-end. @@ -17635,9 +17637,9 @@ Event – type of message, that could be sent from a middleware to the correspon | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| messages | [Event.Message](#anytype.Event.Message) | repeated | | +| messages | [Event.Message](#anytype-Event-Message) | repeated | | | contextId | [string](#string) | | | -| initiator | [model.Account](#anytype.model.Account) | | | +| initiator | [model.Account](#anytype-model-Account) | | | | traceId | [string](#string) | | | @@ -17645,7 +17647,7 @@ Event – type of message, that could be sent from a middleware to the correspon - + ### Event.Account @@ -17655,7 +17657,7 @@ Event – type of message, that could be sent from a middleware to the correspon - + ### Event.Account.Config @@ -17665,7 +17667,7 @@ Event – type of message, that could be sent from a middleware to the correspon - + ### Event.Account.Config.Update @@ -17673,15 +17675,15 @@ Event – type of message, that could be sent from a middleware to the correspon | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| config | [model.Account.Config](#anytype.model.Account.Config) | | | -| status | [model.Account.Status](#anytype.model.Account.Status) | | | +| config | [model.Account.Config](#anytype-model-Account-Config) | | | +| status | [model.Account.Status](#anytype-model-Account-Status) | | | - + ### Event.Account.Details @@ -17690,14 +17692,14 @@ Event – type of message, that could be sent from a middleware to the correspon | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | profileId | [string](#string) | | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Event.Account.Show Message, that will be sent to the front on each account found after an AccountRecoverRequest @@ -17706,14 +17708,14 @@ Message, that will be sent to the front on each account found after an AccountRe | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | index | [int32](#int32) | | Number of an account in an all found accounts list | -| account | [model.Account](#anytype.model.Account) | | An Account, that has been found for the mnemonic | +| account | [model.Account](#anytype-model-Account) | | An Account, that has been found for the mnemonic | - + ### Event.Account.Update @@ -17721,15 +17723,15 @@ Message, that will be sent to the front on each account found after an AccountRe | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| config | [model.Account.Config](#anytype.model.Account.Config) | | | -| status | [model.Account.Status](#anytype.model.Account.Status) | | | +| config | [model.Account.Config](#anytype-model-Account-Config) | | | +| status | [model.Account.Status](#anytype-model-Account-Status) | | | - + ### Event.Block @@ -17739,7 +17741,7 @@ Message, that will be sent to the front on each account found after an AccountRe - + ### Event.Block.Add Event to show internal blocks on a client. @@ -17756,14 +17758,14 @@ B. Partial block load | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| blocks | [model.Block](#anytype.model.Block) | repeated | id -> block | +| blocks | [model.Block](#anytype-model-Block) | repeated | id -> block | - + ### Event.Block.Dataview @@ -17773,7 +17775,7 @@ B. Partial block load - + ### Event.Block.Dataview.GroupOrderUpdate @@ -17782,14 +17784,14 @@ B. Partial block load | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | dataview block's id | -| groupOrder | [model.Block.Content.Dataview.GroupOrder](#anytype.model.Block.Content.Dataview.GroupOrder) | | | +| groupOrder | [model.Block.Content.Dataview.GroupOrder](#anytype-model-Block-Content-Dataview-GroupOrder) | | | - + ### Event.Block.Dataview.IsCollectionSet @@ -17805,7 +17807,7 @@ B. Partial block load - + ### Event.Block.Dataview.ObjectOrderUpdate @@ -17816,14 +17818,14 @@ B. Partial block load | id | [string](#string) | | dataview block's id | | viewId | [string](#string) | | | | groupId | [string](#string) | | | -| sliceChanges | [Event.Block.Dataview.SliceChange](#anytype.Event.Block.Dataview.SliceChange) | repeated | | +| sliceChanges | [Event.Block.Dataview.SliceChange](#anytype-Event-Block-Dataview-SliceChange) | repeated | | - + ### Event.Block.Dataview.OldRelationDelete @@ -17839,7 +17841,7 @@ B. Partial block load - + ### Event.Block.Dataview.OldRelationSet sent when the dataview relation has been changed or added @@ -17849,14 +17851,14 @@ sent when the dataview relation has been changed or added | ----- | ---- | ----- | ----------- | | id | [string](#string) | | dataview block's id | | relationKey | [string](#string) | | relation key to update | -| relation | [model.Relation](#anytype.model.Relation) | | | +| relation | [model.Relation](#anytype-model-Relation) | | | - + ### Event.Block.Dataview.RelationDelete @@ -17872,7 +17874,7 @@ sent when the dataview relation has been changed or added - + ### Event.Block.Dataview.RelationSet sent when the dataview relation has been changed or added @@ -17881,14 +17883,14 @@ sent when the dataview relation has been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | dataview block's id | -| relationLinks | [model.RelationLink](#anytype.model.RelationLink) | repeated | relation id to update | +| relationLinks | [model.RelationLink](#anytype-model-RelationLink) | repeated | relation id to update | - + ### Event.Block.Dataview.SliceChange @@ -17896,7 +17898,7 @@ sent when the dataview relation has been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| op | [Event.Block.Dataview.SliceOperation](#anytype.Event.Block.Dataview.SliceOperation) | | | +| op | [Event.Block.Dataview.SliceOperation](#anytype-Event-Block-Dataview-SliceOperation) | | | | ids | [string](#string) | repeated | | | afterId | [string](#string) | | | @@ -17905,7 +17907,7 @@ sent when the dataview relation has been changed or added - + ### Event.Block.Dataview.SourceSet @@ -17921,7 +17923,7 @@ sent when the dataview relation has been changed or added - + ### Event.Block.Dataview.TargetObjectIdSet @@ -17937,7 +17939,7 @@ sent when the dataview relation has been changed or added - + ### Event.Block.Dataview.ViewDelete @@ -17953,7 +17955,7 @@ sent when the dataview relation has been changed or added - + ### Event.Block.Dataview.ViewOrder @@ -17969,7 +17971,7 @@ sent when the dataview relation has been changed or added - + ### Event.Block.Dataview.ViewSet sent when the view have been changed or added @@ -17979,14 +17981,14 @@ sent when the view have been changed or added | ----- | ---- | ----- | ----------- | | id | [string](#string) | | dataview block's id | | viewId | [string](#string) | | view id, client should double check this to make sure client doesn't switch the active view in the middle | -| view | [model.Block.Content.Dataview.View](#anytype.model.Block.Content.Dataview.View) | | | +| view | [model.Block.Content.Dataview.View](#anytype-model-Block-Content-Dataview-View) | | | - + ### Event.Block.Dataview.ViewUpdate @@ -17996,17 +17998,17 @@ sent when the view have been changed or added | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | | viewId | [string](#string) | | | -| filter | [Event.Block.Dataview.ViewUpdate.Filter](#anytype.Event.Block.Dataview.ViewUpdate.Filter) | repeated | | -| relation | [Event.Block.Dataview.ViewUpdate.Relation](#anytype.Event.Block.Dataview.ViewUpdate.Relation) | repeated | | -| sort | [Event.Block.Dataview.ViewUpdate.Sort](#anytype.Event.Block.Dataview.ViewUpdate.Sort) | repeated | | -| fields | [Event.Block.Dataview.ViewUpdate.Fields](#anytype.Event.Block.Dataview.ViewUpdate.Fields) | | | +| filter | [Event.Block.Dataview.ViewUpdate.Filter](#anytype-Event-Block-Dataview-ViewUpdate-Filter) | repeated | | +| relation | [Event.Block.Dataview.ViewUpdate.Relation](#anytype-Event-Block-Dataview-ViewUpdate-Relation) | repeated | | +| sort | [Event.Block.Dataview.ViewUpdate.Sort](#anytype-Event-Block-Dataview-ViewUpdate-Sort) | repeated | | +| fields | [Event.Block.Dataview.ViewUpdate.Fields](#anytype-Event-Block-Dataview-ViewUpdate-Fields) | | | - + ### Event.Block.Dataview.ViewUpdate.Fields @@ -18014,11 +18016,11 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| type | [model.Block.Content.Dataview.View.Type](#anytype.model.Block.Content.Dataview.View.Type) | | | +| type | [model.Block.Content.Dataview.View.Type](#anytype-model-Block-Content-Dataview-View-Type) | | | | name | [string](#string) | | | | coverRelationKey | [string](#string) | | Relation used for cover in gallery | | hideIcon | [bool](#bool) | | Hide icon near name | -| cardSize | [model.Block.Content.Dataview.View.Size](#anytype.model.Block.Content.Dataview.View.Size) | | Gallery card size | +| cardSize | [model.Block.Content.Dataview.View.Size](#anytype-model-Block-Content-Dataview-View-Size) | | Gallery card size | | coverFit | [bool](#bool) | | Image fits container | | groupRelationKey | [string](#string) | | Group view by this relationKey | | groupBackgroundColors | [bool](#bool) | | Enable backgrounds in groups | @@ -18029,7 +18031,7 @@ sent when the view have been changed or added - + ### Event.Block.Dataview.ViewUpdate.Filter @@ -18037,17 +18039,17 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| add | [Event.Block.Dataview.ViewUpdate.Filter.Add](#anytype.Event.Block.Dataview.ViewUpdate.Filter.Add) | | | -| remove | [Event.Block.Dataview.ViewUpdate.Filter.Remove](#anytype.Event.Block.Dataview.ViewUpdate.Filter.Remove) | | | -| update | [Event.Block.Dataview.ViewUpdate.Filter.Update](#anytype.Event.Block.Dataview.ViewUpdate.Filter.Update) | | | -| move | [Event.Block.Dataview.ViewUpdate.Filter.Move](#anytype.Event.Block.Dataview.ViewUpdate.Filter.Move) | | | +| add | [Event.Block.Dataview.ViewUpdate.Filter.Add](#anytype-Event-Block-Dataview-ViewUpdate-Filter-Add) | | | +| remove | [Event.Block.Dataview.ViewUpdate.Filter.Remove](#anytype-Event-Block-Dataview-ViewUpdate-Filter-Remove) | | | +| update | [Event.Block.Dataview.ViewUpdate.Filter.Update](#anytype-Event-Block-Dataview-ViewUpdate-Filter-Update) | | | +| move | [Event.Block.Dataview.ViewUpdate.Filter.Move](#anytype-Event-Block-Dataview-ViewUpdate-Filter-Move) | | | - + ### Event.Block.Dataview.ViewUpdate.Filter.Add @@ -18056,14 +18058,14 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | afterId | [string](#string) | | | -| items | [model.Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) | repeated | | +| items | [model.Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) | repeated | | - + ### Event.Block.Dataview.ViewUpdate.Filter.Move @@ -18079,7 +18081,7 @@ sent when the view have been changed or added - + ### Event.Block.Dataview.ViewUpdate.Filter.Remove @@ -18094,7 +18096,7 @@ sent when the view have been changed or added - + ### Event.Block.Dataview.ViewUpdate.Filter.Update @@ -18103,14 +18105,14 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| item | [model.Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) | | | +| item | [model.Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) | | | - + ### Event.Block.Dataview.ViewUpdate.Relation @@ -18118,17 +18120,17 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| add | [Event.Block.Dataview.ViewUpdate.Relation.Add](#anytype.Event.Block.Dataview.ViewUpdate.Relation.Add) | | | -| remove | [Event.Block.Dataview.ViewUpdate.Relation.Remove](#anytype.Event.Block.Dataview.ViewUpdate.Relation.Remove) | | | -| update | [Event.Block.Dataview.ViewUpdate.Relation.Update](#anytype.Event.Block.Dataview.ViewUpdate.Relation.Update) | | | -| move | [Event.Block.Dataview.ViewUpdate.Relation.Move](#anytype.Event.Block.Dataview.ViewUpdate.Relation.Move) | | | +| add | [Event.Block.Dataview.ViewUpdate.Relation.Add](#anytype-Event-Block-Dataview-ViewUpdate-Relation-Add) | | | +| remove | [Event.Block.Dataview.ViewUpdate.Relation.Remove](#anytype-Event-Block-Dataview-ViewUpdate-Relation-Remove) | | | +| update | [Event.Block.Dataview.ViewUpdate.Relation.Update](#anytype-Event-Block-Dataview-ViewUpdate-Relation-Update) | | | +| move | [Event.Block.Dataview.ViewUpdate.Relation.Move](#anytype-Event-Block-Dataview-ViewUpdate-Relation-Move) | | | - + ### Event.Block.Dataview.ViewUpdate.Relation.Add @@ -18137,14 +18139,14 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | afterId | [string](#string) | | | -| items | [model.Block.Content.Dataview.Relation](#anytype.model.Block.Content.Dataview.Relation) | repeated | | +| items | [model.Block.Content.Dataview.Relation](#anytype-model-Block-Content-Dataview-Relation) | repeated | | - + ### Event.Block.Dataview.ViewUpdate.Relation.Move @@ -18160,7 +18162,7 @@ sent when the view have been changed or added - + ### Event.Block.Dataview.ViewUpdate.Relation.Remove @@ -18175,7 +18177,7 @@ sent when the view have been changed or added - + ### Event.Block.Dataview.ViewUpdate.Relation.Update @@ -18184,14 +18186,14 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| item | [model.Block.Content.Dataview.Relation](#anytype.model.Block.Content.Dataview.Relation) | | | +| item | [model.Block.Content.Dataview.Relation](#anytype-model-Block-Content-Dataview-Relation) | | | - + ### Event.Block.Dataview.ViewUpdate.Sort @@ -18199,17 +18201,17 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| add | [Event.Block.Dataview.ViewUpdate.Sort.Add](#anytype.Event.Block.Dataview.ViewUpdate.Sort.Add) | | | -| remove | [Event.Block.Dataview.ViewUpdate.Sort.Remove](#anytype.Event.Block.Dataview.ViewUpdate.Sort.Remove) | | | -| update | [Event.Block.Dataview.ViewUpdate.Sort.Update](#anytype.Event.Block.Dataview.ViewUpdate.Sort.Update) | | | -| move | [Event.Block.Dataview.ViewUpdate.Sort.Move](#anytype.Event.Block.Dataview.ViewUpdate.Sort.Move) | | | +| add | [Event.Block.Dataview.ViewUpdate.Sort.Add](#anytype-Event-Block-Dataview-ViewUpdate-Sort-Add) | | | +| remove | [Event.Block.Dataview.ViewUpdate.Sort.Remove](#anytype-Event-Block-Dataview-ViewUpdate-Sort-Remove) | | | +| update | [Event.Block.Dataview.ViewUpdate.Sort.Update](#anytype-Event-Block-Dataview-ViewUpdate-Sort-Update) | | | +| move | [Event.Block.Dataview.ViewUpdate.Sort.Move](#anytype-Event-Block-Dataview-ViewUpdate-Sort-Move) | | | - + ### Event.Block.Dataview.ViewUpdate.Sort.Add @@ -18218,14 +18220,14 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | afterId | [string](#string) | | | -| items | [model.Block.Content.Dataview.Sort](#anytype.model.Block.Content.Dataview.Sort) | repeated | | +| items | [model.Block.Content.Dataview.Sort](#anytype-model-Block-Content-Dataview-Sort) | repeated | | - + ### Event.Block.Dataview.ViewUpdate.Sort.Move @@ -18241,7 +18243,7 @@ sent when the view have been changed or added - + ### Event.Block.Dataview.ViewUpdate.Sort.Remove @@ -18256,7 +18258,7 @@ sent when the view have been changed or added - + ### Event.Block.Dataview.ViewUpdate.Sort.Update @@ -18265,14 +18267,14 @@ sent when the view have been changed or added | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| item | [model.Block.Content.Dataview.Sort](#anytype.model.Block.Content.Dataview.Sort) | | | +| item | [model.Block.Content.Dataview.Sort](#anytype-model-Block-Content-Dataview-Sort) | | | - + ### Event.Block.Delete @@ -18287,7 +18289,7 @@ sent when the view have been changed or added - + ### Event.Block.FilesUpload Middleware to front end event message, that will be sent on one of this scenarios: @@ -18306,7 +18308,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill @@ -18316,7 +18318,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Align @@ -18325,14 +18327,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| align | [model.Block.Align](#anytype.model.Block.Align) | | | +| align | [model.Block.Align](#anytype-model-Block-Align) | | | - + ### Event.Block.Fill.BackgroundColor @@ -18348,7 +18350,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Bookmark @@ -18357,20 +18359,20 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| url | [Event.Block.Fill.Bookmark.Url](#anytype.Event.Block.Fill.Bookmark.Url) | | | -| title | [Event.Block.Fill.Bookmark.Title](#anytype.Event.Block.Fill.Bookmark.Title) | | | -| description | [Event.Block.Fill.Bookmark.Description](#anytype.Event.Block.Fill.Bookmark.Description) | | | -| imageHash | [Event.Block.Fill.Bookmark.ImageHash](#anytype.Event.Block.Fill.Bookmark.ImageHash) | | | -| faviconHash | [Event.Block.Fill.Bookmark.FaviconHash](#anytype.Event.Block.Fill.Bookmark.FaviconHash) | | | -| type | [Event.Block.Fill.Bookmark.Type](#anytype.Event.Block.Fill.Bookmark.Type) | | | -| targetObjectId | [Event.Block.Fill.Bookmark.TargetObjectId](#anytype.Event.Block.Fill.Bookmark.TargetObjectId) | | | +| url | [Event.Block.Fill.Bookmark.Url](#anytype-Event-Block-Fill-Bookmark-Url) | | | +| title | [Event.Block.Fill.Bookmark.Title](#anytype-Event-Block-Fill-Bookmark-Title) | | | +| description | [Event.Block.Fill.Bookmark.Description](#anytype-Event-Block-Fill-Bookmark-Description) | | | +| imageHash | [Event.Block.Fill.Bookmark.ImageHash](#anytype-Event-Block-Fill-Bookmark-ImageHash) | | | +| faviconHash | [Event.Block.Fill.Bookmark.FaviconHash](#anytype-Event-Block-Fill-Bookmark-FaviconHash) | | | +| type | [Event.Block.Fill.Bookmark.Type](#anytype-Event-Block-Fill-Bookmark-Type) | | | +| targetObjectId | [Event.Block.Fill.Bookmark.TargetObjectId](#anytype-Event-Block-Fill-Bookmark-TargetObjectId) | | | - + ### Event.Block.Fill.Bookmark.Description @@ -18385,7 +18387,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Bookmark.FaviconHash @@ -18400,7 +18402,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Bookmark.ImageHash @@ -18415,7 +18417,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Bookmark.TargetObjectId @@ -18430,7 +18432,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Bookmark.Title @@ -18445,7 +18447,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Bookmark.Type @@ -18453,14 +18455,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.LinkPreview.Type](#anytype.model.LinkPreview.Type) | | | +| value | [model.LinkPreview.Type](#anytype-model-LinkPreview-Type) | | | - + ### Event.Block.Fill.Bookmark.Url @@ -18475,7 +18477,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.ChildrenIds @@ -18491,7 +18493,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.DatabaseRecords @@ -18500,14 +18502,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| records | [google.protobuf.Struct](#google.protobuf.Struct) | repeated | | +| records | [google.protobuf.Struct](#google-protobuf-Struct) | repeated | | - + ### Event.Block.Fill.Details @@ -18516,14 +18518,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Event.Block.Fill.Div @@ -18532,14 +18534,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| style | [Event.Block.Fill.Div.Style](#anytype.Event.Block.Fill.Div.Style) | | | +| style | [Event.Block.Fill.Div.Style](#anytype-Event-Block-Fill-Div-Style) | | | - + ### Event.Block.Fill.Div.Style @@ -18547,14 +18549,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Div.Style](#anytype.model.Block.Content.Div.Style) | | | +| value | [model.Block.Content.Div.Style](#anytype-model-Block-Content-Div-Style) | | | - + ### Event.Block.Fill.Fields @@ -18563,14 +18565,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| fields | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| fields | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Event.Block.Fill.File @@ -18579,20 +18581,20 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| type | [Event.Block.Fill.File.Type](#anytype.Event.Block.Fill.File.Type) | | | -| state | [Event.Block.Fill.File.State](#anytype.Event.Block.Fill.File.State) | | | -| mime | [Event.Block.Fill.File.Mime](#anytype.Event.Block.Fill.File.Mime) | | | -| hash | [Event.Block.Fill.File.Hash](#anytype.Event.Block.Fill.File.Hash) | | | -| name | [Event.Block.Fill.File.Name](#anytype.Event.Block.Fill.File.Name) | | | -| size | [Event.Block.Fill.File.Size](#anytype.Event.Block.Fill.File.Size) | | | -| style | [Event.Block.Fill.File.Style](#anytype.Event.Block.Fill.File.Style) | | | +| type | [Event.Block.Fill.File.Type](#anytype-Event-Block-Fill-File-Type) | | | +| state | [Event.Block.Fill.File.State](#anytype-Event-Block-Fill-File-State) | | | +| mime | [Event.Block.Fill.File.Mime](#anytype-Event-Block-Fill-File-Mime) | | | +| hash | [Event.Block.Fill.File.Hash](#anytype-Event-Block-Fill-File-Hash) | | | +| name | [Event.Block.Fill.File.Name](#anytype-Event-Block-Fill-File-Name) | | | +| size | [Event.Block.Fill.File.Size](#anytype-Event-Block-Fill-File-Size) | | | +| style | [Event.Block.Fill.File.Style](#anytype-Event-Block-Fill-File-Style) | | | - + ### Event.Block.Fill.File.Hash @@ -18607,7 +18609,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.File.Mime @@ -18622,7 +18624,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.File.Name @@ -18637,7 +18639,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.File.Size @@ -18652,7 +18654,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.File.State @@ -18660,14 +18662,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.File.State](#anytype.model.Block.Content.File.State) | | | +| value | [model.Block.Content.File.State](#anytype-model-Block-Content-File-State) | | | - + ### Event.Block.Fill.File.Style @@ -18675,14 +18677,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.File.Style](#anytype.model.Block.Content.File.Style) | | | +| value | [model.Block.Content.File.Style](#anytype-model-Block-Content-File-Style) | | | - + ### Event.Block.Fill.File.Type @@ -18690,14 +18692,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.File.Type](#anytype.model.Block.Content.File.Type) | | | +| value | [model.Block.Content.File.Type](#anytype-model-Block-Content-File-Type) | | | - + ### Event.Block.Fill.File.Width @@ -18712,7 +18714,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Link @@ -18721,16 +18723,16 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| targetBlockId | [Event.Block.Fill.Link.TargetBlockId](#anytype.Event.Block.Fill.Link.TargetBlockId) | | | -| style | [Event.Block.Fill.Link.Style](#anytype.Event.Block.Fill.Link.Style) | | | -| fields | [Event.Block.Fill.Link.Fields](#anytype.Event.Block.Fill.Link.Fields) | | | +| targetBlockId | [Event.Block.Fill.Link.TargetBlockId](#anytype-Event-Block-Fill-Link-TargetBlockId) | | | +| style | [Event.Block.Fill.Link.Style](#anytype-Event-Block-Fill-Link-Style) | | | +| fields | [Event.Block.Fill.Link.Fields](#anytype-Event-Block-Fill-Link-Fields) | | | - + ### Event.Block.Fill.Link.Fields @@ -18738,14 +18740,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| value | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Event.Block.Fill.Link.Style @@ -18753,14 +18755,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Link.Style](#anytype.model.Block.Content.Link.Style) | | | +| value | [model.Block.Content.Link.Style](#anytype-model-Block-Content-Link-Style) | | | - + ### Event.Block.Fill.Link.TargetBlockId @@ -18775,7 +18777,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Restrictions @@ -18784,14 +18786,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| restrictions | [model.Block.Restrictions](#anytype.model.Block.Restrictions) | | | +| restrictions | [model.Block.Restrictions](#anytype-model-Block-Restrictions) | | | - + ### Event.Block.Fill.Text @@ -18800,18 +18802,18 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| text | [Event.Block.Fill.Text.Text](#anytype.Event.Block.Fill.Text.Text) | | | -| style | [Event.Block.Fill.Text.Style](#anytype.Event.Block.Fill.Text.Style) | | | -| marks | [Event.Block.Fill.Text.Marks](#anytype.Event.Block.Fill.Text.Marks) | | | -| checked | [Event.Block.Fill.Text.Checked](#anytype.Event.Block.Fill.Text.Checked) | | | -| color | [Event.Block.Fill.Text.Color](#anytype.Event.Block.Fill.Text.Color) | | | +| text | [Event.Block.Fill.Text.Text](#anytype-Event-Block-Fill-Text-Text) | | | +| style | [Event.Block.Fill.Text.Style](#anytype-Event-Block-Fill-Text-Style) | | | +| marks | [Event.Block.Fill.Text.Marks](#anytype-Event-Block-Fill-Text-Marks) | | | +| checked | [Event.Block.Fill.Text.Checked](#anytype-Event-Block-Fill-Text-Checked) | | | +| color | [Event.Block.Fill.Text.Color](#anytype-Event-Block-Fill-Text-Color) | | | - + ### Event.Block.Fill.Text.Checked @@ -18826,7 +18828,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Text.Color @@ -18841,7 +18843,7 @@ Precondition: user A opened a block - + ### Event.Block.Fill.Text.Marks @@ -18849,14 +18851,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Text.Marks](#anytype.model.Block.Content.Text.Marks) | | | +| value | [model.Block.Content.Text.Marks](#anytype-model-Block-Content-Text-Marks) | | | - + ### Event.Block.Fill.Text.Style @@ -18864,14 +18866,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Text.Style](#anytype.model.Block.Content.Text.Style) | | | +| value | [model.Block.Content.Text.Style](#anytype-model-Block-Content-Text-Style) | | | - + ### Event.Block.Fill.Text.Text @@ -18886,7 +18888,7 @@ Precondition: user A opened a block - + ### Event.Block.MarksInfo @@ -18894,14 +18896,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| marksInRange | [model.Block.Content.Text.Mark.Type](#anytype.model.Block.Content.Text.Mark.Type) | repeated | | +| marksInRange | [model.Block.Content.Text.Mark.Type](#anytype-model-Block-Content-Text-Mark-Type) | repeated | | - + ### Event.Block.Set @@ -18911,7 +18913,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Align @@ -18920,14 +18922,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| align | [model.Block.Align](#anytype.model.Block.Align) | | | +| align | [model.Block.Align](#anytype-model-Block-Align) | | | - + ### Event.Block.Set.BackgroundColor @@ -18943,7 +18945,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Bookmark @@ -18952,21 +18954,21 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| url | [Event.Block.Set.Bookmark.Url](#anytype.Event.Block.Set.Bookmark.Url) | | | -| title | [Event.Block.Set.Bookmark.Title](#anytype.Event.Block.Set.Bookmark.Title) | | | -| description | [Event.Block.Set.Bookmark.Description](#anytype.Event.Block.Set.Bookmark.Description) | | | -| imageHash | [Event.Block.Set.Bookmark.ImageHash](#anytype.Event.Block.Set.Bookmark.ImageHash) | | | -| faviconHash | [Event.Block.Set.Bookmark.FaviconHash](#anytype.Event.Block.Set.Bookmark.FaviconHash) | | | -| type | [Event.Block.Set.Bookmark.Type](#anytype.Event.Block.Set.Bookmark.Type) | | | -| targetObjectId | [Event.Block.Set.Bookmark.TargetObjectId](#anytype.Event.Block.Set.Bookmark.TargetObjectId) | | | -| state | [Event.Block.Set.Bookmark.State](#anytype.Event.Block.Set.Bookmark.State) | | | +| url | [Event.Block.Set.Bookmark.Url](#anytype-Event-Block-Set-Bookmark-Url) | | | +| title | [Event.Block.Set.Bookmark.Title](#anytype-Event-Block-Set-Bookmark-Title) | | | +| description | [Event.Block.Set.Bookmark.Description](#anytype-Event-Block-Set-Bookmark-Description) | | | +| imageHash | [Event.Block.Set.Bookmark.ImageHash](#anytype-Event-Block-Set-Bookmark-ImageHash) | | | +| faviconHash | [Event.Block.Set.Bookmark.FaviconHash](#anytype-Event-Block-Set-Bookmark-FaviconHash) | | | +| type | [Event.Block.Set.Bookmark.Type](#anytype-Event-Block-Set-Bookmark-Type) | | | +| targetObjectId | [Event.Block.Set.Bookmark.TargetObjectId](#anytype-Event-Block-Set-Bookmark-TargetObjectId) | | | +| state | [Event.Block.Set.Bookmark.State](#anytype-Event-Block-Set-Bookmark-State) | | | - + ### Event.Block.Set.Bookmark.Description @@ -18981,7 +18983,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Bookmark.FaviconHash @@ -18996,7 +18998,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Bookmark.ImageHash @@ -19011,7 +19013,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Bookmark.State @@ -19019,14 +19021,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Bookmark.State](#anytype.model.Block.Content.Bookmark.State) | | | +| value | [model.Block.Content.Bookmark.State](#anytype-model-Block-Content-Bookmark-State) | | | - + ### Event.Block.Set.Bookmark.TargetObjectId @@ -19041,7 +19043,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Bookmark.Title @@ -19056,7 +19058,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Bookmark.Type @@ -19064,14 +19066,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.LinkPreview.Type](#anytype.model.LinkPreview.Type) | | | +| value | [model.LinkPreview.Type](#anytype-model-LinkPreview-Type) | | | - + ### Event.Block.Set.Bookmark.Url @@ -19086,7 +19088,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.ChildrenIds @@ -19102,7 +19104,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Div @@ -19111,14 +19113,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| style | [Event.Block.Set.Div.Style](#anytype.Event.Block.Set.Div.Style) | | | +| style | [Event.Block.Set.Div.Style](#anytype-Event-Block-Set-Div-Style) | | | - + ### Event.Block.Set.Div.Style @@ -19126,14 +19128,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Div.Style](#anytype.model.Block.Content.Div.Style) | | | +| value | [model.Block.Content.Div.Style](#anytype-model-Block-Content-Div-Style) | | | - + ### Event.Block.Set.Fields @@ -19142,14 +19144,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| fields | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| fields | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Event.Block.Set.File @@ -19158,20 +19160,20 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| type | [Event.Block.Set.File.Type](#anytype.Event.Block.Set.File.Type) | | | -| state | [Event.Block.Set.File.State](#anytype.Event.Block.Set.File.State) | | | -| mime | [Event.Block.Set.File.Mime](#anytype.Event.Block.Set.File.Mime) | | | -| hash | [Event.Block.Set.File.Hash](#anytype.Event.Block.Set.File.Hash) | | | -| name | [Event.Block.Set.File.Name](#anytype.Event.Block.Set.File.Name) | | | -| size | [Event.Block.Set.File.Size](#anytype.Event.Block.Set.File.Size) | | | -| style | [Event.Block.Set.File.Style](#anytype.Event.Block.Set.File.Style) | | | +| type | [Event.Block.Set.File.Type](#anytype-Event-Block-Set-File-Type) | | | +| state | [Event.Block.Set.File.State](#anytype-Event-Block-Set-File-State) | | | +| mime | [Event.Block.Set.File.Mime](#anytype-Event-Block-Set-File-Mime) | | | +| hash | [Event.Block.Set.File.Hash](#anytype-Event-Block-Set-File-Hash) | | | +| name | [Event.Block.Set.File.Name](#anytype-Event-Block-Set-File-Name) | | | +| size | [Event.Block.Set.File.Size](#anytype-Event-Block-Set-File-Size) | | | +| style | [Event.Block.Set.File.Style](#anytype-Event-Block-Set-File-Style) | | | - + ### Event.Block.Set.File.Hash @@ -19186,7 +19188,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.File.Mime @@ -19201,7 +19203,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.File.Name @@ -19216,7 +19218,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.File.Size @@ -19231,7 +19233,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.File.State @@ -19239,14 +19241,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.File.State](#anytype.model.Block.Content.File.State) | | | +| value | [model.Block.Content.File.State](#anytype-model-Block-Content-File-State) | | | - + ### Event.Block.Set.File.Style @@ -19254,14 +19256,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.File.Style](#anytype.model.Block.Content.File.Style) | | | +| value | [model.Block.Content.File.Style](#anytype-model-Block-Content-File-Style) | | | - + ### Event.Block.Set.File.Type @@ -19269,14 +19271,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.File.Type](#anytype.model.Block.Content.File.Type) | | | +| value | [model.Block.Content.File.Type](#anytype-model-Block-Content-File-Type) | | | - + ### Event.Block.Set.File.Width @@ -19291,7 +19293,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Latex @@ -19300,14 +19302,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| text | [Event.Block.Set.Latex.Text](#anytype.Event.Block.Set.Latex.Text) | | | +| text | [Event.Block.Set.Latex.Text](#anytype-Event-Block-Set-Latex-Text) | | | - + ### Event.Block.Set.Latex.Text @@ -19322,7 +19324,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Link @@ -19331,20 +19333,20 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| targetBlockId | [Event.Block.Set.Link.TargetBlockId](#anytype.Event.Block.Set.Link.TargetBlockId) | | | -| style | [Event.Block.Set.Link.Style](#anytype.Event.Block.Set.Link.Style) | | | -| fields | [Event.Block.Set.Link.Fields](#anytype.Event.Block.Set.Link.Fields) | | | -| iconSize | [Event.Block.Set.Link.IconSize](#anytype.Event.Block.Set.Link.IconSize) | | | -| cardStyle | [Event.Block.Set.Link.CardStyle](#anytype.Event.Block.Set.Link.CardStyle) | | | -| description | [Event.Block.Set.Link.Description](#anytype.Event.Block.Set.Link.Description) | | | -| relations | [Event.Block.Set.Link.Relations](#anytype.Event.Block.Set.Link.Relations) | | | +| targetBlockId | [Event.Block.Set.Link.TargetBlockId](#anytype-Event-Block-Set-Link-TargetBlockId) | | | +| style | [Event.Block.Set.Link.Style](#anytype-Event-Block-Set-Link-Style) | | | +| fields | [Event.Block.Set.Link.Fields](#anytype-Event-Block-Set-Link-Fields) | | | +| iconSize | [Event.Block.Set.Link.IconSize](#anytype-Event-Block-Set-Link-IconSize) | | | +| cardStyle | [Event.Block.Set.Link.CardStyle](#anytype-Event-Block-Set-Link-CardStyle) | | | +| description | [Event.Block.Set.Link.Description](#anytype-Event-Block-Set-Link-Description) | | | +| relations | [Event.Block.Set.Link.Relations](#anytype-Event-Block-Set-Link-Relations) | | | - + ### Event.Block.Set.Link.CardStyle @@ -19352,14 +19354,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Link.CardStyle](#anytype.model.Block.Content.Link.CardStyle) | | | +| value | [model.Block.Content.Link.CardStyle](#anytype-model-Block-Content-Link-CardStyle) | | | - + ### Event.Block.Set.Link.Description @@ -19367,14 +19369,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Link.Description](#anytype.model.Block.Content.Link.Description) | | | +| value | [model.Block.Content.Link.Description](#anytype-model-Block-Content-Link-Description) | | | - + ### Event.Block.Set.Link.Fields @@ -19382,14 +19384,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| value | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Event.Block.Set.Link.IconSize @@ -19397,14 +19399,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Link.IconSize](#anytype.model.Block.Content.Link.IconSize) | | | +| value | [model.Block.Content.Link.IconSize](#anytype-model-Block-Content-Link-IconSize) | | | - + ### Event.Block.Set.Link.Relations @@ -19419,7 +19421,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Link.Style @@ -19427,14 +19429,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Link.Style](#anytype.model.Block.Content.Link.Style) | | | +| value | [model.Block.Content.Link.Style](#anytype-model-Block-Content-Link-Style) | | | - + ### Event.Block.Set.Link.TargetBlockId @@ -19449,7 +19451,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Relation @@ -19458,14 +19460,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| key | [Event.Block.Set.Relation.Key](#anytype.Event.Block.Set.Relation.Key) | | | +| key | [Event.Block.Set.Relation.Key](#anytype-Event-Block-Set-Relation-Key) | | | - + ### Event.Block.Set.Relation.Key @@ -19480,7 +19482,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Restrictions @@ -19489,14 +19491,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| restrictions | [model.Block.Restrictions](#anytype.model.Block.Restrictions) | | | +| restrictions | [model.Block.Restrictions](#anytype-model-Block-Restrictions) | | | - + ### Event.Block.Set.TableRow @@ -19505,14 +19507,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| isHeader | [Event.Block.Set.TableRow.IsHeader](#anytype.Event.Block.Set.TableRow.IsHeader) | | | +| isHeader | [Event.Block.Set.TableRow.IsHeader](#anytype-Event-Block-Set-TableRow-IsHeader) | | | - + ### Event.Block.Set.TableRow.IsHeader @@ -19527,7 +19529,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Text @@ -19536,20 +19538,20 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| text | [Event.Block.Set.Text.Text](#anytype.Event.Block.Set.Text.Text) | | | -| style | [Event.Block.Set.Text.Style](#anytype.Event.Block.Set.Text.Style) | | | -| marks | [Event.Block.Set.Text.Marks](#anytype.Event.Block.Set.Text.Marks) | | | -| checked | [Event.Block.Set.Text.Checked](#anytype.Event.Block.Set.Text.Checked) | | | -| color | [Event.Block.Set.Text.Color](#anytype.Event.Block.Set.Text.Color) | | | -| iconEmoji | [Event.Block.Set.Text.IconEmoji](#anytype.Event.Block.Set.Text.IconEmoji) | | | -| iconImage | [Event.Block.Set.Text.IconImage](#anytype.Event.Block.Set.Text.IconImage) | | | +| text | [Event.Block.Set.Text.Text](#anytype-Event-Block-Set-Text-Text) | | | +| style | [Event.Block.Set.Text.Style](#anytype-Event-Block-Set-Text-Style) | | | +| marks | [Event.Block.Set.Text.Marks](#anytype-Event-Block-Set-Text-Marks) | | | +| checked | [Event.Block.Set.Text.Checked](#anytype-Event-Block-Set-Text-Checked) | | | +| color | [Event.Block.Set.Text.Color](#anytype-Event-Block-Set-Text-Color) | | | +| iconEmoji | [Event.Block.Set.Text.IconEmoji](#anytype-Event-Block-Set-Text-IconEmoji) | | | +| iconImage | [Event.Block.Set.Text.IconImage](#anytype-Event-Block-Set-Text-IconImage) | | | - + ### Event.Block.Set.Text.Checked @@ -19564,7 +19566,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Text.Color @@ -19579,7 +19581,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Text.IconEmoji @@ -19594,7 +19596,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Text.IconImage @@ -19609,7 +19611,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Text.Marks @@ -19617,14 +19619,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Text.Marks](#anytype.model.Block.Content.Text.Marks) | | | +| value | [model.Block.Content.Text.Marks](#anytype-model-Block-Content-Text-Marks) | | | - + ### Event.Block.Set.Text.Style @@ -19632,14 +19634,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Text.Style](#anytype.model.Block.Content.Text.Style) | | | +| value | [model.Block.Content.Text.Style](#anytype-model-Block-Content-Text-Style) | | | - + ### Event.Block.Set.Text.Text @@ -19654,7 +19656,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.VerticalAlign @@ -19663,14 +19665,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| verticalAlign | [model.Block.VerticalAlign](#anytype.model.Block.VerticalAlign) | | | +| verticalAlign | [model.Block.VerticalAlign](#anytype-model-Block-VerticalAlign) | | | - + ### Event.Block.Set.Widget @@ -19679,16 +19681,16 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| layout | [Event.Block.Set.Widget.Layout](#anytype.Event.Block.Set.Widget.Layout) | | | -| limit | [Event.Block.Set.Widget.Limit](#anytype.Event.Block.Set.Widget.Limit) | | | -| viewId | [Event.Block.Set.Widget.ViewId](#anytype.Event.Block.Set.Widget.ViewId) | | | +| layout | [Event.Block.Set.Widget.Layout](#anytype-Event-Block-Set-Widget-Layout) | | | +| limit | [Event.Block.Set.Widget.Limit](#anytype-Event-Block-Set-Widget-Limit) | | | +| viewId | [Event.Block.Set.Widget.ViewId](#anytype-Event-Block-Set-Widget-ViewId) | | | - + ### Event.Block.Set.Widget.Layout @@ -19696,14 +19698,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [model.Block.Content.Widget.Layout](#anytype.model.Block.Content.Widget.Layout) | | | +| value | [model.Block.Content.Widget.Layout](#anytype-model-Block-Content-Widget-Layout) | | | - + ### Event.Block.Set.Widget.Limit @@ -19718,7 +19720,7 @@ Precondition: user A opened a block - + ### Event.Block.Set.Widget.ViewId @@ -19733,7 +19735,7 @@ Precondition: user A opened a block - + ### Event.File @@ -19743,7 +19745,7 @@ Precondition: user A opened a block - + ### Event.File.LimitReached @@ -19759,7 +19761,7 @@ Precondition: user A opened a block - + ### Event.File.LocalUsage @@ -19774,7 +19776,7 @@ Precondition: user A opened a block - + ### Event.File.SpaceUsage @@ -19789,7 +19791,7 @@ Precondition: user A opened a block - + ### Event.Message @@ -19797,73 +19799,73 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| accountShow | [Event.Account.Show](#anytype.Event.Account.Show) | | | -| accountDetails | [Event.Account.Details](#anytype.Event.Account.Details) | | | -| accountConfigUpdate | [Event.Account.Config.Update](#anytype.Event.Account.Config.Update) | | | -| accountUpdate | [Event.Account.Update](#anytype.Event.Account.Update) | | | -| objectDetailsSet | [Event.Object.Details.Set](#anytype.Event.Object.Details.Set) | | | -| objectDetailsAmend | [Event.Object.Details.Amend](#anytype.Event.Object.Details.Amend) | | | -| objectDetailsUnset | [Event.Object.Details.Unset](#anytype.Event.Object.Details.Unset) | | | -| objectRelationsAmend | [Event.Object.Relations.Amend](#anytype.Event.Object.Relations.Amend) | | | -| objectRelationsRemove | [Event.Object.Relations.Remove](#anytype.Event.Object.Relations.Remove) | | | -| objectRemove | [Event.Object.Remove](#anytype.Event.Object.Remove) | | | -| objectRestrictionsSet | [Event.Object.Restrictions.Set](#anytype.Event.Object.Restrictions.Set) | | | -| subscriptionAdd | [Event.Object.Subscription.Add](#anytype.Event.Object.Subscription.Add) | | | -| subscriptionRemove | [Event.Object.Subscription.Remove](#anytype.Event.Object.Subscription.Remove) | | | -| subscriptionPosition | [Event.Object.Subscription.Position](#anytype.Event.Object.Subscription.Position) | | | -| subscriptionCounters | [Event.Object.Subscription.Counters](#anytype.Event.Object.Subscription.Counters) | | | -| subscriptionGroups | [Event.Object.Subscription.Groups](#anytype.Event.Object.Subscription.Groups) | | | -| blockAdd | [Event.Block.Add](#anytype.Event.Block.Add) | | | -| blockDelete | [Event.Block.Delete](#anytype.Event.Block.Delete) | | | -| filesUpload | [Event.Block.FilesUpload](#anytype.Event.Block.FilesUpload) | | | -| marksInfo | [Event.Block.MarksInfo](#anytype.Event.Block.MarksInfo) | | | -| blockSetFields | [Event.Block.Set.Fields](#anytype.Event.Block.Set.Fields) | | | -| blockSetChildrenIds | [Event.Block.Set.ChildrenIds](#anytype.Event.Block.Set.ChildrenIds) | | | -| blockSetRestrictions | [Event.Block.Set.Restrictions](#anytype.Event.Block.Set.Restrictions) | | | -| blockSetBackgroundColor | [Event.Block.Set.BackgroundColor](#anytype.Event.Block.Set.BackgroundColor) | | | -| blockSetText | [Event.Block.Set.Text](#anytype.Event.Block.Set.Text) | | | -| blockSetFile | [Event.Block.Set.File](#anytype.Event.Block.Set.File) | | | -| blockSetLink | [Event.Block.Set.Link](#anytype.Event.Block.Set.Link) | | | -| blockSetBookmark | [Event.Block.Set.Bookmark](#anytype.Event.Block.Set.Bookmark) | | | -| blockSetAlign | [Event.Block.Set.Align](#anytype.Event.Block.Set.Align) | | | -| blockSetDiv | [Event.Block.Set.Div](#anytype.Event.Block.Set.Div) | | | -| blockSetRelation | [Event.Block.Set.Relation](#anytype.Event.Block.Set.Relation) | | | -| blockSetLatex | [Event.Block.Set.Latex](#anytype.Event.Block.Set.Latex) | | | -| blockSetVerticalAlign | [Event.Block.Set.VerticalAlign](#anytype.Event.Block.Set.VerticalAlign) | | | -| blockSetTableRow | [Event.Block.Set.TableRow](#anytype.Event.Block.Set.TableRow) | | | -| blockSetWidget | [Event.Block.Set.Widget](#anytype.Event.Block.Set.Widget) | | | -| blockDataviewViewSet | [Event.Block.Dataview.ViewSet](#anytype.Event.Block.Dataview.ViewSet) | | | -| blockDataviewViewDelete | [Event.Block.Dataview.ViewDelete](#anytype.Event.Block.Dataview.ViewDelete) | | | -| blockDataviewViewOrder | [Event.Block.Dataview.ViewOrder](#anytype.Event.Block.Dataview.ViewOrder) | | | -| blockDataviewSourceSet | [Event.Block.Dataview.SourceSet](#anytype.Event.Block.Dataview.SourceSet) | | | -| blockDataViewGroupOrderUpdate | [Event.Block.Dataview.GroupOrderUpdate](#anytype.Event.Block.Dataview.GroupOrderUpdate) | | | -| blockDataViewObjectOrderUpdate | [Event.Block.Dataview.ObjectOrderUpdate](#anytype.Event.Block.Dataview.ObjectOrderUpdate) | | | -| blockDataviewRelationDelete | [Event.Block.Dataview.RelationDelete](#anytype.Event.Block.Dataview.RelationDelete) | | | -| blockDataviewRelationSet | [Event.Block.Dataview.RelationSet](#anytype.Event.Block.Dataview.RelationSet) | | | -| blockDataviewViewUpdate | [Event.Block.Dataview.ViewUpdate](#anytype.Event.Block.Dataview.ViewUpdate) | | | -| blockDataviewTargetObjectIdSet | [Event.Block.Dataview.TargetObjectIdSet](#anytype.Event.Block.Dataview.TargetObjectIdSet) | | | -| blockDataviewIsCollectionSet | [Event.Block.Dataview.IsCollectionSet](#anytype.Event.Block.Dataview.IsCollectionSet) | | | -| blockDataviewOldRelationDelete | [Event.Block.Dataview.OldRelationDelete](#anytype.Event.Block.Dataview.OldRelationDelete) | | deprecated | -| blockDataviewOldRelationSet | [Event.Block.Dataview.OldRelationSet](#anytype.Event.Block.Dataview.OldRelationSet) | | deprecated | -| userBlockJoin | [Event.User.Block.Join](#anytype.Event.User.Block.Join) | | | -| userBlockLeft | [Event.User.Block.Left](#anytype.Event.User.Block.Left) | | | -| userBlockSelectRange | [Event.User.Block.SelectRange](#anytype.Event.User.Block.SelectRange) | | | -| userBlockTextRange | [Event.User.Block.TextRange](#anytype.Event.User.Block.TextRange) | | | -| ping | [Event.Ping](#anytype.Event.Ping) | | | -| processNew | [Event.Process.New](#anytype.Event.Process.New) | | | -| processUpdate | [Event.Process.Update](#anytype.Event.Process.Update) | | | -| processDone | [Event.Process.Done](#anytype.Event.Process.Done) | | | -| threadStatus | [Event.Status.Thread](#anytype.Event.Status.Thread) | | | -| fileLimitReached | [Event.File.LimitReached](#anytype.Event.File.LimitReached) | | | -| fileSpaceUsage | [Event.File.SpaceUsage](#anytype.Event.File.SpaceUsage) | | | -| fileLocalUsage | [Event.File.LocalUsage](#anytype.Event.File.LocalUsage) | | | +| accountShow | [Event.Account.Show](#anytype-Event-Account-Show) | | | +| accountDetails | [Event.Account.Details](#anytype-Event-Account-Details) | | | +| accountConfigUpdate | [Event.Account.Config.Update](#anytype-Event-Account-Config-Update) | | | +| accountUpdate | [Event.Account.Update](#anytype-Event-Account-Update) | | | +| objectDetailsSet | [Event.Object.Details.Set](#anytype-Event-Object-Details-Set) | | | +| objectDetailsAmend | [Event.Object.Details.Amend](#anytype-Event-Object-Details-Amend) | | | +| objectDetailsUnset | [Event.Object.Details.Unset](#anytype-Event-Object-Details-Unset) | | | +| objectRelationsAmend | [Event.Object.Relations.Amend](#anytype-Event-Object-Relations-Amend) | | | +| objectRelationsRemove | [Event.Object.Relations.Remove](#anytype-Event-Object-Relations-Remove) | | | +| objectRemove | [Event.Object.Remove](#anytype-Event-Object-Remove) | | | +| objectRestrictionsSet | [Event.Object.Restrictions.Set](#anytype-Event-Object-Restrictions-Set) | | | +| subscriptionAdd | [Event.Object.Subscription.Add](#anytype-Event-Object-Subscription-Add) | | | +| subscriptionRemove | [Event.Object.Subscription.Remove](#anytype-Event-Object-Subscription-Remove) | | | +| subscriptionPosition | [Event.Object.Subscription.Position](#anytype-Event-Object-Subscription-Position) | | | +| subscriptionCounters | [Event.Object.Subscription.Counters](#anytype-Event-Object-Subscription-Counters) | | | +| subscriptionGroups | [Event.Object.Subscription.Groups](#anytype-Event-Object-Subscription-Groups) | | | +| blockAdd | [Event.Block.Add](#anytype-Event-Block-Add) | | | +| blockDelete | [Event.Block.Delete](#anytype-Event-Block-Delete) | | | +| filesUpload | [Event.Block.FilesUpload](#anytype-Event-Block-FilesUpload) | | | +| marksInfo | [Event.Block.MarksInfo](#anytype-Event-Block-MarksInfo) | | | +| blockSetFields | [Event.Block.Set.Fields](#anytype-Event-Block-Set-Fields) | | | +| blockSetChildrenIds | [Event.Block.Set.ChildrenIds](#anytype-Event-Block-Set-ChildrenIds) | | | +| blockSetRestrictions | [Event.Block.Set.Restrictions](#anytype-Event-Block-Set-Restrictions) | | | +| blockSetBackgroundColor | [Event.Block.Set.BackgroundColor](#anytype-Event-Block-Set-BackgroundColor) | | | +| blockSetText | [Event.Block.Set.Text](#anytype-Event-Block-Set-Text) | | | +| blockSetFile | [Event.Block.Set.File](#anytype-Event-Block-Set-File) | | | +| blockSetLink | [Event.Block.Set.Link](#anytype-Event-Block-Set-Link) | | | +| blockSetBookmark | [Event.Block.Set.Bookmark](#anytype-Event-Block-Set-Bookmark) | | | +| blockSetAlign | [Event.Block.Set.Align](#anytype-Event-Block-Set-Align) | | | +| blockSetDiv | [Event.Block.Set.Div](#anytype-Event-Block-Set-Div) | | | +| blockSetRelation | [Event.Block.Set.Relation](#anytype-Event-Block-Set-Relation) | | | +| blockSetLatex | [Event.Block.Set.Latex](#anytype-Event-Block-Set-Latex) | | | +| blockSetVerticalAlign | [Event.Block.Set.VerticalAlign](#anytype-Event-Block-Set-VerticalAlign) | | | +| blockSetTableRow | [Event.Block.Set.TableRow](#anytype-Event-Block-Set-TableRow) | | | +| blockSetWidget | [Event.Block.Set.Widget](#anytype-Event-Block-Set-Widget) | | | +| blockDataviewViewSet | [Event.Block.Dataview.ViewSet](#anytype-Event-Block-Dataview-ViewSet) | | | +| blockDataviewViewDelete | [Event.Block.Dataview.ViewDelete](#anytype-Event-Block-Dataview-ViewDelete) | | | +| blockDataviewViewOrder | [Event.Block.Dataview.ViewOrder](#anytype-Event-Block-Dataview-ViewOrder) | | | +| blockDataviewSourceSet | [Event.Block.Dataview.SourceSet](#anytype-Event-Block-Dataview-SourceSet) | | | +| blockDataViewGroupOrderUpdate | [Event.Block.Dataview.GroupOrderUpdate](#anytype-Event-Block-Dataview-GroupOrderUpdate) | | | +| blockDataViewObjectOrderUpdate | [Event.Block.Dataview.ObjectOrderUpdate](#anytype-Event-Block-Dataview-ObjectOrderUpdate) | | | +| blockDataviewRelationDelete | [Event.Block.Dataview.RelationDelete](#anytype-Event-Block-Dataview-RelationDelete) | | | +| blockDataviewRelationSet | [Event.Block.Dataview.RelationSet](#anytype-Event-Block-Dataview-RelationSet) | | | +| blockDataviewViewUpdate | [Event.Block.Dataview.ViewUpdate](#anytype-Event-Block-Dataview-ViewUpdate) | | | +| blockDataviewTargetObjectIdSet | [Event.Block.Dataview.TargetObjectIdSet](#anytype-Event-Block-Dataview-TargetObjectIdSet) | | | +| blockDataviewIsCollectionSet | [Event.Block.Dataview.IsCollectionSet](#anytype-Event-Block-Dataview-IsCollectionSet) | | | +| blockDataviewOldRelationDelete | [Event.Block.Dataview.OldRelationDelete](#anytype-Event-Block-Dataview-OldRelationDelete) | | deprecated | +| blockDataviewOldRelationSet | [Event.Block.Dataview.OldRelationSet](#anytype-Event-Block-Dataview-OldRelationSet) | | deprecated | +| userBlockJoin | [Event.User.Block.Join](#anytype-Event-User-Block-Join) | | | +| userBlockLeft | [Event.User.Block.Left](#anytype-Event-User-Block-Left) | | | +| userBlockSelectRange | [Event.User.Block.SelectRange](#anytype-Event-User-Block-SelectRange) | | | +| userBlockTextRange | [Event.User.Block.TextRange](#anytype-Event-User-Block-TextRange) | | | +| ping | [Event.Ping](#anytype-Event-Ping) | | | +| processNew | [Event.Process.New](#anytype-Event-Process-New) | | | +| processUpdate | [Event.Process.Update](#anytype-Event-Process-Update) | | | +| processDone | [Event.Process.Done](#anytype-Event-Process-Done) | | | +| threadStatus | [Event.Status.Thread](#anytype-Event-Status-Thread) | | | +| fileLimitReached | [Event.File.LimitReached](#anytype-Event-File-LimitReached) | | | +| fileSpaceUsage | [Event.File.SpaceUsage](#anytype-Event-File-SpaceUsage) | | | +| fileLocalUsage | [Event.File.LocalUsage](#anytype-Event-File-LocalUsage) | | | - + ### Event.Object @@ -19873,7 +19875,7 @@ Precondition: user A opened a block - + ### Event.Object.Details @@ -19883,7 +19885,7 @@ Precondition: user A opened a block - + ### Event.Object.Details.Amend Amend (i.e. add a new key-value pair or update an existing key-value pair) existing state @@ -19892,7 +19894,7 @@ Amend (i.e. add a new key-value pair or update an existing key-value pair) exist | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | context objectId | -| details | [Event.Object.Details.Amend.KeyValue](#anytype.Event.Object.Details.Amend.KeyValue) | repeated | slice of changed key-values | +| details | [Event.Object.Details.Amend.KeyValue](#anytype-Event-Object-Details-Amend-KeyValue) | repeated | slice of changed key-values | | subIds | [string](#string) | repeated | | @@ -19900,7 +19902,7 @@ Amend (i.e. add a new key-value pair or update an existing key-value pair) exist - + ### Event.Object.Details.Amend.KeyValue @@ -19909,14 +19911,14 @@ Amend (i.e. add a new key-value pair or update an existing key-value pair) exist | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | key | [string](#string) | | | -| value | [google.protobuf.Value](#google.protobuf.Value) | | should not be null | +| value | [google.protobuf.Value](#google-protobuf-Value) | | should not be null | - + ### Event.Object.Details.Set Overwrite current state @@ -19925,7 +19927,7 @@ Overwrite current state | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | context objectId | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | can not be a partial state. Should replace client details state | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | can not be a partial state. Should replace client details state | | subIds | [string](#string) | repeated | | @@ -19933,7 +19935,7 @@ Overwrite current state - + ### Event.Object.Details.Unset Unset existing detail keys @@ -19950,7 +19952,7 @@ Unset existing detail keys - + ### Event.Object.Relations @@ -19960,7 +19962,7 @@ Unset existing detail keys - + ### Event.Object.Relations.Amend @@ -19969,14 +19971,14 @@ Unset existing detail keys | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | context objectId | -| relationLinks | [model.RelationLink](#anytype.model.RelationLink) | repeated | | +| relationLinks | [model.RelationLink](#anytype-model-RelationLink) | repeated | | - + ### Event.Object.Relations.Remove @@ -19992,7 +19994,7 @@ Unset existing detail keys - + ### Event.Object.Remove @@ -20007,7 +20009,7 @@ Unset existing detail keys - + ### Event.Object.Restrictions @@ -20017,7 +20019,7 @@ Unset existing detail keys - + ### Event.Object.Restrictions.Set @@ -20026,14 +20028,14 @@ Unset existing detail keys | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| restrictions | [model.Restrictions](#anytype.model.Restrictions) | | | +| restrictions | [model.Restrictions](#anytype-model-Restrictions) | | | - + ### Event.Object.Subscription @@ -20043,7 +20045,7 @@ Unset existing detail keys - + ### Event.Object.Subscription.Add Adds new document to subscriptions @@ -20060,7 +20062,7 @@ Adds new document to subscriptions - + ### Event.Object.Subscription.Counters @@ -20078,7 +20080,7 @@ Adds new document to subscriptions - + ### Event.Object.Subscription.Groups @@ -20087,7 +20089,7 @@ Adds new document to subscriptions | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | subId | [string](#string) | | | -| group | [model.Block.Content.Dataview.Group](#anytype.model.Block.Content.Dataview.Group) | | | +| group | [model.Block.Content.Dataview.Group](#anytype-model-Block-Content-Dataview-Group) | | | | remove | [bool](#bool) | | | @@ -20095,7 +20097,7 @@ Adds new document to subscriptions - + ### Event.Object.Subscription.Position Indicates new position of document @@ -20112,7 +20114,7 @@ Indicates new position of document - + ### Event.Object.Subscription.Remove Removes document from subscription @@ -20128,7 +20130,7 @@ Removes document from subscription - + ### Event.Ping @@ -20143,7 +20145,7 @@ Removes document from subscription - + ### Event.Process @@ -20153,7 +20155,7 @@ Removes document from subscription - + ### Event.Process.Done @@ -20161,14 +20163,14 @@ Removes document from subscription | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| process | [Model.Process](#anytype.Model.Process) | | | +| process | [Model.Process](#anytype-Model-Process) | | | - + ### Event.Process.New @@ -20176,14 +20178,14 @@ Removes document from subscription | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| process | [Model.Process](#anytype.Model.Process) | | | +| process | [Model.Process](#anytype-Model-Process) | | | - + ### Event.Process.Update @@ -20191,14 +20193,14 @@ Removes document from subscription | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| process | [Model.Process](#anytype.Model.Process) | | | +| process | [Model.Process](#anytype-Model-Process) | | | - + ### Event.Status @@ -20208,7 +20210,7 @@ Removes document from subscription - + ### Event.Status.Thread @@ -20216,16 +20218,16 @@ Removes document from subscription | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| summary | [Event.Status.Thread.Summary](#anytype.Event.Status.Thread.Summary) | | | -| cafe | [Event.Status.Thread.Cafe](#anytype.Event.Status.Thread.Cafe) | | | -| accounts | [Event.Status.Thread.Account](#anytype.Event.Status.Thread.Account) | repeated | | +| summary | [Event.Status.Thread.Summary](#anytype-Event-Status-Thread-Summary) | | | +| cafe | [Event.Status.Thread.Cafe](#anytype-Event-Status-Thread-Cafe) | | | +| accounts | [Event.Status.Thread.Account](#anytype-Event-Status-Thread-Account) | repeated | | - + ### Event.Status.Thread.Account @@ -20239,14 +20241,14 @@ Removes document from subscription | online | [bool](#bool) | | | | lastPulled | [int64](#int64) | | | | lastEdited | [int64](#int64) | | | -| devices | [Event.Status.Thread.Device](#anytype.Event.Status.Thread.Device) | repeated | | +| devices | [Event.Status.Thread.Device](#anytype-Event-Status-Thread-Device) | repeated | | - + ### Event.Status.Thread.Cafe @@ -20254,17 +20256,17 @@ Removes document from subscription | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| status | [Event.Status.Thread.SyncStatus](#anytype.Event.Status.Thread.SyncStatus) | | | +| status | [Event.Status.Thread.SyncStatus](#anytype-Event-Status-Thread-SyncStatus) | | | | lastPulled | [int64](#int64) | | | | lastPushSucceed | [bool](#bool) | | | -| files | [Event.Status.Thread.Cafe.PinStatus](#anytype.Event.Status.Thread.Cafe.PinStatus) | | | +| files | [Event.Status.Thread.Cafe.PinStatus](#anytype-Event-Status-Thread-Cafe-PinStatus) | | | - + ### Event.Status.Thread.Cafe.PinStatus @@ -20282,7 +20284,7 @@ Removes document from subscription - + ### Event.Status.Thread.Device @@ -20300,7 +20302,7 @@ Removes document from subscription - + ### Event.Status.Thread.Summary @@ -20308,14 +20310,14 @@ Removes document from subscription | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| status | [Event.Status.Thread.SyncStatus](#anytype.Event.Status.Thread.SyncStatus) | | | +| status | [Event.Status.Thread.SyncStatus](#anytype-Event-Status-Thread-SyncStatus) | | | - + ### Event.User @@ -20325,7 +20327,7 @@ Removes document from subscription - + ### Event.User.Block @@ -20335,7 +20337,7 @@ Removes document from subscription - + ### Event.User.Block.Join Middleware to front end event message, that will be sent in this scenario: @@ -20346,14 +20348,14 @@ Precondition: user A opened a block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| account | [Event.Account](#anytype.Event.Account) | | Account of the user, that opened a block | +| account | [Event.Account](#anytype-Event-Account) | | Account of the user, that opened a block | - + ### Event.User.Block.Left Middleware to front end event message, that will be sent in this scenario: @@ -20364,14 +20366,14 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| account | [Event.Account](#anytype.Event.Account) | | Account of the user, that left the block | +| account | [Event.Account](#anytype-Event-Account) | | Account of the user, that left the block | - + ### Event.User.Block.SelectRange Middleware to front end event message, that will be sent in this scenario: @@ -20382,7 +20384,7 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| account | [Event.Account](#anytype.Event.Account) | | Account of the user, that selected blocks | +| account | [Event.Account](#anytype-Event-Account) | | Account of the user, that selected blocks | | blockIdsArray | [string](#string) | repeated | Ids of selected blocks. | @@ -20390,7 +20392,7 @@ Precondition: user A and user B opened the same block - + ### Event.User.Block.TextRange Middleware to front end event message, that will be sent in this scenario: @@ -20401,16 +20403,16 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| account | [Event.Account](#anytype.Event.Account) | | Account of the user, that selected a text | +| account | [Event.Account](#anytype-Event-Account) | | Account of the user, that selected a text | | blockId | [string](#string) | | Id of the text block, that have a selection | -| range | [model.Range](#anytype.model.Range) | | Range of the selection | +| range | [model.Range](#anytype-model-Range) | | Range of the selection | - + ### Model @@ -20420,7 +20422,7 @@ Precondition: user A and user B opened the same block - + ### Model.Process @@ -20429,16 +20431,16 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| type | [Model.Process.Type](#anytype.Model.Process.Type) | | | -| state | [Model.Process.State](#anytype.Model.Process.State) | | | -| progress | [Model.Process.Progress](#anytype.Model.Process.Progress) | | | +| type | [Model.Process.Type](#anytype-Model-Process-Type) | | | +| state | [Model.Process.State](#anytype-Model-Process-State) | | | +| progress | [Model.Process.Progress](#anytype-Model-Process-Progress) | | | - + ### Model.Process.Progress @@ -20455,7 +20457,7 @@ Precondition: user A and user B opened the same block - + ### ResponseEvent @@ -20463,7 +20465,7 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| messages | [Event.Message](#anytype.Event.Message) | repeated | | +| messages | [Event.Message](#anytype-Event-Message) | repeated | | | contextId | [string](#string) | | | | traceId | [string](#string) | | | @@ -20474,7 +20476,7 @@ Precondition: user A and user B opened the same block - + ### Event.Block.Dataview.SliceOperation @@ -20489,7 +20491,7 @@ Precondition: user A and user B opened the same block - + ### Event.Status.Thread.SyncStatus @@ -20505,7 +20507,7 @@ Precondition: user A and user B opened the same block - + ### Model.Process.State @@ -20520,7 +20522,7 @@ Precondition: user A and user B opened the same block - + ### Model.Process.Type @@ -20543,14 +20545,14 @@ Precondition: user A and user B opened the same block - +

Top

## pb/protos/snapshot.proto - + ### Profile @@ -20570,7 +20572,7 @@ Precondition: user A and user B opened the same block - + ### SnapshotWithType @@ -20578,8 +20580,8 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| sbType | [model.SmartBlockType](#anytype.model.SmartBlockType) | | | -| snapshot | [Change.Snapshot](#anytype.Change.Snapshot) | | | +| sbType | [model.SmartBlockType](#anytype-model-SmartBlockType) | | | +| snapshot | [Change.Snapshot](#anytype-Change-Snapshot) | | | @@ -20595,14 +20597,14 @@ Precondition: user A and user B opened the same block - +

Top

## pkg/lib/pb/model/protos/localstore.proto - + ### ObjectDetails @@ -20610,14 +20612,14 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### ObjectInfo @@ -20626,19 +20628,19 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| objectTypeUrls | [string](#string) | repeated | deprecated | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | -| relations | [Relation](#anytype.model.Relation) | repeated | | +| objectTypeUrls | [string](#string) | repeated | DEPRECATED | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | +| relations | [Relation](#anytype-model-Relation) | repeated | DEPRECATED | | snippet | [string](#string) | | | -| hasInboundLinks | [bool](#bool) | | | -| objectType | [SmartBlockType](#anytype.model.SmartBlockType) | | | +| hasInboundLinks | [bool](#bool) | | DEPRECATED | +| objectType | [SmartBlockType](#anytype-model-SmartBlockType) | | | - + ### ObjectInfoWithLinks @@ -20647,15 +20649,15 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| info | [ObjectInfo](#anytype.model.ObjectInfo) | | | -| links | [ObjectLinksInfo](#anytype.model.ObjectLinksInfo) | | | +| info | [ObjectInfo](#anytype-model-ObjectInfo) | | | +| links | [ObjectLinksInfo](#anytype-model-ObjectLinksInfo) | | | - + ### ObjectInfoWithOutboundLinks @@ -20664,15 +20666,15 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| info | [ObjectInfo](#anytype.model.ObjectInfo) | | | -| outboundLinks | [ObjectInfo](#anytype.model.ObjectInfo) | repeated | | +| info | [ObjectInfo](#anytype-model-ObjectInfo) | | | +| outboundLinks | [ObjectInfo](#anytype-model-ObjectInfo) | repeated | | - + ### ObjectInfoWithOutboundLinksIDs @@ -20681,7 +20683,7 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| info | [ObjectInfo](#anytype.model.ObjectInfo) | | | +| info | [ObjectInfo](#anytype-model-ObjectInfo) | | | | outboundLinks | [string](#string) | repeated | | @@ -20689,7 +20691,7 @@ Precondition: user A and user B opened the same block - + ### ObjectLinks @@ -20705,7 +20707,7 @@ Precondition: user A and user B opened the same block - + ### ObjectLinksInfo @@ -20713,15 +20715,15 @@ Precondition: user A and user B opened the same block | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| inbound | [ObjectInfo](#anytype.model.ObjectInfo) | repeated | | -| outbound | [ObjectInfo](#anytype.model.ObjectInfo) | repeated | | +| inbound | [ObjectInfo](#anytype-model-ObjectInfo) | repeated | | +| outbound | [ObjectInfo](#anytype-model-ObjectInfo) | repeated | | - + ### ObjectStoreChecksums @@ -20754,14 +20756,14 @@ Precondition: user A and user B opened the same block - +

Top

## pkg/lib/pb/model/protos/models.proto - + ### Account Contains basic information about a user account @@ -20771,17 +20773,17 @@ Contains basic information about a user account | ----- | ---- | ----- | ----------- | | id | [string](#string) | | User's thread id | | name | [string](#string) | | User name, that associated with this account | -| avatar | [Account.Avatar](#anytype.model.Account.Avatar) | | Avatar of a user's account | -| config | [Account.Config](#anytype.model.Account.Config) | | | -| status | [Account.Status](#anytype.model.Account.Status) | | | -| info | [Account.Info](#anytype.model.Account.Info) | | | +| avatar | [Account.Avatar](#anytype-model-Account-Avatar) | | Avatar of a user's account | +| config | [Account.Config](#anytype-model-Account-Config) | | | +| status | [Account.Status](#anytype-model-Account-Status) | | | +| info | [Account.Info](#anytype-model-Account-Info) | | | - + ### Account.Avatar Avatar of a user's account. It could be an image or color @@ -20789,7 +20791,7 @@ Avatar of a user's account. It could be an image or color | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| image | [Block.Content.File](#anytype.model.Block.Content.File) | | Image of the avatar. Contains the hash to retrieve the image. | +| image | [Block.Content.File](#anytype-model-Block-Content-File) | | Image of the avatar. Contains the hash to retrieve the image. | | color | [string](#string) | | Color of the avatar, used if image not set. | @@ -20797,7 +20799,7 @@ Avatar of a user's account. It could be an image or color - + ### Account.Config @@ -20809,14 +20811,14 @@ Avatar of a user's account. It could be an image or color | enableDebug | [bool](#bool) | | | | enablePrereleaseChannel | [bool](#bool) | | | | enableSpaces | [bool](#bool) | | | -| extra | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| extra | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### Account.Info @@ -20841,7 +20843,7 @@ Avatar of a user's account. It could be an image or color - + ### Account.Status @@ -20849,7 +20851,7 @@ Avatar of a user's account. It could be an image or color | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| statusType | [Account.StatusType](#anytype.model.Account.StatusType) | | | +| statusType | [Account.StatusType](#anytype-model-Account-StatusType) | | | | deletionDate | [int64](#int64) | | | @@ -20857,7 +20859,7 @@ Avatar of a user's account. It could be an image or color - + ### Block @@ -20866,36 +20868,36 @@ Avatar of a user's account. It could be an image or color | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| fields | [google.protobuf.Struct](#google.protobuf.Struct) | | | -| restrictions | [Block.Restrictions](#anytype.model.Block.Restrictions) | | | +| fields | [google.protobuf.Struct](#google-protobuf-Struct) | | | +| restrictions | [Block.Restrictions](#anytype-model-Block-Restrictions) | | | | childrenIds | [string](#string) | repeated | | | backgroundColor | [string](#string) | | | -| align | [Block.Align](#anytype.model.Block.Align) | | | -| verticalAlign | [Block.VerticalAlign](#anytype.model.Block.VerticalAlign) | | | -| smartblock | [Block.Content.Smartblock](#anytype.model.Block.Content.Smartblock) | | | -| text | [Block.Content.Text](#anytype.model.Block.Content.Text) | | | -| file | [Block.Content.File](#anytype.model.Block.Content.File) | | | -| layout | [Block.Content.Layout](#anytype.model.Block.Content.Layout) | | | -| div | [Block.Content.Div](#anytype.model.Block.Content.Div) | | | -| bookmark | [Block.Content.Bookmark](#anytype.model.Block.Content.Bookmark) | | | -| icon | [Block.Content.Icon](#anytype.model.Block.Content.Icon) | | | -| link | [Block.Content.Link](#anytype.model.Block.Content.Link) | | | -| dataview | [Block.Content.Dataview](#anytype.model.Block.Content.Dataview) | | | -| relation | [Block.Content.Relation](#anytype.model.Block.Content.Relation) | | | -| featuredRelations | [Block.Content.FeaturedRelations](#anytype.model.Block.Content.FeaturedRelations) | | | -| latex | [Block.Content.Latex](#anytype.model.Block.Content.Latex) | | | -| tableOfContents | [Block.Content.TableOfContents](#anytype.model.Block.Content.TableOfContents) | | | -| table | [Block.Content.Table](#anytype.model.Block.Content.Table) | | | -| tableColumn | [Block.Content.TableColumn](#anytype.model.Block.Content.TableColumn) | | | -| tableRow | [Block.Content.TableRow](#anytype.model.Block.Content.TableRow) | | | -| widget | [Block.Content.Widget](#anytype.model.Block.Content.Widget) | | | +| align | [Block.Align](#anytype-model-Block-Align) | | | +| verticalAlign | [Block.VerticalAlign](#anytype-model-Block-VerticalAlign) | | | +| smartblock | [Block.Content.Smartblock](#anytype-model-Block-Content-Smartblock) | | | +| text | [Block.Content.Text](#anytype-model-Block-Content-Text) | | | +| file | [Block.Content.File](#anytype-model-Block-Content-File) | | | +| layout | [Block.Content.Layout](#anytype-model-Block-Content-Layout) | | | +| div | [Block.Content.Div](#anytype-model-Block-Content-Div) | | | +| bookmark | [Block.Content.Bookmark](#anytype-model-Block-Content-Bookmark) | | | +| icon | [Block.Content.Icon](#anytype-model-Block-Content-Icon) | | | +| link | [Block.Content.Link](#anytype-model-Block-Content-Link) | | | +| dataview | [Block.Content.Dataview](#anytype-model-Block-Content-Dataview) | | | +| relation | [Block.Content.Relation](#anytype-model-Block-Content-Relation) | | | +| featuredRelations | [Block.Content.FeaturedRelations](#anytype-model-Block-Content-FeaturedRelations) | | | +| latex | [Block.Content.Latex](#anytype-model-Block-Content-Latex) | | | +| tableOfContents | [Block.Content.TableOfContents](#anytype-model-Block-Content-TableOfContents) | | | +| table | [Block.Content.Table](#anytype-model-Block-Content-Table) | | | +| tableColumn | [Block.Content.TableColumn](#anytype-model-Block-Content-TableColumn) | | | +| tableRow | [Block.Content.TableRow](#anytype-model-Block-Content-TableRow) | | | +| widget | [Block.Content.Widget](#anytype-model-Block-Content-Widget) | | | - + ### Block.Content @@ -20905,7 +20907,7 @@ Avatar of a user's account. It could be an image or color - + ### Block.Content.Bookmark Bookmark is to keep a web-link and to preview a content. @@ -20918,16 +20920,16 @@ Bookmark is to keep a web-link and to preview a content. | description | [string](#string) | | Deprecated. Get this data from the target object. | | imageHash | [string](#string) | | Deprecated. Get this data from the target object. | | faviconHash | [string](#string) | | Deprecated. Get this data from the target object. | -| type | [LinkPreview.Type](#anytype.model.LinkPreview.Type) | | | +| type | [LinkPreview.Type](#anytype-model-LinkPreview-Type) | | | | targetObjectId | [string](#string) | | | -| state | [Block.Content.Bookmark.State](#anytype.model.Block.Content.Bookmark.State) | | | +| state | [Block.Content.Bookmark.State](#anytype-model-Block-Content-Bookmark-State) | | | - + ### Block.Content.Dataview @@ -20936,12 +20938,12 @@ Bookmark is to keep a web-link and to preview a content. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | source | [string](#string) | repeated | | -| views | [Block.Content.Dataview.View](#anytype.model.Block.Content.Dataview.View) | repeated | | -| relations | [Relation](#anytype.model.Relation) | repeated | deprecated | +| views | [Block.Content.Dataview.View](#anytype-model-Block-Content-Dataview-View) | repeated | | +| relations | [Relation](#anytype-model-Relation) | repeated | deprecated | | activeView | [string](#string) | | saved within a session | -| groupOrders | [Block.Content.Dataview.GroupOrder](#anytype.model.Block.Content.Dataview.GroupOrder) | repeated | | -| objectOrders | [Block.Content.Dataview.ObjectOrder](#anytype.model.Block.Content.Dataview.ObjectOrder) | repeated | | -| relationLinks | [RelationLink](#anytype.model.RelationLink) | repeated | | +| groupOrders | [Block.Content.Dataview.GroupOrder](#anytype-model-Block-Content-Dataview-GroupOrder) | repeated | | +| objectOrders | [Block.Content.Dataview.ObjectOrder](#anytype-model-Block-Content-Dataview-ObjectOrder) | repeated | | +| relationLinks | [RelationLink](#anytype-model-RelationLink) | repeated | | | TargetObjectId | [string](#string) | | | | isCollection | [bool](#bool) | | | @@ -20950,7 +20952,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Dataview.Checkbox @@ -20965,7 +20967,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Dataview.Date @@ -20975,7 +20977,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Dataview.Filter @@ -20984,13 +20986,13 @@ Bookmark is to keep a web-link and to preview a content. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| operator | [Block.Content.Dataview.Filter.Operator](#anytype.model.Block.Content.Dataview.Filter.Operator) | | looks not applicable? | +| operator | [Block.Content.Dataview.Filter.Operator](#anytype-model-Block-Content-Dataview-Filter-Operator) | | looks not applicable? | | RelationKey | [string](#string) | | | | relationProperty | [string](#string) | | | -| condition | [Block.Content.Dataview.Filter.Condition](#anytype.model.Block.Content.Dataview.Filter.Condition) | | | -| value | [google.protobuf.Value](#google.protobuf.Value) | | | -| quickOption | [Block.Content.Dataview.Filter.QuickOption](#anytype.model.Block.Content.Dataview.Filter.QuickOption) | | | -| format | [RelationFormat](#anytype.model.RelationFormat) | | | +| condition | [Block.Content.Dataview.Filter.Condition](#anytype-model-Block-Content-Dataview-Filter-Condition) | | | +| value | [google.protobuf.Value](#google-protobuf-Value) | | | +| quickOption | [Block.Content.Dataview.Filter.QuickOption](#anytype-model-Block-Content-Dataview-Filter-QuickOption) | | | +| format | [RelationFormat](#anytype-model-RelationFormat) | | | | includeTime | [bool](#bool) | | | @@ -20998,7 +21000,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Dataview.Group @@ -21007,17 +21009,17 @@ Bookmark is to keep a web-link and to preview a content. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| status | [Block.Content.Dataview.Status](#anytype.model.Block.Content.Dataview.Status) | | | -| tag | [Block.Content.Dataview.Tag](#anytype.model.Block.Content.Dataview.Tag) | | | -| checkbox | [Block.Content.Dataview.Checkbox](#anytype.model.Block.Content.Dataview.Checkbox) | | | -| date | [Block.Content.Dataview.Date](#anytype.model.Block.Content.Dataview.Date) | | | +| status | [Block.Content.Dataview.Status](#anytype-model-Block-Content-Dataview-Status) | | | +| tag | [Block.Content.Dataview.Tag](#anytype-model-Block-Content-Dataview-Tag) | | | +| checkbox | [Block.Content.Dataview.Checkbox](#anytype-model-Block-Content-Dataview-Checkbox) | | | +| date | [Block.Content.Dataview.Date](#anytype-model-Block-Content-Dataview-Date) | | | - + ### Block.Content.Dataview.GroupOrder @@ -21026,14 +21028,14 @@ Bookmark is to keep a web-link and to preview a content. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | viewId | [string](#string) | | | -| viewGroups | [Block.Content.Dataview.ViewGroup](#anytype.model.Block.Content.Dataview.ViewGroup) | repeated | | +| viewGroups | [Block.Content.Dataview.ViewGroup](#anytype-model-Block-Content-Dataview-ViewGroup) | repeated | | - + ### Block.Content.Dataview.ObjectOrder @@ -21050,7 +21052,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Dataview.Relation @@ -21062,15 +21064,15 @@ Bookmark is to keep a web-link and to preview a content. | isVisible | [bool](#bool) | | | | width | [int32](#int32) | | the displayed column % calculated based on other visible relations | | dateIncludeTime | [bool](#bool) | | | -| timeFormat | [Block.Content.Dataview.Relation.TimeFormat](#anytype.model.Block.Content.Dataview.Relation.TimeFormat) | | | -| dateFormat | [Block.Content.Dataview.Relation.DateFormat](#anytype.model.Block.Content.Dataview.Relation.DateFormat) | | | +| timeFormat | [Block.Content.Dataview.Relation.TimeFormat](#anytype-model-Block-Content-Dataview-Relation-TimeFormat) | | | +| dateFormat | [Block.Content.Dataview.Relation.DateFormat](#anytype-model-Block-Content-Dataview-Relation-DateFormat) | | | - + ### Block.Content.Dataview.Sort @@ -21080,9 +21082,9 @@ Bookmark is to keep a web-link and to preview a content. | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | | RelationKey | [string](#string) | | | -| type | [Block.Content.Dataview.Sort.Type](#anytype.model.Block.Content.Dataview.Sort.Type) | | | -| customOrder | [google.protobuf.Value](#google.protobuf.Value) | repeated | | -| format | [RelationFormat](#anytype.model.RelationFormat) | | | +| type | [Block.Content.Dataview.Sort.Type](#anytype-model-Block-Content-Dataview-Sort-Type) | | | +| customOrder | [google.protobuf.Value](#google-protobuf-Value) | repeated | | +| format | [RelationFormat](#anytype-model-RelationFormat) | | | | includeTime | [bool](#bool) | | | @@ -21090,7 +21092,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Dataview.Status @@ -21105,7 +21107,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Dataview.Tag @@ -21120,7 +21122,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Dataview.View @@ -21129,14 +21131,14 @@ Bookmark is to keep a web-link and to preview a content. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| type | [Block.Content.Dataview.View.Type](#anytype.model.Block.Content.Dataview.View.Type) | | | +| type | [Block.Content.Dataview.View.Type](#anytype-model-Block-Content-Dataview-View-Type) | | | | name | [string](#string) | | | -| sorts | [Block.Content.Dataview.Sort](#anytype.model.Block.Content.Dataview.Sort) | repeated | | -| filters | [Block.Content.Dataview.Filter](#anytype.model.Block.Content.Dataview.Filter) | repeated | | -| relations | [Block.Content.Dataview.Relation](#anytype.model.Block.Content.Dataview.Relation) | repeated | relations fields/columns options, also used to provide the order | +| sorts | [Block.Content.Dataview.Sort](#anytype-model-Block-Content-Dataview-Sort) | repeated | | +| filters | [Block.Content.Dataview.Filter](#anytype-model-Block-Content-Dataview-Filter) | repeated | | +| relations | [Block.Content.Dataview.Relation](#anytype-model-Block-Content-Dataview-Relation) | repeated | relations fields/columns options, also used to provide the order | | coverRelationKey | [string](#string) | | Relation used for cover in gallery | | hideIcon | [bool](#bool) | | Hide icon near name | -| cardSize | [Block.Content.Dataview.View.Size](#anytype.model.Block.Content.Dataview.View.Size) | | Gallery card size | +| cardSize | [Block.Content.Dataview.View.Size](#anytype-model-Block-Content-Dataview-View-Size) | | Gallery card size | | coverFit | [bool](#bool) | | Image fits container | | groupRelationKey | [string](#string) | | Group view by this relationKey | | groupBackgroundColors | [bool](#bool) | | Enable backgrounds in groups | @@ -21147,7 +21149,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Dataview.ViewGroup @@ -21165,7 +21167,7 @@ Bookmark is to keep a web-link and to preview a content. - + ### Block.Content.Div Divider: block, that contains only one horizontal thin line @@ -21173,14 +21175,14 @@ Divider: block, that contains only one horizontal thin line | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| style | [Block.Content.Div.Style](#anytype.model.Block.Content.Div.Style) | | | +| style | [Block.Content.Div.Style](#anytype-model-Block-Content-Div-Style) | | | - + ### Block.Content.FeaturedRelations @@ -21190,7 +21192,7 @@ Divider: block, that contains only one horizontal thin line - + ### Block.Content.File @@ -21200,19 +21202,19 @@ Divider: block, that contains only one horizontal thin line | ----- | ---- | ----- | ----------- | | hash | [string](#string) | | | | name | [string](#string) | | | -| type | [Block.Content.File.Type](#anytype.model.Block.Content.File.Type) | | | +| type | [Block.Content.File.Type](#anytype-model-Block-Content-File-Type) | | | | mime | [string](#string) | | | | size | [int64](#int64) | | | | addedAt | [int64](#int64) | | | -| state | [Block.Content.File.State](#anytype.model.Block.Content.File.State) | | | -| style | [Block.Content.File.Style](#anytype.model.Block.Content.File.Style) | | | +| state | [Block.Content.File.State](#anytype-model-Block-Content-File-State) | | | +| style | [Block.Content.File.Style](#anytype-model-Block-Content-File-Style) | | | - + ### Block.Content.Icon @@ -21227,7 +21229,7 @@ Divider: block, that contains only one horizontal thin line - + ### Block.Content.Latex @@ -21242,7 +21244,7 @@ Divider: block, that contains only one horizontal thin line - + ### Block.Content.Layout Layout have no visual representation, but affects on blocks, that it contains. @@ -21251,14 +21253,14 @@ Row/Column layout blocks creates only automatically, after some of a D&D ope | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| style | [Block.Content.Layout.Style](#anytype.model.Block.Content.Layout.Style) | | | +| style | [Block.Content.Layout.Style](#anytype-model-Block-Content-Layout-Style) | | | - + ### Block.Content.Link Link: block to link some content from an external sources. @@ -21267,11 +21269,11 @@ Link: block to link some content from an external sources. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | targetBlockId | [string](#string) | | id of the target block | -| style | [Block.Content.Link.Style](#anytype.model.Block.Content.Link.Style) | | deprecated | -| fields | [google.protobuf.Struct](#google.protobuf.Struct) | | | -| iconSize | [Block.Content.Link.IconSize](#anytype.model.Block.Content.Link.IconSize) | | | -| cardStyle | [Block.Content.Link.CardStyle](#anytype.model.Block.Content.Link.CardStyle) | | | -| description | [Block.Content.Link.Description](#anytype.model.Block.Content.Link.Description) | | | +| style | [Block.Content.Link.Style](#anytype-model-Block-Content-Link-Style) | | deprecated | +| fields | [google.protobuf.Struct](#google-protobuf-Struct) | | | +| iconSize | [Block.Content.Link.IconSize](#anytype-model-Block-Content-Link-IconSize) | | | +| cardStyle | [Block.Content.Link.CardStyle](#anytype-model-Block-Content-Link-CardStyle) | | | +| description | [Block.Content.Link.Description](#anytype-model-Block-Content-Link-Description) | | | | relations | [string](#string) | repeated | | @@ -21279,7 +21281,7 @@ Link: block to link some content from an external sources. - + ### Block.Content.Relation @@ -21294,7 +21296,7 @@ Link: block to link some content from an external sources. - + ### Block.Content.Smartblock @@ -21304,7 +21306,7 @@ Link: block to link some content from an external sources. - + ### Block.Content.Table @@ -21314,7 +21316,7 @@ Link: block to link some content from an external sources. - + ### Block.Content.TableColumn @@ -21324,7 +21326,7 @@ Link: block to link some content from an external sources. - + ### Block.Content.TableOfContents @@ -21334,7 +21336,7 @@ Link: block to link some content from an external sources. - + ### Block.Content.TableRow @@ -21349,7 +21351,7 @@ Link: block to link some content from an external sources. - + ### Block.Content.Text @@ -21358,8 +21360,8 @@ Link: block to link some content from an external sources. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | text | [string](#string) | | | -| style | [Block.Content.Text.Style](#anytype.model.Block.Content.Text.Style) | | | -| marks | [Block.Content.Text.Marks](#anytype.model.Block.Content.Text.Marks) | | list of marks to apply to the text | +| style | [Block.Content.Text.Style](#anytype-model-Block-Content-Text-Style) | | | +| marks | [Block.Content.Text.Marks](#anytype-model-Block-Content-Text-Marks) | | list of marks to apply to the text | | checked | [bool](#bool) | | | | color | [string](#string) | | | | iconEmoji | [string](#string) | | used with style Callout | @@ -21370,7 +21372,7 @@ Link: block to link some content from an external sources. - + ### Block.Content.Text.Mark @@ -21378,8 +21380,8 @@ Link: block to link some content from an external sources. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| range | [Range](#anytype.model.Range) | | range of symbols to apply this mark. From(symbol) To(symbol) | -| type | [Block.Content.Text.Mark.Type](#anytype.model.Block.Content.Text.Mark.Type) | | | +| range | [Range](#anytype-model-Range) | | range of symbols to apply this mark. From(symbol) To(symbol) | +| type | [Block.Content.Text.Mark.Type](#anytype-model-Block-Content-Text-Mark-Type) | | | | param | [string](#string) | | link, color, etc | @@ -21387,7 +21389,7 @@ Link: block to link some content from an external sources. - + ### Block.Content.Text.Marks @@ -21395,14 +21397,14 @@ Link: block to link some content from an external sources. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| marks | [Block.Content.Text.Mark](#anytype.model.Block.Content.Text.Mark) | repeated | | +| marks | [Block.Content.Text.Mark](#anytype-model-Block-Content-Text-Mark) | repeated | | - + ### Block.Content.Widget @@ -21410,7 +21412,7 @@ Link: block to link some content from an external sources. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| layout | [Block.Content.Widget.Layout](#anytype.model.Block.Content.Widget.Layout) | | | +| layout | [Block.Content.Widget.Layout](#anytype-model-Block-Content-Widget-Layout) | | | | limit | [int32](#int32) | | | | viewId | [string](#string) | | | @@ -21419,7 +21421,7 @@ Link: block to link some content from an external sources. - + ### Block.Restrictions @@ -21438,7 +21440,7 @@ Link: block to link some content from an external sources. - + ### BlockMetaOnly Used to decode block meta only, without the content itself @@ -21447,14 +21449,14 @@ Used to decode block meta only, without the content itself | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | -| fields | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| fields | [google.protobuf.Struct](#google-protobuf-Struct) | | | - + ### InternalFlag @@ -21462,14 +21464,14 @@ Used to decode block meta only, without the content itself | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| value | [InternalFlag.Value](#anytype.model.InternalFlag.Value) | | | +| value | [InternalFlag.Value](#anytype-model-InternalFlag-Value) | | | - + ### Layout @@ -21477,16 +21479,16 @@ Used to decode block meta only, without the content itself | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| id | [ObjectType.Layout](#anytype.model.ObjectType.Layout) | | | +| id | [ObjectType.Layout](#anytype-model-ObjectType-Layout) | | | | name | [string](#string) | | | -| requiredRelations | [Relation](#anytype.model.Relation) | repeated | relations required for this object type | +| requiredRelations | [Relation](#anytype-model-Relation) | repeated | relations required for this object type | - + ### LinkPreview @@ -21499,14 +21501,14 @@ Used to decode block meta only, without the content itself | description | [string](#string) | | | | imageUrl | [string](#string) | | | | faviconUrl | [string](#string) | | | -| type | [LinkPreview.Type](#anytype.model.LinkPreview.Type) | | | +| type | [LinkPreview.Type](#anytype-model-LinkPreview-Type) | | | - + ### Object @@ -21516,7 +21518,7 @@ Used to decode block meta only, without the content itself - + ### Object.ChangePayload @@ -21524,14 +21526,14 @@ Used to decode block meta only, without the content itself | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| smartBlockType | [SmartBlockType](#anytype.model.SmartBlockType) | | | +| smartBlockType | [SmartBlockType](#anytype-model-SmartBlockType) | | | - + ### ObjectType @@ -21541,13 +21543,13 @@ Used to decode block meta only, without the content itself | ----- | ---- | ----- | ----------- | | url | [string](#string) | | leave empty in case you want to create the new one | | name | [string](#string) | | name of objectType (can be localized for bundled types) | -| relationLinks | [RelationLink](#anytype.model.RelationLink) | repeated | cannot contain more than one Relation with the same RelationType | -| layout | [ObjectType.Layout](#anytype.model.ObjectType.Layout) | | | +| relationLinks | [RelationLink](#anytype-model-RelationLink) | repeated | cannot contain more than one Relation with the same RelationType | +| layout | [ObjectType.Layout](#anytype-model-ObjectType-Layout) | | | | iconEmoji | [string](#string) | | emoji symbol | | description | [string](#string) | | | | hidden | [bool](#bool) | | | | readonly | [bool](#bool) | | | -| types | [SmartBlockType](#anytype.model.SmartBlockType) | repeated | | +| types | [SmartBlockType](#anytype-model-SmartBlockType) | repeated | | | isArchived | [bool](#bool) | | sets locally to hide object type from set and some other places | | installedByDefault | [bool](#bool) | | | @@ -21556,7 +21558,7 @@ Used to decode block meta only, without the content itself - + ### ObjectView Works with a smart blocks: Page, Dashboard @@ -21566,20 +21568,20 @@ Dashboard opened, click on a page, Rpc.Block.open, Block.ShowFullscreen(PageBloc | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | rootId | [string](#string) | | Root block id | -| blocks | [Block](#anytype.model.Block) | repeated | dependent simple blocks (descendants) | -| details | [ObjectView.DetailsSet](#anytype.model.ObjectView.DetailsSet) | repeated | details for the current and dependent objects | -| type | [SmartBlockType](#anytype.model.SmartBlockType) | | | -| relations | [Relation](#anytype.model.Relation) | repeated | DEPRECATED, use relationLinks instead | -| relationLinks | [RelationLink](#anytype.model.RelationLink) | repeated | | -| restrictions | [Restrictions](#anytype.model.Restrictions) | | object restrictions | -| history | [ObjectView.HistorySize](#anytype.model.ObjectView.HistorySize) | | | +| blocks | [Block](#anytype-model-Block) | repeated | dependent simple blocks (descendants) | +| details | [ObjectView.DetailsSet](#anytype-model-ObjectView-DetailsSet) | repeated | details for the current and dependent objects | +| type | [SmartBlockType](#anytype-model-SmartBlockType) | | | +| relations | [Relation](#anytype-model-Relation) | repeated | DEPRECATED, use relationLinks instead | +| relationLinks | [RelationLink](#anytype-model-RelationLink) | repeated | | +| restrictions | [Restrictions](#anytype-model-Restrictions) | | object restrictions | +| history | [ObjectView.HistorySize](#anytype-model-ObjectView-HistorySize) | | | - + ### ObjectView.DetailsSet @@ -21588,7 +21590,7 @@ Dashboard opened, click on a page, Rpc.Block.open, Block.ShowFullscreen(PageBloc | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | id | [string](#string) | | context objectId | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | can not be a partial state. Should replace client details state | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | can not be a partial state. Should replace client details state | | subIds | [string](#string) | repeated | | @@ -21596,7 +21598,7 @@ Dashboard opened, click on a page, Rpc.Block.open, Block.ShowFullscreen(PageBloc - + ### ObjectView.HistorySize @@ -21612,7 +21614,7 @@ Dashboard opened, click on a page, Rpc.Block.open, Block.ShowFullscreen(PageBloc - + ### ObjectView.RelationWithValuePerObject @@ -21621,14 +21623,14 @@ Dashboard opened, click on a page, Rpc.Block.open, Block.ShowFullscreen(PageBloc | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | objectId | [string](#string) | | | -| relations | [RelationWithValue](#anytype.model.RelationWithValue) | repeated | | +| relations | [RelationWithValue](#anytype-model-RelationWithValue) | repeated | | - + ### Range General purpose structure, uses in Mark. @@ -21644,7 +21646,7 @@ General purpose structure, uses in Mark. - + ### Relation Relation describe the human-interpreted relation type. It may be something like "Date of creation, format=date" or "Assignee, format=objectId, objectType=person" @@ -21654,21 +21656,21 @@ Relation describe the human-interpreted relation type. It may be something like | ----- | ---- | ----- | ----------- | | id | [string](#string) | | | | key | [string](#string) | | Key under which the value is stored in the map. Must be unique for the object type. It usually auto-generated bsonid, but also may be something human-readable in case of prebuilt types. | -| format | [RelationFormat](#anytype.model.RelationFormat) | | format of the underlying data | +| format | [RelationFormat](#anytype-model-RelationFormat) | | format of the underlying data | | name | [string](#string) | | name to show (can be localized for bundled types) | -| defaultValue | [google.protobuf.Value](#google.protobuf.Value) | | | -| dataSource | [Relation.DataSource](#anytype.model.Relation.DataSource) | | where the data is stored | +| defaultValue | [google.protobuf.Value](#google-protobuf-Value) | | | +| dataSource | [Relation.DataSource](#anytype-model-Relation-DataSource) | | where the data is stored | | hidden | [bool](#bool) | | internal, not displayed to user (e.g. coverX, coverY) | | readOnly | [bool](#bool) | | value not editable by user tobe renamed to readonlyValue | | readOnlyRelation | [bool](#bool) | | relation metadata, eg name and format is not editable by user | | multi | [bool](#bool) | | allow multiple values (stored in pb list) | | objectTypes | [string](#string) | repeated | URL of object type, empty to allow link to any object | -| selectDict | [Relation.Option](#anytype.model.Relation.Option) | repeated | index 10, 11 was used in internal-only builds. Can be reused, but may break some test accounts +| selectDict | [Relation.Option](#anytype-model-Relation-Option) | repeated | index 10, 11 was used in internal-only builds. Can be reused, but may break some test accounts default dictionary with unique values to choose for select/multiSelect format | | maxCount | [int32](#int32) | | max number of values can be set for this relation. 0 means no limit. 1 means the value can be stored in non-repeated field | | description | [string](#string) | | | -| scope | [Relation.Scope](#anytype.model.Relation.Scope) | | on-store fields, injected only locally +| scope | [Relation.Scope](#anytype-model-Relation-Scope) | | on-store fields, injected only locally scope from which this relation have been aggregated | | creator | [string](#string) | | creator profile id | @@ -21678,7 +21680,7 @@ scope from which this relation have been aggregated | - + ### Relation.Option @@ -21698,7 +21700,7 @@ stored | - + ### RelationLink @@ -21707,14 +21709,14 @@ stored | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | key | [string](#string) | | | -| format | [RelationFormat](#anytype.model.RelationFormat) | | | +| format | [RelationFormat](#anytype-model-RelationFormat) | | | - + ### RelationOptions @@ -21722,14 +21724,14 @@ stored | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| options | [Relation.Option](#anytype.model.Relation.Option) | repeated | | +| options | [Relation.Option](#anytype-model-Relation-Option) | repeated | | - + ### RelationWithValue @@ -21737,15 +21739,15 @@ stored | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| relation | [Relation](#anytype.model.Relation) | | | -| value | [google.protobuf.Value](#google.protobuf.Value) | | | +| relation | [Relation](#anytype-model-Relation) | | | +| value | [google.protobuf.Value](#google-protobuf-Value) | | | - + ### Relations @@ -21753,14 +21755,14 @@ stored | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| relations | [Relation](#anytype.model.Relation) | repeated | | +| relations | [Relation](#anytype-model-Relation) | repeated | | - + ### Restrictions @@ -21768,15 +21770,15 @@ stored | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| object | [Restrictions.ObjectRestriction](#anytype.model.Restrictions.ObjectRestriction) | repeated | | -| dataview | [Restrictions.DataviewRestrictions](#anytype.model.Restrictions.DataviewRestrictions) | repeated | | +| object | [Restrictions.ObjectRestriction](#anytype-model-Restrictions-ObjectRestriction) | repeated | | +| dataview | [Restrictions.DataviewRestrictions](#anytype-model-Restrictions-DataviewRestrictions) | repeated | | - + ### Restrictions.DataviewRestrictions @@ -21785,14 +21787,14 @@ stored | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | blockId | [string](#string) | | | -| restrictions | [Restrictions.DataviewRestriction](#anytype.model.Restrictions.DataviewRestriction) | repeated | | +| restrictions | [Restrictions.DataviewRestriction](#anytype-model-Restrictions-DataviewRestriction) | repeated | | - + ### SmartBlockSnapshotBase @@ -21800,21 +21802,21 @@ stored | | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| blocks | [Block](#anytype.model.Block) | repeated | | -| details | [google.protobuf.Struct](#google.protobuf.Struct) | | | -| fileKeys | [google.protobuf.Struct](#google.protobuf.Struct) | | | -| extraRelations | [Relation](#anytype.model.Relation) | repeated | deprecated | +| blocks | [Block](#anytype-model-Block) | repeated | | +| details | [google.protobuf.Struct](#google-protobuf-Struct) | | | +| fileKeys | [google.protobuf.Struct](#google-protobuf-Struct) | | | +| extraRelations | [Relation](#anytype-model-Relation) | repeated | deprecated | | objectTypes | [string](#string) | repeated | | -| collections | [google.protobuf.Struct](#google.protobuf.Struct) | | | +| collections | [google.protobuf.Struct](#google-protobuf-Struct) | | | | removedCollectionKeys | [string](#string) | repeated | | -| relationLinks | [RelationLink](#anytype.model.RelationLink) | repeated | | +| relationLinks | [RelationLink](#anytype-model-RelationLink) | repeated | | - + ### ThreadCreateQueueEntry @@ -21830,7 +21832,7 @@ stored | - + ### ThreadDeeplinkPayload @@ -21848,7 +21850,7 @@ stored | - + ### Account.StatusType @@ -21862,7 +21864,7 @@ stored | - + ### Block.Align @@ -21875,7 +21877,7 @@ stored | - + ### Block.Content.Bookmark.State @@ -21889,7 +21891,7 @@ stored | - + ### Block.Content.Dataview.Filter.Condition @@ -21917,7 +21919,7 @@ stored | - + ### Block.Content.Dataview.Filter.Operator @@ -21929,7 +21931,7 @@ stored | - + ### Block.Content.Dataview.Filter.QuickOption @@ -21951,7 +21953,7 @@ stored | - + ### Block.Content.Dataview.Relation.DateFormat @@ -21966,7 +21968,7 @@ stored | - + ### Block.Content.Dataview.Relation.TimeFormat @@ -21978,7 +21980,7 @@ stored | - + ### Block.Content.Dataview.Sort.Type @@ -21991,7 +21993,7 @@ stored | - + ### Block.Content.Dataview.View.Size @@ -22004,7 +22006,7 @@ stored | - + ### Block.Content.Dataview.View.Type @@ -22018,7 +22020,7 @@ stored | - + ### Block.Content.Div.Style @@ -22030,7 +22032,7 @@ stored | - + ### Block.Content.File.State @@ -22044,7 +22046,7 @@ stored | - + ### Block.Content.File.Style @@ -22057,7 +22059,7 @@ stored | - + ### Block.Content.File.Type @@ -22073,7 +22075,7 @@ stored | - + ### Block.Content.Layout.Style @@ -22089,7 +22091,7 @@ stored | - + ### Block.Content.Link.CardStyle @@ -22102,7 +22104,7 @@ stored | - + ### Block.Content.Link.Description @@ -22115,7 +22117,7 @@ stored | - + ### Block.Content.Link.IconSize @@ -22128,7 +22130,7 @@ stored | - + ### Block.Content.Link.Style @@ -22142,7 +22144,7 @@ stored | - + ### Block.Content.Text.Mark.Type @@ -22163,7 +22165,7 @@ stored | - + ### Block.Content.Text.Style @@ -22187,7 +22189,7 @@ stored | - + ### Block.Content.Widget.Layout @@ -22201,7 +22203,7 @@ stored | - + ### Block.Position @@ -22219,7 +22221,7 @@ stored | - + ### Block.VerticalAlign @@ -22232,7 +22234,7 @@ stored | - + ### InternalFlag.Value Use such a weird construction due to the issue with imported repeated enum type @@ -22247,7 +22249,7 @@ Look https://github.com/golang/protobuf/issues/1135 for more information. - + ### LinkPreview.Type @@ -22261,7 +22263,7 @@ Look https://github.com/golang/protobuf/issues/1135 for more information. - + ### ObjectType.Layout @@ -22287,7 +22289,7 @@ Look https://github.com/golang/protobuf/issues/1135 for more information. - + ### Relation.DataSource @@ -22301,7 +22303,7 @@ Look https://github.com/golang/protobuf/issues/1135 for more information. - + ### Relation.Scope @@ -22316,7 +22318,7 @@ Look https://github.com/golang/protobuf/issues/1135 for more information. - + ### RelationFormat RelationFormat describes how the underlying data is stored in the google.protobuf.Value and how it should be validated/sanitized @@ -22340,7 +22342,7 @@ RelationFormat describes how the underlying data is stored in the google.protobu - + ### Restrictions.DataviewRestriction @@ -22354,7 +22356,7 @@ RelationFormat describes how the underlying data is stored in the google.protobu - + ### Restrictions.ObjectRestriction @@ -22373,7 +22375,7 @@ RelationFormat describes how the underlying data is stored in the google.protobu - + ### SmartBlockType diff --git a/go.mod b/go.mod index e8ace968e..6111f432c 100644 --- a/go.mod +++ b/go.mod @@ -225,6 +225,7 @@ require ( github.com/sirupsen/logrus v1.8.1 // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect + github.com/stretchr/objx v0.5.0 // indirect github.com/textileio/go-datastore-extensions v1.1.0 // indirect github.com/tklauser/go-sysconf v0.3.11 // indirect github.com/tklauser/numcpus v0.6.0 // indirect diff --git a/pb/protos/commands.proto b/pb/protos/commands.proto index 82d6793c1..6ab7584f2 100644 --- a/pb/protos/commands.proto +++ b/pb/protos/commands.proto @@ -1146,7 +1146,7 @@ message Rpc { int32 offset = 4; int32 limit = 5; // additional filter by objectTypes - repeated string objectTypeFilter = 6; // deprecated, to be removed + repeated string objectTypeFilter = 6; // DEPRECATED // needed keys in details for return, when empty - will return all repeated string keys = 7; } @@ -1174,7 +1174,7 @@ message Rpc { repeated anytype.model.Block.Content.Dataview.Filter filters = 1; int32 limit = 2; // additional filter by objectTypes - repeated string objectTypeFilter = 3; + repeated string objectTypeFilter = 3; // DEPRECATED repeated string keys = 4; } diff --git a/pkg/lib/database/database.go b/pkg/lib/database/database.go index 486a9e822..5566d308f 100644 --- a/pkg/lib/database/database.go +++ b/pkg/lib/database/database.go @@ -1,14 +1,13 @@ package database import ( - "context" "fmt" - "github.com/samber/lo" "time" "github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/types" "github.com/ipfs/go-datastore/query" + "github.com/samber/lo" "github.com/anyproto/anytype-heart/pkg/lib/bundle" "github.com/anyproto/anytype-heart/pkg/lib/database/filter" @@ -26,56 +25,12 @@ type Record struct { Details *types.Struct } -type Reader interface { - Query(schema schema.Schema, q Query) (records []Record, total int, err error) - QueryAndSubscribeForChanges(schema schema.Schema, q Query, subscription Subscription) (records []Record, close func(), total int, err error) - QueryRaw(q query.Query) (records []Record, err error) - - QueryByID(ids []string) (records []Record, err error) - QueryByIDAndSubscribeForChanges(ids []string, subscription Subscription) (records []Record, close func(), err error) - - GetRelationByKey(key string) (relation *model.Relation, err error) - GetRelationByID(id string) (relation *model.Relation, err error) - - GetObjectType(url string) (*model.ObjectType, error) - - ListRelationsKeys() ([]string, error) - - SubscribeForAll(callback func(rec Record)) -} - -type Writer interface { - // Creating record involves some additional operations that may change - // the record. So we return potentially modified record as a result. - // in case subscription is not nil it will be subscribed to the record updates - Create(ctx context.Context, relations []*model.Relation, rec Record, sub Subscription, templateId string) (Record, error) - - Update(id string, relations []*model.Relation, rec Record) error - DeleteRelationOption(id string, relKey string, optionId string) error - - ModifyExtraRelations(id string, modifier func(current []*model.Relation) ([]*model.Relation, error)) error - UpdateRelationOption(id string, relKey string, option model.RelationOption) (optionId string, err error) - - Delete(id string) error -} - -type Database interface { - Reader - Writer - - // Schema() string -} - type Query struct { - FullText string - Relations []*model.BlockContentDataviewRelation // relations used to provide relations options - Filters []*model.BlockContentDataviewFilter // filters results. apply sequentially - Sorts []*model.BlockContentDataviewSort // order results. apply hierarchically - Limit int // maximum number of results - Offset int // skip given number of results - WithSystemObjects bool - ObjectTypeFilter []string - WorkspaceId string + FullText string + Filters []*model.BlockContentDataviewFilter // filters results. apply sequentially + Sorts []*model.BlockContentDataviewSort // order results. apply hierarchically + Limit int // maximum number of results + Offset int // skip given number of results } func (q Query) DSQuery(sch schema.Schema) (qq query.Query, err error) { @@ -131,7 +86,7 @@ func NewFilters(qry Query, schema schema.Schema, store filter.OptionsGetter) (fi qry.Filters = injectDefaultFilters(qry.Filters) filters = new(Filters) - filterObj, dateKeys, qryFilters := applySchema(qry.Relations, schema, filters.dateKeys, qry.Filters) + filterObj, dateKeys, qryFilters := applySchema(nil, schema, filters.dateKeys, qry.Filters) qry.Filters = qryFilters filters.dateKeys = dateKeys diff --git a/pkg/lib/localstore/objectstore/account_store.go b/pkg/lib/localstore/objectstore/account_store.go new file mode 100644 index 000000000..6c7a0d1ab --- /dev/null +++ b/pkg/lib/localstore/objectstore/account_store.go @@ -0,0 +1,86 @@ +package objectstore + +import ( + "fmt" + + "github.com/anyproto/any-sync/coordinator/coordinatorproto" + "github.com/gogo/protobuf/proto" +) + +func (s *dsObjectStore) GetCurrentWorkspaceID() (string, error) { + txn, err := s.ds.NewTransaction(true) + if err != nil { + return "", fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + val, err := txn.Get(currentWorkspace) + if err != nil { + return "", err + } + return string(val), nil +} + +func (s *dsObjectStore) SetCurrentWorkspaceID(workspaceID string) (err error) { + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + if err := txn.Put(currentWorkspace, []byte(workspaceID)); err != nil { + return fmt.Errorf("failed to put into ds: %w", err) + } + + return txn.Commit() +} + +func (s *dsObjectStore) RemoveCurrentWorkspaceID() (err error) { + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + if err := txn.Delete(currentWorkspace); err != nil { + return fmt.Errorf("failed to delete from ds: %w", err) + } + + return txn.Commit() +} + +func (s *dsObjectStore) SaveAccountStatus(status *coordinatorproto.SpaceStatusPayload) (err error) { + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + b, err := status.Marshal() + if err != nil { + return err + } + + if err := txn.Put(accountStatus, b); err != nil { + return fmt.Errorf("failed to put into ds: %w", err) + } + + return txn.Commit() +} + +func (s *dsObjectStore) GetAccountStatus() (status *coordinatorproto.SpaceStatusPayload, err error) { + txn, err := s.ds.NewTransaction(true) + if err != nil { + return nil, fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + status = &coordinatorproto.SpaceStatusPayload{} + if val, err := txn.Get(accountStatus); err != nil { + return nil, err + } else if err := proto.Unmarshal(val, status); err != nil { + return nil, err + } + + return status, nil +} diff --git a/pkg/lib/localstore/objectstore/account_store_test.go b/pkg/lib/localstore/objectstore/account_store_test.go new file mode 100644 index 000000000..14b2fe803 --- /dev/null +++ b/pkg/lib/localstore/objectstore/account_store_test.go @@ -0,0 +1,67 @@ +package objectstore + +import ( + "testing" + "time" + + "github.com/anyproto/any-sync/coordinator/coordinatorproto" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" +) + +func TestWorkspace(t *testing.T) { + t.Run("no saved workspace", func(t *testing.T) { + s := newStoreFixture(t) + + _, err := s.GetCurrentWorkspaceID() + require.Error(t, err) + }) + + t.Run("save and load", func(t *testing.T) { + s := newStoreFixture(t) + + want := "workspace1" + err := s.SetCurrentWorkspaceID(want) + require.NoError(t, err) + + got, err := s.GetCurrentWorkspaceID() + require.NoError(t, err) + assert.Equal(t, want, got) + }) + + t.Run("remove and load", func(t *testing.T) { + s := newStoreFixture(t) + err := s.SetCurrentWorkspaceID("workspace1") + require.NoError(t, err) + + err = s.RemoveCurrentWorkspaceID() + require.NoError(t, err) + + _, err = s.GetCurrentWorkspaceID() + require.Error(t, err) + }) +} + +func TestAccountStatus(t *testing.T) { + t.Run("no saved account status", func(t *testing.T) { + s := newStoreFixture(t) + + _, err := s.GetAccountStatus() + require.Error(t, err) + }) + + t.Run("save and load", func(t *testing.T) { + s := newStoreFixture(t) + + want := &coordinatorproto.SpaceStatusPayload{ + Status: coordinatorproto.SpaceStatus_SpaceStatusDeleted, + DeletionTimestamp: time.Now().Unix(), + } + err := s.SaveAccountStatus(want) + require.NoError(t, err) + + got, err := s.GetAccountStatus() + require.NoError(t, err) + assert.Equal(t, want, got) + }) +} diff --git a/pkg/lib/localstore/objectstore/filters.go b/pkg/lib/localstore/objectstore/filters.go new file mode 100644 index 000000000..9df88cf46 --- /dev/null +++ b/pkg/lib/localstore/objectstore/filters.go @@ -0,0 +1,69 @@ +package objectstore + +import ( + "strings" + + "github.com/ipfs/go-datastore/query" + + "github.com/anyproto/anytype-heart/pkg/lib/core/smartblock" + "github.com/anyproto/anytype-heart/space/typeprovider" +) + +func newIdsFilter(ids []string) idsFilter { + f := make(idsFilter) + for i, id := range ids { + f[id] = i + } + return f +} + +type idsFilter map[string]int + +func (f idsFilter) Filter(e query.Entry) bool { + _, ok := f[extractIdFromKey(e.Key)] + return ok +} + +func (f idsFilter) Compare(a, b query.Entry) int { + aIndex := f[extractIdFromKey(a.Key)] + bIndex := f[extractIdFromKey(b.Key)] + if aIndex == bIndex { + return 0 + } else if aIndex < bIndex { + return -1 + } else { + return 1 + } +} + +type filterSmartblockTypes struct { + smartBlockTypes []smartblock.SmartBlockType + not bool + sbtProvider typeprovider.SmartBlockTypeProvider +} + +func newSmartblockTypesFilter(sbtProvider typeprovider.SmartBlockTypeProvider, not bool, smartBlockTypes []smartblock.SmartBlockType) *filterSmartblockTypes { + return &filterSmartblockTypes{ + smartBlockTypes: smartBlockTypes, + not: not, + sbtProvider: sbtProvider, + } +} + +func (m *filterSmartblockTypes) Filter(e query.Entry) bool { + keyParts := strings.Split(e.Key, "/") + id := keyParts[len(keyParts)-1] + + t, err := m.sbtProvider.Type(id) + if err != nil { + log.Errorf("failed to detect smartblock type for %s: %s", id, err.Error()) + return false + } + + for _, ot := range m.smartBlockTypes { + if t == ot { + return !m.not + } + } + return m.not +} diff --git a/pkg/lib/localstore/objectstore/indexer_store.go b/pkg/lib/localstore/objectstore/indexer_store.go new file mode 100644 index 000000000..75b70ff50 --- /dev/null +++ b/pkg/lib/localstore/objectstore/indexer_store.go @@ -0,0 +1,148 @@ +package objectstore + +import ( + "encoding/binary" + "fmt" + "time" + + "github.com/gogo/protobuf/proto" + ds "github.com/ipfs/go-datastore" + "github.com/ipfs/go-datastore/query" + + "github.com/anyproto/anytype-heart/pkg/lib/pb/model" +) + +func (s *dsObjectStore) AddToIndexQueue(id string) error { + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + var buf [8]byte + size := binary.PutVarint(buf[:], time.Now().Unix()) + if err = txn.Put(indexQueueBase.ChildString(id), buf[:size]); err != nil { + return err + } + return txn.Commit() +} + +func (s *dsObjectStore) removeFromIndexQueue(id string) error { + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + if err := txn.Delete(indexQueueBase.ChildString(id)); err != nil { + return fmt.Errorf("failed to remove id from full text index queue: %s", err.Error()) + } + + return txn.Commit() +} + +func (s *dsObjectStore) ListIDsFromFullTextQueue() ([]string, error) { + txn, err := s.ds.NewTransaction(true) + if err != nil { + return nil, fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + res, err := txn.Query(query.Query{Prefix: indexQueueBase.String()}) + if err != nil { + return nil, fmt.Errorf("error query txn in datastore: %w", err) + } + + var ids []string + for entry := range res.Next() { + ids = append(ids, extractIdFromKey(entry.Key)) + } + + err = res.Close() + if err != nil { + return nil, fmt.Errorf("close query result: %w", err) + } + return ids, nil +} + +func (s *dsObjectStore) RemoveIDsFromFullTextQueue(ids []string) { + for _, id := range ids { + err := s.removeFromIndexQueue(id) + if err != nil { + // if we have the error here we have nothing to do but retry later + log.Errorf("failed to remove %s from index, will redo the fulltext index: %v", id, err) + } + } +} + +func (s *dsObjectStore) GetChecksums() (checksums *model.ObjectStoreChecksums, err error) { + txn, err := s.ds.NewTransaction(true) + if err != nil { + return nil, fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + val, err := txn.Get(bundledChecksums) + if err != nil && err != ds.ErrNotFound { + return nil, fmt.Errorf("failed to get details: %w", err) + } + if err == ds.ErrNotFound { + return nil, err + } + + var objChecksum model.ObjectStoreChecksums + if err := proto.Unmarshal(val, &objChecksum); err != nil { + return nil, err + } + + return &objChecksum, nil +} + +func (s *dsObjectStore) SaveChecksums(checksums *model.ObjectStoreChecksums) (err error) { + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + b, err := checksums.Marshal() + if err != nil { + return err + } + + if err := txn.Put(bundledChecksums, b); err != nil { + return fmt.Errorf("failed to put into ds: %w", err) + } + + return txn.Commit() +} + +// GetLastIndexedHeadsHash return empty hash without error if record was not found +func (s *dsObjectStore) GetLastIndexedHeadsHash(id string) (headsHash string, err error) { + txn, err := s.ds.NewTransaction(true) + if err != nil { + return "", fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + if val, err := txn.Get(indexedHeadsState.ChildString(id)); err != nil && err != ds.ErrNotFound { + return "", fmt.Errorf("failed to get heads hash: %w", err) + } else if val == nil { + return "", nil + } else { + return string(val), nil + } +} + +func (s *dsObjectStore) SaveLastIndexedHeadsHash(id string, headsHash string) (err error) { + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + if err := txn.Put(indexedHeadsState.ChildString(id), []byte(headsHash)); err != nil { + return fmt.Errorf("failed to put into ds: %w", err) + } + + return txn.Commit() +} diff --git a/pkg/lib/localstore/objectstore/indexer_store_test.go b/pkg/lib/localstore/objectstore/indexer_store_test.go new file mode 100644 index 000000000..c60f1d460 --- /dev/null +++ b/pkg/lib/localstore/objectstore/indexer_store_test.go @@ -0,0 +1,87 @@ +package objectstore + +import ( + "testing" + + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + + "github.com/anyproto/anytype-heart/pkg/lib/pb/model" +) + +func TestDsObjectStore_IndexQueue(t *testing.T) { + s := newStoreFixture(t) + + t.Run("add to queue", func(t *testing.T) { + require.NoError(t, s.AddToIndexQueue("one")) + require.NoError(t, s.AddToIndexQueue("one")) + require.NoError(t, s.AddToIndexQueue("two")) + + ids, err := s.ListIDsFromFullTextQueue() + require.NoError(t, err) + + assert.ElementsMatch(t, []string{"one", "two"}, ids) + }) + + t.Run("remove from queue", func(t *testing.T) { + s.RemoveIDsFromFullTextQueue([]string{"one"}) + ids, err := s.ListIDsFromFullTextQueue() + require.NoError(t, err) + + assert.ElementsMatch(t, []string{"two"}, ids) + }) +} + +func TestIndexerChecksums(t *testing.T) { + t.Run("previous checksums are not found", func(t *testing.T) { + s := newStoreFixture(t) + + _, err := s.GetChecksums() + require.Error(t, err) + }) + + t.Run("save and load checksums", func(t *testing.T) { + s := newStoreFixture(t) + + want := &model.ObjectStoreChecksums{ + BundledObjectTypes: "hash1", + BundledRelations: "hash2", + BundledLayouts: "hash3", + ObjectsForceReindexCounter: 1, + FilesForceReindexCounter: 2, + IdxRebuildCounter: 3, + FulltextRebuild: 4, + BundledTemplates: "hash4", + BundledObjects: 5, + FilestoreKeysForceReindexCounter: 6, + } + + require.NoError(t, s.SaveChecksums(want)) + + got, err := s.GetChecksums() + require.NoError(t, err) + assert.Equal(t, want, got) + }) +} + +func TestHeadsHash(t *testing.T) { + t.Run("previous hash is not found", func(t *testing.T) { + s := newStoreFixture(t) + + got, err := s.GetLastIndexedHeadsHash("id1") + require.NoError(t, err) + assert.Empty(t, got) + }) + + t.Run("save and load hash", func(t *testing.T) { + s := newStoreFixture(t) + + want := "hash1" + + require.NoError(t, s.SaveLastIndexedHeadsHash("id1", want)) + + got, err := s.GetLastIndexedHeadsHash("id1") + require.NoError(t, err) + assert.Equal(t, want, got) + }) +} diff --git a/pkg/lib/localstore/objectstore/objects.go b/pkg/lib/localstore/objectstore/objects.go index 70797e997..f6e7f2d36 100644 --- a/pkg/lib/localstore/objectstore/objects.go +++ b/pkg/lib/localstore/objectstore/objects.go @@ -2,24 +2,19 @@ package objectstore import ( "context" - "encoding/binary" "errors" "fmt" - "runtime/debug" "strings" "sync" - "time" "github.com/anyproto/any-sync/app" "github.com/anyproto/any-sync/coordinator/coordinatorproto" - "github.com/dgraph-io/badger/v3" "github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/types" ds "github.com/ipfs/go-datastore" "github.com/ipfs/go-datastore/query" "github.com/anyproto/anytype-heart/core/relation/relationutils" - "github.com/anyproto/anytype-heart/metrics" "github.com/anyproto/anytype-heart/pkg/lib/bundle" "github.com/anyproto/anytype-heart/pkg/lib/core/smartblock" "github.com/anyproto/anytype-heart/pkg/lib/database" @@ -33,7 +28,6 @@ import ( "github.com/anyproto/anytype-heart/pkg/lib/schema" "github.com/anyproto/anytype-heart/space/typeprovider" "github.com/anyproto/anytype-heart/util/pbtypes" - "github.com/anyproto/anytype-heart/util/slice" ) var log = logging.Logger("anytype-localstore") @@ -46,8 +40,6 @@ var ( pagesPrefix = "pages" pagesDetailsBase = ds.NewKey("/" + pagesPrefix + "/details") pendingDetailsBase = ds.NewKey("/" + pagesPrefix + "/pending") - pagesRelationsBase = ds.NewKey("/" + pagesPrefix + "/relations") // store the list of full relation model for /objectId - setRelationsBase = ds.NewKey("/" + pagesPrefix + "/set/relations") // store the list of full relation model for /setId pagesSnippetBase = ds.NewKey("/" + pagesPrefix + "/snippet") pagesInboundLinksBase = ds.NewKey("/" + pagesPrefix + "/inbound") @@ -62,35 +54,6 @@ var ( workspacesPrefix = "workspaces" currentWorkspace = ds.NewKey("/" + workspacesPrefix + "/current") - relationsPrefix = "relations" - // /relations/relations/: relation model - relationsBase = ds.NewKey("/" + relationsPrefix + "/relations") - - // /pages/type// - indexObjectTypeObject = localstore.Index{ - Prefix: pagesPrefix, - Name: "type", - Keys: func(val interface{}) []localstore.IndexKeyParts { - if v, ok := val.(*model.ObjectDetails); ok { - var indexes []localstore.IndexKeyParts - types := pbtypes.GetStringList(v.Details, bundle.RelationKeyType.String()) - - for _, ot := range types { - otCompact, err := objTypeCompactEncode(ot) - if err != nil { - log.Errorf("type index construction error('%s'): %s", ot, err.Error()) - continue - } - indexes = append(indexes, localstore.IndexKeyParts([]string{otCompact})) - } - return indexes - } - return nil - }, - Unique: false, - Hash: false, - } - ErrObjectNotFound = errors.New("object not found") _ ObjectStore = (*dsObjectStore)(nil) @@ -114,8 +77,8 @@ type SourceDetailsFromId interface { func (s *dsObjectStore) Init(a *app.App) (err error) { s.dsIface = a.MustComponent(datastore.CName).(datastore.Datastore) - source := a.Component("source") - if source != nil { + src := a.Component("source") + if src != nil { s.sourceService = a.MustComponent("source").(SourceDetailsFromId) } fts := a.Component(ftsearch.CName) @@ -133,45 +96,52 @@ func (s *dsObjectStore) Name() (name string) { type ObjectStore interface { app.ComponentRunnable + IndexerStore + AccountStore localstore.Indexable - database.Reader - // CreateObject create or overwrite an existing object. Should be used if - CreateObject(id string, details *types.Struct, links []string, snippet string) error - // UpdateObjectDetails updates existing object or create if not missing. Should be used in order to amend existing indexes based on prev/new value - // set discardLocalDetailsChanges to true in case the caller doesn't have local details in the State - UpdateObjectDetails(id string, details *types.Struct, discardLocalDetailsChanges bool) error - UpdateObjectLinks(id string, links []string) error - UpdateObjectSnippet(id string, snippet string) error - UpdatePendingLocalDetails(id string, proc func(details *types.Struct) (*types.Struct, error)) error + SubscribeForAll(callback func(rec database.Record)) - DeleteObject(id string) error - DeleteDetails(id string) error - - GetWithLinksInfoByID(id string) (*model.ObjectInfoWithLinks, error) - GetOutboundLinksByID(id string) ([]string, error) - GetInboundLinksByID(id string) ([]string, error) - - GetWithOutboundLinksInfoByID(id string) (*model.ObjectInfoWithOutboundLinks, error) - GetDetails(id string) (*model.ObjectDetails, error) - GetAggregatedOptions(relationKey string) (options []*model.RelationOption, err error) + Query(schema schema.Schema, q database.Query) (records []database.Record, total int, err error) + QueryRaw(f *database.Filters) (records []database.Record, err error) + QueryByID(ids []string) (records []database.Record, err error) + QueryByIDAndSubscribeForChanges(ids []string, subscription database.Subscription) (records []database.Record, close func(), err error) + QueryObjectIDs(q database.Query, objectTypes []smartblock.SmartBlockType) (ids []string, total int, err error) HasIDs(ids ...string) (exists []string, err error) GetByIDs(ids ...string) ([]*model.ObjectInfo, error) List() ([]*model.ObjectInfo, error) ListIds() ([]string, error) - QueryObjectInfo(q database.Query, objectTypes []smartblock.SmartBlockType) (results []*model.ObjectInfo, total int, err error) - QueryObjectIds(q database.Query, objectTypes []smartblock.SmartBlockType) (ids []string, total int, err error) + // UpdateObjectDetails updates existing object or create if not missing. Should be used in order to amend existing indexes based on prev/new value + // set discardLocalDetailsChanges to true in case the caller doesn't have local details in the State + UpdateObjectDetails(id string, details *types.Struct) error + UpdateObjectLinks(id string, links []string) error + UpdateObjectSnippet(id string, snippet string) error + UpdatePendingLocalDetails(id string, proc func(details *types.Struct) (*types.Struct, error)) error + DeleteObject(id string) error + DeleteDetails(id string) error + // EraseIndexes erase all indexes for objectstore. All objects need to be reindexed + EraseIndexes() error + + GetAggregatedOptions(relationKey string) (options []*model.RelationOption, err error) + GetDetails(id string) (*model.ObjectDetails, error) + GetInboundLinksByID(id string) ([]string, error) + GetOutboundLinksByID(id string) ([]string, error) + GetRelationByID(id string) (relation *model.Relation, err error) + GetRelationByKey(key string) (relation *model.Relation, err error) + GetWithLinksInfoByID(id string) (*model.ObjectInfoWithLinks, error) + GetObjectType(url string) (*model.ObjectType, error) + GetObjectTypes(urls []string) (ots []*model.ObjectType, err error) +} + +type IndexerStore interface { AddToIndexQueue(id string) error ListIDsFromFullTextQueue() ([]string, error) RemoveIDsFromFullTextQueue(ids []string) FTSearch() ftsearch.FTSearch - // EraseIndexes erase all indexes for objectstore.. All objects needs to be reindexed - EraseIndexes() error - // GetChecksums Used to get information about localstore state and decide do we need to reindex some objects GetChecksums() (checksums *model.ObjectStoreChecksums, err error) // SaveChecksums Used to save checksums and force reindex counter @@ -179,49 +149,19 @@ type ObjectStore interface { GetLastIndexedHeadsHash(id string) (headsHash string, err error) SaveLastIndexedHeadsHash(id string, headsHash string) (err error) +} +type AccountStore interface { GetAccountStatus() (status *coordinatorproto.SpaceStatusPayload, err error) SaveAccountStatus(status *coordinatorproto.SpaceStatusPayload) (err error) GetCurrentWorkspaceID() (string, error) - SetCurrentWorkspaceID(threadID string) (err error) + SetCurrentWorkspaceID(workspaceID string) (err error) RemoveCurrentWorkspaceID() (err error) } var ErrNotAnObject = fmt.Errorf("not an object") -type filterSmartblockTypes struct { - smartBlockTypes []smartblock.SmartBlockType - not bool - sbtProvider typeprovider.SmartBlockTypeProvider -} - -func newSmartblockTypesFilter(sbtProvider typeprovider.SmartBlockTypeProvider, not bool, smartBlockTypes []smartblock.SmartBlockType) *filterSmartblockTypes { - return &filterSmartblockTypes{ - smartBlockTypes: smartBlockTypes, - not: not, - sbtProvider: sbtProvider, - } -} - -func (m *filterSmartblockTypes) Filter(e query.Entry) bool { - keyParts := strings.Split(e.Key, "/") - id := keyParts[len(keyParts)-1] - - t, err := m.sbtProvider.Type(id) - if err != nil { - log.Errorf("failed to detect smartblock type for %s: %s", id, err.Error()) - return false - } - - for _, ot := range m.smartBlockTypes { - if t == ot { - return !m.not - } - } - return m.not -} - type dsObjectStore struct { // underlying storage ds noctxds.DSTxnBatching @@ -241,84 +181,6 @@ type dsObjectStore struct { sbtProvider typeprovider.SmartBlockTypeProvider } -func (s *dsObjectStore) GetCurrentWorkspaceID() (string, error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return "", fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - val, err := txn.Get(currentWorkspace) - if err != nil { - return "", err - } - return string(val), nil -} - -func (s *dsObjectStore) SetCurrentWorkspaceID(threadID string) (err error) { - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - if err := txn.Put(currentWorkspace, []byte(threadID)); err != nil { - return fmt.Errorf("failed to put into ds: %w", err) - } - - return txn.Commit() -} - -func (s *dsObjectStore) RemoveCurrentWorkspaceID() (err error) { - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - if err := txn.Delete(currentWorkspace); err != nil { - return fmt.Errorf("failed to delete from ds: %w", err) - } - - return txn.Commit() -} - -func (s *dsObjectStore) SaveAccountStatus(status *coordinatorproto.SpaceStatusPayload) (err error) { - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - b, err := status.Marshal() - if err != nil { - return err - } - - if err := txn.Put(accountStatus, b); err != nil { - return fmt.Errorf("failed to put into ds: %w", err) - } - - return txn.Commit() -} - -func (s *dsObjectStore) GetAccountStatus() (status *coordinatorproto.SpaceStatusPayload, err error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - status = &coordinatorproto.SpaceStatusPayload{} - if val, err := txn.Get(accountStatus); err != nil { - return nil, err - } else if err := proto.Unmarshal(val, status); err != nil { - return nil, err - } - - return status, nil -} - func (s *dsObjectStore) EraseIndexes() (err error) { for _, idx := range s.Indexes() { err = localstore.EraseIndex(idx, s.ds) @@ -326,10 +188,6 @@ func (s *dsObjectStore) EraseIndexes() (err error) { return } } - err = s.eraseStoredRelations() - if err != nil { - log.Errorf("eraseStoredRelations failed: %s", err.Error()) - } err = s.eraseLinks() if err != nil { @@ -339,32 +197,6 @@ func (s *dsObjectStore) EraseIndexes() (err error) { return } -func (s *dsObjectStore) eraseStoredRelations() (err error) { - txn, err := s.ds.NewTransaction(false) - if err != nil { - return err - } - - defer txn.Discard() - res, err := localstore.GetKeys(txn, setRelationsBase.String(), 0) - if err != nil { - return err - } - - keys, err := localstore.ExtractKeysFromResults(res) - if err != nil { - return err - } - - for _, key := range keys { - err = txn.Delete(ds.NewKey(key)) - if err != nil { - log.Errorf("eraseStoredRelations: failed to delete key %s: %s", key, err.Error()) - } - } - return txn.Commit() -} - func (s *dsObjectStore) eraseLinks() (err error) { n, err := removeByPrefix(s.ds, pagesOutboundLinksBase.String()) if err != nil { @@ -416,42 +248,6 @@ func (s *dsObjectStore) GetAggregatedOptions(relationKey string) (options []*mod return } -func (s *dsObjectStore) objectTypeFilter(ots ...string) query.Filter { - var sbTypes []smartblock.SmartBlockType - for _, otUrl := range ots { - if ot, err := bundle.GetTypeByUrl(otUrl); err == nil { - for _, sbt := range ot.Types { - sbTypes = append(sbTypes, smartblock.SmartBlockType(sbt)) - } - continue - } - if sbt, err := s.sbtProvider.Type(otUrl); err == nil { - sbTypes = append(sbTypes, sbt) - } - } - return newSmartblockTypesFilter(s.sbtProvider, false, sbTypes) -} - -func (s *dsObjectStore) QueryAndSubscribeForChanges(schema schema.Schema, q database.Query, sub database.Subscription) (records []database.Record, close func(), total int, err error) { - s.l.Lock() - defer s.l.Unlock() - - records, total, err = s.Query(schema, q) - - var ids []string - for _, record := range records { - ids = append(ids, pbtypes.GetString(record.Details, bundle.RelationKeyId.String())) - } - - sub.Subscribe(ids) - s.addSubscriptionIfNotExists(sub) - close = func() { - s.closeAndRemoveSubscription(sub) - } - - return -} - // unsafe, use under mutex func (s *dsObjectStore) addSubscriptionIfNotExists(sub database.Subscription) (existed bool) { for _, s := range s.subscriptions { @@ -464,150 +260,19 @@ func (s *dsObjectStore) addSubscriptionIfNotExists(sub database.Subscription) (e return false } -func (s *dsObjectStore) closeAndRemoveSubscription(sub database.Subscription) { +func (s *dsObjectStore) closeAndRemoveSubscription(subscription database.Subscription) { s.l.Lock() defer s.l.Unlock() - sub.Close() + subscription.Close() - for i, subscription := range s.subscriptions { - if subscription == sub { + for i, sub := range s.subscriptions { + if sub == subscription { s.subscriptions = append(s.subscriptions[:i], s.subscriptions[i+1:]...) break } } } -func (s *dsObjectStore) QueryByIDAndSubscribeForChanges(ids []string, sub database.Subscription) (records []database.Record, close func(), err error) { - s.l.Lock() - defer s.l.Unlock() - - if sub == nil { - err = fmt.Errorf("subscription func is nil") - return - } - sub.Subscribe(ids) - records, err = s.QueryByID(ids) - if err != nil { - // can mean only the datastore is already closed, so we can resign and return - log.Errorf("QueryByIDAndSubscribeForChanges failed to query ids: %v", err) - return nil, nil, err - } - - close = func() { - s.closeAndRemoveSubscription(sub) - } - - s.addSubscriptionIfNotExists(sub) - - return -} - -func (s *dsObjectStore) Query(sch schema.Schema, q database.Query) (records []database.Record, total int, err error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, 0, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - dsq, err := q.DSQuery(sch) - if err != nil { - return - } - dsq.Offset = 0 - dsq.Limit = 0 - dsq.Prefix = pagesDetailsBase.String() + "/" - if !q.WithSystemObjects { - filterNotSystemObjects := newSmartblockTypesFilter(s.sbtProvider, true, []smartblock.SmartBlockType{ - smartblock.SmartBlockTypeArchive, - smartblock.SmartBlockTypeHome, - }) - - dsq.Filters = append([]query.Filter{filterNotSystemObjects}, dsq.Filters...) - } - - if len(q.ObjectTypeFilter) > 0 { - dsq.Filters = append([]query.Filter{s.objectTypeFilter(q.ObjectTypeFilter...)}, dsq.Filters...) - } - - if q.FullText != "" { - if dsq, err = s.makeFTSQuery(q.FullText, dsq); err != nil { - return - } - } - for _, f := range dsq.Filters { - log.Debugf("query filter: %+v", f) - } - res, err := txn.Query(dsq) - if err != nil { - return nil, 0, fmt.Errorf("error when querying ds: %w", err) - } - - var ( - results []database.Record - offset = q.Offset - ) - - // We use own limit/offset implementation in order to find out - // total number of records matching specified filters. Query - // returns this number for handy pagination on clients. - for rec := range res.Next() { - total++ - - if offset > 0 { - offset-- - continue - } - - if q.Limit > 0 && len(results) >= q.Limit { - continue - } - - key := ds.NewKey(rec.Key) - keyList := key.List() - id := keyList[len(keyList)-1] - - var details *model.ObjectDetails - details, err = unmarshalDetails(id, rec.Value) - if err != nil { - total-- - log.Errorf("failed to unmarshal: %s", err.Error()) - continue - } - results = append(results, database.Record{Details: details.Details}) - } - - return results, total, nil -} - -func (s *dsObjectStore) QueryRaw(dsq query.Query) (records []database.Record, err error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - dsq.Prefix = pagesDetailsBase.String() + "/" - - res, err := txn.Query(dsq) - if err != nil { - return nil, fmt.Errorf("error when querying ds: %w", err) - } - - for rec := range res.Next() { - key := ds.NewKey(rec.Key) - keyList := key.List() - id := keyList[len(keyList)-1] - - var details *model.ObjectDetails - details, err = unmarshalDetails(id, rec.Value) - if err != nil { - log.Errorf("failed to unmarshal: %s", err.Error()) - continue - } - records = append(records, database.Record{Details: details.Details}) - } - return -} - func unmarshalDetails(id string, rawValue []byte) (*model.ObjectDetails, error) { var details model.ObjectDetails if err := proto.Unmarshal(rawValue, &details); err != nil { @@ -629,165 +294,6 @@ func (s *dsObjectStore) SubscribeForAll(callback func(rec database.Record)) { s.l.Unlock() } -func (s *dsObjectStore) QueryObjectInfo(q database.Query, objectTypes []smartblock.SmartBlockType) (results []*model.ObjectInfo, total int, err error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, 0, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - dsq, err := q.DSQuery(nil) - if err != nil { - return - } - dsq.Offset = 0 - dsq.Limit = 0 - dsq.Prefix = pagesDetailsBase.String() + "/" - if len(objectTypes) > 0 { - dsq.Filters = append([]query.Filter{newSmartblockTypesFilter(s.sbtProvider, false, objectTypes)}, dsq.Filters...) - } - if q.FullText != "" { - if dsq, err = s.makeFTSQuery(q.FullText, dsq); err != nil { - return - } - } - res, err := txn.Query(dsq) - if err != nil { - return nil, 0, fmt.Errorf("error when querying ds: %w", err) - } - - var ( - offset = q.Offset - ) - - // We use own limit/offset implementation in order to find out - // total number of records matching specified filters. Query - // returns this number for handy pagination on clients. - for rec := range res.Next() { - if rec.Error != nil { - return nil, 0, rec.Error - } - total++ - - if offset > 0 { - offset-- - continue - } - - if q.Limit > 0 && len(results) >= q.Limit { - continue - } - - key := ds.NewKey(rec.Key) - keyList := key.List() - id := keyList[len(keyList)-1] - oi, err := s.getObjectInfo(txn, id) - if err != nil { - // probably details are not yet indexed, let's skip it - log.Errorf("QueryObjectInfo getObjectInfo error: %s", err.Error()) - total-- - continue - } - results = append(results, oi) - } - return results, total, nil -} - -func (s *dsObjectStore) QueryObjectIds(q database.Query, objectTypes []smartblock.SmartBlockType) (ids []string, total int, err error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, 0, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - dsq, err := q.DSQuery(nil) - if err != nil { - return - } - dsq.Offset = 0 - dsq.Limit = 0 - dsq.Prefix = pagesDetailsBase.String() + "/" - if len(objectTypes) > 0 { - dsq.Filters = append([]query.Filter{newSmartblockTypesFilter(s.sbtProvider, false, objectTypes)}, dsq.Filters...) - } - if q.FullText != "" { - if dsq, err = s.makeFTSQuery(q.FullText, dsq); err != nil { - return - } - } - res, err := txn.Query(dsq) - if err != nil { - return nil, 0, fmt.Errorf("error when querying ds: %w", err) - } - - var ( - offset = q.Offset - ) - - // We use own limit/offset implementation in order to find out - // total number of records matching specified filters. Query - // returns this number for handy pagination on clients. - for rec := range res.Next() { - if rec.Error != nil { - return nil, 0, rec.Error - } - total++ - - if offset > 0 { - offset-- - continue - } - - if q.Limit > 0 && len(ids) >= q.Limit { - continue - } - - key := ds.NewKey(rec.Key) - keyList := key.List() - id := keyList[len(keyList)-1] - ids = append(ids, id) - } - return ids, total, nil -} - -func (s *dsObjectStore) QueryByID(ids []string) (records []database.Record, err error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - for _, id := range ids { - if sbt, err := s.sbtProvider.Type(id); err == nil { - if indexDetails, _ := sbt.Indexable(); !indexDetails && s.sourceService != nil { - details, err := s.sourceService.DetailsFromIdBasedSource(id) - if err != nil { - log.Errorf("QueryByIds failed to GetDetailsFromIdBasedSource id: %s", id) - continue - } - details.Fields[database.RecordIDField] = pbtypes.ToValue(id) - records = append(records, database.Record{Details: details}) - continue - } - } - v, err := txn.Get(pagesDetailsBase.ChildString(id)) - if err != nil { - log.Infof("QueryByIds failed to find id: %s", id) - continue - } - - var details *model.ObjectDetails - details, err = unmarshalDetails(id, v) - if err != nil { - log.Errorf("QueryByIds failed to unmarshal id: %s", id) - continue - } - records = append(records, database.Record{Details: details.Details}) - } - - return -} - func (s *dsObjectStore) GetRelationByID(id string) (*model.Relation, error) { txn, err := s.ds.NewTransaction(true) if err != nil { @@ -795,12 +301,16 @@ func (s *dsObjectStore) GetRelationByID(id string) (*model.Relation, error) { } defer txn.Discard() - details, err := s.GetDetails(id) + det, err := s.GetDetails(id) if err != nil { return nil, err } - rel := relationutils.RelationFromStruct(details.GetDetails()) + if pbtypes.GetString(det.GetDetails(), bundle.RelationKeyType.String()) != bundle.TypeKeyRelation.URL() { + return nil, fmt.Errorf("object %s is not a relation", id) + } + + rel := relationutils.RelationFromStruct(det.GetDetails()) return rel.Relation, nil } @@ -822,13 +332,7 @@ func (s *dsObjectStore) GetRelationByKey(key string) (*model.Relation, error) { }, } - f, err := database.NewFilters(q, nil, s) - if err != nil { - return nil, err - } - records, err := s.QueryRaw(query.Query{ - Filters: []query.Filter{f}, - }) + records, _, err := s.Query(nil, q) if err != nil { return nil, err } @@ -842,16 +346,6 @@ func (s *dsObjectStore) GetRelationByKey(key string) (*model.Relation, error) { return rel.Relation, nil } -func (s *dsObjectStore) ListRelationsKeys() ([]string, error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - return s.listRelationsKeys(txn) -} - func (s *dsObjectStore) DeleteDetails(id string) error { s.l.Lock() defer s.l.Unlock() @@ -866,7 +360,6 @@ func (s *dsObjectStore) DeleteDetails(id string) error { for _, k := range []ds.Key{ pagesSnippetBase.ChildString(id), pagesDetailsBase.ChildString(id), - setRelationsBase.ChildString(id), } { if err = txn.Delete(k); err != nil { return err @@ -882,9 +375,9 @@ func (s *dsObjectStore) DeleteObject(id string) error { err := s.UpdateObjectDetails(id, &types.Struct{ Fields: map[string]*types.Value{ bundle.RelationKeyId.String(): pbtypes.String(id), - bundle.RelationKeyIsDeleted.String(): pbtypes.Bool(true), // maybe we can s the date instead? + bundle.RelationKeyIsDeleted.String(): pbtypes.Bool(true), // maybe we can store the date instead? }, - }, false) + }) if err != nil { if !errors.Is(err, ErrDetailsNotChanged) { return fmt.Errorf("failed to overwrite details and relations: %w", err) @@ -903,7 +396,6 @@ func (s *dsObjectStore) DeleteObject(id string) error { for _, k := range []ds.Key{ pagesSnippetBase.ChildString(id), indexQueueBase.ChildString(id), - setRelationsBase.ChildString(id), indexedHeadsState.ChildString(id), } { if err = txn.Delete(k); err != nil { @@ -923,7 +415,9 @@ func (s *dsObjectStore) DeleteObject(id string) error { if s.fts != nil { err = s.removeFromIndexQueue(id) - + if err != nil { + log.Errorf("error removing %s from index queue: %s", id, err) + } if err := s.fts.Delete(id); err != nil { return err } @@ -998,39 +492,6 @@ func (s *dsObjectStore) GetInboundLinksByID(id string) ([]string, error) { return findInboundLinks(txn, id) } -func (s *dsObjectStore) GetWithOutboundLinksInfoByID(id string) (*model.ObjectInfoWithOutboundLinks, error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - pages, err := s.getObjectsInfo(txn, []string{id}) - if err != nil { - return nil, err - } - - if len(pages) == 0 { - return nil, fmt.Errorf("page not found") - } - page := pages[0] - - outboundsIds, err := findOutboundLinks(txn, id) - if err != nil { - return nil, err - } - - outbound, err := s.getObjectsInfo(txn, outboundsIds) - if err != nil { - return nil, err - } - - return &model.ObjectInfoWithOutboundLinks{ - Info: page, - OutboundLinks: outbound, - }, nil -} - func (s *dsObjectStore) GetDetails(id string) (*model.ObjectDetails, error) { txn, err := s.ds.NewTransaction(true) if err != nil { @@ -1082,405 +543,6 @@ func (s *dsObjectStore) GetByIDs(ids ...string) ([]*model.ObjectInfo, error) { return s.getObjectsInfo(txn, ids) } -func (s *dsObjectStore) CreateObject(id string, details *types.Struct, links []string, snippet string) error { - s.l.Lock() - defer s.l.Unlock() - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - // init an empty state to skip nil checks later - before := model.ObjectInfo{ - Details: &types.Struct{Fields: map[string]*types.Value{}}, - } - - err = s.updateObjectDetails(txn, id, before, details) - if err != nil && !errors.Is(err, ErrDetailsNotChanged) { - return err - } - - err = s.updateObjectLinksAndSnippet(txn, id, links, snippet) - if err != nil { - return err - } - return txn.Commit() -} - -func (s *dsObjectStore) UpdateObjectLinks(id string, links []string) error { - s.l.Lock() - defer s.l.Unlock() - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - err = s.updateObjectLinks(txn, id, links) - if err != nil { - return err - } - return txn.Commit() -} - -func (s *dsObjectStore) UpdateObjectSnippet(id string, snippet string) error { - s.l.Lock() - defer s.l.Unlock() - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - if val, err := txn.Get(pagesSnippetBase.ChildString(id)); err == ds.ErrNotFound || string(val) != snippet { - if err := s.updateSnippet(txn, id, snippet); err != nil { - return err - } - } - return txn.Commit() -} - -func (s *dsObjectStore) UpdatePendingLocalDetails(id string, proc func(details *types.Struct) (*types.Struct, error)) error { - // todo: review this method. Any other way to do this? - for { - err := s.updatePendingLocalDetails(id, proc) - if errors.Is(err, badger.ErrConflict) { - continue - } - if err != nil { - return err - } - return nil - } -} - -func (s *dsObjectStore) updatePendingLocalDetails(id string, proc func(details *types.Struct) (*types.Struct, error)) error { - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - key := pendingDetailsBase.ChildString(id) - - objDetails, err := s.getPendingLocalDetails(txn, id) - if err != nil && err != ds.ErrNotFound { - return fmt.Errorf("get pending details: %w", err) - } - - details := objDetails.GetDetails() - if details == nil { - details = &types.Struct{Fields: map[string]*types.Value{}} - } - if details.Fields == nil { - details.Fields = map[string]*types.Value{} - } - details, err = proc(details) - if err != nil { - return fmt.Errorf("run a modifier: %w", err) - } - if details == nil { - err = txn.Delete(key) - if err != nil { - return err - } - return txn.Commit() - } - b, err := proto.Marshal(&model.ObjectDetails{Details: details}) - if err != nil { - return err - } - err = txn.Put(key, b) - if err != nil { - return err - } - - return txn.Commit() -} - -func (s *dsObjectStore) UpdateObjectDetails(id string, details *types.Struct, discardLocalDetailsChanges bool) error { - s.l.Lock() - defer s.l.Unlock() - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - var ( - before model.ObjectInfo - ) - - if details != nil { - //nolint:govet - exInfo, err := s.getObjectInfo(txn, id) - if err != nil { - log.Debugf("UpdateObject failed to get ex state for object %s: %s", id, err.Error()) - } - - if exInfo != nil { - before = *exInfo - } else { - // init an empty state to skip nil checks later - before = model.ObjectInfo{ - Details: &types.Struct{Fields: map[string]*types.Value{}}, - } - } - - if discardLocalDetailsChanges && details != nil { - injectedDetails := pbtypes.StructFilterKeys(before.Details, bundle.LocalRelationsKeys) - for k, v := range injectedDetails.Fields { - details.Fields[k] = pbtypes.CopyVal(v) - } - } - } - - err = s.updateObjectDetails(txn, id, before, details) - if err != nil { - return err - } - err = txn.Commit() - if err != nil { - return err - } - - return nil -} - -// GetLastIndexedHeadsHash return empty hash without error if record was not found -func (s *dsObjectStore) GetLastIndexedHeadsHash(id string) (headsHash string, err error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return "", fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - if val, err := txn.Get(indexedHeadsState.ChildString(id)); err != nil && err != ds.ErrNotFound { - return "", fmt.Errorf("failed to get heads hash: %w", err) - } else if val == nil { - return "", nil - } else { - return string(val), nil - } -} - -func (s *dsObjectStore) SaveLastIndexedHeadsHash(id string, headsHash string) (err error) { - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - if err := txn.Put(indexedHeadsState.ChildString(id), []byte(headsHash)); err != nil { - return fmt.Errorf("failed to put into ds: %w", err) - } - - return txn.Commit() -} - -func (s *dsObjectStore) GetChecksums() (checksums *model.ObjectStoreChecksums, err error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - val, err := txn.Get(bundledChecksums) - if err != nil && err != ds.ErrNotFound { - return nil, fmt.Errorf("failed to get details: %w", err) - } - if err == ds.ErrNotFound { - return nil, err - } - - var objChecksum model.ObjectStoreChecksums - if err := proto.Unmarshal(val, &objChecksum); err != nil { - return nil, err - } - - return &objChecksum, nil -} - -func (s *dsObjectStore) SaveChecksums(checksums *model.ObjectStoreChecksums) (err error) { - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - b, err := checksums.Marshal() - if err != nil { - return err - } - - if err := txn.Put(bundledChecksums, b); err != nil { - return fmt.Errorf("failed to put into ds: %w", err) - } - - return txn.Commit() -} - -func (s *dsObjectStore) updateObjectLinks(txn noctxds.Txn, id string, links []string) error { - exLinks, _ := findOutboundLinks(txn, id) - var addedLinks, removedLinks []string - - removedLinks, addedLinks = slice.DifferenceRemovedAdded(exLinks, links) - if len(addedLinks) > 0 { - for _, k := range pageLinkKeys(id, nil, addedLinks) { - if err := txn.Put(k, nil); err != nil { - return err - } - } - } - - if len(removedLinks) > 0 { - for _, k := range pageLinkKeys(id, nil, removedLinks) { - if err := txn.Delete(k); err != nil { - return err - } - } - } - - return nil -} - -func (s *dsObjectStore) updateObjectLinksAndSnippet(txn noctxds.Txn, id string, links []string, snippet string) error { - err := s.updateObjectLinks(txn, id, links) - if err != nil { - return err - } - - if val, err := txn.Get(pagesSnippetBase.ChildString(id)); err == ds.ErrNotFound || string(val) != snippet { - if err := s.updateSnippet(txn, id, snippet); err != nil { - return err - } - } - - return nil -} - -func (s *dsObjectStore) updateObjectDetails(txn noctxds.Txn, id string, before model.ObjectInfo, details *types.Struct) error { - if details != nil { - if err := s.updateDetails(txn, id, &model.ObjectDetails{Details: before.Details}, &model.ObjectDetails{Details: details}); err != nil { - return err - } - } - - return nil -} - -// should be called under the mutex -func (s *dsObjectStore) sendUpdatesToSubscriptions(id string, details *types.Struct) { - detCopy := pbtypes.CopyStruct(details) - detCopy.Fields[database.RecordIDField] = pbtypes.ToValue(id) - if s.onChangeCallback != nil { - s.onChangeCallback(database.Record{ - Details: detCopy, - }) - } - for i := range s.subscriptions { - go func(sub database.Subscription) { - _ = sub.Publish(id, detCopy) - }(s.subscriptions[i]) - } -} - -func (s *dsObjectStore) AddToIndexQueue(id string) error { - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - var buf [8]byte - size := binary.PutVarint(buf[:], time.Now().Unix()) - if err = txn.Put(indexQueueBase.ChildString(id), buf[:size]); err != nil { - return err - } - return txn.Commit() -} - -func (s *dsObjectStore) removeFromIndexQueue(id string) error { - txn, err := s.ds.NewTransaction(false) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - if err := txn.Delete(indexQueueBase.ChildString(id)); err != nil { - return fmt.Errorf("failed to remove id from full text index queue: %s", err.Error()) - } - - return txn.Commit() -} - -func (s *dsObjectStore) ListIDsFromFullTextQueue() ([]string, error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - res, err := txn.Query(query.Query{Prefix: indexQueueBase.String()}) - if err != nil { - return nil, fmt.Errorf("error query txn in datastore: %w", err) - } - - var ids []string - for entry := range res.Next() { - ids = append(ids, extractIdFromKey(entry.Key)) - } - - err = res.Close() - if err != nil { - return nil, fmt.Errorf("close query result: %w", err) - } - return ids, nil -} - -func (s *dsObjectStore) RemoveIDsFromFullTextQueue(ids []string) { - for _, id := range ids { - err := s.removeFromIndexQueue(id) - if err != nil { - // if we have the error here we have nothing to do but retry later - log.Errorf("failed to remove %s from index, will redo the fulltext index: %v", id, err) - } - } -} - -func (s *dsObjectStore) IndexForEach(f func(id string, tm time.Time) error) error { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - res, err := txn.Query(query.Query{Prefix: indexQueueBase.String()}) - if err != nil { - return fmt.Errorf("error query txn in datastore: %w", err) - } - for entry := range res.Next() { - id := extractIdFromKey(entry.Key) - ts, _ := binary.Varint(entry.Value) - indexErr := f(id, time.Unix(ts, 0)) - if indexErr != nil { - log.Warnf("can't index '%s'(ts %d): %v", id, ts, indexErr) - // in case indexation is has failed it's better to remove this document from the index - // so we will not stuck with this object forever - } - - err = s.removeFromIndexQueue(id) - if err != nil { - // if we have the error here we have nothing to do but retry later - log.Errorf("failed to remove %s(ts %d) from index, will redo the fulltext index: %v", id, ts, err) - } - } - - err = res.Close() - if err != nil { - return err - } - - return nil -} - func (s *dsObjectStore) ListIds() ([]string, error) { txn, err := s.ds.NewTransaction(true) if err != nil { @@ -1491,61 +553,15 @@ func (s *dsObjectStore) ListIds() ([]string, error) { return findByPrefix(txn, pagesDetailsBase.String()+"/", 0) } -func (s *dsObjectStore) updateSnippet(txn noctxds.Txn, id string, snippet string) error { - snippetKey := pagesSnippetBase.ChildString(id) - return txn.Put(snippetKey, []byte(snippet)) -} - -func (s *dsObjectStore) updateDetails(txn noctxds.Txn, id string, oldDetails *model.ObjectDetails, newDetails *model.ObjectDetails) error { - t, err := s.sbtProvider.Type(id) - if err != nil { - log.Errorf("updateDetails: failed to detect smartblock type for %s: %s", id, err.Error()) - } else if indexdetails, _ := t.Indexable(); !indexdetails { - log.Errorf("updateDetails: trying to index non-indexable sb %s(%d): %s", id, t, string(debug.Stack())) - return fmt.Errorf("updateDetails: trying to index non-indexable sb %s(%d)", id, t) - } - - metrics.ObjectDetailsUpdatedCounter.Inc() - detailsKey := pagesDetailsBase.ChildString(id) - - if newDetails.GetDetails().GetFields() == nil { - return fmt.Errorf("newDetails is nil") - } - - newDetails.Details.Fields[bundle.RelationKeyId.String()] = pbtypes.String(id) // always ensure we have id set - b, err := proto.Marshal(newDetails) - if err != nil { - return err - } - err = txn.Put(detailsKey, b) - if err != nil { - return err - } - - if oldDetails.GetDetails().Equal(newDetails.GetDetails()) { - return ErrDetailsNotChanged - } - - err = localstore.UpdateIndexesWithTxn(s, txn, oldDetails, newDetails, id) - if err != nil { - return err - } - - if newDetails != nil && newDetails.Details.Fields != nil { - s.sendUpdatesToSubscriptions(id, newDetails.Details) - } - - return nil -} - func (s *dsObjectStore) Prefix() string { return pagesPrefix } func (s *dsObjectStore) Indexes() []localstore.Index { - return []localstore.Index{indexObjectTypeObject} + return []localstore.Index{} } +// TODO objstore: Just use dependency injection func (s *dsObjectStore) FTSearch() ftsearch.FTSearch { return s.fts } @@ -1564,46 +580,6 @@ func (s *dsObjectStore) makeFTSQuery(text string, dsq query.Query) (query.Query, return dsq, nil } -//nolint:unused -func (s *dsObjectStore) listIdsOfType(txn noctxds.Txn, ot string) ([]string, error) { - res, err := localstore.GetKeysByIndexParts(txn, pagesPrefix, indexObjectTypeObject.Name, []string{ot}, "", false, 0) - if err != nil { - return nil, err - } - - return localstore.GetLeavesFromResults(res) -} - -func (s *dsObjectStore) listRelationsKeys(txn noctxds.Txn) ([]string, error) { - txn, err := s.ds.NewTransaction(true) - if err != nil { - return nil, fmt.Errorf("error creating txn in datastore: %w", err) - } - defer txn.Discard() - - return findByPrefix(txn, relationsBase.String()+"/", 0) -} - -func getRelation(txn noctxds.Txn, key string) (*model.Relation, error) { - br, err := bundle.GetRelation(bundle.RelationKey(key)) - if br != nil { - return br, nil - } - - res, err := txn.Get(relationsBase.ChildString(key)) - if err != nil { - return nil, err - } - - var rel model.Relation - if err = proto.Unmarshal(res, &rel); err != nil { - return nil, fmt.Errorf("failed to unmarshal relation: %s", err.Error()) - } - - return &rel, nil -} - -/* internal */ // getObjectDetails returns empty(not nil) details when not found in the DS func getObjectDetails(txn noctxds.Txn, id string) (*model.ObjectDetails, error) { val, err := txn.Get(pagesDetailsBase.ChildString(id)) @@ -1625,14 +601,6 @@ func getObjectDetails(txn noctxds.Txn, id string) (*model.ObjectDetails, error) return details, nil } -func (s *dsObjectStore) getPendingLocalDetails(txn noctxds.Txn, id string) (*model.ObjectDetails, error) { - val, err := txn.Get(pendingDetailsBase.ChildString(id)) - if err != nil { - return nil, err - } - return unmarshalDetails(id, val) -} - func hasObjectId(txn noctxds.Txn, id string) (bool, error) { if exists, err := txn.Has(pagesDetailsBase.ChildString(id)); err != nil { return false, fmt.Errorf("failed to get details: %w", err) @@ -1641,20 +609,6 @@ func hasObjectId(txn noctxds.Txn, id string) (bool, error) { } } -// getObjectRelations returns the list of relations last time indexed for the object -func getObjectRelations(txn noctxds.Txn, id string) ([]*model.Relation, error) { - var relations model.Relations - if val, err := txn.Get(pagesRelationsBase.ChildString(id)); err != nil { - if err != ds.ErrNotFound { - return nil, fmt.Errorf("failed to get relations: %w", err) - } - } else if err := proto.Unmarshal(val, &relations); err != nil { - return nil, fmt.Errorf("failed to unmarshal relations: %w", err) - } - - return relations.GetRelations(), nil -} - func (s *dsObjectStore) getObjectInfo(txn noctxds.Txn, id string) (*model.ObjectInfo, error) { sbt, err := s.sbtProvider.Type(id) if err != nil { @@ -1681,11 +635,6 @@ func (s *dsObjectStore) getObjectInfo(txn noctxds.Txn, id string) (*model.Object details = detailsWrapped.GetDetails() } - relations, err := getObjectRelations(txn, id) - if err != nil { - return nil, err - } - var snippet string if val, err := txn.Get(pagesSnippetBase.ChildString(id)); err != nil && err != ds.ErrNotFound { return nil, fmt.Errorf("failed to get snippet: %w", err) @@ -1693,19 +642,11 @@ func (s *dsObjectStore) getObjectInfo(txn noctxds.Txn, id string) (*model.Object snippet = string(val) } - // omit decoding page state - hasInbound, err := hasInboundLinks(txn, id) - if err != nil { - return nil, err - } - return &model.ObjectInfo{ - Id: id, - ObjectType: sbt.ToProto(), - Details: details, - Relations: relations, - Snippet: snippet, - HasInboundLinks: hasInbound, + Id: id, + ObjectType: sbt.ToProto(), + Details: details, + Snippet: snippet, }, nil } @@ -1731,86 +672,6 @@ func (s *dsObjectStore) getObjectsInfo(txn noctxds.Txn, ids []string) ([]*model. return objects, nil } -func (s *dsObjectStore) GetObjectType(url string) (*model.ObjectType, error) { - objectType := &model.ObjectType{} - if strings.HasPrefix(url, addr.BundledObjectTypeURLPrefix) { - return GetBundledObjectType(url, objectType) - } - - objectInfos, err := s.GetByIDs(url) - if err != nil { - return nil, err - } - if len(objectInfos) == 0 { - return nil, fmt.Errorf("object type not found in the index") - } - - return s.extractObjectTypeFromDetails(url, objectInfos, objectType, err) -} - -func (s *dsObjectStore) extractObjectTypeFromDetails(url string, objectInfos []*model.ObjectInfo, objectType *model.ObjectType, err error) (*model.ObjectType, error) { - details := objectInfos[0].Details - s.fillObjectTypeWithRecommendedRelations(details, objectType) - - objectType.Name = pbtypes.GetString(details, bundle.RelationKeyName.String()) - objectType.Layout = model.ObjectTypeLayout(int(pbtypes.GetFloat64(details, bundle.RelationKeyRecommendedLayout.String()))) - objectType.IconEmoji = pbtypes.GetString(details, bundle.RelationKeyIconEmoji.String()) - objectType.Url = url - objectType.IsArchived = pbtypes.GetBool(details, bundle.RelationKeyIsArchived.String()) - - // we use Page for all custom object types - objectType.Types = []model.SmartBlockType{model.SmartBlockType_Page} - return objectType, err -} - -func (s *dsObjectStore) fillObjectTypeWithRecommendedRelations(details *types.Struct, objectType *model.ObjectType) { - // relationKeys := objectInfos[0].RelationKeys - for _, relationID := range pbtypes.GetStringList(details, bundle.RelationKeyRecommendedRelations.String()) { - relationKey, err := pbtypes.RelationIdToKey(relationID) - if err == nil { - //nolint:govet - relation, err := s.GetRelationByKey(relationKey) - if err == nil { - objectType.RelationLinks = append( - objectType.RelationLinks, - (&relationutils.Relation{Relation: relation}).RelationLink(), - ) - } else { - log.Errorf("GetObjectType failed to get relation key from id: %s (%s)", err.Error(), relationID) - } - } else { - log.Errorf("GetObjectType failed to get relation key from id: %s (%s)", err.Error(), relationID) - } - } -} - -func GetBundledObjectType(url string, objectType *model.ObjectType) (*model.ObjectType, error) { - var err error - objectType, err = bundle.GetTypeByUrl(url) - if err != nil { - if err == bundle.ErrNotFound { - return nil, fmt.Errorf("unknown object type") - } - return nil, err - } - return objectType, nil -} - -func hasInboundLinks(txn noctxds.Txn, id string) (bool, error) { - inboundResults, err := txn.Query(query.Query{ - Prefix: pagesInboundLinksBase.String() + "/" + id + "/", - Limit: 1, // we only need to know if there is at least 1 inbound link - KeysOnly: true, - }) - if err != nil { - return false, err - } - - // max is 1 - inboundLinks, err := localstore.CountAllKeysFromResults(inboundResults) - return inboundLinks > 0, err -} - // Find to which IDs specified one has outbound links. func findOutboundLinks(txn noctxds.Txn, id string) ([]string, error) { return findByPrefix(txn, pagesOutboundLinksBase.String()+"/"+id+"/", 0) @@ -1884,19 +745,12 @@ func removeByPrefixInTx(txn noctxds.Txn, prefix string) (int, error) { return removed, nil } -func pageLinkKeys(id string, in []string, out []string) []ds.Key { - var keys = make([]ds.Key, 0, len(in)+len(out)) - - // links incoming into specified node id - for _, from := range in { - keys = append(keys, inboundLinkKey(from, id), outgoingLinkKey(from, id)) - } - +func pageLinkKeys(id string, out []string) []ds.Key { + keys := make([]ds.Key, 0, 2*len(out)) // links outgoing from specified node id for _, to := range out { keys = append(keys, outgoingLinkKey(id, to), inboundLinkKey(id, to)) } - return keys } @@ -1908,33 +762,6 @@ func inboundLinkKey(from, to string) ds.Key { return pagesInboundLinksBase.ChildString(to).ChildString(from) } -func newIdsFilter(ids []string) idsFilter { - f := make(idsFilter) - for i, id := range ids { - f[id] = i - } - return f -} - -type idsFilter map[string]int - -func (f idsFilter) Filter(e query.Entry) bool { - _, ok := f[extractIdFromKey(e.Key)] - return ok -} - -func (f idsFilter) Compare(a, b query.Entry) int { - aIndex := f[extractIdFromKey(a.Key)] - bIndex := f[extractIdFromKey(b.Key)] - if aIndex == bIndex { - return 0 - } else if aIndex < bIndex { - return -1 - } else { - return 1 - } -} - func extractIdFromKey(key string) (id string) { i := strings.LastIndexByte(key, '/') if i == -1 || len(key)-1 == i { @@ -1943,24 +770,65 @@ func extractIdFromKey(key string) (id string) { return key[i+1:] } -// temp func until we move to the proper ids -func objTypeCompactEncode(objType string) (string, error) { - if strings.HasPrefix(objType, addr.BundledObjectTypeURLPrefix) { - return objType, nil +func (s *dsObjectStore) GetObjectType(url string) (*model.ObjectType, error) { + if strings.HasPrefix(url, addr.BundledObjectTypeURLPrefix) { + return bundle.GetTypeByUrl(url) } - if strings.HasPrefix(objType, addr.ObjectTypeKeyToIdPrefix) { - return objType, nil + objectInfos, err := s.GetByIDs(url) + if err != nil { + return nil, err } - if strings.HasPrefix(objType, "ba") { - return objType, nil + if len(objectInfos) == 0 { + return nil, fmt.Errorf("object type not found in the index") } - return "", fmt.Errorf("invalid objType") + details := objectInfos[0].Details + + if pbtypes.GetString(details, bundle.RelationKeyType.String()) != bundle.TypeKeyObjectType.URL() { + return nil, fmt.Errorf("object %s is not an object type", url) + } + + return s.extractObjectTypeFromDetails(details, url), nil } -func GetObjectTypes(store ObjectStore, urls []string) (ots []*model.ObjectType, err error) { +func (s *dsObjectStore) extractObjectTypeFromDetails(details *types.Struct, url string) *model.ObjectType { + objectType := &model.ObjectType{} + s.fillObjectTypeWithRecommendedRelations(details, objectType) + objectType.Name = pbtypes.GetString(details, bundle.RelationKeyName.String()) + objectType.Layout = model.ObjectTypeLayout(int(pbtypes.GetFloat64(details, bundle.RelationKeyRecommendedLayout.String()))) + objectType.IconEmoji = pbtypes.GetString(details, bundle.RelationKeyIconEmoji.String()) + objectType.Url = url + objectType.IsArchived = pbtypes.GetBool(details, bundle.RelationKeyIsArchived.String()) + + // we use Page for all custom object types + objectType.Types = []model.SmartBlockType{model.SmartBlockType_Page} + return objectType +} + +func (s *dsObjectStore) fillObjectTypeWithRecommendedRelations(details *types.Struct, objectType *model.ObjectType) { + // relationKeys := objectInfos[0].RelationKeys + for _, relationID := range pbtypes.GetStringList(details, bundle.RelationKeyRecommendedRelations.String()) { + relationKey, err := pbtypes.RelationIdToKey(relationID) + if err == nil { + //nolint:govet + relation, err := s.GetRelationByKey(relationKey) + if err == nil { + objectType.RelationLinks = append( + objectType.RelationLinks, + (&relationutils.Relation{Relation: relation}).RelationLink(), + ) + } else { + log.Errorf("GetObjectType failed to get relation key from id: %s (%s)", err.Error(), relationID) + } + } else { + log.Errorf("GetObjectType failed to get relation key from id: %s (%s)", err.Error(), relationID) + } + } +} + +func (s *dsObjectStore) GetObjectTypes(urls []string) (ots []*model.ObjectType, err error) { ots = make([]*model.ObjectType, 0, len(urls)) for _, url := range urls { - ot, e := store.GetObjectType(url) + ot, e := s.GetObjectType(url) if e != nil { err = e } else { diff --git a/pkg/lib/localstore/objectstore/objects_test.go b/pkg/lib/localstore/objectstore/objects_test.go index d6f3e7490..e6d9ef02a 100644 --- a/pkg/lib/localstore/objectstore/objects_test.go +++ b/pkg/lib/localstore/objectstore/objects_test.go @@ -3,9 +3,7 @@ package objectstore import ( "context" "fmt" - "io/ioutil" "math/rand" - "os" "testing" "time" @@ -17,198 +15,43 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/anyproto/anytype-heart/app/testapp" - "github.com/anyproto/anytype-heart/core/anytype/config" - "github.com/anyproto/anytype-heart/core/wallet" + "github.com/anyproto/anytype-heart/core/relation/relationutils" "github.com/anyproto/anytype-heart/pkg/lib/bundle" "github.com/anyproto/anytype-heart/pkg/lib/core/smartblock" "github.com/anyproto/anytype-heart/pkg/lib/database" - "github.com/anyproto/anytype-heart/pkg/lib/datastore/clientds" - "github.com/anyproto/anytype-heart/pkg/lib/localstore/ftsearch" "github.com/anyproto/anytype-heart/pkg/lib/pb/model" "github.com/anyproto/anytype-heart/pkg/lib/schema" - "github.com/anyproto/anytype-heart/space/typeprovider" + "github.com/anyproto/anytype-heart/space/typeprovider/mock_typeprovider" "github.com/anyproto/anytype-heart/util/pbtypes" ) func TestDsObjectStore_UpdateLocalDetails(t *testing.T) { - tmpDir, _ := ioutil.TempDir("", "") - defer os.RemoveAll(tmpDir) - app := testapp.New() - defer app.Close(context.Background()) - - tp := typeprovider.New(nil) - tp.Init(nil) - ds := New(tp) + s := newStoreFixture(t) id := bson.NewObjectId() - tp.RegisterStaticType(id.String(), smartblock.SmartBlockTypePage) - - err := app.With(&config.DefaultConfig).With(wallet.NewWithRepoDirAndRandomKeys(tmpDir)).With(clientds.New()).With(ds).Start(context.Background()) - require.NoError(t, err) // bundle.RelationKeyLastOpenedDate is local relation (not stored in the changes tree) - err = ds.CreateObject(id.String(), &types.Struct{ + err := s.UpdateObjectDetails(id.String(), &types.Struct{ Fields: map[string]*types.Value{bundle.RelationKeyLastOpenedDate.String(): pbtypes.Int64(4), "type": pbtypes.String("_otp1")}, - }, nil, "") + }) require.NoError(t, err) ot := &model.ObjectType{Url: "_otp1", Name: "otp1"} - recs, _, err := ds.Query(schema.NewByType(ot, nil), database.Query{}) + recs, _, err := s.Query(schema.NewByType(ot, nil), database.Query{}) require.NoError(t, err) require.Len(t, recs, 1) require.Equal(t, pbtypes.Int64(4), pbtypes.Get(recs[0].Details, bundle.RelationKeyLastOpenedDate.String())) - err = ds.UpdateObjectDetails(id.String(), &types.Struct{ + err = s.UpdateObjectDetails(id.String(), &types.Struct{ Fields: map[string]*types.Value{"k1": pbtypes.String("1"), "k2": pbtypes.String("2"), "type": pbtypes.String("_otp1")}, - }, true) + }) require.NoError(t, err) - recs, _, err = ds.Query(schema.NewByType(ot, nil), database.Query{}) - require.NoError(t, err) - require.Len(t, recs, 1) - require.Equal(t, pbtypes.Int64(4), pbtypes.Get(recs[0].Details, bundle.RelationKeyLastOpenedDate.String())) - require.Equal(t, "2", pbtypes.GetString(recs[0].Details, "k2")) - - err = ds.UpdateObjectDetails(id.String(), &types.Struct{ - Fields: map[string]*types.Value{"k1": pbtypes.String("1"), "k2": pbtypes.String("2"), "type": pbtypes.String("_otp1")}, - }, false) - require.NoError(t, err) - - recs, _, err = ds.Query(schema.NewByType(ot, nil), database.Query{}) + recs, _, err = s.Query(schema.NewByType(ot, nil), database.Query{}) require.NoError(t, err) require.Len(t, recs, 1) require.Nil(t, pbtypes.Get(recs[0].Details, bundle.RelationKeyLastOpenedDate.String())) require.Equal(t, "2", pbtypes.GetString(recs[0].Details, "k2")) } -func TestDsObjectStore_IndexQueue(t *testing.T) { - tmpDir, _ := ioutil.TempDir("", "") - defer os.RemoveAll(tmpDir) - - app := testapp.New() - defer app.Close(context.Background()) - - ds := New(nil) - err := app.With(&config.DefaultConfig).With(wallet.NewWithRepoDirAndRandomKeys(tmpDir)).With(clientds.New()).With(ds).Start(context.Background()) - require.NoError(t, err) - - t.Run("add to queue", func(t *testing.T) { - require.NoError(t, ds.AddToIndexQueue("one")) - require.NoError(t, ds.AddToIndexQueue("one")) - require.NoError(t, ds.AddToIndexQueue("two")) - - ids, err := ds.ListIDsFromFullTextQueue() - require.NoError(t, err) - - assert.ElementsMatch(t, []string{"one", "two"}, ids) - }) - - t.Run("remove from queue", func(t *testing.T) { - ds.RemoveIDsFromFullTextQueue([]string{"one"}) - ids, err := ds.ListIDsFromFullTextQueue() - require.NoError(t, err) - - assert.ElementsMatch(t, []string{"two"}, ids) - }) -} - -func TestDsObjectStore_Query(t *testing.T) { - tmpDir, _ := ioutil.TempDir("", "") - defer os.RemoveAll(tmpDir) - - app := testapp.New() - defer app.Close(context.Background()) - tp := typeprovider.New(nil) - tp.Init(nil) - ds := New(tp) - err := app.With(&config.DefaultConfig).With(wallet.NewWithRepoDirAndRandomKeys(tmpDir)).With(clientds.New()).With(ftsearch.New()).With(ds).Start(context.Background()) - require.NoError(t, err) - fts := app.MustComponent(ftsearch.CName).(ftsearch.FTSearch) - - newDet := func(name string) *types.Struct { - return &types.Struct{ - Fields: map[string]*types.Value{ - "name": pbtypes.String(name), - }, - } - } - - id1 := bson.NewObjectId().Hex() - id2 := bson.NewObjectId().Hex() - id3 := bson.NewObjectId().Hex() - tp.RegisterStaticType(id1, smartblock.SmartBlockTypePage) - tp.RegisterStaticType(id2, smartblock.SmartBlockTypePage) - tp.RegisterStaticType(id3, smartblock.SmartBlockTypePage) - - require.NoError(t, ds.CreateObject(id1, newDet("one"), nil, "s1")) - require.NoError(t, ds.CreateObject(id2, newDet("two"), nil, "s2")) - require.NoError(t, ds.CreateObject(id3, newDet("three"), nil, "s3")) - require.NoError(t, fts.Index(ftsearch.SearchDoc{ - Id: id1, - Title: "one", - Text: "text twoone uniqone", - })) - require.NoError(t, fts.Index(ftsearch.SearchDoc{ - Id: id2, - Title: "two", - Text: "twoone text twoone uniqtwo", - })) - require.NoError(t, fts.Index(ftsearch.SearchDoc{ - Id: id3, - Title: "three", - Text: "text uniqthree", - })) - - // should return all records - rec, tot, err := ds.Query(nil, database.Query{}) - require.NoError(t, err) - assert.Equal(t, 3, tot) - assert.Len(t, rec, 3) - - // filter - rec, tot, err = ds.Query(nil, database.Query{ - Filters: []*model.BlockContentDataviewFilter{ - { - Operator: model.BlockContentDataviewFilter_And, - RelationKey: "name", - Condition: model.BlockContentDataviewFilter_Equal, - Value: pbtypes.String("two"), - }, - }, - }) - require.NoError(t, err) - assert.Equal(t, 1, tot) - assert.Len(t, rec, 1) - - // fulltext - rec, tot, err = ds.Query(nil, database.Query{ - FullText: "twoone", - }) - require.NoError(t, err) - assert.Equal(t, 2, tot) - assert.Len(t, rec, 2) - var names []string - for _, r := range rec { - names = append(names, pbtypes.GetString(r.Details, "name")) - } - assert.Equal(t, []string{"two", "one"}, names) - - // fulltext + filter - rec, tot, err = ds.Query(nil, database.Query{ - FullText: "twoone", - Filters: []*model.BlockContentDataviewFilter{ - { - Operator: model.BlockContentDataviewFilter_And, - RelationKey: "name", - Condition: model.BlockContentDataviewFilter_Equal, - Value: pbtypes.String("one"), - }, - }, - }) - require.NoError(t, err) - assert.Equal(t, 1, tot) - assert.Len(t, rec, 1) -} - func TestDsObjectStore_PrefixQuery(t *testing.T) { bds := sync.MutexWrap(ds.NewMapDatastore()) err := bds.Put(context.Background(), ds.NewKey("/p1/abc/def/1"), []byte{}) @@ -226,16 +69,7 @@ func TestDsObjectStore_PrefixQuery(t *testing.T) { } func Test_removeByPrefix(t *testing.T) { - tmpDir, _ := ioutil.TempDir("", "") - defer os.RemoveAll(tmpDir) - - app := testapp.New() - defer app.Close(context.Background()) - ds := New(nil) - err := app.With(&config.DefaultConfig).With(wallet.NewWithRepoDirAndRandomKeys(tmpDir)).With(clientds.New()).With(ftsearch.New()).With(ds).Start(context.Background()) - require.NoError(t, err) - - ds2 := ds.(*dsObjectStore) + s := newStoreFixture(t) var key = make([]byte, 32) for i := 0; i < 10; i++ { @@ -249,18 +83,395 @@ func Test_removeByPrefix(t *testing.T) { rand.Read(key) links = append(links, fmt.Sprintf("%x", key)) } - require.NoError(t, ds.CreateObject(objId, nil, links, "")) + require.NoError(t, s.UpdateObjectDetails(objId, nil)) + require.NoError(t, s.UpdateObjectLinks(objId, links)) } - tx, err := ds2.ds.NewTransaction(false) + tx, err := s.ds.NewTransaction(false) _, err = removeByPrefixInTx(tx, pagesInboundLinksBase.String()) require.NotNil(t, err) tx.Discard() - got, err := removeByPrefix(ds2.ds, pagesInboundLinksBase.String()) + got, err := removeByPrefix(s.ds, pagesInboundLinksBase.String()) require.NoError(t, err) require.Equal(t, 10*8000, got) - got, err = removeByPrefix(ds2.ds, pagesOutboundLinksBase.String()) + got, err = removeByPrefix(s.ds, pagesOutboundLinksBase.String()) require.NoError(t, err) require.Equal(t, 10*8000, got) } + +func TestList(t *testing.T) { + s := newStoreFixture(t) + typeProvider := mock_typeprovider.NewMockSmartBlockTypeProvider(t) + s.sbtProvider = typeProvider + + obj1 := makeObjectWithName("id1", "name1") + err := s.UpdateObjectSnippet("id1", "snippet1") + require.NoError(t, err) + typeProvider.EXPECT().Type("id1").Return(smartblock.SmartBlockTypePage, nil) + + obj2 := makeObjectWithName("id2", "name2") + typeProvider.EXPECT().Type("id2").Return(smartblock.SmartBlockTypeFile, nil) + + obj3 := makeObjectWithName("id3", "date") + obj3[bundle.RelationKeyIsDeleted] = pbtypes.Bool(true) + typeProvider.EXPECT().Type("id3").Return(smartblock.SmartBlockTypePage, nil) + + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + got, err := s.List() + require.NoError(t, err) + + want := []*model.ObjectInfo{ + { + Id: "id1", + Details: makeDetails(obj1), + Snippet: "snippet1", + ObjectType: model.SmartBlockType_Page, + }, + { + Id: "id2", + Details: makeDetails(obj2), + ObjectType: model.SmartBlockType_File, + }, + // Skip deleted id3 + } + + assert.Equal(t, want, got) +} + +func TestListIds(t *testing.T) { + t.Run("with empty store", func(t *testing.T) { + s := newStoreFixture(t) + + got, err := s.ListIds() + require.NoError(t, err) + assert.Empty(t, got) + }) + t.Run("with not empty store", func(t *testing.T) { + s := newStoreFixture(t) + s.addObjects(t, []testObject{ + makeObjectWithName("id1", "name1"), + makeObjectWithName("id2", "name2"), + }) + + got, err := s.ListIds() + require.NoError(t, err) + assert.Equal(t, []string{"id1", "id2"}, got) + }) +} + +func TestHasIDs(t *testing.T) { + s := newStoreFixture(t) + s.addObjects(t, []testObject{ + makeObjectWithName("id1", "name1"), + makeObjectWithName("id2", "name2"), + makeObjectWithName("id3", "name3"), + }) + + t.Run("none found", func(t *testing.T) { + got, err := s.HasIDs("id4", "id5") + require.NoError(t, err) + assert.Empty(t, got) + }) + t.Run("some found", func(t *testing.T) { + got, err := s.HasIDs("id2", "id3", "id4") + require.NoError(t, err) + assert.Equal(t, []string{"id2", "id3"}, got) + }) + t.Run("all found", func(t *testing.T) { + got, err := s.HasIDs("id1", "id3") + require.NoError(t, err) + assert.Equal(t, []string{"id1", "id3"}, got) + }) + t.Run("all found, check that input and output orders are equal by reversing arguments", func(t *testing.T) { + got, err := s.HasIDs("id3", "id1") + require.NoError(t, err) + assert.Equal(t, []string{"id3", "id1"}, got) + }) +} + +func TestGetObjectType(t *testing.T) { + t.Run("get bundled type", func(t *testing.T) { + s := newStoreFixture(t) + + got, err := s.GetObjectType(bundle.TypeKeyTask.BundledURL()) + require.NoError(t, err) + + want := bundle.MustGetType(bundle.TypeKeyTask) + assert.Equal(t, want, got) + }) + + t.Run("with object is not type expect error", func(t *testing.T) { + s := newStoreFixture(t) + + obj := testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyType: pbtypes.String(bundle.TypeKeyNote.URL()), + } + s.addObjects(t, []testObject{obj}) + + _, err := s.GetObjectType("id1") + require.Error(t, err) + }) + + t.Run("with object is type", func(t *testing.T) { + s := newStoreFixture(t) + + obj := testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyType: pbtypes.String(bundle.TypeKeyObjectType.URL()), + bundle.RelationKeyName: pbtypes.String("my note"), + bundle.RelationKeyRecommendedRelations: pbtypes.StringList([]string{bundle.RelationKeyAssignee.URL()}), + bundle.RelationKeyRecommendedLayout: pbtypes.Int64(int64(model.ObjectType_note)), + bundle.RelationKeyIconEmoji: pbtypes.String("📝"), + bundle.RelationKeyIsArchived: pbtypes.Bool(true), + } + relObj := testObject{ + bundle.RelationKeyId: pbtypes.String("id2"), + bundle.RelationKeyRelationKey: pbtypes.String(bundle.RelationKeyAssignee.String()), + bundle.RelationKeyType: pbtypes.String(bundle.TypeKeyRelation.URL()), + } + s.addObjects(t, []testObject{obj, relObj}) + + got, err := s.GetObjectType("id1") + require.NoError(t, err) + + want := &model.ObjectType{ + Url: "id1", + Name: "my note", + Layout: model.ObjectType_note, + IconEmoji: "📝", + IsArchived: true, + Types: []model.SmartBlockType{model.SmartBlockType_Page}, + RelationLinks: []*model.RelationLink{ + { + Key: bundle.RelationKeyAssignee.String(), + Format: model.RelationFormat_longtext, + }, + }, + } + + assert.Equal(t, want, got) + }) +} + +func TestGetAggregatedOptions(t *testing.T) { + t.Run("with no options", func(t *testing.T) { + s := newStoreFixture(t) + + got, err := s.GetAggregatedOptions(bundle.RelationKeyTag.String()) + require.NoError(t, err) + assert.Empty(t, got) + }) + + t.Run("with options", func(t *testing.T) { + s := newStoreFixture(t) + opt1 := makeRelationOptionObject("id1", "name1", "color1", bundle.RelationKeyTag.String()) + opt2 := makeRelationOptionObject("id2", "name2", "color2", bundle.RelationKeyStatus.String()) + opt3 := makeRelationOptionObject("id3", "name3", "color3", bundle.RelationKeyTag.String()) + s.addObjects(t, []testObject{opt1, opt2, opt3}) + + got, err := s.GetAggregatedOptions(bundle.RelationKeyTag.String()) + require.NoError(t, err) + want := []*model.RelationOption{ + { + Id: "id1", + Text: "name1", + Color: "color1", + RelationKey: bundle.RelationKeyTag.String(), + }, + { + Id: "id3", + Text: "name3", + Color: "color3", + RelationKey: bundle.RelationKeyTag.String(), + }, + } + assert.Equal(t, want, got) + }) +} + +func makeRelationOptionObject(id, name, color, relationKey string) testObject { + return testObject{ + bundle.RelationKeyId: pbtypes.String(id), + bundle.RelationKeyType: pbtypes.String(bundle.TypeKeyRelationOption.URL()), + bundle.RelationKeyName: pbtypes.String(name), + bundle.RelationKeyRelationOptionColor: pbtypes.String(color), + bundle.RelationKeyRelationKey: pbtypes.String(relationKey), + } +} + +func TestGetRelationById(t *testing.T) { + t.Run("relation is not found", func(t *testing.T) { + s := newStoreFixture(t) + + _, err := s.GetRelationByID(bundle.RelationKeyTag.URL()) + require.Error(t, err) + }) + + t.Run("requested object is not relation", func(t *testing.T) { + s := newStoreFixture(t) + + s.addObjects(t, []testObject{makeObjectWithName("id1", "name1")}) + + _, err := s.GetRelationByID("id1") + require.Error(t, err) + }) + + t.Run("relation is found", func(t *testing.T) { + s := newStoreFixture(t) + + rel := &relationutils.Relation{Relation: bundle.MustGetRelation(bundle.RelationKeyName)} + rel.Id = bundle.RelationKeyName.URL() + relObject := rel.ToStruct() + err := s.UpdateObjectDetails(rel.Id, relObject) + require.NoError(t, err) + + got, err := s.GetRelationByID(bundle.RelationKeyName.URL()) + require.NoError(t, err) + assert.Equal(t, relationutils.RelationFromStruct(relObject).Relation, got) + }) +} + +func TestGetWithLinksInfoByID(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithName("id1", "name1") + obj2 := makeObjectWithName("id2", "name2") + obj3 := makeObjectWithName("id3", "name3") + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + err := s.UpdateObjectLinks("id1", []string{"id2", "id3"}) + require.NoError(t, err) + + t.Run("links of first object", func(t *testing.T) { + got, err := s.GetWithLinksInfoByID("id1") + require.NoError(t, err) + + assert.Equal(t, makeDetails(obj1), got.Info.Details) + require.Len(t, got.Links.Outbound, 2) + assert.Equal(t, makeDetails(obj2), got.Links.Outbound[0].Details) + assert.Equal(t, makeDetails(obj3), got.Links.Outbound[1].Details) + }) + + t.Run("links of second object", func(t *testing.T) { + got, err := s.GetWithLinksInfoByID("id2") + require.NoError(t, err) + + assert.Equal(t, makeDetails(obj2), got.Info.Details) + require.Len(t, got.Links.Inbound, 1) + assert.Equal(t, makeDetails(obj1), got.Links.Inbound[0].Details) + }) + + t.Run("links of third object", func(t *testing.T) { + got, err := s.GetWithLinksInfoByID("id3") + require.NoError(t, err) + + assert.Equal(t, makeDetails(obj3), got.Info.Details) + require.Len(t, got.Links.Inbound, 1) + assert.Equal(t, makeDetails(obj1), got.Links.Inbound[0].Details) + }) +} + +func TestDeleteObject(t *testing.T) { + t.Run("object is not found", func(t *testing.T) { + s := newStoreFixture(t) + + err := s.DeleteObject("id1") + require.NoError(t, err) + + got, err := s.GetDetails("id1") + require.NoError(t, err) + assert.Equal(t, &model.ObjectDetails{ + Details: makeDetails(testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyIsDeleted: pbtypes.Bool(true), + }), + }, got) + }) + + t.Run("object is already deleted", func(t *testing.T) { + s := newStoreFixture(t) + err := s.DeleteObject("id1") + require.NoError(t, err) + + err = s.DeleteObject("id1") + require.NoError(t, err) + + got, err := s.GetDetails("id1") + require.NoError(t, err) + assert.Equal(t, &model.ObjectDetails{ + Details: makeDetails(testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyIsDeleted: pbtypes.Bool(true), + }), + }, got) + }) + + t.Run("delete object", func(t *testing.T) { + // Arrange + s := newStoreFixture(t) + obj := makeObjectWithName("id1", "name1") + s.addObjects(t, []testObject{obj}) + + err := s.UpdateObjectSnippet("id1", "snippet1") + require.NoError(t, err) + + err = s.UpdateObjectLinks("id2", []string{"id1"}) + require.NoError(t, err) + + err = s.SaveLastIndexedHeadsHash("id1", "hash1") + require.NoError(t, err) + + err = s.AddToIndexQueue("id1") + require.NoError(t, err) + + // Act + err = s.DeleteObject("id1") + require.NoError(t, err) + + // Assert + got, err := s.GetDetails("id1") + require.NoError(t, err) + assert.Equal(t, &model.ObjectDetails{ + Details: makeDetails(testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyIsDeleted: pbtypes.Bool(true), + }), + }, got) + + objects, err := s.GetByIDs("id1") + require.NoError(t, err) + assert.Empty(t, objects) + + outbound, err := s.GetOutboundLinksByID("id1") + require.NoError(t, err) + assert.Empty(t, outbound) + + inbound, err := s.GetInboundLinksByID("id2") + require.NoError(t, err) + assert.Empty(t, inbound) + + hash, err := s.GetLastIndexedHeadsHash("id1") + require.NoError(t, err) + assert.Empty(t, hash) + + ids, err := s.ListIDsFromFullTextQueue() + require.NoError(t, err) + assert.Empty(t, ids) + }) +} + +func TestDeleteDetails(t *testing.T) { + s := newStoreFixture(t) + s.addObjects(t, []testObject{makeObjectWithName("id1", "name1")}) + + err := s.DeleteDetails("id1") + require.NoError(t, err) + + got, err := s.GetDetails("id1") + require.NoError(t, err) + assert.Equal(t, &model.ObjectDetails{Details: &types.Struct{ + Fields: map[string]*types.Value{}, + }}, got) +} diff --git a/pkg/lib/localstore/objectstore/queries.go b/pkg/lib/localstore/objectstore/queries.go new file mode 100644 index 000000000..d4859f518 --- /dev/null +++ b/pkg/lib/localstore/objectstore/queries.go @@ -0,0 +1,241 @@ +package objectstore + +import ( + "fmt" + + ds "github.com/ipfs/go-datastore" + "github.com/ipfs/go-datastore/query" + + "github.com/anyproto/anytype-heart/pkg/lib/core/smartblock" + "github.com/anyproto/anytype-heart/pkg/lib/database" + "github.com/anyproto/anytype-heart/pkg/lib/pb/model" + "github.com/anyproto/anytype-heart/pkg/lib/schema" + "github.com/anyproto/anytype-heart/util/pbtypes" +) + +// TODO: objstore: no one uses total +func (s *dsObjectStore) Query(sch schema.Schema, q database.Query) (records []database.Record, total int, err error) { + txn, err := s.ds.NewTransaction(true) + if err != nil { + return nil, 0, fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + dsq, err := s.buildQuery(sch, q) + if err != nil { + return nil, 0, fmt.Errorf("build query: %w", err) + } + + res, err := txn.Query(dsq) + if err != nil { + return nil, 0, fmt.Errorf("error when querying ds: %w", err) + } + + var ( + results []database.Record + offset = q.Offset + ) + + // We use own limit/offset implementation in order to find out + // total number of records matching specified filters. Query + // returns this number for handy pagination on clients. + for rec := range res.Next() { + total++ + + if offset > 0 { + offset-- + continue + } + + if q.Limit > 0 && len(results) >= q.Limit { + continue + } + + key := ds.NewKey(rec.Key) + keyList := key.List() + id := keyList[len(keyList)-1] + + var details *model.ObjectDetails + details, err = unmarshalDetails(id, rec.Value) + if err != nil { + total-- + log.Errorf("failed to unmarshal: %s", err.Error()) + continue + } + results = append(results, database.Record{Details: details.Details}) + } + + return results, total, nil +} + +func (s *dsObjectStore) buildQuery(sch schema.Schema, q database.Query) (query.Query, error) { + dsq, err := q.DSQuery(sch) + if err != nil { + return query.Query{}, fmt.Errorf("init datastore query: %w", err) + } + dsq.Offset = 0 + dsq.Limit = 0 + dsq.Prefix = pagesDetailsBase.String() + "/" + discardSystemObjects := newSmartblockTypesFilter(s.sbtProvider, true, []smartblock.SmartBlockType{ + smartblock.SmartBlockTypeArchive, + smartblock.SmartBlockTypeHome, + }) + dsq.Filters = append([]query.Filter{discardSystemObjects}, dsq.Filters...) + + if q.FullText != "" { + dsq, err = s.makeFTSQuery(q.FullText, dsq) + if err != nil { + return query.Query{}, fmt.Errorf("append full text search query: %w", err) + } + } + return dsq, nil +} + +func (s *dsObjectStore) QueryRaw(f *database.Filters) (records []database.Record, err error) { + if f == nil || f.FilterObj == nil { + return nil, fmt.Errorf("filter cannot be nil or unitialized") + } + dsq := query.Query{ + Filters: []query.Filter{f}, + } + txn, err := s.ds.NewTransaction(true) + if err != nil { + return nil, fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + dsq.Prefix = pagesDetailsBase.String() + "/" + + res, err := txn.Query(dsq) + if err != nil { + return nil, fmt.Errorf("error when querying ds: %w", err) + } + + for rec := range res.Next() { + key := ds.NewKey(rec.Key) + keyList := key.List() + id := keyList[len(keyList)-1] + + var details *model.ObjectDetails + details, err = unmarshalDetails(id, rec.Value) + if err != nil { + log.Errorf("failed to unmarshal: %s", err.Error()) + continue + } + records = append(records, database.Record{Details: details.Details}) + } + return +} + +// TODO: objstore: no one uses total +func (s *dsObjectStore) QueryObjectIDs(q database.Query, smartBlockTypes []smartblock.SmartBlockType) (ids []string, total int, err error) { + txn, err := s.ds.NewTransaction(true) + if err != nil { + return nil, 0, fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + dsq, err := s.buildQuery(nil, q) + if err != nil { + return + } + if len(smartBlockTypes) > 0 { + dsq.Filters = append([]query.Filter{newSmartblockTypesFilter(s.sbtProvider, false, smartBlockTypes)}, dsq.Filters...) + } + + res, err := txn.Query(dsq) + if err != nil { + return nil, 0, fmt.Errorf("error when querying ds: %w", err) + } + + var ( + offset = q.Offset + ) + + // We use own limit/offset implementation in order to find out + // total number of records matching specified filters. Query + // returns this number for handy pagination on clients. + for rec := range res.Next() { + if rec.Error != nil { + return nil, 0, rec.Error + } + total++ + + if offset > 0 { + offset-- + continue + } + + if q.Limit > 0 && len(ids) >= q.Limit { + continue + } + + key := ds.NewKey(rec.Key) + keyList := key.List() + id := keyList[len(keyList)-1] + ids = append(ids, id) + } + return ids, total, nil +} + +func (s *dsObjectStore) QueryByID(ids []string) (records []database.Record, err error) { + txn, err := s.ds.NewTransaction(true) + if err != nil { + return nil, fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + for _, id := range ids { + if sbt, err := s.sbtProvider.Type(id); err == nil { + if indexDetails, _ := sbt.Indexable(); !indexDetails && s.sourceService != nil { + details, err := s.sourceService.DetailsFromIdBasedSource(id) + if err != nil { + log.Errorf("QueryByIds failed to GetDetailsFromIdBasedSource id: %s", id) + continue + } + details.Fields[database.RecordIDField] = pbtypes.ToValue(id) + records = append(records, database.Record{Details: details}) + continue + } + } + v, err := txn.Get(pagesDetailsBase.ChildString(id)) + if err != nil { + log.Infof("QueryByIds failed to find id: %s", id) + continue + } + + var details *model.ObjectDetails + details, err = unmarshalDetails(id, v) + if err != nil { + log.Errorf("QueryByIds failed to unmarshal id: %s", id) + continue + } + records = append(records, database.Record{Details: details.Details}) + } + + return +} + +func (s *dsObjectStore) QueryByIDAndSubscribeForChanges(ids []string, sub database.Subscription) (records []database.Record, closeFunc func(), err error) { + s.l.Lock() + defer s.l.Unlock() + + if sub == nil { + err = fmt.Errorf("subscription func is nil") + return + } + sub.Subscribe(ids) + records, err = s.QueryByID(ids) + if err != nil { + // can mean only the datastore is already closed, so we can resign and return + log.Errorf("QueryByIDAndSubscribeForChanges failed to query ids: %v", err) + return nil, nil, err + } + + closeFunc = func() { + s.closeAndRemoveSubscription(sub) + } + + s.addSubscriptionIfNotExists(sub) + + return +} diff --git a/pkg/lib/localstore/objectstore/queries_test.go b/pkg/lib/localstore/objectstore/queries_test.go new file mode 100644 index 000000000..94eb8d058 --- /dev/null +++ b/pkg/lib/localstore/objectstore/queries_test.go @@ -0,0 +1,734 @@ +package objectstore + +import ( + "context" + "fmt" + "testing" + "time" + + "github.com/anyproto/any-sync/app" + "github.com/gogo/protobuf/types" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/mock" + "github.com/stretchr/testify/require" + dsbadgerv3 "github.com/textileio/go-ds-badger3" + + "github.com/anyproto/anytype-heart/core/wallet" + "github.com/anyproto/anytype-heart/core/wallet/mock_wallet" + "github.com/anyproto/anytype-heart/pkg/lib/bundle" + "github.com/anyproto/anytype-heart/pkg/lib/core/smartblock" + "github.com/anyproto/anytype-heart/pkg/lib/database" + "github.com/anyproto/anytype-heart/pkg/lib/datastore/noctxds" + "github.com/anyproto/anytype-heart/pkg/lib/localstore/ftsearch" + "github.com/anyproto/anytype-heart/pkg/lib/pb/model" + "github.com/anyproto/anytype-heart/space/typeprovider/mock_typeprovider" + "github.com/anyproto/anytype-heart/util/pbtypes" +) + +type storeFixture struct { + *dsObjectStore +} + +func newStoreFixture(t *testing.T) *storeFixture { + ds, err := dsbadgerv3.NewDatastore(t.TempDir(), &dsbadgerv3.DefaultOptions) + require.NoError(t, err) + + noCtxDS := noctxds.New(ds) + + typeProvider := mock_typeprovider.NewMockSmartBlockTypeProvider(t) + typeProvider.EXPECT().Type(mock.Anything).Return(smartblock.SmartBlockTypePage, nil).Maybe() + + walletService := mock_wallet.NewMockWallet(t) + walletService.EXPECT().Name().Return(wallet.CName) + walletService.EXPECT().RepoPath().Return(t.TempDir()) + + fullText := ftsearch.New() + testApp := &app.App{} + testApp.Register(walletService) + err = fullText.Init(testApp) + require.NoError(t, err) + err = fullText.Run(context.Background()) + require.NoError(t, err) + + return &storeFixture{ + dsObjectStore: &dsObjectStore{ + ds: noCtxDS, + sbtProvider: typeProvider, + fts: fullText, + }, + } +} + +type testObject map[bundle.RelationKey]*types.Value + +func generateSimpleObject(index int) testObject { + id := fmt.Sprintf("%02d", index) + return testObject{ + bundle.RelationKeyId: pbtypes.String("id" + id), + bundle.RelationKeyName: pbtypes.String("name" + id), + } +} + +func makeObjectWithName(id string, name string) testObject { + return testObject{ + bundle.RelationKeyId: pbtypes.String(id), + bundle.RelationKeyName: pbtypes.String(name), + } +} + +func makeObjectWithNameAndDescription(id string, name string, description string) testObject { + return testObject{ + bundle.RelationKeyId: pbtypes.String(id), + bundle.RelationKeyName: pbtypes.String(name), + bundle.RelationKeyDescription: pbtypes.String(description), + } +} + +func makeDetails(fields testObject) *types.Struct { + f := map[string]*types.Value{} + for k, v := range fields { + f[string(k)] = v + } + return &types.Struct{Fields: f} +} + +func (fx *storeFixture) addObjects(t *testing.T, objects []testObject) { + for _, obj := range objects { + id := obj[bundle.RelationKeyId].GetStringValue() + require.NotEmpty(t, id) + err := fx.UpdateObjectDetails(id, makeDetails(obj)) + require.NoError(t, err) + } +} + +func assertRecordsEqual(t *testing.T, want []testObject, got []database.Record) { + wantRaw := make([]database.Record, 0, len(want)) + for _, w := range want { + wantRaw = append(wantRaw, database.Record{Details: makeDetails(w)}) + } + assert.Equal(t, wantRaw, got) +} + +func assertRecordsMatch(t *testing.T, want []testObject, got []database.Record) { + wantRaw := make([]database.Record, 0, len(want)) + for _, w := range want { + wantRaw = append(wantRaw, database.Record{Details: makeDetails(w)}) + } + assert.ElementsMatch(t, wantRaw, got) +} + +func TestQuery(t *testing.T) { + t.Run("no filters", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyName: pbtypes.String("name1"), + } + obj2 := testObject{ + bundle.RelationKeyId: pbtypes.String("id2"), + bundle.RelationKeyName: pbtypes.String("name2"), + } + obj3 := testObject{ + bundle.RelationKeyId: pbtypes.String("id3"), + bundle.RelationKeyName: pbtypes.String("name3"), + } + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + recs, _, err := s.Query(nil, database.Query{}) + require.NoError(t, err) + + assertRecordsEqual(t, []testObject{ + obj1, + obj2, + obj3, + }, recs) + }) + + t.Run("with filter", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyName: pbtypes.String("name1"), + } + obj2 := testObject{ + bundle.RelationKeyId: pbtypes.String("id2"), + bundle.RelationKeyName: pbtypes.String("name2"), + } + obj3 := testObject{ + bundle.RelationKeyId: pbtypes.String("id3"), + bundle.RelationKeyName: pbtypes.String("name3"), + } + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + recs, _, err := s.Query(nil, database.Query{ + Filters: []*model.BlockContentDataviewFilter{ + { + RelationKey: bundle.RelationKeyName.String(), + Condition: model.BlockContentDataviewFilter_Equal, + Value: pbtypes.String("name2"), + }, + }, + }) + require.NoError(t, err) + + assertRecordsEqual(t, []testObject{ + obj2, + }, recs) + }) + + t.Run("with multiple filters", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyName: pbtypes.String("name"), + } + obj2 := testObject{ + bundle.RelationKeyId: pbtypes.String("id2"), + bundle.RelationKeyName: pbtypes.String("name"), + bundle.RelationKeyDescription: pbtypes.String("description"), + } + obj3 := testObject{ + bundle.RelationKeyId: pbtypes.String("id3"), + bundle.RelationKeyName: pbtypes.String("name"), + bundle.RelationKeyDescription: pbtypes.String("description"), + } + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + recs, _, err := s.Query(nil, database.Query{ + Filters: []*model.BlockContentDataviewFilter{ + { + RelationKey: bundle.RelationKeyName.String(), + Condition: model.BlockContentDataviewFilter_Equal, + Value: pbtypes.String("name"), + }, + { + RelationKey: bundle.RelationKeyDescription.String(), + Condition: model.BlockContentDataviewFilter_Equal, + Value: pbtypes.String("description"), + }, + }, + }) + require.NoError(t, err) + + assertRecordsEqual(t, []testObject{ + obj2, + obj3, + }, recs) + }) + + t.Run("full text search", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyName: pbtypes.String("name"), + bundle.RelationKeyDescription: pbtypes.String("foo"), + } + obj2 := testObject{ + bundle.RelationKeyId: pbtypes.String("id2"), + bundle.RelationKeyName: pbtypes.String("some important note"), + bundle.RelationKeyDescription: pbtypes.String("foo"), + } + obj3 := testObject{ + bundle.RelationKeyId: pbtypes.String("id3"), + bundle.RelationKeyName: pbtypes.String(""), + bundle.RelationKeyDescription: pbtypes.String("bar"), + } + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + err := s.fts.Index(ftsearch.SearchDoc{ + Id: "id1", + Title: "name", + }) + require.NoError(t, err) + + err = s.fts.Index(ftsearch.SearchDoc{ + Id: "id2", + Title: "some important note", + }) + require.NoError(t, err) + + err = s.fts.Index(ftsearch.SearchDoc{ + Id: "id3", + Title: "", + Text: "very important text", + }) + require.NoError(t, err) + + t.Run("just full-text", func(t *testing.T) { + recs, _, err := s.Query(nil, database.Query{ + FullText: "important", + }) + require.NoError(t, err) + + // Full-text engine has its own ordering, so just don't rely on it here and check only the content. + assertRecordsMatch(t, []testObject{ + obj2, + obj3, + }, recs) + }) + + t.Run("full-text and filter", func(t *testing.T) { + recs, _, err := s.Query(nil, database.Query{ + FullText: "important", + Filters: []*model.BlockContentDataviewFilter{ + { + RelationKey: bundle.RelationKeyDescription.String(), + Condition: model.BlockContentDataviewFilter_Equal, + Value: pbtypes.String("foo"), + }, + }, + }) + require.NoError(t, err) + + // Full-text engine has its own ordering, so just don't rely on it here and check only the content. + assertRecordsMatch(t, []testObject{ + obj2, + }, recs) + }) + }) + + t.Run("without system objects", func(t *testing.T) { + s := newStoreFixture(t) + typeProvider := mock_typeprovider.NewMockSmartBlockTypeProvider(t) + s.sbtProvider = typeProvider + + obj1 := testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyName: pbtypes.String("Favorites page"), + } + typeProvider.EXPECT().Type("id1").Return(smartblock.SmartBlockTypeHome, nil) + + obj2 := testObject{ + bundle.RelationKeyId: pbtypes.String("id2"), + bundle.RelationKeyName: pbtypes.String("name2"), + } + typeProvider.EXPECT().Type("id2").Return(smartblock.SmartBlockTypePage, nil) + + obj3 := testObject{ + bundle.RelationKeyId: pbtypes.String("id3"), + bundle.RelationKeyName: pbtypes.String("Archive page"), + } + typeProvider.EXPECT().Type("id3").Return(smartblock.SmartBlockTypeArchive, nil) + + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + recs, _, err := s.Query(nil, database.Query{}) + require.NoError(t, err) + + assertRecordsEqual(t, []testObject{ + obj2, + }, recs) + }) + + t.Run("with ascending order and filter", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithName("id1", "dfg") + obj2 := makeObjectWithName("id2", "abc") + obj3 := makeObjectWithName("id3", "012") + obj4 := makeObjectWithName("id4", "ignore") + s.addObjects(t, []testObject{obj1, obj2, obj3, obj4}) + + recs, _, err := s.Query(nil, database.Query{ + Filters: []*model.BlockContentDataviewFilter{ + { + RelationKey: bundle.RelationKeyName.String(), + Condition: model.BlockContentDataviewFilter_NotEqual, + Value: pbtypes.String("ignore"), + }, + }, + Sorts: []*model.BlockContentDataviewSort{ + { + RelationKey: bundle.RelationKeyName.String(), + Type: model.BlockContentDataviewSort_Asc, + }, + }, + }) + require.NoError(t, err) + + assertRecordsEqual(t, []testObject{ + obj3, + obj2, + obj1, + }, recs) + }) + + t.Run("with descending order", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithName("id1", "dfg") + obj2 := makeObjectWithName("id2", "abc") + obj3 := makeObjectWithName("id3", "012") + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + recs, _, err := s.Query(nil, database.Query{ + Sorts: []*model.BlockContentDataviewSort{ + { + RelationKey: bundle.RelationKeyName.String(), + Type: model.BlockContentDataviewSort_Desc, + }, + }, + }) + require.NoError(t, err) + + assertRecordsEqual(t, []testObject{ + obj1, + obj2, + obj3, + }, recs) + }) + + t.Run("with multiple orders", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithNameAndDescription("id1", "dfg", "foo") + obj2 := makeObjectWithNameAndDescription("id2", "abc", "foo") + obj3 := makeObjectWithNameAndDescription("id3", "012", "bar") + obj4 := makeObjectWithNameAndDescription("id4", "bcd", "bar") + s.addObjects(t, []testObject{obj1, obj2, obj3, obj4}) + + recs, _, err := s.Query(nil, database.Query{ + Sorts: []*model.BlockContentDataviewSort{ + { + RelationKey: bundle.RelationKeyDescription.String(), + Type: model.BlockContentDataviewSort_Desc, + }, + { + RelationKey: bundle.RelationKeyName.String(), + Type: model.BlockContentDataviewSort_Asc, + }, + }, + }) + require.NoError(t, err) + + assertRecordsEqual(t, []testObject{ + obj2, + obj1, + obj3, + obj4, + }, recs) + }) + + t.Run("with limit", func(t *testing.T) { + s := newStoreFixture(t) + var objects []testObject + for i := 0; i < 100; i++ { + objects = append(objects, generateSimpleObject(i)) + } + s.addObjects(t, objects) + + recs, _, err := s.Query(nil, database.Query{ + Sorts: []*model.BlockContentDataviewSort{ + { + RelationKey: bundle.RelationKeyId.String(), + Type: model.BlockContentDataviewSort_Asc, + }, + }, + Limit: 15, + }) + require.NoError(t, err) + + assertRecordsEqual(t, objects[:15], recs) + }) + + t.Run("with limit and offset", func(t *testing.T) { + s := newStoreFixture(t) + var objects []testObject + for i := 0; i < 100; i++ { + objects = append(objects, generateSimpleObject(i)) + } + s.addObjects(t, objects) + + limit := 15 + offset := 20 + recs, _, err := s.Query(nil, database.Query{ + Sorts: []*model.BlockContentDataviewSort{ + { + RelationKey: bundle.RelationKeyId.String(), + Type: model.BlockContentDataviewSort_Asc, + }, + }, + Limit: limit, + Offset: offset, + }) + require.NoError(t, err) + + assertRecordsEqual(t, objects[offset:offset+limit], recs) + }) + + t.Run("with filter, limit and offset", func(t *testing.T) { + s := newStoreFixture(t) + var objects []testObject + var filteredObjects []testObject + for i := 0; i < 100; i++ { + if i%2 == 0 { + objects = append(objects, generateSimpleObject(i)) + } else { + obj := makeObjectWithName(fmt.Sprintf("id%02d", i), "this name") + filteredObjects = append(filteredObjects, obj) + objects = append(objects, obj) + } + + } + s.addObjects(t, objects) + + limit := 60 + offset := 20 + recs, _, err := s.Query(nil, database.Query{ + Filters: []*model.BlockContentDataviewFilter{ + { + RelationKey: bundle.RelationKeyName.String(), + Condition: model.BlockContentDataviewFilter_Equal, + Value: pbtypes.String("this name"), + }, + }, + Sorts: []*model.BlockContentDataviewSort{ + { + RelationKey: bundle.RelationKeyId.String(), + Type: model.BlockContentDataviewSort_Asc, + }, + }, + Limit: limit, + Offset: offset, + }) + require.NoError(t, err) + + // Limit is much bigger than the number of filtered objects, so we should get all of them, considering offset + assertRecordsEqual(t, filteredObjects[offset:], recs) + }) +} + +func TestQueryObjectIds(t *testing.T) { + t.Run("no filters", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithName("id1", "name1") + obj2 := makeObjectWithName("id2", "name2") + obj3 := makeObjectWithName("id3", "name3") + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + ids, _, err := s.QueryObjectIDs(database.Query{}, nil) + require.NoError(t, err) + assert.Equal(t, []string{"id1", "id2", "id3"}, ids) + }) + + t.Run("with smartblock types filter", func(t *testing.T) { + s := newStoreFixture(t) + typeProvider := mock_typeprovider.NewMockSmartBlockTypeProvider(t) + s.sbtProvider = typeProvider + + obj1 := makeObjectWithName("id1", "file1") + typeProvider.EXPECT().Type("id1").Return(smartblock.SmartBlockTypeFile, nil) + + obj2 := makeObjectWithName("id2", "type2") + typeProvider.EXPECT().Type("id2").Return(smartblock.SmartBlockTypeSubObject, nil) + + obj3 := makeObjectWithName("id3", "page3") + typeProvider.EXPECT().Type("id3").Return(smartblock.SmartBlockTypePage, nil) + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + ids, _, err := s.QueryObjectIDs(database.Query{}, []smartblock.SmartBlockType{smartblock.SmartBlockTypeFile, smartblock.SmartBlockTypePage}) + require.NoError(t, err) + assert.Equal(t, []string{"id1", "id3"}, ids) + + t.Run("with limit", func(t *testing.T) { + ids, _, err := s.QueryObjectIDs(database.Query{ + Limit: 1, + }, []smartblock.SmartBlockType{smartblock.SmartBlockTypeFile, smartblock.SmartBlockTypePage}) + require.NoError(t, err) + assert.Equal(t, []string{"id1"}, ids) + }) + t.Run("with limit and offset", func(t *testing.T) { + ids, _, err := s.QueryObjectIDs(database.Query{ + Limit: 1, + Offset: 1, + }, []smartblock.SmartBlockType{smartblock.SmartBlockTypeFile, smartblock.SmartBlockTypePage}) + require.NoError(t, err) + assert.Equal(t, []string{"id3"}, ids) + }) + }) + + t.Run("with basic filter and smartblock types filter", func(t *testing.T) { + s := newStoreFixture(t) + typeProvider := mock_typeprovider.NewMockSmartBlockTypeProvider(t) + s.sbtProvider = typeProvider + + obj1 := makeObjectWithNameAndDescription("id1", "file1", "foo") + typeProvider.EXPECT().Type("id1").Return(smartblock.SmartBlockTypeFile, nil) + + obj2 := makeObjectWithNameAndDescription("id2", "page2", "foo") + typeProvider.EXPECT().Type("id2").Return(smartblock.SmartBlockTypePage, nil) + + obj3 := makeObjectWithNameAndDescription("id3", "page3", "bar") + typeProvider.EXPECT().Type("id3").Return(smartblock.SmartBlockTypePage, nil) + + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + ids, _, err := s.QueryObjectIDs(database.Query{ + Filters: []*model.BlockContentDataviewFilter{ + { + RelationKey: bundle.RelationKeyDescription.String(), + Condition: model.BlockContentDataviewFilter_Equal, + Value: pbtypes.String("foo"), + }, + }, + }, []smartblock.SmartBlockType{smartblock.SmartBlockTypePage}) + require.NoError(t, err) + assert.Equal(t, []string{"id2"}, ids) + }) +} + +func TestQueryRaw(t *testing.T) { + t.Run("with nil filter expect error", func(t *testing.T) { + s := newStoreFixture(t) + + _, err := s.QueryRaw(nil) + require.Error(t, err) + }) + + t.Run("with uninitialized filter expect error", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithName("id1", "name1") + s.addObjects(t, []testObject{obj1}) + + _, err := s.QueryRaw(&database.Filters{}) + require.Error(t, err) + }) + + t.Run("no filters", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithName("id1", "name1") + obj2 := makeObjectWithName("id2", "name2") + obj3 := makeObjectWithName("id3", "name3") + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + flt, err := database.NewFilters(database.Query{}, nil, nil) + require.NoError(t, err) + + recs, err := s.QueryRaw(flt) + require.NoError(t, err) + assertRecordsEqual(t, []testObject{obj1, obj2, obj3}, recs) + }) + + t.Run("with filter", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithNameAndDescription("id1", "name1", "foo") + obj2 := makeObjectWithNameAndDescription("id2", "name2", "bar") + obj3 := makeObjectWithNameAndDescription("id3", "name3", "foo") + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + flt, err := database.NewFilters(database.Query{ + Filters: []*model.BlockContentDataviewFilter{ + { + RelationKey: bundle.RelationKeyDescription.String(), + Condition: model.BlockContentDataviewFilter_Equal, + Value: pbtypes.String("foo"), + }, + }, + }, nil, nil) + require.NoError(t, err) + + recs, err := s.QueryRaw(flt) + require.NoError(t, err) + assertRecordsEqual(t, []testObject{obj1, obj3}, recs) + }) +} + +type dummySourceService struct { + objectToReturn testObject +} + +func (s dummySourceService) DetailsFromIdBasedSource(id string) (*types.Struct, error) { + return makeDetails(s.objectToReturn), nil +} + +func TestQueryById(t *testing.T) { + t.Run("no ids", func(t *testing.T) { + s := newStoreFixture(t) + + recs, err := s.QueryByID(nil) + require.NoError(t, err) + assert.Empty(t, recs) + }) + + t.Run("just ordinary objects", func(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithName("id1", "name1") + obj2 := makeObjectWithName("id2", "name2") + obj3 := makeObjectWithName("id3", "name3") + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + recs, err := s.QueryByID([]string{"id1", "id3"}) + require.NoError(t, err) + assertRecordsEqual(t, []testObject{obj1, obj3}, recs) + + t.Run("reverse order", func(t *testing.T) { + recs, err := s.QueryByID([]string{"id3", "id1"}) + require.NoError(t, err) + assertRecordsEqual(t, []testObject{obj3, obj1}, recs) + }) + }) + + t.Run("some objects are not indexable and derive details from its source", func(t *testing.T) { + s := newStoreFixture(t) + typeProvider := mock_typeprovider.NewMockSmartBlockTypeProvider(t) + s.sbtProvider = typeProvider + + obj1 := makeObjectWithName("id1", "name1") + typeProvider.EXPECT().Type("id1").Return(smartblock.SmartBlockTypePage, nil) + + obj2 := makeObjectWithName("id2", "name2") + typeProvider.EXPECT().Type("id2").Return(smartblock.SmartBlockTypePage, nil) + + obj3 := makeObjectWithName("id3", "name3") + typeProvider.EXPECT().Type("id3").Return(smartblock.SmartBlockTypePage, nil) + + // obj4 is not indexable, so don't try to add it to store + obj4 := makeObjectWithName("id4", "i'm special") + typeProvider.EXPECT().Type("id4").Return(smartblock.SmartBlockTypeDate, nil) + + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + s.sourceService = dummySourceService{objectToReturn: obj4} + + recs, err := s.QueryByID([]string{"id2", "id4"}) + require.NoError(t, err) + assertRecordsEqual(t, []testObject{obj2, obj4}, recs) + }) +} + +func TestQueryByIdAndSubscribeForChanges(t *testing.T) { + s := newStoreFixture(t) + obj1 := makeObjectWithName("id1", "name1") + obj2 := makeObjectWithName("id2", "name2") + obj3 := makeObjectWithName("id3", "name3") + s.addObjects(t, []testObject{obj1, obj2, obj3}) + + recordsCh := make(chan *types.Struct) + sub := database.NewSubscription(nil, recordsCh) + + recs, closeSub, err := s.QueryByIDAndSubscribeForChanges([]string{"id1", "id3"}, sub) + require.NoError(t, err) + defer closeSub() + + assertRecordsEqual(t, []testObject{obj1, obj3}, recs) + + t.Run("update details called, but there are no changes", func(t *testing.T) { + err = s.UpdateObjectDetails("id1", makeDetails(obj1)) + require.ErrorIs(t, err, ErrDetailsNotChanged) + + select { + case <-recordsCh: + require.Fail(t, "unexpected record") + case <-time.After(10 * time.Millisecond): + } + }) + + t.Run("update details", func(t *testing.T) { + err = s.UpdateObjectDetails("id1", makeDetails(makeObjectWithName("id1", "name1 updated"))) + require.NoError(t, err) + + select { + case rec := <-recordsCh: + assert.Equal(t, "name1 updated", pbtypes.GetString(rec, bundle.RelationKeyName.String())) + case <-time.After(10 * time.Millisecond): + require.Fail(t, "update has not been received") + } + }) +} diff --git a/pkg/lib/localstore/objectstore/update.go b/pkg/lib/localstore/objectstore/update.go new file mode 100644 index 000000000..d61603dd3 --- /dev/null +++ b/pkg/lib/localstore/objectstore/update.go @@ -0,0 +1,250 @@ +package objectstore + +import ( + "errors" + "fmt" + + "github.com/dgraph-io/badger/v3" + "github.com/gogo/protobuf/proto" + "github.com/gogo/protobuf/types" + ds "github.com/ipfs/go-datastore" + + "github.com/anyproto/anytype-heart/metrics" + "github.com/anyproto/anytype-heart/pkg/lib/bundle" + "github.com/anyproto/anytype-heart/pkg/lib/database" + "github.com/anyproto/anytype-heart/pkg/lib/datastore/noctxds" + "github.com/anyproto/anytype-heart/pkg/lib/localstore" + "github.com/anyproto/anytype-heart/pkg/lib/pb/model" + "github.com/anyproto/anytype-heart/util/pbtypes" + "github.com/anyproto/anytype-heart/util/slice" +) + +func (s *dsObjectStore) UpdateObjectDetails(id string, details *types.Struct) error { + s.l.Lock() + defer s.l.Unlock() + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + var ( + before model.ObjectInfo + ) + + if details != nil { + exInfo, err := s.getObjectInfo(txn, id) + if err != nil { + log.Debugf("UpdateObject failed to get ex state for object %s: %s", id, err.Error()) + } + + if exInfo != nil { + before = *exInfo + } else { + // init an empty state to skip nil checks later + before = model.ObjectInfo{ + Details: &types.Struct{Fields: map[string]*types.Value{}}, + } + } + } + + err = s.updateObjectDetails(txn, id, before, details) + if err != nil { + return err + } + err = txn.Commit() + if err != nil { + return err + } + + return nil +} + +func (s *dsObjectStore) UpdateObjectLinks(id string, links []string) error { + s.l.Lock() + defer s.l.Unlock() + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + err = s.updateObjectLinks(txn, id, links) + if err != nil { + return err + } + return txn.Commit() +} + +func (s *dsObjectStore) UpdateObjectSnippet(id string, snippet string) error { + s.l.Lock() + defer s.l.Unlock() + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + + if val, err := txn.Get(pagesSnippetBase.ChildString(id)); err == ds.ErrNotFound || string(val) != snippet { + if err := s.updateSnippet(txn, id, snippet); err != nil { + return err + } + } + return txn.Commit() +} + +func (s *dsObjectStore) UpdatePendingLocalDetails(id string, proc func(details *types.Struct) (*types.Struct, error)) error { + // todo: review this method. Any other way to do this? + for { + err := s.updatePendingLocalDetails(id, proc) + if errors.Is(err, badger.ErrConflict) { + continue + } + if err != nil { + return err + } + return nil + } +} + +func (s *dsObjectStore) updatePendingLocalDetails(id string, proc func(details *types.Struct) (*types.Struct, error)) error { + txn, err := s.ds.NewTransaction(false) + if err != nil { + return fmt.Errorf("error creating txn in datastore: %w", err) + } + defer txn.Discard() + key := pendingDetailsBase.ChildString(id) + + objDetails, err := s.getPendingLocalDetails(txn, id) + if err != nil && err != ds.ErrNotFound { + return fmt.Errorf("get pending details: %w", err) + } + + details := objDetails.GetDetails() + if details == nil { + details = &types.Struct{Fields: map[string]*types.Value{}} + } + if details.Fields == nil { + details.Fields = map[string]*types.Value{} + } + details, err = proc(details) + if err != nil { + return fmt.Errorf("run a modifier: %w", err) + } + if details == nil { + err = txn.Delete(key) + if err != nil { + return err + } + return txn.Commit() + } + b, err := proto.Marshal(&model.ObjectDetails{Details: details}) + if err != nil { + return err + } + err = txn.Put(key, b) + if err != nil { + return err + } + + return txn.Commit() +} + +func (s *dsObjectStore) getPendingLocalDetails(txn noctxds.Txn, id string) (*model.ObjectDetails, error) { + val, err := txn.Get(pendingDetailsBase.ChildString(id)) + if err != nil { + return nil, err + } + return unmarshalDetails(id, val) +} + +func (s *dsObjectStore) updateObjectLinks(txn noctxds.Txn, id string, links []string) error { + exLinks, err := findOutboundLinks(txn, id) + if err != nil { + log.Errorf("error while finding outbound links for %s: %s", id, err) + } + var addedLinks, removedLinks []string + + removedLinks, addedLinks = slice.DifferenceRemovedAdded(exLinks, links) + if len(addedLinks) > 0 { + for _, k := range pageLinkKeys(id, addedLinks) { + if err := txn.Put(k, nil); err != nil { + return err + } + } + } + + if len(removedLinks) > 0 { + for _, k := range pageLinkKeys(id, removedLinks) { + if err := txn.Delete(k); err != nil { + return err + } + } + } + + return nil +} + +func (s *dsObjectStore) updateObjectDetails(txn noctxds.Txn, id string, before model.ObjectInfo, details *types.Struct) error { + if details != nil { + if err := s.updateDetails(txn, id, &model.ObjectDetails{Details: before.Details}, &model.ObjectDetails{Details: details}); err != nil { + return err + } + } + + return nil +} + +func (s *dsObjectStore) updateDetails(txn noctxds.Txn, id string, oldDetails *model.ObjectDetails, newDetails *model.ObjectDetails) error { + metrics.ObjectDetailsUpdatedCounter.Inc() + detailsKey := pagesDetailsBase.ChildString(id) + + if newDetails.GetDetails().GetFields() == nil { + return fmt.Errorf("newDetails is nil") + } + + newDetails.Details.Fields[bundle.RelationKeyId.String()] = pbtypes.String(id) // always ensure we have id set + b, err := proto.Marshal(newDetails) + if err != nil { + return err + } + err = txn.Put(detailsKey, b) + if err != nil { + return err + } + + if oldDetails.GetDetails().Equal(newDetails.GetDetails()) { + return ErrDetailsNotChanged + } + + err = localstore.UpdateIndexesWithTxn(s, txn, oldDetails, newDetails, id) + if err != nil { + return err + } + + if newDetails != nil && newDetails.Details.Fields != nil { + s.sendUpdatesToSubscriptions(id, newDetails.Details) + } + + return nil +} + +// should be called under the mutex +func (s *dsObjectStore) sendUpdatesToSubscriptions(id string, details *types.Struct) { + detCopy := pbtypes.CopyStruct(details) + detCopy.Fields[database.RecordIDField] = pbtypes.ToValue(id) + if s.onChangeCallback != nil { + s.onChangeCallback(database.Record{ + Details: detCopy, + }) + } + for i := range s.subscriptions { + go func(sub database.Subscription) { + _ = sub.Publish(id, detCopy) + }(s.subscriptions[i]) + } +} + +func (s *dsObjectStore) updateSnippet(txn noctxds.Txn, id string, snippet string) error { + snippetKey := pagesSnippetBase.ChildString(id) + return txn.Put(snippetKey, []byte(snippet)) +} diff --git a/pkg/lib/localstore/objectstore/update_test.go b/pkg/lib/localstore/objectstore/update_test.go new file mode 100644 index 000000000..60ae092f0 --- /dev/null +++ b/pkg/lib/localstore/objectstore/update_test.go @@ -0,0 +1,319 @@ +package objectstore + +import ( + "fmt" + "sync" + "sync/atomic" + "testing" + "time" + + "github.com/gogo/protobuf/types" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + + "github.com/anyproto/anytype-heart/pkg/lib/bundle" + "github.com/anyproto/anytype-heart/pkg/lib/database" + "github.com/anyproto/anytype-heart/util/pbtypes" +) + +func TestUpdateObjectDetails(t *testing.T) { + t.Run("with nil field expect error", func(t *testing.T) { + s := newStoreFixture(t) + + err := s.UpdateObjectDetails("id1", &types.Struct{}) + require.Error(t, err) + }) + + t.Run("with empty details expect just id detail is written", func(t *testing.T) { + s := newStoreFixture(t) + + err := s.UpdateObjectDetails("id1", &types.Struct{Fields: map[string]*types.Value{}}) + require.NoError(t, err) + + want := makeDetails(testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + }) + got, err := s.GetDetails("id1") + require.NoError(t, err) + assert.Equal(t, want, got.GetDetails()) + }) + + t.Run("with no id in details expect id is added on write", func(t *testing.T) { + s := newStoreFixture(t) + + err := s.UpdateObjectDetails("id1", makeDetails(testObject{ + bundle.RelationKeyName: pbtypes.String("some name"), + })) + require.NoError(t, err) + + want := makeDetails(testObject{ + bundle.RelationKeyId: pbtypes.String("id1"), + bundle.RelationKeyName: pbtypes.String("some name"), + }) + got, err := s.GetDetails("id1") + require.NoError(t, err) + assert.Equal(t, want, got.GetDetails()) + }) + + t.Run("with no existing details try to write nil details and expect nothing is changed", func(t *testing.T) { + s := newStoreFixture(t) + + err := s.UpdateObjectDetails("id1", nil) + require.NoError(t, err) + + det, err := s.GetDetails("id1") + assert.NoError(t, err) + assert.Equal(t, &types.Struct{Fields: map[string]*types.Value{}}, det.GetDetails()) + }) + + t.Run("with existing details write nil details and expect nothing is changed", func(t *testing.T) { + s := newStoreFixture(t) + obj := makeObjectWithName("id1", "foo") + s.addObjects(t, []testObject{obj}) + + err := s.UpdateObjectDetails("id1", nil) + require.NoError(t, err) + + det, err := s.GetDetails("id1") + assert.NoError(t, err) + assert.Equal(t, makeDetails(obj), det.GetDetails()) + }) + + t.Run("with write same details expect error", func(t *testing.T) { + s := newStoreFixture(t) + obj := makeObjectWithName("id1", "foo") + s.addObjects(t, []testObject{obj}) + + err := s.UpdateObjectDetails("id1", makeDetails(obj)) + require.Equal(t, ErrDetailsNotChanged, err) + }) + + t.Run("with updated details just store them", func(t *testing.T) { + s := newStoreFixture(t) + obj := makeObjectWithName("id1", "foo") + s.addObjects(t, []testObject{obj}) + + newObj := makeObjectWithNameAndDescription("id1", "foo", "bar") + err := s.UpdateObjectDetails("id1", makeDetails(newObj)) + require.NoError(t, err) + + det, err := s.GetDetails("id1") + assert.NoError(t, err) + assert.Equal(t, makeDetails(newObj), det.GetDetails()) + }) +} + +func TestSendUpdatesToSubscriptions(t *testing.T) { + t.Run("with details are not changed expect no updates are sent", func(t *testing.T) { + s := newStoreFixture(t) + s.addObjects(t, []testObject{makeObjectWithName("id1", "foo")}) + + s.SubscribeForAll(func(rec database.Record) { + require.Fail(t, "unexpected call") + }) + + err := s.UpdateObjectDetails("id1", makeDetails(makeObjectWithName("id1", "foo"))) + require.Equal(t, ErrDetailsNotChanged, err) + }) + + t.Run("with new details", func(t *testing.T) { + s := newStoreFixture(t) + obj := makeObjectWithName("id1", "foo") + + var called int + s.SubscribeForAll(func(rec database.Record) { + called++ + assert.Equal(t, makeDetails(obj), rec.Details) + }) + + s.addObjects(t, []testObject{obj}) + assert.Equal(t, 1, called) + }) + + t.Run("with updated details", func(t *testing.T) { + s := newStoreFixture(t) + s.addObjects(t, []testObject{makeObjectWithName("id1", "foo")}) + + updatedObj := makeObjectWithNameAndDescription("id1", "foobar", "bar") + var called int + s.SubscribeForAll(func(rec database.Record) { + called++ + assert.Equal(t, makeDetails(updatedObj), rec.Details) + }) + + s.addObjects(t, []testObject{updatedObj}) + assert.Equal(t, 1, called) + }) +} + +func TestUpdatePendingLocalDetails(t *testing.T) { + t.Run("with error in process function expect previous details are not touched", func(t *testing.T) { + s := newStoreFixture(t) + s.givenPendingLocalDetails(t) + + err := s.UpdatePendingLocalDetails("id1", func(details *types.Struct) (*types.Struct, error) { + return nil, fmt.Errorf("serious error") + }) + require.Error(t, err) + + s.assertPendingLocalDetails(t) + }) + + t.Run("with empty pending details", func(t *testing.T) { + s := newStoreFixture(t) + + s.givenPendingLocalDetails(t) + + s.assertPendingLocalDetails(t) + }) + + t.Run("with nil result of process function expect delete pending details", func(t *testing.T) { + s := newStoreFixture(t) + s.givenPendingLocalDetails(t) + + err := s.UpdatePendingLocalDetails("id1", func(details *types.Struct) (*types.Struct, error) { + return nil, nil + }) + require.NoError(t, err) + + err = s.UpdatePendingLocalDetails("id1", func(details *types.Struct) (*types.Struct, error) { + assert.Equal(t, &types.Struct{Fields: map[string]*types.Value{}}, details) + return nil, nil + }) + require.NoError(t, err) + }) + + t.Run("with parallel updates expect that transaction conflicts are resolved: last write wins", func(t *testing.T) { + s := newStoreFixture(t) + + var lastOpenedDate int64 + var wg sync.WaitGroup + for i := 0; i < 100; i++ { + wg.Add(1) + go func() { + err := s.UpdatePendingLocalDetails("id1", func(details *types.Struct) (*types.Struct, error) { + now := time.Now().UnixNano() + atomic.StoreInt64(&lastOpenedDate, now) + details.Fields[bundle.RelationKeyLastOpenedDate.String()] = pbtypes.Int64(now) + return details, nil + }) + require.NoError(t, err) + wg.Done() + }() + } + wg.Wait() + + err := s.UpdatePendingLocalDetails("id1", func(details *types.Struct) (*types.Struct, error) { + assert.Equal(t, &types.Struct{ + Fields: map[string]*types.Value{ + // ID is added automatically + bundle.RelationKeyId.String(): pbtypes.String("id1"), + bundle.RelationKeyLastOpenedDate.String(): pbtypes.Int64(atomic.LoadInt64(&lastOpenedDate)), + }, + }, details) + return details, nil + }) + require.NoError(t, err) + }) +} + +func (fx *storeFixture) givenPendingLocalDetails(t *testing.T) { + err := fx.UpdatePendingLocalDetails("id1", func(details *types.Struct) (*types.Struct, error) { + details.Fields[bundle.RelationKeyIsFavorite.String()] = pbtypes.Bool(true) + return details, nil + }) + require.NoError(t, err) +} + +func (fx *storeFixture) assertPendingLocalDetails(t *testing.T) { + err := fx.UpdatePendingLocalDetails("id1", func(details *types.Struct) (*types.Struct, error) { + assert.Equal(t, &types.Struct{ + Fields: map[string]*types.Value{ + // ID is added automatically + bundle.RelationKeyId.String(): pbtypes.String("id1"), + bundle.RelationKeyIsFavorite.String(): pbtypes.Bool(true), + }, + }, details) + return details, nil + }) + require.NoError(t, err) +} + +func TestUpdateObjectLinks(t *testing.T) { + t.Run("with no links added", func(t *testing.T) { + s := newStoreFixture(t) + + err := s.UpdateObjectLinks("id1", []string{}) + require.NoError(t, err) + + out, err := s.GetOutboundLinksByID("id1") + require.NoError(t, err) + assert.Empty(t, out) + }) + + t.Run("with some links added", func(t *testing.T) { + s := newStoreFixture(t) + + err := s.UpdateObjectLinks("id1", []string{"id2", "id3"}) + require.NoError(t, err) + + s.assertOutboundLinks(t, "id1", []string{"id2", "id3"}) + s.assertInboundLinks(t, "id2", []string{"id1"}) + s.assertInboundLinks(t, "id3", []string{"id1"}) + }) + + t.Run("with some existing links, add new links", func(t *testing.T) { + s := newStoreFixture(t) + + s.givenExistingLinks(t) + + err := s.UpdateObjectLinks("id1", []string{"id2", "id3"}) + require.NoError(t, err) + + s.assertOutboundLinks(t, "id1", []string{"id2", "id3"}) + s.assertInboundLinks(t, "id2", []string{"id1"}) + s.assertInboundLinks(t, "id3", []string{"id1"}) + }) + + t.Run("with some existing links, remove links", func(t *testing.T) { + s := newStoreFixture(t) + + s.givenExistingLinks(t) + + err := s.UpdateObjectLinks("id1", []string{}) + require.NoError(t, err) + + s.assertOutboundLinks(t, "id1", nil) + s.assertInboundLinks(t, "id2", nil) + s.assertInboundLinks(t, "id3", nil) + }) +} + +func (fx *storeFixture) assertInboundLinks(t *testing.T, id string, links []string) { + in, err := fx.GetInboundLinksByID(id) + assert.NoError(t, err) + if len(links) == 0 { + assert.Empty(t, in) + return + } + assert.Equal(t, links, in) +} + +func (fx *storeFixture) assertOutboundLinks(t *testing.T, id string, links []string) { + out, err := fx.GetOutboundLinksByID(id) + assert.NoError(t, err) + if len(links) == 0 { + assert.Empty(t, out) + return + } + assert.Equal(t, links, out) +} + +func (fx *storeFixture) givenExistingLinks(t *testing.T) { + err := fx.UpdateObjectLinks("id1", []string{"id2"}) + require.NoError(t, err) + + fx.assertOutboundLinks(t, "id1", []string{"id2"}) + fx.assertInboundLinks(t, "id2", []string{"id1"}) + fx.assertInboundLinks(t, "id3", nil) +} diff --git a/pkg/lib/pb/model/protos/localstore.proto b/pkg/lib/pb/model/protos/localstore.proto index d085c632e..a8d335cd2 100644 --- a/pkg/lib/pb/model/protos/localstore.proto +++ b/pkg/lib/pb/model/protos/localstore.proto @@ -7,12 +7,12 @@ import "pkg/lib/pb/model/protos/models.proto"; message ObjectInfo { string id = 1; - repeated string objectTypeUrls = 2; // deprecated + repeated string objectTypeUrls = 2; // DEPRECATED google.protobuf.Struct details = 3; - repeated Relation relations = 4; + repeated Relation relations = 4; // DEPRECATED string snippet = 5; - bool hasInboundLinks = 6; + bool hasInboundLinks = 6; // DEPRECATED SmartBlockType objectType = 7; } diff --git a/space/typeprovider/mock_typeprovider/mock_SmartBlockTypeProvider.go b/space/typeprovider/mock_typeprovider/mock_SmartBlockTypeProvider.go new file mode 100644 index 000000000..76e4175a9 --- /dev/null +++ b/space/typeprovider/mock_typeprovider/mock_SmartBlockTypeProvider.go @@ -0,0 +1,207 @@ +// Code generated by mockery v2.26.1. DO NOT EDIT. + +package mock_typeprovider + +import ( + app "github.com/anyproto/any-sync/app" + mock "github.com/stretchr/testify/mock" + + smartblock "github.com/anyproto/anytype-heart/pkg/lib/core/smartblock" +) + +// MockSmartBlockTypeProvider is an autogenerated mock type for the SmartBlockTypeProvider type +type MockSmartBlockTypeProvider struct { + mock.Mock +} + +type MockSmartBlockTypeProvider_Expecter struct { + mock *mock.Mock +} + +func (_m *MockSmartBlockTypeProvider) EXPECT() *MockSmartBlockTypeProvider_Expecter { + return &MockSmartBlockTypeProvider_Expecter{mock: &_m.Mock} +} + +// Init provides a mock function with given fields: a +func (_m *MockSmartBlockTypeProvider) Init(a *app.App) error { + ret := _m.Called(a) + + var r0 error + if rf, ok := ret.Get(0).(func(*app.App) error); ok { + r0 = rf(a) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockSmartBlockTypeProvider_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init' +type MockSmartBlockTypeProvider_Init_Call struct { + *mock.Call +} + +// Init is a helper method to define mock.On call +// - a *app.App +func (_e *MockSmartBlockTypeProvider_Expecter) Init(a interface{}) *MockSmartBlockTypeProvider_Init_Call { + return &MockSmartBlockTypeProvider_Init_Call{Call: _e.mock.On("Init", a)} +} + +func (_c *MockSmartBlockTypeProvider_Init_Call) Run(run func(a *app.App)) *MockSmartBlockTypeProvider_Init_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*app.App)) + }) + return _c +} + +func (_c *MockSmartBlockTypeProvider_Init_Call) Return(err error) *MockSmartBlockTypeProvider_Init_Call { + _c.Call.Return(err) + return _c +} + +func (_c *MockSmartBlockTypeProvider_Init_Call) RunAndReturn(run func(*app.App) error) *MockSmartBlockTypeProvider_Init_Call { + _c.Call.Return(run) + return _c +} + +// Name provides a mock function with given fields: +func (_m *MockSmartBlockTypeProvider) Name() string { + ret := _m.Called() + + var r0 string + if rf, ok := ret.Get(0).(func() string); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(string) + } + + return r0 +} + +// MockSmartBlockTypeProvider_Name_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Name' +type MockSmartBlockTypeProvider_Name_Call struct { + *mock.Call +} + +// Name is a helper method to define mock.On call +func (_e *MockSmartBlockTypeProvider_Expecter) Name() *MockSmartBlockTypeProvider_Name_Call { + return &MockSmartBlockTypeProvider_Name_Call{Call: _e.mock.On("Name")} +} + +func (_c *MockSmartBlockTypeProvider_Name_Call) Run(run func()) *MockSmartBlockTypeProvider_Name_Call { + _c.Call.Run(func(args mock.Arguments) { + run() + }) + return _c +} + +func (_c *MockSmartBlockTypeProvider_Name_Call) Return(name string) *MockSmartBlockTypeProvider_Name_Call { + _c.Call.Return(name) + return _c +} + +func (_c *MockSmartBlockTypeProvider_Name_Call) RunAndReturn(run func() string) *MockSmartBlockTypeProvider_Name_Call { + _c.Call.Return(run) + return _c +} + +// RegisterStaticType provides a mock function with given fields: id, tp +func (_m *MockSmartBlockTypeProvider) RegisterStaticType(id string, tp smartblock.SmartBlockType) { + _m.Called(id, tp) +} + +// MockSmartBlockTypeProvider_RegisterStaticType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterStaticType' +type MockSmartBlockTypeProvider_RegisterStaticType_Call struct { + *mock.Call +} + +// RegisterStaticType is a helper method to define mock.On call +// - id string +// - tp smartblock.SmartBlockType +func (_e *MockSmartBlockTypeProvider_Expecter) RegisterStaticType(id interface{}, tp interface{}) *MockSmartBlockTypeProvider_RegisterStaticType_Call { + return &MockSmartBlockTypeProvider_RegisterStaticType_Call{Call: _e.mock.On("RegisterStaticType", id, tp)} +} + +func (_c *MockSmartBlockTypeProvider_RegisterStaticType_Call) Run(run func(id string, tp smartblock.SmartBlockType)) *MockSmartBlockTypeProvider_RegisterStaticType_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(string), args[1].(smartblock.SmartBlockType)) + }) + return _c +} + +func (_c *MockSmartBlockTypeProvider_RegisterStaticType_Call) Return() *MockSmartBlockTypeProvider_RegisterStaticType_Call { + _c.Call.Return() + return _c +} + +func (_c *MockSmartBlockTypeProvider_RegisterStaticType_Call) RunAndReturn(run func(string, smartblock.SmartBlockType)) *MockSmartBlockTypeProvider_RegisterStaticType_Call { + _c.Call.Return(run) + return _c +} + +// Type provides a mock function with given fields: id +func (_m *MockSmartBlockTypeProvider) Type(id string) (smartblock.SmartBlockType, error) { + ret := _m.Called(id) + + var r0 smartblock.SmartBlockType + var r1 error + if rf, ok := ret.Get(0).(func(string) (smartblock.SmartBlockType, error)); ok { + return rf(id) + } + if rf, ok := ret.Get(0).(func(string) smartblock.SmartBlockType); ok { + r0 = rf(id) + } else { + r0 = ret.Get(0).(smartblock.SmartBlockType) + } + + if rf, ok := ret.Get(1).(func(string) error); ok { + r1 = rf(id) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockSmartBlockTypeProvider_Type_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Type' +type MockSmartBlockTypeProvider_Type_Call struct { + *mock.Call +} + +// Type is a helper method to define mock.On call +// - id string +func (_e *MockSmartBlockTypeProvider_Expecter) Type(id interface{}) *MockSmartBlockTypeProvider_Type_Call { + return &MockSmartBlockTypeProvider_Type_Call{Call: _e.mock.On("Type", id)} +} + +func (_c *MockSmartBlockTypeProvider_Type_Call) Run(run func(id string)) *MockSmartBlockTypeProvider_Type_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(string)) + }) + return _c +} + +func (_c *MockSmartBlockTypeProvider_Type_Call) Return(_a0 smartblock.SmartBlockType, _a1 error) *MockSmartBlockTypeProvider_Type_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockSmartBlockTypeProvider_Type_Call) RunAndReturn(run func(string) (smartblock.SmartBlockType, error)) *MockSmartBlockTypeProvider_Type_Call { + _c.Call.Return(run) + return _c +} + +type mockConstructorTestingTNewMockSmartBlockTypeProvider interface { + mock.TestingT + Cleanup(func()) +} + +// NewMockSmartBlockTypeProvider creates a new instance of MockSmartBlockTypeProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +func NewMockSmartBlockTypeProvider(t mockConstructorTestingTNewMockSmartBlockTypeProvider) *MockSmartBlockTypeProvider { + mock := &MockSmartBlockTypeProvider{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/space/typeprovider/typeprovider.go b/space/typeprovider/typeprovider.go index 9d1be7ffd..755d04582 100644 --- a/space/typeprovider/typeprovider.go +++ b/space/typeprovider/typeprovider.go @@ -29,7 +29,6 @@ var ( ErrUnknownChangeType = errors.New("error unknown change type") ) -//go:generate mockgen -package mock_typeprovider -destination ./mock_typeprovider/provider_mock.go github.com/anyproto/anytype-heart/space/typeprovider SmartBlockTypeProvider type SmartBlockTypeProvider interface { app.Component Type(id string) (smartblock.SmartBlockType, error)