@atproto/bsky 0.0.77 → 0.0.79

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 (64) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/api/app/bsky/feed/getListFeed.d.ts.map +1 -1
  3. package/dist/api/app/bsky/feed/getListFeed.js +19 -3
  4. package/dist/api/app/bsky/feed/getListFeed.js.map +1 -1
  5. package/dist/api/app/bsky/feed/getPostThread.d.ts.map +1 -1
  6. package/dist/api/app/bsky/feed/getPostThread.js +6 -2
  7. package/dist/api/app/bsky/feed/getPostThread.js.map +1 -1
  8. package/dist/api/app/bsky/feed/getQuotes.js +9 -8
  9. package/dist/api/app/bsky/feed/getQuotes.js.map +1 -1
  10. package/dist/api/app/bsky/graph/getList.js +4 -4
  11. package/dist/api/app/bsky/graph/getList.js.map +1 -1
  12. package/dist/data-plane/server/routes/quotes.js +2 -2
  13. package/dist/data-plane/server/routes/quotes.js.map +1 -1
  14. package/dist/data-plane/server/routes/records.js +1 -1
  15. package/dist/hydration/feed.js +1 -1
  16. package/dist/lexicon/lexicons.d.ts +7 -0
  17. package/dist/lexicon/lexicons.d.ts.map +1 -1
  18. package/dist/lexicon/lexicons.js +8 -1
  19. package/dist/lexicon/lexicons.js.map +1 -1
  20. package/dist/lexicon/types/app/bsky/embed/record.d.ts +1 -0
  21. package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
  22. package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
  23. package/dist/lexicon/types/app/bsky/feed/getPostThread.d.ts +1 -0
  24. package/dist/lexicon/types/app/bsky/feed/getPostThread.d.ts.map +1 -1
  25. package/dist/proto/bsky_connect.d.ts +20 -11
  26. package/dist/proto/bsky_connect.d.ts.map +1 -1
  27. package/dist/proto/bsky_connect.js +19 -10
  28. package/dist/proto/bsky_connect.js.map +1 -1
  29. package/dist/proto/bsky_pb.d.ts +101 -63
  30. package/dist/proto/bsky_pb.d.ts.map +1 -1
  31. package/dist/proto/bsky_pb.js +278 -160
  32. package/dist/proto/bsky_pb.js.map +1 -1
  33. package/dist/views/index.d.ts.map +1 -1
  34. package/dist/views/index.js +1 -0
  35. package/dist/views/index.js.map +1 -1
  36. package/package.json +9 -9
  37. package/proto/bsky.proto +30 -23
  38. package/src/api/app/bsky/feed/getListFeed.ts +30 -3
  39. package/src/api/app/bsky/feed/getPostThread.ts +18 -3
  40. package/src/api/app/bsky/feed/getQuotes.ts +14 -10
  41. package/src/api/app/bsky/graph/getList.ts +4 -4
  42. package/src/data-plane/server/routes/quotes.ts +2 -2
  43. package/src/data-plane/server/routes/records.ts +1 -1
  44. package/src/hydration/feed.ts +1 -1
  45. package/src/lexicon/lexicons.ts +8 -1
  46. package/src/lexicon/types/app/bsky/embed/record.ts +1 -0
  47. package/src/lexicon/types/app/bsky/feed/getPostThread.ts +1 -0
  48. package/src/proto/bsky_connect.ts +25 -14
  49. package/src/proto/bsky_pb.ts +293 -159
  50. package/src/views/index.ts +1 -0
  51. package/tests/__snapshots__/feed-generation.test.ts.snap +5 -0
  52. package/tests/data-plane/__snapshots__/indexing.test.ts.snap +2 -0
  53. package/tests/views/__snapshots__/author-feed.test.ts.snap +9 -0
  54. package/tests/views/__snapshots__/block-lists.test.ts.snap +1 -0
  55. package/tests/views/__snapshots__/blocks.test.ts.snap +1 -0
  56. package/tests/views/__snapshots__/list-feed.test.ts.snap +2 -0
  57. package/tests/views/__snapshots__/lists.test.ts.snap +185 -1
  58. package/tests/views/__snapshots__/posts.test.ts.snap +3 -0
  59. package/tests/views/__snapshots__/quotes.test.ts.snap +3 -0
  60. package/tests/views/__snapshots__/timeline.test.ts.snap +21 -0
  61. package/tests/views/list-feed.test.ts +12 -0
  62. package/tests/views/lists.test.ts +83 -18
  63. package/tests/views/quotes.test.ts +14 -0
  64. package/tests/views/threadgating.test.ts +8 -6
