@atproto/api 0.30.3 → 0.31.0
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 +13 -0
- package/dist/client/lexicons.d.ts +8 -178
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +4 -89
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +0 -40
- package/dist/client/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.js +0 -14
- package/dist/client/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/queryStatuses.d.ts +2 -7
- 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/package.json +2 -2
package/dist/client/lexicons.js
CHANGED
|
@@ -9625,13 +9625,13 @@ export const schemaDict = {
|
|
|
9625
9625
|
defs: {
|
|
9626
9626
|
main: {
|
|
9627
9627
|
type: 'query',
|
|
9628
|
-
description: 'Get Atmosphere Explore content. Articles are recommended when algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Curated content is selected using the x-atproto-bsky-geo-country, x-atproto-bsky-geo-region, and x-atproto-bsky-topics request headers. Authentication is optional; authenticated requests include viewer-specific profile state.',
|
|
9628
|
+
description: 'Get Atmosphere Explore content. Articles and photo galleries are recommended when their algorithmic recommendations are enabled for the request, and curated otherwise; other sections are curated. Curated content is selected using the x-atproto-bsky-geo-country, x-atproto-bsky-geo-region, and x-atproto-bsky-topics request headers. Authentication is optional; authenticated requests include viewer-specific profile state.',
|
|
9629
9629
|
parameters: {
|
|
9630
9630
|
type: 'params',
|
|
9631
9631
|
properties: {
|
|
9632
9632
|
langs: {
|
|
9633
9633
|
type: 'array',
|
|
9634
|
-
description: 'Preferred languages for article recommendations when algorithmic recommendations are enabled. Ignored otherwise.',
|
|
9634
|
+
description: 'Preferred languages for article and photo gallery recommendations when their algorithmic recommendations are enabled. Ignored otherwise.',
|
|
9635
9635
|
items: {
|
|
9636
9636
|
type: 'string',
|
|
9637
9637
|
format: 'language',
|
|
@@ -23297,16 +23297,6 @@ export const schemaDict = {
|
|
|
23297
23297
|
type: 'string',
|
|
23298
23298
|
},
|
|
23299
23299
|
},
|
|
23300
|
-
accountStats: {
|
|
23301
|
-
description: 'Statistics related to the account subject',
|
|
23302
|
-
type: 'ref',
|
|
23303
|
-
ref: 'lex:tools.ozone.moderation.defs#accountStats',
|
|
23304
|
-
},
|
|
23305
|
-
recordsStats: {
|
|
23306
|
-
description: "Statistics related to the record subjects authored by the subject's account",
|
|
23307
|
-
type: 'ref',
|
|
23308
|
-
ref: 'lex:tools.ozone.moderation.defs#recordsStats',
|
|
23309
|
-
},
|
|
23310
23300
|
accountStrike: {
|
|
23311
23301
|
description: 'Strike information for the account (account-level only)',
|
|
23312
23302
|
type: 'ref',
|
|
@@ -23354,70 +23344,6 @@ export const schemaDict = {
|
|
|
23354
23344
|
},
|
|
23355
23345
|
},
|
|
23356
23346
|
},
|
|
23357
|
-
accountStats: {
|
|
23358
|
-
description: 'Statistics about a particular account subject',
|
|
23359
|
-
type: 'object',
|
|
23360
|
-
properties: {
|
|
23361
|
-
reportCount: {
|
|
23362
|
-
description: 'Total number of reports on the account',
|
|
23363
|
-
type: 'integer',
|
|
23364
|
-
},
|
|
23365
|
-
appealCount: {
|
|
23366
|
-
description: 'Total number of appeals against a moderation action on the account',
|
|
23367
|
-
type: 'integer',
|
|
23368
|
-
},
|
|
23369
|
-
suspendCount: {
|
|
23370
|
-
description: 'Number of times the account was suspended',
|
|
23371
|
-
type: 'integer',
|
|
23372
|
-
},
|
|
23373
|
-
escalateCount: {
|
|
23374
|
-
description: 'Number of times the account was escalated',
|
|
23375
|
-
type: 'integer',
|
|
23376
|
-
},
|
|
23377
|
-
takedownCount: {
|
|
23378
|
-
description: 'Number of times the account was taken down',
|
|
23379
|
-
type: 'integer',
|
|
23380
|
-
},
|
|
23381
|
-
},
|
|
23382
|
-
},
|
|
23383
|
-
recordsStats: {
|
|
23384
|
-
description: 'Statistics about a set of record subject items',
|
|
23385
|
-
type: 'object',
|
|
23386
|
-
properties: {
|
|
23387
|
-
totalReports: {
|
|
23388
|
-
description: 'Cumulative sum of the number of reports on the items in the set',
|
|
23389
|
-
type: 'integer',
|
|
23390
|
-
},
|
|
23391
|
-
reportedCount: {
|
|
23392
|
-
description: 'Number of items that were reported at least once',
|
|
23393
|
-
type: 'integer',
|
|
23394
|
-
},
|
|
23395
|
-
escalatedCount: {
|
|
23396
|
-
description: 'Number of items that were escalated at least once',
|
|
23397
|
-
type: 'integer',
|
|
23398
|
-
},
|
|
23399
|
-
appealedCount: {
|
|
23400
|
-
description: 'Number of items that were appealed at least once',
|
|
23401
|
-
type: 'integer',
|
|
23402
|
-
},
|
|
23403
|
-
subjectCount: {
|
|
23404
|
-
description: 'Total number of item in the set',
|
|
23405
|
-
type: 'integer',
|
|
23406
|
-
},
|
|
23407
|
-
pendingCount: {
|
|
23408
|
-
description: 'Number of item currently in "reviewOpen" or "reviewEscalated" state',
|
|
23409
|
-
type: 'integer',
|
|
23410
|
-
},
|
|
23411
|
-
processedCount: {
|
|
23412
|
-
description: 'Number of item currently in "reviewNone" or "reviewClosed" state',
|
|
23413
|
-
type: 'integer',
|
|
23414
|
-
},
|
|
23415
|
-
takendownCount: {
|
|
23416
|
-
description: 'Number of item currently taken down',
|
|
23417
|
-
type: 'integer',
|
|
23418
|
-
},
|
|
23419
|
-
},
|
|
23420
|
-
},
|
|
23421
23347
|
accountStrike: {
|
|
23422
23348
|
description: 'Strike information for an account',
|
|
23423
23349
|
type: 'object',
|
|
@@ -25435,13 +25361,14 @@ export const schemaDict = {
|
|
|
25435
25361
|
},
|
|
25436
25362
|
sortField: {
|
|
25437
25363
|
type: 'string',
|
|
25364
|
+
description: 'The reportedRecordsCount and takendownRecordsCount values are deprecated and use lastReportedAt instead.',
|
|
25438
25365
|
default: 'lastReportedAt',
|
|
25439
25366
|
enum: [
|
|
25440
25367
|
'lastReviewedAt',
|
|
25441
25368
|
'lastReportedAt',
|
|
25369
|
+
'priorityScore',
|
|
25442
25370
|
'reportedRecordsCount',
|
|
25443
25371
|
'takendownRecordsCount',
|
|
25444
|
-
'priorityScore',
|
|
25445
25372
|
],
|
|
25446
25373
|
},
|
|
25447
25374
|
sortDirection: {
|
|
@@ -25494,18 +25421,6 @@ export const schemaDict = {
|
|
|
25494
25421
|
description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
|
|
25495
25422
|
knownValues: ['account', 'record', 'conversation'],
|
|
25496
25423
|
},
|
|
25497
|
-
minAccountSuspendCount: {
|
|
25498
|
-
type: 'integer',
|
|
25499
|
-
description: 'If specified, only subjects that belong to an account that has at least this many suspensions will be returned.',
|
|
25500
|
-
},
|
|
25501
|
-
minReportedRecordsCount: {
|
|
25502
|
-
type: 'integer',
|
|
25503
|
-
description: 'If specified, only subjects that belong to an account that has at least this many reported records will be returned.',
|
|
25504
|
-
},
|
|
25505
|
-
minTakendownRecordsCount: {
|
|
25506
|
-
type: 'integer',
|
|
25507
|
-
description: 'If specified, only subjects that belong to an account that has at least this many taken down records will be returned.',
|
|
25508
|
-
},
|
|
25509
25424
|
minPriorityScore: {
|
|
25510
25425
|
minimum: 0,
|
|
25511
25426
|
maximum: 100,
|