@atproto/bsky 0.0.26 → 0.0.27
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 +7 -0
- package/dist/api/app/bsky/graph/getRelationships.d.ts +3 -0
- package/dist/index.js +355 -60
- 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/api/app/bsky/graph/getRelationships.ts +71 -0
- package/src/api/index.ts +2 -0
- 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/tests/views/__snapshots__/follows.test.ts.snap +28 -0
- package/tests/views/follows.test.ts +10 -0
package/dist/index.js
CHANGED
|
@@ -105708,7 +105708,7 @@ var require_headers4 = __commonJS({
|
|
|
105708
105708
|
return headers;
|
|
105709
105709
|
}
|
|
105710
105710
|
};
|
|
105711
|
-
var
|
|
105711
|
+
var Headers122 = class {
|
|
105712
105712
|
constructor(init = void 0) {
|
|
105713
105713
|
if (init === kConstruct) {
|
|
105714
105714
|
return;
|
|
@@ -105721,14 +105721,14 @@ var require_headers4 = __commonJS({
|
|
|
105721
105721
|
}
|
|
105722
105722
|
}
|
|
105723
105723
|
append(name3, value) {
|
|
105724
|
-
webidl.brandCheck(this,
|
|
105724
|
+
webidl.brandCheck(this, Headers122);
|
|
105725
105725
|
webidl.argumentLengthCheck(arguments, 2, { header: "Headers.append" });
|
|
105726
105726
|
name3 = webidl.converters.ByteString(name3);
|
|
105727
105727
|
value = webidl.converters.ByteString(value);
|
|
105728
105728
|
return appendHeader(this, name3, value);
|
|
105729
105729
|
}
|
|
105730
105730
|
delete(name3) {
|
|
105731
|
-
webidl.brandCheck(this,
|
|
105731
|
+
webidl.brandCheck(this, Headers122);
|
|
105732
105732
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.delete" });
|
|
105733
105733
|
name3 = webidl.converters.ByteString(name3);
|
|
105734
105734
|
if (!isValidHeaderName(name3)) {
|
|
@@ -105748,7 +105748,7 @@ var require_headers4 = __commonJS({
|
|
|
105748
105748
|
this[kHeadersList].delete(name3);
|
|
105749
105749
|
}
|
|
105750
105750
|
get(name3) {
|
|
105751
|
-
webidl.brandCheck(this,
|
|
105751
|
+
webidl.brandCheck(this, Headers122);
|
|
105752
105752
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.get" });
|
|
105753
105753
|
name3 = webidl.converters.ByteString(name3);
|
|
105754
105754
|
if (!isValidHeaderName(name3)) {
|
|
@@ -105761,7 +105761,7 @@ var require_headers4 = __commonJS({
|
|
|
105761
105761
|
return this[kHeadersList].get(name3);
|
|
105762
105762
|
}
|
|
105763
105763
|
has(name3) {
|
|
105764
|
-
webidl.brandCheck(this,
|
|
105764
|
+
webidl.brandCheck(this, Headers122);
|
|
105765
105765
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.has" });
|
|
105766
105766
|
name3 = webidl.converters.ByteString(name3);
|
|
105767
105767
|
if (!isValidHeaderName(name3)) {
|
|
@@ -105774,7 +105774,7 @@ var require_headers4 = __commonJS({
|
|
|
105774
105774
|
return this[kHeadersList].contains(name3);
|
|
105775
105775
|
}
|
|
105776
105776
|
set(name3, value) {
|
|
105777
|
-
webidl.brandCheck(this,
|
|
105777
|
+
webidl.brandCheck(this, Headers122);
|
|
105778
105778
|
webidl.argumentLengthCheck(arguments, 2, { header: "Headers.set" });
|
|
105779
105779
|
name3 = webidl.converters.ByteString(name3);
|
|
105780
105780
|
value = webidl.converters.ByteString(value);
|
|
@@ -105799,7 +105799,7 @@ var require_headers4 = __commonJS({
|
|
|
105799
105799
|
this[kHeadersList].set(name3, value);
|
|
105800
105800
|
}
|
|
105801
105801
|
getSetCookie() {
|
|
105802
|
-
webidl.brandCheck(this,
|
|
105802
|
+
webidl.brandCheck(this, Headers122);
|
|
105803
105803
|
const list = this[kHeadersList].cookies;
|
|
105804
105804
|
if (list) {
|
|
105805
105805
|
return [...list];
|
|
@@ -105828,7 +105828,7 @@ var require_headers4 = __commonJS({
|
|
|
105828
105828
|
return headers;
|
|
105829
105829
|
}
|
|
105830
105830
|
keys() {
|
|
105831
|
-
webidl.brandCheck(this,
|
|
105831
|
+
webidl.brandCheck(this, Headers122);
|
|
105832
105832
|
if (this[kGuard] === "immutable") {
|
|
105833
105833
|
const value = this[kHeadersSortedMap];
|
|
105834
105834
|
return makeIterator(() => value, "Headers", "key");
|
|
@@ -105836,7 +105836,7 @@ var require_headers4 = __commonJS({
|
|
|
105836
105836
|
return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key");
|
|
105837
105837
|
}
|
|
105838
105838
|
values() {
|
|
105839
|
-
webidl.brandCheck(this,
|
|
105839
|
+
webidl.brandCheck(this, Headers122);
|
|
105840
105840
|
if (this[kGuard] === "immutable") {
|
|
105841
105841
|
const value = this[kHeadersSortedMap];
|
|
105842
105842
|
return makeIterator(() => value, "Headers", "value");
|
|
@@ -105844,7 +105844,7 @@ var require_headers4 = __commonJS({
|
|
|
105844
105844
|
return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "value");
|
|
105845
105845
|
}
|
|
105846
105846
|
entries() {
|
|
105847
|
-
webidl.brandCheck(this,
|
|
105847
|
+
webidl.brandCheck(this, Headers122);
|
|
105848
105848
|
if (this[kGuard] === "immutable") {
|
|
105849
105849
|
const value = this[kHeadersSortedMap];
|
|
105850
105850
|
return makeIterator(() => value, "Headers", "key+value");
|
|
@@ -105852,7 +105852,7 @@ var require_headers4 = __commonJS({
|
|
|
105852
105852
|
return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key+value");
|
|
105853
105853
|
}
|
|
105854
105854
|
forEach(callbackFn, thisArg = globalThis) {
|
|
105855
|
-
webidl.brandCheck(this,
|
|
105855
|
+
webidl.brandCheck(this, Headers122);
|
|
105856
105856
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.forEach" });
|
|
105857
105857
|
if (typeof callbackFn !== "function") {
|
|
105858
105858
|
throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.");
|
|
@@ -105862,12 +105862,12 @@ var require_headers4 = __commonJS({
|
|
|
105862
105862
|
}
|
|
105863
105863
|
}
|
|
105864
105864
|
[Symbol.for("nodejs.util.inspect.custom")]() {
|
|
105865
|
-
webidl.brandCheck(this,
|
|
105865
|
+
webidl.brandCheck(this, Headers122);
|
|
105866
105866
|
return this[kHeadersList];
|
|
105867
105867
|
}
|
|
105868
105868
|
};
|
|
105869
|
-
|
|
105870
|
-
Object.defineProperties(
|
|
105869
|
+
Headers122.prototype[Symbol.iterator] = Headers122.prototype.entries;
|
|
105870
|
+
Object.defineProperties(Headers122.prototype, {
|
|
105871
105871
|
append: kEnumerableProperty,
|
|
105872
105872
|
delete: kEnumerableProperty,
|
|
105873
105873
|
get: kEnumerableProperty,
|
|
@@ -105899,7 +105899,7 @@ var require_headers4 = __commonJS({
|
|
|
105899
105899
|
};
|
|
105900
105900
|
module2.exports = {
|
|
105901
105901
|
fill,
|
|
105902
|
-
Headers:
|
|
105902
|
+
Headers: Headers122,
|
|
105903
105903
|
HeadersList
|
|
105904
105904
|
};
|
|
105905
105905
|
}
|
|
@@ -105909,7 +105909,7 @@ var require_headers4 = __commonJS({
|
|
|
105909
105909
|
var require_response2 = __commonJS({
|
|
105910
105910
|
"../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/response.js"(exports, module2) {
|
|
105911
105911
|
"use strict";
|
|
105912
|
-
var { Headers:
|
|
105912
|
+
var { Headers: Headers122, HeadersList, fill } = require_headers4();
|
|
105913
105913
|
var { extractBody, cloneBody, mixinBody } = require_body();
|
|
105914
105914
|
var util2 = require_util2();
|
|
105915
105915
|
var { kEnumerableProperty } = util2;
|
|
@@ -105995,7 +105995,7 @@ var require_response2 = __commonJS({
|
|
|
105995
105995
|
init = webidl.converters.ResponseInit(init);
|
|
105996
105996
|
this[kRealm] = { settingsObject: {} };
|
|
105997
105997
|
this[kState] = makeResponse({});
|
|
105998
|
-
this[kHeaders] = new
|
|
105998
|
+
this[kHeaders] = new Headers122(kConstruct);
|
|
105999
105999
|
this[kHeaders][kGuard] = "response";
|
|
106000
106000
|
this[kHeaders][kHeadersList] = this[kState].headersList;
|
|
106001
106001
|
this[kHeaders][kRealm] = this[kRealm];
|
|
@@ -106266,7 +106266,7 @@ var require_request3 = __commonJS({
|
|
|
106266
106266
|
"../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/request.js"(exports, module2) {
|
|
106267
106267
|
"use strict";
|
|
106268
106268
|
var { extractBody, mixinBody, cloneBody } = require_body();
|
|
106269
|
-
var { Headers:
|
|
106269
|
+
var { Headers: Headers122, fill: fillHeaders, HeadersList } = require_headers4();
|
|
106270
106270
|
var { FinalizationRegistry: FinalizationRegistry2 } = require_dispatcher_weakref()();
|
|
106271
106271
|
var util2 = require_util2();
|
|
106272
106272
|
var {
|
|
@@ -106480,7 +106480,7 @@ var require_request3 = __commonJS({
|
|
|
106480
106480
|
requestFinalizer.register(ac, { signal, abort });
|
|
106481
106481
|
}
|
|
106482
106482
|
}
|
|
106483
|
-
this[kHeaders] = new
|
|
106483
|
+
this[kHeaders] = new Headers122(kConstruct);
|
|
106484
106484
|
this[kHeaders][kHeadersList] = request.headersList;
|
|
106485
106485
|
this[kHeaders][kGuard] = "request";
|
|
106486
106486
|
this[kHeaders][kRealm] = this[kRealm];
|
|
@@ -106629,7 +106629,7 @@ var require_request3 = __commonJS({
|
|
|
106629
106629
|
const clonedRequestObject = new Request2(kConstruct);
|
|
106630
106630
|
clonedRequestObject[kState] = clonedRequest;
|
|
106631
106631
|
clonedRequestObject[kRealm] = this[kRealm];
|
|
106632
|
-
clonedRequestObject[kHeaders] = new
|
|
106632
|
+
clonedRequestObject[kHeaders] = new Headers122(kConstruct);
|
|
106633
106633
|
clonedRequestObject[kHeaders][kHeadersList] = clonedRequest.headersList;
|
|
106634
106634
|
clonedRequestObject[kHeaders][kGuard] = this[kHeaders][kGuard];
|
|
106635
106635
|
clonedRequestObject[kHeaders][kRealm] = this[kHeaders][kRealm];
|
|
@@ -106812,7 +106812,7 @@ var require_fetch = __commonJS({
|
|
|
106812
106812
|
filterResponse,
|
|
106813
106813
|
makeResponse
|
|
106814
106814
|
} = require_response2();
|
|
106815
|
-
var { Headers:
|
|
106815
|
+
var { Headers: Headers122 } = require_headers4();
|
|
106816
106816
|
var { Request: Request2, makeRequest } = require_request3();
|
|
106817
106817
|
var zlib = require("zlib");
|
|
106818
106818
|
var {
|
|
@@ -107670,7 +107670,7 @@ var require_fetch = __commonJS({
|
|
|
107670
107670
|
}
|
|
107671
107671
|
let codings = [];
|
|
107672
107672
|
let location = "";
|
|
107673
|
-
const headers = new
|
|
107673
|
+
const headers = new Headers122();
|
|
107674
107674
|
if (Array.isArray(headersList)) {
|
|
107675
107675
|
for (let n = 0; n < headersList.length; n += 2) {
|
|
107676
107676
|
const key = headersList[n + 0].toString("latin1");
|
|
@@ -107751,7 +107751,7 @@ var require_fetch = __commonJS({
|
|
|
107751
107751
|
if (status !== 101) {
|
|
107752
107752
|
return;
|
|
107753
107753
|
}
|
|
107754
|
-
const headers = new
|
|
107754
|
+
const headers = new Headers122();
|
|
107755
107755
|
for (let n = 0; n < headersList.length; n += 2) {
|
|
107756
107756
|
const key = headersList[n + 0].toString("latin1");
|
|
107757
107757
|
const val = headersList[n + 1].toString("latin1");
|
|
@@ -109488,10 +109488,10 @@ var require_cookies2 = __commonJS({
|
|
|
109488
109488
|
var { parseSetCookie } = require_parse3();
|
|
109489
109489
|
var { stringify, getHeadersList } = require_util7();
|
|
109490
109490
|
var { webidl } = require_webidl();
|
|
109491
|
-
var { Headers:
|
|
109491
|
+
var { Headers: Headers122 } = require_headers4();
|
|
109492
109492
|
function getCookies(headers) {
|
|
109493
109493
|
webidl.argumentLengthCheck(arguments, 1, { header: "getCookies" });
|
|
109494
|
-
webidl.brandCheck(headers,
|
|
109494
|
+
webidl.brandCheck(headers, Headers122, { strict: false });
|
|
109495
109495
|
const cookie = headers.get("cookie");
|
|
109496
109496
|
const out = {};
|
|
109497
109497
|
if (!cookie) {
|
|
@@ -109505,7 +109505,7 @@ var require_cookies2 = __commonJS({
|
|
|
109505
109505
|
}
|
|
109506
109506
|
function deleteCookie(headers, name3, attributes) {
|
|
109507
109507
|
webidl.argumentLengthCheck(arguments, 2, { header: "deleteCookie" });
|
|
109508
|
-
webidl.brandCheck(headers,
|
|
109508
|
+
webidl.brandCheck(headers, Headers122, { strict: false });
|
|
109509
109509
|
name3 = webidl.converters.DOMString(name3);
|
|
109510
109510
|
attributes = webidl.converters.DeleteCookieAttributes(attributes);
|
|
109511
109511
|
setCookie(headers, {
|
|
@@ -109517,7 +109517,7 @@ var require_cookies2 = __commonJS({
|
|
|
109517
109517
|
}
|
|
109518
109518
|
function getSetCookies(headers) {
|
|
109519
109519
|
webidl.argumentLengthCheck(arguments, 1, { header: "getSetCookies" });
|
|
109520
|
-
webidl.brandCheck(headers,
|
|
109520
|
+
webidl.brandCheck(headers, Headers122, { strict: false });
|
|
109521
109521
|
const cookies = getHeadersList(headers).cookies;
|
|
109522
109522
|
if (!cookies) {
|
|
109523
109523
|
return [];
|
|
@@ -109526,7 +109526,7 @@ var require_cookies2 = __commonJS({
|
|
|
109526
109526
|
}
|
|
109527
109527
|
function setCookie(headers, cookie) {
|
|
109528
109528
|
webidl.argumentLengthCheck(arguments, 2, { header: "setCookie" });
|
|
109529
|
-
webidl.brandCheck(headers,
|
|
109529
|
+
webidl.brandCheck(headers, Headers122, { strict: false });
|
|
109530
109530
|
cookie = webidl.converters.Cookie(cookie);
|
|
109531
109531
|
const str = stringify(cookie);
|
|
109532
109532
|
if (str) {
|
|
@@ -110012,7 +110012,7 @@ var require_connection = __commonJS({
|
|
|
110012
110012
|
var { CloseEvent } = require_events();
|
|
110013
110013
|
var { makeRequest } = require_request3();
|
|
110014
110014
|
var { fetching } = require_fetch();
|
|
110015
|
-
var { Headers:
|
|
110015
|
+
var { Headers: Headers122 } = require_headers4();
|
|
110016
110016
|
var { getGlobalDispatcher } = require_global2();
|
|
110017
110017
|
var { kHeadersList } = require_symbols2();
|
|
110018
110018
|
var channels = {};
|
|
@@ -110037,7 +110037,7 @@ var require_connection = __commonJS({
|
|
|
110037
110037
|
redirect: "error"
|
|
110038
110038
|
});
|
|
110039
110039
|
if (options.headers) {
|
|
110040
|
-
const headersList = new
|
|
110040
|
+
const headersList = new Headers122(options.headers)[kHeadersList];
|
|
110041
110041
|
request.headersList = headersList;
|
|
110042
110042
|
}
|
|
110043
110043
|
const keyValue = crypto4.randomBytes(16).toString("base64");
|
|
@@ -153641,7 +153641,8 @@ var schemaDict = {
|
|
|
153641
153641
|
"lex:app.bsky.actor.defs#savedFeedsPref",
|
|
153642
153642
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
153643
153643
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
153644
|
-
"lex:app.bsky.actor.defs#threadViewPref"
|
|
153644
|
+
"lex:app.bsky.actor.defs#threadViewPref",
|
|
153645
|
+
"lex:app.bsky.actor.defs#interestsPref"
|
|
153645
153646
|
]
|
|
153646
153647
|
}
|
|
153647
153648
|
},
|
|
@@ -153741,6 +153742,22 @@ var schemaDict = {
|
|
|
153741
153742
|
description: "Show followed users at the top of all replies."
|
|
153742
153743
|
}
|
|
153743
153744
|
}
|
|
153745
|
+
},
|
|
153746
|
+
interestsPref: {
|
|
153747
|
+
type: "object",
|
|
153748
|
+
required: ["tags"],
|
|
153749
|
+
properties: {
|
|
153750
|
+
tags: {
|
|
153751
|
+
type: "array",
|
|
153752
|
+
maxLength: 100,
|
|
153753
|
+
items: {
|
|
153754
|
+
type: "string",
|
|
153755
|
+
maxLength: 640,
|
|
153756
|
+
maxGraphemes: 64
|
|
153757
|
+
},
|
|
153758
|
+
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
153759
|
+
}
|
|
153760
|
+
}
|
|
153744
153761
|
}
|
|
153745
153762
|
}
|
|
153746
153763
|
},
|
|
@@ -155934,6 +155951,42 @@ var schemaDict = {
|
|
|
155934
155951
|
format: "at-uri"
|
|
155935
155952
|
}
|
|
155936
155953
|
}
|
|
155954
|
+
},
|
|
155955
|
+
notFoundActor: {
|
|
155956
|
+
type: "object",
|
|
155957
|
+
description: "indicates that a handle or DID could not be resolved",
|
|
155958
|
+
required: ["actor", "notFound"],
|
|
155959
|
+
properties: {
|
|
155960
|
+
actor: {
|
|
155961
|
+
type: "string",
|
|
155962
|
+
format: "at-identifier"
|
|
155963
|
+
},
|
|
155964
|
+
notFound: {
|
|
155965
|
+
type: "boolean",
|
|
155966
|
+
const: true
|
|
155967
|
+
}
|
|
155968
|
+
}
|
|
155969
|
+
},
|
|
155970
|
+
relationship: {
|
|
155971
|
+
type: "object",
|
|
155972
|
+
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)",
|
|
155973
|
+
required: ["did"],
|
|
155974
|
+
properties: {
|
|
155975
|
+
did: {
|
|
155976
|
+
type: "string",
|
|
155977
|
+
format: "did"
|
|
155978
|
+
},
|
|
155979
|
+
following: {
|
|
155980
|
+
type: "string",
|
|
155981
|
+
format: "at-uri",
|
|
155982
|
+
description: "if the actor follows this DID, this is the AT-URI of the follow record"
|
|
155983
|
+
},
|
|
155984
|
+
followedBy: {
|
|
155985
|
+
type: "string",
|
|
155986
|
+
format: "at-uri",
|
|
155987
|
+
description: "if the actor is followed by this DID, contains the AT-URI of the follow record"
|
|
155988
|
+
}
|
|
155989
|
+
}
|
|
155937
155990
|
}
|
|
155938
155991
|
}
|
|
155939
155992
|
},
|
|
@@ -156338,6 +156391,63 @@ var schemaDict = {
|
|
|
156338
156391
|
}
|
|
156339
156392
|
}
|
|
156340
156393
|
},
|
|
156394
|
+
AppBskyGraphGetRelationships: {
|
|
156395
|
+
lexicon: 1,
|
|
156396
|
+
id: "app.bsky.graph.getRelationships",
|
|
156397
|
+
defs: {
|
|
156398
|
+
main: {
|
|
156399
|
+
type: "query",
|
|
156400
|
+
description: "Enumerates public relationships between one account, and a list of other accounts",
|
|
156401
|
+
parameters: {
|
|
156402
|
+
type: "params",
|
|
156403
|
+
required: ["actor"],
|
|
156404
|
+
properties: {
|
|
156405
|
+
actor: {
|
|
156406
|
+
type: "string",
|
|
156407
|
+
format: "at-identifier"
|
|
156408
|
+
},
|
|
156409
|
+
others: {
|
|
156410
|
+
type: "array",
|
|
156411
|
+
maxLength: 30,
|
|
156412
|
+
items: {
|
|
156413
|
+
type: "string",
|
|
156414
|
+
format: "at-identifier"
|
|
156415
|
+
}
|
|
156416
|
+
}
|
|
156417
|
+
}
|
|
156418
|
+
},
|
|
156419
|
+
output: {
|
|
156420
|
+
encoding: "application/json",
|
|
156421
|
+
schema: {
|
|
156422
|
+
type: "object",
|
|
156423
|
+
required: ["relationships"],
|
|
156424
|
+
properties: {
|
|
156425
|
+
actor: {
|
|
156426
|
+
type: "string",
|
|
156427
|
+
format: "did"
|
|
156428
|
+
},
|
|
156429
|
+
relationships: {
|
|
156430
|
+
type: "array",
|
|
156431
|
+
items: {
|
|
156432
|
+
type: "union",
|
|
156433
|
+
refs: [
|
|
156434
|
+
"lex:app.bsky.graph.defs#relationship",
|
|
156435
|
+
"lex:app.bsky.graph.defs#notFoundActor"
|
|
156436
|
+
]
|
|
156437
|
+
}
|
|
156438
|
+
}
|
|
156439
|
+
}
|
|
156440
|
+
}
|
|
156441
|
+
},
|
|
156442
|
+
errors: [
|
|
156443
|
+
{
|
|
156444
|
+
name: "ActorNotFound",
|
|
156445
|
+
description: "the primary actor at-identifier could not be resolved"
|
|
156446
|
+
}
|
|
156447
|
+
]
|
|
156448
|
+
}
|
|
156449
|
+
}
|
|
156450
|
+
},
|
|
156341
156451
|
AppBskyGraphGetSuggestedFollowsByActor: {
|
|
156342
156452
|
lexicon: 1,
|
|
156343
156453
|
id: "app.bsky.graph.getSuggestedFollowsByActor",
|
|
@@ -158202,90 +158312,104 @@ function toKnownErr103(e) {
|
|
|
158202
158312
|
return e;
|
|
158203
158313
|
}
|
|
158204
158314
|
|
|
158205
|
-
// ../api/src/client/types/app/bsky/graph/
|
|
158315
|
+
// ../api/src/client/types/app/bsky/graph/getRelationships.ts
|
|
158316
|
+
var ActorNotFoundError = class extends XRPCError {
|
|
158317
|
+
constructor(src3) {
|
|
158318
|
+
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158319
|
+
}
|
|
158320
|
+
};
|
|
158206
158321
|
function toKnownErr104(e) {
|
|
158207
158322
|
if (e instanceof XRPCError) {
|
|
158323
|
+
if (e.error === "ActorNotFound")
|
|
158324
|
+
return new ActorNotFoundError(e);
|
|
158208
158325
|
}
|
|
158209
158326
|
return e;
|
|
158210
158327
|
}
|
|
158211
158328
|
|
|
158212
|
-
// ../api/src/client/types/app/bsky/graph/
|
|
158329
|
+
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
158213
158330
|
function toKnownErr105(e) {
|
|
158214
158331
|
if (e instanceof XRPCError) {
|
|
158215
158332
|
}
|
|
158216
158333
|
return e;
|
|
158217
158334
|
}
|
|
158218
158335
|
|
|
158219
|
-
// ../api/src/client/types/app/bsky/graph/
|
|
158336
|
+
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
158220
158337
|
function toKnownErr106(e) {
|
|
158221
158338
|
if (e instanceof XRPCError) {
|
|
158222
158339
|
}
|
|
158223
158340
|
return e;
|
|
158224
158341
|
}
|
|
158225
158342
|
|
|
158226
|
-
// ../api/src/client/types/app/bsky/graph/
|
|
158343
|
+
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
158227
158344
|
function toKnownErr107(e) {
|
|
158228
158345
|
if (e instanceof XRPCError) {
|
|
158229
158346
|
}
|
|
158230
158347
|
return e;
|
|
158231
158348
|
}
|
|
158232
158349
|
|
|
158233
|
-
// ../api/src/client/types/app/bsky/graph/
|
|
158350
|
+
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
158234
158351
|
function toKnownErr108(e) {
|
|
158235
158352
|
if (e instanceof XRPCError) {
|
|
158236
158353
|
}
|
|
158237
158354
|
return e;
|
|
158238
158355
|
}
|
|
158239
158356
|
|
|
158240
|
-
// ../api/src/client/types/app/bsky/
|
|
158357
|
+
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
158241
158358
|
function toKnownErr109(e) {
|
|
158242
158359
|
if (e instanceof XRPCError) {
|
|
158243
158360
|
}
|
|
158244
158361
|
return e;
|
|
158245
158362
|
}
|
|
158246
158363
|
|
|
158247
|
-
// ../api/src/client/types/app/bsky/notification/
|
|
158364
|
+
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
158248
158365
|
function toKnownErr110(e) {
|
|
158249
158366
|
if (e instanceof XRPCError) {
|
|
158250
158367
|
}
|
|
158251
158368
|
return e;
|
|
158252
158369
|
}
|
|
158253
158370
|
|
|
158254
|
-
// ../api/src/client/types/app/bsky/notification/
|
|
158371
|
+
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
158255
158372
|
function toKnownErr111(e) {
|
|
158256
158373
|
if (e instanceof XRPCError) {
|
|
158257
158374
|
}
|
|
158258
158375
|
return e;
|
|
158259
158376
|
}
|
|
158260
158377
|
|
|
158261
|
-
// ../api/src/client/types/app/bsky/notification/
|
|
158378
|
+
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
158262
158379
|
function toKnownErr112(e) {
|
|
158263
158380
|
if (e instanceof XRPCError) {
|
|
158264
158381
|
}
|
|
158265
158382
|
return e;
|
|
158266
158383
|
}
|
|
158267
158384
|
|
|
158268
|
-
// ../api/src/client/types/app/bsky/
|
|
158385
|
+
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
158269
158386
|
function toKnownErr113(e) {
|
|
158270
158387
|
if (e instanceof XRPCError) {
|
|
158271
158388
|
}
|
|
158272
158389
|
return e;
|
|
158273
158390
|
}
|
|
158274
158391
|
|
|
158275
|
-
// ../api/src/client/types/app/bsky/unspecced/
|
|
158392
|
+
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
158276
158393
|
function toKnownErr114(e) {
|
|
158277
158394
|
if (e instanceof XRPCError) {
|
|
158278
158395
|
}
|
|
158279
158396
|
return e;
|
|
158280
158397
|
}
|
|
158281
158398
|
|
|
158399
|
+
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
158400
|
+
function toKnownErr115(e) {
|
|
158401
|
+
if (e instanceof XRPCError) {
|
|
158402
|
+
}
|
|
158403
|
+
return e;
|
|
158404
|
+
}
|
|
158405
|
+
|
|
158282
158406
|
// ../api/src/client/types/app/bsky/unspecced/getTimelineSkeleton.ts
|
|
158283
158407
|
var UnknownFeedError3 = class extends XRPCError {
|
|
158284
158408
|
constructor(src3) {
|
|
158285
158409
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158286
158410
|
}
|
|
158287
158411
|
};
|
|
158288
|
-
function
|
|
158412
|
+
function toKnownErr116(e) {
|
|
158289
158413
|
if (e instanceof XRPCError) {
|
|
158290
158414
|
if (e.error === "UnknownFeed")
|
|
158291
158415
|
return new UnknownFeedError3(e);
|
|
@@ -158299,7 +158423,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
158299
158423
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158300
158424
|
}
|
|
158301
158425
|
};
|
|
158302
|
-
function
|
|
158426
|
+
function toKnownErr117(e) {
|
|
158303
158427
|
if (e instanceof XRPCError) {
|
|
158304
158428
|
if (e.error === "BadQueryString")
|
|
158305
158429
|
return new BadQueryStringError2(e);
|
|
@@ -158313,7 +158437,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
158313
158437
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158314
158438
|
}
|
|
158315
158439
|
};
|
|
158316
|
-
function
|
|
158440
|
+
function toKnownErr118(e) {
|
|
158317
158441
|
if (e instanceof XRPCError) {
|
|
158318
158442
|
if (e.error === "BadQueryString")
|
|
158319
158443
|
return new BadQueryStringError3(e);
|
|
@@ -159126,29 +159250,34 @@ var AppBskyGraphNS = class {
|
|
|
159126
159250
|
throw toKnownErr103(e);
|
|
159127
159251
|
});
|
|
159128
159252
|
}
|
|
159253
|
+
getRelationships(params2, opts) {
|
|
159254
|
+
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
159255
|
+
throw toKnownErr104(e);
|
|
159256
|
+
});
|
|
159257
|
+
}
|
|
159129
159258
|
getSuggestedFollowsByActor(params2, opts) {
|
|
159130
159259
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
159131
|
-
throw
|
|
159260
|
+
throw toKnownErr105(e);
|
|
159132
159261
|
});
|
|
159133
159262
|
}
|
|
159134
159263
|
muteActor(data, opts) {
|
|
159135
159264
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
159136
|
-
throw
|
|
159265
|
+
throw toKnownErr106(e);
|
|
159137
159266
|
});
|
|
159138
159267
|
}
|
|
159139
159268
|
muteActorList(data, opts) {
|
|
159140
159269
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
159141
|
-
throw
|
|
159270
|
+
throw toKnownErr107(e);
|
|
159142
159271
|
});
|
|
159143
159272
|
}
|
|
159144
159273
|
unmuteActor(data, opts) {
|
|
159145
159274
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
159146
|
-
throw
|
|
159275
|
+
throw toKnownErr108(e);
|
|
159147
159276
|
});
|
|
159148
159277
|
}
|
|
159149
159278
|
unmuteActorList(data, opts) {
|
|
159150
159279
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
159151
|
-
throw
|
|
159280
|
+
throw toKnownErr109(e);
|
|
159152
159281
|
});
|
|
159153
159282
|
}
|
|
159154
159283
|
};
|
|
@@ -159293,22 +159422,22 @@ var AppBskyNotificationNS = class {
|
|
|
159293
159422
|
}
|
|
159294
159423
|
getUnreadCount(params2, opts) {
|
|
159295
159424
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
159296
|
-
throw
|
|
159425
|
+
throw toKnownErr110(e);
|
|
159297
159426
|
});
|
|
159298
159427
|
}
|
|
159299
159428
|
listNotifications(params2, opts) {
|
|
159300
159429
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
159301
|
-
throw
|
|
159430
|
+
throw toKnownErr111(e);
|
|
159302
159431
|
});
|
|
159303
159432
|
}
|
|
159304
159433
|
registerPush(data, opts) {
|
|
159305
159434
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
159306
|
-
throw
|
|
159435
|
+
throw toKnownErr112(e);
|
|
159307
159436
|
});
|
|
159308
159437
|
}
|
|
159309
159438
|
updateSeen(data, opts) {
|
|
159310
159439
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
159311
|
-
throw
|
|
159440
|
+
throw toKnownErr113(e);
|
|
159312
159441
|
});
|
|
159313
159442
|
}
|
|
159314
159443
|
};
|
|
@@ -159323,27 +159452,27 @@ var AppBskyUnspeccedNS = class {
|
|
|
159323
159452
|
}
|
|
159324
159453
|
getPopularFeedGenerators(params2, opts) {
|
|
159325
159454
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
159326
|
-
throw
|
|
159455
|
+
throw toKnownErr114(e);
|
|
159327
159456
|
});
|
|
159328
159457
|
}
|
|
159329
159458
|
getTaggedSuggestions(params2, opts) {
|
|
159330
159459
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
159331
|
-
throw
|
|
159460
|
+
throw toKnownErr115(e);
|
|
159332
159461
|
});
|
|
159333
159462
|
}
|
|
159334
159463
|
getTimelineSkeleton(params2, opts) {
|
|
159335
159464
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
159336
|
-
throw
|
|
159465
|
+
throw toKnownErr116(e);
|
|
159337
159466
|
});
|
|
159338
159467
|
}
|
|
159339
159468
|
searchActorsSkeleton(params2, opts) {
|
|
159340
159469
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
159341
|
-
throw
|
|
159470
|
+
throw toKnownErr117(e);
|
|
159342
159471
|
});
|
|
159343
159472
|
}
|
|
159344
159473
|
searchPostsSkeleton(params2, opts) {
|
|
159345
159474
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
159346
|
-
throw
|
|
159475
|
+
throw toKnownErr118(e);
|
|
159347
159476
|
});
|
|
159348
159477
|
}
|
|
159349
159478
|
};
|
|
@@ -165456,7 +165585,8 @@ var schemaDict2 = {
|
|
|
165456
165585
|
"lex:app.bsky.actor.defs#savedFeedsPref",
|
|
165457
165586
|
"lex:app.bsky.actor.defs#personalDetailsPref",
|
|
165458
165587
|
"lex:app.bsky.actor.defs#feedViewPref",
|
|
165459
|
-
"lex:app.bsky.actor.defs#threadViewPref"
|
|
165588
|
+
"lex:app.bsky.actor.defs#threadViewPref",
|
|
165589
|
+
"lex:app.bsky.actor.defs#interestsPref"
|
|
165460
165590
|
]
|
|
165461
165591
|
}
|
|
165462
165592
|
},
|
|
@@ -165556,6 +165686,22 @@ var schemaDict2 = {
|
|
|
165556
165686
|
description: "Show followed users at the top of all replies."
|
|
165557
165687
|
}
|
|
165558
165688
|
}
|
|
165689
|
+
},
|
|
165690
|
+
interestsPref: {
|
|
165691
|
+
type: "object",
|
|
165692
|
+
required: ["tags"],
|
|
165693
|
+
properties: {
|
|
165694
|
+
tags: {
|
|
165695
|
+
type: "array",
|
|
165696
|
+
maxLength: 100,
|
|
165697
|
+
items: {
|
|
165698
|
+
type: "string",
|
|
165699
|
+
maxLength: 640,
|
|
165700
|
+
maxGraphemes: 64
|
|
165701
|
+
},
|
|
165702
|
+
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
165703
|
+
}
|
|
165704
|
+
}
|
|
165559
165705
|
}
|
|
165560
165706
|
}
|
|
165561
165707
|
},
|
|
@@ -167749,6 +167895,42 @@ var schemaDict2 = {
|
|
|
167749
167895
|
format: "at-uri"
|
|
167750
167896
|
}
|
|
167751
167897
|
}
|
|
167898
|
+
},
|
|
167899
|
+
notFoundActor: {
|
|
167900
|
+
type: "object",
|
|
167901
|
+
description: "indicates that a handle or DID could not be resolved",
|
|
167902
|
+
required: ["actor", "notFound"],
|
|
167903
|
+
properties: {
|
|
167904
|
+
actor: {
|
|
167905
|
+
type: "string",
|
|
167906
|
+
format: "at-identifier"
|
|
167907
|
+
},
|
|
167908
|
+
notFound: {
|
|
167909
|
+
type: "boolean",
|
|
167910
|
+
const: true
|
|
167911
|
+
}
|
|
167912
|
+
}
|
|
167913
|
+
},
|
|
167914
|
+
relationship: {
|
|
167915
|
+
type: "object",
|
|
167916
|
+
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)",
|
|
167917
|
+
required: ["did"],
|
|
167918
|
+
properties: {
|
|
167919
|
+
did: {
|
|
167920
|
+
type: "string",
|
|
167921
|
+
format: "did"
|
|
167922
|
+
},
|
|
167923
|
+
following: {
|
|
167924
|
+
type: "string",
|
|
167925
|
+
format: "at-uri",
|
|
167926
|
+
description: "if the actor follows this DID, this is the AT-URI of the follow record"
|
|
167927
|
+
},
|
|
167928
|
+
followedBy: {
|
|
167929
|
+
type: "string",
|
|
167930
|
+
format: "at-uri",
|
|
167931
|
+
description: "if the actor is followed by this DID, contains the AT-URI of the follow record"
|
|
167932
|
+
}
|
|
167933
|
+
}
|
|
167752
167934
|
}
|
|
167753
167935
|
}
|
|
167754
167936
|
},
|
|
@@ -168153,6 +168335,63 @@ var schemaDict2 = {
|
|
|
168153
168335
|
}
|
|
168154
168336
|
}
|
|
168155
168337
|
},
|
|
168338
|
+
AppBskyGraphGetRelationships: {
|
|
168339
|
+
lexicon: 1,
|
|
168340
|
+
id: "app.bsky.graph.getRelationships",
|
|
168341
|
+
defs: {
|
|
168342
|
+
main: {
|
|
168343
|
+
type: "query",
|
|
168344
|
+
description: "Enumerates public relationships between one account, and a list of other accounts",
|
|
168345
|
+
parameters: {
|
|
168346
|
+
type: "params",
|
|
168347
|
+
required: ["actor"],
|
|
168348
|
+
properties: {
|
|
168349
|
+
actor: {
|
|
168350
|
+
type: "string",
|
|
168351
|
+
format: "at-identifier"
|
|
168352
|
+
},
|
|
168353
|
+
others: {
|
|
168354
|
+
type: "array",
|
|
168355
|
+
maxLength: 30,
|
|
168356
|
+
items: {
|
|
168357
|
+
type: "string",
|
|
168358
|
+
format: "at-identifier"
|
|
168359
|
+
}
|
|
168360
|
+
}
|
|
168361
|
+
}
|
|
168362
|
+
},
|
|
168363
|
+
output: {
|
|
168364
|
+
encoding: "application/json",
|
|
168365
|
+
schema: {
|
|
168366
|
+
type: "object",
|
|
168367
|
+
required: ["relationships"],
|
|
168368
|
+
properties: {
|
|
168369
|
+
actor: {
|
|
168370
|
+
type: "string",
|
|
168371
|
+
format: "did"
|
|
168372
|
+
},
|
|
168373
|
+
relationships: {
|
|
168374
|
+
type: "array",
|
|
168375
|
+
items: {
|
|
168376
|
+
type: "union",
|
|
168377
|
+
refs: [
|
|
168378
|
+
"lex:app.bsky.graph.defs#relationship",
|
|
168379
|
+
"lex:app.bsky.graph.defs#notFoundActor"
|
|
168380
|
+
]
|
|
168381
|
+
}
|
|
168382
|
+
}
|
|
168383
|
+
}
|
|
168384
|
+
}
|
|
168385
|
+
},
|
|
168386
|
+
errors: [
|
|
168387
|
+
{
|
|
168388
|
+
name: "ActorNotFound",
|
|
168389
|
+
description: "the primary actor at-identifier could not be resolved"
|
|
168390
|
+
}
|
|
168391
|
+
]
|
|
168392
|
+
}
|
|
168393
|
+
}
|
|
168394
|
+
},
|
|
168156
168395
|
AppBskyGraphGetSuggestedFollowsByActor: {
|
|
168157
168396
|
lexicon: 1,
|
|
168158
168397
|
id: "app.bsky.graph.getSuggestedFollowsByActor",
|
|
@@ -169075,6 +169314,7 @@ var ids = {
|
|
|
169075
169314
|
AppBskyGraphGetListMutes: "app.bsky.graph.getListMutes",
|
|
169076
169315
|
AppBskyGraphGetLists: "app.bsky.graph.getLists",
|
|
169077
169316
|
AppBskyGraphGetMutes: "app.bsky.graph.getMutes",
|
|
169317
|
+
AppBskyGraphGetRelationships: "app.bsky.graph.getRelationships",
|
|
169078
169318
|
AppBskyGraphGetSuggestedFollowsByActor: "app.bsky.graph.getSuggestedFollowsByActor",
|
|
169079
169319
|
AppBskyGraphList: "app.bsky.graph.list",
|
|
169080
169320
|
AppBskyGraphListblock: "app.bsky.graph.listblock",
|
|
@@ -170089,6 +170329,56 @@ var CreatedAtDidKeyset = class extends TimeCidKeyset {
|
|
|
170089
170329
|
}
|
|
170090
170330
|
};
|
|
170091
170331
|
|
|
170332
|
+
// src/api/app/bsky/graph/getRelationships.ts
|
|
170333
|
+
function getRelationships_default(server, ctx) {
|
|
170334
|
+
server.app.bsky.graph.getRelationships({
|
|
170335
|
+
handler: async ({ params: params2 }) => {
|
|
170336
|
+
const { actor, others = [] } = params2;
|
|
170337
|
+
if (others.length < 1) {
|
|
170338
|
+
return {
|
|
170339
|
+
encoding: "application/json",
|
|
170340
|
+
body: {
|
|
170341
|
+
actor,
|
|
170342
|
+
relationships: []
|
|
170343
|
+
}
|
|
170344
|
+
};
|
|
170345
|
+
}
|
|
170346
|
+
const db = ctx.db.getPrimary();
|
|
170347
|
+
const { ref } = db.db.dynamic;
|
|
170348
|
+
const res = await db.db.selectFrom("actor").select([
|
|
170349
|
+
"actor.did",
|
|
170350
|
+
db.db.selectFrom("follow").where("creator", "=", actor).whereRef("subjectDid", "=", ref("actor.did")).select("uri").as("following"),
|
|
170351
|
+
db.db.selectFrom("follow").whereRef("creator", "=", ref("actor.did")).where("subjectDid", "=", actor).select("uri").as("followedBy")
|
|
170352
|
+
]).where("actor.did", "in", others).execute();
|
|
170353
|
+
const relationshipsMap = res.reduce((acc, cur) => {
|
|
170354
|
+
return acc.set(cur.did, {
|
|
170355
|
+
did: cur.did,
|
|
170356
|
+
following: cur.following ?? void 0,
|
|
170357
|
+
followedBy: cur.followedBy ?? void 0
|
|
170358
|
+
});
|
|
170359
|
+
}, /* @__PURE__ */ new Map());
|
|
170360
|
+
const relationships = others.map((did2) => {
|
|
170361
|
+
const relationship = relationshipsMap.get(did2);
|
|
170362
|
+
return relationship ? {
|
|
170363
|
+
$type: "app.bsky.graph.defs#relationship",
|
|
170364
|
+
...relationship
|
|
170365
|
+
} : {
|
|
170366
|
+
$type: "app.bsky.graph.defs#notFoundActor",
|
|
170367
|
+
actor: did2,
|
|
170368
|
+
notFound: true
|
|
170369
|
+
};
|
|
170370
|
+
});
|
|
170371
|
+
return {
|
|
170372
|
+
encoding: "application/json",
|
|
170373
|
+
body: {
|
|
170374
|
+
actor,
|
|
170375
|
+
relationships
|
|
170376
|
+
}
|
|
170377
|
+
};
|
|
170378
|
+
}
|
|
170379
|
+
});
|
|
170380
|
+
}
|
|
170381
|
+
|
|
170092
170382
|
// src/api/app/bsky/graph/muteActor.ts
|
|
170093
170383
|
var import_node_assert = __toESM(require("node:assert"));
|
|
170094
170384
|
|
|
@@ -172048,6 +172338,7 @@ function api_default(server, ctx) {
|
|
|
172048
172338
|
getLists_default(server, ctx);
|
|
172049
172339
|
getListMutes_default(server, ctx);
|
|
172050
172340
|
getMutes_default(server, ctx);
|
|
172341
|
+
getRelationships_default(server, ctx);
|
|
172051
172342
|
muteActor_default(server, ctx);
|
|
172052
172343
|
unmuteActor_default(server, ctx);
|
|
172053
172344
|
muteActorList_default(server, ctx);
|
|
@@ -172609,6 +172900,10 @@ var AppBskyGraphNS2 = class {
|
|
|
172609
172900
|
const nsid2 = "app.bsky.graph.getMutes";
|
|
172610
172901
|
return this._server.xrpc.method(nsid2, cfg);
|
|
172611
172902
|
}
|
|
172903
|
+
getRelationships(cfg) {
|
|
172904
|
+
const nsid2 = "app.bsky.graph.getRelationships";
|
|
172905
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
172906
|
+
}
|
|
172612
172907
|
getSuggestedFollowsByActor(cfg) {
|
|
172613
172908
|
const nsid2 = "app.bsky.graph.getSuggestedFollowsByActor";
|
|
172614
172909
|
return this._server.xrpc.method(nsid2, cfg);
|