@colibri-social/lexicons 2.9.1 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.d.ts +2 -2
- package/dist/generated/social/colibri/beta/actor/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.js +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/channel/defs.defs.d.ts +41 -0
- package/dist/generated/social/colibri/beta/channel/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/channel/defs.defs.js +5 -1
- package/dist/generated/social/colibri/beta/channel/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/label.defs.d.ts +2 -2
- package/dist/generated/social/colibri/beta/message.defs.d.ts +42 -0
- package/dist/generated/social/colibri/beta/message.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/message.defs.js +4 -1
- package/dist/generated/social/colibri/beta/message.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/thread/moveMessages.defs.d.ts +1 -1
- package/dist/generated/social/colibri/beta/thread/moveMessages.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/thread/moveMessages.defs.js +1 -1
- package/dist/generated/social/colibri/beta/thread/moveMessages.defs.js.map +1 -1
- package/lexicons/social/colibri/beta/actor/defs.json +7 -4
- package/lexicons/social/colibri/beta/channel/defs.json +53 -0
- package/lexicons/social/colibri/beta/label.json +2 -2
- package/lexicons/social/colibri/beta/message.json +45 -0
- package/lexicons/social/colibri/beta/thread/moveMessages.json +2 -2
- package/package.json +1 -1
|
@@ -46,6 +46,11 @@
|
|
|
46
46
|
},
|
|
47
47
|
"description": "Files attached to this message."
|
|
48
48
|
},
|
|
49
|
+
"forward": {
|
|
50
|
+
"type": "ref",
|
|
51
|
+
"ref": "#forward",
|
|
52
|
+
"description": "Content copied here from another message. Present only on a forwarded message."
|
|
53
|
+
},
|
|
49
54
|
"suppressedEmbeds": {
|
|
50
55
|
"type": "array",
|
|
51
56
|
"items": {
|
|
@@ -57,6 +62,46 @@
|
|
|
57
62
|
}
|
|
58
63
|
}
|
|
59
64
|
},
|
|
65
|
+
"forward": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"description": "Another message's content, copied and frozen when the forward was made. The copy does not follow later edits, deletions or labels on the message it came from. Never itself nested: forwarding a forwarded message carries this content over and repoints `source` at the message it was forwarded from.",
|
|
68
|
+
"required": ["source", "createdAt", "text"],
|
|
69
|
+
"properties": {
|
|
70
|
+
"source": {
|
|
71
|
+
"type": "ref",
|
|
72
|
+
"ref": "social.colibri.beta.defs#spaceRecordRef",
|
|
73
|
+
"description": "The message this content was copied from."
|
|
74
|
+
},
|
|
75
|
+
"createdAt": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"format": "datetime",
|
|
78
|
+
"description": "When the message this content came from was sent."
|
|
79
|
+
},
|
|
80
|
+
"text": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"maxLength": 2048,
|
|
83
|
+
"description": "The copied message body. Empty when the message that was forwarded carried only attachments."
|
|
84
|
+
},
|
|
85
|
+
"facets": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"items": {
|
|
88
|
+
"type": "ref",
|
|
89
|
+
"ref": "social.colibri.beta.richtext.facet",
|
|
90
|
+
"description": "An annotation."
|
|
91
|
+
},
|
|
92
|
+
"description": "The copied annotations. A mention here does not notify anyone, because the AppView reads only a message's own facets."
|
|
93
|
+
},
|
|
94
|
+
"attachments": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"items": {
|
|
97
|
+
"type": "ref",
|
|
98
|
+
"ref": "#attachment",
|
|
99
|
+
"description": "A copied file."
|
|
100
|
+
},
|
|
101
|
+
"description": "The copied files, re-uploaded into the forwarding author's own repo so the forward stands on its own."
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
60
105
|
"attachment": {
|
|
61
106
|
"type": "object",
|
|
62
107
|
"description": "A file attached to a message.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"defs": {
|
|
5
5
|
"main": {
|
|
6
6
|
"type": "procedure",
|
|
7
|
-
"description": "Moves messages
|
|
7
|
+
"description": "Moves messages into another thread or channel. A message lives in its author's own repo and cannot be rewritten by a moderator, so the move is a `moved` label written into the source space for each message. The destination serves each moved message at its own record key, so a selection keeps the order it was written in and reads among the destination's own messages by send time. The AppView withholds a moved message from the space it came from.",
|
|
8
8
|
"input": {
|
|
9
9
|
"encoding": "application/json",
|
|
10
10
|
"schema": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"batch": {
|
|
50
50
|
"type": "string",
|
|
51
51
|
"format": "tid",
|
|
52
|
-
"description": "The batch key shared by every label this call wrote, which
|
|
52
|
+
"description": "The batch key shared by every label this call wrote, which groups the move for auditing."
|
|
53
53
|
},
|
|
54
54
|
"count": {
|
|
55
55
|
"type": "integer",
|