@@ -26,6 +26,7 @@ export interface OutputSchema {
26
26
  | AppBskyFeedDefs.NotFoundPost
27
27
  | AppBskyFeedDefs.BlockedPost
28
28
  | { $type: string; [k: string]: unknown }
29
+ threadgate?: AppBskyFeedDefs.ThreadgateView
29
30
  [k: string]: unknown
30
31
  }
31
32
 
@@ -124,20 +124,22 @@ import {
124
124
  GetMutelistSubscriptionsResponse,
125
125
  GetMutesRequest,
126
126
  GetMutesResponse,
127
+ GetNewUserCountForRangeRequest,
128
+ GetNewUserCountForRangeResponse,
127
129
  GetNotificationSeenRequest,
128
130
  GetNotificationSeenResponse,
129
131
  GetNotificationsRequest,
130
132
  GetNotificationsResponse,
131
- GetPostGateRecordsRequest,
132
- GetPostGateRecordsResponse,
133
+ GetPostgateRecordsRequest,
134
+ GetPostgateRecordsResponse,
133
135
  GetPostRecordsRequest,
134
136
  GetPostRecordsResponse,
135
137
  GetPostReplyCountsRequest,
136
138
  GetPostReplyCountsResponse,
137
139
  GetProfileRecordsRequest,
138
140
  GetProfileRecordsResponse,
139
- GetQuotesBySubjectRequest,
140
- GetQuotesBySubjectResponse,
141
+ GetQuotesBySubjectSortedRequest,
142
+ GetQuotesBySubjectSortedResponse,
141
143
  GetRecordTakedownRequest,
142
144
  GetRecordTakedownResponse,
143
145
  GetRelationshipsRequest,
@@ -314,12 +316,12 @@ export const Service = {
314
316
  kind: MethodKind.Unary,
315
317
  },
316
318
  /**
317
- * @generated from rpc bsky.Service.GetPostGateRecords
319
+ * @generated from rpc bsky.Service.GetPostgateRecords
318
320
  */
319
- getPostGateRecords: {
320
- name: 'GetPostGateRecords',
321
- I: GetPostGateRecordsRequest,
322
- O: GetPostGateRecordsResponse,
321
+ getPostgateRecords: {
322
+ name: 'GetPostgateRecords',
323
+ I: GetPostgateRecordsRequest,
324
+ O: GetPostgateRecordsResponse,
323
325
  kind: MethodKind.Unary,
324
326
  },
325
327
  /**
@@ -439,12 +441,12 @@ export const Service = {
439
441
  /**
440
442
  * Quotes
441
443
  *
442
- * @generated from rpc bsky.Service.GetQuotesBySubject
444
+ * @generated from rpc bsky.Service.GetQuotesBySubjectSorted
443
445
  */
444
- getQuotesBySubject: {
445
- name: 'GetQuotesBySubject',
446
- I: GetQuotesBySubjectRequest,
447
- O: GetQuotesBySubjectResponse,
446
+ getQuotesBySubjectSorted: {
447
+ name: 'GetQuotesBySubjectSorted',
448
+ I: GetQuotesBySubjectSortedRequest,
449
+ O: GetQuotesBySubjectSortedResponse,
448
450
  kind: MethodKind.Unary,
449
451
  },
450
452
  /**
@@ -485,6 +487,15 @@ export const Service = {
485
487
  O: GetListCountsResponse,
486
488
  kind: MethodKind.Unary,
487
489
  },
490
+ /**
491
+ * @generated from rpc bsky.Service.GetNewUserCountForRange
492
+ */
493
+ getNewUserCountForRange: {
494
+ name: 'GetNewUserCountForRange',
495
+ I: GetNewUserCountForRangeRequest,
496
+ O: GetNewUserCountForRangeResponse,
497
+ kind: MethodKind.Unary,
498
+ },
488
499
  /**
489
500
  * Profile
490
501
  *
@@ -1642,21 +1642,21 @@ export class GetThreadGateRecordsResponse extends Message<GetThreadGateRecordsRe
1642
1642
  }
1643
1643
 
1644
1644
  /**
1645
- * @generated from message bsky.GetPostGateRecordsRequest
1645
+ * @generated from message bsky.GetPostgateRecordsRequest
1646
1646
  */
1647
- export class GetPostGateRecordsRequest extends Message<GetPostGateRecordsRequest> {
1647
+ export class GetPostgateRecordsRequest extends Message<GetPostgateRecordsRequest> {
1648
1648
  /**
1649
1649
  * @generated from field: repeated string uris = 1;
1650
1650
  */
1651
1651
  uris: string[] = []
1652
1652
 
1653
- constructor(data?: PartialMessage<GetPostGateRecordsRequest>) {
1653
+ constructor(data?: PartialMessage<GetPostgateRecordsRequest>) {
1654
1654
  super()
1655
1655
  proto3.util.initPartial(data, this)
1656
1656
  }
1657
1657
 
1658
1658
  static readonly runtime: typeof proto3 = proto3
1659
- static readonly typeName = 'bsky.GetPostGateRecordsRequest'
1659
+ static readonly typeName = 'bsky.GetPostgateRecordsRequest'
1660
1660
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
1661
1661
  {
1662
1662
  no: 1,
@@ -1670,54 +1670,54 @@ export class GetPostGateRecordsRequest extends Message<GetPostGateRecordsRequest
1670
1670
  static fromBinary(
1671
1671
  bytes: Uint8Array,
1672
1672
  options?: Partial<BinaryReadOptions>,
1673
- ): GetPostGateRecordsRequest {
1674
- return new GetPostGateRecordsRequest().fromBinary(bytes, options)
1673
+ ): GetPostgateRecordsRequest {
1674
+ return new GetPostgateRecordsRequest().fromBinary(bytes, options)
1675
1675
  }
1676
1676
 
1677
1677
  static fromJson(
1678
1678
  jsonValue: JsonValue,
1679
1679
  options?: Partial<JsonReadOptions>,
1680
- ): GetPostGateRecordsRequest {
1681
- return new GetPostGateRecordsRequest().fromJson(jsonValue, options)
1680
+ ): GetPostgateRecordsRequest {
1681
+ return new GetPostgateRecordsRequest().fromJson(jsonValue, options)
1682
1682
  }
1683
1683
 
1684
1684
  static fromJsonString(
1685
1685
  jsonString: string,
1686
1686
  options?: Partial<JsonReadOptions>,
1687
- ): GetPostGateRecordsRequest {
1688
- return new GetPostGateRecordsRequest().fromJsonString(jsonString, options)
1687
+ ): GetPostgateRecordsRequest {
1688
+ return new GetPostgateRecordsRequest().fromJsonString(jsonString, options)
1689
1689
  }
1690
1690
 
1691
1691
  static equals(
1692
1692
  a:
1693
- | GetPostGateRecordsRequest
1694
- | PlainMessage<GetPostGateRecordsRequest>
1693
+ | GetPostgateRecordsRequest
1694
+ | PlainMessage<GetPostgateRecordsRequest>
1695
1695
  | undefined,
1696
1696
  b:
1697
- | GetPostGateRecordsRequest
1698
- | PlainMessage<GetPostGateRecordsRequest>
1697
+ | GetPostgateRecordsRequest
1698
+ | PlainMessage<GetPostgateRecordsRequest>
1699
1699
  | undefined,
1700
1700
  ): boolean {
1701
- return proto3.util.equals(GetPostGateRecordsRequest, a, b)
1701
+ return proto3.util.equals(GetPostgateRecordsRequest, a, b)
1702
1702
  }
1703
1703
  }
1704
1704
 
1705
1705
  /**
1706
- * @generated from message bsky.GetPostGateRecordsResponse
1706
+ * @generated from message bsky.GetPostgateRecordsResponse
1707
1707
  */
1708
- export class GetPostGateRecordsResponse extends Message<GetPostGateRecordsResponse> {
1708
+ export class GetPostgateRecordsResponse extends Message<GetPostgateRecordsResponse> {
1709
1709
  /**
1710
1710
  * @generated from field: repeated bsky.Record records = 1;
1711
1711
  */
1712
1712
  records: Record[] = []
1713
1713
 
1714
- constructor(data?: PartialMessage<GetPostGateRecordsResponse>) {
1714
+ constructor(data?: PartialMessage<GetPostgateRecordsResponse>) {
1715
1715
  super()
1716
1716
  proto3.util.initPartial(data, this)
1717
1717
  }
1718
1718
 
1719
1719
  static readonly runtime: typeof proto3 = proto3
1720
- static readonly typeName = 'bsky.GetPostGateRecordsResponse'
1720
+ static readonly typeName = 'bsky.GetPostgateRecordsResponse'
1721
1721
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
1722
1722
  { no: 1, name: 'records', kind: 'message', T: Record, repeated: true },
1723
1723
  ])
@@ -1725,35 +1725,35 @@ export class GetPostGateRecordsResponse extends Message<GetPostGateRecordsRespon
1725
1725
  static fromBinary(
1726
1726
  bytes: Uint8Array,
1727
1727
  options?: Partial<BinaryReadOptions>,
1728
- ): GetPostGateRecordsResponse {
1729
- return new GetPostGateRecordsResponse().fromBinary(bytes, options)
1728
+ ): GetPostgateRecordsResponse {
1729
+ return new GetPostgateRecordsResponse().fromBinary(bytes, options)
1730
1730
  }
1731
1731
 
1732
1732
  static fromJson(
1733
1733
  jsonValue: JsonValue,
1734
1734
  options?: Partial<JsonReadOptions>,
1735
- ): GetPostGateRecordsResponse {
1736
- return new GetPostGateRecordsResponse().fromJson(jsonValue, options)
1735
+ ): GetPostgateRecordsResponse {
1736
+ return new GetPostgateRecordsResponse().fromJson(jsonValue, options)
1737
1737
  }
1738
1738
 
1739
1739
  static fromJsonString(
1740
1740
  jsonString: string,
1741
1741
  options?: Partial<JsonReadOptions>,
1742
- ): GetPostGateRecordsResponse {
1743
- return new GetPostGateRecordsResponse().fromJsonString(jsonString, options)
1742
+ ): GetPostgateRecordsResponse {
1743
+ return new GetPostgateRecordsResponse().fromJsonString(jsonString, options)
1744
1744
  }
1745
1745
 
1746
1746
  static equals(
1747
1747
  a:
1748
- | GetPostGateRecordsResponse
1749
- | PlainMessage<GetPostGateRecordsResponse>
1748
+ | GetPostgateRecordsResponse
1749
+ | PlainMessage<GetPostgateRecordsResponse>
1750
1750
  | undefined,
1751
1751
  b:
1752
- | GetPostGateRecordsResponse
1753
- | PlainMessage<GetPostGateRecordsResponse>
1752
+ | GetPostgateRecordsResponse
1753
+ | PlainMessage<GetPostgateRecordsResponse>
1754
1754
  | undefined,
1755
1755
  ): boolean {
1756
- return proto3.util.equals(GetPostGateRecordsResponse, a, b)
1756
+ return proto3.util.equals(GetPostgateRecordsResponse, a, b)
1757
1757
  }
1758
1758
  }
1759
1759
 
@@ -2828,6 +2828,146 @@ export class GetLikesBySubjectSortedResponse extends Message<GetLikesBySubjectSo
2828
2828
  }
2829
2829
  }
2830
2830
 
2831
+ /**
2832
+ * @generated from message bsky.GetQuotesBySubjectSortedRequest
2833
+ */
2834
+ export class GetQuotesBySubjectSortedRequest extends Message<GetQuotesBySubjectSortedRequest> {
2835
+ /**
2836
+ * @generated from field: bsky.RecordRef subject = 1;
2837
+ */
2838
+ subject?: RecordRef
2839
+
2840
+ /**
2841
+ * @generated from field: int32 limit = 2;
2842
+ */
2843
+ limit = 0
2844
+
2845
+ /**
2846
+ * @generated from field: string cursor = 3;
2847
+ */
2848
+ cursor = ''
2849
+
2850
+ constructor(data?: PartialMessage<GetQuotesBySubjectSortedRequest>) {
2851
+ super()
2852
+ proto3.util.initPartial(data, this)
2853
+ }
2854
+
2855
+ static readonly runtime: typeof proto3 = proto3
2856
+ static readonly typeName = 'bsky.GetQuotesBySubjectSortedRequest'
2857
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2858
+ { no: 1, name: 'subject', kind: 'message', T: RecordRef },
2859
+ { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
2860
+ { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
2861
+ ])
2862
+
2863
+ static fromBinary(
2864
+ bytes: Uint8Array,
2865
+ options?: Partial<BinaryReadOptions>,
2866
+ ): GetQuotesBySubjectSortedRequest {
2867
+ return new GetQuotesBySubjectSortedRequest().fromBinary(bytes, options)
2868
+ }
2869
+
2870
+ static fromJson(
2871
+ jsonValue: JsonValue,
2872
+ options?: Partial<JsonReadOptions>,
2873
+ ): GetQuotesBySubjectSortedRequest {
2874
+ return new GetQuotesBySubjectSortedRequest().fromJson(jsonValue, options)
2875
+ }
2876
+
2877
+ static fromJsonString(
2878
+ jsonString: string,
2879
+ options?: Partial<JsonReadOptions>,
2880
+ ): GetQuotesBySubjectSortedRequest {
2881
+ return new GetQuotesBySubjectSortedRequest().fromJsonString(
2882
+ jsonString,
2883
+ options,
2884
+ )
2885
+ }
2886
+
2887
+ static equals(
2888
+ a:
2889
+ | GetQuotesBySubjectSortedRequest
2890
+ | PlainMessage<GetQuotesBySubjectSortedRequest>
2891
+ | undefined,
2892
+ b:
2893
+ | GetQuotesBySubjectSortedRequest
2894
+ | PlainMessage<GetQuotesBySubjectSortedRequest>
2895
+ | undefined,
2896
+ ): boolean {
2897
+ return proto3.util.equals(GetQuotesBySubjectSortedRequest, a, b)
2898
+ }
2899
+ }
2900
+
2901
+ /**
2902
+ * @generated from message bsky.GetQuotesBySubjectSortedResponse
2903
+ */
2904
+ export class GetQuotesBySubjectSortedResponse extends Message<GetQuotesBySubjectSortedResponse> {
2905
+ /**
2906
+ * @generated from field: repeated string uris = 1;
2907
+ */
2908
+ uris: string[] = []
2909
+
2910
+ /**
2911
+ * @generated from field: string cursor = 2;
2912
+ */
2913
+ cursor = ''
2914
+
2915
+ constructor(data?: PartialMessage<GetQuotesBySubjectSortedResponse>) {
2916
+ super()
2917
+ proto3.util.initPartial(data, this)
2918
+ }
2919
+
2920
+ static readonly runtime: typeof proto3 = proto3
2921
+ static readonly typeName = 'bsky.GetQuotesBySubjectSortedResponse'
2922
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
2923
+ {
2924
+ no: 1,
2925
+ name: 'uris',
2926
+ kind: 'scalar',
2927
+ T: 9 /* ScalarType.STRING */,
2928
+ repeated: true,
2929
+ },
2930
+ { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
2931
+ ])
2932
+
2933
+ static fromBinary(
2934
+ bytes: Uint8Array,
2935
+ options?: Partial<BinaryReadOptions>,
2936
+ ): GetQuotesBySubjectSortedResponse {
2937
+ return new GetQuotesBySubjectSortedResponse().fromBinary(bytes, options)
2938
+ }
2939
+
2940
+ static fromJson(
2941
+ jsonValue: JsonValue,
2942
+ options?: Partial<JsonReadOptions>,
2943
+ ): GetQuotesBySubjectSortedResponse {
2944
+ return new GetQuotesBySubjectSortedResponse().fromJson(jsonValue, options)
2945
+ }
2946
+
2947
+ static fromJsonString(
2948
+ jsonString: string,
2949
+ options?: Partial<JsonReadOptions>,
2950
+ ): GetQuotesBySubjectSortedResponse {
2951
+ return new GetQuotesBySubjectSortedResponse().fromJsonString(
2952
+ jsonString,
2953
+ options,
2954
+ )
2955
+ }
2956
+
2957
+ static equals(
2958
+ a:
2959
+ | GetQuotesBySubjectSortedResponse
2960
+ | PlainMessage<GetQuotesBySubjectSortedResponse>
2961
+ | undefined,
2962
+ b:
2963
+ | GetQuotesBySubjectSortedResponse
2964
+ | PlainMessage<GetQuotesBySubjectSortedResponse>
2965
+ | undefined,
2966
+ ): boolean {
2967
+ return proto3.util.equals(GetQuotesBySubjectSortedResponse, a, b)
2968
+ }
2969
+ }
2970
+
2831
2971
  /**
2832
2972
  * - return like uris for user A on subject B, C, D...
2833
2973
  * - viewer state on posts
@@ -3133,134 +3273,6 @@ export class GetActorLikesResponse extends Message<GetActorLikesResponse> {
3133
3273
  }
3134
3274
  }
3135
3275
 
3136
- /**
3137
- * @generated from message bsky.GetQuotesBySubjectRequest
3138
- */
3139
- export class GetQuotesBySubjectRequest extends Message<GetQuotesBySubjectRequest> {
3140
- /**
3141
- * @generated from field: bsky.RecordRef subject = 1;
3142
- */
3143
- subject?: RecordRef
3144
-
3145
- /**
3146
- * @generated from field: int32 limit = 2;
3147
- */
3148
- limit = 0
3149
-
3150
- /**
3151
- * @generated from field: string cursor = 3;
3152
- */
3153
- cursor = ''
3154
-
3155
- constructor(data?: PartialMessage<GetQuotesBySubjectRequest>) {
3156
- super()
3157
- proto3.util.initPartial(data, this)
3158
- }
3159
-
3160
- static readonly runtime: typeof proto3 = proto3
3161
- static readonly typeName = 'bsky.GetQuotesBySubjectRequest'
3162
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3163
- { no: 1, name: 'subject', kind: 'message', T: RecordRef },
3164
- { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
3165
- { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
3166
- ])
3167
-
3168
- static fromBinary(
3169
- bytes: Uint8Array,
3170
- options?: Partial<BinaryReadOptions>,
3171
- ): GetQuotesBySubjectRequest {
3172
- return new GetQuotesBySubjectRequest().fromBinary(bytes, options)
3173
- }
3174
-
3175
- static fromJson(
3176
- jsonValue: JsonValue,
3177
- options?: Partial<JsonReadOptions>,
3178
- ): GetQuotesBySubjectRequest {
3179
- return new GetQuotesBySubjectRequest().fromJson(jsonValue, options)
3180
- }
3181
-
3182
- static fromJsonString(
3183
- jsonString: string,
3184
- options?: Partial<JsonReadOptions>,
3185
- ): GetQuotesBySubjectRequest {
3186
- return new GetQuotesBySubjectRequest().fromJsonString(jsonString, options)
3187
- }
3188
-
3189
- static equals(
3190
- a:
3191
- | GetQuotesBySubjectRequest
3192
- | PlainMessage<GetQuotesBySubjectRequest>
3193
- | undefined,
3194
- b:
3195
- | GetQuotesBySubjectRequest
3196
- | PlainMessage<GetQuotesBySubjectRequest>
3197
- | undefined,
3198
- ): boolean {
3199
- return proto3.util.equals(GetQuotesBySubjectRequest, a, b)
3200
- }
3201
- }
3202
-
3203
- /**
3204
- * @generated from message bsky.GetQuotesBySubjectResponse
3205
- */
3206
- export class GetQuotesBySubjectResponse extends Message<GetQuotesBySubjectResponse> {
3207
- /**
3208
- * @generated from field: repeated bsky.RecordRef refs = 1;
3209
- */
3210
- refs: RecordRef[] = []
3211
-
3212
- /**
3213
- * @generated from field: string cursor = 2;
3214
- */
3215
- cursor = ''
3216
-
3217
- constructor(data?: PartialMessage<GetQuotesBySubjectResponse>) {
3218
- super()
3219
- proto3.util.initPartial(data, this)
3220
- }
3221
-
3222
- static readonly runtime: typeof proto3 = proto3
3223
- static readonly typeName = 'bsky.GetQuotesBySubjectResponse'
3224
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
3225
- { no: 1, name: 'refs', kind: 'message', T: RecordRef, repeated: true },
3226
- { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
3227
- ])
3228
-
3229
- static fromBinary(
3230
- bytes: Uint8Array,
3231
- options?: Partial<BinaryReadOptions>,
3232
- ): GetQuotesBySubjectResponse {
3233
- return new GetQuotesBySubjectResponse().fromBinary(bytes, options)
3234
- }
3235
-
3236
- static fromJson(
3237
- jsonValue: JsonValue,
3238
- options?: Partial<JsonReadOptions>,
3239
- ): GetQuotesBySubjectResponse {
3240
- return new GetQuotesBySubjectResponse().fromJson(jsonValue, options)
3241
- }
3242
-
3243
- static fromJsonString(
3244
- jsonString: string,
3245
- options?: Partial<JsonReadOptions>,
3246
- ): GetQuotesBySubjectResponse {
3247
- return new GetQuotesBySubjectResponse().fromJsonString(jsonString, options)
3248
- }
3249
-
3250
- static equals(
3251
- a:
3252
- | GetQuotesBySubjectResponse
3253
- | PlainMessage<GetQuotesBySubjectResponse>
3254
- | undefined,
3255
- b:
3256
- | GetQuotesBySubjectResponse
3257
- | PlainMessage<GetQuotesBySubjectResponse>
3258
- | undefined,
3259
- ): boolean {
3260
- return proto3.util.equals(GetQuotesBySubjectResponse, a, b)
3261
- }
3262
- }
3263
-
3264
3276
  /**
3265
3277
  *
3266
3278
  * Interactions
@@ -3849,6 +3861,128 @@ export class GetListCountsResponse extends Message<GetListCountsResponse> {
3849
3861
  }
3850
3862
  }
3851
3863
 
3864
+ /**
3865
+ * @generated from message bsky.GetNewUserCountForRangeRequest
3866
+ */
3867
+ export class GetNewUserCountForRangeRequest extends Message<GetNewUserCountForRangeRequest> {
3868
+ /**
3869
+ * @generated from field: google.protobuf.Timestamp start = 1;
3870
+ */
3871
+ start?: Timestamp
3872
+
3873
+ /**
3874
+ * @generated from field: google.protobuf.Timestamp end = 2;
3875
+ */
3876
+ end?: Timestamp
3877
+
3878
+ constructor(data?: PartialMessage<GetNewUserCountForRangeRequest>) {
3879
+ super()
3880
+ proto3.util.initPartial(data, this)
3881
+ }
3882
+
3883
+ static readonly runtime: typeof proto3 = proto3
3884
+ static readonly typeName = 'bsky.GetNewUserCountForRangeRequest'
3885
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
3886
+ { no: 1, name: 'start', kind: 'message', T: Timestamp },
3887
+ { no: 2, name: 'end', kind: 'message', T: Timestamp },
3888
+ ])
3889
+
3890
+ static fromBinary(
3891
+ bytes: Uint8Array,
3892
+ options?: Partial<BinaryReadOptions>,
3893
+ ): GetNewUserCountForRangeRequest {
3894
+ return new GetNewUserCountForRangeRequest().fromBinary(bytes, options)
3895
+ }
3896
+
3897
+ static fromJson(
3898
+ jsonValue: JsonValue,
3899
+ options?: Partial<JsonReadOptions>,
3900
+ ): GetNewUserCountForRangeRequest {
3901
+ return new GetNewUserCountForRangeRequest().fromJson(jsonValue, options)
3902
+ }
3903
+
3904
+ static fromJsonString(
3905
+ jsonString: string,
3906
+ options?: Partial<JsonReadOptions>,
3907
+ ): GetNewUserCountForRangeRequest {
3908
+ return new GetNewUserCountForRangeRequest().fromJsonString(
3909
+ jsonString,
3910
+ options,
3911
+ )
3912
+ }
3913
+
3914
+ static equals(
3915
+ a:
3916
+ | GetNewUserCountForRangeRequest
3917
+ | PlainMessage<GetNewUserCountForRangeRequest>
3918
+ | undefined,
3919
+ b:
3920
+ | GetNewUserCountForRangeRequest
3921
+ | PlainMessage<GetNewUserCountForRangeRequest>
3922
+ | undefined,
3923
+ ): boolean {
3924
+ return proto3.util.equals(GetNewUserCountForRangeRequest, a, b)
3925
+ }
3926
+ }
3927
+
3928
+ /**
3929
+ * @generated from message bsky.GetNewUserCountForRangeResponse
3930
+ */
3931
+ export class GetNewUserCountForRangeResponse extends Message<GetNewUserCountForRangeResponse> {
3932
+ /**
3933
+ * @generated from field: int32 count = 1;
3934
+ */
3935
+ count = 0
3936
+
3937
+ constructor(data?: PartialMessage<GetNewUserCountForRangeResponse>) {
3938
+ super()
3939
+ proto3.util.initPartial(data, this)
3940
+ }
3941
+
3942
+ static readonly runtime: typeof proto3 = proto3
3943
+ static readonly typeName = 'bsky.GetNewUserCountForRangeResponse'
3944
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
3945
+ { no: 1, name: 'count', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
3946
+ ])
3947
+
3948
+ static fromBinary(
3949
+ bytes: Uint8Array,
3950
+ options?: Partial<BinaryReadOptions>,
3951
+ ): GetNewUserCountForRangeResponse {
3952
+ return new GetNewUserCountForRangeResponse().fromBinary(bytes, options)
3953
+ }
3954
+
3955
+ static fromJson(
3956
+ jsonValue: JsonValue,
3957
+ options?: Partial<JsonReadOptions>,
3958
+ ): GetNewUserCountForRangeResponse {
3959
+ return new GetNewUserCountForRangeResponse().fromJson(jsonValue, options)
3960
+ }
3961
+
3962
+ static fromJsonString(
3963
+ jsonString: string,
3964
+ options?: Partial<JsonReadOptions>,
3965
+ ): GetNewUserCountForRangeResponse {
3966
+ return new GetNewUserCountForRangeResponse().fromJsonString(
3967
+ jsonString,
3968
+ options,
3969
+ )
3970
+ }
3971
+
3972
+ static equals(
3973
+ a:
3974
+ | GetNewUserCountForRangeResponse
3975
+ | PlainMessage<GetNewUserCountForRangeResponse>
3976
+ | undefined,
3977
+ b:
3978
+ | GetNewUserCountForRangeResponse
3979
+ | PlainMessage<GetNewUserCountForRangeResponse>
3980
+ | undefined,
3981
+ ): boolean {
3982
+ return proto3.util.equals(GetNewUserCountForRangeResponse, a, b)
3983
+ }
3984
+ }
3985
+
3852
3986
  /**
3853
3987
  * - return repost uris where subject uri is subject A
3854
3988
  * - `getReposts` list for a post
@@ -10785,7 +10919,7 @@ export class GetRecordTakedownResponse extends Message<GetRecordTakedownResponse
10785
10919
  }
10786
10920
 
10787
10921
  /**
10788
- * GetFollowsFollowing gets the list of DIDs that the actor follows that also follow the target
10922
+ * GetFollowsFollowing gets the list of DIDs that the actor follows that also follow the targets
10789
10923
  *
10790
10924
  * @generated from message bsky.GetFollowsFollowingRequest
10791
10925
  */
