@atproto/bsky 0.1.1 → 0.1.3

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 (97) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/api/app/bsky/actor/getSuggestions.d.ts.map +1 -1
  3. package/dist/api/app/bsky/actor/getSuggestions.js +9 -3
  4. package/dist/api/app/bsky/actor/getSuggestions.js.map +1 -1
  5. package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
  6. package/dist/api/app/bsky/feed/getFeed.js +44 -15
  7. package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
  8. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +1 -1
  9. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js +7 -3
  10. package/dist/api/app/bsky/graph/getSuggestedFollowsByActor.js.map +1 -1
  11. package/dist/api/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.d.ts.map +1 -1
  12. package/dist/api/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js +13 -4
  13. package/dist/api/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.js.map +1 -1
  14. package/dist/api/app/bsky/unspecced/getSuggestedFeeds.d.ts.map +1 -1
  15. package/dist/api/app/bsky/unspecced/getSuggestedFeeds.js +12 -4
  16. package/dist/api/app/bsky/unspecced/getSuggestedFeeds.js.map +1 -1
  17. package/dist/api/app/bsky/unspecced/getSuggestedOnboardingUsers.d.ts.map +1 -1
  18. package/dist/api/app/bsky/unspecced/getSuggestedOnboardingUsers.js +10 -3
  19. package/dist/api/app/bsky/unspecced/getSuggestedOnboardingUsers.js.map +1 -1
  20. package/dist/api/app/bsky/unspecced/getSuggestedStarterPacks.d.ts.map +1 -1
  21. package/dist/api/app/bsky/unspecced/getSuggestedStarterPacks.js +13 -4
  22. package/dist/api/app/bsky/unspecced/getSuggestedStarterPacks.js.map +1 -1
  23. package/dist/api/app/bsky/unspecced/getSuggestedUsers.js +18 -0
  24. package/dist/api/app/bsky/unspecced/getSuggestedUsers.js.map +1 -1
  25. package/dist/api/app/bsky/unspecced/getSuggestedUsersForDiscover.js +17 -0
  26. package/dist/api/app/bsky/unspecced/getSuggestedUsersForDiscover.js.map +1 -1
  27. package/dist/api/app/bsky/unspecced/getSuggestedUsersForExplore.js +18 -0
  28. package/dist/api/app/bsky/unspecced/getSuggestedUsersForExplore.js.map +1 -1
  29. package/dist/api/app/bsky/unspecced/getSuggestedUsersForSeeMore.js +18 -0
  30. package/dist/api/app/bsky/unspecced/getSuggestedUsersForSeeMore.js.map +1 -1
  31. package/dist/config.d.ts +8 -0
  32. package/dist/config.d.ts.map +1 -1
  33. package/dist/config.js +22 -0
  34. package/dist/config.js.map +1 -1
  35. package/dist/data-plane/server/routes/atmosphere.d.ts +5 -0
  36. package/dist/data-plane/server/routes/atmosphere.d.ts.map +1 -0
  37. package/dist/data-plane/server/routes/atmosphere.js +24 -0
  38. package/dist/data-plane/server/routes/atmosphere.js.map +1 -0
  39. package/dist/data-plane/server/routes/index.js +2 -2
  40. package/dist/data-plane/server/routes/index.js.map +1 -1
  41. package/dist/feature-gates/gates.d.ts +10 -0
  42. package/dist/feature-gates/gates.d.ts.map +1 -1
  43. package/dist/feature-gates/gates.js +10 -0
  44. package/dist/feature-gates/gates.js.map +1 -1
  45. package/dist/feature-gates/index.js +2 -2
  46. package/dist/feature-gates/index.js.map +1 -1
  47. package/dist/hydration/external.d.ts +65 -2
  48. package/dist/hydration/external.d.ts.map +1 -1
  49. package/dist/hydration/external.js +220 -29
  50. package/dist/hydration/external.js.map +1 -1
  51. package/dist/hydration/hydrator.d.ts.map +1 -1
  52. package/dist/hydration/hydrator.js +7 -7
  53. package/dist/hydration/hydrator.js.map +1 -1
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +3 -0
  56. package/dist/index.js.map +1 -1
  57. package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.defs.d.ts +2 -0
  58. package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.defs.d.ts.map +1 -1
  59. package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.defs.js +1 -0
  60. package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.defs.js.map +1 -1
  61. package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.defs.d.ts +2 -0
  62. package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.defs.d.ts.map +1 -1
  63. package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.defs.js +1 -0
  64. package/dist/lexicons/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.defs.js.map +1 -1
  65. package/dist/lexicons/app/bsky/unspecced/getSuggestedFeeds.defs.d.ts +2 -0
  66. package/dist/lexicons/app/bsky/unspecced/getSuggestedFeeds.defs.d.ts.map +1 -1
  67. package/dist/lexicons/app/bsky/unspecced/getSuggestedFeeds.defs.js +1 -0
  68. package/dist/lexicons/app/bsky/unspecced/getSuggestedFeeds.defs.js.map +1 -1
  69. package/dist/lexicons/app/bsky/unspecced/getSuggestedFeedsSkeleton.defs.d.ts +2 -0
  70. package/dist/lexicons/app/bsky/unspecced/getSuggestedFeedsSkeleton.defs.d.ts.map +1 -1
  71. package/dist/lexicons/app/bsky/unspecced/getSuggestedFeedsSkeleton.defs.js +1 -0
  72. package/dist/lexicons/app/bsky/unspecced/getSuggestedFeedsSkeleton.defs.js.map +1 -1
  73. package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacks.defs.d.ts +2 -0
  74. package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacks.defs.d.ts.map +1 -1
  75. package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacks.defs.js +1 -0
  76. package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacks.defs.js.map +1 -1
  77. package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.defs.d.ts +2 -0
  78. package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.defs.d.ts.map +1 -1
  79. package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.defs.js +1 -0
  80. package/dist/lexicons/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.defs.js.map +1 -1
  81. package/dist/proto/bsky_connect.d.ts +57 -21
  82. package/dist/proto/bsky_connect.d.ts.map +1 -1
  83. package/dist/proto/bsky_connect.js +57 -21
  84. package/dist/proto/bsky_connect.js.map +1 -1
  85. package/dist/proto/bsky_pb.d.ts +361 -72
  86. package/dist/proto/bsky_pb.d.ts.map +1 -1
  87. package/dist/proto/bsky_pb.js +529 -70
  88. package/dist/proto/bsky_pb.js.map +1 -1
  89. package/dist/util/standard-site.d.ts +0 -12
  90. package/dist/util/standard-site.d.ts.map +1 -1
  91. package/dist/util/standard-site.js +0 -14
  92. package/dist/util/standard-site.js.map +1 -1
  93. package/package.json +6 -6
  94. package/dist/data-plane/server/routes/site-standard.d.ts +0 -6
  95. package/dist/data-plane/server/routes/site-standard.d.ts.map +0 -1
  96. package/dist/data-plane/server/routes/site-standard.js +0 -9
  97. package/dist/data-plane/server/routes/site-standard.js.map +0 -1
