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

GO-5331 Delete tasks and priority

This commit is contained in:
kirillston 2025-04-14 17:16:35 +03:00
parent 0b6c05271d
commit ee76770c9a
No known key found for this signature in database
GPG key ID: BE4BF014F0ECDFE8
2 changed files with 1 additions and 52 deletions

View file

@ -9,7 +9,7 @@ import (
"github.com/anyproto/anytype-heart/pkg/lib/pb/model"
)
const RelationChecksum = "c4effd0b56ce4d007b246e0371064334d9a7acd7dee184669939217848faa938"
const RelationChecksum = "c783b9e9c309b48d6a0960d7b99554b68fc52fec4df4b26f15281c93f97228a0"
const (
RelationKeyTag domain.RelationKey = "tag"
RelationKeyCamera domain.RelationKey = "camera"
@ -28,7 +28,6 @@ const (
RelationKeyWritersLimit domain.RelationKey = "writersLimit"
RelationKeySharedSpacesLimit domain.RelationKey = "sharedSpacesLimit"
RelationKeyIsHighlighted domain.RelationKey = "isHighlighted"
RelationKeyTasks domain.RelationKey = "tasks"
RelationKeySnippet domain.RelationKey = "snippet"
RelationKeyRelationFormat domain.RelationKey = "relationFormat"
RelationKeyRelationReadonlyValue domain.RelationKey = "relationReadonlyValue"
@ -75,7 +74,6 @@ const (
RelationKeyMood domain.RelationKey = "mood"
RelationKeyAudioLyrics domain.RelationKey = "audioLyrics"
RelationKeyFocalRatio domain.RelationKey = "focalRatio"
RelationKeyPriority domain.RelationKey = "priority"
RelationKeyFileMimeType domain.RelationKey = "fileMimeType"
RelationKeyType domain.RelationKey = "type"
RelationKeyLayout domain.RelationKey = "layout"
@ -1366,19 +1364,6 @@ var (
ReadOnlyRelation: true,
Scope: model.Relation_type,
},
RelationKeyPriority: {
DataSource: model.Relation_details,
Description: "Used to order tasks in list/canban",
Format: model.RelationFormat_number,
Id: "_brpriority",
Key: "priority",
MaxCount: 1,
Name: "Priority",
ReadOnly: false,
ReadOnlyRelation: true,
Scope: model.Relation_type,
},
RelationKeyProfileOwnerIdentity: {
DataSource: model.Relation_derived,
@ -2059,19 +2044,6 @@ var (
ReadOnlyRelation: true,
Scope: model.Relation_type,
},
RelationKeyTasks: {
DataSource: model.Relation_details,
Description: "List of related tasks\n",
Format: model.RelationFormat_object,
Id: "_brtasks",
Key: "tasks",
Name: "Tasks",
ObjectTypes: []string{TypePrefix + "task"},
ReadOnly: false,
ReadOnlyRelation: true,
Scope: model.Relation_type,
},
RelationKeyTemplateIsBundled: {
DataSource: model.Relation_derived,

View file

@ -169,19 +169,6 @@
"readonly": false,
"source": "account"
},
{
"description": "List of related tasks\n",
"format": "object",
"hidden": false,
"key": "tasks",
"maxCount": 0,
"name": "Tasks",
"objectTypes": [
"task"
],
"readonly": false,
"source": "details"
},
{
"description": "Plaintext extracted from the object's blocks ",
"format": "longtext",
@ -665,16 +652,6 @@
"readonly": false,
"source": "details"
},
{
"description": "Used to order tasks in list/canban",
"format": "number",
"hidden": false,
"key": "priority",
"maxCount": 1,
"name": "Priority",
"readonly": false,
"source": "details"
},
{
"description": "Mime type of object",
"format": "longtext",