@atproto/api 0.28.1 → 0.29.1
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 +20 -0
- package/dist/client/lexicons.d.ts +122 -8
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +61 -4
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +2 -0
- 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/queue/createQueue.d.ts +7 -1
- package/dist/client/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/createQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/queue/defs.d.ts +7 -1
- 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 +2 -0
- package/dist/client/types/tools/ozone/queue/updateQueue.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/queue/updateQueue.js.map +1 -1
- package/dist/client/types/tools/ozone/safelink/queryRules.d.ts +2 -0
- package/dist/client/types/tools/ozone/safelink/queryRules.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/safelink/queryRules.js.map +1 -1
- package/package.json +5 -5
package/dist/client/lexicons.js
CHANGED
|
@@ -23201,6 +23201,11 @@ export const schemaDict = {
|
|
|
23201
23201
|
type: 'integer',
|
|
23202
23202
|
description: "Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity.",
|
|
23203
23203
|
},
|
|
23204
|
+
strikeExpiresAt: {
|
|
23205
|
+
type: 'string',
|
|
23206
|
+
format: 'datetime',
|
|
23207
|
+
description: 'When the strike should expire. If not provided, the strike never expires.',
|
|
23208
|
+
},
|
|
23204
23209
|
},
|
|
23205
23210
|
},
|
|
23206
23211
|
modEventResolveAppeal: {
|
|
@@ -25454,7 +25459,7 @@ export const schemaDict = {
|
|
|
25454
25459
|
defs: {
|
|
25455
25460
|
main: {
|
|
25456
25461
|
type: 'procedure',
|
|
25457
|
-
description:
|
|
25462
|
+
description: 'Create a new moderation queue. A queue with omitted or empty subjectTypes or reportTypes must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`.',
|
|
25458
25463
|
input: {
|
|
25459
25464
|
encoding: 'application/json',
|
|
25460
25465
|
schema: {
|
|
@@ -25476,16 +25481,33 @@ export const schemaDict = {
|
|
|
25476
25481
|
collection: {
|
|
25477
25482
|
type: 'string',
|
|
25478
25483
|
format: 'nsid',
|
|
25479
|
-
description:
|
|
25484
|
+
description: 'Collection name for record subjects. Omit to accept every collection.',
|
|
25480
25485
|
},
|
|
25481
25486
|
reportTypes: {
|
|
25482
25487
|
type: 'array',
|
|
25483
25488
|
items: {
|
|
25484
25489
|
type: 'string',
|
|
25485
25490
|
},
|
|
25486
|
-
maxLength: 25,
|
|
25487
25491
|
description: 'Report reason types (fully qualified NSIDs)',
|
|
25488
25492
|
},
|
|
25493
|
+
reporterTags: {
|
|
25494
|
+
type: 'array',
|
|
25495
|
+
maxLength: 25,
|
|
25496
|
+
items: {
|
|
25497
|
+
type: 'string',
|
|
25498
|
+
minLength: 1,
|
|
25499
|
+
},
|
|
25500
|
+
description: 'Match any listed tag on the account submitting the report.',
|
|
25501
|
+
},
|
|
25502
|
+
accountTags: {
|
|
25503
|
+
type: 'array',
|
|
25504
|
+
maxLength: 25,
|
|
25505
|
+
items: {
|
|
25506
|
+
type: 'string',
|
|
25507
|
+
minLength: 1,
|
|
25508
|
+
},
|
|
25509
|
+
description: 'Match any of these tags on the account that is being reported against.',
|
|
25510
|
+
},
|
|
25489
25511
|
description: {
|
|
25490
25512
|
type: 'string',
|
|
25491
25513
|
description: 'Optional description of the queue',
|
|
@@ -25504,6 +25526,10 @@ export const schemaDict = {
|
|
|
25504
25526
|
},
|
|
25505
25527
|
description: 'Labels to recommend for this queue and use as fallback appeal routing mappings',
|
|
25506
25528
|
},
|
|
25529
|
+
strictAccess: {
|
|
25530
|
+
type: 'boolean',
|
|
25531
|
+
description: 'Admins can always list this queue and browse its reports. Other roles require an active queue assignment. Individual report and moderation event access is unchanged.',
|
|
25532
|
+
},
|
|
25507
25533
|
},
|
|
25508
25534
|
},
|
|
25509
25535
|
},
|
|
@@ -25568,7 +25594,7 @@ export const schemaDict = {
|
|
|
25568
25594
|
collection: {
|
|
25569
25595
|
type: 'string',
|
|
25570
25596
|
format: 'nsid',
|
|
25571
|
-
description:
|
|
25597
|
+
description: 'Collection name for record subjects. Omit to accept every collection.',
|
|
25572
25598
|
},
|
|
25573
25599
|
reportTypes: {
|
|
25574
25600
|
type: 'array',
|
|
@@ -25577,6 +25603,24 @@ export const schemaDict = {
|
|
|
25577
25603
|
},
|
|
25578
25604
|
description: 'Report reason types this queue accepts (fully qualified NSIDs)',
|
|
25579
25605
|
},
|
|
25606
|
+
reporterTags: {
|
|
25607
|
+
type: 'array',
|
|
25608
|
+
maxLength: 25,
|
|
25609
|
+
items: {
|
|
25610
|
+
type: 'string',
|
|
25611
|
+
minLength: 1,
|
|
25612
|
+
},
|
|
25613
|
+
description: 'Match any listed tag on the account submitting the report.',
|
|
25614
|
+
},
|
|
25615
|
+
accountTags: {
|
|
25616
|
+
type: 'array',
|
|
25617
|
+
maxLength: 25,
|
|
25618
|
+
items: {
|
|
25619
|
+
type: 'string',
|
|
25620
|
+
minLength: 1,
|
|
25621
|
+
},
|
|
25622
|
+
description: 'Match tags on the account that is being reported against. For record subjects, use the author account. Match any listed tag.',
|
|
25623
|
+
},
|
|
25580
25624
|
description: {
|
|
25581
25625
|
type: 'string',
|
|
25582
25626
|
description: 'Optional description of the queue',
|
|
@@ -25622,6 +25666,10 @@ export const schemaDict = {
|
|
|
25622
25666
|
ref: 'lex:tools.ozone.queue.defs#queueStats',
|
|
25623
25667
|
description: 'Statistics about this queue',
|
|
25624
25668
|
},
|
|
25669
|
+
strictAccess: {
|
|
25670
|
+
type: 'boolean',
|
|
25671
|
+
description: 'Admins can always list this queue and browse its reports. Other roles require an active queue assignment. Individual report and moderation event access is unchanged.',
|
|
25672
|
+
},
|
|
25625
25673
|
},
|
|
25626
25674
|
},
|
|
25627
25675
|
queueStats: {
|
|
@@ -26048,6 +26096,10 @@ export const schemaDict = {
|
|
|
26048
26096
|
},
|
|
26049
26097
|
description: 'Labels to recommend for this queue and use as fallback appeal routing mappings',
|
|
26050
26098
|
},
|
|
26099
|
+
strictAccess: {
|
|
26100
|
+
type: 'boolean',
|
|
26101
|
+
description: 'Admins can always list this queue and browse its reports. Other roles require an active queue assignment. Individual report and moderation event access is unchanged.',
|
|
26102
|
+
},
|
|
26051
26103
|
},
|
|
26052
26104
|
},
|
|
26053
26105
|
},
|
|
@@ -27959,6 +28011,11 @@ export const schemaDict = {
|
|
|
27959
28011
|
type: 'string',
|
|
27960
28012
|
description: 'Filter by reason type',
|
|
27961
28013
|
},
|
|
28014
|
+
source: {
|
|
28015
|
+
type: 'string',
|
|
28016
|
+
maxLength: 128,
|
|
28017
|
+
description: 'Filter by exact rule source. Omit to include all sources.',
|
|
28018
|
+
},
|
|
27962
28019
|
createdBy: {
|
|
27963
28020
|
type: 'string',
|
|
27964
28021
|
format: 'did',
|