@atproto/bsky 0.0.280 → 0.0.281

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 (90) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/api/app/bsky/bookmark/getBookmarks.js +1 -1
  3. package/dist/api/app/bsky/bookmark/getBookmarks.js.map +1 -1
  4. package/dist/api/app/bsky/contact/getMatches.js +1 -1
  5. package/dist/api/app/bsky/contact/getMatches.js.map +1 -1
  6. package/dist/api/app/bsky/graph/getBlocks.js +1 -1
  7. package/dist/api/app/bsky/graph/getBlocks.js.map +1 -1
  8. package/dist/api/app/bsky/graph/getFollowers.js +1 -1
  9. package/dist/api/app/bsky/graph/getFollowers.js.map +1 -1
  10. package/dist/api/app/bsky/graph/getFollows.js +1 -1
  11. package/dist/api/app/bsky/graph/getFollows.js.map +1 -1
  12. package/dist/api/app/bsky/graph/getKnownFollowers.d.ts.map +1 -1
  13. package/dist/api/app/bsky/graph/getKnownFollowers.js +12 -7
  14. package/dist/api/app/bsky/graph/getKnownFollowers.js.map +1 -1
  15. package/dist/api/app/bsky/graph/getList.js +1 -1
  16. package/dist/api/app/bsky/graph/getList.js.map +1 -1
  17. package/dist/api/app/bsky/graph/getListBlocks.js +1 -1
  18. package/dist/api/app/bsky/graph/getListBlocks.js.map +1 -1
  19. package/dist/api/app/bsky/graph/getListMutes.js +1 -1
  20. package/dist/api/app/bsky/graph/getListMutes.js.map +1 -1
  21. package/dist/api/app/bsky/graph/getMutes.js +1 -1
  22. package/dist/api/app/bsky/graph/getMutes.js.map +1 -1
  23. package/dist/api/app/bsky/graph/getStarterPacksWithMembership.js +1 -1
  24. package/dist/api/app/bsky/graph/getStarterPacksWithMembership.js.map +1 -1
  25. package/dist/api/app/bsky/notification/getPreferences.d.ts +1 -1
  26. package/dist/api/app/bsky/notification/getPreferences.d.ts.map +1 -1
  27. package/dist/api/app/bsky/notification/getPreferences.js +2 -18
  28. package/dist/api/app/bsky/notification/getPreferences.js.map +1 -1
  29. package/dist/api/app/bsky/notification/listActivitySubscriptions.js +1 -1
  30. package/dist/api/app/bsky/notification/listActivitySubscriptions.js.map +1 -1
  31. package/dist/api/app/bsky/notification/listNotifications.d.ts.map +1 -1
  32. package/dist/api/app/bsky/notification/listNotifications.js +3 -18
  33. package/dist/api/app/bsky/notification/listNotifications.js.map +1 -1
  34. package/dist/api/app/bsky/notification/putPreferences.d.ts.map +1 -1
  35. package/dist/api/app/bsky/notification/putPreferences.js +14 -2
  36. package/dist/api/app/bsky/notification/putPreferences.js.map +1 -1
  37. package/dist/api/app/bsky/notification/putPreferencesV2.d.ts +1 -1
  38. package/dist/api/app/bsky/notification/putPreferencesV2.d.ts.map +1 -1
  39. package/dist/api/app/bsky/notification/putPreferencesV2.js +3 -15
  40. package/dist/api/app/bsky/notification/putPreferencesV2.js.map +1 -1
  41. package/dist/api/app/bsky/notification/util.d.ts +5 -0
  42. package/dist/api/app/bsky/notification/util.d.ts.map +1 -1
  43. package/dist/api/app/bsky/notification/util.js +39 -0
  44. package/dist/api/app/bsky/notification/util.js.map +1 -1
  45. package/dist/api/util.js +2 -2
  46. package/dist/api/util.js.map +1 -1
  47. package/dist/data-plane/server/bsync-subscription.d.ts +0 -3
  48. package/dist/data-plane/server/bsync-subscription.d.ts.map +1 -1
  49. package/dist/data-plane/server/bsync-subscription.js +1 -27
  50. package/dist/data-plane/server/bsync-subscription.js.map +1 -1
  51. package/dist/data-plane/server/db/migrations/20260918T214110000Z-remove-priority-notifs.d.ts +4 -0
  52. package/dist/data-plane/server/db/migrations/20260918T214110000Z-remove-priority-notifs.d.ts.map +1 -0
  53. package/dist/data-plane/server/db/migrations/20260918T214110000Z-remove-priority-notifs.js +13 -0
  54. package/dist/data-plane/server/db/migrations/20260918T214110000Z-remove-priority-notifs.js.map +1 -0
  55. package/dist/data-plane/server/db/migrations/index.d.ts +1 -0
  56. package/dist/data-plane/server/db/migrations/index.d.ts.map +1 -1
  57. package/dist/data-plane/server/db/migrations/index.js +1 -0
  58. package/dist/data-plane/server/db/migrations/index.js.map +1 -1
  59. package/dist/data-plane/server/db/tables/actor-state.d.ts +0 -1
  60. package/dist/data-plane/server/db/tables/actor-state.d.ts.map +1 -1
  61. package/dist/data-plane/server/db/tables/actor-state.js.map +1 -1
  62. package/dist/data-plane/server/routes/follows.d.ts.map +1 -1
  63. package/dist/data-plane/server/routes/follows.js +57 -22
  64. package/dist/data-plane/server/routes/follows.js.map +1 -1
  65. package/dist/data-plane/server/routes/notifs.d.ts.map +1 -1
  66. package/dist/data-plane/server/routes/notifs.js +2 -12
  67. package/dist/data-plane/server/routes/notifs.js.map +1 -1
  68. package/dist/data-plane/server/routes/profile.js +0 -3
  69. package/dist/data-plane/server/routes/profile.js.map +1 -1
  70. package/dist/hydration/actor.d.ts +0 -1
  71. package/dist/hydration/actor.d.ts.map +1 -1
  72. package/dist/hydration/actor.js +8 -10
  73. package/dist/hydration/actor.js.map +1 -1
  74. package/dist/proto/bsky_connect.d.ts +10 -1
  75. package/dist/proto/bsky_connect.d.ts.map +1 -1
  76. package/dist/proto/bsky_connect.js +10 -1
  77. package/dist/proto/bsky_connect.js.map +1 -1
  78. package/dist/proto/bsky_pb.d.ts +79 -12
  79. package/dist/proto/bsky_pb.d.ts.map +1 -1
  80. package/dist/proto/bsky_pb.js +125 -15
  81. package/dist/proto/bsky_pb.js.map +1 -1
  82. package/dist/proto/bsync_connect.d.ts +1 -10
  83. package/dist/proto/bsync_connect.d.ts.map +1 -1
  84. package/dist/proto/bsync_connect.js +1 -10
  85. package/dist/proto/bsync_connect.js.map +1 -1
  86. package/dist/proto/bsync_pb.d.ts +0 -38
  87. package/dist/proto/bsync_pb.d.ts.map +1 -1
  88. package/dist/proto/bsync_pb.js +0 -57
  89. package/dist/proto/bsync_pb.js.map +1 -1
  90. package/package.json +11 -12
