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:
parent
cedf661c97
commit
a273eff9df
11 changed files with 669 additions and 236 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue