@atproto/bsky 0.0.247 → 0.0.249
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 +33 -0
- package/dist/api/app/bsky/feed/searchPosts.js +1 -1
- package/dist/api/app/bsky/feed/searchPosts.js.map +1 -1
- package/dist/api/app/bsky/feed/searchPostsV2.js +2 -1
- package/dist/api/app/bsky/feed/searchPostsV2.js.map +1 -1
- package/dist/lexicons/app/bsky/feed/searchPostsV2.defs.d.ts +14 -16
- package/dist/lexicons/app/bsky/feed/searchPostsV2.defs.d.ts.map +1 -1
- package/dist/lexicons/app/bsky/feed/searchPostsV2.defs.js +6 -6
- package/dist/lexicons/app/bsky/feed/searchPostsV2.defs.js.map +1 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts +9 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.d.ts.map +1 -1
- package/dist/lexicons/chat/bsky/convo/defs.defs.js +6 -0
- package/dist/lexicons/chat/bsky/convo/defs.defs.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +17 -17
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +18 -9
- package/dist/proto/bsky_pb.js.map +1 -1
- package/package.json +16 -16
- package/proto/bsky.proto +13 -14
- package/src/api/app/bsky/feed/searchPosts.ts +1 -1
- package/src/api/app/bsky/feed/searchPostsV2.ts +2 -1
package/dist/proto/bsky_pb.js
CHANGED
|
@@ -6752,6 +6752,15 @@ export class PostsFilters extends Message {
|
|
|
6752
6752
|
* @generated from field: repeated string hashtags = 6;
|
|
6753
6753
|
*/
|
|
6754
6754
|
this.hashtags = [];
|
|
6755
|
+
/**
|
|
6756
|
+
* Filter posts in any of these languages
|
|
6757
|
+
* Supports 2-char ISO prefixes ("en", "ja", "fr", etc) and compares against
|
|
6758
|
+
* the 2-char prefix of any `langs` field values of the post record.
|
|
6759
|
+
* e.g. a post with langs=["en-US", "fr"] matches ["en"] or ["fr", "ja"] but not ["ja"].
|
|
6760
|
+
*
|
|
6761
|
+
* @generated from field: repeated string languages = 7;
|
|
6762
|
+
*/
|
|
6763
|
+
this.languages = [];
|
|
6755
6764
|
proto3.util.initPartial(data, this);
|
|
6756
6765
|
}
|
|
6757
6766
|
static { this.runtime = proto3; }
|
|
@@ -6763,6 +6772,7 @@ export class PostsFilters extends Message {
|
|
|
6763
6772
|
{ no: 4, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
6764
6773
|
{ no: 5, name: "embedded_at_uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
6765
6774
|
{ no: 6, name: "hashtags", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
6775
|
+
{ no: 7, name: "languages", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
6766
6776
|
]); }
|
|
6767
6777
|
static fromBinary(bytes, options) {
|
|
6768
6778
|
return new PostsFilters().fromBinary(bytes, options);
|
|
@@ -6799,15 +6809,14 @@ export class SearchPostsV2Request extends Message {
|
|
|
6799
6809
|
{ no: 5, name: "since", kind: "message", T: Timestamp, opt: true },
|
|
6800
6810
|
{ no: 6, name: "until", kind: "message", T: Timestamp, opt: true },
|
|
6801
6811
|
{ no: 7, name: "all_time", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
6802
|
-
{ no: 8, name: "
|
|
6803
|
-
{ no: 9, name: "
|
|
6804
|
-
{ no: 10, name: "
|
|
6805
|
-
{ no: 11, name: "
|
|
6806
|
-
{ no: 12, name: "
|
|
6807
|
-
{ no: 13, name: "
|
|
6808
|
-
{ no: 14, name: "
|
|
6809
|
-
{ no: 15, name: "
|
|
6810
|
-
{ no: 16, name: "query_language", kind: "enum", T: proto3.getEnumType(SearchQueryLanguage), opt: true },
|
|
6812
|
+
{ no: 8, name: "has_media", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
6813
|
+
{ no: 9, name: "has_video", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
6814
|
+
{ no: 10, name: "reply_parent_uri", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
6815
|
+
{ no: 11, name: "thread_root_uri", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
6816
|
+
{ no: 12, name: "exclude_replies", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
6817
|
+
{ no: 13, name: "replies_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
6818
|
+
{ no: 14, name: "following", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
6819
|
+
{ no: 15, name: "query_language", kind: "enum", T: proto3.getEnumType(SearchQueryLanguage), opt: true },
|
|
6811
6820
|
]); }
|
|
6812
6821
|
static fromBinary(bytes, options) {
|
|
6813
6822
|
return new SearchPostsV2Request().fromBinary(bytes, options);
|