@atproto/bsky 0.0.165 → 0.0.167
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 +16 -0
- package/dist/api/app/bsky/notification/listActivitySubscriptions.d.ts +4 -0
- package/dist/api/app/bsky/notification/listActivitySubscriptions.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/listActivitySubscriptions.js +63 -0
- package/dist/api/app/bsky/notification/listActivitySubscriptions.js.map +1 -0
- package/dist/api/app/bsky/notification/putActivitySubscription.d.ts +4 -0
- package/dist/api/app/bsky/notification/putActivitySubscription.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/putActivitySubscription.js +63 -0
- package/dist/api/app/bsky/notification/putActivitySubscription.js.map +1 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/putPreferencesV2.js +2 -1
- package/dist/api/app/bsky/notification/putPreferencesV2.js.map +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +4 -0
- package/dist/api/index.js.map +1 -1
- package/dist/data-plane/bsync/index.d.ts.map +1 -1
- package/dist/data-plane/bsync/index.js +52 -38
- 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/20250611T140649895Z-add-activity-subscription.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.d.ts.map +1 -0
- package/dist/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.js +24 -0
- package/dist/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.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/pagination.d.ts +22 -0
- package/dist/data-plane/server/db/pagination.d.ts.map +1 -1
- package/dist/data-plane/server/db/pagination.js +30 -1
- package/dist/data-plane/server/db/pagination.js.map +1 -1
- package/dist/data-plane/server/db/tables/activity-subscription.d.ts +13 -0
- package/dist/data-plane/server/db/tables/activity-subscription.d.ts.map +1 -0
- package/dist/data-plane/server/db/tables/activity-subscription.js +5 -0
- package/dist/data-plane/server/db/tables/activity-subscription.js.map +1 -0
- package/dist/data-plane/server/indexing/index.d.ts +2 -0
- package/dist/data-plane/server/indexing/index.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/index.js +2 -0
- package/dist/data-plane/server/indexing/index.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/notif-declaration.d.ts +7 -0
- package/dist/data-plane/server/indexing/plugins/notif-declaration.d.ts.map +1 -0
- package/dist/data-plane/server/indexing/plugins/notif-declaration.js +72 -0
- package/dist/data-plane/server/indexing/plugins/notif-declaration.js.map +1 -0
- package/dist/data-plane/server/routes/activity-subscription.d.ts +6 -0
- package/dist/data-plane/server/routes/activity-subscription.d.ts.map +1 -0
- package/dist/data-plane/server/routes/activity-subscription.js +67 -0
- package/dist/data-plane/server/routes/activity-subscription.js.map +1 -0
- package/dist/data-plane/server/routes/index.js +2 -2
- package/dist/data-plane/server/routes/index.js.map +1 -1
- package/dist/data-plane/server/routes/notifs.d.ts +3 -0
- package/dist/data-plane/server/routes/notifs.d.ts.map +1 -1
- package/dist/data-plane/server/routes/notifs.js +64 -0
- package/dist/data-plane/server/routes/notifs.js.map +1 -1
- package/dist/data-plane/server/routes/profile.d.ts.map +1 -1
- package/dist/data-plane/server/routes/profile.js +20 -1
- package/dist/data-plane/server/routes/profile.js.map +1 -1
- package/dist/data-plane/server/routes/records.d.ts.map +1 -1
- package/dist/data-plane/server/routes/records.js +1 -0
- package/dist/data-plane/server/routes/records.js.map +1 -1
- package/dist/data-plane/server/util.d.ts +6 -6
- package/dist/hydration/actor.d.ts +20 -6
- package/dist/hydration/actor.d.ts.map +1 -1
- package/dist/hydration/actor.js +44 -1
- package/dist/hydration/actor.js.map +1 -1
- package/dist/hydration/hydrator.d.ts +4 -3
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +16 -2
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/hydration/util.d.ts +4 -0
- package/dist/hydration/util.d.ts.map +1 -1
- package/dist/hydration/util.js +3 -1
- package/dist/hydration/util.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +6 -2
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +3 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/proto/bsky_connect.d.ts +28 -1
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +27 -0
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +189 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +598 -5
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/stash.d.ts +1 -0
- package/dist/stash.d.ts.map +1 -1
- package/dist/stash.js +1 -0
- package/dist/stash.js.map +1 -1
- package/dist/views/index.d.ts +5 -3
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +29 -9
- package/dist/views/index.js.map +1 -1
- package/package.json +4 -4
- package/proto/bsky.proto +45 -0
- package/src/api/app/bsky/notification/listActivitySubscriptions.ts +110 -0
- package/src/api/app/bsky/notification/putActivitySubscription.ts +69 -0
- package/src/api/app/bsky/notification/putPreferencesV2.ts +2 -1
- package/src/api/index.ts +4 -0
- package/src/data-plane/bsync/index.ts +75 -44
- package/src/data-plane/server/db/database-schema.ts +3 -1
- package/src/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.ts +22 -0
- package/src/data-plane/server/db/migrations/index.ts +1 -0
- package/src/data-plane/server/db/pagination.ts +37 -0
- package/src/data-plane/server/db/tables/activity-subscription.ts +12 -0
- package/src/data-plane/server/indexing/index.ts +3 -0
- package/src/data-plane/server/indexing/plugins/notif-declaration.ts +59 -0
- package/src/data-plane/server/routes/activity-subscription.ts +83 -0
- package/src/data-plane/server/routes/index.ts +2 -2
- package/src/data-plane/server/routes/notifs.ts +95 -0
- package/src/data-plane/server/routes/profile.ts +33 -1
- package/src/data-plane/server/routes/records.ts +4 -0
- package/src/hydration/actor.ts +97 -10
- package/src/hydration/hydrator.ts +32 -6
- package/src/hydration/util.ts +8 -0
- package/src/lexicon/lexicons.ts +5 -0
- package/src/lexicon/types/app/bsky/notification/listNotifications.ts +1 -0
- package/src/proto/bsky_connect.ts +33 -0
- package/src/proto/bsky_pb.ts +648 -0
- package/src/stash.ts +6 -1
- package/src/views/index.ts +48 -11
- package/tests/__snapshots__/feed-generation.test.ts.snap +213 -0
- package/tests/data-plane/__snapshots__/indexing.test.ts.snap +88 -0
- package/tests/views/__snapshots__/author-feed.test.ts.snap +498 -0
- package/tests/views/__snapshots__/block-lists.test.ts.snap +56 -0
- package/tests/views/__snapshots__/blocks.test.ts.snap +28 -0
- package/tests/views/__snapshots__/follows.test.ts.snap +170 -0
- package/tests/views/__snapshots__/labeler-service.test.ts.snap +15 -0
- package/tests/views/__snapshots__/likes.test.ts.snap +23 -0
- package/tests/views/__snapshots__/list-feed.test.ts.snap +68 -0
- package/tests/views/__snapshots__/lists.test.ts.snap +120 -0
- package/tests/views/__snapshots__/mute-lists.test.ts.snap +63 -0
- package/tests/views/__snapshots__/mutes.test.ts.snap +55 -0
- package/tests/views/__snapshots__/notifications.test.ts.snap +299 -0
- package/tests/views/__snapshots__/posts.test.ts.snap +58 -0
- package/tests/views/__snapshots__/profile.test.ts.snap +74 -0
- package/tests/views/__snapshots__/quotes.test.ts.snap +35 -0
- package/tests/views/__snapshots__/reposts.test.ts.snap +26 -0
- package/tests/views/__snapshots__/starter-packs.test.ts.snap +113 -0
- package/tests/views/__snapshots__/thread-v2.test.ts.snap +115 -0
- package/tests/views/__snapshots__/thread.test.ts.snap +145 -0
- package/tests/views/__snapshots__/timeline.test.ts.snap +566 -0
- package/tests/views/notifications.test.ts +355 -19
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/data-plane/server/routes/private-data.d.ts +0 -9
- package/dist/data-plane/server/routes/private-data.d.ts.map +0 -1
- package/dist/data-plane/server/routes/private-data.js +0 -65
- package/dist/data-plane/server/routes/private-data.js.map +0 -1
- package/src/data-plane/server/routes/private-data.ts +0 -95
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 = 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;
|
|
7
|
+
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.GetNotificationDeclarationRecordsResponse = exports.GetNotificationDeclarationRecordsRequest = 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
|
+
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 = exports.VerificationIssued = exports.GetVerificationRecordsResponse = void 0;
|
|
9
|
+
exports.ActivitySubscription = exports.ReplyActivitySubscription = exports.PostActivitySubscription = exports.GetActivitySubscriptionDidsResponse = exports.GetActivitySubscriptionDidsRequest = 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 = exports.GetListMembershipResponse = exports.GetListMembershipRequest = void 0;
|
|
10
|
+
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 = exports.GetFeedGeneratorStatusRequest = exports.SearchFeedGeneratorsResponse = exports.SearchFeedGeneratorsRequest = exports.GetSuggestedFeedsResponse = exports.GetSuggestedFeedsRequest = exports.GetActorFeedsResponse = exports.GetActorFeedsRequest = exports.GetActivitySubscriptionsByActorAndSubjectsResponse = exports.GetActivitySubscriptionsByActorAndSubjectsRequest = 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 = exports.TakedownBlobRequest = exports.UntakedownActorResponse = exports.UntakedownActorRequest = exports.TakedownActorResponse = exports.TakedownActorRequest = exports.UpdateActorUpstreamStatusResponse = exports.UpdateActorUpstreamStatusRequest = exports.PingResponse = exports.PingRequest = void 0;
|
|
12
12
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
13
13
|
/**
|
|
14
14
|
* @generated from enum bsky.NotificationInclude
|
|
@@ -1445,6 +1445,114 @@ Object.defineProperty(GetActorChatDeclarationRecordsResponse, "fields", {
|
|
|
1445
1445
|
{ no: 1, name: 'records', kind: 'message', T: Record, repeated: true },
|
|
1446
1446
|
])
|
|
1447
1447
|
});
|
|
1448
|
+
/**
|
|
1449
|
+
* @generated from message bsky.GetNotificationDeclarationRecordsRequest
|
|
1450
|
+
*/
|
|
1451
|
+
class GetNotificationDeclarationRecordsRequest extends protobuf_1.Message {
|
|
1452
|
+
constructor(data) {
|
|
1453
|
+
super();
|
|
1454
|
+
/**
|
|
1455
|
+
* @generated from field: repeated string uris = 1;
|
|
1456
|
+
*/
|
|
1457
|
+
Object.defineProperty(this, "uris", {
|
|
1458
|
+
enumerable: true,
|
|
1459
|
+
configurable: true,
|
|
1460
|
+
writable: true,
|
|
1461
|
+
value: []
|
|
1462
|
+
});
|
|
1463
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1464
|
+
}
|
|
1465
|
+
static fromBinary(bytes, options) {
|
|
1466
|
+
return new GetNotificationDeclarationRecordsRequest().fromBinary(bytes, options);
|
|
1467
|
+
}
|
|
1468
|
+
static fromJson(jsonValue, options) {
|
|
1469
|
+
return new GetNotificationDeclarationRecordsRequest().fromJson(jsonValue, options);
|
|
1470
|
+
}
|
|
1471
|
+
static fromJsonString(jsonString, options) {
|
|
1472
|
+
return new GetNotificationDeclarationRecordsRequest().fromJsonString(jsonString, options);
|
|
1473
|
+
}
|
|
1474
|
+
static equals(a, b) {
|
|
1475
|
+
return protobuf_1.proto3.util.equals(GetNotificationDeclarationRecordsRequest, a, b);
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
exports.GetNotificationDeclarationRecordsRequest = GetNotificationDeclarationRecordsRequest;
|
|
1479
|
+
Object.defineProperty(GetNotificationDeclarationRecordsRequest, "runtime", {
|
|
1480
|
+
enumerable: true,
|
|
1481
|
+
configurable: true,
|
|
1482
|
+
writable: true,
|
|
1483
|
+
value: protobuf_1.proto3
|
|
1484
|
+
});
|
|
1485
|
+
Object.defineProperty(GetNotificationDeclarationRecordsRequest, "typeName", {
|
|
1486
|
+
enumerable: true,
|
|
1487
|
+
configurable: true,
|
|
1488
|
+
writable: true,
|
|
1489
|
+
value: 'bsky.GetNotificationDeclarationRecordsRequest'
|
|
1490
|
+
});
|
|
1491
|
+
Object.defineProperty(GetNotificationDeclarationRecordsRequest, "fields", {
|
|
1492
|
+
enumerable: true,
|
|
1493
|
+
configurable: true,
|
|
1494
|
+
writable: true,
|
|
1495
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
1496
|
+
{
|
|
1497
|
+
no: 1,
|
|
1498
|
+
name: 'uris',
|
|
1499
|
+
kind: 'scalar',
|
|
1500
|
+
T: 9 /* ScalarType.STRING */,
|
|
1501
|
+
repeated: true,
|
|
1502
|
+
},
|
|
1503
|
+
])
|
|
1504
|
+
});
|
|
1505
|
+
/**
|
|
1506
|
+
* @generated from message bsky.GetNotificationDeclarationRecordsResponse
|
|
1507
|
+
*/
|
|
1508
|
+
class GetNotificationDeclarationRecordsResponse extends protobuf_1.Message {
|
|
1509
|
+
constructor(data) {
|
|
1510
|
+
super();
|
|
1511
|
+
/**
|
|
1512
|
+
* @generated from field: repeated bsky.Record records = 1;
|
|
1513
|
+
*/
|
|
1514
|
+
Object.defineProperty(this, "records", {
|
|
1515
|
+
enumerable: true,
|
|
1516
|
+
configurable: true,
|
|
1517
|
+
writable: true,
|
|
1518
|
+
value: []
|
|
1519
|
+
});
|
|
1520
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1521
|
+
}
|
|
1522
|
+
static fromBinary(bytes, options) {
|
|
1523
|
+
return new GetNotificationDeclarationRecordsResponse().fromBinary(bytes, options);
|
|
1524
|
+
}
|
|
1525
|
+
static fromJson(jsonValue, options) {
|
|
1526
|
+
return new GetNotificationDeclarationRecordsResponse().fromJson(jsonValue, options);
|
|
1527
|
+
}
|
|
1528
|
+
static fromJsonString(jsonString, options) {
|
|
1529
|
+
return new GetNotificationDeclarationRecordsResponse().fromJsonString(jsonString, options);
|
|
1530
|
+
}
|
|
1531
|
+
static equals(a, b) {
|
|
1532
|
+
return protobuf_1.proto3.util.equals(GetNotificationDeclarationRecordsResponse, a, b);
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
exports.GetNotificationDeclarationRecordsResponse = GetNotificationDeclarationRecordsResponse;
|
|
1536
|
+
Object.defineProperty(GetNotificationDeclarationRecordsResponse, "runtime", {
|
|
1537
|
+
enumerable: true,
|
|
1538
|
+
configurable: true,
|
|
1539
|
+
writable: true,
|
|
1540
|
+
value: protobuf_1.proto3
|
|
1541
|
+
});
|
|
1542
|
+
Object.defineProperty(GetNotificationDeclarationRecordsResponse, "typeName", {
|
|
1543
|
+
enumerable: true,
|
|
1544
|
+
configurable: true,
|
|
1545
|
+
writable: true,
|
|
1546
|
+
value: 'bsky.GetNotificationDeclarationRecordsResponse'
|
|
1547
|
+
});
|
|
1548
|
+
Object.defineProperty(GetNotificationDeclarationRecordsResponse, "fields", {
|
|
1549
|
+
enumerable: true,
|
|
1550
|
+
configurable: true,
|
|
1551
|
+
writable: true,
|
|
1552
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
1553
|
+
{ no: 1, name: 'records', kind: 'message', T: Record, repeated: true },
|
|
1554
|
+
])
|
|
1555
|
+
});
|
|
1448
1556
|
/**
|
|
1449
1557
|
* @generated from message bsky.GetStatusRecordsRequest
|
|
1450
1558
|
*/
|
|
@@ -5534,6 +5642,15 @@ class ActorInfo extends protobuf_1.Message {
|
|
|
5534
5642
|
writable: true,
|
|
5535
5643
|
value: void 0
|
|
5536
5644
|
});
|
|
5645
|
+
/**
|
|
5646
|
+
* @generated from field: string allow_activity_subscriptions_from = 18;
|
|
5647
|
+
*/
|
|
5648
|
+
Object.defineProperty(this, "allowActivitySubscriptionsFrom", {
|
|
5649
|
+
enumerable: true,
|
|
5650
|
+
configurable: true,
|
|
5651
|
+
writable: true,
|
|
5652
|
+
value: ''
|
|
5653
|
+
});
|
|
5537
5654
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
5538
5655
|
}
|
|
5539
5656
|
static fromBinary(bytes, options) {
|
|
@@ -5627,6 +5744,12 @@ Object.defineProperty(ActorInfo, "fields", {
|
|
|
5627
5744
|
repeated: true,
|
|
5628
5745
|
},
|
|
5629
5746
|
{ no: 17, name: 'status_record', kind: 'message', T: Record },
|
|
5747
|
+
{
|
|
5748
|
+
no: 18,
|
|
5749
|
+
name: 'allow_activity_subscriptions_from',
|
|
5750
|
+
kind: 'scalar',
|
|
5751
|
+
T: 9 /* ScalarType.STRING */,
|
|
5752
|
+
},
|
|
5630
5753
|
])
|
|
5631
5754
|
});
|
|
5632
5755
|
/**
|
|
@@ -9585,6 +9708,476 @@ Object.defineProperty(GetUnreadNotificationCountResponse, "fields", {
|
|
|
9585
9708
|
{ no: 1, name: 'count', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
|
|
9586
9709
|
])
|
|
9587
9710
|
});
|
|
9711
|
+
/**
|
|
9712
|
+
* @generated from message bsky.GetActivitySubscriptionDidsRequest
|
|
9713
|
+
*/
|
|
9714
|
+
class GetActivitySubscriptionDidsRequest extends protobuf_1.Message {
|
|
9715
|
+
constructor(data) {
|
|
9716
|
+
super();
|
|
9717
|
+
/**
|
|
9718
|
+
* @generated from field: string actor_did = 1;
|
|
9719
|
+
*/
|
|
9720
|
+
Object.defineProperty(this, "actorDid", {
|
|
9721
|
+
enumerable: true,
|
|
9722
|
+
configurable: true,
|
|
9723
|
+
writable: true,
|
|
9724
|
+
value: ''
|
|
9725
|
+
});
|
|
9726
|
+
/**
|
|
9727
|
+
* @generated from field: int32 limit = 2;
|
|
9728
|
+
*/
|
|
9729
|
+
Object.defineProperty(this, "limit", {
|
|
9730
|
+
enumerable: true,
|
|
9731
|
+
configurable: true,
|
|
9732
|
+
writable: true,
|
|
9733
|
+
value: 0
|
|
9734
|
+
});
|
|
9735
|
+
/**
|
|
9736
|
+
* @generated from field: string cursor = 3;
|
|
9737
|
+
*/
|
|
9738
|
+
Object.defineProperty(this, "cursor", {
|
|
9739
|
+
enumerable: true,
|
|
9740
|
+
configurable: true,
|
|
9741
|
+
writable: true,
|
|
9742
|
+
value: ''
|
|
9743
|
+
});
|
|
9744
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
9745
|
+
}
|
|
9746
|
+
static fromBinary(bytes, options) {
|
|
9747
|
+
return new GetActivitySubscriptionDidsRequest().fromBinary(bytes, options);
|
|
9748
|
+
}
|
|
9749
|
+
static fromJson(jsonValue, options) {
|
|
9750
|
+
return new GetActivitySubscriptionDidsRequest().fromJson(jsonValue, options);
|
|
9751
|
+
}
|
|
9752
|
+
static fromJsonString(jsonString, options) {
|
|
9753
|
+
return new GetActivitySubscriptionDidsRequest().fromJsonString(jsonString, options);
|
|
9754
|
+
}
|
|
9755
|
+
static equals(a, b) {
|
|
9756
|
+
return protobuf_1.proto3.util.equals(GetActivitySubscriptionDidsRequest, a, b);
|
|
9757
|
+
}
|
|
9758
|
+
}
|
|
9759
|
+
exports.GetActivitySubscriptionDidsRequest = GetActivitySubscriptionDidsRequest;
|
|
9760
|
+
Object.defineProperty(GetActivitySubscriptionDidsRequest, "runtime", {
|
|
9761
|
+
enumerable: true,
|
|
9762
|
+
configurable: true,
|
|
9763
|
+
writable: true,
|
|
9764
|
+
value: protobuf_1.proto3
|
|
9765
|
+
});
|
|
9766
|
+
Object.defineProperty(GetActivitySubscriptionDidsRequest, "typeName", {
|
|
9767
|
+
enumerable: true,
|
|
9768
|
+
configurable: true,
|
|
9769
|
+
writable: true,
|
|
9770
|
+
value: 'bsky.GetActivitySubscriptionDidsRequest'
|
|
9771
|
+
});
|
|
9772
|
+
Object.defineProperty(GetActivitySubscriptionDidsRequest, "fields", {
|
|
9773
|
+
enumerable: true,
|
|
9774
|
+
configurable: true,
|
|
9775
|
+
writable: true,
|
|
9776
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
9777
|
+
{ no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
9778
|
+
{ no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ },
|
|
9779
|
+
{ no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
9780
|
+
])
|
|
9781
|
+
});
|
|
9782
|
+
/**
|
|
9783
|
+
* @generated from message bsky.GetActivitySubscriptionDidsResponse
|
|
9784
|
+
*/
|
|
9785
|
+
class GetActivitySubscriptionDidsResponse extends protobuf_1.Message {
|
|
9786
|
+
constructor(data) {
|
|
9787
|
+
super();
|
|
9788
|
+
/**
|
|
9789
|
+
* @generated from field: repeated string dids = 1;
|
|
9790
|
+
*/
|
|
9791
|
+
Object.defineProperty(this, "dids", {
|
|
9792
|
+
enumerable: true,
|
|
9793
|
+
configurable: true,
|
|
9794
|
+
writable: true,
|
|
9795
|
+
value: []
|
|
9796
|
+
});
|
|
9797
|
+
/**
|
|
9798
|
+
* @generated from field: string cursor = 2;
|
|
9799
|
+
*/
|
|
9800
|
+
Object.defineProperty(this, "cursor", {
|
|
9801
|
+
enumerable: true,
|
|
9802
|
+
configurable: true,
|
|
9803
|
+
writable: true,
|
|
9804
|
+
value: ''
|
|
9805
|
+
});
|
|
9806
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
9807
|
+
}
|
|
9808
|
+
static fromBinary(bytes, options) {
|
|
9809
|
+
return new GetActivitySubscriptionDidsResponse().fromBinary(bytes, options);
|
|
9810
|
+
}
|
|
9811
|
+
static fromJson(jsonValue, options) {
|
|
9812
|
+
return new GetActivitySubscriptionDidsResponse().fromJson(jsonValue, options);
|
|
9813
|
+
}
|
|
9814
|
+
static fromJsonString(jsonString, options) {
|
|
9815
|
+
return new GetActivitySubscriptionDidsResponse().fromJsonString(jsonString, options);
|
|
9816
|
+
}
|
|
9817
|
+
static equals(a, b) {
|
|
9818
|
+
return protobuf_1.proto3.util.equals(GetActivitySubscriptionDidsResponse, a, b);
|
|
9819
|
+
}
|
|
9820
|
+
}
|
|
9821
|
+
exports.GetActivitySubscriptionDidsResponse = GetActivitySubscriptionDidsResponse;
|
|
9822
|
+
Object.defineProperty(GetActivitySubscriptionDidsResponse, "runtime", {
|
|
9823
|
+
enumerable: true,
|
|
9824
|
+
configurable: true,
|
|
9825
|
+
writable: true,
|
|
9826
|
+
value: protobuf_1.proto3
|
|
9827
|
+
});
|
|
9828
|
+
Object.defineProperty(GetActivitySubscriptionDidsResponse, "typeName", {
|
|
9829
|
+
enumerable: true,
|
|
9830
|
+
configurable: true,
|
|
9831
|
+
writable: true,
|
|
9832
|
+
value: 'bsky.GetActivitySubscriptionDidsResponse'
|
|
9833
|
+
});
|
|
9834
|
+
Object.defineProperty(GetActivitySubscriptionDidsResponse, "fields", {
|
|
9835
|
+
enumerable: true,
|
|
9836
|
+
configurable: true,
|
|
9837
|
+
writable: true,
|
|
9838
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
9839
|
+
{
|
|
9840
|
+
no: 1,
|
|
9841
|
+
name: 'dids',
|
|
9842
|
+
kind: 'scalar',
|
|
9843
|
+
T: 9 /* ScalarType.STRING */,
|
|
9844
|
+
repeated: true,
|
|
9845
|
+
},
|
|
9846
|
+
{ no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
9847
|
+
])
|
|
9848
|
+
});
|
|
9849
|
+
/**
|
|
9850
|
+
* @generated from message bsky.PostActivitySubscription
|
|
9851
|
+
*/
|
|
9852
|
+
class PostActivitySubscription extends protobuf_1.Message {
|
|
9853
|
+
constructor(data) {
|
|
9854
|
+
super();
|
|
9855
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
9856
|
+
}
|
|
9857
|
+
static fromBinary(bytes, options) {
|
|
9858
|
+
return new PostActivitySubscription().fromBinary(bytes, options);
|
|
9859
|
+
}
|
|
9860
|
+
static fromJson(jsonValue, options) {
|
|
9861
|
+
return new PostActivitySubscription().fromJson(jsonValue, options);
|
|
9862
|
+
}
|
|
9863
|
+
static fromJsonString(jsonString, options) {
|
|
9864
|
+
return new PostActivitySubscription().fromJsonString(jsonString, options);
|
|
9865
|
+
}
|
|
9866
|
+
static equals(a, b) {
|
|
9867
|
+
return protobuf_1.proto3.util.equals(PostActivitySubscription, a, b);
|
|
9868
|
+
}
|
|
9869
|
+
}
|
|
9870
|
+
exports.PostActivitySubscription = PostActivitySubscription;
|
|
9871
|
+
Object.defineProperty(PostActivitySubscription, "runtime", {
|
|
9872
|
+
enumerable: true,
|
|
9873
|
+
configurable: true,
|
|
9874
|
+
writable: true,
|
|
9875
|
+
value: protobuf_1.proto3
|
|
9876
|
+
});
|
|
9877
|
+
Object.defineProperty(PostActivitySubscription, "typeName", {
|
|
9878
|
+
enumerable: true,
|
|
9879
|
+
configurable: true,
|
|
9880
|
+
writable: true,
|
|
9881
|
+
value: 'bsky.PostActivitySubscription'
|
|
9882
|
+
});
|
|
9883
|
+
Object.defineProperty(PostActivitySubscription, "fields", {
|
|
9884
|
+
enumerable: true,
|
|
9885
|
+
configurable: true,
|
|
9886
|
+
writable: true,
|
|
9887
|
+
value: protobuf_1.proto3.util.newFieldList(() => [])
|
|
9888
|
+
});
|
|
9889
|
+
/**
|
|
9890
|
+
* @generated from message bsky.ReplyActivitySubscription
|
|
9891
|
+
*/
|
|
9892
|
+
class ReplyActivitySubscription extends protobuf_1.Message {
|
|
9893
|
+
constructor(data) {
|
|
9894
|
+
super();
|
|
9895
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
9896
|
+
}
|
|
9897
|
+
static fromBinary(bytes, options) {
|
|
9898
|
+
return new ReplyActivitySubscription().fromBinary(bytes, options);
|
|
9899
|
+
}
|
|
9900
|
+
static fromJson(jsonValue, options) {
|
|
9901
|
+
return new ReplyActivitySubscription().fromJson(jsonValue, options);
|
|
9902
|
+
}
|
|
9903
|
+
static fromJsonString(jsonString, options) {
|
|
9904
|
+
return new ReplyActivitySubscription().fromJsonString(jsonString, options);
|
|
9905
|
+
}
|
|
9906
|
+
static equals(a, b) {
|
|
9907
|
+
return protobuf_1.proto3.util.equals(ReplyActivitySubscription, a, b);
|
|
9908
|
+
}
|
|
9909
|
+
}
|
|
9910
|
+
exports.ReplyActivitySubscription = ReplyActivitySubscription;
|
|
9911
|
+
Object.defineProperty(ReplyActivitySubscription, "runtime", {
|
|
9912
|
+
enumerable: true,
|
|
9913
|
+
configurable: true,
|
|
9914
|
+
writable: true,
|
|
9915
|
+
value: protobuf_1.proto3
|
|
9916
|
+
});
|
|
9917
|
+
Object.defineProperty(ReplyActivitySubscription, "typeName", {
|
|
9918
|
+
enumerable: true,
|
|
9919
|
+
configurable: true,
|
|
9920
|
+
writable: true,
|
|
9921
|
+
value: 'bsky.ReplyActivitySubscription'
|
|
9922
|
+
});
|
|
9923
|
+
Object.defineProperty(ReplyActivitySubscription, "fields", {
|
|
9924
|
+
enumerable: true,
|
|
9925
|
+
configurable: true,
|
|
9926
|
+
writable: true,
|
|
9927
|
+
value: protobuf_1.proto3.util.newFieldList(() => [])
|
|
9928
|
+
});
|
|
9929
|
+
/**
|
|
9930
|
+
* @generated from message bsky.ActivitySubscription
|
|
9931
|
+
*/
|
|
9932
|
+
class ActivitySubscription extends protobuf_1.Message {
|
|
9933
|
+
constructor(data) {
|
|
9934
|
+
super();
|
|
9935
|
+
/**
|
|
9936
|
+
* @generated from field: string actor_did = 1;
|
|
9937
|
+
*/
|
|
9938
|
+
Object.defineProperty(this, "actorDid", {
|
|
9939
|
+
enumerable: true,
|
|
9940
|
+
configurable: true,
|
|
9941
|
+
writable: true,
|
|
9942
|
+
value: ''
|
|
9943
|
+
});
|
|
9944
|
+
/**
|
|
9945
|
+
* @generated from field: string namespace = 2;
|
|
9946
|
+
*/
|
|
9947
|
+
Object.defineProperty(this, "namespace", {
|
|
9948
|
+
enumerable: true,
|
|
9949
|
+
configurable: true,
|
|
9950
|
+
writable: true,
|
|
9951
|
+
value: ''
|
|
9952
|
+
});
|
|
9953
|
+
/**
|
|
9954
|
+
* @generated from field: string key = 3;
|
|
9955
|
+
*/
|
|
9956
|
+
Object.defineProperty(this, "key", {
|
|
9957
|
+
enumerable: true,
|
|
9958
|
+
configurable: true,
|
|
9959
|
+
writable: true,
|
|
9960
|
+
value: ''
|
|
9961
|
+
});
|
|
9962
|
+
/**
|
|
9963
|
+
* @generated from field: optional bsky.PostActivitySubscription post = 4;
|
|
9964
|
+
*/
|
|
9965
|
+
Object.defineProperty(this, "post", {
|
|
9966
|
+
enumerable: true,
|
|
9967
|
+
configurable: true,
|
|
9968
|
+
writable: true,
|
|
9969
|
+
value: void 0
|
|
9970
|
+
});
|
|
9971
|
+
/**
|
|
9972
|
+
* @generated from field: optional bsky.ReplyActivitySubscription reply = 5;
|
|
9973
|
+
*/
|
|
9974
|
+
Object.defineProperty(this, "reply", {
|
|
9975
|
+
enumerable: true,
|
|
9976
|
+
configurable: true,
|
|
9977
|
+
writable: true,
|
|
9978
|
+
value: void 0
|
|
9979
|
+
});
|
|
9980
|
+
/**
|
|
9981
|
+
* @generated from field: string subject_did = 6;
|
|
9982
|
+
*/
|
|
9983
|
+
Object.defineProperty(this, "subjectDid", {
|
|
9984
|
+
enumerable: true,
|
|
9985
|
+
configurable: true,
|
|
9986
|
+
writable: true,
|
|
9987
|
+
value: ''
|
|
9988
|
+
});
|
|
9989
|
+
/**
|
|
9990
|
+
* @generated from field: google.protobuf.Timestamp indexed_at = 7;
|
|
9991
|
+
*/
|
|
9992
|
+
Object.defineProperty(this, "indexedAt", {
|
|
9993
|
+
enumerable: true,
|
|
9994
|
+
configurable: true,
|
|
9995
|
+
writable: true,
|
|
9996
|
+
value: void 0
|
|
9997
|
+
});
|
|
9998
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
9999
|
+
}
|
|
10000
|
+
static fromBinary(bytes, options) {
|
|
10001
|
+
return new ActivitySubscription().fromBinary(bytes, options);
|
|
10002
|
+
}
|
|
10003
|
+
static fromJson(jsonValue, options) {
|
|
10004
|
+
return new ActivitySubscription().fromJson(jsonValue, options);
|
|
10005
|
+
}
|
|
10006
|
+
static fromJsonString(jsonString, options) {
|
|
10007
|
+
return new ActivitySubscription().fromJsonString(jsonString, options);
|
|
10008
|
+
}
|
|
10009
|
+
static equals(a, b) {
|
|
10010
|
+
return protobuf_1.proto3.util.equals(ActivitySubscription, a, b);
|
|
10011
|
+
}
|
|
10012
|
+
}
|
|
10013
|
+
exports.ActivitySubscription = ActivitySubscription;
|
|
10014
|
+
Object.defineProperty(ActivitySubscription, "runtime", {
|
|
10015
|
+
enumerable: true,
|
|
10016
|
+
configurable: true,
|
|
10017
|
+
writable: true,
|
|
10018
|
+
value: protobuf_1.proto3
|
|
10019
|
+
});
|
|
10020
|
+
Object.defineProperty(ActivitySubscription, "typeName", {
|
|
10021
|
+
enumerable: true,
|
|
10022
|
+
configurable: true,
|
|
10023
|
+
writable: true,
|
|
10024
|
+
value: 'bsky.ActivitySubscription'
|
|
10025
|
+
});
|
|
10026
|
+
Object.defineProperty(ActivitySubscription, "fields", {
|
|
10027
|
+
enumerable: true,
|
|
10028
|
+
configurable: true,
|
|
10029
|
+
writable: true,
|
|
10030
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
10031
|
+
{ no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
10032
|
+
{ no: 2, name: 'namespace', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
10033
|
+
{ no: 3, name: 'key', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
10034
|
+
{
|
|
10035
|
+
no: 4,
|
|
10036
|
+
name: 'post',
|
|
10037
|
+
kind: 'message',
|
|
10038
|
+
T: PostActivitySubscription,
|
|
10039
|
+
opt: true,
|
|
10040
|
+
},
|
|
10041
|
+
{
|
|
10042
|
+
no: 5,
|
|
10043
|
+
name: 'reply',
|
|
10044
|
+
kind: 'message',
|
|
10045
|
+
T: ReplyActivitySubscription,
|
|
10046
|
+
opt: true,
|
|
10047
|
+
},
|
|
10048
|
+
{
|
|
10049
|
+
no: 6,
|
|
10050
|
+
name: 'subject_did',
|
|
10051
|
+
kind: 'scalar',
|
|
10052
|
+
T: 9 /* ScalarType.STRING */,
|
|
10053
|
+
},
|
|
10054
|
+
{ no: 7, name: 'indexed_at', kind: 'message', T: protobuf_1.Timestamp },
|
|
10055
|
+
])
|
|
10056
|
+
});
|
|
10057
|
+
/**
|
|
10058
|
+
* @generated from message bsky.GetActivitySubscriptionsByActorAndSubjectsRequest
|
|
10059
|
+
*/
|
|
10060
|
+
class GetActivitySubscriptionsByActorAndSubjectsRequest extends protobuf_1.Message {
|
|
10061
|
+
constructor(data) {
|
|
10062
|
+
super();
|
|
10063
|
+
/**
|
|
10064
|
+
* @generated from field: string actor_did = 1;
|
|
10065
|
+
*/
|
|
10066
|
+
Object.defineProperty(this, "actorDid", {
|
|
10067
|
+
enumerable: true,
|
|
10068
|
+
configurable: true,
|
|
10069
|
+
writable: true,
|
|
10070
|
+
value: ''
|
|
10071
|
+
});
|
|
10072
|
+
/**
|
|
10073
|
+
* @generated from field: repeated string subject_dids = 2;
|
|
10074
|
+
*/
|
|
10075
|
+
Object.defineProperty(this, "subjectDids", {
|
|
10076
|
+
enumerable: true,
|
|
10077
|
+
configurable: true,
|
|
10078
|
+
writable: true,
|
|
10079
|
+
value: []
|
|
10080
|
+
});
|
|
10081
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10082
|
+
}
|
|
10083
|
+
static fromBinary(bytes, options) {
|
|
10084
|
+
return new GetActivitySubscriptionsByActorAndSubjectsRequest().fromBinary(bytes, options);
|
|
10085
|
+
}
|
|
10086
|
+
static fromJson(jsonValue, options) {
|
|
10087
|
+
return new GetActivitySubscriptionsByActorAndSubjectsRequest().fromJson(jsonValue, options);
|
|
10088
|
+
}
|
|
10089
|
+
static fromJsonString(jsonString, options) {
|
|
10090
|
+
return new GetActivitySubscriptionsByActorAndSubjectsRequest().fromJsonString(jsonString, options);
|
|
10091
|
+
}
|
|
10092
|
+
static equals(a, b) {
|
|
10093
|
+
return protobuf_1.proto3.util.equals(GetActivitySubscriptionsByActorAndSubjectsRequest, a, b);
|
|
10094
|
+
}
|
|
10095
|
+
}
|
|
10096
|
+
exports.GetActivitySubscriptionsByActorAndSubjectsRequest = GetActivitySubscriptionsByActorAndSubjectsRequest;
|
|
10097
|
+
Object.defineProperty(GetActivitySubscriptionsByActorAndSubjectsRequest, "runtime", {
|
|
10098
|
+
enumerable: true,
|
|
10099
|
+
configurable: true,
|
|
10100
|
+
writable: true,
|
|
10101
|
+
value: protobuf_1.proto3
|
|
10102
|
+
});
|
|
10103
|
+
Object.defineProperty(GetActivitySubscriptionsByActorAndSubjectsRequest, "typeName", {
|
|
10104
|
+
enumerable: true,
|
|
10105
|
+
configurable: true,
|
|
10106
|
+
writable: true,
|
|
10107
|
+
value: 'bsky.GetActivitySubscriptionsByActorAndSubjectsRequest'
|
|
10108
|
+
});
|
|
10109
|
+
Object.defineProperty(GetActivitySubscriptionsByActorAndSubjectsRequest, "fields", {
|
|
10110
|
+
enumerable: true,
|
|
10111
|
+
configurable: true,
|
|
10112
|
+
writable: true,
|
|
10113
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
10114
|
+
{ no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
10115
|
+
{
|
|
10116
|
+
no: 2,
|
|
10117
|
+
name: 'subject_dids',
|
|
10118
|
+
kind: 'scalar',
|
|
10119
|
+
T: 9 /* ScalarType.STRING */,
|
|
10120
|
+
repeated: true,
|
|
10121
|
+
},
|
|
10122
|
+
])
|
|
10123
|
+
});
|
|
10124
|
+
/**
|
|
10125
|
+
* @generated from message bsky.GetActivitySubscriptionsByActorAndSubjectsResponse
|
|
10126
|
+
*/
|
|
10127
|
+
class GetActivitySubscriptionsByActorAndSubjectsResponse extends protobuf_1.Message {
|
|
10128
|
+
constructor(data) {
|
|
10129
|
+
super();
|
|
10130
|
+
/**
|
|
10131
|
+
* @generated from field: repeated bsky.ActivitySubscription subscriptions = 1;
|
|
10132
|
+
*/
|
|
10133
|
+
Object.defineProperty(this, "subscriptions", {
|
|
10134
|
+
enumerable: true,
|
|
10135
|
+
configurable: true,
|
|
10136
|
+
writable: true,
|
|
10137
|
+
value: []
|
|
10138
|
+
});
|
|
10139
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
10140
|
+
}
|
|
10141
|
+
static fromBinary(bytes, options) {
|
|
10142
|
+
return new GetActivitySubscriptionsByActorAndSubjectsResponse().fromBinary(bytes, options);
|
|
10143
|
+
}
|
|
10144
|
+
static fromJson(jsonValue, options) {
|
|
10145
|
+
return new GetActivitySubscriptionsByActorAndSubjectsResponse().fromJson(jsonValue, options);
|
|
10146
|
+
}
|
|
10147
|
+
static fromJsonString(jsonString, options) {
|
|
10148
|
+
return new GetActivitySubscriptionsByActorAndSubjectsResponse().fromJsonString(jsonString, options);
|
|
10149
|
+
}
|
|
10150
|
+
static equals(a, b) {
|
|
10151
|
+
return protobuf_1.proto3.util.equals(GetActivitySubscriptionsByActorAndSubjectsResponse, a, b);
|
|
10152
|
+
}
|
|
10153
|
+
}
|
|
10154
|
+
exports.GetActivitySubscriptionsByActorAndSubjectsResponse = GetActivitySubscriptionsByActorAndSubjectsResponse;
|
|
10155
|
+
Object.defineProperty(GetActivitySubscriptionsByActorAndSubjectsResponse, "runtime", {
|
|
10156
|
+
enumerable: true,
|
|
10157
|
+
configurable: true,
|
|
10158
|
+
writable: true,
|
|
10159
|
+
value: protobuf_1.proto3
|
|
10160
|
+
});
|
|
10161
|
+
Object.defineProperty(GetActivitySubscriptionsByActorAndSubjectsResponse, "typeName", {
|
|
10162
|
+
enumerable: true,
|
|
10163
|
+
configurable: true,
|
|
10164
|
+
writable: true,
|
|
10165
|
+
value: 'bsky.GetActivitySubscriptionsByActorAndSubjectsResponse'
|
|
10166
|
+
});
|
|
10167
|
+
Object.defineProperty(GetActivitySubscriptionsByActorAndSubjectsResponse, "fields", {
|
|
10168
|
+
enumerable: true,
|
|
10169
|
+
configurable: true,
|
|
10170
|
+
writable: true,
|
|
10171
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
10172
|
+
{
|
|
10173
|
+
no: 1,
|
|
10174
|
+
name: 'subscriptions',
|
|
10175
|
+
kind: 'message',
|
|
10176
|
+
T: ActivitySubscription,
|
|
10177
|
+
repeated: true,
|
|
10178
|
+
},
|
|
10179
|
+
])
|
|
10180
|
+
});
|
|
9588
10181
|
/**
|
|
9589
10182
|
* - Return uris of feed generator records created by user A
|
|
9590
10183
|
* - `getActorFeeds`
|