@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.
Files changed (144) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/api/app/bsky/{unspecced/getPostThreadHiddenV2.d.ts → notification/getPreferences.d.ts} +1 -1
  3. package/dist/api/app/bsky/notification/getPreferences.d.ts.map +1 -0
  4. package/dist/api/app/bsky/notification/getPreferences.js +39 -0
  5. package/dist/api/app/bsky/notification/getPreferences.js.map +1 -0
  6. package/dist/api/app/bsky/notification/putPreferencesV2.d.ts +4 -0
  7. package/dist/api/app/bsky/notification/putPreferencesV2.d.ts.map +1 -0
  8. package/dist/api/app/bsky/notification/putPreferencesV2.js +47 -0
  9. package/dist/api/app/bsky/notification/putPreferencesV2.js.map +1 -0
  10. package/dist/api/app/bsky/notification/util.d.ts +9 -0
  11. package/dist/api/app/bsky/notification/util.d.ts.map +1 -0
  12. package/dist/api/app/bsky/notification/util.js +84 -0
  13. package/dist/api/app/bsky/notification/util.js.map +1 -0
  14. package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.d.ts +4 -0
  15. package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
  16. package/dist/api/app/bsky/unspecced/{getPostThreadHiddenV2.js → getPostThreadOtherV2.js} +5 -5
  17. package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
  18. package/dist/api/app/bsky/unspecced/getPostThreadV2.js +2 -2
  19. package/dist/api/app/bsky/unspecced/getPostThreadV2.js.map +1 -1
  20. package/dist/api/index.d.ts.map +1 -1
  21. package/dist/api/index.js +6 -2
  22. package/dist/api/index.js.map +1 -1
  23. package/dist/context.d.ts +3 -0
  24. package/dist/context.d.ts.map +1 -1
  25. package/dist/context.js +3 -0
  26. package/dist/context.js.map +1 -1
  27. package/dist/data-plane/bsync/index.d.ts.map +1 -1
  28. package/dist/data-plane/bsync/index.js +84 -0
  29. package/dist/data-plane/bsync/index.js.map +1 -1
  30. package/dist/data-plane/server/db/database-schema.d.ts +2 -1
  31. package/dist/data-plane/server/db/database-schema.d.ts.map +1 -1
  32. package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.d.ts +4 -0
  33. package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.d.ts.map +1 -0
  34. package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.js +24 -0
  35. package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.js.map +1 -0
  36. package/dist/data-plane/server/db/migrations/index.d.ts +1 -0
  37. package/dist/data-plane/server/db/migrations/index.d.ts.map +1 -1
  38. package/dist/data-plane/server/db/migrations/index.js +2 -1
  39. package/dist/data-plane/server/db/migrations/index.js.map +1 -1
  40. package/dist/data-plane/server/db/tables/private-data.d.ts +13 -0
  41. package/dist/data-plane/server/db/tables/private-data.d.ts.map +1 -0
  42. package/dist/data-plane/server/db/tables/private-data.js +5 -0
  43. package/dist/data-plane/server/db/tables/private-data.js.map +1 -0
  44. package/dist/data-plane/server/routes/index.d.ts.map +1 -1
  45. package/dist/data-plane/server/routes/index.js +2 -0
  46. package/dist/data-plane/server/routes/index.js.map +1 -1
  47. package/dist/data-plane/server/routes/private-data.d.ts +9 -0
  48. package/dist/data-plane/server/routes/private-data.d.ts.map +1 -0
  49. package/dist/data-plane/server/routes/private-data.js +63 -0
  50. package/dist/data-plane/server/routes/private-data.js.map +1 -0
  51. package/dist/data-plane/server/util.d.ts +6 -6
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +3 -0
  54. package/dist/index.js.map +1 -1
  55. package/dist/lexicon/index.d.ts +8 -4
  56. package/dist/lexicon/index.d.ts.map +1 -1
  57. package/dist/lexicon/index.js +14 -6
  58. package/dist/lexicon/index.js.map +1 -1
  59. package/dist/lexicon/lexicons.d.ts +518 -100
  60. package/dist/lexicon/lexicons.d.ts.map +1 -1
  61. package/dist/lexicon/lexicons.js +277 -52
  62. package/dist/lexicon/lexicons.js.map +1 -1
  63. package/dist/lexicon/types/app/bsky/notification/defs.d.ts +40 -0
  64. package/dist/lexicon/types/app/bsky/notification/defs.d.ts.map +1 -1
  65. package/dist/lexicon/types/app/bsky/notification/defs.js +36 -0
  66. package/dist/lexicon/types/app/bsky/notification/defs.js.map +1 -1
  67. package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts +35 -0
  68. package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts.map +1 -0
  69. package/dist/lexicon/types/app/bsky/notification/getPreferences.js +7 -0
  70. package/dist/lexicon/types/app/bsky/notification/getPreferences.js.map +1 -0
  71. package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts +52 -0
  72. package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts.map +1 -0
  73. package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js +7 -0
  74. package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js.map +1 -0
  75. package/dist/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.d.ts → getPostThreadOtherV2.d.ts} +7 -7
  76. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
  77. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js +16 -0
  78. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
  79. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts +2 -2
  80. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
  81. package/dist/proto/bsky_connect.d.ts +10 -1
  82. package/dist/proto/bsky_connect.d.ts.map +1 -1
  83. package/dist/proto/bsky_connect.js +9 -0
  84. package/dist/proto/bsky_connect.js.map +1 -1
  85. package/dist/proto/bsky_pb.d.ts +234 -0
  86. package/dist/proto/bsky_pb.d.ts.map +1 -1
  87. package/dist/proto/bsky_pb.js +693 -5
  88. package/dist/proto/bsky_pb.js.map +1 -1
  89. package/dist/proto/bsync_pb.d.ts +10 -10
  90. package/dist/proto/bsync_pb.d.ts.map +1 -1
  91. package/dist/proto/bsync_pb.js +15 -15
  92. package/dist/proto/bsync_pb.js.map +1 -1
  93. package/dist/stash.d.ts +26 -0
  94. package/dist/stash.d.ts.map +1 -0
  95. package/dist/stash.js +56 -0
  96. package/dist/stash.js.map +1 -0
  97. package/dist/views/index.d.ts +8 -8
  98. package/dist/views/index.d.ts.map +1 -1
  99. package/dist/views/index.js +32 -32
  100. package/dist/views/index.js.map +1 -1
  101. package/dist/views/threads-v2.d.ts +11 -11
  102. package/dist/views/threads-v2.d.ts.map +1 -1
  103. package/dist/views/threads-v2.js.map +1 -1
  104. package/package.json +4 -4
  105. package/proto/bsky.proto +61 -0
  106. package/src/api/app/bsky/notification/getPreferences.ts +50 -0
  107. package/src/api/app/bsky/notification/putPreferencesV2.ts +62 -0
  108. package/src/api/app/bsky/notification/util.ts +123 -0
  109. package/src/api/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +5 -5
  110. package/src/api/app/bsky/unspecced/getPostThreadV2.ts +2 -2
  111. package/src/api/index.ts +6 -2
  112. package/src/context.ts +6 -0
  113. package/src/data-plane/bsync/index.ts +109 -1
  114. package/src/data-plane/server/db/database-schema.ts +3 -1
  115. package/src/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.ts +22 -0
  116. package/src/data-plane/server/db/migrations/index.ts +1 -0
  117. package/src/data-plane/server/db/tables/private-data.ts +13 -0
  118. package/src/data-plane/server/routes/index.ts +2 -0
  119. package/src/data-plane/server/routes/private-data.ts +90 -0
  120. package/src/index.ts +4 -0
  121. package/src/lexicon/index.ts +38 -14
  122. package/src/lexicon/lexicons.ts +281 -54
  123. package/src/lexicon/types/app/bsky/notification/defs.ts +76 -0
  124. package/src/lexicon/types/app/bsky/notification/getPreferences.ts +52 -0
  125. package/src/lexicon/types/app/bsky/notification/putPreferencesV2.ts +69 -0
  126. package/src/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +10 -10
  127. package/src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts +2 -2
  128. package/src/proto/bsky_connect.ts +11 -0
  129. package/src/proto/bsky_pb.ts +669 -0
  130. package/src/proto/bsync_pb.ts +15 -15
  131. package/src/stash.ts +75 -0
  132. package/src/views/index.ts +46 -46
  133. package/src/views/threads-v2.ts +23 -23
  134. package/tests/stash.test.ts +156 -0
  135. package/tests/views/__snapshots__/thread-v2.test.ts.snap +7 -7
  136. package/tests/views/notifications.test.ts +221 -0
  137. package/tests/views/thread-v2.test.ts +93 -93
  138. package/tsconfig.build.tsbuildinfo +1 -1
  139. package/tsconfig.tests.tsbuildinfo +1 -1
  140. package/dist/api/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
  141. package/dist/api/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
  142. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
  143. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -16
  144. package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
