@atproto/bsky 0.0.43 → 0.0.45
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/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/getAuthorFeed.d.ts +1 -0
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts.map +1 -1
- package/dist/api/app/bsky/feed/getAuthorFeed.js +84 -4
- package/dist/api/app/bsky/feed/getAuthorFeed.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/api/app/bsky/notification/registerPush.js.map +1 -1
- package/dist/auth-verifier.d.ts.map +1 -1
- package/dist/auth-verifier.js.map +1 -1
- package/dist/cache/read-through.d.ts.map +1 -1
- package/dist/cache/read-through.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/db/pagination.js.map +1 -1
- package/dist/data-plane/server/index.d.ts.map +1 -1
- package/dist/data-plane/server/index.js.map +1 -1
- package/dist/data-plane/server/indexing/index.d.ts.map +1 -1
- package/dist/data-plane/server/indexing/index.js.map +1 -1
- package/dist/data-plane/server/routes/records.d.ts.map +1 -1
- package/dist/data-plane/server/subscription/index.d.ts.map +1 -1
- package/dist/data-plane/server/subscription/index.js.map +1 -1
- package/dist/data-plane/server/subscription/util.d.ts.map +1 -1
- package/dist/data-plane/server/subscription/util.js.map +1 -1
- package/dist/data-plane/server/util.d.ts.map +1 -1
- package/dist/hydration/actor.d.ts.map +1 -1
- package/dist/hydration/actor.js.map +1 -1
- package/dist/hydration/graph.d.ts.map +1 -1
- package/dist/hydration/graph.js.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/image/server.d.ts.map +1 -1
- package/dist/image/server.js.map +1 -1
- package/dist/lexicon/index.d.ts +16 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +19 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +244 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +258 -1
- 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/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/sync/getRecord.d.ts +1 -1
- package/dist/lexicon/types/com/atproto/sync/getRecord.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 +5 -5
- 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/getAuthorFeed.ts +80 -5
- package/src/api/app/bsky/feed/searchPosts.ts +10 -0
- package/src/api/app/bsky/notification/registerPush.ts +2 -2
- package/src/auth-verifier.ts +4 -1
- package/src/cache/read-through.ts +13 -7
- package/src/data-plane/server/db/pagination.ts +4 -1
- package/src/data-plane/server/index.ts +4 -1
- package/src/data-plane/server/indexing/index.ts +10 -7
- package/src/data-plane/server/subscription/index.ts +2 -3
- package/src/data-plane/server/subscription/util.ts +4 -1
- package/src/hydration/actor.ts +10 -7
- package/src/hydration/graph.ts +8 -5
- package/src/hydration/hydrator.ts +9 -1
- package/src/image/server.ts +4 -1
- package/src/lexicon/index.ts +26 -0
- package/src/lexicon/lexicons.ts +285 -1
- 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/searchActorsSkeleton.ts +2 -0
- package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +20 -0
- package/src/lexicon/types/com/atproto/sync/getRecord.ts +1 -1
- package/src/views/index.ts +27 -30
- package/tests/__snapshots__/feed-generation.test.ts.snap +15 -0
- package/tests/_util.ts +4 -4
- 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/author-feed.test.ts +41 -5
- package/tests/views/blocks.test.ts +11 -2
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -1033,6 +1033,8 @@ exports.schemaDict = {
|
|
|
1033
1033
|
},
|
|
1034
1034
|
reason: {
|
|
1035
1035
|
type: 'string',
|
|
1036
|
+
maxGraphemes: 2000,
|
|
1037
|
+
maxLength: 20000,
|
|
1036
1038
|
description: 'Additional context about the content and violation.',
|
|
1037
1039
|
},
|
|
1038
1040
|
subject: {
|
|
@@ -2355,9 +2357,11 @@ exports.schemaDict = {
|
|
|
2355
2357
|
properties: {
|
|
2356
2358
|
privacyPolicy: {
|
|
2357
2359
|
type: 'string',
|
|
2360
|
+
format: 'uri',
|
|
2358
2361
|
},
|
|
2359
2362
|
termsOfService: {
|
|
2360
2363
|
type: 'string',
|
|
2364
|
+
format: 'uri',
|
|
2361
2365
|
},
|
|
2362
2366
|
},
|
|
2363
2367
|
},
|
|
@@ -2954,7 +2958,7 @@ exports.schemaDict = {
|
|
|
2954
2958
|
commit: {
|
|
2955
2959
|
type: 'string',
|
|
2956
2960
|
format: 'cid',
|
|
2957
|
-
description: '
|
|
2961
|
+
description: 'DEPRECATED: referenced a repo commit by CID, and retrieved record as of that commit',
|
|
2958
2962
|
},
|
|
2959
2963
|
},
|
|
2960
2964
|
},
|
|
@@ -3497,6 +3501,7 @@ exports.schemaDict = {
|
|
|
3497
3501
|
},
|
|
3498
3502
|
avatar: {
|
|
3499
3503
|
type: 'string',
|
|
3504
|
+
format: 'uri',
|
|
3500
3505
|
},
|
|
3501
3506
|
associated: {
|
|
3502
3507
|
type: 'ref',
|
|
@@ -3539,6 +3544,7 @@ exports.schemaDict = {
|
|
|
3539
3544
|
},
|
|
3540
3545
|
avatar: {
|
|
3541
3546
|
type: 'string',
|
|
3547
|
+
format: 'uri',
|
|
3542
3548
|
},
|
|
3543
3549
|
associated: {
|
|
3544
3550
|
type: 'ref',
|
|
@@ -3585,9 +3591,11 @@ exports.schemaDict = {
|
|
|
3585
3591
|
},
|
|
3586
3592
|
avatar: {
|
|
3587
3593
|
type: 'string',
|
|
3594
|
+
format: 'uri',
|
|
3588
3595
|
},
|
|
3589
3596
|
banner: {
|
|
3590
3597
|
type: 'string',
|
|
3598
|
+
format: 'uri',
|
|
3591
3599
|
},
|
|
3592
3600
|
followersCount: {
|
|
3593
3601
|
type: 'integer',
|
|
@@ -4247,6 +4255,7 @@ exports.schemaDict = {
|
|
|
4247
4255
|
},
|
|
4248
4256
|
thumb: {
|
|
4249
4257
|
type: 'string',
|
|
4258
|
+
format: 'uri',
|
|
4250
4259
|
},
|
|
4251
4260
|
},
|
|
4252
4261
|
},
|
|
@@ -4325,10 +4334,12 @@ exports.schemaDict = {
|
|
|
4325
4334
|
properties: {
|
|
4326
4335
|
thumb: {
|
|
4327
4336
|
type: 'string',
|
|
4337
|
+
format: 'uri',
|
|
4328
4338
|
description: 'Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.',
|
|
4329
4339
|
},
|
|
4330
4340
|
fullsize: {
|
|
4331
4341
|
type: 'string',
|
|
4342
|
+
format: 'uri',
|
|
4332
4343
|
description: 'Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View.',
|
|
4333
4344
|
},
|
|
4334
4345
|
alt: {
|
|
@@ -4402,6 +4413,15 @@ exports.schemaDict = {
|
|
|
4402
4413
|
ref: 'lex:com.atproto.label.defs#label',
|
|
4403
4414
|
},
|
|
4404
4415
|
},
|
|
4416
|
+
replyCount: {
|
|
4417
|
+
type: 'integer',
|
|
4418
|
+
},
|
|
4419
|
+
repostCount: {
|
|
4420
|
+
type: 'integer',
|
|
4421
|
+
},
|
|
4422
|
+
likeCount: {
|
|
4423
|
+
type: 'integer',
|
|
4424
|
+
},
|
|
4405
4425
|
embeds: {
|
|
4406
4426
|
type: 'array',
|
|
4407
4427
|
items: {
|
|
@@ -4587,6 +4607,11 @@ exports.schemaDict = {
|
|
|
4587
4607
|
type: 'union',
|
|
4588
4608
|
refs: ['lex:app.bsky.feed.defs#reasonRepost'],
|
|
4589
4609
|
},
|
|
4610
|
+
feedContext: {
|
|
4611
|
+
type: 'string',
|
|
4612
|
+
description: 'Context provided by feed generator that may be passed back alongside interactions.',
|
|
4613
|
+
maxLength: 2000,
|
|
4614
|
+
},
|
|
4590
4615
|
},
|
|
4591
4616
|
},
|
|
4592
4617
|
replyRef: {
|
|
@@ -4737,11 +4762,15 @@ exports.schemaDict = {
|
|
|
4737
4762
|
},
|
|
4738
4763
|
avatar: {
|
|
4739
4764
|
type: 'string',
|
|
4765
|
+
format: 'uri',
|
|
4740
4766
|
},
|
|
4741
4767
|
likeCount: {
|
|
4742
4768
|
type: 'integer',
|
|
4743
4769
|
minimum: 0,
|
|
4744
4770
|
},
|
|
4771
|
+
acceptsInteractions: {
|
|
4772
|
+
type: 'boolean',
|
|
4773
|
+
},
|
|
4745
4774
|
labels: {
|
|
4746
4775
|
type: 'array',
|
|
4747
4776
|
items: {
|
|
@@ -4780,6 +4809,11 @@ exports.schemaDict = {
|
|
|
4780
4809
|
type: 'union',
|
|
4781
4810
|
refs: ['lex:app.bsky.feed.defs#skeletonReasonRepost'],
|
|
4782
4811
|
},
|
|
4812
|
+
feedContext: {
|
|
4813
|
+
type: 'string',
|
|
4814
|
+
description: 'Context that will be passed through to client and may be passed to feed generator back alongside interactions.',
|
|
4815
|
+
maxLength: 2000,
|
|
4816
|
+
},
|
|
4783
4817
|
},
|
|
4784
4818
|
},
|
|
4785
4819
|
skeletonReasonRepost: {
|
|
@@ -4815,6 +4849,85 @@ exports.schemaDict = {
|
|
|
4815
4849
|
},
|
|
4816
4850
|
},
|
|
4817
4851
|
},
|
|
4852
|
+
interaction: {
|
|
4853
|
+
type: 'object',
|
|
4854
|
+
properties: {
|
|
4855
|
+
item: {
|
|
4856
|
+
type: 'string',
|
|
4857
|
+
format: 'at-uri',
|
|
4858
|
+
},
|
|
4859
|
+
event: {
|
|
4860
|
+
type: 'string',
|
|
4861
|
+
knownValues: [
|
|
4862
|
+
'app.bsky.feed.defs#requestLess',
|
|
4863
|
+
'app.bsky.feed.defs#requestMore',
|
|
4864
|
+
'app.bsky.feed.defs#clickthroughItem',
|
|
4865
|
+
'app.bsky.feed.defs#clickthroughAuthor',
|
|
4866
|
+
'app.bsky.feed.defs#clickthroughReposter',
|
|
4867
|
+
'app.bsky.feed.defs#clickthroughEmbed',
|
|
4868
|
+
'app.bsky.feed.defs#interactionSeen',
|
|
4869
|
+
'app.bsky.feed.defs#interactionLike',
|
|
4870
|
+
'app.bsky.feed.defs#interactionRepost',
|
|
4871
|
+
'app.bsky.feed.defs#interactionReply',
|
|
4872
|
+
'app.bsky.feed.defs#interactionQuote',
|
|
4873
|
+
'app.bsky.feed.defs#interactionShare',
|
|
4874
|
+
],
|
|
4875
|
+
},
|
|
4876
|
+
feedContext: {
|
|
4877
|
+
type: 'string',
|
|
4878
|
+
description: 'Context on a feed item that was orginally supplied by the feed generator on getFeedSkeleton.',
|
|
4879
|
+
maxLength: 2000,
|
|
4880
|
+
},
|
|
4881
|
+
},
|
|
4882
|
+
},
|
|
4883
|
+
requestLess: {
|
|
4884
|
+
type: 'token',
|
|
4885
|
+
description: 'Request that less content like the given feed item be shown in the feed',
|
|
4886
|
+
},
|
|
4887
|
+
requestMore: {
|
|
4888
|
+
type: 'token',
|
|
4889
|
+
description: 'Request that more content like the given feed item be shown in the feed',
|
|
4890
|
+
},
|
|
4891
|
+
clickthroughItem: {
|
|
4892
|
+
type: 'token',
|
|
4893
|
+
description: 'User clicked through to the feed item',
|
|
4894
|
+
},
|
|
4895
|
+
clickthroughAuthor: {
|
|
4896
|
+
type: 'token',
|
|
4897
|
+
description: 'User clicked through to the author of the feed item',
|
|
4898
|
+
},
|
|
4899
|
+
clickthroughReposter: {
|
|
4900
|
+
type: 'token',
|
|
4901
|
+
description: 'User clicked through to the reposter of the feed item',
|
|
4902
|
+
},
|
|
4903
|
+
clickthroughEmbed: {
|
|
4904
|
+
type: 'token',
|
|
4905
|
+
description: 'User clicked through to the embedded content of the feed item',
|
|
4906
|
+
},
|
|
4907
|
+
interactionSeen: {
|
|
4908
|
+
type: 'token',
|
|
4909
|
+
description: 'Feed item was seen by user',
|
|
4910
|
+
},
|
|
4911
|
+
interactionLike: {
|
|
4912
|
+
type: 'token',
|
|
4913
|
+
description: 'User liked the feed item',
|
|
4914
|
+
},
|
|
4915
|
+
interactionRepost: {
|
|
4916
|
+
type: 'token',
|
|
4917
|
+
description: 'User reposted the feed item',
|
|
4918
|
+
},
|
|
4919
|
+
interactionReply: {
|
|
4920
|
+
type: 'token',
|
|
4921
|
+
description: 'User replied to the feed item',
|
|
4922
|
+
},
|
|
4923
|
+
interactionQuote: {
|
|
4924
|
+
type: 'token',
|
|
4925
|
+
description: 'User quoted the feed item',
|
|
4926
|
+
},
|
|
4927
|
+
interactionShare: {
|
|
4928
|
+
type: 'token',
|
|
4929
|
+
description: 'User shared the feed item',
|
|
4930
|
+
},
|
|
4818
4931
|
},
|
|
4819
4932
|
},
|
|
4820
4933
|
AppBskyFeedDescribeFeedGenerator: {
|
|
@@ -4910,6 +5023,10 @@ exports.schemaDict = {
|
|
|
4910
5023
|
accept: ['image/png', 'image/jpeg'],
|
|
4911
5024
|
maxSize: 1000000,
|
|
4912
5025
|
},
|
|
5026
|
+
acceptsInteractions: {
|
|
5027
|
+
type: 'boolean',
|
|
5028
|
+
description: 'Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions',
|
|
5029
|
+
},
|
|
4913
5030
|
labels: {
|
|
4914
5031
|
type: 'union',
|
|
4915
5032
|
description: 'Self-label values',
|
|
@@ -5860,6 +5977,53 @@ exports.schemaDict = {
|
|
|
5860
5977
|
type: 'string',
|
|
5861
5978
|
description: 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
|
|
5862
5979
|
},
|
|
5980
|
+
sort: {
|
|
5981
|
+
type: 'string',
|
|
5982
|
+
knownValues: ['top', 'latest'],
|
|
5983
|
+
default: 'latest',
|
|
5984
|
+
description: 'Specifies the ranking order of results.',
|
|
5985
|
+
},
|
|
5986
|
+
since: {
|
|
5987
|
+
type: 'string',
|
|
5988
|
+
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).",
|
|
5989
|
+
},
|
|
5990
|
+
until: {
|
|
5991
|
+
type: 'string',
|
|
5992
|
+
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).",
|
|
5993
|
+
},
|
|
5994
|
+
mentions: {
|
|
5995
|
+
type: 'string',
|
|
5996
|
+
format: 'at-identifier',
|
|
5997
|
+
description: 'Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.',
|
|
5998
|
+
},
|
|
5999
|
+
author: {
|
|
6000
|
+
type: 'string',
|
|
6001
|
+
format: 'at-identifier',
|
|
6002
|
+
description: 'Filter to posts by the given account. Handles are resolved to DID before query-time.',
|
|
6003
|
+
},
|
|
6004
|
+
lang: {
|
|
6005
|
+
type: 'string',
|
|
6006
|
+
format: 'language',
|
|
6007
|
+
description: 'Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.',
|
|
6008
|
+
},
|
|
6009
|
+
domain: {
|
|
6010
|
+
type: 'string',
|
|
6011
|
+
description: 'Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.',
|
|
6012
|
+
},
|
|
6013
|
+
url: {
|
|
6014
|
+
type: 'string',
|
|
6015
|
+
format: 'uri',
|
|
6016
|
+
description: 'Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.',
|
|
6017
|
+
},
|
|
6018
|
+
tag: {
|
|
6019
|
+
type: 'array',
|
|
6020
|
+
items: {
|
|
6021
|
+
type: 'string',
|
|
6022
|
+
maxLength: 640,
|
|
6023
|
+
maxGraphemes: 64,
|
|
6024
|
+
},
|
|
6025
|
+
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.",
|
|
6026
|
+
},
|
|
5863
6027
|
limit: {
|
|
5864
6028
|
type: 'integer',
|
|
5865
6029
|
minimum: 1,
|
|
@@ -5903,6 +6067,39 @@ exports.schemaDict = {
|
|
|
5903
6067
|
},
|
|
5904
6068
|
},
|
|
5905
6069
|
},
|
|
6070
|
+
AppBskyFeedSendInteractions: {
|
|
6071
|
+
lexicon: 1,
|
|
6072
|
+
id: 'app.bsky.feed.sendInteractions',
|
|
6073
|
+
defs: {
|
|
6074
|
+
main: {
|
|
6075
|
+
type: 'procedure',
|
|
6076
|
+
description: 'Send information about interactions with feed items back to the feed generator that served them.',
|
|
6077
|
+
input: {
|
|
6078
|
+
encoding: 'application/json',
|
|
6079
|
+
schema: {
|
|
6080
|
+
type: 'object',
|
|
6081
|
+
required: ['interactions'],
|
|
6082
|
+
properties: {
|
|
6083
|
+
interactions: {
|
|
6084
|
+
type: 'array',
|
|
6085
|
+
items: {
|
|
6086
|
+
type: 'ref',
|
|
6087
|
+
ref: 'lex:app.bsky.feed.defs#interaction',
|
|
6088
|
+
},
|
|
6089
|
+
},
|
|
6090
|
+
},
|
|
6091
|
+
},
|
|
6092
|
+
},
|
|
6093
|
+
output: {
|
|
6094
|
+
encoding: 'application/json',
|
|
6095
|
+
schema: {
|
|
6096
|
+
type: 'object',
|
|
6097
|
+
properties: {},
|
|
6098
|
+
},
|
|
6099
|
+
},
|
|
6100
|
+
},
|
|
6101
|
+
},
|
|
6102
|
+
},
|
|
5906
6103
|
AppBskyFeedThreadgate: {
|
|
5907
6104
|
lexicon: 1,
|
|
5908
6105
|
id: 'app.bsky.feed.threadgate',
|
|
@@ -6015,6 +6212,7 @@ exports.schemaDict = {
|
|
|
6015
6212
|
},
|
|
6016
6213
|
avatar: {
|
|
6017
6214
|
type: 'string',
|
|
6215
|
+
format: 'uri',
|
|
6018
6216
|
},
|
|
6019
6217
|
labels: {
|
|
6020
6218
|
type: 'array',
|
|
@@ -6072,6 +6270,7 @@ exports.schemaDict = {
|
|
|
6072
6270
|
},
|
|
6073
6271
|
avatar: {
|
|
6074
6272
|
type: 'string',
|
|
6273
|
+
format: 'uri',
|
|
6075
6274
|
},
|
|
6076
6275
|
labels: {
|
|
6077
6276
|
type: 'array',
|
|
@@ -7467,6 +7666,11 @@ exports.schemaDict = {
|
|
|
7467
7666
|
type: 'string',
|
|
7468
7667
|
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.',
|
|
7469
7668
|
},
|
|
7669
|
+
viewer: {
|
|
7670
|
+
type: 'string',
|
|
7671
|
+
format: 'did',
|
|
7672
|
+
description: 'DID of the account making the request (not included for public/unauthenticated queries). Used to boost followed accounts in ranking.',
|
|
7673
|
+
},
|
|
7470
7674
|
typeahead: {
|
|
7471
7675
|
type: 'boolean',
|
|
7472
7676
|
description: "If true, acts as fast/simple 'typeahead' query.",
|
|
@@ -7529,6 +7733,58 @@ exports.schemaDict = {
|
|
|
7529
7733
|
type: 'string',
|
|
7530
7734
|
description: 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
|
|
7531
7735
|
},
|
|
7736
|
+
sort: {
|
|
7737
|
+
type: 'string',
|
|
7738
|
+
knownValues: ['top', 'latest'],
|
|
7739
|
+
default: 'latest',
|
|
7740
|
+
description: 'Specifies the ranking order of results.',
|
|
7741
|
+
},
|
|
7742
|
+
since: {
|
|
7743
|
+
type: 'string',
|
|
7744
|
+
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).",
|
|
7745
|
+
},
|
|
7746
|
+
until: {
|
|
7747
|
+
type: 'string',
|
|
7748
|
+
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).",
|
|
7749
|
+
},
|
|
7750
|
+
mentions: {
|
|
7751
|
+
type: 'string',
|
|
7752
|
+
format: 'at-identifier',
|
|
7753
|
+
description: 'Filter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.',
|
|
7754
|
+
},
|
|
7755
|
+
author: {
|
|
7756
|
+
type: 'string',
|
|
7757
|
+
format: 'at-identifier',
|
|
7758
|
+
description: 'Filter to posts by the given account. Handles are resolved to DID before query-time.',
|
|
7759
|
+
},
|
|
7760
|
+
lang: {
|
|
7761
|
+
type: 'string',
|
|
7762
|
+
format: 'language',
|
|
7763
|
+
description: 'Filter to posts in the given language. Expected to be based on post language field, though server may override language detection.',
|
|
7764
|
+
},
|
|
7765
|
+
domain: {
|
|
7766
|
+
type: 'string',
|
|
7767
|
+
description: 'Filter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.',
|
|
7768
|
+
},
|
|
7769
|
+
url: {
|
|
7770
|
+
type: 'string',
|
|
7771
|
+
format: 'uri',
|
|
7772
|
+
description: 'Filter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.',
|
|
7773
|
+
},
|
|
7774
|
+
tag: {
|
|
7775
|
+
type: 'array',
|
|
7776
|
+
items: {
|
|
7777
|
+
type: 'string',
|
|
7778
|
+
maxLength: 640,
|
|
7779
|
+
maxGraphemes: 64,
|
|
7780
|
+
},
|
|
7781
|
+
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.",
|
|
7782
|
+
},
|
|
7783
|
+
viewer: {
|
|
7784
|
+
type: 'string',
|
|
7785
|
+
format: 'did',
|
|
7786
|
+
description: "DID of the account making the request (not included for public/unauthenticated queries). Used for 'from:me' queries.",
|
|
7787
|
+
},
|
|
7532
7788
|
limit: {
|
|
7533
7789
|
type: 'integer',
|
|
7534
7790
|
minimum: 1,
|
|
@@ -7687,6 +7943,7 @@ exports.ids = {
|
|
|
7687
7943
|
AppBskyFeedPost: 'app.bsky.feed.post',
|
|
7688
7944
|
AppBskyFeedRepost: 'app.bsky.feed.repost',
|
|
7689
7945
|
AppBskyFeedSearchPosts: 'app.bsky.feed.searchPosts',
|
|
7946
|
+
AppBskyFeedSendInteractions: 'app.bsky.feed.sendInteractions',
|
|
7690
7947
|
AppBskyFeedThreadgate: 'app.bsky.feed.threadgate',
|
|
7691
7948
|
AppBskyGraphBlock: 'app.bsky.graph.block',
|
|
7692
7949
|
AppBskyGraphDefs: 'app.bsky.graph.defs',
|