@atproto/api 0.10.0 → 0.10.2
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 +21 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/lexicons.d.ts +27 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts +1 -1
- package/dist/client/types/com/atproto/admin/updateAccountPassword.d.ts +18 -0
- package/dist/index.js +369 -325
- package/dist/index.js.map +3 -3
- package/package.json +6 -6
- package/src/bsky-agent.ts +5 -5
- package/src/client/index.ts +13 -0
- package/src/client/lexicons.ts +32 -1
- package/src/client/types/app/bsky/actor/defs.ts +2 -0
- package/src/client/types/com/atproto/admin/updateAccountPassword.ts +33 -0
- package/src/rich-text/detection.ts +6 -8
- package/tests/bsky-agent.test.ts +8 -1
- package/tests/rich-text-detection.test.ts +16 -4
package/dist/index.js
CHANGED
|
@@ -8976,6 +8976,7 @@ __export(src_exports2, {
|
|
|
8976
8976
|
ComAtprotoAdminSendEmail: () => sendEmail_exports,
|
|
8977
8977
|
ComAtprotoAdminUpdateAccountEmail: () => updateAccountEmail_exports,
|
|
8978
8978
|
ComAtprotoAdminUpdateAccountHandle: () => updateAccountHandle_exports,
|
|
8979
|
+
ComAtprotoAdminUpdateAccountPassword: () => updateAccountPassword_exports,
|
|
8979
8980
|
ComAtprotoAdminUpdateCommunicationTemplate: () => updateCommunicationTemplate_exports,
|
|
8980
8981
|
ComAtprotoAdminUpdateSubjectStatus: () => updateSubjectStatus_exports,
|
|
8981
8982
|
ComAtprotoIdentityGetRecommendedDidCredentials: () => getRecommendedDidCredentials_exports,
|
|
@@ -17520,6 +17521,32 @@ var schemaDict = {
|
|
|
17520
17521
|
}
|
|
17521
17522
|
}
|
|
17522
17523
|
},
|
|
17524
|
+
ComAtprotoAdminUpdateAccountPassword: {
|
|
17525
|
+
lexicon: 1,
|
|
17526
|
+
id: "com.atproto.admin.updateAccountPassword",
|
|
17527
|
+
defs: {
|
|
17528
|
+
main: {
|
|
17529
|
+
type: "procedure",
|
|
17530
|
+
description: "Update the password for a user account as an administrator.",
|
|
17531
|
+
input: {
|
|
17532
|
+
encoding: "application/json",
|
|
17533
|
+
schema: {
|
|
17534
|
+
type: "object",
|
|
17535
|
+
required: ["did", "password"],
|
|
17536
|
+
properties: {
|
|
17537
|
+
did: {
|
|
17538
|
+
type: "string",
|
|
17539
|
+
format: "did"
|
|
17540
|
+
},
|
|
17541
|
+
password: {
|
|
17542
|
+
type: "string"
|
|
17543
|
+
}
|
|
17544
|
+
}
|
|
17545
|
+
}
|
|
17546
|
+
}
|
|
17547
|
+
}
|
|
17548
|
+
}
|
|
17549
|
+
},
|
|
17523
17550
|
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
17524
17551
|
lexicon: 1,
|
|
17525
17552
|
id: "com.atproto.admin.updateCommunicationTemplate",
|
|
@@ -20384,7 +20411,7 @@ var schemaDict = {
|
|
|
20384
20411
|
defs: {
|
|
20385
20412
|
main: {
|
|
20386
20413
|
type: "query",
|
|
20387
|
-
description: "Fetch all labels from a labeler created after a certain date.
|
|
20414
|
+
description: "DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.",
|
|
20388
20415
|
parameters: {
|
|
20389
20416
|
type: "params",
|
|
20390
20417
|
properties: {
|
|
@@ -20616,7 +20643,9 @@ var schemaDict = {
|
|
|
20616
20643
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
20617
20644
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
20618
20645
|
"lex:app.bsky.actor.defs#threadViewPref",
|
|
20619
|
-
"lex:app.bsky.actor.defs#interestsPref"
|
|
20646
|
+
"lex:app.bsky.actor.defs#interestsPref",
|
|
20647
|
+
"lex:app.bsky.actor.defs#mutedWordsPref",
|
|
20648
|
+
"lex:app.bsky.actor.defs#hiddenPostsPref"
|
|
20620
20649
|
]
|
|
20621
20650
|
}
|
|
20622
20651
|
},
|
|
@@ -24528,12 +24557,23 @@ function toKnownErr21(e) {
|
|
|
24528
24557
|
return e;
|
|
24529
24558
|
}
|
|
24530
24559
|
|
|
24560
|
+
// src/client/types/com/atproto/admin/updateAccountPassword.ts
|
|
24561
|
+
var updateAccountPassword_exports = {};
|
|
24562
|
+
__export(updateAccountPassword_exports, {
|
|
24563
|
+
toKnownErr: () => toKnownErr22
|
|
24564
|
+
});
|
|
24565
|
+
function toKnownErr22(e) {
|
|
24566
|
+
if (e instanceof XRPCError) {
|
|
24567
|
+
}
|
|
24568
|
+
return e;
|
|
24569
|
+
}
|
|
24570
|
+
|
|
24531
24571
|
// src/client/types/com/atproto/admin/updateCommunicationTemplate.ts
|
|
24532
24572
|
var updateCommunicationTemplate_exports = {};
|
|
24533
24573
|
__export(updateCommunicationTemplate_exports, {
|
|
24534
|
-
toKnownErr: () =>
|
|
24574
|
+
toKnownErr: () => toKnownErr23
|
|
24535
24575
|
});
|
|
24536
|
-
function
|
|
24576
|
+
function toKnownErr23(e) {
|
|
24537
24577
|
if (e instanceof XRPCError) {
|
|
24538
24578
|
}
|
|
24539
24579
|
return e;
|
|
@@ -24542,9 +24582,9 @@ function toKnownErr22(e) {
|
|
|
24542
24582
|
// src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
24543
24583
|
var updateSubjectStatus_exports = {};
|
|
24544
24584
|
__export(updateSubjectStatus_exports, {
|
|
24545
|
-
toKnownErr: () =>
|
|
24585
|
+
toKnownErr: () => toKnownErr24
|
|
24546
24586
|
});
|
|
24547
|
-
function
|
|
24587
|
+
function toKnownErr24(e) {
|
|
24548
24588
|
if (e instanceof XRPCError) {
|
|
24549
24589
|
}
|
|
24550
24590
|
return e;
|
|
@@ -24553,9 +24593,9 @@ function toKnownErr23(e) {
|
|
|
24553
24593
|
// src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
|
|
24554
24594
|
var getRecommendedDidCredentials_exports = {};
|
|
24555
24595
|
__export(getRecommendedDidCredentials_exports, {
|
|
24556
|
-
toKnownErr: () =>
|
|
24596
|
+
toKnownErr: () => toKnownErr25
|
|
24557
24597
|
});
|
|
24558
|
-
function
|
|
24598
|
+
function toKnownErr25(e) {
|
|
24559
24599
|
if (e instanceof XRPCError) {
|
|
24560
24600
|
}
|
|
24561
24601
|
return e;
|
|
@@ -24564,9 +24604,9 @@ function toKnownErr24(e) {
|
|
|
24564
24604
|
// src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
|
|
24565
24605
|
var requestPlcOperationSignature_exports = {};
|
|
24566
24606
|
__export(requestPlcOperationSignature_exports, {
|
|
24567
|
-
toKnownErr: () =>
|
|
24607
|
+
toKnownErr: () => toKnownErr26
|
|
24568
24608
|
});
|
|
24569
|
-
function
|
|
24609
|
+
function toKnownErr26(e) {
|
|
24570
24610
|
if (e instanceof XRPCError) {
|
|
24571
24611
|
}
|
|
24572
24612
|
return e;
|
|
@@ -24575,9 +24615,9 @@ function toKnownErr25(e) {
|
|
|
24575
24615
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
24576
24616
|
var resolveHandle_exports = {};
|
|
24577
24617
|
__export(resolveHandle_exports, {
|
|
24578
|
-
toKnownErr: () =>
|
|
24618
|
+
toKnownErr: () => toKnownErr27
|
|
24579
24619
|
});
|
|
24580
|
-
function
|
|
24620
|
+
function toKnownErr27(e) {
|
|
24581
24621
|
if (e instanceof XRPCError) {
|
|
24582
24622
|
}
|
|
24583
24623
|
return e;
|
|
@@ -24586,9 +24626,9 @@ function toKnownErr26(e) {
|
|
|
24586
24626
|
// src/client/types/com/atproto/identity/signPlcOperation.ts
|
|
24587
24627
|
var signPlcOperation_exports = {};
|
|
24588
24628
|
__export(signPlcOperation_exports, {
|
|
24589
|
-
toKnownErr: () =>
|
|
24629
|
+
toKnownErr: () => toKnownErr28
|
|
24590
24630
|
});
|
|
24591
|
-
function
|
|
24631
|
+
function toKnownErr28(e) {
|
|
24592
24632
|
if (e instanceof XRPCError) {
|
|
24593
24633
|
}
|
|
24594
24634
|
return e;
|
|
@@ -24597,9 +24637,9 @@ function toKnownErr27(e) {
|
|
|
24597
24637
|
// src/client/types/com/atproto/identity/submitPlcOperation.ts
|
|
24598
24638
|
var submitPlcOperation_exports = {};
|
|
24599
24639
|
__export(submitPlcOperation_exports, {
|
|
24600
|
-
toKnownErr: () =>
|
|
24640
|
+
toKnownErr: () => toKnownErr29
|
|
24601
24641
|
});
|
|
24602
|
-
function
|
|
24642
|
+
function toKnownErr29(e) {
|
|
24603
24643
|
if (e instanceof XRPCError) {
|
|
24604
24644
|
}
|
|
24605
24645
|
return e;
|
|
@@ -24608,9 +24648,9 @@ function toKnownErr28(e) {
|
|
|
24608
24648
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
24609
24649
|
var updateHandle_exports = {};
|
|
24610
24650
|
__export(updateHandle_exports, {
|
|
24611
|
-
toKnownErr: () =>
|
|
24651
|
+
toKnownErr: () => toKnownErr30
|
|
24612
24652
|
});
|
|
24613
|
-
function
|
|
24653
|
+
function toKnownErr30(e) {
|
|
24614
24654
|
if (e instanceof XRPCError) {
|
|
24615
24655
|
}
|
|
24616
24656
|
return e;
|
|
@@ -24619,9 +24659,9 @@ function toKnownErr29(e) {
|
|
|
24619
24659
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
24620
24660
|
var queryLabels_exports = {};
|
|
24621
24661
|
__export(queryLabels_exports, {
|
|
24622
|
-
toKnownErr: () =>
|
|
24662
|
+
toKnownErr: () => toKnownErr31
|
|
24623
24663
|
});
|
|
24624
|
-
function
|
|
24664
|
+
function toKnownErr31(e) {
|
|
24625
24665
|
if (e instanceof XRPCError) {
|
|
24626
24666
|
}
|
|
24627
24667
|
return e;
|
|
@@ -24630,9 +24670,9 @@ function toKnownErr30(e) {
|
|
|
24630
24670
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
24631
24671
|
var createReport_exports = {};
|
|
24632
24672
|
__export(createReport_exports, {
|
|
24633
|
-
toKnownErr: () =>
|
|
24673
|
+
toKnownErr: () => toKnownErr32
|
|
24634
24674
|
});
|
|
24635
|
-
function
|
|
24675
|
+
function toKnownErr32(e) {
|
|
24636
24676
|
if (e instanceof XRPCError) {
|
|
24637
24677
|
}
|
|
24638
24678
|
return e;
|
|
@@ -24645,7 +24685,7 @@ __export(applyWrites_exports, {
|
|
|
24645
24685
|
isCreate: () => isCreate,
|
|
24646
24686
|
isDelete: () => isDelete,
|
|
24647
24687
|
isUpdate: () => isUpdate,
|
|
24648
|
-
toKnownErr: () =>
|
|
24688
|
+
toKnownErr: () => toKnownErr33,
|
|
24649
24689
|
validateCreate: () => validateCreate,
|
|
24650
24690
|
validateDelete: () => validateDelete,
|
|
24651
24691
|
validateUpdate: () => validateUpdate
|
|
@@ -24665,7 +24705,7 @@ var InvalidSwapError = class extends XRPCError {
|
|
|
24665
24705
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24666
24706
|
}
|
|
24667
24707
|
};
|
|
24668
|
-
function
|
|
24708
|
+
function toKnownErr33(e) {
|
|
24669
24709
|
if (e instanceof XRPCError) {
|
|
24670
24710
|
if (e.error === "InvalidSwap")
|
|
24671
24711
|
return new InvalidSwapError(e);
|
|
@@ -24695,14 +24735,14 @@ function validateDelete(v) {
|
|
|
24695
24735
|
var createRecord_exports = {};
|
|
24696
24736
|
__export(createRecord_exports, {
|
|
24697
24737
|
InvalidSwapError: () => InvalidSwapError2,
|
|
24698
|
-
toKnownErr: () =>
|
|
24738
|
+
toKnownErr: () => toKnownErr34
|
|
24699
24739
|
});
|
|
24700
24740
|
var InvalidSwapError2 = class extends XRPCError {
|
|
24701
24741
|
constructor(src2) {
|
|
24702
24742
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24703
24743
|
}
|
|
24704
24744
|
};
|
|
24705
|
-
function
|
|
24745
|
+
function toKnownErr34(e) {
|
|
24706
24746
|
if (e instanceof XRPCError) {
|
|
24707
24747
|
if (e.error === "InvalidSwap")
|
|
24708
24748
|
return new InvalidSwapError2(e);
|
|
@@ -24714,14 +24754,14 @@ function toKnownErr33(e) {
|
|
|
24714
24754
|
var deleteRecord_exports = {};
|
|
24715
24755
|
__export(deleteRecord_exports, {
|
|
24716
24756
|
InvalidSwapError: () => InvalidSwapError3,
|
|
24717
|
-
toKnownErr: () =>
|
|
24757
|
+
toKnownErr: () => toKnownErr35
|
|
24718
24758
|
});
|
|
24719
24759
|
var InvalidSwapError3 = class extends XRPCError {
|
|
24720
24760
|
constructor(src2) {
|
|
24721
24761
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24722
24762
|
}
|
|
24723
24763
|
};
|
|
24724
|
-
function
|
|
24764
|
+
function toKnownErr35(e) {
|
|
24725
24765
|
if (e instanceof XRPCError) {
|
|
24726
24766
|
if (e.error === "InvalidSwap")
|
|
24727
24767
|
return new InvalidSwapError3(e);
|
|
@@ -24732,9 +24772,9 @@ function toKnownErr34(e) {
|
|
|
24732
24772
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
24733
24773
|
var describeRepo_exports = {};
|
|
24734
24774
|
__export(describeRepo_exports, {
|
|
24735
|
-
toKnownErr: () =>
|
|
24775
|
+
toKnownErr: () => toKnownErr36
|
|
24736
24776
|
});
|
|
24737
|
-
function
|
|
24777
|
+
function toKnownErr36(e) {
|
|
24738
24778
|
if (e instanceof XRPCError) {
|
|
24739
24779
|
}
|
|
24740
24780
|
return e;
|
|
@@ -24743,9 +24783,9 @@ function toKnownErr35(e) {
|
|
|
24743
24783
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
24744
24784
|
var getRecord_exports2 = {};
|
|
24745
24785
|
__export(getRecord_exports2, {
|
|
24746
|
-
toKnownErr: () =>
|
|
24786
|
+
toKnownErr: () => toKnownErr37
|
|
24747
24787
|
});
|
|
24748
|
-
function
|
|
24788
|
+
function toKnownErr37(e) {
|
|
24749
24789
|
if (e instanceof XRPCError) {
|
|
24750
24790
|
}
|
|
24751
24791
|
return e;
|
|
@@ -24754,9 +24794,9 @@ function toKnownErr36(e) {
|
|
|
24754
24794
|
// src/client/types/com/atproto/repo/importRepo.ts
|
|
24755
24795
|
var importRepo_exports = {};
|
|
24756
24796
|
__export(importRepo_exports, {
|
|
24757
|
-
toKnownErr: () =>
|
|
24797
|
+
toKnownErr: () => toKnownErr38
|
|
24758
24798
|
});
|
|
24759
|
-
function
|
|
24799
|
+
function toKnownErr38(e) {
|
|
24760
24800
|
if (e instanceof XRPCError) {
|
|
24761
24801
|
}
|
|
24762
24802
|
return e;
|
|
@@ -24766,10 +24806,10 @@ function toKnownErr37(e) {
|
|
|
24766
24806
|
var listMissingBlobs_exports = {};
|
|
24767
24807
|
__export(listMissingBlobs_exports, {
|
|
24768
24808
|
isRecordBlob: () => isRecordBlob,
|
|
24769
|
-
toKnownErr: () =>
|
|
24809
|
+
toKnownErr: () => toKnownErr39,
|
|
24770
24810
|
validateRecordBlob: () => validateRecordBlob
|
|
24771
24811
|
});
|
|
24772
|
-
function
|
|
24812
|
+
function toKnownErr39(e) {
|
|
24773
24813
|
if (e instanceof XRPCError) {
|
|
24774
24814
|
}
|
|
24775
24815
|
return e;
|
|
@@ -24785,10 +24825,10 @@ function validateRecordBlob(v) {
|
|
|
24785
24825
|
var listRecords_exports = {};
|
|
24786
24826
|
__export(listRecords_exports, {
|
|
24787
24827
|
isRecord: () => isRecord,
|
|
24788
|
-
toKnownErr: () =>
|
|
24828
|
+
toKnownErr: () => toKnownErr40,
|
|
24789
24829
|
validateRecord: () => validateRecord
|
|
24790
24830
|
});
|
|
24791
|
-
function
|
|
24831
|
+
function toKnownErr40(e) {
|
|
24792
24832
|
if (e instanceof XRPCError) {
|
|
24793
24833
|
}
|
|
24794
24834
|
return e;
|
|
@@ -24804,14 +24844,14 @@ function validateRecord(v) {
|
|
|
24804
24844
|
var putRecord_exports = {};
|
|
24805
24845
|
__export(putRecord_exports, {
|
|
24806
24846
|
InvalidSwapError: () => InvalidSwapError4,
|
|
24807
|
-
toKnownErr: () =>
|
|
24847
|
+
toKnownErr: () => toKnownErr41
|
|
24808
24848
|
});
|
|
24809
24849
|
var InvalidSwapError4 = class extends XRPCError {
|
|
24810
24850
|
constructor(src2) {
|
|
24811
24851
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24812
24852
|
}
|
|
24813
24853
|
};
|
|
24814
|
-
function
|
|
24854
|
+
function toKnownErr41(e) {
|
|
24815
24855
|
if (e instanceof XRPCError) {
|
|
24816
24856
|
if (e.error === "InvalidSwap")
|
|
24817
24857
|
return new InvalidSwapError4(e);
|
|
@@ -24822,9 +24862,9 @@ function toKnownErr40(e) {
|
|
|
24822
24862
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
24823
24863
|
var uploadBlob_exports = {};
|
|
24824
24864
|
__export(uploadBlob_exports, {
|
|
24825
|
-
toKnownErr: () =>
|
|
24865
|
+
toKnownErr: () => toKnownErr42
|
|
24826
24866
|
});
|
|
24827
|
-
function
|
|
24867
|
+
function toKnownErr42(e) {
|
|
24828
24868
|
if (e instanceof XRPCError) {
|
|
24829
24869
|
}
|
|
24830
24870
|
return e;
|
|
@@ -24833,9 +24873,9 @@ function toKnownErr41(e) {
|
|
|
24833
24873
|
// src/client/types/com/atproto/server/activateAccount.ts
|
|
24834
24874
|
var activateAccount_exports = {};
|
|
24835
24875
|
__export(activateAccount_exports, {
|
|
24836
|
-
toKnownErr: () =>
|
|
24876
|
+
toKnownErr: () => toKnownErr43
|
|
24837
24877
|
});
|
|
24838
|
-
function
|
|
24878
|
+
function toKnownErr43(e) {
|
|
24839
24879
|
if (e instanceof XRPCError) {
|
|
24840
24880
|
}
|
|
24841
24881
|
return e;
|
|
@@ -24844,9 +24884,9 @@ function toKnownErr42(e) {
|
|
|
24844
24884
|
// src/client/types/com/atproto/server/checkAccountStatus.ts
|
|
24845
24885
|
var checkAccountStatus_exports = {};
|
|
24846
24886
|
__export(checkAccountStatus_exports, {
|
|
24847
|
-
toKnownErr: () =>
|
|
24887
|
+
toKnownErr: () => toKnownErr44
|
|
24848
24888
|
});
|
|
24849
|
-
function
|
|
24889
|
+
function toKnownErr44(e) {
|
|
24850
24890
|
if (e instanceof XRPCError) {
|
|
24851
24891
|
}
|
|
24852
24892
|
return e;
|
|
@@ -24859,7 +24899,7 @@ __export(confirmEmail_exports, {
|
|
|
24859
24899
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
24860
24900
|
InvalidEmailError: () => InvalidEmailError,
|
|
24861
24901
|
InvalidTokenError: () => InvalidTokenError,
|
|
24862
|
-
toKnownErr: () =>
|
|
24902
|
+
toKnownErr: () => toKnownErr45
|
|
24863
24903
|
});
|
|
24864
24904
|
var AccountNotFoundError = class extends XRPCError {
|
|
24865
24905
|
constructor(src2) {
|
|
@@ -24881,7 +24921,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
24881
24921
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24882
24922
|
}
|
|
24883
24923
|
};
|
|
24884
|
-
function
|
|
24924
|
+
function toKnownErr45(e) {
|
|
24885
24925
|
if (e instanceof XRPCError) {
|
|
24886
24926
|
if (e.error === "AccountNotFound")
|
|
24887
24927
|
return new AccountNotFoundError(e);
|
|
@@ -24905,7 +24945,7 @@ __export(createAccount_exports, {
|
|
|
24905
24945
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
24906
24946
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
24907
24947
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
24908
|
-
toKnownErr: () =>
|
|
24948
|
+
toKnownErr: () => toKnownErr46
|
|
24909
24949
|
});
|
|
24910
24950
|
var InvalidHandleError2 = class extends XRPCError {
|
|
24911
24951
|
constructor(src2) {
|
|
@@ -24942,7 +24982,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
24942
24982
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24943
24983
|
}
|
|
24944
24984
|
};
|
|
24945
|
-
function
|
|
24985
|
+
function toKnownErr46(e) {
|
|
24946
24986
|
if (e instanceof XRPCError) {
|
|
24947
24987
|
if (e.error === "InvalidHandle")
|
|
24948
24988
|
return new InvalidHandleError2(e);
|
|
@@ -24967,7 +25007,7 @@ var createAppPassword_exports = {};
|
|
|
24967
25007
|
__export(createAppPassword_exports, {
|
|
24968
25008
|
AccountTakedownError: () => AccountTakedownError,
|
|
24969
25009
|
isAppPassword: () => isAppPassword,
|
|
24970
|
-
toKnownErr: () =>
|
|
25010
|
+
toKnownErr: () => toKnownErr47,
|
|
24971
25011
|
validateAppPassword: () => validateAppPassword
|
|
24972
25012
|
});
|
|
24973
25013
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -24975,7 +25015,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
24975
25015
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24976
25016
|
}
|
|
24977
25017
|
};
|
|
24978
|
-
function
|
|
25018
|
+
function toKnownErr47(e) {
|
|
24979
25019
|
if (e instanceof XRPCError) {
|
|
24980
25020
|
if (e.error === "AccountTakedown")
|
|
24981
25021
|
return new AccountTakedownError(e);
|
|
@@ -24992,9 +25032,9 @@ function validateAppPassword(v) {
|
|
|
24992
25032
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
24993
25033
|
var createInviteCode_exports = {};
|
|
24994
25034
|
__export(createInviteCode_exports, {
|
|
24995
|
-
toKnownErr: () =>
|
|
25035
|
+
toKnownErr: () => toKnownErr48
|
|
24996
25036
|
});
|
|
24997
|
-
function
|
|
25037
|
+
function toKnownErr48(e) {
|
|
24998
25038
|
if (e instanceof XRPCError) {
|
|
24999
25039
|
}
|
|
25000
25040
|
return e;
|
|
@@ -25004,10 +25044,10 @@ function toKnownErr47(e) {
|
|
|
25004
25044
|
var createInviteCodes_exports = {};
|
|
25005
25045
|
__export(createInviteCodes_exports, {
|
|
25006
25046
|
isAccountCodes: () => isAccountCodes,
|
|
25007
|
-
toKnownErr: () =>
|
|
25047
|
+
toKnownErr: () => toKnownErr49,
|
|
25008
25048
|
validateAccountCodes: () => validateAccountCodes
|
|
25009
25049
|
});
|
|
25010
|
-
function
|
|
25050
|
+
function toKnownErr49(e) {
|
|
25011
25051
|
if (e instanceof XRPCError) {
|
|
25012
25052
|
}
|
|
25013
25053
|
return e;
|
|
@@ -25023,14 +25063,14 @@ function validateAccountCodes(v) {
|
|
|
25023
25063
|
var createSession_exports = {};
|
|
25024
25064
|
__export(createSession_exports, {
|
|
25025
25065
|
AccountTakedownError: () => AccountTakedownError2,
|
|
25026
|
-
toKnownErr: () =>
|
|
25066
|
+
toKnownErr: () => toKnownErr50
|
|
25027
25067
|
});
|
|
25028
25068
|
var AccountTakedownError2 = class extends XRPCError {
|
|
25029
25069
|
constructor(src2) {
|
|
25030
25070
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25031
25071
|
}
|
|
25032
25072
|
};
|
|
25033
|
-
function
|
|
25073
|
+
function toKnownErr50(e) {
|
|
25034
25074
|
if (e instanceof XRPCError) {
|
|
25035
25075
|
if (e.error === "AccountTakedown")
|
|
25036
25076
|
return new AccountTakedownError2(e);
|
|
@@ -25041,9 +25081,9 @@ function toKnownErr49(e) {
|
|
|
25041
25081
|
// src/client/types/com/atproto/server/deactivateAccount.ts
|
|
25042
25082
|
var deactivateAccount_exports = {};
|
|
25043
25083
|
__export(deactivateAccount_exports, {
|
|
25044
|
-
toKnownErr: () =>
|
|
25084
|
+
toKnownErr: () => toKnownErr51
|
|
25045
25085
|
});
|
|
25046
|
-
function
|
|
25086
|
+
function toKnownErr51(e) {
|
|
25047
25087
|
if (e instanceof XRPCError) {
|
|
25048
25088
|
}
|
|
25049
25089
|
return e;
|
|
@@ -25054,7 +25094,7 @@ var deleteAccount_exports2 = {};
|
|
|
25054
25094
|
__export(deleteAccount_exports2, {
|
|
25055
25095
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
25056
25096
|
InvalidTokenError: () => InvalidTokenError2,
|
|
25057
|
-
toKnownErr: () =>
|
|
25097
|
+
toKnownErr: () => toKnownErr52
|
|
25058
25098
|
});
|
|
25059
25099
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
25060
25100
|
constructor(src2) {
|
|
@@ -25066,7 +25106,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
25066
25106
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25067
25107
|
}
|
|
25068
25108
|
};
|
|
25069
|
-
function
|
|
25109
|
+
function toKnownErr52(e) {
|
|
25070
25110
|
if (e instanceof XRPCError) {
|
|
25071
25111
|
if (e.error === "ExpiredToken")
|
|
25072
25112
|
return new ExpiredTokenError2(e);
|
|
@@ -25079,9 +25119,9 @@ function toKnownErr51(e) {
|
|
|
25079
25119
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
25080
25120
|
var deleteSession_exports = {};
|
|
25081
25121
|
__export(deleteSession_exports, {
|
|
25082
|
-
toKnownErr: () =>
|
|
25122
|
+
toKnownErr: () => toKnownErr53
|
|
25083
25123
|
});
|
|
25084
|
-
function
|
|
25124
|
+
function toKnownErr53(e) {
|
|
25085
25125
|
if (e instanceof XRPCError) {
|
|
25086
25126
|
}
|
|
25087
25127
|
return e;
|
|
@@ -25091,10 +25131,10 @@ function toKnownErr52(e) {
|
|
|
25091
25131
|
var describeServer_exports = {};
|
|
25092
25132
|
__export(describeServer_exports, {
|
|
25093
25133
|
isLinks: () => isLinks,
|
|
25094
|
-
toKnownErr: () =>
|
|
25134
|
+
toKnownErr: () => toKnownErr54,
|
|
25095
25135
|
validateLinks: () => validateLinks
|
|
25096
25136
|
});
|
|
25097
|
-
function
|
|
25137
|
+
function toKnownErr54(e) {
|
|
25098
25138
|
if (e instanceof XRPCError) {
|
|
25099
25139
|
}
|
|
25100
25140
|
return e;
|
|
@@ -25110,14 +25150,14 @@ function validateLinks(v) {
|
|
|
25110
25150
|
var getAccountInviteCodes_exports = {};
|
|
25111
25151
|
__export(getAccountInviteCodes_exports, {
|
|
25112
25152
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
25113
|
-
toKnownErr: () =>
|
|
25153
|
+
toKnownErr: () => toKnownErr55
|
|
25114
25154
|
});
|
|
25115
25155
|
var DuplicateCreateError = class extends XRPCError {
|
|
25116
25156
|
constructor(src2) {
|
|
25117
25157
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25118
25158
|
}
|
|
25119
25159
|
};
|
|
25120
|
-
function
|
|
25160
|
+
function toKnownErr55(e) {
|
|
25121
25161
|
if (e instanceof XRPCError) {
|
|
25122
25162
|
if (e.error === "DuplicateCreate")
|
|
25123
25163
|
return new DuplicateCreateError(e);
|
|
@@ -25128,9 +25168,9 @@ function toKnownErr54(e) {
|
|
|
25128
25168
|
// src/client/types/com/atproto/server/getServiceAuth.ts
|
|
25129
25169
|
var getServiceAuth_exports = {};
|
|
25130
25170
|
__export(getServiceAuth_exports, {
|
|
25131
|
-
toKnownErr: () =>
|
|
25171
|
+
toKnownErr: () => toKnownErr56
|
|
25132
25172
|
});
|
|
25133
|
-
function
|
|
25173
|
+
function toKnownErr56(e) {
|
|
25134
25174
|
if (e instanceof XRPCError) {
|
|
25135
25175
|
}
|
|
25136
25176
|
return e;
|
|
@@ -25139,9 +25179,9 @@ function toKnownErr55(e) {
|
|
|
25139
25179
|
// src/client/types/com/atproto/server/getSession.ts
|
|
25140
25180
|
var getSession_exports = {};
|
|
25141
25181
|
__export(getSession_exports, {
|
|
25142
|
-
toKnownErr: () =>
|
|
25182
|
+
toKnownErr: () => toKnownErr57
|
|
25143
25183
|
});
|
|
25144
|
-
function
|
|
25184
|
+
function toKnownErr57(e) {
|
|
25145
25185
|
if (e instanceof XRPCError) {
|
|
25146
25186
|
}
|
|
25147
25187
|
return e;
|
|
@@ -25152,7 +25192,7 @@ var listAppPasswords_exports = {};
|
|
|
25152
25192
|
__export(listAppPasswords_exports, {
|
|
25153
25193
|
AccountTakedownError: () => AccountTakedownError3,
|
|
25154
25194
|
isAppPassword: () => isAppPassword2,
|
|
25155
|
-
toKnownErr: () =>
|
|
25195
|
+
toKnownErr: () => toKnownErr58,
|
|
25156
25196
|
validateAppPassword: () => validateAppPassword2
|
|
25157
25197
|
});
|
|
25158
25198
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -25160,7 +25200,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
25160
25200
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25161
25201
|
}
|
|
25162
25202
|
};
|
|
25163
|
-
function
|
|
25203
|
+
function toKnownErr58(e) {
|
|
25164
25204
|
if (e instanceof XRPCError) {
|
|
25165
25205
|
if (e.error === "AccountTakedown")
|
|
25166
25206
|
return new AccountTakedownError3(e);
|
|
@@ -25178,14 +25218,14 @@ function validateAppPassword2(v) {
|
|
|
25178
25218
|
var refreshSession_exports = {};
|
|
25179
25219
|
__export(refreshSession_exports, {
|
|
25180
25220
|
AccountTakedownError: () => AccountTakedownError4,
|
|
25181
|
-
toKnownErr: () =>
|
|
25221
|
+
toKnownErr: () => toKnownErr59
|
|
25182
25222
|
});
|
|
25183
25223
|
var AccountTakedownError4 = class extends XRPCError {
|
|
25184
25224
|
constructor(src2) {
|
|
25185
25225
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25186
25226
|
}
|
|
25187
25227
|
};
|
|
25188
|
-
function
|
|
25228
|
+
function toKnownErr59(e) {
|
|
25189
25229
|
if (e instanceof XRPCError) {
|
|
25190
25230
|
if (e.error === "AccountTakedown")
|
|
25191
25231
|
return new AccountTakedownError4(e);
|
|
@@ -25196,9 +25236,9 @@ function toKnownErr58(e) {
|
|
|
25196
25236
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
25197
25237
|
var requestAccountDelete_exports = {};
|
|
25198
25238
|
__export(requestAccountDelete_exports, {
|
|
25199
|
-
toKnownErr: () =>
|
|
25239
|
+
toKnownErr: () => toKnownErr60
|
|
25200
25240
|
});
|
|
25201
|
-
function
|
|
25241
|
+
function toKnownErr60(e) {
|
|
25202
25242
|
if (e instanceof XRPCError) {
|
|
25203
25243
|
}
|
|
25204
25244
|
return e;
|
|
@@ -25207,9 +25247,9 @@ function toKnownErr59(e) {
|
|
|
25207
25247
|
// src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
25208
25248
|
var requestEmailConfirmation_exports = {};
|
|
25209
25249
|
__export(requestEmailConfirmation_exports, {
|
|
25210
|
-
toKnownErr: () =>
|
|
25250
|
+
toKnownErr: () => toKnownErr61
|
|
25211
25251
|
});
|
|
25212
|
-
function
|
|
25252
|
+
function toKnownErr61(e) {
|
|
25213
25253
|
if (e instanceof XRPCError) {
|
|
25214
25254
|
}
|
|
25215
25255
|
return e;
|
|
@@ -25218,9 +25258,9 @@ function toKnownErr60(e) {
|
|
|
25218
25258
|
// src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
25219
25259
|
var requestEmailUpdate_exports = {};
|
|
25220
25260
|
__export(requestEmailUpdate_exports, {
|
|
25221
|
-
toKnownErr: () =>
|
|
25261
|
+
toKnownErr: () => toKnownErr62
|
|
25222
25262
|
});
|
|
25223
|
-
function
|
|
25263
|
+
function toKnownErr62(e) {
|
|
25224
25264
|
if (e instanceof XRPCError) {
|
|
25225
25265
|
}
|
|
25226
25266
|
return e;
|
|
@@ -25229,9 +25269,9 @@ function toKnownErr61(e) {
|
|
|
25229
25269
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
25230
25270
|
var requestPasswordReset_exports = {};
|
|
25231
25271
|
__export(requestPasswordReset_exports, {
|
|
25232
|
-
toKnownErr: () =>
|
|
25272
|
+
toKnownErr: () => toKnownErr63
|
|
25233
25273
|
});
|
|
25234
|
-
function
|
|
25274
|
+
function toKnownErr63(e) {
|
|
25235
25275
|
if (e instanceof XRPCError) {
|
|
25236
25276
|
}
|
|
25237
25277
|
return e;
|
|
@@ -25240,9 +25280,9 @@ function toKnownErr62(e) {
|
|
|
25240
25280
|
// src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
25241
25281
|
var reserveSigningKey_exports = {};
|
|
25242
25282
|
__export(reserveSigningKey_exports, {
|
|
25243
|
-
toKnownErr: () =>
|
|
25283
|
+
toKnownErr: () => toKnownErr64
|
|
25244
25284
|
});
|
|
25245
|
-
function
|
|
25285
|
+
function toKnownErr64(e) {
|
|
25246
25286
|
if (e instanceof XRPCError) {
|
|
25247
25287
|
}
|
|
25248
25288
|
return e;
|
|
@@ -25253,7 +25293,7 @@ var resetPassword_exports = {};
|
|
|
25253
25293
|
__export(resetPassword_exports, {
|
|
25254
25294
|
ExpiredTokenError: () => ExpiredTokenError3,
|
|
25255
25295
|
InvalidTokenError: () => InvalidTokenError3,
|
|
25256
|
-
toKnownErr: () =>
|
|
25296
|
+
toKnownErr: () => toKnownErr65
|
|
25257
25297
|
});
|
|
25258
25298
|
var ExpiredTokenError3 = class extends XRPCError {
|
|
25259
25299
|
constructor(src2) {
|
|
@@ -25265,7 +25305,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
25265
25305
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25266
25306
|
}
|
|
25267
25307
|
};
|
|
25268
|
-
function
|
|
25308
|
+
function toKnownErr65(e) {
|
|
25269
25309
|
if (e instanceof XRPCError) {
|
|
25270
25310
|
if (e.error === "ExpiredToken")
|
|
25271
25311
|
return new ExpiredTokenError3(e);
|
|
@@ -25278,9 +25318,9 @@ function toKnownErr64(e) {
|
|
|
25278
25318
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
25279
25319
|
var revokeAppPassword_exports = {};
|
|
25280
25320
|
__export(revokeAppPassword_exports, {
|
|
25281
|
-
toKnownErr: () =>
|
|
25321
|
+
toKnownErr: () => toKnownErr66
|
|
25282
25322
|
});
|
|
25283
|
-
function
|
|
25323
|
+
function toKnownErr66(e) {
|
|
25284
25324
|
if (e instanceof XRPCError) {
|
|
25285
25325
|
}
|
|
25286
25326
|
return e;
|
|
@@ -25292,7 +25332,7 @@ __export(updateEmail_exports, {
|
|
|
25292
25332
|
ExpiredTokenError: () => ExpiredTokenError4,
|
|
25293
25333
|
InvalidTokenError: () => InvalidTokenError4,
|
|
25294
25334
|
TokenRequiredError: () => TokenRequiredError,
|
|
25295
|
-
toKnownErr: () =>
|
|
25335
|
+
toKnownErr: () => toKnownErr67
|
|
25296
25336
|
});
|
|
25297
25337
|
var ExpiredTokenError4 = class extends XRPCError {
|
|
25298
25338
|
constructor(src2) {
|
|
@@ -25309,7 +25349,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
25309
25349
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25310
25350
|
}
|
|
25311
25351
|
};
|
|
25312
|
-
function
|
|
25352
|
+
function toKnownErr67(e) {
|
|
25313
25353
|
if (e instanceof XRPCError) {
|
|
25314
25354
|
if (e.error === "ExpiredToken")
|
|
25315
25355
|
return new ExpiredTokenError4(e);
|
|
@@ -25324,9 +25364,9 @@ function toKnownErr66(e) {
|
|
|
25324
25364
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
25325
25365
|
var getBlob_exports = {};
|
|
25326
25366
|
__export(getBlob_exports, {
|
|
25327
|
-
toKnownErr: () =>
|
|
25367
|
+
toKnownErr: () => toKnownErr68
|
|
25328
25368
|
});
|
|
25329
|
-
function
|
|
25369
|
+
function toKnownErr68(e) {
|
|
25330
25370
|
if (e instanceof XRPCError) {
|
|
25331
25371
|
}
|
|
25332
25372
|
return e;
|
|
@@ -25335,9 +25375,9 @@ function toKnownErr67(e) {
|
|
|
25335
25375
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
25336
25376
|
var getBlocks_exports = {};
|
|
25337
25377
|
__export(getBlocks_exports, {
|
|
25338
|
-
toKnownErr: () =>
|
|
25378
|
+
toKnownErr: () => toKnownErr69
|
|
25339
25379
|
});
|
|
25340
|
-
function
|
|
25380
|
+
function toKnownErr69(e) {
|
|
25341
25381
|
if (e instanceof XRPCError) {
|
|
25342
25382
|
}
|
|
25343
25383
|
return e;
|
|
@@ -25346,9 +25386,9 @@ function toKnownErr68(e) {
|
|
|
25346
25386
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
25347
25387
|
var getCheckout_exports = {};
|
|
25348
25388
|
__export(getCheckout_exports, {
|
|
25349
|
-
toKnownErr: () =>
|
|
25389
|
+
toKnownErr: () => toKnownErr70
|
|
25350
25390
|
});
|
|
25351
|
-
function
|
|
25391
|
+
function toKnownErr70(e) {
|
|
25352
25392
|
if (e instanceof XRPCError) {
|
|
25353
25393
|
}
|
|
25354
25394
|
return e;
|
|
@@ -25358,14 +25398,14 @@ function toKnownErr69(e) {
|
|
|
25358
25398
|
var getHead_exports = {};
|
|
25359
25399
|
__export(getHead_exports, {
|
|
25360
25400
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
25361
|
-
toKnownErr: () =>
|
|
25401
|
+
toKnownErr: () => toKnownErr71
|
|
25362
25402
|
});
|
|
25363
25403
|
var HeadNotFoundError = class extends XRPCError {
|
|
25364
25404
|
constructor(src2) {
|
|
25365
25405
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25366
25406
|
}
|
|
25367
25407
|
};
|
|
25368
|
-
function
|
|
25408
|
+
function toKnownErr71(e) {
|
|
25369
25409
|
if (e instanceof XRPCError) {
|
|
25370
25410
|
if (e.error === "HeadNotFound")
|
|
25371
25411
|
return new HeadNotFoundError(e);
|
|
@@ -25377,14 +25417,14 @@ function toKnownErr70(e) {
|
|
|
25377
25417
|
var getLatestCommit_exports = {};
|
|
25378
25418
|
__export(getLatestCommit_exports, {
|
|
25379
25419
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
25380
|
-
toKnownErr: () =>
|
|
25420
|
+
toKnownErr: () => toKnownErr72
|
|
25381
25421
|
});
|
|
25382
25422
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
25383
25423
|
constructor(src2) {
|
|
25384
25424
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25385
25425
|
}
|
|
25386
25426
|
};
|
|
25387
|
-
function
|
|
25427
|
+
function toKnownErr72(e) {
|
|
25388
25428
|
if (e instanceof XRPCError) {
|
|
25389
25429
|
if (e.error === "RepoNotFound")
|
|
25390
25430
|
return new RepoNotFoundError2(e);
|
|
@@ -25395,9 +25435,9 @@ function toKnownErr71(e) {
|
|
|
25395
25435
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
25396
25436
|
var getRecord_exports3 = {};
|
|
25397
25437
|
__export(getRecord_exports3, {
|
|
25398
|
-
toKnownErr: () =>
|
|
25438
|
+
toKnownErr: () => toKnownErr73
|
|
25399
25439
|
});
|
|
25400
|
-
function
|
|
25440
|
+
function toKnownErr73(e) {
|
|
25401
25441
|
if (e instanceof XRPCError) {
|
|
25402
25442
|
}
|
|
25403
25443
|
return e;
|
|
@@ -25406,9 +25446,9 @@ function toKnownErr72(e) {
|
|
|
25406
25446
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
25407
25447
|
var getRepo_exports2 = {};
|
|
25408
25448
|
__export(getRepo_exports2, {
|
|
25409
|
-
toKnownErr: () =>
|
|
25449
|
+
toKnownErr: () => toKnownErr74
|
|
25410
25450
|
});
|
|
25411
|
-
function
|
|
25451
|
+
function toKnownErr74(e) {
|
|
25412
25452
|
if (e instanceof XRPCError) {
|
|
25413
25453
|
}
|
|
25414
25454
|
return e;
|
|
@@ -25417,9 +25457,9 @@ function toKnownErr73(e) {
|
|
|
25417
25457
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
25418
25458
|
var listBlobs_exports = {};
|
|
25419
25459
|
__export(listBlobs_exports, {
|
|
25420
|
-
toKnownErr: () =>
|
|
25460
|
+
toKnownErr: () => toKnownErr75
|
|
25421
25461
|
});
|
|
25422
|
-
function
|
|
25462
|
+
function toKnownErr75(e) {
|
|
25423
25463
|
if (e instanceof XRPCError) {
|
|
25424
25464
|
}
|
|
25425
25465
|
return e;
|
|
@@ -25429,10 +25469,10 @@ function toKnownErr74(e) {
|
|
|
25429
25469
|
var listRepos_exports = {};
|
|
25430
25470
|
__export(listRepos_exports, {
|
|
25431
25471
|
isRepo: () => isRepo,
|
|
25432
|
-
toKnownErr: () =>
|
|
25472
|
+
toKnownErr: () => toKnownErr76,
|
|
25433
25473
|
validateRepo: () => validateRepo
|
|
25434
25474
|
});
|
|
25435
|
-
function
|
|
25475
|
+
function toKnownErr76(e) {
|
|
25436
25476
|
if (e instanceof XRPCError) {
|
|
25437
25477
|
}
|
|
25438
25478
|
return e;
|
|
@@ -25447,9 +25487,9 @@ function validateRepo(v) {
|
|
|
25447
25487
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
25448
25488
|
var notifyOfUpdate_exports = {};
|
|
25449
25489
|
__export(notifyOfUpdate_exports, {
|
|
25450
|
-
toKnownErr: () =>
|
|
25490
|
+
toKnownErr: () => toKnownErr77
|
|
25451
25491
|
});
|
|
25452
|
-
function
|
|
25492
|
+
function toKnownErr77(e) {
|
|
25453
25493
|
if (e instanceof XRPCError) {
|
|
25454
25494
|
}
|
|
25455
25495
|
return e;
|
|
@@ -25458,9 +25498,9 @@ function toKnownErr76(e) {
|
|
|
25458
25498
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
25459
25499
|
var requestCrawl_exports = {};
|
|
25460
25500
|
__export(requestCrawl_exports, {
|
|
25461
|
-
toKnownErr: () =>
|
|
25501
|
+
toKnownErr: () => toKnownErr78
|
|
25462
25502
|
});
|
|
25463
|
-
function
|
|
25503
|
+
function toKnownErr78(e) {
|
|
25464
25504
|
if (e instanceof XRPCError) {
|
|
25465
25505
|
}
|
|
25466
25506
|
return e;
|
|
@@ -25469,9 +25509,9 @@ function toKnownErr77(e) {
|
|
|
25469
25509
|
// src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
25470
25510
|
var checkSignupQueue_exports = {};
|
|
25471
25511
|
__export(checkSignupQueue_exports, {
|
|
25472
|
-
toKnownErr: () =>
|
|
25512
|
+
toKnownErr: () => toKnownErr79
|
|
25473
25513
|
});
|
|
25474
|
-
function
|
|
25514
|
+
function toKnownErr79(e) {
|
|
25475
25515
|
if (e instanceof XRPCError) {
|
|
25476
25516
|
}
|
|
25477
25517
|
return e;
|
|
@@ -25480,9 +25520,9 @@ function toKnownErr78(e) {
|
|
|
25480
25520
|
// src/client/types/com/atproto/temp/fetchLabels.ts
|
|
25481
25521
|
var fetchLabels_exports = {};
|
|
25482
25522
|
__export(fetchLabels_exports, {
|
|
25483
|
-
toKnownErr: () =>
|
|
25523
|
+
toKnownErr: () => toKnownErr80
|
|
25484
25524
|
});
|
|
25485
|
-
function
|
|
25525
|
+
function toKnownErr80(e) {
|
|
25486
25526
|
if (e instanceof XRPCError) {
|
|
25487
25527
|
}
|
|
25488
25528
|
return e;
|
|
@@ -25491,9 +25531,9 @@ function toKnownErr79(e) {
|
|
|
25491
25531
|
// src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
25492
25532
|
var requestPhoneVerification_exports = {};
|
|
25493
25533
|
__export(requestPhoneVerification_exports, {
|
|
25494
|
-
toKnownErr: () =>
|
|
25534
|
+
toKnownErr: () => toKnownErr81
|
|
25495
25535
|
});
|
|
25496
|
-
function
|
|
25536
|
+
function toKnownErr81(e) {
|
|
25497
25537
|
if (e instanceof XRPCError) {
|
|
25498
25538
|
}
|
|
25499
25539
|
return e;
|
|
@@ -25502,9 +25542,9 @@ function toKnownErr80(e) {
|
|
|
25502
25542
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
25503
25543
|
var getPreferences_exports = {};
|
|
25504
25544
|
__export(getPreferences_exports, {
|
|
25505
|
-
toKnownErr: () =>
|
|
25545
|
+
toKnownErr: () => toKnownErr82
|
|
25506
25546
|
});
|
|
25507
|
-
function
|
|
25547
|
+
function toKnownErr82(e) {
|
|
25508
25548
|
if (e instanceof XRPCError) {
|
|
25509
25549
|
}
|
|
25510
25550
|
return e;
|
|
@@ -25513,9 +25553,9 @@ function toKnownErr81(e) {
|
|
|
25513
25553
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
25514
25554
|
var getProfile_exports = {};
|
|
25515
25555
|
__export(getProfile_exports, {
|
|
25516
|
-
toKnownErr: () =>
|
|
25556
|
+
toKnownErr: () => toKnownErr83
|
|
25517
25557
|
});
|
|
25518
|
-
function
|
|
25558
|
+
function toKnownErr83(e) {
|
|
25519
25559
|
if (e instanceof XRPCError) {
|
|
25520
25560
|
}
|
|
25521
25561
|
return e;
|
|
@@ -25524,9 +25564,9 @@ function toKnownErr82(e) {
|
|
|
25524
25564
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
25525
25565
|
var getProfiles_exports = {};
|
|
25526
25566
|
__export(getProfiles_exports, {
|
|
25527
|
-
toKnownErr: () =>
|
|
25567
|
+
toKnownErr: () => toKnownErr84
|
|
25528
25568
|
});
|
|
25529
|
-
function
|
|
25569
|
+
function toKnownErr84(e) {
|
|
25530
25570
|
if (e instanceof XRPCError) {
|
|
25531
25571
|
}
|
|
25532
25572
|
return e;
|
|
@@ -25535,9 +25575,9 @@ function toKnownErr83(e) {
|
|
|
25535
25575
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
25536
25576
|
var getSuggestions_exports = {};
|
|
25537
25577
|
__export(getSuggestions_exports, {
|
|
25538
|
-
toKnownErr: () =>
|
|
25578
|
+
toKnownErr: () => toKnownErr85
|
|
25539
25579
|
});
|
|
25540
|
-
function
|
|
25580
|
+
function toKnownErr85(e) {
|
|
25541
25581
|
if (e instanceof XRPCError) {
|
|
25542
25582
|
}
|
|
25543
25583
|
return e;
|
|
@@ -25546,9 +25586,9 @@ function toKnownErr84(e) {
|
|
|
25546
25586
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
25547
25587
|
var putPreferences_exports = {};
|
|
25548
25588
|
__export(putPreferences_exports, {
|
|
25549
|
-
toKnownErr: () =>
|
|
25589
|
+
toKnownErr: () => toKnownErr86
|
|
25550
25590
|
});
|
|
25551
|
-
function
|
|
25591
|
+
function toKnownErr86(e) {
|
|
25552
25592
|
if (e instanceof XRPCError) {
|
|
25553
25593
|
}
|
|
25554
25594
|
return e;
|
|
@@ -25557,9 +25597,9 @@ function toKnownErr85(e) {
|
|
|
25557
25597
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
25558
25598
|
var searchActors_exports = {};
|
|
25559
25599
|
__export(searchActors_exports, {
|
|
25560
|
-
toKnownErr: () =>
|
|
25600
|
+
toKnownErr: () => toKnownErr87
|
|
25561
25601
|
});
|
|
25562
|
-
function
|
|
25602
|
+
function toKnownErr87(e) {
|
|
25563
25603
|
if (e instanceof XRPCError) {
|
|
25564
25604
|
}
|
|
25565
25605
|
return e;
|
|
@@ -25568,9 +25608,9 @@ function toKnownErr86(e) {
|
|
|
25568
25608
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
25569
25609
|
var searchActorsTypeahead_exports = {};
|
|
25570
25610
|
__export(searchActorsTypeahead_exports, {
|
|
25571
|
-
toKnownErr: () =>
|
|
25611
|
+
toKnownErr: () => toKnownErr88
|
|
25572
25612
|
});
|
|
25573
|
-
function
|
|
25613
|
+
function toKnownErr88(e) {
|
|
25574
25614
|
if (e instanceof XRPCError) {
|
|
25575
25615
|
}
|
|
25576
25616
|
return e;
|
|
@@ -25581,11 +25621,11 @@ var describeFeedGenerator_exports = {};
|
|
|
25581
25621
|
__export(describeFeedGenerator_exports, {
|
|
25582
25622
|
isFeed: () => isFeed,
|
|
25583
25623
|
isLinks: () => isLinks2,
|
|
25584
|
-
toKnownErr: () =>
|
|
25624
|
+
toKnownErr: () => toKnownErr89,
|
|
25585
25625
|
validateFeed: () => validateFeed,
|
|
25586
25626
|
validateLinks: () => validateLinks2
|
|
25587
25627
|
});
|
|
25588
|
-
function
|
|
25628
|
+
function toKnownErr89(e) {
|
|
25589
25629
|
if (e instanceof XRPCError) {
|
|
25590
25630
|
}
|
|
25591
25631
|
return e;
|
|
@@ -25606,9 +25646,9 @@ function validateLinks2(v) {
|
|
|
25606
25646
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
25607
25647
|
var getActorFeeds_exports = {};
|
|
25608
25648
|
__export(getActorFeeds_exports, {
|
|
25609
|
-
toKnownErr: () =>
|
|
25649
|
+
toKnownErr: () => toKnownErr90
|
|
25610
25650
|
});
|
|
25611
|
-
function
|
|
25651
|
+
function toKnownErr90(e) {
|
|
25612
25652
|
if (e instanceof XRPCError) {
|
|
25613
25653
|
}
|
|
25614
25654
|
return e;
|
|
@@ -25619,7 +25659,7 @@ var getActorLikes_exports = {};
|
|
|
25619
25659
|
__export(getActorLikes_exports, {
|
|
25620
25660
|
BlockedActorError: () => BlockedActorError,
|
|
25621
25661
|
BlockedByActorError: () => BlockedByActorError,
|
|
25622
|
-
toKnownErr: () =>
|
|
25662
|
+
toKnownErr: () => toKnownErr91
|
|
25623
25663
|
});
|
|
25624
25664
|
var BlockedActorError = class extends XRPCError {
|
|
25625
25665
|
constructor(src2) {
|
|
@@ -25631,7 +25671,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
25631
25671
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25632
25672
|
}
|
|
25633
25673
|
};
|
|
25634
|
-
function
|
|
25674
|
+
function toKnownErr91(e) {
|
|
25635
25675
|
if (e instanceof XRPCError) {
|
|
25636
25676
|
if (e.error === "BlockedActor")
|
|
25637
25677
|
return new BlockedActorError(e);
|
|
@@ -25646,7 +25686,7 @@ var getAuthorFeed_exports = {};
|
|
|
25646
25686
|
__export(getAuthorFeed_exports, {
|
|
25647
25687
|
BlockedActorError: () => BlockedActorError2,
|
|
25648
25688
|
BlockedByActorError: () => BlockedByActorError2,
|
|
25649
|
-
toKnownErr: () =>
|
|
25689
|
+
toKnownErr: () => toKnownErr92
|
|
25650
25690
|
});
|
|
25651
25691
|
var BlockedActorError2 = class extends XRPCError {
|
|
25652
25692
|
constructor(src2) {
|
|
@@ -25658,7 +25698,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
25658
25698
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25659
25699
|
}
|
|
25660
25700
|
};
|
|
25661
|
-
function
|
|
25701
|
+
function toKnownErr92(e) {
|
|
25662
25702
|
if (e instanceof XRPCError) {
|
|
25663
25703
|
if (e.error === "BlockedActor")
|
|
25664
25704
|
return new BlockedActorError2(e);
|
|
@@ -25672,14 +25712,14 @@ function toKnownErr91(e) {
|
|
|
25672
25712
|
var getFeed_exports = {};
|
|
25673
25713
|
__export(getFeed_exports, {
|
|
25674
25714
|
UnknownFeedError: () => UnknownFeedError,
|
|
25675
|
-
toKnownErr: () =>
|
|
25715
|
+
toKnownErr: () => toKnownErr93
|
|
25676
25716
|
});
|
|
25677
25717
|
var UnknownFeedError = class extends XRPCError {
|
|
25678
25718
|
constructor(src2) {
|
|
25679
25719
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25680
25720
|
}
|
|
25681
25721
|
};
|
|
25682
|
-
function
|
|
25722
|
+
function toKnownErr93(e) {
|
|
25683
25723
|
if (e instanceof XRPCError) {
|
|
25684
25724
|
if (e.error === "UnknownFeed")
|
|
25685
25725
|
return new UnknownFeedError(e);
|
|
@@ -25690,9 +25730,9 @@ function toKnownErr92(e) {
|
|
|
25690
25730
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
25691
25731
|
var getFeedGenerator_exports = {};
|
|
25692
25732
|
__export(getFeedGenerator_exports, {
|
|
25693
|
-
toKnownErr: () =>
|
|
25733
|
+
toKnownErr: () => toKnownErr94
|
|
25694
25734
|
});
|
|
25695
|
-
function
|
|
25735
|
+
function toKnownErr94(e) {
|
|
25696
25736
|
if (e instanceof XRPCError) {
|
|
25697
25737
|
}
|
|
25698
25738
|
return e;
|
|
@@ -25701,9 +25741,9 @@ function toKnownErr93(e) {
|
|
|
25701
25741
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
25702
25742
|
var getFeedGenerators_exports = {};
|
|
25703
25743
|
__export(getFeedGenerators_exports, {
|
|
25704
|
-
toKnownErr: () =>
|
|
25744
|
+
toKnownErr: () => toKnownErr95
|
|
25705
25745
|
});
|
|
25706
|
-
function
|
|
25746
|
+
function toKnownErr95(e) {
|
|
25707
25747
|
if (e instanceof XRPCError) {
|
|
25708
25748
|
}
|
|
25709
25749
|
return e;
|
|
@@ -25713,14 +25753,14 @@ function toKnownErr94(e) {
|
|
|
25713
25753
|
var getFeedSkeleton_exports = {};
|
|
25714
25754
|
__export(getFeedSkeleton_exports, {
|
|
25715
25755
|
UnknownFeedError: () => UnknownFeedError2,
|
|
25716
|
-
toKnownErr: () =>
|
|
25756
|
+
toKnownErr: () => toKnownErr96
|
|
25717
25757
|
});
|
|
25718
25758
|
var UnknownFeedError2 = class extends XRPCError {
|
|
25719
25759
|
constructor(src2) {
|
|
25720
25760
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25721
25761
|
}
|
|
25722
25762
|
};
|
|
25723
|
-
function
|
|
25763
|
+
function toKnownErr96(e) {
|
|
25724
25764
|
if (e instanceof XRPCError) {
|
|
25725
25765
|
if (e.error === "UnknownFeed")
|
|
25726
25766
|
return new UnknownFeedError2(e);
|
|
@@ -25732,10 +25772,10 @@ function toKnownErr95(e) {
|
|
|
25732
25772
|
var getLikes_exports = {};
|
|
25733
25773
|
__export(getLikes_exports, {
|
|
25734
25774
|
isLike: () => isLike,
|
|
25735
|
-
toKnownErr: () =>
|
|
25775
|
+
toKnownErr: () => toKnownErr97,
|
|
25736
25776
|
validateLike: () => validateLike
|
|
25737
25777
|
});
|
|
25738
|
-
function
|
|
25778
|
+
function toKnownErr97(e) {
|
|
25739
25779
|
if (e instanceof XRPCError) {
|
|
25740
25780
|
}
|
|
25741
25781
|
return e;
|
|
@@ -25751,14 +25791,14 @@ function validateLike(v) {
|
|
|
25751
25791
|
var getListFeed_exports = {};
|
|
25752
25792
|
__export(getListFeed_exports, {
|
|
25753
25793
|
UnknownListError: () => UnknownListError,
|
|
25754
|
-
toKnownErr: () =>
|
|
25794
|
+
toKnownErr: () => toKnownErr98
|
|
25755
25795
|
});
|
|
25756
25796
|
var UnknownListError = class extends XRPCError {
|
|
25757
25797
|
constructor(src2) {
|
|
25758
25798
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25759
25799
|
}
|
|
25760
25800
|
};
|
|
25761
|
-
function
|
|
25801
|
+
function toKnownErr98(e) {
|
|
25762
25802
|
if (e instanceof XRPCError) {
|
|
25763
25803
|
if (e.error === "UnknownList")
|
|
25764
25804
|
return new UnknownListError(e);
|
|
@@ -25770,14 +25810,14 @@ function toKnownErr97(e) {
|
|
|
25770
25810
|
var getPostThread_exports = {};
|
|
25771
25811
|
__export(getPostThread_exports, {
|
|
25772
25812
|
NotFoundError: () => NotFoundError,
|
|
25773
|
-
toKnownErr: () =>
|
|
25813
|
+
toKnownErr: () => toKnownErr99
|
|
25774
25814
|
});
|
|
25775
25815
|
var NotFoundError = class extends XRPCError {
|
|
25776
25816
|
constructor(src2) {
|
|
25777
25817
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25778
25818
|
}
|
|
25779
25819
|
};
|
|
25780
|
-
function
|
|
25820
|
+
function toKnownErr99(e) {
|
|
25781
25821
|
if (e instanceof XRPCError) {
|
|
25782
25822
|
if (e.error === "NotFound")
|
|
25783
25823
|
return new NotFoundError(e);
|
|
@@ -25788,9 +25828,9 @@ function toKnownErr98(e) {
|
|
|
25788
25828
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
25789
25829
|
var getPosts_exports = {};
|
|
25790
25830
|
__export(getPosts_exports, {
|
|
25791
|
-
toKnownErr: () =>
|
|
25831
|
+
toKnownErr: () => toKnownErr100
|
|
25792
25832
|
});
|
|
25793
|
-
function
|
|
25833
|
+
function toKnownErr100(e) {
|
|
25794
25834
|
if (e instanceof XRPCError) {
|
|
25795
25835
|
}
|
|
25796
25836
|
return e;
|
|
@@ -25799,9 +25839,9 @@ function toKnownErr99(e) {
|
|
|
25799
25839
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
25800
25840
|
var getRepostedBy_exports = {};
|
|
25801
25841
|
__export(getRepostedBy_exports, {
|
|
25802
|
-
toKnownErr: () =>
|
|
25842
|
+
toKnownErr: () => toKnownErr101
|
|
25803
25843
|
});
|
|
25804
|
-
function
|
|
25844
|
+
function toKnownErr101(e) {
|
|
25805
25845
|
if (e instanceof XRPCError) {
|
|
25806
25846
|
}
|
|
25807
25847
|
return e;
|
|
@@ -25810,9 +25850,9 @@ function toKnownErr100(e) {
|
|
|
25810
25850
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
25811
25851
|
var getSuggestedFeeds_exports = {};
|
|
25812
25852
|
__export(getSuggestedFeeds_exports, {
|
|
25813
|
-
toKnownErr: () =>
|
|
25853
|
+
toKnownErr: () => toKnownErr102
|
|
25814
25854
|
});
|
|
25815
|
-
function
|
|
25855
|
+
function toKnownErr102(e) {
|
|
25816
25856
|
if (e instanceof XRPCError) {
|
|
25817
25857
|
}
|
|
25818
25858
|
return e;
|
|
@@ -25821,9 +25861,9 @@ function toKnownErr101(e) {
|
|
|
25821
25861
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
25822
25862
|
var getTimeline_exports = {};
|
|
25823
25863
|
__export(getTimeline_exports, {
|
|
25824
|
-
toKnownErr: () =>
|
|
25864
|
+
toKnownErr: () => toKnownErr103
|
|
25825
25865
|
});
|
|
25826
|
-
function
|
|
25866
|
+
function toKnownErr103(e) {
|
|
25827
25867
|
if (e instanceof XRPCError) {
|
|
25828
25868
|
}
|
|
25829
25869
|
return e;
|
|
@@ -25833,14 +25873,14 @@ function toKnownErr102(e) {
|
|
|
25833
25873
|
var searchPosts_exports = {};
|
|
25834
25874
|
__export(searchPosts_exports, {
|
|
25835
25875
|
BadQueryStringError: () => BadQueryStringError,
|
|
25836
|
-
toKnownErr: () =>
|
|
25876
|
+
toKnownErr: () => toKnownErr104
|
|
25837
25877
|
});
|
|
25838
25878
|
var BadQueryStringError = class extends XRPCError {
|
|
25839
25879
|
constructor(src2) {
|
|
25840
25880
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25841
25881
|
}
|
|
25842
25882
|
};
|
|
25843
|
-
function
|
|
25883
|
+
function toKnownErr104(e) {
|
|
25844
25884
|
if (e instanceof XRPCError) {
|
|
25845
25885
|
if (e.error === "BadQueryString")
|
|
25846
25886
|
return new BadQueryStringError(e);
|
|
@@ -25851,9 +25891,9 @@ function toKnownErr103(e) {
|
|
|
25851
25891
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
25852
25892
|
var getBlocks_exports2 = {};
|
|
25853
25893
|
__export(getBlocks_exports2, {
|
|
25854
|
-
toKnownErr: () =>
|
|
25894
|
+
toKnownErr: () => toKnownErr105
|
|
25855
25895
|
});
|
|
25856
|
-
function
|
|
25896
|
+
function toKnownErr105(e) {
|
|
25857
25897
|
if (e instanceof XRPCError) {
|
|
25858
25898
|
}
|
|
25859
25899
|
return e;
|
|
@@ -25862,9 +25902,9 @@ function toKnownErr104(e) {
|
|
|
25862
25902
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
25863
25903
|
var getFollowers_exports = {};
|
|
25864
25904
|
__export(getFollowers_exports, {
|
|
25865
|
-
toKnownErr: () =>
|
|
25905
|
+
toKnownErr: () => toKnownErr106
|
|
25866
25906
|
});
|
|
25867
|
-
function
|
|
25907
|
+
function toKnownErr106(e) {
|
|
25868
25908
|
if (e instanceof XRPCError) {
|
|
25869
25909
|
}
|
|
25870
25910
|
return e;
|
|
@@ -25873,9 +25913,9 @@ function toKnownErr105(e) {
|
|
|
25873
25913
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
25874
25914
|
var getFollows_exports = {};
|
|
25875
25915
|
__export(getFollows_exports, {
|
|
25876
|
-
toKnownErr: () =>
|
|
25916
|
+
toKnownErr: () => toKnownErr107
|
|
25877
25917
|
});
|
|
25878
|
-
function
|
|
25918
|
+
function toKnownErr107(e) {
|
|
25879
25919
|
if (e instanceof XRPCError) {
|
|
25880
25920
|
}
|
|
25881
25921
|
return e;
|
|
@@ -25884,9 +25924,9 @@ function toKnownErr106(e) {
|
|
|
25884
25924
|
// src/client/types/app/bsky/graph/getList.ts
|
|
25885
25925
|
var getList_exports = {};
|
|
25886
25926
|
__export(getList_exports, {
|
|
25887
|
-
toKnownErr: () =>
|
|
25927
|
+
toKnownErr: () => toKnownErr108
|
|
25888
25928
|
});
|
|
25889
|
-
function
|
|
25929
|
+
function toKnownErr108(e) {
|
|
25890
25930
|
if (e instanceof XRPCError) {
|
|
25891
25931
|
}
|
|
25892
25932
|
return e;
|
|
@@ -25895,9 +25935,9 @@ function toKnownErr107(e) {
|
|
|
25895
25935
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
25896
25936
|
var getListBlocks_exports = {};
|
|
25897
25937
|
__export(getListBlocks_exports, {
|
|
25898
|
-
toKnownErr: () =>
|
|
25938
|
+
toKnownErr: () => toKnownErr109
|
|
25899
25939
|
});
|
|
25900
|
-
function
|
|
25940
|
+
function toKnownErr109(e) {
|
|
25901
25941
|
if (e instanceof XRPCError) {
|
|
25902
25942
|
}
|
|
25903
25943
|
return e;
|
|
@@ -25906,9 +25946,9 @@ function toKnownErr108(e) {
|
|
|
25906
25946
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
25907
25947
|
var getListMutes_exports = {};
|
|
25908
25948
|
__export(getListMutes_exports, {
|
|
25909
|
-
toKnownErr: () =>
|
|
25949
|
+
toKnownErr: () => toKnownErr110
|
|
25910
25950
|
});
|
|
25911
|
-
function
|
|
25951
|
+
function toKnownErr110(e) {
|
|
25912
25952
|
if (e instanceof XRPCError) {
|
|
25913
25953
|
}
|
|
25914
25954
|
return e;
|
|
@@ -25917,9 +25957,9 @@ function toKnownErr109(e) {
|
|
|
25917
25957
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
25918
25958
|
var getLists_exports = {};
|
|
25919
25959
|
__export(getLists_exports, {
|
|
25920
|
-
toKnownErr: () =>
|
|
25960
|
+
toKnownErr: () => toKnownErr111
|
|
25921
25961
|
});
|
|
25922
|
-
function
|
|
25962
|
+
function toKnownErr111(e) {
|
|
25923
25963
|
if (e instanceof XRPCError) {
|
|
25924
25964
|
}
|
|
25925
25965
|
return e;
|
|
@@ -25928,9 +25968,9 @@ function toKnownErr110(e) {
|
|
|
25928
25968
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
25929
25969
|
var getMutes_exports = {};
|
|
25930
25970
|
__export(getMutes_exports, {
|
|
25931
|
-
toKnownErr: () =>
|
|
25971
|
+
toKnownErr: () => toKnownErr112
|
|
25932
25972
|
});
|
|
25933
|
-
function
|
|
25973
|
+
function toKnownErr112(e) {
|
|
25934
25974
|
if (e instanceof XRPCError) {
|
|
25935
25975
|
}
|
|
25936
25976
|
return e;
|
|
@@ -25940,14 +25980,14 @@ function toKnownErr111(e) {
|
|
|
25940
25980
|
var getRelationships_exports = {};
|
|
25941
25981
|
__export(getRelationships_exports, {
|
|
25942
25982
|
ActorNotFoundError: () => ActorNotFoundError,
|
|
25943
|
-
toKnownErr: () =>
|
|
25983
|
+
toKnownErr: () => toKnownErr113
|
|
25944
25984
|
});
|
|
25945
25985
|
var ActorNotFoundError = class extends XRPCError {
|
|
25946
25986
|
constructor(src2) {
|
|
25947
25987
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25948
25988
|
}
|
|
25949
25989
|
};
|
|
25950
|
-
function
|
|
25990
|
+
function toKnownErr113(e) {
|
|
25951
25991
|
if (e instanceof XRPCError) {
|
|
25952
25992
|
if (e.error === "ActorNotFound")
|
|
25953
25993
|
return new ActorNotFoundError(e);
|
|
@@ -25958,9 +25998,9 @@ function toKnownErr112(e) {
|
|
|
25958
25998
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
25959
25999
|
var getSuggestedFollowsByActor_exports = {};
|
|
25960
26000
|
__export(getSuggestedFollowsByActor_exports, {
|
|
25961
|
-
toKnownErr: () =>
|
|
26001
|
+
toKnownErr: () => toKnownErr114
|
|
25962
26002
|
});
|
|
25963
|
-
function
|
|
26003
|
+
function toKnownErr114(e) {
|
|
25964
26004
|
if (e instanceof XRPCError) {
|
|
25965
26005
|
}
|
|
25966
26006
|
return e;
|
|
@@ -25969,9 +26009,9 @@ function toKnownErr113(e) {
|
|
|
25969
26009
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
25970
26010
|
var muteActor_exports = {};
|
|
25971
26011
|
__export(muteActor_exports, {
|
|
25972
|
-
toKnownErr: () =>
|
|
26012
|
+
toKnownErr: () => toKnownErr115
|
|
25973
26013
|
});
|
|
25974
|
-
function
|
|
26014
|
+
function toKnownErr115(e) {
|
|
25975
26015
|
if (e instanceof XRPCError) {
|
|
25976
26016
|
}
|
|
25977
26017
|
return e;
|
|
@@ -25980,9 +26020,9 @@ function toKnownErr114(e) {
|
|
|
25980
26020
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
25981
26021
|
var muteActorList_exports = {};
|
|
25982
26022
|
__export(muteActorList_exports, {
|
|
25983
|
-
toKnownErr: () =>
|
|
26023
|
+
toKnownErr: () => toKnownErr116
|
|
25984
26024
|
});
|
|
25985
|
-
function
|
|
26025
|
+
function toKnownErr116(e) {
|
|
25986
26026
|
if (e instanceof XRPCError) {
|
|
25987
26027
|
}
|
|
25988
26028
|
return e;
|
|
@@ -25991,9 +26031,9 @@ function toKnownErr115(e) {
|
|
|
25991
26031
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
25992
26032
|
var unmuteActor_exports = {};
|
|
25993
26033
|
__export(unmuteActor_exports, {
|
|
25994
|
-
toKnownErr: () =>
|
|
26034
|
+
toKnownErr: () => toKnownErr117
|
|
25995
26035
|
});
|
|
25996
|
-
function
|
|
26036
|
+
function toKnownErr117(e) {
|
|
25997
26037
|
if (e instanceof XRPCError) {
|
|
25998
26038
|
}
|
|
25999
26039
|
return e;
|
|
@@ -26002,9 +26042,9 @@ function toKnownErr116(e) {
|
|
|
26002
26042
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
26003
26043
|
var unmuteActorList_exports = {};
|
|
26004
26044
|
__export(unmuteActorList_exports, {
|
|
26005
|
-
toKnownErr: () =>
|
|
26045
|
+
toKnownErr: () => toKnownErr118
|
|
26006
26046
|
});
|
|
26007
|
-
function
|
|
26047
|
+
function toKnownErr118(e) {
|
|
26008
26048
|
if (e instanceof XRPCError) {
|
|
26009
26049
|
}
|
|
26010
26050
|
return e;
|
|
@@ -26013,9 +26053,9 @@ function toKnownErr117(e) {
|
|
|
26013
26053
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
26014
26054
|
var getUnreadCount_exports = {};
|
|
26015
26055
|
__export(getUnreadCount_exports, {
|
|
26016
|
-
toKnownErr: () =>
|
|
26056
|
+
toKnownErr: () => toKnownErr119
|
|
26017
26057
|
});
|
|
26018
|
-
function
|
|
26058
|
+
function toKnownErr119(e) {
|
|
26019
26059
|
if (e instanceof XRPCError) {
|
|
26020
26060
|
}
|
|
26021
26061
|
return e;
|
|
@@ -26025,10 +26065,10 @@ function toKnownErr118(e) {
|
|
|
26025
26065
|
var listNotifications_exports = {};
|
|
26026
26066
|
__export(listNotifications_exports, {
|
|
26027
26067
|
isNotification: () => isNotification,
|
|
26028
|
-
toKnownErr: () =>
|
|
26068
|
+
toKnownErr: () => toKnownErr120,
|
|
26029
26069
|
validateNotification: () => validateNotification
|
|
26030
26070
|
});
|
|
26031
|
-
function
|
|
26071
|
+
function toKnownErr120(e) {
|
|
26032
26072
|
if (e instanceof XRPCError) {
|
|
26033
26073
|
}
|
|
26034
26074
|
return e;
|
|
@@ -26043,9 +26083,9 @@ function validateNotification(v) {
|
|
|
26043
26083
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
26044
26084
|
var registerPush_exports = {};
|
|
26045
26085
|
__export(registerPush_exports, {
|
|
26046
|
-
toKnownErr: () =>
|
|
26086
|
+
toKnownErr: () => toKnownErr121
|
|
26047
26087
|
});
|
|
26048
|
-
function
|
|
26088
|
+
function toKnownErr121(e) {
|
|
26049
26089
|
if (e instanceof XRPCError) {
|
|
26050
26090
|
}
|
|
26051
26091
|
return e;
|
|
@@ -26054,9 +26094,9 @@ function toKnownErr120(e) {
|
|
|
26054
26094
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
26055
26095
|
var updateSeen_exports = {};
|
|
26056
26096
|
__export(updateSeen_exports, {
|
|
26057
|
-
toKnownErr: () =>
|
|
26097
|
+
toKnownErr: () => toKnownErr122
|
|
26058
26098
|
});
|
|
26059
|
-
function
|
|
26099
|
+
function toKnownErr122(e) {
|
|
26060
26100
|
if (e instanceof XRPCError) {
|
|
26061
26101
|
}
|
|
26062
26102
|
return e;
|
|
@@ -26065,9 +26105,9 @@ function toKnownErr121(e) {
|
|
|
26065
26105
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
26066
26106
|
var getPopularFeedGenerators_exports = {};
|
|
26067
26107
|
__export(getPopularFeedGenerators_exports, {
|
|
26068
|
-
toKnownErr: () =>
|
|
26108
|
+
toKnownErr: () => toKnownErr123
|
|
26069
26109
|
});
|
|
26070
|
-
function
|
|
26110
|
+
function toKnownErr123(e) {
|
|
26071
26111
|
if (e instanceof XRPCError) {
|
|
26072
26112
|
}
|
|
26073
26113
|
return e;
|
|
@@ -26077,10 +26117,10 @@ function toKnownErr122(e) {
|
|
|
26077
26117
|
var getTaggedSuggestions_exports = {};
|
|
26078
26118
|
__export(getTaggedSuggestions_exports, {
|
|
26079
26119
|
isSuggestion: () => isSuggestion,
|
|
26080
|
-
toKnownErr: () =>
|
|
26120
|
+
toKnownErr: () => toKnownErr124,
|
|
26081
26121
|
validateSuggestion: () => validateSuggestion
|
|
26082
26122
|
});
|
|
26083
|
-
function
|
|
26123
|
+
function toKnownErr124(e) {
|
|
26084
26124
|
if (e instanceof XRPCError) {
|
|
26085
26125
|
}
|
|
26086
26126
|
return e;
|
|
@@ -26096,14 +26136,14 @@ function validateSuggestion(v) {
|
|
|
26096
26136
|
var searchActorsSkeleton_exports = {};
|
|
26097
26137
|
__export(searchActorsSkeleton_exports, {
|
|
26098
26138
|
BadQueryStringError: () => BadQueryStringError2,
|
|
26099
|
-
toKnownErr: () =>
|
|
26139
|
+
toKnownErr: () => toKnownErr125
|
|
26100
26140
|
});
|
|
26101
26141
|
var BadQueryStringError2 = class extends XRPCError {
|
|
26102
26142
|
constructor(src2) {
|
|
26103
26143
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
26104
26144
|
}
|
|
26105
26145
|
};
|
|
26106
|
-
function
|
|
26146
|
+
function toKnownErr125(e) {
|
|
26107
26147
|
if (e instanceof XRPCError) {
|
|
26108
26148
|
if (e.error === "BadQueryString")
|
|
26109
26149
|
return new BadQueryStringError2(e);
|
|
@@ -26115,14 +26155,14 @@ function toKnownErr124(e) {
|
|
|
26115
26155
|
var searchPostsSkeleton_exports = {};
|
|
26116
26156
|
__export(searchPostsSkeleton_exports, {
|
|
26117
26157
|
BadQueryStringError: () => BadQueryStringError3,
|
|
26118
|
-
toKnownErr: () =>
|
|
26158
|
+
toKnownErr: () => toKnownErr126
|
|
26119
26159
|
});
|
|
26120
26160
|
var BadQueryStringError3 = class extends XRPCError {
|
|
26121
26161
|
constructor(src2) {
|
|
26122
26162
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
26123
26163
|
}
|
|
26124
26164
|
};
|
|
26125
|
-
function
|
|
26165
|
+
function toKnownErr126(e) {
|
|
26126
26166
|
if (e instanceof XRPCError) {
|
|
26127
26167
|
if (e.error === "BadQueryString")
|
|
26128
26168
|
return new BadQueryStringError3(e);
|
|
@@ -27432,14 +27472,19 @@ var ComAtprotoAdminNS = class {
|
|
|
27432
27472
|
throw toKnownErr21(e);
|
|
27433
27473
|
});
|
|
27434
27474
|
}
|
|
27475
|
+
updateAccountPassword(data, opts) {
|
|
27476
|
+
return this._service.xrpc.call("com.atproto.admin.updateAccountPassword", opts?.qp, data, opts).catch((e) => {
|
|
27477
|
+
throw toKnownErr22(e);
|
|
27478
|
+
});
|
|
27479
|
+
}
|
|
27435
27480
|
updateCommunicationTemplate(data, opts) {
|
|
27436
27481
|
return this._service.xrpc.call("com.atproto.admin.updateCommunicationTemplate", opts?.qp, data, opts).catch((e) => {
|
|
27437
|
-
throw
|
|
27482
|
+
throw toKnownErr23(e);
|
|
27438
27483
|
});
|
|
27439
27484
|
}
|
|
27440
27485
|
updateSubjectStatus(data, opts) {
|
|
27441
27486
|
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
27442
|
-
throw
|
|
27487
|
+
throw toKnownErr24(e);
|
|
27443
27488
|
});
|
|
27444
27489
|
}
|
|
27445
27490
|
};
|
|
@@ -27449,32 +27494,32 @@ var ComAtprotoIdentityNS = class {
|
|
|
27449
27494
|
}
|
|
27450
27495
|
getRecommendedDidCredentials(params2, opts) {
|
|
27451
27496
|
return this._service.xrpc.call("com.atproto.identity.getRecommendedDidCredentials", params2, void 0, opts).catch((e) => {
|
|
27452
|
-
throw
|
|
27497
|
+
throw toKnownErr25(e);
|
|
27453
27498
|
});
|
|
27454
27499
|
}
|
|
27455
27500
|
requestPlcOperationSignature(data, opts) {
|
|
27456
27501
|
return this._service.xrpc.call("com.atproto.identity.requestPlcOperationSignature", opts?.qp, data, opts).catch((e) => {
|
|
27457
|
-
throw
|
|
27502
|
+
throw toKnownErr26(e);
|
|
27458
27503
|
});
|
|
27459
27504
|
}
|
|
27460
27505
|
resolveHandle(params2, opts) {
|
|
27461
27506
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
27462
|
-
throw
|
|
27507
|
+
throw toKnownErr27(e);
|
|
27463
27508
|
});
|
|
27464
27509
|
}
|
|
27465
27510
|
signPlcOperation(data, opts) {
|
|
27466
27511
|
return this._service.xrpc.call("com.atproto.identity.signPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
27467
|
-
throw
|
|
27512
|
+
throw toKnownErr28(e);
|
|
27468
27513
|
});
|
|
27469
27514
|
}
|
|
27470
27515
|
submitPlcOperation(data, opts) {
|
|
27471
27516
|
return this._service.xrpc.call("com.atproto.identity.submitPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
27472
|
-
throw
|
|
27517
|
+
throw toKnownErr29(e);
|
|
27473
27518
|
});
|
|
27474
27519
|
}
|
|
27475
27520
|
updateHandle(data, opts) {
|
|
27476
27521
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
27477
|
-
throw
|
|
27522
|
+
throw toKnownErr30(e);
|
|
27478
27523
|
});
|
|
27479
27524
|
}
|
|
27480
27525
|
};
|
|
@@ -27484,7 +27529,7 @@ var ComAtprotoLabelNS = class {
|
|
|
27484
27529
|
}
|
|
27485
27530
|
queryLabels(params2, opts) {
|
|
27486
27531
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
27487
|
-
throw
|
|
27532
|
+
throw toKnownErr31(e);
|
|
27488
27533
|
});
|
|
27489
27534
|
}
|
|
27490
27535
|
};
|
|
@@ -27494,7 +27539,7 @@ var ComAtprotoModerationNS = class {
|
|
|
27494
27539
|
}
|
|
27495
27540
|
createReport(data, opts) {
|
|
27496
27541
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
27497
|
-
throw
|
|
27542
|
+
throw toKnownErr32(e);
|
|
27498
27543
|
});
|
|
27499
27544
|
}
|
|
27500
27545
|
};
|
|
@@ -27504,52 +27549,52 @@ var ComAtprotoRepoNS = class {
|
|
|
27504
27549
|
}
|
|
27505
27550
|
applyWrites(data, opts) {
|
|
27506
27551
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
27507
|
-
throw
|
|
27552
|
+
throw toKnownErr33(e);
|
|
27508
27553
|
});
|
|
27509
27554
|
}
|
|
27510
27555
|
createRecord(data, opts) {
|
|
27511
27556
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
27512
|
-
throw
|
|
27557
|
+
throw toKnownErr34(e);
|
|
27513
27558
|
});
|
|
27514
27559
|
}
|
|
27515
27560
|
deleteRecord(data, opts) {
|
|
27516
27561
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
27517
|
-
throw
|
|
27562
|
+
throw toKnownErr35(e);
|
|
27518
27563
|
});
|
|
27519
27564
|
}
|
|
27520
27565
|
describeRepo(params2, opts) {
|
|
27521
27566
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
27522
|
-
throw
|
|
27567
|
+
throw toKnownErr36(e);
|
|
27523
27568
|
});
|
|
27524
27569
|
}
|
|
27525
27570
|
getRecord(params2, opts) {
|
|
27526
27571
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
27527
|
-
throw
|
|
27572
|
+
throw toKnownErr37(e);
|
|
27528
27573
|
});
|
|
27529
27574
|
}
|
|
27530
27575
|
importRepo(data, opts) {
|
|
27531
27576
|
return this._service.xrpc.call("com.atproto.repo.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
27532
|
-
throw
|
|
27577
|
+
throw toKnownErr38(e);
|
|
27533
27578
|
});
|
|
27534
27579
|
}
|
|
27535
27580
|
listMissingBlobs(params2, opts) {
|
|
27536
27581
|
return this._service.xrpc.call("com.atproto.repo.listMissingBlobs", params2, void 0, opts).catch((e) => {
|
|
27537
|
-
throw
|
|
27582
|
+
throw toKnownErr39(e);
|
|
27538
27583
|
});
|
|
27539
27584
|
}
|
|
27540
27585
|
listRecords(params2, opts) {
|
|
27541
27586
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
27542
|
-
throw
|
|
27587
|
+
throw toKnownErr40(e);
|
|
27543
27588
|
});
|
|
27544
27589
|
}
|
|
27545
27590
|
putRecord(data, opts) {
|
|
27546
27591
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
27547
|
-
throw
|
|
27592
|
+
throw toKnownErr41(e);
|
|
27548
27593
|
});
|
|
27549
27594
|
}
|
|
27550
27595
|
uploadBlob(data, opts) {
|
|
27551
27596
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
27552
|
-
throw
|
|
27597
|
+
throw toKnownErr42(e);
|
|
27553
27598
|
});
|
|
27554
27599
|
}
|
|
27555
27600
|
};
|
|
@@ -27559,127 +27604,127 @@ var ComAtprotoServerNS = class {
|
|
|
27559
27604
|
}
|
|
27560
27605
|
activateAccount(data, opts) {
|
|
27561
27606
|
return this._service.xrpc.call("com.atproto.server.activateAccount", opts?.qp, data, opts).catch((e) => {
|
|
27562
|
-
throw
|
|
27607
|
+
throw toKnownErr43(e);
|
|
27563
27608
|
});
|
|
27564
27609
|
}
|
|
27565
27610
|
checkAccountStatus(params2, opts) {
|
|
27566
27611
|
return this._service.xrpc.call("com.atproto.server.checkAccountStatus", params2, void 0, opts).catch((e) => {
|
|
27567
|
-
throw
|
|
27612
|
+
throw toKnownErr44(e);
|
|
27568
27613
|
});
|
|
27569
27614
|
}
|
|
27570
27615
|
confirmEmail(data, opts) {
|
|
27571
27616
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
27572
|
-
throw
|
|
27617
|
+
throw toKnownErr45(e);
|
|
27573
27618
|
});
|
|
27574
27619
|
}
|
|
27575
27620
|
createAccount(data, opts) {
|
|
27576
27621
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
27577
|
-
throw
|
|
27622
|
+
throw toKnownErr46(e);
|
|
27578
27623
|
});
|
|
27579
27624
|
}
|
|
27580
27625
|
createAppPassword(data, opts) {
|
|
27581
27626
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
27582
|
-
throw
|
|
27627
|
+
throw toKnownErr47(e);
|
|
27583
27628
|
});
|
|
27584
27629
|
}
|
|
27585
27630
|
createInviteCode(data, opts) {
|
|
27586
27631
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
27587
|
-
throw
|
|
27632
|
+
throw toKnownErr48(e);
|
|
27588
27633
|
});
|
|
27589
27634
|
}
|
|
27590
27635
|
createInviteCodes(data, opts) {
|
|
27591
27636
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
27592
|
-
throw
|
|
27637
|
+
throw toKnownErr49(e);
|
|
27593
27638
|
});
|
|
27594
27639
|
}
|
|
27595
27640
|
createSession(data, opts) {
|
|
27596
27641
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
27597
|
-
throw
|
|
27642
|
+
throw toKnownErr50(e);
|
|
27598
27643
|
});
|
|
27599
27644
|
}
|
|
27600
27645
|
deactivateAccount(data, opts) {
|
|
27601
27646
|
return this._service.xrpc.call("com.atproto.server.deactivateAccount", opts?.qp, data, opts).catch((e) => {
|
|
27602
|
-
throw
|
|
27647
|
+
throw toKnownErr51(e);
|
|
27603
27648
|
});
|
|
27604
27649
|
}
|
|
27605
27650
|
deleteAccount(data, opts) {
|
|
27606
27651
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
27607
|
-
throw
|
|
27652
|
+
throw toKnownErr52(e);
|
|
27608
27653
|
});
|
|
27609
27654
|
}
|
|
27610
27655
|
deleteSession(data, opts) {
|
|
27611
27656
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
27612
|
-
throw
|
|
27657
|
+
throw toKnownErr53(e);
|
|
27613
27658
|
});
|
|
27614
27659
|
}
|
|
27615
27660
|
describeServer(params2, opts) {
|
|
27616
27661
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
27617
|
-
throw
|
|
27662
|
+
throw toKnownErr54(e);
|
|
27618
27663
|
});
|
|
27619
27664
|
}
|
|
27620
27665
|
getAccountInviteCodes(params2, opts) {
|
|
27621
27666
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
27622
|
-
throw
|
|
27667
|
+
throw toKnownErr55(e);
|
|
27623
27668
|
});
|
|
27624
27669
|
}
|
|
27625
27670
|
getServiceAuth(params2, opts) {
|
|
27626
27671
|
return this._service.xrpc.call("com.atproto.server.getServiceAuth", params2, void 0, opts).catch((e) => {
|
|
27627
|
-
throw
|
|
27672
|
+
throw toKnownErr56(e);
|
|
27628
27673
|
});
|
|
27629
27674
|
}
|
|
27630
27675
|
getSession(params2, opts) {
|
|
27631
27676
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
27632
|
-
throw
|
|
27677
|
+
throw toKnownErr57(e);
|
|
27633
27678
|
});
|
|
27634
27679
|
}
|
|
27635
27680
|
listAppPasswords(params2, opts) {
|
|
27636
27681
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
27637
|
-
throw
|
|
27682
|
+
throw toKnownErr58(e);
|
|
27638
27683
|
});
|
|
27639
27684
|
}
|
|
27640
27685
|
refreshSession(data, opts) {
|
|
27641
27686
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
27642
|
-
throw
|
|
27687
|
+
throw toKnownErr59(e);
|
|
27643
27688
|
});
|
|
27644
27689
|
}
|
|
27645
27690
|
requestAccountDelete(data, opts) {
|
|
27646
27691
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
27647
|
-
throw
|
|
27692
|
+
throw toKnownErr60(e);
|
|
27648
27693
|
});
|
|
27649
27694
|
}
|
|
27650
27695
|
requestEmailConfirmation(data, opts) {
|
|
27651
27696
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
27652
|
-
throw
|
|
27697
|
+
throw toKnownErr61(e);
|
|
27653
27698
|
});
|
|
27654
27699
|
}
|
|
27655
27700
|
requestEmailUpdate(data, opts) {
|
|
27656
27701
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
27657
|
-
throw
|
|
27702
|
+
throw toKnownErr62(e);
|
|
27658
27703
|
});
|
|
27659
27704
|
}
|
|
27660
27705
|
requestPasswordReset(data, opts) {
|
|
27661
27706
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
27662
|
-
throw
|
|
27707
|
+
throw toKnownErr63(e);
|
|
27663
27708
|
});
|
|
27664
27709
|
}
|
|
27665
27710
|
reserveSigningKey(data, opts) {
|
|
27666
27711
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
27667
|
-
throw
|
|
27712
|
+
throw toKnownErr64(e);
|
|
27668
27713
|
});
|
|
27669
27714
|
}
|
|
27670
27715
|
resetPassword(data, opts) {
|
|
27671
27716
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
27672
|
-
throw
|
|
27717
|
+
throw toKnownErr65(e);
|
|
27673
27718
|
});
|
|
27674
27719
|
}
|
|
27675
27720
|
revokeAppPassword(data, opts) {
|
|
27676
27721
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
27677
|
-
throw
|
|
27722
|
+
throw toKnownErr66(e);
|
|
27678
27723
|
});
|
|
27679
27724
|
}
|
|
27680
27725
|
updateEmail(data, opts) {
|
|
27681
27726
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
27682
|
-
throw
|
|
27727
|
+
throw toKnownErr67(e);
|
|
27683
27728
|
});
|
|
27684
27729
|
}
|
|
27685
27730
|
};
|
|
@@ -27689,57 +27734,57 @@ var ComAtprotoSyncNS = class {
|
|
|
27689
27734
|
}
|
|
27690
27735
|
getBlob(params2, opts) {
|
|
27691
27736
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
27692
|
-
throw
|
|
27737
|
+
throw toKnownErr68(e);
|
|
27693
27738
|
});
|
|
27694
27739
|
}
|
|
27695
27740
|
getBlocks(params2, opts) {
|
|
27696
27741
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
27697
|
-
throw
|
|
27742
|
+
throw toKnownErr69(e);
|
|
27698
27743
|
});
|
|
27699
27744
|
}
|
|
27700
27745
|
getCheckout(params2, opts) {
|
|
27701
27746
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
27702
|
-
throw
|
|
27747
|
+
throw toKnownErr70(e);
|
|
27703
27748
|
});
|
|
27704
27749
|
}
|
|
27705
27750
|
getHead(params2, opts) {
|
|
27706
27751
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
27707
|
-
throw
|
|
27752
|
+
throw toKnownErr71(e);
|
|
27708
27753
|
});
|
|
27709
27754
|
}
|
|
27710
27755
|
getLatestCommit(params2, opts) {
|
|
27711
27756
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
27712
|
-
throw
|
|
27757
|
+
throw toKnownErr72(e);
|
|
27713
27758
|
});
|
|
27714
27759
|
}
|
|
27715
27760
|
getRecord(params2, opts) {
|
|
27716
27761
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
27717
|
-
throw
|
|
27762
|
+
throw toKnownErr73(e);
|
|
27718
27763
|
});
|
|
27719
27764
|
}
|
|
27720
27765
|
getRepo(params2, opts) {
|
|
27721
27766
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
27722
|
-
throw
|
|
27767
|
+
throw toKnownErr74(e);
|
|
27723
27768
|
});
|
|
27724
27769
|
}
|
|
27725
27770
|
listBlobs(params2, opts) {
|
|
27726
27771
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
27727
|
-
throw
|
|
27772
|
+
throw toKnownErr75(e);
|
|
27728
27773
|
});
|
|
27729
27774
|
}
|
|
27730
27775
|
listRepos(params2, opts) {
|
|
27731
27776
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
27732
|
-
throw
|
|
27777
|
+
throw toKnownErr76(e);
|
|
27733
27778
|
});
|
|
27734
27779
|
}
|
|
27735
27780
|
notifyOfUpdate(data, opts) {
|
|
27736
27781
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
27737
|
-
throw
|
|
27782
|
+
throw toKnownErr77(e);
|
|
27738
27783
|
});
|
|
27739
27784
|
}
|
|
27740
27785
|
requestCrawl(data, opts) {
|
|
27741
27786
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
27742
|
-
throw
|
|
27787
|
+
throw toKnownErr78(e);
|
|
27743
27788
|
});
|
|
27744
27789
|
}
|
|
27745
27790
|
};
|
|
@@ -27749,17 +27794,17 @@ var ComAtprotoTempNS = class {
|
|
|
27749
27794
|
}
|
|
27750
27795
|
checkSignupQueue(params2, opts) {
|
|
27751
27796
|
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
27752
|
-
throw
|
|
27797
|
+
throw toKnownErr79(e);
|
|
27753
27798
|
});
|
|
27754
27799
|
}
|
|
27755
27800
|
fetchLabels(params2, opts) {
|
|
27756
27801
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
27757
|
-
throw
|
|
27802
|
+
throw toKnownErr80(e);
|
|
27758
27803
|
});
|
|
27759
27804
|
}
|
|
27760
27805
|
requestPhoneVerification(data, opts) {
|
|
27761
27806
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
27762
|
-
throw
|
|
27807
|
+
throw toKnownErr81(e);
|
|
27763
27808
|
});
|
|
27764
27809
|
}
|
|
27765
27810
|
};
|
|
@@ -27788,37 +27833,37 @@ var AppBskyActorNS = class {
|
|
|
27788
27833
|
}
|
|
27789
27834
|
getPreferences(params2, opts) {
|
|
27790
27835
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
27791
|
-
throw
|
|
27836
|
+
throw toKnownErr82(e);
|
|
27792
27837
|
});
|
|
27793
27838
|
}
|
|
27794
27839
|
getProfile(params2, opts) {
|
|
27795
27840
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
27796
|
-
throw
|
|
27841
|
+
throw toKnownErr83(e);
|
|
27797
27842
|
});
|
|
27798
27843
|
}
|
|
27799
27844
|
getProfiles(params2, opts) {
|
|
27800
27845
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
27801
|
-
throw
|
|
27846
|
+
throw toKnownErr84(e);
|
|
27802
27847
|
});
|
|
27803
27848
|
}
|
|
27804
27849
|
getSuggestions(params2, opts) {
|
|
27805
27850
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
27806
|
-
throw
|
|
27851
|
+
throw toKnownErr85(e);
|
|
27807
27852
|
});
|
|
27808
27853
|
}
|
|
27809
27854
|
putPreferences(data, opts) {
|
|
27810
27855
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
27811
|
-
throw
|
|
27856
|
+
throw toKnownErr86(e);
|
|
27812
27857
|
});
|
|
27813
27858
|
}
|
|
27814
27859
|
searchActors(params2, opts) {
|
|
27815
27860
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
27816
|
-
throw
|
|
27861
|
+
throw toKnownErr87(e);
|
|
27817
27862
|
});
|
|
27818
27863
|
}
|
|
27819
27864
|
searchActorsTypeahead(params2, opts) {
|
|
27820
27865
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
27821
|
-
throw
|
|
27866
|
+
throw toKnownErr88(e);
|
|
27822
27867
|
});
|
|
27823
27868
|
}
|
|
27824
27869
|
};
|
|
@@ -27865,82 +27910,82 @@ var AppBskyFeedNS = class {
|
|
|
27865
27910
|
}
|
|
27866
27911
|
describeFeedGenerator(params2, opts) {
|
|
27867
27912
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
27868
|
-
throw
|
|
27913
|
+
throw toKnownErr89(e);
|
|
27869
27914
|
});
|
|
27870
27915
|
}
|
|
27871
27916
|
getActorFeeds(params2, opts) {
|
|
27872
27917
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
27873
|
-
throw
|
|
27918
|
+
throw toKnownErr90(e);
|
|
27874
27919
|
});
|
|
27875
27920
|
}
|
|
27876
27921
|
getActorLikes(params2, opts) {
|
|
27877
27922
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
27878
|
-
throw
|
|
27923
|
+
throw toKnownErr91(e);
|
|
27879
27924
|
});
|
|
27880
27925
|
}
|
|
27881
27926
|
getAuthorFeed(params2, opts) {
|
|
27882
27927
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
27883
|
-
throw
|
|
27928
|
+
throw toKnownErr92(e);
|
|
27884
27929
|
});
|
|
27885
27930
|
}
|
|
27886
27931
|
getFeed(params2, opts) {
|
|
27887
27932
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
27888
|
-
throw
|
|
27933
|
+
throw toKnownErr93(e);
|
|
27889
27934
|
});
|
|
27890
27935
|
}
|
|
27891
27936
|
getFeedGenerator(params2, opts) {
|
|
27892
27937
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
27893
|
-
throw
|
|
27938
|
+
throw toKnownErr94(e);
|
|
27894
27939
|
});
|
|
27895
27940
|
}
|
|
27896
27941
|
getFeedGenerators(params2, opts) {
|
|
27897
27942
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
27898
|
-
throw
|
|
27943
|
+
throw toKnownErr95(e);
|
|
27899
27944
|
});
|
|
27900
27945
|
}
|
|
27901
27946
|
getFeedSkeleton(params2, opts) {
|
|
27902
27947
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
27903
|
-
throw
|
|
27948
|
+
throw toKnownErr96(e);
|
|
27904
27949
|
});
|
|
27905
27950
|
}
|
|
27906
27951
|
getLikes(params2, opts) {
|
|
27907
27952
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
27908
|
-
throw
|
|
27953
|
+
throw toKnownErr97(e);
|
|
27909
27954
|
});
|
|
27910
27955
|
}
|
|
27911
27956
|
getListFeed(params2, opts) {
|
|
27912
27957
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
27913
|
-
throw
|
|
27958
|
+
throw toKnownErr98(e);
|
|
27914
27959
|
});
|
|
27915
27960
|
}
|
|
27916
27961
|
getPostThread(params2, opts) {
|
|
27917
27962
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
27918
|
-
throw
|
|
27963
|
+
throw toKnownErr99(e);
|
|
27919
27964
|
});
|
|
27920
27965
|
}
|
|
27921
27966
|
getPosts(params2, opts) {
|
|
27922
27967
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
27923
|
-
throw
|
|
27968
|
+
throw toKnownErr100(e);
|
|
27924
27969
|
});
|
|
27925
27970
|
}
|
|
27926
27971
|
getRepostedBy(params2, opts) {
|
|
27927
27972
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
27928
|
-
throw
|
|
27973
|
+
throw toKnownErr101(e);
|
|
27929
27974
|
});
|
|
27930
27975
|
}
|
|
27931
27976
|
getSuggestedFeeds(params2, opts) {
|
|
27932
27977
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
27933
|
-
throw
|
|
27978
|
+
throw toKnownErr102(e);
|
|
27934
27979
|
});
|
|
27935
27980
|
}
|
|
27936
27981
|
getTimeline(params2, opts) {
|
|
27937
27982
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
27938
|
-
throw
|
|
27983
|
+
throw toKnownErr103(e);
|
|
27939
27984
|
});
|
|
27940
27985
|
}
|
|
27941
27986
|
searchPosts(params2, opts) {
|
|
27942
27987
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
27943
|
-
throw
|
|
27988
|
+
throw toKnownErr104(e);
|
|
27944
27989
|
});
|
|
27945
27990
|
}
|
|
27946
27991
|
};
|
|
@@ -28090,72 +28135,72 @@ var AppBskyGraphNS = class {
|
|
|
28090
28135
|
}
|
|
28091
28136
|
getBlocks(params2, opts) {
|
|
28092
28137
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
28093
|
-
throw
|
|
28138
|
+
throw toKnownErr105(e);
|
|
28094
28139
|
});
|
|
28095
28140
|
}
|
|
28096
28141
|
getFollowers(params2, opts) {
|
|
28097
28142
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
28098
|
-
throw
|
|
28143
|
+
throw toKnownErr106(e);
|
|
28099
28144
|
});
|
|
28100
28145
|
}
|
|
28101
28146
|
getFollows(params2, opts) {
|
|
28102
28147
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
28103
|
-
throw
|
|
28148
|
+
throw toKnownErr107(e);
|
|
28104
28149
|
});
|
|
28105
28150
|
}
|
|
28106
28151
|
getList(params2, opts) {
|
|
28107
28152
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
28108
|
-
throw
|
|
28153
|
+
throw toKnownErr108(e);
|
|
28109
28154
|
});
|
|
28110
28155
|
}
|
|
28111
28156
|
getListBlocks(params2, opts) {
|
|
28112
28157
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
28113
|
-
throw
|
|
28158
|
+
throw toKnownErr109(e);
|
|
28114
28159
|
});
|
|
28115
28160
|
}
|
|
28116
28161
|
getListMutes(params2, opts) {
|
|
28117
28162
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
28118
|
-
throw
|
|
28163
|
+
throw toKnownErr110(e);
|
|
28119
28164
|
});
|
|
28120
28165
|
}
|
|
28121
28166
|
getLists(params2, opts) {
|
|
28122
28167
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
28123
|
-
throw
|
|
28168
|
+
throw toKnownErr111(e);
|
|
28124
28169
|
});
|
|
28125
28170
|
}
|
|
28126
28171
|
getMutes(params2, opts) {
|
|
28127
28172
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
28128
|
-
throw
|
|
28173
|
+
throw toKnownErr112(e);
|
|
28129
28174
|
});
|
|
28130
28175
|
}
|
|
28131
28176
|
getRelationships(params2, opts) {
|
|
28132
28177
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
28133
|
-
throw
|
|
28178
|
+
throw toKnownErr113(e);
|
|
28134
28179
|
});
|
|
28135
28180
|
}
|
|
28136
28181
|
getSuggestedFollowsByActor(params2, opts) {
|
|
28137
28182
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
28138
|
-
throw
|
|
28183
|
+
throw toKnownErr114(e);
|
|
28139
28184
|
});
|
|
28140
28185
|
}
|
|
28141
28186
|
muteActor(data, opts) {
|
|
28142
28187
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
28143
|
-
throw
|
|
28188
|
+
throw toKnownErr115(e);
|
|
28144
28189
|
});
|
|
28145
28190
|
}
|
|
28146
28191
|
muteActorList(data, opts) {
|
|
28147
28192
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
28148
|
-
throw
|
|
28193
|
+
throw toKnownErr116(e);
|
|
28149
28194
|
});
|
|
28150
28195
|
}
|
|
28151
28196
|
unmuteActor(data, opts) {
|
|
28152
28197
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
28153
|
-
throw
|
|
28198
|
+
throw toKnownErr117(e);
|
|
28154
28199
|
});
|
|
28155
28200
|
}
|
|
28156
28201
|
unmuteActorList(data, opts) {
|
|
28157
28202
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
28158
|
-
throw
|
|
28203
|
+
throw toKnownErr118(e);
|
|
28159
28204
|
});
|
|
28160
28205
|
}
|
|
28161
28206
|
};
|
|
@@ -28300,22 +28345,22 @@ var AppBskyNotificationNS = class {
|
|
|
28300
28345
|
}
|
|
28301
28346
|
getUnreadCount(params2, opts) {
|
|
28302
28347
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
28303
|
-
throw
|
|
28348
|
+
throw toKnownErr119(e);
|
|
28304
28349
|
});
|
|
28305
28350
|
}
|
|
28306
28351
|
listNotifications(params2, opts) {
|
|
28307
28352
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
28308
|
-
throw
|
|
28353
|
+
throw toKnownErr120(e);
|
|
28309
28354
|
});
|
|
28310
28355
|
}
|
|
28311
28356
|
registerPush(data, opts) {
|
|
28312
28357
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
28313
|
-
throw
|
|
28358
|
+
throw toKnownErr121(e);
|
|
28314
28359
|
});
|
|
28315
28360
|
}
|
|
28316
28361
|
updateSeen(data, opts) {
|
|
28317
28362
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
28318
|
-
throw
|
|
28363
|
+
throw toKnownErr122(e);
|
|
28319
28364
|
});
|
|
28320
28365
|
}
|
|
28321
28366
|
};
|
|
@@ -28330,22 +28375,22 @@ var AppBskyUnspeccedNS = class {
|
|
|
28330
28375
|
}
|
|
28331
28376
|
getPopularFeedGenerators(params2, opts) {
|
|
28332
28377
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
28333
|
-
throw
|
|
28378
|
+
throw toKnownErr123(e);
|
|
28334
28379
|
});
|
|
28335
28380
|
}
|
|
28336
28381
|
getTaggedSuggestions(params2, opts) {
|
|
28337
28382
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
28338
|
-
throw
|
|
28383
|
+
throw toKnownErr124(e);
|
|
28339
28384
|
});
|
|
28340
28385
|
}
|
|
28341
28386
|
searchActorsSkeleton(params2, opts) {
|
|
28342
28387
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
28343
|
-
throw
|
|
28388
|
+
throw toKnownErr125(e);
|
|
28344
28389
|
});
|
|
28345
28390
|
}
|
|
28346
28391
|
searchPostsSkeleton(params2, opts) {
|
|
28347
28392
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
28348
|
-
throw
|
|
28393
|
+
throw toKnownErr126(e);
|
|
28349
28394
|
});
|
|
28350
28395
|
}
|
|
28351
28396
|
};
|
|
@@ -30148,23 +30193,22 @@ function detectFacets(text) {
|
|
|
30148
30193
|
}
|
|
30149
30194
|
}
|
|
30150
30195
|
{
|
|
30151
|
-
const re = /(
|
|
30196
|
+
const re = /(^|\s)#((?!\ufe0f)[^\d\s]\S*)(?=\s)?/g;
|
|
30152
30197
|
while (match = re.exec(text.utf16)) {
|
|
30153
|
-
let [tag] = match;
|
|
30154
|
-
const hasLeadingSpace = /^\s/.test(tag);
|
|
30198
|
+
let [, leading, tag] = match;
|
|
30155
30199
|
tag = tag.trim().replace(/\p{P}+$/gu, "");
|
|
30156
|
-
if (tag.length >
|
|
30200
|
+
if (tag.length === 0 || tag.length > 64)
|
|
30157
30201
|
continue;
|
|
30158
|
-
const index = match.index +
|
|
30202
|
+
const index = match.index + leading.length;
|
|
30159
30203
|
facets.push({
|
|
30160
30204
|
index: {
|
|
30161
30205
|
byteStart: text.utf16IndexToUtf8Index(index),
|
|
30162
|
-
byteEnd: text.utf16IndexToUtf8Index(index + tag.length)
|
|
30206
|
+
byteEnd: text.utf16IndexToUtf8Index(index + 1 + tag.length)
|
|
30163
30207
|
},
|
|
30164
30208
|
features: [
|
|
30165
30209
|
{
|
|
30166
30210
|
$type: "app.bsky.richtext.facet#tag",
|
|
30167
|
-
tag
|
|
30211
|
+
tag
|
|
30168
30212
|
}
|
|
30169
30213
|
]
|
|
30170
30214
|
});
|
|
@@ -32238,17 +32282,17 @@ async function updateMutedWords(agent, mutedWords, action) {
|
|
|
32238
32282
|
let mutedWordsPref = prefs.findLast((pref) => defs_exports5.isMutedWordsPref(pref) && defs_exports5.validateMutedWordsPref(pref).success);
|
|
32239
32283
|
if (mutedWordsPref && defs_exports5.isMutedWordsPref(mutedWordsPref)) {
|
|
32240
32284
|
if (action === "upsert" || action === "update") {
|
|
32241
|
-
for (const
|
|
32285
|
+
for (const word of mutedWords) {
|
|
32242
32286
|
let foundMatch = false;
|
|
32243
32287
|
for (const existingItem of mutedWordsPref.items) {
|
|
32244
|
-
if (existingItem.value ===
|
|
32245
|
-
existingItem.targets = action === "upsert" ? Array.from(/* @__PURE__ */ new Set([...existingItem.targets, ...
|
|
32288
|
+
if (existingItem.value === sanitizeMutedWord(word).value) {
|
|
32289
|
+
existingItem.targets = action === "upsert" ? Array.from(/* @__PURE__ */ new Set([...existingItem.targets, ...word.targets])) : word.targets;
|
|
32246
32290
|
foundMatch = true;
|
|
32247
32291
|
break;
|
|
32248
32292
|
}
|
|
32249
32293
|
}
|
|
32250
32294
|
if (action === "upsert" && !foundMatch) {
|
|
32251
|
-
mutedWordsPref.items.push(sanitizeMutedWord(
|
|
32295
|
+
mutedWordsPref.items.push(sanitizeMutedWord(word));
|
|
32252
32296
|
}
|
|
32253
32297
|
}
|
|
32254
32298
|
} else if (action === "remove") {
|