@atproto/pds 0.3.14 → 0.3.15
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +274 -30
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +2 -0
- package/dist/lexicon/lexicons.d.ts +105 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +7 -1
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +15 -0
- package/dist/lexicon/types/app/bsky/graph/getRelationships.d.ts +38 -0
- package/package.json +5 -5
- package/src/lexicon/index.ts +12 -0
- package/src/lexicon/lexicons.ts +117 -0
- package/src/lexicon/types/app/bsky/actor/defs.ts +19 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +41 -0
- package/src/lexicon/types/app/bsky/graph/getRelationships.ts +53 -0
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
@@ -217087,7 +217087,8 @@ var schemaDict = {
|
|
217087
217087
|
"lex:app.bsky.actor.defs#savedFeedsPref",
|
217088
217088
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
217089
217089
|
"lex:app.bsky.actor.defs#feedViewPref",
|
217090
|
-
"lex:app.bsky.actor.defs#threadViewPref"
|
217090
|
+
"lex:app.bsky.actor.defs#threadViewPref",
|
217091
|
+
"lex:app.bsky.actor.defs#interestsPref"
|
217091
217092
|
]
|
217092
217093
|
}
|
217093
217094
|
},
|
@@ -217187,6 +217188,22 @@ var schemaDict = {
|
|
217187
217188
|
description: "Show followed users at the top of all replies."
|
217188
217189
|
}
|
217189
217190
|
}
|
217191
|
+
},
|
217192
|
+
interestsPref: {
|
217193
|
+
type: "object",
|
217194
|
+
required: ["tags"],
|
217195
|
+
properties: {
|
217196
|
+
tags: {
|
217197
|
+
type: "array",
|
217198
|
+
maxLength: 100,
|
217199
|
+
items: {
|
217200
|
+
type: "string",
|
217201
|
+
maxLength: 640,
|
217202
|
+
maxGraphemes: 64
|
217203
|
+
},
|
217204
|
+
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
217205
|
+
}
|
217206
|
+
}
|
217190
217207
|
}
|
217191
217208
|
}
|
217192
217209
|
},
|
@@ -219380,6 +219397,42 @@ var schemaDict = {
|
|
219380
219397
|
format: "at-uri"
|
219381
219398
|
}
|
219382
219399
|
}
|
219400
|
+
},
|
219401
|
+
notFoundActor: {
|
219402
|
+
type: "object",
|
219403
|
+
description: "indicates that a handle or DID could not be resolved",
|
219404
|
+
required: ["actor", "notFound"],
|
219405
|
+
properties: {
|
219406
|
+
actor: {
|
219407
|
+
type: "string",
|
219408
|
+
format: "at-identifier"
|
219409
|
+
},
|
219410
|
+
notFound: {
|
219411
|
+
type: "boolean",
|
219412
|
+
const: true
|
219413
|
+
}
|
219414
|
+
}
|
219415
|
+
},
|
219416
|
+
relationship: {
|
219417
|
+
type: "object",
|
219418
|
+
description: "lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)",
|
219419
|
+
required: ["did"],
|
219420
|
+
properties: {
|
219421
|
+
did: {
|
219422
|
+
type: "string",
|
219423
|
+
format: "did"
|
219424
|
+
},
|
219425
|
+
following: {
|
219426
|
+
type: "string",
|
219427
|
+
format: "at-uri",
|
219428
|
+
description: "if the actor follows this DID, this is the AT-URI of the follow record"
|
219429
|
+
},
|
219430
|
+
followedBy: {
|
219431
|
+
type: "string",
|
219432
|
+
format: "at-uri",
|
219433
|
+
description: "if the actor is followed by this DID, contains the AT-URI of the follow record"
|
219434
|
+
}
|
219435
|
+
}
|
219383
219436
|
}
|
219384
219437
|
}
|
219385
219438
|
},
|
@@ -219784,6 +219837,63 @@ var schemaDict = {
|
|
219784
219837
|
}
|
219785
219838
|
}
|
219786
219839
|
},
|
219840
|
+
AppBskyGraphGetRelationships: {
|
219841
|
+
lexicon: 1,
|
219842
|
+
id: "app.bsky.graph.getRelationships",
|
219843
|
+
defs: {
|
219844
|
+
main: {
|
219845
|
+
type: "query",
|
219846
|
+
description: "Enumerates public relationships between one account, and a list of other accounts",
|
219847
|
+
parameters: {
|
219848
|
+
type: "params",
|
219849
|
+
required: ["actor"],
|
219850
|
+
properties: {
|
219851
|
+
actor: {
|
219852
|
+
type: "string",
|
219853
|
+
format: "at-identifier"
|
219854
|
+
},
|
219855
|
+
others: {
|
219856
|
+
type: "array",
|
219857
|
+
maxLength: 30,
|
219858
|
+
items: {
|
219859
|
+
type: "string",
|
219860
|
+
format: "at-identifier"
|
219861
|
+
}
|
219862
|
+
}
|
219863
|
+
}
|
219864
|
+
},
|
219865
|
+
output: {
|
219866
|
+
encoding: "application/json",
|
219867
|
+
schema: {
|
219868
|
+
type: "object",
|
219869
|
+
required: ["relationships"],
|
219870
|
+
properties: {
|
219871
|
+
actor: {
|
219872
|
+
type: "string",
|
219873
|
+
format: "did"
|
219874
|
+
},
|
219875
|
+
relationships: {
|
219876
|
+
type: "array",
|
219877
|
+
items: {
|
219878
|
+
type: "union",
|
219879
|
+
refs: [
|
219880
|
+
"lex:app.bsky.graph.defs#relationship",
|
219881
|
+
"lex:app.bsky.graph.defs#notFoundActor"
|
219882
|
+
]
|
219883
|
+
}
|
219884
|
+
}
|
219885
|
+
}
|
219886
|
+
}
|
219887
|
+
},
|
219888
|
+
errors: [
|
219889
|
+
{
|
219890
|
+
name: "ActorNotFound",
|
219891
|
+
description: "the primary actor at-identifier could not be resolved"
|
219892
|
+
}
|
219893
|
+
]
|
219894
|
+
}
|
219895
|
+
}
|
219896
|
+
},
|
219787
219897
|
AppBskyGraphGetSuggestedFollowsByActor: {
|
219788
219898
|
lexicon: 1,
|
219789
219899
|
id: "app.bsky.graph.getSuggestedFollowsByActor",
|
@@ -220706,6 +220816,7 @@ var ids = {
|
|
220706
220816
|
AppBskyGraphGetListMutes: "app.bsky.graph.getListMutes",
|
220707
220817
|
AppBskyGraphGetLists: "app.bsky.graph.getLists",
|
220708
220818
|
AppBskyGraphGetMutes: "app.bsky.graph.getMutes",
|
220819
|
+
AppBskyGraphGetRelationships: "app.bsky.graph.getRelationships",
|
220709
220820
|
AppBskyGraphGetSuggestedFollowsByActor: "app.bsky.graph.getSuggestedFollowsByActor",
|
220710
220821
|
AppBskyGraphList: "app.bsky.graph.list",
|
220711
220822
|
AppBskyGraphListblock: "app.bsky.graph.listblock",
|
@@ -242107,7 +242218,8 @@ var schemaDict2 = {
|
|
242107
242218
|
"lex:app.bsky.actor.defs#savedFeedsPref",
|
242108
242219
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
242109
242220
|
"lex:app.bsky.actor.defs#feedViewPref",
|
242110
|
-
"lex:app.bsky.actor.defs#threadViewPref"
|
242221
|
+
"lex:app.bsky.actor.defs#threadViewPref",
|
242222
|
+
"lex:app.bsky.actor.defs#interestsPref"
|
242111
242223
|
]
|
242112
242224
|
}
|
242113
242225
|
},
|
@@ -242207,6 +242319,22 @@ var schemaDict2 = {
|
|
242207
242319
|
description: "Show followed users at the top of all replies."
|
242208
242320
|
}
|
242209
242321
|
}
|
242322
|
+
},
|
242323
|
+
interestsPref: {
|
242324
|
+
type: "object",
|
242325
|
+
required: ["tags"],
|
242326
|
+
properties: {
|
242327
|
+
tags: {
|
242328
|
+
type: "array",
|
242329
|
+
maxLength: 100,
|
242330
|
+
items: {
|
242331
|
+
type: "string",
|
242332
|
+
maxLength: 640,
|
242333
|
+
maxGraphemes: 64
|
242334
|
+
},
|
242335
|
+
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
242336
|
+
}
|
242337
|
+
}
|
242210
242338
|
}
|
242211
242339
|
}
|
242212
242340
|
},
|
@@ -244400,6 +244528,42 @@ var schemaDict2 = {
|
|
244400
244528
|
format: "at-uri"
|
244401
244529
|
}
|
244402
244530
|
}
|
244531
|
+
},
|
244532
|
+
notFoundActor: {
|
244533
|
+
type: "object",
|
244534
|
+
description: "indicates that a handle or DID could not be resolved",
|
244535
|
+
required: ["actor", "notFound"],
|
244536
|
+
properties: {
|
244537
|
+
actor: {
|
244538
|
+
type: "string",
|
244539
|
+
format: "at-identifier"
|
244540
|
+
},
|
244541
|
+
notFound: {
|
244542
|
+
type: "boolean",
|
244543
|
+
const: true
|
244544
|
+
}
|
244545
|
+
}
|
244546
|
+
},
|
244547
|
+
relationship: {
|
244548
|
+
type: "object",
|
244549
|
+
description: "lists the bi-directional graph relationships between one actor (not indicated in the object), and the target actors (the DID included in the object)",
|
244550
|
+
required: ["did"],
|
244551
|
+
properties: {
|
244552
|
+
did: {
|
244553
|
+
type: "string",
|
244554
|
+
format: "did"
|
244555
|
+
},
|
244556
|
+
following: {
|
244557
|
+
type: "string",
|
244558
|
+
format: "at-uri",
|
244559
|
+
description: "if the actor follows this DID, this is the AT-URI of the follow record"
|
244560
|
+
},
|
244561
|
+
followedBy: {
|
244562
|
+
type: "string",
|
244563
|
+
format: "at-uri",
|
244564
|
+
description: "if the actor is followed by this DID, contains the AT-URI of the follow record"
|
244565
|
+
}
|
244566
|
+
}
|
244403
244567
|
}
|
244404
244568
|
}
|
244405
244569
|
},
|
@@ -244804,6 +244968,63 @@ var schemaDict2 = {
|
|
244804
244968
|
}
|
244805
244969
|
}
|
244806
244970
|
},
|
244971
|
+
AppBskyGraphGetRelationships: {
|
244972
|
+
lexicon: 1,
|
244973
|
+
id: "app.bsky.graph.getRelationships",
|
244974
|
+
defs: {
|
244975
|
+
main: {
|
244976
|
+
type: "query",
|
244977
|
+
description: "Enumerates public relationships between one account, and a list of other accounts",
|
244978
|
+
parameters: {
|
244979
|
+
type: "params",
|
244980
|
+
required: ["actor"],
|
244981
|
+
properties: {
|
244982
|
+
actor: {
|
244983
|
+
type: "string",
|
244984
|
+
format: "at-identifier"
|
244985
|
+
},
|
244986
|
+
others: {
|
244987
|
+
type: "array",
|
244988
|
+
maxLength: 30,
|
244989
|
+
items: {
|
244990
|
+
type: "string",
|
244991
|
+
format: "at-identifier"
|
244992
|
+
}
|
244993
|
+
}
|
244994
|
+
}
|
244995
|
+
},
|
244996
|
+
output: {
|
244997
|
+
encoding: "application/json",
|
244998
|
+
schema: {
|
244999
|
+
type: "object",
|
245000
|
+
required: ["relationships"],
|
245001
|
+
properties: {
|
245002
|
+
actor: {
|
245003
|
+
type: "string",
|
245004
|
+
format: "did"
|
245005
|
+
},
|
245006
|
+
relationships: {
|
245007
|
+
type: "array",
|
245008
|
+
items: {
|
245009
|
+
type: "union",
|
245010
|
+
refs: [
|
245011
|
+
"lex:app.bsky.graph.defs#relationship",
|
245012
|
+
"lex:app.bsky.graph.defs#notFoundActor"
|
245013
|
+
]
|
245014
|
+
}
|
245015
|
+
}
|
245016
|
+
}
|
245017
|
+
}
|
245018
|
+
},
|
245019
|
+
errors: [
|
245020
|
+
{
|
245021
|
+
name: "ActorNotFound",
|
245022
|
+
description: "the primary actor at-identifier could not be resolved"
|
245023
|
+
}
|
245024
|
+
]
|
245025
|
+
}
|
245026
|
+
}
|
245027
|
+
},
|
244807
245028
|
AppBskyGraphGetSuggestedFollowsByActor: {
|
244808
245029
|
lexicon: 1,
|
244809
245030
|
id: "app.bsky.graph.getSuggestedFollowsByActor",
|
@@ -246663,90 +246884,104 @@ function toKnownErr103(e) {
|
|
246663
246884
|
return e;
|
246664
246885
|
}
|
246665
246886
|
|
246666
|
-
// ../api/src/client/types/app/bsky/graph/
|
246887
|
+
// ../api/src/client/types/app/bsky/graph/getRelationships.ts
|
246888
|
+
var ActorNotFoundError = class extends XRPCError {
|
246889
|
+
constructor(src3) {
|
246890
|
+
super(src3.status, src3.error, src3.message, src3.headers);
|
246891
|
+
}
|
246892
|
+
};
|
246667
246893
|
function toKnownErr104(e) {
|
246668
246894
|
if (e instanceof XRPCError) {
|
246895
|
+
if (e.error === "ActorNotFound")
|
246896
|
+
return new ActorNotFoundError(e);
|
246669
246897
|
}
|
246670
246898
|
return e;
|
246671
246899
|
}
|
246672
246900
|
|
246673
|
-
// ../api/src/client/types/app/bsky/graph/
|
246901
|
+
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
246674
246902
|
function toKnownErr105(e) {
|
246675
246903
|
if (e instanceof XRPCError) {
|
246676
246904
|
}
|
246677
246905
|
return e;
|
246678
246906
|
}
|
246679
246907
|
|
246680
|
-
// ../api/src/client/types/app/bsky/graph/
|
246908
|
+
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
246681
246909
|
function toKnownErr106(e) {
|
246682
246910
|
if (e instanceof XRPCError) {
|
246683
246911
|
}
|
246684
246912
|
return e;
|
246685
246913
|
}
|
246686
246914
|
|
246687
|
-
// ../api/src/client/types/app/bsky/graph/
|
246915
|
+
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
246688
246916
|
function toKnownErr107(e) {
|
246689
246917
|
if (e instanceof XRPCError) {
|
246690
246918
|
}
|
246691
246919
|
return e;
|
246692
246920
|
}
|
246693
246921
|
|
246694
|
-
// ../api/src/client/types/app/bsky/graph/
|
246922
|
+
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
246695
246923
|
function toKnownErr108(e) {
|
246696
246924
|
if (e instanceof XRPCError) {
|
246697
246925
|
}
|
246698
246926
|
return e;
|
246699
246927
|
}
|
246700
246928
|
|
246701
|
-
// ../api/src/client/types/app/bsky/
|
246929
|
+
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
246702
246930
|
function toKnownErr109(e) {
|
246703
246931
|
if (e instanceof XRPCError) {
|
246704
246932
|
}
|
246705
246933
|
return e;
|
246706
246934
|
}
|
246707
246935
|
|
246708
|
-
// ../api/src/client/types/app/bsky/notification/
|
246936
|
+
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
246709
246937
|
function toKnownErr110(e) {
|
246710
246938
|
if (e instanceof XRPCError) {
|
246711
246939
|
}
|
246712
246940
|
return e;
|
246713
246941
|
}
|
246714
246942
|
|
246715
|
-
// ../api/src/client/types/app/bsky/notification/
|
246943
|
+
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
246716
246944
|
function toKnownErr111(e) {
|
246717
246945
|
if (e instanceof XRPCError) {
|
246718
246946
|
}
|
246719
246947
|
return e;
|
246720
246948
|
}
|
246721
246949
|
|
246722
|
-
// ../api/src/client/types/app/bsky/notification/
|
246950
|
+
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
246723
246951
|
function toKnownErr112(e) {
|
246724
246952
|
if (e instanceof XRPCError) {
|
246725
246953
|
}
|
246726
246954
|
return e;
|
246727
246955
|
}
|
246728
246956
|
|
246729
|
-
// ../api/src/client/types/app/bsky/
|
246957
|
+
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
246730
246958
|
function toKnownErr113(e) {
|
246731
246959
|
if (e instanceof XRPCError) {
|
246732
246960
|
}
|
246733
246961
|
return e;
|
246734
246962
|
}
|
246735
246963
|
|
246736
|
-
// ../api/src/client/types/app/bsky/unspecced/
|
246964
|
+
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
246737
246965
|
function toKnownErr114(e) {
|
246738
246966
|
if (e instanceof XRPCError) {
|
246739
246967
|
}
|
246740
246968
|
return e;
|
246741
246969
|
}
|
246742
246970
|
|
246971
|
+
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
246972
|
+
function toKnownErr115(e) {
|
246973
|
+
if (e instanceof XRPCError) {
|
246974
|
+
}
|
246975
|
+
return e;
|
246976
|
+
}
|
246977
|
+
|
246743
246978
|
// ../api/src/client/types/app/bsky/unspecced/getTimelineSkeleton.ts
|
246744
246979
|
var UnknownFeedError3 = class extends XRPCError {
|
246745
246980
|
constructor(src3) {
|
246746
246981
|
super(src3.status, src3.error, src3.message, src3.headers);
|
246747
246982
|
}
|
246748
246983
|
};
|
246749
|
-
function
|
246984
|
+
function toKnownErr116(e) {
|
246750
246985
|
if (e instanceof XRPCError) {
|
246751
246986
|
if (e.error === "UnknownFeed")
|
246752
246987
|
return new UnknownFeedError3(e);
|
@@ -246760,7 +246995,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
246760
246995
|
super(src3.status, src3.error, src3.message, src3.headers);
|
246761
246996
|
}
|
246762
246997
|
};
|
246763
|
-
function
|
246998
|
+
function toKnownErr117(e) {
|
246764
246999
|
if (e instanceof XRPCError) {
|
246765
247000
|
if (e.error === "BadQueryString")
|
246766
247001
|
return new BadQueryStringError2(e);
|
@@ -246774,7 +247009,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
246774
247009
|
super(src3.status, src3.error, src3.message, src3.headers);
|
246775
247010
|
}
|
246776
247011
|
};
|
246777
|
-
function
|
247012
|
+
function toKnownErr118(e) {
|
246778
247013
|
if (e instanceof XRPCError) {
|
246779
247014
|
if (e.error === "BadQueryString")
|
246780
247015
|
return new BadQueryStringError3(e);
|
@@ -247587,29 +247822,34 @@ var AppBskyGraphNS = class {
|
|
247587
247822
|
throw toKnownErr103(e);
|
247588
247823
|
});
|
247589
247824
|
}
|
247825
|
+
getRelationships(params2, opts) {
|
247826
|
+
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
247827
|
+
throw toKnownErr104(e);
|
247828
|
+
});
|
247829
|
+
}
|
247590
247830
|
getSuggestedFollowsByActor(params2, opts) {
|
247591
247831
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
247592
|
-
throw
|
247832
|
+
throw toKnownErr105(e);
|
247593
247833
|
});
|
247594
247834
|
}
|
247595
247835
|
muteActor(data, opts) {
|
247596
247836
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
247597
|
-
throw
|
247837
|
+
throw toKnownErr106(e);
|
247598
247838
|
});
|
247599
247839
|
}
|
247600
247840
|
muteActorList(data, opts) {
|
247601
247841
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
247602
|
-
throw
|
247842
|
+
throw toKnownErr107(e);
|
247603
247843
|
});
|
247604
247844
|
}
|
247605
247845
|
unmuteActor(data, opts) {
|
247606
247846
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
247607
|
-
throw
|
247847
|
+
throw toKnownErr108(e);
|
247608
247848
|
});
|
247609
247849
|
}
|
247610
247850
|
unmuteActorList(data, opts) {
|
247611
247851
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
247612
|
-
throw
|
247852
|
+
throw toKnownErr109(e);
|
247613
247853
|
});
|
247614
247854
|
}
|
247615
247855
|
};
|
@@ -247754,22 +247994,22 @@ var AppBskyNotificationNS = class {
|
|
247754
247994
|
}
|
247755
247995
|
getUnreadCount(params2, opts) {
|
247756
247996
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
247757
|
-
throw
|
247997
|
+
throw toKnownErr110(e);
|
247758
247998
|
});
|
247759
247999
|
}
|
247760
248000
|
listNotifications(params2, opts) {
|
247761
248001
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
247762
|
-
throw
|
248002
|
+
throw toKnownErr111(e);
|
247763
248003
|
});
|
247764
248004
|
}
|
247765
248005
|
registerPush(data, opts) {
|
247766
248006
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
247767
|
-
throw
|
248007
|
+
throw toKnownErr112(e);
|
247768
248008
|
});
|
247769
248009
|
}
|
247770
248010
|
updateSeen(data, opts) {
|
247771
248011
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
247772
|
-
throw
|
248012
|
+
throw toKnownErr113(e);
|
247773
248013
|
});
|
247774
248014
|
}
|
247775
248015
|
};
|
@@ -247784,27 +248024,27 @@ var AppBskyUnspeccedNS = class {
|
|
247784
248024
|
}
|
247785
248025
|
getPopularFeedGenerators(params2, opts) {
|
247786
248026
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
247787
|
-
throw
|
248027
|
+
throw toKnownErr114(e);
|
247788
248028
|
});
|
247789
248029
|
}
|
247790
248030
|
getTaggedSuggestions(params2, opts) {
|
247791
248031
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
247792
|
-
throw
|
248032
|
+
throw toKnownErr115(e);
|
247793
248033
|
});
|
247794
248034
|
}
|
247795
248035
|
getTimelineSkeleton(params2, opts) {
|
247796
248036
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
247797
|
-
throw
|
248037
|
+
throw toKnownErr116(e);
|
247798
248038
|
});
|
247799
248039
|
}
|
247800
248040
|
searchActorsSkeleton(params2, opts) {
|
247801
248041
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
247802
|
-
throw
|
248042
|
+
throw toKnownErr117(e);
|
247803
248043
|
});
|
247804
248044
|
}
|
247805
248045
|
searchPostsSkeleton(params2, opts) {
|
247806
248046
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
247807
|
-
throw
|
248047
|
+
throw toKnownErr118(e);
|
247808
248048
|
});
|
247809
248049
|
}
|
247810
248050
|
};
|
@@ -250116,6 +250356,10 @@ var AppBskyGraphNS2 = class {
|
|
250116
250356
|
const nsid2 = "app.bsky.graph.getMutes";
|
250117
250357
|
return this._server.xrpc.method(nsid2, cfg);
|
250118
250358
|
}
|
250359
|
+
getRelationships(cfg) {
|
250360
|
+
const nsid2 = "app.bsky.graph.getRelationships";
|
250361
|
+
return this._server.xrpc.method(nsid2, cfg);
|
250362
|
+
}
|
250119
250363
|
getSuggestedFollowsByActor(cfg) {
|
250120
250364
|
const nsid2 = "app.bsky.graph.getSuggestedFollowsByActor";
|
250121
250365
|
return this._server.xrpc.method(nsid2, cfg);
|