@atproto/api 0.20.36 → 0.20.38
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 +30 -2
- package/dist/agent.d.ts +4 -1
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +6 -2
- package/dist/agent.js.map +1 -1
- package/dist/atp-agent.d.ts.map +1 -1
- package/dist/atp-agent.js.map +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +118 -10
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +62 -5
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +5 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/ageassurance/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/ageassurance/defs.js.map +1 -1
- package/dist/client/types/app/bsky/draft/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/draft/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActor.d.ts +4 -0
- package/dist/client/types/app/bsky/graph/muteActor.d.ts.map +1 -1
- package/dist/client/types/app/bsky/graph/muteActor.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts +5 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/defs.js.map +1 -1
- 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/group/createGroup.d.ts +1 -0
- package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/client/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/client/types/com/atproto/sync/defs.d.ts.map +1 -1
- package/dist/client/types/com/atproto/sync/defs.js.map +1 -1
- package/dist/client/types/com/atproto/temp/checkHandleAvailability.d.ts.map +1 -1
- package/dist/client/types/com/atproto/temp/checkHandleAvailability.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryEvents.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts +5 -0
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.js +7 -0
- package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.d.ts +2 -0
- package/dist/client/types/tools/ozone/queue/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.d.ts +6 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.js +9 -0
- package/dist/client/types/tools/ozone/queue/updateQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/report/queryReports.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/report/queryReports.js.map +1 -1
- package/dist/moderation/types.d.ts.map +1 -1
- package/dist/moderation/types.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +8 -8
package/dist/client/lexicons.js
CHANGED
|
@@ -295,6 +295,15 @@ export const schemaDict = {
|
|
|
295
295
|
properties: {
|
|
296
296
|
muted: {
|
|
297
297
|
type: 'boolean',
|
|
298
|
+
description: 'Whether the account is fully muted, directly or via a mutelist. False when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts.',
|
|
299
|
+
},
|
|
300
|
+
mutedOnlyReposts: {
|
|
301
|
+
type: 'boolean',
|
|
302
|
+
description: "Whether the account's reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.",
|
|
303
|
+
},
|
|
304
|
+
mutedOnlyQuoteposts: {
|
|
305
|
+
type: 'boolean',
|
|
306
|
+
description: "Whether the account's quote posts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false.",
|
|
298
307
|
},
|
|
299
308
|
mutedByList: {
|
|
300
309
|
type: 'ref',
|
|
@@ -6331,7 +6340,7 @@ export const schemaDict = {
|
|
|
6331
6340
|
defs: {
|
|
6332
6341
|
main: {
|
|
6333
6342
|
type: 'query',
|
|
6334
|
-
description: 'Enumerates accounts that the requesting account (actor) currently has muted. Requires auth.',
|
|
6343
|
+
description: 'Enumerates accounts that the requesting account (actor) currently has fully muted. Mutes scoped to specific kinds of content (only reposts, only quote posts) are not included. Responses may contain more items than the requested limit. Requires auth.',
|
|
6335
6344
|
parameters: {
|
|
6336
6345
|
type: 'params',
|
|
6337
6346
|
properties: {
|
|
@@ -6730,7 +6739,7 @@ export const schemaDict = {
|
|
|
6730
6739
|
defs: {
|
|
6731
6740
|
main: {
|
|
6732
6741
|
type: 'procedure',
|
|
6733
|
-
description: 'Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.',
|
|
6742
|
+
description: 'Creates a mute relationship for the specified account. If a mute already exists for the account, it is updated in place: the stored scope is replaced with the scope in this request. Mutes are private in Bluesky. Requires auth.',
|
|
6734
6743
|
input: {
|
|
6735
6744
|
encoding: 'application/json',
|
|
6736
6745
|
schema: {
|
|
@@ -6741,6 +6750,14 @@ export const schemaDict = {
|
|
|
6741
6750
|
type: 'string',
|
|
6742
6751
|
format: 'at-identifier',
|
|
6743
6752
|
},
|
|
6753
|
+
onlyReposts: {
|
|
6754
|
+
type: 'boolean',
|
|
6755
|
+
description: "Restrict the mute to the account's reposts. When any 'only' scope is set, just the scoped content is muted; when none are set, the account is fully muted. Repeat calls replace the stored scope rather than adding to it.",
|
|
6756
|
+
},
|
|
6757
|
+
onlyQuoteposts: {
|
|
6758
|
+
type: 'boolean',
|
|
6759
|
+
description: "Restrict the mute to the account's quote posts. See onlyReposts.",
|
|
6760
|
+
},
|
|
6744
6761
|
},
|
|
6745
6762
|
},
|
|
6746
6763
|
},
|
|
@@ -8202,7 +8219,15 @@ export const schemaDict = {
|
|
|
8202
8219
|
},
|
|
8203
8220
|
opThread: {
|
|
8204
8221
|
type: 'boolean',
|
|
8205
|
-
description: 'This post is part of a contiguous thread by the OP from the thread root.
|
|
8222
|
+
description: 'This post is part of a contiguous thread by the OP from the thread root. Sub-threads by OP deeper in the tree are not considered an OP thread.',
|
|
8223
|
+
},
|
|
8224
|
+
opThreadPostIndex: {
|
|
8225
|
+
type: 'integer',
|
|
8226
|
+
description: 'The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread (see `opThread`).',
|
|
8227
|
+
},
|
|
8228
|
+
opThreadPostCount: {
|
|
8229
|
+
type: 'integer',
|
|
8230
|
+
description: 'The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread (see `opThread`).',
|
|
8206
8231
|
},
|
|
8207
8232
|
hiddenByThreadgate: {
|
|
8208
8233
|
type: 'boolean',
|
|
@@ -12523,7 +12548,8 @@ export const schemaDict = {
|
|
|
12523
12548
|
properties: {
|
|
12524
12549
|
members: {
|
|
12525
12550
|
type: 'array',
|
|
12526
|
-
|
|
12551
|
+
description: "The members to add to the group. The owner is automatically added. Implementations may enforce a lower maximum than the 10,000-item schema limit; Bluesky currently supports up to 100 total members. If the owner is included in this list, the list may contain up to the implementation's total member limit. Otherwise, it may contain one fewer.",
|
|
12552
|
+
maxLength: 10000,
|
|
12527
12553
|
items: {
|
|
12528
12554
|
type: 'string',
|
|
12529
12555
|
format: 'did',
|
|
@@ -22317,6 +22343,13 @@ export const schemaDict = {
|
|
|
22317
22343
|
type: 'string',
|
|
22318
22344
|
description: 'Optional description of the queue',
|
|
22319
22345
|
},
|
|
22346
|
+
recommendedPolicies: {
|
|
22347
|
+
type: 'array',
|
|
22348
|
+
items: {
|
|
22349
|
+
type: 'string',
|
|
22350
|
+
},
|
|
22351
|
+
description: 'Policy keys to recommend when actioning reports in this queue',
|
|
22352
|
+
},
|
|
22320
22353
|
},
|
|
22321
22354
|
},
|
|
22322
22355
|
},
|
|
@@ -22334,6 +22367,10 @@ export const schemaDict = {
|
|
|
22334
22367
|
},
|
|
22335
22368
|
},
|
|
22336
22369
|
errors: [
|
|
22370
|
+
{
|
|
22371
|
+
name: 'InvalidRecommendedPolicies',
|
|
22372
|
+
description: 'One or more recommended policy keys do not exist in the configured policy list',
|
|
22373
|
+
},
|
|
22337
22374
|
{
|
|
22338
22375
|
name: 'ConflictingQueue',
|
|
22339
22376
|
description: 'The queue configuration conflicts with an existing queue',
|
|
@@ -22390,6 +22427,13 @@ export const schemaDict = {
|
|
|
22390
22427
|
type: 'string',
|
|
22391
22428
|
description: 'Optional description of the queue',
|
|
22392
22429
|
},
|
|
22430
|
+
recommendedPolicies: {
|
|
22431
|
+
type: 'array',
|
|
22432
|
+
items: {
|
|
22433
|
+
type: 'string',
|
|
22434
|
+
},
|
|
22435
|
+
description: 'Policy keys recommended when actioning reports in this queue',
|
|
22436
|
+
},
|
|
22393
22437
|
createdBy: {
|
|
22394
22438
|
type: 'string',
|
|
22395
22439
|
format: 'did',
|
|
@@ -22745,7 +22789,7 @@ export const schemaDict = {
|
|
|
22745
22789
|
defs: {
|
|
22746
22790
|
main: {
|
|
22747
22791
|
type: 'procedure',
|
|
22748
|
-
description: 'Update queue properties.
|
|
22792
|
+
description: 'Update queue properties.',
|
|
22749
22793
|
input: {
|
|
22750
22794
|
encoding: 'application/json',
|
|
22751
22795
|
schema: {
|
|
@@ -22768,6 +22812,13 @@ export const schemaDict = {
|
|
|
22768
22812
|
type: 'string',
|
|
22769
22813
|
description: 'Optional description of the queue',
|
|
22770
22814
|
},
|
|
22815
|
+
recommendedPolicies: {
|
|
22816
|
+
type: 'array',
|
|
22817
|
+
items: {
|
|
22818
|
+
type: 'string',
|
|
22819
|
+
},
|
|
22820
|
+
description: 'Policy keys to recommend when actioning reports in this queue',
|
|
22821
|
+
},
|
|
22771
22822
|
},
|
|
22772
22823
|
},
|
|
22773
22824
|
},
|
|
@@ -22784,6 +22835,12 @@ export const schemaDict = {
|
|
|
22784
22835
|
},
|
|
22785
22836
|
},
|
|
22786
22837
|
},
|
|
22838
|
+
errors: [
|
|
22839
|
+
{
|
|
22840
|
+
name: 'InvalidRecommendedPolicies',
|
|
22841
|
+
description: 'One or more recommended policy keys do not exist in the configured policy list',
|
|
22842
|
+
},
|
|
22843
|
+
],
|
|
22787
22844
|
},
|
|
22788
22845
|
},
|
|
22789
22846
|
},
|