@atproto/pds 0.4.188 → 0.4.190

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.
Files changed (28) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/lexicon/lexicons.d.ts +208 -0
  3. package/dist/lexicon/lexicons.d.ts.map +1 -1
  4. package/dist/lexicon/lexicons.js +104 -0
  5. package/dist/lexicon/lexicons.js.map +1 -1
  6. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +12 -0
  7. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  8. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  9. package/dist/lexicon/types/app/bsky/feed/defs.d.ts +4 -0
  10. package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
  11. package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
  12. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +35 -0
  13. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  14. package/dist/lexicon/types/tools/ozone/moderation/defs.js +9 -0
  15. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  16. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts +2 -0
  17. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  18. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js.map +1 -1
  19. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +2 -0
  20. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  21. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  22. package/package.json +5 -5
  23. package/src/lexicon/lexicons.ts +119 -0
  24. package/src/lexicon/types/app/bsky/actor/defs.ts +6 -0
  25. package/src/lexicon/types/app/bsky/feed/defs.ts +2 -0
  26. package/src/lexicon/types/tools/ozone/moderation/defs.ts +44 -0
  27. package/src/lexicon/types/tools/ozone/moderation/queryEvents.ts +2 -0
  28. package/src/lexicon/types/tools/ozone/moderation/queryStatuses.ts +2 -0
@@ -63,6 +63,10 @@ exports.schemaDict = {
63
63
  type: 'ref',
64
64
  ref: 'lex:app.bsky.actor.defs#statusView',
65
65
  },
66
+ debug: {
67
+ type: 'unknown',
68
+ description: 'Debug information for internal development',
69
+ },
66
70
  },
67
71
  },
68
72
  profileView: {
@@ -125,6 +129,10 @@ exports.schemaDict = {
125
129
  type: 'ref',
126
130
  ref: 'lex:app.bsky.actor.defs#statusView',
127
131
  },
132
+ debug: {
133
+ type: 'unknown',
134
+ description: 'Debug information for internal development',
135
+ },
128
136
  },
129
137
  },
130
138
  profileViewDetailed: {
@@ -212,6 +220,10 @@ exports.schemaDict = {
212
220
  type: 'ref',
213
221
  ref: 'lex:app.bsky.actor.defs#statusView',
214
222
  },
223
+ debug: {
224
+ type: 'unknown',
225
+ description: 'Debug information for internal development',
226
+ },
215
227
  },
216
228
  },
217
229
  profileAssociated: {
@@ -1791,6 +1803,10 @@ exports.schemaDict = {
1791
1803
  type: 'ref',
1792
1804
  ref: 'lex:app.bsky.feed.defs#threadgateView',
1793
1805
  },
1806
+ debug: {
1807
+ type: 'unknown',
1808
+ description: 'Debug information for internal development',
1809
+ },
1794
1810
  },
1795
1811
  },
1796
1812
  viewerState: {
@@ -14162,6 +14178,11 @@ exports.schemaDict = {
14162
14178
  type: 'ref',
14163
14179
  ref: 'lex:tools.ozone.moderation.defs#recordsStats',
14164
14180
  },
14181
+ accountStrike: {
14182
+ description: 'Strike information for the account (account-level only)',
14183
+ type: 'ref',
14184
+ ref: 'lex:tools.ozone.moderation.defs#accountStrike',
14185
+ },
14165
14186
  ageAssuranceState: {
14166
14187
  type: 'string',
14167
14188
  description: 'Current age assurance state of the subject.',
@@ -14268,6 +14289,30 @@ exports.schemaDict = {
14268
14289
  },
14269
14290
  },
14270
14291
  },
