@atproto/bsky 0.0.155 → 0.0.157
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 +18 -0
- package/dist/api/app/bsky/{unspecced/getPostThreadHiddenV2.d.ts → notification/getPreferences.d.ts} +1 -1
- package/dist/api/app/bsky/notification/getPreferences.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/getPreferences.js +39 -0
- package/dist/api/app/bsky/notification/getPreferences.js.map +1 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.d.ts +4 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.js +47 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.js.map +1 -0
- package/dist/api/app/bsky/notification/util.d.ts +9 -0
- package/dist/api/app/bsky/notification/util.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/util.js +84 -0
- package/dist/api/app/bsky/notification/util.js.map +1 -0
- package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.d.ts +4 -0
- package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
- package/dist/api/app/bsky/unspecced/{getPostThreadHiddenV2.js → getPostThreadOtherV2.js} +5 -5
- package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/api/app/bsky/unspecced/getPostThreadV2.js +2 -2
- package/dist/api/app/bsky/unspecced/getPostThreadV2.js.map +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +6 -2
- package/dist/api/index.js.map +1 -1
- package/dist/context.d.ts +3 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +3 -0
- package/dist/context.js.map +1 -1
- package/dist/data-plane/bsync/index.d.ts.map +1 -1
- package/dist/data-plane/bsync/index.js +84 -0
- package/dist/data-plane/bsync/index.js.map +1 -1
- package/dist/data-plane/server/db/database-schema.d.ts +2 -1
- package/dist/data-plane/server/db/database-schema.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.d.ts.map +1 -0
- package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.js +24 -0
- package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.js.map +1 -0
- package/dist/data-plane/server/db/migrations/index.d.ts +1 -0
- package/dist/data-plane/server/db/migrations/index.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/index.js +2 -1
- package/dist/data-plane/server/db/migrations/index.js.map +1 -1
- package/dist/data-plane/server/db/tables/private-data.d.ts +13 -0
- package/dist/data-plane/server/db/tables/private-data.d.ts.map +1 -0
- package/dist/data-plane/server/db/tables/private-data.js +5 -0
- package/dist/data-plane/server/db/tables/private-data.js.map +1 -0
- package/dist/data-plane/server/routes/index.d.ts.map +1 -1
- package/dist/data-plane/server/routes/index.js +2 -0
- package/dist/data-plane/server/routes/index.js.map +1 -1
- package/dist/data-plane/server/routes/private-data.d.ts +9 -0
- package/dist/data-plane/server/routes/private-data.d.ts.map +1 -0
- package/dist/data-plane/server/routes/private-data.js +63 -0
- package/dist/data-plane/server/routes/private-data.js.map +1 -0
- package/dist/data-plane/server/util.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/lexicon/index.d.ts +8 -4
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +14 -6
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +518 -100
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +277 -52
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.js +36 -0
- package/dist/lexicon/types/app/bsky/notification/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts +35 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.js +7 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts +52 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js +7 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.d.ts → getPostThreadOtherV2.d.ts} +7 -7
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js +16 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
- package/dist/proto/bsky_connect.d.ts +10 -1
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +9 -0
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +234 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +693 -5
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/proto/bsync_pb.d.ts +10 -10
- package/dist/proto/bsync_pb.d.ts.map +1 -1
- package/dist/proto/bsync_pb.js +15 -15
- package/dist/proto/bsync_pb.js.map +1 -1
- package/dist/stash.d.ts +26 -0
- package/dist/stash.d.ts.map +1 -0
- package/dist/stash.js +56 -0
- package/dist/stash.js.map +1 -0
- package/dist/views/index.d.ts +8 -8
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +32 -32
- package/dist/views/index.js.map +1 -1
- package/dist/views/threads-v2.d.ts +11 -11
- package/dist/views/threads-v2.d.ts.map +1 -1
- package/dist/views/threads-v2.js.map +1 -1
- package/package.json +4 -4
- package/proto/bsky.proto +61 -0
- package/src/api/app/bsky/notification/getPreferences.ts +50 -0
- package/src/api/app/bsky/notification/putPreferencesV2.ts +62 -0
- package/src/api/app/bsky/notification/util.ts +123 -0
- package/src/api/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +5 -5
- package/src/api/app/bsky/unspecced/getPostThreadV2.ts +2 -2
- package/src/api/index.ts +6 -2
- package/src/context.ts +6 -0
- package/src/data-plane/bsync/index.ts +109 -1
- package/src/data-plane/server/db/database-schema.ts +3 -1
- package/src/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.ts +22 -0
- package/src/data-plane/server/db/migrations/index.ts +1 -0
- package/src/data-plane/server/db/tables/private-data.ts +13 -0
- package/src/data-plane/server/routes/index.ts +2 -0
- package/src/data-plane/server/routes/private-data.ts +90 -0
- package/src/index.ts +4 -0
- package/src/lexicon/index.ts +38 -14
- package/src/lexicon/lexicons.ts +281 -54
- package/src/lexicon/types/app/bsky/notification/defs.ts +76 -0
- package/src/lexicon/types/app/bsky/notification/getPreferences.ts +52 -0
- package/src/lexicon/types/app/bsky/notification/putPreferencesV2.ts +69 -0
- package/src/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +10 -10
- package/src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts +2 -2
- package/src/proto/bsky_connect.ts +11 -0
- package/src/proto/bsky_pb.ts +669 -0
- package/src/proto/bsync_pb.ts +15 -15
- package/src/stash.ts +75 -0
- package/src/views/index.ts +46 -46
- package/src/views/threads-v2.ts +23 -23
- package/tests/stash.test.ts +156 -0
- package/tests/views/__snapshots__/thread-v2.test.ts.snap +7 -7
- package/tests/views/notifications.test.ts +221 -0
- package/tests/views/thread-v2.test.ts +93 -93
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +1 -1
- package/dist/api/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
- package/dist/api/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -16
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
package/dist/proto/bsky_pb.js
CHANGED
|
@@ -4,12 +4,60 @@
|
|
|
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 = 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 = void 0;
|
|
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.ChatNotificationFilter = exports.NotificationFilter = void 0;
|
|
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
|
+
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
|
+
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
|
+
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
|
+
/**
|
|
14
|
+
* @generated from enum bsky.NotificationFilter
|
|
15
|
+
*/
|
|
16
|
+
var NotificationFilter;
|
|
17
|
+
(function (NotificationFilter) {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from enum value: NOTIFICATION_FILTER_UNSPECIFIED = 0;
|
|
20
|
+
*/
|
|
21
|
+
NotificationFilter[NotificationFilter["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
22
|
+
/**
|
|
23
|
+
* @generated from enum value: NOTIFICATION_FILTER_ALL = 1;
|
|
24
|
+
*/
|
|
25
|
+
NotificationFilter[NotificationFilter["ALL"] = 1] = "ALL";
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: NOTIFICATION_FILTER_FOLLOWS = 2;
|
|
28
|
+
*/
|
|
29
|
+
NotificationFilter[NotificationFilter["FOLLOWS"] = 2] = "FOLLOWS";
|
|
30
|
+
})(NotificationFilter || (exports.NotificationFilter = NotificationFilter = {}));
|
|
31
|
+
// Retrieve enum metadata with: proto3.getEnumType(NotificationFilter)
|
|
32
|
+
protobuf_1.proto3.util.setEnumType(NotificationFilter, 'bsky.NotificationFilter', [
|
|
33
|
+
{ no: 0, name: 'NOTIFICATION_FILTER_UNSPECIFIED' },
|
|
34
|
+
{ no: 1, name: 'NOTIFICATION_FILTER_ALL' },
|
|
35
|
+
{ no: 2, name: 'NOTIFICATION_FILTER_FOLLOWS' },
|
|
36
|
+
]);
|
|
37
|
+
/**
|
|
38
|
+
* @generated from enum bsky.ChatNotificationFilter
|
|
39
|
+
*/
|
|
40
|
+
var ChatNotificationFilter;
|
|
41
|
+
(function (ChatNotificationFilter) {
|
|
42
|
+
/**
|
|
43
|
+
* @generated from enum value: CHAT_NOTIFICATION_FILTER_UNSPECIFIED = 0;
|
|
44
|
+
*/
|
|
45
|
+
ChatNotificationFilter[ChatNotificationFilter["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
46
|
+
/**
|
|
47
|
+
* @generated from enum value: CHAT_NOTIFICATION_FILTER_ALL = 1;
|
|
48
|
+
*/
|
|
49
|
+
ChatNotificationFilter[ChatNotificationFilter["ALL"] = 1] = "ALL";
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: CHAT_NOTIFICATION_FILTER_ACCEPTED = 2;
|
|
52
|
+
*/
|
|
53
|
+
ChatNotificationFilter[ChatNotificationFilter["ACCEPTED"] = 2] = "ACCEPTED";
|
|
54
|
+
})(ChatNotificationFilter || (exports.ChatNotificationFilter = ChatNotificationFilter = {}));
|
|
55
|
+
// Retrieve enum metadata with: proto3.getEnumType(ChatNotificationFilter)
|
|
56
|
+
protobuf_1.proto3.util.setEnumType(ChatNotificationFilter, 'bsky.ChatNotificationFilter', [
|
|
57
|
+
{ no: 0, name: 'CHAT_NOTIFICATION_FILTER_UNSPECIFIED' },
|
|
58
|
+
{ no: 1, name: 'CHAT_NOTIFICATION_FILTER_ALL' },
|
|
59
|
+
{ no: 2, name: 'CHAT_NOTIFICATION_FILTER_ACCEPTED' },
|
|
60
|
+
]);
|
|
13
61
|
/**
|
|
14
62
|
* @generated from enum bsky.FeedType
|
|
15
63
|
*/
|
|
@@ -8280,6 +8328,646 @@ Object.defineProperty(GetBlocklistSubscriptionsResponse, "fields", {
|
|
|
8280
8328
|
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
8281
8329
|
])
|
|
8282
8330
|
});
|
|
8331
|
+
/**
|
|
8332
|
+
* @generated from message bsky.GetNotificationPreferencesRequest
|
|
8333
|
+
*/
|
|
8334
|
+
class GetNotificationPreferencesRequest extends protobuf_1.Message {
|
|
8335
|
+
constructor(data) {
|
|
8336
|
+
super();
|
|
8337
|
+
/**
|
|
8338
|
+
* @generated from field: repeated string dids = 1;
|
|
8339
|
+
*/
|
|
8340
|
+
Object.defineProperty(this, "dids", {
|
|
8341
|
+
enumerable: true,
|
|
8342
|
+
configurable: true,
|
|
8343
|
+
writable: true,
|
|
8344
|
+
value: []
|
|
8345
|
+
});
|
|
8346
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8347
|
+
}
|
|
8348
|
+
static fromBinary(bytes, options) {
|
|
8349
|
+
return new GetNotificationPreferencesRequest().fromBinary(bytes, options);
|
|
8350
|
+
}
|
|
8351
|
+
static fromJson(jsonValue, options) {
|
|
8352
|
+
return new GetNotificationPreferencesRequest().fromJson(jsonValue, options);
|
|
8353
|
+
}
|
|
8354
|
+
static fromJsonString(jsonString, options) {
|
|
8355
|
+
return new GetNotificationPreferencesRequest().fromJsonString(jsonString, options);
|
|
8356
|
+
}
|
|
8357
|
+
static equals(a, b) {
|
|
8358
|
+
return protobuf_1.proto3.util.equals(GetNotificationPreferencesRequest, a, b);
|
|
8359
|
+
}
|
|
8360
|
+
}
|
|
8361
|
+
exports.GetNotificationPreferencesRequest = GetNotificationPreferencesRequest;
|
|
8362
|
+
Object.defineProperty(GetNotificationPreferencesRequest, "runtime", {
|
|
8363
|
+
enumerable: true,
|
|
8364
|
+
configurable: true,
|
|
8365
|
+
writable: true,
|
|
8366
|
+
value: protobuf_1.proto3
|
|
8367
|
+
});
|
|
8368
|
+
Object.defineProperty(GetNotificationPreferencesRequest, "typeName", {
|
|
8369
|
+
enumerable: true,
|
|
8370
|
+
configurable: true,
|
|
8371
|
+
writable: true,
|
|
8372
|
+
value: 'bsky.GetNotificationPreferencesRequest'
|
|
8373
|
+
});
|
|
8374
|
+
Object.defineProperty(GetNotificationPreferencesRequest, "fields", {
|
|
8375
|
+
enumerable: true,
|
|
8376
|
+
configurable: true,
|
|
8377
|
+
writable: true,
|
|
8378
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8379
|
+
{
|
|
8380
|
+
no: 1,
|
|
8381
|
+
name: 'dids',
|
|
8382
|
+
kind: 'scalar',
|
|
8383
|
+
T: 9 /* ScalarType.STRING */,
|
|
8384
|
+
repeated: true,
|
|
8385
|
+
},
|
|
8386
|
+
])
|
|
8387
|
+
});
|
|
8388
|
+
/**
|
|
8389
|
+
* @generated from message bsky.NotificationChannelList
|
|
8390
|
+
*/
|
|
8391
|
+
class NotificationChannelList extends protobuf_1.Message {
|
|
8392
|
+
constructor(data) {
|
|
8393
|
+
super();
|
|
8394
|
+
/**
|
|
8395
|
+
* @generated from field: bool enabled = 1;
|
|
8396
|
+
*/
|
|
8397
|
+
Object.defineProperty(this, "enabled", {
|
|
8398
|
+
enumerable: true,
|
|
8399
|
+
configurable: true,
|
|
8400
|
+
writable: true,
|
|
8401
|
+
value: false
|
|
8402
|
+
});
|
|
8403
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8404
|
+
}
|
|
8405
|
+
static fromBinary(bytes, options) {
|
|
8406
|
+
return new NotificationChannelList().fromBinary(bytes, options);
|
|
8407
|
+
}
|
|
8408
|
+
static fromJson(jsonValue, options) {
|
|
8409
|
+
return new NotificationChannelList().fromJson(jsonValue, options);
|
|
8410
|
+
}
|
|
8411
|
+
static fromJsonString(jsonString, options) {
|
|
8412
|
+
return new NotificationChannelList().fromJsonString(jsonString, options);
|
|
8413
|
+
}
|
|
8414
|
+
static equals(a, b) {
|
|
8415
|
+
return protobuf_1.proto3.util.equals(NotificationChannelList, a, b);
|
|
8416
|
+
}
|
|
8417
|
+
}
|
|
8418
|
+
exports.NotificationChannelList = NotificationChannelList;
|
|
8419
|
+
Object.defineProperty(NotificationChannelList, "runtime", {
|
|
8420
|
+
enumerable: true,
|
|
8421
|
+
configurable: true,
|
|
8422
|
+
writable: true,
|
|
8423
|
+
value: protobuf_1.proto3
|
|
8424
|
+
});
|
|
8425
|
+
Object.defineProperty(NotificationChannelList, "typeName", {
|
|
8426
|
+
enumerable: true,
|
|
8427
|
+
configurable: true,
|
|
8428
|
+
writable: true,
|
|
8429
|
+
value: 'bsky.NotificationChannelList'
|
|
8430
|
+
});
|
|
8431
|
+
Object.defineProperty(NotificationChannelList, "fields", {
|
|
8432
|
+
enumerable: true,
|
|
8433
|
+
configurable: true,
|
|
8434
|
+
writable: true,
|
|
8435
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8436
|
+
{ no: 1, name: 'enabled', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
8437
|
+
])
|
|
8438
|
+
});
|
|
8439
|
+
/**
|
|
8440
|
+
* @generated from message bsky.NotificationChannelPush
|
|
8441
|
+
*/
|
|
8442
|
+
class NotificationChannelPush extends protobuf_1.Message {
|
|
8443
|
+
constructor(data) {
|
|
8444
|
+
super();
|
|
8445
|
+
/**
|
|
8446
|
+
* @generated from field: bool enabled = 1;
|
|
8447
|
+
*/
|
|
8448
|
+
Object.defineProperty(this, "enabled", {
|
|
8449
|
+
enumerable: true,
|
|
8450
|
+
configurable: true,
|
|
8451
|
+
writable: true,
|
|
8452
|
+
value: false
|
|
8453
|
+
});
|
|
8454
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8455
|
+
}
|
|
8456
|
+
static fromBinary(bytes, options) {
|
|
8457
|
+
return new NotificationChannelPush().fromBinary(bytes, options);
|
|
8458
|
+
}
|
|
8459
|
+
static fromJson(jsonValue, options) {
|
|
8460
|
+
return new NotificationChannelPush().fromJson(jsonValue, options);
|
|
8461
|
+
}
|
|
8462
|
+
static fromJsonString(jsonString, options) {
|
|
8463
|
+
return new NotificationChannelPush().fromJsonString(jsonString, options);
|
|
8464
|
+
}
|
|
8465
|
+
static equals(a, b) {
|
|
8466
|
+
return protobuf_1.proto3.util.equals(NotificationChannelPush, a, b);
|
|
8467
|
+
}
|
|
8468
|
+
}
|
|
8469
|
+
exports.NotificationChannelPush = NotificationChannelPush;
|
|
8470
|
+
Object.defineProperty(NotificationChannelPush, "runtime", {
|
|
8471
|
+
enumerable: true,
|
|
8472
|
+
configurable: true,
|
|
8473
|
+
writable: true,
|
|
8474
|
+
value: protobuf_1.proto3
|
|
8475
|
+
});
|
|
8476
|
+
Object.defineProperty(NotificationChannelPush, "typeName", {
|
|
8477
|
+
enumerable: true,
|
|
8478
|
+
configurable: true,
|
|
8479
|
+
writable: true,
|
|
8480
|
+
value: 'bsky.NotificationChannelPush'
|
|
8481
|
+
});
|
|
8482
|
+
Object.defineProperty(NotificationChannelPush, "fields", {
|
|
8483
|
+
enumerable: true,
|
|
8484
|
+
configurable: true,
|
|
8485
|
+
writable: true,
|
|
8486
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8487
|
+
{ no: 1, name: 'enabled', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
8488
|
+
])
|
|
8489
|
+
});
|
|
8490
|
+
/**
|
|
8491
|
+
* @generated from message bsky.FilterableNotificationPreference
|
|
8492
|
+
*/
|
|
8493
|
+
class FilterableNotificationPreference extends protobuf_1.Message {
|
|
8494
|
+
constructor(data) {
|
|
8495
|
+
super();
|
|
8496
|
+
/**
|
|
8497
|
+
* @generated from field: bsky.NotificationFilter filter = 1;
|
|
8498
|
+
*/
|
|
8499
|
+
Object.defineProperty(this, "filter", {
|
|
8500
|
+
enumerable: true,
|
|
8501
|
+
configurable: true,
|
|
8502
|
+
writable: true,
|
|
8503
|
+
value: NotificationFilter.UNSPECIFIED
|
|
8504
|
+
});
|
|
8505
|
+
/**
|
|
8506
|
+
* @generated from field: bsky.NotificationChannelList list = 2;
|
|
8507
|
+
*/
|
|
8508
|
+
Object.defineProperty(this, "list", {
|
|
8509
|
+
enumerable: true,
|
|
8510
|
+
configurable: true,
|
|
8511
|
+
writable: true,
|
|
8512
|
+
value: void 0
|
|
8513
|
+
});
|
|
8514
|
+
/**
|
|
8515
|
+
* @generated from field: bsky.NotificationChannelPush push = 3;
|
|
8516
|
+
*/
|
|
8517
|
+
Object.defineProperty(this, "push", {
|
|
8518
|
+
enumerable: true,
|
|
8519
|
+
configurable: true,
|
|
8520
|
+
writable: true,
|
|
8521
|
+
value: void 0
|
|
8522
|
+
});
|
|
8523
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8524
|
+
}
|
|
8525
|
+
static fromBinary(bytes, options) {
|
|
8526
|
+
return new FilterableNotificationPreference().fromBinary(bytes, options);
|
|
8527
|
+
}
|
|
8528
|
+
static fromJson(jsonValue, options) {
|
|
8529
|
+
return new FilterableNotificationPreference().fromJson(jsonValue, options);
|
|
8530
|
+
}
|
|
8531
|
+
static fromJsonString(jsonString, options) {
|
|
8532
|
+
return new FilterableNotificationPreference().fromJsonString(jsonString, options);
|
|
8533
|
+
}
|
|
8534
|
+
static equals(a, b) {
|
|
8535
|
+
return protobuf_1.proto3.util.equals(FilterableNotificationPreference, a, b);
|
|
8536
|
+
}
|
|
8537
|
+
}
|
|
8538
|
+
exports.FilterableNotificationPreference = FilterableNotificationPreference;
|
|
8539
|
+
Object.defineProperty(FilterableNotificationPreference, "runtime", {
|
|
8540
|
+
enumerable: true,
|
|
8541
|
+
configurable: true,
|
|
8542
|
+
writable: true,
|
|
8543
|
+
value: protobuf_1.proto3
|
|
8544
|
+
});
|
|
8545
|
+
Object.defineProperty(FilterableNotificationPreference, "typeName", {
|
|
8546
|
+
enumerable: true,
|
|
8547
|
+
configurable: true,
|
|
8548
|
+
writable: true,
|
|
8549
|
+
value: 'bsky.FilterableNotificationPreference'
|
|
8550
|
+
});
|
|
8551
|
+
Object.defineProperty(FilterableNotificationPreference, "fields", {
|
|
8552
|
+
enumerable: true,
|
|
8553
|
+
configurable: true,
|
|
8554
|
+
writable: true,
|
|
8555
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8556
|
+
{
|
|
8557
|
+
no: 1,
|
|
8558
|
+
name: 'filter',
|
|
8559
|
+
kind: 'enum',
|
|
8560
|
+
T: protobuf_1.proto3.getEnumType(NotificationFilter),
|
|
8561
|
+
},
|
|
8562
|
+
{ no: 2, name: 'list', kind: 'message', T: NotificationChannelList },
|
|
8563
|
+
{ no: 3, name: 'push', kind: 'message', T: NotificationChannelPush },
|
|
8564
|
+
])
|
|
8565
|
+
});
|
|
8566
|
+
/**
|
|
8567
|
+
* @generated from message bsky.NotificationPreference
|
|
8568
|
+
*/
|
|
8569
|
+
class NotificationPreference extends protobuf_1.Message {
|
|
8570
|
+
constructor(data) {
|
|
8571
|
+
super();
|
|
8572
|
+
/**
|
|
8573
|
+
* @generated from field: bsky.NotificationChannelList list = 1;
|
|
8574
|
+
*/
|
|
8575
|
+
Object.defineProperty(this, "list", {
|
|
8576
|
+
enumerable: true,
|
|
8577
|
+
configurable: true,
|
|
8578
|
+
writable: true,
|
|
8579
|
+
value: void 0
|
|
8580
|
+
});
|
|
8581
|
+
/**
|
|
8582
|
+
* @generated from field: bsky.NotificationChannelPush push = 2;
|
|
8583
|
+
*/
|
|
8584
|
+
Object.defineProperty(this, "push", {
|
|
8585
|
+
enumerable: true,
|
|
8586
|
+
configurable: true,
|
|
8587
|
+
writable: true,
|
|
8588
|
+
value: void 0
|
|
8589
|
+
});
|
|
8590
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8591
|
+
}
|
|
8592
|
+
static fromBinary(bytes, options) {
|
|
8593
|
+
return new NotificationPreference().fromBinary(bytes, options);
|
|
8594
|
+
}
|
|
8595
|
+
static fromJson(jsonValue, options) {
|
|
8596
|
+
return new NotificationPreference().fromJson(jsonValue, options);
|
|
8597
|
+
}
|
|
8598
|
+
static fromJsonString(jsonString, options) {
|
|
8599
|
+
return new NotificationPreference().fromJsonString(jsonString, options);
|
|
8600
|
+
}
|
|
8601
|
+
static equals(a, b) {
|
|
8602
|
+
return protobuf_1.proto3.util.equals(NotificationPreference, a, b);
|
|
8603
|
+
}
|
|
8604
|
+
}
|
|
8605
|
+
exports.NotificationPreference = NotificationPreference;
|
|
8606
|
+
Object.defineProperty(NotificationPreference, "runtime", {
|
|
8607
|
+
enumerable: true,
|
|
8608
|
+
configurable: true,
|
|
8609
|
+
writable: true,
|
|
8610
|
+
value: protobuf_1.proto3
|
|
8611
|
+
});
|
|
8612
|
+
Object.defineProperty(NotificationPreference, "typeName", {
|
|
8613
|
+
enumerable: true,
|
|
8614
|
+
configurable: true,
|
|
8615
|
+
writable: true,
|
|
8616
|
+
value: 'bsky.NotificationPreference'
|
|
8617
|
+
});
|
|
8618
|
+
Object.defineProperty(NotificationPreference, "fields", {
|
|
8619
|
+
enumerable: true,
|
|
8620
|
+
configurable: true,
|
|
8621
|
+
writable: true,
|
|
8622
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8623
|
+
{ no: 1, name: 'list', kind: 'message', T: NotificationChannelList },
|
|
8624
|
+
{ no: 2, name: 'push', kind: 'message', T: NotificationChannelPush },
|
|
8625
|
+
])
|
|
8626
|
+
});
|
|
8627
|
+
/**
|
|
8628
|
+
* @generated from message bsky.ChatNotificationPreference
|
|
8629
|
+
*/
|
|
8630
|
+
class ChatNotificationPreference extends protobuf_1.Message {
|
|
8631
|
+
constructor(data) {
|
|
8632
|
+
super();
|
|
8633
|
+
/**
|
|
8634
|
+
* @generated from field: bsky.ChatNotificationFilter filter = 1;
|
|
8635
|
+
*/
|
|
8636
|
+
Object.defineProperty(this, "filter", {
|
|
8637
|
+
enumerable: true,
|
|
8638
|
+
configurable: true,
|
|
8639
|
+
writable: true,
|
|
8640
|
+
value: ChatNotificationFilter.UNSPECIFIED
|
|
8641
|
+
});
|
|
8642
|
+
/**
|
|
8643
|
+
* @generated from field: bsky.NotificationChannelPush push = 2;
|
|
8644
|
+
*/
|
|
8645
|
+
Object.defineProperty(this, "push", {
|
|
8646
|
+
enumerable: true,
|
|
8647
|
+
configurable: true,
|
|
8648
|
+
writable: true,
|
|
8649
|
+
value: void 0
|
|
8650
|
+
});
|
|
8651
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8652
|
+
}
|
|
8653
|
+
static fromBinary(bytes, options) {
|
|
8654
|
+
return new ChatNotificationPreference().fromBinary(bytes, options);
|
|
8655
|
+
}
|
|
8656
|
+
static fromJson(jsonValue, options) {
|
|
8657
|
+
return new ChatNotificationPreference().fromJson(jsonValue, options);
|
|
8658
|
+
}
|
|
8659
|
+
static fromJsonString(jsonString, options) {
|
|
8660
|
+
return new ChatNotificationPreference().fromJsonString(jsonString, options);
|
|
8661
|
+
}
|
|
8662
|
+
static equals(a, b) {
|
|
8663
|
+
return protobuf_1.proto3.util.equals(ChatNotificationPreference, a, b);
|
|
8664
|
+
}
|
|
8665
|
+
}
|
|
8666
|
+
exports.ChatNotificationPreference = ChatNotificationPreference;
|
|
8667
|
+
Object.defineProperty(ChatNotificationPreference, "runtime", {
|
|
8668
|
+
enumerable: true,
|
|
8669
|
+
configurable: true,
|
|
8670
|
+
writable: true,
|
|
8671
|
+
value: protobuf_1.proto3
|
|
8672
|
+
});
|
|
8673
|
+
Object.defineProperty(ChatNotificationPreference, "typeName", {
|
|
8674
|
+
enumerable: true,
|
|
8675
|
+
configurable: true,
|
|
8676
|
+
writable: true,
|
|
8677
|
+
value: 'bsky.ChatNotificationPreference'
|
|
8678
|
+
});
|
|
8679
|
+
Object.defineProperty(ChatNotificationPreference, "fields", {
|
|
8680
|
+
enumerable: true,
|
|
8681
|
+
configurable: true,
|
|
8682
|
+
writable: true,
|
|
8683
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8684
|
+
{
|
|
8685
|
+
no: 1,
|
|
8686
|
+
name: 'filter',
|
|
8687
|
+
kind: 'enum',
|
|
8688
|
+
T: protobuf_1.proto3.getEnumType(ChatNotificationFilter),
|
|
8689
|
+
},
|
|
8690
|
+
{ no: 2, name: 'push', kind: 'message', T: NotificationChannelPush },
|
|
8691
|
+
])
|
|
8692
|
+
});
|
|
8693
|
+
/**
|
|
8694
|
+
* @generated from message bsky.NotificationPreferences
|
|
8695
|
+
*/
|
|
8696
|
+
class NotificationPreferences extends protobuf_1.Message {
|
|
8697
|
+
constructor(data) {
|
|
8698
|
+
super();
|
|
8699
|
+
/**
|
|
8700
|
+
* @generated from field: bsky.ChatNotificationPreference chat = 1;
|
|
8701
|
+
*/
|
|
8702
|
+
Object.defineProperty(this, "chat", {
|
|
8703
|
+
enumerable: true,
|
|
8704
|
+
configurable: true,
|
|
8705
|
+
writable: true,
|
|
8706
|
+
value: void 0
|
|
8707
|
+
});
|
|
8708
|
+
/**
|
|
8709
|
+
* @generated from field: bsky.FilterableNotificationPreference follow = 2;
|
|
8710
|
+
*/
|
|
8711
|
+
Object.defineProperty(this, "follow", {
|
|
8712
|
+
enumerable: true,
|
|
8713
|
+
configurable: true,
|
|
8714
|
+
writable: true,
|
|
8715
|
+
value: void 0
|
|
8716
|
+
});
|
|
8717
|
+
/**
|
|
8718
|
+
* @generated from field: bsky.FilterableNotificationPreference like = 3;
|
|
8719
|
+
*/
|
|
8720
|
+
Object.defineProperty(this, "like", {
|
|
8721
|
+
enumerable: true,
|
|
8722
|
+
configurable: true,
|
|
8723
|
+
writable: true,
|
|
8724
|
+
value: void 0
|
|
8725
|
+
});
|
|
8726
|
+
/**
|
|
8727
|
+
* @generated from field: bsky.FilterableNotificationPreference like_via_repost = 4;
|
|
8728
|
+
*/
|
|
8729
|
+
Object.defineProperty(this, "likeViaRepost", {
|
|
8730
|
+
enumerable: true,
|
|
8731
|
+
configurable: true,
|
|
8732
|
+
writable: true,
|
|
8733
|
+
value: void 0
|
|
8734
|
+
});
|
|
8735
|
+
/**
|
|
8736
|
+
* @generated from field: bsky.FilterableNotificationPreference mention = 5;
|
|
8737
|
+
*/
|
|
8738
|
+
Object.defineProperty(this, "mention", {
|
|
8739
|
+
enumerable: true,
|
|
8740
|
+
configurable: true,
|
|
8741
|
+
writable: true,
|
|
8742
|
+
value: void 0
|
|
8743
|
+
});
|
|
8744
|
+
/**
|
|
8745
|
+
* @generated from field: bsky.FilterableNotificationPreference quote = 6;
|
|
8746
|
+
*/
|
|
8747
|
+
Object.defineProperty(this, "quote", {
|
|
8748
|
+
enumerable: true,
|
|
8749
|
+
configurable: true,
|
|
8750
|
+
writable: true,
|
|
8751
|
+
value: void 0
|
|
8752
|
+
});
|
|
8753
|
+
/**
|
|
8754
|
+
* @generated from field: bsky.FilterableNotificationPreference reply = 7;
|
|
8755
|
+
*/
|
|
8756
|
+
Object.defineProperty(this, "reply", {
|
|
8757
|
+
enumerable: true,
|
|
8758
|
+
configurable: true,
|
|
8759
|
+
writable: true,
|
|
8760
|
+
value: void 0
|
|
8761
|
+
});
|
|
8762
|
+
/**
|
|
8763
|
+
* @generated from field: bsky.FilterableNotificationPreference repost = 8;
|
|
8764
|
+
*/
|
|
8765
|
+
Object.defineProperty(this, "repost", {
|
|
8766
|
+
enumerable: true,
|
|
8767
|
+
configurable: true,
|
|
8768
|
+
writable: true,
|
|
8769
|
+
value: void 0
|
|
8770
|
+
});
|
|
8771
|
+
/**
|
|
8772
|
+
* @generated from field: bsky.FilterableNotificationPreference repost_via_repost = 9;
|
|
8773
|
+
*/
|
|
8774
|
+
Object.defineProperty(this, "repostViaRepost", {
|
|
8775
|
+
enumerable: true,
|
|
8776
|
+
configurable: true,
|
|
8777
|
+
writable: true,
|
|
8778
|
+
value: void 0
|
|
8779
|
+
});
|
|
8780
|
+
/**
|
|
8781
|
+
* @generated from field: bsky.NotificationPreference starterpack_joined = 10;
|
|
8782
|
+
*/
|
|
8783
|
+
Object.defineProperty(this, "starterpackJoined", {
|
|
8784
|
+
enumerable: true,
|
|
8785
|
+
configurable: true,
|
|
8786
|
+
writable: true,
|
|
8787
|
+
value: void 0
|
|
8788
|
+
});
|
|
8789
|
+
/**
|
|
8790
|
+
* @generated from field: bsky.NotificationPreference subscribed_post = 11;
|
|
8791
|
+
*/
|
|
8792
|
+
Object.defineProperty(this, "subscribedPost", {
|
|
8793
|
+
enumerable: true,
|
|
8794
|
+
configurable: true,
|
|
8795
|
+
writable: true,
|
|
8796
|
+
value: void 0
|
|
8797
|
+
});
|
|
8798
|
+
/**
|
|
8799
|
+
* @generated from field: bsky.NotificationPreference unverified = 12;
|
|
8800
|
+
*/
|
|
8801
|
+
Object.defineProperty(this, "unverified", {
|
|
8802
|
+
enumerable: true,
|
|
8803
|
+
configurable: true,
|
|
8804
|
+
writable: true,
|
|
8805
|
+
value: void 0
|
|
8806
|
+
});
|
|
8807
|
+
/**
|
|
8808
|
+
* @generated from field: bsky.NotificationPreference verified = 13;
|
|
8809
|
+
*/
|
|
8810
|
+
Object.defineProperty(this, "verified", {
|
|
8811
|
+
enumerable: true,
|
|
8812
|
+
configurable: true,
|
|
8813
|
+
writable: true,
|
|
8814
|
+
value: void 0
|
|
8815
|
+
});
|
|
8816
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8817
|
+
}
|
|
8818
|
+
static fromBinary(bytes, options) {
|
|
8819
|
+
return new NotificationPreferences().fromBinary(bytes, options);
|
|
8820
|
+
}
|
|
8821
|
+
static fromJson(jsonValue, options) {
|
|
8822
|
+
return new NotificationPreferences().fromJson(jsonValue, options);
|
|
8823
|
+
}
|
|
8824
|
+
static fromJsonString(jsonString, options) {
|
|
8825
|
+
return new NotificationPreferences().fromJsonString(jsonString, options);
|
|
8826
|
+
}
|
|
8827
|
+
static equals(a, b) {
|
|
8828
|
+
return protobuf_1.proto3.util.equals(NotificationPreferences, a, b);
|
|
8829
|
+
}
|
|
8830
|
+
}
|
|
8831
|
+
exports.NotificationPreferences = NotificationPreferences;
|
|
8832
|
+
Object.defineProperty(NotificationPreferences, "runtime", {
|
|
8833
|
+
enumerable: true,
|
|
8834
|
+
configurable: true,
|
|
8835
|
+
writable: true,
|
|
8836
|
+
value: protobuf_1.proto3
|
|
8837
|
+
});
|
|
8838
|
+
Object.defineProperty(NotificationPreferences, "typeName", {
|
|
8839
|
+
enumerable: true,
|
|
8840
|
+
configurable: true,
|
|
8841
|
+
writable: true,
|
|
8842
|
+
value: 'bsky.NotificationPreferences'
|
|
8843
|
+
});
|
|
8844
|
+
Object.defineProperty(NotificationPreferences, "fields", {
|
|
8845
|
+
enumerable: true,
|
|
8846
|
+
configurable: true,
|
|
8847
|
+
writable: true,
|
|
8848
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8849
|
+
{ no: 1, name: 'chat', kind: 'message', T: ChatNotificationPreference },
|
|
8850
|
+
{
|
|
8851
|
+
no: 2,
|
|
8852
|
+
name: 'follow',
|
|
8853
|
+
kind: 'message',
|
|
8854
|
+
T: FilterableNotificationPreference,
|
|
8855
|
+
},
|
|
8856
|
+
{
|
|
8857
|
+
no: 3,
|
|
8858
|
+
name: 'like',
|
|
8859
|
+
kind: 'message',
|
|
8860
|
+
T: FilterableNotificationPreference,
|
|
8861
|
+
},
|
|
8862
|
+
{
|
|
8863
|
+
no: 4,
|
|
8864
|
+
name: 'like_via_repost',
|
|
8865
|
+
kind: 'message',
|
|
8866
|
+
T: FilterableNotificationPreference,
|
|
8867
|
+
},
|
|
8868
|
+
{
|
|
8869
|
+
no: 5,
|
|
8870
|
+
name: 'mention',
|
|
8871
|
+
kind: 'message',
|
|
8872
|
+
T: FilterableNotificationPreference,
|
|
8873
|
+
},
|
|
8874
|
+
{
|
|
8875
|
+
no: 6,
|
|
8876
|
+
name: 'quote',
|
|
8877
|
+
kind: 'message',
|
|
8878
|
+
T: FilterableNotificationPreference,
|
|
8879
|
+
},
|
|
8880
|
+
{
|
|
8881
|
+
no: 7,
|
|
8882
|
+
name: 'reply',
|
|
8883
|
+
kind: 'message',
|
|
8884
|
+
T: FilterableNotificationPreference,
|
|
8885
|
+
},
|
|
8886
|
+
{
|
|
8887
|
+
no: 8,
|
|
8888
|
+
name: 'repost',
|
|
8889
|
+
kind: 'message',
|
|
8890
|
+
T: FilterableNotificationPreference,
|
|
8891
|
+
},
|
|
8892
|
+
{
|
|
8893
|
+
no: 9,
|
|
8894
|
+
name: 'repost_via_repost',
|
|
8895
|
+
kind: 'message',
|
|
8896
|
+
T: FilterableNotificationPreference,
|
|
8897
|
+
},
|
|
8898
|
+
{
|
|
8899
|
+
no: 10,
|
|
8900
|
+
name: 'starterpack_joined',
|
|
8901
|
+
kind: 'message',
|
|
8902
|
+
T: NotificationPreference,
|
|
8903
|
+
},
|
|
8904
|
+
{
|
|
8905
|
+
no: 11,
|
|
8906
|
+
name: 'subscribed_post',
|
|
8907
|
+
kind: 'message',
|
|
8908
|
+
T: NotificationPreference,
|
|
8909
|
+
},
|
|
8910
|
+
{ no: 12, name: 'unverified', kind: 'message', T: NotificationPreference },
|
|
8911
|
+
{ no: 13, name: 'verified', kind: 'message', T: NotificationPreference },
|
|
8912
|
+
])
|
|
8913
|
+
});
|
|
8914
|
+
/**
|
|
8915
|
+
* @generated from message bsky.GetNotificationPreferencesResponse
|
|
8916
|
+
*/
|
|
8917
|
+
class GetNotificationPreferencesResponse extends protobuf_1.Message {
|
|
8918
|
+
constructor(data) {
|
|
8919
|
+
super();
|
|
8920
|
+
/**
|
|
8921
|
+
* @generated from field: repeated bsky.NotificationPreferences preferences = 1;
|
|
8922
|
+
*/
|
|
8923
|
+
Object.defineProperty(this, "preferences", {
|
|
8924
|
+
enumerable: true,
|
|
8925
|
+
configurable: true,
|
|
8926
|
+
writable: true,
|
|
8927
|
+
value: []
|
|
8928
|
+
});
|
|
8929
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
8930
|
+
}
|
|
8931
|
+
static fromBinary(bytes, options) {
|
|
8932
|
+
return new GetNotificationPreferencesResponse().fromBinary(bytes, options);
|
|
8933
|
+
}
|
|
8934
|
+
static fromJson(jsonValue, options) {
|
|
8935
|
+
return new GetNotificationPreferencesResponse().fromJson(jsonValue, options);
|
|
8936
|
+
}
|
|
8937
|
+
static fromJsonString(jsonString, options) {
|
|
8938
|
+
return new GetNotificationPreferencesResponse().fromJsonString(jsonString, options);
|
|
8939
|
+
}
|
|
8940
|
+
static equals(a, b) {
|
|
8941
|
+
return protobuf_1.proto3.util.equals(GetNotificationPreferencesResponse, a, b);
|
|
8942
|
+
}
|
|
8943
|
+
}
|
|
8944
|
+
exports.GetNotificationPreferencesResponse = GetNotificationPreferencesResponse;
|
|
8945
|
+
Object.defineProperty(GetNotificationPreferencesResponse, "runtime", {
|
|
8946
|
+
enumerable: true,
|
|
8947
|
+
configurable: true,
|
|
8948
|
+
writable: true,
|
|
8949
|
+
value: protobuf_1.proto3
|
|
8950
|
+
});
|
|
8951
|
+
Object.defineProperty(GetNotificationPreferencesResponse, "typeName", {
|
|
8952
|
+
enumerable: true,
|
|
8953
|
+
configurable: true,
|
|
8954
|
+
writable: true,
|
|
8955
|
+
value: 'bsky.GetNotificationPreferencesResponse'
|
|
8956
|
+
});
|
|
8957
|
+
Object.defineProperty(GetNotificationPreferencesResponse, "fields", {
|
|
8958
|
+
enumerable: true,
|
|
8959
|
+
configurable: true,
|
|
8960
|
+
writable: true,
|
|
8961
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
8962
|
+
{
|
|
8963
|
+
no: 1,
|
|
8964
|
+
name: 'preferences',
|
|
8965
|
+
kind: 'message',
|
|
8966
|
+
T: NotificationPreferences,
|
|
8967
|
+
repeated: true,
|
|
8968
|
+
},
|
|
8969
|
+
])
|
|
8970
|
+
});
|
|
8283
8971
|
/**
|
|
8284
8972
|
* - list recent notifications for a user
|
|
8285
8973
|
* - notifications should include a uri for the record that caused the notif & a “reason” for the notification (reply, like, quotepost, etc)
|