Update chat reaction lexicon (#3685)
* Update chat reaction lexicon * Changeset * Update chat reaction lexicon
This commit is contained in:
parent
ac6b604e7a
commit
9a05892f6f
.changeset
lexicons/chat/bsky/convo
packages
api/src/client
bsky/src/lexicon
ozone/src/lexicon
pds/src/lexicon
8
.changeset/short-bottles-serve.md
Normal file
8
.changeset/short-bottles-serve.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
"@atproto/ozone": patch
|
||||
"@atproto/bsky": patch
|
||||
"@atproto/api": patch
|
||||
"@atproto/pds": patch
|
||||
---
|
||||
|
||||
Update chat reaction lexicon
|
@ -53,6 +53,7 @@
|
||||
},
|
||||
"reactions": {
|
||||
"type": "array",
|
||||
"description": "Reactions to this message, in ascending order of creation time.",
|
||||
"items": { "type": "ref", "ref": "#reactionView" }
|
||||
},
|
||||
"sender": { "type": "ref", "ref": "#messageViewSender" },
|
||||
@ -78,11 +79,10 @@
|
||||
},
|
||||
"reactionView": {
|
||||
"type": "object",
|
||||
"required": ["value", "sender", "createdAt"],
|
||||
"required": ["value", "sender"],
|
||||
"properties": {
|
||||
"value": { "type": "string" },
|
||||
"sender": { "type": "ref", "ref": "#reactionViewSender" },
|
||||
"createdAt": { "type": "string", "format": "datetime" }
|
||||
"sender": { "type": "ref", "ref": "#reactionViewSender" }
|
||||
}
|
||||
},
|
||||
"reactionViewSender": {
|
||||
|
@ -10593,6 +10593,8 @@ export const schemaDict = {
|
||||
},
|
||||
reactions: {
|
||||
type: 'array',
|
||||
description:
|
||||
'Reactions to this message, in ascending order of creation time.',
|
||||
items: {
|
||||
type: 'ref',
|
||||
ref: 'lex:chat.bsky.convo.defs#reactionView',
|
||||
@ -10640,7 +10642,7 @@ export const schemaDict = {
|
||||
},
|
||||
reactionView: {
|
||||
type: 'object',
|
||||
required: ['value', 'sender', 'createdAt'],
|
||||
required: ['value', 'sender'],
|
||||
properties: {
|
||||
value: {
|
||||
type: 'string',
|
||||
@ -10649,10 +10651,6 @@ export const schemaDict = {
|
||||
type: 'ref',
|
||||
ref: 'lex:chat.bsky.convo.defs#reactionViewSender',
|
||||
},
|
||||
createdAt: {
|
||||
type: 'string',
|
||||
format: 'datetime',
|
||||
},
|
||||
},
|
||||
},
|
||||
reactionViewSender: {
|
||||
|
@ -60,6 +60,7 @@ export interface MessageView {
|
||||
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
||||
facets?: AppBskyRichtextFacet.Main[]
|
||||
embed?: $Typed<AppBskyEmbedRecord.View> | { $type: string }
|
||||
/** Reactions to this message, in ascending order of creation time. */
|
||||
reactions?: ReactionView[]
|
||||
sender: MessageViewSender
|
||||
sentAt: string
|
||||
@ -112,7 +113,6 @@ export interface ReactionView {
|
||||
$type?: 'chat.bsky.convo.defs#reactionView'
|
||||
value: string
|
||||
sender: ReactionViewSender
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
const hashReactionView = 'reactionView'
|
||||
|
@ -10593,6 +10593,8 @@ export const schemaDict = {
|
||||
},
|
||||
reactions: {
|
||||
type: 'array',
|
||||
description:
|
||||
'Reactions to this message, in ascending order of creation time.',
|
||||
items: {
|
||||
type: 'ref',
|
||||
ref: 'lex:chat.bsky.convo.defs#reactionView',
|
||||
@ -10640,7 +10642,7 @@ export const schemaDict = {
|
||||
},
|
||||
reactionView: {
|
||||
type: 'object',
|
||||
required: ['value', 'sender', 'createdAt'],
|
||||
required: ['value', 'sender'],
|
||||
properties: {
|
||||
value: {
|
||||
type: 'string',
|
||||
@ -10649,10 +10651,6 @@ export const schemaDict = {
|
||||
type: 'ref',
|
||||
ref: 'lex:chat.bsky.convo.defs#reactionViewSender',
|
||||
},
|
||||
createdAt: {
|
||||
type: 'string',
|
||||
format: 'datetime',
|
||||
},
|
||||
},
|
||||
},
|
||||
reactionViewSender: {
|
||||
|
@ -60,6 +60,7 @@ export interface MessageView {
|
||||
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
||||
facets?: AppBskyRichtextFacet.Main[]
|
||||
embed?: $Typed<AppBskyEmbedRecord.View> | { $type: string }
|
||||
/** Reactions to this message, in ascending order of creation time. */
|
||||
reactions?: ReactionView[]
|
||||
sender: MessageViewSender
|
||||
sentAt: string
|
||||
@ -112,7 +113,6 @@ export interface ReactionView {
|
||||
$type?: 'chat.bsky.convo.defs#reactionView'
|
||||
value: string
|
||||
sender: ReactionViewSender
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
const hashReactionView = 'reactionView'
|
||||
|
@ -10593,6 +10593,8 @@ export const schemaDict = {
|
||||
},
|
||||
reactions: {
|
||||
type: 'array',
|
||||
description:
|
||||
'Reactions to this message, in ascending order of creation time.',
|
||||
items: {
|
||||
type: 'ref',
|
||||
ref: 'lex:chat.bsky.convo.defs#reactionView',
|
||||
@ -10640,7 +10642,7 @@ export const schemaDict = {
|
||||
},
|
||||
reactionView: {
|
||||
type: 'object',
|
||||
required: ['value', 'sender', 'createdAt'],
|
||||
required: ['value', 'sender'],
|
||||
properties: {
|
||||
value: {
|
||||
type: 'string',
|
||||
@ -10649,10 +10651,6 @@ export const schemaDict = {
|
||||
type: 'ref',
|
||||
ref: 'lex:chat.bsky.convo.defs#reactionViewSender',
|
||||
},
|
||||
createdAt: {
|
||||
type: 'string',
|
||||
format: 'datetime',
|
||||
},
|
||||
},
|
||||
},
|
||||
reactionViewSender: {
|
||||
|
@ -60,6 +60,7 @@ export interface MessageView {
|
||||
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
||||
facets?: AppBskyRichtextFacet.Main[]
|
||||
embed?: $Typed<AppBskyEmbedRecord.View> | { $type: string }
|
||||
/** Reactions to this message, in ascending order of creation time. */
|
||||
reactions?: ReactionView[]
|
||||
sender: MessageViewSender
|
||||
sentAt: string
|
||||
@ -112,7 +113,6 @@ export interface ReactionView {
|
||||
$type?: 'chat.bsky.convo.defs#reactionView'
|
||||
value: string
|
||||
sender: ReactionViewSender
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
const hashReactionView = 'reactionView'
|
||||
|
@ -10593,6 +10593,8 @@ export const schemaDict = {
|
||||
},
|
||||
reactions: {
|
||||
type: 'array',
|
||||
description:
|
||||
'Reactions to this message, in ascending order of creation time.',
|
||||
items: {
|
||||
type: 'ref',
|
||||
ref: 'lex:chat.bsky.convo.defs#reactionView',
|
||||
@ -10640,7 +10642,7 @@ export const schemaDict = {
|
||||
},
|
||||
reactionView: {
|
||||
type: 'object',
|
||||
required: ['value', 'sender', 'createdAt'],
|
||||
required: ['value', 'sender'],
|
||||
properties: {
|
||||
value: {
|
||||
type: 'string',
|
||||
@ -10649,10 +10651,6 @@ export const schemaDict = {
|
||||
type: 'ref',
|
||||
ref: 'lex:chat.bsky.convo.defs#reactionViewSender',
|
||||
},
|
||||
createdAt: {
|
||||
type: 'string',
|
||||
format: 'datetime',
|
||||
},
|
||||
},
|
||||
},
|
||||
reactionViewSender: {
|
||||
|
@ -60,6 +60,7 @@ export interface MessageView {
|
||||
/** Annotations of text (mentions, URLs, hashtags, etc) */
|
||||
facets?: AppBskyRichtextFacet.Main[]
|
||||
embed?: $Typed<AppBskyEmbedRecord.View> | { $type: string }
|
||||
/** Reactions to this message, in ascending order of creation time. */
|
||||
reactions?: ReactionView[]
|
||||
sender: MessageViewSender
|
||||
sentAt: string
|
||||
@ -112,7 +113,6 @@ export interface ReactionView {
|
||||
$type?: 'chat.bsky.convo.defs#reactionView'
|
||||
value: string
|
||||
sender: ReactionViewSender
|
||||
createdAt: string
|
||||
}
|
||||
|
||||
const hashReactionView = 'reactionView'
|
||||
|
Loading…
x
Reference in New Issue
Block a user