@atproto/ozone 0.2.23 → 0.2.25

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 (112) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/api/queue/createQueue.d.ts.map +1 -1
  3. package/dist/api/queue/createQueue.js +3 -1
  4. package/dist/api/queue/createQueue.js.map +1 -1
  5. package/dist/api/queue/updateQueue.d.ts.map +1 -1
  6. package/dist/api/queue/updateQueue.js +8 -3
  7. package/dist/api/queue/updateQueue.js.map +1 -1
  8. package/dist/api/report/createReport.js +7 -5
  9. package/dist/api/report/createReport.js.map +1 -1
  10. package/dist/api/util.d.ts.map +1 -1
  11. package/dist/api/util.js.map +1 -1
  12. package/dist/assignment/index.d.ts +1 -0
  13. package/dist/assignment/index.d.ts.map +1 -1
  14. package/dist/assignment/index.js +5 -0
  15. package/dist/assignment/index.js.map +1 -1
  16. package/dist/db/index.d.ts +3 -4
  17. package/dist/db/index.d.ts.map +1 -1
  18. package/dist/db/index.js +0 -2
  19. package/dist/db/index.js.map +1 -1
  20. package/dist/db/migrations/20260731T000000000Z-add-recommended-policies-to-report-queue.d.ts +4 -0
  21. package/dist/db/migrations/20260731T000000000Z-add-recommended-policies-to-report-queue.d.ts.map +1 -0
  22. package/dist/db/migrations/20260731T000000000Z-add-recommended-policies-to-report-queue.js +14 -0
  23. package/dist/db/migrations/20260731T000000000Z-add-recommended-policies-to-report-queue.js.map +1 -0
  24. package/dist/db/migrations/index.d.ts +1 -0
  25. package/dist/db/migrations/index.d.ts.map +1 -1
  26. package/dist/db/migrations/index.js +1 -0
  27. package/dist/db/migrations/index.js.map +1 -1
  28. package/dist/db/schema/report_queue.d.ts +1 -0
  29. package/dist/db/schema/report_queue.d.ts.map +1 -1
  30. package/dist/db/schema/report_queue.js.map +1 -1
  31. package/dist/db/types.d.ts.map +1 -1
  32. package/dist/db/types.js.map +1 -1
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +2 -3
  35. package/dist/index.js.map +1 -1
  36. package/dist/jetstream/service.d.ts +4 -3
  37. package/dist/jetstream/service.d.ts.map +1 -1
  38. package/dist/jetstream/service.js +46 -22
  39. package/dist/jetstream/service.js.map +1 -1
  40. package/dist/lexicon/lexicons.d.ts +118 -10
  41. package/dist/lexicon/lexicons.d.ts.map +1 -1
  42. package/dist/lexicon/lexicons.js +62 -5
  43. package/dist/lexicon/lexicons.js.map +1 -1
  44. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +5 -0
  45. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  46. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  47. package/dist/lexicon/types/app/bsky/ageassurance/begin.d.ts.map +1 -1
  48. package/dist/lexicon/types/app/bsky/ageassurance/begin.js.map +1 -1
  49. package/dist/lexicon/types/app/bsky/ageassurance/defs.d.ts.map +1 -1
  50. package/dist/lexicon/types/app/bsky/ageassurance/defs.js.map +1 -1
  51. package/dist/lexicon/types/app/bsky/draft/defs.d.ts.map +1 -1
  52. package/dist/lexicon/types/app/bsky/draft/defs.js.map +1 -1
  53. package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
  54. package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
  55. package/dist/lexicon/types/app/bsky/graph/muteActor.d.ts +4 -0
  56. package/dist/lexicon/types/app/bsky/graph/muteActor.d.ts.map +1 -1
  57. package/dist/lexicon/types/app/bsky/graph/muteActor.js.map +1 -1
  58. package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +5 -1
  59. package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
  60. package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
  61. package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
  62. package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
  63. package/dist/lexicon/types/chat/bsky/group/createGroup.d.ts +1 -0
  64. package/dist/lexicon/types/chat/bsky/group/createGroup.d.ts.map +1 -1
  65. package/dist/lexicon/types/chat/bsky/group/createGroup.js.map +1 -1
  66. package/dist/lexicon/types/chat/bsky/group/enableJoinLink.d.ts.map +1 -1
  67. package/dist/lexicon/types/chat/bsky/group/enableJoinLink.js.map +1 -1
  68. package/dist/lexicon/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
  69. package/dist/lexicon/types/com/atproto/repo/applyWrites.js.map +1 -1
  70. package/dist/lexicon/types/com/atproto/sync/defs.d.ts.map +1 -1
  71. package/dist/lexicon/types/com/atproto/sync/defs.js.map +1 -1
  72. package/dist/lexicon/types/com/atproto/temp/checkHandleAvailability.d.ts.map +1 -1
  73. package/dist/lexicon/types/com/atproto/temp/checkHandleAvailability.js.map +1 -1
  74. package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
  75. package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
  76. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
  77. package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js.map +1 -1
  78. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
  79. package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
  80. package/dist/lexicon/types/tools/ozone/queue/createQueue.d.ts +3 -1
  81. package/dist/lexicon/types/tools/ozone/queue/createQueue.d.ts.map +1 -1
  82. package/dist/lexicon/types/tools/ozone/queue/createQueue.js.map +1 -1
  83. package/dist/lexicon/types/tools/ozone/queue/defs.d.ts +2 -0
  84. package/dist/lexicon/types/tools/ozone/queue/defs.d.ts.map +1 -1
  85. package/dist/lexicon/types/tools/ozone/queue/defs.js.map +1 -1
  86. package/dist/lexicon/types/tools/ozone/queue/updateQueue.d.ts +3 -0
  87. package/dist/lexicon/types/tools/ozone/queue/updateQueue.d.ts.map +1 -1
  88. package/dist/lexicon/types/tools/ozone/queue/updateQueue.js.map +1 -1
  89. package/dist/lexicon/types/tools/ozone/report/defs.d.ts.map +1 -1
  90. package/dist/lexicon/types/tools/ozone/report/defs.js.map +1 -1
  91. package/dist/lexicon/types/tools/ozone/report/queryReports.d.ts.map +1 -1
  92. package/dist/lexicon/types/tools/ozone/report/queryReports.js.map +1 -1
  93. package/dist/mod-service/index.d.ts +0 -39
  94. package/dist/mod-service/index.d.ts.map +1 -1
  95. package/dist/mod-service/index.js +0 -11
  96. package/dist/mod-service/index.js.map +1 -1
  97. package/dist/mod-service/subject.d.ts.map +1 -1
  98. package/dist/mod-service/subject.js.map +1 -1
  99. package/dist/mod-service/types.d.ts.map +1 -1
  100. package/dist/mod-service/types.js.map +1 -1
  101. package/dist/mod-service/views.d.ts.map +1 -1
  102. package/dist/mod-service/views.js.map +1 -1
  103. package/dist/queue/service.d.ts +4 -1
  104. package/dist/queue/service.d.ts.map +1 -1
  105. package/dist/queue/service.js +27 -2
  106. package/dist/queue/service.js.map +1 -1
  107. package/dist/report/stats.js +3 -3
  108. package/dist/report/stats.js.map +1 -1
  109. package/dist/sequencer/sequencer.d.ts +5 -6
  110. package/dist/sequencer/sequencer.d.ts.map +1 -1
  111. package/dist/sequencer/sequencer.js.map +1 -1
  112. package/package.json +12 -13
