@atproto/api 0.12.2 → 0.12.4
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/client/index.d.ts +20 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +35 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +305 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +322 -1
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/record.d.ts +3 -0
- package/dist/client/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/record.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts +38 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js +35 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/generator.d.ts +2 -0
- package/dist/client/types/app/bsky/feed/generator.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/generator.js.map +1 -1
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts +18 -0
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/searchPosts.js.map +1 -1
- package/dist/client/types/app/bsky/feed/sendInteractions.d.ts +26 -0
- package/dist/client/types/app/bsky/feed/sendInteractions.d.ts.map +1 -0
- package/dist/client/types/app/bsky/feed/sendInteractions.js +14 -0
- package/dist/client/types/app/bsky/feed/sendInteractions.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts +27 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.js +14 -0
- package/dist/client/types/app/bsky/unspecced/getSuggestionsSkeleton.js.map +1 -0
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +2 -0
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +20 -0
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.js.map +1 -1
- package/dist/client/types/com/atproto/server/createSession.d.ts +5 -0
- package/dist/client/types/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/createSession.js +9 -1
- package/dist/client/types/com/atproto/server/createSession.js.map +1 -1
- package/dist/client/types/com/atproto/server/getSession.d.ts +1 -0
- package/dist/client/types/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/getSession.js.map +1 -1
- package/dist/client/types/com/atproto/server/updateEmail.d.ts +1 -0
- package/dist/client/types/com/atproto/server/updateEmail.d.ts.map +1 -1
- package/dist/client/types/com/atproto/server/updateEmail.js.map +1 -1
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +1 -1
- package/dist/client/types/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/mocker.d.ts +21 -21
- package/dist/mocker.d.ts.map +1 -1
- package/dist/moderation/ui.d.ts.map +1 -1
- package/dist/moderation/ui.js.map +1 -1
- package/dist/moderation/util.js.map +1 -1
- package/dist/rich-text/rich-text.d.ts.map +1 -1
- package/dist/rich-text/rich-text.js.map +1 -1
- package/jest.setup.ts +1 -1
- package/package.json +2 -1
- package/scripts/code/labels.mjs +1 -1
- package/src/client/index.ts +45 -0
- package/src/client/lexicons.ts +352 -1
- package/src/client/types/app/bsky/embed/record.ts +3 -0
- package/src/client/types/app/bsky/feed/defs.ts +63 -0
- package/src/client/types/app/bsky/feed/generator.ts +2 -0
- package/src/client/types/app/bsky/feed/searchPosts.ts +18 -0
- package/src/client/types/app/bsky/feed/sendInteractions.ts +38 -0
- package/src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +40 -0
- package/src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts +2 -0
- package/src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts +20 -0
- package/src/client/types/com/atproto/server/createSession.ts +10 -0
- package/src/client/types/com/atproto/server/getSession.ts +1 -0
- package/src/client/types/com/atproto/server/updateEmail.ts +1 -0
- package/src/client/types/com/atproto/sync/getRecord.ts +1 -1
- package/src/moderation/ui.ts +1 -1
- package/src/moderation/util.ts +2 -2
- package/src/rich-text/rich-text.ts +4 -1
- package/tests/util/moderation-behavior.ts +1 -1
package/dist/client/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: {
|
|
@@ -2131,6 +2133,9 @@ exports.schemaDict = {
|
|
|
2131
2133
|
password: {
|
|
2132
2134
|
type: 'string',
|
|
2133
2135
|
},
|
|
2136
|
+
authFactorToken: {
|
|
2137
|
+
type: 'string',
|
|
2138
|
+
},
|
|
2134
2139
|
},
|
|
2135
2140
|
},
|
|
2136
2141
|
},
|
|
@@ -2163,6 +2168,9 @@ exports.schemaDict = {
|
|
|
2163
2168
|
emailConfirmed: {
|
|
2164
2169
|
type: 'boolean',
|
|
2165
2170
|
},
|
|
2171
|
+
emailAuthFactor: {
|
|
2172
|
+
type: 'boolean',
|
|
2173
|
+
},
|
|
2166
2174
|
},
|
|
2167
2175
|
},
|
|
2168
2176
|
},
|
|
@@ -2170,6 +2178,9 @@ exports.schemaDict = {
|
|
|
2170
2178
|
{
|
|
2171
2179
|
name: 'AccountTakedown',
|
|
2172
2180
|
},
|
|
2181
|
+
{
|
|
2182
|
+
name: 'AuthFactorTokenRequired',
|
|
2183
|
+
},
|
|
2173
2184
|
],
|
|
2174
2185
|
},
|
|
2175
2186
|
},
|
|
@@ -2355,9 +2366,11 @@ exports.schemaDict = {
|
|
|
2355
2366
|
properties: {
|
|
2356
2367
|
privacyPolicy: {
|
|
2357
2368
|
type: 'string',
|
|
2369
|
+
format: 'uri',
|
|
2358
2370
|
},
|
|
2359
2371
|
termsOfService: {
|
|
2360
2372
|
type: 'string',
|
|
2373
|
+
format: 'uri',
|
|
2361
2374
|
},
|
|
2362
2375
|
},
|
|
2363
2376
|
},
|
|
@@ -2476,6 +2489,9 @@ exports.schemaDict = {
|
|
|
2476
2489
|
emailConfirmed: {
|
|
2477
2490
|
type: 'boolean',
|
|
2478
2491
|
},
|
|
2492
|
+
emailAuthFactor: {
|
|
2493
|
+
type: 'boolean',
|
|
2494
|
+
},
|
|
2479
2495
|
didDoc: {
|
|
2480
2496
|
type: 'unknown',
|
|
2481
2497
|
},
|
|
@@ -2741,6 +2757,9 @@ exports.schemaDict = {
|
|
|
2741
2757
|
email: {
|
|
2742
2758
|
type: 'string',
|
|
2743
2759
|
},
|
|
2760
|
+
emailAuthFactor: {
|
|
2761
|
+
type: 'boolean',
|
|
2762
|
+
},
|
|
2744
2763
|
token: {
|
|
2745
2764
|
type: 'string',
|
|
2746
2765
|
description: "Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed.",
|
|
@@ -2954,7 +2973,7 @@ exports.schemaDict = {
|
|
|
2954
2973
|
commit: {
|
|
2955
2974
|
type: 'string',
|
|
2956
2975
|
format: 'cid',
|
|
2957
|
-
description: '
|
|
2976
|
+
description: 'DEPRECATED: referenced a repo commit by CID, and retrieved record as of that commit',
|
|
2958
2977
|
},
|
|
2959
2978
|
},
|
|
2960
2979
|
},
|
|
@@ -3497,6 +3516,7 @@ exports.schemaDict = {
|
|
|
3497
3516
|
},
|
|
3498
3517
|
avatar: {
|
|
3499
3518
|
type: 'string',
|
|
3519
|
+
format: 'uri',
|
|
3500
3520
|
},
|
|
3501
3521
|
associated: {
|
|
3502
3522
|
type: 'ref',
|
|
@@ -3539,6 +3559,7 @@ exports.schemaDict = {
|
|
|
3539
3559
|
},
|
|
3540
3560
|
avatar: {
|
|
3541
3561
|
type: 'string',
|
|
3562
|
+
format: 'uri',
|
|
3542
3563
|
},
|
|
3543
3564
|
associated: {
|
|
3544
3565
|
type: 'ref',
|
|
@@ -3585,9 +3606,11 @@ exports.schemaDict = {
|
|
|
3585
3606
|
},
|
|
3586
3607
|
avatar: {
|
|
3587
3608
|
type: 'string',
|
|
3609
|
+
format: 'uri',
|
|
3588
3610
|
},
|
|
3589
3611
|
banner: {
|
|
3590
3612
|
type: 'string',
|
|
3613
|
+
format: 'uri',
|
|
3591
3614
|
},
|
|
3592
3615
|
followersCount: {
|
|
3593
3616
|
type: 'integer',
|
|
@@ -4247,6 +4270,7 @@ exports.schemaDict = {
|
|
|
4247
4270
|
},
|
|
4248
4271
|
thumb: {
|
|
4249
4272
|
type: 'string',
|
|
4273
|
+
format: 'uri',
|
|
4250
4274
|
},
|
|
4251
4275
|
},
|
|
4252
4276
|
},
|
|
@@ -4325,10 +4349,12 @@ exports.schemaDict = {
|
|
|
4325
4349
|
properties: {
|
|
4326
4350
|
thumb: {
|
|
4327
4351
|
type: 'string',
|
|
4352
|
+
format: 'uri',
|
|
4328
4353
|
description: 'Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.',
|
|
4329
4354
|
},
|
|
4330
4355
|
fullsize: {
|
|
4331
4356
|
type: 'string',
|
|
4357
|
+
format: 'uri',
|
|
4332
4358
|
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
4359
|
},
|
|
4334
4360
|
alt: {
|
|
@@ -4402,6 +4428,15 @@ exports.schemaDict = {
|
|
|
4402
4428
|
ref: 'lex:com.atproto.label.defs#label',
|
|
4403
4429
|
},
|
|
4404
4430
|
},
|
|
4431
|
+
replyCount: {
|
|
4432
|
+
type: 'integer',
|
|
4433
|
+
},
|
|
4434
|
+
repostCount: {
|
|
4435
|
+
type: 'integer',
|
|
4436
|
+
},
|
|
4437
|
+
likeCount: {
|
|
4438
|
+
type: 'integer',
|
|
4439
|
+
},
|
|
4405
4440
|
embeds: {
|
|
4406
4441
|
type: 'array',
|
|
4407
4442
|
items: {
|
|
@@ -4587,6 +4622,11 @@ exports.schemaDict = {
|
|
|
4587
4622
|
type: 'union',
|
|
4588
4623
|
refs: ['lex:app.bsky.feed.defs#reasonRepost'],
|
|
4589
4624
|
},
|
|
4625
|
+
feedContext: {
|
|
4626
|
+
type: 'string',
|
|
4627
|
+
description: 'Context provided by feed generator that may be passed back alongside interactions.',
|
|
4628
|
+
maxLength: 2000,
|
|
4629
|
+
},
|
|
4590
4630
|
},
|
|
4591
4631
|
},
|
|
4592
4632
|
replyRef: {
|
|
@@ -4737,11 +4777,15 @@ exports.schemaDict = {
|
|
|
4737
4777
|
},
|
|
4738
4778
|
avatar: {
|
|
4739
4779
|
type: 'string',
|
|
4780
|
+
format: 'uri',
|
|
4740
4781
|
},
|
|
4741
4782
|
likeCount: {
|
|
4742
4783
|
type: 'integer',
|
|
4743
4784
|
minimum: 0,
|
|
4744
4785
|
},
|
|
4786
|
+
acceptsInteractions: {
|
|
4787
|
+
type: 'boolean',
|
|
4788
|
+
},
|
|
4745
4789
|
labels: {
|
|
4746
4790
|
type: 'array',
|
|
4747
4791
|
items: {
|
|
@@ -4780,6 +4824,11 @@ exports.schemaDict = {
|
|
|
4780
4824
|
type: 'union',
|
|
4781
4825
|
refs: ['lex:app.bsky.feed.defs#skeletonReasonRepost'],
|
|
4782
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
|
+
},
|
|
4783
4832
|
},
|
|
4784
4833
|
},
|
|
4785
4834
|
skeletonReasonRepost: {
|
|
@@ -4815,6 +4864,85 @@ exports.schemaDict = {
|
|
|
4815
4864
|
},
|
|
4816
4865
|
},
|
|
4817
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
|
+
},
|
|
4818
4946
|
},
|
|
4819
4947
|
},
|
|
4820
4948
|
AppBskyFeedDescribeFeedGenerator: {
|
|
@@ -4910,6 +5038,10 @@ exports.schemaDict = {
|
|
|
4910
5038
|
accept: ['image/png', 'image/jpeg'],
|
|
4911
5039
|
maxSize: 1000000,
|
|
4912
5040
|
},
|
|
5041
|
+
acceptsInteractions: {
|
|
5042
|
+
type: 'boolean',
|
|
5043
|
+
description: 'Declaration that a feed accepts feedback interactions from a client through app.bsky.feed.sendInteractions',
|
|
5044
|
+
},
|
|
4913
5045
|
labels: {
|
|
4914
5046
|
type: 'union',
|
|
4915
5047
|
description: 'Self-label values',
|
|
@@ -5860,6 +5992,53 @@ exports.schemaDict = {
|
|
|
5860
5992
|
type: 'string',
|
|
5861
5993
|
description: 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
|
|
5862
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
|
+
},
|
|
5863
6042
|
limit: {
|
|
5864
6043
|
type: 'integer',
|
|
5865
6044
|
minimum: 1,
|
|
@@ -5903,6 +6082,39 @@ exports.schemaDict = {
|
|
|
5903
6082
|
},
|
|
5904
6083
|
},
|
|
5905
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
|
+
},
|
|
5906
6118
|
AppBskyFeedThreadgate: {
|
|
5907
6119
|
lexicon: 1,
|
|
5908
6120
|
id: 'app.bsky.feed.threadgate',
|
|
@@ -6015,6 +6227,7 @@ exports.schemaDict = {
|
|
|
6015
6227
|
},
|
|
6016
6228
|
avatar: {
|
|
6017
6229
|
type: 'string',
|
|
6230
|
+
format: 'uri',
|
|
6018
6231
|
},
|
|
6019
6232
|
labels: {
|
|
6020
6233
|
type: 'array',
|
|
@@ -6072,6 +6285,7 @@ exports.schemaDict = {
|
|
|
6072
6285
|
},
|
|
6073
6286
|
avatar: {
|
|
6074
6287
|
type: 'string',
|
|
6288
|
+
format: 'uri',
|
|
6075
6289
|
},
|
|
6076
6290
|
labels: {
|
|
6077
6291
|
type: 'array',
|
|
@@ -7405,6 +7619,54 @@ exports.schemaDict = {
|
|
|
7405
7619
|
},
|
|
7406
7620
|
},
|
|
7407
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
|
+
},
|
|
7408
7670
|
AppBskyUnspeccedGetTaggedSuggestions: {
|
|
7409
7671
|
lexicon: 1,
|
|
7410
7672
|
id: 'app.bsky.unspecced.getTaggedSuggestions',
|
|
@@ -7467,6 +7729,11 @@ exports.schemaDict = {
|
|
|
7467
7729
|
type: 'string',
|
|
7468
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.',
|
|
7469
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
|
+
},
|
|
7470
7737
|
typeahead: {
|
|
7471
7738
|
type: 'boolean',
|
|
7472
7739
|
description: "If true, acts as fast/simple 'typeahead' query.",
|
|
@@ -7529,6 +7796,58 @@ exports.schemaDict = {
|
|
|
7529
7796
|
type: 'string',
|
|
7530
7797
|
description: 'Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.',
|
|
7531
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
|
+
},
|
|
7532
7851
|
limit: {
|
|
7533
7852
|
type: 'integer',
|
|
7534
7853
|
minimum: 1,
|
|
@@ -9037,6 +9356,7 @@ exports.ids = {
|
|
|
9037
9356
|
AppBskyFeedPost: 'app.bsky.feed.post',
|
|
9038
9357
|
AppBskyFeedRepost: 'app.bsky.feed.repost',
|
|
9039
9358
|
AppBskyFeedSearchPosts: 'app.bsky.feed.searchPosts',
|
|
9359
|
+
AppBskyFeedSendInteractions: 'app.bsky.feed.sendInteractions',
|
|
9040
9360
|
AppBskyFeedThreadgate: 'app.bsky.feed.threadgate',
|
|
9041
9361
|
AppBskyGraphBlock: 'app.bsky.graph.block',
|
|
9042
9362
|
AppBskyGraphDefs: 'app.bsky.graph.defs',
|
|
@@ -9068,6 +9388,7 @@ exports.ids = {
|
|
|
9068
9388
|
AppBskyRichtextFacet: 'app.bsky.richtext.facet',
|
|
9069
9389
|
AppBskyUnspeccedDefs: 'app.bsky.unspecced.defs',
|
|
9070
9390
|
AppBskyUnspeccedGetPopularFeedGenerators: 'app.bsky.unspecced.getPopularFeedGenerators',
|
|
9391
|
+
AppBskyUnspeccedGetSuggestionsSkeleton: 'app.bsky.unspecced.getSuggestionsSkeleton',
|
|
9071
9392
|
AppBskyUnspeccedGetTaggedSuggestions: 'app.bsky.unspecced.getTaggedSuggestions',
|
|
9072
9393
|
AppBskyUnspeccedSearchActorsSkeleton: 'app.bsky.unspecced.searchActorsSkeleton',
|
|
9073
9394
|
AppBskyUnspeccedSearchPostsSkeleton: 'app.bsky.unspecced.searchPostsSkeleton',
|