@atproto/api 0.6.18 → 0.6.20
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 +18 -0
- package/dist/client/index.d.ts +22 -3
- package/dist/client/lexicons.d.ts +302 -14
- package/dist/client/types/app/bsky/actor/searchActors.d.ts +1 -0
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +1 -0
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts +26 -0
- package/dist/client/types/app/bsky/unspecced/defs.d.ts +13 -0
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +27 -0
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +26 -0
- package/dist/client/types/com/atproto/admin/searchRepos.d.ts +1 -0
- package/dist/client/types/com/atproto/server/confirmEmail.d.ts +30 -0
- package/dist/client/types/com/atproto/server/createSession.d.ts +1 -0
- package/dist/client/types/com/atproto/server/getSession.d.ts +1 -0
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.d.ts +13 -0
- package/dist/client/types/{app/bsky/unspecced/applyLabels.d.ts → com/atproto/server/requestEmailUpdate.d.ts} +4 -4
- package/dist/client/types/com/atproto/server/updateEmail.d.ts +27 -0
- package/dist/index.js +850 -336
- package/dist/index.js.map +3 -3
- package/dist/types.d.ts +1 -0
- package/package.json +7 -7
- package/src/agent.ts +4 -0
- package/src/client/index.ts +93 -13
- package/src/client/lexicons.ts +351 -23
- package/src/client/types/app/bsky/actor/searchActors.ts +3 -0
- package/src/client/types/app/bsky/actor/searchActorsTypeahead.ts +3 -0
- package/src/client/types/app/bsky/feed/searchPosts.ts +50 -0
- package/src/client/types/app/bsky/unspecced/defs.ts +41 -0
- package/src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts +52 -0
- package/src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts +50 -0
- package/src/client/types/com/atproto/admin/searchRepos.ts +2 -0
- package/src/client/types/com/atproto/server/confirmEmail.ts +61 -0
- package/src/client/types/com/atproto/server/createSession.ts +1 -0
- package/src/client/types/com/atproto/server/getSession.ts +1 -0
- package/src/client/types/com/atproto/server/requestEmailConfirmation.ts +28 -0
- package/src/client/types/{app/bsky/unspecced/applyLabels.ts → com/atproto/server/requestEmailUpdate.ts} +5 -4
- package/src/client/types/com/atproto/server/updateEmail.ts +55 -0
- package/src/rich-text/detection.ts +1 -1
- package/src/types.ts +1 -0
- package/tests/agent.test.ts +9 -0
- package/tests/rich-text-detection.test.ts +17 -17
package/dist/index.js
CHANGED
|
@@ -8905,6 +8905,7 @@ __export(src_exports2, {
|
|
|
8905
8905
|
AppBskyFeedLike: () => like_exports,
|
|
8906
8906
|
AppBskyFeedPost: () => post_exports,
|
|
8907
8907
|
AppBskyFeedRepost: () => repost_exports,
|
|
8908
|
+
AppBskyFeedSearchPosts: () => searchPosts_exports,
|
|
8908
8909
|
AppBskyFeedThreadgate: () => threadgate_exports,
|
|
8909
8910
|
AppBskyGraphBlock: () => block_exports,
|
|
8910
8911
|
AppBskyGraphDefs: () => defs_exports7,
|
|
@@ -8930,10 +8931,12 @@ __export(src_exports2, {
|
|
|
8930
8931
|
AppBskyNotificationRegisterPush: () => registerPush_exports,
|
|
8931
8932
|
AppBskyNotificationUpdateSeen: () => updateSeen_exports,
|
|
8932
8933
|
AppBskyRichtextFacet: () => facet_exports,
|
|
8933
|
-
|
|
8934
|
+
AppBskyUnspeccedDefs: () => defs_exports8,
|
|
8934
8935
|
AppBskyUnspeccedGetPopular: () => getPopular_exports,
|
|
8935
8936
|
AppBskyUnspeccedGetPopularFeedGenerators: () => getPopularFeedGenerators_exports,
|
|
8936
8937
|
AppBskyUnspeccedGetTimelineSkeleton: () => getTimelineSkeleton_exports,
|
|
8938
|
+
AppBskyUnspeccedSearchActorsSkeleton: () => searchActorsSkeleton_exports,
|
|
8939
|
+
AppBskyUnspeccedSearchPostsSkeleton: () => searchPostsSkeleton_exports,
|
|
8937
8940
|
AppNS: () => AppNS,
|
|
8938
8941
|
AtUri: () => AtUri,
|
|
8939
8942
|
AtpAgent: () => AtpAgent,
|
|
@@ -8980,6 +8983,7 @@ __export(src_exports2, {
|
|
|
8980
8983
|
ComAtprotoRepoPutRecord: () => putRecord_exports,
|
|
8981
8984
|
ComAtprotoRepoStrongRef: () => strongRef_exports,
|
|
8982
8985
|
ComAtprotoRepoUploadBlob: () => uploadBlob_exports,
|
|
8986
|
+
ComAtprotoServerConfirmEmail: () => confirmEmail_exports,
|
|
8983
8987
|
ComAtprotoServerCreateAccount: () => createAccount_exports,
|
|
8984
8988
|
ComAtprotoServerCreateAppPassword: () => createAppPassword_exports,
|
|
8985
8989
|
ComAtprotoServerCreateInviteCode: () => createInviteCode_exports,
|
|
@@ -8994,9 +8998,12 @@ __export(src_exports2, {
|
|
|
8994
8998
|
ComAtprotoServerListAppPasswords: () => listAppPasswords_exports,
|
|
8995
8999
|
ComAtprotoServerRefreshSession: () => refreshSession_exports,
|
|
8996
9000
|
ComAtprotoServerRequestAccountDelete: () => requestAccountDelete_exports,
|
|
9001
|
+
ComAtprotoServerRequestEmailConfirmation: () => requestEmailConfirmation_exports,
|
|
9002
|
+
ComAtprotoServerRequestEmailUpdate: () => requestEmailUpdate_exports,
|
|
8997
9003
|
ComAtprotoServerRequestPasswordReset: () => requestPasswordReset_exports,
|
|
8998
9004
|
ComAtprotoServerResetPassword: () => resetPassword_exports,
|
|
8999
9005
|
ComAtprotoServerRevokeAppPassword: () => revokeAppPassword_exports,
|
|
9006
|
+
ComAtprotoServerUpdateEmail: () => updateEmail_exports,
|
|
9000
9007
|
ComAtprotoSyncGetBlob: () => getBlob_exports,
|
|
9001
9008
|
ComAtprotoSyncGetBlocks: () => getBlocks_exports,
|
|
9002
9009
|
ComAtprotoSyncGetCheckout: () => getCheckout_exports,
|
|
@@ -16703,6 +16710,10 @@ var schemaDict = {
|
|
|
16703
16710
|
type: "params",
|
|
16704
16711
|
properties: {
|
|
16705
16712
|
term: {
|
|
16713
|
+
type: "string",
|
|
16714
|
+
description: "DEPRECATED: use 'q' instead"
|
|
16715
|
+
},
|
|
16716
|
+
q: {
|
|
16706
16717
|
type: "string"
|
|
16707
16718
|
},
|
|
16708
16719
|
invitedBy: {
|
|
@@ -17808,6 +17819,45 @@ var schemaDict = {
|
|
|
17808
17819
|
}
|
|
17809
17820
|
}
|
|
17810
17821
|
},
|
|
17822
|
+
ComAtprotoServerConfirmEmail: {
|
|
17823
|
+
lexicon: 1,
|
|
17824
|
+
id: "com.atproto.server.confirmEmail",
|
|
17825
|
+
defs: {
|
|
17826
|
+
main: {
|
|
17827
|
+
type: "procedure",
|
|
17828
|
+
description: "Confirm an email using a token from com.atproto.server.requestEmailConfirmation.",
|
|
17829
|
+
input: {
|
|
17830
|
+
encoding: "application/json",
|
|
17831
|
+
schema: {
|
|
17832
|
+
type: "object",
|
|
17833
|
+
required: ["email", "token"],
|
|
17834
|
+
properties: {
|
|
17835
|
+
email: {
|
|
17836
|
+
type: "string"
|
|
17837
|
+
},
|
|
17838
|
+
token: {
|
|
17839
|
+
type: "string"
|
|
17840
|
+
}
|
|
17841
|
+
}
|
|
17842
|
+
}
|
|
17843
|
+
},
|
|
17844
|
+
errors: [
|
|
17845
|
+
{
|
|
17846
|
+
name: "AccountNotFound"
|
|
17847
|
+
},
|
|
17848
|
+
{
|
|
17849
|
+
name: "ExpiredToken"
|
|
17850
|
+
},
|
|
17851
|
+
{
|
|
17852
|
+
name: "InvalidToken"
|
|
17853
|
+
},
|
|
17854
|
+
{
|
|
17855
|
+
name: "InvalidEmail"
|
|
17856
|
+
}
|
|
17857
|
+
]
|
|
17858
|
+
}
|
|
17859
|
+
}
|
|
17860
|
+
},
|
|
17811
17861
|
ComAtprotoServerCreateAccount: {
|
|
17812
17862
|
lexicon: 1,
|
|
17813
17863
|
id: "com.atproto.server.createAccount",
|
|
@@ -18090,6 +18140,9 @@ var schemaDict = {
|
|
|
18090
18140
|
},
|
|
18091
18141
|
email: {
|
|
18092
18142
|
type: "string"
|
|
18143
|
+
},
|
|
18144
|
+
emailConfirmed: {
|
|
18145
|
+
type: "boolean"
|
|
18093
18146
|
}
|
|
18094
18147
|
}
|
|
18095
18148
|
}
|
|
@@ -18319,6 +18372,9 @@ var schemaDict = {
|
|
|
18319
18372
|
},
|
|
18320
18373
|
email: {
|
|
18321
18374
|
type: "string"
|
|
18375
|
+
},
|
|
18376
|
+
emailConfirmed: {
|
|
18377
|
+
type: "boolean"
|
|
18322
18378
|
}
|
|
18323
18379
|
}
|
|
18324
18380
|
}
|
|
@@ -18418,6 +18474,38 @@ var schemaDict = {
|
|
|
18418
18474
|
}
|
|
18419
18475
|
}
|
|
18420
18476
|
},
|
|
18477
|
+
ComAtprotoServerRequestEmailConfirmation: {
|
|
18478
|
+
lexicon: 1,
|
|
18479
|
+
id: "com.atproto.server.requestEmailConfirmation",
|
|
18480
|
+
defs: {
|
|
18481
|
+
main: {
|
|
18482
|
+
type: "procedure",
|
|
18483
|
+
description: "Request an email with a code to confirm ownership of email"
|
|
18484
|
+
}
|
|
18485
|
+
}
|
|
18486
|
+
},
|
|
18487
|
+
ComAtprotoServerRequestEmailUpdate: {
|
|
18488
|
+
lexicon: 1,
|
|
18489
|
+
id: "com.atproto.server.requestEmailUpdate",
|
|
18490
|
+
defs: {
|
|
18491
|
+
main: {
|
|
18492
|
+
type: "procedure",
|
|
18493
|
+
description: "Request a token in order to update email.",
|
|
18494
|
+
output: {
|
|
18495
|
+
encoding: "application/json",
|
|
18496
|
+
schema: {
|
|
18497
|
+
type: "object",
|
|
18498
|
+
required: ["tokenRequired"],
|
|
18499
|
+
properties: {
|
|
18500
|
+
tokenRequired: {
|
|
18501
|
+
type: "boolean"
|
|
18502
|
+
}
|
|
18503
|
+
}
|
|
18504
|
+
}
|
|
18505
|
+
}
|
|
18506
|
+
}
|
|
18507
|
+
}
|
|
18508
|
+
},
|
|
18421
18509
|
ComAtprotoServerRequestPasswordReset: {
|
|
18422
18510
|
lexicon: 1,
|
|
18423
18511
|
id: "com.atproto.server.requestPasswordReset",
|
|
@@ -18495,6 +18583,43 @@ var schemaDict = {
|
|
|
18495
18583
|
}
|
|
18496
18584
|
}
|
|
18497
18585
|
},
|
|
18586
|
+
ComAtprotoServerUpdateEmail: {
|
|
18587
|
+
lexicon: 1,
|
|
18588
|
+
id: "com.atproto.server.updateEmail",
|
|
18589
|
+
defs: {
|
|
18590
|
+
main: {
|
|
18591
|
+
type: "procedure",
|
|
18592
|
+
description: "Update an account's email.",
|
|
18593
|
+
input: {
|
|
18594
|
+
encoding: "application/json",
|
|
18595
|
+
schema: {
|
|
18596
|
+
type: "object",
|
|
18597
|
+
required: ["email"],
|
|
18598
|
+
properties: {
|
|
18599
|
+
email: {
|
|
18600
|
+
type: "string"
|
|
18601
|
+
},
|
|
18602
|
+
token: {
|
|
18603
|
+
type: "string",
|
|
18604
|
+
description: "Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed."
|
|
18605
|
+
}
|
|
18606
|
+
}
|
|
18607
|
+
}
|
|
18608
|
+
},
|
|
18609
|
+
errors: [
|
|
18610
|
+
{
|
|
18611
|
+
name: "ExpiredToken"
|
|
18612
|
+
},
|
|
18613
|
+
{
|
|
18614
|
+
name: "InvalidToken"
|
|
18615
|
+
},
|
|
18616
|
+
{
|
|
18617
|
+
name: "TokenRequired"
|
|
18618
|
+
}
|
|
18619
|
+
]
|
|
18620
|
+
}
|
|
18621
|
+
}
|
|
18622
|
+
},
|
|
18498
18623
|
ComAtprotoSyncGetBlob: {
|
|
18499
18624
|
lexicon: 1,
|
|
18500
18625
|
id: "com.atproto.sync.getBlob",
|
|
@@ -19555,18 +19680,23 @@ var schemaDict = {
|
|
|
19555
19680
|
defs: {
|
|
19556
19681
|
main: {
|
|
19557
19682
|
type: "query",
|
|
19558
|
-
description: "Find actors matching search criteria.",
|
|
19683
|
+
description: "Find actors (profiles) matching search criteria.",
|
|
19559
19684
|
parameters: {
|
|
19560
19685
|
type: "params",
|
|
19561
19686
|
properties: {
|
|
19562
19687
|
term: {
|
|
19563
|
-
type: "string"
|
|
19688
|
+
type: "string",
|
|
19689
|
+
description: "DEPRECATED: use 'q' instead"
|
|
19690
|
+
},
|
|
19691
|
+
q: {
|
|
19692
|
+
type: "string",
|
|
19693
|
+
description: "search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended"
|
|
19564
19694
|
},
|
|
19565
19695
|
limit: {
|
|
19566
19696
|
type: "integer",
|
|
19567
19697
|
minimum: 1,
|
|
19568
19698
|
maximum: 100,
|
|
19569
|
-
default:
|
|
19699
|
+
default: 25
|
|
19570
19700
|
},
|
|
19571
19701
|
cursor: {
|
|
19572
19702
|
type: "string"
|
|
@@ -19606,13 +19736,18 @@ var schemaDict = {
|
|
|
19606
19736
|
type: "params",
|
|
19607
19737
|
properties: {
|
|
19608
19738
|
term: {
|
|
19609
|
-
type: "string"
|
|
19739
|
+
type: "string",
|
|
19740
|
+
description: "DEPRECATED: use 'q' instead"
|
|
19741
|
+
},
|
|
19742
|
+
q: {
|
|
19743
|
+
type: "string",
|
|
19744
|
+
description: "search query prefix; not a full query string"
|
|
19610
19745
|
},
|
|
19611
19746
|
limit: {
|
|
19612
19747
|
type: "integer",
|
|
19613
19748
|
minimum: 1,
|
|
19614
19749
|
maximum: 100,
|
|
19615
|
-
default:
|
|
19750
|
+
default: 10
|
|
19616
19751
|
}
|
|
19617
19752
|
}
|
|
19618
19753
|
},
|
|
@@ -21262,6 +21397,64 @@ var schemaDict = {
|
|
|
21262
21397
|
}
|
|
21263
21398
|
}
|
|
21264
21399
|
},
|
|
21400
|
+
AppBskyFeedSearchPosts: {
|
|
21401
|
+
lexicon: 1,
|
|
21402
|
+
id: "app.bsky.feed.searchPosts",
|
|
21403
|
+
defs: {
|
|
21404
|
+
main: {
|
|
21405
|
+
type: "query",
|
|
21406
|
+
description: "Find posts matching search criteria",
|
|
21407
|
+
parameters: {
|
|
21408
|
+
type: "params",
|
|
21409
|
+
required: ["q"],
|
|
21410
|
+
properties: {
|
|
21411
|
+
q: {
|
|
21412
|
+
type: "string",
|
|
21413
|
+
description: "search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended"
|
|
21414
|
+
},
|
|
21415
|
+
limit: {
|
|
21416
|
+
type: "integer",
|
|
21417
|
+
minimum: 1,
|
|
21418
|
+
maximum: 100,
|
|
21419
|
+
default: 25
|
|
21420
|
+
},
|
|
21421
|
+
cursor: {
|
|
21422
|
+
type: "string",
|
|
21423
|
+
description: "optional pagination mechanism; may not necessarily allow scrolling through entire result set"
|
|
21424
|
+
}
|
|
21425
|
+
}
|
|
21426
|
+
},
|
|
21427
|
+
output: {
|
|
21428
|
+
encoding: "application/json",
|
|
21429
|
+
schema: {
|
|
21430
|
+
type: "object",
|
|
21431
|
+
required: ["posts"],
|
|
21432
|
+
properties: {
|
|
21433
|
+
cursor: {
|
|
21434
|
+
type: "string"
|
|
21435
|
+
},
|
|
21436
|
+
hitsTotal: {
|
|
21437
|
+
type: "integer",
|
|
21438
|
+
description: "count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits"
|
|
21439
|
+
},
|
|
21440
|
+
posts: {
|
|
21441
|
+
type: "array",
|
|
21442
|
+
items: {
|
|
21443
|
+
type: "ref",
|
|
21444
|
+
ref: "lex:app.bsky.feed.defs#postView"
|
|
21445
|
+
}
|
|
21446
|
+
}
|
|
21447
|
+
}
|
|
21448
|
+
}
|
|
21449
|
+
},
|
|
21450
|
+
errors: [
|
|
21451
|
+
{
|
|
21452
|
+
name: "BadQueryString"
|
|
21453
|
+
}
|
|
21454
|
+
]
|
|
21455
|
+
}
|
|
21456
|
+
}
|
|
21457
|
+
},
|
|
21265
21458
|
AppBskyFeedThreadgate: {
|
|
21266
21459
|
lexicon: 1,
|
|
21267
21460
|
id: "app.bsky.feed.threadgate",
|
|
@@ -22373,27 +22566,27 @@ var schemaDict = {
|
|
|
22373
22566
|
}
|
|
22374
22567
|
}
|
|
22375
22568
|
},
|
|
22376
|
-
|
|
22569
|
+
AppBskyUnspeccedDefs: {
|
|
22377
22570
|
lexicon: 1,
|
|
22378
|
-
id: "app.bsky.unspecced.
|
|
22571
|
+
id: "app.bsky.unspecced.defs",
|
|
22379
22572
|
defs: {
|
|
22380
|
-
|
|
22381
|
-
type: "
|
|
22382
|
-
|
|
22383
|
-
|
|
22384
|
-
|
|
22385
|
-
|
|
22386
|
-
|
|
22387
|
-
|
|
22388
|
-
|
|
22389
|
-
|
|
22390
|
-
|
|
22391
|
-
|
|
22392
|
-
|
|
22393
|
-
|
|
22394
|
-
|
|
22395
|
-
|
|
22396
|
-
|
|
22573
|
+
skeletonSearchPost: {
|
|
22574
|
+
type: "object",
|
|
22575
|
+
required: ["uri"],
|
|
22576
|
+
properties: {
|
|
22577
|
+
uri: {
|
|
22578
|
+
type: "string",
|
|
22579
|
+
format: "at-uri"
|
|
22580
|
+
}
|
|
22581
|
+
}
|
|
22582
|
+
},
|
|
22583
|
+
skeletonSearchActor: {
|
|
22584
|
+
type: "object",
|
|
22585
|
+
required: ["did"],
|
|
22586
|
+
properties: {
|
|
22587
|
+
did: {
|
|
22588
|
+
type: "string",
|
|
22589
|
+
format: "did"
|
|
22397
22590
|
}
|
|
22398
22591
|
}
|
|
22399
22592
|
}
|
|
@@ -22539,79 +22732,199 @@ var schemaDict = {
|
|
|
22539
22732
|
]
|
|
22540
22733
|
}
|
|
22541
22734
|
}
|
|
22542
|
-
}
|
|
22543
|
-
|
|
22544
|
-
|
|
22545
|
-
|
|
22546
|
-
|
|
22547
|
-
|
|
22548
|
-
|
|
22549
|
-
|
|
22550
|
-
|
|
22551
|
-
|
|
22552
|
-
|
|
22553
|
-
|
|
22554
|
-
|
|
22555
|
-
|
|
22556
|
-
|
|
22557
|
-
|
|
22558
|
-
|
|
22559
|
-
|
|
22560
|
-
|
|
22561
|
-
|
|
22562
|
-
|
|
22563
|
-
|
|
22564
|
-
|
|
22565
|
-
|
|
22566
|
-
|
|
22567
|
-
}
|
|
22568
|
-
|
|
22569
|
-
|
|
22570
|
-
|
|
22571
|
-
|
|
22572
|
-
|
|
22573
|
-
}
|
|
22574
|
-
|
|
22575
|
-
|
|
22576
|
-
|
|
22577
|
-
|
|
22578
|
-
|
|
22579
|
-
|
|
22580
|
-
|
|
22581
|
-
|
|
22582
|
-
|
|
22583
|
-
|
|
22584
|
-
|
|
22585
|
-
|
|
22586
|
-
|
|
22587
|
-
|
|
22588
|
-
|
|
22589
|
-
|
|
22590
|
-
|
|
22591
|
-
|
|
22592
|
-
|
|
22593
|
-
|
|
22594
|
-
|
|
22595
|
-
}
|
|
22596
|
-
|
|
22597
|
-
|
|
22598
|
-
|
|
22599
|
-
|
|
22600
|
-
}
|
|
22601
|
-
|
|
22602
|
-
|
|
22603
|
-
|
|
22604
|
-
|
|
22605
|
-
|
|
22606
|
-
|
|
22607
|
-
|
|
22608
|
-
|
|
22609
|
-
|
|
22610
|
-
|
|
22611
|
-
|
|
22612
|
-
|
|
22613
|
-
|
|
22614
|
-
|
|
22735
|
+
},
|
|
22736
|
+
AppBskyUnspeccedSearchActorsSkeleton: {
|
|
22737
|
+
lexicon: 1,
|
|
22738
|
+
id: "app.bsky.unspecced.searchActorsSkeleton",
|
|
22739
|
+
defs: {
|
|
22740
|
+
main: {
|
|
22741
|
+
type: "query",
|
|
22742
|
+
description: "Backend Actors (profile) search, returning only skeleton",
|
|
22743
|
+
parameters: {
|
|
22744
|
+
type: "params",
|
|
22745
|
+
required: ["q"],
|
|
22746
|
+
properties: {
|
|
22747
|
+
q: {
|
|
22748
|
+
type: "string",
|
|
22749
|
+
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"
|
|
22750
|
+
},
|
|
22751
|
+
typeahead: {
|
|
22752
|
+
type: "boolean",
|
|
22753
|
+
description: "if true, acts as fast/simple 'typeahead' query"
|
|
22754
|
+
},
|
|
22755
|
+
limit: {
|
|
22756
|
+
type: "integer",
|
|
22757
|
+
minimum: 1,
|
|
22758
|
+
maximum: 100,
|
|
22759
|
+
default: 25
|
|
22760
|
+
},
|
|
22761
|
+
cursor: {
|
|
22762
|
+
type: "string",
|
|
22763
|
+
description: "optional pagination mechanism; may not necessarily allow scrolling through entire result set"
|
|
22764
|
+
}
|
|
22765
|
+
}
|
|
22766
|
+
},
|
|
22767
|
+
output: {
|
|
22768
|
+
encoding: "application/json",
|
|
22769
|
+
schema: {
|
|
22770
|
+
type: "object",
|
|
22771
|
+
required: ["actors"],
|
|
22772
|
+
properties: {
|
|
22773
|
+
cursor: {
|
|
22774
|
+
type: "string"
|
|
22775
|
+
},
|
|
22776
|
+
hitsTotal: {
|
|
22777
|
+
type: "integer",
|
|
22778
|
+
description: "count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits"
|
|
22779
|
+
},
|
|
22780
|
+
actors: {
|
|
22781
|
+
type: "array",
|
|
22782
|
+
items: {
|
|
22783
|
+
type: "ref",
|
|
22784
|
+
ref: "lex:app.bsky.unspecced.defs#skeletonSearchActor"
|
|
22785
|
+
}
|
|
22786
|
+
}
|
|
22787
|
+
}
|
|
22788
|
+
}
|
|
22789
|
+
},
|
|
22790
|
+
errors: [
|
|
22791
|
+
{
|
|
22792
|
+
name: "BadQueryString"
|
|
22793
|
+
}
|
|
22794
|
+
]
|
|
22795
|
+
}
|
|
22796
|
+
}
|
|
22797
|
+
},
|
|
22798
|
+
AppBskyUnspeccedSearchPostsSkeleton: {
|
|
22799
|
+
lexicon: 1,
|
|
22800
|
+
id: "app.bsky.unspecced.searchPostsSkeleton",
|
|
22801
|
+
defs: {
|
|
22802
|
+
main: {
|
|
22803
|
+
type: "query",
|
|
22804
|
+
description: "Backend Posts search, returning only skeleton",
|
|
22805
|
+
parameters: {
|
|
22806
|
+
type: "params",
|
|
22807
|
+
required: ["q"],
|
|
22808
|
+
properties: {
|
|
22809
|
+
q: {
|
|
22810
|
+
type: "string",
|
|
22811
|
+
description: "search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended"
|
|
22812
|
+
},
|
|
22813
|
+
limit: {
|
|
22814
|
+
type: "integer",
|
|
22815
|
+
minimum: 1,
|
|
22816
|
+
maximum: 100,
|
|
22817
|
+
default: 25
|
|
22818
|
+
},
|
|
22819
|
+
cursor: {
|
|
22820
|
+
type: "string",
|
|
22821
|
+
description: "optional pagination mechanism; may not necessarily allow scrolling through entire result set"
|
|
22822
|
+
}
|
|
22823
|
+
}
|
|
22824
|
+
},
|
|
22825
|
+
output: {
|
|
22826
|
+
encoding: "application/json",
|
|
22827
|
+
schema: {
|
|
22828
|
+
type: "object",
|
|
22829
|
+
required: ["posts"],
|
|
22830
|
+
properties: {
|
|
22831
|
+
cursor: {
|
|
22832
|
+
type: "string"
|
|
22833
|
+
},
|
|
22834
|
+
hitsTotal: {
|
|
22835
|
+
type: "integer",
|
|
22836
|
+
description: "count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits"
|
|
22837
|
+
},
|
|
22838
|
+
posts: {
|
|
22839
|
+
type: "array",
|
|
22840
|
+
items: {
|
|
22841
|
+
type: "ref",
|
|
22842
|
+
ref: "lex:app.bsky.unspecced.defs#skeletonSearchPost"
|
|
22843
|
+
}
|
|
22844
|
+
}
|
|
22845
|
+
}
|
|
22846
|
+
}
|
|
22847
|
+
},
|
|
22848
|
+
errors: [
|
|
22849
|
+
{
|
|
22850
|
+
name: "BadQueryString"
|
|
22851
|
+
}
|
|
22852
|
+
]
|
|
22853
|
+
}
|
|
22854
|
+
}
|
|
22855
|
+
}
|
|
22856
|
+
};
|
|
22857
|
+
var schemas = Object.values(schemaDict);
|
|
22858
|
+
var lexicons = new Lexicons(schemas);
|
|
22859
|
+
|
|
22860
|
+
// src/client/types/com/atproto/admin/disableAccountInvites.ts
|
|
22861
|
+
var disableAccountInvites_exports = {};
|
|
22862
|
+
__export(disableAccountInvites_exports, {
|
|
22863
|
+
toKnownErr: () => toKnownErr
|
|
22864
|
+
});
|
|
22865
|
+
function toKnownErr(e) {
|
|
22866
|
+
if (e instanceof XRPCError) {
|
|
22867
|
+
}
|
|
22868
|
+
return e;
|
|
22869
|
+
}
|
|
22870
|
+
|
|
22871
|
+
// src/client/types/com/atproto/admin/disableInviteCodes.ts
|
|
22872
|
+
var disableInviteCodes_exports = {};
|
|
22873
|
+
__export(disableInviteCodes_exports, {
|
|
22874
|
+
toKnownErr: () => toKnownErr2
|
|
22875
|
+
});
|
|
22876
|
+
function toKnownErr2(e) {
|
|
22877
|
+
if (e instanceof XRPCError) {
|
|
22878
|
+
}
|
|
22879
|
+
return e;
|
|
22880
|
+
}
|
|
22881
|
+
|
|
22882
|
+
// src/client/types/com/atproto/admin/enableAccountInvites.ts
|
|
22883
|
+
var enableAccountInvites_exports = {};
|
|
22884
|
+
__export(enableAccountInvites_exports, {
|
|
22885
|
+
toKnownErr: () => toKnownErr3
|
|
22886
|
+
});
|
|
22887
|
+
function toKnownErr3(e) {
|
|
22888
|
+
if (e instanceof XRPCError) {
|
|
22889
|
+
}
|
|
22890
|
+
return e;
|
|
22891
|
+
}
|
|
22892
|
+
|
|
22893
|
+
// src/client/types/com/atproto/admin/getInviteCodes.ts
|
|
22894
|
+
var getInviteCodes_exports = {};
|
|
22895
|
+
__export(getInviteCodes_exports, {
|
|
22896
|
+
toKnownErr: () => toKnownErr4
|
|
22897
|
+
});
|
|
22898
|
+
function toKnownErr4(e) {
|
|
22899
|
+
if (e instanceof XRPCError) {
|
|
22900
|
+
}
|
|
22901
|
+
return e;
|
|
22902
|
+
}
|
|
22903
|
+
|
|
22904
|
+
// src/client/types/com/atproto/admin/getModerationAction.ts
|
|
22905
|
+
var getModerationAction_exports = {};
|
|
22906
|
+
__export(getModerationAction_exports, {
|
|
22907
|
+
toKnownErr: () => toKnownErr5
|
|
22908
|
+
});
|
|
22909
|
+
function toKnownErr5(e) {
|
|
22910
|
+
if (e instanceof XRPCError) {
|
|
22911
|
+
}
|
|
22912
|
+
return e;
|
|
22913
|
+
}
|
|
22914
|
+
|
|
22915
|
+
// src/client/types/com/atproto/admin/getModerationActions.ts
|
|
22916
|
+
var getModerationActions_exports = {};
|
|
22917
|
+
__export(getModerationActions_exports, {
|
|
22918
|
+
toKnownErr: () => toKnownErr6
|
|
22919
|
+
});
|
|
22920
|
+
function toKnownErr6(e) {
|
|
22921
|
+
if (e instanceof XRPCError) {
|
|
22922
|
+
}
|
|
22923
|
+
return e;
|
|
22924
|
+
}
|
|
22925
|
+
|
|
22926
|
+
// src/client/types/com/atproto/admin/getModerationReport.ts
|
|
22927
|
+
var getModerationReport_exports = {};
|
|
22615
22928
|
__export(getModerationReport_exports, {
|
|
22616
22929
|
toKnownErr: () => toKnownErr7
|
|
22617
22930
|
});
|
|
@@ -22961,6 +23274,49 @@ function toKnownErr29(e) {
|
|
|
22961
23274
|
return e;
|
|
22962
23275
|
}
|
|
22963
23276
|
|
|
23277
|
+
// src/client/types/com/atproto/server/confirmEmail.ts
|
|
23278
|
+
var confirmEmail_exports = {};
|
|
23279
|
+
__export(confirmEmail_exports, {
|
|
23280
|
+
AccountNotFoundError: () => AccountNotFoundError,
|
|
23281
|
+
ExpiredTokenError: () => ExpiredTokenError,
|
|
23282
|
+
InvalidEmailError: () => InvalidEmailError,
|
|
23283
|
+
InvalidTokenError: () => InvalidTokenError,
|
|
23284
|
+
toKnownErr: () => toKnownErr30
|
|
23285
|
+
});
|
|
23286
|
+
var AccountNotFoundError = class extends XRPCError {
|
|
23287
|
+
constructor(src2) {
|
|
23288
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23289
|
+
}
|
|
23290
|
+
};
|
|
23291
|
+
var ExpiredTokenError = class extends XRPCError {
|
|
23292
|
+
constructor(src2) {
|
|
23293
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23294
|
+
}
|
|
23295
|
+
};
|
|
23296
|
+
var InvalidTokenError = class extends XRPCError {
|
|
23297
|
+
constructor(src2) {
|
|
23298
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23299
|
+
}
|
|
23300
|
+
};
|
|
23301
|
+
var InvalidEmailError = class extends XRPCError {
|
|
23302
|
+
constructor(src2) {
|
|
23303
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23304
|
+
}
|
|
23305
|
+
};
|
|
23306
|
+
function toKnownErr30(e) {
|
|
23307
|
+
if (e instanceof XRPCError) {
|
|
23308
|
+
if (e.error === "AccountNotFound")
|
|
23309
|
+
return new AccountNotFoundError(e);
|
|
23310
|
+
if (e.error === "ExpiredToken")
|
|
23311
|
+
return new ExpiredTokenError(e);
|
|
23312
|
+
if (e.error === "InvalidToken")
|
|
23313
|
+
return new InvalidTokenError(e);
|
|
23314
|
+
if (e.error === "InvalidEmail")
|
|
23315
|
+
return new InvalidEmailError(e);
|
|
23316
|
+
}
|
|
23317
|
+
return e;
|
|
23318
|
+
}
|
|
23319
|
+
|
|
22964
23320
|
// src/client/types/com/atproto/server/createAccount.ts
|
|
22965
23321
|
var createAccount_exports = {};
|
|
22966
23322
|
__export(createAccount_exports, {
|
|
@@ -22971,7 +23327,7 @@ __export(createAccount_exports, {
|
|
|
22971
23327
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
22972
23328
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
22973
23329
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
22974
|
-
toKnownErr: () =>
|
|
23330
|
+
toKnownErr: () => toKnownErr31
|
|
22975
23331
|
});
|
|
22976
23332
|
var InvalidHandleError2 = class extends XRPCError {
|
|
22977
23333
|
constructor(src2) {
|
|
@@ -23008,7 +23364,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
23008
23364
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23009
23365
|
}
|
|
23010
23366
|
};
|
|
23011
|
-
function
|
|
23367
|
+
function toKnownErr31(e) {
|
|
23012
23368
|
if (e instanceof XRPCError) {
|
|
23013
23369
|
if (e.error === "InvalidHandle")
|
|
23014
23370
|
return new InvalidHandleError2(e);
|
|
@@ -23033,7 +23389,7 @@ var createAppPassword_exports = {};
|
|
|
23033
23389
|
__export(createAppPassword_exports, {
|
|
23034
23390
|
AccountTakedownError: () => AccountTakedownError,
|
|
23035
23391
|
isAppPassword: () => isAppPassword,
|
|
23036
|
-
toKnownErr: () =>
|
|
23392
|
+
toKnownErr: () => toKnownErr32,
|
|
23037
23393
|
validateAppPassword: () => validateAppPassword
|
|
23038
23394
|
});
|
|
23039
23395
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -23041,7 +23397,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
23041
23397
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23042
23398
|
}
|
|
23043
23399
|
};
|
|
23044
|
-
function
|
|
23400
|
+
function toKnownErr32(e) {
|
|
23045
23401
|
if (e instanceof XRPCError) {
|
|
23046
23402
|
if (e.error === "AccountTakedown")
|
|
23047
23403
|
return new AccountTakedownError(e);
|
|
@@ -23058,9 +23414,9 @@ function validateAppPassword(v) {
|
|
|
23058
23414
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
23059
23415
|
var createInviteCode_exports = {};
|
|
23060
23416
|
__export(createInviteCode_exports, {
|
|
23061
|
-
toKnownErr: () =>
|
|
23417
|
+
toKnownErr: () => toKnownErr33
|
|
23062
23418
|
});
|
|
23063
|
-
function
|
|
23419
|
+
function toKnownErr33(e) {
|
|
23064
23420
|
if (e instanceof XRPCError) {
|
|
23065
23421
|
}
|
|
23066
23422
|
return e;
|
|
@@ -23070,10 +23426,10 @@ function toKnownErr32(e) {
|
|
|
23070
23426
|
var createInviteCodes_exports = {};
|
|
23071
23427
|
__export(createInviteCodes_exports, {
|
|
23072
23428
|
isAccountCodes: () => isAccountCodes,
|
|
23073
|
-
toKnownErr: () =>
|
|
23429
|
+
toKnownErr: () => toKnownErr34,
|
|
23074
23430
|
validateAccountCodes: () => validateAccountCodes
|
|
23075
23431
|
});
|
|
23076
|
-
function
|
|
23432
|
+
function toKnownErr34(e) {
|
|
23077
23433
|
if (e instanceof XRPCError) {
|
|
23078
23434
|
}
|
|
23079
23435
|
return e;
|
|
@@ -23089,14 +23445,14 @@ function validateAccountCodes(v) {
|
|
|
23089
23445
|
var createSession_exports = {};
|
|
23090
23446
|
__export(createSession_exports, {
|
|
23091
23447
|
AccountTakedownError: () => AccountTakedownError2,
|
|
23092
|
-
toKnownErr: () =>
|
|
23448
|
+
toKnownErr: () => toKnownErr35
|
|
23093
23449
|
});
|
|
23094
23450
|
var AccountTakedownError2 = class extends XRPCError {
|
|
23095
23451
|
constructor(src2) {
|
|
23096
23452
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23097
23453
|
}
|
|
23098
23454
|
};
|
|
23099
|
-
function
|
|
23455
|
+
function toKnownErr35(e) {
|
|
23100
23456
|
if (e instanceof XRPCError) {
|
|
23101
23457
|
if (e.error === "AccountTakedown")
|
|
23102
23458
|
return new AccountTakedownError2(e);
|
|
@@ -23107,26 +23463,26 @@ function toKnownErr34(e) {
|
|
|
23107
23463
|
// src/client/types/com/atproto/server/deleteAccount.ts
|
|
23108
23464
|
var deleteAccount_exports = {};
|
|
23109
23465
|
__export(deleteAccount_exports, {
|
|
23110
|
-
ExpiredTokenError: () =>
|
|
23111
|
-
InvalidTokenError: () =>
|
|
23112
|
-
toKnownErr: () =>
|
|
23466
|
+
ExpiredTokenError: () => ExpiredTokenError2,
|
|
23467
|
+
InvalidTokenError: () => InvalidTokenError2,
|
|
23468
|
+
toKnownErr: () => toKnownErr36
|
|
23113
23469
|
});
|
|
23114
|
-
var
|
|
23470
|
+
var ExpiredTokenError2 = class extends XRPCError {
|
|
23115
23471
|
constructor(src2) {
|
|
23116
23472
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23117
23473
|
}
|
|
23118
23474
|
};
|
|
23119
|
-
var
|
|
23475
|
+
var InvalidTokenError2 = class extends XRPCError {
|
|
23120
23476
|
constructor(src2) {
|
|
23121
23477
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23122
23478
|
}
|
|
23123
23479
|
};
|
|
23124
|
-
function
|
|
23480
|
+
function toKnownErr36(e) {
|
|
23125
23481
|
if (e instanceof XRPCError) {
|
|
23126
23482
|
if (e.error === "ExpiredToken")
|
|
23127
|
-
return new
|
|
23483
|
+
return new ExpiredTokenError2(e);
|
|
23128
23484
|
if (e.error === "InvalidToken")
|
|
23129
|
-
return new
|
|
23485
|
+
return new InvalidTokenError2(e);
|
|
23130
23486
|
}
|
|
23131
23487
|
return e;
|
|
23132
23488
|
}
|
|
@@ -23134,9 +23490,9 @@ function toKnownErr35(e) {
|
|
|
23134
23490
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
23135
23491
|
var deleteSession_exports = {};
|
|
23136
23492
|
__export(deleteSession_exports, {
|
|
23137
|
-
toKnownErr: () =>
|
|
23493
|
+
toKnownErr: () => toKnownErr37
|
|
23138
23494
|
});
|
|
23139
|
-
function
|
|
23495
|
+
function toKnownErr37(e) {
|
|
23140
23496
|
if (e instanceof XRPCError) {
|
|
23141
23497
|
}
|
|
23142
23498
|
return e;
|
|
@@ -23146,10 +23502,10 @@ function toKnownErr36(e) {
|
|
|
23146
23502
|
var describeServer_exports = {};
|
|
23147
23503
|
__export(describeServer_exports, {
|
|
23148
23504
|
isLinks: () => isLinks,
|
|
23149
|
-
toKnownErr: () =>
|
|
23505
|
+
toKnownErr: () => toKnownErr38,
|
|
23150
23506
|
validateLinks: () => validateLinks
|
|
23151
23507
|
});
|
|
23152
|
-
function
|
|
23508
|
+
function toKnownErr38(e) {
|
|
23153
23509
|
if (e instanceof XRPCError) {
|
|
23154
23510
|
}
|
|
23155
23511
|
return e;
|
|
@@ -23165,14 +23521,14 @@ function validateLinks(v) {
|
|
|
23165
23521
|
var getAccountInviteCodes_exports = {};
|
|
23166
23522
|
__export(getAccountInviteCodes_exports, {
|
|
23167
23523
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
23168
|
-
toKnownErr: () =>
|
|
23524
|
+
toKnownErr: () => toKnownErr39
|
|
23169
23525
|
});
|
|
23170
23526
|
var DuplicateCreateError = class extends XRPCError {
|
|
23171
23527
|
constructor(src2) {
|
|
23172
23528
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23173
23529
|
}
|
|
23174
23530
|
};
|
|
23175
|
-
function
|
|
23531
|
+
function toKnownErr39(e) {
|
|
23176
23532
|
if (e instanceof XRPCError) {
|
|
23177
23533
|
if (e.error === "DuplicateCreate")
|
|
23178
23534
|
return new DuplicateCreateError(e);
|
|
@@ -23183,9 +23539,9 @@ function toKnownErr38(e) {
|
|
|
23183
23539
|
// src/client/types/com/atproto/server/getSession.ts
|
|
23184
23540
|
var getSession_exports = {};
|
|
23185
23541
|
__export(getSession_exports, {
|
|
23186
|
-
toKnownErr: () =>
|
|
23542
|
+
toKnownErr: () => toKnownErr40
|
|
23187
23543
|
});
|
|
23188
|
-
function
|
|
23544
|
+
function toKnownErr40(e) {
|
|
23189
23545
|
if (e instanceof XRPCError) {
|
|
23190
23546
|
}
|
|
23191
23547
|
return e;
|
|
@@ -23196,7 +23552,7 @@ var listAppPasswords_exports = {};
|
|
|
23196
23552
|
__export(listAppPasswords_exports, {
|
|
23197
23553
|
AccountTakedownError: () => AccountTakedownError3,
|
|
23198
23554
|
isAppPassword: () => isAppPassword2,
|
|
23199
|
-
toKnownErr: () =>
|
|
23555
|
+
toKnownErr: () => toKnownErr41,
|
|
23200
23556
|
validateAppPassword: () => validateAppPassword2
|
|
23201
23557
|
});
|
|
23202
23558
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -23204,7 +23560,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
23204
23560
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23205
23561
|
}
|
|
23206
23562
|
};
|
|
23207
|
-
function
|
|
23563
|
+
function toKnownErr41(e) {
|
|
23208
23564
|
if (e instanceof XRPCError) {
|
|
23209
23565
|
if (e.error === "AccountTakedown")
|
|
23210
23566
|
return new AccountTakedownError3(e);
|
|
@@ -23222,14 +23578,14 @@ function validateAppPassword2(v) {
|
|
|
23222
23578
|
var refreshSession_exports = {};
|
|
23223
23579
|
__export(refreshSession_exports, {
|
|
23224
23580
|
AccountTakedownError: () => AccountTakedownError4,
|
|
23225
|
-
toKnownErr: () =>
|
|
23581
|
+
toKnownErr: () => toKnownErr42
|
|
23226
23582
|
});
|
|
23227
23583
|
var AccountTakedownError4 = class extends XRPCError {
|
|
23228
23584
|
constructor(src2) {
|
|
23229
23585
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23230
23586
|
}
|
|
23231
23587
|
};
|
|
23232
|
-
function
|
|
23588
|
+
function toKnownErr42(e) {
|
|
23233
23589
|
if (e instanceof XRPCError) {
|
|
23234
23590
|
if (e.error === "AccountTakedown")
|
|
23235
23591
|
return new AccountTakedownError4(e);
|
|
@@ -23240,9 +23596,31 @@ function toKnownErr41(e) {
|
|
|
23240
23596
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
23241
23597
|
var requestAccountDelete_exports = {};
|
|
23242
23598
|
__export(requestAccountDelete_exports, {
|
|
23243
|
-
toKnownErr: () =>
|
|
23599
|
+
toKnownErr: () => toKnownErr43
|
|
23244
23600
|
});
|
|
23245
|
-
function
|
|
23601
|
+
function toKnownErr43(e) {
|
|
23602
|
+
if (e instanceof XRPCError) {
|
|
23603
|
+
}
|
|
23604
|
+
return e;
|
|
23605
|
+
}
|
|
23606
|
+
|
|
23607
|
+
// src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
23608
|
+
var requestEmailConfirmation_exports = {};
|
|
23609
|
+
__export(requestEmailConfirmation_exports, {
|
|
23610
|
+
toKnownErr: () => toKnownErr44
|
|
23611
|
+
});
|
|
23612
|
+
function toKnownErr44(e) {
|
|
23613
|
+
if (e instanceof XRPCError) {
|
|
23614
|
+
}
|
|
23615
|
+
return e;
|
|
23616
|
+
}
|
|
23617
|
+
|
|
23618
|
+
// src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
23619
|
+
var requestEmailUpdate_exports = {};
|
|
23620
|
+
__export(requestEmailUpdate_exports, {
|
|
23621
|
+
toKnownErr: () => toKnownErr45
|
|
23622
|
+
});
|
|
23623
|
+
function toKnownErr45(e) {
|
|
23246
23624
|
if (e instanceof XRPCError) {
|
|
23247
23625
|
}
|
|
23248
23626
|
return e;
|
|
@@ -23251,9 +23629,9 @@ function toKnownErr42(e) {
|
|
|
23251
23629
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
23252
23630
|
var requestPasswordReset_exports = {};
|
|
23253
23631
|
__export(requestPasswordReset_exports, {
|
|
23254
|
-
toKnownErr: () =>
|
|
23632
|
+
toKnownErr: () => toKnownErr46
|
|
23255
23633
|
});
|
|
23256
|
-
function
|
|
23634
|
+
function toKnownErr46(e) {
|
|
23257
23635
|
if (e instanceof XRPCError) {
|
|
23258
23636
|
}
|
|
23259
23637
|
return e;
|
|
@@ -23262,26 +23640,26 @@ function toKnownErr43(e) {
|
|
|
23262
23640
|
// src/client/types/com/atproto/server/resetPassword.ts
|
|
23263
23641
|
var resetPassword_exports = {};
|
|
23264
23642
|
__export(resetPassword_exports, {
|
|
23265
|
-
ExpiredTokenError: () =>
|
|
23266
|
-
InvalidTokenError: () =>
|
|
23267
|
-
toKnownErr: () =>
|
|
23643
|
+
ExpiredTokenError: () => ExpiredTokenError3,
|
|
23644
|
+
InvalidTokenError: () => InvalidTokenError3,
|
|
23645
|
+
toKnownErr: () => toKnownErr47
|
|
23268
23646
|
});
|
|
23269
|
-
var
|
|
23647
|
+
var ExpiredTokenError3 = class extends XRPCError {
|
|
23270
23648
|
constructor(src2) {
|
|
23271
23649
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23272
23650
|
}
|
|
23273
23651
|
};
|
|
23274
|
-
var
|
|
23652
|
+
var InvalidTokenError3 = class extends XRPCError {
|
|
23275
23653
|
constructor(src2) {
|
|
23276
23654
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23277
23655
|
}
|
|
23278
23656
|
};
|
|
23279
|
-
function
|
|
23657
|
+
function toKnownErr47(e) {
|
|
23280
23658
|
if (e instanceof XRPCError) {
|
|
23281
23659
|
if (e.error === "ExpiredToken")
|
|
23282
|
-
return new
|
|
23660
|
+
return new ExpiredTokenError3(e);
|
|
23283
23661
|
if (e.error === "InvalidToken")
|
|
23284
|
-
return new
|
|
23662
|
+
return new InvalidTokenError3(e);
|
|
23285
23663
|
}
|
|
23286
23664
|
return e;
|
|
23287
23665
|
}
|
|
@@ -23289,20 +23667,55 @@ function toKnownErr44(e) {
|
|
|
23289
23667
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
23290
23668
|
var revokeAppPassword_exports = {};
|
|
23291
23669
|
__export(revokeAppPassword_exports, {
|
|
23292
|
-
toKnownErr: () =>
|
|
23670
|
+
toKnownErr: () => toKnownErr48
|
|
23293
23671
|
});
|
|
23294
|
-
function
|
|
23672
|
+
function toKnownErr48(e) {
|
|
23295
23673
|
if (e instanceof XRPCError) {
|
|
23296
23674
|
}
|
|
23297
23675
|
return e;
|
|
23298
23676
|
}
|
|
23299
23677
|
|
|
23678
|
+
// src/client/types/com/atproto/server/updateEmail.ts
|
|
23679
|
+
var updateEmail_exports = {};
|
|
23680
|
+
__export(updateEmail_exports, {
|
|
23681
|
+
ExpiredTokenError: () => ExpiredTokenError4,
|
|
23682
|
+
InvalidTokenError: () => InvalidTokenError4,
|
|
23683
|
+
TokenRequiredError: () => TokenRequiredError,
|
|
23684
|
+
toKnownErr: () => toKnownErr49
|
|
23685
|
+
});
|
|
23686
|
+
var ExpiredTokenError4 = class extends XRPCError {
|
|
23687
|
+
constructor(src2) {
|
|
23688
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23689
|
+
}
|
|
23690
|
+
};
|
|
23691
|
+
var InvalidTokenError4 = class extends XRPCError {
|
|
23692
|
+
constructor(src2) {
|
|
23693
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23694
|
+
}
|
|
23695
|
+
};
|
|
23696
|
+
var TokenRequiredError = class extends XRPCError {
|
|
23697
|
+
constructor(src2) {
|
|
23698
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23699
|
+
}
|
|
23700
|
+
};
|
|
23701
|
+
function toKnownErr49(e) {
|
|
23702
|
+
if (e instanceof XRPCError) {
|
|
23703
|
+
if (e.error === "ExpiredToken")
|
|
23704
|
+
return new ExpiredTokenError4(e);
|
|
23705
|
+
if (e.error === "InvalidToken")
|
|
23706
|
+
return new InvalidTokenError4(e);
|
|
23707
|
+
if (e.error === "TokenRequired")
|
|
23708
|
+
return new TokenRequiredError(e);
|
|
23709
|
+
}
|
|
23710
|
+
return e;
|
|
23711
|
+
}
|
|
23712
|
+
|
|
23300
23713
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
23301
23714
|
var getBlob_exports = {};
|
|
23302
23715
|
__export(getBlob_exports, {
|
|
23303
|
-
toKnownErr: () =>
|
|
23716
|
+
toKnownErr: () => toKnownErr50
|
|
23304
23717
|
});
|
|
23305
|
-
function
|
|
23718
|
+
function toKnownErr50(e) {
|
|
23306
23719
|
if (e instanceof XRPCError) {
|
|
23307
23720
|
}
|
|
23308
23721
|
return e;
|
|
@@ -23311,9 +23724,9 @@ function toKnownErr46(e) {
|
|
|
23311
23724
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
23312
23725
|
var getBlocks_exports = {};
|
|
23313
23726
|
__export(getBlocks_exports, {
|
|
23314
|
-
toKnownErr: () =>
|
|
23727
|
+
toKnownErr: () => toKnownErr51
|
|
23315
23728
|
});
|
|
23316
|
-
function
|
|
23729
|
+
function toKnownErr51(e) {
|
|
23317
23730
|
if (e instanceof XRPCError) {
|
|
23318
23731
|
}
|
|
23319
23732
|
return e;
|
|
@@ -23322,9 +23735,9 @@ function toKnownErr47(e) {
|
|
|
23322
23735
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
23323
23736
|
var getCheckout_exports = {};
|
|
23324
23737
|
__export(getCheckout_exports, {
|
|
23325
|
-
toKnownErr: () =>
|
|
23738
|
+
toKnownErr: () => toKnownErr52
|
|
23326
23739
|
});
|
|
23327
|
-
function
|
|
23740
|
+
function toKnownErr52(e) {
|
|
23328
23741
|
if (e instanceof XRPCError) {
|
|
23329
23742
|
}
|
|
23330
23743
|
return e;
|
|
@@ -23334,14 +23747,14 @@ function toKnownErr48(e) {
|
|
|
23334
23747
|
var getHead_exports = {};
|
|
23335
23748
|
__export(getHead_exports, {
|
|
23336
23749
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
23337
|
-
toKnownErr: () =>
|
|
23750
|
+
toKnownErr: () => toKnownErr53
|
|
23338
23751
|
});
|
|
23339
23752
|
var HeadNotFoundError = class extends XRPCError {
|
|
23340
23753
|
constructor(src2) {
|
|
23341
23754
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23342
23755
|
}
|
|
23343
23756
|
};
|
|
23344
|
-
function
|
|
23757
|
+
function toKnownErr53(e) {
|
|
23345
23758
|
if (e instanceof XRPCError) {
|
|
23346
23759
|
if (e.error === "HeadNotFound")
|
|
23347
23760
|
return new HeadNotFoundError(e);
|
|
@@ -23353,14 +23766,14 @@ function toKnownErr49(e) {
|
|
|
23353
23766
|
var getLatestCommit_exports = {};
|
|
23354
23767
|
__export(getLatestCommit_exports, {
|
|
23355
23768
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
23356
|
-
toKnownErr: () =>
|
|
23769
|
+
toKnownErr: () => toKnownErr54
|
|
23357
23770
|
});
|
|
23358
23771
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
23359
23772
|
constructor(src2) {
|
|
23360
23773
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23361
23774
|
}
|
|
23362
23775
|
};
|
|
23363
|
-
function
|
|
23776
|
+
function toKnownErr54(e) {
|
|
23364
23777
|
if (e instanceof XRPCError) {
|
|
23365
23778
|
if (e.error === "RepoNotFound")
|
|
23366
23779
|
return new RepoNotFoundError2(e);
|
|
@@ -23371,9 +23784,9 @@ function toKnownErr50(e) {
|
|
|
23371
23784
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
23372
23785
|
var getRecord_exports3 = {};
|
|
23373
23786
|
__export(getRecord_exports3, {
|
|
23374
|
-
toKnownErr: () =>
|
|
23787
|
+
toKnownErr: () => toKnownErr55
|
|
23375
23788
|
});
|
|
23376
|
-
function
|
|
23789
|
+
function toKnownErr55(e) {
|
|
23377
23790
|
if (e instanceof XRPCError) {
|
|
23378
23791
|
}
|
|
23379
23792
|
return e;
|
|
@@ -23382,9 +23795,9 @@ function toKnownErr51(e) {
|
|
|
23382
23795
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
23383
23796
|
var getRepo_exports2 = {};
|
|
23384
23797
|
__export(getRepo_exports2, {
|
|
23385
|
-
toKnownErr: () =>
|
|
23798
|
+
toKnownErr: () => toKnownErr56
|
|
23386
23799
|
});
|
|
23387
|
-
function
|
|
23800
|
+
function toKnownErr56(e) {
|
|
23388
23801
|
if (e instanceof XRPCError) {
|
|
23389
23802
|
}
|
|
23390
23803
|
return e;
|
|
@@ -23393,9 +23806,9 @@ function toKnownErr52(e) {
|
|
|
23393
23806
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
23394
23807
|
var listBlobs_exports = {};
|
|
23395
23808
|
__export(listBlobs_exports, {
|
|
23396
|
-
toKnownErr: () =>
|
|
23809
|
+
toKnownErr: () => toKnownErr57
|
|
23397
23810
|
});
|
|
23398
|
-
function
|
|
23811
|
+
function toKnownErr57(e) {
|
|
23399
23812
|
if (e instanceof XRPCError) {
|
|
23400
23813
|
}
|
|
23401
23814
|
return e;
|
|
@@ -23405,10 +23818,10 @@ function toKnownErr53(e) {
|
|
|
23405
23818
|
var listRepos_exports = {};
|
|
23406
23819
|
__export(listRepos_exports, {
|
|
23407
23820
|
isRepo: () => isRepo,
|
|
23408
|
-
toKnownErr: () =>
|
|
23821
|
+
toKnownErr: () => toKnownErr58,
|
|
23409
23822
|
validateRepo: () => validateRepo
|
|
23410
23823
|
});
|
|
23411
|
-
function
|
|
23824
|
+
function toKnownErr58(e) {
|
|
23412
23825
|
if (e instanceof XRPCError) {
|
|
23413
23826
|
}
|
|
23414
23827
|
return e;
|
|
@@ -23423,9 +23836,9 @@ function validateRepo(v) {
|
|
|
23423
23836
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
23424
23837
|
var notifyOfUpdate_exports = {};
|
|
23425
23838
|
__export(notifyOfUpdate_exports, {
|
|
23426
|
-
toKnownErr: () =>
|
|
23839
|
+
toKnownErr: () => toKnownErr59
|
|
23427
23840
|
});
|
|
23428
|
-
function
|
|
23841
|
+
function toKnownErr59(e) {
|
|
23429
23842
|
if (e instanceof XRPCError) {
|
|
23430
23843
|
}
|
|
23431
23844
|
return e;
|
|
@@ -23434,9 +23847,9 @@ function toKnownErr55(e) {
|
|
|
23434
23847
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
23435
23848
|
var requestCrawl_exports = {};
|
|
23436
23849
|
__export(requestCrawl_exports, {
|
|
23437
|
-
toKnownErr: () =>
|
|
23850
|
+
toKnownErr: () => toKnownErr60
|
|
23438
23851
|
});
|
|
23439
|
-
function
|
|
23852
|
+
function toKnownErr60(e) {
|
|
23440
23853
|
if (e instanceof XRPCError) {
|
|
23441
23854
|
}
|
|
23442
23855
|
return e;
|
|
@@ -23445,9 +23858,9 @@ function toKnownErr56(e) {
|
|
|
23445
23858
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
23446
23859
|
var getPreferences_exports = {};
|
|
23447
23860
|
__export(getPreferences_exports, {
|
|
23448
|
-
toKnownErr: () =>
|
|
23861
|
+
toKnownErr: () => toKnownErr61
|
|
23449
23862
|
});
|
|
23450
|
-
function
|
|
23863
|
+
function toKnownErr61(e) {
|
|
23451
23864
|
if (e instanceof XRPCError) {
|
|
23452
23865
|
}
|
|
23453
23866
|
return e;
|
|
@@ -23456,9 +23869,9 @@ function toKnownErr57(e) {
|
|
|
23456
23869
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
23457
23870
|
var getProfile_exports = {};
|
|
23458
23871
|
__export(getProfile_exports, {
|
|
23459
|
-
toKnownErr: () =>
|
|
23872
|
+
toKnownErr: () => toKnownErr62
|
|
23460
23873
|
});
|
|
23461
|
-
function
|
|
23874
|
+
function toKnownErr62(e) {
|
|
23462
23875
|
if (e instanceof XRPCError) {
|
|
23463
23876
|
}
|
|
23464
23877
|
return e;
|
|
@@ -23467,9 +23880,9 @@ function toKnownErr58(e) {
|
|
|
23467
23880
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
23468
23881
|
var getProfiles_exports = {};
|
|
23469
23882
|
__export(getProfiles_exports, {
|
|
23470
|
-
toKnownErr: () =>
|
|
23883
|
+
toKnownErr: () => toKnownErr63
|
|
23471
23884
|
});
|
|
23472
|
-
function
|
|
23885
|
+
function toKnownErr63(e) {
|
|
23473
23886
|
if (e instanceof XRPCError) {
|
|
23474
23887
|
}
|
|
23475
23888
|
return e;
|
|
@@ -23478,9 +23891,9 @@ function toKnownErr59(e) {
|
|
|
23478
23891
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
23479
23892
|
var getSuggestions_exports = {};
|
|
23480
23893
|
__export(getSuggestions_exports, {
|
|
23481
|
-
toKnownErr: () =>
|
|
23894
|
+
toKnownErr: () => toKnownErr64
|
|
23482
23895
|
});
|
|
23483
|
-
function
|
|
23896
|
+
function toKnownErr64(e) {
|
|
23484
23897
|
if (e instanceof XRPCError) {
|
|
23485
23898
|
}
|
|
23486
23899
|
return e;
|
|
@@ -23489,9 +23902,9 @@ function toKnownErr60(e) {
|
|
|
23489
23902
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
23490
23903
|
var putPreferences_exports = {};
|
|
23491
23904
|
__export(putPreferences_exports, {
|
|
23492
|
-
toKnownErr: () =>
|
|
23905
|
+
toKnownErr: () => toKnownErr65
|
|
23493
23906
|
});
|
|
23494
|
-
function
|
|
23907
|
+
function toKnownErr65(e) {
|
|
23495
23908
|
if (e instanceof XRPCError) {
|
|
23496
23909
|
}
|
|
23497
23910
|
return e;
|
|
@@ -23500,9 +23913,9 @@ function toKnownErr61(e) {
|
|
|
23500
23913
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
23501
23914
|
var searchActors_exports = {};
|
|
23502
23915
|
__export(searchActors_exports, {
|
|
23503
|
-
toKnownErr: () =>
|
|
23916
|
+
toKnownErr: () => toKnownErr66
|
|
23504
23917
|
});
|
|
23505
|
-
function
|
|
23918
|
+
function toKnownErr66(e) {
|
|
23506
23919
|
if (e instanceof XRPCError) {
|
|
23507
23920
|
}
|
|
23508
23921
|
return e;
|
|
@@ -23511,9 +23924,9 @@ function toKnownErr62(e) {
|
|
|
23511
23924
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
23512
23925
|
var searchActorsTypeahead_exports = {};
|
|
23513
23926
|
__export(searchActorsTypeahead_exports, {
|
|
23514
|
-
toKnownErr: () =>
|
|
23927
|
+
toKnownErr: () => toKnownErr67
|
|
23515
23928
|
});
|
|
23516
|
-
function
|
|
23929
|
+
function toKnownErr67(e) {
|
|
23517
23930
|
if (e instanceof XRPCError) {
|
|
23518
23931
|
}
|
|
23519
23932
|
return e;
|
|
@@ -23524,11 +23937,11 @@ var describeFeedGenerator_exports = {};
|
|
|
23524
23937
|
__export(describeFeedGenerator_exports, {
|
|
23525
23938
|
isFeed: () => isFeed,
|
|
23526
23939
|
isLinks: () => isLinks2,
|
|
23527
|
-
toKnownErr: () =>
|
|
23940
|
+
toKnownErr: () => toKnownErr68,
|
|
23528
23941
|
validateFeed: () => validateFeed,
|
|
23529
23942
|
validateLinks: () => validateLinks2
|
|
23530
23943
|
});
|
|
23531
|
-
function
|
|
23944
|
+
function toKnownErr68(e) {
|
|
23532
23945
|
if (e instanceof XRPCError) {
|
|
23533
23946
|
}
|
|
23534
23947
|
return e;
|
|
@@ -23549,9 +23962,9 @@ function validateLinks2(v) {
|
|
|
23549
23962
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
23550
23963
|
var getActorFeeds_exports = {};
|
|
23551
23964
|
__export(getActorFeeds_exports, {
|
|
23552
|
-
toKnownErr: () =>
|
|
23965
|
+
toKnownErr: () => toKnownErr69
|
|
23553
23966
|
});
|
|
23554
|
-
function
|
|
23967
|
+
function toKnownErr69(e) {
|
|
23555
23968
|
if (e instanceof XRPCError) {
|
|
23556
23969
|
}
|
|
23557
23970
|
return e;
|
|
@@ -23562,7 +23975,7 @@ var getActorLikes_exports = {};
|
|
|
23562
23975
|
__export(getActorLikes_exports, {
|
|
23563
23976
|
BlockedActorError: () => BlockedActorError,
|
|
23564
23977
|
BlockedByActorError: () => BlockedByActorError,
|
|
23565
|
-
toKnownErr: () =>
|
|
23978
|
+
toKnownErr: () => toKnownErr70
|
|
23566
23979
|
});
|
|
23567
23980
|
var BlockedActorError = class extends XRPCError {
|
|
23568
23981
|
constructor(src2) {
|
|
@@ -23574,7 +23987,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
23574
23987
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23575
23988
|
}
|
|
23576
23989
|
};
|
|
23577
|
-
function
|
|
23990
|
+
function toKnownErr70(e) {
|
|
23578
23991
|
if (e instanceof XRPCError) {
|
|
23579
23992
|
if (e.error === "BlockedActor")
|
|
23580
23993
|
return new BlockedActorError(e);
|
|
@@ -23589,7 +24002,7 @@ var getAuthorFeed_exports = {};
|
|
|
23589
24002
|
__export(getAuthorFeed_exports, {
|
|
23590
24003
|
BlockedActorError: () => BlockedActorError2,
|
|
23591
24004
|
BlockedByActorError: () => BlockedByActorError2,
|
|
23592
|
-
toKnownErr: () =>
|
|
24005
|
+
toKnownErr: () => toKnownErr71
|
|
23593
24006
|
});
|
|
23594
24007
|
var BlockedActorError2 = class extends XRPCError {
|
|
23595
24008
|
constructor(src2) {
|
|
@@ -23601,7 +24014,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
23601
24014
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23602
24015
|
}
|
|
23603
24016
|
};
|
|
23604
|
-
function
|
|
24017
|
+
function toKnownErr71(e) {
|
|
23605
24018
|
if (e instanceof XRPCError) {
|
|
23606
24019
|
if (e.error === "BlockedActor")
|
|
23607
24020
|
return new BlockedActorError2(e);
|
|
@@ -23615,14 +24028,14 @@ function toKnownErr67(e) {
|
|
|
23615
24028
|
var getFeed_exports = {};
|
|
23616
24029
|
__export(getFeed_exports, {
|
|
23617
24030
|
UnknownFeedError: () => UnknownFeedError,
|
|
23618
|
-
toKnownErr: () =>
|
|
24031
|
+
toKnownErr: () => toKnownErr72
|
|
23619
24032
|
});
|
|
23620
24033
|
var UnknownFeedError = class extends XRPCError {
|
|
23621
24034
|
constructor(src2) {
|
|
23622
24035
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23623
24036
|
}
|
|
23624
24037
|
};
|
|
23625
|
-
function
|
|
24038
|
+
function toKnownErr72(e) {
|
|
23626
24039
|
if (e instanceof XRPCError) {
|
|
23627
24040
|
if (e.error === "UnknownFeed")
|
|
23628
24041
|
return new UnknownFeedError(e);
|
|
@@ -23633,9 +24046,9 @@ function toKnownErr68(e) {
|
|
|
23633
24046
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
23634
24047
|
var getFeedGenerator_exports = {};
|
|
23635
24048
|
__export(getFeedGenerator_exports, {
|
|
23636
|
-
toKnownErr: () =>
|
|
24049
|
+
toKnownErr: () => toKnownErr73
|
|
23637
24050
|
});
|
|
23638
|
-
function
|
|
24051
|
+
function toKnownErr73(e) {
|
|
23639
24052
|
if (e instanceof XRPCError) {
|
|
23640
24053
|
}
|
|
23641
24054
|
return e;
|
|
@@ -23644,9 +24057,9 @@ function toKnownErr69(e) {
|
|
|
23644
24057
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
23645
24058
|
var getFeedGenerators_exports = {};
|
|
23646
24059
|
__export(getFeedGenerators_exports, {
|
|
23647
|
-
toKnownErr: () =>
|
|
24060
|
+
toKnownErr: () => toKnownErr74
|
|
23648
24061
|
});
|
|
23649
|
-
function
|
|
24062
|
+
function toKnownErr74(e) {
|
|
23650
24063
|
if (e instanceof XRPCError) {
|
|
23651
24064
|
}
|
|
23652
24065
|
return e;
|
|
@@ -23656,14 +24069,14 @@ function toKnownErr70(e) {
|
|
|
23656
24069
|
var getFeedSkeleton_exports = {};
|
|
23657
24070
|
__export(getFeedSkeleton_exports, {
|
|
23658
24071
|
UnknownFeedError: () => UnknownFeedError2,
|
|
23659
|
-
toKnownErr: () =>
|
|
24072
|
+
toKnownErr: () => toKnownErr75
|
|
23660
24073
|
});
|
|
23661
24074
|
var UnknownFeedError2 = class extends XRPCError {
|
|
23662
24075
|
constructor(src2) {
|
|
23663
24076
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23664
24077
|
}
|
|
23665
24078
|
};
|
|
23666
|
-
function
|
|
24079
|
+
function toKnownErr75(e) {
|
|
23667
24080
|
if (e instanceof XRPCError) {
|
|
23668
24081
|
if (e.error === "UnknownFeed")
|
|
23669
24082
|
return new UnknownFeedError2(e);
|
|
@@ -23675,10 +24088,10 @@ function toKnownErr71(e) {
|
|
|
23675
24088
|
var getLikes_exports = {};
|
|
23676
24089
|
__export(getLikes_exports, {
|
|
23677
24090
|
isLike: () => isLike,
|
|
23678
|
-
toKnownErr: () =>
|
|
24091
|
+
toKnownErr: () => toKnownErr76,
|
|
23679
24092
|
validateLike: () => validateLike
|
|
23680
24093
|
});
|
|
23681
|
-
function
|
|
24094
|
+
function toKnownErr76(e) {
|
|
23682
24095
|
if (e instanceof XRPCError) {
|
|
23683
24096
|
}
|
|
23684
24097
|
return e;
|
|
@@ -23694,14 +24107,14 @@ function validateLike(v) {
|
|
|
23694
24107
|
var getListFeed_exports = {};
|
|
23695
24108
|
__export(getListFeed_exports, {
|
|
23696
24109
|
UnknownListError: () => UnknownListError,
|
|
23697
|
-
toKnownErr: () =>
|
|
24110
|
+
toKnownErr: () => toKnownErr77
|
|
23698
24111
|
});
|
|
23699
24112
|
var UnknownListError = class extends XRPCError {
|
|
23700
24113
|
constructor(src2) {
|
|
23701
24114
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23702
24115
|
}
|
|
23703
24116
|
};
|
|
23704
|
-
function
|
|
24117
|
+
function toKnownErr77(e) {
|
|
23705
24118
|
if (e instanceof XRPCError) {
|
|
23706
24119
|
if (e.error === "UnknownList")
|
|
23707
24120
|
return new UnknownListError(e);
|
|
@@ -23713,14 +24126,14 @@ function toKnownErr73(e) {
|
|
|
23713
24126
|
var getPostThread_exports = {};
|
|
23714
24127
|
__export(getPostThread_exports, {
|
|
23715
24128
|
NotFoundError: () => NotFoundError,
|
|
23716
|
-
toKnownErr: () =>
|
|
24129
|
+
toKnownErr: () => toKnownErr78
|
|
23717
24130
|
});
|
|
23718
24131
|
var NotFoundError = class extends XRPCError {
|
|
23719
24132
|
constructor(src2) {
|
|
23720
24133
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23721
24134
|
}
|
|
23722
24135
|
};
|
|
23723
|
-
function
|
|
24136
|
+
function toKnownErr78(e) {
|
|
23724
24137
|
if (e instanceof XRPCError) {
|
|
23725
24138
|
if (e.error === "NotFound")
|
|
23726
24139
|
return new NotFoundError(e);
|
|
@@ -23731,9 +24144,9 @@ function toKnownErr74(e) {
|
|
|
23731
24144
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
23732
24145
|
var getPosts_exports = {};
|
|
23733
24146
|
__export(getPosts_exports, {
|
|
23734
|
-
toKnownErr: () =>
|
|
24147
|
+
toKnownErr: () => toKnownErr79
|
|
23735
24148
|
});
|
|
23736
|
-
function
|
|
24149
|
+
function toKnownErr79(e) {
|
|
23737
24150
|
if (e instanceof XRPCError) {
|
|
23738
24151
|
}
|
|
23739
24152
|
return e;
|
|
@@ -23742,9 +24155,9 @@ function toKnownErr75(e) {
|
|
|
23742
24155
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
23743
24156
|
var getRepostedBy_exports = {};
|
|
23744
24157
|
__export(getRepostedBy_exports, {
|
|
23745
|
-
toKnownErr: () =>
|
|
24158
|
+
toKnownErr: () => toKnownErr80
|
|
23746
24159
|
});
|
|
23747
|
-
function
|
|
24160
|
+
function toKnownErr80(e) {
|
|
23748
24161
|
if (e instanceof XRPCError) {
|
|
23749
24162
|
}
|
|
23750
24163
|
return e;
|
|
@@ -23753,9 +24166,9 @@ function toKnownErr76(e) {
|
|
|
23753
24166
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
23754
24167
|
var getSuggestedFeeds_exports = {};
|
|
23755
24168
|
__export(getSuggestedFeeds_exports, {
|
|
23756
|
-
toKnownErr: () =>
|
|
24169
|
+
toKnownErr: () => toKnownErr81
|
|
23757
24170
|
});
|
|
23758
|
-
function
|
|
24171
|
+
function toKnownErr81(e) {
|
|
23759
24172
|
if (e instanceof XRPCError) {
|
|
23760
24173
|
}
|
|
23761
24174
|
return e;
|
|
@@ -23764,20 +24177,39 @@ function toKnownErr77(e) {
|
|
|
23764
24177
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
23765
24178
|
var getTimeline_exports = {};
|
|
23766
24179
|
__export(getTimeline_exports, {
|
|
23767
|
-
toKnownErr: () =>
|
|
24180
|
+
toKnownErr: () => toKnownErr82
|
|
23768
24181
|
});
|
|
23769
|
-
function
|
|
24182
|
+
function toKnownErr82(e) {
|
|
23770
24183
|
if (e instanceof XRPCError) {
|
|
23771
24184
|
}
|
|
23772
24185
|
return e;
|
|
23773
24186
|
}
|
|
23774
24187
|
|
|
24188
|
+
// src/client/types/app/bsky/feed/searchPosts.ts
|
|
24189
|
+
var searchPosts_exports = {};
|
|
24190
|
+
__export(searchPosts_exports, {
|
|
24191
|
+
BadQueryStringError: () => BadQueryStringError,
|
|
24192
|
+
toKnownErr: () => toKnownErr83
|
|
24193
|
+
});
|
|
24194
|
+
var BadQueryStringError = class extends XRPCError {
|
|
24195
|
+
constructor(src2) {
|
|
24196
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24197
|
+
}
|
|
24198
|
+
};
|
|
24199
|
+
function toKnownErr83(e) {
|
|
24200
|
+
if (e instanceof XRPCError) {
|
|
24201
|
+
if (e.error === "BadQueryString")
|
|
24202
|
+
return new BadQueryStringError(e);
|
|
24203
|
+
}
|
|
24204
|
+
return e;
|
|
24205
|
+
}
|
|
24206
|
+
|
|
23775
24207
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
23776
24208
|
var getBlocks_exports2 = {};
|
|
23777
24209
|
__export(getBlocks_exports2, {
|
|
23778
|
-
toKnownErr: () =>
|
|
24210
|
+
toKnownErr: () => toKnownErr84
|
|
23779
24211
|
});
|
|
23780
|
-
function
|
|
24212
|
+
function toKnownErr84(e) {
|
|
23781
24213
|
if (e instanceof XRPCError) {
|
|
23782
24214
|
}
|
|
23783
24215
|
return e;
|
|
@@ -23786,9 +24218,9 @@ function toKnownErr79(e) {
|
|
|
23786
24218
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
23787
24219
|
var getFollowers_exports = {};
|
|
23788
24220
|
__export(getFollowers_exports, {
|
|
23789
|
-
toKnownErr: () =>
|
|
24221
|
+
toKnownErr: () => toKnownErr85
|
|
23790
24222
|
});
|
|
23791
|
-
function
|
|
24223
|
+
function toKnownErr85(e) {
|
|
23792
24224
|
if (e instanceof XRPCError) {
|
|
23793
24225
|
}
|
|
23794
24226
|
return e;
|
|
@@ -23797,9 +24229,9 @@ function toKnownErr80(e) {
|
|
|
23797
24229
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
23798
24230
|
var getFollows_exports = {};
|
|
23799
24231
|
__export(getFollows_exports, {
|
|
23800
|
-
toKnownErr: () =>
|
|
24232
|
+
toKnownErr: () => toKnownErr86
|
|
23801
24233
|
});
|
|
23802
|
-
function
|
|
24234
|
+
function toKnownErr86(e) {
|
|
23803
24235
|
if (e instanceof XRPCError) {
|
|
23804
24236
|
}
|
|
23805
24237
|
return e;
|
|
@@ -23808,9 +24240,9 @@ function toKnownErr81(e) {
|
|
|
23808
24240
|
// src/client/types/app/bsky/graph/getList.ts
|
|
23809
24241
|
var getList_exports = {};
|
|
23810
24242
|
__export(getList_exports, {
|
|
23811
|
-
toKnownErr: () =>
|
|
24243
|
+
toKnownErr: () => toKnownErr87
|
|
23812
24244
|
});
|
|
23813
|
-
function
|
|
24245
|
+
function toKnownErr87(e) {
|
|
23814
24246
|
if (e instanceof XRPCError) {
|
|
23815
24247
|
}
|
|
23816
24248
|
return e;
|
|
@@ -23819,9 +24251,9 @@ function toKnownErr82(e) {
|
|
|
23819
24251
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
23820
24252
|
var getListBlocks_exports = {};
|
|
23821
24253
|
__export(getListBlocks_exports, {
|
|
23822
|
-
toKnownErr: () =>
|
|
24254
|
+
toKnownErr: () => toKnownErr88
|
|
23823
24255
|
});
|
|
23824
|
-
function
|
|
24256
|
+
function toKnownErr88(e) {
|
|
23825
24257
|
if (e instanceof XRPCError) {
|
|
23826
24258
|
}
|
|
23827
24259
|
return e;
|
|
@@ -23830,9 +24262,9 @@ function toKnownErr83(e) {
|
|
|
23830
24262
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
23831
24263
|
var getListMutes_exports = {};
|
|
23832
24264
|
__export(getListMutes_exports, {
|
|
23833
|
-
toKnownErr: () =>
|
|
24265
|
+
toKnownErr: () => toKnownErr89
|
|
23834
24266
|
});
|
|
23835
|
-
function
|
|
24267
|
+
function toKnownErr89(e) {
|
|
23836
24268
|
if (e instanceof XRPCError) {
|
|
23837
24269
|
}
|
|
23838
24270
|
return e;
|
|
@@ -23841,9 +24273,9 @@ function toKnownErr84(e) {
|
|
|
23841
24273
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
23842
24274
|
var getLists_exports = {};
|
|
23843
24275
|
__export(getLists_exports, {
|
|
23844
|
-
toKnownErr: () =>
|
|
24276
|
+
toKnownErr: () => toKnownErr90
|
|
23845
24277
|
});
|
|
23846
|
-
function
|
|
24278
|
+
function toKnownErr90(e) {
|
|
23847
24279
|
if (e instanceof XRPCError) {
|
|
23848
24280
|
}
|
|
23849
24281
|
return e;
|
|
@@ -23852,9 +24284,9 @@ function toKnownErr85(e) {
|
|
|
23852
24284
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
23853
24285
|
var getMutes_exports = {};
|
|
23854
24286
|
__export(getMutes_exports, {
|
|
23855
|
-
toKnownErr: () =>
|
|
24287
|
+
toKnownErr: () => toKnownErr91
|
|
23856
24288
|
});
|
|
23857
|
-
function
|
|
24289
|
+
function toKnownErr91(e) {
|
|
23858
24290
|
if (e instanceof XRPCError) {
|
|
23859
24291
|
}
|
|
23860
24292
|
return e;
|
|
@@ -23863,9 +24295,9 @@ function toKnownErr86(e) {
|
|
|
23863
24295
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
23864
24296
|
var getSuggestedFollowsByActor_exports = {};
|
|
23865
24297
|
__export(getSuggestedFollowsByActor_exports, {
|
|
23866
|
-
toKnownErr: () =>
|
|
24298
|
+
toKnownErr: () => toKnownErr92
|
|
23867
24299
|
});
|
|
23868
|
-
function
|
|
24300
|
+
function toKnownErr92(e) {
|
|
23869
24301
|
if (e instanceof XRPCError) {
|
|
23870
24302
|
}
|
|
23871
24303
|
return e;
|
|
@@ -23874,9 +24306,9 @@ function toKnownErr87(e) {
|
|
|
23874
24306
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
23875
24307
|
var muteActor_exports = {};
|
|
23876
24308
|
__export(muteActor_exports, {
|
|
23877
|
-
toKnownErr: () =>
|
|
24309
|
+
toKnownErr: () => toKnownErr93
|
|
23878
24310
|
});
|
|
23879
|
-
function
|
|
24311
|
+
function toKnownErr93(e) {
|
|
23880
24312
|
if (e instanceof XRPCError) {
|
|
23881
24313
|
}
|
|
23882
24314
|
return e;
|
|
@@ -23885,9 +24317,9 @@ function toKnownErr88(e) {
|
|
|
23885
24317
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
23886
24318
|
var muteActorList_exports = {};
|
|
23887
24319
|
__export(muteActorList_exports, {
|
|
23888
|
-
toKnownErr: () =>
|
|
24320
|
+
toKnownErr: () => toKnownErr94
|
|
23889
24321
|
});
|
|
23890
|
-
function
|
|
24322
|
+
function toKnownErr94(e) {
|
|
23891
24323
|
if (e instanceof XRPCError) {
|
|
23892
24324
|
}
|
|
23893
24325
|
return e;
|
|
@@ -23896,9 +24328,9 @@ function toKnownErr89(e) {
|
|
|
23896
24328
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
23897
24329
|
var unmuteActor_exports = {};
|
|
23898
24330
|
__export(unmuteActor_exports, {
|
|
23899
|
-
toKnownErr: () =>
|
|
24331
|
+
toKnownErr: () => toKnownErr95
|
|
23900
24332
|
});
|
|
23901
|
-
function
|
|
24333
|
+
function toKnownErr95(e) {
|
|
23902
24334
|
if (e instanceof XRPCError) {
|
|
23903
24335
|
}
|
|
23904
24336
|
return e;
|
|
@@ -23907,9 +24339,9 @@ function toKnownErr90(e) {
|
|
|
23907
24339
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
23908
24340
|
var unmuteActorList_exports = {};
|
|
23909
24341
|
__export(unmuteActorList_exports, {
|
|
23910
|
-
toKnownErr: () =>
|
|
24342
|
+
toKnownErr: () => toKnownErr96
|
|
23911
24343
|
});
|
|
23912
|
-
function
|
|
24344
|
+
function toKnownErr96(e) {
|
|
23913
24345
|
if (e instanceof XRPCError) {
|
|
23914
24346
|
}
|
|
23915
24347
|
return e;
|
|
@@ -23918,9 +24350,9 @@ function toKnownErr91(e) {
|
|
|
23918
24350
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
23919
24351
|
var getUnreadCount_exports = {};
|
|
23920
24352
|
__export(getUnreadCount_exports, {
|
|
23921
|
-
toKnownErr: () =>
|
|
24353
|
+
toKnownErr: () => toKnownErr97
|
|
23922
24354
|
});
|
|
23923
|
-
function
|
|
24355
|
+
function toKnownErr97(e) {
|
|
23924
24356
|
if (e instanceof XRPCError) {
|
|
23925
24357
|
}
|
|
23926
24358
|
return e;
|
|
@@ -23930,10 +24362,10 @@ function toKnownErr92(e) {
|
|
|
23930
24362
|
var listNotifications_exports = {};
|
|
23931
24363
|
__export(listNotifications_exports, {
|
|
23932
24364
|
isNotification: () => isNotification,
|
|
23933
|
-
toKnownErr: () =>
|
|
24365
|
+
toKnownErr: () => toKnownErr98,
|
|
23934
24366
|
validateNotification: () => validateNotification
|
|
23935
24367
|
});
|
|
23936
|
-
function
|
|
24368
|
+
function toKnownErr98(e) {
|
|
23937
24369
|
if (e instanceof XRPCError) {
|
|
23938
24370
|
}
|
|
23939
24371
|
return e;
|
|
@@ -23948,9 +24380,9 @@ function validateNotification(v) {
|
|
|
23948
24380
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
23949
24381
|
var registerPush_exports = {};
|
|
23950
24382
|
__export(registerPush_exports, {
|
|
23951
|
-
toKnownErr: () =>
|
|
24383
|
+
toKnownErr: () => toKnownErr99
|
|
23952
24384
|
});
|
|
23953
|
-
function
|
|
24385
|
+
function toKnownErr99(e) {
|
|
23954
24386
|
if (e instanceof XRPCError) {
|
|
23955
24387
|
}
|
|
23956
24388
|
return e;
|
|
@@ -23959,20 +24391,9 @@ function toKnownErr94(e) {
|
|
|
23959
24391
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
23960
24392
|
var updateSeen_exports = {};
|
|
23961
24393
|
__export(updateSeen_exports, {
|
|
23962
|
-
toKnownErr: () =>
|
|
23963
|
-
});
|
|
23964
|
-
function toKnownErr95(e) {
|
|
23965
|
-
if (e instanceof XRPCError) {
|
|
23966
|
-
}
|
|
23967
|
-
return e;
|
|
23968
|
-
}
|
|
23969
|
-
|
|
23970
|
-
// src/client/types/app/bsky/unspecced/applyLabels.ts
|
|
23971
|
-
var applyLabels_exports = {};
|
|
23972
|
-
__export(applyLabels_exports, {
|
|
23973
|
-
toKnownErr: () => toKnownErr96
|
|
24394
|
+
toKnownErr: () => toKnownErr100
|
|
23974
24395
|
});
|
|
23975
|
-
function
|
|
24396
|
+
function toKnownErr100(e) {
|
|
23976
24397
|
if (e instanceof XRPCError) {
|
|
23977
24398
|
}
|
|
23978
24399
|
return e;
|
|
@@ -23981,9 +24402,9 @@ function toKnownErr96(e) {
|
|
|
23981
24402
|
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
23982
24403
|
var getPopular_exports = {};
|
|
23983
24404
|
__export(getPopular_exports, {
|
|
23984
|
-
toKnownErr: () =>
|
|
24405
|
+
toKnownErr: () => toKnownErr101
|
|
23985
24406
|
});
|
|
23986
|
-
function
|
|
24407
|
+
function toKnownErr101(e) {
|
|
23987
24408
|
if (e instanceof XRPCError) {
|
|
23988
24409
|
}
|
|
23989
24410
|
return e;
|
|
@@ -23992,9 +24413,9 @@ function toKnownErr97(e) {
|
|
|
23992
24413
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
23993
24414
|
var getPopularFeedGenerators_exports = {};
|
|
23994
24415
|
__export(getPopularFeedGenerators_exports, {
|
|
23995
|
-
toKnownErr: () =>
|
|
24416
|
+
toKnownErr: () => toKnownErr102
|
|
23996
24417
|
});
|
|
23997
|
-
function
|
|
24418
|
+
function toKnownErr102(e) {
|
|
23998
24419
|
if (e instanceof XRPCError) {
|
|
23999
24420
|
}
|
|
24000
24421
|
return e;
|
|
@@ -24004,14 +24425,14 @@ function toKnownErr98(e) {
|
|
|
24004
24425
|
var getTimelineSkeleton_exports = {};
|
|
24005
24426
|
__export(getTimelineSkeleton_exports, {
|
|
24006
24427
|
UnknownFeedError: () => UnknownFeedError3,
|
|
24007
|
-
toKnownErr: () =>
|
|
24428
|
+
toKnownErr: () => toKnownErr103
|
|
24008
24429
|
});
|
|
24009
24430
|
var UnknownFeedError3 = class extends XRPCError {
|
|
24010
24431
|
constructor(src2) {
|
|
24011
24432
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24012
24433
|
}
|
|
24013
24434
|
};
|
|
24014
|
-
function
|
|
24435
|
+
function toKnownErr103(e) {
|
|
24015
24436
|
if (e instanceof XRPCError) {
|
|
24016
24437
|
if (e.error === "UnknownFeed")
|
|
24017
24438
|
return new UnknownFeedError3(e);
|
|
@@ -24019,6 +24440,44 @@ function toKnownErr99(e) {
|
|
|
24019
24440
|
return e;
|
|
24020
24441
|
}
|
|
24021
24442
|
|
|
24443
|
+
// src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts
|
|
24444
|
+
var searchActorsSkeleton_exports = {};
|
|
24445
|
+
__export(searchActorsSkeleton_exports, {
|
|
24446
|
+
BadQueryStringError: () => BadQueryStringError2,
|
|
24447
|
+
toKnownErr: () => toKnownErr104
|
|
24448
|
+
});
|
|
24449
|
+
var BadQueryStringError2 = class extends XRPCError {
|
|
24450
|
+
constructor(src2) {
|
|
24451
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24452
|
+
}
|
|
24453
|
+
};
|
|
24454
|
+
function toKnownErr104(e) {
|
|
24455
|
+
if (e instanceof XRPCError) {
|
|
24456
|
+
if (e.error === "BadQueryString")
|
|
24457
|
+
return new BadQueryStringError2(e);
|
|
24458
|
+
}
|
|
24459
|
+
return e;
|
|
24460
|
+
}
|
|
24461
|
+
|
|
24462
|
+
// src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts
|
|
24463
|
+
var searchPostsSkeleton_exports = {};
|
|
24464
|
+
__export(searchPostsSkeleton_exports, {
|
|
24465
|
+
BadQueryStringError: () => BadQueryStringError3,
|
|
24466
|
+
toKnownErr: () => toKnownErr105
|
|
24467
|
+
});
|
|
24468
|
+
var BadQueryStringError3 = class extends XRPCError {
|
|
24469
|
+
constructor(src2) {
|
|
24470
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24471
|
+
}
|
|
24472
|
+
};
|
|
24473
|
+
function toKnownErr105(e) {
|
|
24474
|
+
if (e instanceof XRPCError) {
|
|
24475
|
+
if (e.error === "BadQueryString")
|
|
24476
|
+
return new BadQueryStringError3(e);
|
|
24477
|
+
}
|
|
24478
|
+
return e;
|
|
24479
|
+
}
|
|
24480
|
+
|
|
24022
24481
|
// src/client/types/com/atproto/admin/defs.ts
|
|
24023
24482
|
var defs_exports = {};
|
|
24024
24483
|
__export(defs_exports, {
|
|
@@ -24965,6 +25424,27 @@ function validateByteSlice(v) {
|
|
|
24965
25424
|
return lexicons.validate("app.bsky.richtext.facet#byteSlice", v);
|
|
24966
25425
|
}
|
|
24967
25426
|
|
|
25427
|
+
// src/client/types/app/bsky/unspecced/defs.ts
|
|
25428
|
+
var defs_exports8 = {};
|
|
25429
|
+
__export(defs_exports8, {
|
|
25430
|
+
isSkeletonSearchActor: () => isSkeletonSearchActor,
|
|
25431
|
+
isSkeletonSearchPost: () => isSkeletonSearchPost,
|
|
25432
|
+
validateSkeletonSearchActor: () => validateSkeletonSearchActor,
|
|
25433
|
+
validateSkeletonSearchPost: () => validateSkeletonSearchPost
|
|
25434
|
+
});
|
|
25435
|
+
function isSkeletonSearchPost(v) {
|
|
25436
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.unspecced.defs#skeletonSearchPost";
|
|
25437
|
+
}
|
|
25438
|
+
function validateSkeletonSearchPost(v) {
|
|
25439
|
+
return lexicons.validate("app.bsky.unspecced.defs#skeletonSearchPost", v);
|
|
25440
|
+
}
|
|
25441
|
+
function isSkeletonSearchActor(v) {
|
|
25442
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.unspecced.defs#skeletonSearchActor";
|
|
25443
|
+
}
|
|
25444
|
+
function validateSkeletonSearchActor(v) {
|
|
25445
|
+
return lexicons.validate("app.bsky.unspecced.defs#skeletonSearchActor", v);
|
|
25446
|
+
}
|
|
25447
|
+
|
|
24968
25448
|
// src/client/index.ts
|
|
24969
25449
|
var COM_ATPROTO_ADMIN = {
|
|
24970
25450
|
DefsTakedown: "com.atproto.admin.defs#takedown",
|
|
@@ -25196,84 +25676,104 @@ var ServerNS = class {
|
|
|
25196
25676
|
constructor(service) {
|
|
25197
25677
|
this._service = service;
|
|
25198
25678
|
}
|
|
25679
|
+
confirmEmail(data, opts) {
|
|
25680
|
+
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
25681
|
+
throw toKnownErr30(e);
|
|
25682
|
+
});
|
|
25683
|
+
}
|
|
25199
25684
|
createAccount(data, opts) {
|
|
25200
25685
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
25201
|
-
throw
|
|
25686
|
+
throw toKnownErr31(e);
|
|
25202
25687
|
});
|
|
25203
25688
|
}
|
|
25204
25689
|
createAppPassword(data, opts) {
|
|
25205
25690
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
25206
|
-
throw
|
|
25691
|
+
throw toKnownErr32(e);
|
|
25207
25692
|
});
|
|
25208
25693
|
}
|
|
25209
25694
|
createInviteCode(data, opts) {
|
|
25210
25695
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
25211
|
-
throw
|
|
25696
|
+
throw toKnownErr33(e);
|
|
25212
25697
|
});
|
|
25213
25698
|
}
|
|
25214
25699
|
createInviteCodes(data, opts) {
|
|
25215
25700
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
25216
|
-
throw
|
|
25701
|
+
throw toKnownErr34(e);
|
|
25217
25702
|
});
|
|
25218
25703
|
}
|
|
25219
25704
|
createSession(data, opts) {
|
|
25220
25705
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
25221
|
-
throw
|
|
25706
|
+
throw toKnownErr35(e);
|
|
25222
25707
|
});
|
|
25223
25708
|
}
|
|
25224
25709
|
deleteAccount(data, opts) {
|
|
25225
25710
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
25226
|
-
throw
|
|
25711
|
+
throw toKnownErr36(e);
|
|
25227
25712
|
});
|
|
25228
25713
|
}
|
|
25229
25714
|
deleteSession(data, opts) {
|
|
25230
25715
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
25231
|
-
throw
|
|
25716
|
+
throw toKnownErr37(e);
|
|
25232
25717
|
});
|
|
25233
25718
|
}
|
|
25234
25719
|
describeServer(params2, opts) {
|
|
25235
25720
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
25236
|
-
throw
|
|
25721
|
+
throw toKnownErr38(e);
|
|
25237
25722
|
});
|
|
25238
25723
|
}
|
|
25239
25724
|
getAccountInviteCodes(params2, opts) {
|
|
25240
25725
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
25241
|
-
throw
|
|
25726
|
+
throw toKnownErr39(e);
|
|
25242
25727
|
});
|
|
25243
25728
|
}
|
|
25244
25729
|
getSession(params2, opts) {
|
|
25245
25730
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
25246
|
-
throw
|
|
25731
|
+
throw toKnownErr40(e);
|
|
25247
25732
|
});
|
|
25248
25733
|
}
|
|
25249
25734
|
listAppPasswords(params2, opts) {
|
|
25250
25735
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
25251
|
-
throw
|
|
25736
|
+
throw toKnownErr41(e);
|
|
25252
25737
|
});
|
|
25253
25738
|
}
|
|
25254
25739
|
refreshSession(data, opts) {
|
|
25255
25740
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
25256
|
-
throw
|
|
25741
|
+
throw toKnownErr42(e);
|
|
25257
25742
|
});
|
|
25258
25743
|
}
|
|
25259
25744
|
requestAccountDelete(data, opts) {
|
|
25260
25745
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
25261
|
-
throw
|
|
25746
|
+
throw toKnownErr43(e);
|
|
25747
|
+
});
|
|
25748
|
+
}
|
|
25749
|
+
requestEmailConfirmation(data, opts) {
|
|
25750
|
+
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
25751
|
+
throw toKnownErr44(e);
|
|
25752
|
+
});
|
|
25753
|
+
}
|
|
25754
|
+
requestEmailUpdate(data, opts) {
|
|
25755
|
+
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
25756
|
+
throw toKnownErr45(e);
|
|
25262
25757
|
});
|
|
25263
25758
|
}
|
|
25264
25759
|
requestPasswordReset(data, opts) {
|
|
25265
25760
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
25266
|
-
throw
|
|
25761
|
+
throw toKnownErr46(e);
|
|
25267
25762
|
});
|
|
25268
25763
|
}
|
|
25269
25764
|
resetPassword(data, opts) {
|
|
25270
25765
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
25271
|
-
throw
|
|
25766
|
+
throw toKnownErr47(e);
|
|
25272
25767
|
});
|
|
25273
25768
|
}
|
|
25274
25769
|
revokeAppPassword(data, opts) {
|
|
25275
25770
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
25276
|
-
throw
|
|
25771
|
+
throw toKnownErr48(e);
|
|
25772
|
+
});
|
|
25773
|
+
}
|
|
25774
|
+
updateEmail(data, opts) {
|
|
25775
|
+
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
25776
|
+
throw toKnownErr49(e);
|
|
25277
25777
|
});
|
|
25278
25778
|
}
|
|
25279
25779
|
};
|
|
@@ -25283,57 +25783,57 @@ var SyncNS = class {
|
|
|
25283
25783
|
}
|
|
25284
25784
|
getBlob(params2, opts) {
|
|
25285
25785
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
25286
|
-
throw
|
|
25786
|
+
throw toKnownErr50(e);
|
|
25287
25787
|
});
|
|
25288
25788
|
}
|
|
25289
25789
|
getBlocks(params2, opts) {
|
|
25290
25790
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
25291
|
-
throw
|
|
25791
|
+
throw toKnownErr51(e);
|
|
25292
25792
|
});
|
|
25293
25793
|
}
|
|
25294
25794
|
getCheckout(params2, opts) {
|
|
25295
25795
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
25296
|
-
throw
|
|
25796
|
+
throw toKnownErr52(e);
|
|
25297
25797
|
});
|
|
25298
25798
|
}
|
|
25299
25799
|
getHead(params2, opts) {
|
|
25300
25800
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
25301
|
-
throw
|
|
25801
|
+
throw toKnownErr53(e);
|
|
25302
25802
|
});
|
|
25303
25803
|
}
|
|
25304
25804
|
getLatestCommit(params2, opts) {
|
|
25305
25805
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
25306
|
-
throw
|
|
25806
|
+
throw toKnownErr54(e);
|
|
25307
25807
|
});
|
|
25308
25808
|
}
|
|
25309
25809
|
getRecord(params2, opts) {
|
|
25310
25810
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
25311
|
-
throw
|
|
25811
|
+
throw toKnownErr55(e);
|
|
25312
25812
|
});
|
|
25313
25813
|
}
|
|
25314
25814
|
getRepo(params2, opts) {
|
|
25315
25815
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
25316
|
-
throw
|
|
25816
|
+
throw toKnownErr56(e);
|
|
25317
25817
|
});
|
|
25318
25818
|
}
|
|
25319
25819
|
listBlobs(params2, opts) {
|
|
25320
25820
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
25321
|
-
throw
|
|
25821
|
+
throw toKnownErr57(e);
|
|
25322
25822
|
});
|
|
25323
25823
|
}
|
|
25324
25824
|
listRepos(params2, opts) {
|
|
25325
25825
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
25326
|
-
throw
|
|
25826
|
+
throw toKnownErr58(e);
|
|
25327
25827
|
});
|
|
25328
25828
|
}
|
|
25329
25829
|
notifyOfUpdate(data, opts) {
|
|
25330
25830
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
25331
|
-
throw
|
|
25831
|
+
throw toKnownErr59(e);
|
|
25332
25832
|
});
|
|
25333
25833
|
}
|
|
25334
25834
|
requestCrawl(data, opts) {
|
|
25335
25835
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
25336
|
-
throw
|
|
25836
|
+
throw toKnownErr60(e);
|
|
25337
25837
|
});
|
|
25338
25838
|
}
|
|
25339
25839
|
};
|
|
@@ -25362,37 +25862,37 @@ var ActorNS = class {
|
|
|
25362
25862
|
}
|
|
25363
25863
|
getPreferences(params2, opts) {
|
|
25364
25864
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
25365
|
-
throw
|
|
25865
|
+
throw toKnownErr61(e);
|
|
25366
25866
|
});
|
|
25367
25867
|
}
|
|
25368
25868
|
getProfile(params2, opts) {
|
|
25369
25869
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
25370
|
-
throw
|
|
25870
|
+
throw toKnownErr62(e);
|
|
25371
25871
|
});
|
|
25372
25872
|
}
|
|
25373
25873
|
getProfiles(params2, opts) {
|
|
25374
25874
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
25375
|
-
throw
|
|
25875
|
+
throw toKnownErr63(e);
|
|
25376
25876
|
});
|
|
25377
25877
|
}
|
|
25378
25878
|
getSuggestions(params2, opts) {
|
|
25379
25879
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
25380
|
-
throw
|
|
25880
|
+
throw toKnownErr64(e);
|
|
25381
25881
|
});
|
|
25382
25882
|
}
|
|
25383
25883
|
putPreferences(data, opts) {
|
|
25384
25884
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
25385
|
-
throw
|
|
25885
|
+
throw toKnownErr65(e);
|
|
25386
25886
|
});
|
|
25387
25887
|
}
|
|
25388
25888
|
searchActors(params2, opts) {
|
|
25389
25889
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
25390
|
-
throw
|
|
25890
|
+
throw toKnownErr66(e);
|
|
25391
25891
|
});
|
|
25392
25892
|
}
|
|
25393
25893
|
searchActorsTypeahead(params2, opts) {
|
|
25394
25894
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
25395
|
-
throw
|
|
25895
|
+
throw toKnownErr67(e);
|
|
25396
25896
|
});
|
|
25397
25897
|
}
|
|
25398
25898
|
};
|
|
@@ -25439,77 +25939,82 @@ var FeedNS = class {
|
|
|
25439
25939
|
}
|
|
25440
25940
|
describeFeedGenerator(params2, opts) {
|
|
25441
25941
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
25442
|
-
throw
|
|
25942
|
+
throw toKnownErr68(e);
|
|
25443
25943
|
});
|
|
25444
25944
|
}
|
|
25445
25945
|
getActorFeeds(params2, opts) {
|
|
25446
25946
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
25447
|
-
throw
|
|
25947
|
+
throw toKnownErr69(e);
|
|
25448
25948
|
});
|
|
25449
25949
|
}
|
|
25450
25950
|
getActorLikes(params2, opts) {
|
|
25451
25951
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
25452
|
-
throw
|
|
25952
|
+
throw toKnownErr70(e);
|
|
25453
25953
|
});
|
|
25454
25954
|
}
|
|
25455
25955
|
getAuthorFeed(params2, opts) {
|
|
25456
25956
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
25457
|
-
throw
|
|
25957
|
+
throw toKnownErr71(e);
|
|
25458
25958
|
});
|
|
25459
25959
|
}
|
|
25460
25960
|
getFeed(params2, opts) {
|
|
25461
25961
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
25462
|
-
throw
|
|
25962
|
+
throw toKnownErr72(e);
|
|
25463
25963
|
});
|
|
25464
25964
|
}
|
|
25465
25965
|
getFeedGenerator(params2, opts) {
|
|
25466
25966
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
25467
|
-
throw
|
|
25967
|
+
throw toKnownErr73(e);
|
|
25468
25968
|
});
|
|
25469
25969
|
}
|
|
25470
25970
|
getFeedGenerators(params2, opts) {
|
|
25471
25971
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
25472
|
-
throw
|
|
25972
|
+
throw toKnownErr74(e);
|
|
25473
25973
|
});
|
|
25474
25974
|
}
|
|
25475
25975
|
getFeedSkeleton(params2, opts) {
|
|
25476
25976
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
25477
|
-
throw
|
|
25977
|
+
throw toKnownErr75(e);
|
|
25478
25978
|
});
|
|
25479
25979
|
}
|
|
25480
25980
|
getLikes(params2, opts) {
|
|
25481
25981
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
25482
|
-
throw
|
|
25982
|
+
throw toKnownErr76(e);
|
|
25483
25983
|
});
|
|
25484
25984
|
}
|
|
25485
25985
|
getListFeed(params2, opts) {
|
|
25486
25986
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
25487
|
-
throw
|
|
25987
|
+
throw toKnownErr77(e);
|
|
25488
25988
|
});
|
|
25489
25989
|
}
|
|
25490
25990
|
getPostThread(params2, opts) {
|
|
25491
25991
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
25492
|
-
throw
|
|
25992
|
+
throw toKnownErr78(e);
|
|
25493
25993
|
});
|
|
25494
25994
|
}
|
|
25495
25995
|
getPosts(params2, opts) {
|
|
25496
25996
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
25497
|
-
throw
|
|
25997
|
+
throw toKnownErr79(e);
|
|
25498
25998
|
});
|
|
25499
25999
|
}
|
|
25500
26000
|
getRepostedBy(params2, opts) {
|
|
25501
26001
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
25502
|
-
throw
|
|
26002
|
+
throw toKnownErr80(e);
|
|
25503
26003
|
});
|
|
25504
26004
|
}
|
|
25505
26005
|
getSuggestedFeeds(params2, opts) {
|
|
25506
26006
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
25507
|
-
throw
|
|
26007
|
+
throw toKnownErr81(e);
|
|
25508
26008
|
});
|
|
25509
26009
|
}
|
|
25510
26010
|
getTimeline(params2, opts) {
|
|
25511
26011
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
25512
|
-
throw
|
|
26012
|
+
throw toKnownErr82(e);
|
|
26013
|
+
});
|
|
26014
|
+
}
|
|
26015
|
+
searchPosts(params2, opts) {
|
|
26016
|
+
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
26017
|
+
throw toKnownErr83(e);
|
|
25513
26018
|
});
|
|
25514
26019
|
}
|
|
25515
26020
|
};
|
|
@@ -25659,67 +26164,67 @@ var GraphNS = class {
|
|
|
25659
26164
|
}
|
|
25660
26165
|
getBlocks(params2, opts) {
|
|
25661
26166
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
25662
|
-
throw
|
|
26167
|
+
throw toKnownErr84(e);
|
|
25663
26168
|
});
|
|
25664
26169
|
}
|
|
25665
26170
|
getFollowers(params2, opts) {
|
|
25666
26171
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
25667
|
-
throw
|
|
26172
|
+
throw toKnownErr85(e);
|
|
25668
26173
|
});
|
|
25669
26174
|
}
|
|
25670
26175
|
getFollows(params2, opts) {
|
|
25671
26176
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
25672
|
-
throw
|
|
26177
|
+
throw toKnownErr86(e);
|
|
25673
26178
|
});
|
|
25674
26179
|
}
|
|
25675
26180
|
getList(params2, opts) {
|
|
25676
26181
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
25677
|
-
throw
|
|
26182
|
+
throw toKnownErr87(e);
|
|
25678
26183
|
});
|
|
25679
26184
|
}
|
|
25680
26185
|
getListBlocks(params2, opts) {
|
|
25681
26186
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
25682
|
-
throw
|
|
26187
|
+
throw toKnownErr88(e);
|
|
25683
26188
|
});
|
|
25684
26189
|
}
|
|
25685
26190
|
getListMutes(params2, opts) {
|
|
25686
26191
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
25687
|
-
throw
|
|
26192
|
+
throw toKnownErr89(e);
|
|
25688
26193
|
});
|
|
25689
26194
|
}
|
|
25690
26195
|
getLists(params2, opts) {
|
|
25691
26196
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
25692
|
-
throw
|
|
26197
|
+
throw toKnownErr90(e);
|
|
25693
26198
|
});
|
|
25694
26199
|
}
|
|
25695
26200
|
getMutes(params2, opts) {
|
|
25696
26201
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
25697
|
-
throw
|
|
26202
|
+
throw toKnownErr91(e);
|
|
25698
26203
|
});
|
|
25699
26204
|
}
|
|
25700
26205
|
getSuggestedFollowsByActor(params2, opts) {
|
|
25701
26206
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
25702
|
-
throw
|
|
26207
|
+
throw toKnownErr92(e);
|
|
25703
26208
|
});
|
|
25704
26209
|
}
|
|
25705
26210
|
muteActor(data, opts) {
|
|
25706
26211
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
25707
|
-
throw
|
|
26212
|
+
throw toKnownErr93(e);
|
|
25708
26213
|
});
|
|
25709
26214
|
}
|
|
25710
26215
|
muteActorList(data, opts) {
|
|
25711
26216
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25712
|
-
throw
|
|
26217
|
+
throw toKnownErr94(e);
|
|
25713
26218
|
});
|
|
25714
26219
|
}
|
|
25715
26220
|
unmuteActor(data, opts) {
|
|
25716
26221
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
25717
|
-
throw
|
|
26222
|
+
throw toKnownErr95(e);
|
|
25718
26223
|
});
|
|
25719
26224
|
}
|
|
25720
26225
|
unmuteActorList(data, opts) {
|
|
25721
26226
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25722
|
-
throw
|
|
26227
|
+
throw toKnownErr96(e);
|
|
25723
26228
|
});
|
|
25724
26229
|
}
|
|
25725
26230
|
};
|
|
@@ -25864,22 +26369,22 @@ var NotificationNS = class {
|
|
|
25864
26369
|
}
|
|
25865
26370
|
getUnreadCount(params2, opts) {
|
|
25866
26371
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
25867
|
-
throw
|
|
26372
|
+
throw toKnownErr97(e);
|
|
25868
26373
|
});
|
|
25869
26374
|
}
|
|
25870
26375
|
listNotifications(params2, opts) {
|
|
25871
26376
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
25872
|
-
throw
|
|
26377
|
+
throw toKnownErr98(e);
|
|
25873
26378
|
});
|
|
25874
26379
|
}
|
|
25875
26380
|
registerPush(data, opts) {
|
|
25876
26381
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
25877
|
-
throw
|
|
26382
|
+
throw toKnownErr99(e);
|
|
25878
26383
|
});
|
|
25879
26384
|
}
|
|
25880
26385
|
updateSeen(data, opts) {
|
|
25881
26386
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
25882
|
-
throw
|
|
26387
|
+
throw toKnownErr100(e);
|
|
25883
26388
|
});
|
|
25884
26389
|
}
|
|
25885
26390
|
};
|
|
@@ -25892,24 +26397,29 @@ var UnspeccedNS = class {
|
|
|
25892
26397
|
constructor(service) {
|
|
25893
26398
|
this._service = service;
|
|
25894
26399
|
}
|
|
25895
|
-
applyLabels(data, opts) {
|
|
25896
|
-
return this._service.xrpc.call("app.bsky.unspecced.applyLabels", opts?.qp, data, opts).catch((e) => {
|
|
25897
|
-
throw toKnownErr96(e);
|
|
25898
|
-
});
|
|
25899
|
-
}
|
|
25900
26400
|
getPopular(params2, opts) {
|
|
25901
26401
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
25902
|
-
throw
|
|
26402
|
+
throw toKnownErr101(e);
|
|
25903
26403
|
});
|
|
25904
26404
|
}
|
|
25905
26405
|
getPopularFeedGenerators(params2, opts) {
|
|
25906
26406
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
25907
|
-
throw
|
|
26407
|
+
throw toKnownErr102(e);
|
|
25908
26408
|
});
|
|
25909
26409
|
}
|
|
25910
26410
|
getTimelineSkeleton(params2, opts) {
|
|
25911
26411
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
25912
|
-
throw
|
|
26412
|
+
throw toKnownErr103(e);
|
|
26413
|
+
});
|
|
26414
|
+
}
|
|
26415
|
+
searchActorsSkeleton(params2, opts) {
|
|
26416
|
+
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
26417
|
+
throw toKnownErr104(e);
|
|
26418
|
+
});
|
|
26419
|
+
}
|
|
26420
|
+
searchPostsSkeleton(params2, opts) {
|
|
26421
|
+
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
26422
|
+
throw toKnownErr105(e);
|
|
25913
26423
|
});
|
|
25914
26424
|
}
|
|
25915
26425
|
};
|
|
@@ -25953,7 +26463,8 @@ var _AtpAgent = class {
|
|
|
25953
26463
|
refreshJwt: res.data.refreshJwt,
|
|
25954
26464
|
handle: res.data.handle,
|
|
25955
26465
|
did: res.data.did,
|
|
25956
|
-
email: opts.email
|
|
26466
|
+
email: opts.email,
|
|
26467
|
+
emailConfirmed: false
|
|
25957
26468
|
};
|
|
25958
26469
|
return res;
|
|
25959
26470
|
} catch (e) {
|
|
@@ -25978,7 +26489,8 @@ var _AtpAgent = class {
|
|
|
25978
26489
|
refreshJwt: res.data.refreshJwt,
|
|
25979
26490
|
handle: res.data.handle,
|
|
25980
26491
|
did: res.data.did,
|
|
25981
|
-
email: res.data.email
|
|
26492
|
+
email: res.data.email,
|
|
26493
|
+
emailConfirmed: res.data.emailConfirmed
|
|
25982
26494
|
};
|
|
25983
26495
|
return res;
|
|
25984
26496
|
} catch (e) {
|
|
@@ -26001,6 +26513,7 @@ var _AtpAgent = class {
|
|
|
26001
26513
|
}
|
|
26002
26514
|
this.session.email = res.data.email;
|
|
26003
26515
|
this.session.handle = res.data.handle;
|
|
26516
|
+
this.session.emailConfirmed = res.data.emailConfirmed;
|
|
26004
26517
|
return res;
|
|
26005
26518
|
} catch (e) {
|
|
26006
26519
|
this.session = void 0;
|
|
@@ -26062,6 +26575,7 @@ var _AtpAgent = class {
|
|
|
26062
26575
|
this._persistSession?.("expired", void 0);
|
|
26063
26576
|
} else if (isNewSessionObject(this._baseClient, res.body)) {
|
|
26064
26577
|
this.session = {
|
|
26578
|
+
...this.session || {},
|
|
26065
26579
|
accessJwt: res.body.accessJwt,
|
|
26066
26580
|
refreshJwt: res.body.refreshJwt,
|
|
26067
26581
|
handle: res.body.handle,
|
|
@@ -27714,7 +28228,7 @@ function detectFacets(text) {
|
|
|
27714
28228
|
features: [
|
|
27715
28229
|
{
|
|
27716
28230
|
$type: "app.bsky.richtext.facet#tag",
|
|
27717
|
-
tag
|
|
28231
|
+
tag: tag.replace(/^#/, "")
|
|
27718
28232
|
}
|
|
27719
28233
|
]
|
|
27720
28234
|
});
|