@@ -950,6 +950,7 @@ export class Views {
950
950
  likeCount: postView.likeCount,
951
951
  replyCount: postView.replyCount,
952
952
  repostCount: postView.repostCount,
953
+ quoteCount: postView.quoteCount,
953
954
  indexedAt: postView.indexedAt,
954
955
  embeds: depth > 1 ? undefined : postView.embed ? [postView.embed] : [],
955
956
  }
@@ -656,6 +656,7 @@ Array [
656
656
  "indexedAt": "1970-01-01T00:00:00.000Z",
657
657
  "labels": Array [],
658
658
  "likeCount": 0,
659
+ "quoteCount": 1,
659
660
  "replyCount": 0,
660
661
  "repostCount": 0,
661
662
  "uri": "record(2)",
@@ -939,6 +940,7 @@ Array [
939
940
  "indexedAt": "1970-01-01T00:00:00.000Z",
940
941
  "labels": Array [],
941
942
  "likeCount": 0,
943
+ "quoteCount": 1,
942
944
  "replyCount": 0,
943
945
  "repostCount": 0,
944
946
  "uri": "record(2)",
@@ -958,6 +960,7 @@ Array [
958
960
  "indexedAt": "1970-01-01T00:00:00.000Z",
959
961
  "labels": Array [],
960
962
  "likeCount": 2,
963
+ "quoteCount": 1,
961
964
  "replyCount": 0,
962
965
  "repostCount": 0,
963
966
  "uri": "record(5)",
@@ -1162,6 +1165,7 @@ Array [
1162
1165
  "indexedAt": "1970-01-01T00:00:00.000Z",
1163
1166
  "labels": Array [],
1164
1167
  "likeCount": 0,
1168
+ "quoteCount": 1,
1165
1169
  "replyCount": 0,
1166
1170
  "repostCount": 0,
1167
1171
  "uri": "record(3)",
@@ -1464,6 +1468,7 @@ Array [
1464
1468
  "indexedAt": "1970-01-01T00:00:00.000Z",
1465
1469
  "labels": Array [],
1466
1470
  "likeCount": 0,
1471
+ "quoteCount": 1,
1467
1472
  "replyCount": 0,
1468
1473
  "repostCount": 0,
1469
1474
  "uri": "record(5)",