@atproto/api 0.6.3 → 0.6.5
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/dist/bsky-agent.d.ts +1 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/lexicons.d.ts +68 -0
- package/dist/client/types/app/bsky/feed/getActorLikes.d.ts +28 -0
- package/dist/client/types/app/bsky/unspecced/registerPushNotification.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +3 -0
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +1 -0
- package/dist/index.js +225 -119
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/bsky-agent.ts +3 -0
- package/src/client/index.ts +13 -0
- package/src/client/lexicons.ts +77 -0
- package/src/client/types/app/bsky/feed/getActorLikes.ts +53 -0
- package/src/client/types/com/atproto/admin/defs.ts +6 -0
- package/src/client/types/com/atproto/admin/takeModerationAction.ts +2 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -8892,6 +8892,7 @@ __export(src_exports4, {
|
|
|
8892
8892
|
AppBskyFeedDescribeFeedGenerator: () => describeFeedGenerator_exports,
|
|
8893
8893
|
AppBskyFeedGenerator: () => generator_exports,
|
|
8894
8894
|
AppBskyFeedGetActorFeeds: () => getActorFeeds_exports,
|
|
8895
|
+
AppBskyFeedGetActorLikes: () => getActorLikes_exports,
|
|
8895
8896
|
AppBskyFeedGetAuthorFeed: () => getAuthorFeed_exports,
|
|
8896
8897
|
AppBskyFeedGetFeed: () => getFeed_exports,
|
|
8897
8898
|
AppBskyFeedGetFeedGenerator: () => getFeedGenerator_exports,
|
|
@@ -15740,6 +15741,10 @@ var schemaDict = {
|
|
|
15740
15741
|
type: "ref",
|
|
15741
15742
|
ref: "lex:com.atproto.admin.defs#actionType"
|
|
15742
15743
|
},
|
|
15744
|
+
durationInHours: {
|
|
15745
|
+
type: "integer",
|
|
15746
|
+
description: "Indicates how long this action was meant to be in effect before automatically expiring."
|
|
15747
|
+
},
|
|
15743
15748
|
subject: {
|
|
15744
15749
|
type: "union",
|
|
15745
15750
|
refs: [
|
|
@@ -15808,6 +15813,10 @@ var schemaDict = {
|
|
|
15808
15813
|
type: "ref",
|
|
15809
15814
|
ref: "lex:com.atproto.admin.defs#actionType"
|
|
15810
15815
|
},
|
|
15816
|
+
durationInHours: {
|
|
15817
|
+
type: "integer",
|
|
15818
|
+
description: "Indicates how long this action was meant to be in effect before automatically expiring."
|
|
15819
|
+
},
|
|
15811
15820
|
subject: {
|
|
15812
15821
|
type: "union",
|
|
15813
15822
|
refs: [
|
|
@@ -15870,6 +15879,10 @@ var schemaDict = {
|
|
|
15870
15879
|
action: {
|
|
15871
15880
|
type: "ref",
|
|
15872
15881
|
ref: "lex:com.atproto.admin.defs#actionType"
|
|
15882
|
+
},
|
|
15883
|
+
durationInHours: {
|
|
15884
|
+
type: "integer",
|
|
15885
|
+
description: "Indicates how long this action was meant to be in effect before automatically expiring."
|
|
15873
15886
|
}
|
|
15874
15887
|
}
|
|
15875
15888
|
},
|
|
@@ -16965,6 +16978,10 @@ var schemaDict = {
|
|
|
16965
16978
|
reason: {
|
|
16966
16979
|
type: "string"
|
|
16967
16980
|
},
|
|
16981
|
+
durationInHours: {
|
|
16982
|
+
type: "integer",
|
|
16983
|
+
description: "Indicates how long this action was meant to be in effect before automatically expiring."
|
|
16984
|
+
},
|
|
16968
16985
|
createdBy: {
|
|
16969
16986
|
type: "string",
|
|
16970
16987
|
format: "did"
|
|
@@ -20463,6 +20480,62 @@ var schemaDict = {
|
|
|
20463
20480
|
}
|
|
20464
20481
|
}
|
|
20465
20482
|
},
|
|
20483
|
+
AppBskyFeedGetActorLikes: {
|
|
20484
|
+
lexicon: 1,
|
|
20485
|
+
id: "app.bsky.feed.getActorLikes",
|
|
20486
|
+
defs: {
|
|
20487
|
+
main: {
|
|
20488
|
+
type: "query",
|
|
20489
|
+
description: "A view of the posts liked by an actor.",
|
|
20490
|
+
parameters: {
|
|
20491
|
+
type: "params",
|
|
20492
|
+
required: ["actor"],
|
|
20493
|
+
properties: {
|
|
20494
|
+
actor: {
|
|
20495
|
+
type: "string",
|
|
20496
|
+
format: "at-identifier"
|
|
20497
|
+
},
|
|
20498
|
+
limit: {
|
|
20499
|
+
type: "integer",
|
|
20500
|
+
minimum: 1,
|
|
20501
|
+
maximum: 100,
|
|
20502
|
+
default: 50
|
|
20503
|
+
},
|
|
20504
|
+
cursor: {
|
|
20505
|
+
type: "string"
|
|
20506
|
+
}
|
|
20507
|
+
}
|
|
20508
|
+
},
|
|
20509
|
+
output: {
|
|
20510
|
+
encoding: "application/json",
|
|
20511
|
+
schema: {
|
|
20512
|
+
type: "object",
|
|
20513
|
+
required: ["feed"],
|
|
20514
|
+
properties: {
|
|
20515
|
+
cursor: {
|
|
20516
|
+
type: "string"
|
|
20517
|
+
},
|
|
20518
|
+
feed: {
|
|
20519
|
+
type: "array",
|
|
20520
|
+
items: {
|
|
20521
|
+
type: "ref",
|
|
20522
|
+
ref: "lex:app.bsky.feed.defs#feedViewPost"
|
|
20523
|
+
}
|
|
20524
|
+
}
|
|
20525
|
+
}
|
|
20526
|
+
}
|
|
20527
|
+
},
|
|
20528
|
+
errors: [
|
|
20529
|
+
{
|
|
20530
|
+
name: "BlockedActor"
|
|
20531
|
+
},
|
|
20532
|
+
{
|
|
20533
|
+
name: "BlockedByActor"
|
|
20534
|
+
}
|
|
20535
|
+
]
|
|
20536
|
+
}
|
|
20537
|
+
}
|
|
20538
|
+
},
|
|
20466
20539
|
AppBskyFeedGetAuthorFeed: {
|
|
20467
20540
|
lexicon: 1,
|
|
20468
20541
|
id: "app.bsky.feed.getAuthorFeed",
|
|
@@ -22306,7 +22379,7 @@ __export(getRecord_exports, {
|
|
|
22306
22379
|
});
|
|
22307
22380
|
var RecordNotFoundError = class extends XRPCError {
|
|
22308
22381
|
constructor(src2) {
|
|
22309
|
-
super(src2.status, src2.error, src2.message);
|
|
22382
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22310
22383
|
}
|
|
22311
22384
|
};
|
|
22312
22385
|
function toKnownErr9(e) {
|
|
@@ -22325,7 +22398,7 @@ __export(getRepo_exports, {
|
|
|
22325
22398
|
});
|
|
22326
22399
|
var RepoNotFoundError = class extends XRPCError {
|
|
22327
22400
|
constructor(src2) {
|
|
22328
|
-
super(src2.status, src2.error, src2.message);
|
|
22401
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22329
22402
|
}
|
|
22330
22403
|
};
|
|
22331
22404
|
function toKnownErr10(e) {
|
|
@@ -22345,12 +22418,12 @@ __export(rebaseRepo_exports, {
|
|
|
22345
22418
|
});
|
|
22346
22419
|
var InvalidSwapError = class extends XRPCError {
|
|
22347
22420
|
constructor(src2) {
|
|
22348
|
-
super(src2.status, src2.error, src2.message);
|
|
22421
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22349
22422
|
}
|
|
22350
22423
|
};
|
|
22351
22424
|
var ConcurrentWritesError = class extends XRPCError {
|
|
22352
22425
|
constructor(src2) {
|
|
22353
|
-
super(src2.status, src2.error, src2.message);
|
|
22426
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22354
22427
|
}
|
|
22355
22428
|
};
|
|
22356
22429
|
function toKnownErr11(e) {
|
|
@@ -22415,7 +22488,7 @@ __export(takeModerationAction_exports, {
|
|
|
22415
22488
|
});
|
|
22416
22489
|
var SubjectHasActionError = class extends XRPCError {
|
|
22417
22490
|
constructor(src2) {
|
|
22418
|
-
super(src2.status, src2.error, src2.message);
|
|
22491
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22419
22492
|
}
|
|
22420
22493
|
};
|
|
22421
22494
|
function toKnownErr16(e) {
|
|
@@ -22516,7 +22589,7 @@ function hasProp2(data, prop) {
|
|
|
22516
22589
|
// src/client/types/com/atproto/repo/applyWrites.ts
|
|
22517
22590
|
var InvalidSwapError2 = class extends XRPCError {
|
|
22518
22591
|
constructor(src2) {
|
|
22519
|
-
super(src2.status, src2.error, src2.message);
|
|
22592
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22520
22593
|
}
|
|
22521
22594
|
};
|
|
22522
22595
|
function toKnownErr23(e) {
|
|
@@ -22553,7 +22626,7 @@ __export(createRecord_exports, {
|
|
|
22553
22626
|
});
|
|
22554
22627
|
var InvalidSwapError3 = class extends XRPCError {
|
|
22555
22628
|
constructor(src2) {
|
|
22556
|
-
super(src2.status, src2.error, src2.message);
|
|
22629
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22557
22630
|
}
|
|
22558
22631
|
};
|
|
22559
22632
|
function toKnownErr24(e) {
|
|
@@ -22572,7 +22645,7 @@ __export(deleteRecord_exports, {
|
|
|
22572
22645
|
});
|
|
22573
22646
|
var InvalidSwapError4 = class extends XRPCError {
|
|
22574
22647
|
constructor(src2) {
|
|
22575
|
-
super(src2.status, src2.error, src2.message);
|
|
22648
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22576
22649
|
}
|
|
22577
22650
|
};
|
|
22578
22651
|
function toKnownErr25(e) {
|
|
@@ -22632,7 +22705,7 @@ __export(putRecord_exports, {
|
|
|
22632
22705
|
});
|
|
22633
22706
|
var InvalidSwapError5 = class extends XRPCError {
|
|
22634
22707
|
constructor(src2) {
|
|
22635
|
-
super(src2.status, src2.error, src2.message);
|
|
22708
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22636
22709
|
}
|
|
22637
22710
|
};
|
|
22638
22711
|
function toKnownErr29(e) {
|
|
@@ -22652,12 +22725,12 @@ __export(rebaseRepo_exports2, {
|
|
|
22652
22725
|
});
|
|
22653
22726
|
var InvalidSwapError6 = class extends XRPCError {
|
|
22654
22727
|
constructor(src2) {
|
|
22655
|
-
super(src2.status, src2.error, src2.message);
|
|
22728
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22656
22729
|
}
|
|
22657
22730
|
};
|
|
22658
22731
|
var ConcurrentWritesError2 = class extends XRPCError {
|
|
22659
22732
|
constructor(src2) {
|
|
22660
|
-
super(src2.status, src2.error, src2.message);
|
|
22733
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22661
22734
|
}
|
|
22662
22735
|
};
|
|
22663
22736
|
function toKnownErr30(e) {
|
|
@@ -22695,37 +22768,37 @@ __export(createAccount_exports, {
|
|
|
22695
22768
|
});
|
|
22696
22769
|
var InvalidHandleError2 = class extends XRPCError {
|
|
22697
22770
|
constructor(src2) {
|
|
22698
|
-
super(src2.status, src2.error, src2.message);
|
|
22771
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22699
22772
|
}
|
|
22700
22773
|
};
|
|
22701
22774
|
var InvalidPasswordError = class extends XRPCError {
|
|
22702
22775
|
constructor(src2) {
|
|
22703
|
-
super(src2.status, src2.error, src2.message);
|
|
22776
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22704
22777
|
}
|
|
22705
22778
|
};
|
|
22706
22779
|
var InvalidInviteCodeError = class extends XRPCError {
|
|
22707
22780
|
constructor(src2) {
|
|
22708
|
-
super(src2.status, src2.error, src2.message);
|
|
22781
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22709
22782
|
}
|
|
22710
22783
|
};
|
|
22711
22784
|
var HandleNotAvailableError = class extends XRPCError {
|
|
22712
22785
|
constructor(src2) {
|
|
22713
|
-
super(src2.status, src2.error, src2.message);
|
|
22786
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22714
22787
|
}
|
|
22715
22788
|
};
|
|
22716
22789
|
var UnsupportedDomainError = class extends XRPCError {
|
|
22717
22790
|
constructor(src2) {
|
|
22718
|
-
super(src2.status, src2.error, src2.message);
|
|
22791
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22719
22792
|
}
|
|
22720
22793
|
};
|
|
22721
22794
|
var UnresolvableDidError = class extends XRPCError {
|
|
22722
22795
|
constructor(src2) {
|
|
22723
|
-
super(src2.status, src2.error, src2.message);
|
|
22796
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22724
22797
|
}
|
|
22725
22798
|
};
|
|
22726
22799
|
var IncompatibleDidDocError = class extends XRPCError {
|
|
22727
22800
|
constructor(src2) {
|
|
22728
|
-
super(src2.status, src2.error, src2.message);
|
|
22801
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22729
22802
|
}
|
|
22730
22803
|
};
|
|
22731
22804
|
function toKnownErr32(e) {
|
|
@@ -22758,7 +22831,7 @@ __export(createAppPassword_exports, {
|
|
|
22758
22831
|
});
|
|
22759
22832
|
var AccountTakedownError = class extends XRPCError {
|
|
22760
22833
|
constructor(src2) {
|
|
22761
|
-
super(src2.status, src2.error, src2.message);
|
|
22834
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22762
22835
|
}
|
|
22763
22836
|
};
|
|
22764
22837
|
function toKnownErr33(e) {
|
|
@@ -22819,7 +22892,7 @@ __export(createSession_exports, {
|
|
|
22819
22892
|
});
|
|
22820
22893
|
var AccountTakedownError2 = class extends XRPCError {
|
|
22821
22894
|
constructor(src2) {
|
|
22822
|
-
super(src2.status, src2.error, src2.message);
|
|
22895
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22823
22896
|
}
|
|
22824
22897
|
};
|
|
22825
22898
|
function toKnownErr36(e) {
|
|
@@ -22839,12 +22912,12 @@ __export(deleteAccount_exports, {
|
|
|
22839
22912
|
});
|
|
22840
22913
|
var ExpiredTokenError = class extends XRPCError {
|
|
22841
22914
|
constructor(src2) {
|
|
22842
|
-
super(src2.status, src2.error, src2.message);
|
|
22915
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22843
22916
|
}
|
|
22844
22917
|
};
|
|
22845
22918
|
var InvalidTokenError = class extends XRPCError {
|
|
22846
22919
|
constructor(src2) {
|
|
22847
|
-
super(src2.status, src2.error, src2.message);
|
|
22920
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22848
22921
|
}
|
|
22849
22922
|
};
|
|
22850
22923
|
function toKnownErr37(e) {
|
|
@@ -22895,7 +22968,7 @@ __export(getAccountInviteCodes_exports, {
|
|
|
22895
22968
|
});
|
|
22896
22969
|
var DuplicateCreateError = class extends XRPCError {
|
|
22897
22970
|
constructor(src2) {
|
|
22898
|
-
super(src2.status, src2.error, src2.message);
|
|
22971
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22899
22972
|
}
|
|
22900
22973
|
};
|
|
22901
22974
|
function toKnownErr40(e) {
|
|
@@ -22927,7 +23000,7 @@ __export(listAppPasswords_exports, {
|
|
|
22927
23000
|
});
|
|
22928
23001
|
var AccountTakedownError3 = class extends XRPCError {
|
|
22929
23002
|
constructor(src2) {
|
|
22930
|
-
super(src2.status, src2.error, src2.message);
|
|
23003
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22931
23004
|
}
|
|
22932
23005
|
};
|
|
22933
23006
|
function toKnownErr42(e) {
|
|
@@ -22952,7 +23025,7 @@ __export(refreshSession_exports, {
|
|
|
22952
23025
|
});
|
|
22953
23026
|
var AccountTakedownError4 = class extends XRPCError {
|
|
22954
23027
|
constructor(src2) {
|
|
22955
|
-
super(src2.status, src2.error, src2.message);
|
|
23028
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22956
23029
|
}
|
|
22957
23030
|
};
|
|
22958
23031
|
function toKnownErr43(e) {
|
|
@@ -22994,12 +23067,12 @@ __export(resetPassword_exports, {
|
|
|
22994
23067
|
});
|
|
22995
23068
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
22996
23069
|
constructor(src2) {
|
|
22997
|
-
super(src2.status, src2.error, src2.message);
|
|
23070
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
22998
23071
|
}
|
|
22999
23072
|
};
|
|
23000
23073
|
var InvalidTokenError2 = class extends XRPCError {
|
|
23001
23074
|
constructor(src2) {
|
|
23002
|
-
super(src2.status, src2.error, src2.message);
|
|
23075
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23003
23076
|
}
|
|
23004
23077
|
};
|
|
23005
23078
|
function toKnownErr46(e) {
|
|
@@ -23075,7 +23148,7 @@ __export(getHead_exports, {
|
|
|
23075
23148
|
});
|
|
23076
23149
|
var HeadNotFoundError = class extends XRPCError {
|
|
23077
23150
|
constructor(src2) {
|
|
23078
|
-
super(src2.status, src2.error, src2.message);
|
|
23151
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23079
23152
|
}
|
|
23080
23153
|
};
|
|
23081
23154
|
function toKnownErr52(e) {
|
|
@@ -23275,21 +23348,21 @@ function toKnownErr67(e) {
|
|
|
23275
23348
|
return e;
|
|
23276
23349
|
}
|
|
23277
23350
|
|
|
23278
|
-
// src/client/types/app/bsky/feed/
|
|
23279
|
-
var
|
|
23280
|
-
__export(
|
|
23351
|
+
// src/client/types/app/bsky/feed/getActorLikes.ts
|
|
23352
|
+
var getActorLikes_exports = {};
|
|
23353
|
+
__export(getActorLikes_exports, {
|
|
23281
23354
|
BlockedActorError: () => BlockedActorError,
|
|
23282
23355
|
BlockedByActorError: () => BlockedByActorError,
|
|
23283
23356
|
toKnownErr: () => toKnownErr68
|
|
23284
23357
|
});
|
|
23285
23358
|
var BlockedActorError = class extends XRPCError {
|
|
23286
23359
|
constructor(src2) {
|
|
23287
|
-
super(src2.status, src2.error, src2.message);
|
|
23360
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23288
23361
|
}
|
|
23289
23362
|
};
|
|
23290
23363
|
var BlockedByActorError = class extends XRPCError {
|
|
23291
23364
|
constructor(src2) {
|
|
23292
|
-
super(src2.status, src2.error, src2.message);
|
|
23365
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23293
23366
|
}
|
|
23294
23367
|
};
|
|
23295
23368
|
function toKnownErr68(e) {
|
|
@@ -23302,18 +23375,45 @@ function toKnownErr68(e) {
|
|
|
23302
23375
|
return e;
|
|
23303
23376
|
}
|
|
23304
23377
|
|
|
23378
|
+
// src/client/types/app/bsky/feed/getAuthorFeed.ts
|
|
23379
|
+
var getAuthorFeed_exports = {};
|
|
23380
|
+
__export(getAuthorFeed_exports, {
|
|
23381
|
+
BlockedActorError: () => BlockedActorError2,
|
|
23382
|
+
BlockedByActorError: () => BlockedByActorError2,
|
|
23383
|
+
toKnownErr: () => toKnownErr69
|
|
23384
|
+
});
|
|
23385
|
+
var BlockedActorError2 = class extends XRPCError {
|
|
23386
|
+
constructor(src2) {
|
|
23387
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23388
|
+
}
|
|
23389
|
+
};
|
|
23390
|
+
var BlockedByActorError2 = class extends XRPCError {
|
|
23391
|
+
constructor(src2) {
|
|
23392
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23393
|
+
}
|
|
23394
|
+
};
|
|
23395
|
+
function toKnownErr69(e) {
|
|
23396
|
+
if (e instanceof XRPCError) {
|
|
23397
|
+
if (e.error === "BlockedActor")
|
|
23398
|
+
return new BlockedActorError2(e);
|
|
23399
|
+
if (e.error === "BlockedByActor")
|
|
23400
|
+
return new BlockedByActorError2(e);
|
|
23401
|
+
}
|
|
23402
|
+
return e;
|
|
23403
|
+
}
|
|
23404
|
+
|
|
23305
23405
|
// src/client/types/app/bsky/feed/getFeed.ts
|
|
23306
23406
|
var getFeed_exports = {};
|
|
23307
23407
|
__export(getFeed_exports, {
|
|
23308
23408
|
UnknownFeedError: () => UnknownFeedError,
|
|
23309
|
-
toKnownErr: () =>
|
|
23409
|
+
toKnownErr: () => toKnownErr70
|
|
23310
23410
|
});
|
|
23311
23411
|
var UnknownFeedError = class extends XRPCError {
|
|
23312
23412
|
constructor(src2) {
|
|
23313
|
-
super(src2.status, src2.error, src2.message);
|
|
23413
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23314
23414
|
}
|
|
23315
23415
|
};
|
|
23316
|
-
function
|
|
23416
|
+
function toKnownErr70(e) {
|
|
23317
23417
|
if (e instanceof XRPCError) {
|
|
23318
23418
|
if (e.error === "UnknownFeed")
|
|
23319
23419
|
return new UnknownFeedError(e);
|
|
@@ -23324,9 +23424,9 @@ function toKnownErr69(e) {
|
|
|
23324
23424
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
23325
23425
|
var getFeedGenerator_exports = {};
|
|
23326
23426
|
__export(getFeedGenerator_exports, {
|
|
23327
|
-
toKnownErr: () =>
|
|
23427
|
+
toKnownErr: () => toKnownErr71
|
|
23328
23428
|
});
|
|
23329
|
-
function
|
|
23429
|
+
function toKnownErr71(e) {
|
|
23330
23430
|
if (e instanceof XRPCError) {
|
|
23331
23431
|
}
|
|
23332
23432
|
return e;
|
|
@@ -23335,9 +23435,9 @@ function toKnownErr70(e) {
|
|
|
23335
23435
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
23336
23436
|
var getFeedGenerators_exports = {};
|
|
23337
23437
|
__export(getFeedGenerators_exports, {
|
|
23338
|
-
toKnownErr: () =>
|
|
23438
|
+
toKnownErr: () => toKnownErr72
|
|
23339
23439
|
});
|
|
23340
|
-
function
|
|
23440
|
+
function toKnownErr72(e) {
|
|
23341
23441
|
if (e instanceof XRPCError) {
|
|
23342
23442
|
}
|
|
23343
23443
|
return e;
|
|
@@ -23347,14 +23447,14 @@ function toKnownErr71(e) {
|
|
|
23347
23447
|
var getFeedSkeleton_exports = {};
|
|
23348
23448
|
__export(getFeedSkeleton_exports, {
|
|
23349
23449
|
UnknownFeedError: () => UnknownFeedError2,
|
|
23350
|
-
toKnownErr: () =>
|
|
23450
|
+
toKnownErr: () => toKnownErr73
|
|
23351
23451
|
});
|
|
23352
23452
|
var UnknownFeedError2 = class extends XRPCError {
|
|
23353
23453
|
constructor(src2) {
|
|
23354
|
-
super(src2.status, src2.error, src2.message);
|
|
23454
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23355
23455
|
}
|
|
23356
23456
|
};
|
|
23357
|
-
function
|
|
23457
|
+
function toKnownErr73(e) {
|
|
23358
23458
|
if (e instanceof XRPCError) {
|
|
23359
23459
|
if (e.error === "UnknownFeed")
|
|
23360
23460
|
return new UnknownFeedError2(e);
|
|
@@ -23366,10 +23466,10 @@ function toKnownErr72(e) {
|
|
|
23366
23466
|
var getLikes_exports = {};
|
|
23367
23467
|
__export(getLikes_exports, {
|
|
23368
23468
|
isLike: () => isLike,
|
|
23369
|
-
toKnownErr: () =>
|
|
23469
|
+
toKnownErr: () => toKnownErr74,
|
|
23370
23470
|
validateLike: () => validateLike
|
|
23371
23471
|
});
|
|
23372
|
-
function
|
|
23472
|
+
function toKnownErr74(e) {
|
|
23373
23473
|
if (e instanceof XRPCError) {
|
|
23374
23474
|
}
|
|
23375
23475
|
return e;
|
|
@@ -23385,14 +23485,14 @@ function validateLike(v) {
|
|
|
23385
23485
|
var getPostThread_exports = {};
|
|
23386
23486
|
__export(getPostThread_exports, {
|
|
23387
23487
|
NotFoundError: () => NotFoundError,
|
|
23388
|
-
toKnownErr: () =>
|
|
23488
|
+
toKnownErr: () => toKnownErr75
|
|
23389
23489
|
});
|
|
23390
23490
|
var NotFoundError = class extends XRPCError {
|
|
23391
23491
|
constructor(src2) {
|
|
23392
|
-
super(src2.status, src2.error, src2.message);
|
|
23492
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23393
23493
|
}
|
|
23394
23494
|
};
|
|
23395
|
-
function
|
|
23495
|
+
function toKnownErr75(e) {
|
|
23396
23496
|
if (e instanceof XRPCError) {
|
|
23397
23497
|
if (e.error === "NotFound")
|
|
23398
23498
|
return new NotFoundError(e);
|
|
@@ -23403,9 +23503,9 @@ function toKnownErr74(e) {
|
|
|
23403
23503
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
23404
23504
|
var getPosts_exports = {};
|
|
23405
23505
|
__export(getPosts_exports, {
|
|
23406
|
-
toKnownErr: () =>
|
|
23506
|
+
toKnownErr: () => toKnownErr76
|
|
23407
23507
|
});
|
|
23408
|
-
function
|
|
23508
|
+
function toKnownErr76(e) {
|
|
23409
23509
|
if (e instanceof XRPCError) {
|
|
23410
23510
|
}
|
|
23411
23511
|
return e;
|
|
@@ -23414,9 +23514,9 @@ function toKnownErr75(e) {
|
|
|
23414
23514
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
23415
23515
|
var getRepostedBy_exports = {};
|
|
23416
23516
|
__export(getRepostedBy_exports, {
|
|
23417
|
-
toKnownErr: () =>
|
|
23517
|
+
toKnownErr: () => toKnownErr77
|
|
23418
23518
|
});
|
|
23419
|
-
function
|
|
23519
|
+
function toKnownErr77(e) {
|
|
23420
23520
|
if (e instanceof XRPCError) {
|
|
23421
23521
|
}
|
|
23422
23522
|
return e;
|
|
@@ -23425,9 +23525,9 @@ function toKnownErr76(e) {
|
|
|
23425
23525
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
23426
23526
|
var getTimeline_exports = {};
|
|
23427
23527
|
__export(getTimeline_exports, {
|
|
23428
|
-
toKnownErr: () =>
|
|
23528
|
+
toKnownErr: () => toKnownErr78
|
|
23429
23529
|
});
|
|
23430
|
-
function
|
|
23530
|
+
function toKnownErr78(e) {
|
|
23431
23531
|
if (e instanceof XRPCError) {
|
|
23432
23532
|
}
|
|
23433
23533
|
return e;
|
|
@@ -23436,9 +23536,9 @@ function toKnownErr77(e) {
|
|
|
23436
23536
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
23437
23537
|
var getBlocks_exports2 = {};
|
|
23438
23538
|
__export(getBlocks_exports2, {
|
|
23439
|
-
toKnownErr: () =>
|
|
23539
|
+
toKnownErr: () => toKnownErr79
|
|
23440
23540
|
});
|
|
23441
|
-
function
|
|
23541
|
+
function toKnownErr79(e) {
|
|
23442
23542
|
if (e instanceof XRPCError) {
|
|
23443
23543
|
}
|
|
23444
23544
|
return e;
|
|
@@ -23447,9 +23547,9 @@ function toKnownErr78(e) {
|
|
|
23447
23547
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
23448
23548
|
var getFollowers_exports = {};
|
|
23449
23549
|
__export(getFollowers_exports, {
|
|
23450
|
-
toKnownErr: () =>
|
|
23550
|
+
toKnownErr: () => toKnownErr80
|
|
23451
23551
|
});
|
|
23452
|
-
function
|
|
23552
|
+
function toKnownErr80(e) {
|
|
23453
23553
|
if (e instanceof XRPCError) {
|
|
23454
23554
|
}
|
|
23455
23555
|
return e;
|
|
@@ -23458,9 +23558,9 @@ function toKnownErr79(e) {
|
|
|
23458
23558
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
23459
23559
|
var getFollows_exports = {};
|
|
23460
23560
|
__export(getFollows_exports, {
|
|
23461
|
-
toKnownErr: () =>
|
|
23561
|
+
toKnownErr: () => toKnownErr81
|
|
23462
23562
|
});
|
|
23463
|
-
function
|
|
23563
|
+
function toKnownErr81(e) {
|
|
23464
23564
|
if (e instanceof XRPCError) {
|
|
23465
23565
|
}
|
|
23466
23566
|
return e;
|
|
@@ -23469,9 +23569,9 @@ function toKnownErr80(e) {
|
|
|
23469
23569
|
// src/client/types/app/bsky/graph/getList.ts
|
|
23470
23570
|
var getList_exports = {};
|
|
23471
23571
|
__export(getList_exports, {
|
|
23472
|
-
toKnownErr: () =>
|
|
23572
|
+
toKnownErr: () => toKnownErr82
|
|
23473
23573
|
});
|
|
23474
|
-
function
|
|
23574
|
+
function toKnownErr82(e) {
|
|
23475
23575
|
if (e instanceof XRPCError) {
|
|
23476
23576
|
}
|
|
23477
23577
|
return e;
|
|
@@ -23480,9 +23580,9 @@ function toKnownErr81(e) {
|
|
|
23480
23580
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
23481
23581
|
var getListMutes_exports = {};
|
|
23482
23582
|
__export(getListMutes_exports, {
|
|
23483
|
-
toKnownErr: () =>
|
|
23583
|
+
toKnownErr: () => toKnownErr83
|
|
23484
23584
|
});
|
|
23485
|
-
function
|
|
23585
|
+
function toKnownErr83(e) {
|
|
23486
23586
|
if (e instanceof XRPCError) {
|
|
23487
23587
|
}
|
|
23488
23588
|
return e;
|
|
@@ -23491,9 +23591,9 @@ function toKnownErr82(e) {
|
|
|
23491
23591
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
23492
23592
|
var getLists_exports = {};
|
|
23493
23593
|
__export(getLists_exports, {
|
|
23494
|
-
toKnownErr: () =>
|
|
23594
|
+
toKnownErr: () => toKnownErr84
|
|
23495
23595
|
});
|
|
23496
|
-
function
|
|
23596
|
+
function toKnownErr84(e) {
|
|
23497
23597
|
if (e instanceof XRPCError) {
|
|
23498
23598
|
}
|
|
23499
23599
|
return e;
|
|
@@ -23502,9 +23602,9 @@ function toKnownErr83(e) {
|
|
|
23502
23602
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
23503
23603
|
var getMutes_exports = {};
|
|
23504
23604
|
__export(getMutes_exports, {
|
|
23505
|
-
toKnownErr: () =>
|
|
23605
|
+
toKnownErr: () => toKnownErr85
|
|
23506
23606
|
});
|
|
23507
|
-
function
|
|
23607
|
+
function toKnownErr85(e) {
|
|
23508
23608
|
if (e instanceof XRPCError) {
|
|
23509
23609
|
}
|
|
23510
23610
|
return e;
|
|
@@ -23513,9 +23613,9 @@ function toKnownErr84(e) {
|
|
|
23513
23613
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
23514
23614
|
var muteActor_exports = {};
|
|
23515
23615
|
__export(muteActor_exports, {
|
|
23516
|
-
toKnownErr: () =>
|
|
23616
|
+
toKnownErr: () => toKnownErr86
|
|
23517
23617
|
});
|
|
23518
|
-
function
|
|
23618
|
+
function toKnownErr86(e) {
|
|
23519
23619
|
if (e instanceof XRPCError) {
|
|
23520
23620
|
}
|
|
23521
23621
|
return e;
|
|
@@ -23524,9 +23624,9 @@ function toKnownErr85(e) {
|
|
|
23524
23624
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
23525
23625
|
var muteActorList_exports = {};
|
|
23526
23626
|
__export(muteActorList_exports, {
|
|
23527
|
-
toKnownErr: () =>
|
|
23627
|
+
toKnownErr: () => toKnownErr87
|
|
23528
23628
|
});
|
|
23529
|
-
function
|
|
23629
|
+
function toKnownErr87(e) {
|
|
23530
23630
|
if (e instanceof XRPCError) {
|
|
23531
23631
|
}
|
|
23532
23632
|
return e;
|
|
@@ -23535,9 +23635,9 @@ function toKnownErr86(e) {
|
|
|
23535
23635
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
23536
23636
|
var unmuteActor_exports = {};
|
|
23537
23637
|
__export(unmuteActor_exports, {
|
|
23538
|
-
toKnownErr: () =>
|
|
23638
|
+
toKnownErr: () => toKnownErr88
|
|
23539
23639
|
});
|
|
23540
|
-
function
|
|
23640
|
+
function toKnownErr88(e) {
|
|
23541
23641
|
if (e instanceof XRPCError) {
|
|
23542
23642
|
}
|
|
23543
23643
|
return e;
|
|
@@ -23546,9 +23646,9 @@ function toKnownErr87(e) {
|
|
|
23546
23646
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
23547
23647
|
var unmuteActorList_exports = {};
|
|
23548
23648
|
__export(unmuteActorList_exports, {
|
|
23549
|
-
toKnownErr: () =>
|
|
23649
|
+
toKnownErr: () => toKnownErr89
|
|
23550
23650
|
});
|
|
23551
|
-
function
|
|
23651
|
+
function toKnownErr89(e) {
|
|
23552
23652
|
if (e instanceof XRPCError) {
|
|
23553
23653
|
}
|
|
23554
23654
|
return e;
|
|
@@ -23557,9 +23657,9 @@ function toKnownErr88(e) {
|
|
|
23557
23657
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
23558
23658
|
var getUnreadCount_exports = {};
|
|
23559
23659
|
__export(getUnreadCount_exports, {
|
|
23560
|
-
toKnownErr: () =>
|
|
23660
|
+
toKnownErr: () => toKnownErr90
|
|
23561
23661
|
});
|
|
23562
|
-
function
|
|
23662
|
+
function toKnownErr90(e) {
|
|
23563
23663
|
if (e instanceof XRPCError) {
|
|
23564
23664
|
}
|
|
23565
23665
|
return e;
|
|
@@ -23569,10 +23669,10 @@ function toKnownErr89(e) {
|
|
|
23569
23669
|
var listNotifications_exports = {};
|
|
23570
23670
|
__export(listNotifications_exports, {
|
|
23571
23671
|
isNotification: () => isNotification,
|
|
23572
|
-
toKnownErr: () =>
|
|
23672
|
+
toKnownErr: () => toKnownErr91,
|
|
23573
23673
|
validateNotification: () => validateNotification
|
|
23574
23674
|
});
|
|
23575
|
-
function
|
|
23675
|
+
function toKnownErr91(e) {
|
|
23576
23676
|
if (e instanceof XRPCError) {
|
|
23577
23677
|
}
|
|
23578
23678
|
return e;
|
|
@@ -23590,9 +23690,9 @@ function validateNotification(v) {
|
|
|
23590
23690
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
23591
23691
|
var updateSeen_exports = {};
|
|
23592
23692
|
__export(updateSeen_exports, {
|
|
23593
|
-
toKnownErr: () =>
|
|
23693
|
+
toKnownErr: () => toKnownErr92
|
|
23594
23694
|
});
|
|
23595
|
-
function
|
|
23695
|
+
function toKnownErr92(e) {
|
|
23596
23696
|
if (e instanceof XRPCError) {
|
|
23597
23697
|
}
|
|
23598
23698
|
return e;
|
|
@@ -23601,9 +23701,9 @@ function toKnownErr91(e) {
|
|
|
23601
23701
|
// src/client/types/app/bsky/unspecced/applyLabels.ts
|
|
23602
23702
|
var applyLabels_exports = {};
|
|
23603
23703
|
__export(applyLabels_exports, {
|
|
23604
|
-
toKnownErr: () =>
|
|
23704
|
+
toKnownErr: () => toKnownErr93
|
|
23605
23705
|
});
|
|
23606
|
-
function
|
|
23706
|
+
function toKnownErr93(e) {
|
|
23607
23707
|
if (e instanceof XRPCError) {
|
|
23608
23708
|
}
|
|
23609
23709
|
return e;
|
|
@@ -23612,9 +23712,9 @@ function toKnownErr92(e) {
|
|
|
23612
23712
|
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
23613
23713
|
var getPopular_exports = {};
|
|
23614
23714
|
__export(getPopular_exports, {
|
|
23615
|
-
toKnownErr: () =>
|
|
23715
|
+
toKnownErr: () => toKnownErr94
|
|
23616
23716
|
});
|
|
23617
|
-
function
|
|
23717
|
+
function toKnownErr94(e) {
|
|
23618
23718
|
if (e instanceof XRPCError) {
|
|
23619
23719
|
}
|
|
23620
23720
|
return e;
|
|
@@ -23623,9 +23723,9 @@ function toKnownErr93(e) {
|
|
|
23623
23723
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
23624
23724
|
var getPopularFeedGenerators_exports = {};
|
|
23625
23725
|
__export(getPopularFeedGenerators_exports, {
|
|
23626
|
-
toKnownErr: () =>
|
|
23726
|
+
toKnownErr: () => toKnownErr95
|
|
23627
23727
|
});
|
|
23628
|
-
function
|
|
23728
|
+
function toKnownErr95(e) {
|
|
23629
23729
|
if (e instanceof XRPCError) {
|
|
23630
23730
|
}
|
|
23631
23731
|
return e;
|
|
@@ -23635,14 +23735,14 @@ function toKnownErr94(e) {
|
|
|
23635
23735
|
var getTimelineSkeleton_exports = {};
|
|
23636
23736
|
__export(getTimelineSkeleton_exports, {
|
|
23637
23737
|
UnknownFeedError: () => UnknownFeedError3,
|
|
23638
|
-
toKnownErr: () =>
|
|
23738
|
+
toKnownErr: () => toKnownErr96
|
|
23639
23739
|
});
|
|
23640
23740
|
var UnknownFeedError3 = class extends XRPCError {
|
|
23641
23741
|
constructor(src2) {
|
|
23642
|
-
super(src2.status, src2.error, src2.message);
|
|
23742
|
+
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23643
23743
|
}
|
|
23644
23744
|
};
|
|
23645
|
-
function
|
|
23745
|
+
function toKnownErr96(e) {
|
|
23646
23746
|
if (e instanceof XRPCError) {
|
|
23647
23747
|
if (e.error === "UnknownFeed")
|
|
23648
23748
|
return new UnknownFeedError3(e);
|
|
@@ -24988,54 +25088,59 @@ var FeedNS = class {
|
|
|
24988
25088
|
throw toKnownErr67(e);
|
|
24989
25089
|
});
|
|
24990
25090
|
}
|
|
25091
|
+
getActorLikes(params2, opts) {
|
|
25092
|
+
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
25093
|
+
throw toKnownErr68(e);
|
|
25094
|
+
});
|
|
25095
|
+
}
|
|
24991
25096
|
getAuthorFeed(params2, opts) {
|
|
24992
25097
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
24993
|
-
throw
|
|
25098
|
+
throw toKnownErr69(e);
|
|
24994
25099
|
});
|
|
24995
25100
|
}
|
|
24996
25101
|
getFeed(params2, opts) {
|
|
24997
25102
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
24998
|
-
throw
|
|
25103
|
+
throw toKnownErr70(e);
|
|
24999
25104
|
});
|
|
25000
25105
|
}
|
|
25001
25106
|
getFeedGenerator(params2, opts) {
|
|
25002
25107
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
25003
|
-
throw
|
|
25108
|
+
throw toKnownErr71(e);
|
|
25004
25109
|
});
|
|
25005
25110
|
}
|
|
25006
25111
|
getFeedGenerators(params2, opts) {
|
|
25007
25112
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
25008
|
-
throw
|
|
25113
|
+
throw toKnownErr72(e);
|
|
25009
25114
|
});
|
|
25010
25115
|
}
|
|
25011
25116
|
getFeedSkeleton(params2, opts) {
|
|
25012
25117
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
25013
|
-
throw
|
|
25118
|
+
throw toKnownErr73(e);
|
|
25014
25119
|
});
|
|
25015
25120
|
}
|
|
25016
25121
|
getLikes(params2, opts) {
|
|
25017
25122
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
25018
|
-
throw
|
|
25123
|
+
throw toKnownErr74(e);
|
|
25019
25124
|
});
|
|
25020
25125
|
}
|
|
25021
25126
|
getPostThread(params2, opts) {
|
|
25022
25127
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
25023
|
-
throw
|
|
25128
|
+
throw toKnownErr75(e);
|
|
25024
25129
|
});
|
|
25025
25130
|
}
|
|
25026
25131
|
getPosts(params2, opts) {
|
|
25027
25132
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
25028
|
-
throw
|
|
25133
|
+
throw toKnownErr76(e);
|
|
25029
25134
|
});
|
|
25030
25135
|
}
|
|
25031
25136
|
getRepostedBy(params2, opts) {
|
|
25032
25137
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
25033
|
-
throw
|
|
25138
|
+
throw toKnownErr77(e);
|
|
25034
25139
|
});
|
|
25035
25140
|
}
|
|
25036
25141
|
getTimeline(params2, opts) {
|
|
25037
25142
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
25038
|
-
throw
|
|
25143
|
+
throw toKnownErr78(e);
|
|
25039
25144
|
});
|
|
25040
25145
|
}
|
|
25041
25146
|
};
|
|
@@ -25197,57 +25302,57 @@ var GraphNS = class {
|
|
|
25197
25302
|
}
|
|
25198
25303
|
getBlocks(params2, opts) {
|
|
25199
25304
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
25200
|
-
throw
|
|
25305
|
+
throw toKnownErr79(e);
|
|
25201
25306
|
});
|
|
25202
25307
|
}
|
|
25203
25308
|
getFollowers(params2, opts) {
|
|
25204
25309
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
25205
|
-
throw
|
|
25310
|
+
throw toKnownErr80(e);
|
|
25206
25311
|
});
|
|
25207
25312
|
}
|
|
25208
25313
|
getFollows(params2, opts) {
|
|
25209
25314
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
25210
|
-
throw
|
|
25315
|
+
throw toKnownErr81(e);
|
|
25211
25316
|
});
|
|
25212
25317
|
}
|
|
25213
25318
|
getList(params2, opts) {
|
|
25214
25319
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
25215
|
-
throw
|
|
25320
|
+
throw toKnownErr82(e);
|
|
25216
25321
|
});
|
|
25217
25322
|
}
|
|
25218
25323
|
getListMutes(params2, opts) {
|
|
25219
25324
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
25220
|
-
throw
|
|
25325
|
+
throw toKnownErr83(e);
|
|
25221
25326
|
});
|
|
25222
25327
|
}
|
|
25223
25328
|
getLists(params2, opts) {
|
|
25224
25329
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
25225
|
-
throw
|
|
25330
|
+
throw toKnownErr84(e);
|
|
25226
25331
|
});
|
|
25227
25332
|
}
|
|
25228
25333
|
getMutes(params2, opts) {
|
|
25229
25334
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
25230
|
-
throw
|
|
25335
|
+
throw toKnownErr85(e);
|
|
25231
25336
|
});
|
|
25232
25337
|
}
|
|
25233
25338
|
muteActor(data, opts) {
|
|
25234
25339
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
25235
|
-
throw
|
|
25340
|
+
throw toKnownErr86(e);
|
|
25236
25341
|
});
|
|
25237
25342
|
}
|
|
25238
25343
|
muteActorList(data, opts) {
|
|
25239
25344
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25240
|
-
throw
|
|
25345
|
+
throw toKnownErr87(e);
|
|
25241
25346
|
});
|
|
25242
25347
|
}
|
|
25243
25348
|
unmuteActor(data, opts) {
|
|
25244
25349
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
25245
|
-
throw
|
|
25350
|
+
throw toKnownErr88(e);
|
|
25246
25351
|
});
|
|
25247
25352
|
}
|
|
25248
25353
|
unmuteActorList(data, opts) {
|
|
25249
25354
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25250
|
-
throw
|
|
25355
|
+
throw toKnownErr89(e);
|
|
25251
25356
|
});
|
|
25252
25357
|
}
|
|
25253
25358
|
};
|
|
@@ -25405,17 +25510,17 @@ var NotificationNS = class {
|
|
|
25405
25510
|
}
|
|
25406
25511
|
getUnreadCount(params2, opts) {
|
|
25407
25512
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
25408
|
-
throw
|
|
25513
|
+
throw toKnownErr90(e);
|
|
25409
25514
|
});
|
|
25410
25515
|
}
|
|
25411
25516
|
listNotifications(params2, opts) {
|
|
25412
25517
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
25413
|
-
throw
|
|
25518
|
+
throw toKnownErr91(e);
|
|
25414
25519
|
});
|
|
25415
25520
|
}
|
|
25416
25521
|
updateSeen(data, opts) {
|
|
25417
25522
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
25418
|
-
throw
|
|
25523
|
+
throw toKnownErr92(e);
|
|
25419
25524
|
});
|
|
25420
25525
|
}
|
|
25421
25526
|
};
|
|
@@ -25430,12 +25535,12 @@ var UnspeccedNS = class {
|
|
|
25430
25535
|
}
|
|
25431
25536
|
applyLabels(data, opts) {
|
|
25432
25537
|
return this._service.xrpc.call("app.bsky.unspecced.applyLabels", opts?.qp, data, opts).catch((e) => {
|
|
25433
|
-
throw
|
|
25538
|
+
throw toKnownErr93(e);
|
|
25434
25539
|
});
|
|
25435
25540
|
}
|
|
25436
25541
|
getPopular(params2, opts) {
|
|
25437
25542
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
25438
|
-
throw
|
|
25543
|
+
throw toKnownErr94(e);
|
|
25439
25544
|
});
|
|
25440
25545
|
}
|
|
25441
25546
|
getPopularFeedGenerators(params2, opts) {
|
|
@@ -25445,12 +25550,12 @@ var UnspeccedNS = class {
|
|
|
25445
25550
|
void 0,
|
|
25446
25551
|
opts
|
|
25447
25552
|
).catch((e) => {
|
|
25448
|
-
throw
|
|
25553
|
+
throw toKnownErr95(e);
|
|
25449
25554
|
});
|
|
25450
25555
|
}
|
|
25451
25556
|
getTimelineSkeleton(params2, opts) {
|
|
25452
25557
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
25453
|
-
throw
|
|
25558
|
+
throw toKnownErr96(e);
|
|
25454
25559
|
});
|
|
25455
25560
|
}
|
|
25456
25561
|
};
|
|
@@ -28843,6 +28948,7 @@ var BskyAgent = class extends AtpAgent {
|
|
|
28843
28948
|
super(...arguments);
|
|
28844
28949
|
this.getTimeline = (params2, opts) => this.api.app.bsky.feed.getTimeline(params2, opts);
|
|
28845
28950
|
this.getAuthorFeed = (params2, opts) => this.api.app.bsky.feed.getAuthorFeed(params2, opts);
|
|
28951
|
+
this.getActorLikes = (params2, opts) => this.api.app.bsky.feed.getActorLikes(params2, opts);
|
|
28846
28952
|
this.getPostThread = (params2, opts) => this.api.app.bsky.feed.getPostThread(params2, opts);
|
|
28847
28953
|
this.getPost = (params2) => this.api.app.bsky.feed.post.get(params2);
|
|
28848
28954
|
this.getPosts = (params2, opts) => this.api.app.bsky.feed.getPosts(params2, opts);
|