@@ -192,6 +192,45 @@ proto3.util.setEnumType(SitemapPageType, "bsky.SitemapPageType", [
192
192
  { no: 0, name: "SITEMAP_PAGE_TYPE_UNSPECIFIED" },
193
193
  { no: 1, name: "SITEMAP_PAGE_TYPE_USER" },
194
194
  ]);
195
+ /**
196
+ * @generated from enum bsky.RecordLookupStatus
197
+ */
198
+ export var RecordLookupStatus;
199
+ (function (RecordLookupStatus) {
200
+ /**
201
+ * @generated from enum value: RECORD_LOOKUP_STATUS_UNSPECIFIED = 0;
202
+ */
203
+ RecordLookupStatus[RecordLookupStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
204
+ /**
205
+ * @generated from enum value: RECORD_LOOKUP_STATUS_FOUND = 1;
206
+ */
207
+ RecordLookupStatus[RecordLookupStatus["FOUND"] = 1] = "FOUND";
208
+ /**
209
+ * @generated from enum value: RECORD_LOOKUP_STATUS_NOT_FOUND = 2;
210
+ */
211
+ RecordLookupStatus[RecordLookupStatus["NOT_FOUND"] = 2] = "NOT_FOUND";
212
+ /**
213
+ * @generated from enum value: RECORD_LOOKUP_STATUS_TAKEN_DOWN = 3;
214
+ */
215
+ RecordLookupStatus[RecordLookupStatus["TAKEN_DOWN"] = 3] = "TAKEN_DOWN";
216
+ /**
217
+ * @generated from enum value: RECORD_LOOKUP_STATUS_INVALID_REF = 4;
218
+ */
219
+ RecordLookupStatus[RecordLookupStatus["INVALID_REF"] = 4] = "INVALID_REF";
220
+ /**
221
+ * @generated from enum value: RECORD_LOOKUP_STATUS_UNSUPPORTED_COLLECTION = 5;
222
+ */
223
+ RecordLookupStatus[RecordLookupStatus["UNSUPPORTED_COLLECTION"] = 5] = "UNSUPPORTED_COLLECTION";
224
+ })(RecordLookupStatus || (RecordLookupStatus = {}));
225
+ // Retrieve enum metadata with: proto3.getEnumType(RecordLookupStatus)
226
+ proto3.util.setEnumType(RecordLookupStatus, "bsky.RecordLookupStatus", [
227
+ { no: 0, name: "RECORD_LOOKUP_STATUS_UNSPECIFIED" },
228
+ { no: 1, name: "RECORD_LOOKUP_STATUS_FOUND" },
229
+ { no: 2, name: "RECORD_LOOKUP_STATUS_NOT_FOUND" },
230
+ { no: 3, name: "RECORD_LOOKUP_STATUS_TAKEN_DOWN" },
231
+ { no: 4, name: "RECORD_LOOKUP_STATUS_INVALID_REF" },
232
+ { no: 5, name: "RECORD_LOOKUP_STATUS_UNSUPPORTED_COLLECTION" },
233
+ ]);
195
234
  /**
196
235
  * @generated from message bsky.Record
197
236
  */
@@ -9092,184 +9131,604 @@ export class StashRef extends Message {
9092
9131
  }
9093
9132
  }
9094
9133
  /**
9095
- * Standard.site records
9134
+ * Generic records
9096
9135
  *
9097
- * @generated from message bsky.GetSiteStandardRecordsByURIRequest
9136
+ * @generated from message bsky.GetRecordsByRefRequest
9098
9137
  */
