Skip to content

Commit

Permalink
GO-2734 Make globalName system relation
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillSto committed Apr 5, 2024
1 parent 916ab7c commit 0354f72
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/lib/bundle/relation.gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
)

const RelationChecksum = "9e3ac8ec63c696e079d382d3802799f26dd4bdb979437135c6201204de9defd0"
const RelationChecksum = "d9166ff25c421f94e3fd6b640fa6ad8652b0d4a676e9963ffddb447d9a20e2ae"
const (
RelationKeyTag domain.RelationKey = "tag"
RelationKeyCamera domain.RelationKey = "camera"
Expand Down
3 changes: 2 additions & 1 deletion pkg/lib/bundle/systemRelations.gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package bundle

import domain "github.com/anyproto/anytype-heart/core/domain"

const SystemRelationsChecksum = "b2c844fbc71c2dace65117fbc545b4817ae8ebd7306e9f261b967a63c4388e67"
const SystemRelationsChecksum = "cc260488e8195a5900ac7e1315d836713dbdc4ddd4a9e4689a186e99a47c6304"

// SystemRelations contains relations that have some special biz logic depends on them in some objects
// in case EVERY object depend on the relation please add it to RequiredInternalRelations
Expand Down Expand Up @@ -65,4 +65,5 @@ var SystemRelations = append(RequiredInternalRelations, []domain.RelationKey{
RelationKeyParticipantStatus,
RelationKeyLatestAclHeadId,
RelationKeyIdentity,
RelationKeyGlobalName,
}...)
3 changes: 2 additions & 1 deletion pkg/lib/bundle/systemRelations.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@
"participantPermissions",
"participantStatus",
"latestAclHeadId",
"identity"
"identity",
"globalName"
]

0 comments on commit 0354f72

Please sign in to comment.