@atproto/api 0.28.1 → 0.29.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 +12 -0
- package/dist/client/lexicons.d.ts +88 -8
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +44 -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 +5 -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 +5 -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/package.json +4 -4
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',
|
|
@@ -25568,7 +25590,7 @@ export const schemaDict = {
|
|
|
25568
25590
|
collection: {
|
|
25569
25591
|
type: 'string',
|
|
25570
25592
|
format: 'nsid',
|
|
25571
|
-
description:
|
|
25593
|
+
description: 'Collection name for record subjects. Omit to accept every collection.',
|
|
25572
25594
|
},
|
|
25573
25595
|
reportTypes: {
|
|
25574
25596
|
type: 'array',
|
|
@@ -25577,6 +25599,24 @@ export const schemaDict = {
|
|
|
25577
25599
|
},
|
|
25578
25600
|
description: 'Report reason types this queue accepts (fully qualified NSIDs)',
|
|
25579
25601
|
},
|
|
25602
|
+
reporterTags: {
|
|
25603
|
+
type: 'array',
|
|
25604
|
+
maxLength: 25,
|
|
25605
|
+
items: {
|
|
25606
|
+
type: 'string',
|
|
25607
|
+
minLength: 1,
|
|
25608
|
+
},
|
|
25609
|
+
description: 'Match any listed tag on the account submitting the report.',
|
|
25610
|
+
},
|
|
25611
|
+
accountTags: {
|
|
25612
|
+
type: 'array',
|
|
25613
|
+
maxLength: 25,
|
|
25614
|
+
items: {
|
|
25615
|
+
type: 'string',
|
|
25616
|
+
minLength: 1,
|
|
25617
|
+
},
|
|
25618
|
+
description: 'Match tags on the account that is being reported against. For record subjects, use the author account. Match any listed tag.',
|
|
25619
|
+
},
|
|
25580
25620
|
description: {
|
|
25581
25621
|
type: 'string',
|
|
25582
25622
|
description: 'Optional description of the queue',
|