@atproto/bsky 0.0.77 → 0.0.78
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.
- package/CHANGELOG.md +9 -0
- package/dist/api/app/bsky/feed/getListFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getListFeed.js +19 -3
- package/dist/api/app/bsky/feed/getListFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getQuotes.js +8 -8
- package/dist/api/app/bsky/feed/getQuotes.js.map +1 -1
- package/dist/api/app/bsky/graph/getList.js +4 -4
- package/dist/api/app/bsky/graph/getList.js.map +1 -1
- package/dist/data-plane/server/routes/quotes.js +2 -2
- package/dist/data-plane/server/routes/quotes.js.map +1 -1
- package/dist/data-plane/server/routes/records.js +1 -1
- package/dist/hydration/feed.js +1 -1
- package/dist/lexicon/lexicons.d.ts +3 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +4 -1
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
- package/dist/proto/bsky_connect.d.ts +20 -11
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +19 -10
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +101 -63
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +278 -160
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +1 -0
- package/dist/views/index.js.map +1 -1
- package/package.json +4 -4
- package/proto/bsky.proto +30 -23
- package/src/api/app/bsky/feed/getListFeed.ts +30 -3
- package/src/api/app/bsky/feed/getQuotes.ts +13 -10
- package/src/api/app/bsky/graph/getList.ts +4 -4
- package/src/data-plane/server/routes/quotes.ts +2 -2
- package/src/data-plane/server/routes/records.ts +1 -1
- package/src/hydration/feed.ts +1 -1
- package/src/lexicon/lexicons.ts +4 -1
- package/src/lexicon/types/app/bsky/embed/record.ts +1 -0
- package/src/proto/bsky_connect.ts +25 -14
- package/src/proto/bsky_pb.ts +293 -159
- package/src/views/index.ts +1 -0
- package/tests/__snapshots__/feed-generation.test.ts.snap +5 -0
- package/tests/data-plane/__snapshots__/indexing.test.ts.snap +2 -0
- package/tests/views/__snapshots__/author-feed.test.ts.snap +9 -0
- package/tests/views/__snapshots__/block-lists.test.ts.snap +1 -0
- package/tests/views/__snapshots__/blocks.test.ts.snap +1 -0
- package/tests/views/__snapshots__/list-feed.test.ts.snap +2 -0
- package/tests/views/__snapshots__/lists.test.ts.snap +185 -1
- package/tests/views/__snapshots__/posts.test.ts.snap +3 -0
- package/tests/views/__snapshots__/quotes.test.ts.snap +3 -0
- package/tests/views/__snapshots__/timeline.test.ts.snap +21 -0
- package/tests/views/list-feed.test.ts +12 -0
- package/tests/views/lists.test.ts +83 -18
package/dist/proto/bsky_pb.js
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.ClearThreadMutesResponse = exports.ClearThreadMutesRequest = void 0;
|
|
7
|
+
exports.GetLikesByActorAndSubjectsResponse = exports.GetLikesByActorAndSubjectsRequest = exports.GetQuotesBySubjectSortedResponse = exports.GetQuotesBySubjectSortedRequest = exports.GetLikesBySubjectSortedResponse = exports.GetLikesBySubjectSortedRequest = exports.GetLikesBySubjectResponse = exports.GetLikesBySubjectRequest = exports.GetFollowsResponse = exports.GetFollowsRequest = exports.GetFollowersResponse = exports.FollowInfo = exports.GetFollowersRequest = exports.GetActorFollowsActorsResponse = exports.GetActorFollowsActorsRequest = exports.GetStarterPackRecordsResponse = exports.GetStarterPackRecordsRequest = exports.GetAllLabelersResponse = exports.GetAllLabelersRequest = exports.GetLabelerRecordsResponse = exports.GetLabelerRecordsRequest = exports.GetPostgateRecordsResponse = exports.GetPostgateRecordsRequest = exports.GetThreadGateRecordsResponse = exports.GetThreadGateRecordsRequest = exports.GetRepostRecordsResponse = exports.GetRepostRecordsRequest = exports.GetActorChatDeclarationRecordsResponse = exports.GetActorChatDeclarationRecordsRequest = exports.GetProfileRecordsResponse = exports.GetProfileRecordsRequest = exports.GetPostRecordsResponse = exports.GetPostRecordsRequest = exports.PostRecordMeta = exports.GetListRecordsResponse = exports.GetListRecordsRequest = exports.GetListItemRecordsResponse = exports.GetListItemRecordsRequest = exports.GetListBlockRecordsResponse = exports.GetListBlockRecordsRequest = exports.GetLikeRecordsResponse = exports.GetLikeRecordsRequest = exports.GetFollowRecordsResponse = exports.GetFollowRecordsRequest = exports.GetFeedGeneratorRecordsResponse = exports.GetFeedGeneratorRecordsRequest = exports.GetBlockRecordsResponse = exports.GetBlockRecordsRequest = exports.Record = exports.FeedType = void 0;
|
|
8
|
+
exports.GetMutelistSubscriptionsRequest = exports.GetMutelistSubscriptionResponse = exports.GetMutelistSubscriptionRequest = exports.GetActorMutesActorViaListResponse = exports.GetActorMutesActorViaListRequest = exports.GetMutesResponse = exports.GetMutesRequest = exports.GetActorMutesActorResponse = exports.GetActorMutesActorRequest = exports.GetActorListsResponse = exports.GetActorListsRequest = exports.GetListCountResponse = exports.GetListCountRequest = exports.GetListMembershipResponse = exports.GetListMembershipRequest = exports.GetListMembersResponse = exports.GetListMembersRequest = exports.ListItemInfo = exports.GetBlockExistenceResponse = exports.GetBlockExistenceRequest = exports.BlockExistence = exports.RelationshipPair = exports.GetRelationshipsResponse = exports.Relationships = exports.GetRelationshipsRequest = exports.GetDidsByHandlesResponse = exports.GetDidsByHandlesRequest = exports.GetActorsResponse = exports.ActorInfo = exports.GetActorsRequest = exports.GetActorRepostsResponse = exports.GetActorRepostsRequest = exports.GetRepostsByActorAndSubjectsResponse = exports.RecordRef = exports.GetRepostsByActorAndSubjectsRequest = exports.GetRepostsBySubjectResponse = exports.GetRepostsBySubjectRequest = exports.GetNewUserCountForRangeResponse = exports.GetNewUserCountForRangeRequest = exports.GetListCountsResponse = exports.GetListCountsRequest = exports.GetStarterPackCountsResponse = exports.GetStarterPackCountsRequest = exports.GetCountsForUsersResponse = exports.GetCountsForUsersRequest = exports.GetInteractionCountsResponse = exports.GetInteractionCountsRequest = exports.GetActorLikesResponse = exports.LikeInfo = exports.GetActorLikesRequest = void 0;
|
|
9
|
+
exports.GetPostReplyCountsRequest = exports.GetSuggestedEntitiesResponse = exports.GetSuggestedEntitiesRequest = exports.SuggestedEntity = exports.GetFollowSuggestionsResponse = exports.GetFollowSuggestionsRequest = exports.SearchPostsResponse = exports.SearchPostsRequest = exports.SearchActorsResponse = exports.SearchActorsRequest = exports.GetThreadResponse = exports.GetThreadRequest = exports.GetListFeedResponse = exports.GetListFeedRequest = exports.TimelineFeedItem = exports.GetTimelineResponse = exports.GetTimelineRequest = exports.GetAuthorFeedResponse = exports.AuthorFeedItem = exports.GetAuthorFeedRequest = exports.GetFeedGeneratorStatusResponse = exports.GetFeedGeneratorStatusRequest = exports.SearchFeedGeneratorsResponse = exports.SearchFeedGeneratorsRequest = exports.GetSuggestedFeedsResponse = exports.GetSuggestedFeedsRequest = exports.GetActorFeedsResponse = exports.GetActorFeedsRequest = exports.GetUnreadNotificationCountResponse = exports.GetUnreadNotificationCountRequest = exports.GetNotificationSeenResponse = exports.GetNotificationSeenRequest = exports.UpdateNotificationSeenResponse = exports.UpdateNotificationSeenRequest = exports.GetNotificationsResponse = exports.Notification = exports.GetNotificationsRequest = exports.GetBlocklistSubscriptionsResponse = exports.GetBlocklistSubscriptionsRequest = exports.GetBlocklistSubscriptionResponse = exports.GetBlocklistSubscriptionRequest = exports.GetBidirectionalBlockViaListResponse = exports.GetBidirectionalBlockViaListRequest = exports.GetBlocksResponse = exports.GetBlocksRequest = exports.GetBidirectionalBlockResponse = exports.GetBidirectionalBlockRequest = exports.GetThreadMutesOnSubjectsResponse = exports.GetThreadMutesOnSubjectsRequest = exports.GetMutelistSubscriptionsResponse = void 0;
|
|
10
|
+
exports.CreateThreadMuteResponse = exports.CreateThreadMuteRequest = exports.ClearActorMutelistSubscriptionsResponse = exports.ClearActorMutelistSubscriptionsRequest = exports.DeleteActorMutelistSubscriptionResponse = exports.DeleteActorMutelistSubscriptionRequest = exports.CreateActorMutelistSubscriptionResponse = exports.CreateActorMutelistSubscriptionRequest = exports.ClearActorMutesResponse = exports.ClearActorMutesRequest = exports.DeleteActorMuteResponse = exports.DeleteActorMuteRequest = exports.CreateActorMuteResponse = exports.CreateActorMuteRequest = exports.UntakedownRecordResponse = exports.UntakedownRecordRequest = exports.TakedownRecordResponse = exports.TakedownRecordRequest = exports.UntakedownBlobResponse = exports.UntakedownBlobRequest = exports.TakedownBlobResponse = exports.TakedownBlobRequest = exports.UntakedownActorResponse = exports.UntakedownActorRequest = exports.TakedownActorResponse = exports.TakedownActorRequest = exports.UpdateActorUpstreamStatusResponse = exports.UpdateActorUpstreamStatusRequest = exports.PingResponse = exports.PingRequest = exports.GetFollowsFollowingResponse = exports.FollowsFollowing = exports.GetFollowsFollowingRequest = exports.GetRecordTakedownResponse = exports.GetRecordTakedownRequest = exports.GetActorTakedownResponse = exports.GetActorTakedownRequest = exports.GetBlobTakedownResponse = exports.GetBlobTakedownRequest = exports.GetIdentityByHandleResponse = exports.GetIdentityByHandleRequest = exports.GetIdentityByDidResponse = exports.GetIdentityByDidRequest = exports.GetLatestRevResponse = exports.GetLatestRevRequest = exports.GetActorStarterPacksResponse = exports.GetActorStarterPacksRequest = exports.GetLabelsResponse = exports.GetLabelsRequest = exports.GetPostReplyCountsResponse = void 0;
|
|
11
|
+
exports.ClearThreadMutesResponse = exports.ClearThreadMutesRequest = exports.DeleteThreadMuteResponse = exports.DeleteThreadMuteRequest = void 0;
|
|
12
12
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
13
13
|
/**
|
|
14
14
|
* @generated from enum bsky.FeedType
|
|
@@ -1583,9 +1583,9 @@ Object.defineProperty(GetThreadGateRecordsResponse, "fields", {
|
|
|
1583
1583
|
])
|
|
1584
1584
|
});
|
|
1585
1585
|
/**
|
|
1586
|
-
* @generated from message bsky.
|
|
1586
|
+
* @generated from message bsky.GetPostgateRecordsRequest
|
|
1587
1587
|
*/
|
|
1588
|
-
class
|
|
1588
|
+
class GetPostgateRecordsRequest extends protobuf_1.Message {
|
|
1589
1589
|
constructor(data) {
|
|
1590
1590
|
super();
|
|
1591
1591
|
/**
|
|
@@ -1600,32 +1600,32 @@ class GetPostGateRecordsRequest extends protobuf_1.Message {
|
|
|
1600
1600
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1601
1601
|
}
|
|
1602
1602
|
static fromBinary(bytes, options) {
|
|
1603
|
-
return new
|
|
1603
|
+
return new GetPostgateRecordsRequest().fromBinary(bytes, options);
|
|
1604
1604
|
}
|
|
1605
1605
|
static fromJson(jsonValue, options) {
|
|
1606
|
-
return new
|
|
1606
|
+
return new GetPostgateRecordsRequest().fromJson(jsonValue, options);
|
|
1607
1607
|
}
|
|
1608
1608
|
static fromJsonString(jsonString, options) {
|
|
1609
|
-
return new
|
|
1609
|
+
return new GetPostgateRecordsRequest().fromJsonString(jsonString, options);
|
|
1610
1610
|
}
|
|
1611
1611
|
static equals(a, b) {
|
|
1612
|
-
return protobuf_1.proto3.util.equals(
|
|
1612
|
+
return protobuf_1.proto3.util.equals(GetPostgateRecordsRequest, a, b);
|
|
1613
1613
|
}
|
|
1614
1614
|
}
|
|
1615
|
-
exports.
|
|
1616
|
-
Object.defineProperty(
|
|
1615
|
+
exports.GetPostgateRecordsRequest = GetPostgateRecordsRequest;
|
|
1616
|
+
Object.defineProperty(GetPostgateRecordsRequest, "runtime", {
|
|
1617
1617
|
enumerable: true,
|
|
1618
1618
|
configurable: true,
|
|
1619
1619
|
writable: true,
|
|
1620
1620
|
value: protobuf_1.proto3
|
|
1621
1621
|
});
|
|
1622
|
-
Object.defineProperty(
|
|
1622
|
+
Object.defineProperty(GetPostgateRecordsRequest, "typeName", {
|
|
1623
1623
|
enumerable: true,
|
|
1624
1624
|
configurable: true,
|
|
1625
1625
|
writable: true,
|
|
1626
|
-
value: 'bsky.
|
|
1626
|
+
value: 'bsky.GetPostgateRecordsRequest'
|
|
1627
1627
|
});
|
|
1628
|
-
Object.defineProperty(
|
|
1628
|
+
Object.defineProperty(GetPostgateRecordsRequest, "fields", {
|
|
1629
1629
|
enumerable: true,
|
|
1630
1630
|
configurable: true,
|
|
1631
1631
|
writable: true,
|
|
@@ -1640,9 +1640,9 @@ Object.defineProperty(GetPostGateRecordsRequest, "fields", {
|
|
|
1640
1640
|
])
|
|
1641
1641
|
});
|
|
1642
1642
|
/**
|
|
1643
|
-
* @generated from message bsky.
|
|
1643
|
+
* @generated from message bsky.GetPostgateRecordsResponse
|
|
1644
1644
|
*/
|
|
1645
|
-
class
|
|
1645
|
+
class GetPostgateRecordsResponse extends protobuf_1.Message {
|
|
1646
1646
|
constructor(data) {
|
|
1647
1647
|
super();
|
|
1648
1648
|
/**
|
|
@@ -1657,32 +1657,32 @@ class GetPostGateRecordsResponse extends protobuf_1.Message {
|
|
|
1657
1657
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
1658
1658
|
}
|
|
1659
1659
|
static fromBinary(bytes, options) {
|
|
1660
|
-
return new
|
|
1660
|
+
return new GetPostgateRecordsResponse().fromBinary(bytes, options);
|
|
1661
1661
|
}
|
|
1662
1662
|
static fromJson(jsonValue, options) {
|
|
1663
|
-
return new
|
|
1663
|
+
return new GetPostgateRecordsResponse().fromJson(jsonValue, options);
|
|
1664
1664
|
}
|
|
1665
1665
|
static fromJsonString(jsonString, options) {
|
|
1666
|
-
return new
|
|
1666
|
+
return new GetPostgateRecordsResponse().fromJsonString(jsonString, options);
|
|
1667
1667
|
}
|
|
1668
1668
|
static equals(a, b) {
|
|
1669
|
-
return protobuf_1.proto3.util.equals(
|
|
1669
|
+
return protobuf_1.proto3.util.equals(GetPostgateRecordsResponse, a, b);
|
|
1670
1670
|
}
|
|
1671
1671
|
}
|
|
1672
|
-
exports.
|
|
1673
|
-
Object.defineProperty(
|
|
1672
|
+
exports.GetPostgateRecordsResponse = GetPostgateRecordsResponse;
|
|
1673
|
+
Object.defineProperty(GetPostgateRecordsResponse, "runtime", {
|
|
1674
1674
|
enumerable: true,
|
|
1675
1675
|
configurable: true,
|
|
1676
1676
|
writable: true,
|
|
1677
1677
|
value: protobuf_1.proto3
|
|
1678
1678
|
});
|
|
1679
|
-
Object.defineProperty(
|
|
1679
|
+
Object.defineProperty(GetPostgateRecordsResponse, "typeName", {
|
|
1680
1680
|
enumerable: true,
|
|
1681
1681
|
configurable: true,
|
|
1682
1682
|
writable: true,
|
|
1683
|
-
value: 'bsky.
|
|
1683
|
+
value: 'bsky.GetPostgateRecordsResponse'
|
|
1684
1684
|
});
|
|
1685
|
-
Object.defineProperty(
|
|
1685
|
+
Object.defineProperty(GetPostgateRecordsResponse, "fields", {
|
|
1686
1686
|
enumerable: true,
|
|
1687
1687
|
configurable: true,
|
|
1688
1688
|
writable: true,
|
|
@@ -2771,6 +2771,144 @@ Object.defineProperty(GetLikesBySubjectSortedResponse, "fields", {
|
|
|
2771
2771
|
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2772
2772
|
])
|
|
2773
2773
|
});
|
|
2774
|
+
/**
|
|
2775
|
+
* @generated from message bsky.GetQuotesBySubjectSortedRequest
|
|
2776
|
+
*/
|
|
2777
|
+
class GetQuotesBySubjectSortedRequest extends protobuf_1.Message {
|
|
2778
|
+
constructor(data) {
|
|
2779
|
+
super();
|
|
2780
|
+
/**
|
|
2781
|
+
* @generated from field: bsky.RecordRef subject = 1;
|
|
2782
|
+
*/
|
|
2783
|
+
Object.defineProperty(this, "subject", {
|
|
2784
|
+
enumerable: true,
|
|
2785
|
+
configurable: true,
|
|
2786
|
+
writable: true,
|
|
2787
|
+
value: void 0
|
|
2788
|
+
});
|
|
2789
|
+
/**
|
|
2790
|
+
* @generated from field: int32 limit = 2;
|
|
2791
|
+
*/
|
|
2792
|
+
Object.defineProperty(this, "limit", {
|
|
2793
|
+
enumerable: true,
|
|
2794
|
+
configurable: true,
|
|
2795
|
+
writable: true,
|
|
2796
|
+
value: 0
|
|
2797
|
+
});
|
|
2798
|
+
/**
|
|
2799
|
+
* @generated from field: string cursor = 3;
|
|
2800
|
+
*/
|
|
2801
|
+
Object.defineProperty(this, "cursor", {
|
|
2802
|
+
enumerable: true,
|
|
2803
|
+
configurable: true,
|
|
2804
|
+
writable: true,
|
|
2805
|
+
value: ''
|
|
2806
|
+
});
|
|
2807
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2808
|
+
}
|
|
2809
|
+
static fromBinary(bytes, options) {
|
|
2810
|
+
return new GetQuotesBySubjectSortedRequest().fromBinary(bytes, options);
|
|
2811
|
+
}
|
|
2812
|
+
static fromJson(jsonValue, options) {
|
|
2813
|
+
return new GetQuotesBySubjectSortedRequest().fromJson(jsonValue, options);
|
|
2814
|
+
}
|
|
2815
|
+
static fromJsonString(jsonString, options) {
|
|
2816
|
+
return new GetQuotesBySubjectSortedRequest().fromJsonString(jsonString, options);
|
|
2817
|
+
}
|
|
2818
|
+
static equals(a, b) {
|
|
2819
|
+
return protobuf_1.proto3.util.equals(GetQuotesBySubjectSortedRequest, a, b);
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
exports.GetQuotesBySubjectSortedRequest = GetQuotesBySubjectSortedRequest;
|
|
2823
|
+
Object.defineProperty(GetQuotesBySubjectSortedRequest, "runtime", {
|
|
2824
|
+
enumerable: true,
|
|
2825
|
+
configurable: true,
|
|
2826
|
+
writable: true,
|
|
2827
|
+
value: protobuf_1.proto3
|
|
2828
|
+
});
|
|
2829
|
+
Object.defineProperty(GetQuotesBySubjectSortedRequest, "typeName", {
|
|
2830
|
+
enumerable: true,
|
|
2831
|
+
configurable: true,
|
|
2832
|
+
writable: true,
|
|
2833
|
+
value: 'bsky.GetQuotesBySubjectSortedRequest'
|
|
2834
|
+
});
|
|
2835
|
+
Object.defineProperty(GetQuotesBySubjectSortedRequest, "fields", {
|
|
2836
|
+
enumerable: true,
|
|
2837
|
+
configurable: true,
|
|
2838
|
+
writable: true,
|
|
2839
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
2840
|
+
{ no: 1, name: 'subject', kind: 'message', T: RecordRef },
|
|
2841
|
+
{ no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
|
|
2842
|
+
{ no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2843
|
+
])
|
|
2844
|
+
});
|
|
2845
|
+
/**
|
|
2846
|
+
* @generated from message bsky.GetQuotesBySubjectSortedResponse
|
|
2847
|
+
*/
|
|
2848
|
+
class GetQuotesBySubjectSortedResponse extends protobuf_1.Message {
|
|
2849
|
+
constructor(data) {
|
|
2850
|
+
super();
|
|
2851
|
+
/**
|
|
2852
|
+
* @generated from field: repeated string uris = 1;
|
|
2853
|
+
*/
|
|
2854
|
+
Object.defineProperty(this, "uris", {
|
|
2855
|
+
enumerable: true,
|
|
2856
|
+
configurable: true,
|
|
2857
|
+
writable: true,
|
|
2858
|
+
value: []
|
|
2859
|
+
});
|
|
2860
|
+
/**
|
|
2861
|
+
* @generated from field: string cursor = 2;
|
|
2862
|
+
*/
|
|
2863
|
+
Object.defineProperty(this, "cursor", {
|
|
2864
|
+
enumerable: true,
|
|
2865
|
+
configurable: true,
|
|
2866
|
+
writable: true,
|
|
2867
|
+
value: ''
|
|
2868
|
+
});
|
|
2869
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
2870
|
+
}
|
|
2871
|
+
static fromBinary(bytes, options) {
|
|
2872
|
+
return new GetQuotesBySubjectSortedResponse().fromBinary(bytes, options);
|
|
2873
|
+
}
|
|
2874
|
+
static fromJson(jsonValue, options) {
|
|
2875
|
+
return new GetQuotesBySubjectSortedResponse().fromJson(jsonValue, options);
|
|
2876
|
+
}
|
|
2877
|
+
static fromJsonString(jsonString, options) {
|
|
2878
|
+
return new GetQuotesBySubjectSortedResponse().fromJsonString(jsonString, options);
|
|
2879
|
+
}
|
|
2880
|
+
static equals(a, b) {
|
|
2881
|
+
return protobuf_1.proto3.util.equals(GetQuotesBySubjectSortedResponse, a, b);
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
exports.GetQuotesBySubjectSortedResponse = GetQuotesBySubjectSortedResponse;
|
|
2885
|
+
Object.defineProperty(GetQuotesBySubjectSortedResponse, "runtime", {
|
|
2886
|
+
enumerable: true,
|
|
2887
|
+
configurable: true,
|
|
2888
|
+
writable: true,
|
|
2889
|
+
value: protobuf_1.proto3
|
|
2890
|
+
});
|
|
2891
|
+
Object.defineProperty(GetQuotesBySubjectSortedResponse, "typeName", {
|
|
2892
|
+
enumerable: true,
|
|
2893
|
+
configurable: true,
|
|
2894
|
+
writable: true,
|
|
2895
|
+
value: 'bsky.GetQuotesBySubjectSortedResponse'
|
|
2896
|
+
});
|
|
2897
|
+
Object.defineProperty(GetQuotesBySubjectSortedResponse, "fields", {
|
|
2898
|
+
enumerable: true,
|
|
2899
|
+
configurable: true,
|
|
2900
|
+
writable: true,
|
|
2901
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
2902
|
+
{
|
|
2903
|
+
no: 1,
|
|
2904
|
+
name: 'uris',
|
|
2905
|
+
kind: 'scalar',
|
|
2906
|
+
T: 9 /* ScalarType.STRING */,
|
|
2907
|
+
repeated: true,
|
|
2908
|
+
},
|
|
2909
|
+
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
2910
|
+
])
|
|
2911
|
+
});
|
|
2774
2912
|
/**
|
|
2775
2913
|
* - return like uris for user A on subject B, C, D...
|
|
2776
2914
|
* - viewer state on posts
|
|
@@ -3088,138 +3226,6 @@ Object.defineProperty(GetActorLikesResponse, "fields", {
|
|
|
3088
3226
|
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
3089
3227
|
])
|
|
3090
3228
|
});
|
|
3091
|
-
/**
|
|
3092
|
-
* @generated from message bsky.GetQuotesBySubjectRequest
|
|
3093
|
-
*/
|
|
3094
|
-
class GetQuotesBySubjectRequest extends protobuf_1.Message {
|
|
3095
|
-
constructor(data) {
|
|
3096
|
-
super();
|
|
3097
|
-
/**
|
|
3098
|
-
* @generated from field: bsky.RecordRef subject = 1;
|
|
3099
|
-
*/
|
|
3100
|
-
Object.defineProperty(this, "subject", {
|
|
3101
|
-
enumerable: true,
|
|
3102
|
-
configurable: true,
|
|
3103
|
-
writable: true,
|
|
3104
|
-
value: void 0
|
|
3105
|
-
});
|
|
3106
|
-
/**
|
|
3107
|
-
* @generated from field: int32 limit = 2;
|
|
3108
|
-
*/
|
|
3109
|
-
Object.defineProperty(this, "limit", {
|
|
3110
|
-
enumerable: true,
|
|
3111
|
-
configurable: true,
|
|
3112
|
-
writable: true,
|
|
3113
|
-
value: 0
|
|
3114
|
-
});
|
|
3115
|
-
/**
|
|
3116
|
-
* @generated from field: string cursor = 3;
|
|
3117
|
-
*/
|
|
3118
|
-
Object.defineProperty(this, "cursor", {
|
|
3119
|
-
enumerable: true,
|
|
3120
|
-
configurable: true,
|
|
3121
|
-
writable: true,
|
|
3122
|
-
value: ''
|
|
3123
|
-
});
|
|
3124
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
3125
|
-
}
|
|
3126
|
-
static fromBinary(bytes, options) {
|
|
3127
|
-
return new GetQuotesBySubjectRequest().fromBinary(bytes, options);
|
|
3128
|
-
}
|
|
3129
|
-
static fromJson(jsonValue, options) {
|
|
3130
|
-
return new GetQuotesBySubjectRequest().fromJson(jsonValue, options);
|
|
3131
|
-
}
|
|
3132
|
-
static fromJsonString(jsonString, options) {
|
|
3133
|
-
return new GetQuotesBySubjectRequest().fromJsonString(jsonString, options);
|
|
3134
|
-
}
|
|
3135
|
-
static equals(a, b) {
|
|
3136
|
-
return protobuf_1.proto3.util.equals(GetQuotesBySubjectRequest, a, b);
|
|
3137
|
-
}
|
|
3138
|
-
}
|
|
3139
|
-
exports.GetQuotesBySubjectRequest = GetQuotesBySubjectRequest;
|
|
3140
|
-
Object.defineProperty(GetQuotesBySubjectRequest, "runtime", {
|
|
3141
|
-
enumerable: true,
|
|
3142
|
-
configurable: true,
|
|
3143
|
-
writable: true,
|
|
3144
|
-
value: protobuf_1.proto3
|
|
3145
|
-
});
|
|
3146
|
-
Object.defineProperty(GetQuotesBySubjectRequest, "typeName", {
|
|
3147
|
-
enumerable: true,
|
|
3148
|
-
configurable: true,
|
|
3149
|
-
writable: true,
|
|
3150
|
-
value: 'bsky.GetQuotesBySubjectRequest'
|
|
3151
|
-
});
|
|
3152
|
-
Object.defineProperty(GetQuotesBySubjectRequest, "fields", {
|
|
3153
|
-
enumerable: true,
|
|
3154
|
-
configurable: true,
|
|
3155
|
-
writable: true,
|
|
3156
|
-
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
3157
|
-
{ no: 1, name: 'subject', kind: 'message', T: RecordRef },
|
|
3158
|
-
{ no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
|
|
3159
|
-
{ no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
3160
|
-
])
|
|
3161
|
-
});
|
|
3162
|
-
/**
|
|
3163
|
-
* @generated from message bsky.GetQuotesBySubjectResponse
|
|
3164
|
-
*/
|
|
3165
|
-
class GetQuotesBySubjectResponse extends protobuf_1.Message {
|
|
3166
|
-
constructor(data) {
|
|
3167
|
-
super();
|
|
3168
|
-
/**
|
|
3169
|
-
* @generated from field: repeated bsky.RecordRef refs = 1;
|
|
3170
|
-
*/
|
|
3171
|
-
Object.defineProperty(this, "refs", {
|
|
3172
|
-
enumerable: true,
|
|
3173
|
-
configurable: true,
|
|
3174
|
-
writable: true,
|
|
3175
|
-
value: []
|
|
3176
|
-
});
|
|
3177
|
-
/**
|
|
3178
|
-
* @generated from field: string cursor = 2;
|
|
3179
|
-
*/
|
|
3180
|
-
Object.defineProperty(this, "cursor", {
|
|
3181
|
-
enumerable: true,
|
|
3182
|
-
configurable: true,
|
|
3183
|
-
writable: true,
|
|
3184
|
-
value: ''
|
|
3185
|
-
});
|
|
3186
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
3187
|
-
}
|
|
3188
|
-
static fromBinary(bytes, options) {
|
|
3189
|
-
return new GetQuotesBySubjectResponse().fromBinary(bytes, options);
|
|
3190
|
-
}
|
|
3191
|
-
static fromJson(jsonValue, options) {
|
|
3192
|
-
return new GetQuotesBySubjectResponse().fromJson(jsonValue, options);
|
|
3193
|
-
}
|
|
3194
|
-
static fromJsonString(jsonString, options) {
|
|
3195
|
-
return new GetQuotesBySubjectResponse().fromJsonString(jsonString, options);
|
|
3196
|
-
}
|
|
3197
|
-
static equals(a, b) {
|
|
3198
|
-
return protobuf_1.proto3.util.equals(GetQuotesBySubjectResponse, a, b);
|
|
3199
|
-
}
|
|
3200
|
-
}
|
|
3201
|
-
exports.GetQuotesBySubjectResponse = GetQuotesBySubjectResponse;
|
|
3202
|
-
Object.defineProperty(GetQuotesBySubjectResponse, "runtime", {
|
|
3203
|
-
enumerable: true,
|
|
3204
|
-
configurable: true,
|
|
3205
|
-
writable: true,
|
|
3206
|
-
value: protobuf_1.proto3
|
|
3207
|
-
});
|
|
3208
|
-
Object.defineProperty(GetQuotesBySubjectResponse, "typeName", {
|
|
3209
|
-
enumerable: true,
|
|
3210
|
-
configurable: true,
|
|
3211
|
-
writable: true,
|
|
3212
|
-
value: 'bsky.GetQuotesBySubjectResponse'
|
|
3213
|
-
});
|
|
3214
|
-
Object.defineProperty(GetQuotesBySubjectResponse, "fields", {
|
|
3215
|
-
enumerable: true,
|
|
3216
|
-
configurable: true,
|
|
3217
|
-
writable: true,
|
|
3218
|
-
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
3219
|
-
{ no: 1, name: 'refs', kind: 'message', T: RecordRef, repeated: true },
|
|
3220
|
-
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
3221
|
-
])
|
|
3222
|
-
});
|
|
3223
3229
|
/**
|
|
3224
3230
|
*
|
|
3225
3231
|
* Interactions
|
|
@@ -3822,6 +3828,118 @@ Object.defineProperty(GetListCountsResponse, "fields", {
|
|
|
3822
3828
|
},
|
|
3823
3829
|
])
|
|
3824
3830
|
});
|
|
3831
|
+
/**
|
|
3832
|
+
* @generated from message bsky.GetNewUserCountForRangeRequest
|
|
3833
|
+
*/
|
|
3834
|
+
class GetNewUserCountForRangeRequest extends protobuf_1.Message {
|
|
3835
|
+
constructor(data) {
|
|
3836
|
+
super();
|
|
3837
|
+
/**
|
|
3838
|
+
* @generated from field: google.protobuf.Timestamp start = 1;
|
|
3839
|
+
*/
|
|
3840
|
+
Object.defineProperty(this, "start", {
|
|
3841
|
+
enumerable: true,
|
|
3842
|
+
configurable: true,
|
|
3843
|
+
writable: true,
|
|
3844
|
+
value: void 0
|
|
3845
|
+
});
|
|
3846
|
+
/**
|
|
3847
|
+
* @generated from field: google.protobuf.Timestamp end = 2;
|
|
3848
|
+
*/
|
|
3849
|
+
Object.defineProperty(this, "end", {
|
|
3850
|
+
enumerable: true,
|
|
3851
|
+
configurable: true,
|
|
3852
|
+
writable: true,
|
|
3853
|
+
value: void 0
|
|
3854
|
+
});
|
|
3855
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
3856
|
+
}
|
|
3857
|
+
static fromBinary(bytes, options) {
|
|
3858
|
+
return new GetNewUserCountForRangeRequest().fromBinary(bytes, options);
|
|
3859
|
+
}
|
|
3860
|
+
static fromJson(jsonValue, options) {
|
|
3861
|
+
return new GetNewUserCountForRangeRequest().fromJson(jsonValue, options);
|
|
3862
|
+
}
|
|
3863
|
+
static fromJsonString(jsonString, options) {
|
|
3864
|
+
return new GetNewUserCountForRangeRequest().fromJsonString(jsonString, options);
|
|
3865
|
+
}
|
|
3866
|
+
static equals(a, b) {
|
|
3867
|
+
return protobuf_1.proto3.util.equals(GetNewUserCountForRangeRequest, a, b);
|
|
3868
|
+
}
|
|
3869
|
+
}
|
|
3870
|
+
exports.GetNewUserCountForRangeRequest = GetNewUserCountForRangeRequest;
|
|
3871
|
+
Object.defineProperty(GetNewUserCountForRangeRequest, "runtime", {
|
|
3872
|
+
enumerable: true,
|
|
3873
|
+
configurable: true,
|
|
3874
|
+
writable: true,
|
|
3875
|
+
value: protobuf_1.proto3
|
|
3876
|
+
});
|
|
3877
|
+
Object.defineProperty(GetNewUserCountForRangeRequest, "typeName", {
|
|
3878
|
+
enumerable: true,
|
|
3879
|
+
configurable: true,
|
|
3880
|
+
writable: true,
|
|
3881
|
+
value: 'bsky.GetNewUserCountForRangeRequest'
|
|
3882
|
+
});
|
|
3883
|
+
Object.defineProperty(GetNewUserCountForRangeRequest, "fields", {
|
|
3884
|
+
enumerable: true,
|
|
3885
|
+
configurable: true,
|
|
3886
|
+
writable: true,
|
|
3887
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
3888
|
+
{ no: 1, name: 'start', kind: 'message', T: protobuf_1.Timestamp },
|
|
3889
|
+
{ no: 2, name: 'end', kind: 'message', T: protobuf_1.Timestamp },
|
|
3890
|
+
])
|
|
3891
|
+
});
|
|
3892
|
+
/**
|
|
3893
|
+
* @generated from message bsky.GetNewUserCountForRangeResponse
|
|
3894
|
+
*/
|
|
3895
|
+
class GetNewUserCountForRangeResponse extends protobuf_1.Message {
|
|
3896
|
+
constructor(data) {
|
|
3897
|
+
super();
|
|
3898
|
+
/**
|
|
3899
|
+
* @generated from field: int32 count = 1;
|
|
3900
|
+
*/
|
|
3901
|
+
Object.defineProperty(this, "count", {
|
|
3902
|
+
enumerable: true,
|
|
3903
|
+
configurable: true,
|
|
3904
|
+
writable: true,
|
|
3905
|
+
value: 0
|
|
3906
|
+
});
|
|
3907
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
3908
|
+
}
|
|
3909
|
+
static fromBinary(bytes, options) {
|
|
3910
|
+
return new GetNewUserCountForRangeResponse().fromBinary(bytes, options);
|
|
3911
|
+
}
|
|
3912
|
+
static fromJson(jsonValue, options) {
|
|
3913
|
+
return new GetNewUserCountForRangeResponse().fromJson(jsonValue, options);
|
|
3914
|
+
}
|
|
3915
|
+
static fromJsonString(jsonString, options) {
|
|
3916
|
+
return new GetNewUserCountForRangeResponse().fromJsonString(jsonString, options);
|
|
3917
|
+
}
|
|
3918
|
+
static equals(a, b) {
|
|
3919
|
+
return protobuf_1.proto3.util.equals(GetNewUserCountForRangeResponse, a, b);
|
|
3920
|
+
}
|
|
3921
|
+
}
|
|
3922
|
+
exports.GetNewUserCountForRangeResponse = GetNewUserCountForRangeResponse;
|
|
3923
|
+
Object.defineProperty(GetNewUserCountForRangeResponse, "runtime", {
|
|
3924
|
+
enumerable: true,
|
|
3925
|
+
configurable: true,
|
|
3926
|
+
writable: true,
|
|
3927
|
+
value: protobuf_1.proto3
|
|
3928
|
+
});
|
|
3929
|
+
Object.defineProperty(GetNewUserCountForRangeResponse, "typeName", {
|
|
3930
|
+
enumerable: true,
|
|
3931
|
+
configurable: true,
|
|
3932
|
+
writable: true,
|
|
3933
|
+
value: 'bsky.GetNewUserCountForRangeResponse'
|
|
3934
|
+
});
|
|
3935
|
+
Object.defineProperty(GetNewUserCountForRangeResponse, "fields", {
|
|
3936
|
+
enumerable: true,
|
|
3937
|
+
configurable: true,
|
|
3938
|
+
writable: true,
|
|
3939
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
3940
|
+
{ no: 1, name: 'count', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
|
|
3941
|
+
])
|
|
3942
|
+
});
|
|
3825
3943
|
/**
|
|
3826
3944
|
* - return repost uris where subject uri is subject A
|
|
3827
3945
|
* - `getReposts` list for a post
|
|
@@ -11044,7 +11162,7 @@ Object.defineProperty(GetRecordTakedownResponse, "fields", {
|
|
|
11044
11162
|
])
|
|
11045
11163
|
});
|
|
11046
11164
|
/**
|
|
11047
|
-
* GetFollowsFollowing gets the list of DIDs that the actor follows that also follow the
|
|
11165
|
+
* GetFollowsFollowing gets the list of DIDs that the actor follows that also follow the targets
|
|
11048
11166
|
*
|
|
11049
11167
|
* @generated from message bsky.GetFollowsFollowingRequest
|
|
11050
11168
|
*/
|