@atproto/bsky 0.0.31 → 0.0.32
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/db/index.js.map +2 -2
- package/dist/index.js +1197 -585
- package/dist/index.js.map +3 -3
- package/dist/indexer/subscription.d.ts +1 -0
- package/dist/lexicon/index.d.ts +20 -6
- package/dist/lexicon/lexicons.d.ts +392 -110
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +20 -0
- package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +33 -0
- package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.d.ts +19 -0
- package/dist/lexicon/types/com/atproto/{temp/transferAccount.d.ts → identity/signPlcOperation.d.ts} +6 -8
- package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.d.ts +25 -0
- package/dist/lexicon/types/com/atproto/{temp/pushBlob.d.ts → repo/importRepo.d.ts} +1 -2
- package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.d.ts +41 -0
- package/dist/lexicon/types/com/atproto/server/activateAccount.d.ts +19 -0
- package/dist/lexicon/types/com/atproto/server/checkAccountStatus.d.ts +38 -0
- package/dist/lexicon/types/com/atproto/server/deactivateAccount.d.ts +25 -0
- package/dist/lexicon/types/com/atproto/server/describeServer.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/{temp/importRepo.d.ts → server/getServiceAuth.d.ts} +8 -9
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +9 -1
- package/dist/subscription/util.d.ts +1 -1
- package/package.json +6 -6
- package/src/indexer/subscription.ts +6 -0
- package/src/ingester/subscription.ts +2 -0
- package/src/lexicon/index.ts +124 -36
- package/src/lexicon/lexicons.ts +429 -138
- package/src/lexicon/types/app/bsky/actor/defs.ts +59 -0
- package/src/lexicon/types/app/bsky/feed/post.ts +1 -1
- package/src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts +47 -0
- package/src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts +31 -0
- package/src/lexicon/types/com/atproto/{temp/transferAccount.ts → identity/signPlcOperation.ts} +8 -15
- package/src/lexicon/types/com/atproto/identity/submitPlcOperation.ts +38 -0
- package/src/lexicon/types/com/atproto/{temp/pushBlob.ts → repo/importRepo.ts} +2 -5
- package/src/lexicon/types/com/atproto/repo/listMissingBlobs.ts +65 -0
- package/src/lexicon/types/com/atproto/server/activateAccount.ts +31 -0
- package/src/lexicon/types/com/atproto/server/checkAccountStatus.ts +51 -0
- package/src/lexicon/types/com/atproto/server/deactivateAccount.ts +39 -0
- package/src/lexicon/types/com/atproto/server/describeServer.ts +1 -0
- package/src/lexicon/types/com/atproto/{temp/importRepo.ts → server/getServiceAuth.ts} +10 -9
- package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +24 -3
- package/tests/auto-moderator/labeler.test.ts +2 -1
package/dist/index.js
CHANGED
|
@@ -105973,7 +105973,7 @@ var require_headers4 = __commonJS({
|
|
|
105973
105973
|
return headers;
|
|
105974
105974
|
}
|
|
105975
105975
|
};
|
|
105976
|
-
var
|
|
105976
|
+
var Headers129 = class {
|
|
105977
105977
|
constructor(init = void 0) {
|
|
105978
105978
|
if (init === kConstruct) {
|
|
105979
105979
|
return;
|
|
@@ -105986,14 +105986,14 @@ var require_headers4 = __commonJS({
|
|
|
105986
105986
|
}
|
|
105987
105987
|
}
|
|
105988
105988
|
append(name3, value) {
|
|
105989
|
-
webidl.brandCheck(this,
|
|
105989
|
+
webidl.brandCheck(this, Headers129);
|
|
105990
105990
|
webidl.argumentLengthCheck(arguments, 2, { header: "Headers.append" });
|
|
105991
105991
|
name3 = webidl.converters.ByteString(name3);
|
|
105992
105992
|
value = webidl.converters.ByteString(value);
|
|
105993
105993
|
return appendHeader(this, name3, value);
|
|
105994
105994
|
}
|
|
105995
105995
|
delete(name3) {
|
|
105996
|
-
webidl.brandCheck(this,
|
|
105996
|
+
webidl.brandCheck(this, Headers129);
|
|
105997
105997
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.delete" });
|
|
105998
105998
|
name3 = webidl.converters.ByteString(name3);
|
|
105999
105999
|
if (!isValidHeaderName(name3)) {
|
|
@@ -106013,7 +106013,7 @@ var require_headers4 = __commonJS({
|
|
|
106013
106013
|
this[kHeadersList].delete(name3);
|
|
106014
106014
|
}
|
|
106015
106015
|
get(name3) {
|
|
106016
|
-
webidl.brandCheck(this,
|
|
106016
|
+
webidl.brandCheck(this, Headers129);
|
|
106017
106017
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.get" });
|
|
106018
106018
|
name3 = webidl.converters.ByteString(name3);
|
|
106019
106019
|
if (!isValidHeaderName(name3)) {
|
|
@@ -106026,7 +106026,7 @@ var require_headers4 = __commonJS({
|
|
|
106026
106026
|
return this[kHeadersList].get(name3);
|
|
106027
106027
|
}
|
|
106028
106028
|
has(name3) {
|
|
106029
|
-
webidl.brandCheck(this,
|
|
106029
|
+
webidl.brandCheck(this, Headers129);
|
|
106030
106030
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.has" });
|
|
106031
106031
|
name3 = webidl.converters.ByteString(name3);
|
|
106032
106032
|
if (!isValidHeaderName(name3)) {
|
|
@@ -106039,7 +106039,7 @@ var require_headers4 = __commonJS({
|
|
|
106039
106039
|
return this[kHeadersList].contains(name3);
|
|
106040
106040
|
}
|
|
106041
106041
|
set(name3, value) {
|
|
106042
|
-
webidl.brandCheck(this,
|
|
106042
|
+
webidl.brandCheck(this, Headers129);
|
|
106043
106043
|
webidl.argumentLengthCheck(arguments, 2, { header: "Headers.set" });
|
|
106044
106044
|
name3 = webidl.converters.ByteString(name3);
|
|
106045
106045
|
value = webidl.converters.ByteString(value);
|
|
@@ -106064,7 +106064,7 @@ var require_headers4 = __commonJS({
|
|
|
106064
106064
|
this[kHeadersList].set(name3, value);
|
|
106065
106065
|
}
|
|
106066
106066
|
getSetCookie() {
|
|
106067
|
-
webidl.brandCheck(this,
|
|
106067
|
+
webidl.brandCheck(this, Headers129);
|
|
106068
106068
|
const list = this[kHeadersList].cookies;
|
|
106069
106069
|
if (list) {
|
|
106070
106070
|
return [...list];
|
|
@@ -106093,7 +106093,7 @@ var require_headers4 = __commonJS({
|
|
|
106093
106093
|
return headers;
|
|
106094
106094
|
}
|
|
106095
106095
|
keys() {
|
|
106096
|
-
webidl.brandCheck(this,
|
|
106096
|
+
webidl.brandCheck(this, Headers129);
|
|
106097
106097
|
if (this[kGuard] === "immutable") {
|
|
106098
106098
|
const value = this[kHeadersSortedMap];
|
|
106099
106099
|
return makeIterator(() => value, "Headers", "key");
|
|
@@ -106101,7 +106101,7 @@ var require_headers4 = __commonJS({
|
|
|
106101
106101
|
return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key");
|
|
106102
106102
|
}
|
|
106103
106103
|
values() {
|
|
106104
|
-
webidl.brandCheck(this,
|
|
106104
|
+
webidl.brandCheck(this, Headers129);
|
|
106105
106105
|
if (this[kGuard] === "immutable") {
|
|
106106
106106
|
const value = this[kHeadersSortedMap];
|
|
106107
106107
|
return makeIterator(() => value, "Headers", "value");
|
|
@@ -106109,7 +106109,7 @@ var require_headers4 = __commonJS({
|
|
|
106109
106109
|
return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "value");
|
|
106110
106110
|
}
|
|
106111
106111
|
entries() {
|
|
106112
|
-
webidl.brandCheck(this,
|
|
106112
|
+
webidl.brandCheck(this, Headers129);
|
|
106113
106113
|
if (this[kGuard] === "immutable") {
|
|
106114
106114
|
const value = this[kHeadersSortedMap];
|
|
106115
106115
|
return makeIterator(() => value, "Headers", "key+value");
|
|
@@ -106117,7 +106117,7 @@ var require_headers4 = __commonJS({
|
|
|
106117
106117
|
return makeIterator(() => [...this[kHeadersSortedMap].values()], "Headers", "key+value");
|
|
106118
106118
|
}
|
|
106119
106119
|
forEach(callbackFn, thisArg = globalThis) {
|
|
106120
|
-
webidl.brandCheck(this,
|
|
106120
|
+
webidl.brandCheck(this, Headers129);
|
|
106121
106121
|
webidl.argumentLengthCheck(arguments, 1, { header: "Headers.forEach" });
|
|
106122
106122
|
if (typeof callbackFn !== "function") {
|
|
106123
106123
|
throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.");
|
|
@@ -106127,12 +106127,12 @@ var require_headers4 = __commonJS({
|
|
|
106127
106127
|
}
|
|
106128
106128
|
}
|
|
106129
106129
|
[Symbol.for("nodejs.util.inspect.custom")]() {
|
|
106130
|
-
webidl.brandCheck(this,
|
|
106130
|
+
webidl.brandCheck(this, Headers129);
|
|
106131
106131
|
return this[kHeadersList];
|
|
106132
106132
|
}
|
|
106133
106133
|
};
|
|
106134
|
-
|
|
106135
|
-
Object.defineProperties(
|
|
106134
|
+
Headers129.prototype[Symbol.iterator] = Headers129.prototype.entries;
|
|
106135
|
+
Object.defineProperties(Headers129.prototype, {
|
|
106136
106136
|
append: kEnumerableProperty,
|
|
106137
106137
|
delete: kEnumerableProperty,
|
|
106138
106138
|
get: kEnumerableProperty,
|
|
@@ -106164,7 +106164,7 @@ var require_headers4 = __commonJS({
|
|
|
106164
106164
|
};
|
|
106165
106165
|
module2.exports = {
|
|
106166
106166
|
fill,
|
|
106167
|
-
Headers:
|
|
106167
|
+
Headers: Headers129,
|
|
106168
106168
|
HeadersList
|
|
106169
106169
|
};
|
|
106170
106170
|
}
|
|
@@ -106174,7 +106174,7 @@ var require_headers4 = __commonJS({
|
|
|
106174
106174
|
var require_response2 = __commonJS({
|
|
106175
106175
|
"../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/response.js"(exports, module2) {
|
|
106176
106176
|
"use strict";
|
|
106177
|
-
var { Headers:
|
|
106177
|
+
var { Headers: Headers129, HeadersList, fill } = require_headers4();
|
|
106178
106178
|
var { extractBody, cloneBody, mixinBody } = require_body();
|
|
106179
106179
|
var util2 = require_util2();
|
|
106180
106180
|
var { kEnumerableProperty } = util2;
|
|
@@ -106260,7 +106260,7 @@ var require_response2 = __commonJS({
|
|
|
106260
106260
|
init = webidl.converters.ResponseInit(init);
|
|
106261
106261
|
this[kRealm] = { settingsObject: {} };
|
|
106262
106262
|
this[kState] = makeResponse({});
|
|
106263
|
-
this[kHeaders] = new
|
|
106263
|
+
this[kHeaders] = new Headers129(kConstruct);
|
|
106264
106264
|
this[kHeaders][kGuard] = "response";
|
|
106265
106265
|
this[kHeaders][kHeadersList] = this[kState].headersList;
|
|
106266
106266
|
this[kHeaders][kRealm] = this[kRealm];
|
|
@@ -106531,7 +106531,7 @@ var require_request3 = __commonJS({
|
|
|
106531
106531
|
"../../node_modules/.pnpm/undici@5.28.2/node_modules/undici/lib/fetch/request.js"(exports, module2) {
|
|
106532
106532
|
"use strict";
|
|
106533
106533
|
var { extractBody, mixinBody, cloneBody } = require_body();
|
|
106534
|
-
var { Headers:
|
|
106534
|
+
var { Headers: Headers129, fill: fillHeaders, HeadersList } = require_headers4();
|
|
106535
106535
|
var { FinalizationRegistry: FinalizationRegistry2 } = require_dispatcher_weakref()();
|
|
106536
106536
|
var util2 = require_util2();
|
|
106537
106537
|
var {
|
|
@@ -106745,7 +106745,7 @@ var require_request3 = __commonJS({
|
|
|
106745
106745
|
requestFinalizer.register(ac, { signal, abort });
|
|
106746
106746
|
}
|
|
106747
106747
|
}
|
|
106748
|
-
this[kHeaders] = new
|
|
106748
|
+
this[kHeaders] = new Headers129(kConstruct);
|
|
106749
106749
|
this[kHeaders][kHeadersList] = request.headersList;
|
|
106750
106750
|
this[kHeaders][kGuard] = "request";
|
|
106751
106751
|
this[kHeaders][kRealm] = this[kRealm];
|
|
@@ -106894,7 +106894,7 @@ var require_request3 = __commonJS({
|
|
|
106894
106894
|
const clonedRequestObject = new Request2(kConstruct);
|
|
106895
106895
|
clonedRequestObject[kState] = clonedRequest;
|
|
106896
106896
|
clonedRequestObject[kRealm] = this[kRealm];
|
|
106897
|
-
clonedRequestObject[kHeaders] = new
|
|
106897
|
+
clonedRequestObject[kHeaders] = new Headers129(kConstruct);
|
|
106898
106898
|
clonedRequestObject[kHeaders][kHeadersList] = clonedRequest.headersList;
|
|
106899
106899
|
clonedRequestObject[kHeaders][kGuard] = this[kHeaders][kGuard];
|
|
106900
106900
|
clonedRequestObject[kHeaders][kRealm] = this[kHeaders][kRealm];
|
|
@@ -107077,7 +107077,7 @@ var require_fetch = __commonJS({
|
|
|
107077
107077
|
filterResponse,
|
|
107078
107078
|
makeResponse
|
|
107079
107079
|
} = require_response2();
|
|
107080
|
-
var { Headers:
|
|
107080
|
+
var { Headers: Headers129 } = require_headers4();
|
|
107081
107081
|
var { Request: Request2, makeRequest } = require_request3();
|
|
107082
107082
|
var zlib = require("zlib");
|
|
107083
107083
|
var {
|
|
@@ -107935,7 +107935,7 @@ var require_fetch = __commonJS({
|
|
|
107935
107935
|
}
|
|
107936
107936
|
let codings = [];
|
|
107937
107937
|
let location = "";
|
|
107938
|
-
const headers = new
|
|
107938
|
+
const headers = new Headers129();
|
|
107939
107939
|
if (Array.isArray(headersList)) {
|
|
107940
107940
|
for (let n = 0; n < headersList.length; n += 2) {
|
|
107941
107941
|
const key = headersList[n + 0].toString("latin1");
|
|
@@ -108016,7 +108016,7 @@ var require_fetch = __commonJS({
|
|
|
108016
108016
|
if (status !== 101) {
|
|
108017
108017
|
return;
|
|
108018
108018
|
}
|
|
108019
|
-
const headers = new
|
|
108019
|
+
const headers = new Headers129();
|
|
108020
108020
|
for (let n = 0; n < headersList.length; n += 2) {
|
|
108021
108021
|
const key = headersList[n + 0].toString("latin1");
|
|
108022
108022
|
const val = headersList[n + 1].toString("latin1");
|
|
@@ -109753,10 +109753,10 @@ var require_cookies2 = __commonJS({
|
|
|
109753
109753
|
var { parseSetCookie } = require_parse3();
|
|
109754
109754
|
var { stringify, getHeadersList } = require_util7();
|
|
109755
109755
|
var { webidl } = require_webidl();
|
|
109756
|
-
var { Headers:
|
|
109756
|
+
var { Headers: Headers129 } = require_headers4();
|
|
109757
109757
|
function getCookies(headers) {
|
|
109758
109758
|
webidl.argumentLengthCheck(arguments, 1, { header: "getCookies" });
|
|
109759
|
-
webidl.brandCheck(headers,
|
|
109759
|
+
webidl.brandCheck(headers, Headers129, { strict: false });
|
|
109760
109760
|
const cookie = headers.get("cookie");
|
|
109761
109761
|
const out = {};
|
|
109762
109762
|
if (!cookie) {
|
|
@@ -109770,7 +109770,7 @@ var require_cookies2 = __commonJS({
|
|
|
109770
109770
|
}
|
|
109771
109771
|
function deleteCookie(headers, name3, attributes) {
|
|
109772
109772
|
webidl.argumentLengthCheck(arguments, 2, { header: "deleteCookie" });
|
|
109773
|
-
webidl.brandCheck(headers,
|
|
109773
|
+
webidl.brandCheck(headers, Headers129, { strict: false });
|
|
109774
109774
|
name3 = webidl.converters.DOMString(name3);
|
|
109775
109775
|
attributes = webidl.converters.DeleteCookieAttributes(attributes);
|
|
109776
109776
|
setCookie(headers, {
|
|
@@ -109782,7 +109782,7 @@ var require_cookies2 = __commonJS({
|
|
|
109782
109782
|
}
|
|
109783
109783
|
function getSetCookies(headers) {
|
|
109784
109784
|
webidl.argumentLengthCheck(arguments, 1, { header: "getSetCookies" });
|
|
109785
|
-
webidl.brandCheck(headers,
|
|
109785
|
+
webidl.brandCheck(headers, Headers129, { strict: false });
|
|
109786
109786
|
const cookies = getHeadersList(headers).cookies;
|
|
109787
109787
|
if (!cookies) {
|
|
109788
109788
|
return [];
|
|
@@ -109791,7 +109791,7 @@ var require_cookies2 = __commonJS({
|
|
|
109791
109791
|
}
|
|
109792
109792
|
function setCookie(headers, cookie) {
|
|
109793
109793
|
webidl.argumentLengthCheck(arguments, 2, { header: "setCookie" });
|
|
109794
|
-
webidl.brandCheck(headers,
|
|
109794
|
+
webidl.brandCheck(headers, Headers129, { strict: false });
|
|
109795
109795
|
cookie = webidl.converters.Cookie(cookie);
|
|
109796
109796
|
const str = stringify(cookie);
|
|
109797
109797
|
if (str) {
|
|
@@ -110277,7 +110277,7 @@ var require_connection = __commonJS({
|
|
|
110277
110277
|
var { CloseEvent } = require_events();
|
|
110278
110278
|
var { makeRequest } = require_request3();
|
|
110279
110279
|
var { fetching } = require_fetch();
|
|
110280
|
-
var { Headers:
|
|
110280
|
+
var { Headers: Headers129 } = require_headers4();
|
|
110281
110281
|
var { getGlobalDispatcher } = require_global2();
|
|
110282
110282
|
var { kHeadersList } = require_symbols2();
|
|
110283
110283
|
var channels = {};
|
|
@@ -110302,7 +110302,7 @@ var require_connection = __commonJS({
|
|
|
110302
110302
|
redirect: "error"
|
|
110303
110303
|
});
|
|
110304
110304
|
if (options.headers) {
|
|
110305
|
-
const headersList = new
|
|
110305
|
+
const headersList = new Headers129(options.headers)[kHeadersList];
|
|
110306
110306
|
request.headersList = headersList;
|
|
110307
110307
|
}
|
|
110308
110308
|
const keyValue = crypto7.randomBytes(16).toString("base64");
|
|
@@ -151325,6 +151325,53 @@ var schemaDict = {
|
|
|
151325
151325
|
}
|
|
151326
151326
|
}
|
|
151327
151327
|
},
|
|
151328
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
151329
|
+
lexicon: 1,
|
|
151330
|
+
id: "com.atproto.identity.getRecommendedDidCredentials",
|
|
151331
|
+
defs: {
|
|
151332
|
+
main: {
|
|
151333
|
+
type: "query",
|
|
151334
|
+
description: "Describe the credentials that should be included in the DID doc of an account that is migrating to this service.",
|
|
151335
|
+
output: {
|
|
151336
|
+
encoding: "application/json",
|
|
151337
|
+
schema: {
|
|
151338
|
+
type: "object",
|
|
151339
|
+
properties: {
|
|
151340
|
+
rotationKeys: {
|
|
151341
|
+
description: "Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.",
|
|
151342
|
+
type: "array",
|
|
151343
|
+
items: {
|
|
151344
|
+
type: "string"
|
|
151345
|
+
}
|
|
151346
|
+
},
|
|
151347
|
+
alsoKnownAs: {
|
|
151348
|
+
type: "array",
|
|
151349
|
+
items: {
|
|
151350
|
+
type: "string"
|
|
151351
|
+
}
|
|
151352
|
+
},
|
|
151353
|
+
verificationMethods: {
|
|
151354
|
+
type: "unknown"
|
|
151355
|
+
},
|
|
151356
|
+
services: {
|
|
151357
|
+
type: "unknown"
|
|
151358
|
+
}
|
|
151359
|
+
}
|
|
151360
|
+
}
|
|
151361
|
+
}
|
|
151362
|
+
}
|
|
151363
|
+
}
|
|
151364
|
+
},
|
|
151365
|
+
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
151366
|
+
lexicon: 1,
|
|
151367
|
+
id: "com.atproto.identity.requestPlcOperationSignature",
|
|
151368
|
+
defs: {
|
|
151369
|
+
main: {
|
|
151370
|
+
type: "procedure",
|
|
151371
|
+
description: "Request an email with a code to in order to request a signed PLC operation. Requires Auth."
|
|
151372
|
+
}
|
|
151373
|
+
}
|
|
151374
|
+
},
|
|
151328
151375
|
ComAtprotoIdentityResolveHandle: {
|
|
151329
151376
|
lexicon: 1,
|
|
151330
151377
|
id: "com.atproto.identity.resolveHandle",
|
|
@@ -151359,6 +151406,81 @@ var schemaDict = {
|
|
|
151359
151406
|
}
|
|
151360
151407
|
}
|
|
151361
151408
|
},
|
|
151409
|
+
ComAtprotoIdentitySignPlcOperation: {
|
|
151410
|
+
lexicon: 1,
|
|
151411
|
+
id: "com.atproto.identity.signPlcOperation",
|
|
151412
|
+
defs: {
|
|
151413
|
+
main: {
|
|
151414
|
+
type: "procedure",
|
|
151415
|
+
description: "Signs a PLC operation to update some value(s) in the requesting DID's document.",
|
|
151416
|
+
input: {
|
|
151417
|
+
encoding: "application/json",
|
|
151418
|
+
schema: {
|
|
151419
|
+
type: "object",
|
|
151420
|
+
properties: {
|
|
151421
|
+
token: {
|
|
151422
|
+
description: "A token received through com.atproto.identity.requestPlcOperationSignature",
|
|
151423
|
+
type: "string"
|
|
151424
|
+
},
|
|
151425
|
+
rotationKeys: {
|
|
151426
|
+
type: "array",
|
|
151427
|
+
items: {
|
|
151428
|
+
type: "string"
|
|
151429
|
+
}
|
|
151430
|
+
},
|
|
151431
|
+
alsoKnownAs: {
|
|
151432
|
+
type: "array",
|
|
151433
|
+
items: {
|
|
151434
|
+
type: "string"
|
|
151435
|
+
}
|
|
151436
|
+
},
|
|
151437
|
+
verificationMethods: {
|
|
151438
|
+
type: "unknown"
|
|
151439
|
+
},
|
|
151440
|
+
services: {
|
|
151441
|
+
type: "unknown"
|
|
151442
|
+
}
|
|
151443
|
+
}
|
|
151444
|
+
}
|
|
151445
|
+
},
|
|
151446
|
+
output: {
|
|
151447
|
+
encoding: "application/json",
|
|
151448
|
+
schema: {
|
|
151449
|
+
type: "object",
|
|
151450
|
+
required: ["operation"],
|
|
151451
|
+
properties: {
|
|
151452
|
+
operation: {
|
|
151453
|
+
type: "unknown",
|
|
151454
|
+
description: "A signed DID PLC operation."
|
|
151455
|
+
}
|
|
151456
|
+
}
|
|
151457
|
+
}
|
|
151458
|
+
}
|
|
151459
|
+
}
|
|
151460
|
+
}
|
|
151461
|
+
},
|
|
151462
|
+
ComAtprotoIdentitySubmitPlcOperation: {
|
|
151463
|
+
lexicon: 1,
|
|
151464
|
+
id: "com.atproto.identity.submitPlcOperation",
|
|
151465
|
+
defs: {
|
|
151466
|
+
main: {
|
|
151467
|
+
type: "procedure",
|
|
151468
|
+
description: "Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry",
|
|
151469
|
+
input: {
|
|
151470
|
+
encoding: "application/json",
|
|
151471
|
+
schema: {
|
|
151472
|
+
type: "object",
|
|
151473
|
+
required: ["operation"],
|
|
151474
|
+
properties: {
|
|
151475
|
+
operation: {
|
|
151476
|
+
type: "unknown"
|
|
151477
|
+
}
|
|
151478
|
+
}
|
|
151479
|
+
}
|
|
151480
|
+
}
|
|
151481
|
+
}
|
|
151482
|
+
}
|
|
151483
|
+
},
|
|
151362
151484
|
ComAtprotoIdentityUpdateHandle: {
|
|
151363
151485
|
lexicon: 1,
|
|
151364
151486
|
id: "com.atproto.identity.updateHandle",
|
|
@@ -152031,6 +152153,76 @@ var schemaDict = {
|
|
|
152031
152153
|
}
|
|
152032
152154
|
}
|
|
152033
152155
|
},
|
|
152156
|
+
ComAtprotoRepoImportRepo: {
|
|
152157
|
+
lexicon: 1,
|
|
152158
|
+
id: "com.atproto.repo.importRepo",
|
|
152159
|
+
defs: {
|
|
152160
|
+
main: {
|
|
152161
|
+
type: "procedure",
|
|
152162
|
+
description: "Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.",
|
|
152163
|
+
input: {
|
|
152164
|
+
encoding: "application/vnd.ipld.car"
|
|
152165
|
+
}
|
|
152166
|
+
}
|
|
152167
|
+
}
|
|
152168
|
+
},
|
|
152169
|
+
ComAtprotoRepoListMissingBlobs: {
|
|
152170
|
+
lexicon: 1,
|
|
152171
|
+
id: "com.atproto.repo.listMissingBlobs",
|
|
152172
|
+
defs: {
|
|
152173
|
+
main: {
|
|
152174
|
+
type: "query",
|
|
152175
|
+
description: "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
|
|
152176
|
+
parameters: {
|
|
152177
|
+
type: "params",
|
|
152178
|
+
properties: {
|
|
152179
|
+
limit: {
|
|
152180
|
+
type: "integer",
|
|
152181
|
+
minimum: 1,
|
|
152182
|
+
maximum: 1e3,
|
|
152183
|
+
default: 500
|
|
152184
|
+
},
|
|
152185
|
+
cursor: {
|
|
152186
|
+
type: "string"
|
|
152187
|
+
}
|
|
152188
|
+
}
|
|
152189
|
+
},
|
|
152190
|
+
output: {
|
|
152191
|
+
encoding: "application/json",
|
|
152192
|
+
schema: {
|
|
152193
|
+
type: "object",
|
|
152194
|
+
required: ["blobs"],
|
|
152195
|
+
properties: {
|
|
152196
|
+
cursor: {
|
|
152197
|
+
type: "string"
|
|
152198
|
+
},
|
|
152199
|
+
blobs: {
|
|
152200
|
+
type: "array",
|
|
152201
|
+
items: {
|
|
152202
|
+
type: "ref",
|
|
152203
|
+
ref: "lex:com.atproto.repo.listMissingBlobs#recordBlob"
|
|
152204
|
+
}
|
|
152205
|
+
}
|
|
152206
|
+
}
|
|
152207
|
+
}
|
|
152208
|
+
}
|
|
152209
|
+
},
|
|
152210
|
+
recordBlob: {
|
|
152211
|
+
type: "object",
|
|
152212
|
+
required: ["cid", "recordUri"],
|
|
152213
|
+
properties: {
|
|
152214
|
+
cid: {
|
|
152215
|
+
type: "string",
|
|
152216
|
+
format: "cid"
|
|
152217
|
+
},
|
|
152218
|
+
recordUri: {
|
|
152219
|
+
type: "string",
|
|
152220
|
+
format: "at-uri"
|
|
152221
|
+
}
|
|
152222
|
+
}
|
|
152223
|
+
}
|
|
152224
|
+
}
|
|
152225
|
+
},
|
|
152034
152226
|
ComAtprotoRepoListRecords: {
|
|
152035
152227
|
lexicon: 1,
|
|
152036
152228
|
id: "com.atproto.repo.listRecords",
|
|
@@ -152237,6 +152429,73 @@ var schemaDict = {
|
|
|
152237
152429
|
}
|
|
152238
152430
|
}
|
|
152239
152431
|
},
|
|
152432
|
+
ComAtprotoServerActivateAccount: {
|
|
152433
|
+
lexicon: 1,
|
|
152434
|
+
id: "com.atproto.server.activateAccount",
|
|
152435
|
+
defs: {
|
|
152436
|
+
main: {
|
|
152437
|
+
type: "procedure",
|
|
152438
|
+
description: "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup."
|
|
152439
|
+
}
|
|
152440
|
+
}
|
|
152441
|
+
},
|
|
152442
|
+
ComAtprotoServerCheckAccountStatus: {
|
|
152443
|
+
lexicon: 1,
|
|
152444
|
+
id: "com.atproto.server.checkAccountStatus",
|
|
152445
|
+
defs: {
|
|
152446
|
+
main: {
|
|
152447
|
+
type: "query",
|
|
152448
|
+
description: "Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.",
|
|
152449
|
+
output: {
|
|
152450
|
+
encoding: "application/json",
|
|
152451
|
+
schema: {
|
|
152452
|
+
type: "object",
|
|
152453
|
+
required: [
|
|
152454
|
+
"activated",
|
|
152455
|
+
"validDid",
|
|
152456
|
+
"repoCommit",
|
|
152457
|
+
"repoRev",
|
|
152458
|
+
"repoBlocks",
|
|
152459
|
+
"indexedRecords",
|
|
152460
|
+
"privateStateValues",
|
|
152461
|
+
"expectedBlobs",
|
|
152462
|
+
"importedBlobs"
|
|
152463
|
+
],
|
|
152464
|
+
properties: {
|
|
152465
|
+
activated: {
|
|
152466
|
+
type: "boolean"
|
|
152467
|
+
},
|
|
152468
|
+
validDid: {
|
|
152469
|
+
type: "boolean"
|
|
152470
|
+
},
|
|
152471
|
+
repoCommit: {
|
|
152472
|
+
type: "string",
|
|
152473
|
+
format: "cid"
|
|
152474
|
+
},
|
|
152475
|
+
repoRev: {
|
|
152476
|
+
type: "string"
|
|
152477
|
+
},
|
|
152478
|
+
repoBlocks: {
|
|
152479
|
+
type: "integer"
|
|
152480
|
+
},
|
|
152481
|
+
indexedRecords: {
|
|
152482
|
+
type: "integer"
|
|
152483
|
+
},
|
|
152484
|
+
privateStateValues: {
|
|
152485
|
+
type: "integer"
|
|
152486
|
+
},
|
|
152487
|
+
expectedBlobs: {
|
|
152488
|
+
type: "integer"
|
|
152489
|
+
},
|
|
152490
|
+
importedBlobs: {
|
|
152491
|
+
type: "integer"
|
|
152492
|
+
}
|
|
152493
|
+
}
|
|
152494
|
+
}
|
|
152495
|
+
}
|
|
152496
|
+
}
|
|
152497
|
+
}
|
|
152498
|
+
},
|
|
152240
152499
|
ComAtprotoServerConfirmEmail: {
|
|
152241
152500
|
lexicon: 1,
|
|
152242
152501
|
id: "com.atproto.server.confirmEmail",
|
|
@@ -152597,6 +152856,29 @@ var schemaDict = {
|
|
|
152597
152856
|
}
|
|
152598
152857
|
}
|
|
152599
152858
|
},
|
|
152859
|
+
ComAtprotoServerDeactivateAccount: {
|
|
152860
|
+
lexicon: 1,
|
|
152861
|
+
id: "com.atproto.server.deactivateAccount",
|
|
152862
|
+
defs: {
|
|
152863
|
+
main: {
|
|
152864
|
+
type: "procedure",
|
|
152865
|
+
description: "Deactivates a currently active account. Stops serving of repo, and future writes to repo until reactivated. Used to finalize account migration with the old host after the account has been activated on the new host.",
|
|
152866
|
+
input: {
|
|
152867
|
+
encoding: "application/json",
|
|
152868
|
+
schema: {
|
|
152869
|
+
type: "object",
|
|
152870
|
+
properties: {
|
|
152871
|
+
deleteAfter: {
|
|
152872
|
+
type: "string",
|
|
152873
|
+
format: "datetime",
|
|
152874
|
+
description: "A recommendation to server as to how long they should hold onto the deactivated account before deleting."
|
|
152875
|
+
}
|
|
152876
|
+
}
|
|
152877
|
+
}
|
|
152878
|
+
}
|
|
152879
|
+
}
|
|
152880
|
+
}
|
|
152881
|
+
},
|
|
152600
152882
|
ComAtprotoServerDefs: {
|
|
152601
152883
|
lexicon: 1,
|
|
152602
152884
|
id: "com.atproto.server.defs",
|
|
@@ -152715,7 +152997,7 @@ var schemaDict = {
|
|
|
152715
152997
|
encoding: "application/json",
|
|
152716
152998
|
schema: {
|
|
152717
152999
|
type: "object",
|
|
152718
|
-
required: ["availableUserDomains"],
|
|
153000
|
+
required: ["did", "availableUserDomains"],
|
|
152719
153001
|
properties: {
|
|
152720
153002
|
inviteCodeRequired: {
|
|
152721
153003
|
type: "boolean",
|
|
@@ -152736,6 +153018,10 @@ var schemaDict = {
|
|
|
152736
153018
|
type: "ref",
|
|
152737
153019
|
description: "URLs of service policy documents.",
|
|
152738
153020
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
153021
|
+
},
|
|
153022
|
+
did: {
|
|
153023
|
+
type: "string",
|
|
153024
|
+
format: "did"
|
|
152739
153025
|
}
|
|
152740
153026
|
}
|
|
152741
153027
|
}
|
|
@@ -152799,6 +153085,39 @@ var schemaDict = {
|
|
|
152799
153085
|
}
|
|
152800
153086
|
}
|
|
152801
153087
|
},
|
|
153088
|
+
ComAtprotoServerGetServiceAuth: {
|
|
153089
|
+
lexicon: 1,
|
|
153090
|
+
id: "com.atproto.server.getServiceAuth",
|
|
153091
|
+
defs: {
|
|
153092
|
+
main: {
|
|
153093
|
+
type: "query",
|
|
153094
|
+
description: "Get a signed token on behalf of the requesting DID for the requested service.",
|
|
153095
|
+
parameters: {
|
|
153096
|
+
type: "params",
|
|
153097
|
+
required: ["aud"],
|
|
153098
|
+
properties: {
|
|
153099
|
+
aud: {
|
|
153100
|
+
type: "string",
|
|
153101
|
+
format: "did",
|
|
153102
|
+
description: "The DID of the service that the token will be used to authenticate with"
|
|
153103
|
+
}
|
|
153104
|
+
}
|
|
153105
|
+
},
|
|
153106
|
+
output: {
|
|
153107
|
+
encoding: "application/json",
|
|
153108
|
+
schema: {
|
|
153109
|
+
type: "object",
|
|
153110
|
+
required: ["token"],
|
|
153111
|
+
properties: {
|
|
153112
|
+
token: {
|
|
153113
|
+
type: "string"
|
|
153114
|
+
}
|
|
153115
|
+
}
|
|
153116
|
+
}
|
|
153117
|
+
}
|
|
153118
|
+
}
|
|
153119
|
+
}
|
|
153120
|
+
},
|
|
152802
153121
|
ComAtprotoServerGetSession: {
|
|
152803
153122
|
lexicon: 1,
|
|
152804
153123
|
id: "com.atproto.server.getSession",
|
|
@@ -153523,6 +153842,7 @@ var schemaDict = {
|
|
|
153523
153842
|
type: "union",
|
|
153524
153843
|
refs: [
|
|
153525
153844
|
"lex:com.atproto.sync.subscribeRepos#commit",
|
|
153845
|
+
"lex:com.atproto.sync.subscribeRepos#identity",
|
|
153526
153846
|
"lex:com.atproto.sync.subscribeRepos#handle",
|
|
153527
153847
|
"lex:com.atproto.sync.subscribeRepos#migrate",
|
|
153528
153848
|
"lex:com.atproto.sync.subscribeRepos#tombstone",
|
|
@@ -153619,9 +153939,27 @@ var schemaDict = {
|
|
|
153619
153939
|
}
|
|
153620
153940
|
}
|
|
153621
153941
|
},
|
|
153942
|
+
identity: {
|
|
153943
|
+
type: "object",
|
|
153944
|
+
description: "Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
|
|
153945
|
+
required: ["seq", "did", "time"],
|
|
153946
|
+
properties: {
|
|
153947
|
+
seq: {
|
|
153948
|
+
type: "integer"
|
|
153949
|
+
},
|
|
153950
|
+
did: {
|
|
153951
|
+
type: "string",
|
|
153952
|
+
format: "did"
|
|
153953
|
+
},
|
|
153954
|
+
time: {
|
|
153955
|
+
type: "string",
|
|
153956
|
+
format: "datetime"
|
|
153957
|
+
}
|
|
153958
|
+
}
|
|
153959
|
+
},
|
|
153622
153960
|
handle: {
|
|
153623
153961
|
type: "object",
|
|
153624
|
-
description: "Represents an update of the account's handle, or transition to/from invalid state.",
|
|
153962
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
|
|
153625
153963
|
required: ["seq", "did", "handle", "time"],
|
|
153626
153964
|
properties: {
|
|
153627
153965
|
seq: {
|
|
@@ -153643,7 +153981,7 @@ var schemaDict = {
|
|
|
153643
153981
|
},
|
|
153644
153982
|
migrate: {
|
|
153645
153983
|
type: "object",
|
|
153646
|
-
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented;
|
|
153984
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead",
|
|
153647
153985
|
required: ["seq", "did", "migrateTo", "time"],
|
|
153648
153986
|
nullable: ["migrateTo"],
|
|
153649
153987
|
properties: {
|
|
@@ -153665,7 +154003,7 @@ var schemaDict = {
|
|
|
153665
154003
|
},
|
|
153666
154004
|
tombstone: {
|
|
153667
154005
|
type: "object",
|
|
153668
|
-
description: "Indicates that an account has been deleted.",
|
|
154006
|
+
description: "Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event",
|
|
153669
154007
|
required: ["seq", "did", "time"],
|
|
153670
154008
|
properties: {
|
|
153671
154009
|
seq: {
|
|
@@ -153783,57 +154121,6 @@ var schemaDict = {
|
|
|
153783
154121
|
}
|
|
153784
154122
|
}
|
|
153785
154123
|
},
|
|
153786
|
-
ComAtprotoTempImportRepo: {
|
|
153787
|
-
lexicon: 1,
|
|
153788
|
-
id: "com.atproto.temp.importRepo",
|
|
153789
|
-
defs: {
|
|
153790
|
-
main: {
|
|
153791
|
-
type: "procedure",
|
|
153792
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
153793
|
-
parameters: {
|
|
153794
|
-
type: "params",
|
|
153795
|
-
required: ["did"],
|
|
153796
|
-
properties: {
|
|
153797
|
-
did: {
|
|
153798
|
-
type: "string",
|
|
153799
|
-
format: "did",
|
|
153800
|
-
description: "The DID of the repo."
|
|
153801
|
-
}
|
|
153802
|
-
}
|
|
153803
|
-
},
|
|
153804
|
-
input: {
|
|
153805
|
-
encoding: "application/vnd.ipld.car"
|
|
153806
|
-
},
|
|
153807
|
-
output: {
|
|
153808
|
-
encoding: "text/plain"
|
|
153809
|
-
}
|
|
153810
|
-
}
|
|
153811
|
-
}
|
|
153812
|
-
},
|
|
153813
|
-
ComAtprotoTempPushBlob: {
|
|
153814
|
-
lexicon: 1,
|
|
153815
|
-
id: "com.atproto.temp.pushBlob",
|
|
153816
|
-
defs: {
|
|
153817
|
-
main: {
|
|
153818
|
-
type: "procedure",
|
|
153819
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
153820
|
-
parameters: {
|
|
153821
|
-
type: "params",
|
|
153822
|
-
required: ["did"],
|
|
153823
|
-
properties: {
|
|
153824
|
-
did: {
|
|
153825
|
-
type: "string",
|
|
153826
|
-
format: "did",
|
|
153827
|
-
description: "The DID of the repo."
|
|
153828
|
-
}
|
|
153829
|
-
}
|
|
153830
|
-
},
|
|
153831
|
-
input: {
|
|
153832
|
-
encoding: "*/*"
|
|
153833
|
-
}
|
|
153834
|
-
}
|
|
153835
|
-
}
|
|
153836
|
-
},
|
|
153837
154124
|
ComAtprotoTempRequestPhoneVerification: {
|
|
153838
154125
|
lexicon: 1,
|
|
153839
154126
|
id: "com.atproto.temp.requestPhoneVerification",
|
|
@@ -153856,82 +154143,6 @@ var schemaDict = {
|
|
|
153856
154143
|
}
|
|
153857
154144
|
}
|
|
153858
154145
|
},
|
|
153859
|
-
ComAtprotoTempTransferAccount: {
|
|
153860
|
-
lexicon: 1,
|
|
153861
|
-
id: "com.atproto.temp.transferAccount",
|
|
153862
|
-
defs: {
|
|
153863
|
-
main: {
|
|
153864
|
-
type: "procedure",
|
|
153865
|
-
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
153866
|
-
input: {
|
|
153867
|
-
encoding: "application/json",
|
|
153868
|
-
schema: {
|
|
153869
|
-
type: "object",
|
|
153870
|
-
required: ["handle", "did", "plcOp"],
|
|
153871
|
-
properties: {
|
|
153872
|
-
handle: {
|
|
153873
|
-
type: "string",
|
|
153874
|
-
format: "handle"
|
|
153875
|
-
},
|
|
153876
|
-
did: {
|
|
153877
|
-
type: "string",
|
|
153878
|
-
format: "did"
|
|
153879
|
-
},
|
|
153880
|
-
plcOp: {
|
|
153881
|
-
type: "unknown"
|
|
153882
|
-
}
|
|
153883
|
-
}
|
|
153884
|
-
}
|
|
153885
|
-
},
|
|
153886
|
-
output: {
|
|
153887
|
-
encoding: "application/json",
|
|
153888
|
-
schema: {
|
|
153889
|
-
type: "object",
|
|
153890
|
-
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
153891
|
-
properties: {
|
|
153892
|
-
accessJwt: {
|
|
153893
|
-
type: "string"
|
|
153894
|
-
},
|
|
153895
|
-
refreshJwt: {
|
|
153896
|
-
type: "string"
|
|
153897
|
-
},
|
|
153898
|
-
handle: {
|
|
153899
|
-
type: "string",
|
|
153900
|
-
format: "handle"
|
|
153901
|
-
},
|
|
153902
|
-
did: {
|
|
153903
|
-
type: "string",
|
|
153904
|
-
format: "did"
|
|
153905
|
-
}
|
|
153906
|
-
}
|
|
153907
|
-
}
|
|
153908
|
-
},
|
|
153909
|
-
errors: [
|
|
153910
|
-
{
|
|
153911
|
-
name: "InvalidHandle"
|
|
153912
|
-
},
|
|
153913
|
-
{
|
|
153914
|
-
name: "InvalidPassword"
|
|
153915
|
-
},
|
|
153916
|
-
{
|
|
153917
|
-
name: "InvalidInviteCode"
|
|
153918
|
-
},
|
|
153919
|
-
{
|
|
153920
|
-
name: "HandleNotAvailable"
|
|
153921
|
-
},
|
|
153922
|
-
{
|
|
153923
|
-
name: "UnsupportedDomain"
|
|
153924
|
-
},
|
|
153925
|
-
{
|
|
153926
|
-
name: "UnresolvableDid"
|
|
153927
|
-
},
|
|
153928
|
-
{
|
|
153929
|
-
name: "IncompatibleDidDoc"
|
|
153930
|
-
}
|
|
153931
|
-
]
|
|
153932
|
-
}
|
|
153933
|
-
}
|
|
153934
|
-
},
|
|
153935
154146
|
AppBskyActorDefs: {
|
|
153936
154147
|
lexicon: 1,
|
|
153937
154148
|
id: "app.bsky.actor.defs",
|
|
@@ -154227,6 +154438,61 @@ var schemaDict = {
|
|
|
154227
154438
|
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
154228
154439
|
}
|
|
154229
154440
|
}
|
|
154441
|
+
},
|
|
154442
|
+
mutedWordTarget: {
|
|
154443
|
+
type: "string",
|
|
154444
|
+
knownValues: ["content", "tag"],
|
|
154445
|
+
maxLength: 640,
|
|
154446
|
+
maxGraphemes: 64
|
|
154447
|
+
},
|
|
154448
|
+
mutedWord: {
|
|
154449
|
+
type: "object",
|
|
154450
|
+
description: "A word that the account owner has muted.",
|
|
154451
|
+
required: ["value", "targets"],
|
|
154452
|
+
properties: {
|
|
154453
|
+
value: {
|
|
154454
|
+
type: "string",
|
|
154455
|
+
description: "The muted word itself.",
|
|
154456
|
+
maxLength: 1e4,
|
|
154457
|
+
maxGraphemes: 1e3
|
|
154458
|
+
},
|
|
154459
|
+
targets: {
|
|
154460
|
+
type: "array",
|
|
154461
|
+
description: "The intended targets of the muted word.",
|
|
154462
|
+
items: {
|
|
154463
|
+
type: "ref",
|
|
154464
|
+
ref: "lex:app.bsky.actor.defs#mutedWordTarget"
|
|
154465
|
+
}
|
|
154466
|
+
}
|
|
154467
|
+
}
|
|
154468
|
+
},
|
|
154469
|
+
mutedWordsPref: {
|
|
154470
|
+
type: "object",
|
|
154471
|
+
required: ["items"],
|
|
154472
|
+
properties: {
|
|
154473
|
+
items: {
|
|
154474
|
+
type: "array",
|
|
154475
|
+
items: {
|
|
154476
|
+
type: "ref",
|
|
154477
|
+
ref: "lex:app.bsky.actor.defs#mutedWord"
|
|
154478
|
+
},
|
|
154479
|
+
description: "A list of words the account owner has muted."
|
|
154480
|
+
}
|
|
154481
|
+
}
|
|
154482
|
+
},
|
|
154483
|
+
hiddenPostsPref: {
|
|
154484
|
+
type: "object",
|
|
154485
|
+
required: ["items"],
|
|
154486
|
+
properties: {
|
|
154487
|
+
items: {
|
|
154488
|
+
type: "array",
|
|
154489
|
+
items: {
|
|
154490
|
+
type: "string",
|
|
154491
|
+
format: "at-uri"
|
|
154492
|
+
},
|
|
154493
|
+
description: "A list of URIs of posts the account owner has hidden."
|
|
154494
|
+
}
|
|
154495
|
+
}
|
|
154230
154496
|
}
|
|
154231
154497
|
}
|
|
154232
154498
|
},
|
|
@@ -156093,7 +156359,7 @@ var schemaDict = {
|
|
|
156093
156359
|
},
|
|
156094
156360
|
tags: {
|
|
156095
156361
|
type: "array",
|
|
156096
|
-
description: "Additional
|
|
156362
|
+
description: "Additional hashtags, in addition to any included in post text and facets.",
|
|
156097
156363
|
maxLength: 8,
|
|
156098
156364
|
items: {
|
|
156099
156365
|
type: "string",
|
|
@@ -157892,41 +158158,69 @@ function toKnownErr23(e) {
|
|
|
157892
158158
|
return e;
|
|
157893
158159
|
}
|
|
157894
158160
|
|
|
157895
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
158161
|
+
// ../api/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
|
|
157896
158162
|
function toKnownErr24(e) {
|
|
157897
158163
|
if (e instanceof XRPCError) {
|
|
157898
158164
|
}
|
|
157899
158165
|
return e;
|
|
157900
158166
|
}
|
|
157901
158167
|
|
|
157902
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
158168
|
+
// ../api/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
|
|
157903
158169
|
function toKnownErr25(e) {
|
|
157904
158170
|
if (e instanceof XRPCError) {
|
|
157905
158171
|
}
|
|
157906
158172
|
return e;
|
|
157907
158173
|
}
|
|
157908
158174
|
|
|
157909
|
-
// ../api/src/client/types/com/atproto/
|
|
158175
|
+
// ../api/src/client/types/com/atproto/identity/resolveHandle.ts
|
|
157910
158176
|
function toKnownErr26(e) {
|
|
157911
158177
|
if (e instanceof XRPCError) {
|
|
157912
158178
|
}
|
|
157913
158179
|
return e;
|
|
157914
158180
|
}
|
|
157915
158181
|
|
|
157916
|
-
// ../api/src/client/types/com/atproto/
|
|
158182
|
+
// ../api/src/client/types/com/atproto/identity/signPlcOperation.ts
|
|
157917
158183
|
function toKnownErr27(e) {
|
|
157918
158184
|
if (e instanceof XRPCError) {
|
|
157919
158185
|
}
|
|
157920
158186
|
return e;
|
|
157921
158187
|
}
|
|
157922
158188
|
|
|
158189
|
+
// ../api/src/client/types/com/atproto/identity/submitPlcOperation.ts
|
|
158190
|
+
function toKnownErr28(e) {
|
|
158191
|
+
if (e instanceof XRPCError) {
|
|
158192
|
+
}
|
|
158193
|
+
return e;
|
|
158194
|
+
}
|
|
158195
|
+
|
|
158196
|
+
// ../api/src/client/types/com/atproto/identity/updateHandle.ts
|
|
158197
|
+
function toKnownErr29(e) {
|
|
158198
|
+
if (e instanceof XRPCError) {
|
|
158199
|
+
}
|
|
158200
|
+
return e;
|
|
158201
|
+
}
|
|
158202
|
+
|
|
158203
|
+
// ../api/src/client/types/com/atproto/label/queryLabels.ts
|
|
158204
|
+
function toKnownErr30(e) {
|
|
158205
|
+
if (e instanceof XRPCError) {
|
|
158206
|
+
}
|
|
158207
|
+
return e;
|
|
158208
|
+
}
|
|
158209
|
+
|
|
158210
|
+
// ../api/src/client/types/com/atproto/moderation/createReport.ts
|
|
158211
|
+
function toKnownErr31(e) {
|
|
158212
|
+
if (e instanceof XRPCError) {
|
|
158213
|
+
}
|
|
158214
|
+
return e;
|
|
158215
|
+
}
|
|
158216
|
+
|
|
157923
158217
|
// ../api/src/client/types/com/atproto/repo/applyWrites.ts
|
|
157924
158218
|
var InvalidSwapError = class extends XRPCError {
|
|
157925
158219
|
constructor(src3) {
|
|
157926
158220
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
157927
158221
|
}
|
|
157928
158222
|
};
|
|
157929
|
-
function
|
|
158223
|
+
function toKnownErr32(e) {
|
|
157930
158224
|
if (e instanceof XRPCError) {
|
|
157931
158225
|
if (e.error === "InvalidSwap")
|
|
157932
158226
|
return new InvalidSwapError(e);
|
|
@@ -157940,7 +158234,7 @@ var InvalidSwapError2 = class extends XRPCError {
|
|
|
157940
158234
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
157941
158235
|
}
|
|
157942
158236
|
};
|
|
157943
|
-
function
|
|
158237
|
+
function toKnownErr33(e) {
|
|
157944
158238
|
if (e instanceof XRPCError) {
|
|
157945
158239
|
if (e.error === "InvalidSwap")
|
|
157946
158240
|
return new InvalidSwapError2(e);
|
|
@@ -157954,7 +158248,7 @@ var InvalidSwapError3 = class extends XRPCError {
|
|
|
157954
158248
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
157955
158249
|
}
|
|
157956
158250
|
};
|
|
157957
|
-
function
|
|
158251
|
+
function toKnownErr34(e) {
|
|
157958
158252
|
if (e instanceof XRPCError) {
|
|
157959
158253
|
if (e.error === "InvalidSwap")
|
|
157960
158254
|
return new InvalidSwapError3(e);
|
|
@@ -157963,21 +158257,35 @@ function toKnownErr30(e) {
|
|
|
157963
158257
|
}
|
|
157964
158258
|
|
|
157965
158259
|
// ../api/src/client/types/com/atproto/repo/describeRepo.ts
|
|
157966
|
-
function
|
|
158260
|
+
function toKnownErr35(e) {
|
|
157967
158261
|
if (e instanceof XRPCError) {
|
|
157968
158262
|
}
|
|
157969
158263
|
return e;
|
|
157970
158264
|
}
|
|
157971
158265
|
|
|
157972
158266
|
// ../api/src/client/types/com/atproto/repo/getRecord.ts
|
|
157973
|
-
function
|
|
158267
|
+
function toKnownErr36(e) {
|
|
158268
|
+
if (e instanceof XRPCError) {
|
|
158269
|
+
}
|
|
158270
|
+
return e;
|
|
158271
|
+
}
|
|
158272
|
+
|
|
158273
|
+
// ../api/src/client/types/com/atproto/repo/importRepo.ts
|
|
158274
|
+
function toKnownErr37(e) {
|
|
158275
|
+
if (e instanceof XRPCError) {
|
|
158276
|
+
}
|
|
158277
|
+
return e;
|
|
158278
|
+
}
|
|
158279
|
+
|
|
158280
|
+
// ../api/src/client/types/com/atproto/repo/listMissingBlobs.ts
|
|
158281
|
+
function toKnownErr38(e) {
|
|
157974
158282
|
if (e instanceof XRPCError) {
|
|
157975
158283
|
}
|
|
157976
158284
|
return e;
|
|
157977
158285
|
}
|
|
157978
158286
|
|
|
157979
158287
|
// ../api/src/client/types/com/atproto/repo/listRecords.ts
|
|
157980
|
-
function
|
|
158288
|
+
function toKnownErr39(e) {
|
|
157981
158289
|
if (e instanceof XRPCError) {
|
|
157982
158290
|
}
|
|
157983
158291
|
return e;
|
|
@@ -157989,7 +158297,7 @@ var InvalidSwapError4 = class extends XRPCError {
|
|
|
157989
158297
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
157990
158298
|
}
|
|
157991
158299
|
};
|
|
157992
|
-
function
|
|
158300
|
+
function toKnownErr40(e) {
|
|
157993
158301
|
if (e instanceof XRPCError) {
|
|
157994
158302
|
if (e.error === "InvalidSwap")
|
|
157995
158303
|
return new InvalidSwapError4(e);
|
|
@@ -157998,7 +158306,21 @@ function toKnownErr34(e) {
|
|
|
157998
158306
|
}
|
|
157999
158307
|
|
|
158000
158308
|
// ../api/src/client/types/com/atproto/repo/uploadBlob.ts
|
|
158001
|
-
function
|
|
158309
|
+
function toKnownErr41(e) {
|
|
158310
|
+
if (e instanceof XRPCError) {
|
|
158311
|
+
}
|
|
158312
|
+
return e;
|
|
158313
|
+
}
|
|
158314
|
+
|
|
158315
|
+
// ../api/src/client/types/com/atproto/server/activateAccount.ts
|
|
158316
|
+
function toKnownErr42(e) {
|
|
158317
|
+
if (e instanceof XRPCError) {
|
|
158318
|
+
}
|
|
158319
|
+
return e;
|
|
158320
|
+
}
|
|
158321
|
+
|
|
158322
|
+
// ../api/src/client/types/com/atproto/server/checkAccountStatus.ts
|
|
158323
|
+
function toKnownErr43(e) {
|
|
158002
158324
|
if (e instanceof XRPCError) {
|
|
158003
158325
|
}
|
|
158004
158326
|
return e;
|
|
@@ -158025,7 +158347,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
158025
158347
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158026
158348
|
}
|
|
158027
158349
|
};
|
|
158028
|
-
function
|
|
158350
|
+
function toKnownErr44(e) {
|
|
158029
158351
|
if (e instanceof XRPCError) {
|
|
158030
158352
|
if (e.error === "AccountNotFound")
|
|
158031
158353
|
return new AccountNotFoundError(e);
|
|
@@ -158075,7 +158397,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
158075
158397
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158076
158398
|
}
|
|
158077
158399
|
};
|
|
158078
|
-
function
|
|
158400
|
+
function toKnownErr45(e) {
|
|
158079
158401
|
if (e instanceof XRPCError) {
|
|
158080
158402
|
if (e.error === "InvalidHandle")
|
|
158081
158403
|
return new InvalidHandleError2(e);
|
|
@@ -158101,7 +158423,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
158101
158423
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158102
158424
|
}
|
|
158103
158425
|
};
|
|
158104
|
-
function
|
|
158426
|
+
function toKnownErr46(e) {
|
|
158105
158427
|
if (e instanceof XRPCError) {
|
|
158106
158428
|
if (e.error === "AccountTakedown")
|
|
158107
158429
|
return new AccountTakedownError(e);
|
|
@@ -158110,14 +158432,14 @@ function toKnownErr38(e) {
|
|
|
158110
158432
|
}
|
|
158111
158433
|
|
|
158112
158434
|
// ../api/src/client/types/com/atproto/server/createInviteCode.ts
|
|
158113
|
-
function
|
|
158435
|
+
function toKnownErr47(e) {
|
|
158114
158436
|
if (e instanceof XRPCError) {
|
|
158115
158437
|
}
|
|
158116
158438
|
return e;
|
|
158117
158439
|
}
|
|
158118
158440
|
|
|
158119
158441
|
// ../api/src/client/types/com/atproto/server/createInviteCodes.ts
|
|
158120
|
-
function
|
|
158442
|
+
function toKnownErr48(e) {
|
|
158121
158443
|
if (e instanceof XRPCError) {
|
|
158122
158444
|
}
|
|
158123
158445
|
return e;
|
|
@@ -158129,7 +158451,7 @@ var AccountTakedownError2 = class extends XRPCError {
|
|
|
158129
158451
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158130
158452
|
}
|
|
158131
158453
|
};
|
|
158132
|
-
function
|
|
158454
|
+
function toKnownErr49(e) {
|
|
158133
158455
|
if (e instanceof XRPCError) {
|
|
158134
158456
|
if (e.error === "AccountTakedown")
|
|
158135
158457
|
return new AccountTakedownError2(e);
|
|
@@ -158137,6 +158459,13 @@ function toKnownErr41(e) {
|
|
|
158137
158459
|
return e;
|
|
158138
158460
|
}
|
|
158139
158461
|
|
|
158462
|
+
// ../api/src/client/types/com/atproto/server/deactivateAccount.ts
|
|
158463
|
+
function toKnownErr50(e) {
|
|
158464
|
+
if (e instanceof XRPCError) {
|
|
158465
|
+
}
|
|
158466
|
+
return e;
|
|
158467
|
+
}
|
|
158468
|
+
|
|
158140
158469
|
// ../api/src/client/types/com/atproto/server/deleteAccount.ts
|
|
158141
158470
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
158142
158471
|
constructor(src3) {
|
|
@@ -158148,7 +158477,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
158148
158477
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158149
158478
|
}
|
|
158150
158479
|
};
|
|
158151
|
-
function
|
|
158480
|
+
function toKnownErr51(e) {
|
|
158152
158481
|
if (e instanceof XRPCError) {
|
|
158153
158482
|
if (e.error === "ExpiredToken")
|
|
158154
158483
|
return new ExpiredTokenError2(e);
|
|
@@ -158159,14 +158488,14 @@ function toKnownErr42(e) {
|
|
|
158159
158488
|
}
|
|
158160
158489
|
|
|
158161
158490
|
// ../api/src/client/types/com/atproto/server/deleteSession.ts
|
|
158162
|
-
function
|
|
158491
|
+
function toKnownErr52(e) {
|
|
158163
158492
|
if (e instanceof XRPCError) {
|
|
158164
158493
|
}
|
|
158165
158494
|
return e;
|
|
158166
158495
|
}
|
|
158167
158496
|
|
|
158168
158497
|
// ../api/src/client/types/com/atproto/server/describeServer.ts
|
|
158169
|
-
function
|
|
158498
|
+
function toKnownErr53(e) {
|
|
158170
158499
|
if (e instanceof XRPCError) {
|
|
158171
158500
|
}
|
|
158172
158501
|
return e;
|
|
@@ -158178,7 +158507,7 @@ var DuplicateCreateError = class extends XRPCError {
|
|
|
158178
158507
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158179
158508
|
}
|
|
158180
158509
|
};
|
|
158181
|
-
function
|
|
158510
|
+
function toKnownErr54(e) {
|
|
158182
158511
|
if (e instanceof XRPCError) {
|
|
158183
158512
|
if (e.error === "DuplicateCreate")
|
|
158184
158513
|
return new DuplicateCreateError(e);
|
|
@@ -158186,8 +158515,15 @@ function toKnownErr45(e) {
|
|
|
158186
158515
|
return e;
|
|
158187
158516
|
}
|
|
158188
158517
|
|
|
158518
|
+
// ../api/src/client/types/com/atproto/server/getServiceAuth.ts
|
|
158519
|
+
function toKnownErr55(e) {
|
|
158520
|
+
if (e instanceof XRPCError) {
|
|
158521
|
+
}
|
|
158522
|
+
return e;
|
|
158523
|
+
}
|
|
158524
|
+
|
|
158189
158525
|
// ../api/src/client/types/com/atproto/server/getSession.ts
|
|
158190
|
-
function
|
|
158526
|
+
function toKnownErr56(e) {
|
|
158191
158527
|
if (e instanceof XRPCError) {
|
|
158192
158528
|
}
|
|
158193
158529
|
return e;
|
|
@@ -158199,7 +158535,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
158199
158535
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158200
158536
|
}
|
|
158201
158537
|
};
|
|
158202
|
-
function
|
|
158538
|
+
function toKnownErr57(e) {
|
|
158203
158539
|
if (e instanceof XRPCError) {
|
|
158204
158540
|
if (e.error === "AccountTakedown")
|
|
158205
158541
|
return new AccountTakedownError3(e);
|
|
@@ -158213,7 +158549,7 @@ var AccountTakedownError4 = class extends XRPCError {
|
|
|
158213
158549
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158214
158550
|
}
|
|
158215
158551
|
};
|
|
158216
|
-
function
|
|
158552
|
+
function toKnownErr58(e) {
|
|
158217
158553
|
if (e instanceof XRPCError) {
|
|
158218
158554
|
if (e.error === "AccountTakedown")
|
|
158219
158555
|
return new AccountTakedownError4(e);
|
|
@@ -158222,35 +158558,35 @@ function toKnownErr48(e) {
|
|
|
158222
158558
|
}
|
|
158223
158559
|
|
|
158224
158560
|
// ../api/src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
158225
|
-
function
|
|
158561
|
+
function toKnownErr59(e) {
|
|
158226
158562
|
if (e instanceof XRPCError) {
|
|
158227
158563
|
}
|
|
158228
158564
|
return e;
|
|
158229
158565
|
}
|
|
158230
158566
|
|
|
158231
158567
|
// ../api/src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
158232
|
-
function
|
|
158568
|
+
function toKnownErr60(e) {
|
|
158233
158569
|
if (e instanceof XRPCError) {
|
|
158234
158570
|
}
|
|
158235
158571
|
return e;
|
|
158236
158572
|
}
|
|
158237
158573
|
|
|
158238
158574
|
// ../api/src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
158239
|
-
function
|
|
158575
|
+
function toKnownErr61(e) {
|
|
158240
158576
|
if (e instanceof XRPCError) {
|
|
158241
158577
|
}
|
|
158242
158578
|
return e;
|
|
158243
158579
|
}
|
|
158244
158580
|
|
|
158245
158581
|
// ../api/src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
158246
|
-
function
|
|
158582
|
+
function toKnownErr62(e) {
|
|
158247
158583
|
if (e instanceof XRPCError) {
|
|
158248
158584
|
}
|
|
158249
158585
|
return e;
|
|
158250
158586
|
}
|
|
158251
158587
|
|
|
158252
158588
|
// ../api/src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
158253
|
-
function
|
|
158589
|
+
function toKnownErr63(e) {
|
|
158254
158590
|
if (e instanceof XRPCError) {
|
|
158255
158591
|
}
|
|
158256
158592
|
return e;
|
|
@@ -158267,7 +158603,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
158267
158603
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158268
158604
|
}
|
|
158269
158605
|
};
|
|
158270
|
-
function
|
|
158606
|
+
function toKnownErr64(e) {
|
|
158271
158607
|
if (e instanceof XRPCError) {
|
|
158272
158608
|
if (e.error === "ExpiredToken")
|
|
158273
158609
|
return new ExpiredTokenError3(e);
|
|
@@ -158278,7 +158614,7 @@ function toKnownErr54(e) {
|
|
|
158278
158614
|
}
|
|
158279
158615
|
|
|
158280
158616
|
// ../api/src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
158281
|
-
function
|
|
158617
|
+
function toKnownErr65(e) {
|
|
158282
158618
|
if (e instanceof XRPCError) {
|
|
158283
158619
|
}
|
|
158284
158620
|
return e;
|
|
@@ -158300,7 +158636,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
158300
158636
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158301
158637
|
}
|
|
158302
158638
|
};
|
|
158303
|
-
function
|
|
158639
|
+
function toKnownErr66(e) {
|
|
158304
158640
|
if (e instanceof XRPCError) {
|
|
158305
158641
|
if (e.error === "ExpiredToken")
|
|
158306
158642
|
return new ExpiredTokenError4(e);
|
|
@@ -158313,21 +158649,21 @@ function toKnownErr56(e) {
|
|
|
158313
158649
|
}
|
|
158314
158650
|
|
|
158315
158651
|
// ../api/src/client/types/com/atproto/sync/getBlob.ts
|
|
158316
|
-
function
|
|
158652
|
+
function toKnownErr67(e) {
|
|
158317
158653
|
if (e instanceof XRPCError) {
|
|
158318
158654
|
}
|
|
158319
158655
|
return e;
|
|
158320
158656
|
}
|
|
158321
158657
|
|
|
158322
158658
|
// ../api/src/client/types/com/atproto/sync/getBlocks.ts
|
|
158323
|
-
function
|
|
158659
|
+
function toKnownErr68(e) {
|
|
158324
158660
|
if (e instanceof XRPCError) {
|
|
158325
158661
|
}
|
|
158326
158662
|
return e;
|
|
158327
158663
|
}
|
|
158328
158664
|
|
|
158329
158665
|
// ../api/src/client/types/com/atproto/sync/getCheckout.ts
|
|
158330
|
-
function
|
|
158666
|
+
function toKnownErr69(e) {
|
|
158331
158667
|
if (e instanceof XRPCError) {
|
|
158332
158668
|
}
|
|
158333
158669
|
return e;
|
|
@@ -158339,7 +158675,7 @@ var HeadNotFoundError = class extends XRPCError {
|
|
|
158339
158675
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158340
158676
|
}
|
|
158341
158677
|
};
|
|
158342
|
-
function
|
|
158678
|
+
function toKnownErr70(e) {
|
|
158343
158679
|
if (e instanceof XRPCError) {
|
|
158344
158680
|
if (e.error === "HeadNotFound")
|
|
158345
158681
|
return new HeadNotFoundError(e);
|
|
@@ -158351,14 +158687,14 @@ function toKnownErr60(e) {
|
|
|
158351
158687
|
var getLatestCommit_exports = {};
|
|
158352
158688
|
__export(getLatestCommit_exports, {
|
|
158353
158689
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
158354
|
-
toKnownErr: () =>
|
|
158690
|
+
toKnownErr: () => toKnownErr71
|
|
158355
158691
|
});
|
|
158356
158692
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
158357
158693
|
constructor(src3) {
|
|
158358
158694
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158359
158695
|
}
|
|
158360
158696
|
};
|
|
158361
|
-
function
|
|
158697
|
+
function toKnownErr71(e) {
|
|
158362
158698
|
if (e instanceof XRPCError) {
|
|
158363
158699
|
if (e.error === "RepoNotFound")
|
|
158364
158700
|
return new RepoNotFoundError2(e);
|
|
@@ -158367,196 +158703,126 @@ function toKnownErr61(e) {
|
|
|
158367
158703
|
}
|
|
158368
158704
|
|
|
158369
158705
|
// ../api/src/client/types/com/atproto/sync/getRecord.ts
|
|
158370
|
-
function
|
|
158706
|
+
function toKnownErr72(e) {
|
|
158371
158707
|
if (e instanceof XRPCError) {
|
|
158372
158708
|
}
|
|
158373
158709
|
return e;
|
|
158374
158710
|
}
|
|
158375
158711
|
|
|
158376
158712
|
// ../api/src/client/types/com/atproto/sync/getRepo.ts
|
|
158377
|
-
function
|
|
158713
|
+
function toKnownErr73(e) {
|
|
158378
158714
|
if (e instanceof XRPCError) {
|
|
158379
158715
|
}
|
|
158380
158716
|
return e;
|
|
158381
158717
|
}
|
|
158382
158718
|
|
|
158383
158719
|
// ../api/src/client/types/com/atproto/sync/listBlobs.ts
|
|
158384
|
-
function
|
|
158720
|
+
function toKnownErr74(e) {
|
|
158385
158721
|
if (e instanceof XRPCError) {
|
|
158386
158722
|
}
|
|
158387
158723
|
return e;
|
|
158388
158724
|
}
|
|
158389
158725
|
|
|
158390
158726
|
// ../api/src/client/types/com/atproto/sync/listRepos.ts
|
|
158391
|
-
function
|
|
158727
|
+
function toKnownErr75(e) {
|
|
158392
158728
|
if (e instanceof XRPCError) {
|
|
158393
158729
|
}
|
|
158394
158730
|
return e;
|
|
158395
158731
|
}
|
|
158396
158732
|
|
|
158397
158733
|
// ../api/src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
158398
|
-
function
|
|
158734
|
+
function toKnownErr76(e) {
|
|
158399
158735
|
if (e instanceof XRPCError) {
|
|
158400
158736
|
}
|
|
158401
158737
|
return e;
|
|
158402
158738
|
}
|
|
158403
158739
|
|
|
158404
158740
|
// ../api/src/client/types/com/atproto/sync/requestCrawl.ts
|
|
158405
|
-
function
|
|
158741
|
+
function toKnownErr77(e) {
|
|
158406
158742
|
if (e instanceof XRPCError) {
|
|
158407
158743
|
}
|
|
158408
158744
|
return e;
|
|
158409
158745
|
}
|
|
158410
158746
|
|
|
158411
158747
|
// ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
158412
|
-
function
|
|
158748
|
+
function toKnownErr78(e) {
|
|
158413
158749
|
if (e instanceof XRPCError) {
|
|
158414
158750
|
}
|
|
158415
158751
|
return e;
|
|
158416
158752
|
}
|
|
158417
158753
|
|
|
158418
158754
|
// ../api/src/client/types/com/atproto/temp/fetchLabels.ts
|
|
158419
|
-
function
|
|
158420
|
-
if (e instanceof XRPCError) {
|
|
158421
|
-
}
|
|
158422
|
-
return e;
|
|
158423
|
-
}
|
|
158424
|
-
|
|
158425
|
-
// ../api/src/client/types/com/atproto/temp/importRepo.ts
|
|
158426
|
-
function toKnownErr70(e) {
|
|
158427
|
-
if (e instanceof XRPCError) {
|
|
158428
|
-
}
|
|
158429
|
-
return e;
|
|
158430
|
-
}
|
|
158431
|
-
|
|
158432
|
-
// ../api/src/client/types/com/atproto/temp/pushBlob.ts
|
|
158433
|
-
function toKnownErr71(e) {
|
|
158755
|
+
function toKnownErr79(e) {
|
|
158434
158756
|
if (e instanceof XRPCError) {
|
|
158435
158757
|
}
|
|
158436
158758
|
return e;
|
|
158437
158759
|
}
|
|
158438
158760
|
|
|
158439
158761
|
// ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
158440
|
-
function
|
|
158441
|
-
if (e instanceof XRPCError) {
|
|
158442
|
-
}
|
|
158443
|
-
return e;
|
|
158444
|
-
}
|
|
158445
|
-
|
|
158446
|
-
// ../api/src/client/types/com/atproto/temp/transferAccount.ts
|
|
158447
|
-
var InvalidHandleError3 = class extends XRPCError {
|
|
158448
|
-
constructor(src3) {
|
|
158449
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158450
|
-
}
|
|
158451
|
-
};
|
|
158452
|
-
var InvalidPasswordError2 = class extends XRPCError {
|
|
158453
|
-
constructor(src3) {
|
|
158454
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158455
|
-
}
|
|
158456
|
-
};
|
|
158457
|
-
var InvalidInviteCodeError2 = class extends XRPCError {
|
|
158458
|
-
constructor(src3) {
|
|
158459
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158460
|
-
}
|
|
158461
|
-
};
|
|
158462
|
-
var HandleNotAvailableError2 = class extends XRPCError {
|
|
158463
|
-
constructor(src3) {
|
|
158464
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158465
|
-
}
|
|
158466
|
-
};
|
|
158467
|
-
var UnsupportedDomainError2 = class extends XRPCError {
|
|
158468
|
-
constructor(src3) {
|
|
158469
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158470
|
-
}
|
|
158471
|
-
};
|
|
158472
|
-
var UnresolvableDidError2 = class extends XRPCError {
|
|
158473
|
-
constructor(src3) {
|
|
158474
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158475
|
-
}
|
|
158476
|
-
};
|
|
158477
|
-
var IncompatibleDidDocError2 = class extends XRPCError {
|
|
158478
|
-
constructor(src3) {
|
|
158479
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158480
|
-
}
|
|
158481
|
-
};
|
|
158482
|
-
function toKnownErr73(e) {
|
|
158762
|
+
function toKnownErr80(e) {
|
|
158483
158763
|
if (e instanceof XRPCError) {
|
|
158484
|
-
if (e.error === "InvalidHandle")
|
|
158485
|
-
return new InvalidHandleError3(e);
|
|
158486
|
-
if (e.error === "InvalidPassword")
|
|
158487
|
-
return new InvalidPasswordError2(e);
|
|
158488
|
-
if (e.error === "InvalidInviteCode")
|
|
158489
|
-
return new InvalidInviteCodeError2(e);
|
|
158490
|
-
if (e.error === "HandleNotAvailable")
|
|
158491
|
-
return new HandleNotAvailableError2(e);
|
|
158492
|
-
if (e.error === "UnsupportedDomain")
|
|
158493
|
-
return new UnsupportedDomainError2(e);
|
|
158494
|
-
if (e.error === "UnresolvableDid")
|
|
158495
|
-
return new UnresolvableDidError2(e);
|
|
158496
|
-
if (e.error === "IncompatibleDidDoc")
|
|
158497
|
-
return new IncompatibleDidDocError2(e);
|
|
158498
158764
|
}
|
|
158499
158765
|
return e;
|
|
158500
158766
|
}
|
|
158501
158767
|
|
|
158502
158768
|
// ../api/src/client/types/app/bsky/actor/getPreferences.ts
|
|
158503
|
-
function
|
|
158769
|
+
function toKnownErr81(e) {
|
|
158504
158770
|
if (e instanceof XRPCError) {
|
|
158505
158771
|
}
|
|
158506
158772
|
return e;
|
|
158507
158773
|
}
|
|
158508
158774
|
|
|
158509
158775
|
// ../api/src/client/types/app/bsky/actor/getProfile.ts
|
|
158510
|
-
function
|
|
158776
|
+
function toKnownErr82(e) {
|
|
158511
158777
|
if (e instanceof XRPCError) {
|
|
158512
158778
|
}
|
|
158513
158779
|
return e;
|
|
158514
158780
|
}
|
|
158515
158781
|
|
|
158516
158782
|
// ../api/src/client/types/app/bsky/actor/getProfiles.ts
|
|
158517
|
-
function
|
|
158783
|
+
function toKnownErr83(e) {
|
|
158518
158784
|
if (e instanceof XRPCError) {
|
|
158519
158785
|
}
|
|
158520
158786
|
return e;
|
|
158521
158787
|
}
|
|
158522
158788
|
|
|
158523
158789
|
// ../api/src/client/types/app/bsky/actor/getSuggestions.ts
|
|
158524
|
-
function
|
|
158790
|
+
function toKnownErr84(e) {
|
|
158525
158791
|
if (e instanceof XRPCError) {
|
|
158526
158792
|
}
|
|
158527
158793
|
return e;
|
|
158528
158794
|
}
|
|
158529
158795
|
|
|
158530
158796
|
// ../api/src/client/types/app/bsky/actor/putPreferences.ts
|
|
158531
|
-
function
|
|
158797
|
+
function toKnownErr85(e) {
|
|
158532
158798
|
if (e instanceof XRPCError) {
|
|
158533
158799
|
}
|
|
158534
158800
|
return e;
|
|
158535
158801
|
}
|
|
158536
158802
|
|
|
158537
158803
|
// ../api/src/client/types/app/bsky/actor/searchActors.ts
|
|
158538
|
-
function
|
|
158804
|
+
function toKnownErr86(e) {
|
|
158539
158805
|
if (e instanceof XRPCError) {
|
|
158540
158806
|
}
|
|
158541
158807
|
return e;
|
|
158542
158808
|
}
|
|
158543
158809
|
|
|
158544
158810
|
// ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
158545
|
-
function
|
|
158811
|
+
function toKnownErr87(e) {
|
|
158546
158812
|
if (e instanceof XRPCError) {
|
|
158547
158813
|
}
|
|
158548
158814
|
return e;
|
|
158549
158815
|
}
|
|
158550
158816
|
|
|
158551
158817
|
// ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
|
|
158552
|
-
function
|
|
158818
|
+
function toKnownErr88(e) {
|
|
158553
158819
|
if (e instanceof XRPCError) {
|
|
158554
158820
|
}
|
|
158555
158821
|
return e;
|
|
158556
158822
|
}
|
|
158557
158823
|
|
|
158558
158824
|
// ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
158559
|
-
function
|
|
158825
|
+
function toKnownErr89(e) {
|
|
158560
158826
|
if (e instanceof XRPCError) {
|
|
158561
158827
|
}
|
|
158562
158828
|
return e;
|
|
@@ -158573,7 +158839,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
158573
158839
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158574
158840
|
}
|
|
158575
158841
|
};
|
|
158576
|
-
function
|
|
158842
|
+
function toKnownErr90(e) {
|
|
158577
158843
|
if (e instanceof XRPCError) {
|
|
158578
158844
|
if (e.error === "BlockedActor")
|
|
158579
158845
|
return new BlockedActorError(e);
|
|
@@ -158594,7 +158860,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
158594
158860
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158595
158861
|
}
|
|
158596
158862
|
};
|
|
158597
|
-
function
|
|
158863
|
+
function toKnownErr91(e) {
|
|
158598
158864
|
if (e instanceof XRPCError) {
|
|
158599
158865
|
if (e.error === "BlockedActor")
|
|
158600
158866
|
return new BlockedActorError2(e);
|
|
@@ -158610,7 +158876,7 @@ var UnknownFeedError = class extends XRPCError {
|
|
|
158610
158876
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158611
158877
|
}
|
|
158612
158878
|
};
|
|
158613
|
-
function
|
|
158879
|
+
function toKnownErr92(e) {
|
|
158614
158880
|
if (e instanceof XRPCError) {
|
|
158615
158881
|
if (e.error === "UnknownFeed")
|
|
158616
158882
|
return new UnknownFeedError(e);
|
|
@@ -158619,14 +158885,14 @@ function toKnownErr85(e) {
|
|
|
158619
158885
|
}
|
|
158620
158886
|
|
|
158621
158887
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
158622
|
-
function
|
|
158888
|
+
function toKnownErr93(e) {
|
|
158623
158889
|
if (e instanceof XRPCError) {
|
|
158624
158890
|
}
|
|
158625
158891
|
return e;
|
|
158626
158892
|
}
|
|
158627
158893
|
|
|
158628
158894
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
158629
|
-
function
|
|
158895
|
+
function toKnownErr94(e) {
|
|
158630
158896
|
if (e instanceof XRPCError) {
|
|
158631
158897
|
}
|
|
158632
158898
|
return e;
|
|
@@ -158636,14 +158902,14 @@ function toKnownErr87(e) {
|
|
|
158636
158902
|
var getFeedSkeleton_exports = {};
|
|
158637
158903
|
__export(getFeedSkeleton_exports, {
|
|
158638
158904
|
UnknownFeedError: () => UnknownFeedError2,
|
|
158639
|
-
toKnownErr: () =>
|
|
158905
|
+
toKnownErr: () => toKnownErr95
|
|
158640
158906
|
});
|
|
158641
158907
|
var UnknownFeedError2 = class extends XRPCError {
|
|
158642
158908
|
constructor(src3) {
|
|
158643
158909
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158644
158910
|
}
|
|
158645
158911
|
};
|
|
158646
|
-
function
|
|
158912
|
+
function toKnownErr95(e) {
|
|
158647
158913
|
if (e instanceof XRPCError) {
|
|
158648
158914
|
if (e.error === "UnknownFeed")
|
|
158649
158915
|
return new UnknownFeedError2(e);
|
|
@@ -158652,7 +158918,7 @@ function toKnownErr88(e) {
|
|
|
158652
158918
|
}
|
|
158653
158919
|
|
|
158654
158920
|
// ../api/src/client/types/app/bsky/feed/getLikes.ts
|
|
158655
|
-
function
|
|
158921
|
+
function toKnownErr96(e) {
|
|
158656
158922
|
if (e instanceof XRPCError) {
|
|
158657
158923
|
}
|
|
158658
158924
|
return e;
|
|
@@ -158664,7 +158930,7 @@ var UnknownListError = class extends XRPCError {
|
|
|
158664
158930
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158665
158931
|
}
|
|
158666
158932
|
};
|
|
158667
|
-
function
|
|
158933
|
+
function toKnownErr97(e) {
|
|
158668
158934
|
if (e instanceof XRPCError) {
|
|
158669
158935
|
if (e.error === "UnknownList")
|
|
158670
158936
|
return new UnknownListError(e);
|
|
@@ -158678,7 +158944,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
158678
158944
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158679
158945
|
}
|
|
158680
158946
|
};
|
|
158681
|
-
function
|
|
158947
|
+
function toKnownErr98(e) {
|
|
158682
158948
|
if (e instanceof XRPCError) {
|
|
158683
158949
|
if (e.error === "NotFound")
|
|
158684
158950
|
return new NotFoundError(e);
|
|
@@ -158687,28 +158953,28 @@ function toKnownErr91(e) {
|
|
|
158687
158953
|
}
|
|
158688
158954
|
|
|
158689
158955
|
// ../api/src/client/types/app/bsky/feed/getPosts.ts
|
|
158690
|
-
function
|
|
158956
|
+
function toKnownErr99(e) {
|
|
158691
158957
|
if (e instanceof XRPCError) {
|
|
158692
158958
|
}
|
|
158693
158959
|
return e;
|
|
158694
158960
|
}
|
|
158695
158961
|
|
|
158696
158962
|
// ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
158697
|
-
function
|
|
158963
|
+
function toKnownErr100(e) {
|
|
158698
158964
|
if (e instanceof XRPCError) {
|
|
158699
158965
|
}
|
|
158700
158966
|
return e;
|
|
158701
158967
|
}
|
|
158702
158968
|
|
|
158703
158969
|
// ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
158704
|
-
function
|
|
158970
|
+
function toKnownErr101(e) {
|
|
158705
158971
|
if (e instanceof XRPCError) {
|
|
158706
158972
|
}
|
|
158707
158973
|
return e;
|
|
158708
158974
|
}
|
|
158709
158975
|
|
|
158710
158976
|
// ../api/src/client/types/app/bsky/feed/getTimeline.ts
|
|
158711
|
-
function
|
|
158977
|
+
function toKnownErr102(e) {
|
|
158712
158978
|
if (e instanceof XRPCError) {
|
|
158713
158979
|
}
|
|
158714
158980
|
return e;
|
|
@@ -158720,7 +158986,7 @@ var BadQueryStringError = class extends XRPCError {
|
|
|
158720
158986
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158721
158987
|
}
|
|
158722
158988
|
};
|
|
158723
|
-
function
|
|
158989
|
+
function toKnownErr103(e) {
|
|
158724
158990
|
if (e instanceof XRPCError) {
|
|
158725
158991
|
if (e.error === "BadQueryString")
|
|
158726
158992
|
return new BadQueryStringError(e);
|
|
@@ -158729,56 +158995,56 @@ function toKnownErr96(e) {
|
|
|
158729
158995
|
}
|
|
158730
158996
|
|
|
158731
158997
|
// ../api/src/client/types/app/bsky/graph/getBlocks.ts
|
|
158732
|
-
function
|
|
158998
|
+
function toKnownErr104(e) {
|
|
158733
158999
|
if (e instanceof XRPCError) {
|
|
158734
159000
|
}
|
|
158735
159001
|
return e;
|
|
158736
159002
|
}
|
|
158737
159003
|
|
|
158738
159004
|
// ../api/src/client/types/app/bsky/graph/getFollowers.ts
|
|
158739
|
-
function
|
|
159005
|
+
function toKnownErr105(e) {
|
|
158740
159006
|
if (e instanceof XRPCError) {
|
|
158741
159007
|
}
|
|
158742
159008
|
return e;
|
|
158743
159009
|
}
|
|
158744
159010
|
|
|
158745
159011
|
// ../api/src/client/types/app/bsky/graph/getFollows.ts
|
|
158746
|
-
function
|
|
159012
|
+
function toKnownErr106(e) {
|
|
158747
159013
|
if (e instanceof XRPCError) {
|
|
158748
159014
|
}
|
|
158749
159015
|
return e;
|
|
158750
159016
|
}
|
|
158751
159017
|
|
|
158752
159018
|
// ../api/src/client/types/app/bsky/graph/getList.ts
|
|
158753
|
-
function
|
|
159019
|
+
function toKnownErr107(e) {
|
|
158754
159020
|
if (e instanceof XRPCError) {
|
|
158755
159021
|
}
|
|
158756
159022
|
return e;
|
|
158757
159023
|
}
|
|
158758
159024
|
|
|
158759
159025
|
// ../api/src/client/types/app/bsky/graph/getListBlocks.ts
|
|
158760
|
-
function
|
|
159026
|
+
function toKnownErr108(e) {
|
|
158761
159027
|
if (e instanceof XRPCError) {
|
|
158762
159028
|
}
|
|
158763
159029
|
return e;
|
|
158764
159030
|
}
|
|
158765
159031
|
|
|
158766
159032
|
// ../api/src/client/types/app/bsky/graph/getListMutes.ts
|
|
158767
|
-
function
|
|
159033
|
+
function toKnownErr109(e) {
|
|
158768
159034
|
if (e instanceof XRPCError) {
|
|
158769
159035
|
}
|
|
158770
159036
|
return e;
|
|
158771
159037
|
}
|
|
158772
159038
|
|
|
158773
159039
|
// ../api/src/client/types/app/bsky/graph/getLists.ts
|
|
158774
|
-
function
|
|
159040
|
+
function toKnownErr110(e) {
|
|
158775
159041
|
if (e instanceof XRPCError) {
|
|
158776
159042
|
}
|
|
158777
159043
|
return e;
|
|
158778
159044
|
}
|
|
158779
159045
|
|
|
158780
159046
|
// ../api/src/client/types/app/bsky/graph/getMutes.ts
|
|
158781
|
-
function
|
|
159047
|
+
function toKnownErr111(e) {
|
|
158782
159048
|
if (e instanceof XRPCError) {
|
|
158783
159049
|
}
|
|
158784
159050
|
return e;
|
|
@@ -158790,7 +159056,7 @@ var ActorNotFoundError = class extends XRPCError {
|
|
|
158790
159056
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158791
159057
|
}
|
|
158792
159058
|
};
|
|
158793
|
-
function
|
|
159059
|
+
function toKnownErr112(e) {
|
|
158794
159060
|
if (e instanceof XRPCError) {
|
|
158795
159061
|
if (e.error === "ActorNotFound")
|
|
158796
159062
|
return new ActorNotFoundError(e);
|
|
@@ -158799,77 +159065,77 @@ function toKnownErr105(e) {
|
|
|
158799
159065
|
}
|
|
158800
159066
|
|
|
158801
159067
|
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
158802
|
-
function
|
|
159068
|
+
function toKnownErr113(e) {
|
|
158803
159069
|
if (e instanceof XRPCError) {
|
|
158804
159070
|
}
|
|
158805
159071
|
return e;
|
|
158806
159072
|
}
|
|
158807
159073
|
|
|
158808
159074
|
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
158809
|
-
function
|
|
159075
|
+
function toKnownErr114(e) {
|
|
158810
159076
|
if (e instanceof XRPCError) {
|
|
158811
159077
|
}
|
|
158812
159078
|
return e;
|
|
158813
159079
|
}
|
|
158814
159080
|
|
|
158815
159081
|
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
158816
|
-
function
|
|
159082
|
+
function toKnownErr115(e) {
|
|
158817
159083
|
if (e instanceof XRPCError) {
|
|
158818
159084
|
}
|
|
158819
159085
|
return e;
|
|
158820
159086
|
}
|
|
158821
159087
|
|
|
158822
159088
|
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
158823
|
-
function
|
|
159089
|
+
function toKnownErr116(e) {
|
|
158824
159090
|
if (e instanceof XRPCError) {
|
|
158825
159091
|
}
|
|
158826
159092
|
return e;
|
|
158827
159093
|
}
|
|
158828
159094
|
|
|
158829
159095
|
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
158830
|
-
function
|
|
159096
|
+
function toKnownErr117(e) {
|
|
158831
159097
|
if (e instanceof XRPCError) {
|
|
158832
159098
|
}
|
|
158833
159099
|
return e;
|
|
158834
159100
|
}
|
|
158835
159101
|
|
|
158836
159102
|
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
158837
|
-
function
|
|
159103
|
+
function toKnownErr118(e) {
|
|
158838
159104
|
if (e instanceof XRPCError) {
|
|
158839
159105
|
}
|
|
158840
159106
|
return e;
|
|
158841
159107
|
}
|
|
158842
159108
|
|
|
158843
159109
|
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
158844
|
-
function
|
|
159110
|
+
function toKnownErr119(e) {
|
|
158845
159111
|
if (e instanceof XRPCError) {
|
|
158846
159112
|
}
|
|
158847
159113
|
return e;
|
|
158848
159114
|
}
|
|
158849
159115
|
|
|
158850
159116
|
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
158851
|
-
function
|
|
159117
|
+
function toKnownErr120(e) {
|
|
158852
159118
|
if (e instanceof XRPCError) {
|
|
158853
159119
|
}
|
|
158854
159120
|
return e;
|
|
158855
159121
|
}
|
|
158856
159122
|
|
|
158857
159123
|
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
158858
|
-
function
|
|
159124
|
+
function toKnownErr121(e) {
|
|
158859
159125
|
if (e instanceof XRPCError) {
|
|
158860
159126
|
}
|
|
158861
159127
|
return e;
|
|
158862
159128
|
}
|
|
158863
159129
|
|
|
158864
159130
|
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
158865
|
-
function
|
|
159131
|
+
function toKnownErr122(e) {
|
|
158866
159132
|
if (e instanceof XRPCError) {
|
|
158867
159133
|
}
|
|
158868
159134
|
return e;
|
|
158869
159135
|
}
|
|
158870
159136
|
|
|
158871
159137
|
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
158872
|
-
function
|
|
159138
|
+
function toKnownErr123(e) {
|
|
158873
159139
|
if (e instanceof XRPCError) {
|
|
158874
159140
|
}
|
|
158875
159141
|
return e;
|
|
@@ -158881,7 +159147,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
158881
159147
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158882
159148
|
}
|
|
158883
159149
|
};
|
|
158884
|
-
function
|
|
159150
|
+
function toKnownErr124(e) {
|
|
158885
159151
|
if (e instanceof XRPCError) {
|
|
158886
159152
|
if (e.error === "BadQueryString")
|
|
158887
159153
|
return new BadQueryStringError2(e);
|
|
@@ -158895,7 +159161,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
158895
159161
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158896
159162
|
}
|
|
158897
159163
|
};
|
|
158898
|
-
function
|
|
159164
|
+
function toKnownErr125(e) {
|
|
158899
159165
|
if (e instanceof XRPCError) {
|
|
158900
159166
|
if (e.error === "BadQueryString")
|
|
158901
159167
|
return new BadQueryStringError3(e);
|
|
@@ -159067,14 +159333,34 @@ var ComAtprotoIdentityNS = class {
|
|
|
159067
159333
|
constructor(service2) {
|
|
159068
159334
|
this._service = service2;
|
|
159069
159335
|
}
|
|
159336
|
+
getRecommendedDidCredentials(params2, opts) {
|
|
159337
|
+
return this._service.xrpc.call("com.atproto.identity.getRecommendedDidCredentials", params2, void 0, opts).catch((e) => {
|
|
159338
|
+
throw toKnownErr24(e);
|
|
159339
|
+
});
|
|
159340
|
+
}
|
|
159341
|
+
requestPlcOperationSignature(data, opts) {
|
|
159342
|
+
return this._service.xrpc.call("com.atproto.identity.requestPlcOperationSignature", opts?.qp, data, opts).catch((e) => {
|
|
159343
|
+
throw toKnownErr25(e);
|
|
159344
|
+
});
|
|
159345
|
+
}
|
|
159070
159346
|
resolveHandle(params2, opts) {
|
|
159071
159347
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
159072
|
-
throw
|
|
159348
|
+
throw toKnownErr26(e);
|
|
159349
|
+
});
|
|
159350
|
+
}
|
|
159351
|
+
signPlcOperation(data, opts) {
|
|
159352
|
+
return this._service.xrpc.call("com.atproto.identity.signPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
159353
|
+
throw toKnownErr27(e);
|
|
159354
|
+
});
|
|
159355
|
+
}
|
|
159356
|
+
submitPlcOperation(data, opts) {
|
|
159357
|
+
return this._service.xrpc.call("com.atproto.identity.submitPlcOperation", opts?.qp, data, opts).catch((e) => {
|
|
159358
|
+
throw toKnownErr28(e);
|
|
159073
159359
|
});
|
|
159074
159360
|
}
|
|
159075
159361
|
updateHandle(data, opts) {
|
|
159076
159362
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
159077
|
-
throw
|
|
159363
|
+
throw toKnownErr29(e);
|
|
159078
159364
|
});
|
|
159079
159365
|
}
|
|
159080
159366
|
};
|
|
@@ -159084,7 +159370,7 @@ var ComAtprotoLabelNS = class {
|
|
|
159084
159370
|
}
|
|
159085
159371
|
queryLabels(params2, opts) {
|
|
159086
159372
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
159087
|
-
throw
|
|
159373
|
+
throw toKnownErr30(e);
|
|
159088
159374
|
});
|
|
159089
159375
|
}
|
|
159090
159376
|
};
|
|
@@ -159094,7 +159380,7 @@ var ComAtprotoModerationNS = class {
|
|
|
159094
159380
|
}
|
|
159095
159381
|
createReport(data, opts) {
|
|
159096
159382
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
159097
|
-
throw
|
|
159383
|
+
throw toKnownErr31(e);
|
|
159098
159384
|
});
|
|
159099
159385
|
}
|
|
159100
159386
|
};
|
|
@@ -159104,42 +159390,52 @@ var ComAtprotoRepoNS = class {
|
|
|
159104
159390
|
}
|
|
159105
159391
|
applyWrites(data, opts) {
|
|
159106
159392
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
159107
|
-
throw
|
|
159393
|
+
throw toKnownErr32(e);
|
|
159108
159394
|
});
|
|
159109
159395
|
}
|
|
159110
159396
|
createRecord(data, opts) {
|
|
159111
159397
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
159112
|
-
throw
|
|
159398
|
+
throw toKnownErr33(e);
|
|
159113
159399
|
});
|
|
159114
159400
|
}
|
|
159115
159401
|
deleteRecord(data, opts) {
|
|
159116
159402
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
159117
|
-
throw
|
|
159403
|
+
throw toKnownErr34(e);
|
|
159118
159404
|
});
|
|
159119
159405
|
}
|
|
159120
159406
|
describeRepo(params2, opts) {
|
|
159121
159407
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
159122
|
-
throw
|
|
159408
|
+
throw toKnownErr35(e);
|
|
159123
159409
|
});
|
|
159124
159410
|
}
|
|
159125
159411
|
getRecord(params2, opts) {
|
|
159126
159412
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
159127
|
-
throw
|
|
159413
|
+
throw toKnownErr36(e);
|
|
159414
|
+
});
|
|
159415
|
+
}
|
|
159416
|
+
importRepo(data, opts) {
|
|
159417
|
+
return this._service.xrpc.call("com.atproto.repo.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
159418
|
+
throw toKnownErr37(e);
|
|
159419
|
+
});
|
|
159420
|
+
}
|
|
159421
|
+
listMissingBlobs(params2, opts) {
|
|
159422
|
+
return this._service.xrpc.call("com.atproto.repo.listMissingBlobs", params2, void 0, opts).catch((e) => {
|
|
159423
|
+
throw toKnownErr38(e);
|
|
159128
159424
|
});
|
|
159129
159425
|
}
|
|
159130
159426
|
listRecords(params2, opts) {
|
|
159131
159427
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
159132
|
-
throw
|
|
159428
|
+
throw toKnownErr39(e);
|
|
159133
159429
|
});
|
|
159134
159430
|
}
|
|
159135
159431
|
putRecord(data, opts) {
|
|
159136
159432
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
159137
|
-
throw
|
|
159433
|
+
throw toKnownErr40(e);
|
|
159138
159434
|
});
|
|
159139
159435
|
}
|
|
159140
159436
|
uploadBlob(data, opts) {
|
|
159141
159437
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
159142
|
-
throw
|
|
159438
|
+
throw toKnownErr41(e);
|
|
159143
159439
|
});
|
|
159144
159440
|
}
|
|
159145
159441
|
};
|
|
@@ -159147,109 +159443,129 @@ var ComAtprotoServerNS = class {
|
|
|
159147
159443
|
constructor(service2) {
|
|
159148
159444
|
this._service = service2;
|
|
159149
159445
|
}
|
|
159446
|
+
activateAccount(data, opts) {
|
|
159447
|
+
return this._service.xrpc.call("com.atproto.server.activateAccount", opts?.qp, data, opts).catch((e) => {
|
|
159448
|
+
throw toKnownErr42(e);
|
|
159449
|
+
});
|
|
159450
|
+
}
|
|
159451
|
+
checkAccountStatus(params2, opts) {
|
|
159452
|
+
return this._service.xrpc.call("com.atproto.server.checkAccountStatus", params2, void 0, opts).catch((e) => {
|
|
159453
|
+
throw toKnownErr43(e);
|
|
159454
|
+
});
|
|
159455
|
+
}
|
|
159150
159456
|
confirmEmail(data, opts) {
|
|
159151
159457
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
159152
|
-
throw
|
|
159458
|
+
throw toKnownErr44(e);
|
|
159153
159459
|
});
|
|
159154
159460
|
}
|
|
159155
159461
|
createAccount(data, opts) {
|
|
159156
159462
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
159157
|
-
throw
|
|
159463
|
+
throw toKnownErr45(e);
|
|
159158
159464
|
});
|
|
159159
159465
|
}
|
|
159160
159466
|
createAppPassword(data, opts) {
|
|
159161
159467
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
159162
|
-
throw
|
|
159468
|
+
throw toKnownErr46(e);
|
|
159163
159469
|
});
|
|
159164
159470
|
}
|
|
159165
159471
|
createInviteCode(data, opts) {
|
|
159166
159472
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
159167
|
-
throw
|
|
159473
|
+
throw toKnownErr47(e);
|
|
159168
159474
|
});
|
|
159169
159475
|
}
|
|
159170
159476
|
createInviteCodes(data, opts) {
|
|
159171
159477
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
159172
|
-
throw
|
|
159478
|
+
throw toKnownErr48(e);
|
|
159173
159479
|
});
|
|
159174
159480
|
}
|
|
159175
159481
|
createSession(data, opts) {
|
|
159176
159482
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
159177
|
-
throw
|
|
159483
|
+
throw toKnownErr49(e);
|
|
159484
|
+
});
|
|
159485
|
+
}
|
|
159486
|
+
deactivateAccount(data, opts) {
|
|
159487
|
+
return this._service.xrpc.call("com.atproto.server.deactivateAccount", opts?.qp, data, opts).catch((e) => {
|
|
159488
|
+
throw toKnownErr50(e);
|
|
159178
159489
|
});
|
|
159179
159490
|
}
|
|
159180
159491
|
deleteAccount(data, opts) {
|
|
159181
159492
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
159182
|
-
throw
|
|
159493
|
+
throw toKnownErr51(e);
|
|
159183
159494
|
});
|
|
159184
159495
|
}
|
|
159185
159496
|
deleteSession(data, opts) {
|
|
159186
159497
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
159187
|
-
throw
|
|
159498
|
+
throw toKnownErr52(e);
|
|
159188
159499
|
});
|
|
159189
159500
|
}
|
|
159190
159501
|
describeServer(params2, opts) {
|
|
159191
159502
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
159192
|
-
throw
|
|
159503
|
+
throw toKnownErr53(e);
|
|
159193
159504
|
});
|
|
159194
159505
|
}
|
|
159195
159506
|
getAccountInviteCodes(params2, opts) {
|
|
159196
159507
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
159197
|
-
throw
|
|
159508
|
+
throw toKnownErr54(e);
|
|
159509
|
+
});
|
|
159510
|
+
}
|
|
159511
|
+
getServiceAuth(params2, opts) {
|
|
159512
|
+
return this._service.xrpc.call("com.atproto.server.getServiceAuth", params2, void 0, opts).catch((e) => {
|
|
159513
|
+
throw toKnownErr55(e);
|
|
159198
159514
|
});
|
|
159199
159515
|
}
|
|
159200
159516
|
getSession(params2, opts) {
|
|
159201
159517
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
159202
|
-
throw
|
|
159518
|
+
throw toKnownErr56(e);
|
|
159203
159519
|
});
|
|
159204
159520
|
}
|
|
159205
159521
|
listAppPasswords(params2, opts) {
|
|
159206
159522
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
159207
|
-
throw
|
|
159523
|
+
throw toKnownErr57(e);
|
|
159208
159524
|
});
|
|
159209
159525
|
}
|
|
159210
159526
|
refreshSession(data, opts) {
|
|
159211
159527
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
159212
|
-
throw
|
|
159528
|
+
throw toKnownErr58(e);
|
|
159213
159529
|
});
|
|
159214
159530
|
}
|
|
159215
159531
|
requestAccountDelete(data, opts) {
|
|
159216
159532
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
159217
|
-
throw
|
|
159533
|
+
throw toKnownErr59(e);
|
|
159218
159534
|
});
|
|
159219
159535
|
}
|
|
159220
159536
|
requestEmailConfirmation(data, opts) {
|
|
159221
159537
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
159222
|
-
throw
|
|
159538
|
+
throw toKnownErr60(e);
|
|
159223
159539
|
});
|
|
159224
159540
|
}
|
|
159225
159541
|
requestEmailUpdate(data, opts) {
|
|
159226
159542
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
159227
|
-
throw
|
|
159543
|
+
throw toKnownErr61(e);
|
|
159228
159544
|
});
|
|
159229
159545
|
}
|
|
159230
159546
|
requestPasswordReset(data, opts) {
|
|
159231
159547
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
159232
|
-
throw
|
|
159548
|
+
throw toKnownErr62(e);
|
|
159233
159549
|
});
|
|
159234
159550
|
}
|
|
159235
159551
|
reserveSigningKey(data, opts) {
|
|
159236
159552
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
159237
|
-
throw
|
|
159553
|
+
throw toKnownErr63(e);
|
|
159238
159554
|
});
|
|
159239
159555
|
}
|
|
159240
159556
|
resetPassword(data, opts) {
|
|
159241
159557
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
159242
|
-
throw
|
|
159558
|
+
throw toKnownErr64(e);
|
|
159243
159559
|
});
|
|
159244
159560
|
}
|
|
159245
159561
|
revokeAppPassword(data, opts) {
|
|
159246
159562
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
159247
|
-
throw
|
|
159563
|
+
throw toKnownErr65(e);
|
|
159248
159564
|
});
|
|
159249
159565
|
}
|
|
159250
159566
|
updateEmail(data, opts) {
|
|
159251
159567
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
159252
|
-
throw
|
|
159568
|
+
throw toKnownErr66(e);
|
|
159253
159569
|
});
|
|
159254
159570
|
}
|
|
159255
159571
|
};
|
|
@@ -159259,57 +159575,57 @@ var ComAtprotoSyncNS = class {
|
|
|
159259
159575
|
}
|
|
159260
159576
|
getBlob(params2, opts) {
|
|
159261
159577
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
159262
|
-
throw
|
|
159578
|
+
throw toKnownErr67(e);
|
|
159263
159579
|
});
|
|
159264
159580
|
}
|
|
159265
159581
|
getBlocks(params2, opts) {
|
|
159266
159582
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
159267
|
-
throw
|
|
159583
|
+
throw toKnownErr68(e);
|
|
159268
159584
|
});
|
|
159269
159585
|
}
|
|
159270
159586
|
getCheckout(params2, opts) {
|
|
159271
159587
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
159272
|
-
throw
|
|
159588
|
+
throw toKnownErr69(e);
|
|
159273
159589
|
});
|
|
159274
159590
|
}
|
|
159275
159591
|
getHead(params2, opts) {
|
|
159276
159592
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
159277
|
-
throw
|
|
159593
|
+
throw toKnownErr70(e);
|
|
159278
159594
|
});
|
|
159279
159595
|
}
|
|
159280
159596
|
getLatestCommit(params2, opts) {
|
|
159281
159597
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
159282
|
-
throw
|
|
159598
|
+
throw toKnownErr71(e);
|
|
159283
159599
|
});
|
|
159284
159600
|
}
|
|
159285
159601
|
getRecord(params2, opts) {
|
|
159286
159602
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
159287
|
-
throw
|
|
159603
|
+
throw toKnownErr72(e);
|
|
159288
159604
|
});
|
|
159289
159605
|
}
|
|
159290
159606
|
getRepo(params2, opts) {
|
|
159291
159607
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
159292
|
-
throw
|
|
159608
|
+
throw toKnownErr73(e);
|
|
159293
159609
|
});
|
|
159294
159610
|
}
|
|
159295
159611
|
listBlobs(params2, opts) {
|
|
159296
159612
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
159297
|
-
throw
|
|
159613
|
+
throw toKnownErr74(e);
|
|
159298
159614
|
});
|
|
159299
159615
|
}
|
|
159300
159616
|
listRepos(params2, opts) {
|
|
159301
159617
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
159302
|
-
throw
|
|
159618
|
+
throw toKnownErr75(e);
|
|
159303
159619
|
});
|
|
159304
159620
|
}
|
|
159305
159621
|
notifyOfUpdate(data, opts) {
|
|
159306
159622
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
159307
|
-
throw
|
|
159623
|
+
throw toKnownErr76(e);
|
|
159308
159624
|
});
|
|
159309
159625
|
}
|
|
159310
159626
|
requestCrawl(data, opts) {
|
|
159311
159627
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
159312
|
-
throw
|
|
159628
|
+
throw toKnownErr77(e);
|
|
159313
159629
|
});
|
|
159314
159630
|
}
|
|
159315
159631
|
};
|
|
@@ -159319,32 +159635,17 @@ var ComAtprotoTempNS = class {
|
|
|
159319
159635
|
}
|
|
159320
159636
|
checkSignupQueue(params2, opts) {
|
|
159321
159637
|
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
159322
|
-
throw
|
|
159638
|
+
throw toKnownErr78(e);
|
|
159323
159639
|
});
|
|
159324
159640
|
}
|
|
159325
159641
|
fetchLabels(params2, opts) {
|
|
159326
159642
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
159327
|
-
throw
|
|
159328
|
-
});
|
|
159329
|
-
}
|
|
159330
|
-
importRepo(data, opts) {
|
|
159331
|
-
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
159332
|
-
throw toKnownErr70(e);
|
|
159333
|
-
});
|
|
159334
|
-
}
|
|
159335
|
-
pushBlob(data, opts) {
|
|
159336
|
-
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
159337
|
-
throw toKnownErr71(e);
|
|
159643
|
+
throw toKnownErr79(e);
|
|
159338
159644
|
});
|
|
159339
159645
|
}
|
|
159340
159646
|
requestPhoneVerification(data, opts) {
|
|
159341
159647
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
159342
|
-
throw
|
|
159343
|
-
});
|
|
159344
|
-
}
|
|
159345
|
-
transferAccount(data, opts) {
|
|
159346
|
-
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
159347
|
-
throw toKnownErr73(e);
|
|
159648
|
+
throw toKnownErr80(e);
|
|
159348
159649
|
});
|
|
159349
159650
|
}
|
|
159350
159651
|
};
|
|
@@ -159373,37 +159674,37 @@ var AppBskyActorNS = class {
|
|
|
159373
159674
|
}
|
|
159374
159675
|
getPreferences(params2, opts) {
|
|
159375
159676
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
159376
|
-
throw
|
|
159677
|
+
throw toKnownErr81(e);
|
|
159377
159678
|
});
|
|
159378
159679
|
}
|
|
159379
159680
|
getProfile(params2, opts) {
|
|
159380
159681
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
159381
|
-
throw
|
|
159682
|
+
throw toKnownErr82(e);
|
|
159382
159683
|
});
|
|
159383
159684
|
}
|
|
159384
159685
|
getProfiles(params2, opts) {
|
|
159385
159686
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
159386
|
-
throw
|
|
159687
|
+
throw toKnownErr83(e);
|
|
159387
159688
|
});
|
|
159388
159689
|
}
|
|
159389
159690
|
getSuggestions(params2, opts) {
|
|
159390
159691
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
159391
|
-
throw
|
|
159692
|
+
throw toKnownErr84(e);
|
|
159392
159693
|
});
|
|
159393
159694
|
}
|
|
159394
159695
|
putPreferences(data, opts) {
|
|
159395
159696
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
159396
|
-
throw
|
|
159697
|
+
throw toKnownErr85(e);
|
|
159397
159698
|
});
|
|
159398
159699
|
}
|
|
159399
159700
|
searchActors(params2, opts) {
|
|
159400
159701
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
159401
|
-
throw
|
|
159702
|
+
throw toKnownErr86(e);
|
|
159402
159703
|
});
|
|
159403
159704
|
}
|
|
159404
159705
|
searchActorsTypeahead(params2, opts) {
|
|
159405
159706
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
159406
|
-
throw
|
|
159707
|
+
throw toKnownErr87(e);
|
|
159407
159708
|
});
|
|
159408
159709
|
}
|
|
159409
159710
|
};
|
|
@@ -159450,82 +159751,82 @@ var AppBskyFeedNS = class {
|
|
|
159450
159751
|
}
|
|
159451
159752
|
describeFeedGenerator(params2, opts) {
|
|
159452
159753
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
159453
|
-
throw
|
|
159754
|
+
throw toKnownErr88(e);
|
|
159454
159755
|
});
|
|
159455
159756
|
}
|
|
159456
159757
|
getActorFeeds(params2, opts) {
|
|
159457
159758
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
159458
|
-
throw
|
|
159759
|
+
throw toKnownErr89(e);
|
|
159459
159760
|
});
|
|
159460
159761
|
}
|
|
159461
159762
|
getActorLikes(params2, opts) {
|
|
159462
159763
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
159463
|
-
throw
|
|
159764
|
+
throw toKnownErr90(e);
|
|
159464
159765
|
});
|
|
159465
159766
|
}
|
|
159466
159767
|
getAuthorFeed(params2, opts) {
|
|
159467
159768
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
159468
|
-
throw
|
|
159769
|
+
throw toKnownErr91(e);
|
|
159469
159770
|
});
|
|
159470
159771
|
}
|
|
159471
159772
|
getFeed(params2, opts) {
|
|
159472
159773
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
159473
|
-
throw
|
|
159774
|
+
throw toKnownErr92(e);
|
|
159474
159775
|
});
|
|
159475
159776
|
}
|
|
159476
159777
|
getFeedGenerator(params2, opts) {
|
|
159477
159778
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
159478
|
-
throw
|
|
159779
|
+
throw toKnownErr93(e);
|
|
159479
159780
|
});
|
|
159480
159781
|
}
|
|
159481
159782
|
getFeedGenerators(params2, opts) {
|
|
159482
159783
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
159483
|
-
throw
|
|
159784
|
+
throw toKnownErr94(e);
|
|
159484
159785
|
});
|
|
159485
159786
|
}
|
|
159486
159787
|
getFeedSkeleton(params2, opts) {
|
|
159487
159788
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
159488
|
-
throw
|
|
159789
|
+
throw toKnownErr95(e);
|
|
159489
159790
|
});
|
|
159490
159791
|
}
|
|
159491
159792
|
getLikes(params2, opts) {
|
|
159492
159793
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
159493
|
-
throw
|
|
159794
|
+
throw toKnownErr96(e);
|
|
159494
159795
|
});
|
|
159495
159796
|
}
|
|
159496
159797
|
getListFeed(params2, opts) {
|
|
159497
159798
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
159498
|
-
throw
|
|
159799
|
+
throw toKnownErr97(e);
|
|
159499
159800
|
});
|
|
159500
159801
|
}
|
|
159501
159802
|
getPostThread(params2, opts) {
|
|
159502
159803
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
159503
|
-
throw
|
|
159804
|
+
throw toKnownErr98(e);
|
|
159504
159805
|
});
|
|
159505
159806
|
}
|
|
159506
159807
|
getPosts(params2, opts) {
|
|
159507
159808
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
159508
|
-
throw
|
|
159809
|
+
throw toKnownErr99(e);
|
|
159509
159810
|
});
|
|
159510
159811
|
}
|
|
159511
159812
|
getRepostedBy(params2, opts) {
|
|
159512
159813
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
159513
|
-
throw
|
|
159814
|
+
throw toKnownErr100(e);
|
|
159514
159815
|
});
|
|
159515
159816
|
}
|
|
159516
159817
|
getSuggestedFeeds(params2, opts) {
|
|
159517
159818
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
159518
|
-
throw
|
|
159819
|
+
throw toKnownErr101(e);
|
|
159519
159820
|
});
|
|
159520
159821
|
}
|
|
159521
159822
|
getTimeline(params2, opts) {
|
|
159522
159823
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
159523
|
-
throw
|
|
159824
|
+
throw toKnownErr102(e);
|
|
159524
159825
|
});
|
|
159525
159826
|
}
|
|
159526
159827
|
searchPosts(params2, opts) {
|
|
159527
159828
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
159528
|
-
throw
|
|
159829
|
+
throw toKnownErr103(e);
|
|
159529
159830
|
});
|
|
159530
159831
|
}
|
|
159531
159832
|
};
|
|
@@ -159675,72 +159976,72 @@ var AppBskyGraphNS = class {
|
|
|
159675
159976
|
}
|
|
159676
159977
|
getBlocks(params2, opts) {
|
|
159677
159978
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
159678
|
-
throw
|
|
159979
|
+
throw toKnownErr104(e);
|
|
159679
159980
|
});
|
|
159680
159981
|
}
|
|
159681
159982
|
getFollowers(params2, opts) {
|
|
159682
159983
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
159683
|
-
throw
|
|
159984
|
+
throw toKnownErr105(e);
|
|
159684
159985
|
});
|
|
159685
159986
|
}
|
|
159686
159987
|
getFollows(params2, opts) {
|
|
159687
159988
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
159688
|
-
throw
|
|
159989
|
+
throw toKnownErr106(e);
|
|
159689
159990
|
});
|
|
159690
159991
|
}
|
|
159691
159992
|
getList(params2, opts) {
|
|
159692
159993
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
159693
|
-
throw
|
|
159994
|
+
throw toKnownErr107(e);
|
|
159694
159995
|
});
|
|
159695
159996
|
}
|
|
159696
159997
|
getListBlocks(params2, opts) {
|
|
159697
159998
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
159698
|
-
throw
|
|
159999
|
+
throw toKnownErr108(e);
|
|
159699
160000
|
});
|
|
159700
160001
|
}
|
|
159701
160002
|
getListMutes(params2, opts) {
|
|
159702
160003
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
159703
|
-
throw
|
|
160004
|
+
throw toKnownErr109(e);
|
|
159704
160005
|
});
|
|
159705
160006
|
}
|
|
159706
160007
|
getLists(params2, opts) {
|
|
159707
160008
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
159708
|
-
throw
|
|
160009
|
+
throw toKnownErr110(e);
|
|
159709
160010
|
});
|
|
159710
160011
|
}
|
|
159711
160012
|
getMutes(params2, opts) {
|
|
159712
160013
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
159713
|
-
throw
|
|
160014
|
+
throw toKnownErr111(e);
|
|
159714
160015
|
});
|
|
159715
160016
|
}
|
|
159716
160017
|
getRelationships(params2, opts) {
|
|
159717
160018
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
159718
|
-
throw
|
|
160019
|
+
throw toKnownErr112(e);
|
|
159719
160020
|
});
|
|
159720
160021
|
}
|
|
159721
160022
|
getSuggestedFollowsByActor(params2, opts) {
|
|
159722
160023
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
159723
|
-
throw
|
|
160024
|
+
throw toKnownErr113(e);
|
|
159724
160025
|
});
|
|
159725
160026
|
}
|
|
159726
160027
|
muteActor(data, opts) {
|
|
159727
160028
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
159728
|
-
throw
|
|
160029
|
+
throw toKnownErr114(e);
|
|
159729
160030
|
});
|
|
159730
160031
|
}
|
|
159731
160032
|
muteActorList(data, opts) {
|
|
159732
160033
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
159733
|
-
throw
|
|
160034
|
+
throw toKnownErr115(e);
|
|
159734
160035
|
});
|
|
159735
160036
|
}
|
|
159736
160037
|
unmuteActor(data, opts) {
|
|
159737
160038
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
159738
|
-
throw
|
|
160039
|
+
throw toKnownErr116(e);
|
|
159739
160040
|
});
|
|
159740
160041
|
}
|
|
159741
160042
|
unmuteActorList(data, opts) {
|
|
159742
160043
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
159743
|
-
throw
|
|
160044
|
+
throw toKnownErr117(e);
|
|
159744
160045
|
});
|
|
159745
160046
|
}
|
|
159746
160047
|
};
|
|
@@ -159885,22 +160186,22 @@ var AppBskyNotificationNS = class {
|
|
|
159885
160186
|
}
|
|
159886
160187
|
getUnreadCount(params2, opts) {
|
|
159887
160188
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
159888
|
-
throw
|
|
160189
|
+
throw toKnownErr118(e);
|
|
159889
160190
|
});
|
|
159890
160191
|
}
|
|
159891
160192
|
listNotifications(params2, opts) {
|
|
159892
160193
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
159893
|
-
throw
|
|
160194
|
+
throw toKnownErr119(e);
|
|
159894
160195
|
});
|
|
159895
160196
|
}
|
|
159896
160197
|
registerPush(data, opts) {
|
|
159897
160198
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
159898
|
-
throw
|
|
160199
|
+
throw toKnownErr120(e);
|
|
159899
160200
|
});
|
|
159900
160201
|
}
|
|
159901
160202
|
updateSeen(data, opts) {
|
|
159902
160203
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
159903
|
-
throw
|
|
160204
|
+
throw toKnownErr121(e);
|
|
159904
160205
|
});
|
|
159905
160206
|
}
|
|
159906
160207
|
};
|
|
@@ -159915,22 +160216,22 @@ var AppBskyUnspeccedNS = class {
|
|
|
159915
160216
|
}
|
|
159916
160217
|
getPopularFeedGenerators(params2, opts) {
|
|
159917
160218
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
159918
|
-
throw
|
|
160219
|
+
throw toKnownErr122(e);
|
|
159919
160220
|
});
|
|
159920
160221
|
}
|
|
159921
160222
|
getTaggedSuggestions(params2, opts) {
|
|
159922
160223
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
159923
|
-
throw
|
|
160224
|
+
throw toKnownErr123(e);
|
|
159924
160225
|
});
|
|
159925
160226
|
}
|
|
159926
160227
|
searchActorsSkeleton(params2, opts) {
|
|
159927
160228
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
159928
|
-
throw
|
|
160229
|
+
throw toKnownErr124(e);
|
|
159929
160230
|
});
|
|
159930
160231
|
}
|
|
159931
160232
|
searchPostsSkeleton(params2, opts) {
|
|
159932
160233
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
159933
|
-
throw
|
|
160234
|
+
throw toKnownErr125(e);
|
|
159934
160235
|
});
|
|
159935
160236
|
}
|
|
159936
160237
|
};
|
|
@@ -163401,6 +163702,53 @@ var schemaDict2 = {
|
|
|
163401
163702
|
}
|
|
163402
163703
|
}
|
|
163403
163704
|
},
|
|
163705
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
163706
|
+
lexicon: 1,
|
|
163707
|
+
id: "com.atproto.identity.getRecommendedDidCredentials",
|
|
163708
|
+
defs: {
|
|
163709
|
+
main: {
|
|
163710
|
+
type: "query",
|
|
163711
|
+
description: "Describe the credentials that should be included in the DID doc of an account that is migrating to this service.",
|
|
163712
|
+
output: {
|
|
163713
|
+
encoding: "application/json",
|
|
163714
|
+
schema: {
|
|
163715
|
+
type: "object",
|
|
163716
|
+
properties: {
|
|
163717
|
+
rotationKeys: {
|
|
163718
|
+
description: "Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.",
|
|
163719
|
+
type: "array",
|
|
163720
|
+
items: {
|
|
163721
|
+
type: "string"
|
|
163722
|
+
}
|
|
163723
|
+
},
|
|
163724
|
+
alsoKnownAs: {
|
|
163725
|
+
type: "array",
|
|
163726
|
+
items: {
|
|
163727
|
+
type: "string"
|
|
163728
|
+
}
|
|
163729
|
+
},
|
|
163730
|
+
verificationMethods: {
|
|
163731
|
+
type: "unknown"
|
|
163732
|
+
},
|
|
163733
|
+
services: {
|
|
163734
|
+
type: "unknown"
|
|
163735
|
+
}
|
|
163736
|
+
}
|
|
163737
|
+
}
|
|
163738
|
+
}
|
|
163739
|
+
}
|
|
163740
|
+
}
|
|
163741
|
+
},
|
|
163742
|
+
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
163743
|
+
lexicon: 1,
|
|
163744
|
+
id: "com.atproto.identity.requestPlcOperationSignature",
|
|
163745
|
+
defs: {
|
|
163746
|
+
main: {
|
|
163747
|
+
type: "procedure",
|
|
163748
|
+
description: "Request an email with a code to in order to request a signed PLC operation. Requires Auth."
|
|
163749
|
+
}
|
|
163750
|
+
}
|
|
163751
|
+
},
|
|
163404
163752
|
ComAtprotoIdentityResolveHandle: {
|
|
163405
163753
|
lexicon: 1,
|
|
163406
163754
|
id: "com.atproto.identity.resolveHandle",
|
|
@@ -163435,6 +163783,81 @@ var schemaDict2 = {
|
|
|
163435
163783
|
}
|
|
163436
163784
|
}
|
|
163437
163785
|
},
|
|
163786
|
+
ComAtprotoIdentitySignPlcOperation: {
|
|
163787
|
+
lexicon: 1,
|
|
163788
|
+
id: "com.atproto.identity.signPlcOperation",
|
|
163789
|
+
defs: {
|
|
163790
|
+
main: {
|
|
163791
|
+
type: "procedure",
|
|
163792
|
+
description: "Signs a PLC operation to update some value(s) in the requesting DID's document.",
|
|
163793
|
+
input: {
|
|
163794
|
+
encoding: "application/json",
|
|
163795
|
+
schema: {
|
|
163796
|
+
type: "object",
|
|
163797
|
+
properties: {
|
|
163798
|
+
token: {
|
|
163799
|
+
description: "A token received through com.atproto.identity.requestPlcOperationSignature",
|
|
163800
|
+
type: "string"
|
|
163801
|
+
},
|
|
163802
|
+
rotationKeys: {
|
|
163803
|
+
type: "array",
|
|
163804
|
+
items: {
|
|
163805
|
+
type: "string"
|
|
163806
|
+
}
|
|
163807
|
+
},
|
|
163808
|
+
alsoKnownAs: {
|
|
163809
|
+
type: "array",
|
|
163810
|
+
items: {
|
|
163811
|
+
type: "string"
|
|
163812
|
+
}
|
|
163813
|
+
},
|
|
163814
|
+
verificationMethods: {
|
|
163815
|
+
type: "unknown"
|
|
163816
|
+
},
|
|
163817
|
+
services: {
|
|
163818
|
+
type: "unknown"
|
|
163819
|
+
}
|
|
163820
|
+
}
|
|
163821
|
+
}
|
|
163822
|
+
},
|
|
163823
|
+
output: {
|
|
163824
|
+
encoding: "application/json",
|
|
163825
|
+
schema: {
|
|
163826
|
+
type: "object",
|
|
163827
|
+
required: ["operation"],
|
|
163828
|
+
properties: {
|
|
163829
|
+
operation: {
|
|
163830
|
+
type: "unknown",
|
|
163831
|
+
description: "A signed DID PLC operation."
|
|
163832
|
+
}
|
|
163833
|
+
}
|
|
163834
|
+
}
|
|
163835
|
+
}
|
|
163836
|
+
}
|
|
163837
|
+
}
|
|
163838
|
+
},
|
|
163839
|
+
ComAtprotoIdentitySubmitPlcOperation: {
|
|
163840
|
+
lexicon: 1,
|
|
163841
|
+
id: "com.atproto.identity.submitPlcOperation",
|
|
163842
|
+
defs: {
|
|
163843
|
+
main: {
|
|
163844
|
+
type: "procedure",
|
|
163845
|
+
description: "Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry",
|
|
163846
|
+
input: {
|
|
163847
|
+
encoding: "application/json",
|
|
163848
|
+
schema: {
|
|
163849
|
+
type: "object",
|
|
163850
|
+
required: ["operation"],
|
|
163851
|
+
properties: {
|
|
163852
|
+
operation: {
|
|
163853
|
+
type: "unknown"
|
|
163854
|
+
}
|
|
163855
|
+
}
|
|
163856
|
+
}
|
|
163857
|
+
}
|
|
163858
|
+
}
|
|
163859
|
+
}
|
|
163860
|
+
},
|
|
163438
163861
|
ComAtprotoIdentityUpdateHandle: {
|
|
163439
163862
|
lexicon: 1,
|
|
163440
163863
|
id: "com.atproto.identity.updateHandle",
|
|
@@ -164107,6 +164530,76 @@ var schemaDict2 = {
|
|
|
164107
164530
|
}
|
|
164108
164531
|
}
|
|
164109
164532
|
},
|
|
164533
|
+
ComAtprotoRepoImportRepo: {
|
|
164534
|
+
lexicon: 1,
|
|
164535
|
+
id: "com.atproto.repo.importRepo",
|
|
164536
|
+
defs: {
|
|
164537
|
+
main: {
|
|
164538
|
+
type: "procedure",
|
|
164539
|
+
description: "Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.",
|
|
164540
|
+
input: {
|
|
164541
|
+
encoding: "application/vnd.ipld.car"
|
|
164542
|
+
}
|
|
164543
|
+
}
|
|
164544
|
+
}
|
|
164545
|
+
},
|
|
164546
|
+
ComAtprotoRepoListMissingBlobs: {
|
|
164547
|
+
lexicon: 1,
|
|
164548
|
+
id: "com.atproto.repo.listMissingBlobs",
|
|
164549
|
+
defs: {
|
|
164550
|
+
main: {
|
|
164551
|
+
type: "query",
|
|
164552
|
+
description: "Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.",
|
|
164553
|
+
parameters: {
|
|
164554
|
+
type: "params",
|
|
164555
|
+
properties: {
|
|
164556
|
+
limit: {
|
|
164557
|
+
type: "integer",
|
|
164558
|
+
minimum: 1,
|
|
164559
|
+
maximum: 1e3,
|
|
164560
|
+
default: 500
|
|
164561
|
+
},
|
|
164562
|
+
cursor: {
|
|
164563
|
+
type: "string"
|
|
164564
|
+
}
|
|
164565
|
+
}
|
|
164566
|
+
},
|
|
164567
|
+
output: {
|
|
164568
|
+
encoding: "application/json",
|
|
164569
|
+
schema: {
|
|
164570
|
+
type: "object",
|
|
164571
|
+
required: ["blobs"],
|
|
164572
|
+
properties: {
|
|
164573
|
+
cursor: {
|
|
164574
|
+
type: "string"
|
|
164575
|
+
},
|
|
164576
|
+
blobs: {
|
|
164577
|
+
type: "array",
|
|
164578
|
+
items: {
|
|
164579
|
+
type: "ref",
|
|
164580
|
+
ref: "lex:com.atproto.repo.listMissingBlobs#recordBlob"
|
|
164581
|
+
}
|
|
164582
|
+
}
|
|
164583
|
+
}
|
|
164584
|
+
}
|
|
164585
|
+
}
|
|
164586
|
+
},
|
|
164587
|
+
recordBlob: {
|
|
164588
|
+
type: "object",
|
|
164589
|
+
required: ["cid", "recordUri"],
|
|
164590
|
+
properties: {
|
|
164591
|
+
cid: {
|
|
164592
|
+
type: "string",
|
|
164593
|
+
format: "cid"
|
|
164594
|
+
},
|
|
164595
|
+
recordUri: {
|
|
164596
|
+
type: "string",
|
|
164597
|
+
format: "at-uri"
|
|
164598
|
+
}
|
|
164599
|
+
}
|
|
164600
|
+
}
|
|
164601
|
+
}
|
|
164602
|
+
},
|
|
164110
164603
|
ComAtprotoRepoListRecords: {
|
|
164111
164604
|
lexicon: 1,
|
|
164112
164605
|
id: "com.atproto.repo.listRecords",
|
|
@@ -164313,6 +164806,73 @@ var schemaDict2 = {
|
|
|
164313
164806
|
}
|
|
164314
164807
|
}
|
|
164315
164808
|
},
|
|
164809
|
+
ComAtprotoServerActivateAccount: {
|
|
164810
|
+
lexicon: 1,
|
|
164811
|
+
id: "com.atproto.server.activateAccount",
|
|
164812
|
+
defs: {
|
|
164813
|
+
main: {
|
|
164814
|
+
type: "procedure",
|
|
164815
|
+
description: "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup."
|
|
164816
|
+
}
|
|
164817
|
+
}
|
|
164818
|
+
},
|
|
164819
|
+
ComAtprotoServerCheckAccountStatus: {
|
|
164820
|
+
lexicon: 1,
|
|
164821
|
+
id: "com.atproto.server.checkAccountStatus",
|
|
164822
|
+
defs: {
|
|
164823
|
+
main: {
|
|
164824
|
+
type: "query",
|
|
164825
|
+
description: "Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.",
|
|
164826
|
+
output: {
|
|
164827
|
+
encoding: "application/json",
|
|
164828
|
+
schema: {
|
|
164829
|
+
type: "object",
|
|
164830
|
+
required: [
|
|
164831
|
+
"activated",
|
|
164832
|
+
"validDid",
|
|
164833
|
+
"repoCommit",
|
|
164834
|
+
"repoRev",
|
|
164835
|
+
"repoBlocks",
|
|
164836
|
+
"indexedRecords",
|
|
164837
|
+
"privateStateValues",
|
|
164838
|
+
"expectedBlobs",
|
|
164839
|
+
"importedBlobs"
|
|
164840
|
+
],
|
|
164841
|
+
properties: {
|
|
164842
|
+
activated: {
|
|
164843
|
+
type: "boolean"
|
|
164844
|
+
},
|
|
164845
|
+
validDid: {
|
|
164846
|
+
type: "boolean"
|
|
164847
|
+
},
|
|
164848
|
+
repoCommit: {
|
|
164849
|
+
type: "string",
|
|
164850
|
+
format: "cid"
|
|
164851
|
+
},
|
|
164852
|
+
repoRev: {
|
|
164853
|
+
type: "string"
|
|
164854
|
+
},
|
|
164855
|
+
repoBlocks: {
|
|
164856
|
+
type: "integer"
|
|
164857
|
+
},
|
|
164858
|
+
indexedRecords: {
|
|
164859
|
+
type: "integer"
|
|
164860
|
+
},
|
|
164861
|
+
privateStateValues: {
|
|
164862
|
+
type: "integer"
|
|
164863
|
+
},
|
|
164864
|
+
expectedBlobs: {
|
|
164865
|
+
type: "integer"
|
|
164866
|
+
},
|
|
164867
|
+
importedBlobs: {
|
|
164868
|
+
type: "integer"
|
|
164869
|
+
}
|
|
164870
|
+
}
|
|
164871
|
+
}
|
|
164872
|
+
}
|
|
164873
|
+
}
|
|
164874
|
+
}
|
|
164875
|
+
},
|
|
164316
164876
|
ComAtprotoServerConfirmEmail: {
|
|
164317
164877
|
lexicon: 1,
|
|
164318
164878
|
id: "com.atproto.server.confirmEmail",
|
|
@@ -164673,6 +165233,29 @@ var schemaDict2 = {
|
|
|
164673
165233
|
}
|
|
164674
165234
|
}
|
|
164675
165235
|
},
|
|
165236
|
+
ComAtprotoServerDeactivateAccount: {
|
|
165237
|
+
lexicon: 1,
|
|
165238
|
+
id: "com.atproto.server.deactivateAccount",
|
|
165239
|
+
defs: {
|
|
165240
|
+
main: {
|
|
165241
|
+
type: "procedure",
|
|
165242
|
+
description: "Deactivates a currently active account. Stops serving of repo, and future writes to repo until reactivated. Used to finalize account migration with the old host after the account has been activated on the new host.",
|
|
165243
|
+
input: {
|
|
165244
|
+
encoding: "application/json",
|
|
165245
|
+
schema: {
|
|
165246
|
+
type: "object",
|
|
165247
|
+
properties: {
|
|
165248
|
+
deleteAfter: {
|
|
165249
|
+
type: "string",
|
|
165250
|
+
format: "datetime",
|
|
165251
|
+
description: "A recommendation to server as to how long they should hold onto the deactivated account before deleting."
|
|
165252
|
+
}
|
|
165253
|
+
}
|
|
165254
|
+
}
|
|
165255
|
+
}
|
|
165256
|
+
}
|
|
165257
|
+
}
|
|
165258
|
+
},
|
|
164676
165259
|
ComAtprotoServerDefs: {
|
|
164677
165260
|
lexicon: 1,
|
|
164678
165261
|
id: "com.atproto.server.defs",
|
|
@@ -164791,7 +165374,7 @@ var schemaDict2 = {
|
|
|
164791
165374
|
encoding: "application/json",
|
|
164792
165375
|
schema: {
|
|
164793
165376
|
type: "object",
|
|
164794
|
-
required: ["availableUserDomains"],
|
|
165377
|
+
required: ["did", "availableUserDomains"],
|
|
164795
165378
|
properties: {
|
|
164796
165379
|
inviteCodeRequired: {
|
|
164797
165380
|
type: "boolean",
|
|
@@ -164812,6 +165395,10 @@ var schemaDict2 = {
|
|
|
164812
165395
|
type: "ref",
|
|
164813
165396
|
description: "URLs of service policy documents.",
|
|
164814
165397
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
165398
|
+
},
|
|
165399
|
+
did: {
|
|
165400
|
+
type: "string",
|
|
165401
|
+
format: "did"
|
|
164815
165402
|
}
|
|
164816
165403
|
}
|
|
164817
165404
|
}
|
|
@@ -164875,6 +165462,39 @@ var schemaDict2 = {
|
|
|
164875
165462
|
}
|
|
164876
165463
|
}
|
|
164877
165464
|
},
|
|
165465
|
+
ComAtprotoServerGetServiceAuth: {
|
|
165466
|
+
lexicon: 1,
|
|
165467
|
+
id: "com.atproto.server.getServiceAuth",
|
|
165468
|
+
defs: {
|
|
165469
|
+
main: {
|
|
165470
|
+
type: "query",
|
|
165471
|
+
description: "Get a signed token on behalf of the requesting DID for the requested service.",
|
|
165472
|
+
parameters: {
|
|
165473
|
+
type: "params",
|
|
165474
|
+
required: ["aud"],
|
|
165475
|
+
properties: {
|
|
165476
|
+
aud: {
|
|
165477
|
+
type: "string",
|
|
165478
|
+
format: "did",
|
|
165479
|
+
description: "The DID of the service that the token will be used to authenticate with"
|
|
165480
|
+
}
|
|
165481
|
+
}
|
|
165482
|
+
},
|
|
165483
|
+
output: {
|
|
165484
|
+
encoding: "application/json",
|
|
165485
|
+
schema: {
|
|
165486
|
+
type: "object",
|
|
165487
|
+
required: ["token"],
|
|
165488
|
+
properties: {
|
|
165489
|
+
token: {
|
|
165490
|
+
type: "string"
|
|
165491
|
+
}
|
|
165492
|
+
}
|
|
165493
|
+
}
|
|
165494
|
+
}
|
|
165495
|
+
}
|
|
165496
|
+
}
|
|
165497
|
+
},
|
|
164878
165498
|
ComAtprotoServerGetSession: {
|
|
164879
165499
|
lexicon: 1,
|
|
164880
165500
|
id: "com.atproto.server.getSession",
|
|
@@ -165599,6 +166219,7 @@ var schemaDict2 = {
|
|
|
165599
166219
|
type: "union",
|
|
165600
166220
|
refs: [
|
|
165601
166221
|
"lex:com.atproto.sync.subscribeRepos#commit",
|
|
166222
|
+
"lex:com.atproto.sync.subscribeRepos#identity",
|
|
165602
166223
|
"lex:com.atproto.sync.subscribeRepos#handle",
|
|
165603
166224
|
"lex:com.atproto.sync.subscribeRepos#migrate",
|
|
165604
166225
|
"lex:com.atproto.sync.subscribeRepos#tombstone",
|
|
@@ -165695,9 +166316,27 @@ var schemaDict2 = {
|
|
|
165695
166316
|
}
|
|
165696
166317
|
}
|
|
165697
166318
|
},
|
|
166319
|
+
identity: {
|
|
166320
|
+
type: "object",
|
|
166321
|
+
description: "Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
|
|
166322
|
+
required: ["seq", "did", "time"],
|
|
166323
|
+
properties: {
|
|
166324
|
+
seq: {
|
|
166325
|
+
type: "integer"
|
|
166326
|
+
},
|
|
166327
|
+
did: {
|
|
166328
|
+
type: "string",
|
|
166329
|
+
format: "did"
|
|
166330
|
+
},
|
|
166331
|
+
time: {
|
|
166332
|
+
type: "string",
|
|
166333
|
+
format: "datetime"
|
|
166334
|
+
}
|
|
166335
|
+
}
|
|
166336
|
+
},
|
|
165698
166337
|
handle: {
|
|
165699
166338
|
type: "object",
|
|
165700
|
-
description: "Represents an update of the account's handle, or transition to/from invalid state.",
|
|
166339
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
|
|
165701
166340
|
required: ["seq", "did", "handle", "time"],
|
|
165702
166341
|
properties: {
|
|
165703
166342
|
seq: {
|
|
@@ -165719,7 +166358,7 @@ var schemaDict2 = {
|
|
|
165719
166358
|
},
|
|
165720
166359
|
migrate: {
|
|
165721
166360
|
type: "object",
|
|
165722
|
-
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented;
|
|
166361
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead",
|
|
165723
166362
|
required: ["seq", "did", "migrateTo", "time"],
|
|
165724
166363
|
nullable: ["migrateTo"],
|
|
165725
166364
|
properties: {
|
|
@@ -165741,7 +166380,7 @@ var schemaDict2 = {
|
|
|
165741
166380
|
},
|
|
165742
166381
|
tombstone: {
|
|
165743
166382
|
type: "object",
|
|
165744
|
-
description: "Indicates that an account has been deleted.",
|
|
166383
|
+
description: "Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event",
|
|
165745
166384
|
required: ["seq", "did", "time"],
|
|
165746
166385
|
properties: {
|
|
165747
166386
|
seq: {
|
|
@@ -165859,57 +166498,6 @@ var schemaDict2 = {
|
|
|
165859
166498
|
}
|
|
165860
166499
|
}
|
|
165861
166500
|
},
|
|
165862
|
-
ComAtprotoTempImportRepo: {
|
|
165863
|
-
lexicon: 1,
|
|
165864
|
-
id: "com.atproto.temp.importRepo",
|
|
165865
|
-
defs: {
|
|
165866
|
-
main: {
|
|
165867
|
-
type: "procedure",
|
|
165868
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
165869
|
-
parameters: {
|
|
165870
|
-
type: "params",
|
|
165871
|
-
required: ["did"],
|
|
165872
|
-
properties: {
|
|
165873
|
-
did: {
|
|
165874
|
-
type: "string",
|
|
165875
|
-
format: "did",
|
|
165876
|
-
description: "The DID of the repo."
|
|
165877
|
-
}
|
|
165878
|
-
}
|
|
165879
|
-
},
|
|
165880
|
-
input: {
|
|
165881
|
-
encoding: "application/vnd.ipld.car"
|
|
165882
|
-
},
|
|
165883
|
-
output: {
|
|
165884
|
-
encoding: "text/plain"
|
|
165885
|
-
}
|
|
165886
|
-
}
|
|
165887
|
-
}
|
|
165888
|
-
},
|
|
165889
|
-
ComAtprotoTempPushBlob: {
|
|
165890
|
-
lexicon: 1,
|
|
165891
|
-
id: "com.atproto.temp.pushBlob",
|
|
165892
|
-
defs: {
|
|
165893
|
-
main: {
|
|
165894
|
-
type: "procedure",
|
|
165895
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
165896
|
-
parameters: {
|
|
165897
|
-
type: "params",
|
|
165898
|
-
required: ["did"],
|
|
165899
|
-
properties: {
|
|
165900
|
-
did: {
|
|
165901
|
-
type: "string",
|
|
165902
|
-
format: "did",
|
|
165903
|
-
description: "The DID of the repo."
|
|
165904
|
-
}
|
|
165905
|
-
}
|
|
165906
|
-
},
|
|
165907
|
-
input: {
|
|
165908
|
-
encoding: "*/*"
|
|
165909
|
-
}
|
|
165910
|
-
}
|
|
165911
|
-
}
|
|
165912
|
-
},
|
|
165913
166501
|
ComAtprotoTempRequestPhoneVerification: {
|
|
165914
166502
|
lexicon: 1,
|
|
165915
166503
|
id: "com.atproto.temp.requestPhoneVerification",
|
|
@@ -165932,82 +166520,6 @@ var schemaDict2 = {
|
|
|
165932
166520
|
}
|
|
165933
166521
|
}
|
|
165934
166522
|
},
|
|
165935
|
-
ComAtprotoTempTransferAccount: {
|
|
165936
|
-
lexicon: 1,
|
|
165937
|
-
id: "com.atproto.temp.transferAccount",
|
|
165938
|
-
defs: {
|
|
165939
|
-
main: {
|
|
165940
|
-
type: "procedure",
|
|
165941
|
-
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
165942
|
-
input: {
|
|
165943
|
-
encoding: "application/json",
|
|
165944
|
-
schema: {
|
|
165945
|
-
type: "object",
|
|
165946
|
-
required: ["handle", "did", "plcOp"],
|
|
165947
|
-
properties: {
|
|
165948
|
-
handle: {
|
|
165949
|
-
type: "string",
|
|
165950
|
-
format: "handle"
|
|
165951
|
-
},
|
|
165952
|
-
did: {
|
|
165953
|
-
type: "string",
|
|
165954
|
-
format: "did"
|
|
165955
|
-
},
|
|
165956
|
-
plcOp: {
|
|
165957
|
-
type: "unknown"
|
|
165958
|
-
}
|
|
165959
|
-
}
|
|
165960
|
-
}
|
|
165961
|
-
},
|
|
165962
|
-
output: {
|
|
165963
|
-
encoding: "application/json",
|
|
165964
|
-
schema: {
|
|
165965
|
-
type: "object",
|
|
165966
|
-
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
165967
|
-
properties: {
|
|
165968
|
-
accessJwt: {
|
|
165969
|
-
type: "string"
|
|
165970
|
-
},
|
|
165971
|
-
refreshJwt: {
|
|
165972
|
-
type: "string"
|
|
165973
|
-
},
|
|
165974
|
-
handle: {
|
|
165975
|
-
type: "string",
|
|
165976
|
-
format: "handle"
|
|
165977
|
-
},
|
|
165978
|
-
did: {
|
|
165979
|
-
type: "string",
|
|
165980
|
-
format: "did"
|
|
165981
|
-
}
|
|
165982
|
-
}
|
|
165983
|
-
}
|
|
165984
|
-
},
|
|
165985
|
-
errors: [
|
|
165986
|
-
{
|
|
165987
|
-
name: "InvalidHandle"
|
|
165988
|
-
},
|
|
165989
|
-
{
|
|
165990
|
-
name: "InvalidPassword"
|
|
165991
|
-
},
|
|
165992
|
-
{
|
|
165993
|
-
name: "InvalidInviteCode"
|
|
165994
|
-
},
|
|
165995
|
-
{
|
|
165996
|
-
name: "HandleNotAvailable"
|
|
165997
|
-
},
|
|
165998
|
-
{
|
|
165999
|
-
name: "UnsupportedDomain"
|
|
166000
|
-
},
|
|
166001
|
-
{
|
|
166002
|
-
name: "UnresolvableDid"
|
|
166003
|
-
},
|
|
166004
|
-
{
|
|
166005
|
-
name: "IncompatibleDidDoc"
|
|
166006
|
-
}
|
|
166007
|
-
]
|
|
166008
|
-
}
|
|
166009
|
-
}
|
|
166010
|
-
},
|
|
166011
166523
|
AppBskyActorDefs: {
|
|
166012
166524
|
lexicon: 1,
|
|
166013
166525
|
id: "app.bsky.actor.defs",
|
|
@@ -166303,6 +166815,61 @@ var schemaDict2 = {
|
|
|
166303
166815
|
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
166304
166816
|
}
|
|
166305
166817
|
}
|
|
166818
|
+
},
|
|
166819
|
+
mutedWordTarget: {
|
|
166820
|
+
type: "string",
|
|
166821
|
+
knownValues: ["content", "tag"],
|
|
166822
|
+
maxLength: 640,
|
|
166823
|
+
maxGraphemes: 64
|
|
166824
|
+
},
|
|
166825
|
+
mutedWord: {
|
|
166826
|
+
type: "object",
|
|
166827
|
+
description: "A word that the account owner has muted.",
|
|
166828
|
+
required: ["value", "targets"],
|
|
166829
|
+
properties: {
|
|
166830
|
+
value: {
|
|
166831
|
+
type: "string",
|
|
166832
|
+
description: "The muted word itself.",
|
|
166833
|
+
maxLength: 1e4,
|
|
166834
|
+
maxGraphemes: 1e3
|
|
166835
|
+
},
|
|
166836
|
+
targets: {
|
|
166837
|
+
type: "array",
|
|
166838
|
+
description: "The intended targets of the muted word.",
|
|
166839
|
+
items: {
|
|
166840
|
+
type: "ref",
|
|
166841
|
+
ref: "lex:app.bsky.actor.defs#mutedWordTarget"
|
|
166842
|
+
}
|
|
166843
|
+
}
|
|
166844
|
+
}
|
|
166845
|
+
},
|
|
166846
|
+
mutedWordsPref: {
|
|
166847
|
+
type: "object",
|
|
166848
|
+
required: ["items"],
|
|
166849
|
+
properties: {
|
|
166850
|
+
items: {
|
|
166851
|
+
type: "array",
|
|
166852
|
+
items: {
|
|
166853
|
+
type: "ref",
|
|
166854
|
+
ref: "lex:app.bsky.actor.defs#mutedWord"
|
|
166855
|
+
},
|
|
166856
|
+
description: "A list of words the account owner has muted."
|
|
166857
|
+
}
|
|
166858
|
+
}
|
|
166859
|
+
},
|
|
166860
|
+
hiddenPostsPref: {
|
|
166861
|
+
type: "object",
|
|
166862
|
+
required: ["items"],
|
|
166863
|
+
properties: {
|
|
166864
|
+
items: {
|
|
166865
|
+
type: "array",
|
|
166866
|
+
items: {
|
|
166867
|
+
type: "string",
|
|
166868
|
+
format: "at-uri"
|
|
166869
|
+
},
|
|
166870
|
+
description: "A list of URIs of posts the account owner has hidden."
|
|
166871
|
+
}
|
|
166872
|
+
}
|
|
166306
166873
|
}
|
|
166307
166874
|
}
|
|
166308
166875
|
},
|
|
@@ -168169,7 +168736,7 @@ var schemaDict2 = {
|
|
|
168169
168736
|
},
|
|
168170
168737
|
tags: {
|
|
168171
168738
|
type: "array",
|
|
168172
|
-
description: "Additional
|
|
168739
|
+
description: "Additional hashtags, in addition to any included in post text and facets.",
|
|
168173
168740
|
maxLength: 8,
|
|
168174
168741
|
items: {
|
|
168175
168742
|
type: "string",
|
|
@@ -169810,7 +170377,11 @@ var ids = {
|
|
|
169810
170377
|
ComAtprotoAdminUpdateAccountHandle: "com.atproto.admin.updateAccountHandle",
|
|
169811
170378
|
ComAtprotoAdminUpdateCommunicationTemplate: "com.atproto.admin.updateCommunicationTemplate",
|
|
169812
170379
|
ComAtprotoAdminUpdateSubjectStatus: "com.atproto.admin.updateSubjectStatus",
|
|
170380
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: "com.atproto.identity.getRecommendedDidCredentials",
|
|
170381
|
+
ComAtprotoIdentityRequestPlcOperationSignature: "com.atproto.identity.requestPlcOperationSignature",
|
|
169813
170382
|
ComAtprotoIdentityResolveHandle: "com.atproto.identity.resolveHandle",
|
|
170383
|
+
ComAtprotoIdentitySignPlcOperation: "com.atproto.identity.signPlcOperation",
|
|
170384
|
+
ComAtprotoIdentitySubmitPlcOperation: "com.atproto.identity.submitPlcOperation",
|
|
169814
170385
|
ComAtprotoIdentityUpdateHandle: "com.atproto.identity.updateHandle",
|
|
169815
170386
|
ComAtprotoLabelDefs: "com.atproto.label.defs",
|
|
169816
170387
|
ComAtprotoLabelQueryLabels: "com.atproto.label.queryLabels",
|
|
@@ -169822,21 +170393,27 @@ var ids = {
|
|
|
169822
170393
|
ComAtprotoRepoDeleteRecord: "com.atproto.repo.deleteRecord",
|
|
169823
170394
|
ComAtprotoRepoDescribeRepo: "com.atproto.repo.describeRepo",
|
|
169824
170395
|
ComAtprotoRepoGetRecord: "com.atproto.repo.getRecord",
|
|
170396
|
+
ComAtprotoRepoImportRepo: "com.atproto.repo.importRepo",
|
|
170397
|
+
ComAtprotoRepoListMissingBlobs: "com.atproto.repo.listMissingBlobs",
|
|
169825
170398
|
ComAtprotoRepoListRecords: "com.atproto.repo.listRecords",
|
|
169826
170399
|
ComAtprotoRepoPutRecord: "com.atproto.repo.putRecord",
|
|
169827
170400
|
ComAtprotoRepoStrongRef: "com.atproto.repo.strongRef",
|
|
169828
170401
|
ComAtprotoRepoUploadBlob: "com.atproto.repo.uploadBlob",
|
|
170402
|
+
ComAtprotoServerActivateAccount: "com.atproto.server.activateAccount",
|
|
170403
|
+
ComAtprotoServerCheckAccountStatus: "com.atproto.server.checkAccountStatus",
|
|
169829
170404
|
ComAtprotoServerConfirmEmail: "com.atproto.server.confirmEmail",
|
|
169830
170405
|
ComAtprotoServerCreateAccount: "com.atproto.server.createAccount",
|
|
169831
170406
|
ComAtprotoServerCreateAppPassword: "com.atproto.server.createAppPassword",
|
|
169832
170407
|
ComAtprotoServerCreateInviteCode: "com.atproto.server.createInviteCode",
|
|
169833
170408
|
ComAtprotoServerCreateInviteCodes: "com.atproto.server.createInviteCodes",
|
|
169834
170409
|
ComAtprotoServerCreateSession: "com.atproto.server.createSession",
|
|
170410
|
+
ComAtprotoServerDeactivateAccount: "com.atproto.server.deactivateAccount",
|
|
169835
170411
|
ComAtprotoServerDefs: "com.atproto.server.defs",
|
|
169836
170412
|
ComAtprotoServerDeleteAccount: "com.atproto.server.deleteAccount",
|
|
169837
170413
|
ComAtprotoServerDeleteSession: "com.atproto.server.deleteSession",
|
|
169838
170414
|
ComAtprotoServerDescribeServer: "com.atproto.server.describeServer",
|
|
169839
170415
|
ComAtprotoServerGetAccountInviteCodes: "com.atproto.server.getAccountInviteCodes",
|
|
170416
|
+
ComAtprotoServerGetServiceAuth: "com.atproto.server.getServiceAuth",
|
|
169840
170417
|
ComAtprotoServerGetSession: "com.atproto.server.getSession",
|
|
169841
170418
|
ComAtprotoServerListAppPasswords: "com.atproto.server.listAppPasswords",
|
|
169842
170419
|
ComAtprotoServerRefreshSession: "com.atproto.server.refreshSession",
|
|
@@ -169862,10 +170439,7 @@ var ids = {
|
|
|
169862
170439
|
ComAtprotoSyncSubscribeRepos: "com.atproto.sync.subscribeRepos",
|
|
169863
170440
|
ComAtprotoTempCheckSignupQueue: "com.atproto.temp.checkSignupQueue",
|
|
169864
170441
|
ComAtprotoTempFetchLabels: "com.atproto.temp.fetchLabels",
|
|
169865
|
-
ComAtprotoTempImportRepo: "com.atproto.temp.importRepo",
|
|
169866
|
-
ComAtprotoTempPushBlob: "com.atproto.temp.pushBlob",
|
|
169867
170442
|
ComAtprotoTempRequestPhoneVerification: "com.atproto.temp.requestPhoneVerification",
|
|
169868
|
-
ComAtprotoTempTransferAccount: "com.atproto.temp.transferAccount",
|
|
169869
170443
|
AppBskyActorDefs: "app.bsky.actor.defs",
|
|
169870
170444
|
AppBskyActorGetPreferences: "app.bsky.actor.getPreferences",
|
|
169871
170445
|
AppBskyActorGetProfile: "app.bsky.actor.getProfile",
|
|
@@ -173495,10 +174069,26 @@ var ComAtprotoIdentityNS2 = class {
|
|
|
173495
174069
|
constructor(server) {
|
|
173496
174070
|
this._server = server;
|
|
173497
174071
|
}
|
|
174072
|
+
getRecommendedDidCredentials(cfg) {
|
|
174073
|
+
const nsid2 = "com.atproto.identity.getRecommendedDidCredentials";
|
|
174074
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174075
|
+
}
|
|
174076
|
+
requestPlcOperationSignature(cfg) {
|
|
174077
|
+
const nsid2 = "com.atproto.identity.requestPlcOperationSignature";
|
|
174078
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174079
|
+
}
|
|
173498
174080
|
resolveHandle(cfg) {
|
|
173499
174081
|
const nsid2 = "com.atproto.identity.resolveHandle";
|
|
173500
174082
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173501
174083
|
}
|
|
174084
|
+
signPlcOperation(cfg) {
|
|
174085
|
+
const nsid2 = "com.atproto.identity.signPlcOperation";
|
|
174086
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174087
|
+
}
|
|
174088
|
+
submitPlcOperation(cfg) {
|
|
174089
|
+
const nsid2 = "com.atproto.identity.submitPlcOperation";
|
|
174090
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174091
|
+
}
|
|
173502
174092
|
updateHandle(cfg) {
|
|
173503
174093
|
const nsid2 = "com.atproto.identity.updateHandle";
|
|
173504
174094
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173550,6 +174140,14 @@ var ComAtprotoRepoNS2 = class {
|
|
|
173550
174140
|
const nsid2 = "com.atproto.repo.getRecord";
|
|
173551
174141
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173552
174142
|
}
|
|
174143
|
+
importRepo(cfg) {
|
|
174144
|
+
const nsid2 = "com.atproto.repo.importRepo";
|
|
174145
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174146
|
+
}
|
|
174147
|
+
listMissingBlobs(cfg) {
|
|
174148
|
+
const nsid2 = "com.atproto.repo.listMissingBlobs";
|
|
174149
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174150
|
+
}
|
|
173553
174151
|
listRecords(cfg) {
|
|
173554
174152
|
const nsid2 = "com.atproto.repo.listRecords";
|
|
173555
174153
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173567,6 +174165,14 @@ var ComAtprotoServerNS2 = class {
|
|
|
173567
174165
|
constructor(server) {
|
|
173568
174166
|
this._server = server;
|
|
173569
174167
|
}
|
|
174168
|
+
activateAccount(cfg) {
|
|
174169
|
+
const nsid2 = "com.atproto.server.activateAccount";
|
|
174170
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174171
|
+
}
|
|
174172
|
+
checkAccountStatus(cfg) {
|
|
174173
|
+
const nsid2 = "com.atproto.server.checkAccountStatus";
|
|
174174
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174175
|
+
}
|
|
173570
174176
|
confirmEmail(cfg) {
|
|
173571
174177
|
const nsid2 = "com.atproto.server.confirmEmail";
|
|
173572
174178
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173591,6 +174197,10 @@ var ComAtprotoServerNS2 = class {
|
|
|
173591
174197
|
const nsid2 = "com.atproto.server.createSession";
|
|
173592
174198
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173593
174199
|
}
|
|
174200
|
+
deactivateAccount(cfg) {
|
|
174201
|
+
const nsid2 = "com.atproto.server.deactivateAccount";
|
|
174202
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174203
|
+
}
|
|
173594
174204
|
deleteAccount(cfg) {
|
|
173595
174205
|
const nsid2 = "com.atproto.server.deleteAccount";
|
|
173596
174206
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173607,6 +174217,10 @@ var ComAtprotoServerNS2 = class {
|
|
|
173607
174217
|
const nsid2 = "com.atproto.server.getAccountInviteCodes";
|
|
173608
174218
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173609
174219
|
}
|
|
174220
|
+
getServiceAuth(cfg) {
|
|
174221
|
+
const nsid2 = "com.atproto.server.getServiceAuth";
|
|
174222
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174223
|
+
}
|
|
173610
174224
|
getSession(cfg) {
|
|
173611
174225
|
const nsid2 = "com.atproto.server.getSession";
|
|
173612
174226
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173717,22 +174331,10 @@ var ComAtprotoTempNS2 = class {
|
|
|
173717
174331
|
const nsid2 = "com.atproto.temp.fetchLabels";
|
|
173718
174332
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173719
174333
|
}
|
|
173720
|
-
importRepo(cfg) {
|
|
173721
|
-
const nsid2 = "com.atproto.temp.importRepo";
|
|
173722
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
173723
|
-
}
|
|
173724
|
-
pushBlob(cfg) {
|
|
173725
|
-
const nsid2 = "com.atproto.temp.pushBlob";
|
|
173726
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
173727
|
-
}
|
|
173728
174334
|
requestPhoneVerification(cfg) {
|
|
173729
174335
|
const nsid2 = "com.atproto.temp.requestPhoneVerification";
|
|
173730
174336
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173731
174337
|
}
|
|
173732
|
-
transferAccount(cfg) {
|
|
173733
|
-
const nsid2 = "com.atproto.temp.transferAccount";
|
|
173734
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
173735
|
-
}
|
|
173736
174338
|
};
|
|
173737
174339
|
var AppNS2 = class {
|
|
173738
174340
|
constructor(server) {
|
|
@@ -174377,7 +174979,7 @@ var import_promises2 = require("node:timers/promises");
|
|
|
174377
174979
|
|
|
174378
174980
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/reader.js
|
|
174379
174981
|
var import_fs = __toESM(require("fs"), 1);
|
|
174380
|
-
var
|
|
174982
|
+
var import_util74 = require("util");
|
|
174381
174983
|
|
|
174382
174984
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/decoder.js
|
|
174383
174985
|
var import_varint2 = __toESM(require_varint2(), 1);
|
|
@@ -174588,7 +175190,7 @@ function asyncIterableReader(asyncIterable) {
|
|
|
174588
175190
|
}
|
|
174589
175191
|
|
|
174590
175192
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/reader.js
|
|
174591
|
-
var fsread = (0,
|
|
175193
|
+
var fsread = (0, import_util74.promisify)(import_fs.default.read);
|
|
174592
175194
|
|
|
174593
175195
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/indexer.js
|
|
174594
175196
|
var CarIndexer = class {
|
|
@@ -174716,7 +175318,7 @@ async function decodeIterator(reader) {
|
|
|
174716
175318
|
|
|
174717
175319
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/writer.js
|
|
174718
175320
|
var import_fs2 = __toESM(require("fs"), 1);
|
|
174719
|
-
var
|
|
175321
|
+
var import_util75 = require("util");
|
|
174720
175322
|
|
|
174721
175323
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/encoder.js
|
|
174722
175324
|
var import_varint3 = __toESM(require_varint2(), 1);
|
|
@@ -174736,8 +175338,8 @@ var CarWriterOut = class {
|
|
|
174736
175338
|
};
|
|
174737
175339
|
|
|
174738
175340
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/writer.js
|
|
174739
|
-
var fsread2 = (0,
|
|
174740
|
-
var fswrite = (0,
|
|
175341
|
+
var fsread2 = (0, import_util75.promisify)(import_fs2.default.read);
|
|
175342
|
+
var fswrite = (0, import_util75.promisify)(import_fs2.default.write);
|
|
174741
175343
|
|
|
174742
175344
|
// ../repo/src/util.ts
|
|
174743
175345
|
async function* verifyIncomingCarBlocks(car) {
|
|
@@ -180565,6 +181167,9 @@ var import_node_assert7 = __toESM(require("node:assert"));
|
|
|
180565
181167
|
function isCommit(v) {
|
|
180566
181168
|
return isObj3(v) && hasProp3(v, "$type") && v.$type === "com.atproto.sync.subscribeRepos#commit";
|
|
180567
181169
|
}
|
|
181170
|
+
function isIdentity(v) {
|
|
181171
|
+
return isObj3(v) && hasProp3(v, "$type") && v.$type === "com.atproto.sync.subscribeRepos#identity";
|
|
181172
|
+
}
|
|
180568
181173
|
function isHandle(v) {
|
|
180569
181174
|
return isObj3(v) && hasProp3(v, "$type") && v.$type === "com.atproto.sync.subscribeRepos#handle";
|
|
180570
181175
|
}
|
|
@@ -180787,6 +181392,8 @@ var IndexerSubscription = class {
|
|
|
180787
181392
|
await this.handleCommit(msg);
|
|
180788
181393
|
} else if (isHandle(msg)) {
|
|
180789
181394
|
await this.handleUpdateHandle(msg);
|
|
181395
|
+
} else if (isIdentity(msg)) {
|
|
181396
|
+
await this.handleIdentityEvt(msg);
|
|
180790
181397
|
} else if (isTombstone(msg)) {
|
|
180791
181398
|
await this.handleTombstone(msg);
|
|
180792
181399
|
} else if (isMigrate(msg)) {
|
|
@@ -180861,6 +181468,9 @@ var IndexerSubscription = class {
|
|
|
180861
181468
|
async handleUpdateHandle(msg) {
|
|
180862
181469
|
await this.indexingSvc.indexHandle(msg.did, msg.time, true);
|
|
180863
181470
|
}
|
|
181471
|
+
async handleIdentityEvt(msg) {
|
|
181472
|
+
await this.indexingSvc.indexHandle(msg.did, msg.time, true);
|
|
181473
|
+
}
|
|
180864
181474
|
async handleTombstone(msg) {
|
|
180865
181475
|
await this.indexingSvc.tombstoneActor(msg.did);
|
|
180866
181476
|
}
|
|
@@ -181914,6 +182524,8 @@ function getMessageDetails(msg) {
|
|
|
181914
182524
|
return { seq: msg.seq, repo: msg.repo, message: msg };
|
|
181915
182525
|
} else if (isHandle(msg)) {
|
|
181916
182526
|
return { seq: msg.seq, repo: msg.did, message: msg };
|
|
182527
|
+
} else if (isIdentity(msg)) {
|
|
182528
|
+
return { seq: msg.seq, repo: msg.did, message: msg };
|
|
181917
182529
|
} else if (isMigrate(msg)) {
|
|
181918
182530
|
return { seq: msg.seq, repo: msg.did, message: msg };
|
|
181919
182531
|
} else if (isTombstone(msg)) {
|