@atproto/bsky 0.0.44 → 0.0.46
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 +14 -0
- package/dist/api/app/bsky/actor/getSuggestions.d.ts.map +1 -1
- package/dist/api/app/bsky/actor/getSuggestions.js +26 -13
- package/dist/api/app/bsky/actor/getSuggestions.js.map +1 -1
- package/dist/api/app/bsky/actor/searchActors.js +1 -0
- package/dist/api/app/bsky/actor/searchActors.js.map +1 -1
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js +1 -0
- package/dist/api/app/bsky/actor/searchActorsTypeahead.js.map +1 -1
- package/dist/api/app/bsky/feed/searchPosts.js +10 -0
- package/dist/api/app/bsky/feed/searchPosts.js.map +1 -1
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/config.d.ts +4 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +10 -0
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +2 -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/server/db/pagination.d.ts +5 -5
- package/dist/data-plane/server/db/pagination.d.ts.map +1 -1
- package/dist/data-plane/server/routes/records.d.ts.map +1 -1
- package/dist/data-plane/server/util.d.ts.map +1 -1
- package/dist/hydration/hydrator.d.ts.map +1 -1
- package/dist/hydration/hydrator.js +8 -1
- package/dist/hydration/hydrator.js.map +1 -1
- package/dist/hydration/util.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/lexicon/index.d.ts +18 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +23 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +291 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +307 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.d.ts +3 -0
- package/dist/lexicon/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/record.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts +38 -0
- package/dist/lexicon/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js +35 -1
- package/dist/lexicon/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/generator.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/feed/generator.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/generator.js.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/searchPosts.d.ts +18 -0
- package/dist/lexicon/types/app/bsky/feed/searchPosts.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/feed/sendInteractions.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/feed/sendInteractions.js +3 -0
- package/dist/lexicon/types/app/bsky/feed/sendInteractions.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +40 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.js +3 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +20 -0
- package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/createSession.d.ts +3 -1
- package/dist/lexicon/types/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/updateEmail.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/server/updateEmail.d.ts.map +1 -1
- package/dist/util/debug.d.ts.map +1 -1
- package/dist/views/index.d.ts +2 -2
- package/dist/views/index.d.ts.map +1 -1
- package/dist/views/index.js +29 -22
- package/dist/views/index.js.map +1 -1
- package/package.json +4 -4
- package/src/api/app/bsky/actor/getSuggestions.ts +28 -13
- package/src/api/app/bsky/actor/searchActors.ts +1 -0
- package/src/api/app/bsky/actor/searchActorsTypeahead.ts +1 -0
- package/src/api/app/bsky/feed/searchPosts.ts +10 -0
- package/src/config.ts +14 -0
- package/src/context.ts +5 -0
- package/src/hydration/hydrator.ts +9 -1
- package/src/index.ts +12 -0
- package/src/lexicon/index.ts +38 -0
- package/src/lexicon/lexicons.ts +336 -0
- package/src/lexicon/types/app/bsky/embed/record.ts +3 -0
- package/src/lexicon/types/app/bsky/feed/defs.ts +63 -0
- package/src/lexicon/types/app/bsky/feed/generator.ts +2 -0
- package/src/lexicon/types/app/bsky/feed/searchPosts.ts +18 -0
- package/src/lexicon/types/app/bsky/feed/sendInteractions.ts +49 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +50 -0
- package/src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts +2 -0
- package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +20 -0
- package/src/lexicon/types/com/atproto/server/createSession.ts +3 -1
- package/src/lexicon/types/com/atproto/server/getSession.ts +1 -0
- package/src/lexicon/types/com/atproto/server/updateEmail.ts +1 -0
- package/src/views/index.ts +27 -30
- package/tests/__snapshots__/feed-generation.test.ts.snap +15 -0
- package/tests/data-plane/__snapshots__/indexing.test.ts.snap +6 -0
- package/tests/views/__snapshots__/actor-search.test.ts.snap +2 -2
- package/tests/views/__snapshots__/author-feed.test.ts.snap +27 -0
- package/tests/views/__snapshots__/block-lists.test.ts.snap +3 -0
- package/tests/views/__snapshots__/blocks.test.ts.snap +3 -0
- package/tests/views/__snapshots__/list-feed.test.ts.snap +6 -0
- package/tests/views/__snapshots__/posts.test.ts.snap +9 -0
- package/tests/views/__snapshots__/timeline.test.ts.snap +259 -0
- package/tests/views/actor-search.test.ts +3 -3
- package/tests/views/blocks.test.ts +11 -2
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -2133,6 +2133,9 @@ exports.schemaDict = {
|
|
|
2133
2133
|
password: {
|
|
2134
2134
|
type: 'string',
|
|
2135
2135
|
},
|
|
2136
|
+
authFactorToken: {
|
|
2137
|
+
type: 'string',
|
|
2138
|
+
},
|
|
2136
2139
|
},
|
|
2137
2140
|
},
|
|
2138
2141
|
},
|
|
@@ -2165,6 +2168,9 @@ exports.schemaDict = {
|
|
|
2165
2168
|
emailConfirmed: {
|
|
2166
2169
|
type: 'boolean',
|
|
2167
2170
|
},
|
|
2171
|
+
emailAuthFactor: {
|
|
2172
|
+
type: 'boolean',
|
|
2173
|
+
},
|
|
2168
2174
|
},
|
|
2169
2175
|
},
|
|
2170
2176
|
},
|
|
@@ -2172,6 +2178,9 @@ exports.schemaDict = {
|
|
|
2172
2178
|
{
|
|
2173
2179
|
name: 'AccountTakedown',
|
|
2174
2180
|
},
|
|
2181
|
+
{
|
|
2182
|
+
name: 'AuthFactorTokenRequired',
|
|
2183
|
+
},
|
|
2175
2184
|
],
|
|
2176
2185
|
},
|
|
2177
2186
|
},
|
|
@@ -2480,6 +2489,9 @@ exports.schemaDict = {
|
|
|
2480
2489
|
emailConfirmed: {
|
|
2481
2490
|
type: 'boolean',
|
|
2482
2491
|
},
|
|
2492
|
+
emailAuthFactor: {
|
|
2493
|
+
type: 'boolean',
|
|
2494
|
+
},
|
|
2483
2495
|
didDoc: {
|
|
2484
2496
|
type: 'unknown',
|
|
2485
2497
|
},
|
|
@@ -2745,6 +2757,9 @@ exports.schemaDict = {
|
|
|
2745
2757
|
email: {
|
|
2746
2758
|
type: 'string',
|
|
2747
2759
|
},
|
|
2760
|
+
emailAuthFactor: {
|
|
2761
|
+
type: 'boolean',
|
|
2762
|
+
},
|
|
2748
2763
|
token: {
|
|
2749
2764
|
type: 'string',
|
|
2750
2765
|
description: "Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed.",
|
|
@@ -4413,6 +4428,15 @@ exports.schemaDict = {
|
|
|
4413
4428
|
ref: 'lex:com.atproto.label.defs#label',
|
|
4414
4429
|
},
|
|
4415
4430
|
},
|
|
4431
|
+
replyCount: {
|
|
4432
|
+
type: 'integer',
|
|
4433
|
+
},
|
|
4434
|
+
repostCount: {
|
|
4435
|
+
type: 'integer',
|
|
4436
|
+
},
|
|
4437
|
+
likeCount: {
|
|
4438
|
+
type: 'integer',
|
|
4439
|
+
},
|
|
4416
4440
|
embeds: {
|
|
4417
4441
|
type: 'array',
|
|
4418
4442
|
items: {
|
|
@@ -4598,6 +4622,11 @@ exports.schemaDict = {
|
|
|
4598
4622
|
type: 'union',
|
|
4599
4623
|
refs: ['lex:app.bsky.feed.defs#reasonRepost'],
|
|
4600
4624
|
},
|
|
4625
|
+
feedContext: {
|
|
4626
|
+
type: 'string',
|
|
4627
|
+
description: 'Context provided by feed generator that may be passed back alongside interactions.',
|
|
4628
|
+
maxLength: 2000,
|
|
4629
|
+
},
|
|
4601
4630
|
},
|
|
4602
4631
|
},
|
|
4603
4632
|
replyRef: {
|
|
@@ -4754,6 +4783,9 @@ exports.schemaDict = {
|
|
|
4754
4783
|
type: 'integer',
|
|
4755
4784
|
minimum: 0,
|
|
4756
4785
|
},
|
|
4786
|
+
acceptsInteractions: {
|
|
4787
|
+
type: 'boolean',
|
|
4788
|
+
},
|
|
4757
4789
|
labels: {
|
|
4758
4790
|
type: 'array',
|
|
4759
4791
|
items: {
|
|
@@ -4792,6 +4824,11 @@ exports.schemaDict = {
|
|
|
4792
4824
|
type: 'union',
|
|
4793
4825
|
refs: ['lex:app.bsky.feed.defs#skeletonReasonRepost'],
|
|
4794
4826
|
},
|
|
4827
|
+
feedContext: {
|
|
4828
|
+
type: 'string',
|
|
4829
|
+
description: 'Context that will be passed through to client and may be passed to feed generator back alongside interactions.',
|
|
4830
|
+
maxLength: 2000,
|
|
4831
|
+
},
|
|
4795
4832
|
},
|
|
4796
4833
|
},
|
|
4797
4834
|
skeletonReasonRepost: {
|
|
@@ -4827,6 +4864,85 @@ exports.schemaDict = {
|
|
|
4827
4864
|
},
|
|
4828
4865
|
},
|
|
4829
4866
|
},
|
|
4867
|
+
interaction: {
|
|
4868
|
+
type: 'object',
|
|
4869
|
+
properties: {
|
|
4870
|
+
item: {
|
|
4871
|
+
type: 'string',
|
|
4872
|
+
format: 'at-uri',
|
|
4873
|
+
},
|
|
4874
|
+
event: {
|
|
4875
|
+
type: 'string',
|
|
4876
|
+
knownValues: [
|
|
4877
|
+
'app.bsky.feed.defs#requestLess',
|
|
4878
|
+
'app.bsky.feed.defs#requestMore',
|
|
4879
|
+
'app.bsky.feed.defs#clickthroughItem',
|
|
4880
|
+
'app.bsky.feed.defs#clickthroughAuthor',
|
|
4881
|
+
'app.bsky.feed.defs#clickthroughReposter',
|
|
4882
|
+
'app.bsky.feed.defs#clickthroughEmbed',
|
|
4883
|
+
'app.bsky.feed.defs#interactionSeen',
|
|
4884
|
+
'app.bsky.feed.defs#interactionLike',
|
|
4885
|
+
'app.bsky.feed.defs#interactionRepost',
|
|
4886
|
+
'app.bsky.feed.defs#interactionReply',
|
|
4887
|
+
'app.bsky.feed.defs#interactionQuote',
|
|
4888
|
+
'app.bsky.feed.defs#interactionShare',
|
|
4889
|
+
],
|
|
4890
|
+
},
|
|
4891
|
+
feedContext: {
|
|
4892
|
+
type: 'string',
|
|
4893
|
+
description: 'Context on a feed item that was orginally supplied by the feed generator on getFeedSkeleton.',
|
|
4894
|
+
maxLength: 2000,
|
|
4895
|
+
},
|
|
4896
|
+
},
|
|
4897
|
+
},
|
|
4898
|
+
requestLess: {
|
|
4899
|
+
type: 'token',
|
|
4900
|
+
description: 'Request that less content like the given feed item be shown in the feed',
|
|
4901
|
+
},
|
|
4902
|
+
requestMore: {
|
|
4903
|
+
type: 'token',
|
|
4904
|
+
description: 'Request that more content like the given feed item be shown in the feed',
|
|
4905
|
+
},
|
|
4906
|
+
clickthroughItem: {
|
|
4907
|
+
type: 'token',
|
|
4908
|
+
description: 'User clicked through to the feed item',
|
|
4909
|
+
},
|
|
4910
|
+
clickthroughAuthor: {
|
|
4911
|
+
type: 'token',
|
|
4912
|
+
description: 'User clicked through to the author of the feed item',
|
|
4913
|
+
},
|
|
4914
|
+
clickthroughReposter: {
|
|
4915
|
+
type: 'token',
|
|
4916
|
+
description: 'User clicked through to the reposter of the feed item',
|
|
4917
|
+
},
|
|
4918
|
+
clickthroughEmbed: {
|
|
4919
|
+
type: 'token',
|
|
4920
|
+
description: 'User clicked through to the embedded content of the feed item',
|
|
4921
|
+
},
|
|
4922
|
+
interactionSeen: {
|
|
4923
|
+
type: 'token',
|
|
4924
|
+
description: 'Feed item was seen by user',
|
|
4925
|
+
},
|
|
4926
|
+
interactionLike: {
|
|
4927
|
+
type: 'token',
|
|
4928
|
+
description: 'User liked the feed item',
|
|
4929
|
+
},
|
|
4930
|
+
interactionRepost: {
|
|
4931
|
+
type: 'token',
|
|
4932
|
+
description: 'User reposted the feed item',
|
|
4933
|
+
},
|
|
4934
|
+
interactionReply: {
|
|
4935
|
+
type: 'token',
|
|
4936
|
+
description: 'User replied to the feed item',
|
|
4937
|
+
},
|
|
4938
|
+
interactionQuote: {
|
|
4939
|
+
type: 'token',
|
|
4940
|
+
description: 'User quoted the feed item',
|
|
4941
|
+
},
|
|
4942
|
+
interactionShare: {
|
|
4943
|
+
type: 'token',
|
|
4944
|
+
description: 'User shared the feed item',
|
|
4945
|
+
},
|
|
4830
4946
|
},
|
|
4831
4947
|
},
|
|
4832
4948
|
AppBskyFeedDescribeFeedGenerator: {
|
|
@@ -4922,6 +5038,10 @@ exports.schemaDict = {
|
|
|
4922
5038
|
accept: ['image/png', 'image/jpeg'],
|
|
4923
5039
|
maxSize: 1000000,
|
|
4924
5040
|
},
|
|
5041
|
+
acceptsInteractions: {
|
|
5042
|
+
type: 'boolean',
|
|
5043
|
+
description: 'Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions',
|
|
5044
|
+
},
|
|
4925
5045
|
labels: {
|
|
4926
5046
|
type: 'union',
|
|
4927
5047
|
description: 'Self-label values',
|
|
@@ -5872,6 +5992,53 @@ exports.schemaDict = {
|
|
|
5872
5992
|
type: 'string',
|
|
5873
5993
|
description: 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
|
|
5874
5994
|
},
|
|
5995
|
+
sort: {
|
|
5996
|
+
type: 'string',
|
|
5997
|
+
knownValues: ['top', 'latest'],
|
|
5998
|
+
default: 'latest',
|
|
5999
|
+
description: 'Specifies the ranking order of results.',
|
|
6000
|
+
},
|
|
6001
|
+
since: {
|
|
6002
|
+
type: 'string',
|
|
6003
|
+
description: "Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD).",
|
|
6004
|
+
},
|
|
6005
|
+
until: {
|
|
6006
|
+
type: 'string',
|
|
6007
|
+
description: "Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD).",
|
|
6008
|
+
},
|
|
6009
|
+
mentions: {
|
|
6010
|
+
type: 'string',
|
|
6011
|
+
format: 'at-identifier',
|
|
6012
|
+
description: 'Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.',
|
|
6013
|
+
},
|
|
6014
|
+
author: {
|
|
6015
|
+
type: 'string',
|
|
6016
|
+
format: 'at-identifier',
|
|
6017
|
+
description: 'Filter to posts by the given account. Handles are resolved to DID before query-time.',
|
|
6018
|
+
},
|
|
6019
|
+
lang: {
|
|
6020
|
+
type: 'string',
|
|
6021
|
+
format: 'language',
|
|
6022
|
+
description: 'Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.',
|
|
6023
|
+
},
|
|
6024
|
+
domain: {
|
|
6025
|
+
type: 'string',
|
|
6026
|
+
description: 'Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.',
|
|
6027
|
+
},
|
|
6028
|
+
url: {
|
|
6029
|
+
type: 'string',
|
|
6030
|
+
format: 'uri',
|
|
6031
|
+
description: 'Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.',
|
|
6032
|
+
},
|
|
6033
|
+
tag: {
|
|
6034
|
+
type: 'array',
|
|
6035
|
+
items: {
|
|
6036
|
+
type: 'string',
|
|
6037
|
+
maxLength: 640,
|
|
6038
|
+
maxGraphemes: 64,
|
|
6039
|
+
},
|
|
6040
|
+
description: "Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching.",
|
|
6041
|
+
},
|
|
5875
6042
|
limit: {
|
|
5876
6043
|
type: 'integer',
|
|
5877
6044
|
minimum: 1,
|
|
@@ -5915,6 +6082,39 @@ exports.schemaDict = {
|
|
|
5915
6082
|
},
|
|
5916
6083
|
},
|
|
5917
6084
|
},
|
|
6085
|
+
AppBskyFeedSendInteractions: {
|
|
6086
|
+
lexicon: 1,
|
|
6087
|
+
id: 'app.bsky.feed.sendInteractions',
|
|
6088
|
+
defs: {
|
|
6089
|
+
main: {
|
|
6090
|
+
type: 'procedure',
|
|
6091
|
+
description: 'Send information about interactions with feed items back to the feed generator that served them.',
|
|
6092
|
+
input: {
|
|
6093
|
+
encoding: 'application/json',
|
|
6094
|
+
schema: {
|
|
6095
|
+
type: 'object',
|
|
6096
|
+
required: ['interactions'],
|
|
6097
|
+
properties: {
|
|
6098
|
+
interactions: {
|
|
6099
|
+
type: 'array',
|
|
6100
|
+
items: {
|
|
6101
|
+
type: 'ref',
|
|
6102
|
+
ref: 'lex:app.bsky.feed.defs#interaction',
|
|
6103
|
+
},
|
|
6104
|
+
},
|
|
6105
|
+
},
|
|
6106
|
+
},
|
|
6107
|
+
},
|
|
6108
|
+
output: {
|
|
6109
|
+
encoding: 'application/json',
|
|
6110
|
+
schema: {
|
|
6111
|
+
type: 'object',
|
|
6112
|
+
properties: {},
|
|
6113
|
+
},
|
|
6114
|
+
},
|
|
6115
|
+
},
|
|
6116
|
+
},
|
|
6117
|
+
},
|
|
5918
6118
|
AppBskyFeedThreadgate: {
|
|
5919
6119
|
lexicon: 1,
|
|
5920
6120
|
id: 'app.bsky.feed.threadgate',
|
|
@@ -7419,6 +7619,54 @@ exports.schemaDict = {
|
|
|
7419
7619
|
},
|
|
7420
7620
|
},
|
|
7421
7621
|
},
|
|
7622
|
+
AppBskyUnspeccedGetSuggestionsSkeleton: {
|
|
7623
|
+
lexicon: 1,
|
|
7624
|
+
id: 'app.bsky.unspecced.getSuggestionsSkeleton',
|
|
7625
|
+
defs: {
|
|
7626
|
+
main: {
|
|
7627
|
+
type: 'query',
|
|
7628
|
+
description: 'Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions',
|
|
7629
|
+
parameters: {
|
|
7630
|
+
type: 'params',
|
|
7631
|
+
properties: {
|
|
7632
|
+
viewer: {
|
|
7633
|
+
type: 'string',
|
|
7634
|
+
format: 'did',
|
|
7635
|
+
description: 'DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.',
|
|
7636
|
+
},
|
|
7637
|
+
limit: {
|
|
7638
|
+
type: 'integer',
|
|
7639
|
+
minimum: 1,
|
|
7640
|
+
maximum: 100,
|
|
7641
|
+
default: 50,
|
|
7642
|
+
},
|
|
7643
|
+
cursor: {
|
|
7644
|
+
type: 'string',
|
|
7645
|
+
},
|
|
7646
|
+
},
|
|
7647
|
+
},
|
|
7648
|
+
output: {
|
|
7649
|
+
encoding: 'application/json',
|
|
7650
|
+
schema: {
|
|
7651
|
+
type: 'object',
|
|
7652
|
+
required: ['actors'],
|
|
7653
|
+
properties: {
|
|
7654
|
+
cursor: {
|
|
7655
|
+
type: 'string',
|
|
7656
|
+
},
|
|
7657
|
+
actors: {
|
|
7658
|
+
type: 'array',
|
|
7659
|
+
items: {
|
|
7660
|
+
type: 'ref',
|
|
7661
|
+
ref: 'lex:app.bsky.unspecced.defs#skeletonSearchActor',
|
|
7662
|
+
},
|
|
7663
|
+
},
|
|
7664
|
+
},
|
|
7665
|
+
},
|
|
7666
|
+
},
|
|
7667
|
+
},
|
|
7668
|
+
},
|
|
7669
|
+
},
|
|
7422
7670
|
AppBskyUnspeccedGetTaggedSuggestions: {
|
|
7423
7671
|
lexicon: 1,
|
|
7424
7672
|
id: 'app.bsky.unspecced.getTaggedSuggestions',
|
|
@@ -7481,6 +7729,11 @@ exports.schemaDict = {
|
|
|
7481
7729
|
type: 'string',
|
|
7482
7730
|
description: 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax.',
|
|
7483
7731
|
},
|
|
7732
|
+
viewer: {
|
|
7733
|
+
type: 'string',
|
|
7734
|
+
format: 'did',
|
|
7735
|
+
description: 'DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.',
|
|
7736
|
+
},
|
|
7484
7737
|
typeahead: {
|
|
7485
7738
|
type: 'boolean',
|
|
7486
7739
|
description: "If true, acts as fast/simple 'typeahead' query.",
|
|
@@ -7543,6 +7796,58 @@ exports.schemaDict = {
|
|
|
7543
7796
|
type: 'string',
|
|
7544
7797
|
description: 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
|
|
7545
7798
|
},
|
|
7799
|
+
sort: {
|
|
7800
|
+
type: 'string',
|
|
7801
|
+
knownValues: ['top', 'latest'],
|
|
7802
|
+
default: 'latest',
|
|
7803
|
+
description: 'Specifies the ranking order of results.',
|
|
7804
|
+
},
|
|
7805
|
+
since: {
|
|
7806
|
+
type: 'string',
|
|
7807
|
+
description: "Filter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD).",
|
|
7808
|
+
},
|
|
7809
|
+
until: {
|
|
7810
|
+
type: 'string',
|
|
7811
|
+
description: "Filter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD).",
|
|
7812
|
+
},
|
|
7813
|
+
mentions: {
|
|
7814
|
+
type: 'string',
|
|
7815
|
+
format: 'at-identifier',
|
|
7816
|
+
description: 'Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.',
|
|
7817
|
+
},
|
|
7818
|
+
author: {
|
|
7819
|
+
type: 'string',
|
|
7820
|
+
format: 'at-identifier',
|
|
7821
|
+
description: 'Filter to posts by the given account. Handles are resolved to DID before query-time.',
|
|
7822
|
+
},
|
|
7823
|
+
lang: {
|
|
7824
|
+
type: 'string',
|
|
7825
|
+
format: 'language',
|
|
7826
|
+
description: 'Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.',
|
|
7827
|
+
},
|
|
7828
|
+
domain: {
|
|
7829
|
+
type: 'string',
|
|
7830
|
+
description: 'Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.',
|
|
7831
|
+
},
|
|
7832
|
+
url: {
|
|
7833
|
+
type: 'string',
|
|
7834
|
+
format: 'uri',
|
|
7835
|
+
description: 'Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.',
|
|
7836
|
+
},
|
|
7837
|
+
tag: {
|
|
7838
|
+
type: 'array',
|
|
7839
|
+
items: {
|
|
7840
|
+
type: 'string',
|
|
7841
|
+
maxLength: 640,
|
|
7842
|
+
maxGraphemes: 64,
|
|
7843
|
+
},
|
|
7844
|
+
description: "Filter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching.",
|
|
7845
|
+
},
|
|
7846
|
+
viewer: {
|
|
7847
|
+
type: 'string',
|
|
7848
|
+
format: 'did',
|
|
7849
|
+
description: "DID of the account making the request (not included for public/unauthenticated queries). Used for 'from:me' queries.",
|
|
7850
|
+
},
|
|
7546
7851
|
limit: {
|
|
7547
7852
|
type: 'integer',
|
|
7548
7853
|
minimum: 1,
|
|
@@ -7701,6 +8006,7 @@ exports.ids = {
|
|
|
7701
8006
|
AppBskyFeedPost: 'app.bsky.feed.post',
|
|
7702
8007
|
AppBskyFeedRepost: 'app.bsky.feed.repost',
|
|
7703
8008
|
AppBskyFeedSearchPosts: 'app.bsky.feed.searchPosts',
|
|
8009
|
+
AppBskyFeedSendInteractions: 'app.bsky.feed.sendInteractions',
|
|
7704
8010
|
AppBskyFeedThreadgate: 'app.bsky.feed.threadgate',
|
|
7705
8011
|
AppBskyGraphBlock: 'app.bsky.graph.block',
|
|
7706
8012
|
AppBskyGraphDefs: 'app.bsky.graph.defs',
|
|
@@ -7732,6 +8038,7 @@ exports.ids = {
|
|
|
7732
8038
|
AppBskyRichtextFacet: 'app.bsky.richtext.facet',
|
|
7733
8039
|
AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
|
|
7734
8040
|
AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
|
|
8041
|
+
AppBskyUnspeccedGetSuggestionsSkeleton: 'app.bsky.unspecced.getSuggestionsSkeleton',
|
|
7735
8042
|
AppBskyUnspeccedGetTaggedSuggestions: 'app.bsky.unspecced.getTaggedSuggestions',
|
|
7736
8043
|
AppBskyUnspeccedSearchActorsSkeleton: 'app.bsky.unspecced.searchActorsSkeleton',
|
|
7737
8044
|
AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton',
|