@atproto/api 0.20.3 → 0.20.5
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/README.md +4 -0
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +3 -8
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +182 -32
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +108 -19
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +3 -0
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +4 -0
- 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/convo/listConvoRequests.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/listConvoRequests.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/listConvoRequests.js.map +1 -1
- package/dist/client/types/chat/bsky/group/defs.d.ts +23 -0
- package/dist/client/types/chat/bsky/group/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/defs.js +14 -0
- package/dist/client/types/chat/bsky/group/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/group/{getJoinLinkPreview.d.ts → getJoinLinkPreviews.d.ts} +4 -7
- package/dist/client/types/chat/bsky/group/getJoinLinkPreviews.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/getJoinLinkPreviews.js +8 -0
- package/dist/client/types/chat/bsky/group/getJoinLinkPreviews.js.map +1 -0
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/client/types/chat/bsky/group/getJoinLinkPreview.d.ts.map +0 -1
- package/dist/client/types/chat/bsky/group/getJoinLinkPreview.js +0 -21
- package/dist/client/types/chat/bsky/group/getJoinLinkPreview.js.map +0 -1
package/dist/client/lexicons.js
CHANGED
|
@@ -2668,6 +2668,14 @@ export const schemaDict = {
|
|
|
2668
2668
|
},
|
|
2669
2669
|
description: 'StrongRefs (uri+cid) of the Atmosphere records that backed this view.',
|
|
2670
2670
|
},
|
|
2671
|
+
associatedProfiles: {
|
|
2672
|
+
type: 'array',
|
|
2673
|
+
items: {
|
|
2674
|
+
type: 'ref',
|
|
2675
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
2676
|
+
},
|
|
2677
|
+
description: 'Profiles of the owners of the Atmosphere records that backed this view.',
|
|
2678
|
+
},
|
|
2671
2679
|
},
|
|
2672
2680
|
},
|
|
2673
2681
|
viewExternalSource: {
|
|
@@ -10206,10 +10214,18 @@ export const schemaDict = {
|
|
|
10206
10214
|
type: 'string',
|
|
10207
10215
|
format: 'datetime',
|
|
10208
10216
|
},
|
|
10217
|
+
joinRequestCount: {
|
|
10218
|
+
type: 'integer',
|
|
10219
|
+
description: 'The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.',
|
|
10220
|
+
},
|
|
10209
10221
|
joinLink: {
|
|
10210
10222
|
type: 'ref',
|
|
10211
10223
|
ref: 'lex:chat.bsky.group.defs#joinLinkView',
|
|
10212
10224
|
},
|
|
10225
|
+
memberLimit: {
|
|
10226
|
+
type: 'integer',
|
|
10227
|
+
description: 'The maximum number of members allowed in the group conversation.',
|
|
10228
|
+
},
|
|
10213
10229
|
lockStatus: {
|
|
10214
10230
|
description: 'The lock status of the conversation.',
|
|
10215
10231
|
type: 'ref',
|
|
@@ -11184,7 +11200,7 @@ export const schemaDict = {
|
|
|
11184
11200
|
defs: {
|
|
11185
11201
|
main: {
|
|
11186
11202
|
type: 'query',
|
|
11187
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests are returned as
|
|
11203
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. 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.',
|
|
11188
11204
|
parameters: {
|
|
11189
11205
|
type: 'params',
|
|
11190
11206
|
properties: {
|
|
@@ -11214,7 +11230,7 @@ export const schemaDict = {
|
|
|
11214
11230
|
type: 'union',
|
|
11215
11231
|
refs: [
|
|
11216
11232
|
'lex:chat.bsky.convo.defs#convoView',
|
|
11217
|
-
'lex:chat.bsky.group.defs#
|
|
11233
|
+
'lex:chat.bsky.group.defs#joinRequestConvoView',
|
|
11218
11234
|
],
|
|
11219
11235
|
},
|
|
11220
11236
|
},
|
|
@@ -11994,8 +12010,20 @@ export const schemaDict = {
|
|
|
11994
12010
|
},
|
|
11995
12011
|
joinLinkPreviewView: {
|
|
11996
12012
|
type: 'object',
|
|
11997
|
-
required: [
|
|
12013
|
+
required: [
|
|
12014
|
+
'code',
|
|
12015
|
+
'name',
|
|
12016
|
+
'owner',
|
|
12017
|
+
'memberCount',
|
|
12018
|
+
'memberLimit',
|
|
12019
|
+
'requireApproval',
|
|
12020
|
+
'joinRule',
|
|
12021
|
+
'enabledStatus',
|
|
12022
|
+
],
|
|
11998
12023
|
properties: {
|
|
12024
|
+
code: {
|
|
12025
|
+
type: 'string',
|
|
12026
|
+
},
|
|
11999
12027
|
name: {
|
|
12000
12028
|
type: 'string',
|
|
12001
12029
|
},
|
|
@@ -12006,14 +12034,38 @@ export const schemaDict = {
|
|
|
12006
12034
|
memberCount: {
|
|
12007
12035
|
type: 'integer',
|
|
12008
12036
|
},
|
|
12037
|
+
memberLimit: {
|
|
12038
|
+
type: 'integer',
|
|
12039
|
+
},
|
|
12009
12040
|
requireApproval: {
|
|
12010
12041
|
type: 'boolean',
|
|
12011
12042
|
},
|
|
12043
|
+
joinRule: {
|
|
12044
|
+
type: 'ref',
|
|
12045
|
+
ref: 'lex:chat.bsky.group.defs#joinRule',
|
|
12046
|
+
},
|
|
12047
|
+
enabledStatus: {
|
|
12048
|
+
type: 'ref',
|
|
12049
|
+
ref: 'lex:chat.bsky.group.defs#linkEnabledStatus',
|
|
12050
|
+
},
|
|
12012
12051
|
convo: {
|
|
12013
12052
|
type: 'ref',
|
|
12014
12053
|
ref: 'lex:chat.bsky.convo.defs#convoView',
|
|
12015
12054
|
description: 'Present only if the request is authenticated and the user is a member of the group.',
|
|
12016
12055
|
},
|
|
12056
|
+
viewer: {
|
|
12057
|
+
type: 'ref',
|
|
12058
|
+
ref: 'lex:chat.bsky.group.defs#joinLinkViewerState',
|
|
12059
|
+
},
|
|
12060
|
+
},
|
|
12061
|
+
},
|
|
12062
|
+
joinLinkViewerState: {
|
|
12063
|
+
type: 'object',
|
|
12064
|
+
properties: {
|
|
12065
|
+
requestedAt: {
|
|
12066
|
+
type: 'string',
|
|
12067
|
+
format: 'datetime',
|
|
12068
|
+
},
|
|
12017
12069
|
},
|
|
12018
12070
|
},
|
|
12019
12071
|
joinRequestView: {
|
|
@@ -12033,6 +12085,40 @@ export const schemaDict = {
|
|
|
12033
12085
|
},
|
|
12034
12086
|
},
|
|
12035
12087
|
},
|
|
12088
|
+
joinRequestConvoView: {
|
|
12089
|
+
description: 'A join request from the perspective of the requester, including enough group context to render the request in a list (e.g. group name, owner, member count).',
|
|
12090
|
+
type: 'object',
|
|
12091
|
+
required: [
|
|
12092
|
+
'convoId',
|
|
12093
|
+
'name',
|
|
12094
|
+
'owner',
|
|
12095
|
+
'memberCount',
|
|
12096
|
+
'memberLimit',
|
|
12097
|
+
'requestedAt',
|
|
12098
|
+
],
|
|
12099
|
+
properties: {
|
|
12100
|
+
convoId: {
|
|
12101
|
+
type: 'string',
|
|
12102
|
+
},
|
|
12103
|
+
name: {
|
|
12104
|
+
type: 'string',
|
|
12105
|
+
},
|
|
12106
|
+
owner: {
|
|
12107
|
+
type: 'ref',
|
|
12108
|
+
ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
|
|
12109
|
+
},
|
|
12110
|
+
memberCount: {
|
|
12111
|
+
type: 'integer',
|
|
12112
|
+
},
|
|
12113
|
+
memberLimit: {
|
|
12114
|
+
type: 'integer',
|
|
12115
|
+
},
|
|
12116
|
+
requestedAt: {
|
|
12117
|
+
type: 'string',
|
|
12118
|
+
format: 'datetime',
|
|
12119
|
+
},
|
|
12120
|
+
},
|
|
12121
|
+
},
|
|
12036
12122
|
},
|
|
12037
12123
|
},
|
|
12038
12124
|
ChatBskyGroupDisableJoinLink: {
|
|
@@ -12235,24 +12321,24 @@ export const schemaDict = {
|
|
|
12235
12321
|
},
|
|
12236
12322
|
},
|
|
12237
12323
|
},
|
|
12238
|
-
|
|
12324
|
+
ChatBskyGroupGetJoinLinkPreviews: {
|
|
12239
12325
|
lexicon: 1,
|
|
12240
|
-
id: 'chat.bsky.group.
|
|
12326
|
+
id: 'chat.bsky.group.getJoinLinkPreviews',
|
|
12241
12327
|
defs: {
|
|
12242
12328
|
main: {
|
|
12243
12329
|
type: 'query',
|
|
12244
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about
|
|
12245
|
-
errors: [
|
|
12246
|
-
{
|
|
12247
|
-
name: 'InvalidCode',
|
|
12248
|
-
},
|
|
12249
|
-
],
|
|
12330
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results.',
|
|
12250
12331
|
parameters: {
|
|
12251
12332
|
type: 'params',
|
|
12252
|
-
required: ['
|
|
12333
|
+
required: ['codes'],
|
|
12253
12334
|
properties: {
|
|
12254
|
-
|
|
12255
|
-
type: '
|
|
12335
|
+
codes: {
|
|
12336
|
+
type: 'array',
|
|
12337
|
+
minLength: 1,
|
|
12338
|
+
maxLength: 50,
|
|
12339
|
+
items: {
|
|
12340
|
+
type: 'string',
|
|
12341
|
+
},
|
|
12256
12342
|
},
|
|
12257
12343
|
},
|
|
12258
12344
|
},
|
|
@@ -12260,11 +12346,14 @@ export const schemaDict = {
|
|
|
12260
12346
|
encoding: 'application/json',
|
|
12261
12347
|
schema: {
|
|
12262
12348
|
type: 'object',
|
|
12263
|
-
required: ['
|
|
12349
|
+
required: ['joinLinkPreviews'],
|
|
12264
12350
|
properties: {
|
|
12265
|
-
|
|
12266
|
-
type: '
|
|
12267
|
-
|
|
12351
|
+
joinLinkPreviews: {
|
|
12352
|
+
type: 'array',
|
|
12353
|
+
items: {
|
|
12354
|
+
type: 'ref',
|
|
12355
|
+
ref: 'lex:chat.bsky.group.defs#joinLinkPreviewView',
|
|
12356
|
+
},
|
|
12268
12357
|
},
|
|
12269
12358
|
},
|
|
12270
12359
|
},
|
|
@@ -24836,7 +24925,7 @@ export const ids = {
|
|
|
24836
24925
|
ChatBskyGroupEditGroup: 'chat.bsky.group.editGroup',
|
|
24837
24926
|
ChatBskyGroupEditJoinLink: 'chat.bsky.group.editJoinLink',
|
|
24838
24927
|
ChatBskyGroupEnableJoinLink: 'chat.bsky.group.enableJoinLink',
|
|
24839
|
-
|
|
24928
|
+
ChatBskyGroupGetJoinLinkPreviews: 'chat.bsky.group.getJoinLinkPreviews',
|
|
24840
24929
|
ChatBskyGroupListJoinRequests: 'chat.bsky.group.listJoinRequests',
|
|
24841
24930
|
ChatBskyGroupListMutualGroups: 'chat.bsky.group.listMutualGroups',
|
|
24842
24931
|
ChatBskyGroupRejectJoinRequest: 'chat.bsky.group.rejectJoinRequest',
|