@atproto/api 0.20.17 → 0.20.18
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 +8 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +9 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +568 -134
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +287 -67
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/feed/searchPostsV2.d.ts +88 -0
- package/dist/client/types/app/bsky/feed/searchPostsV2.d.ts.map +1 -0
- package/dist/client/types/app/bsky/feed/searchPostsV2.js +21 -0
- package/dist/client/types/app/bsky/feed/searchPostsV2.js.map +1 -0
- package/dist/client/types/chat/bsky/actor/declaration.d.ts +1 -1
- package/dist/client/types/chat/bsky/actor/declaration.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/actor/declaration.js.map +1 -1
- package/dist/client/types/chat/bsky/actor/defs.d.ts +2 -3
- package/dist/client/types/chat/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +32 -35
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/defs.d.ts +3 -3
- package/dist/client/types/chat/bsky/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/defs.js.map +1 -1
- package/package.json +3 -3
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/client/lexicons.js
CHANGED
|
@@ -5061,6 +5061,230 @@ export const schemaDict = {
|
|
|
5061
5061
|
},
|
|
5062
5062
|
},
|
|
5063
5063
|
},
|
|
5064
|
+
AppBskyFeedSearchPostsV2: {
|
|
5065
|
+
lexicon: 1,
|
|
5066
|
+
id: 'app.bsky.feed.searchPostsV2',
|
|
5067
|
+
defs: {
|
|
5068
|
+
main: {
|
|
5069
|
+
type: 'query',
|
|
5070
|
+
description: 'Find posts matching a search query or filters, returning search hits for matching post records.',
|
|
5071
|
+
parameters: {
|
|
5072
|
+
type: 'params',
|
|
5073
|
+
required: ['sort'],
|
|
5074
|
+
properties: {
|
|
5075
|
+
cursor: {
|
|
5076
|
+
type: 'string',
|
|
5077
|
+
description: 'Optional pagination cursor.',
|
|
5078
|
+
},
|
|
5079
|
+
limit: {
|
|
5080
|
+
type: 'integer',
|
|
5081
|
+
minimum: 1,
|
|
5082
|
+
maximum: 100,
|
|
5083
|
+
default: 25,
|
|
5084
|
+
description: 'Maximum number of results to return.',
|
|
5085
|
+
},
|
|
5086
|
+
query: {
|
|
5087
|
+
type: 'string',
|
|
5088
|
+
description: 'Search query string. A query or at least one filter is required.',
|
|
5089
|
+
},
|
|
5090
|
+
sort: {
|
|
5091
|
+
type: 'string',
|
|
5092
|
+
knownValues: ['recent', 'top'],
|
|
5093
|
+
description: "Ranking order for results. 'recent' sorts by recency; 'top' uses search ranking.",
|
|
5094
|
+
},
|
|
5095
|
+
authors: {
|
|
5096
|
+
type: 'array',
|
|
5097
|
+
items: {
|
|
5098
|
+
type: 'string',
|
|
5099
|
+
format: 'at-identifier',
|
|
5100
|
+
},
|
|
5101
|
+
description: 'Include posts by any of these authors. Handles are resolved to DIDs before searching.',
|
|
5102
|
+
},
|
|
5103
|
+
mentions: {
|
|
5104
|
+
type: 'array',
|
|
5105
|
+
items: {
|
|
5106
|
+
type: 'string',
|
|
5107
|
+
format: 'at-identifier',
|
|
5108
|
+
},
|
|
5109
|
+
description: 'Include posts that mention any of these accounts. Handles are resolved to DIDs before searching.',
|
|
5110
|
+
},
|
|
5111
|
+
domains: {
|
|
5112
|
+
type: 'array',
|
|
5113
|
+
items: {
|
|
5114
|
+
type: 'string',
|
|
5115
|
+
},
|
|
5116
|
+
description: 'Include posts that link to any of these domains.',
|
|
5117
|
+
},
|
|
5118
|
+
urls: {
|
|
5119
|
+
type: 'array',
|
|
5120
|
+
items: {
|
|
5121
|
+
type: 'string',
|
|
5122
|
+
format: 'uri',
|
|
5123
|
+
},
|
|
5124
|
+
description: 'Include posts that link to any of these URLs.',
|
|
5125
|
+
},
|
|
5126
|
+
embeddedAtUris: {
|
|
5127
|
+
type: 'array',
|
|
5128
|
+
items: {
|
|
5129
|
+
type: 'string',
|
|
5130
|
+
format: 'at-uri',
|
|
5131
|
+
},
|
|
5132
|
+
description: 'Include posts that embed any of these AT URIs.',
|
|
5133
|
+
},
|
|
5134
|
+
hashtags: {
|
|
5135
|
+
type: 'array',
|
|
5136
|
+
items: {
|
|
5137
|
+
type: 'string',
|
|
5138
|
+
maxLength: 640,
|
|
5139
|
+
maxGraphemes: 64,
|
|
5140
|
+
},
|
|
5141
|
+
description: 'Include posts tagged with any of these hashtags. Do not include the hash (#) prefix.',
|
|
5142
|
+
},
|
|
5143
|
+
excludeAuthors: {
|
|
5144
|
+
type: 'array',
|
|
5145
|
+
items: {
|
|
5146
|
+
type: 'string',
|
|
5147
|
+
format: 'at-identifier',
|
|
5148
|
+
},
|
|
5149
|
+
description: 'Exclude posts by any of these authors. Handles are resolved to DIDs before searching.',
|
|
5150
|
+
},
|
|
5151
|
+
excludeMentions: {
|
|
5152
|
+
type: 'array',
|
|
5153
|
+
items: {
|
|
5154
|
+
type: 'string',
|
|
5155
|
+
format: 'at-identifier',
|
|
5156
|
+
},
|
|
5157
|
+
description: 'Exclude posts that mention any of these accounts. Handles are resolved to DIDs before searching.',
|
|
5158
|
+
},
|
|
5159
|
+
excludeDomains: {
|
|
5160
|
+
type: 'array',
|
|
5161
|
+
items: {
|
|
5162
|
+
type: 'string',
|
|
5163
|
+
},
|
|
5164
|
+
description: 'Exclude posts that link to any of these domains.',
|
|
5165
|
+
},
|
|
5166
|
+
excludeUrls: {
|
|
5167
|
+
type: 'array',
|
|
5168
|
+
items: {
|
|
5169
|
+
type: 'string',
|
|
5170
|
+
format: 'uri',
|
|
5171
|
+
},
|
|
5172
|
+
description: 'Exclude posts that link to any of these URLs.',
|
|
5173
|
+
},
|
|
5174
|
+
excludeEmbeddedAtUris: {
|
|
5175
|
+
type: 'array',
|
|
5176
|
+
items: {
|
|
5177
|
+
type: 'string',
|
|
5178
|
+
format: 'at-uri',
|
|
5179
|
+
},
|
|
5180
|
+
description: 'Exclude posts that embed any of these AT URIs.',
|
|
5181
|
+
},
|
|
5182
|
+
excludeHashtags: {
|
|
5183
|
+
type: 'array',
|
|
5184
|
+
items: {
|
|
5185
|
+
type: 'string',
|
|
5186
|
+
maxLength: 640,
|
|
5187
|
+
maxGraphemes: 64,
|
|
5188
|
+
},
|
|
5189
|
+
description: 'Exclude posts tagged with any of these hashtags. Do not include the hash (#) prefix.',
|
|
5190
|
+
},
|
|
5191
|
+
since: {
|
|
5192
|
+
type: 'string',
|
|
5193
|
+
format: 'datetime',
|
|
5194
|
+
description: 'Include posts indexed at or after this timestamp.',
|
|
5195
|
+
},
|
|
5196
|
+
until: {
|
|
5197
|
+
type: 'string',
|
|
5198
|
+
format: 'datetime',
|
|
5199
|
+
description: 'Include posts indexed before this timestamp. Defaults to the current time.',
|
|
5200
|
+
},
|
|
5201
|
+
allTime: {
|
|
5202
|
+
type: 'boolean',
|
|
5203
|
+
description: 'Search the full index instead of the recent-post window.',
|
|
5204
|
+
},
|
|
5205
|
+
language: {
|
|
5206
|
+
type: 'string',
|
|
5207
|
+
format: 'language',
|
|
5208
|
+
description: 'Include posts whose language matches this language code.',
|
|
5209
|
+
},
|
|
5210
|
+
hasMedia: {
|
|
5211
|
+
type: 'boolean',
|
|
5212
|
+
description: 'Include only posts with media.',
|
|
5213
|
+
},
|
|
5214
|
+
hasVideo: {
|
|
5215
|
+
type: 'boolean',
|
|
5216
|
+
description: 'Include only posts with video.',
|
|
5217
|
+
},
|
|
5218
|
+
replyParentUri: {
|
|
5219
|
+
type: 'string',
|
|
5220
|
+
format: 'at-uri',
|
|
5221
|
+
description: 'Include only direct replies to this parent post URI.',
|
|
5222
|
+
},
|
|
5223
|
+
threadRootUri: {
|
|
5224
|
+
type: 'string',
|
|
5225
|
+
format: 'at-uri',
|
|
5226
|
+
description: 'Include only posts in the thread rooted at this post URI.',
|
|
5227
|
+
},
|
|
5228
|
+
excludeReplies: {
|
|
5229
|
+
type: 'boolean',
|
|
5230
|
+
description: 'Exclude replies from results. Mutually exclusive with repliesOnly.',
|
|
5231
|
+
},
|
|
5232
|
+
repliesOnly: {
|
|
5233
|
+
type: 'boolean',
|
|
5234
|
+
description: 'Include only replies. Mutually exclusive with excludeReplies.',
|
|
5235
|
+
},
|
|
5236
|
+
following: {
|
|
5237
|
+
type: 'boolean',
|
|
5238
|
+
description: 'Include only posts from accounts followed by the viewer.',
|
|
5239
|
+
},
|
|
5240
|
+
queryLanguage: {
|
|
5241
|
+
type: 'string',
|
|
5242
|
+
knownValues: ['ja', 'zh', 'ko', 'th', 'ar'],
|
|
5243
|
+
description: 'Language analyzer hint for the query text. If unset, the server auto-detects when possible.',
|
|
5244
|
+
},
|
|
5245
|
+
},
|
|
5246
|
+
},
|
|
5247
|
+
output: {
|
|
5248
|
+
encoding: 'application/json',
|
|
5249
|
+
schema: {
|
|
5250
|
+
type: 'object',
|
|
5251
|
+
required: ['posts'],
|
|
5252
|
+
properties: {
|
|
5253
|
+
cursor: {
|
|
5254
|
+
type: 'string',
|
|
5255
|
+
description: 'Cursor for the next page of results.',
|
|
5256
|
+
},
|
|
5257
|
+
hitsTotal: {
|
|
5258
|
+
type: 'integer',
|
|
5259
|
+
description: 'Estimated total number of matching hits. May be rounded or truncated.',
|
|
5260
|
+
},
|
|
5261
|
+
posts: {
|
|
5262
|
+
type: 'array',
|
|
5263
|
+
items: {
|
|
5264
|
+
type: 'ref',
|
|
5265
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
5266
|
+
},
|
|
5267
|
+
description: 'Hydrated views of matching posts.',
|
|
5268
|
+
},
|
|
5269
|
+
detectedQueryLanguages: {
|
|
5270
|
+
type: 'array',
|
|
5271
|
+
items: {
|
|
5272
|
+
type: 'string',
|
|
5273
|
+
knownValues: ['ja', 'zh', 'ko', 'th', 'ar'],
|
|
5274
|
+
},
|
|
5275
|
+
description: 'Query languages detected for CJK, Thai, or Arabic text. Empty or omitted for other scripts.',
|
|
5276
|
+
},
|
|
5277
|
+
},
|
|
5278
|
+
},
|
|
5279
|
+
},
|
|
5280
|
+
errors: [
|
|
5281
|
+
{
|
|
5282
|
+
name: 'BadQueryString',
|
|
5283
|
+
},
|
|
5284
|
+
],
|
|
5285
|
+
},
|
|
5286
|
+
},
|
|
5287
|
+
},
|
|
5064
5288
|
AppBskyFeedSendInteractions: {
|
|
5065
5289
|
lexicon: 1,
|
|
5066
5290
|
id: 'app.bsky.feed.sendInteractions',
|
|
@@ -9623,7 +9847,7 @@ export const schemaDict = {
|
|
|
9623
9847
|
knownValues: ['all', 'none', 'following'],
|
|
9624
9848
|
},
|
|
9625
9849
|
allowGroupInvites: {
|
|
9626
|
-
description: '
|
|
9850
|
+
description: 'Declaration about group chat invitation preferences for the record owner.',
|
|
9627
9851
|
type: 'string',
|
|
9628
9852
|
knownValues: ['all', 'none', 'following'],
|
|
9629
9853
|
},
|
|
@@ -9700,12 +9924,11 @@ export const schemaDict = {
|
|
|
9700
9924
|
},
|
|
9701
9925
|
},
|
|
9702
9926
|
directConvoMember: {
|
|
9703
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
9704
9927
|
type: 'object',
|
|
9705
9928
|
properties: {},
|
|
9706
9929
|
},
|
|
9707
9930
|
groupConvoMember: {
|
|
9708
|
-
description: '
|
|
9931
|
+
description: 'A current group convo member.',
|
|
9709
9932
|
type: 'object',
|
|
9710
9933
|
required: ['role'],
|
|
9711
9934
|
properties: {
|
|
@@ -9722,7 +9945,7 @@ export const schemaDict = {
|
|
|
9722
9945
|
},
|
|
9723
9946
|
},
|
|
9724
9947
|
pastGroupConvoMember: {
|
|
9725
|
-
description: '
|
|
9948
|
+
description: 'A past group convo member.',
|
|
9726
9949
|
type: 'object',
|
|
9727
9950
|
required: [],
|
|
9728
9951
|
properties: {},
|
|
@@ -10043,7 +10266,6 @@ export const schemaDict = {
|
|
|
10043
10266
|
},
|
|
10044
10267
|
},
|
|
10045
10268
|
systemMessageView: {
|
|
10046
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
10047
10269
|
type: 'object',
|
|
10048
10270
|
required: ['id', 'rev', 'sentAt', 'data'],
|
|
10049
10271
|
properties: {
|
|
@@ -10077,7 +10299,7 @@ export const schemaDict = {
|
|
|
10077
10299
|
},
|
|
10078
10300
|
},
|
|
10079
10301
|
systemMessageDataAddMember: {
|
|
10080
|
-
description: '
|
|
10302
|
+
description: 'System message indicating a user was added to the group convo.',
|
|
10081
10303
|
type: 'object',
|
|
10082
10304
|
required: ['member', 'role', 'addedBy'],
|
|
10083
10305
|
properties: {
|
|
@@ -10098,7 +10320,7 @@ export const schemaDict = {
|
|
|
10098
10320
|
},
|
|
10099
10321
|
},
|
|
10100
10322
|
systemMessageDataRemoveMember: {
|
|
10101
|
-
description: '
|
|
10323
|
+
description: 'System message indicating a user was removed from the group convo.',
|
|
10102
10324
|
type: 'object',
|
|
10103
10325
|
required: ['member', 'removedBy'],
|
|
10104
10326
|
properties: {
|
|
@@ -10114,7 +10336,7 @@ export const schemaDict = {
|
|
|
10114
10336
|
},
|
|
10115
10337
|
},
|
|
10116
10338
|
systemMessageDataMemberJoin: {
|
|
10117
|
-
description: '
|
|
10339
|
+
description: 'System message indicating a user joined the group convo via join link.',
|
|
10118
10340
|
type: 'object',
|
|
10119
10341
|
required: ['member', 'role'],
|
|
10120
10342
|
properties: {
|
|
@@ -10136,7 +10358,7 @@ export const schemaDict = {
|
|
|
10136
10358
|
},
|
|
10137
10359
|
},
|
|
10138
10360
|
systemMessageDataMemberLeave: {
|
|
10139
|
-
description: '
|
|
10361
|
+
description: 'System message indicating a user voluntarily left the group convo.',
|
|
10140
10362
|
type: 'object',
|
|
10141
10363
|
required: ['member'],
|
|
10142
10364
|
properties: {
|
|
@@ -10148,7 +10370,7 @@ export const schemaDict = {
|
|
|
10148
10370
|
},
|
|
10149
10371
|
},
|
|
10150
10372
|
systemMessageDataLockConvo: {
|
|
10151
|
-
description: '
|
|
10373
|
+
description: 'System message indicating the group convo was locked.',
|
|
10152
10374
|
type: 'object',
|
|
10153
10375
|
required: ['lockedBy'],
|
|
10154
10376
|
properties: {
|
|
@@ -10160,7 +10382,7 @@ export const schemaDict = {
|
|
|
10160
10382
|
},
|
|
10161
10383
|
},
|
|
10162
10384
|
systemMessageDataUnlockConvo: {
|
|
10163
|
-
description: '
|
|
10385
|
+
description: 'System message indicating the group convo was unlocked.',
|
|
10164
10386
|
type: 'object',
|
|
10165
10387
|
required: ['unlockedBy'],
|
|
10166
10388
|
properties: {
|
|
@@ -10172,7 +10394,7 @@ export const schemaDict = {
|
|
|
10172
10394
|
},
|
|
10173
10395
|
},
|
|
10174
10396
|
systemMessageDataLockConvoPermanently: {
|
|
10175
|
-
description: '
|
|
10397
|
+
description: 'System message indicating the group convo was locked permanently.',
|
|
10176
10398
|
type: 'object',
|
|
10177
10399
|
required: ['lockedBy'],
|
|
10178
10400
|
properties: {
|
|
@@ -10184,7 +10406,7 @@ export const schemaDict = {
|
|
|
10184
10406
|
},
|
|
10185
10407
|
},
|
|
10186
10408
|
systemMessageDataEditGroup: {
|
|
10187
|
-
description: '
|
|
10409
|
+
description: 'System message indicating the group info was edited.',
|
|
10188
10410
|
type: 'object',
|
|
10189
10411
|
properties: {
|
|
10190
10412
|
oldName: {
|
|
@@ -10198,22 +10420,22 @@ export const schemaDict = {
|
|
|
10198
10420
|
},
|
|
10199
10421
|
},
|
|
10200
10422
|
systemMessageDataCreateJoinLink: {
|
|
10201
|
-
description: '
|
|
10423
|
+
description: 'System message indicating the group join link was created.',
|
|
10202
10424
|
type: 'object',
|
|
10203
10425
|
properties: {},
|
|
10204
10426
|
},
|
|
10205
10427
|
systemMessageDataEditJoinLink: {
|
|
10206
|
-
description: '
|
|
10428
|
+
description: 'System message indicating the group join link was edited.',
|
|
10207
10429
|
type: 'object',
|
|
10208
10430
|
properties: {},
|
|
10209
10431
|
},
|
|
10210
10432
|
systemMessageDataEnableJoinLink: {
|
|
10211
|
-
description: '
|
|
10433
|
+
description: 'System message indicating the group join link was enabled.',
|
|
10212
10434
|
type: 'object',
|
|
10213
10435
|
properties: {},
|
|
10214
10436
|
},
|
|
10215
10437
|
systemMessageDataDisableJoinLink: {
|
|
10216
|
-
description: '
|
|
10438
|
+
description: 'System message indicating the group join link was disabled.',
|
|
10217
10439
|
type: 'object',
|
|
10218
10440
|
properties: {},
|
|
10219
10441
|
},
|
|
@@ -10340,12 +10562,10 @@ export const schemaDict = {
|
|
|
10340
10562
|
},
|
|
10341
10563
|
},
|
|
10342
10564
|
directConvo: {
|
|
10343
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
10344
10565
|
type: 'object',
|
|
10345
10566
|
properties: {},
|
|
10346
10567
|
},
|
|
10347
10568
|
groupConvo: {
|
|
10348
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
10349
10569
|
type: 'object',
|
|
10350
10570
|
required: [
|
|
10351
10571
|
'createdAt',
|
|
@@ -10596,7 +10816,7 @@ export const schemaDict = {
|
|
|
10596
10816
|
},
|
|
10597
10817
|
},
|
|
10598
10818
|
logReadConvo: {
|
|
10599
|
-
description: '
|
|
10819
|
+
description: 'Event indicating a convo was read up to a certain message.',
|
|
10600
10820
|
type: 'object',
|
|
10601
10821
|
required: ['rev', 'convoId', 'message'],
|
|
10602
10822
|
properties: {
|
|
@@ -10617,7 +10837,7 @@ export const schemaDict = {
|
|
|
10617
10837
|
},
|
|
10618
10838
|
},
|
|
10619
10839
|
logAddMember: {
|
|
10620
|
-
description: '
|
|
10840
|
+
description: 'Event indicating a member was added to a group convo. The member who was added gets a logBeginConvo (to create the convo) but also a logAddMember (to show the system message as the first message the user sees).',
|
|
10621
10841
|
type: 'object',
|
|
10622
10842
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10623
10843
|
properties: {
|
|
@@ -10643,7 +10863,7 @@ export const schemaDict = {
|
|
|
10643
10863
|
},
|
|
10644
10864
|
},
|
|
10645
10865
|
logRemoveMember: {
|
|
10646
|
-
description: "
|
|
10866
|
+
description: "Event indicating a member was removed from a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logRemoveMember (because they already left, so can't see the system message).",
|
|
10647
10867
|
type: 'object',
|
|
10648
10868
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10649
10869
|
properties: {
|
|
@@ -10669,7 +10889,7 @@ export const schemaDict = {
|
|
|
10669
10889
|
},
|
|
10670
10890
|
},
|
|
10671
10891
|
logMemberJoin: {
|
|
10672
|
-
description: '
|
|
10892
|
+
description: 'Event indicating a member joined a group convo via join link. The member who was added gets a logBeginConvo (to create the convo) but also a logMemberJoin (to show the system message as the first message the user sees).',
|
|
10673
10893
|
type: 'object',
|
|
10674
10894
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10675
10895
|
properties: {
|
|
@@ -10695,7 +10915,7 @@ export const schemaDict = {
|
|
|
10695
10915
|
},
|
|
10696
10916
|
},
|
|
10697
10917
|
logMemberLeave: {
|
|
10698
|
-
description: "
|
|
10918
|
+
description: "Event indicating a member voluntarily left a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logMemberLeave (because they already left, so can't see the system message).",
|
|
10699
10919
|
type: 'object',
|
|
10700
10920
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10701
10921
|
properties: {
|
|
@@ -10721,7 +10941,7 @@ export const schemaDict = {
|
|
|
10721
10941
|
},
|
|
10722
10942
|
},
|
|
10723
10943
|
logLockConvo: {
|
|
10724
|
-
description: '
|
|
10944
|
+
description: 'Event indicating a group convo was locked.',
|
|
10725
10945
|
type: 'object',
|
|
10726
10946
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10727
10947
|
properties: {
|
|
@@ -10747,7 +10967,7 @@ export const schemaDict = {
|
|
|
10747
10967
|
},
|
|
10748
10968
|
},
|
|
10749
10969
|
logUnlockConvo: {
|
|
10750
|
-
description: '
|
|
10970
|
+
description: 'Event indicating a group convo was unlocked.',
|
|
10751
10971
|
type: 'object',
|
|
10752
10972
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10753
10973
|
properties: {
|
|
@@ -10773,7 +10993,7 @@ export const schemaDict = {
|
|
|
10773
10993
|
},
|
|
10774
10994
|
},
|
|
10775
10995
|
logLockConvoPermanently: {
|
|
10776
|
-
description: '
|
|
10996
|
+
description: 'Event indicating a group convo was locked permanently.',
|
|
10777
10997
|
type: 'object',
|
|
10778
10998
|
required: ['rev', 'convoId', 'message', 'relatedProfiles'],
|
|
10779
10999
|
properties: {
|
|
@@ -10799,7 +11019,7 @@ export const schemaDict = {
|
|
|
10799
11019
|
},
|
|
10800
11020
|
},
|
|
10801
11021
|
logEditGroup: {
|
|
10802
|
-
description: '
|
|
11022
|
+
description: 'Event indicating info about group convo was edited.',
|
|
10803
11023
|
type: 'object',
|
|
10804
11024
|
required: ['rev', 'convoId', 'message'],
|
|
10805
11025
|
properties: {
|
|
@@ -10817,7 +11037,7 @@ export const schemaDict = {
|
|
|
10817
11037
|
},
|
|
10818
11038
|
},
|
|
10819
11039
|
logCreateJoinLink: {
|
|
10820
|
-
description: '
|
|
11040
|
+
description: 'Event indicating a join link was created for a group convo.',
|
|
10821
11041
|
type: 'object',
|
|
10822
11042
|
required: ['rev', 'convoId', 'message'],
|
|
10823
11043
|
properties: {
|
|
@@ -10835,7 +11055,7 @@ export const schemaDict = {
|
|
|
10835
11055
|
},
|
|
10836
11056
|
},
|
|
10837
11057
|
logEditJoinLink: {
|
|
10838
|
-
description: '
|
|
11058
|
+
description: 'Event indicating a settings about a join link for a group convo were edited.',
|
|
10839
11059
|
type: 'object',
|
|
10840
11060
|
required: ['rev', 'convoId', 'message'],
|
|
10841
11061
|
properties: {
|
|
@@ -10853,7 +11073,7 @@ export const schemaDict = {
|
|
|
10853
11073
|
},
|
|
10854
11074
|
},
|
|
10855
11075
|
logEnableJoinLink: {
|
|
10856
|
-
description: '
|
|
11076
|
+
description: 'Event indicating a join link was enabled for a group convo.',
|
|
10857
11077
|
type: 'object',
|
|
10858
11078
|
required: ['rev', 'convoId', 'message'],
|
|
10859
11079
|
properties: {
|
|
@@ -10871,7 +11091,7 @@ export const schemaDict = {
|
|
|
10871
11091
|
},
|
|
10872
11092
|
},
|
|
10873
11093
|
logDisableJoinLink: {
|
|
10874
|
-
description: '
|
|
11094
|
+
description: 'Event indicating a join link was disabled for a group convo.',
|
|
10875
11095
|
type: 'object',
|
|
10876
11096
|
required: ['rev', 'convoId', 'message'],
|
|
10877
11097
|
properties: {
|
|
@@ -10889,7 +11109,7 @@ export const schemaDict = {
|
|
|
10889
11109
|
},
|
|
10890
11110
|
},
|
|
10891
11111
|
logIncomingJoinRequest: {
|
|
10892
|
-
description: '
|
|
11112
|
+
description: 'Event indicating a join request was made to a group the viewer owns. Only the owner gets this.',
|
|
10893
11113
|
type: 'object',
|
|
10894
11114
|
required: ['rev', 'convoId', 'member'],
|
|
10895
11115
|
properties: {
|
|
@@ -10907,7 +11127,7 @@ export const schemaDict = {
|
|
|
10907
11127
|
},
|
|
10908
11128
|
},
|
|
10909
11129
|
logApproveJoinRequest: {
|
|
10910
|
-
description: '
|
|
11130
|
+
description: 'Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo.',
|
|
10911
11131
|
type: 'object',
|
|
10912
11132
|
required: ['rev', 'convoId', 'member'],
|
|
10913
11133
|
properties: {
|
|
@@ -10925,7 +11145,7 @@ export const schemaDict = {
|
|
|
10925
11145
|
},
|
|
10926
11146
|
},
|
|
10927
11147
|
logRejectJoinRequest: {
|
|
10928
|
-
description: '
|
|
11148
|
+
description: 'Event indicating a join request was rejected by the viewer. Only the owner gets this.',
|
|
10929
11149
|
type: 'object',
|
|
10930
11150
|
required: ['rev', 'convoId', 'member'],
|
|
10931
11151
|
properties: {
|
|
@@ -10943,7 +11163,7 @@ export const schemaDict = {
|
|
|
10943
11163
|
},
|
|
10944
11164
|
},
|
|
10945
11165
|
logOutgoingJoinRequest: {
|
|
10946
|
-
description: '
|
|
11166
|
+
description: 'Event indicating a join request was made by the requester. Only requester actor gets this.',
|
|
10947
11167
|
type: 'object',
|
|
10948
11168
|
required: ['rev', 'convoId'],
|
|
10949
11169
|
properties: {
|
|
@@ -10956,7 +11176,7 @@ export const schemaDict = {
|
|
|
10956
11176
|
},
|
|
10957
11177
|
},
|
|
10958
11178
|
logWithdrawIncomingJoinRequest: {
|
|
10959
|
-
description: '
|
|
11179
|
+
description: 'Event indicating a prospective member withdrew their join request. Only the owner gets this.',
|
|
10960
11180
|
type: 'object',
|
|
10961
11181
|
required: ['rev', 'convoId', 'member'],
|
|
10962
11182
|
properties: {
|
|
@@ -10974,7 +11194,7 @@ export const schemaDict = {
|
|
|
10974
11194
|
},
|
|
10975
11195
|
},
|
|
10976
11196
|
logWithdrawOutgoingJoinRequest: {
|
|
10977
|
-
description: '
|
|
11197
|
+
description: 'Event indicating the viewer withdrew their own join request. Only requester actor gets this.',
|
|
10978
11198
|
type: 'object',
|
|
10979
11199
|
required: ['rev', 'convoId'],
|
|
10980
11200
|
properties: {
|
|
@@ -10987,7 +11207,7 @@ export const schemaDict = {
|
|
|
10987
11207
|
},
|
|
10988
11208
|
},
|
|
10989
11209
|
logReadJoinRequests: {
|
|
10990
|
-
description: '
|
|
11210
|
+
description: 'Event indicating the group owner marked join requests as read. Only the owner gets this.',
|
|
10991
11211
|
type: 'object',
|
|
10992
11212
|
required: ['rev', 'convoId'],
|
|
10993
11213
|
properties: {
|
|
@@ -11368,7 +11588,7 @@ export const schemaDict = {
|
|
|
11368
11588
|
defs: {
|
|
11369
11589
|
main: {
|
|
11370
11590
|
type: 'query',
|
|
11371
|
-
description: "
|
|
11591
|
+
description: "Returns unread conversation counts for conversations that are unlocked, not muted, split by convo status. Direct convos are excluded when a block relationship exists between the actor and the other member, or when the other member's account is deleted or deactivated. Group convos are considered unread if they have unread join request counts.",
|
|
11372
11592
|
parameters: {
|
|
11373
11593
|
type: 'params',
|
|
11374
11594
|
properties: {
|
|
@@ -11451,7 +11671,7 @@ export const schemaDict = {
|
|
|
11451
11671
|
defs: {
|
|
11452
11672
|
main: {
|
|
11453
11673
|
type: 'query',
|
|
11454
|
-
description: '
|
|
11674
|
+
description: 'Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests made by the user are returned as joinRequestConvoView.',
|
|
11455
11675
|
parameters: {
|
|
11456
11676
|
type: 'params',
|
|
11457
11677
|
properties: {
|
|
@@ -11559,7 +11779,7 @@ export const schemaDict = {
|
|
|
11559
11779
|
defs: {
|
|
11560
11780
|
main: {
|
|
11561
11781
|
type: 'procedure',
|
|
11562
|
-
description: '
|
|
11782
|
+
description: 'Locks a group convo so no more content (messages, reactions) can be added to it.',
|
|
11563
11783
|
errors: [
|
|
11564
11784
|
{
|
|
11565
11785
|
name: 'ConvoLocked',
|
|
@@ -11818,7 +12038,7 @@ export const schemaDict = {
|
|
|
11818
12038
|
defs: {
|
|
11819
12039
|
main: {
|
|
11820
12040
|
type: 'procedure',
|
|
11821
|
-
description: '
|
|
12041
|
+
description: 'Unlocks a group convo so it is able to receive new content.',
|
|
11822
12042
|
errors: [
|
|
11823
12043
|
{
|
|
11824
12044
|
name: 'InvalidConvo',
|
|
@@ -11979,7 +12199,7 @@ export const schemaDict = {
|
|
|
11979
12199
|
ChatBskyEmbedJoinLink: {
|
|
11980
12200
|
lexicon: 1,
|
|
11981
12201
|
id: 'chat.bsky.embed.joinLink',
|
|
11982
|
-
description: '
|
|
12202
|
+
description: 'A join link embedded in a chat message.',
|
|
11983
12203
|
defs: {
|
|
11984
12204
|
main: {
|
|
11985
12205
|
type: 'object',
|
|
@@ -12013,7 +12233,7 @@ export const schemaDict = {
|
|
|
12013
12233
|
defs: {
|
|
12014
12234
|
main: {
|
|
12015
12235
|
type: 'procedure',
|
|
12016
|
-
description: "
|
|
12236
|
+
description: "Adds members to a group. The members are added in 'request' status, so they have to accept it. This creates convo memberships.",
|
|
12017
12237
|
errors: [
|
|
12018
12238
|
{
|
|
12019
12239
|
name: 'AccountSuspended',
|
|
@@ -12095,7 +12315,7 @@ export const schemaDict = {
|
|
|
12095
12315
|
defs: {
|
|
12096
12316
|
main: {
|
|
12097
12317
|
type: 'procedure',
|
|
12098
|
-
description: '
|
|
12318
|
+
description: 'Approves a request to join a group (via join link) the user owns. Action taken by the group owner.',
|
|
12099
12319
|
errors: [
|
|
12100
12320
|
{
|
|
12101
12321
|
name: 'InvalidConvo',
|
|
@@ -12145,7 +12365,7 @@ export const schemaDict = {
|
|
|
12145
12365
|
defs: {
|
|
12146
12366
|
main: {
|
|
12147
12367
|
type: 'procedure',
|
|
12148
|
-
description: "
|
|
12368
|
+
description: "Creates a group convo, specifying the members to be added to it. Unlike getConvoForMembers, this isn't idempotent. It will create new groups even if the membership is identical to pre-existing groups. Will create 'request' membership for all members, except the owner who is 'accepted'.",
|
|
12149
12369
|
errors: [
|
|
12150
12370
|
{
|
|
12151
12371
|
name: 'AccountSuspended',
|
|
@@ -12214,7 +12434,7 @@ export const schemaDict = {
|
|
|
12214
12434
|
defs: {
|
|
12215
12435
|
main: {
|
|
12216
12436
|
type: 'procedure',
|
|
12217
|
-
description: '
|
|
12437
|
+
description: 'Creates a join link for the group convo.',
|
|
12218
12438
|
errors: [
|
|
12219
12439
|
{
|
|
12220
12440
|
name: 'EnabledJoinLinkAlreadyExists',
|
|
@@ -12265,7 +12485,6 @@ export const schemaDict = {
|
|
|
12265
12485
|
ChatBskyGroupDefs: {
|
|
12266
12486
|
lexicon: 1,
|
|
12267
12487
|
id: 'chat.bsky.group.defs',
|
|
12268
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
12269
12488
|
defs: {
|
|
12270
12489
|
linkEnabledStatus: {
|
|
12271
12490
|
type: 'string',
|
|
@@ -12446,7 +12665,7 @@ export const schemaDict = {
|
|
|
12446
12665
|
defs: {
|
|
12447
12666
|
main: {
|
|
12448
12667
|
type: 'procedure',
|
|
12449
|
-
description: '
|
|
12668
|
+
description: 'Disables the active join link for the group convo.',
|
|
12450
12669
|
errors: [
|
|
12451
12670
|
{
|
|
12452
12671
|
name: 'InvalidConvo',
|
|
@@ -12492,7 +12711,7 @@ export const schemaDict = {
|
|
|
12492
12711
|
defs: {
|
|
12493
12712
|
main: {
|
|
12494
12713
|
type: 'procedure',
|
|
12495
|
-
description: '
|
|
12714
|
+
description: 'Edits group settings.',
|
|
12496
12715
|
errors: [
|
|
12497
12716
|
{
|
|
12498
12717
|
name: 'ConvoLocked',
|
|
@@ -12544,7 +12763,7 @@ export const schemaDict = {
|
|
|
12544
12763
|
defs: {
|
|
12545
12764
|
main: {
|
|
12546
12765
|
type: 'procedure',
|
|
12547
|
-
description: '
|
|
12766
|
+
description: 'Edits the existing join link settings for the group convo.',
|
|
12548
12767
|
errors: [
|
|
12549
12768
|
{
|
|
12550
12769
|
name: 'InvalidConvo',
|
|
@@ -12597,7 +12816,7 @@ export const schemaDict = {
|
|
|
12597
12816
|
defs: {
|
|
12598
12817
|
main: {
|
|
12599
12818
|
type: 'procedure',
|
|
12600
|
-
description: '
|
|
12819
|
+
description: 'Re-enables a previously disabled join link for the group convo.',
|
|
12601
12820
|
errors: [
|
|
12602
12821
|
{
|
|
12603
12822
|
name: 'InvalidConvo',
|
|
@@ -12646,7 +12865,7 @@ export const schemaDict = {
|
|
|
12646
12865
|
defs: {
|
|
12647
12866
|
main: {
|
|
12648
12867
|
type: 'query',
|
|
12649
|
-
description: "
|
|
12868
|
+
description: "Get public information about groups from join links. The output array matches the input codes one-to-one by position (and each view also carries its 'code'). Disabled codes return a disabledJoinLinkPreviewView, and codes that do not map to a previewable link return an invalidJoinLinkPreviewView.",
|
|
12650
12869
|
parameters: {
|
|
12651
12870
|
type: 'params',
|
|
12652
12871
|
required: ['codes'],
|
|
@@ -12690,7 +12909,7 @@ export const schemaDict = {
|
|
|
12690
12909
|
defs: {
|
|
12691
12910
|
main: {
|
|
12692
12911
|
type: 'query',
|
|
12693
|
-
description: "
|
|
12912
|
+
description: "Lists a page of request to join a group (via join link) the user owns. Shows the data from the owner's point of view.",
|
|
12694
12913
|
errors: [
|
|
12695
12914
|
{
|
|
12696
12915
|
name: 'InvalidConvo',
|
|
@@ -12745,7 +12964,7 @@ export const schemaDict = {
|
|
|
12745
12964
|
defs: {
|
|
12746
12965
|
main: {
|
|
12747
12966
|
type: 'query',
|
|
12748
|
-
description: '
|
|
12967
|
+
description: 'Returns a page of group conversations that both the requester and the specified actor are members of.',
|
|
12749
12968
|
parameters: {
|
|
12750
12969
|
type: 'params',
|
|
12751
12970
|
required: ['subject'],
|
|
@@ -12793,7 +13012,7 @@ export const schemaDict = {
|
|
|
12793
13012
|
defs: {
|
|
12794
13013
|
main: {
|
|
12795
13014
|
type: 'procedure',
|
|
12796
|
-
description: '
|
|
13015
|
+
description: 'Rejects a request to join a group (via join link) the user owns. Action taken by the group owner.',
|
|
12797
13016
|
errors: [
|
|
12798
13017
|
{
|
|
12799
13018
|
name: 'InvalidConvo',
|
|
@@ -12835,7 +13054,7 @@ export const schemaDict = {
|
|
|
12835
13054
|
defs: {
|
|
12836
13055
|
main: {
|
|
12837
13056
|
type: 'procedure',
|
|
12838
|
-
description: "
|
|
13057
|
+
description: "Removes members from a group. This deletes convo memberships, doesn't just set a status.",
|
|
12839
13058
|
errors: [
|
|
12840
13059
|
{
|
|
12841
13060
|
name: 'InvalidConvo',
|
|
@@ -12886,7 +13105,7 @@ export const schemaDict = {
|
|
|
12886
13105
|
defs: {
|
|
12887
13106
|
main: {
|
|
12888
13107
|
type: 'procedure',
|
|
12889
|
-
description: '
|
|
13108
|
+
description: 'Sends a request to join a group (via join link) to the group owner. Action taken by the prospective group member.',
|
|
12890
13109
|
errors: [
|
|
12891
13110
|
{
|
|
12892
13111
|
name: 'ConvoLocked',
|
|
@@ -12946,7 +13165,7 @@ export const schemaDict = {
|
|
|
12946
13165
|
defs: {
|
|
12947
13166
|
main: {
|
|
12948
13167
|
type: 'procedure',
|
|
12949
|
-
description: '
|
|
13168
|
+
description: 'Marks all join requests as read for the group owner.',
|
|
12950
13169
|
errors: [
|
|
12951
13170
|
{
|
|
12952
13171
|
name: 'InvalidConvo',
|
|
@@ -12984,7 +13203,7 @@ export const schemaDict = {
|
|
|
12984
13203
|
defs: {
|
|
12985
13204
|
main: {
|
|
12986
13205
|
type: 'procedure',
|
|
12987
|
-
description: '
|
|
13206
|
+
description: 'Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.',
|
|
12988
13207
|
errors: [
|
|
12989
13208
|
{
|
|
12990
13209
|
name: 'InvalidJoinRequest',
|
|
@@ -13018,7 +13237,7 @@ export const schemaDict = {
|
|
|
13018
13237
|
id: 'chat.bsky.moderation.defs',
|
|
13019
13238
|
defs: {
|
|
13020
13239
|
convoView: {
|
|
13021
|
-
description: '
|
|
13240
|
+
description: 'A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.',
|
|
13022
13241
|
type: 'object',
|
|
13023
13242
|
required: ['id', 'rev'],
|
|
13024
13243
|
properties: {
|
|
@@ -13039,12 +13258,12 @@ export const schemaDict = {
|
|
|
13039
13258
|
},
|
|
13040
13259
|
},
|
|
13041
13260
|
directConvo: {
|
|
13042
|
-
description: '
|
|
13261
|
+
description: 'Data specific to a direct conversation, for moderation purposes.',
|
|
13043
13262
|
type: 'object',
|
|
13044
13263
|
properties: {},
|
|
13045
13264
|
},
|
|
13046
13265
|
groupConvo: {
|
|
13047
|
-
description: '
|
|
13266
|
+
description: 'Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.',
|
|
13048
13267
|
type: 'object',
|
|
13049
13268
|
required: [
|
|
13050
13269
|
'createdAt',
|
|
@@ -13159,7 +13378,7 @@ export const schemaDict = {
|
|
|
13159
13378
|
defs: {
|
|
13160
13379
|
main: {
|
|
13161
13380
|
type: 'query',
|
|
13162
|
-
description: '
|
|
13381
|
+
description: 'Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.',
|
|
13163
13382
|
errors: [
|
|
13164
13383
|
{
|
|
13165
13384
|
name: 'InvalidConvo',
|
|
@@ -13196,7 +13415,7 @@ export const schemaDict = {
|
|
|
13196
13415
|
defs: {
|
|
13197
13416
|
main: {
|
|
13198
13417
|
type: 'query',
|
|
13199
|
-
description: '
|
|
13418
|
+
description: 'Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.',
|
|
13200
13419
|
errors: [
|
|
13201
13420
|
{
|
|
13202
13421
|
name: 'InvalidConvo',
|
|
@@ -13248,7 +13467,7 @@ export const schemaDict = {
|
|
|
13248
13467
|
defs: {
|
|
13249
13468
|
main: {
|
|
13250
13469
|
type: 'query',
|
|
13251
|
-
description: '
|
|
13470
|
+
description: 'Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.',
|
|
13252
13471
|
parameters: {
|
|
13253
13472
|
type: 'params',
|
|
13254
13473
|
required: ['convoIds'],
|
|
@@ -25615,6 +25834,7 @@ export const ids = {
|
|
|
25615
25834
|
AppBskyFeedPostgate: 'app.bsky.feed.postgate',
|
|
25616
25835
|
AppBskyFeedRepost: 'app.bsky.feed.repost',
|
|
25617
25836
|
AppBskyFeedSearchPosts: 'app.bsky.feed.searchPosts',
|
|
25837
|
+
AppBskyFeedSearchPostsV2: 'app.bsky.feed.searchPostsV2',
|
|
25618
25838
|
AppBskyFeedSendInteractions: 'app.bsky.feed.sendInteractions',
|
|
25619
25839
|
AppBskyFeedThreadgate: 'app.bsky.feed.threadgate',
|
|
25620
25840
|
AppBskyGraphBlock: 'app.bsky.graph.block',
|