@atproto/bsky 0.0.159 → 0.0.161
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 +17 -0
- package/dist/api/app/bsky/notification/util.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/util.js +8 -8
- package/dist/api/app/bsky/notification/util.js.map +1 -1
- package/dist/api/blob-resolver.js +1 -1
- package/dist/api/blob-resolver.js.map +1 -1
- package/dist/data-plane/server/routes/private-data.js +6 -6
- package/dist/data-plane/server/routes/private-data.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +8 -8
- package/dist/lexicon/lexicons.js +4 -4
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts.map +1 -1
- package/dist/proto/bsky_pb.d.ts +14 -14
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +41 -41
- package/dist/proto/bsky_pb.js.map +1 -1
- package/package.json +6 -6
- package/proto/bsky.proto +10 -10
- package/src/api/app/bsky/notification/util.ts +13 -12
- package/src/api/blob-resolver.ts +1 -1
- package/src/data-plane/server/routes/private-data.ts +10 -10
- package/src/lexicon/lexicons.ts +4 -4
- package/src/lexicon/types/app/bsky/notification/defs.ts +2 -2
- package/src/proto/bsky_pb.ts +33 -29
- package/tests/views/notifications.test.ts +4 -4
package/dist/proto/bsky_pb.js
CHANGED
|
@@ -4,59 +4,59 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.VerificationIssued = exports.GetVerificationRecordsResponse = exports.GetVerificationRecordsRequest = exports.VerificationMeta = 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.GetStatusRecordsResponse = exports.GetStatusRecordsRequest = 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 = exports.
|
|
7
|
+
exports.VerificationIssued = exports.GetVerificationRecordsResponse = exports.GetVerificationRecordsRequest = exports.VerificationMeta = 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.GetStatusRecordsResponse = exports.GetStatusRecordsRequest = 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 = exports.ChatNotificationInclude = exports.NotificationInclude = void 0;
|
|
8
8
|
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 = exports.GetLikesByActorAndSubjectsResponse = exports.GetLikesByActorAndSubjectsRequest = exports.GetQuotesBySubjectSortedResponse = exports.GetQuotesBySubjectSortedRequest = exports.GetLikesBySubjectSortedResponse = exports.GetLikesBySubjectSortedRequest = exports.GetLikesBySubjectResponse = exports.GetLikesBySubjectRequest = exports.GetVerificationsReceivedResponse = exports.GetVerificationsReceivedRequest = exports.VerificationReceived = exports.GetVerificationsIssuedResponse = exports.GetVerificationsIssuedRequest = void 0;
|
|
9
9
|
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.GetNotificationPreferencesResponse = exports.NotificationPreferences = exports.ChatNotificationPreference = exports.NotificationPreference = exports.FilterableNotificationPreference = exports.NotificationChannelPush = exports.NotificationChannelList = exports.GetNotificationPreferencesRequest = 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 = 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 = void 0;
|
|
10
10
|
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.GetSuggestedEntitiesResponse = exports.GetSuggestedEntitiesRequest = exports.SuggestedEntity = exports.GetFollowSuggestionsResponse = exports.GetFollowSuggestionsRequest = exports.SearchStarterPacksResponse = exports.SearchStarterPacksRequest = 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 = void 0;
|
|
11
11
|
exports.ClearThreadMutesResponse = exports.ClearThreadMutesRequest = exports.DeleteThreadMuteResponse = exports.DeleteThreadMuteRequest = 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 = void 0;
|
|
12
12
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
13
13
|
/**
|
|
14
|
-
* @generated from enum bsky.
|
|
14
|
+
* @generated from enum bsky.NotificationInclude
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
17
|
-
(function (
|
|
16
|
+
var NotificationInclude;
|
|
17
|
+
(function (NotificationInclude) {
|
|
18
18
|
/**
|
|
19
|
-
* @generated from enum value:
|
|
19
|
+
* @generated from enum value: NOTIFICATION_INCLUDE_UNSPECIFIED = 0;
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
NotificationInclude[NotificationInclude["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
22
22
|
/**
|
|
23
|
-
* @generated from enum value:
|
|
23
|
+
* @generated from enum value: NOTIFICATION_INCLUDE_ALL = 1;
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
NotificationInclude[NotificationInclude["ALL"] = 1] = "ALL";
|
|
26
26
|
/**
|
|
27
|
-
* @generated from enum value:
|
|
27
|
+
* @generated from enum value: NOTIFICATION_INCLUDE_FOLLOWS = 2;
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
})(
|
|
31
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
32
|
-
protobuf_1.proto3.util.setEnumType(
|
|
33
|
-
{ no: 0, name: '
|
|
34
|
-
{ no: 1, name: '
|
|
35
|
-
{ no: 2, name: '
|
|
29
|
+
NotificationInclude[NotificationInclude["FOLLOWS"] = 2] = "FOLLOWS";
|
|
30
|
+
})(NotificationInclude || (exports.NotificationInclude = NotificationInclude = {}));
|
|
31
|
+
// Retrieve enum metadata with: proto3.getEnumType(NotificationInclude)
|
|
32
|
+
protobuf_1.proto3.util.setEnumType(NotificationInclude, 'bsky.NotificationInclude', [
|
|
33
|
+
{ no: 0, name: 'NOTIFICATION_INCLUDE_UNSPECIFIED' },
|
|
34
|
+
{ no: 1, name: 'NOTIFICATION_INCLUDE_ALL' },
|
|
35
|
+
{ no: 2, name: 'NOTIFICATION_INCLUDE_FOLLOWS' },
|
|
36
36
|
]);
|
|
37
37
|
/**
|
|
38
|
-
* @generated from enum bsky.
|
|
38
|
+
* @generated from enum bsky.ChatNotificationInclude
|
|
39
39
|
*/
|
|
40
|
-
var
|
|
41
|
-
(function (
|
|
40
|
+
var ChatNotificationInclude;
|
|
41
|
+
(function (ChatNotificationInclude) {
|
|
42
42
|
/**
|
|
43
|
-
* @generated from enum value:
|
|
43
|
+
* @generated from enum value: CHAT_NOTIFICATION_INCLUDE_UNSPECIFIED = 0;
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
ChatNotificationInclude[ChatNotificationInclude["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
46
46
|
/**
|
|
47
|
-
* @generated from enum value:
|
|
47
|
+
* @generated from enum value: CHAT_NOTIFICATION_INCLUDE_ALL = 1;
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
ChatNotificationInclude[ChatNotificationInclude["ALL"] = 1] = "ALL";
|
|
50
50
|
/**
|
|
51
|
-
* @generated from enum value:
|
|
51
|
+
* @generated from enum value: CHAT_NOTIFICATION_INCLUDE_ACCEPTED = 2;
|
|
52
52
|
*/
|
|
53
|
-
|
|
54
|
-
})(
|
|
55
|
-
// Retrieve enum metadata with: proto3.getEnumType(
|
|
56
|
-
protobuf_1.proto3.util.setEnumType(
|
|
57
|
-
{ no: 0, name: '
|
|
58
|
-
{ no: 1, name: '
|
|
59
|
-
{ no: 2, name: '
|
|
53
|
+
ChatNotificationInclude[ChatNotificationInclude["ACCEPTED"] = 2] = "ACCEPTED";
|
|
54
|
+
})(ChatNotificationInclude || (exports.ChatNotificationInclude = ChatNotificationInclude = {}));
|
|
55
|
+
// Retrieve enum metadata with: proto3.getEnumType(ChatNotificationInclude)
|
|
56
|
+
protobuf_1.proto3.util.setEnumType(ChatNotificationInclude, 'bsky.ChatNotificationInclude', [
|
|
57
|
+
{ no: 0, name: 'CHAT_NOTIFICATION_INCLUDE_UNSPECIFIED' },
|
|
58
|
+
{ no: 1, name: 'CHAT_NOTIFICATION_INCLUDE_ALL' },
|
|
59
|
+
{ no: 2, name: 'CHAT_NOTIFICATION_INCLUDE_ACCEPTED' },
|
|
60
60
|
]);
|
|
61
61
|
/**
|
|
62
62
|
* @generated from enum bsky.FeedType
|
|
@@ -8494,13 +8494,13 @@ class FilterableNotificationPreference extends protobuf_1.Message {
|
|
|
8494
8494
|
constructor(data) {
|
|
8495
8495
|
super();
|
|
8496
8496
|
/**
|
|
8497
|
-
* @generated from field: bsky.
|
|
8497
|
+
* @generated from field: bsky.NotificationInclude include = 1;
|
|
8498
8498
|
*/
|
|
8499
|
-
Object.defineProperty(this, "
|
|
8499
|
+
Object.defineProperty(this, "include", {
|
|
8500
8500
|
enumerable: true,
|
|
8501
8501
|
configurable: true,
|
|
8502
8502
|
writable: true,
|
|
8503
|
-
value:
|
|
8503
|
+
value: NotificationInclude.UNSPECIFIED
|
|
8504
8504
|
});
|
|
8505
8505
|
/**
|
|
8506
8506
|
* @generated from field: bsky.NotificationChannelList list = 2;
|
|
@@ -8555,9 +8555,9 @@ Object.defineProperty(FilterableNotificationPreference, "fields", {
|
|
|
8555
8555
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8556
8556
|
{
|
|
8557
8557
|
no: 1,
|
|
8558
|
-
name: '
|
|
8558
|
+
name: 'include',
|
|
8559
8559
|
kind: 'enum',
|
|
8560
|
-
T: protobuf_1.proto3.getEnumType(
|
|
8560
|
+
T: protobuf_1.proto3.getEnumType(NotificationInclude),
|
|
8561
8561
|
},
|
|
8562
8562
|
{ no: 2, name: 'list', kind: 'message', T: NotificationChannelList },
|
|
8563
8563
|
{ no: 3, name: 'push', kind: 'message', T: NotificationChannelPush },
|
|
@@ -8631,13 +8631,13 @@ class ChatNotificationPreference extends protobuf_1.Message {
|
|
|
8631
8631
|
constructor(data) {
|
|
8632
8632
|
super();
|
|
8633
8633
|
/**
|
|
8634
|
-
* @generated from field: bsky.
|
|
8634
|
+
* @generated from field: bsky.ChatNotificationInclude include = 1;
|
|
8635
8635
|
*/
|
|
8636
|
-
Object.defineProperty(this, "
|
|
8636
|
+
Object.defineProperty(this, "include", {
|
|
8637
8637
|
enumerable: true,
|
|
8638
8638
|
configurable: true,
|
|
8639
8639
|
writable: true,
|
|
8640
|
-
value:
|
|
8640
|
+
value: ChatNotificationInclude.UNSPECIFIED
|
|
8641
8641
|
});
|
|
8642
8642
|
/**
|
|
8643
8643
|
* @generated from field: bsky.NotificationChannelPush push = 2;
|
|
@@ -8683,9 +8683,9 @@ Object.defineProperty(ChatNotificationPreference, "fields", {
|
|
|
8683
8683
|
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8684
8684
|
{
|
|
8685
8685
|
no: 1,
|
|
8686
|
-
name: '
|
|
8686
|
+
name: 'include',
|
|
8687
8687
|
kind: 'enum',
|
|
8688
|
-
T: protobuf_1.proto3.getEnumType(
|
|
8688
|
+
T: protobuf_1.proto3.getEnumType(ChatNotificationInclude),
|
|
8689
8689
|
},
|
|
8690
8690
|
{ no: 2, name: 'push', kind: 'message', T: NotificationChannelPush },
|
|
8691
8691
|
])
|