9099
- export class GetSiteStandardRecordsByURIRequest extends Message {
9138
+ export class GetRecordsByRefRequest extends Message {
9139
+ constructor(data) {
9140
+ super();
9141
+ /**
9142
+ * @generated from field: repeated bsky.RecordRef refs = 1;
9143
+ */
9144
+ this.refs = [];
9145
+ proto3.util.initPartial(data, this);
9146
+ }
9147
+ static { this.runtime = proto3; }
9148
+ static { this.typeName = "bsky.GetRecordsByRefRequest"; }
9149
+ static { this.fields = proto3.util.newFieldList(() => [
9150
+ { no: 1, name: "refs", kind: "message", T: RecordRef, repeated: true },
9151
+ ]); }
9152
+ static fromBinary(bytes, options) {
9153
+ return new GetRecordsByRefRequest().fromBinary(bytes, options);
9154
+ }
9155
+ static fromJson(jsonValue, options) {
9156
+ return new GetRecordsByRefRequest().fromJson(jsonValue, options);
9157
+ }
9158
+ static fromJsonString(jsonString, options) {
9159
+ return new GetRecordsByRefRequest().fromJsonString(jsonString, options);
9160
+ }
9161
+ static equals(a, b) {
9162
+ return proto3.util.equals(GetRecordsByRefRequest, a, b);
9163
+ }
9164
+ }
9165
+ /**
9166
+ * @generated from message bsky.RecordLookupResult
9167
+ */
9168
+ export class RecordLookupResult extends Message {
9169
+ constructor(data) {
9170
+ super();
9171
+ /**
9172
+ * @generated from field: bsky.RecordLookupStatus status = 3;
9173
+ */
9174
+ this.status = RecordLookupStatus.UNSPECIFIED;
9175
+ proto3.util.initPartial(data, this);
9176
+ }
9177
+ static { this.runtime = proto3; }
9178
+ static { this.typeName = "bsky.RecordLookupResult"; }
9179
+ static { this.fields = proto3.util.newFieldList(() => [
9180
+ { no: 1, name: "ref", kind: "message", T: RecordRef },
9181
+ { no: 2, name: "record", kind: "message", T: Record },
9182
+ { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(RecordLookupStatus) },
9183
+ ]); }
9184
+ static fromBinary(bytes, options) {
9185
+ return new RecordLookupResult().fromBinary(bytes, options);
9186
+ }
9187
+ static fromJson(jsonValue, options) {
9188
+ return new RecordLookupResult().fromJson(jsonValue, options);
9189
+ }
9190
+ static fromJsonString(jsonString, options) {
9191
+ return new RecordLookupResult().fromJsonString(jsonString, options);
9192
+ }
9193
+ static equals(a, b) {
9194
+ return proto3.util.equals(RecordLookupResult, a, b);
9195
+ }
9196
+ }
9197
+ /**
9198
+ * @generated from message bsky.GetRecordsByRefResponse
9199
+ */
9200
+ export class GetRecordsByRefResponse extends Message {
9201
+ constructor(data) {
9202
+ super();
9203
+ /**
9204
+ * @generated from field: repeated bsky.RecordLookupResult results = 1;
9205
+ */
9206
+ this.results = [];
9207
+ proto3.util.initPartial(data, this);
9208
+ }
9209
+ static { this.runtime = proto3; }
9210
+ static { this.typeName = "bsky.GetRecordsByRefResponse"; }
9211
+ static { this.fields = proto3.util.newFieldList(() => [
9212
+ { no: 1, name: "results", kind: "message", T: RecordLookupResult, repeated: true },
9213
+ ]); }
9214
+ static fromBinary(bytes, options) {
9215
+ return new GetRecordsByRefResponse().fromBinary(bytes, options);
9216
+ }
9217
+ static fromJson(jsonValue, options) {
9218
+ return new GetRecordsByRefResponse().fromJson(jsonValue, options);
9219
+ }
9220
+ static fromJsonString(jsonString, options) {
9221
+ return new GetRecordsByRefResponse().fromJsonString(jsonString, options);
9222
+ }
9223
+ static equals(a, b) {
9224
+ return proto3.util.equals(GetRecordsByRefResponse, a, b);
9225
+ }
9226
+ }
9227
+ /**
9228
+ * @generated from message bsky.GetRecordsByURIRequest
9229
+ */
9230
+ export class GetRecordsByURIRequest extends Message {
9100
9231
  constructor(data) {
9101
9232
  super();
9102
9233
  /**
9103
- * Mixed list of site.standard.document and site.standard.publication AT-URIs.
9104
- * URIs of other collections (or unparseable strings) are silently skipped.
9105
- *
9106
9234
  * @generated from field: repeated string uris = 1;
9107
9235
  */
9108
9236
  this.uris = [];
9109
9237
  proto3.util.initPartial(data, this);
9110
9238
  }
9111
9239
  static { this.runtime = proto3; }
9112
- static { this.typeName = "bsky.GetSiteStandardRecordsByURIRequest"; }
9240
+ static { this.typeName = "bsky.GetRecordsByURIRequest"; }
9113
9241
  static { this.fields = proto3.util.newFieldList(() => [
9114
9242
  { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
9115
9243
  ]); }
9116
9244
  static fromBinary(bytes, options) {
9117
- return new GetSiteStandardRecordsByURIRequest().fromBinary(bytes, options);
9245
+ return new GetRecordsByURIRequest().fromBinary(bytes, options);
9246
+ }
9247
+ static fromJson(jsonValue, options) {
9248
+ return new GetRecordsByURIRequest().fromJson(jsonValue, options);
9249
+ }
9250
+ static fromJsonString(jsonString, options) {
9251
+ return new GetRecordsByURIRequest().fromJsonString(jsonString, options);
9252
+ }
9253
+ static equals(a, b) {
9254
+ return proto3.util.equals(GetRecordsByURIRequest, a, b);
9255
+ }
9256
+ }
9257
+ /**
9258
+ * @generated from message bsky.GetRecordsByURIResponse
9259
+ */
9260
+ export class GetRecordsByURIResponse extends Message {
9261
+ constructor(data) {
9262
+ super();
9263
+ /**
9264
+ * @generated from field: repeated bsky.RecordLookupResult results = 1;
9265
+ */
9266
+ this.results = [];
9267
+ proto3.util.initPartial(data, this);
9268
+ }
9269
+ static { this.runtime = proto3; }
9270
+ static { this.typeName = "bsky.GetRecordsByURIResponse"; }
9271
+ static { this.fields = proto3.util.newFieldList(() => [
9272
+ { no: 1, name: "results", kind: "message", T: RecordLookupResult, repeated: true },
9273
+ ]); }
9274
+ static fromBinary(bytes, options) {
9275
+ return new GetRecordsByURIResponse().fromBinary(bytes, options);
9118
9276
  }
9119
9277
  static fromJson(jsonValue, options) {
9120
- return new GetSiteStandardRecordsByURIRequest().fromJson(jsonValue, options);
9278
+ return new GetRecordsByURIResponse().fromJson(jsonValue, options);
9121
9279
  }
9122
9280
  static fromJsonString(jsonString, options) {
9123
- return new GetSiteStandardRecordsByURIRequest().fromJsonString(jsonString, options);
9281
+ return new GetRecordsByURIResponse().fromJsonString(jsonString, options);
9124
9282
  }
9125
9283
  static equals(a, b) {
9126
- return proto3.util.equals(GetSiteStandardRecordsByURIRequest, a, b);
9284
+ return proto3.util.equals(GetRecordsByURIResponse, a, b);
9127
9285
  }
9128
9286
  }
9129
9287
  /**
9130
- * @generated from message bsky.GetSiteStandardRecordsByURIResponse
9288
+ * @generated from message bsky.AtmosphereActivityItem
9131
9289
  */
9132
- export class GetSiteStandardRecordsByURIResponse extends Message {
9290
+ export class AtmosphereActivityItem extends Message {
9133
9291
  constructor(data) {
9134
9292
  super();
9135
9293
  /**
9136
- * Latest indexed version of each requested document.
9294
+ * @generated from field: string uri = 1;
9295
+ */
9296
+ this.uri = "";
9297
+ proto3.util.initPartial(data, this);
9298
+ }
9299
+ static { this.runtime = proto3; }
9300
+ static { this.typeName = "bsky.AtmosphereActivityItem"; }
9301
+ static { this.fields = proto3.util.newFieldList(() => [
9302
+ { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9303
+ { no: 2, name: "sorted_at", kind: "message", T: Timestamp },
9304
+ ]); }
9305
+ static fromBinary(bytes, options) {
9306
+ return new AtmosphereActivityItem().fromBinary(bytes, options);
9307
+ }
9308
+ static fromJson(jsonValue, options) {
9309
+ return new AtmosphereActivityItem().fromJson(jsonValue, options);
9310
+ }
9311
+ static fromJsonString(jsonString, options) {
9312
+ return new AtmosphereActivityItem().fromJsonString(jsonString, options);
9313
+ }
9314
+ static equals(a, b) {
9315
+ return proto3.util.equals(AtmosphereActivityItem, a, b);
9316
+ }
9317
+ }
9318
+ /**
9319
+ * @generated from message bsky.GetAtmosphereTimelineRequest
9320
+ */
9321
+ export class GetAtmosphereTimelineRequest extends Message {
9322
+ constructor(data) {
9323
+ super();
9324
+ /**
9325
+ * @generated from field: string viewer_did = 1;
9326
+ */
9327
+ this.viewerDid = "";
9328
+ /**
9329
+ * @generated from field: int32 limit = 2;
9330
+ */
9331
+ this.limit = 0;
9332
+ /**
9333
+ * @generated from field: string cursor = 3;
9334
+ */
9335
+ this.cursor = "";
9336
+ proto3.util.initPartial(data, this);
9337
+ }
9338
+ static { this.runtime = proto3; }
9339
+ static { this.typeName = "bsky.GetAtmosphereTimelineRequest"; }
9340
+ static { this.fields = proto3.util.newFieldList(() => [
9341
+ { no: 1, name: "viewer_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9342
+ { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
9343
+ { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9344
+ ]); }
9345
+ static fromBinary(bytes, options) {
9346
+ return new GetAtmosphereTimelineRequest().fromBinary(bytes, options);
9347
+ }
9348
+ static fromJson(jsonValue, options) {
9349
+ return new GetAtmosphereTimelineRequest().fromJson(jsonValue, options);
9350
+ }
9351
+ static fromJsonString(jsonString, options) {
9352
+ return new GetAtmosphereTimelineRequest().fromJsonString(jsonString, options);
9353
+ }
9354
+ static equals(a, b) {
9355
+ return proto3.util.equals(GetAtmosphereTimelineRequest, a, b);
9356
+ }
9357
+ }
9358
+ /**
9359
+ * @generated from message bsky.GetAtmosphereTimelineResponse
9360
+ */
9361
+ export class GetAtmosphereTimelineResponse extends Message {
9362
+ constructor(data) {
9363
+ super();
9364
+ /**
9365
+ * @generated from field: repeated bsky.AtmosphereActivityItem items = 1;
9366
+ */
9367
+ this.items = [];
9368
+ /**
9369
+ * @generated from field: string cursor = 2;
9370
+ */
9371
+ this.cursor = "";
9372
+ proto3.util.initPartial(data, this);
9373
+ }
9374
+ static { this.runtime = proto3; }
9375
+ static { this.typeName = "bsky.GetAtmosphereTimelineResponse"; }
9376
+ static { this.fields = proto3.util.newFieldList(() => [
9377
+ { no: 1, name: "items", kind: "message", T: AtmosphereActivityItem, repeated: true },
9378
+ { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9379
+ ]); }
9380
+ static fromBinary(bytes, options) {
9381
+ return new GetAtmosphereTimelineResponse().fromBinary(bytes, options);
9382
+ }
9383
+ static fromJson(jsonValue, options) {
9384
+ return new GetAtmosphereTimelineResponse().fromJson(jsonValue, options);
9385
+ }
9386
+ static fromJsonString(jsonString, options) {
9387
+ return new GetAtmosphereTimelineResponse().fromJsonString(jsonString, options);
9388
+ }
9389
+ static equals(a, b) {
9390
+ return proto3.util.equals(GetAtmosphereTimelineResponse, a, b);
9391
+ }
9392
+ }
9393
+ /**
9394
+ * Atmosphere backlinks: records in a source collection that reference a
9395
+ * target AT-URI through a registered backlink path.
9396
+ *
9397
+ * @generated from message bsky.AtmosphereBacklink
9398
+ */
9399
+ export class AtmosphereBacklink extends Message {
9400
+ constructor(data) {
9401
+ super();
9402
+ /**
9403
+ * @generated from field: string uri = 1;
9404
+ */
9405
+ this.uri = "";
9406
+ proto3.util.initPartial(data, this);
9407
+ }
9408
+ static { this.runtime = proto3; }
9409
+ static { this.typeName = "bsky.AtmosphereBacklink"; }
9410
+ static { this.fields = proto3.util.newFieldList(() => [
9411
+ { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9412
+ { no: 2, name: "sorted_at", kind: "message", T: Timestamp },
9413
+ ]); }
9414
+ static fromBinary(bytes, options) {
9415
+ return new AtmosphereBacklink().fromBinary(bytes, options);
9416
+ }
9417
+ static fromJson(jsonValue, options) {
9418
+ return new AtmosphereBacklink().fromJson(jsonValue, options);
9419
+ }
9420
+ static fromJsonString(jsonString, options) {
9421
+ return new AtmosphereBacklink().fromJsonString(jsonString, options);
9422
+ }
9423
+ static equals(a, b) {
9424
+ return proto3.util.equals(AtmosphereBacklink, a, b);
9425
+ }
9426
+ }
9427
+ /**
9428
+ * @generated from message bsky.GetAtmosphereBacklinksRequest
9429
+ */
9430
+ export class GetAtmosphereBacklinksRequest extends Message {
9431
+ constructor(data) {
9432
+ super();
9433
+ /**
9434
+ * @generated from field: string target_uri = 1;
9435
+ */
9436
+ this.targetUri = "";
9437
+ /**
9438
+ * Source collection NSID, e.g. site.standard.graph.recommend.
9137
9439
  *
9138
- * @generated from field: repeated bsky.SiteStandardRecord documents = 1;
9440
+ * @generated from field: string collection = 2;
9441
+ */
9442
+ this.collection = "";
9443
+ /**
9444
+ * @generated from field: int32 limit = 3;
9139
9445
  */
9140
- this.documents = [];
9446
+ this.limit = 0;
9141
9447
  /**
9142
- * Latest indexed version of each requested publication AND each publication
9143
- * resolved from a document's `site` field. Each publication appears at most
9144
- * once across the two sources.
9448
+ * @generated from field: string cursor = 4;
9449
+ */
9450
+ this.cursor = "";
9451
+ proto3.util.initPartial(data, this);
9452
+ }
9453
+ static { this.runtime = proto3; }
9454
+ static { this.typeName = "bsky.GetAtmosphereBacklinksRequest"; }
9455
+ static { this.fields = proto3.util.newFieldList(() => [
9456
+ { no: 1, name: "target_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9457
+ { no: 2, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9458
+ { no: 3, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
9459
+ { no: 4, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9460
+ ]); }
9461
+ static fromBinary(bytes, options) {
9462
+ return new GetAtmosphereBacklinksRequest().fromBinary(bytes, options);
9463
+ }
9464
+ static fromJson(jsonValue, options) {
9465
+ return new GetAtmosphereBacklinksRequest().fromJson(jsonValue, options);
9466
+ }
9467
+ static fromJsonString(jsonString, options) {
9468
+ return new GetAtmosphereBacklinksRequest().fromJsonString(jsonString, options);
9469
+ }
9470
+ static equals(a, b) {
9471
+ return proto3.util.equals(GetAtmosphereBacklinksRequest, a, b);
9472
+ }
9473
+ }
9474
+ /**
9475
+ * @generated from message bsky.GetAtmosphereBacklinksResponse
9476
+ */
9477
+ export class GetAtmosphereBacklinksResponse extends Message {
9478
+ constructor(data) {
9479
+ super();
9480
+ /**
9481
+ * @generated from field: repeated bsky.AtmosphereBacklink backlinks = 1;
9482
+ */
9483
+ this.backlinks = [];
9484
+ /**
9485
+ * @generated from field: string cursor = 2;
9486
+ */
9487
+ this.cursor = "";
9488
+ proto3.util.initPartial(data, this);
9489
+ }
9490
+ static { this.runtime = proto3; }
9491
+ static { this.typeName = "bsky.GetAtmosphereBacklinksResponse"; }
9492
+ static { this.fields = proto3.util.newFieldList(() => [
9493
+ { no: 1, name: "backlinks", kind: "message", T: AtmosphereBacklink, repeated: true },
9494
+ { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9495
+ ]); }
9496
+ static fromBinary(bytes, options) {
9497
+ return new GetAtmosphereBacklinksResponse().fromBinary(bytes, options);
9498
+ }
9499
+ static fromJson(jsonValue, options) {
9500
+ return new GetAtmosphereBacklinksResponse().fromJson(jsonValue, options);
9501
+ }
9502
+ static fromJsonString(jsonString, options) {
9503
+ return new GetAtmosphereBacklinksResponse().fromJsonString(jsonString, options);
9504
+ }
9505
+ static equals(a, b) {
9506
+ return proto3.util.equals(GetAtmosphereBacklinksResponse, a, b);
9507
+ }
9508
+ }
9509
+ /**
9510
+ * @generated from message bsky.GetAtmosphereBacklinksByActorRequest
9511
+ */
9512
+ export class GetAtmosphereBacklinksByActorRequest extends Message {
9513
+ constructor(data) {
9514
+ super();
9515
+ /**
9516
+ * @generated from field: string actor_did = 1;
9517
+ */
9518
+ this.actorDid = "";
9519
+ /**
9520
+ * Source collection NSID.
9145
9521
  *
9146
- * @generated from field: repeated bsky.SiteStandardRecord publications = 2;
9522
+ * @generated from field: string collection = 2;
9523
+ */
9524
+ this.collection = "";
9525
+ /**
9526
+ * @generated from field: repeated string target_uris = 3;
9147
9527
  */
9148
- this.publications = [];
9528
+ this.targetUris = [];
9149
9529
  proto3.util.initPartial(data, this);
9150
9530
  }
9151
9531
  static { this.runtime = proto3; }
9152
- static { this.typeName = "bsky.GetSiteStandardRecordsByURIResponse"; }
9532
+ static { this.typeName = "bsky.GetAtmosphereBacklinksByActorRequest"; }
9153
9533
  static { this.fields = proto3.util.newFieldList(() => [
9154
- { no: 1, name: "documents", kind: "message", T: SiteStandardRecord, repeated: true },
9155
- { no: 2, name: "publications", kind: "message", T: SiteStandardRecord, repeated: true },
9534
+ { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9535
+ { no: 2, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9536
+ { no: 3, name: "target_uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
9156
9537
  ]); }
9157
9538
  static fromBinary(bytes, options) {
9158
- return new GetSiteStandardRecordsByURIResponse().fromBinary(bytes, options);
9539
+ return new GetAtmosphereBacklinksByActorRequest().fromBinary(bytes, options);
9159
9540
  }
9160
9541
  static fromJson(jsonValue, options) {
9161
- return new GetSiteStandardRecordsByURIResponse().fromJson(jsonValue, options);
9542
+ return new GetAtmosphereBacklinksByActorRequest().fromJson(jsonValue, options);
9162
9543
  }
9163
9544
  static fromJsonString(jsonString, options) {
9164
- return new GetSiteStandardRecordsByURIResponse().fromJsonString(jsonString, options);
9545
+ return new GetAtmosphereBacklinksByActorRequest().fromJsonString(jsonString, options);
9165
9546
  }
9166
9547
  static equals(a, b) {
9167
- return proto3.util.equals(GetSiteStandardRecordsByURIResponse, a, b);
9548
+ return proto3.util.equals(GetAtmosphereBacklinksByActorRequest, a, b);
9168
9549
  }
9169
9550
  }
9170
9551
  /**
9171
- * @generated from message bsky.GetSiteStandardRecordsByRefRequest
9552
+ * @generated from message bsky.AtmosphereBacklinksByActor
9172
9553
  */
9173
- export class GetSiteStandardRecordsByRefRequest extends Message {
9554
+ export class AtmosphereBacklinksByActor extends Message {
9174
9555
  constructor(data) {
9175
9556
  super();
9176
9557
  /**
9177
- * Mixed list of site.standard.document and site.standard.publication refs
9178
- * (uri + cid). Refs whose URI is not a SiteStandard collection (or doesn't
9179
- * parse) are silently skipped.
9558
+ * @generated from field: string target_uri = 1;
9559
+ */
9560
+ this.targetUri = "";
9561
+ /**
9562
+ * Source record URIs authored by the actor; empty if none.
9180
9563
  *
9181
- * @generated from field: repeated bsky.RecordRef refs = 1;
9564
+ * @generated from field: repeated string uris = 2;
9182
9565
  */
9183
- this.refs = [];
9566
+ this.uris = [];
9184
9567
  proto3.util.initPartial(data, this);
9185
9568
  }
9186
9569
  static { this.runtime = proto3; }
9187
- static { this.typeName = "bsky.GetSiteStandardRecordsByRefRequest"; }
9570
+ static { this.typeName = "bsky.AtmosphereBacklinksByActor"; }
9188
9571
  static { this.fields = proto3.util.newFieldList(() => [
9189
- { no: 1, name: "refs", kind: "message", T: RecordRef, repeated: true },
9572
+ { no: 1, name: "target_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9573
+ { no: 2, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
9190
9574
  ]); }
9191
9575
  static fromBinary(bytes, options) {
9192
- return new GetSiteStandardRecordsByRefRequest().fromBinary(bytes, options);
9576
+ return new AtmosphereBacklinksByActor().fromBinary(bytes, options);
9193
9577
  }
9194
9578
  static fromJson(jsonValue, options) {
9195
- return new GetSiteStandardRecordsByRefRequest().fromJson(jsonValue, options);
9579
+ return new AtmosphereBacklinksByActor().fromJson(jsonValue, options);
9196
9580
  }
9197
9581
  static fromJsonString(jsonString, options) {
9198
- return new GetSiteStandardRecordsByRefRequest().fromJsonString(jsonString, options);
9582
+ return new AtmosphereBacklinksByActor().fromJsonString(jsonString, options);
9199
9583
  }
9200
9584
  static equals(a, b) {
9201
- return proto3.util.equals(GetSiteStandardRecordsByRefRequest, a, b);
9585
+ return proto3.util.equals(AtmosphereBacklinksByActor, a, b);
9202
9586
  }
9203
9587
  }
9204
9588
  /**
9205
- * @generated from message bsky.GetSiteStandardRecordsByRefResponse
9589
+ * @generated from message bsky.GetAtmosphereBacklinksByActorResponse
9206
9590
  */
9207
- export class GetSiteStandardRecordsByRefResponse extends Message {
9591
+ export class GetAtmosphereBacklinksByActorResponse extends Message {
9208
9592
  constructor(data) {
9209
9593
  super();
9210
9594
  /**
9211
- * Document version exactly matching each requested doc ref.
9595
+ * One entry per requested target, in request order.
9212
9596
  *
9213
- * @generated from field: repeated bsky.SiteStandardRecord documents = 1;
9597
+ * @generated from field: repeated bsky.AtmosphereBacklinksByActor results = 1;
9214
9598
  */
9215
- this.documents = [];
9599
+ this.results = [];
9216
9600
  /**
9217
- * Publication version exactly matching each requested pub ref. This RPC
9218
- * does NOT auto-resolve publications referenced by documents — callers who
9219
- * want a paired publication should pass its ref explicitly.
9601
+ * True if the actor has more matching records than the response limit, so
9602
+ * some targets may be missing links.
9220
9603
  *
9221
- * @generated from field: repeated bsky.SiteStandardRecord publications = 2;
9604
+ * @generated from field: bool truncated = 2;
9222
9605
  */
9223
- this.publications = [];
9606
+ this.truncated = false;
9224
9607
  proto3.util.initPartial(data, this);
9225
9608
  }
9226
9609
  static { this.runtime = proto3; }
9227
- static { this.typeName = "bsky.GetSiteStandardRecordsByRefResponse"; }
9610
+ static { this.typeName = "bsky.GetAtmosphereBacklinksByActorResponse"; }
9228
9611
  static { this.fields = proto3.util.newFieldList(() => [
9229
- { no: 1, name: "documents", kind: "message", T: SiteStandardRecord, repeated: true },
9230
- { no: 2, name: "publications", kind: "message", T: SiteStandardRecord, repeated: true },
9612
+ { no: 1, name: "results", kind: "message", T: AtmosphereBacklinksByActor, repeated: true },
9613
+ { no: 2, name: "truncated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
9231
9614
  ]); }
9232
9615
  static fromBinary(bytes, options) {
9233
- return new GetSiteStandardRecordsByRefResponse().fromBinary(bytes, options);
9616
+ return new GetAtmosphereBacklinksByActorResponse().fromBinary(bytes, options);
9234
9617
  }
9235
9618
  static fromJson(jsonValue, options) {
9236
- return new GetSiteStandardRecordsByRefResponse().fromJson(jsonValue, options);
9619
+ return new GetAtmosphereBacklinksByActorResponse().fromJson(jsonValue, options);
9237
9620
  }
9238
9621
  static fromJsonString(jsonString, options) {
9239
- return new GetSiteStandardRecordsByRefResponse().fromJsonString(jsonString, options);
9622
+ return new GetAtmosphereBacklinksByActorResponse().fromJsonString(jsonString, options);
9240
9623
  }
9241
9624
  static equals(a, b) {
9242
- return proto3.util.equals(GetSiteStandardRecordsByRefResponse, a, b);
9625
+ return proto3.util.equals(GetAtmosphereBacklinksByActorResponse, a, b);
9243
9626
  }
9244
9627
  }
9245
9628
  /**
9246
- * SiteStandardRecord pairs a record with its addressing ref so callers can
9247
- * build a uri- or (uri,cid)-keyed lookup without server-side encoding.
9248
- *
9249
- * @generated from message bsky.SiteStandardRecord
9629
+ * @generated from message bsky.GetAtmosphereBacklinkCountsRequest
9250
9630
  */
9251
- export class SiteStandardRecord extends Message {
9631
+ export class GetAtmosphereBacklinkCountsRequest extends Message {
9252
9632
  constructor(data) {
9253
9633
  super();
9634
+ /**
9635
+ * @generated from field: repeated string target_uris = 1;
9636
+ */
9637
+ this.targetUris = [];
9638
+ /**
9639
+ * Optional source collection NSID; empty returns counts for every collection.
9640
+ *
9641
+ * @generated from field: string collection = 2;
9642
+ */
9643
+ this.collection = "";
9254
9644
  proto3.util.initPartial(data, this);
9255
9645
  }
9256
9646
  static { this.runtime = proto3; }
9257
- static { this.typeName = "bsky.SiteStandardRecord"; }
9647
+ static { this.typeName = "bsky.GetAtmosphereBacklinkCountsRequest"; }
9258
9648
  static { this.fields = proto3.util.newFieldList(() => [
9259
- { no: 1, name: "ref", kind: "message", T: RecordRef },
9260
- { no: 2, name: "record", kind: "message", T: Record },
9649
+ { no: 1, name: "target_uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
9650
+ { no: 2, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9651
+ ]); }
9652
+ static fromBinary(bytes, options) {
9653
+ return new GetAtmosphereBacklinkCountsRequest().fromBinary(bytes, options);
9654
+ }
9655
+ static fromJson(jsonValue, options) {
9656
+ return new GetAtmosphereBacklinkCountsRequest().fromJson(jsonValue, options);
9657
+ }
9658
+ static fromJsonString(jsonString, options) {
9659
+ return new GetAtmosphereBacklinkCountsRequest().fromJsonString(jsonString, options);
9660
+ }
9661
+ static equals(a, b) {
9662
+ return proto3.util.equals(GetAtmosphereBacklinkCountsRequest, a, b);
9663
+ }
9664
+ }
9665
+ /**
9666
+ * @generated from message bsky.AtmosphereBacklinkCounts
9667
+ */
9668
+ export class AtmosphereBacklinkCounts extends Message {
9669
+ constructor(data) {
9670
+ super();
9671
+ /**
9672
+ * @generated from field: string target_uri = 1;
9673
+ */
9674
+ this.targetUri = "";
9675
+ /**
9676
+ * Source collection NSID -> number of source records linking to the target.
9677
+ *
9678
+ * @generated from field: map<string, int64> counts = 2;
9679
+ */
9680
+ this.counts = {};
9681
+ proto3.util.initPartial(data, this);
9682
+ }
9683
+ static { this.runtime = proto3; }
9684
+ static { this.typeName = "bsky.AtmosphereBacklinkCounts"; }
9685
+ static { this.fields = proto3.util.newFieldList(() => [
9686
+ { no: 1, name: "target_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9687
+ { no: 2, name: "counts", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 3 /* ScalarType.INT64 */ } },
9688
+ ]); }
9689
+ static fromBinary(bytes, options) {
9690
+ return new AtmosphereBacklinkCounts().fromBinary(bytes, options);
9691
+ }
9692
+ static fromJson(jsonValue, options) {
9693
+ return new AtmosphereBacklinkCounts().fromJson(jsonValue, options);
9694
+ }
9695
+ static fromJsonString(jsonString, options) {
9696
+ return new AtmosphereBacklinkCounts().fromJsonString(jsonString, options);
9697
+ }
9698
+ static equals(a, b) {
9699
+ return proto3.util.equals(AtmosphereBacklinkCounts, a, b);
9700
+ }
9701
+ }
9702
+ /**
9703
+ * @generated from message bsky.GetAtmosphereBacklinkCountsResponse
9704
+ */
9705
+ export class GetAtmosphereBacklinkCountsResponse extends Message {
9706
+ constructor(data) {
9707
+ super();
9708
+ /**
9709
+ * One entry per requested target, in request order.
9710
+ *
9711
+ * @generated from field: repeated bsky.AtmosphereBacklinkCounts results = 1;
9712
+ */
9713
+ this.results = [];
9714
+ proto3.util.initPartial(data, this);
9715
+ }
9716
+ static { this.runtime = proto3; }
9717
+ static { this.typeName = "bsky.GetAtmosphereBacklinkCountsResponse"; }
9718
+ static { this.fields = proto3.util.newFieldList(() => [
9719
+ { no: 1, name: "results", kind: "message", T: AtmosphereBacklinkCounts, repeated: true },
9261
9720
  ]); }
9262
9721
  static fromBinary(bytes, options) {
9263
- return new SiteStandardRecord().fromBinary(bytes, options);
9722
+ return new GetAtmosphereBacklinkCountsResponse().fromBinary(bytes, options);
9264
9723
  }
9265
9724
  static fromJson(jsonValue, options) {
9266
- return new SiteStandardRecord().fromJson(jsonValue, options);
9725
+ return new GetAtmosphereBacklinkCountsResponse().fromJson(jsonValue, options);
9267
9726
  }
9268
9727
  static fromJsonString(jsonString, options) {
9269
- return new SiteStandardRecord().fromJsonString(jsonString, options);
9728
+ return new GetAtmosphereBacklinkCountsResponse().fromJsonString(jsonString, options);
9270
9729
  }
9271
9730
  static equals(a, b) {
9272
- return proto3.util.equals(SiteStandardRecord, a, b);
9731
+ return proto3.util.equals(GetAtmosphereBacklinkCountsResponse, a, b);
9273
9732
  }
9274
9733
  }
9275
9734
  /**