@atproto/ozone 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/index.js +419 -104
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +4 -0
- package/dist/lexicon/lexicons.d.ts +134 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +7 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +15 -0
- package/dist/lexicon/types/app/bsky/graph/getRelationships.d.ts +38 -0
- package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.d.ts +32 -0
- package/package.json +5 -5
- package/src/lexicon/index.ts +24 -0
- package/src/lexicon/lexicons.ts +146 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +19 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +41 -0
- package/src/lexicon/types/app/bsky/graph/getRelationships.ts +53 -0
- package/src/lexicon/types/com/atproto/temp/checkSignupQueue.ts +45 -0
package/dist/index.js
CHANGED
|
@@ -105784,6 +105784,34 @@ var schemaDict = {
|
|
|
105784
105784
|
}
|
|
105785
105785
|
}
|
|
105786
105786
|
},
|
|
105787
|
+
ComAtprotoTempCheckSignupQueue: {
|
|
105788
|
+
lexicon: 1,
|
|
105789
|
+
id: "com.atproto.temp.checkSignupQueue",
|
|
105790
|
+
defs: {
|
|
105791
|
+
main: {
|
|
105792
|
+
type: "query",
|
|
105793
|
+
description: "Check accounts location in signup queue.",
|
|
105794
|
+
output: {
|
|
105795
|
+
encoding: "application/json",
|
|
105796
|
+
schema: {
|
|
105797
|
+
type: "object",
|
|
105798
|
+
required: ["activated"],
|
|
105799
|
+
properties: {
|
|
105800
|
+
activated: {
|
|
105801
|
+
type: "boolean"
|
|
105802
|
+
},
|
|
105803
|
+
placeInQueue: {
|
|
105804
|
+
type: "integer"
|
|
105805
|
+
},
|
|
105806
|
+
estimatedTimeMs: {
|
|
105807
|
+
type: "integer"
|
|
105808
|
+
}
|
|
105809
|
+
}
|
|
105810
|
+
}
|
|
105811
|
+
}
|
|
105812
|
+
}
|
|
105813
|
+
}
|
|
105814
|
+
},
|
|
105787
105815
|
ComAtprotoTempFetchLabels: {
|
|
105788
105816
|
lexicon: 1,
|
|
105789
105817
|
id: "com.atproto.temp.fetchLabels",
|
|
@@ -106148,7 +106176,8 @@ var schemaDict = {
|
|
|
106148
106176
|
"lex:app.bsky.actor.defs#savedFeedsPref",
|
|
106149
106177
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
106150
106178
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
106151
|
-
"lex:app.bsky.actor.defs#threadViewPref"
|
|
106179
|
+
"lex:app.bsky.actor.defs#threadViewPref",
|
|
106180
|
+
"lex:app.bsky.actor.defs#interestsPref"
|
|
106152
106181
|
]
|
|
106153
106182
|
}
|
|
106154
106183
|
},
|
|
@@ -106248,6 +106277,22 @@ var schemaDict = {
|
|
|
106248
106277
|
description: "Show followed users at the top of all replies."
|
|
106249
106278
|
}
|
|
106250
106279
|
}
|
|
106280
|
+
},
|
|
106281
|
+
interestsPref: {
|
|
106282
|
+
type: "object",
|
|
106283
|
+
required: ["tags"],
|
|
106284
|
+
properties: {
|
|
106285
|
+
tags: {
|
|
106286
|
+
type: "array",
|
|
106287
|
+
maxLength: 100,
|
|
106288
|
+
items: {
|
|
106289
|
+
type: "string",
|
|
106290
|
+
maxLength: 640,
|
|
106291
|
+
maxGraphemes: 64
|
|
106292
|
+
},
|
|
106293
|
+
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
106294
|
+
}
|
|
106295
|
+
}
|
|
106251
106296
|
}
|
|
106252
106297
|
}
|
|
106253
106298
|
},
|
|
@@ -108441,6 +108486,42 @@ var schemaDict = {
|
|
|
108441
108486
|
format: "at-uri"
|
|
108442
108487
|
}
|
|
108443
108488
|
}
|
|
108489
|
+
},
|
|
108490
|
+
notFoundActor: {
|
|
108491
|
+
type: "object",
|
|
108492
|
+
description: "indicates that a handle or DID could not be resolved",
|
|
108493
|
+
required: ["actor", "notFound"],
|
|
108494
|
+
properties: {
|
|
108495
|
+
actor: {
|
|
108496
|
+
type: "string",
|
|
108497
|
+
format: "at-identifier"
|
|
108498
|
+
},
|
|
108499
|
+
notFound: {
|
|
108500
|
+
type: "boolean",
|
|
108501
|
+
const: true
|
|
108502
|
+
}
|
|
108503
|
+
}
|
|
108504
|
+
},
|
|
108505
|
+
relationship: {
|
|
108506
|
+
type: "object",
|
|
108507
|
+
description: "lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)",
|
|
108508
|
+
required: ["did"],
|
|
108509
|
+
properties: {
|
|
108510
|
+
did: {
|
|
108511
|
+
type: "string",
|
|
108512
|
+
format: "did"
|
|
108513
|
+
},
|
|
108514
|
+
following: {
|
|
108515
|
+
type: "string",
|
|
108516
|
+
format: "at-uri",
|
|
108517
|
+
description: "if the actor follows this DID, this is the AT-URI of the follow record"
|
|
108518
|
+
},
|
|
108519
|
+
followedBy: {
|
|
108520
|
+
type: "string",
|
|
108521
|
+
format: "at-uri",
|
|
108522
|
+
description: "if the actor is followed by this DID, contains the AT-URI of the follow record"
|
|
108523
|
+
}
|
|
108524
|
+
}
|
|
108444
108525
|
}
|
|
108445
108526
|
}
|
|
108446
108527
|
},
|
|
@@ -108845,6 +108926,63 @@ var schemaDict = {
|
|
|
108845
108926
|
}
|
|
108846
108927
|
}
|
|
108847
108928
|
},
|
|
108929
|
+
AppBskyGraphGetRelationships: {
|
|
108930
|
+
lexicon: 1,
|
|
108931
|
+
id: "app.bsky.graph.getRelationships",
|
|
108932
|
+
defs: {
|
|
108933
|
+
main: {
|
|
108934
|
+
type: "query",
|
|
108935
|
+
description: "Enumerates public relationships between one account, and a list of other accounts",
|
|
108936
|
+
parameters: {
|
|
108937
|
+
type: "params",
|
|
108938
|
+
required: ["actor"],
|
|
108939
|
+
properties: {
|
|
108940
|
+
actor: {
|
|
108941
|
+
type: "string",
|
|
108942
|
+
format: "at-identifier"
|
|
108943
|
+
},
|
|
108944
|
+
others: {
|
|
108945
|
+
type: "array",
|
|
108946
|
+
maxLength: 30,
|
|
108947
|
+
items: {
|
|
108948
|
+
type: "string",
|
|
108949
|
+
format: "at-identifier"
|
|
108950
|
+
}
|
|
108951
|
+
}
|
|
108952
|
+
}
|
|
108953
|
+
},
|
|
108954
|
+
output: {
|
|
108955
|
+
encoding: "application/json",
|
|
108956
|
+
schema: {
|
|
108957
|
+
type: "object",
|
|
108958
|
+
required: ["relationships"],
|
|
108959
|
+
properties: {
|
|
108960
|
+
actor: {
|
|
108961
|
+
type: "string",
|
|
108962
|
+
format: "did"
|
|
108963
|
+
},
|
|
108964
|
+
relationships: {
|
|
108965
|
+
type: "array",
|
|
108966
|
+
items: {
|
|
108967
|
+
type: "union",
|
|
108968
|
+
refs: [
|
|
108969
|
+
"lex:app.bsky.graph.defs#relationship",
|
|
108970
|
+
"lex:app.bsky.graph.defs#notFoundActor"
|
|
108971
|
+
]
|
|
108972
|
+
}
|
|
108973
|
+
}
|
|
108974
|
+
}
|
|
108975
|
+
}
|
|
108976
|
+
},
|
|
108977
|
+
errors: [
|
|
108978
|
+
{
|
|
108979
|
+
name: "ActorNotFound",
|
|
108980
|
+
description: "the primary actor at-identifier could not be resolved"
|
|
108981
|
+
}
|
|
108982
|
+
]
|
|
108983
|
+
}
|
|
108984
|
+
}
|
|
108985
|
+
},
|
|
108848
108986
|
AppBskyGraphGetSuggestedFollowsByActor: {
|
|
108849
108987
|
lexicon: 1,
|
|
108850
108988
|
id: "app.bsky.graph.getSuggestedFollowsByActor",
|
|
@@ -118244,6 +118382,10 @@ var ComAtprotoTempNS = class {
|
|
|
118244
118382
|
constructor(server) {
|
|
118245
118383
|
this._server = server;
|
|
118246
118384
|
}
|
|
118385
|
+
checkSignupQueue(cfg) {
|
|
118386
|
+
const nsid2 = "com.atproto.temp.checkSignupQueue";
|
|
118387
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
118388
|
+
}
|
|
118247
118389
|
fetchLabels(cfg) {
|
|
118248
118390
|
const nsid2 = "com.atproto.temp.fetchLabels";
|
|
118249
118391
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -118426,6 +118568,10 @@ var AppBskyGraphNS = class {
|
|
|
118426
118568
|
const nsid2 = "app.bsky.graph.getMutes";
|
|
118427
118569
|
return this._server.xrpc.method(nsid2, cfg);
|
|
118428
118570
|
}
|
|
118571
|
+
getRelationships(cfg) {
|
|
118572
|
+
const nsid2 = "app.bsky.graph.getRelationships";
|
|
118573
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
118574
|
+
}
|
|
118429
118575
|
getSuggestedFollowsByActor(cfg) {
|
|
118430
118576
|
const nsid2 = "app.bsky.graph.getSuggestedFollowsByActor";
|
|
118431
118577
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -123025,6 +123171,34 @@ var schemaDict2 = {
|
|
|
123025
123171
|
}
|
|
123026
123172
|
}
|
|
123027
123173
|
},
|
|
123174
|
+
ComAtprotoTempCheckSignupQueue: {
|
|
123175
|
+
lexicon: 1,
|
|
123176
|
+
id: "com.atproto.temp.checkSignupQueue",
|
|
123177
|
+
defs: {
|
|
123178
|
+
main: {
|
|
123179
|
+
type: "query",
|
|
123180
|
+
description: "Check accounts location in signup queue.",
|
|
123181
|
+
output: {
|
|
123182
|
+
encoding: "application/json",
|
|
123183
|
+
schema: {
|
|
123184
|
+
type: "object",
|
|
123185
|
+
required: ["activated"],
|
|
123186
|
+
properties: {
|
|
123187
|
+
activated: {
|
|
123188
|
+
type: "boolean"
|
|
123189
|
+
},
|
|
123190
|
+
placeInQueue: {
|
|
123191
|
+
type: "integer"
|
|
123192
|
+
},
|
|
123193
|
+
estimatedTimeMs: {
|
|
123194
|
+
type: "integer"
|
|
123195
|
+
}
|
|
123196
|
+
}
|
|
123197
|
+
}
|
|
123198
|
+
}
|
|
123199
|
+
}
|
|
123200
|
+
}
|
|
123201
|
+
},
|
|
123028
123202
|
ComAtprotoTempFetchLabels: {
|
|
123029
123203
|
lexicon: 1,
|
|
123030
123204
|
id: "com.atproto.temp.fetchLabels",
|
|
@@ -123389,7 +123563,8 @@ var schemaDict2 = {
|
|
|
123389
123563
|
"lex:app.bsky.actor.defs#savedFeedsPref",
|
|
123390
123564
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
123391
123565
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
123392
|
-
"lex:app.bsky.actor.defs#threadViewPref"
|
|
123566
|
+
"lex:app.bsky.actor.defs#threadViewPref",
|
|
123567
|
+
"lex:app.bsky.actor.defs#interestsPref"
|
|
123393
123568
|
]
|
|
123394
123569
|
}
|
|
123395
123570
|
},
|
|
@@ -123489,6 +123664,22 @@ var schemaDict2 = {
|
|
|
123489
123664
|
description: "Show followed users at the top of all replies."
|
|
123490
123665
|
}
|
|
123491
123666
|
}
|
|
123667
|
+
},
|
|
123668
|
+
interestsPref: {
|
|
123669
|
+
type: "object",
|
|
123670
|
+
required: ["tags"],
|
|
123671
|
+
properties: {
|
|
123672
|
+
tags: {
|
|
123673
|
+
type: "array",
|
|
123674
|
+
maxLength: 100,
|
|
123675
|
+
items: {
|
|
123676
|
+
type: "string",
|
|
123677
|
+
maxLength: 640,
|
|
123678
|
+
maxGraphemes: 64
|
|
123679
|
+
},
|
|
123680
|
+
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
123681
|
+
}
|
|
123682
|
+
}
|
|
123492
123683
|
}
|
|
123493
123684
|
}
|
|
123494
123685
|
},
|
|
@@ -125682,6 +125873,42 @@ var schemaDict2 = {
|
|
|
125682
125873
|
format: "at-uri"
|
|
125683
125874
|
}
|
|
125684
125875
|
}
|
|
125876
|
+
},
|
|
125877
|
+
notFoundActor: {
|
|
125878
|
+
type: "object",
|
|
125879
|
+
description: "indicates that a handle or DID could not be resolved",
|
|
125880
|
+
required: ["actor", "notFound"],
|
|
125881
|
+
properties: {
|
|
125882
|
+
actor: {
|
|
125883
|
+
type: "string",
|
|
125884
|
+
format: "at-identifier"
|
|
125885
|
+
},
|
|
125886
|
+
notFound: {
|
|
125887
|
+
type: "boolean",
|
|
125888
|
+
const: true
|
|
125889
|
+
}
|
|
125890
|
+
}
|
|
125891
|
+
},
|
|
125892
|
+
relationship: {
|
|
125893
|
+
type: "object",
|
|
125894
|
+
description: "lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)",
|
|
125895
|
+
required: ["did"],
|
|
125896
|
+
properties: {
|
|
125897
|
+
did: {
|
|
125898
|
+
type: "string",
|
|
125899
|
+
format: "did"
|
|
125900
|
+
},
|
|
125901
|
+
following: {
|
|
125902
|
+
type: "string",
|
|
125903
|
+
format: "at-uri",
|
|
125904
|
+
description: "if the actor follows this DID, this is the AT-URI of the follow record"
|
|
125905
|
+
},
|
|
125906
|
+
followedBy: {
|
|
125907
|
+
type: "string",
|
|
125908
|
+
format: "at-uri",
|
|
125909
|
+
description: "if the actor is followed by this DID, contains the AT-URI of the follow record"
|
|
125910
|
+
}
|
|
125911
|
+
}
|
|
125685
125912
|
}
|
|
125686
125913
|
}
|
|
125687
125914
|
},
|
|
@@ -126086,6 +126313,63 @@ var schemaDict2 = {
|
|
|
126086
126313
|
}
|
|
126087
126314
|
}
|
|
126088
126315
|
},
|
|
126316
|
+
AppBskyGraphGetRelationships: {
|
|
126317
|
+
lexicon: 1,
|
|
126318
|
+
id: "app.bsky.graph.getRelationships",
|
|
126319
|
+
defs: {
|
|
126320
|
+
main: {
|
|
126321
|
+
type: "query",
|
|
126322
|
+
description: "Enumerates public relationships between one account, and a list of other accounts",
|
|
126323
|
+
parameters: {
|
|
126324
|
+
type: "params",
|
|
126325
|
+
required: ["actor"],
|
|
126326
|
+
properties: {
|
|
126327
|
+
actor: {
|
|
126328
|
+
type: "string",
|
|
126329
|
+
format: "at-identifier"
|
|
126330
|
+
},
|
|
126331
|
+
others: {
|
|
126332
|
+
type: "array",
|
|
126333
|
+
maxLength: 30,
|
|
126334
|
+
items: {
|
|
126335
|
+
type: "string",
|
|
126336
|
+
format: "at-identifier"
|
|
126337
|
+
}
|
|
126338
|
+
}
|
|
126339
|
+
}
|
|
126340
|
+
},
|
|
126341
|
+
output: {
|
|
126342
|
+
encoding: "application/json",
|
|
126343
|
+
schema: {
|
|
126344
|
+
type: "object",
|
|
126345
|
+
required: ["relationships"],
|
|
126346
|
+
properties: {
|
|
126347
|
+
actor: {
|
|
126348
|
+
type: "string",
|
|
126349
|
+
format: "did"
|
|
126350
|
+
},
|
|
126351
|
+
relationships: {
|
|
126352
|
+
type: "array",
|
|
126353
|
+
items: {
|
|
126354
|
+
type: "union",
|
|
126355
|
+
refs: [
|
|
126356
|
+
"lex:app.bsky.graph.defs#relationship",
|
|
126357
|
+
"lex:app.bsky.graph.defs#notFoundActor"
|
|
126358
|
+
]
|
|
126359
|
+
}
|
|
126360
|
+
}
|
|
126361
|
+
}
|
|
126362
|
+
}
|
|
126363
|
+
},
|
|
126364
|
+
errors: [
|
|
126365
|
+
{
|
|
126366
|
+
name: "ActorNotFound",
|
|
126367
|
+
description: "the primary actor at-identifier could not be resolved"
|
|
126368
|
+
}
|
|
126369
|
+
]
|
|
126370
|
+
}
|
|
126371
|
+
}
|
|
126372
|
+
},
|
|
126089
126373
|
AppBskyGraphGetSuggestedFollowsByActor: {
|
|
126090
126374
|
lexicon: 1,
|
|
126091
126375
|
id: "app.bsky.graph.getSuggestedFollowsByActor",
|
|
@@ -127576,34 +127860,41 @@ function toKnownErr67(e) {
|
|
|
127576
127860
|
return e;
|
|
127577
127861
|
}
|
|
127578
127862
|
|
|
127579
|
-
// ../api/src/client/types/com/atproto/temp/
|
|
127863
|
+
// ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
127580
127864
|
function toKnownErr68(e) {
|
|
127581
127865
|
if (e instanceof XRPCError) {
|
|
127582
127866
|
}
|
|
127583
127867
|
return e;
|
|
127584
127868
|
}
|
|
127585
127869
|
|
|
127586
|
-
// ../api/src/client/types/com/atproto/temp/
|
|
127870
|
+
// ../api/src/client/types/com/atproto/temp/fetchLabels.ts
|
|
127587
127871
|
function toKnownErr69(e) {
|
|
127588
127872
|
if (e instanceof XRPCError) {
|
|
127589
127873
|
}
|
|
127590
127874
|
return e;
|
|
127591
127875
|
}
|
|
127592
127876
|
|
|
127593
|
-
// ../api/src/client/types/com/atproto/temp/
|
|
127877
|
+
// ../api/src/client/types/com/atproto/temp/importRepo.ts
|
|
127594
127878
|
function toKnownErr70(e) {
|
|
127595
127879
|
if (e instanceof XRPCError) {
|
|
127596
127880
|
}
|
|
127597
127881
|
return e;
|
|
127598
127882
|
}
|
|
127599
127883
|
|
|
127600
|
-
// ../api/src/client/types/com/atproto/temp/
|
|
127884
|
+
// ../api/src/client/types/com/atproto/temp/pushBlob.ts
|
|
127601
127885
|
function toKnownErr71(e) {
|
|
127602
127886
|
if (e instanceof XRPCError) {
|
|
127603
127887
|
}
|
|
127604
127888
|
return e;
|
|
127605
127889
|
}
|
|
127606
127890
|
|
|
127891
|
+
// ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
127892
|
+
function toKnownErr72(e) {
|
|
127893
|
+
if (e instanceof XRPCError) {
|
|
127894
|
+
}
|
|
127895
|
+
return e;
|
|
127896
|
+
}
|
|
127897
|
+
|
|
127607
127898
|
// ../api/src/client/types/com/atproto/temp/transferAccount.ts
|
|
127608
127899
|
var InvalidHandleError3 = class extends XRPCError {
|
|
127609
127900
|
constructor(src3) {
|
|
@@ -127640,7 +127931,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
|
|
|
127640
127931
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127641
127932
|
}
|
|
127642
127933
|
};
|
|
127643
|
-
function
|
|
127934
|
+
function toKnownErr73(e) {
|
|
127644
127935
|
if (e instanceof XRPCError) {
|
|
127645
127936
|
if (e.error === "InvalidHandle")
|
|
127646
127937
|
return new InvalidHandleError3(e);
|
|
@@ -127661,63 +127952,63 @@ function toKnownErr72(e) {
|
|
|
127661
127952
|
}
|
|
127662
127953
|
|
|
127663
127954
|
// ../api/src/client/types/app/bsky/actor/getPreferences.ts
|
|
127664
|
-
function
|
|
127955
|
+
function toKnownErr74(e) {
|
|
127665
127956
|
if (e instanceof XRPCError) {
|
|
127666
127957
|
}
|
|
127667
127958
|
return e;
|
|
127668
127959
|
}
|
|
127669
127960
|
|
|
127670
127961
|
// ../api/src/client/types/app/bsky/actor/getProfile.ts
|
|
127671
|
-
function
|
|
127962
|
+
function toKnownErr75(e) {
|
|
127672
127963
|
if (e instanceof XRPCError) {
|
|
127673
127964
|
}
|
|
127674
127965
|
return e;
|
|
127675
127966
|
}
|
|
127676
127967
|
|
|
127677
127968
|
// ../api/src/client/types/app/bsky/actor/getProfiles.ts
|
|
127678
|
-
function
|
|
127969
|
+
function toKnownErr76(e) {
|
|
127679
127970
|
if (e instanceof XRPCError) {
|
|
127680
127971
|
}
|
|
127681
127972
|
return e;
|
|
127682
127973
|
}
|
|
127683
127974
|
|
|
127684
127975
|
// ../api/src/client/types/app/bsky/actor/getSuggestions.ts
|
|
127685
|
-
function
|
|
127976
|
+
function toKnownErr77(e) {
|
|
127686
127977
|
if (e instanceof XRPCError) {
|
|
127687
127978
|
}
|
|
127688
127979
|
return e;
|
|
127689
127980
|
}
|
|
127690
127981
|
|
|
127691
127982
|
// ../api/src/client/types/app/bsky/actor/putPreferences.ts
|
|
127692
|
-
function
|
|
127983
|
+
function toKnownErr78(e) {
|
|
127693
127984
|
if (e instanceof XRPCError) {
|
|
127694
127985
|
}
|
|
127695
127986
|
return e;
|
|
127696
127987
|
}
|
|
127697
127988
|
|
|
127698
127989
|
// ../api/src/client/types/app/bsky/actor/searchActors.ts
|
|
127699
|
-
function
|
|
127990
|
+
function toKnownErr79(e) {
|
|
127700
127991
|
if (e instanceof XRPCError) {
|
|
127701
127992
|
}
|
|
127702
127993
|
return e;
|
|
127703
127994
|
}
|
|
127704
127995
|
|
|
127705
127996
|
// ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
127706
|
-
function
|
|
127997
|
+
function toKnownErr80(e) {
|
|
127707
127998
|
if (e instanceof XRPCError) {
|
|
127708
127999
|
}
|
|
127709
128000
|
return e;
|
|
127710
128001
|
}
|
|
127711
128002
|
|
|
127712
128003
|
// ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
|
|
127713
|
-
function
|
|
128004
|
+
function toKnownErr81(e) {
|
|
127714
128005
|
if (e instanceof XRPCError) {
|
|
127715
128006
|
}
|
|
127716
128007
|
return e;
|
|
127717
128008
|
}
|
|
127718
128009
|
|
|
127719
128010
|
// ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
127720
|
-
function
|
|
128011
|
+
function toKnownErr82(e) {
|
|
127721
128012
|
if (e instanceof XRPCError) {
|
|
127722
128013
|
}
|
|
127723
128014
|
return e;
|
|
@@ -127734,7 +128025,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
127734
128025
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127735
128026
|
}
|
|
127736
128027
|
};
|
|
127737
|
-
function
|
|
128028
|
+
function toKnownErr83(e) {
|
|
127738
128029
|
if (e instanceof XRPCError) {
|
|
127739
128030
|
if (e.error === "BlockedActor")
|
|
127740
128031
|
return new BlockedActorError(e);
|
|
@@ -127755,7 +128046,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
127755
128046
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127756
128047
|
}
|
|
127757
128048
|
};
|
|
127758
|
-
function
|
|
128049
|
+
function toKnownErr84(e) {
|
|
127759
128050
|
if (e instanceof XRPCError) {
|
|
127760
128051
|
if (e.error === "BlockedActor")
|
|
127761
128052
|
return new BlockedActorError2(e);
|
|
@@ -127771,7 +128062,7 @@ var UnknownFeedError = class extends XRPCError {
|
|
|
127771
128062
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127772
128063
|
}
|
|
127773
128064
|
};
|
|
127774
|
-
function
|
|
128065
|
+
function toKnownErr85(e) {
|
|
127775
128066
|
if (e instanceof XRPCError) {
|
|
127776
128067
|
if (e.error === "UnknownFeed")
|
|
127777
128068
|
return new UnknownFeedError(e);
|
|
@@ -127780,14 +128071,14 @@ function toKnownErr84(e) {
|
|
|
127780
128071
|
}
|
|
127781
128072
|
|
|
127782
128073
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
127783
|
-
function
|
|
128074
|
+
function toKnownErr86(e) {
|
|
127784
128075
|
if (e instanceof XRPCError) {
|
|
127785
128076
|
}
|
|
127786
128077
|
return e;
|
|
127787
128078
|
}
|
|
127788
128079
|
|
|
127789
128080
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
127790
|
-
function
|
|
128081
|
+
function toKnownErr87(e) {
|
|
127791
128082
|
if (e instanceof XRPCError) {
|
|
127792
128083
|
}
|
|
127793
128084
|
return e;
|
|
@@ -127799,7 +128090,7 @@ var UnknownFeedError2 = class extends XRPCError {
|
|
|
127799
128090
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127800
128091
|
}
|
|
127801
128092
|
};
|
|
127802
|
-
function
|
|
128093
|
+
function toKnownErr88(e) {
|
|
127803
128094
|
if (e instanceof XRPCError) {
|
|
127804
128095
|
if (e.error === "UnknownFeed")
|
|
127805
128096
|
return new UnknownFeedError2(e);
|
|
@@ -127808,7 +128099,7 @@ function toKnownErr87(e) {
|
|
|
127808
128099
|
}
|
|
127809
128100
|
|
|
127810
128101
|
// ../api/src/client/types/app/bsky/feed/getLikes.ts
|
|
127811
|
-
function
|
|
128102
|
+
function toKnownErr89(e) {
|
|
127812
128103
|
if (e instanceof XRPCError) {
|
|
127813
128104
|
}
|
|
127814
128105
|
return e;
|
|
@@ -127820,7 +128111,7 @@ var UnknownListError = class extends XRPCError {
|
|
|
127820
128111
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127821
128112
|
}
|
|
127822
128113
|
};
|
|
127823
|
-
function
|
|
128114
|
+
function toKnownErr90(e) {
|
|
127824
128115
|
if (e instanceof XRPCError) {
|
|
127825
128116
|
if (e.error === "UnknownList")
|
|
127826
128117
|
return new UnknownListError(e);
|
|
@@ -127834,7 +128125,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
127834
128125
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127835
128126
|
}
|
|
127836
128127
|
};
|
|
127837
|
-
function
|
|
128128
|
+
function toKnownErr91(e) {
|
|
127838
128129
|
if (e instanceof XRPCError) {
|
|
127839
128130
|
if (e.error === "NotFound")
|
|
127840
128131
|
return new NotFoundError(e);
|
|
@@ -127843,28 +128134,28 @@ function toKnownErr90(e) {
|
|
|
127843
128134
|
}
|
|
127844
128135
|
|
|
127845
128136
|
// ../api/src/client/types/app/bsky/feed/getPosts.ts
|
|
127846
|
-
function
|
|
128137
|
+
function toKnownErr92(e) {
|
|
127847
128138
|
if (e instanceof XRPCError) {
|
|
127848
128139
|
}
|
|
127849
128140
|
return e;
|
|
127850
128141
|
}
|
|
127851
128142
|
|
|
127852
128143
|
// ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
127853
|
-
function
|
|
128144
|
+
function toKnownErr93(e) {
|
|
127854
128145
|
if (e instanceof XRPCError) {
|
|
127855
128146
|
}
|
|
127856
128147
|
return e;
|
|
127857
128148
|
}
|
|
127858
128149
|
|
|
127859
128150
|
// ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
127860
|
-
function
|
|
128151
|
+
function toKnownErr94(e) {
|
|
127861
128152
|
if (e instanceof XRPCError) {
|
|
127862
128153
|
}
|
|
127863
128154
|
return e;
|
|
127864
128155
|
}
|
|
127865
128156
|
|
|
127866
128157
|
// ../api/src/client/types/app/bsky/feed/getTimeline.ts
|
|
127867
|
-
function
|
|
128158
|
+
function toKnownErr95(e) {
|
|
127868
128159
|
if (e instanceof XRPCError) {
|
|
127869
128160
|
}
|
|
127870
128161
|
return e;
|
|
@@ -127876,7 +128167,7 @@ var BadQueryStringError = class extends XRPCError {
|
|
|
127876
128167
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127877
128168
|
}
|
|
127878
128169
|
};
|
|
127879
|
-
function
|
|
128170
|
+
function toKnownErr96(e) {
|
|
127880
128171
|
if (e instanceof XRPCError) {
|
|
127881
128172
|
if (e.error === "BadQueryString")
|
|
127882
128173
|
return new BadQueryStringError(e);
|
|
@@ -127885,133 +128176,147 @@ function toKnownErr95(e) {
|
|
|
127885
128176
|
}
|
|
127886
128177
|
|
|
127887
128178
|
// ../api/src/client/types/app/bsky/graph/getBlocks.ts
|
|
127888
|
-
function
|
|
128179
|
+
function toKnownErr97(e) {
|
|
127889
128180
|
if (e instanceof XRPCError) {
|
|
127890
128181
|
}
|
|
127891
128182
|
return e;
|
|
127892
128183
|
}
|
|
127893
128184
|
|
|
127894
128185
|
// ../api/src/client/types/app/bsky/graph/getFollowers.ts
|
|
127895
|
-
function
|
|
128186
|
+
function toKnownErr98(e) {
|
|
127896
128187
|
if (e instanceof XRPCError) {
|
|
127897
128188
|
}
|
|
127898
128189
|
return e;
|
|
127899
128190
|
}
|
|
127900
128191
|
|
|
127901
128192
|
// ../api/src/client/types/app/bsky/graph/getFollows.ts
|
|
127902
|
-
function
|
|
128193
|
+
function toKnownErr99(e) {
|
|
127903
128194
|
if (e instanceof XRPCError) {
|
|
127904
128195
|
}
|
|
127905
128196
|
return e;
|
|
127906
128197
|
}
|
|
127907
128198
|
|
|
127908
128199
|
// ../api/src/client/types/app/bsky/graph/getList.ts
|
|
127909
|
-
function
|
|
128200
|
+
function toKnownErr100(e) {
|
|
127910
128201
|
if (e instanceof XRPCError) {
|
|
127911
128202
|
}
|
|
127912
128203
|
return e;
|
|
127913
128204
|
}
|
|
127914
128205
|
|
|
127915
128206
|
// ../api/src/client/types/app/bsky/graph/getListBlocks.ts
|
|
127916
|
-
function
|
|
128207
|
+
function toKnownErr101(e) {
|
|
127917
128208
|
if (e instanceof XRPCError) {
|
|
127918
128209
|
}
|
|
127919
128210
|
return e;
|
|
127920
128211
|
}
|
|
127921
128212
|
|
|
127922
128213
|
// ../api/src/client/types/app/bsky/graph/getListMutes.ts
|
|
127923
|
-
function
|
|
128214
|
+
function toKnownErr102(e) {
|
|
127924
128215
|
if (e instanceof XRPCError) {
|
|
127925
128216
|
}
|
|
127926
128217
|
return e;
|
|
127927
128218
|
}
|
|
127928
128219
|
|
|
127929
128220
|
// ../api/src/client/types/app/bsky/graph/getLists.ts
|
|
127930
|
-
function
|
|
128221
|
+
function toKnownErr103(e) {
|
|
127931
128222
|
if (e instanceof XRPCError) {
|
|
127932
128223
|
}
|
|
127933
128224
|
return e;
|
|
127934
128225
|
}
|
|
127935
128226
|
|
|
127936
128227
|
// ../api/src/client/types/app/bsky/graph/getMutes.ts
|
|
127937
|
-
function
|
|
128228
|
+
function toKnownErr104(e) {
|
|
127938
128229
|
if (e instanceof XRPCError) {
|
|
127939
128230
|
}
|
|
127940
128231
|
return e;
|
|
127941
128232
|
}
|
|
127942
128233
|
|
|
128234
|
+
// ../api/src/client/types/app/bsky/graph/getRelationships.ts
|
|
128235
|
+
var ActorNotFoundError = class extends XRPCError {
|
|
128236
|
+
constructor(src3) {
|
|
128237
|
+
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128238
|
+
}
|
|
128239
|
+
};
|
|
128240
|
+
function toKnownErr105(e) {
|
|
128241
|
+
if (e instanceof XRPCError) {
|
|
128242
|
+
if (e.error === "ActorNotFound")
|
|
128243
|
+
return new ActorNotFoundError(e);
|
|
128244
|
+
}
|
|
128245
|
+
return e;
|
|
128246
|
+
}
|
|
128247
|
+
|
|
127943
128248
|
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
127944
|
-
function
|
|
128249
|
+
function toKnownErr106(e) {
|
|
127945
128250
|
if (e instanceof XRPCError) {
|
|
127946
128251
|
}
|
|
127947
128252
|
return e;
|
|
127948
128253
|
}
|
|
127949
128254
|
|
|
127950
128255
|
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
127951
|
-
function
|
|
128256
|
+
function toKnownErr107(e) {
|
|
127952
128257
|
if (e instanceof XRPCError) {
|
|
127953
128258
|
}
|
|
127954
128259
|
return e;
|
|
127955
128260
|
}
|
|
127956
128261
|
|
|
127957
128262
|
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
127958
|
-
function
|
|
128263
|
+
function toKnownErr108(e) {
|
|
127959
128264
|
if (e instanceof XRPCError) {
|
|
127960
128265
|
}
|
|
127961
128266
|
return e;
|
|
127962
128267
|
}
|
|
127963
128268
|
|
|
127964
128269
|
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
127965
|
-
function
|
|
128270
|
+
function toKnownErr109(e) {
|
|
127966
128271
|
if (e instanceof XRPCError) {
|
|
127967
128272
|
}
|
|
127968
128273
|
return e;
|
|
127969
128274
|
}
|
|
127970
128275
|
|
|
127971
128276
|
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
127972
|
-
function
|
|
128277
|
+
function toKnownErr110(e) {
|
|
127973
128278
|
if (e instanceof XRPCError) {
|
|
127974
128279
|
}
|
|
127975
128280
|
return e;
|
|
127976
128281
|
}
|
|
127977
128282
|
|
|
127978
128283
|
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
127979
|
-
function
|
|
128284
|
+
function toKnownErr111(e) {
|
|
127980
128285
|
if (e instanceof XRPCError) {
|
|
127981
128286
|
}
|
|
127982
128287
|
return e;
|
|
127983
128288
|
}
|
|
127984
128289
|
|
|
127985
128290
|
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
127986
|
-
function
|
|
128291
|
+
function toKnownErr112(e) {
|
|
127987
128292
|
if (e instanceof XRPCError) {
|
|
127988
128293
|
}
|
|
127989
128294
|
return e;
|
|
127990
128295
|
}
|
|
127991
128296
|
|
|
127992
128297
|
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
127993
|
-
function
|
|
128298
|
+
function toKnownErr113(e) {
|
|
127994
128299
|
if (e instanceof XRPCError) {
|
|
127995
128300
|
}
|
|
127996
128301
|
return e;
|
|
127997
128302
|
}
|
|
127998
128303
|
|
|
127999
128304
|
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
128000
|
-
function
|
|
128305
|
+
function toKnownErr114(e) {
|
|
128001
128306
|
if (e instanceof XRPCError) {
|
|
128002
128307
|
}
|
|
128003
128308
|
return e;
|
|
128004
128309
|
}
|
|
128005
128310
|
|
|
128006
128311
|
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
128007
|
-
function
|
|
128312
|
+
function toKnownErr115(e) {
|
|
128008
128313
|
if (e instanceof XRPCError) {
|
|
128009
128314
|
}
|
|
128010
128315
|
return e;
|
|
128011
128316
|
}
|
|
128012
128317
|
|
|
128013
128318
|
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
128014
|
-
function
|
|
128319
|
+
function toKnownErr116(e) {
|
|
128015
128320
|
if (e instanceof XRPCError) {
|
|
128016
128321
|
}
|
|
128017
128322
|
return e;
|
|
@@ -128023,7 +128328,7 @@ var UnknownFeedError3 = class extends XRPCError {
|
|
|
128023
128328
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128024
128329
|
}
|
|
128025
128330
|
};
|
|
128026
|
-
function
|
|
128331
|
+
function toKnownErr117(e) {
|
|
128027
128332
|
if (e instanceof XRPCError) {
|
|
128028
128333
|
if (e.error === "UnknownFeed")
|
|
128029
128334
|
return new UnknownFeedError3(e);
|
|
@@ -128037,7 +128342,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
128037
128342
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128038
128343
|
}
|
|
128039
128344
|
};
|
|
128040
|
-
function
|
|
128345
|
+
function toKnownErr118(e) {
|
|
128041
128346
|
if (e instanceof XRPCError) {
|
|
128042
128347
|
if (e.error === "BadQueryString")
|
|
128043
128348
|
return new BadQueryStringError2(e);
|
|
@@ -128051,7 +128356,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
128051
128356
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
128052
128357
|
}
|
|
128053
128358
|
};
|
|
128054
|
-
function
|
|
128359
|
+
function toKnownErr119(e) {
|
|
128055
128360
|
if (e instanceof XRPCError) {
|
|
128056
128361
|
if (e.error === "BadQueryString")
|
|
128057
128362
|
return new BadQueryStringError3(e);
|
|
@@ -128473,29 +128778,34 @@ var ComAtprotoTempNS2 = class {
|
|
|
128473
128778
|
constructor(service2) {
|
|
128474
128779
|
this._service = service2;
|
|
128475
128780
|
}
|
|
128781
|
+
checkSignupQueue(params2, opts) {
|
|
128782
|
+
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
128783
|
+
throw toKnownErr68(e);
|
|
128784
|
+
});
|
|
128785
|
+
}
|
|
128476
128786
|
fetchLabels(params2, opts) {
|
|
128477
128787
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
128478
|
-
throw
|
|
128788
|
+
throw toKnownErr69(e);
|
|
128479
128789
|
});
|
|
128480
128790
|
}
|
|
128481
128791
|
importRepo(data, opts) {
|
|
128482
128792
|
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
128483
|
-
throw
|
|
128793
|
+
throw toKnownErr70(e);
|
|
128484
128794
|
});
|
|
128485
128795
|
}
|
|
128486
128796
|
pushBlob(data, opts) {
|
|
128487
128797
|
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
128488
|
-
throw
|
|
128798
|
+
throw toKnownErr71(e);
|
|
128489
128799
|
});
|
|
128490
128800
|
}
|
|
128491
128801
|
requestPhoneVerification(data, opts) {
|
|
128492
128802
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
128493
|
-
throw
|
|
128803
|
+
throw toKnownErr72(e);
|
|
128494
128804
|
});
|
|
128495
128805
|
}
|
|
128496
128806
|
transferAccount(data, opts) {
|
|
128497
128807
|
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
128498
|
-
throw
|
|
128808
|
+
throw toKnownErr73(e);
|
|
128499
128809
|
});
|
|
128500
128810
|
}
|
|
128501
128811
|
};
|
|
@@ -128524,37 +128834,37 @@ var AppBskyActorNS2 = class {
|
|
|
128524
128834
|
}
|
|
128525
128835
|
getPreferences(params2, opts) {
|
|
128526
128836
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
128527
|
-
throw
|
|
128837
|
+
throw toKnownErr74(e);
|
|
128528
128838
|
});
|
|
128529
128839
|
}
|
|
128530
128840
|
getProfile(params2, opts) {
|
|
128531
128841
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
128532
|
-
throw
|
|
128842
|
+
throw toKnownErr75(e);
|
|
128533
128843
|
});
|
|
128534
128844
|
}
|
|
128535
128845
|
getProfiles(params2, opts) {
|
|
128536
128846
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
128537
|
-
throw
|
|
128847
|
+
throw toKnownErr76(e);
|
|
128538
128848
|
});
|
|
128539
128849
|
}
|
|
128540
128850
|
getSuggestions(params2, opts) {
|
|
128541
128851
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
128542
|
-
throw
|
|
128852
|
+
throw toKnownErr77(e);
|
|
128543
128853
|
});
|
|
128544
128854
|
}
|
|
128545
128855
|
putPreferences(data, opts) {
|
|
128546
128856
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
128547
|
-
throw
|
|
128857
|
+
throw toKnownErr78(e);
|
|
128548
128858
|
});
|
|
128549
128859
|
}
|
|
128550
128860
|
searchActors(params2, opts) {
|
|
128551
128861
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
128552
|
-
throw
|
|
128862
|
+
throw toKnownErr79(e);
|
|
128553
128863
|
});
|
|
128554
128864
|
}
|
|
128555
128865
|
searchActorsTypeahead(params2, opts) {
|
|
128556
128866
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
128557
|
-
throw
|
|
128867
|
+
throw toKnownErr80(e);
|
|
128558
128868
|
});
|
|
128559
128869
|
}
|
|
128560
128870
|
};
|
|
@@ -128601,82 +128911,82 @@ var AppBskyFeedNS2 = class {
|
|
|
128601
128911
|
}
|
|
128602
128912
|
describeFeedGenerator(params2, opts) {
|
|
128603
128913
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
128604
|
-
throw
|
|
128914
|
+
throw toKnownErr81(e);
|
|
128605
128915
|
});
|
|
128606
128916
|
}
|
|
128607
128917
|
getActorFeeds(params2, opts) {
|
|
128608
128918
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
128609
|
-
throw
|
|
128919
|
+
throw toKnownErr82(e);
|
|
128610
128920
|
});
|
|
128611
128921
|
}
|
|
128612
128922
|
getActorLikes(params2, opts) {
|
|
128613
128923
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
128614
|
-
throw
|
|
128924
|
+
throw toKnownErr83(e);
|
|
128615
128925
|
});
|
|
128616
128926
|
}
|
|
128617
128927
|
getAuthorFeed(params2, opts) {
|
|
128618
128928
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
128619
|
-
throw
|
|
128929
|
+
throw toKnownErr84(e);
|
|
128620
128930
|
});
|
|
128621
128931
|
}
|
|
128622
128932
|
getFeed(params2, opts) {
|
|
128623
128933
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
128624
|
-
throw
|
|
128934
|
+
throw toKnownErr85(e);
|
|
128625
128935
|
});
|
|
128626
128936
|
}
|
|
128627
128937
|
getFeedGenerator(params2, opts) {
|
|
128628
128938
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
128629
|
-
throw
|
|
128939
|
+
throw toKnownErr86(e);
|
|
128630
128940
|
});
|
|
128631
128941
|
}
|
|
128632
128942
|
getFeedGenerators(params2, opts) {
|
|
128633
128943
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
128634
|
-
throw
|
|
128944
|
+
throw toKnownErr87(e);
|
|
128635
128945
|
});
|
|
128636
128946
|
}
|
|
128637
128947
|
getFeedSkeleton(params2, opts) {
|
|
128638
128948
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
128639
|
-
throw
|
|
128949
|
+
throw toKnownErr88(e);
|
|
128640
128950
|
});
|
|
128641
128951
|
}
|
|
128642
128952
|
getLikes(params2, opts) {
|
|
128643
128953
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
128644
|
-
throw
|
|
128954
|
+
throw toKnownErr89(e);
|
|
128645
128955
|
});
|
|
128646
128956
|
}
|
|
128647
128957
|
getListFeed(params2, opts) {
|
|
128648
128958
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
128649
|
-
throw
|
|
128959
|
+
throw toKnownErr90(e);
|
|
128650
128960
|
});
|
|
128651
128961
|
}
|
|
128652
128962
|
getPostThread(params2, opts) {
|
|
128653
128963
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
128654
|
-
throw
|
|
128964
|
+
throw toKnownErr91(e);
|
|
128655
128965
|
});
|
|
128656
128966
|
}
|
|
128657
128967
|
getPosts(params2, opts) {
|
|
128658
128968
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
128659
|
-
throw
|
|
128969
|
+
throw toKnownErr92(e);
|
|
128660
128970
|
});
|
|
128661
128971
|
}
|
|
128662
128972
|
getRepostedBy(params2, opts) {
|
|
128663
128973
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
128664
|
-
throw
|
|
128974
|
+
throw toKnownErr93(e);
|
|
128665
128975
|
});
|
|
128666
128976
|
}
|
|
128667
128977
|
getSuggestedFeeds(params2, opts) {
|
|
128668
128978
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
128669
|
-
throw
|
|
128979
|
+
throw toKnownErr94(e);
|
|
128670
128980
|
});
|
|
128671
128981
|
}
|
|
128672
128982
|
getTimeline(params2, opts) {
|
|
128673
128983
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
128674
|
-
throw
|
|
128984
|
+
throw toKnownErr95(e);
|
|
128675
128985
|
});
|
|
128676
128986
|
}
|
|
128677
128987
|
searchPosts(params2, opts) {
|
|
128678
128988
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
128679
|
-
throw
|
|
128989
|
+
throw toKnownErr96(e);
|
|
128680
128990
|
});
|
|
128681
128991
|
}
|
|
128682
128992
|
};
|
|
@@ -128826,67 +129136,72 @@ var AppBskyGraphNS2 = class {
|
|
|
128826
129136
|
}
|
|
128827
129137
|
getBlocks(params2, opts) {
|
|
128828
129138
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
128829
|
-
throw
|
|
129139
|
+
throw toKnownErr97(e);
|
|
128830
129140
|
});
|
|
128831
129141
|
}
|
|
128832
129142
|
getFollowers(params2, opts) {
|
|
128833
129143
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
128834
|
-
throw
|
|
129144
|
+
throw toKnownErr98(e);
|
|
128835
129145
|
});
|
|
128836
129146
|
}
|
|
128837
129147
|
getFollows(params2, opts) {
|
|
128838
129148
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
128839
|
-
throw
|
|
129149
|
+
throw toKnownErr99(e);
|
|
128840
129150
|
});
|
|
128841
129151
|
}
|
|
128842
129152
|
getList(params2, opts) {
|
|
128843
129153
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
128844
|
-
throw
|
|
129154
|
+
throw toKnownErr100(e);
|
|
128845
129155
|
});
|
|
128846
129156
|
}
|
|
128847
129157
|
getListBlocks(params2, opts) {
|
|
128848
129158
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
128849
|
-
throw
|
|
129159
|
+
throw toKnownErr101(e);
|
|
128850
129160
|
});
|
|
128851
129161
|
}
|
|
128852
129162
|
getListMutes(params2, opts) {
|
|
128853
129163
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
128854
|
-
throw
|
|
129164
|
+
throw toKnownErr102(e);
|
|
128855
129165
|
});
|
|
128856
129166
|
}
|
|
128857
129167
|
getLists(params2, opts) {
|
|
128858
129168
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
128859
|
-
throw
|
|
129169
|
+
throw toKnownErr103(e);
|
|
128860
129170
|
});
|
|
128861
129171
|
}
|
|
128862
129172
|
getMutes(params2, opts) {
|
|
128863
129173
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
128864
|
-
throw
|
|
129174
|
+
throw toKnownErr104(e);
|
|
129175
|
+
});
|
|
129176
|
+
}
|
|
129177
|
+
getRelationships(params2, opts) {
|
|
129178
|
+
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
129179
|
+
throw toKnownErr105(e);
|
|
128865
129180
|
});
|
|
128866
129181
|
}
|
|
128867
129182
|
getSuggestedFollowsByActor(params2, opts) {
|
|
128868
129183
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
128869
|
-
throw
|
|
129184
|
+
throw toKnownErr106(e);
|
|
128870
129185
|
});
|
|
128871
129186
|
}
|
|
128872
129187
|
muteActor(data, opts) {
|
|
128873
129188
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
128874
|
-
throw
|
|
129189
|
+
throw toKnownErr107(e);
|
|
128875
129190
|
});
|
|
128876
129191
|
}
|
|
128877
129192
|
muteActorList(data, opts) {
|
|
128878
129193
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
128879
|
-
throw
|
|
129194
|
+
throw toKnownErr108(e);
|
|
128880
129195
|
});
|
|
128881
129196
|
}
|
|
128882
129197
|
unmuteActor(data, opts) {
|
|
128883
129198
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
128884
|
-
throw
|
|
129199
|
+
throw toKnownErr109(e);
|
|
128885
129200
|
});
|
|
128886
129201
|
}
|
|
128887
129202
|
unmuteActorList(data, opts) {
|
|
128888
129203
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
128889
|
-
throw
|
|
129204
|
+
throw toKnownErr110(e);
|
|
128890
129205
|
});
|
|
128891
129206
|
}
|
|
128892
129207
|
};
|
|
@@ -129031,22 +129346,22 @@ var AppBskyNotificationNS2 = class {
|
|
|
129031
129346
|
}
|
|
129032
129347
|
getUnreadCount(params2, opts) {
|
|
129033
129348
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
129034
|
-
throw
|
|
129349
|
+
throw toKnownErr111(e);
|
|
129035
129350
|
});
|
|
129036
129351
|
}
|
|
129037
129352
|
listNotifications(params2, opts) {
|
|
129038
129353
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
129039
|
-
throw
|
|
129354
|
+
throw toKnownErr112(e);
|
|
129040
129355
|
});
|
|
129041
129356
|
}
|
|
129042
129357
|
registerPush(data, opts) {
|
|
129043
129358
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
129044
|
-
throw
|
|
129359
|
+
throw toKnownErr113(e);
|
|
129045
129360
|
});
|
|
129046
129361
|
}
|
|
129047
129362
|
updateSeen(data, opts) {
|
|
129048
129363
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
129049
|
-
throw
|
|
129364
|
+
throw toKnownErr114(e);
|
|
129050
129365
|
});
|
|
129051
129366
|
}
|
|
129052
129367
|
};
|
|
@@ -129061,27 +129376,27 @@ var AppBskyUnspeccedNS2 = class {
|
|
|
129061
129376
|
}
|
|
129062
129377
|
getPopularFeedGenerators(params2, opts) {
|
|
129063
129378
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
129064
|
-
throw
|
|
129379
|
+
throw toKnownErr115(e);
|
|
129065
129380
|
});
|
|
129066
129381
|
}
|
|
129067
129382
|
getTaggedSuggestions(params2, opts) {
|
|
129068
129383
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
129069
|
-
throw
|
|
129384
|
+
throw toKnownErr116(e);
|
|
129070
129385
|
});
|
|
129071
129386
|
}
|
|
129072
129387
|
getTimelineSkeleton(params2, opts) {
|
|
129073
129388
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
129074
|
-
throw
|
|
129389
|
+
throw toKnownErr117(e);
|
|
129075
129390
|
});
|
|
129076
129391
|
}
|
|
129077
129392
|
searchActorsSkeleton(params2, opts) {
|
|
129078
129393
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
129079
|
-
throw
|
|
129394
|
+
throw toKnownErr118(e);
|
|
129080
129395
|
});
|
|
129081
129396
|
}
|
|
129082
129397
|
searchPostsSkeleton(params2, opts) {
|
|
129083
129398
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
129084
|
-
throw
|
|
129399
|
+
throw toKnownErr119(e);
|
|
129085
129400
|
});
|
|
129086
129401
|
}
|
|
129087
129402
|
};
|
|
@@ -129206,12 +129521,12 @@ var _AtpAgent = class {
|
|
|
129206
129521
|
await this._refreshSessionPromise;
|
|
129207
129522
|
let res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
|
|
129208
129523
|
if (isErrorResponse(res, ["ExpiredToken"]) && this.session?.refreshJwt) {
|
|
129209
|
-
await this.
|
|
129524
|
+
await this.refreshSession();
|
|
129210
129525
|
res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
|
|
129211
129526
|
}
|
|
129212
129527
|
return res;
|
|
129213
129528
|
}
|
|
129214
|
-
async
|
|
129529
|
+
async refreshSession() {
|
|
129215
129530
|
if (this._refreshSessionPromise) {
|
|
129216
129531
|
return this._refreshSessionPromise;
|
|
129217
129532
|
}
|