@atproto/bsky 0.0.127 → 0.0.129
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/CHANGELOG.md +16 -0
- package/dist/lexicon/index.d.ts +4 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +8 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +394 -4
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +216 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/addReaction.d.ts +43 -0
- package/dist/lexicon/types/chat/bsky/convo/addReaction.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/addReaction.js +7 -0
- package/dist/lexicon/types/chat/bsky/convo/addReaction.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +45 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.js +45 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/removeReaction.d.ts +43 -0
- package/dist/lexicon/types/chat/bsky/convo/removeReaction.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/removeReaction.js +7 -0
- package/dist/lexicon/types/chat/bsky/convo/removeReaction.js.map +1 -0
- package/package.json +4 -4
- package/src/lexicon/index.ts +24 -0
- package/src/lexicon/lexicons.ts +223 -0
- package/src/lexicon/types/chat/bsky/convo/addReaction.ts +63 -0
- package/src/lexicon/types/chat/bsky/convo/defs.ts +86 -0
- package/src/lexicon/types/chat/bsky/convo/getLog.ts +5 -0
- package/src/lexicon/types/chat/bsky/convo/removeReaction.ts +60 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -10112,6 +10112,65 @@ exports.schemaDict = {
|
|
|
10112
10112
|
},
|
|
10113
10113
|
},
|
|
10114
10114
|
},
|
|
10115
|
+
ChatBskyConvoAddReaction: {
|
|
10116
|
+
lexicon: 1,
|
|
10117
|
+
id: 'chat.bsky.convo.addReaction',
|
|
10118
|
+
defs: {
|
|
10119
|
+
main: {
|
|
10120
|
+
type: 'procedure',
|
|
10121
|
+
description: 'Adds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction.',
|
|
10122
|
+
input: {
|
|
10123
|
+
encoding: 'application/json',
|
|
10124
|
+
schema: {
|
|
10125
|
+
type: 'object',
|
|
10126
|
+
required: ['convoId', 'messageId', 'value'],
|
|
10127
|
+
properties: {
|
|
10128
|
+
convoId: {
|
|
10129
|
+
type: 'string',
|
|
10130
|
+
},
|
|
10131
|
+
messageId: {
|
|
10132
|
+
type: 'string',
|
|
10133
|
+
},
|
|
10134
|
+
value: {
|
|
10135
|
+
type: 'string',
|
|
10136
|
+
minLength: 1,
|
|
10137
|
+
maxLength: 32,
|
|
10138
|
+
minGraphemes: 1,
|
|
10139
|
+
maxGraphemes: 1,
|
|
10140
|
+
},
|
|
10141
|
+
},
|
|
10142
|
+
},
|
|
10143
|
+
},
|
|
10144
|
+
output: {
|
|
10145
|
+
encoding: 'application/json',
|
|
10146
|
+
schema: {
|
|
10147
|
+
type: 'object',
|
|
10148
|
+
required: ['message'],
|
|
10149
|
+
properties: {
|
|
10150
|
+
message: {
|
|
10151
|
+
type: 'ref',
|
|
10152
|
+
ref: 'lex:chat.bsky.convo.defs#messageView',
|
|
10153
|
+
},
|
|
10154
|
+
},
|
|
10155
|
+
},
|
|
10156
|
+
},
|
|
10157
|
+
errors: [
|
|
10158
|
+
{
|
|
10159
|
+
name: 'ReactionMessageDeleted',
|
|
10160
|
+
description: 'Indicates that the message has been deleted and reactions can no longer be added/removed.',
|
|
10161
|
+
},
|
|
10162
|
+
{
|
|
10163
|
+
name: 'ReactionLimitReached',
|
|
10164
|
+
description: "Indicates that the message has the maximum number of reactions allowed for a single user, and the requested reaction wasn't yet present. If it was already present, the request will not fail since it is idempotent.",
|
|
10165
|
+
},
|
|
10166
|
+
{
|
|
10167
|
+
name: 'ReactionInvalidValue',
|
|
10168
|
+
description: 'Indicates the value for the reaction is not acceptable. In general, this means it is not an emoji.',
|
|
10169
|
+
},
|
|
10170
|
+
],
|
|
10171
|
+
},
|
|
10172
|
+
},
|
|
10173
|
+
},
|
|
10115
10174
|
ChatBskyConvoDefs: {
|
|
10116
10175
|
lexicon: 1,
|
|
10117
10176
|
id: 'chat.bsky.convo.defs',
|
|
@@ -10182,6 +10241,13 @@ exports.schemaDict = {
|
|
|
10182
10241
|
type: 'union',
|
|
10183
10242
|
refs: ['lex:app.bsky.embed.record#view'],
|
|
10184
10243
|
},
|
|
10244
|
+
reactions: {
|
|
10245
|
+
type: 'array',
|
|
10246
|
+
items: {
|
|
10247
|
+
type: 'ref',
|
|
10248
|
+
ref: 'lex:chat.bsky.convo.defs#reactionView',
|
|
10249
|
+
},
|
|
10250
|
+
},
|
|
10185
10251
|
sender: {
|
|
10186
10252
|
type: 'ref',
|
|
10187
10253
|
ref: 'lex:chat.bsky.convo.defs#messageViewSender',
|
|
@@ -10222,6 +10288,47 @@ exports.schemaDict = {
|
|
|
10222
10288
|
},
|
|
10223
10289
|
},
|
|
10224
10290
|
},
|
|
10291
|
+
reactionView: {
|
|
10292
|
+
type: 'object',
|
|
10293
|
+
required: ['value', 'sender', 'createdAt'],
|
|
10294
|
+
properties: {
|
|
10295
|
+
value: {
|
|
10296
|
+
type: 'string',
|
|
10297
|
+
},
|
|
10298
|
+
sender: {
|
|
10299
|
+
type: 'ref',
|
|
10300
|
+
ref: 'lex:chat.bsky.convo.defs#reactionViewSender',
|
|
10301
|
+
},
|
|
10302
|
+
createdAt: {
|
|
10303
|
+
type: 'string',
|
|
10304
|
+
format: 'datetime',
|
|
10305
|
+
},
|
|
10306
|
+
},
|
|
10307
|
+
},
|
|
10308
|
+
reactionViewSender: {
|
|
10309
|
+
type: 'object',
|
|
10310
|
+
required: ['did'],
|
|
10311
|
+
properties: {
|
|
10312
|
+
did: {
|
|
10313
|
+
type: 'string',
|
|
10314
|
+
format: 'did',
|
|
10315
|
+
},
|
|
10316
|
+
},
|
|
10317
|
+
},
|
|
10318
|
+
messageAndReactionView: {
|
|
10319
|
+
type: 'object',
|
|
10320
|
+
required: ['message', 'reaction'],
|
|
10321
|
+
properties: {
|
|
10322
|
+
message: {
|
|
10323
|
+
type: 'ref',
|
|
10324
|
+
ref: 'lex:chat.bsky.convo.defs#messageView',
|
|
10325
|
+
},
|
|
10326
|
+
reaction: {
|
|
10327
|
+
type: 'ref',
|
|
10328
|
+
ref: 'lex:chat.bsky.convo.defs#reactionView',
|
|
10329
|
+
},
|
|
10330
|
+
},
|
|
10331
|
+
},
|
|
10225
10332
|
convoView: {
|
|
10226
10333
|
type: 'object',
|
|
10227
10334
|
required: ['id', 'rev', 'members', 'muted', 'unreadCount'],
|
|
@@ -10244,6 +10351,7 @@ exports.schemaDict = {
|
|
|
10244
10351
|
refs: [
|
|
10245
10352
|
'lex:chat.bsky.convo.defs#messageView',
|
|
10246
10353
|
'lex:chat.bsky.convo.defs#deletedMessageView',
|
|
10354
|
+
'lex:chat.bsky.convo.defs#messageAndReactionView',
|
|
10247
10355
|
],
|
|
10248
10356
|
},
|
|
10249
10357
|
muted: {
|
|
@@ -10375,6 +10483,52 @@ exports.schemaDict = {
|
|
|
10375
10483
|
},
|
|
10376
10484
|
},
|
|
10377
10485
|
},
|
|
10486
|
+
logAddReaction: {
|
|
10487
|
+
type: 'object',
|
|
10488
|
+
required: ['rev', 'convoId', 'message', 'reaction'],
|
|
10489
|
+
properties: {
|
|
10490
|
+
rev: {
|
|
10491
|
+
type: 'string',
|
|
10492
|
+
},
|
|
10493
|
+
convoId: {
|
|
10494
|
+
type: 'string',
|
|
10495
|
+
},
|
|
10496
|
+
message: {
|
|
10497
|
+
type: 'union',
|
|
10498
|
+
refs: [
|
|
10499
|
+
'lex:chat.bsky.convo.defs#messageView',
|
|
10500
|
+
'lex:chat.bsky.convo.defs#deletedMessageView',
|
|
10501
|
+
],
|
|
10502
|
+
},
|
|
10503
|
+
reaction: {
|
|
10504
|
+
type: 'ref',
|
|
10505
|
+
ref: 'lex:chat.bsky.convo.defs#reactionView',
|
|
10506
|
+
},
|
|
10507
|
+
},
|
|
10508
|
+
},
|
|
10509
|
+
logRemoveReaction: {
|
|
10510
|
+
type: 'object',
|
|
10511
|
+
required: ['rev', 'convoId', 'message', 'reaction'],
|
|
10512
|
+
properties: {
|
|
10513
|
+
rev: {
|
|
10514
|
+
type: 'string',
|
|
10515
|
+
},
|
|
10516
|
+
convoId: {
|
|
10517
|
+
type: 'string',
|
|
10518
|
+
},
|
|
10519
|
+
message: {
|
|
10520
|
+
type: 'union',
|
|
10521
|
+
refs: [
|
|
10522
|
+
'lex:chat.bsky.convo.defs#messageView',
|
|
10523
|
+
'lex:chat.bsky.convo.defs#deletedMessageView',
|
|
10524
|
+
],
|
|
10525
|
+
},
|
|
10526
|
+
reaction: {
|
|
10527
|
+
type: 'ref',
|
|
10528
|
+
ref: 'lex:chat.bsky.convo.defs#reactionView',
|
|
10529
|
+
},
|
|
10530
|
+
},
|
|
10531
|
+
},
|
|
10378
10532
|
},
|
|
10379
10533
|
},
|
|
10380
10534
|
ChatBskyConvoDeleteMessageForSelf: {
|
|
@@ -10549,8 +10703,13 @@ exports.schemaDict = {
|
|
|
10549
10703
|
'lex:chat.bsky.convo.defs#logBeginConvo',
|
|
10550
10704
|
'lex:chat.bsky.convo.defs#logAcceptConvo',
|
|
10551
10705
|
'lex:chat.bsky.convo.defs#logLeaveConvo',
|
|
10706
|
+
'lex:chat.bsky.convo.defs#logMuteConvo',
|
|
10707
|
+
'lex:chat.bsky.convo.defs#logUnmuteConvo',
|
|
10552
10708
|
'lex:chat.bsky.convo.defs#logCreateMessage',
|
|
10553
10709
|
'lex:chat.bsky.convo.defs#logDeleteMessage',
|
|
10710
|
+
'lex:chat.bsky.convo.defs#logReadMessage',
|
|
10711
|
+
'lex:chat.bsky.convo.defs#logAddReaction',
|
|
10712
|
+
'lex:chat.bsky.convo.defs#logRemoveReaction',
|
|
10554
10713
|
],
|
|
10555
10714
|
},
|
|
10556
10715
|
},
|
|
@@ -10729,6 +10888,61 @@ exports.schemaDict = {
|
|
|
10729
10888
|
},
|
|
10730
10889
|
},
|
|
10731
10890
|
},
|
|
10891
|
+
ChatBskyConvoRemoveReaction: {
|
|
10892
|
+
lexicon: 1,
|
|
10893
|
+
id: 'chat.bsky.convo.removeReaction',
|
|
10894
|
+
defs: {
|
|
10895
|
+
main: {
|
|
10896
|
+
type: 'procedure',
|
|
10897
|
+
description: "Removes an emoji reaction from a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in that reaction not being present, even if it already wasn't.",
|
|
10898
|
+
input: {
|
|
10899
|
+
encoding: 'application/json',
|
|
10900
|
+
schema: {
|
|
10901
|
+
type: 'object',
|
|
10902
|
+
required: ['convoId', 'messageId', 'value'],
|
|
10903
|
+
properties: {
|
|
10904
|
+
convoId: {
|
|
10905
|
+
type: 'string',
|
|
10906
|
+
},
|
|
10907
|
+
messageId: {
|
|
10908
|
+
type: 'string',
|
|
10909
|
+
},
|
|
10910
|
+
value: {
|
|
10911
|
+
type: 'string',
|
|
10912
|
+
minLength: 1,
|
|
10913
|
+
maxLength: 32,
|
|
10914
|
+
minGraphemes: 1,
|
|
10915
|
+
maxGraphemes: 1,
|
|
10916
|
+
},
|
|
10917
|
+
},
|
|
10918
|
+
},
|
|
10919
|
+
},
|
|
10920
|
+
output: {
|
|
10921
|
+
encoding: 'application/json',
|
|
10922
|
+
schema: {
|
|
10923
|
+
type: 'object',
|
|
10924
|
+
required: ['message'],
|
|
10925
|
+
properties: {
|
|
10926
|
+
message: {
|
|
10927
|
+
type: 'ref',
|
|
10928
|
+
ref: 'lex:chat.bsky.convo.defs#messageView',
|
|
10929
|
+
},
|
|
10930
|
+
},
|
|
10931
|
+
},
|
|
10932
|
+
},
|
|
10933
|
+
errors: [
|
|
10934
|
+
{
|
|
10935
|
+
name: 'ReactionMessageDeleted',
|
|
10936
|
+
description: 'Indicates that the message has been deleted and reactions can no longer be added/removed.',
|
|
10937
|
+
},
|
|
10938
|
+
{
|
|
10939
|
+
name: 'ReactionInvalidValue',
|
|
10940
|
+
description: 'Indicates the value for the reaction is not acceptable. In general, this means it is not an emoji.',
|
|
10941
|
+
},
|
|
10942
|
+
],
|
|
10943
|
+
},
|
|
10944
|
+
},
|
|
10945
|
+
},
|
|
10732
10946
|
ChatBskyConvoSendMessage: {
|
|
10733
10947
|
lexicon: 1,
|
|
10734
10948
|
id: 'chat.bsky.convo.sendMessage',
|
|
@@ -11255,6 +11469,7 @@ exports.ids = {
|
|
|
11255
11469
|
ChatBskyActorDeleteAccount: 'chat.bsky.actor.deleteAccount',
|
|
11256
11470
|
ChatBskyActorExportAccountData: 'chat.bsky.actor.exportAccountData',
|
|
11257
11471
|
ChatBskyConvoAcceptConvo: 'chat.bsky.convo.acceptConvo',
|
|
11472
|
+
ChatBskyConvoAddReaction: 'chat.bsky.convo.addReaction',
|
|
11258
11473
|
ChatBskyConvoDefs: 'chat.bsky.convo.defs',
|
|
11259
11474
|
ChatBskyConvoDeleteMessageForSelf: 'chat.bsky.convo.deleteMessageForSelf',
|
|
11260
11475
|
ChatBskyConvoGetConvo: 'chat.bsky.convo.getConvo',
|
|
@@ -11265,6 +11480,7 @@ exports.ids = {
|
|
|
11265
11480
|
ChatBskyConvoLeaveConvo: 'chat.bsky.convo.leaveConvo',
|
|
11266
11481
|
ChatBskyConvoListConvos: 'chat.bsky.convo.listConvos',
|
|
11267
11482
|
ChatBskyConvoMuteConvo: 'chat.bsky.convo.muteConvo',
|
|
11483
|
+
ChatBskyConvoRemoveReaction: 'chat.bsky.convo.removeReaction',
|
|
11268
11484
|
ChatBskyConvoSendMessage: 'chat.bsky.convo.sendMessage',
|
|
11269
11485
|
ChatBskyConvoSendMessageBatch: 'chat.bsky.convo.sendMessageBatch',
|
|
11270
11486
|
ChatBskyConvoUnmuteConvo: 'chat.bsky.convo.unmuteConvo',
|