@atproto/bsky 0.0.155 → 0.0.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/api/app/bsky/{unspecced/getPostThreadHiddenV2.d.ts → notification/getPreferences.d.ts} +1 -1
- package/dist/api/app/bsky/notification/getPreferences.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/getPreferences.js +39 -0
- package/dist/api/app/bsky/notification/getPreferences.js.map +1 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.d.ts +4 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.js +47 -0
- package/dist/api/app/bsky/notification/putPreferencesV2.js.map +1 -0
- package/dist/api/app/bsky/notification/util.d.ts +9 -0
- package/dist/api/app/bsky/notification/util.d.ts.map +1 -0
- package/dist/api/app/bsky/notification/util.js +84 -0
- package/dist/api/app/bsky/notification/util.js.map +1 -0
- package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.d.ts +4 -0
- package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
- package/dist/api/app/bsky/unspecced/{getPostThreadHiddenV2.js → getPostThreadOtherV2.js} +5 -5
- package/dist/api/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/api/app/bsky/unspecced/getPostThreadV2.js +2 -2
- package/dist/api/app/bsky/unspecced/getPostThreadV2.js.map +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +6 -2
- package/dist/api/index.js.map +1 -1
- package/dist/context.d.ts +3 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +3 -0
- package/dist/context.js.map +1 -1
- package/dist/data-plane/bsync/index.d.ts.map +1 -1
- package/dist/data-plane/bsync/index.js +84 -0
- package/dist/data-plane/bsync/index.js.map +1 -1
- package/dist/data-plane/server/db/database-schema.d.ts +2 -1
- package/dist/data-plane/server/db/database-schema.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.d.ts +4 -0
- package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.d.ts.map +1 -0
- package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.js +24 -0
- package/dist/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.js.map +1 -0
- package/dist/data-plane/server/db/migrations/index.d.ts +1 -0
- package/dist/data-plane/server/db/migrations/index.d.ts.map +1 -1
- package/dist/data-plane/server/db/migrations/index.js +2 -1
- package/dist/data-plane/server/db/migrations/index.js.map +1 -1
- package/dist/data-plane/server/db/tables/private-data.d.ts +13 -0
- package/dist/data-plane/server/db/tables/private-data.d.ts.map +1 -0
- package/dist/data-plane/server/db/tables/private-data.js +5 -0
- package/dist/data-plane/server/db/tables/private-data.js.map +1 -0
- package/dist/data-plane/server/routes/index.d.ts.map +1 -1
- package/dist/data-plane/server/routes/index.js +2 -0
- package/dist/data-plane/server/routes/index.js.map +1 -1
- package/dist/data-plane/server/routes/private-data.d.ts +9 -0
- package/dist/data-plane/server/routes/private-data.d.ts.map +1 -0
- package/dist/data-plane/server/routes/private-data.js +63 -0
- package/dist/data-plane/server/routes/private-data.js.map +1 -0
- package/dist/data-plane/server/util.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/lexicon/index.d.ts +8 -4
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +14 -6
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +518 -100
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +277 -52
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/notification/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/defs.js +36 -0
- package/dist/lexicon/types/app/bsky/notification/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts +35 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.js +7 -0
- package/dist/lexicon/types/app/bsky/notification/getPreferences.js.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts +52 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js +7 -0
- package/dist/lexicon/types/app/bsky/notification/putPreferencesV2.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.d.ts → getPostThreadOtherV2.d.ts} +7 -7
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js +16 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
- package/dist/proto/bsky_connect.d.ts +10 -1
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +9 -0
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +234 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +693 -5
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/proto/bsync_pb.d.ts +10 -10
- package/dist/proto/bsync_pb.d.ts.map +1 -1
- package/dist/proto/bsync_pb.js +15 -15
- package/dist/proto/bsync_pb.js.map +1 -1
- package/dist/stash.d.ts +26 -0
- package/dist/stash.d.ts.map +1 -0
- package/dist/stash.js +56 -0
- package/dist/stash.js.map +1 -0
- package/dist/views/index.d.ts +8 -8
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +32 -32
- package/dist/views/index.js.map +1 -1
- package/dist/views/threads-v2.d.ts +11 -11
- package/dist/views/threads-v2.d.ts.map +1 -1
- package/dist/views/threads-v2.js.map +1 -1
- package/package.json +4 -4
- package/proto/bsky.proto +61 -0
- package/src/api/app/bsky/notification/getPreferences.ts +50 -0
- package/src/api/app/bsky/notification/putPreferencesV2.ts +62 -0
- package/src/api/app/bsky/notification/util.ts +123 -0
- package/src/api/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +5 -5
- package/src/api/app/bsky/unspecced/getPostThreadV2.ts +2 -2
- package/src/api/index.ts +6 -2
- package/src/context.ts +6 -0
- package/src/data-plane/bsync/index.ts +109 -1
- package/src/data-plane/server/db/database-schema.ts +3 -1
- package/src/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.ts +22 -0
- package/src/data-plane/server/db/migrations/index.ts +1 -0
- package/src/data-plane/server/db/tables/private-data.ts +13 -0
- package/src/data-plane/server/routes/index.ts +2 -0
- package/src/data-plane/server/routes/private-data.ts +90 -0
- package/src/index.ts +4 -0
- package/src/lexicon/index.ts +38 -14
- package/src/lexicon/lexicons.ts +281 -54
- package/src/lexicon/types/app/bsky/notification/defs.ts +76 -0
- package/src/lexicon/types/app/bsky/notification/getPreferences.ts +52 -0
- package/src/lexicon/types/app/bsky/notification/putPreferencesV2.ts +69 -0
- package/src/lexicon/types/app/bsky/unspecced/{getPostThreadHiddenV2.ts → getPostThreadOtherV2.ts} +10 -10
- package/src/lexicon/types/app/bsky/unspecced/getPostThreadV2.ts +2 -2
- package/src/proto/bsky_connect.ts +11 -0
- package/src/proto/bsky_pb.ts +669 -0
- package/src/proto/bsync_pb.ts +15 -15
- package/src/stash.ts +75 -0
- package/src/views/index.ts +46 -46
- package/src/views/threads-v2.ts +23 -23
- package/tests/stash.test.ts +156 -0
- package/tests/views/__snapshots__/thread-v2.test.ts.snap +7 -7
- package/tests/views/notifications.test.ts +221 -0
- package/tests/views/thread-v2.test.ts +93 -93
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +1 -1
- package/dist/api/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
- package/dist/api/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.d.ts.map +0 -1
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js +0 -16
- package/dist/lexicon/types/app/bsky/unspecced/getPostThreadHiddenV2.js.map +0 -1
package/dist/proto/bsky_pb.d.ts
CHANGED
|
@@ -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)
|