14292
+ accountStrike: {
14293
+ description: 'Strike information for an account',
14294
+ type: 'object',
14295
+ properties: {
14296
+ activeStrikeCount: {
14297
+ description: 'Current number of active strikes (excluding expired strikes)',
14298
+ type: 'integer',
14299
+ },
14300
+ totalStrikeCount: {
14301
+ description: 'Total number of strikes ever received (including expired strikes)',
14302
+ type: 'integer',
14303
+ },
14304
+ firstStrikeAt: {
14305
+ description: 'Timestamp of the first strike received',
14306
+ type: 'string',
14307
+ format: 'datetime',
14308
+ },
14309
+ lastStrikeAt: {
14310
+ description: 'Timestamp of the most recent strike received',
14311
+ type: 'string',
14312
+ format: 'datetime',
14313
+ },
14314
+ },
14315
+ },
14271
14316
  subjectReviewState: {
14272
14317
  type: 'string',
14273
14318
  knownValues: [
@@ -14316,6 +14361,19 @@ exports.schemaDict = {
14316
14361
  },
14317
14362
  description: 'Names/Keywords of the policies that drove the decision.',
14318
14363
  },
14364
+ severityLevel: {
14365
+ type: 'string',
14366
+ description: "Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.).",
14367
+ },
14368
+ strikeCount: {
14369
+ type: 'integer',
14370
+ description: 'Number of strikes to assign to the user for this violation.',
14371
+ },
14372
+ strikeExpiresAt: {
14373
+ type: 'string',
14374
+ format: 'datetime',
14375
+ description: 'When the strike should expire. If not provided, the strike never expires.',
14376
+ },
14319
14377
  },
14320
14378
  },
14321
14379
  modEventReverseTakedown: {
@@ -14326,6 +14384,22 @@ exports.schemaDict = {
14326
14384
  type: 'string',
14327
14385
  description: 'Describe reasoning behind the reversal.',
14328
14386
  },
14387
+ policies: {
14388
+ type: 'array',
14389
+ maxLength: 5,
14390
+ items: {
14391
+ type: 'string',
14392
+ },
14393
+ description: 'Names/Keywords of the policy infraction for which takedown is being reversed.',
14394
+ },
14395
+ severityLevel: {
14396
+ type: 'string',
14397
+ description: "Severity level of the violation. Usually set from the last policy infraction's severity.",
14398
+ },
14399
+ strikeCount: {
14400
+ type: 'integer',
14401
+ description: "Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity.",
14402
+ },
14329
14403
  },
14330
14404
  },
14331
14405
  modEventResolveAppeal: {
@@ -14558,6 +14632,27 @@ exports.schemaDict = {
14558
14632
  type: 'string',
14559
14633
  description: 'Additional comment about the outgoing comm.',
14560
14634
  },
14635
+ policies: {
14636
+ type: 'array',
14637
+ maxLength: 5,
14638
+ items: {
14639
+ type: 'string',
14640
+ },
14641
+ description: 'Names/Keywords of the policies that necessitated the email.',
14642
+ },
14643
+ severityLevel: {
14644
+ type: 'string',
14645
+ description: "Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense",
14646
+ },
14647
+ strikeCount: {
14648
+ type: 'integer',
14649
+ description: 'Number of strikes to assign to the user for this violation. Normally 0 as an indicator of a warning and only added as a strike on a repeat offense.',
14650
+ },
14651
+ strikeExpiresAt: {
14652
+ type: 'string',
14653
+ format: 'datetime',
14654
+ description: 'When the strike should expire. If not provided, the strike never expires.',
14655
+ },
14561
14656
  },
14562
14657
  },
14563
14658
  modEventDivert: {
@@ -15912,6 +16007,10 @@ exports.schemaDict = {
15912
16007
  'blocked',
15913
16008
  ],
15914
16009
  },
16010
+ withStrike: {
16011
+ type: 'boolean',
16012
+ description: 'If specified, only events where strikeCount value is set are returned.',
16013
+ },
15915
16014
  cursor: {
15916
16015
  type: 'string',
15917
16016
  },
@@ -16124,6 +16223,11 @@ exports.schemaDict = {
16124
16223
  type: 'integer',
16125
16224
  description: 'If specified, only subjects that have priority score value above the given value will be returned.',
16126
16225
  },
16226
+ minStrikeCount: {
16227
+ type: 'integer',
16228
+ minimum: 1,
16229
+ description: 'If specified, only subjects that belong to an account that has at least this many active strikes will be returned.',
16230
+ },
16127
16231
  ageAssuranceState: {
16128
16232
  type: 'string',
16129
16233
  description: 'If specified, only subjects with the given age assurance state will be returned.',