1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-11 02:13:41 +09:00

GO-4823 Merge feature branch

This commit is contained in:
kirillston 2025-01-15 17:32:42 +03:00
commit d06b02bb21
No known key found for this signature in database
GPG key ID: BE4BF014F0ECDFE8
110 changed files with 4860 additions and 2903 deletions

View file

@ -64,7 +64,7 @@ func listAllTypesAndRelations(store dependencies.QueryableStore) (map[string]*do
records, err := store.Query(database.Query{
Filters: []database.FilterRequest{
{
RelationKey: bundle.RelationKeyLayout,
RelationKey: bundle.RelationKeyResolvedLayout,
Condition: model.BlockContentDataviewFilter_In,
Value: domain.Int64List([]model.ObjectTypeLayout{model.ObjectType_objectType, model.ObjectType_relation}),
},

View file

@ -24,7 +24,7 @@ func TestMigration_Run(t *testing.T) {
{
bundle.RelationKeySpaceId: domain.String("space1"),
bundle.RelationKeyRelationFormat: domain.Int64(int64(model.RelationFormat_object)),
bundle.RelationKeyLayout: domain.Int64(int64(model.ObjectType_relation)),
bundle.RelationKeyResolvedLayout: domain.Int64(int64(model.ObjectType_relation)),
bundle.RelationKeyId: domain.String("id1"),
bundle.RelationKeyIsHidden: domain.Bool(true), // bundle = false
bundle.RelationKeyRevision: domain.Int64(1), // bundle = 3