@@ -3284,10 +3284,6 @@ export class ActorInfo extends Message {
3284
3284
  * @generated from field: string upstream_status = 9;
3285
3285
  */
3286
3286
  this.upstreamStatus = "";
3287
- /**
3288
- * @generated from field: bool priority_notifications = 11;
3289
- */
3290
- this.priorityNotifications = false;
3291
3287
  /**
3292
3288
  * @generated from field: double pagerank = 12;
3293
3289
  */
@@ -3335,7 +3331,6 @@ export class ActorInfo extends Message {
3335
3331
  { no: 8, name: "allow_incoming_chats_from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3336
3332
  { no: 9, name: "upstream_status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3337
3333
  { no: 10, name: "created_at", kind: "message", T: Timestamp },
3338
- { no: 11, name: "priority_notifications", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3339
3334
  { no: 12, name: "pagerank", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
3340
3335
  { no: 13, name: "trusted_verifier", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
3341
3336
  { no: 14, name: "verified_by", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: VerificationMeta } },
@@ -5288,10 +5283,6 @@ export class GetNotificationsRequest extends Message {
5288
5283
  * @generated from field: string cursor = 3;
5289
5284
  */
5290
5285
  this.cursor = "";
5291
- /**
5292
- * @generated from field: bool priority = 4;
5293
- */
5294
- this.priority = false;
5295
5286
  proto3.util.initPartial(data, this);
5296
5287
  }
5297
5288
  static { this.runtime = proto3; }
@@ -5300,7 +5291,6 @@ export class GetNotificationsRequest extends Message {
5300
5291
  { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5301
5292
  { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
5302
5293
  { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5303
- { no: 4, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
5304
5294
  ]); }
5305
5295
  static fromBinary(bytes, options) {
5306
5296
  return new GetNotificationsRequest().fromBinary(bytes, options);
@@ -5337,10 +5327,6 @@ export class Notification extends Message {
5337
5327
  * @generated from field: string reason_subject = 4;
5338
5328
  */
5339
5329
  this.reasonSubject = "";
5340
- /**
5341
- * @generated from field: bool priority = 6;
5342
- */
5343
- this.priority = false;
5344
5330
  proto3.util.initPartial(data, this);
5345
5331
  }
5346
5332
  static { this.runtime = proto3; }
@@ -5351,7 +5337,6 @@ export class Notification extends Message {
5351
5337
  { no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5352
5338
  { no: 4, name: "reason_subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
5353
5339
  { no: 5, name: "timestamp", kind: "message", T: Timestamp },
5354
- { no: 6, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
5355
5340
  ]); }
5356
5341
  static fromBinary(bytes, options) {
5357
5342
  return new Notification().fromBinary(bytes, options);
@@ -8527,6 +8512,14 @@ export class GetFollowsFollowingRequest extends Message {
8527
8512
  * @generated from field: repeated string target_dids = 2;
8528
8513
  */
8529
8514
  this.targetDids = [];
8515
+ /**
8516
+ * @generated from field: int32 limit = 3;
8517
+ */
8518
+ this.limit = 0;
8519
+ /**
8520
+ * @generated from field: string cursor = 4;
8521
+ */
8522
+ this.cursor = "";
8530
8523
  proto3.util.initPartial(data, this);
8531
8524
  }
8532
8525
  static { this.runtime = proto3; }
@@ -8534,6 +8527,8 @@ export class GetFollowsFollowingRequest extends Message {
8534
8527
  static { this.fields = proto3.util.newFieldList(() => [
8535
8528
  { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8536
8529
  { no: 2, name: "target_dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
8530
+ { no: 3, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
8531
+ { no: 4, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8537
8532
  ]); }
8538
8533
  static fromBinary(bytes, options) {
8539
8534
  return new GetFollowsFollowingRequest().fromBinary(bytes, options);
@@ -8562,6 +8557,10 @@ export class FollowsFollowing extends Message {
8562
8557
  * @generated from field: repeated string dids = 2;
8563
8558
  */
8564
8559
  this.dids = [];
8560
+ /**
8561
+ * @generated from field: string cursor = 3;
8562
+ */
8563
+ this.cursor = "";
8565
8564
  proto3.util.initPartial(data, this);
8566
8565
  }
8567
8566
  static { this.runtime = proto3; }
@@ -8569,6 +8568,7 @@ export class FollowsFollowing extends Message {
8569
8568
  static { this.fields = proto3.util.newFieldList(() => [
8570
8569
  { no: 1, name: "target_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8571
8570
  { no: 2, name: "dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
8571
+ { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8572
8572
  ]); }
8573
8573
  static fromBinary(bytes, options) {
8574
8574
  return new FollowsFollowing().fromBinary(bytes, options);
@@ -8613,6 +8613,116 @@ export class GetFollowsFollowingResponse extends Message {
8613
8613
  return proto3.util.equals(GetFollowsFollowingResponse, a, b);
8614
8614
  }
8615
8615
  }
8616
+ /**
8617
+ * @generated from message bsky.SampleFollowsFollowingRequest
8618
+ */
8619
+ export class SampleFollowsFollowingRequest extends Message {
8620
+ constructor(data) {
8621
+ super();
8622
+ /**
8623
+ * @generated from field: string actor_did = 1;
8624
+ */
8625
+ this.actorDid = "";
8626
+ /**
8627
+ * @generated from field: repeated string target_dids = 2;
8628
+ */
8629
+ this.targetDids = [];
8630
+ /**
8631
+ * @generated from field: int32 limit = 3;
8632
+ */
8633
+ this.limit = 0;
8634
+ proto3.util.initPartial(data, this);
8635
+ }
8636
+ static { this.runtime = proto3; }
8637
+ static { this.typeName = "bsky.SampleFollowsFollowingRequest"; }
8638
+ static { this.fields = proto3.util.newFieldList(() => [
8639
+ { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8640
+ { no: 2, name: "target_dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
8641
+ { no: 3, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
8642
+ ]); }
8643
+ static fromBinary(bytes, options) {
8644
+ return new SampleFollowsFollowingRequest().fromBinary(bytes, options);
8645
+ }
8646
+ static fromJson(jsonValue, options) {
8647
+ return new SampleFollowsFollowingRequest().fromJson(jsonValue, options);
8648
+ }
8649
+ static fromJsonString(jsonString, options) {
8650
+ return new SampleFollowsFollowingRequest().fromJsonString(jsonString, options);
8651
+ }
8652
+ static equals(a, b) {
8653
+ return proto3.util.equals(SampleFollowsFollowingRequest, a, b);
8654
+ }
8655
+ }
8656
+ /**
8657
+ * @generated from message bsky.SampledFollowsFollowing
8658
+ */
8659
+ export class SampledFollowsFollowing extends Message {
8660
+ constructor(data) {
8661
+ super();
8662
+ /**
8663
+ * @generated from field: string target_did = 1;
8664
+ */
8665
+ this.targetDid = "";
8666
+ /**
8667
+ * @generated from field: repeated string dids = 2;
8668
+ */
8669
+ this.dids = [];
8670
+ /**
8671
+ * @generated from field: int32 total_known = 3;
8672
+ */
8673
+ this.totalKnown = 0;
8674
+ proto3.util.initPartial(data, this);
8675
+ }
8676
+ static { this.runtime = proto3; }
8677
+ static { this.typeName = "bsky.SampledFollowsFollowing"; }
8678
+ static { this.fields = proto3.util.newFieldList(() => [
8679
+ { no: 1, name: "target_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
8680
+ { no: 2, name: "dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
8681
+ { no: 3, name: "total_known", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
8682
+ ]); }
8683
+ static fromBinary(bytes, options) {
8684
+ return new SampledFollowsFollowing().fromBinary(bytes, options);
8685
+ }
8686
+ static fromJson(jsonValue, options) {
8687
+ return new SampledFollowsFollowing().fromJson(jsonValue, options);
8688
+ }
8689
+ static fromJsonString(jsonString, options) {
8690
+ return new SampledFollowsFollowing().fromJsonString(jsonString, options);
8691
+ }
8692
+ static equals(a, b) {
8693
+ return proto3.util.equals(SampledFollowsFollowing, a, b);
8694
+ }
8695
+ }
8696
+ /**
8697
+ * @generated from message bsky.SampleFollowsFollowingResponse
8698
+ */
8699
+ export class SampleFollowsFollowingResponse extends Message {
8700
+ constructor(data) {
8701
+ super();
8702
+ /**
8703
+ * @generated from field: repeated bsky.SampledFollowsFollowing results = 1;
8704
+ */
8705
+ this.results = [];
8706
+ proto3.util.initPartial(data, this);
8707
+ }
8708
+ static { this.runtime = proto3; }
8709
+ static { this.typeName = "bsky.SampleFollowsFollowingResponse"; }
8710
+ static { this.fields = proto3.util.newFieldList(() => [
8711
+ { no: 1, name: "results", kind: "message", T: SampledFollowsFollowing, repeated: true },
8712
+ ]); }
8713
+ static fromBinary(bytes, options) {
8714
+ return new SampleFollowsFollowingResponse().fromBinary(bytes, options);
8715
+ }
8716
+ static fromJson(jsonValue, options) {
8717
+ return new SampleFollowsFollowingResponse().fromJson(jsonValue, options);
8718
+ }
8719
+ static fromJsonString(jsonString, options) {
8720
+ return new SampleFollowsFollowingResponse().fromJsonString(jsonString, options);
8721
+ }
8722
+ static equals(a, b) {
8723
+ return proto3.util.equals(SampleFollowsFollowingResponse, a, b);
8724
+ }
8725
+ }
8616
8726
  /**
8617
8727
  * @generated from message bsky.GetSitemapIndexRequest
8618
8728
  */