@@ -1,5 +1,39 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from '@bufbuild/protobuf';
2
2
  import { Message, proto3, Timestamp } from '@bufbuild/protobuf';
3
+ /**
4
+ * @generated from enum bsky.NotificationFilter
5
+ */
6
+ export declare enum NotificationFilter {
7
+ /**
8
+ * @generated from enum value: NOTIFICATION_FILTER_UNSPECIFIED = 0;
9
+ */
10
+ UNSPECIFIED = 0,
11
+ /**
12
+ * @generated from enum value: NOTIFICATION_FILTER_ALL = 1;
13
+ */
14
+ ALL = 1,
15
+ /**
16
+ * @generated from enum value: NOTIFICATION_FILTER_FOLLOWS = 2;
17
+ */
18
+ FOLLOWS = 2
19
+ }
20
+ /**
21
+ * @generated from enum bsky.ChatNotificationFilter
22
+ */
23
+ export declare enum ChatNotificationFilter {
24
+ /**
25
+ * @generated from enum value: CHAT_NOTIFICATION_FILTER_UNSPECIFIED = 0;
26
+ */
27
+ UNSPECIFIED = 0,
28
+ /**
29
+ * @generated from enum value: CHAT_NOTIFICATION_FILTER_ALL = 1;
30
+ */
31
+ ALL = 1,
32
+ /**
33
+ * @generated from enum value: CHAT_NOTIFICATION_FILTER_ACCEPTED = 2;
34
+ */
35
+ ACCEPTED = 2
36
+ }
3
37
  /**
4
38
  * @generated from enum bsky.FeedType
5
39
  */
