@atproto/bsky 0.0.281 → 0.1.0
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 +50 -0
- package/dist/api/app/bsky/feed/getFeed.d.ts +8 -0
- package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +17 -0
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getListFeed.d.ts +2 -1
- package/dist/api/app/bsky/feed/getListFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getListFeed.js +17 -4
- package/dist/api/app/bsky/feed/getListFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/getQuotes.js +1 -0
- package/dist/api/app/bsky/feed/getQuotes.js.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.d.ts +2 -1
- package/dist/api/app/bsky/feed/getTimeline.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getTimeline.js +17 -4
- package/dist/api/app/bsky/feed/getTimeline.js.map +1 -1
- package/dist/api/app/bsky/notification/constants.d.ts +37 -0
- package/dist/api/app/bsky/notification/constants.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/constants.js +24 -0
- package/dist/api/app/bsky/notification/constants.js.map +1 -0
- package/dist/api/app/bsky/notification/getGroupedNotifications.d.ts +5 -0
- package/dist/api/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/getGroupedNotifications.js +349 -0
- package/dist/api/app/bsky/notification/getGroupedNotifications.js.map +1 -0
- package/dist/api/app/bsky/notification/grouping/algoGravity.d.ts +4 -0
- package/dist/api/app/bsky/notification/grouping/algoGravity.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/grouping/algoGravity.js +141 -0
- package/dist/api/app/bsky/notification/grouping/algoGravity.js.map +1 -0
- package/dist/api/app/bsky/notification/grouping/algoLookback.d.ts +4 -0
- package/dist/api/app/bsky/notification/grouping/algoLookback.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/grouping/algoLookback.js +61 -0
- package/dist/api/app/bsky/notification/grouping/algoLookback.js.map +1 -0
- package/dist/api/app/bsky/notification/grouping/grouping.d.ts +41 -0
- package/dist/api/app/bsky/notification/grouping/grouping.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/grouping/grouping.js +54 -0
- package/dist/api/app/bsky/notification/grouping/grouping.js.map +1 -0
- package/dist/api/app/bsky/notification/grouping/shared.d.ts +8 -0
- package/dist/api/app/bsky/notification/grouping/shared.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/grouping/shared.js +20 -0
- package/dist/api/app/bsky/notification/grouping/shared.js.map +1 -0
- package/dist/api/app/bsky/notification/grouping/spotlight.d.ts +3 -0
- package/dist/api/app/bsky/notification/grouping/spotlight.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/grouping/spotlight.js +114 -0
- package/dist/api/app/bsky/notification/grouping/spotlight.js.map +1 -0
- package/dist/api/app/bsky/notification/listNotifications.d.ts +0 -7
- package/dist/api/app/bsky/notification/listNotifications.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/listNotifications.js +7 -59
- package/dist/api/app/bsky/notification/listNotifications.js.map +1 -1
- package/dist/api/app/bsky/notification/updateSeen.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/updateSeen.js +4 -3
- package/dist/api/app/bsky/notification/updateSeen.js.map +1 -1
- package/dist/api/app/bsky/notification/util.d.ts +8 -0
- package/dist/api/app/bsky/notification/util.d.ts.map +1 -1
- package/dist/api/app/bsky/notification/util.js +55 -0
- package/dist/api/app/bsky/notification/util.js.map +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +2 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/util.d.ts +5 -0
- package/dist/api/util.d.ts.map +1 -1
- package/dist/api/util.js +4 -1
- package/dist/api/util.js.map +1 -1
- package/dist/config.d.ts +7 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +19 -0
- package/dist/config.js.map +1 -1
- package/dist/data-plane/server/db/pagination.d.ts +7 -0
- package/dist/data-plane/server/db/pagination.d.ts.map +1 -1
- package/dist/data-plane/server/db/pagination.js +18 -2
- package/dist/data-plane/server/db/pagination.js.map +1 -1
- package/dist/data-plane/server/db/tables/notification.d.ts +2 -1
- package/dist/data-plane/server/db/tables/notification.d.ts.map +1 -1
- package/dist/data-plane/server/db/tables/notification.js.map +1 -1
- 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/plugins/follow.d.ts +6 -9
- package/dist/data-plane/server/indexing/plugins/follow.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/follow.js +13 -2
- package/dist/data-plane/server/indexing/plugins/follow.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/like.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/like.js +3 -2
- package/dist/data-plane/server/indexing/plugins/like.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/post.js +5 -4
- package/dist/data-plane/server/indexing/plugins/post.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/profile.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/profile.js +2 -1
- package/dist/data-plane/server/indexing/plugins/profile.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/repost.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/repost.js +3 -2
- package/dist/data-plane/server/indexing/plugins/repost.js.map +1 -1
- package/dist/data-plane/server/indexing/plugins/verification.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/plugins/verification.js +3 -2
- package/dist/data-plane/server/indexing/plugins/verification.js.map +1 -1
- package/dist/data-plane/server/routes/feeds.d.ts +1 -1
- package/dist/data-plane/server/routes/feeds.d.ts.map +1 -1
- package/dist/data-plane/server/routes/feeds.js +35 -7
- package/dist/data-plane/server/routes/feeds.js.map +1 -1
- package/dist/data-plane/server/routes/notifs.d.ts.map +1 -1
- package/dist/data-plane/server/routes/notifs.js +67 -2
- package/dist/data-plane/server/routes/notifs.js.map +1 -1
- package/dist/hydration/hydrator.d.ts +2 -0
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +69 -1
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/lexicons/app/bsky/authFullApp.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/authFullApp.defs.js +10 -0
- package/dist/lexicons/app/bsky/authFullApp.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/authManageNotifications.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/authManageNotifications.defs.js +1 -0
- package/dist/lexicons/app/bsky/authManageNotifications.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/defs.defs.d.ts +8 -0
- package/dist/lexicons/app/bsky/feed/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/defs.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/defs.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.d.ts +4 -0
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/getListFeed.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/getQuotes.defs.d.ts +6 -0
- package/dist/lexicons/app/bsky/feed/getQuotes.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/getQuotes.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/getQuotes.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.d.ts +4 -0
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/getTimeline.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.d.ts +3 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts +299 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js +231 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.js +6 -0
- package/dist/lexicons/app/bsky/notification/getGroupedNotifications.js.map +1 -0
- package/dist/lexicons/app/bsky/notification.d.ts +1 -0
- package/dist/lexicons/app/bsky/notification.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/notification.js +1 -0
- package/dist/lexicons/app/bsky/notification.js.map +1 -1
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.defs.d.ts +65 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.defs.js +49 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.js +6 -0
- package/dist/lexicons/tools/ozone/inbox/appealActionedSubject.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/defs.d.ts +2 -0
- package/dist/lexicons/tools/ozone/inbox/defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts +89 -0
- package/dist/lexicons/tools/ozone/inbox/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/defs.defs.js +73 -0
- package/dist/lexicons/tools/ozone/inbox/defs.defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox/defs.js +5 -0
- package/dist/lexicons/tools/ozone/inbox/defs.js.map +1 -0
- package/dist/lexicons/tools/ozone/inbox.d.ts +3 -0
- package/dist/lexicons/tools/ozone/inbox.d.ts.map +1 -0
- package/dist/lexicons/tools/ozone/inbox.js +6 -0
- package/dist/lexicons/tools/ozone/inbox.js.map +1 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts +2 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js +2 -0
- package/dist/lexicons/tools/ozone/queue/createQueue.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts +4 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/defs.defs.js +2 -0
- package/dist/lexicons/tools/ozone/queue/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts +3 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js +3 -0
- package/dist/lexicons/tools/ozone/queue/updateQueue.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/defs.defs.d.ts +89 -9
- package/dist/lexicons/tools/ozone/report/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report/defs.defs.js +20 -0
- package/dist/lexicons/tools/ozone/report/defs.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.d.ts +1 -1
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.js +1 -1
- package/dist/lexicons/tools/ozone/report/getLiveStats.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.d.ts +1 -1
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.js +1 -1
- package/dist/lexicons/tools/ozone/report/refreshStats.defs.js.map +1 -1
- package/dist/lexicons/tools/ozone.d.ts +1 -0
- package/dist/lexicons/tools/ozone.d.ts.map +1 -1
- package/dist/lexicons/tools/ozone.js +1 -0
- package/dist/lexicons/tools/ozone.js.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 +10 -1
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +124 -25
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +171 -27
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/views/index.d.ts +3 -0
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +133 -0
- package/dist/views/index.js.map +1 -1
- package/dist/views/types.d.ts +1 -4
- package/dist/views/types.d.ts.map +1 -1
- package/dist/views/types.js.map +1 -1
- package/package.json +15 -15
package/dist/proto/bsky_pb.js
CHANGED
|
@@ -27,6 +27,45 @@ proto3.util.setEnumType(NotificationInclude, "bsky.NotificationInclude", [
|
|
|
27
27
|
{ no: 1, name: "NOTIFICATION_INCLUDE_ALL" },
|
|
28
28
|
{ no: 2, name: "NOTIFICATION_INCLUDE_FOLLOWS" },
|
|
29
29
|
]);
|
|
30
|
+
/**
|
|
31
|
+
* @generated from enum bsky.NotificationFeed
|
|
32
|
+
*/
|
|
33
|
+
export var NotificationFeed;
|
|
34
|
+
(function (NotificationFeed) {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: NOTIFICATION_FEED_UNSPECIFIED = 0;
|
|
37
|
+
*/
|
|
38
|
+
NotificationFeed[NotificationFeed["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
39
|
+
/**
|
|
40
|
+
* @generated from enum value: NOTIFICATION_FEED_ALL = 1;
|
|
41
|
+
*/
|
|
42
|
+
NotificationFeed[NotificationFeed["ALL"] = 1] = "ALL";
|
|
43
|
+
/**
|
|
44
|
+
* @generated from enum value: NOTIFICATION_FEED_PEOPLE_I_FOLLOW = 2;
|
|
45
|
+
*/
|
|
46
|
+
NotificationFeed[NotificationFeed["PEOPLE_I_FOLLOW"] = 2] = "PEOPLE_I_FOLLOW";
|
|
47
|
+
/**
|
|
48
|
+
* @generated from enum value: NOTIFICATION_FEED_CONVERSATIONS = 3;
|
|
49
|
+
*/
|
|
50
|
+
NotificationFeed[NotificationFeed["CONVERSATIONS"] = 3] = "CONVERSATIONS";
|
|
51
|
+
/**
|
|
52
|
+
* @generated from enum value: NOTIFICATION_FEED_FOLLOWERS = 4;
|
|
53
|
+
*/
|
|
54
|
+
NotificationFeed[NotificationFeed["FOLLOWERS"] = 4] = "FOLLOWERS";
|
|
55
|
+
/**
|
|
56
|
+
* @generated from enum value: NOTIFICATION_FEED_ACTIVITY = 5;
|
|
57
|
+
*/
|
|
58
|
+
NotificationFeed[NotificationFeed["ACTIVITY"] = 5] = "ACTIVITY";
|
|
59
|
+
})(NotificationFeed || (NotificationFeed = {}));
|
|
60
|
+
// Retrieve enum metadata with: proto3.getEnumType(NotificationFeed)
|
|
61
|
+
proto3.util.setEnumType(NotificationFeed, "bsky.NotificationFeed", [
|
|
62
|
+
{ no: 0, name: "NOTIFICATION_FEED_UNSPECIFIED" },
|
|
63
|
+
{ no: 1, name: "NOTIFICATION_FEED_ALL" },
|
|
64
|
+
{ no: 2, name: "NOTIFICATION_FEED_PEOPLE_I_FOLLOW" },
|
|
65
|
+
{ no: 3, name: "NOTIFICATION_FEED_CONVERSATIONS" },
|
|
66
|
+
{ no: 4, name: "NOTIFICATION_FEED_FOLLOWERS" },
|
|
67
|
+
{ no: 5, name: "NOTIFICATION_FEED_ACTIVITY" },
|
|
68
|
+
]);
|
|
30
69
|
/**
|
|
31
70
|
* @generated from enum bsky.FeedType
|
|
32
71
|
*/
|
|
@@ -2347,6 +2386,10 @@ export class GetQuotesBySubjectSortedRequest extends Message {
|
|
|
2347
2386
|
* @generated from field: string cursor = 3;
|
|
2348
2387
|
*/
|
|
2349
2388
|
this.cursor = "";
|
|
2389
|
+
/**
|
|
2390
|
+
* @generated from field: string sort = 4;
|
|
2391
|
+
*/
|
|
2392
|
+
this.sort = "";
|
|
2350
2393
|
proto3.util.initPartial(data, this);
|
|
2351
2394
|
}
|
|
2352
2395
|
static { this.runtime = proto3; }
|
|
@@ -2355,6 +2398,7 @@ export class GetQuotesBySubjectSortedRequest extends Message {
|
|
|
2355
2398
|
{ no: 1, name: "subject", kind: "message", T: RecordRef },
|
|
2356
2399
|
{ no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
2357
2400
|
{ no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2401
|
+
{ no: 4, name: "sort", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2358
2402
|
]); }
|
|
2359
2403
|
static fromBinary(bytes, options) {
|
|
2360
2404
|
return new GetQuotesBySubjectSortedRequest().fromBinary(bytes, options);
|
|
@@ -5266,6 +5310,52 @@ export class GetNotificationPreferencesResponse extends Message {
|
|
|
5266
5310
|
* - notifications should include a uri for the record that caused the notif & a “reason” for the notification (reply, like, quotepost, etc)
|
|
5267
5311
|
* - this should include both read & unread notifs
|
|
5268
5312
|
*
|
|
5313
|
+
* @generated from message bsky.Notification
|
|
5314
|
+
*/
|
|
5315
|
+
export class Notification extends Message {
|
|
5316
|
+
constructor(data) {
|
|
5317
|
+
super();
|
|
5318
|
+
/**
|
|
5319
|
+
* @generated from field: string recipient_did = 1;
|
|
5320
|
+
*/
|
|
5321
|
+
this.recipientDid = "";
|
|
5322
|
+
/**
|
|
5323
|
+
* @generated from field: string uri = 2;
|
|
5324
|
+
*/
|
|
5325
|
+
this.uri = "";
|
|
5326
|
+
/**
|
|
5327
|
+
* @generated from field: string reason = 3;
|
|
5328
|
+
*/
|
|
5329
|
+
this.reason = "";
|
|
5330
|
+
/**
|
|
5331
|
+
* @generated from field: string reason_subject = 4;
|
|
5332
|
+
*/
|
|
5333
|
+
this.reasonSubject = "";
|
|
5334
|
+
proto3.util.initPartial(data, this);
|
|
5335
|
+
}
|
|
5336
|
+
static { this.runtime = proto3; }
|
|
5337
|
+
static { this.typeName = "bsky.Notification"; }
|
|
5338
|
+
static { this.fields = proto3.util.newFieldList(() => [
|
|
5339
|
+
{ no: 1, name: "recipient_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5340
|
+
{ no: 2, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5341
|
+
{ no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5342
|
+
{ no: 4, name: "reason_subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5343
|
+
{ no: 5, name: "timestamp", kind: "message", T: Timestamp },
|
|
5344
|
+
]); }
|
|
5345
|
+
static fromBinary(bytes, options) {
|
|
5346
|
+
return new Notification().fromBinary(bytes, options);
|
|
5347
|
+
}
|
|
5348
|
+
static fromJson(jsonValue, options) {
|
|
5349
|
+
return new Notification().fromJson(jsonValue, options);
|
|
5350
|
+
}
|
|
5351
|
+
static fromJsonString(jsonString, options) {
|
|
5352
|
+
return new Notification().fromJsonString(jsonString, options);
|
|
5353
|
+
}
|
|
5354
|
+
static equals(a, b) {
|
|
5355
|
+
return proto3.util.equals(Notification, a, b);
|
|
5356
|
+
}
|
|
5357
|
+
}
|
|
5358
|
+
/**
|
|
5269
5359
|
* @generated from message bsky.GetNotificationsRequest
|
|
5270
5360
|
*/
|
|
5271
5361
|
export class GetNotificationsRequest extends Message {
|
|
@@ -5306,55 +5396,89 @@ export class GetNotificationsRequest extends Message {
|
|
|
5306
5396
|
}
|
|
5307
5397
|
}
|
|
5308
5398
|
/**
|
|
5309
|
-
* @generated from message bsky.
|
|
5399
|
+
* @generated from message bsky.GetNotificationsResponse
|
|
5310
5400
|
*/
|
|
5311
|
-
export class
|
|
5401
|
+
export class GetNotificationsResponse extends Message {
|
|
5312
5402
|
constructor(data) {
|
|
5313
5403
|
super();
|
|
5314
5404
|
/**
|
|
5315
|
-
* @generated from field:
|
|
5405
|
+
* @generated from field: repeated bsky.Notification notifications = 1;
|
|
5316
5406
|
*/
|
|
5317
|
-
this.
|
|
5407
|
+
this.notifications = [];
|
|
5318
5408
|
/**
|
|
5319
|
-
* @generated from field: string
|
|
5409
|
+
* @generated from field: string cursor = 2;
|
|
5320
5410
|
*/
|
|
5321
|
-
this.
|
|
5411
|
+
this.cursor = "";
|
|
5412
|
+
proto3.util.initPartial(data, this);
|
|
5413
|
+
}
|
|
5414
|
+
static { this.runtime = proto3; }
|
|
5415
|
+
static { this.typeName = "bsky.GetNotificationsResponse"; }
|
|
5416
|
+
static { this.fields = proto3.util.newFieldList(() => [
|
|
5417
|
+
{ no: 1, name: "notifications", kind: "message", T: Notification, repeated: true },
|
|
5418
|
+
{ no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5419
|
+
]); }
|
|
5420
|
+
static fromBinary(bytes, options) {
|
|
5421
|
+
return new GetNotificationsResponse().fromBinary(bytes, options);
|
|
5422
|
+
}
|
|
5423
|
+
static fromJson(jsonValue, options) {
|
|
5424
|
+
return new GetNotificationsResponse().fromJson(jsonValue, options);
|
|
5425
|
+
}
|
|
5426
|
+
static fromJsonString(jsonString, options) {
|
|
5427
|
+
return new GetNotificationsResponse().fromJsonString(jsonString, options);
|
|
5428
|
+
}
|
|
5429
|
+
static equals(a, b) {
|
|
5430
|
+
return proto3.util.equals(GetNotificationsResponse, a, b);
|
|
5431
|
+
}
|
|
5432
|
+
}
|
|
5433
|
+
/**
|
|
5434
|
+
* @generated from message bsky.GetNotificationsV2Request
|
|
5435
|
+
*/
|
|
5436
|
+
export class GetNotificationsV2Request extends Message {
|
|
5437
|
+
constructor(data) {
|
|
5438
|
+
super();
|
|
5322
5439
|
/**
|
|
5323
|
-
* @generated from field: string
|
|
5440
|
+
* @generated from field: string actor_did = 1;
|
|
5324
5441
|
*/
|
|
5325
|
-
this.
|
|
5442
|
+
this.actorDid = "";
|
|
5326
5443
|
/**
|
|
5327
|
-
* @generated from field:
|
|
5444
|
+
* @generated from field: int32 limit = 2;
|
|
5328
5445
|
*/
|
|
5329
|
-
this.
|
|
5446
|
+
this.limit = 0;
|
|
5447
|
+
/**
|
|
5448
|
+
* @generated from field: string cursor = 3;
|
|
5449
|
+
*/
|
|
5450
|
+
this.cursor = "";
|
|
5451
|
+
/**
|
|
5452
|
+
* @generated from field: bsky.NotificationFeed feed = 4;
|
|
5453
|
+
*/
|
|
5454
|
+
this.feed = NotificationFeed.UNSPECIFIED;
|
|
5330
5455
|
proto3.util.initPartial(data, this);
|
|
5331
5456
|
}
|
|
5332
5457
|
static { this.runtime = proto3; }
|
|
5333
|
-
static { this.typeName = "bsky.
|
|
5458
|
+
static { this.typeName = "bsky.GetNotificationsV2Request"; }
|
|
5334
5459
|
static { this.fields = proto3.util.newFieldList(() => [
|
|
5335
|
-
{ no: 1, name: "
|
|
5336
|
-
{ no: 2, name: "
|
|
5337
|
-
{ no: 3, name: "
|
|
5338
|
-
{ no: 4, name: "
|
|
5339
|
-
{ no: 5, name: "timestamp", kind: "message", T: Timestamp },
|
|
5460
|
+
{ no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5461
|
+
{ no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
5462
|
+
{ no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5463
|
+
{ no: 4, name: "feed", kind: "enum", T: proto3.getEnumType(NotificationFeed) },
|
|
5340
5464
|
]); }
|
|
5341
5465
|
static fromBinary(bytes, options) {
|
|
5342
|
-
return new
|
|
5466
|
+
return new GetNotificationsV2Request().fromBinary(bytes, options);
|
|
5343
5467
|
}
|
|
5344
5468
|
static fromJson(jsonValue, options) {
|
|
5345
|
-
return new
|
|
5469
|
+
return new GetNotificationsV2Request().fromJson(jsonValue, options);
|
|
5346
5470
|
}
|
|
5347
5471
|
static fromJsonString(jsonString, options) {
|
|
5348
|
-
return new
|
|
5472
|
+
return new GetNotificationsV2Request().fromJsonString(jsonString, options);
|
|
5349
5473
|
}
|
|
5350
5474
|
static equals(a, b) {
|
|
5351
|
-
return proto3.util.equals(
|
|
5475
|
+
return proto3.util.equals(GetNotificationsV2Request, a, b);
|
|
5352
5476
|
}
|
|
5353
5477
|
}
|
|
5354
5478
|
/**
|
|
5355
|
-
* @generated from message bsky.
|
|
5479
|
+
* @generated from message bsky.GetNotificationsV2Response
|
|
5356
5480
|
*/
|
|
5357
|
-
export class
|
|
5481
|
+
export class GetNotificationsV2Response extends Message {
|
|
5358
5482
|
constructor(data) {
|
|
5359
5483
|
super();
|
|
5360
5484
|
/**
|
|
@@ -5368,22 +5492,22 @@ export class GetNotificationsResponse extends Message {
|
|
|
5368
5492
|
proto3.util.initPartial(data, this);
|
|
5369
5493
|
}
|
|
5370
5494
|
static { this.runtime = proto3; }
|
|
5371
|
-
static { this.typeName = "bsky.
|
|
5495
|
+
static { this.typeName = "bsky.GetNotificationsV2Response"; }
|
|
5372
5496
|
static { this.fields = proto3.util.newFieldList(() => [
|
|
5373
5497
|
{ no: 1, name: "notifications", kind: "message", T: Notification, repeated: true },
|
|
5374
5498
|
{ no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
5375
5499
|
]); }
|
|
5376
5500
|
static fromBinary(bytes, options) {
|
|
5377
|
-
return new
|
|
5501
|
+
return new GetNotificationsV2Response().fromBinary(bytes, options);
|
|
5378
5502
|
}
|
|
5379
5503
|
static fromJson(jsonValue, options) {
|
|
5380
|
-
return new
|
|
5504
|
+
return new GetNotificationsV2Response().fromJson(jsonValue, options);
|
|
5381
5505
|
}
|
|
5382
5506
|
static fromJsonString(jsonString, options) {
|
|
5383
|
-
return new
|
|
5507
|
+
return new GetNotificationsV2Response().fromJsonString(jsonString, options);
|
|
5384
5508
|
}
|
|
5385
5509
|
static equals(a, b) {
|
|
5386
|
-
return proto3.util.equals(
|
|
5510
|
+
return proto3.util.equals(GetNotificationsV2Response, a, b);
|
|
5387
5511
|
}
|
|
5388
5512
|
}
|
|
5389
5513
|
/**
|
|
@@ -6284,6 +6408,10 @@ export class GetTimelineRequest extends Message {
|
|
|
6284
6408
|
* @generated from field: bool exclude_quotes = 6;
|
|
6285
6409
|
*/
|
|
6286
6410
|
this.excludeQuotes = false;
|
|
6411
|
+
/**
|
|
6412
|
+
* @generated from field: string since = 7;
|
|
6413
|
+
*/
|
|
6414
|
+
this.since = "";
|
|
6287
6415
|
proto3.util.initPartial(data, this);
|
|
6288
6416
|
}
|
|
6289
6417
|
static { this.runtime = proto3; }
|
|
@@ -6295,6 +6423,7 @@ export class GetTimelineRequest extends Message {
|
|
|
6295
6423
|
{ no: 4, name: "exclude_replies", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6296
6424
|
{ no: 5, name: "exclude_reposts", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6297
6425
|
{ no: 6, name: "exclude_quotes", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6426
|
+
{ no: 7, name: "since", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6298
6427
|
]); }
|
|
6299
6428
|
static fromBinary(bytes, options) {
|
|
6300
6429
|
return new GetTimelineRequest().fromBinary(bytes, options);
|
|
@@ -6323,6 +6452,10 @@ export class GetTimelineResponse extends Message {
|
|
|
6323
6452
|
* @generated from field: string cursor = 2;
|
|
6324
6453
|
*/
|
|
6325
6454
|
this.cursor = "";
|
|
6455
|
+
/**
|
|
6456
|
+
* @generated from field: string start_cursor = 3;
|
|
6457
|
+
*/
|
|
6458
|
+
this.startCursor = "";
|
|
6326
6459
|
proto3.util.initPartial(data, this);
|
|
6327
6460
|
}
|
|
6328
6461
|
static { this.runtime = proto3; }
|
|
@@ -6330,6 +6463,7 @@ export class GetTimelineResponse extends Message {
|
|
|
6330
6463
|
static { this.fields = proto3.util.newFieldList(() => [
|
|
6331
6464
|
{ no: 1, name: "items", kind: "message", T: TimelineFeedItem, repeated: true },
|
|
6332
6465
|
{ no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6466
|
+
{ no: 3, name: "start_cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6333
6467
|
]); }
|
|
6334
6468
|
static fromBinary(bytes, options) {
|
|
6335
6469
|
return new GetTimelineResponse().fromBinary(bytes, options);
|
|
@@ -6438,6 +6572,10 @@ export class GetListFeedRequest extends Message {
|
|
|
6438
6572
|
* @generated from field: bool exclude_quotes = 6;
|
|
6439
6573
|
*/
|
|
6440
6574
|
this.excludeQuotes = false;
|
|
6575
|
+
/**
|
|
6576
|
+
* @generated from field: string since = 7;
|
|
6577
|
+
*/
|
|
6578
|
+
this.since = "";
|
|
6441
6579
|
proto3.util.initPartial(data, this);
|
|
6442
6580
|
}
|
|
6443
6581
|
static { this.runtime = proto3; }
|
|
@@ -6449,6 +6587,7 @@ export class GetListFeedRequest extends Message {
|
|
|
6449
6587
|
{ no: 4, name: "exclude_replies", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6450
6588
|
{ no: 5, name: "exclude_reposts", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6451
6589
|
{ no: 6, name: "exclude_quotes", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
6590
|
+
{ no: 7, name: "since", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6452
6591
|
]); }
|
|
6453
6592
|
static fromBinary(bytes, options) {
|
|
6454
6593
|
return new GetListFeedRequest().fromBinary(bytes, options);
|
|
@@ -6477,6 +6616,10 @@ export class GetListFeedResponse extends Message {
|
|
|
6477
6616
|
* @generated from field: string cursor = 2;
|
|
6478
6617
|
*/
|
|
6479
6618
|
this.cursor = "";
|
|
6619
|
+
/**
|
|
6620
|
+
* @generated from field: string start_cursor = 3;
|
|
6621
|
+
*/
|
|
6622
|
+
this.startCursor = "";
|
|
6480
6623
|
proto3.util.initPartial(data, this);
|
|
6481
6624
|
}
|
|
6482
6625
|
static { this.runtime = proto3; }
|
|
@@ -6484,6 +6627,7 @@ export class GetListFeedResponse extends Message {
|
|
|
6484
6627
|
static { this.fields = proto3.util.newFieldList(() => [
|
|
6485
6628
|
{ no: 1, name: "items", kind: "message", T: TimelineFeedItem, repeated: true },
|
|
6486
6629
|
{ no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6630
|
+
{ no: 3, name: "start_cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
6487
6631
|
]); }
|
|
6488
6632
|
static fromBinary(bytes, options) {
|
|
6489
6633
|
return new GetListFeedResponse().fromBinary(bytes, options);
|