Update chat reaction lexicon ()

* Update chat reaction lexicon

* Changeset

* Update chat reaction lexicon
This commit is contained in:
rafael 2025-03-27 18:21:39 -03:00 committed by GitHub
parent ac6b604e7a
commit 9a05892f6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 27 additions and 27 deletions
.changeset
lexicons/chat/bsky/convo
packages
api/src/client
lexicons.ts
types/chat/bsky/convo
bsky/src/lexicon
lexicons.ts
types/chat/bsky/convo
ozone/src/lexicon
lexicons.ts
types/chat/bsky/convo
pds/src/lexicon
lexicons.ts
types/chat/bsky/convo

@ -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'