mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-11 02:13:41 +09:00
GO-5465 Update recommended relations for non system types
This commit is contained in:
parent
8220a9f5ed
commit
0b6c05271d
3 changed files with 22 additions and 17 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
|
||||
)
|
||||
|
||||
const TypeChecksum = "2036a5654c912ee27758ac5c32356c3e1446905db136e7486740858f3ff7e623"
|
||||
const TypeChecksum = "266939ef14b8467a166ae3c8b75deab57ce05236ae57f4dd973cd837973c7384"
|
||||
const (
|
||||
TypePrefix = "_ot"
|
||||
)
|
||||
|
@ -212,7 +212,7 @@ var (
|
|||
Name: "Goal",
|
||||
PluralName: "Goals",
|
||||
Readonly: true,
|
||||
RelationLinks: []*model.RelationLink{MustGetRelationLink(RelationKeyTag), MustGetRelationLink(RelationKeyDueDate), MustGetRelationLink(RelationKeyProgress), MustGetRelationLink(RelationKeyStatus), MustGetRelationLink(RelationKeyTasks)},
|
||||
RelationLinks: []*model.RelationLink{MustGetRelationLink(RelationKeyTag), MustGetRelationLink(RelationKeyDueDate), MustGetRelationLink(RelationKeyProgress), MustGetRelationLink(RelationKeyStatus)},
|
||||
Revision: 3,
|
||||
Types: []model.SmartBlockType{model.SmartBlockType_Page},
|
||||
Url: TypePrefix + "goal",
|
||||
|
@ -327,7 +327,7 @@ var (
|
|||
Name: "Project",
|
||||
PluralName: "Projects",
|
||||
Readonly: true,
|
||||
RelationLinks: []*model.RelationLink{MustGetRelationLink(RelationKeyTag), MustGetRelationLink(RelationKeyTasks)},
|
||||
RelationLinks: []*model.RelationLink{MustGetRelationLink(RelationKeyTag)},
|
||||
Revision: 3,
|
||||
Types: []model.SmartBlockType{model.SmartBlockType_Page},
|
||||
Url: TypePrefix + "project",
|
||||
|
|
|
@ -453,8 +453,7 @@
|
|||
"tag",
|
||||
"dueDate",
|
||||
"progress",
|
||||
"status",
|
||||
"tasks"
|
||||
"status"
|
||||
],
|
||||
"revision": 3
|
||||
},
|
||||
|
@ -491,8 +490,7 @@
|
|||
"hidden": false,
|
||||
"layout": "basic",
|
||||
"relations": [
|
||||
"tag",
|
||||
"tasks"
|
||||
"tag"
|
||||
],
|
||||
"revision": 3
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue