@atproto/bsky 0.0.30 → 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 +14 -0
- package/dist/db/index.js.map +2 -2
- package/dist/index.js +1315 -587
- 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 +449 -110
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +20 -0
- package/dist/lexicon/types/com/atproto/admin/defs.d.ts +9 -0
- package/dist/lexicon/types/com/atproto/admin/emitModerationEvent.d.ts +1 -1
- package/dist/lexicon/types/com/atproto/admin/queryModerationEvents.d.ts +2 -0
- package/dist/lexicon/types/com/atproto/admin/queryModerationStatuses.d.ts +2 -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 +5 -5
- 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 +491 -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/admin/defs.ts +24 -0
- package/src/lexicon/types/com/atproto/admin/emitModerationEvent.ts +1 -0
- package/src/lexicon/types/com/atproto/admin/queryModerationEvents.ts +4 -0
- package/src/lexicon/types/com/atproto/admin/queryModerationStatuses.ts +2 -0
- 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 +4 -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");
|
|
@@ -149683,6 +149683,12 @@ var schemaDict = {
|
|
|
149683
149683
|
suspendUntil: {
|
|
149684
149684
|
type: "string",
|
|
149685
149685
|
format: "datetime"
|
|
149686
|
+
},
|
|
149687
|
+
tags: {
|
|
149688
|
+
type: "array",
|
|
149689
|
+
items: {
|
|
149690
|
+
type: "string"
|
|
149691
|
+
}
|
|
149686
149692
|
}
|
|
149687
149693
|
}
|
|
149688
149694
|
},
|
|
@@ -150274,6 +150280,31 @@ var schemaDict = {
|
|
|
150274
150280
|
}
|
|
150275
150281
|
}
|
|
150276
150282
|
},
|
|
150283
|
+
modEventTag: {
|
|
150284
|
+
type: "object",
|
|
150285
|
+
description: "Add/Remove a tag on a subject",
|
|
150286
|
+
required: ["add", "remove"],
|
|
150287
|
+
properties: {
|
|
150288
|
+
add: {
|
|
150289
|
+
type: "array",
|
|
150290
|
+
items: {
|
|
150291
|
+
type: "string"
|
|
150292
|
+
},
|
|
150293
|
+
description: "Tags to be added to the subject. If already exists, won't be duplicated."
|
|
150294
|
+
},
|
|
150295
|
+
remove: {
|
|
150296
|
+
type: "array",
|
|
150297
|
+
items: {
|
|
150298
|
+
type: "string"
|
|
150299
|
+
},
|
|
150300
|
+
description: "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated."
|
|
150301
|
+
},
|
|
150302
|
+
comment: {
|
|
150303
|
+
type: "string",
|
|
150304
|
+
description: "Additional comment about added/removed tags."
|
|
150305
|
+
}
|
|
150306
|
+
}
|
|
150307
|
+
},
|
|
150277
150308
|
communicationTemplateView: {
|
|
150278
150309
|
type: "object",
|
|
150279
150310
|
required: [
|
|
@@ -150448,7 +150479,8 @@ var schemaDict = {
|
|
|
150448
150479
|
"lex:com.atproto.admin.defs#modEventMute",
|
|
150449
150480
|
"lex:com.atproto.admin.defs#modEventReverseTakedown",
|
|
150450
150481
|
"lex:com.atproto.admin.defs#modEventUnmute",
|
|
150451
|
-
"lex:com.atproto.admin.defs#modEventEmail"
|
|
150482
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
|
150483
|
+
"lex:com.atproto.admin.defs#modEventTag"
|
|
150452
150484
|
]
|
|
150453
150485
|
},
|
|
150454
150486
|
subject: {
|
|
@@ -150870,6 +150902,20 @@ var schemaDict = {
|
|
|
150870
150902
|
},
|
|
150871
150903
|
description: "If specified, only events where all of these labels were removed are returned"
|
|
150872
150904
|
},
|
|
150905
|
+
addedTags: {
|
|
150906
|
+
type: "array",
|
|
150907
|
+
items: {
|
|
150908
|
+
type: "string"
|
|
150909
|
+
},
|
|
150910
|
+
description: "If specified, only events where all of these tags were added are returned"
|
|
150911
|
+
},
|
|
150912
|
+
removedTags: {
|
|
150913
|
+
type: "array",
|
|
150914
|
+
items: {
|
|
150915
|
+
type: "string"
|
|
150916
|
+
},
|
|
150917
|
+
description: "If specified, only events where all of these tags were removed are returned"
|
|
150918
|
+
},
|
|
150873
150919
|
reportTypes: {
|
|
150874
150920
|
type: "array",
|
|
150875
150921
|
items: {
|
|
@@ -150985,6 +151031,18 @@ var schemaDict = {
|
|
|
150985
151031
|
maximum: 100,
|
|
150986
151032
|
default: 50
|
|
150987
151033
|
},
|
|
151034
|
+
tags: {
|
|
151035
|
+
type: "array",
|
|
151036
|
+
items: {
|
|
151037
|
+
type: "string"
|
|
151038
|
+
}
|
|
151039
|
+
},
|
|
151040
|
+
excludeTags: {
|
|
151041
|
+
type: "array",
|
|
151042
|
+
items: {
|
|
151043
|
+
type: "string"
|
|
151044
|
+
}
|
|
151045
|
+
},
|
|
150988
151046
|
cursor: {
|
|
150989
151047
|
type: "string"
|
|
150990
151048
|
}
|
|
@@ -151267,6 +151325,53 @@ var schemaDict = {
|
|
|
151267
151325
|
}
|
|
151268
151326
|
}
|
|
151269
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
|
+
},
|
|
151270
151375
|
ComAtprotoIdentityResolveHandle: {
|
|
151271
151376
|
lexicon: 1,
|
|
151272
151377
|
id: "com.atproto.identity.resolveHandle",
|
|
@@ -151301,6 +151406,81 @@ var schemaDict = {
|
|
|
151301
151406
|
}
|
|
151302
151407
|
}
|
|
151303
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
|
+
},
|
|
151304
151484
|
ComAtprotoIdentityUpdateHandle: {
|
|
151305
151485
|
lexicon: 1,
|
|
151306
151486
|
id: "com.atproto.identity.updateHandle",
|
|
@@ -151973,6 +152153,76 @@ var schemaDict = {
|
|
|
151973
152153
|
}
|
|
151974
152154
|
}
|
|
151975
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
|
+
},
|
|
151976
152226
|
ComAtprotoRepoListRecords: {
|
|
151977
152227
|
lexicon: 1,
|
|
151978
152228
|
id: "com.atproto.repo.listRecords",
|
|
@@ -152179,6 +152429,73 @@ var schemaDict = {
|
|
|
152179
152429
|
}
|
|
152180
152430
|
}
|
|
152181
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
|
+
},
|
|
152182
152499
|
ComAtprotoServerConfirmEmail: {
|
|
152183
152500
|
lexicon: 1,
|
|
152184
152501
|
id: "com.atproto.server.confirmEmail",
|
|
@@ -152539,6 +152856,29 @@ var schemaDict = {
|
|
|
152539
152856
|
}
|
|
152540
152857
|
}
|
|
152541
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
|
+
},
|
|
152542
152882
|
ComAtprotoServerDefs: {
|
|
152543
152883
|
lexicon: 1,
|
|
152544
152884
|
id: "com.atproto.server.defs",
|
|
@@ -152657,7 +152997,7 @@ var schemaDict = {
|
|
|
152657
152997
|
encoding: "application/json",
|
|
152658
152998
|
schema: {
|
|
152659
152999
|
type: "object",
|
|
152660
|
-
required: ["availableUserDomains"],
|
|
153000
|
+
required: ["did", "availableUserDomains"],
|
|
152661
153001
|
properties: {
|
|
152662
153002
|
inviteCodeRequired: {
|
|
152663
153003
|
type: "boolean",
|
|
@@ -152678,6 +153018,10 @@ var schemaDict = {
|
|
|
152678
153018
|
type: "ref",
|
|
152679
153019
|
description: "URLs of service policy documents.",
|
|
152680
153020
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
153021
|
+
},
|
|
153022
|
+
did: {
|
|
153023
|
+
type: "string",
|
|
153024
|
+
format: "did"
|
|
152681
153025
|
}
|
|
152682
153026
|
}
|
|
152683
153027
|
}
|
|
@@ -152741,6 +153085,39 @@ var schemaDict = {
|
|
|
152741
153085
|
}
|
|
152742
153086
|
}
|
|
152743
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
|
+
},
|
|
152744
153121
|
ComAtprotoServerGetSession: {
|
|
152745
153122
|
lexicon: 1,
|
|
152746
153123
|
id: "com.atproto.server.getSession",
|
|
@@ -153465,6 +153842,7 @@ var schemaDict = {
|
|
|
153465
153842
|
type: "union",
|
|
153466
153843
|
refs: [
|
|
153467
153844
|
"lex:com.atproto.sync.subscribeRepos#commit",
|
|
153845
|
+
"lex:com.atproto.sync.subscribeRepos#identity",
|
|
153468
153846
|
"lex:com.atproto.sync.subscribeRepos#handle",
|
|
153469
153847
|
"lex:com.atproto.sync.subscribeRepos#migrate",
|
|
153470
153848
|
"lex:com.atproto.sync.subscribeRepos#tombstone",
|
|
@@ -153561,9 +153939,27 @@ var schemaDict = {
|
|
|
153561
153939
|
}
|
|
153562
153940
|
}
|
|
153563
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
|
+
},
|
|
153564
153960
|
handle: {
|
|
153565
153961
|
type: "object",
|
|
153566
|
-
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.",
|
|
153567
153963
|
required: ["seq", "did", "handle", "time"],
|
|
153568
153964
|
properties: {
|
|
153569
153965
|
seq: {
|
|
@@ -153585,7 +153981,7 @@ var schemaDict = {
|
|
|
153585
153981
|
},
|
|
153586
153982
|
migrate: {
|
|
153587
153983
|
type: "object",
|
|
153588
|
-
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",
|
|
153589
153985
|
required: ["seq", "did", "migrateTo", "time"],
|
|
153590
153986
|
nullable: ["migrateTo"],
|
|
153591
153987
|
properties: {
|
|
@@ -153607,7 +154003,7 @@ var schemaDict = {
|
|
|
153607
154003
|
},
|
|
153608
154004
|
tombstone: {
|
|
153609
154005
|
type: "object",
|
|
153610
|
-
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",
|
|
153611
154007
|
required: ["seq", "did", "time"],
|
|
153612
154008
|
properties: {
|
|
153613
154009
|
seq: {
|
|
@@ -153725,57 +154121,6 @@ var schemaDict = {
|
|
|
153725
154121
|
}
|
|
153726
154122
|
}
|
|
153727
154123
|
},
|
|
153728
|
-
ComAtprotoTempImportRepo: {
|
|
153729
|
-
lexicon: 1,
|
|
153730
|
-
id: "com.atproto.temp.importRepo",
|
|
153731
|
-
defs: {
|
|
153732
|
-
main: {
|
|
153733
|
-
type: "procedure",
|
|
153734
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
153735
|
-
parameters: {
|
|
153736
|
-
type: "params",
|
|
153737
|
-
required: ["did"],
|
|
153738
|
-
properties: {
|
|
153739
|
-
did: {
|
|
153740
|
-
type: "string",
|
|
153741
|
-
format: "did",
|
|
153742
|
-
description: "The DID of the repo."
|
|
153743
|
-
}
|
|
153744
|
-
}
|
|
153745
|
-
},
|
|
153746
|
-
input: {
|
|
153747
|
-
encoding: "application/vnd.ipld.car"
|
|
153748
|
-
},
|
|
153749
|
-
output: {
|
|
153750
|
-
encoding: "text/plain"
|
|
153751
|
-
}
|
|
153752
|
-
}
|
|
153753
|
-
}
|
|
153754
|
-
},
|
|
153755
|
-
ComAtprotoTempPushBlob: {
|
|
153756
|
-
lexicon: 1,
|
|
153757
|
-
id: "com.atproto.temp.pushBlob",
|
|
153758
|
-
defs: {
|
|
153759
|
-
main: {
|
|
153760
|
-
type: "procedure",
|
|
153761
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
153762
|
-
parameters: {
|
|
153763
|
-
type: "params",
|
|
153764
|
-
required: ["did"],
|
|
153765
|
-
properties: {
|
|
153766
|
-
did: {
|
|
153767
|
-
type: "string",
|
|
153768
|
-
format: "did",
|
|
153769
|
-
description: "The DID of the repo."
|
|
153770
|
-
}
|
|
153771
|
-
}
|
|
153772
|
-
},
|
|
153773
|
-
input: {
|
|
153774
|
-
encoding: "*/*"
|
|
153775
|
-
}
|
|
153776
|
-
}
|
|
153777
|
-
}
|
|
153778
|
-
},
|
|
153779
154124
|
ComAtprotoTempRequestPhoneVerification: {
|
|
153780
154125
|
lexicon: 1,
|
|
153781
154126
|
id: "com.atproto.temp.requestPhoneVerification",
|
|
@@ -153798,82 +154143,6 @@ var schemaDict = {
|
|
|
153798
154143
|
}
|
|
153799
154144
|
}
|
|
153800
154145
|
},
|
|
153801
|
-
ComAtprotoTempTransferAccount: {
|
|
153802
|
-
lexicon: 1,
|
|
153803
|
-
id: "com.atproto.temp.transferAccount",
|
|
153804
|
-
defs: {
|
|
153805
|
-
main: {
|
|
153806
|
-
type: "procedure",
|
|
153807
|
-
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
153808
|
-
input: {
|
|
153809
|
-
encoding: "application/json",
|
|
153810
|
-
schema: {
|
|
153811
|
-
type: "object",
|
|
153812
|
-
required: ["handle", "did", "plcOp"],
|
|
153813
|
-
properties: {
|
|
153814
|
-
handle: {
|
|
153815
|
-
type: "string",
|
|
153816
|
-
format: "handle"
|
|
153817
|
-
},
|
|
153818
|
-
did: {
|
|
153819
|
-
type: "string",
|
|
153820
|
-
format: "did"
|
|
153821
|
-
},
|
|
153822
|
-
plcOp: {
|
|
153823
|
-
type: "unknown"
|
|
153824
|
-
}
|
|
153825
|
-
}
|
|
153826
|
-
}
|
|
153827
|
-
},
|
|
153828
|
-
output: {
|
|
153829
|
-
encoding: "application/json",
|
|
153830
|
-
schema: {
|
|
153831
|
-
type: "object",
|
|
153832
|
-
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
153833
|
-
properties: {
|
|
153834
|
-
accessJwt: {
|
|
153835
|
-
type: "string"
|
|
153836
|
-
},
|
|
153837
|
-
refreshJwt: {
|
|
153838
|
-
type: "string"
|
|
153839
|
-
},
|
|
153840
|
-
handle: {
|
|
153841
|
-
type: "string",
|
|
153842
|
-
format: "handle"
|
|
153843
|
-
},
|
|
153844
|
-
did: {
|
|
153845
|
-
type: "string",
|
|
153846
|
-
format: "did"
|
|
153847
|
-
}
|
|
153848
|
-
}
|
|
153849
|
-
}
|
|
153850
|
-
},
|
|
153851
|
-
errors: [
|
|
153852
|
-
{
|
|
153853
|
-
name: "InvalidHandle"
|
|
153854
|
-
},
|
|
153855
|
-
{
|
|
153856
|
-
name: "InvalidPassword"
|
|
153857
|
-
},
|
|
153858
|
-
{
|
|
153859
|
-
name: "InvalidInviteCode"
|
|
153860
|
-
},
|
|
153861
|
-
{
|
|
153862
|
-
name: "HandleNotAvailable"
|
|
153863
|
-
},
|
|
153864
|
-
{
|
|
153865
|
-
name: "UnsupportedDomain"
|
|
153866
|
-
},
|
|
153867
|
-
{
|
|
153868
|
-
name: "UnresolvableDid"
|
|
153869
|
-
},
|
|
153870
|
-
{
|
|
153871
|
-
name: "IncompatibleDidDoc"
|
|
153872
|
-
}
|
|
153873
|
-
]
|
|
153874
|
-
}
|
|
153875
|
-
}
|
|
153876
|
-
},
|
|
153877
154146
|
AppBskyActorDefs: {
|
|
153878
154147
|
lexicon: 1,
|
|
153879
154148
|
id: "app.bsky.actor.defs",
|
|
@@ -154169,6 +154438,61 @@ var schemaDict = {
|
|
|
154169
154438
|
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
154170
154439
|
}
|
|
154171
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
|
+
}
|
|
154172
154496
|
}
|
|
154173
154497
|
}
|
|
154174
154498
|
},
|
|
@@ -156035,7 +156359,7 @@ var schemaDict = {
|
|
|
156035
156359
|
},
|
|
156036
156360
|
tags: {
|
|
156037
156361
|
type: "array",
|
|
156038
|
-
description: "Additional
|
|
156362
|
+
description: "Additional hashtags, in addition to any included in post text and facets.",
|
|
156039
156363
|
maxLength: 8,
|
|
156040
156364
|
items: {
|
|
156041
156365
|
type: "string",
|
|
@@ -157834,41 +158158,69 @@ function toKnownErr23(e) {
|
|
|
157834
158158
|
return e;
|
|
157835
158159
|
}
|
|
157836
158160
|
|
|
157837
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
158161
|
+
// ../api/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts
|
|
157838
158162
|
function toKnownErr24(e) {
|
|
157839
158163
|
if (e instanceof XRPCError) {
|
|
157840
158164
|
}
|
|
157841
158165
|
return e;
|
|
157842
158166
|
}
|
|
157843
158167
|
|
|
157844
|
-
// ../api/src/client/types/com/atproto/identity/
|
|
158168
|
+
// ../api/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts
|
|
157845
158169
|
function toKnownErr25(e) {
|
|
157846
158170
|
if (e instanceof XRPCError) {
|
|
157847
158171
|
}
|
|
157848
158172
|
return e;
|
|
157849
158173
|
}
|
|
157850
158174
|
|
|
157851
|
-
// ../api/src/client/types/com/atproto/
|
|
158175
|
+
// ../api/src/client/types/com/atproto/identity/resolveHandle.ts
|
|
157852
158176
|
function toKnownErr26(e) {
|
|
157853
158177
|
if (e instanceof XRPCError) {
|
|
157854
158178
|
}
|
|
157855
158179
|
return e;
|
|
157856
158180
|
}
|
|
157857
158181
|
|
|
157858
|
-
// ../api/src/client/types/com/atproto/
|
|
158182
|
+
// ../api/src/client/types/com/atproto/identity/signPlcOperation.ts
|
|
157859
158183
|
function toKnownErr27(e) {
|
|
157860
158184
|
if (e instanceof XRPCError) {
|
|
157861
158185
|
}
|
|
157862
158186
|
return e;
|
|
157863
158187
|
}
|
|
157864
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
|
+
|
|
157865
158217
|
// ../api/src/client/types/com/atproto/repo/applyWrites.ts
|
|
157866
158218
|
var InvalidSwapError = class extends XRPCError {
|
|
157867
158219
|
constructor(src3) {
|
|
157868
158220
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
157869
158221
|
}
|
|
157870
158222
|
};
|
|
157871
|
-
function
|
|
158223
|
+
function toKnownErr32(e) {
|
|
157872
158224
|
if (e instanceof XRPCError) {
|
|
157873
158225
|
if (e.error === "InvalidSwap")
|
|
157874
158226
|
return new InvalidSwapError(e);
|
|
@@ -157882,7 +158234,7 @@ var InvalidSwapError2 = class extends XRPCError {
|
|
|
157882
158234
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
157883
158235
|
}
|
|
157884
158236
|
};
|
|
157885
|
-
function
|
|
158237
|
+
function toKnownErr33(e) {
|
|
157886
158238
|
if (e instanceof XRPCError) {
|
|
157887
158239
|
if (e.error === "InvalidSwap")
|
|
157888
158240
|
return new InvalidSwapError2(e);
|
|
@@ -157896,7 +158248,7 @@ var InvalidSwapError3 = class extends XRPCError {
|
|
|
157896
158248
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
157897
158249
|
}
|
|
157898
158250
|
};
|
|
157899
|
-
function
|
|
158251
|
+
function toKnownErr34(e) {
|
|
157900
158252
|
if (e instanceof XRPCError) {
|
|
157901
158253
|
if (e.error === "InvalidSwap")
|
|
157902
158254
|
return new InvalidSwapError3(e);
|
|
@@ -157905,21 +158257,35 @@ function toKnownErr30(e) {
|
|
|
157905
158257
|
}
|
|
157906
158258
|
|
|
157907
158259
|
// ../api/src/client/types/com/atproto/repo/describeRepo.ts
|
|
157908
|
-
function
|
|
158260
|
+
function toKnownErr35(e) {
|
|
157909
158261
|
if (e instanceof XRPCError) {
|
|
157910
158262
|
}
|
|
157911
158263
|
return e;
|
|
157912
158264
|
}
|
|
157913
158265
|
|
|
157914
158266
|
// ../api/src/client/types/com/atproto/repo/getRecord.ts
|
|
157915
|
-
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) {
|
|
157916
158282
|
if (e instanceof XRPCError) {
|
|
157917
158283
|
}
|
|
157918
158284
|
return e;
|
|
157919
158285
|
}
|
|
157920
158286
|
|
|
157921
158287
|
// ../api/src/client/types/com/atproto/repo/listRecords.ts
|
|
157922
|
-
function
|
|
158288
|
+
function toKnownErr39(e) {
|
|
157923
158289
|
if (e instanceof XRPCError) {
|
|
157924
158290
|
}
|
|
157925
158291
|
return e;
|
|
@@ -157931,7 +158297,7 @@ var InvalidSwapError4 = class extends XRPCError {
|
|
|
157931
158297
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
157932
158298
|
}
|
|
157933
158299
|
};
|
|
157934
|
-
function
|
|
158300
|
+
function toKnownErr40(e) {
|
|
157935
158301
|
if (e instanceof XRPCError) {
|
|
157936
158302
|
if (e.error === "InvalidSwap")
|
|
157937
158303
|
return new InvalidSwapError4(e);
|
|
@@ -157940,7 +158306,21 @@ function toKnownErr34(e) {
|
|
|
157940
158306
|
}
|
|
157941
158307
|
|
|
157942
158308
|
// ../api/src/client/types/com/atproto/repo/uploadBlob.ts
|
|
157943
|
-
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) {
|
|
157944
158324
|
if (e instanceof XRPCError) {
|
|
157945
158325
|
}
|
|
157946
158326
|
return e;
|
|
@@ -157967,7 +158347,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
157967
158347
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
157968
158348
|
}
|
|
157969
158349
|
};
|
|
157970
|
-
function
|
|
158350
|
+
function toKnownErr44(e) {
|
|
157971
158351
|
if (e instanceof XRPCError) {
|
|
157972
158352
|
if (e.error === "AccountNotFound")
|
|
157973
158353
|
return new AccountNotFoundError(e);
|
|
@@ -158017,7 +158397,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
158017
158397
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158018
158398
|
}
|
|
158019
158399
|
};
|
|
158020
|
-
function
|
|
158400
|
+
function toKnownErr45(e) {
|
|
158021
158401
|
if (e instanceof XRPCError) {
|
|
158022
158402
|
if (e.error === "InvalidHandle")
|
|
158023
158403
|
return new InvalidHandleError2(e);
|
|
@@ -158043,7 +158423,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
158043
158423
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158044
158424
|
}
|
|
158045
158425
|
};
|
|
158046
|
-
function
|
|
158426
|
+
function toKnownErr46(e) {
|
|
158047
158427
|
if (e instanceof XRPCError) {
|
|
158048
158428
|
if (e.error === "AccountTakedown")
|
|
158049
158429
|
return new AccountTakedownError(e);
|
|
@@ -158052,14 +158432,14 @@ function toKnownErr38(e) {
|
|
|
158052
158432
|
}
|
|
158053
158433
|
|
|
158054
158434
|
// ../api/src/client/types/com/atproto/server/createInviteCode.ts
|
|
158055
|
-
function
|
|
158435
|
+
function toKnownErr47(e) {
|
|
158056
158436
|
if (e instanceof XRPCError) {
|
|
158057
158437
|
}
|
|
158058
158438
|
return e;
|
|
158059
158439
|
}
|
|
158060
158440
|
|
|
158061
158441
|
// ../api/src/client/types/com/atproto/server/createInviteCodes.ts
|
|
158062
|
-
function
|
|
158442
|
+
function toKnownErr48(e) {
|
|
158063
158443
|
if (e instanceof XRPCError) {
|
|
158064
158444
|
}
|
|
158065
158445
|
return e;
|
|
@@ -158071,7 +158451,7 @@ var AccountTakedownError2 = class extends XRPCError {
|
|
|
158071
158451
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158072
158452
|
}
|
|
158073
158453
|
};
|
|
158074
|
-
function
|
|
158454
|
+
function toKnownErr49(e) {
|
|
158075
158455
|
if (e instanceof XRPCError) {
|
|
158076
158456
|
if (e.error === "AccountTakedown")
|
|
158077
158457
|
return new AccountTakedownError2(e);
|
|
@@ -158079,6 +158459,13 @@ function toKnownErr41(e) {
|
|
|
158079
158459
|
return e;
|
|
158080
158460
|
}
|
|
158081
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
|
+
|
|
158082
158469
|
// ../api/src/client/types/com/atproto/server/deleteAccount.ts
|
|
158083
158470
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
158084
158471
|
constructor(src3) {
|
|
@@ -158090,7 +158477,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
158090
158477
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158091
158478
|
}
|
|
158092
158479
|
};
|
|
158093
|
-
function
|
|
158480
|
+
function toKnownErr51(e) {
|
|
158094
158481
|
if (e instanceof XRPCError) {
|
|
158095
158482
|
if (e.error === "ExpiredToken")
|
|
158096
158483
|
return new ExpiredTokenError2(e);
|
|
@@ -158101,14 +158488,14 @@ function toKnownErr42(e) {
|
|
|
158101
158488
|
}
|
|
158102
158489
|
|
|
158103
158490
|
// ../api/src/client/types/com/atproto/server/deleteSession.ts
|
|
158104
|
-
function
|
|
158491
|
+
function toKnownErr52(e) {
|
|
158105
158492
|
if (e instanceof XRPCError) {
|
|
158106
158493
|
}
|
|
158107
158494
|
return e;
|
|
158108
158495
|
}
|
|
158109
158496
|
|
|
158110
158497
|
// ../api/src/client/types/com/atproto/server/describeServer.ts
|
|
158111
|
-
function
|
|
158498
|
+
function toKnownErr53(e) {
|
|
158112
158499
|
if (e instanceof XRPCError) {
|
|
158113
158500
|
}
|
|
158114
158501
|
return e;
|
|
@@ -158120,7 +158507,7 @@ var DuplicateCreateError = class extends XRPCError {
|
|
|
158120
158507
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158121
158508
|
}
|
|
158122
158509
|
};
|
|
158123
|
-
function
|
|
158510
|
+
function toKnownErr54(e) {
|
|
158124
158511
|
if (e instanceof XRPCError) {
|
|
158125
158512
|
if (e.error === "DuplicateCreate")
|
|
158126
158513
|
return new DuplicateCreateError(e);
|
|
@@ -158128,8 +158515,15 @@ function toKnownErr45(e) {
|
|
|
158128
158515
|
return e;
|
|
158129
158516
|
}
|
|
158130
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
|
+
|
|
158131
158525
|
// ../api/src/client/types/com/atproto/server/getSession.ts
|
|
158132
|
-
function
|
|
158526
|
+
function toKnownErr56(e) {
|
|
158133
158527
|
if (e instanceof XRPCError) {
|
|
158134
158528
|
}
|
|
158135
158529
|
return e;
|
|
@@ -158141,7 +158535,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
158141
158535
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158142
158536
|
}
|
|
158143
158537
|
};
|
|
158144
|
-
function
|
|
158538
|
+
function toKnownErr57(e) {
|
|
158145
158539
|
if (e instanceof XRPCError) {
|
|
158146
158540
|
if (e.error === "AccountTakedown")
|
|
158147
158541
|
return new AccountTakedownError3(e);
|
|
@@ -158155,7 +158549,7 @@ var AccountTakedownError4 = class extends XRPCError {
|
|
|
158155
158549
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158156
158550
|
}
|
|
158157
158551
|
};
|
|
158158
|
-
function
|
|
158552
|
+
function toKnownErr58(e) {
|
|
158159
158553
|
if (e instanceof XRPCError) {
|
|
158160
158554
|
if (e.error === "AccountTakedown")
|
|
158161
158555
|
return new AccountTakedownError4(e);
|
|
@@ -158164,35 +158558,35 @@ function toKnownErr48(e) {
|
|
|
158164
158558
|
}
|
|
158165
158559
|
|
|
158166
158560
|
// ../api/src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
158167
|
-
function
|
|
158561
|
+
function toKnownErr59(e) {
|
|
158168
158562
|
if (e instanceof XRPCError) {
|
|
158169
158563
|
}
|
|
158170
158564
|
return e;
|
|
158171
158565
|
}
|
|
158172
158566
|
|
|
158173
158567
|
// ../api/src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
158174
|
-
function
|
|
158568
|
+
function toKnownErr60(e) {
|
|
158175
158569
|
if (e instanceof XRPCError) {
|
|
158176
158570
|
}
|
|
158177
158571
|
return e;
|
|
158178
158572
|
}
|
|
158179
158573
|
|
|
158180
158574
|
// ../api/src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
158181
|
-
function
|
|
158575
|
+
function toKnownErr61(e) {
|
|
158182
158576
|
if (e instanceof XRPCError) {
|
|
158183
158577
|
}
|
|
158184
158578
|
return e;
|
|
158185
158579
|
}
|
|
158186
158580
|
|
|
158187
158581
|
// ../api/src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
158188
|
-
function
|
|
158582
|
+
function toKnownErr62(e) {
|
|
158189
158583
|
if (e instanceof XRPCError) {
|
|
158190
158584
|
}
|
|
158191
158585
|
return e;
|
|
158192
158586
|
}
|
|
158193
158587
|
|
|
158194
158588
|
// ../api/src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
158195
|
-
function
|
|
158589
|
+
function toKnownErr63(e) {
|
|
158196
158590
|
if (e instanceof XRPCError) {
|
|
158197
158591
|
}
|
|
158198
158592
|
return e;
|
|
@@ -158209,7 +158603,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
158209
158603
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158210
158604
|
}
|
|
158211
158605
|
};
|
|
158212
|
-
function
|
|
158606
|
+
function toKnownErr64(e) {
|
|
158213
158607
|
if (e instanceof XRPCError) {
|
|
158214
158608
|
if (e.error === "ExpiredToken")
|
|
158215
158609
|
return new ExpiredTokenError3(e);
|
|
@@ -158220,7 +158614,7 @@ function toKnownErr54(e) {
|
|
|
158220
158614
|
}
|
|
158221
158615
|
|
|
158222
158616
|
// ../api/src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
158223
|
-
function
|
|
158617
|
+
function toKnownErr65(e) {
|
|
158224
158618
|
if (e instanceof XRPCError) {
|
|
158225
158619
|
}
|
|
158226
158620
|
return e;
|
|
@@ -158242,7 +158636,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
158242
158636
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158243
158637
|
}
|
|
158244
158638
|
};
|
|
158245
|
-
function
|
|
158639
|
+
function toKnownErr66(e) {
|
|
158246
158640
|
if (e instanceof XRPCError) {
|
|
158247
158641
|
if (e.error === "ExpiredToken")
|
|
158248
158642
|
return new ExpiredTokenError4(e);
|
|
@@ -158255,21 +158649,21 @@ function toKnownErr56(e) {
|
|
|
158255
158649
|
}
|
|
158256
158650
|
|
|
158257
158651
|
// ../api/src/client/types/com/atproto/sync/getBlob.ts
|
|
158258
|
-
function
|
|
158652
|
+
function toKnownErr67(e) {
|
|
158259
158653
|
if (e instanceof XRPCError) {
|
|
158260
158654
|
}
|
|
158261
158655
|
return e;
|
|
158262
158656
|
}
|
|
158263
158657
|
|
|
158264
158658
|
// ../api/src/client/types/com/atproto/sync/getBlocks.ts
|
|
158265
|
-
function
|
|
158659
|
+
function toKnownErr68(e) {
|
|
158266
158660
|
if (e instanceof XRPCError) {
|
|
158267
158661
|
}
|
|
158268
158662
|
return e;
|
|
158269
158663
|
}
|
|
158270
158664
|
|
|
158271
158665
|
// ../api/src/client/types/com/atproto/sync/getCheckout.ts
|
|
158272
|
-
function
|
|
158666
|
+
function toKnownErr69(e) {
|
|
158273
158667
|
if (e instanceof XRPCError) {
|
|
158274
158668
|
}
|
|
158275
158669
|
return e;
|
|
@@ -158281,7 +158675,7 @@ var HeadNotFoundError = class extends XRPCError {
|
|
|
158281
158675
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158282
158676
|
}
|
|
158283
158677
|
};
|
|
158284
|
-
function
|
|
158678
|
+
function toKnownErr70(e) {
|
|
158285
158679
|
if (e instanceof XRPCError) {
|
|
158286
158680
|
if (e.error === "HeadNotFound")
|
|
158287
158681
|
return new HeadNotFoundError(e);
|
|
@@ -158293,14 +158687,14 @@ function toKnownErr60(e) {
|
|
|
158293
158687
|
var getLatestCommit_exports = {};
|
|
158294
158688
|
__export(getLatestCommit_exports, {
|
|
158295
158689
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
158296
|
-
toKnownErr: () =>
|
|
158690
|
+
toKnownErr: () => toKnownErr71
|
|
158297
158691
|
});
|
|
158298
158692
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
158299
158693
|
constructor(src3) {
|
|
158300
158694
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158301
158695
|
}
|
|
158302
158696
|
};
|
|
158303
|
-
function
|
|
158697
|
+
function toKnownErr71(e) {
|
|
158304
158698
|
if (e instanceof XRPCError) {
|
|
158305
158699
|
if (e.error === "RepoNotFound")
|
|
158306
158700
|
return new RepoNotFoundError2(e);
|
|
@@ -158309,196 +158703,126 @@ function toKnownErr61(e) {
|
|
|
158309
158703
|
}
|
|
158310
158704
|
|
|
158311
158705
|
// ../api/src/client/types/com/atproto/sync/getRecord.ts
|
|
158312
|
-
function
|
|
158706
|
+
function toKnownErr72(e) {
|
|
158313
158707
|
if (e instanceof XRPCError) {
|
|
158314
158708
|
}
|
|
158315
158709
|
return e;
|
|
158316
158710
|
}
|
|
158317
158711
|
|
|
158318
158712
|
// ../api/src/client/types/com/atproto/sync/getRepo.ts
|
|
158319
|
-
function
|
|
158713
|
+
function toKnownErr73(e) {
|
|
158320
158714
|
if (e instanceof XRPCError) {
|
|
158321
158715
|
}
|
|
158322
158716
|
return e;
|
|
158323
158717
|
}
|
|
158324
158718
|
|
|
158325
158719
|
// ../api/src/client/types/com/atproto/sync/listBlobs.ts
|
|
158326
|
-
function
|
|
158720
|
+
function toKnownErr74(e) {
|
|
158327
158721
|
if (e instanceof XRPCError) {
|
|
158328
158722
|
}
|
|
158329
158723
|
return e;
|
|
158330
158724
|
}
|
|
158331
158725
|
|
|
158332
158726
|
// ../api/src/client/types/com/atproto/sync/listRepos.ts
|
|
158333
|
-
function
|
|
158727
|
+
function toKnownErr75(e) {
|
|
158334
158728
|
if (e instanceof XRPCError) {
|
|
158335
158729
|
}
|
|
158336
158730
|
return e;
|
|
158337
158731
|
}
|
|
158338
158732
|
|
|
158339
158733
|
// ../api/src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
158340
|
-
function
|
|
158734
|
+
function toKnownErr76(e) {
|
|
158341
158735
|
if (e instanceof XRPCError) {
|
|
158342
158736
|
}
|
|
158343
158737
|
return e;
|
|
158344
158738
|
}
|
|
158345
158739
|
|
|
158346
158740
|
// ../api/src/client/types/com/atproto/sync/requestCrawl.ts
|
|
158347
|
-
function
|
|
158741
|
+
function toKnownErr77(e) {
|
|
158348
158742
|
if (e instanceof XRPCError) {
|
|
158349
158743
|
}
|
|
158350
158744
|
return e;
|
|
158351
158745
|
}
|
|
158352
158746
|
|
|
158353
158747
|
// ../api/src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
158354
|
-
function
|
|
158748
|
+
function toKnownErr78(e) {
|
|
158355
158749
|
if (e instanceof XRPCError) {
|
|
158356
158750
|
}
|
|
158357
158751
|
return e;
|
|
158358
158752
|
}
|
|
158359
158753
|
|
|
158360
158754
|
// ../api/src/client/types/com/atproto/temp/fetchLabels.ts
|
|
158361
|
-
function
|
|
158362
|
-
if (e instanceof XRPCError) {
|
|
158363
|
-
}
|
|
158364
|
-
return e;
|
|
158365
|
-
}
|
|
158366
|
-
|
|
158367
|
-
// ../api/src/client/types/com/atproto/temp/importRepo.ts
|
|
158368
|
-
function toKnownErr70(e) {
|
|
158369
|
-
if (e instanceof XRPCError) {
|
|
158370
|
-
}
|
|
158371
|
-
return e;
|
|
158372
|
-
}
|
|
158373
|
-
|
|
158374
|
-
// ../api/src/client/types/com/atproto/temp/pushBlob.ts
|
|
158375
|
-
function toKnownErr71(e) {
|
|
158755
|
+
function toKnownErr79(e) {
|
|
158376
158756
|
if (e instanceof XRPCError) {
|
|
158377
158757
|
}
|
|
158378
158758
|
return e;
|
|
158379
158759
|
}
|
|
158380
158760
|
|
|
158381
158761
|
// ../api/src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
158382
|
-
function
|
|
158383
|
-
if (e instanceof XRPCError) {
|
|
158384
|
-
}
|
|
158385
|
-
return e;
|
|
158386
|
-
}
|
|
158387
|
-
|
|
158388
|
-
// ../api/src/client/types/com/atproto/temp/transferAccount.ts
|
|
158389
|
-
var InvalidHandleError3 = class extends XRPCError {
|
|
158390
|
-
constructor(src3) {
|
|
158391
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158392
|
-
}
|
|
158393
|
-
};
|
|
158394
|
-
var InvalidPasswordError2 = class extends XRPCError {
|
|
158395
|
-
constructor(src3) {
|
|
158396
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158397
|
-
}
|
|
158398
|
-
};
|
|
158399
|
-
var InvalidInviteCodeError2 = class extends XRPCError {
|
|
158400
|
-
constructor(src3) {
|
|
158401
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158402
|
-
}
|
|
158403
|
-
};
|
|
158404
|
-
var HandleNotAvailableError2 = class extends XRPCError {
|
|
158405
|
-
constructor(src3) {
|
|
158406
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158407
|
-
}
|
|
158408
|
-
};
|
|
158409
|
-
var UnsupportedDomainError2 = class extends XRPCError {
|
|
158410
|
-
constructor(src3) {
|
|
158411
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158412
|
-
}
|
|
158413
|
-
};
|
|
158414
|
-
var UnresolvableDidError2 = class extends XRPCError {
|
|
158415
|
-
constructor(src3) {
|
|
158416
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158417
|
-
}
|
|
158418
|
-
};
|
|
158419
|
-
var IncompatibleDidDocError2 = class extends XRPCError {
|
|
158420
|
-
constructor(src3) {
|
|
158421
|
-
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158422
|
-
}
|
|
158423
|
-
};
|
|
158424
|
-
function toKnownErr73(e) {
|
|
158762
|
+
function toKnownErr80(e) {
|
|
158425
158763
|
if (e instanceof XRPCError) {
|
|
158426
|
-
if (e.error === "InvalidHandle")
|
|
158427
|
-
return new InvalidHandleError3(e);
|
|
158428
|
-
if (e.error === "InvalidPassword")
|
|
158429
|
-
return new InvalidPasswordError2(e);
|
|
158430
|
-
if (e.error === "InvalidInviteCode")
|
|
158431
|
-
return new InvalidInviteCodeError2(e);
|
|
158432
|
-
if (e.error === "HandleNotAvailable")
|
|
158433
|
-
return new HandleNotAvailableError2(e);
|
|
158434
|
-
if (e.error === "UnsupportedDomain")
|
|
158435
|
-
return new UnsupportedDomainError2(e);
|
|
158436
|
-
if (e.error === "UnresolvableDid")
|
|
158437
|
-
return new UnresolvableDidError2(e);
|
|
158438
|
-
if (e.error === "IncompatibleDidDoc")
|
|
158439
|
-
return new IncompatibleDidDocError2(e);
|
|
158440
158764
|
}
|
|
158441
158765
|
return e;
|
|
158442
158766
|
}
|
|
158443
158767
|
|
|
158444
158768
|
// ../api/src/client/types/app/bsky/actor/getPreferences.ts
|
|
158445
|
-
function
|
|
158769
|
+
function toKnownErr81(e) {
|
|
158446
158770
|
if (e instanceof XRPCError) {
|
|
158447
158771
|
}
|
|
158448
158772
|
return e;
|
|
158449
158773
|
}
|
|
158450
158774
|
|
|
158451
158775
|
// ../api/src/client/types/app/bsky/actor/getProfile.ts
|
|
158452
|
-
function
|
|
158776
|
+
function toKnownErr82(e) {
|
|
158453
158777
|
if (e instanceof XRPCError) {
|
|
158454
158778
|
}
|
|
158455
158779
|
return e;
|
|
158456
158780
|
}
|
|
158457
158781
|
|
|
158458
158782
|
// ../api/src/client/types/app/bsky/actor/getProfiles.ts
|
|
158459
|
-
function
|
|
158783
|
+
function toKnownErr83(e) {
|
|
158460
158784
|
if (e instanceof XRPCError) {
|
|
158461
158785
|
}
|
|
158462
158786
|
return e;
|
|
158463
158787
|
}
|
|
158464
158788
|
|
|
158465
158789
|
// ../api/src/client/types/app/bsky/actor/getSuggestions.ts
|
|
158466
|
-
function
|
|
158790
|
+
function toKnownErr84(e) {
|
|
158467
158791
|
if (e instanceof XRPCError) {
|
|
158468
158792
|
}
|
|
158469
158793
|
return e;
|
|
158470
158794
|
}
|
|
158471
158795
|
|
|
158472
158796
|
// ../api/src/client/types/app/bsky/actor/putPreferences.ts
|
|
158473
|
-
function
|
|
158797
|
+
function toKnownErr85(e) {
|
|
158474
158798
|
if (e instanceof XRPCError) {
|
|
158475
158799
|
}
|
|
158476
158800
|
return e;
|
|
158477
158801
|
}
|
|
158478
158802
|
|
|
158479
158803
|
// ../api/src/client/types/app/bsky/actor/searchActors.ts
|
|
158480
|
-
function
|
|
158804
|
+
function toKnownErr86(e) {
|
|
158481
158805
|
if (e instanceof XRPCError) {
|
|
158482
158806
|
}
|
|
158483
158807
|
return e;
|
|
158484
158808
|
}
|
|
158485
158809
|
|
|
158486
158810
|
// ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
158487
|
-
function
|
|
158811
|
+
function toKnownErr87(e) {
|
|
158488
158812
|
if (e instanceof XRPCError) {
|
|
158489
158813
|
}
|
|
158490
158814
|
return e;
|
|
158491
158815
|
}
|
|
158492
158816
|
|
|
158493
158817
|
// ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
|
|
158494
|
-
function
|
|
158818
|
+
function toKnownErr88(e) {
|
|
158495
158819
|
if (e instanceof XRPCError) {
|
|
158496
158820
|
}
|
|
158497
158821
|
return e;
|
|
158498
158822
|
}
|
|
158499
158823
|
|
|
158500
158824
|
// ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
158501
|
-
function
|
|
158825
|
+
function toKnownErr89(e) {
|
|
158502
158826
|
if (e instanceof XRPCError) {
|
|
158503
158827
|
}
|
|
158504
158828
|
return e;
|
|
@@ -158515,7 +158839,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
158515
158839
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158516
158840
|
}
|
|
158517
158841
|
};
|
|
158518
|
-
function
|
|
158842
|
+
function toKnownErr90(e) {
|
|
158519
158843
|
if (e instanceof XRPCError) {
|
|
158520
158844
|
if (e.error === "BlockedActor")
|
|
158521
158845
|
return new BlockedActorError(e);
|
|
@@ -158536,7 +158860,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
158536
158860
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158537
158861
|
}
|
|
158538
158862
|
};
|
|
158539
|
-
function
|
|
158863
|
+
function toKnownErr91(e) {
|
|
158540
158864
|
if (e instanceof XRPCError) {
|
|
158541
158865
|
if (e.error === "BlockedActor")
|
|
158542
158866
|
return new BlockedActorError2(e);
|
|
@@ -158552,7 +158876,7 @@ var UnknownFeedError = class extends XRPCError {
|
|
|
158552
158876
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158553
158877
|
}
|
|
158554
158878
|
};
|
|
158555
|
-
function
|
|
158879
|
+
function toKnownErr92(e) {
|
|
158556
158880
|
if (e instanceof XRPCError) {
|
|
158557
158881
|
if (e.error === "UnknownFeed")
|
|
158558
158882
|
return new UnknownFeedError(e);
|
|
@@ -158561,14 +158885,14 @@ function toKnownErr85(e) {
|
|
|
158561
158885
|
}
|
|
158562
158886
|
|
|
158563
158887
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
158564
|
-
function
|
|
158888
|
+
function toKnownErr93(e) {
|
|
158565
158889
|
if (e instanceof XRPCError) {
|
|
158566
158890
|
}
|
|
158567
158891
|
return e;
|
|
158568
158892
|
}
|
|
158569
158893
|
|
|
158570
158894
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
158571
|
-
function
|
|
158895
|
+
function toKnownErr94(e) {
|
|
158572
158896
|
if (e instanceof XRPCError) {
|
|
158573
158897
|
}
|
|
158574
158898
|
return e;
|
|
@@ -158578,14 +158902,14 @@ function toKnownErr87(e) {
|
|
|
158578
158902
|
var getFeedSkeleton_exports = {};
|
|
158579
158903
|
__export(getFeedSkeleton_exports, {
|
|
158580
158904
|
UnknownFeedError: () => UnknownFeedError2,
|
|
158581
|
-
toKnownErr: () =>
|
|
158905
|
+
toKnownErr: () => toKnownErr95
|
|
158582
158906
|
});
|
|
158583
158907
|
var UnknownFeedError2 = class extends XRPCError {
|
|
158584
158908
|
constructor(src3) {
|
|
158585
158909
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158586
158910
|
}
|
|
158587
158911
|
};
|
|
158588
|
-
function
|
|
158912
|
+
function toKnownErr95(e) {
|
|
158589
158913
|
if (e instanceof XRPCError) {
|
|
158590
158914
|
if (e.error === "UnknownFeed")
|
|
158591
158915
|
return new UnknownFeedError2(e);
|
|
@@ -158594,7 +158918,7 @@ function toKnownErr88(e) {
|
|
|
158594
158918
|
}
|
|
158595
158919
|
|
|
158596
158920
|
// ../api/src/client/types/app/bsky/feed/getLikes.ts
|
|
158597
|
-
function
|
|
158921
|
+
function toKnownErr96(e) {
|
|
158598
158922
|
if (e instanceof XRPCError) {
|
|
158599
158923
|
}
|
|
158600
158924
|
return e;
|
|
@@ -158606,7 +158930,7 @@ var UnknownListError = class extends XRPCError {
|
|
|
158606
158930
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158607
158931
|
}
|
|
158608
158932
|
};
|
|
158609
|
-
function
|
|
158933
|
+
function toKnownErr97(e) {
|
|
158610
158934
|
if (e instanceof XRPCError) {
|
|
158611
158935
|
if (e.error === "UnknownList")
|
|
158612
158936
|
return new UnknownListError(e);
|
|
@@ -158620,7 +158944,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
158620
158944
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158621
158945
|
}
|
|
158622
158946
|
};
|
|
158623
|
-
function
|
|
158947
|
+
function toKnownErr98(e) {
|
|
158624
158948
|
if (e instanceof XRPCError) {
|
|
158625
158949
|
if (e.error === "NotFound")
|
|
158626
158950
|
return new NotFoundError(e);
|
|
@@ -158629,28 +158953,28 @@ function toKnownErr91(e) {
|
|
|
158629
158953
|
}
|
|
158630
158954
|
|
|
158631
158955
|
// ../api/src/client/types/app/bsky/feed/getPosts.ts
|
|
158632
|
-
function
|
|
158956
|
+
function toKnownErr99(e) {
|
|
158633
158957
|
if (e instanceof XRPCError) {
|
|
158634
158958
|
}
|
|
158635
158959
|
return e;
|
|
158636
158960
|
}
|
|
158637
158961
|
|
|
158638
158962
|
// ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
158639
|
-
function
|
|
158963
|
+
function toKnownErr100(e) {
|
|
158640
158964
|
if (e instanceof XRPCError) {
|
|
158641
158965
|
}
|
|
158642
158966
|
return e;
|
|
158643
158967
|
}
|
|
158644
158968
|
|
|
158645
158969
|
// ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
158646
|
-
function
|
|
158970
|
+
function toKnownErr101(e) {
|
|
158647
158971
|
if (e instanceof XRPCError) {
|
|
158648
158972
|
}
|
|
158649
158973
|
return e;
|
|
158650
158974
|
}
|
|
158651
158975
|
|
|
158652
158976
|
// ../api/src/client/types/app/bsky/feed/getTimeline.ts
|
|
158653
|
-
function
|
|
158977
|
+
function toKnownErr102(e) {
|
|
158654
158978
|
if (e instanceof XRPCError) {
|
|
158655
158979
|
}
|
|
158656
158980
|
return e;
|
|
@@ -158662,7 +158986,7 @@ var BadQueryStringError = class extends XRPCError {
|
|
|
158662
158986
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158663
158987
|
}
|
|
158664
158988
|
};
|
|
158665
|
-
function
|
|
158989
|
+
function toKnownErr103(e) {
|
|
158666
158990
|
if (e instanceof XRPCError) {
|
|
158667
158991
|
if (e.error === "BadQueryString")
|
|
158668
158992
|
return new BadQueryStringError(e);
|
|
@@ -158671,56 +158995,56 @@ function toKnownErr96(e) {
|
|
|
158671
158995
|
}
|
|
158672
158996
|
|
|
158673
158997
|
// ../api/src/client/types/app/bsky/graph/getBlocks.ts
|
|
158674
|
-
function
|
|
158998
|
+
function toKnownErr104(e) {
|
|
158675
158999
|
if (e instanceof XRPCError) {
|
|
158676
159000
|
}
|
|
158677
159001
|
return e;
|
|
158678
159002
|
}
|
|
158679
159003
|
|
|
158680
159004
|
// ../api/src/client/types/app/bsky/graph/getFollowers.ts
|
|
158681
|
-
function
|
|
159005
|
+
function toKnownErr105(e) {
|
|
158682
159006
|
if (e instanceof XRPCError) {
|
|
158683
159007
|
}
|
|
158684
159008
|
return e;
|
|
158685
159009
|
}
|
|
158686
159010
|
|
|
158687
159011
|
// ../api/src/client/types/app/bsky/graph/getFollows.ts
|
|
158688
|
-
function
|
|
159012
|
+
function toKnownErr106(e) {
|
|
158689
159013
|
if (e instanceof XRPCError) {
|
|
158690
159014
|
}
|
|
158691
159015
|
return e;
|
|
158692
159016
|
}
|
|
158693
159017
|
|
|
158694
159018
|
// ../api/src/client/types/app/bsky/graph/getList.ts
|
|
158695
|
-
function
|
|
159019
|
+
function toKnownErr107(e) {
|
|
158696
159020
|
if (e instanceof XRPCError) {
|
|
158697
159021
|
}
|
|
158698
159022
|
return e;
|
|
158699
159023
|
}
|
|
158700
159024
|
|
|
158701
159025
|
// ../api/src/client/types/app/bsky/graph/getListBlocks.ts
|
|
158702
|
-
function
|
|
159026
|
+
function toKnownErr108(e) {
|
|
158703
159027
|
if (e instanceof XRPCError) {
|
|
158704
159028
|
}
|
|
158705
159029
|
return e;
|
|
158706
159030
|
}
|
|
158707
159031
|
|
|
158708
159032
|
// ../api/src/client/types/app/bsky/graph/getListMutes.ts
|
|
158709
|
-
function
|
|
159033
|
+
function toKnownErr109(e) {
|
|
158710
159034
|
if (e instanceof XRPCError) {
|
|
158711
159035
|
}
|
|
158712
159036
|
return e;
|
|
158713
159037
|
}
|
|
158714
159038
|
|
|
158715
159039
|
// ../api/src/client/types/app/bsky/graph/getLists.ts
|
|
158716
|
-
function
|
|
159040
|
+
function toKnownErr110(e) {
|
|
158717
159041
|
if (e instanceof XRPCError) {
|
|
158718
159042
|
}
|
|
158719
159043
|
return e;
|
|
158720
159044
|
}
|
|
158721
159045
|
|
|
158722
159046
|
// ../api/src/client/types/app/bsky/graph/getMutes.ts
|
|
158723
|
-
function
|
|
159047
|
+
function toKnownErr111(e) {
|
|
158724
159048
|
if (e instanceof XRPCError) {
|
|
158725
159049
|
}
|
|
158726
159050
|
return e;
|
|
@@ -158732,7 +159056,7 @@ var ActorNotFoundError = class extends XRPCError {
|
|
|
158732
159056
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158733
159057
|
}
|
|
158734
159058
|
};
|
|
158735
|
-
function
|
|
159059
|
+
function toKnownErr112(e) {
|
|
158736
159060
|
if (e instanceof XRPCError) {
|
|
158737
159061
|
if (e.error === "ActorNotFound")
|
|
158738
159062
|
return new ActorNotFoundError(e);
|
|
@@ -158741,77 +159065,77 @@ function toKnownErr105(e) {
|
|
|
158741
159065
|
}
|
|
158742
159066
|
|
|
158743
159067
|
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
158744
|
-
function
|
|
159068
|
+
function toKnownErr113(e) {
|
|
158745
159069
|
if (e instanceof XRPCError) {
|
|
158746
159070
|
}
|
|
158747
159071
|
return e;
|
|
158748
159072
|
}
|
|
158749
159073
|
|
|
158750
159074
|
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
158751
|
-
function
|
|
159075
|
+
function toKnownErr114(e) {
|
|
158752
159076
|
if (e instanceof XRPCError) {
|
|
158753
159077
|
}
|
|
158754
159078
|
return e;
|
|
158755
159079
|
}
|
|
158756
159080
|
|
|
158757
159081
|
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
158758
|
-
function
|
|
159082
|
+
function toKnownErr115(e) {
|
|
158759
159083
|
if (e instanceof XRPCError) {
|
|
158760
159084
|
}
|
|
158761
159085
|
return e;
|
|
158762
159086
|
}
|
|
158763
159087
|
|
|
158764
159088
|
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
158765
|
-
function
|
|
159089
|
+
function toKnownErr116(e) {
|
|
158766
159090
|
if (e instanceof XRPCError) {
|
|
158767
159091
|
}
|
|
158768
159092
|
return e;
|
|
158769
159093
|
}
|
|
158770
159094
|
|
|
158771
159095
|
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
158772
|
-
function
|
|
159096
|
+
function toKnownErr117(e) {
|
|
158773
159097
|
if (e instanceof XRPCError) {
|
|
158774
159098
|
}
|
|
158775
159099
|
return e;
|
|
158776
159100
|
}
|
|
158777
159101
|
|
|
158778
159102
|
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
158779
|
-
function
|
|
159103
|
+
function toKnownErr118(e) {
|
|
158780
159104
|
if (e instanceof XRPCError) {
|
|
158781
159105
|
}
|
|
158782
159106
|
return e;
|
|
158783
159107
|
}
|
|
158784
159108
|
|
|
158785
159109
|
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
158786
|
-
function
|
|
159110
|
+
function toKnownErr119(e) {
|
|
158787
159111
|
if (e instanceof XRPCError) {
|
|
158788
159112
|
}
|
|
158789
159113
|
return e;
|
|
158790
159114
|
}
|
|
158791
159115
|
|
|
158792
159116
|
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
158793
|
-
function
|
|
159117
|
+
function toKnownErr120(e) {
|
|
158794
159118
|
if (e instanceof XRPCError) {
|
|
158795
159119
|
}
|
|
158796
159120
|
return e;
|
|
158797
159121
|
}
|
|
158798
159122
|
|
|
158799
159123
|
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
158800
|
-
function
|
|
159124
|
+
function toKnownErr121(e) {
|
|
158801
159125
|
if (e instanceof XRPCError) {
|
|
158802
159126
|
}
|
|
158803
159127
|
return e;
|
|
158804
159128
|
}
|
|
158805
159129
|
|
|
158806
159130
|
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
158807
|
-
function
|
|
159131
|
+
function toKnownErr122(e) {
|
|
158808
159132
|
if (e instanceof XRPCError) {
|
|
158809
159133
|
}
|
|
158810
159134
|
return e;
|
|
158811
159135
|
}
|
|
158812
159136
|
|
|
158813
159137
|
// ../api/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts
|
|
158814
|
-
function
|
|
159138
|
+
function toKnownErr123(e) {
|
|
158815
159139
|
if (e instanceof XRPCError) {
|
|
158816
159140
|
}
|
|
158817
159141
|
return e;
|
|
@@ -158823,7 +159147,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
158823
159147
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158824
159148
|
}
|
|
158825
159149
|
};
|
|
158826
|
-
function
|
|
159150
|
+
function toKnownErr124(e) {
|
|
158827
159151
|
if (e instanceof XRPCError) {
|
|
158828
159152
|
if (e.error === "BadQueryString")
|
|
158829
159153
|
return new BadQueryStringError2(e);
|
|
@@ -158837,7 +159161,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
158837
159161
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
158838
159162
|
}
|
|
158839
159163
|
};
|
|
158840
|
-
function
|
|
159164
|
+
function toKnownErr125(e) {
|
|
158841
159165
|
if (e instanceof XRPCError) {
|
|
158842
159166
|
if (e.error === "BadQueryString")
|
|
158843
159167
|
return new BadQueryStringError3(e);
|
|
@@ -159009,14 +159333,34 @@ var ComAtprotoIdentityNS = class {
|
|
|
159009
159333
|
constructor(service2) {
|
|
159010
159334
|
this._service = service2;
|
|
159011
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
|
+
}
|
|
159012
159346
|
resolveHandle(params2, opts) {
|
|
159013
159347
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
159014
|
-
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);
|
|
159015
159359
|
});
|
|
159016
159360
|
}
|
|
159017
159361
|
updateHandle(data, opts) {
|
|
159018
159362
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
159019
|
-
throw
|
|
159363
|
+
throw toKnownErr29(e);
|
|
159020
159364
|
});
|
|
159021
159365
|
}
|
|
159022
159366
|
};
|
|
@@ -159026,7 +159370,7 @@ var ComAtprotoLabelNS = class {
|
|
|
159026
159370
|
}
|
|
159027
159371
|
queryLabels(params2, opts) {
|
|
159028
159372
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
159029
|
-
throw
|
|
159373
|
+
throw toKnownErr30(e);
|
|
159030
159374
|
});
|
|
159031
159375
|
}
|
|
159032
159376
|
};
|
|
@@ -159036,7 +159380,7 @@ var ComAtprotoModerationNS = class {
|
|
|
159036
159380
|
}
|
|
159037
159381
|
createReport(data, opts) {
|
|
159038
159382
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
159039
|
-
throw
|
|
159383
|
+
throw toKnownErr31(e);
|
|
159040
159384
|
});
|
|
159041
159385
|
}
|
|
159042
159386
|
};
|
|
@@ -159046,42 +159390,52 @@ var ComAtprotoRepoNS = class {
|
|
|
159046
159390
|
}
|
|
159047
159391
|
applyWrites(data, opts) {
|
|
159048
159392
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
159049
|
-
throw
|
|
159393
|
+
throw toKnownErr32(e);
|
|
159050
159394
|
});
|
|
159051
159395
|
}
|
|
159052
159396
|
createRecord(data, opts) {
|
|
159053
159397
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
159054
|
-
throw
|
|
159398
|
+
throw toKnownErr33(e);
|
|
159055
159399
|
});
|
|
159056
159400
|
}
|
|
159057
159401
|
deleteRecord(data, opts) {
|
|
159058
159402
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
159059
|
-
throw
|
|
159403
|
+
throw toKnownErr34(e);
|
|
159060
159404
|
});
|
|
159061
159405
|
}
|
|
159062
159406
|
describeRepo(params2, opts) {
|
|
159063
159407
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
159064
|
-
throw
|
|
159408
|
+
throw toKnownErr35(e);
|
|
159065
159409
|
});
|
|
159066
159410
|
}
|
|
159067
159411
|
getRecord(params2, opts) {
|
|
159068
159412
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
159069
|
-
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);
|
|
159070
159424
|
});
|
|
159071
159425
|
}
|
|
159072
159426
|
listRecords(params2, opts) {
|
|
159073
159427
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
159074
|
-
throw
|
|
159428
|
+
throw toKnownErr39(e);
|
|
159075
159429
|
});
|
|
159076
159430
|
}
|
|
159077
159431
|
putRecord(data, opts) {
|
|
159078
159432
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
159079
|
-
throw
|
|
159433
|
+
throw toKnownErr40(e);
|
|
159080
159434
|
});
|
|
159081
159435
|
}
|
|
159082
159436
|
uploadBlob(data, opts) {
|
|
159083
159437
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
159084
|
-
throw
|
|
159438
|
+
throw toKnownErr41(e);
|
|
159085
159439
|
});
|
|
159086
159440
|
}
|
|
159087
159441
|
};
|
|
@@ -159089,109 +159443,129 @@ var ComAtprotoServerNS = class {
|
|
|
159089
159443
|
constructor(service2) {
|
|
159090
159444
|
this._service = service2;
|
|
159091
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
|
+
}
|
|
159092
159456
|
confirmEmail(data, opts) {
|
|
159093
159457
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
159094
|
-
throw
|
|
159458
|
+
throw toKnownErr44(e);
|
|
159095
159459
|
});
|
|
159096
159460
|
}
|
|
159097
159461
|
createAccount(data, opts) {
|
|
159098
159462
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
159099
|
-
throw
|
|
159463
|
+
throw toKnownErr45(e);
|
|
159100
159464
|
});
|
|
159101
159465
|
}
|
|
159102
159466
|
createAppPassword(data, opts) {
|
|
159103
159467
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
159104
|
-
throw
|
|
159468
|
+
throw toKnownErr46(e);
|
|
159105
159469
|
});
|
|
159106
159470
|
}
|
|
159107
159471
|
createInviteCode(data, opts) {
|
|
159108
159472
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
159109
|
-
throw
|
|
159473
|
+
throw toKnownErr47(e);
|
|
159110
159474
|
});
|
|
159111
159475
|
}
|
|
159112
159476
|
createInviteCodes(data, opts) {
|
|
159113
159477
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
159114
|
-
throw
|
|
159478
|
+
throw toKnownErr48(e);
|
|
159115
159479
|
});
|
|
159116
159480
|
}
|
|
159117
159481
|
createSession(data, opts) {
|
|
159118
159482
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
159119
|
-
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);
|
|
159120
159489
|
});
|
|
159121
159490
|
}
|
|
159122
159491
|
deleteAccount(data, opts) {
|
|
159123
159492
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
159124
|
-
throw
|
|
159493
|
+
throw toKnownErr51(e);
|
|
159125
159494
|
});
|
|
159126
159495
|
}
|
|
159127
159496
|
deleteSession(data, opts) {
|
|
159128
159497
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
159129
|
-
throw
|
|
159498
|
+
throw toKnownErr52(e);
|
|
159130
159499
|
});
|
|
159131
159500
|
}
|
|
159132
159501
|
describeServer(params2, opts) {
|
|
159133
159502
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
159134
|
-
throw
|
|
159503
|
+
throw toKnownErr53(e);
|
|
159135
159504
|
});
|
|
159136
159505
|
}
|
|
159137
159506
|
getAccountInviteCodes(params2, opts) {
|
|
159138
159507
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
159139
|
-
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);
|
|
159140
159514
|
});
|
|
159141
159515
|
}
|
|
159142
159516
|
getSession(params2, opts) {
|
|
159143
159517
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
159144
|
-
throw
|
|
159518
|
+
throw toKnownErr56(e);
|
|
159145
159519
|
});
|
|
159146
159520
|
}
|
|
159147
159521
|
listAppPasswords(params2, opts) {
|
|
159148
159522
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
159149
|
-
throw
|
|
159523
|
+
throw toKnownErr57(e);
|
|
159150
159524
|
});
|
|
159151
159525
|
}
|
|
159152
159526
|
refreshSession(data, opts) {
|
|
159153
159527
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
159154
|
-
throw
|
|
159528
|
+
throw toKnownErr58(e);
|
|
159155
159529
|
});
|
|
159156
159530
|
}
|
|
159157
159531
|
requestAccountDelete(data, opts) {
|
|
159158
159532
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
159159
|
-
throw
|
|
159533
|
+
throw toKnownErr59(e);
|
|
159160
159534
|
});
|
|
159161
159535
|
}
|
|
159162
159536
|
requestEmailConfirmation(data, opts) {
|
|
159163
159537
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
159164
|
-
throw
|
|
159538
|
+
throw toKnownErr60(e);
|
|
159165
159539
|
});
|
|
159166
159540
|
}
|
|
159167
159541
|
requestEmailUpdate(data, opts) {
|
|
159168
159542
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
159169
|
-
throw
|
|
159543
|
+
throw toKnownErr61(e);
|
|
159170
159544
|
});
|
|
159171
159545
|
}
|
|
159172
159546
|
requestPasswordReset(data, opts) {
|
|
159173
159547
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
159174
|
-
throw
|
|
159548
|
+
throw toKnownErr62(e);
|
|
159175
159549
|
});
|
|
159176
159550
|
}
|
|
159177
159551
|
reserveSigningKey(data, opts) {
|
|
159178
159552
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
159179
|
-
throw
|
|
159553
|
+
throw toKnownErr63(e);
|
|
159180
159554
|
});
|
|
159181
159555
|
}
|
|
159182
159556
|
resetPassword(data, opts) {
|
|
159183
159557
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
159184
|
-
throw
|
|
159558
|
+
throw toKnownErr64(e);
|
|
159185
159559
|
});
|
|
159186
159560
|
}
|
|
159187
159561
|
revokeAppPassword(data, opts) {
|
|
159188
159562
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
159189
|
-
throw
|
|
159563
|
+
throw toKnownErr65(e);
|
|
159190
159564
|
});
|
|
159191
159565
|
}
|
|
159192
159566
|
updateEmail(data, opts) {
|
|
159193
159567
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
159194
|
-
throw
|
|
159568
|
+
throw toKnownErr66(e);
|
|
159195
159569
|
});
|
|
159196
159570
|
}
|
|
159197
159571
|
};
|
|
@@ -159201,57 +159575,57 @@ var ComAtprotoSyncNS = class {
|
|
|
159201
159575
|
}
|
|
159202
159576
|
getBlob(params2, opts) {
|
|
159203
159577
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
159204
|
-
throw
|
|
159578
|
+
throw toKnownErr67(e);
|
|
159205
159579
|
});
|
|
159206
159580
|
}
|
|
159207
159581
|
getBlocks(params2, opts) {
|
|
159208
159582
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
159209
|
-
throw
|
|
159583
|
+
throw toKnownErr68(e);
|
|
159210
159584
|
});
|
|
159211
159585
|
}
|
|
159212
159586
|
getCheckout(params2, opts) {
|
|
159213
159587
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
159214
|
-
throw
|
|
159588
|
+
throw toKnownErr69(e);
|
|
159215
159589
|
});
|
|
159216
159590
|
}
|
|
159217
159591
|
getHead(params2, opts) {
|
|
159218
159592
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
159219
|
-
throw
|
|
159593
|
+
throw toKnownErr70(e);
|
|
159220
159594
|
});
|
|
159221
159595
|
}
|
|
159222
159596
|
getLatestCommit(params2, opts) {
|
|
159223
159597
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
159224
|
-
throw
|
|
159598
|
+
throw toKnownErr71(e);
|
|
159225
159599
|
});
|
|
159226
159600
|
}
|
|
159227
159601
|
getRecord(params2, opts) {
|
|
159228
159602
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
159229
|
-
throw
|
|
159603
|
+
throw toKnownErr72(e);
|
|
159230
159604
|
});
|
|
159231
159605
|
}
|
|
159232
159606
|
getRepo(params2, opts) {
|
|
159233
159607
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
159234
|
-
throw
|
|
159608
|
+
throw toKnownErr73(e);
|
|
159235
159609
|
});
|
|
159236
159610
|
}
|
|
159237
159611
|
listBlobs(params2, opts) {
|
|
159238
159612
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
159239
|
-
throw
|
|
159613
|
+
throw toKnownErr74(e);
|
|
159240
159614
|
});
|
|
159241
159615
|
}
|
|
159242
159616
|
listRepos(params2, opts) {
|
|
159243
159617
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
159244
|
-
throw
|
|
159618
|
+
throw toKnownErr75(e);
|
|
159245
159619
|
});
|
|
159246
159620
|
}
|
|
159247
159621
|
notifyOfUpdate(data, opts) {
|
|
159248
159622
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
159249
|
-
throw
|
|
159623
|
+
throw toKnownErr76(e);
|
|
159250
159624
|
});
|
|
159251
159625
|
}
|
|
159252
159626
|
requestCrawl(data, opts) {
|
|
159253
159627
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
159254
|
-
throw
|
|
159628
|
+
throw toKnownErr77(e);
|
|
159255
159629
|
});
|
|
159256
159630
|
}
|
|
159257
159631
|
};
|
|
@@ -159261,32 +159635,17 @@ var ComAtprotoTempNS = class {
|
|
|
159261
159635
|
}
|
|
159262
159636
|
checkSignupQueue(params2, opts) {
|
|
159263
159637
|
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
159264
|
-
throw
|
|
159638
|
+
throw toKnownErr78(e);
|
|
159265
159639
|
});
|
|
159266
159640
|
}
|
|
159267
159641
|
fetchLabels(params2, opts) {
|
|
159268
159642
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
159269
|
-
throw
|
|
159270
|
-
});
|
|
159271
|
-
}
|
|
159272
|
-
importRepo(data, opts) {
|
|
159273
|
-
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
159274
|
-
throw toKnownErr70(e);
|
|
159275
|
-
});
|
|
159276
|
-
}
|
|
159277
|
-
pushBlob(data, opts) {
|
|
159278
|
-
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
159279
|
-
throw toKnownErr71(e);
|
|
159643
|
+
throw toKnownErr79(e);
|
|
159280
159644
|
});
|
|
159281
159645
|
}
|
|
159282
159646
|
requestPhoneVerification(data, opts) {
|
|
159283
159647
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
159284
|
-
throw
|
|
159285
|
-
});
|
|
159286
|
-
}
|
|
159287
|
-
transferAccount(data, opts) {
|
|
159288
|
-
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
159289
|
-
throw toKnownErr73(e);
|
|
159648
|
+
throw toKnownErr80(e);
|
|
159290
159649
|
});
|
|
159291
159650
|
}
|
|
159292
159651
|
};
|
|
@@ -159315,37 +159674,37 @@ var AppBskyActorNS = class {
|
|
|
159315
159674
|
}
|
|
159316
159675
|
getPreferences(params2, opts) {
|
|
159317
159676
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
159318
|
-
throw
|
|
159677
|
+
throw toKnownErr81(e);
|
|
159319
159678
|
});
|
|
159320
159679
|
}
|
|
159321
159680
|
getProfile(params2, opts) {
|
|
159322
159681
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
159323
|
-
throw
|
|
159682
|
+
throw toKnownErr82(e);
|
|
159324
159683
|
});
|
|
159325
159684
|
}
|
|
159326
159685
|
getProfiles(params2, opts) {
|
|
159327
159686
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
159328
|
-
throw
|
|
159687
|
+
throw toKnownErr83(e);
|
|
159329
159688
|
});
|
|
159330
159689
|
}
|
|
159331
159690
|
getSuggestions(params2, opts) {
|
|
159332
159691
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
159333
|
-
throw
|
|
159692
|
+
throw toKnownErr84(e);
|
|
159334
159693
|
});
|
|
159335
159694
|
}
|
|
159336
159695
|
putPreferences(data, opts) {
|
|
159337
159696
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
159338
|
-
throw
|
|
159697
|
+
throw toKnownErr85(e);
|
|
159339
159698
|
});
|
|
159340
159699
|
}
|
|
159341
159700
|
searchActors(params2, opts) {
|
|
159342
159701
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
159343
|
-
throw
|
|
159702
|
+
throw toKnownErr86(e);
|
|
159344
159703
|
});
|
|
159345
159704
|
}
|
|
159346
159705
|
searchActorsTypeahead(params2, opts) {
|
|
159347
159706
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
159348
|
-
throw
|
|
159707
|
+
throw toKnownErr87(e);
|
|
159349
159708
|
});
|
|
159350
159709
|
}
|
|
159351
159710
|
};
|
|
@@ -159392,82 +159751,82 @@ var AppBskyFeedNS = class {
|
|
|
159392
159751
|
}
|
|
159393
159752
|
describeFeedGenerator(params2, opts) {
|
|
159394
159753
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
159395
|
-
throw
|
|
159754
|
+
throw toKnownErr88(e);
|
|
159396
159755
|
});
|
|
159397
159756
|
}
|
|
159398
159757
|
getActorFeeds(params2, opts) {
|
|
159399
159758
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
159400
|
-
throw
|
|
159759
|
+
throw toKnownErr89(e);
|
|
159401
159760
|
});
|
|
159402
159761
|
}
|
|
159403
159762
|
getActorLikes(params2, opts) {
|
|
159404
159763
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
159405
|
-
throw
|
|
159764
|
+
throw toKnownErr90(e);
|
|
159406
159765
|
});
|
|
159407
159766
|
}
|
|
159408
159767
|
getAuthorFeed(params2, opts) {
|
|
159409
159768
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
159410
|
-
throw
|
|
159769
|
+
throw toKnownErr91(e);
|
|
159411
159770
|
});
|
|
159412
159771
|
}
|
|
159413
159772
|
getFeed(params2, opts) {
|
|
159414
159773
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
159415
|
-
throw
|
|
159774
|
+
throw toKnownErr92(e);
|
|
159416
159775
|
});
|
|
159417
159776
|
}
|
|
159418
159777
|
getFeedGenerator(params2, opts) {
|
|
159419
159778
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
159420
|
-
throw
|
|
159779
|
+
throw toKnownErr93(e);
|
|
159421
159780
|
});
|
|
159422
159781
|
}
|
|
159423
159782
|
getFeedGenerators(params2, opts) {
|
|
159424
159783
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
159425
|
-
throw
|
|
159784
|
+
throw toKnownErr94(e);
|
|
159426
159785
|
});
|
|
159427
159786
|
}
|
|
159428
159787
|
getFeedSkeleton(params2, opts) {
|
|
159429
159788
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
159430
|
-
throw
|
|
159789
|
+
throw toKnownErr95(e);
|
|
159431
159790
|
});
|
|
159432
159791
|
}
|
|
159433
159792
|
getLikes(params2, opts) {
|
|
159434
159793
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
159435
|
-
throw
|
|
159794
|
+
throw toKnownErr96(e);
|
|
159436
159795
|
});
|
|
159437
159796
|
}
|
|
159438
159797
|
getListFeed(params2, opts) {
|
|
159439
159798
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
159440
|
-
throw
|
|
159799
|
+
throw toKnownErr97(e);
|
|
159441
159800
|
});
|
|
159442
159801
|
}
|
|
159443
159802
|
getPostThread(params2, opts) {
|
|
159444
159803
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
159445
|
-
throw
|
|
159804
|
+
throw toKnownErr98(e);
|
|
159446
159805
|
});
|
|
159447
159806
|
}
|
|
159448
159807
|
getPosts(params2, opts) {
|
|
159449
159808
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
159450
|
-
throw
|
|
159809
|
+
throw toKnownErr99(e);
|
|
159451
159810
|
});
|
|
159452
159811
|
}
|
|
159453
159812
|
getRepostedBy(params2, opts) {
|
|
159454
159813
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
159455
|
-
throw
|
|
159814
|
+
throw toKnownErr100(e);
|
|
159456
159815
|
});
|
|
159457
159816
|
}
|
|
159458
159817
|
getSuggestedFeeds(params2, opts) {
|
|
159459
159818
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
159460
|
-
throw
|
|
159819
|
+
throw toKnownErr101(e);
|
|
159461
159820
|
});
|
|
159462
159821
|
}
|
|
159463
159822
|
getTimeline(params2, opts) {
|
|
159464
159823
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
159465
|
-
throw
|
|
159824
|
+
throw toKnownErr102(e);
|
|
159466
159825
|
});
|
|
159467
159826
|
}
|
|
159468
159827
|
searchPosts(params2, opts) {
|
|
159469
159828
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
159470
|
-
throw
|
|
159829
|
+
throw toKnownErr103(e);
|
|
159471
159830
|
});
|
|
159472
159831
|
}
|
|
159473
159832
|
};
|
|
@@ -159617,72 +159976,72 @@ var AppBskyGraphNS = class {
|
|
|
159617
159976
|
}
|
|
159618
159977
|
getBlocks(params2, opts) {
|
|
159619
159978
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
159620
|
-
throw
|
|
159979
|
+
throw toKnownErr104(e);
|
|
159621
159980
|
});
|
|
159622
159981
|
}
|
|
159623
159982
|
getFollowers(params2, opts) {
|
|
159624
159983
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
159625
|
-
throw
|
|
159984
|
+
throw toKnownErr105(e);
|
|
159626
159985
|
});
|
|
159627
159986
|
}
|
|
159628
159987
|
getFollows(params2, opts) {
|
|
159629
159988
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
159630
|
-
throw
|
|
159989
|
+
throw toKnownErr106(e);
|
|
159631
159990
|
});
|
|
159632
159991
|
}
|
|
159633
159992
|
getList(params2, opts) {
|
|
159634
159993
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
159635
|
-
throw
|
|
159994
|
+
throw toKnownErr107(e);
|
|
159636
159995
|
});
|
|
159637
159996
|
}
|
|
159638
159997
|
getListBlocks(params2, opts) {
|
|
159639
159998
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
159640
|
-
throw
|
|
159999
|
+
throw toKnownErr108(e);
|
|
159641
160000
|
});
|
|
159642
160001
|
}
|
|
159643
160002
|
getListMutes(params2, opts) {
|
|
159644
160003
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
159645
|
-
throw
|
|
160004
|
+
throw toKnownErr109(e);
|
|
159646
160005
|
});
|
|
159647
160006
|
}
|
|
159648
160007
|
getLists(params2, opts) {
|
|
159649
160008
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
159650
|
-
throw
|
|
160009
|
+
throw toKnownErr110(e);
|
|
159651
160010
|
});
|
|
159652
160011
|
}
|
|
159653
160012
|
getMutes(params2, opts) {
|
|
159654
160013
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
159655
|
-
throw
|
|
160014
|
+
throw toKnownErr111(e);
|
|
159656
160015
|
});
|
|
159657
160016
|
}
|
|
159658
160017
|
getRelationships(params2, opts) {
|
|
159659
160018
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
159660
|
-
throw
|
|
160019
|
+
throw toKnownErr112(e);
|
|
159661
160020
|
});
|
|
159662
160021
|
}
|
|
159663
160022
|
getSuggestedFollowsByActor(params2, opts) {
|
|
159664
160023
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
159665
|
-
throw
|
|
160024
|
+
throw toKnownErr113(e);
|
|
159666
160025
|
});
|
|
159667
160026
|
}
|
|
159668
160027
|
muteActor(data, opts) {
|
|
159669
160028
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
159670
|
-
throw
|
|
160029
|
+
throw toKnownErr114(e);
|
|
159671
160030
|
});
|
|
159672
160031
|
}
|
|
159673
160032
|
muteActorList(data, opts) {
|
|
159674
160033
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
159675
|
-
throw
|
|
160034
|
+
throw toKnownErr115(e);
|
|
159676
160035
|
});
|
|
159677
160036
|
}
|
|
159678
160037
|
unmuteActor(data, opts) {
|
|
159679
160038
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
159680
|
-
throw
|
|
160039
|
+
throw toKnownErr116(e);
|
|
159681
160040
|
});
|
|
159682
160041
|
}
|
|
159683
160042
|
unmuteActorList(data, opts) {
|
|
159684
160043
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
159685
|
-
throw
|
|
160044
|
+
throw toKnownErr117(e);
|
|
159686
160045
|
});
|
|
159687
160046
|
}
|
|
159688
160047
|
};
|
|
@@ -159827,22 +160186,22 @@ var AppBskyNotificationNS = class {
|
|
|
159827
160186
|
}
|
|
159828
160187
|
getUnreadCount(params2, opts) {
|
|
159829
160188
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
159830
|
-
throw
|
|
160189
|
+
throw toKnownErr118(e);
|
|
159831
160190
|
});
|
|
159832
160191
|
}
|
|
159833
160192
|
listNotifications(params2, opts) {
|
|
159834
160193
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
159835
|
-
throw
|
|
160194
|
+
throw toKnownErr119(e);
|
|
159836
160195
|
});
|
|
159837
160196
|
}
|
|
159838
160197
|
registerPush(data, opts) {
|
|
159839
160198
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
159840
|
-
throw
|
|
160199
|
+
throw toKnownErr120(e);
|
|
159841
160200
|
});
|
|
159842
160201
|
}
|
|
159843
160202
|
updateSeen(data, opts) {
|
|
159844
160203
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
159845
|
-
throw
|
|
160204
|
+
throw toKnownErr121(e);
|
|
159846
160205
|
});
|
|
159847
160206
|
}
|
|
159848
160207
|
};
|
|
@@ -159857,22 +160216,22 @@ var AppBskyUnspeccedNS = class {
|
|
|
159857
160216
|
}
|
|
159858
160217
|
getPopularFeedGenerators(params2, opts) {
|
|
159859
160218
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
159860
|
-
throw
|
|
160219
|
+
throw toKnownErr122(e);
|
|
159861
160220
|
});
|
|
159862
160221
|
}
|
|
159863
160222
|
getTaggedSuggestions(params2, opts) {
|
|
159864
160223
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
159865
|
-
throw
|
|
160224
|
+
throw toKnownErr123(e);
|
|
159866
160225
|
});
|
|
159867
160226
|
}
|
|
159868
160227
|
searchActorsSkeleton(params2, opts) {
|
|
159869
160228
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
159870
|
-
throw
|
|
160229
|
+
throw toKnownErr124(e);
|
|
159871
160230
|
});
|
|
159872
160231
|
}
|
|
159873
160232
|
searchPostsSkeleton(params2, opts) {
|
|
159874
160233
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
159875
|
-
throw
|
|
160234
|
+
throw toKnownErr125(e);
|
|
159876
160235
|
});
|
|
159877
160236
|
}
|
|
159878
160237
|
};
|
|
@@ -161701,6 +162060,12 @@ var schemaDict2 = {
|
|
|
161701
162060
|
suspendUntil: {
|
|
161702
162061
|
type: "string",
|
|
161703
162062
|
format: "datetime"
|
|
162063
|
+
},
|
|
162064
|
+
tags: {
|
|
162065
|
+
type: "array",
|
|
162066
|
+
items: {
|
|
162067
|
+
type: "string"
|
|
162068
|
+
}
|
|
161704
162069
|
}
|
|
161705
162070
|
}
|
|
161706
162071
|
},
|
|
@@ -162292,6 +162657,31 @@ var schemaDict2 = {
|
|
|
162292
162657
|
}
|
|
162293
162658
|
}
|
|
162294
162659
|
},
|
|
162660
|
+
modEventTag: {
|
|
162661
|
+
type: "object",
|
|
162662
|
+
description: "Add/Remove a tag on a subject",
|
|
162663
|
+
required: ["add", "remove"],
|
|
162664
|
+
properties: {
|
|
162665
|
+
add: {
|
|
162666
|
+
type: "array",
|
|
162667
|
+
items: {
|
|
162668
|
+
type: "string"
|
|
162669
|
+
},
|
|
162670
|
+
description: "Tags to be added to the subject. If already exists, won't be duplicated."
|
|
162671
|
+
},
|
|
162672
|
+
remove: {
|
|
162673
|
+
type: "array",
|
|
162674
|
+
items: {
|
|
162675
|
+
type: "string"
|
|
162676
|
+
},
|
|
162677
|
+
description: "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated."
|
|
162678
|
+
},
|
|
162679
|
+
comment: {
|
|
162680
|
+
type: "string",
|
|
162681
|
+
description: "Additional comment about added/removed tags."
|
|
162682
|
+
}
|
|
162683
|
+
}
|
|
162684
|
+
},
|
|
162295
162685
|
communicationTemplateView: {
|
|
162296
162686
|
type: "object",
|
|
162297
162687
|
required: [
|
|
@@ -162466,7 +162856,8 @@ var schemaDict2 = {
|
|
|
162466
162856
|
"lex:com.atproto.admin.defs#modEventMute",
|
|
162467
162857
|
"lex:com.atproto.admin.defs#modEventReverseTakedown",
|
|
162468
162858
|
"lex:com.atproto.admin.defs#modEventUnmute",
|
|
162469
|
-
"lex:com.atproto.admin.defs#modEventEmail"
|
|
162859
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
|
162860
|
+
"lex:com.atproto.admin.defs#modEventTag"
|
|
162470
162861
|
]
|
|
162471
162862
|
},
|
|
162472
162863
|
subject: {
|
|
@@ -162888,6 +163279,20 @@ var schemaDict2 = {
|
|
|
162888
163279
|
},
|
|
162889
163280
|
description: "If specified, only events where all of these labels were removed are returned"
|
|
162890
163281
|
},
|
|
163282
|
+
addedTags: {
|
|
163283
|
+
type: "array",
|
|
163284
|
+
items: {
|
|
163285
|
+
type: "string"
|
|
163286
|
+
},
|
|
163287
|
+
description: "If specified, only events where all of these tags were added are returned"
|
|
163288
|
+
},
|
|
163289
|
+
removedTags: {
|
|
163290
|
+
type: "array",
|
|
163291
|
+
items: {
|
|
163292
|
+
type: "string"
|
|
163293
|
+
},
|
|
163294
|
+
description: "If specified, only events where all of these tags were removed are returned"
|
|
163295
|
+
},
|
|
162891
163296
|
reportTypes: {
|
|
162892
163297
|
type: "array",
|
|
162893
163298
|
items: {
|
|
@@ -163003,6 +163408,18 @@ var schemaDict2 = {
|
|
|
163003
163408
|
maximum: 100,
|
|
163004
163409
|
default: 50
|
|
163005
163410
|
},
|
|
163411
|
+
tags: {
|
|
163412
|
+
type: "array",
|
|
163413
|
+
items: {
|
|
163414
|
+
type: "string"
|
|
163415
|
+
}
|
|
163416
|
+
},
|
|
163417
|
+
excludeTags: {
|
|
163418
|
+
type: "array",
|
|
163419
|
+
items: {
|
|
163420
|
+
type: "string"
|
|
163421
|
+
}
|
|
163422
|
+
},
|
|
163006
163423
|
cursor: {
|
|
163007
163424
|
type: "string"
|
|
163008
163425
|
}
|
|
@@ -163285,6 +163702,53 @@ var schemaDict2 = {
|
|
|
163285
163702
|
}
|
|
163286
163703
|
}
|
|
163287
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
|
+
},
|
|
163288
163752
|
ComAtprotoIdentityResolveHandle: {
|
|
163289
163753
|
lexicon: 1,
|
|
163290
163754
|
id: "com.atproto.identity.resolveHandle",
|
|
@@ -163319,6 +163783,81 @@ var schemaDict2 = {
|
|
|
163319
163783
|
}
|
|
163320
163784
|
}
|
|
163321
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
|
+
},
|
|
163322
163861
|
ComAtprotoIdentityUpdateHandle: {
|
|
163323
163862
|
lexicon: 1,
|
|
163324
163863
|
id: "com.atproto.identity.updateHandle",
|
|
@@ -163991,6 +164530,76 @@ var schemaDict2 = {
|
|
|
163991
164530
|
}
|
|
163992
164531
|
}
|
|
163993
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
|
+
},
|
|
163994
164603
|
ComAtprotoRepoListRecords: {
|
|
163995
164604
|
lexicon: 1,
|
|
163996
164605
|
id: "com.atproto.repo.listRecords",
|
|
@@ -164197,6 +164806,73 @@ var schemaDict2 = {
|
|
|
164197
164806
|
}
|
|
164198
164807
|
}
|
|
164199
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
|
+
},
|
|
164200
164876
|
ComAtprotoServerConfirmEmail: {
|
|
164201
164877
|
lexicon: 1,
|
|
164202
164878
|
id: "com.atproto.server.confirmEmail",
|
|
@@ -164557,6 +165233,29 @@ var schemaDict2 = {
|
|
|
164557
165233
|
}
|
|
164558
165234
|
}
|
|
164559
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
|
+
},
|
|
164560
165259
|
ComAtprotoServerDefs: {
|
|
164561
165260
|
lexicon: 1,
|
|
164562
165261
|
id: "com.atproto.server.defs",
|
|
@@ -164675,7 +165374,7 @@ var schemaDict2 = {
|
|
|
164675
165374
|
encoding: "application/json",
|
|
164676
165375
|
schema: {
|
|
164677
165376
|
type: "object",
|
|
164678
|
-
required: ["availableUserDomains"],
|
|
165377
|
+
required: ["did", "availableUserDomains"],
|
|
164679
165378
|
properties: {
|
|
164680
165379
|
inviteCodeRequired: {
|
|
164681
165380
|
type: "boolean",
|
|
@@ -164696,6 +165395,10 @@ var schemaDict2 = {
|
|
|
164696
165395
|
type: "ref",
|
|
164697
165396
|
description: "URLs of service policy documents.",
|
|
164698
165397
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
165398
|
+
},
|
|
165399
|
+
did: {
|
|
165400
|
+
type: "string",
|
|
165401
|
+
format: "did"
|
|
164699
165402
|
}
|
|
164700
165403
|
}
|
|
164701
165404
|
}
|
|
@@ -164759,6 +165462,39 @@ var schemaDict2 = {
|
|
|
164759
165462
|
}
|
|
164760
165463
|
}
|
|
164761
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
|
+
},
|
|
164762
165498
|
ComAtprotoServerGetSession: {
|
|
164763
165499
|
lexicon: 1,
|
|
164764
165500
|
id: "com.atproto.server.getSession",
|
|
@@ -165483,6 +166219,7 @@ var schemaDict2 = {
|
|
|
165483
166219
|
type: "union",
|
|
165484
166220
|
refs: [
|
|
165485
166221
|
"lex:com.atproto.sync.subscribeRepos#commit",
|
|
166222
|
+
"lex:com.atproto.sync.subscribeRepos#identity",
|
|
165486
166223
|
"lex:com.atproto.sync.subscribeRepos#handle",
|
|
165487
166224
|
"lex:com.atproto.sync.subscribeRepos#migrate",
|
|
165488
166225
|
"lex:com.atproto.sync.subscribeRepos#tombstone",
|
|
@@ -165579,9 +166316,27 @@ var schemaDict2 = {
|
|
|
165579
166316
|
}
|
|
165580
166317
|
}
|
|
165581
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
|
+
},
|
|
165582
166337
|
handle: {
|
|
165583
166338
|
type: "object",
|
|
165584
|
-
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.",
|
|
165585
166340
|
required: ["seq", "did", "handle", "time"],
|
|
165586
166341
|
properties: {
|
|
165587
166342
|
seq: {
|
|
@@ -165603,7 +166358,7 @@ var schemaDict2 = {
|
|
|
165603
166358
|
},
|
|
165604
166359
|
migrate: {
|
|
165605
166360
|
type: "object",
|
|
165606
|
-
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",
|
|
165607
166362
|
required: ["seq", "did", "migrateTo", "time"],
|
|
165608
166363
|
nullable: ["migrateTo"],
|
|
165609
166364
|
properties: {
|
|
@@ -165625,7 +166380,7 @@ var schemaDict2 = {
|
|
|
165625
166380
|
},
|
|
165626
166381
|
tombstone: {
|
|
165627
166382
|
type: "object",
|
|
165628
|
-
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",
|
|
165629
166384
|
required: ["seq", "did", "time"],
|
|
165630
166385
|
properties: {
|
|
165631
166386
|
seq: {
|
|
@@ -165743,57 +166498,6 @@ var schemaDict2 = {
|
|
|
165743
166498
|
}
|
|
165744
166499
|
}
|
|
165745
166500
|
},
|
|
165746
|
-
ComAtprotoTempImportRepo: {
|
|
165747
|
-
lexicon: 1,
|
|
165748
|
-
id: "com.atproto.temp.importRepo",
|
|
165749
|
-
defs: {
|
|
165750
|
-
main: {
|
|
165751
|
-
type: "procedure",
|
|
165752
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
165753
|
-
parameters: {
|
|
165754
|
-
type: "params",
|
|
165755
|
-
required: ["did"],
|
|
165756
|
-
properties: {
|
|
165757
|
-
did: {
|
|
165758
|
-
type: "string",
|
|
165759
|
-
format: "did",
|
|
165760
|
-
description: "The DID of the repo."
|
|
165761
|
-
}
|
|
165762
|
-
}
|
|
165763
|
-
},
|
|
165764
|
-
input: {
|
|
165765
|
-
encoding: "application/vnd.ipld.car"
|
|
165766
|
-
},
|
|
165767
|
-
output: {
|
|
165768
|
-
encoding: "text/plain"
|
|
165769
|
-
}
|
|
165770
|
-
}
|
|
165771
|
-
}
|
|
165772
|
-
},
|
|
165773
|
-
ComAtprotoTempPushBlob: {
|
|
165774
|
-
lexicon: 1,
|
|
165775
|
-
id: "com.atproto.temp.pushBlob",
|
|
165776
|
-
defs: {
|
|
165777
|
-
main: {
|
|
165778
|
-
type: "procedure",
|
|
165779
|
-
description: "Gets the did's repo, optionally catching up from a specific revision.",
|
|
165780
|
-
parameters: {
|
|
165781
|
-
type: "params",
|
|
165782
|
-
required: ["did"],
|
|
165783
|
-
properties: {
|
|
165784
|
-
did: {
|
|
165785
|
-
type: "string",
|
|
165786
|
-
format: "did",
|
|
165787
|
-
description: "The DID of the repo."
|
|
165788
|
-
}
|
|
165789
|
-
}
|
|
165790
|
-
},
|
|
165791
|
-
input: {
|
|
165792
|
-
encoding: "*/*"
|
|
165793
|
-
}
|
|
165794
|
-
}
|
|
165795
|
-
}
|
|
165796
|
-
},
|
|
165797
166501
|
ComAtprotoTempRequestPhoneVerification: {
|
|
165798
166502
|
lexicon: 1,
|
|
165799
166503
|
id: "com.atproto.temp.requestPhoneVerification",
|
|
@@ -165816,82 +166520,6 @@ var schemaDict2 = {
|
|
|
165816
166520
|
}
|
|
165817
166521
|
}
|
|
165818
166522
|
},
|
|
165819
|
-
ComAtprotoTempTransferAccount: {
|
|
165820
|
-
lexicon: 1,
|
|
165821
|
-
id: "com.atproto.temp.transferAccount",
|
|
165822
|
-
defs: {
|
|
165823
|
-
main: {
|
|
165824
|
-
type: "procedure",
|
|
165825
|
-
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
165826
|
-
input: {
|
|
165827
|
-
encoding: "application/json",
|
|
165828
|
-
schema: {
|
|
165829
|
-
type: "object",
|
|
165830
|
-
required: ["handle", "did", "plcOp"],
|
|
165831
|
-
properties: {
|
|
165832
|
-
handle: {
|
|
165833
|
-
type: "string",
|
|
165834
|
-
format: "handle"
|
|
165835
|
-
},
|
|
165836
|
-
did: {
|
|
165837
|
-
type: "string",
|
|
165838
|
-
format: "did"
|
|
165839
|
-
},
|
|
165840
|
-
plcOp: {
|
|
165841
|
-
type: "unknown"
|
|
165842
|
-
}
|
|
165843
|
-
}
|
|
165844
|
-
}
|
|
165845
|
-
},
|
|
165846
|
-
output: {
|
|
165847
|
-
encoding: "application/json",
|
|
165848
|
-
schema: {
|
|
165849
|
-
type: "object",
|
|
165850
|
-
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
165851
|
-
properties: {
|
|
165852
|
-
accessJwt: {
|
|
165853
|
-
type: "string"
|
|
165854
|
-
},
|
|
165855
|
-
refreshJwt: {
|
|
165856
|
-
type: "string"
|
|
165857
|
-
},
|
|
165858
|
-
handle: {
|
|
165859
|
-
type: "string",
|
|
165860
|
-
format: "handle"
|
|
165861
|
-
},
|
|
165862
|
-
did: {
|
|
165863
|
-
type: "string",
|
|
165864
|
-
format: "did"
|
|
165865
|
-
}
|
|
165866
|
-
}
|
|
165867
|
-
}
|
|
165868
|
-
},
|
|
165869
|
-
errors: [
|
|
165870
|
-
{
|
|
165871
|
-
name: "InvalidHandle"
|
|
165872
|
-
},
|
|
165873
|
-
{
|
|
165874
|
-
name: "InvalidPassword"
|
|
165875
|
-
},
|
|
165876
|
-
{
|
|
165877
|
-
name: "InvalidInviteCode"
|
|
165878
|
-
},
|
|
165879
|
-
{
|
|
165880
|
-
name: "HandleNotAvailable"
|
|
165881
|
-
},
|
|
165882
|
-
{
|
|
165883
|
-
name: "UnsupportedDomain"
|
|
165884
|
-
},
|
|
165885
|
-
{
|
|
165886
|
-
name: "UnresolvableDid"
|
|
165887
|
-
},
|
|
165888
|
-
{
|
|
165889
|
-
name: "IncompatibleDidDoc"
|
|
165890
|
-
}
|
|
165891
|
-
]
|
|
165892
|
-
}
|
|
165893
|
-
}
|
|
165894
|
-
},
|
|
165895
166523
|
AppBskyActorDefs: {
|
|
165896
166524
|
lexicon: 1,
|
|
165897
166525
|
id: "app.bsky.actor.defs",
|
|
@@ -166187,6 +166815,61 @@ var schemaDict2 = {
|
|
|
166187
166815
|
description: "A list of tags which describe the account owner's interests gathered during onboarding."
|
|
166188
166816
|
}
|
|
166189
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
|
+
}
|
|
166190
166873
|
}
|
|
166191
166874
|
}
|
|
166192
166875
|
},
|
|
@@ -168053,7 +168736,7 @@ var schemaDict2 = {
|
|
|
168053
168736
|
},
|
|
168054
168737
|
tags: {
|
|
168055
168738
|
type: "array",
|
|
168056
|
-
description: "Additional
|
|
168739
|
+
description: "Additional hashtags, in addition to any included in post text and facets.",
|
|
168057
168740
|
maxLength: 8,
|
|
168058
168741
|
items: {
|
|
168059
168742
|
type: "string",
|
|
@@ -169694,7 +170377,11 @@ var ids = {
|
|
|
169694
170377
|
ComAtprotoAdminUpdateAccountHandle: "com.atproto.admin.updateAccountHandle",
|
|
169695
170378
|
ComAtprotoAdminUpdateCommunicationTemplate: "com.atproto.admin.updateCommunicationTemplate",
|
|
169696
170379
|
ComAtprotoAdminUpdateSubjectStatus: "com.atproto.admin.updateSubjectStatus",
|
|
170380
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: "com.atproto.identity.getRecommendedDidCredentials",
|
|
170381
|
+
ComAtprotoIdentityRequestPlcOperationSignature: "com.atproto.identity.requestPlcOperationSignature",
|
|
169697
170382
|
ComAtprotoIdentityResolveHandle: "com.atproto.identity.resolveHandle",
|
|
170383
|
+
ComAtprotoIdentitySignPlcOperation: "com.atproto.identity.signPlcOperation",
|
|
170384
|
+
ComAtprotoIdentitySubmitPlcOperation: "com.atproto.identity.submitPlcOperation",
|
|
169698
170385
|
ComAtprotoIdentityUpdateHandle: "com.atproto.identity.updateHandle",
|
|
169699
170386
|
ComAtprotoLabelDefs: "com.atproto.label.defs",
|
|
169700
170387
|
ComAtprotoLabelQueryLabels: "com.atproto.label.queryLabels",
|
|
@@ -169706,21 +170393,27 @@ var ids = {
|
|
|
169706
170393
|
ComAtprotoRepoDeleteRecord: "com.atproto.repo.deleteRecord",
|
|
169707
170394
|
ComAtprotoRepoDescribeRepo: "com.atproto.repo.describeRepo",
|
|
169708
170395
|
ComAtprotoRepoGetRecord: "com.atproto.repo.getRecord",
|
|
170396
|
+
ComAtprotoRepoImportRepo: "com.atproto.repo.importRepo",
|
|
170397
|
+
ComAtprotoRepoListMissingBlobs: "com.atproto.repo.listMissingBlobs",
|
|
169709
170398
|
ComAtprotoRepoListRecords: "com.atproto.repo.listRecords",
|
|
169710
170399
|
ComAtprotoRepoPutRecord: "com.atproto.repo.putRecord",
|
|
169711
170400
|
ComAtprotoRepoStrongRef: "com.atproto.repo.strongRef",
|
|
169712
170401
|
ComAtprotoRepoUploadBlob: "com.atproto.repo.uploadBlob",
|
|
170402
|
+
ComAtprotoServerActivateAccount: "com.atproto.server.activateAccount",
|
|
170403
|
+
ComAtprotoServerCheckAccountStatus: "com.atproto.server.checkAccountStatus",
|
|
169713
170404
|
ComAtprotoServerConfirmEmail: "com.atproto.server.confirmEmail",
|
|
169714
170405
|
ComAtprotoServerCreateAccount: "com.atproto.server.createAccount",
|
|
169715
170406
|
ComAtprotoServerCreateAppPassword: "com.atproto.server.createAppPassword",
|
|
169716
170407
|
ComAtprotoServerCreateInviteCode: "com.atproto.server.createInviteCode",
|
|
169717
170408
|
ComAtprotoServerCreateInviteCodes: "com.atproto.server.createInviteCodes",
|
|
169718
170409
|
ComAtprotoServerCreateSession: "com.atproto.server.createSession",
|
|
170410
|
+
ComAtprotoServerDeactivateAccount: "com.atproto.server.deactivateAccount",
|
|
169719
170411
|
ComAtprotoServerDefs: "com.atproto.server.defs",
|
|
169720
170412
|
ComAtprotoServerDeleteAccount: "com.atproto.server.deleteAccount",
|
|
169721
170413
|
ComAtprotoServerDeleteSession: "com.atproto.server.deleteSession",
|
|
169722
170414
|
ComAtprotoServerDescribeServer: "com.atproto.server.describeServer",
|
|
169723
170415
|
ComAtprotoServerGetAccountInviteCodes: "com.atproto.server.getAccountInviteCodes",
|
|
170416
|
+
ComAtprotoServerGetServiceAuth: "com.atproto.server.getServiceAuth",
|
|
169724
170417
|
ComAtprotoServerGetSession: "com.atproto.server.getSession",
|
|
169725
170418
|
ComAtprotoServerListAppPasswords: "com.atproto.server.listAppPasswords",
|
|
169726
170419
|
ComAtprotoServerRefreshSession: "com.atproto.server.refreshSession",
|
|
@@ -169746,10 +170439,7 @@ var ids = {
|
|
|
169746
170439
|
ComAtprotoSyncSubscribeRepos: "com.atproto.sync.subscribeRepos",
|
|
169747
170440
|
ComAtprotoTempCheckSignupQueue: "com.atproto.temp.checkSignupQueue",
|
|
169748
170441
|
ComAtprotoTempFetchLabels: "com.atproto.temp.fetchLabels",
|
|
169749
|
-
ComAtprotoTempImportRepo: "com.atproto.temp.importRepo",
|
|
169750
|
-
ComAtprotoTempPushBlob: "com.atproto.temp.pushBlob",
|
|
169751
170442
|
ComAtprotoTempRequestPhoneVerification: "com.atproto.temp.requestPhoneVerification",
|
|
169752
|
-
ComAtprotoTempTransferAccount: "com.atproto.temp.transferAccount",
|
|
169753
170443
|
AppBskyActorDefs: "app.bsky.actor.defs",
|
|
169754
170444
|
AppBskyActorGetPreferences: "app.bsky.actor.getPreferences",
|
|
169755
170445
|
AppBskyActorGetProfile: "app.bsky.actor.getProfile",
|
|
@@ -173379,10 +174069,26 @@ var ComAtprotoIdentityNS2 = class {
|
|
|
173379
174069
|
constructor(server) {
|
|
173380
174070
|
this._server = server;
|
|
173381
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
|
+
}
|
|
173382
174080
|
resolveHandle(cfg) {
|
|
173383
174081
|
const nsid2 = "com.atproto.identity.resolveHandle";
|
|
173384
174082
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173385
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
|
+
}
|
|
173386
174092
|
updateHandle(cfg) {
|
|
173387
174093
|
const nsid2 = "com.atproto.identity.updateHandle";
|
|
173388
174094
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173434,6 +174140,14 @@ var ComAtprotoRepoNS2 = class {
|
|
|
173434
174140
|
const nsid2 = "com.atproto.repo.getRecord";
|
|
173435
174141
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173436
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
|
+
}
|
|
173437
174151
|
listRecords(cfg) {
|
|
173438
174152
|
const nsid2 = "com.atproto.repo.listRecords";
|
|
173439
174153
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173451,6 +174165,14 @@ var ComAtprotoServerNS2 = class {
|
|
|
173451
174165
|
constructor(server) {
|
|
173452
174166
|
this._server = server;
|
|
173453
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
|
+
}
|
|
173454
174176
|
confirmEmail(cfg) {
|
|
173455
174177
|
const nsid2 = "com.atproto.server.confirmEmail";
|
|
173456
174178
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173475,6 +174197,10 @@ var ComAtprotoServerNS2 = class {
|
|
|
173475
174197
|
const nsid2 = "com.atproto.server.createSession";
|
|
173476
174198
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173477
174199
|
}
|
|
174200
|
+
deactivateAccount(cfg) {
|
|
174201
|
+
const nsid2 = "com.atproto.server.deactivateAccount";
|
|
174202
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174203
|
+
}
|
|
173478
174204
|
deleteAccount(cfg) {
|
|
173479
174205
|
const nsid2 = "com.atproto.server.deleteAccount";
|
|
173480
174206
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173491,6 +174217,10 @@ var ComAtprotoServerNS2 = class {
|
|
|
173491
174217
|
const nsid2 = "com.atproto.server.getAccountInviteCodes";
|
|
173492
174218
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173493
174219
|
}
|
|
174220
|
+
getServiceAuth(cfg) {
|
|
174221
|
+
const nsid2 = "com.atproto.server.getServiceAuth";
|
|
174222
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
174223
|
+
}
|
|
173494
174224
|
getSession(cfg) {
|
|
173495
174225
|
const nsid2 = "com.atproto.server.getSession";
|
|
173496
174226
|
return this._server.xrpc.method(nsid2, cfg);
|
|
@@ -173601,22 +174331,10 @@ var ComAtprotoTempNS2 = class {
|
|
|
173601
174331
|
const nsid2 = "com.atproto.temp.fetchLabels";
|
|
173602
174332
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173603
174333
|
}
|
|
173604
|
-
importRepo(cfg) {
|
|
173605
|
-
const nsid2 = "com.atproto.temp.importRepo";
|
|
173606
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
173607
|
-
}
|
|
173608
|
-
pushBlob(cfg) {
|
|
173609
|
-
const nsid2 = "com.atproto.temp.pushBlob";
|
|
173610
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
173611
|
-
}
|
|
173612
174334
|
requestPhoneVerification(cfg) {
|
|
173613
174335
|
const nsid2 = "com.atproto.temp.requestPhoneVerification";
|
|
173614
174336
|
return this._server.xrpc.method(nsid2, cfg);
|
|
173615
174337
|
}
|
|
173616
|
-
transferAccount(cfg) {
|
|
173617
|
-
const nsid2 = "com.atproto.temp.transferAccount";
|
|
173618
|
-
return this._server.xrpc.method(nsid2, cfg);
|
|
173619
|
-
}
|
|
173620
174338
|
};
|
|
173621
174339
|
var AppNS2 = class {
|
|
173622
174340
|
constructor(server) {
|
|
@@ -174261,7 +174979,7 @@ var import_promises2 = require("node:timers/promises");
|
|
|
174261
174979
|
|
|
174262
174980
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/reader.js
|
|
174263
174981
|
var import_fs = __toESM(require("fs"), 1);
|
|
174264
|
-
var
|
|
174982
|
+
var import_util74 = require("util");
|
|
174265
174983
|
|
|
174266
174984
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/decoder.js
|
|
174267
174985
|
var import_varint2 = __toESM(require_varint2(), 1);
|
|
@@ -174472,7 +175190,7 @@ function asyncIterableReader(asyncIterable) {
|
|
|
174472
175190
|
}
|
|
174473
175191
|
|
|
174474
175192
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/reader.js
|
|
174475
|
-
var fsread = (0,
|
|
175193
|
+
var fsread = (0, import_util74.promisify)(import_fs.default.read);
|
|
174476
175194
|
|
|
174477
175195
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/indexer.js
|
|
174478
175196
|
var CarIndexer = class {
|
|
@@ -174600,7 +175318,7 @@ async function decodeIterator(reader) {
|
|
|
174600
175318
|
|
|
174601
175319
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/writer.js
|
|
174602
175320
|
var import_fs2 = __toESM(require("fs"), 1);
|
|
174603
|
-
var
|
|
175321
|
+
var import_util75 = require("util");
|
|
174604
175322
|
|
|
174605
175323
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/encoder.js
|
|
174606
175324
|
var import_varint3 = __toESM(require_varint2(), 1);
|
|
@@ -174620,8 +175338,8 @@ var CarWriterOut = class {
|
|
|
174620
175338
|
};
|
|
174621
175339
|
|
|
174622
175340
|
// ../../node_modules/.pnpm/@ipld+car@3.2.3/node_modules/@ipld/car/esm/lib/writer.js
|
|
174623
|
-
var fsread2 = (0,
|
|
174624
|
-
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);
|
|
174625
175343
|
|
|
174626
175344
|
// ../repo/src/util.ts
|
|
174627
175345
|
async function* verifyIncomingCarBlocks(car) {
|
|
@@ -180449,6 +181167,9 @@ var import_node_assert7 = __toESM(require("node:assert"));
|
|
|
180449
181167
|
function isCommit(v) {
|
|
180450
181168
|
return isObj3(v) && hasProp3(v, "$type") && v.$type === "com.atproto.sync.subscribeRepos#commit";
|
|
180451
181169
|
}
|
|
181170
|
+
function isIdentity(v) {
|
|
181171
|
+
return isObj3(v) && hasProp3(v, "$type") && v.$type === "com.atproto.sync.subscribeRepos#identity";
|
|
181172
|
+
}
|
|
180452
181173
|
function isHandle(v) {
|
|
180453
181174
|
return isObj3(v) && hasProp3(v, "$type") && v.$type === "com.atproto.sync.subscribeRepos#handle";
|
|
180454
181175
|
}
|
|
@@ -180671,6 +181392,8 @@ var IndexerSubscription = class {
|
|
|
180671
181392
|
await this.handleCommit(msg);
|
|
180672
181393
|
} else if (isHandle(msg)) {
|
|
180673
181394
|
await this.handleUpdateHandle(msg);
|
|
181395
|
+
} else if (isIdentity(msg)) {
|
|
181396
|
+
await this.handleIdentityEvt(msg);
|
|
180674
181397
|
} else if (isTombstone(msg)) {
|
|
180675
181398
|
await this.handleTombstone(msg);
|
|
180676
181399
|
} else if (isMigrate(msg)) {
|
|
@@ -180745,6 +181468,9 @@ var IndexerSubscription = class {
|
|
|
180745
181468
|
async handleUpdateHandle(msg) {
|
|
180746
181469
|
await this.indexingSvc.indexHandle(msg.did, msg.time, true);
|
|
180747
181470
|
}
|
|
181471
|
+
async handleIdentityEvt(msg) {
|
|
181472
|
+
await this.indexingSvc.indexHandle(msg.did, msg.time, true);
|
|
181473
|
+
}
|
|
180748
181474
|
async handleTombstone(msg) {
|
|
180749
181475
|
await this.indexingSvc.tombstoneActor(msg.did);
|
|
180750
181476
|
}
|
|
@@ -181798,6 +182524,8 @@ function getMessageDetails(msg) {
|
|
|
181798
182524
|
return { seq: msg.seq, repo: msg.repo, message: msg };
|
|
181799
182525
|
} else if (isHandle(msg)) {
|
|
181800
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 };
|
|
181801
182529
|
} else if (isMigrate(msg)) {
|
|
181802
182530
|
return { seq: msg.seq, repo: msg.did, message: msg };
|
|
181803
182531
|
} else if (isTombstone(msg)) {
|