@@ -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. Many different OP threads can happen in the same thread.',
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
- maxLength: 49,
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',
@@ -22253,6 +22279,13 @@ export const schemaDict = {
22253
22279
  type: 'string',
22254
22280
  description: 'Optional description of the queue',
22255
22281
  },
22282
+ recommendedPolicies: {
22283
+ type: 'array',
22284
+ items: {
22285
+ type: 'string',
22286
+ },
22287
+ description: 'Policy keys to recommend when actioning reports in this queue',
22288
+ },
22256
22289
  },
22257
22290
  },
22258
22291
  },
@@ -22270,6 +22303,10 @@ export const schemaDict = {
22270
22303
  },
22271
22304
  },
22272
22305
  errors: [
22306
+ {
22307
+ name: 'InvalidRecommendedPolicies',
22308
+ description: 'One or more recommended policy keys do not exist in the configured policy list',
22309
+ },
22273
22310
  {
22274
22311
  name: 'ConflictingQueue',
22275
22312
  description: 'The queue configuration conflicts with an existing queue',
@@ -22326,6 +22363,13 @@ export const schemaDict = {
22326
22363
  type: 'string',
22327
22364
  description: 'Optional description of the queue',
22328
22365
  },
22366
+ recommendedPolicies: {
22367
+ type: 'array',
22368
+ items: {
22369
+ type: 'string',
22370
+ },
22371
+ description: 'Policy keys recommended when actioning reports in this queue',
22372
+ },
22329
22373
  createdBy: {
22330
22374
  type: 'string',
22331
22375
  format: 'did',
@@ -22681,7 +22725,7 @@ export const schemaDict = {
22681
22725
  defs: {
22682
22726
  main: {
22683
22727
  type: 'procedure',
22684
- description: 'Update queue properties. Currently only supports updating the name and enabled status to prevent configuration conflicts.',
22728
+ description: 'Update queue properties.',
22685
22729
  input: {
22686
22730
  encoding: 'application/json',
22687
22731
  schema: {
@@ -22704,6 +22748,13 @@ export const schemaDict = {
22704
22748
  type: 'string',
22705
22749
  description: 'Optional description of the queue',
22706
22750
  },
22751
+ recommendedPolicies: {
22752
+ type: 'array',
22753
+ items: {
22754
+ type: 'string',
22755
+ },
22756
+ description: 'Policy keys to recommend when actioning reports in this queue',
22757
+ },
22707
22758
  },
22708
22759
  },
22709
22760
  },
@@ -22720,6 +22771,12 @@ export const schemaDict = {
22720
22771
  },
22721
22772
  },
22722
22773
  },
22774
+ errors: [
22775
+ {
22776
+ name: 'InvalidRecommendedPolicies',
22777
+ description: 'One or more recommended policy keys do not exist in the configured policy list',
22778
+ },
22779
+ ],
22723
22780
  },
22724
22781
  },
22725
22782
  },