@atproto/bsky 0.0.237 → 0.0.239
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 +22 -0
- package/dist/api/app/bsky/actor/searchActors.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/searchActors.js +26 -1
- package/dist/api/app/bsky/actor/searchActors.js.map +1 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js +26 -2
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getFeed.js +1 -0
- package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
- package/dist/api/app/bsky/feed/searchPosts.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/searchPosts.js +56 -1
- package/dist/api/app/bsky/feed/searchPosts.js.map +1 -1
- package/dist/api/app/bsky/graph/searchStarterPacks.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/searchStarterPacks.js +26 -1
- package/dist/api/app/bsky/graph/searchStarterPacks.js.map +1 -1
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +1 -1
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js +27 -6
- package/dist/api/app/bsky/unspecced/getPopularFeedGenerators.js.map +1 -1
- package/dist/api/com/atproto/repo/getRecord.js +2 -2
- package/dist/api/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/data-plane/server/routes/feed-gens.d.ts.map +1 -1
- package/dist/data-plane/server/routes/feed-gens.js +21 -12
- package/dist/data-plane/server/routes/feed-gens.js.map +1 -1
- package/dist/data-plane/server/routes/search.d.ts.map +1 -1
- package/dist/data-plane/server/routes/search.js +62 -12
- package/dist/data-plane/server/routes/search.js.map +1 -1
- package/dist/feature-gates/gates.d.ts +1 -0
- package/dist/feature-gates/gates.d.ts.map +1 -1
- package/dist/feature-gates/gates.js +1 -0
- package/dist/feature-gates/gates.js.map +1 -1
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +3 -2
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/hydration/label.d.ts +1 -1
- package/dist/hydration/label.d.ts.map +1 -1
- package/dist/hydration/label.js +4 -4
- package/dist/hydration/label.js.map +1 -1
- package/dist/lexicons/app/bsky/actor/profile.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/actor/status.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/draft/defs.defs.d.ts +22 -0
- package/dist/lexicons/app/bsky/draft/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/draft/defs.defs.js +11 -0
- package/dist/lexicons/app/bsky/draft/defs.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed/gallery.d.ts +3 -0
- package/dist/lexicons/app/bsky/embed/gallery.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/embed/gallery.defs.d.ts +130 -0
- package/dist/lexicons/app/bsky/embed/gallery.defs.d.ts.map +1 -0
- package/dist/lexicons/app/bsky/embed/gallery.defs.js +47 -0
- package/dist/lexicons/app/bsky/embed/gallery.defs.js.map +1 -0
- package/dist/lexicons/app/bsky/embed/gallery.js +6 -0
- package/dist/lexicons/app/bsky/embed/gallery.js.map +1 -0
- package/dist/lexicons/app/bsky/embed/record.defs.d.ts +2 -1
- package/dist/lexicons/app/bsky/embed/record.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/record.defs.js +2 -0
- package/dist/lexicons/app/bsky/embed/record.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed/recordWithMedia.defs.d.ts +13 -12
- package/dist/lexicons/app/bsky/embed/recordWithMedia.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed/recordWithMedia.defs.js +3 -0
- package/dist/lexicons/app/bsky/embed/recordWithMedia.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/embed.d.ts +1 -0
- package/dist/lexicons/app/bsky/embed.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/embed.js +1 -0
- package/dist/lexicons/app/bsky/embed.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/defs.defs.d.ts +2 -1
- 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/generator.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/like.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/post.defs.d.ts +12 -11
- package/dist/lexicons/app/bsky/feed/post.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/post.defs.js +2 -0
- package/dist/lexicons/app/bsky/feed/post.defs.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/postgate.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/repost.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/threadgate.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/block.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/follow.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/list.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/listblock.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/listitem.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/starterpack.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/graph/verification.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/labeler/service.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/notification/declaration.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/actor/declaration.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/group/createGroup.defs.d.ts +4 -4
- package/dist/lexicons/chat/bsky/group/createGroup.defs.js +2 -2
- package/dist/lexicons/chat/bsky/group/createGroup.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/group/defs.defs.d.ts +8 -1
- package/dist/lexicons/chat/bsky/group/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/group/defs.defs.js +5 -1
- package/dist/lexicons/chat/bsky/group/defs.defs.js.map +1 -1
- package/dist/lexicons/com/atproto/lexicon/schema.defs.d.ts.map +1 -1
- package/dist/lexicons/com/germnetwork/declaration.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/document.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/graph/recommend.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/graph/subscription.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/publication.defs.d.ts.map +1 -1
- package/dist/lexicons/site/standard/theme/basic.defs.d.ts.map +1 -1
- package/dist/proto/bsky_connect.d.ts +49 -2
- package/dist/proto/bsky_connect.d.ts.map +1 -1
- package/dist/proto/bsky_connect.js +49 -2
- package/dist/proto/bsky_connect.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +482 -0
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +608 -0
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/views/index.d.ts +4 -1
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +39 -5
- package/dist/views/index.js.map +1 -1
- package/dist/views/types.d.ts +8 -2
- package/dist/views/types.d.ts.map +1 -1
- package/dist/views/types.js +2 -0
- package/dist/views/types.js.map +1 -1
- package/package.json +7 -7
- package/proto/bsky.proto +166 -2
- package/src/api/app/bsky/actor/searchActors.ts +35 -1
- package/src/api/app/bsky/actor/searchActorsTypeahead.ts +35 -2
- package/src/api/app/bsky/feed/getFeed.ts +1 -0
- package/src/api/app/bsky/feed/searchPosts.ts +60 -1
- package/src/api/app/bsky/graph/searchStarterPacks.ts +35 -1
- package/src/api/app/bsky/unspecced/getPopularFeedGenerators.ts +28 -6
- package/src/api/com/atproto/repo/getRecord.ts +2 -2
- package/src/data-plane/server/routes/feed-gens.ts +33 -14
- package/src/data-plane/server/routes/search.ts +81 -13
- package/src/feature-gates/gates.ts +1 -0
- package/src/hydration/hydrator.ts +3 -6
- package/src/hydration/label.ts +3 -3
- package/src/views/index.ts +61 -11
- package/src/views/types.ts +9 -0
- package/tests/data-plane/handle-invalidation.test.ts +2 -1
- package/tests/views/__snapshots__/posts.test.ts.snap +251 -0
- package/tests/views/drafts.test.ts +105 -0
- package/tests/views/posts.test.ts +134 -0
- package/tsconfig.build.json +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.json +2 -2
- package/tsconfig.tests.json +2 -2
package/dist/proto/bsky_pb.d.ts
CHANGED
|
@@ -59,6 +59,56 @@ export declare enum FeedType {
|
|
|
59
59
|
*/
|
|
60
60
|
POSTS_WITH_VIDEO = 4
|
|
61
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* @generated from enum bsky.SearchSortOrder
|
|
64
|
+
*/
|
|
65
|
+
export declare enum SearchSortOrder {
|
|
66
|
+
/**
|
|
67
|
+
* @generated from enum value: SEARCH_SORT_ORDER_UNSPECIFIED = 0;
|
|
68
|
+
*/
|
|
69
|
+
UNSPECIFIED = 0,
|
|
70
|
+
/**
|
|
71
|
+
* @generated from enum value: SEARCH_SORT_ORDER_RECENT = 1;
|
|
72
|
+
*/
|
|
73
|
+
RECENT = 1,
|
|
74
|
+
/**
|
|
75
|
+
* @generated from enum value: SEARCH_SORT_ORDER_TOP = 2;
|
|
76
|
+
*/
|
|
77
|
+
TOP = 2
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @generated from enum bsky.SearchQueryLanguage
|
|
81
|
+
*/
|
|
82
|
+
export declare enum SearchQueryLanguage {
|
|
83
|
+
/**
|
|
84
|
+
* @generated from enum value: SEARCH_QUERY_LANGUAGE_UNSPECIFIED = 0;
|
|
85
|
+
*/
|
|
86
|
+
UNSPECIFIED = 0,
|
|
87
|
+
/**
|
|
88
|
+
* Japanese (Kuromoji)
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: SEARCH_QUERY_LANGUAGE_JA = 1;
|
|
91
|
+
*/
|
|
92
|
+
JA = 1,
|
|
93
|
+
/**
|
|
94
|
+
* Chinese (smartcn)
|
|
95
|
+
*
|
|
96
|
+
* @generated from enum value: SEARCH_QUERY_LANGUAGE_ZH = 2;
|
|
97
|
+
*/
|
|
98
|
+
ZH = 2,
|
|
99
|
+
/**
|
|
100
|
+
* Korean (nori)
|
|
101
|
+
*
|
|
102
|
+
* @generated from enum value: SEARCH_QUERY_LANGUAGE_KO = 3;
|
|
103
|
+
*/
|
|
104
|
+
KO = 3,
|
|
105
|
+
/**
|
|
106
|
+
* Thai
|
|
107
|
+
*
|
|
108
|
+
* @generated from enum value: SEARCH_QUERY_LANGUAGE_TH = 4;
|
|
109
|
+
*/
|
|
110
|
+
TH = 4
|
|
111
|
+
}
|
|
62
112
|
/**
|
|
63
113
|
* @generated from enum bsky.SitemapPageType
|
|
64
114
|
*/
|
|
@@ -4138,6 +4188,438 @@ export declare class SearchStarterPacksResponse extends Message<SearchStarterPac
|
|
|
4138
4188
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchStarterPacksResponse;
|
|
4139
4189
|
static equals(a: SearchStarterPacksResponse | PlainMessage<SearchStarterPacksResponse> | undefined, b: SearchStarterPacksResponse | PlainMessage<SearchStarterPacksResponse> | undefined): boolean;
|
|
4140
4190
|
}
|
|
4191
|
+
/**
|
|
4192
|
+
* @generated from message bsky.SearchParams
|
|
4193
|
+
*/
|
|
4194
|
+
export declare class SearchParams extends Message<SearchParams> {
|
|
4195
|
+
/**
|
|
4196
|
+
* @generated from field: string query = 1;
|
|
4197
|
+
*/
|
|
4198
|
+
query: string;
|
|
4199
|
+
/**
|
|
4200
|
+
* @generated from field: string viewer = 2;
|
|
4201
|
+
*/
|
|
4202
|
+
viewer: string;
|
|
4203
|
+
/**
|
|
4204
|
+
* Pagination
|
|
4205
|
+
*
|
|
4206
|
+
* @generated from field: int32 limit = 3;
|
|
4207
|
+
*/
|
|
4208
|
+
limit: number;
|
|
4209
|
+
/**
|
|
4210
|
+
* @generated from field: string cursor = 4;
|
|
4211
|
+
*/
|
|
4212
|
+
cursor: string;
|
|
4213
|
+
constructor(data?: PartialMessage<SearchParams>);
|
|
4214
|
+
static readonly runtime: typeof proto3;
|
|
4215
|
+
static readonly typeName = "bsky.SearchParams";
|
|
4216
|
+
static readonly fields: FieldList;
|
|
4217
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchParams;
|
|
4218
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchParams;
|
|
4219
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchParams;
|
|
4220
|
+
static equals(a: SearchParams | PlainMessage<SearchParams> | undefined, b: SearchParams | PlainMessage<SearchParams> | undefined): boolean;
|
|
4221
|
+
}
|
|
4222
|
+
/**
|
|
4223
|
+
* SearchRecordResult represents a generic result hit corresponding to a record.
|
|
4224
|
+
*
|
|
4225
|
+
* @generated from message bsky.SearchRecordResult
|
|
4226
|
+
*/
|
|
4227
|
+
export declare class SearchRecordResult extends Message<SearchRecordResult> {
|
|
4228
|
+
/**
|
|
4229
|
+
* AT URI of the record, e.g. "at://did:example:alice/app.bsky.feed.post/12345"
|
|
4230
|
+
*
|
|
4231
|
+
* @generated from field: string uri = 1;
|
|
4232
|
+
*/
|
|
4233
|
+
uri: string;
|
|
4234
|
+
/**
|
|
4235
|
+
* @generated from field: double score = 2;
|
|
4236
|
+
*/
|
|
4237
|
+
score: number;
|
|
4238
|
+
constructor(data?: PartialMessage<SearchRecordResult>);
|
|
4239
|
+
static readonly runtime: typeof proto3;
|
|
4240
|
+
static readonly typeName = "bsky.SearchRecordResult";
|
|
4241
|
+
static readonly fields: FieldList;
|
|
4242
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchRecordResult;
|
|
4243
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchRecordResult;
|
|
4244
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchRecordResult;
|
|
4245
|
+
static equals(a: SearchRecordResult | PlainMessage<SearchRecordResult> | undefined, b: SearchRecordResult | PlainMessage<SearchRecordResult> | undefined): boolean;
|
|
4246
|
+
}
|
|
4247
|
+
/**
|
|
4248
|
+
* @generated from message bsky.SearchActorResult
|
|
4249
|
+
*/
|
|
4250
|
+
export declare class SearchActorResult extends Message<SearchActorResult> {
|
|
4251
|
+
/**
|
|
4252
|
+
* @generated from field: string did = 1;
|
|
4253
|
+
*/
|
|
4254
|
+
did: string;
|
|
4255
|
+
/**
|
|
4256
|
+
* @generated from field: double score = 2;
|
|
4257
|
+
*/
|
|
4258
|
+
score: number;
|
|
4259
|
+
constructor(data?: PartialMessage<SearchActorResult>);
|
|
4260
|
+
static readonly runtime: typeof proto3;
|
|
4261
|
+
static readonly typeName = "bsky.SearchActorResult";
|
|
4262
|
+
static readonly fields: FieldList;
|
|
4263
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchActorResult;
|
|
4264
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchActorResult;
|
|
4265
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchActorResult;
|
|
4266
|
+
static equals(a: SearchActorResult | PlainMessage<SearchActorResult> | undefined, b: SearchActorResult | PlainMessage<SearchActorResult> | undefined): boolean;
|
|
4267
|
+
}
|
|
4268
|
+
/**
|
|
4269
|
+
* @generated from message bsky.PageInfo
|
|
4270
|
+
*/
|
|
4271
|
+
export declare class PageInfo extends Message<PageInfo> {
|
|
4272
|
+
/**
|
|
4273
|
+
* @generated from field: string cursor = 1;
|
|
4274
|
+
*/
|
|
4275
|
+
cursor: string;
|
|
4276
|
+
/**
|
|
4277
|
+
* @generated from field: int64 hits_total = 2;
|
|
4278
|
+
*/
|
|
4279
|
+
hitsTotal: bigint;
|
|
4280
|
+
constructor(data?: PartialMessage<PageInfo>);
|
|
4281
|
+
static readonly runtime: typeof proto3;
|
|
4282
|
+
static readonly typeName = "bsky.PageInfo";
|
|
4283
|
+
static readonly fields: FieldList;
|
|
4284
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PageInfo;
|
|
4285
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PageInfo;
|
|
4286
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PageInfo;
|
|
4287
|
+
static equals(a: PageInfo | PlainMessage<PageInfo> | undefined, b: PageInfo | PlainMessage<PageInfo> | undefined): boolean;
|
|
4288
|
+
}
|
|
4289
|
+
/**
|
|
4290
|
+
* PostFilters are logical filters that should be used to match or exclude posts.
|
|
4291
|
+
* Each repeated field is applied as OR within the field with all fields applied together as AND.
|
|
4292
|
+
* example:
|
|
4293
|
+
* filters: {
|
|
4294
|
+
* authors: [alice, bob]
|
|
4295
|
+
* mentions: [carol]
|
|
4296
|
+
* }
|
|
4297
|
+
* => (author is alice OR bob) AND (mentions carol)
|
|
4298
|
+
*
|
|
4299
|
+
*
|
|
4300
|
+
* @generated from message bsky.PostsFilters
|
|
4301
|
+
*/
|
|
4302
|
+
export declare class PostsFilters extends Message<PostsFilters> {
|
|
4303
|
+
/**
|
|
4304
|
+
* Author/mention filters
|
|
4305
|
+
*
|
|
4306
|
+
* @generated from field: repeated string authors = 1;
|
|
4307
|
+
*/
|
|
4308
|
+
authors: string[];
|
|
4309
|
+
/**
|
|
4310
|
+
* @generated from field: repeated string mentions = 2;
|
|
4311
|
+
*/
|
|
4312
|
+
mentions: string[];
|
|
4313
|
+
/**
|
|
4314
|
+
* Content filters
|
|
4315
|
+
*
|
|
4316
|
+
* @generated from field: repeated string domains = 3;
|
|
4317
|
+
*/
|
|
4318
|
+
domains: string[];
|
|
4319
|
+
/**
|
|
4320
|
+
* @generated from field: repeated string urls = 4;
|
|
4321
|
+
*/
|
|
4322
|
+
urls: string[];
|
|
4323
|
+
/**
|
|
4324
|
+
* @generated from field: repeated string embed_uris = 5;
|
|
4325
|
+
*/
|
|
4326
|
+
embedUris: string[];
|
|
4327
|
+
/**
|
|
4328
|
+
* @generated from field: repeated string hashtags = 6;
|
|
4329
|
+
*/
|
|
4330
|
+
hashtags: string[];
|
|
4331
|
+
constructor(data?: PartialMessage<PostsFilters>);
|
|
4332
|
+
static readonly runtime: typeof proto3;
|
|
4333
|
+
static readonly typeName = "bsky.PostsFilters";
|
|
4334
|
+
static readonly fields: FieldList;
|
|
4335
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PostsFilters;
|
|
4336
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PostsFilters;
|
|
4337
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PostsFilters;
|
|
4338
|
+
static equals(a: PostsFilters | PlainMessage<PostsFilters> | undefined, b: PostsFilters | PlainMessage<PostsFilters> | undefined): boolean;
|
|
4339
|
+
}
|
|
4340
|
+
/**
|
|
4341
|
+
* @generated from message bsky.SearchPostsV2Request
|
|
4342
|
+
*/
|
|
4343
|
+
export declare class SearchPostsV2Request extends Message<SearchPostsV2Request> {
|
|
4344
|
+
/**
|
|
4345
|
+
* Required fields
|
|
4346
|
+
*
|
|
4347
|
+
* @generated from field: bsky.SearchParams params = 1;
|
|
4348
|
+
*/
|
|
4349
|
+
params?: SearchParams;
|
|
4350
|
+
/**
|
|
4351
|
+
* @generated from field: bsky.SearchSortOrder sort = 2;
|
|
4352
|
+
*/
|
|
4353
|
+
sort: SearchSortOrder;
|
|
4354
|
+
/**
|
|
4355
|
+
* Logical filters and exclude fields applied together as AND
|
|
4356
|
+
*
|
|
4357
|
+
* filters: include posts matching the filters
|
|
4358
|
+
*
|
|
4359
|
+
* @generated from field: bsky.PostsFilters filters = 3;
|
|
4360
|
+
*/
|
|
4361
|
+
filters?: PostsFilters;
|
|
4362
|
+
/**
|
|
4363
|
+
* Exclude filters: exclude posts matching the filters
|
|
4364
|
+
*
|
|
4365
|
+
* @generated from field: bsky.PostsFilters exclude = 4;
|
|
4366
|
+
*/
|
|
4367
|
+
exclude?: PostsFilters;
|
|
4368
|
+
/**
|
|
4369
|
+
* Date range filters
|
|
4370
|
+
*
|
|
4371
|
+
* @generated from field: optional google.protobuf.Timestamp since = 5;
|
|
4372
|
+
*/
|
|
4373
|
+
since?: Timestamp;
|
|
4374
|
+
/**
|
|
4375
|
+
* defaults to "now"
|
|
4376
|
+
*
|
|
4377
|
+
* @generated from field: optional google.protobuf.Timestamp until = 6;
|
|
4378
|
+
*/
|
|
4379
|
+
until?: Timestamp;
|
|
4380
|
+
/**
|
|
4381
|
+
* If false, will only query against last 30 days of posts
|
|
4382
|
+
* so `since` and `until` will silently be capped
|
|
4383
|
+
*
|
|
4384
|
+
* @generated from field: optional bool all_time = 7;
|
|
4385
|
+
*/
|
|
4386
|
+
allTime?: boolean;
|
|
4387
|
+
/**
|
|
4388
|
+
* Language filter - match posts in this language
|
|
4389
|
+
* Supports 2-char ISO prefixes ("en", "ja, "fr", etc")
|
|
4390
|
+
* and compares against the 2-char prefix of any `langs` field values of the post record
|
|
4391
|
+
* e.g. a post with langs=["en-US", "fr"] would match "en" or "fr" but not "ja"
|
|
4392
|
+
*
|
|
4393
|
+
* @generated from field: optional string language = 8;
|
|
4394
|
+
*/
|
|
4395
|
+
language?: string;
|
|
4396
|
+
/**
|
|
4397
|
+
* Media filters
|
|
4398
|
+
*
|
|
4399
|
+
* @generated from field: optional bool has_media = 9;
|
|
4400
|
+
*/
|
|
4401
|
+
hasMedia?: boolean;
|
|
4402
|
+
/**
|
|
4403
|
+
* @generated from field: optional bool has_video = 10;
|
|
4404
|
+
*/
|
|
4405
|
+
hasVideo?: boolean;
|
|
4406
|
+
/**
|
|
4407
|
+
* Reply filters
|
|
4408
|
+
*
|
|
4409
|
+
* @generated from field: optional string reply_parent_uri = 11;
|
|
4410
|
+
*/
|
|
4411
|
+
replyParentUri?: string;
|
|
4412
|
+
/**
|
|
4413
|
+
* @generated from field: optional string thread_root_uri = 12;
|
|
4414
|
+
*/
|
|
4415
|
+
threadRootUri?: string;
|
|
4416
|
+
/**
|
|
4417
|
+
* @generated from field: optional bool exclude_replies = 13;
|
|
4418
|
+
*/
|
|
4419
|
+
excludeReplies?: boolean;
|
|
4420
|
+
/**
|
|
4421
|
+
* @generated from field: optional bool replies_only = 14;
|
|
4422
|
+
*/
|
|
4423
|
+
repliesOnly?: boolean;
|
|
4424
|
+
/**
|
|
4425
|
+
* Social filters
|
|
4426
|
+
*
|
|
4427
|
+
* @generated from field: optional bool following = 15;
|
|
4428
|
+
*/
|
|
4429
|
+
following?: boolean;
|
|
4430
|
+
/**
|
|
4431
|
+
* Query analysis hint — forces a specific language analyzer.
|
|
4432
|
+
* Auto-detects from query text when unset.
|
|
4433
|
+
*
|
|
4434
|
+
* @generated from field: optional bsky.SearchQueryLanguage query_language = 16;
|
|
4435
|
+
*/
|
|
4436
|
+
queryLanguage?: SearchQueryLanguage;
|
|
4437
|
+
constructor(data?: PartialMessage<SearchPostsV2Request>);
|
|
4438
|
+
static readonly runtime: typeof proto3;
|
|
4439
|
+
static readonly typeName = "bsky.SearchPostsV2Request";
|
|
4440
|
+
static readonly fields: FieldList;
|
|
4441
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchPostsV2Request;
|
|
4442
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchPostsV2Request;
|
|
4443
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchPostsV2Request;
|
|
4444
|
+
static equals(a: SearchPostsV2Request | PlainMessage<SearchPostsV2Request> | undefined, b: SearchPostsV2Request | PlainMessage<SearchPostsV2Request> | undefined): boolean;
|
|
4445
|
+
}
|
|
4446
|
+
/**
|
|
4447
|
+
* @generated from message bsky.SearchPostsV2Response
|
|
4448
|
+
*/
|
|
4449
|
+
export declare class SearchPostsV2Response extends Message<SearchPostsV2Response> {
|
|
4450
|
+
/**
|
|
4451
|
+
* @generated from field: repeated bsky.SearchRecordResult posts = 1;
|
|
4452
|
+
*/
|
|
4453
|
+
posts: SearchRecordResult[];
|
|
4454
|
+
/**
|
|
4455
|
+
* @generated from field: bsky.PageInfo page_info = 2;
|
|
4456
|
+
*/
|
|
4457
|
+
pageInfo?: PageInfo;
|
|
4458
|
+
constructor(data?: PartialMessage<SearchPostsV2Response>);
|
|
4459
|
+
static readonly runtime: typeof proto3;
|
|
4460
|
+
static readonly typeName = "bsky.SearchPostsV2Response";
|
|
4461
|
+
static readonly fields: FieldList;
|
|
4462
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchPostsV2Response;
|
|
4463
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchPostsV2Response;
|
|
4464
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchPostsV2Response;
|
|
4465
|
+
static equals(a: SearchPostsV2Response | PlainMessage<SearchPostsV2Response> | undefined, b: SearchPostsV2Response | PlainMessage<SearchPostsV2Response> | undefined): boolean;
|
|
4466
|
+
}
|
|
4467
|
+
/**
|
|
4468
|
+
* @generated from message bsky.SearchActorsV2Request
|
|
4469
|
+
*/
|
|
4470
|
+
export declare class SearchActorsV2Request extends Message<SearchActorsV2Request> {
|
|
4471
|
+
/**
|
|
4472
|
+
* @generated from field: bsky.SearchParams params = 1;
|
|
4473
|
+
*/
|
|
4474
|
+
params?: SearchParams;
|
|
4475
|
+
constructor(data?: PartialMessage<SearchActorsV2Request>);
|
|
4476
|
+
static readonly runtime: typeof proto3;
|
|
4477
|
+
static readonly typeName = "bsky.SearchActorsV2Request";
|
|
4478
|
+
static readonly fields: FieldList;
|
|
4479
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchActorsV2Request;
|
|
4480
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchActorsV2Request;
|
|
4481
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchActorsV2Request;
|
|
4482
|
+
static equals(a: SearchActorsV2Request | PlainMessage<SearchActorsV2Request> | undefined, b: SearchActorsV2Request | PlainMessage<SearchActorsV2Request> | undefined): boolean;
|
|
4483
|
+
}
|
|
4484
|
+
/**
|
|
4485
|
+
* @generated from message bsky.SearchActorsV2Response
|
|
4486
|
+
*/
|
|
4487
|
+
export declare class SearchActorsV2Response extends Message<SearchActorsV2Response> {
|
|
4488
|
+
/**
|
|
4489
|
+
* @generated from field: repeated bsky.SearchActorResult actors = 1;
|
|
4490
|
+
*/
|
|
4491
|
+
actors: SearchActorResult[];
|
|
4492
|
+
/**
|
|
4493
|
+
* @generated from field: bsky.PageInfo page_info = 2;
|
|
4494
|
+
*/
|
|
4495
|
+
pageInfo?: PageInfo;
|
|
4496
|
+
constructor(data?: PartialMessage<SearchActorsV2Response>);
|
|
4497
|
+
static readonly runtime: typeof proto3;
|
|
4498
|
+
static readonly typeName = "bsky.SearchActorsV2Response";
|
|
4499
|
+
static readonly fields: FieldList;
|
|
4500
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchActorsV2Response;
|
|
4501
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchActorsV2Response;
|
|
4502
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchActorsV2Response;
|
|
4503
|
+
static equals(a: SearchActorsV2Response | PlainMessage<SearchActorsV2Response> | undefined, b: SearchActorsV2Response | PlainMessage<SearchActorsV2Response> | undefined): boolean;
|
|
4504
|
+
}
|
|
4505
|
+
/**
|
|
4506
|
+
* @generated from message bsky.SearchActorsTypeaheadRequest
|
|
4507
|
+
*/
|
|
4508
|
+
export declare class SearchActorsTypeaheadRequest extends Message<SearchActorsTypeaheadRequest> {
|
|
4509
|
+
/**
|
|
4510
|
+
* @generated from field: string viewer = 1;
|
|
4511
|
+
*/
|
|
4512
|
+
viewer: string;
|
|
4513
|
+
/**
|
|
4514
|
+
* @generated from field: string query = 2;
|
|
4515
|
+
*/
|
|
4516
|
+
query: string;
|
|
4517
|
+
/**
|
|
4518
|
+
* @generated from field: int32 limit = 3;
|
|
4519
|
+
*/
|
|
4520
|
+
limit: number;
|
|
4521
|
+
constructor(data?: PartialMessage<SearchActorsTypeaheadRequest>);
|
|
4522
|
+
static readonly runtime: typeof proto3;
|
|
4523
|
+
static readonly typeName = "bsky.SearchActorsTypeaheadRequest";
|
|
4524
|
+
static readonly fields: FieldList;
|
|
4525
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchActorsTypeaheadRequest;
|
|
4526
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchActorsTypeaheadRequest;
|
|
4527
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchActorsTypeaheadRequest;
|
|
4528
|
+
static equals(a: SearchActorsTypeaheadRequest | PlainMessage<SearchActorsTypeaheadRequest> | undefined, b: SearchActorsTypeaheadRequest | PlainMessage<SearchActorsTypeaheadRequest> | undefined): boolean;
|
|
4529
|
+
}
|
|
4530
|
+
/**
|
|
4531
|
+
* @generated from message bsky.SearchActorsTypeaheadResponse
|
|
4532
|
+
*/
|
|
4533
|
+
export declare class SearchActorsTypeaheadResponse extends Message<SearchActorsTypeaheadResponse> {
|
|
4534
|
+
/**
|
|
4535
|
+
* @generated from field: repeated bsky.SearchActorResult actors = 1;
|
|
4536
|
+
*/
|
|
4537
|
+
actors: SearchActorResult[];
|
|
4538
|
+
constructor(data?: PartialMessage<SearchActorsTypeaheadResponse>);
|
|
4539
|
+
static readonly runtime: typeof proto3;
|
|
4540
|
+
static readonly typeName = "bsky.SearchActorsTypeaheadResponse";
|
|
4541
|
+
static readonly fields: FieldList;
|
|
4542
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchActorsTypeaheadResponse;
|
|
4543
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchActorsTypeaheadResponse;
|
|
4544
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchActorsTypeaheadResponse;
|
|
4545
|
+
static equals(a: SearchActorsTypeaheadResponse | PlainMessage<SearchActorsTypeaheadResponse> | undefined, b: SearchActorsTypeaheadResponse | PlainMessage<SearchActorsTypeaheadResponse> | undefined): boolean;
|
|
4546
|
+
}
|
|
4547
|
+
/**
|
|
4548
|
+
* @generated from message bsky.SearchFeedGeneratorsV2Request
|
|
4549
|
+
*/
|
|
4550
|
+
export declare class SearchFeedGeneratorsV2Request extends Message<SearchFeedGeneratorsV2Request> {
|
|
4551
|
+
/**
|
|
4552
|
+
* @generated from field: bsky.SearchParams params = 1;
|
|
4553
|
+
*/
|
|
4554
|
+
params?: SearchParams;
|
|
4555
|
+
constructor(data?: PartialMessage<SearchFeedGeneratorsV2Request>);
|
|
4556
|
+
static readonly runtime: typeof proto3;
|
|
4557
|
+
static readonly typeName = "bsky.SearchFeedGeneratorsV2Request";
|
|
4558
|
+
static readonly fields: FieldList;
|
|
4559
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchFeedGeneratorsV2Request;
|
|
4560
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchFeedGeneratorsV2Request;
|
|
4561
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchFeedGeneratorsV2Request;
|
|
4562
|
+
static equals(a: SearchFeedGeneratorsV2Request | PlainMessage<SearchFeedGeneratorsV2Request> | undefined, b: SearchFeedGeneratorsV2Request | PlainMessage<SearchFeedGeneratorsV2Request> | undefined): boolean;
|
|
4563
|
+
}
|
|
4564
|
+
/**
|
|
4565
|
+
* @generated from message bsky.SearchFeedGeneratorsV2Response
|
|
4566
|
+
*/
|
|
4567
|
+
export declare class SearchFeedGeneratorsV2Response extends Message<SearchFeedGeneratorsV2Response> {
|
|
4568
|
+
/**
|
|
4569
|
+
* @generated from field: repeated bsky.SearchRecordResult feed_generators = 1;
|
|
4570
|
+
*/
|
|
4571
|
+
feedGenerators: SearchRecordResult[];
|
|
4572
|
+
/**
|
|
4573
|
+
* @generated from field: bsky.PageInfo page_info = 2;
|
|
4574
|
+
*/
|
|
4575
|
+
pageInfo?: PageInfo;
|
|
4576
|
+
constructor(data?: PartialMessage<SearchFeedGeneratorsV2Response>);
|
|
4577
|
+
static readonly runtime: typeof proto3;
|
|
4578
|
+
static readonly typeName = "bsky.SearchFeedGeneratorsV2Response";
|
|
4579
|
+
static readonly fields: FieldList;
|
|
4580
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchFeedGeneratorsV2Response;
|
|
4581
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchFeedGeneratorsV2Response;
|
|
4582
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchFeedGeneratorsV2Response;
|
|
4583
|
+
static equals(a: SearchFeedGeneratorsV2Response | PlainMessage<SearchFeedGeneratorsV2Response> | undefined, b: SearchFeedGeneratorsV2Response | PlainMessage<SearchFeedGeneratorsV2Response> | undefined): boolean;
|
|
4584
|
+
}
|
|
4585
|
+
/**
|
|
4586
|
+
* @generated from message bsky.SearchStarterPacksV2Request
|
|
4587
|
+
*/
|
|
4588
|
+
export declare class SearchStarterPacksV2Request extends Message<SearchStarterPacksV2Request> {
|
|
4589
|
+
/**
|
|
4590
|
+
* @generated from field: bsky.SearchParams params = 1;
|
|
4591
|
+
*/
|
|
4592
|
+
params?: SearchParams;
|
|
4593
|
+
constructor(data?: PartialMessage<SearchStarterPacksV2Request>);
|
|
4594
|
+
static readonly runtime: typeof proto3;
|
|
4595
|
+
static readonly typeName = "bsky.SearchStarterPacksV2Request";
|
|
4596
|
+
static readonly fields: FieldList;
|
|
4597
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchStarterPacksV2Request;
|
|
4598
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchStarterPacksV2Request;
|
|
4599
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchStarterPacksV2Request;
|
|
4600
|
+
static equals(a: SearchStarterPacksV2Request | PlainMessage<SearchStarterPacksV2Request> | undefined, b: SearchStarterPacksV2Request | PlainMessage<SearchStarterPacksV2Request> | undefined): boolean;
|
|
4601
|
+
}
|
|
4602
|
+
/**
|
|
4603
|
+
* @generated from message bsky.SearchStarterPacksV2Response
|
|
4604
|
+
*/
|
|
4605
|
+
export declare class SearchStarterPacksV2Response extends Message<SearchStarterPacksV2Response> {
|
|
4606
|
+
/**
|
|
4607
|
+
* @generated from field: repeated bsky.SearchRecordResult starter_packs = 1;
|
|
4608
|
+
*/
|
|
4609
|
+
starterPacks: SearchRecordResult[];
|
|
4610
|
+
/**
|
|
4611
|
+
* @generated from field: bsky.PageInfo page_info = 2;
|
|
4612
|
+
*/
|
|
4613
|
+
pageInfo?: PageInfo;
|
|
4614
|
+
constructor(data?: PartialMessage<SearchStarterPacksV2Response>);
|
|
4615
|
+
static readonly runtime: typeof proto3;
|
|
4616
|
+
static readonly typeName = "bsky.SearchStarterPacksV2Response";
|
|
4617
|
+
static readonly fields: FieldList;
|
|
4618
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchStarterPacksV2Response;
|
|
4619
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchStarterPacksV2Response;
|
|
4620
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchStarterPacksV2Response;
|
|
4621
|
+
static equals(a: SearchStarterPacksV2Response | PlainMessage<SearchStarterPacksV2Response> | undefined, b: SearchStarterPacksV2Response | PlainMessage<SearchStarterPacksV2Response> | undefined): boolean;
|
|
4622
|
+
}
|
|
4141
4623
|
/**
|
|
4142
4624
|
* - Return DIDs of suggested follows for a user, excluding anyone they already follow
|
|
4143
4625
|
* - `getSuggestions`, `getSuggestedFollowsByActor`
|