@@ -2749,6 +2783,206 @@ export declare class GetBlocklistSubscriptionsResponse extends Message<GetBlockl
2749
2783
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBlocklistSubscriptionsResponse;
2750
2784
  static equals(a: GetBlocklistSubscriptionsResponse | PlainMessage<GetBlocklistSubscriptionsResponse> | undefined, b: GetBlocklistSubscriptionsResponse | PlainMessage<GetBlocklistSubscriptionsResponse> | undefined): boolean;
2751
2785
  }
2786
+ /**
2787
+ * @generated from message bsky.GetNotificationPreferencesRequest
2788
+ */
2789
+ export declare class GetNotificationPreferencesRequest extends Message<GetNotificationPreferencesRequest> {
2790
+ /**
2791
+ * @generated from field: repeated string dids = 1;
2792
+ */
2793
+ dids: string[];
2794
+ constructor(data?: PartialMessage<GetNotificationPreferencesRequest>);
2795
+ static readonly runtime: typeof proto3;
2796
+ static readonly typeName = "bsky.GetNotificationPreferencesRequest";
2797
+ static readonly fields: FieldList;
2798
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNotificationPreferencesRequest;
2799
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNotificationPreferencesRequest;
2800
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNotificationPreferencesRequest;
2801
+ static equals(a: GetNotificationPreferencesRequest | PlainMessage<GetNotificationPreferencesRequest> | undefined, b: GetNotificationPreferencesRequest | PlainMessage<GetNotificationPreferencesRequest> | undefined): boolean;
2802
+ }
2803
+ /**
2804
+ * @generated from message bsky.NotificationChannelList
2805
+ */
2806
+ export declare class NotificationChannelList extends Message<NotificationChannelList> {
2807
+ /**
2808
+ * @generated from field: bool enabled = 1;
2809
+ */
2810
+ enabled: boolean;
2811
+ constructor(data?: PartialMessage<NotificationChannelList>);
2812
+ static readonly runtime: typeof proto3;
2813
+ static readonly typeName = "bsky.NotificationChannelList";
2814
+ static readonly fields: FieldList;
2815
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NotificationChannelList;
2816
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NotificationChannelList;
2817
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NotificationChannelList;
2818
+ static equals(a: NotificationChannelList | PlainMessage<NotificationChannelList> | undefined, b: NotificationChannelList | PlainMessage<NotificationChannelList> | undefined): boolean;
2819
+ }
2820
+ /**
2821
+ * @generated from message bsky.NotificationChannelPush
2822
+ */
2823
+ export declare class NotificationChannelPush extends Message<NotificationChannelPush> {
2824
+ /**
2825
+ * @generated from field: bool enabled = 1;
2826
+ */
2827
+ enabled: boolean;
2828
+ constructor(data?: PartialMessage<NotificationChannelPush>);
2829
+ static readonly runtime: typeof proto3;
2830
+ static readonly typeName = "bsky.NotificationChannelPush";
2831
+ static readonly fields: FieldList;
2832
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NotificationChannelPush;
2833
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NotificationChannelPush;
2834
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NotificationChannelPush;
2835
+ static equals(a: NotificationChannelPush | PlainMessage<NotificationChannelPush> | undefined, b: NotificationChannelPush | PlainMessage<NotificationChannelPush> | undefined): boolean;
2836
+ }
2837
+ /**
2838
+ * @generated from message bsky.FilterableNotificationPreference
2839
+ */
2840
+ export declare class FilterableNotificationPreference extends Message<FilterableNotificationPreference> {
2841
+ /**
2842
+ * @generated from field: bsky.NotificationFilter filter = 1;
2843
+ */
2844
+ filter: NotificationFilter;
2845
+ /**
2846
+ * @generated from field: bsky.NotificationChannelList list = 2;
2847
+ */
2848
+ list?: NotificationChannelList;
2849
+ /**
2850
+ * @generated from field: bsky.NotificationChannelPush push = 3;
2851
+ */
2852
+ push?: NotificationChannelPush;
2853
+ constructor(data?: PartialMessage<FilterableNotificationPreference>);
2854
+ static readonly runtime: typeof proto3;
2855
+ static readonly typeName = "bsky.FilterableNotificationPreference";
2856
+ static readonly fields: FieldList;
2857
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FilterableNotificationPreference;
2858
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FilterableNotificationPreference;
2859
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FilterableNotificationPreference;
2860
+ static equals(a: FilterableNotificationPreference | PlainMessage<FilterableNotificationPreference> | undefined, b: FilterableNotificationPreference | PlainMessage<FilterableNotificationPreference> | undefined): boolean;
2861
+ }
2862
+ /**
2863
+ * @generated from message bsky.NotificationPreference
2864
+ */
2865
+ export declare class NotificationPreference extends Message<NotificationPreference> {
2866
+ /**
2867
+ * @generated from field: bsky.NotificationChannelList list = 1;
2868
+ */
2869
+ list?: NotificationChannelList;
2870
+ /**
2871
+ * @generated from field: bsky.NotificationChannelPush push = 2;
2872
+ */
2873
+ push?: NotificationChannelPush;
2874
+ constructor(data?: PartialMessage<NotificationPreference>);
2875
+ static readonly runtime: typeof proto3;
2876
+ static readonly typeName = "bsky.NotificationPreference";
2877
+ static readonly fields: FieldList;
2878
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NotificationPreference;
2879
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NotificationPreference;
2880
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NotificationPreference;
2881
+ static equals(a: NotificationPreference | PlainMessage<NotificationPreference> | undefined, b: NotificationPreference | PlainMessage<NotificationPreference> | undefined): boolean;
2882
+ }
2883
+ /**
2884
+ * @generated from message bsky.ChatNotificationPreference
2885
+ */
2886
+ export declare class ChatNotificationPreference extends Message<ChatNotificationPreference> {
2887
+ /**
2888
+ * @generated from field: bsky.ChatNotificationFilter filter = 1;
2889
+ */
2890
+ filter: ChatNotificationFilter;
2891
+ /**
2892
+ * @generated from field: bsky.NotificationChannelPush push = 2;
2893
+ */
2894
+ push?: NotificationChannelPush;
2895
+ constructor(data?: PartialMessage<ChatNotificationPreference>);
2896
+ static readonly runtime: typeof proto3;
2897
+ static readonly typeName = "bsky.ChatNotificationPreference";
2898
+ static readonly fields: FieldList;
2899
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatNotificationPreference;
2900
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatNotificationPreference;
2901
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatNotificationPreference;
2902
+ static equals(a: ChatNotificationPreference | PlainMessage<ChatNotificationPreference> | undefined, b: ChatNotificationPreference | PlainMessage<ChatNotificationPreference> | undefined): boolean;
2903
+ }
2904
+ /**
2905
+ * @generated from message bsky.NotificationPreferences
2906
+ */
2907
+ export declare class NotificationPreferences extends Message<NotificationPreferences> {
2908
+ /**
2909
+ * @generated from field: bsky.ChatNotificationPreference chat = 1;
2910
+ */
2911
+ chat?: ChatNotificationPreference;
2912
+ /**
2913
+ * @generated from field: bsky.FilterableNotificationPreference follow = 2;
2914
+ */
2915
+ follow?: FilterableNotificationPreference;
2916
+ /**
2917
+ * @generated from field: bsky.FilterableNotificationPreference like = 3;
2918
+ */
2919
+ like?: FilterableNotificationPreference;
2920
+ /**
2921
+ * @generated from field: bsky.FilterableNotificationPreference like_via_repost = 4;
2922
+ */
2923
+ likeViaRepost?: FilterableNotificationPreference;
2924
+ /**
2925
+ * @generated from field: bsky.FilterableNotificationPreference mention = 5;
2926
+ */
2927
+ mention?: FilterableNotificationPreference;
2928
+ /**
2929
+ * @generated from field: bsky.FilterableNotificationPreference quote = 6;
2930
+ */
2931
+ quote?: FilterableNotificationPreference;
2932
+ /**
2933
+ * @generated from field: bsky.FilterableNotificationPreference reply = 7;
2934
+ */
2935
+ reply?: FilterableNotificationPreference;
2936
+ /**
2937
+ * @generated from field: bsky.FilterableNotificationPreference repost = 8;
2938
+ */
2939
+ repost?: FilterableNotificationPreference;
2940
+ /**
2941
+ * @generated from field: bsky.FilterableNotificationPreference repost_via_repost = 9;
2942
+ */
2943
+ repostViaRepost?: FilterableNotificationPreference;
2944
+ /**
2945
+ * @generated from field: bsky.NotificationPreference starterpack_joined = 10;
2946
+ */
2947
+ starterpackJoined?: NotificationPreference;
2948
+ /**
2949
+ * @generated from field: bsky.NotificationPreference subscribed_post = 11;
2950
+ */
2951
+ subscribedPost?: NotificationPreference;
2952
+ /**
2953
+ * @generated from field: bsky.NotificationPreference unverified = 12;
2954
+ */
2955
+ unverified?: NotificationPreference;
2956
+ /**
2957
+ * @generated from field: bsky.NotificationPreference verified = 13;
2958
+ */
2959
+ verified?: NotificationPreference;
2960
+ constructor(data?: PartialMessage<NotificationPreferences>);
2961
+ static readonly runtime: typeof proto3;
2962
+ static readonly typeName = "bsky.NotificationPreferences";
2963
+ static readonly fields: FieldList;
2964
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NotificationPreferences;
2965
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NotificationPreferences;
2966
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NotificationPreferences;
2967
+ static equals(a: NotificationPreferences | PlainMessage<NotificationPreferences> | undefined, b: NotificationPreferences | PlainMessage<NotificationPreferences> | undefined): boolean;
2968
+ }
2969
+ /**
2970
+ * @generated from message bsky.GetNotificationPreferencesResponse
2971
+ */
2972
+ export declare class GetNotificationPreferencesResponse extends Message<GetNotificationPreferencesResponse> {
2973
+ /**
2974
+ * @generated from field: repeated bsky.NotificationPreferences preferences = 1;
2975
+ */
2976
+ preferences: NotificationPreferences[];
2977
+ constructor(data?: PartialMessage<GetNotificationPreferencesResponse>);
2978
+ static readonly runtime: typeof proto3;
2979
+ static readonly typeName = "bsky.GetNotificationPreferencesResponse";
2980
+ static readonly fields: FieldList;
2981
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetNotificationPreferencesResponse;
2982
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetNotificationPreferencesResponse;
2983
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetNotificationPreferencesResponse;
2984
+ static equals(a: GetNotificationPreferencesResponse | PlainMessage<GetNotificationPreferencesResponse> | undefined, b: GetNotificationPreferencesResponse | PlainMessage<GetNotificationPreferencesResponse> | undefined): boolean;
2985
+ }
2752
2986
  /**
2753
2987
  * - list recent notifications for a user
2754
2988
  * - notifications should include a uri for the record that caused the notif & a “reason” for the notification (reply, like, quotepost, etc)