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

add event&change BlockDataviewSourceSet, fix objectType recommendedRelations

This commit is contained in:
requilence 2021-02-26 13:58:49 +04:00
parent cedf661c97
commit a273eff9df
No known key found for this signature in database
GPG key ID: F07A7D55A2684852
11 changed files with 669 additions and 236 deletions

View file

@ -81,6 +81,10 @@ func CopyRelation(in *pbrelation.Relation) (out *pbrelation.Relation) {
return out
}
func CopyLayout(in *pbrelation.Layout) (out *pbrelation.Layout) {
return &pbrelation.Layout{Id: in.Id, Name: in.Name, RequiredRelations: CopyRelations(in.RequiredRelations)}
}
func CopyObjectType(in *pbrelation.ObjectType) (out *pbrelation.ObjectType) {
if in == nil {
return nil