@atproto/api 0.3.9 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.d.ts +3 -0
- package/dist/client/lexicons.d.ts +40 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +1 -0
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +1 -0
- package/dist/client/types/com/atproto/admin/rebaseRepo.d.ts +24 -0
- package/dist/client/types/com/atproto/repo/rebaseRepo.d.ts +3 -0
- package/dist/index.js +366 -276
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/client/index.ts +13 -0
- package/src/client/lexicons.ts +53 -0
- package/src/client/types/com/atproto/admin/defs.ts +1 -0
- package/src/client/types/com/atproto/admin/getModerationReports.ts +2 -0
- package/src/client/types/com/atproto/admin/rebaseRepo.ts +49 -0
- package/src/client/types/com/atproto/repo/rebaseRepo.ts +7 -0
- package/tsconfig.build.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -8950,6 +8950,7 @@ __export(src_exports4, {
|
|
|
8950
8950
|
ComAtprotoAdminGetModerationReports: () => getModerationReports_exports,
|
|
8951
8951
|
ComAtprotoAdminGetRecord: () => getRecord_exports,
|
|
8952
8952
|
ComAtprotoAdminGetRepo: () => getRepo_exports,
|
|
8953
|
+
ComAtprotoAdminRebaseRepo: () => rebaseRepo_exports,
|
|
8953
8954
|
ComAtprotoAdminResolveModerationReports: () => resolveModerationReports_exports,
|
|
8954
8955
|
ComAtprotoAdminReverseModerationAction: () => reverseModerationAction_exports,
|
|
8955
8956
|
ComAtprotoAdminSearchRepos: () => searchRepos_exports,
|
|
@@ -8970,7 +8971,7 @@ __export(src_exports4, {
|
|
|
8970
8971
|
ComAtprotoRepoGetRecord: () => getRecord_exports2,
|
|
8971
8972
|
ComAtprotoRepoListRecords: () => listRecords_exports,
|
|
8972
8973
|
ComAtprotoRepoPutRecord: () => putRecord_exports,
|
|
8973
|
-
ComAtprotoRepoRebaseRepo: () =>
|
|
8974
|
+
ComAtprotoRepoRebaseRepo: () => rebaseRepo_exports2,
|
|
8974
8975
|
ComAtprotoRepoStrongRef: () => strongRef_exports,
|
|
8975
8976
|
ComAtprotoRepoUploadBlob: () => uploadBlob_exports,
|
|
8976
8977
|
ComAtprotoServerCreateAccount: () => createAccount_exports,
|
|
@@ -10141,8 +10142,8 @@ var ensureValidDid = (did2) => {
|
|
|
10141
10142
|
if (did2.endsWith(":") || did2.endsWith("%")) {
|
|
10142
10143
|
throw new InvalidDidError('DID can not end with ":" or "%"');
|
|
10143
10144
|
}
|
|
10144
|
-
if (did2.length >
|
|
10145
|
-
throw new InvalidDidError("DID is
|
|
10145
|
+
if (did2.length > 2 * 1024) {
|
|
10146
|
+
throw new InvalidDidError("DID is too long (2048 chars max)");
|
|
10146
10147
|
}
|
|
10147
10148
|
};
|
|
10148
10149
|
var InvalidDidError = class extends Error {
|
|
@@ -10181,18 +10182,17 @@ var NSID = class {
|
|
|
10181
10182
|
}
|
|
10182
10183
|
};
|
|
10183
10184
|
var ensureValidNsid = (nsid2) => {
|
|
10184
|
-
const
|
|
10185
|
-
const toCheck = split.at(-1) === "*" ? split.slice(0, -1).join(".") : split.join(".");
|
|
10185
|
+
const toCheck = nsid2;
|
|
10186
10186
|
if (!/^[a-zA-Z0-9.-]*$/.test(toCheck)) {
|
|
10187
10187
|
throw new InvalidNsidError(
|
|
10188
10188
|
"Disallowed characters in NSID (ASCII letters, digits, dashes, periods only)"
|
|
10189
10189
|
);
|
|
10190
10190
|
}
|
|
10191
|
-
if (toCheck.length > 253 + 1 +
|
|
10192
|
-
throw new InvalidNsidError("NSID is too long (
|
|
10191
|
+
if (toCheck.length > 253 + 1 + 63) {
|
|
10192
|
+
throw new InvalidNsidError("NSID is too long (317 chars max)");
|
|
10193
10193
|
}
|
|
10194
10194
|
const labels = toCheck.split(".");
|
|
10195
|
-
if (
|
|
10195
|
+
if (labels.length < 3) {
|
|
10196
10196
|
throw new InvalidNsidError("NSID needs at least three parts");
|
|
10197
10197
|
}
|
|
10198
10198
|
for (let i = 0; i < labels.length; i++) {
|
|
@@ -10200,17 +10200,17 @@ var ensureValidNsid = (nsid2) => {
|
|
|
10200
10200
|
if (l.length < 1) {
|
|
10201
10201
|
throw new InvalidNsidError("NSID parts can not be empty");
|
|
10202
10202
|
}
|
|
10203
|
-
if (l.length > 63
|
|
10204
|
-
throw new InvalidNsidError("NSID
|
|
10203
|
+
if (l.length > 63) {
|
|
10204
|
+
throw new InvalidNsidError("NSID part too long (max 63 chars)");
|
|
10205
10205
|
}
|
|
10206
|
-
if (l.
|
|
10207
|
-
throw new InvalidNsidError("NSID
|
|
10206
|
+
if (l.endsWith("-") || l.startsWith("-")) {
|
|
10207
|
+
throw new InvalidNsidError("NSID parts can not start or end with hyphen");
|
|
10208
10208
|
}
|
|
10209
|
-
if (l
|
|
10210
|
-
throw new InvalidNsidError("NSID
|
|
10209
|
+
if (/^[0-9]/.test(l) && i == 0) {
|
|
10210
|
+
throw new InvalidNsidError("NSID first part may not start with a digit");
|
|
10211
10211
|
}
|
|
10212
|
-
if (!/^[a-zA-Z]
|
|
10213
|
-
throw new InvalidNsidError("NSID
|
|
10212
|
+
if (!/^[a-zA-Z]+$/.test(l) && i + 1 == labels.length) {
|
|
10213
|
+
throw new InvalidNsidError("NSID name part must be only letters");
|
|
10214
10214
|
}
|
|
10215
10215
|
}
|
|
10216
10216
|
};
|
|
@@ -16933,6 +16933,9 @@ var schemaDict = {
|
|
|
16933
16933
|
reason: {
|
|
16934
16934
|
type: "string"
|
|
16935
16935
|
},
|
|
16936
|
+
subjectRepoHandle: {
|
|
16937
|
+
type: "string"
|
|
16938
|
+
},
|
|
16936
16939
|
subject: {
|
|
16937
16940
|
type: "union",
|
|
16938
16941
|
refs: [
|
|
@@ -17585,6 +17588,10 @@ var schemaDict = {
|
|
|
17585
17588
|
},
|
|
17586
17589
|
cursor: {
|
|
17587
17590
|
type: "string"
|
|
17591
|
+
},
|
|
17592
|
+
reverse: {
|
|
17593
|
+
type: "boolean",
|
|
17594
|
+
description: "Reverse the order of the returned records? when true, returns reports in chronological order"
|
|
17588
17595
|
}
|
|
17589
17596
|
}
|
|
17590
17597
|
},
|
|
@@ -17678,6 +17685,43 @@ var schemaDict = {
|
|
|
17678
17685
|
}
|
|
17679
17686
|
}
|
|
17680
17687
|
},
|
|
17688
|
+
ComAtprotoAdminRebaseRepo: {
|
|
17689
|
+
lexicon: 1,
|
|
17690
|
+
id: "com.atproto.admin.rebaseRepo",
|
|
17691
|
+
defs: {
|
|
17692
|
+
main: {
|
|
17693
|
+
type: "procedure",
|
|
17694
|
+
description: "Administrative action to rebase an account's repo",
|
|
17695
|
+
input: {
|
|
17696
|
+
encoding: "application/json",
|
|
17697
|
+
schema: {
|
|
17698
|
+
type: "object",
|
|
17699
|
+
required: ["repo"],
|
|
17700
|
+
properties: {
|
|
17701
|
+
repo: {
|
|
17702
|
+
type: "string",
|
|
17703
|
+
format: "at-identifier",
|
|
17704
|
+
description: "The handle or DID of the repo."
|
|
17705
|
+
},
|
|
17706
|
+
swapCommit: {
|
|
17707
|
+
type: "string",
|
|
17708
|
+
format: "cid",
|
|
17709
|
+
description: "Compare and swap with the previous commit by cid."
|
|
17710
|
+
}
|
|
17711
|
+
}
|
|
17712
|
+
}
|
|
17713
|
+
},
|
|
17714
|
+
errors: [
|
|
17715
|
+
{
|
|
17716
|
+
name: "InvalidSwap"
|
|
17717
|
+
},
|
|
17718
|
+
{
|
|
17719
|
+
name: "ConcurrentWrites"
|
|
17720
|
+
}
|
|
17721
|
+
]
|
|
17722
|
+
}
|
|
17723
|
+
}
|
|
17724
|
+
},
|
|
17681
17725
|
ComAtprotoAdminResolveModerationReports: {
|
|
17682
17726
|
lexicon: 1,
|
|
17683
17727
|
id: "com.atproto.admin.resolveModerationReports",
|
|
@@ -18780,6 +18824,9 @@ var schemaDict = {
|
|
|
18780
18824
|
errors: [
|
|
18781
18825
|
{
|
|
18782
18826
|
name: "InvalidSwap"
|
|
18827
|
+
},
|
|
18828
|
+
{
|
|
18829
|
+
name: "ConcurrentWrites"
|
|
18783
18830
|
}
|
|
18784
18831
|
]
|
|
18785
18832
|
}
|
|
@@ -19933,6 +19980,9 @@ var schemaDict = {
|
|
|
19933
19980
|
errors: [
|
|
19934
19981
|
{
|
|
19935
19982
|
name: "FutureCursor"
|
|
19983
|
+
},
|
|
19984
|
+
{
|
|
19985
|
+
name: "ConsumerTooSlow"
|
|
19936
19986
|
}
|
|
19937
19987
|
]
|
|
19938
19988
|
},
|
|
@@ -23013,12 +23063,39 @@ function toKnownErr10(e) {
|
|
|
23013
23063
|
return e;
|
|
23014
23064
|
}
|
|
23015
23065
|
|
|
23066
|
+
// src/client/types/com/atproto/admin/rebaseRepo.ts
|
|
23067
|
+
var rebaseRepo_exports = {};
|
|
23068
|
+
__export(rebaseRepo_exports, {
|
|
23069
|
+
ConcurrentWritesError: () => ConcurrentWritesError,
|
|
23070
|
+
InvalidSwapError: () => InvalidSwapError,
|
|
23071
|
+
toKnownErr: () => toKnownErr11
|
|
23072
|
+
});
|
|
23073
|
+
var InvalidSwapError = class extends XRPCError {
|
|
23074
|
+
constructor(src2) {
|
|
23075
|
+
super(src2.status, src2.error, src2.message);
|
|
23076
|
+
}
|
|
23077
|
+
};
|
|
23078
|
+
var ConcurrentWritesError = class extends XRPCError {
|
|
23079
|
+
constructor(src2) {
|
|
23080
|
+
super(src2.status, src2.error, src2.message);
|
|
23081
|
+
}
|
|
23082
|
+
};
|
|
23083
|
+
function toKnownErr11(e) {
|
|
23084
|
+
if (e instanceof XRPCError) {
|
|
23085
|
+
if (e.error === "InvalidSwap")
|
|
23086
|
+
return new InvalidSwapError(e);
|
|
23087
|
+
if (e.error === "ConcurrentWrites")
|
|
23088
|
+
return new ConcurrentWritesError(e);
|
|
23089
|
+
}
|
|
23090
|
+
return e;
|
|
23091
|
+
}
|
|
23092
|
+
|
|
23016
23093
|
// src/client/types/com/atproto/admin/resolveModerationReports.ts
|
|
23017
23094
|
var resolveModerationReports_exports = {};
|
|
23018
23095
|
__export(resolveModerationReports_exports, {
|
|
23019
|
-
toKnownErr: () =>
|
|
23096
|
+
toKnownErr: () => toKnownErr12
|
|
23020
23097
|
});
|
|
23021
|
-
function
|
|
23098
|
+
function toKnownErr12(e) {
|
|
23022
23099
|
if (e instanceof XRPCError) {
|
|
23023
23100
|
}
|
|
23024
23101
|
return e;
|
|
@@ -23027,9 +23104,9 @@ function toKnownErr11(e) {
|
|
|
23027
23104
|
// src/client/types/com/atproto/admin/reverseModerationAction.ts
|
|
23028
23105
|
var reverseModerationAction_exports = {};
|
|
23029
23106
|
__export(reverseModerationAction_exports, {
|
|
23030
|
-
toKnownErr: () =>
|
|
23107
|
+
toKnownErr: () => toKnownErr13
|
|
23031
23108
|
});
|
|
23032
|
-
function
|
|
23109
|
+
function toKnownErr13(e) {
|
|
23033
23110
|
if (e instanceof XRPCError) {
|
|
23034
23111
|
}
|
|
23035
23112
|
return e;
|
|
@@ -23038,9 +23115,9 @@ function toKnownErr12(e) {
|
|
|
23038
23115
|
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
23039
23116
|
var searchRepos_exports = {};
|
|
23040
23117
|
__export(searchRepos_exports, {
|
|
23041
|
-
toKnownErr: () =>
|
|
23118
|
+
toKnownErr: () => toKnownErr14
|
|
23042
23119
|
});
|
|
23043
|
-
function
|
|
23120
|
+
function toKnownErr14(e) {
|
|
23044
23121
|
if (e instanceof XRPCError) {
|
|
23045
23122
|
}
|
|
23046
23123
|
return e;
|
|
@@ -23050,14 +23127,14 @@ function toKnownErr13(e) {
|
|
|
23050
23127
|
var takeModerationAction_exports = {};
|
|
23051
23128
|
__export(takeModerationAction_exports, {
|
|
23052
23129
|
SubjectHasActionError: () => SubjectHasActionError,
|
|
23053
|
-
toKnownErr: () =>
|
|
23130
|
+
toKnownErr: () => toKnownErr15
|
|
23054
23131
|
});
|
|
23055
23132
|
var SubjectHasActionError = class extends XRPCError {
|
|
23056
23133
|
constructor(src2) {
|
|
23057
23134
|
super(src2.status, src2.error, src2.message);
|
|
23058
23135
|
}
|
|
23059
23136
|
};
|
|
23060
|
-
function
|
|
23137
|
+
function toKnownErr15(e) {
|
|
23061
23138
|
if (e instanceof XRPCError) {
|
|
23062
23139
|
if (e.error === "SubjectHasAction")
|
|
23063
23140
|
return new SubjectHasActionError(e);
|
|
@@ -23068,9 +23145,9 @@ function toKnownErr14(e) {
|
|
|
23068
23145
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
23069
23146
|
var updateAccountEmail_exports = {};
|
|
23070
23147
|
__export(updateAccountEmail_exports, {
|
|
23071
|
-
toKnownErr: () =>
|
|
23148
|
+
toKnownErr: () => toKnownErr16
|
|
23072
23149
|
});
|
|
23073
|
-
function
|
|
23150
|
+
function toKnownErr16(e) {
|
|
23074
23151
|
if (e instanceof XRPCError) {
|
|
23075
23152
|
}
|
|
23076
23153
|
return e;
|
|
@@ -23079,9 +23156,9 @@ function toKnownErr15(e) {
|
|
|
23079
23156
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
23080
23157
|
var updateAccountHandle_exports = {};
|
|
23081
23158
|
__export(updateAccountHandle_exports, {
|
|
23082
|
-
toKnownErr: () =>
|
|
23159
|
+
toKnownErr: () => toKnownErr17
|
|
23083
23160
|
});
|
|
23084
|
-
function
|
|
23161
|
+
function toKnownErr17(e) {
|
|
23085
23162
|
if (e instanceof XRPCError) {
|
|
23086
23163
|
}
|
|
23087
23164
|
return e;
|
|
@@ -23090,9 +23167,9 @@ function toKnownErr16(e) {
|
|
|
23090
23167
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
23091
23168
|
var resolveHandle_exports = {};
|
|
23092
23169
|
__export(resolveHandle_exports, {
|
|
23093
|
-
toKnownErr: () =>
|
|
23170
|
+
toKnownErr: () => toKnownErr18
|
|
23094
23171
|
});
|
|
23095
|
-
function
|
|
23172
|
+
function toKnownErr18(e) {
|
|
23096
23173
|
if (e instanceof XRPCError) {
|
|
23097
23174
|
}
|
|
23098
23175
|
return e;
|
|
@@ -23101,9 +23178,9 @@ function toKnownErr17(e) {
|
|
|
23101
23178
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
23102
23179
|
var updateHandle_exports = {};
|
|
23103
23180
|
__export(updateHandle_exports, {
|
|
23104
|
-
toKnownErr: () =>
|
|
23181
|
+
toKnownErr: () => toKnownErr19
|
|
23105
23182
|
});
|
|
23106
|
-
function
|
|
23183
|
+
function toKnownErr19(e) {
|
|
23107
23184
|
if (e instanceof XRPCError) {
|
|
23108
23185
|
}
|
|
23109
23186
|
return e;
|
|
@@ -23112,9 +23189,9 @@ function toKnownErr18(e) {
|
|
|
23112
23189
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
23113
23190
|
var queryLabels_exports = {};
|
|
23114
23191
|
__export(queryLabels_exports, {
|
|
23115
|
-
toKnownErr: () =>
|
|
23192
|
+
toKnownErr: () => toKnownErr20
|
|
23116
23193
|
});
|
|
23117
|
-
function
|
|
23194
|
+
function toKnownErr20(e) {
|
|
23118
23195
|
if (e instanceof XRPCError) {
|
|
23119
23196
|
}
|
|
23120
23197
|
return e;
|
|
@@ -23123,9 +23200,9 @@ function toKnownErr19(e) {
|
|
|
23123
23200
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
23124
23201
|
var createReport_exports = {};
|
|
23125
23202
|
__export(createReport_exports, {
|
|
23126
|
-
toKnownErr: () =>
|
|
23203
|
+
toKnownErr: () => toKnownErr21
|
|
23127
23204
|
});
|
|
23128
|
-
function
|
|
23205
|
+
function toKnownErr21(e) {
|
|
23129
23206
|
if (e instanceof XRPCError) {
|
|
23130
23207
|
}
|
|
23131
23208
|
return e;
|
|
@@ -23134,11 +23211,11 @@ function toKnownErr20(e) {
|
|
|
23134
23211
|
// src/client/types/com/atproto/repo/applyWrites.ts
|
|
23135
23212
|
var applyWrites_exports = {};
|
|
23136
23213
|
__export(applyWrites_exports, {
|
|
23137
|
-
InvalidSwapError: () =>
|
|
23214
|
+
InvalidSwapError: () => InvalidSwapError2,
|
|
23138
23215
|
isCreate: () => isCreate,
|
|
23139
23216
|
isDelete: () => isDelete,
|
|
23140
23217
|
isUpdate: () => isUpdate,
|
|
23141
|
-
toKnownErr: () =>
|
|
23218
|
+
toKnownErr: () => toKnownErr22,
|
|
23142
23219
|
validateCreate: () => validateCreate,
|
|
23143
23220
|
validateDelete: () => validateDelete,
|
|
23144
23221
|
validateUpdate: () => validateUpdate
|
|
@@ -23153,15 +23230,15 @@ function hasProp2(data, prop) {
|
|
|
23153
23230
|
}
|
|
23154
23231
|
|
|
23155
23232
|
// src/client/types/com/atproto/repo/applyWrites.ts
|
|
23156
|
-
var
|
|
23233
|
+
var InvalidSwapError2 = class extends XRPCError {
|
|
23157
23234
|
constructor(src2) {
|
|
23158
23235
|
super(src2.status, src2.error, src2.message);
|
|
23159
23236
|
}
|
|
23160
23237
|
};
|
|
23161
|
-
function
|
|
23238
|
+
function toKnownErr22(e) {
|
|
23162
23239
|
if (e instanceof XRPCError) {
|
|
23163
23240
|
if (e.error === "InvalidSwap")
|
|
23164
|
-
return new
|
|
23241
|
+
return new InvalidSwapError2(e);
|
|
23165
23242
|
}
|
|
23166
23243
|
return e;
|
|
23167
23244
|
}
|
|
@@ -23187,18 +23264,18 @@ function validateDelete(v) {
|
|
|
23187
23264
|
// src/client/types/com/atproto/repo/createRecord.ts
|
|
23188
23265
|
var createRecord_exports = {};
|
|
23189
23266
|
__export(createRecord_exports, {
|
|
23190
|
-
InvalidSwapError: () =>
|
|
23191
|
-
toKnownErr: () =>
|
|
23267
|
+
InvalidSwapError: () => InvalidSwapError3,
|
|
23268
|
+
toKnownErr: () => toKnownErr23
|
|
23192
23269
|
});
|
|
23193
|
-
var
|
|
23270
|
+
var InvalidSwapError3 = class extends XRPCError {
|
|
23194
23271
|
constructor(src2) {
|
|
23195
23272
|
super(src2.status, src2.error, src2.message);
|
|
23196
23273
|
}
|
|
23197
23274
|
};
|
|
23198
|
-
function
|
|
23275
|
+
function toKnownErr23(e) {
|
|
23199
23276
|
if (e instanceof XRPCError) {
|
|
23200
23277
|
if (e.error === "InvalidSwap")
|
|
23201
|
-
return new
|
|
23278
|
+
return new InvalidSwapError3(e);
|
|
23202
23279
|
}
|
|
23203
23280
|
return e;
|
|
23204
23281
|
}
|
|
@@ -23206,18 +23283,18 @@ function toKnownErr22(e) {
|
|
|
23206
23283
|
// src/client/types/com/atproto/repo/deleteRecord.ts
|
|
23207
23284
|
var deleteRecord_exports = {};
|
|
23208
23285
|
__export(deleteRecord_exports, {
|
|
23209
|
-
InvalidSwapError: () =>
|
|
23210
|
-
toKnownErr: () =>
|
|
23286
|
+
InvalidSwapError: () => InvalidSwapError4,
|
|
23287
|
+
toKnownErr: () => toKnownErr24
|
|
23211
23288
|
});
|
|
23212
|
-
var
|
|
23289
|
+
var InvalidSwapError4 = class extends XRPCError {
|
|
23213
23290
|
constructor(src2) {
|
|
23214
23291
|
super(src2.status, src2.error, src2.message);
|
|
23215
23292
|
}
|
|
23216
23293
|
};
|
|
23217
|
-
function
|
|
23294
|
+
function toKnownErr24(e) {
|
|
23218
23295
|
if (e instanceof XRPCError) {
|
|
23219
23296
|
if (e.error === "InvalidSwap")
|
|
23220
|
-
return new
|
|
23297
|
+
return new InvalidSwapError4(e);
|
|
23221
23298
|
}
|
|
23222
23299
|
return e;
|
|
23223
23300
|
}
|
|
@@ -23225,9 +23302,9 @@ function toKnownErr23(e) {
|
|
|
23225
23302
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
23226
23303
|
var describeRepo_exports = {};
|
|
23227
23304
|
__export(describeRepo_exports, {
|
|
23228
|
-
toKnownErr: () =>
|
|
23305
|
+
toKnownErr: () => toKnownErr25
|
|
23229
23306
|
});
|
|
23230
|
-
function
|
|
23307
|
+
function toKnownErr25(e) {
|
|
23231
23308
|
if (e instanceof XRPCError) {
|
|
23232
23309
|
}
|
|
23233
23310
|
return e;
|
|
@@ -23236,9 +23313,9 @@ function toKnownErr24(e) {
|
|
|
23236
23313
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
23237
23314
|
var getRecord_exports2 = {};
|
|
23238
23315
|
__export(getRecord_exports2, {
|
|
23239
|
-
toKnownErr: () =>
|
|
23316
|
+
toKnownErr: () => toKnownErr26
|
|
23240
23317
|
});
|
|
23241
|
-
function
|
|
23318
|
+
function toKnownErr26(e) {
|
|
23242
23319
|
if (e instanceof XRPCError) {
|
|
23243
23320
|
}
|
|
23244
23321
|
return e;
|
|
@@ -23248,10 +23325,10 @@ function toKnownErr25(e) {
|
|
|
23248
23325
|
var listRecords_exports = {};
|
|
23249
23326
|
__export(listRecords_exports, {
|
|
23250
23327
|
isRecord: () => isRecord,
|
|
23251
|
-
toKnownErr: () =>
|
|
23328
|
+
toKnownErr: () => toKnownErr27,
|
|
23252
23329
|
validateRecord: () => validateRecord
|
|
23253
23330
|
});
|
|
23254
|
-
function
|
|
23331
|
+
function toKnownErr27(e) {
|
|
23255
23332
|
if (e instanceof XRPCError) {
|
|
23256
23333
|
}
|
|
23257
23334
|
return e;
|
|
@@ -23266,37 +23343,45 @@ function validateRecord(v) {
|
|
|
23266
23343
|
// src/client/types/com/atproto/repo/putRecord.ts
|
|
23267
23344
|
var putRecord_exports = {};
|
|
23268
23345
|
__export(putRecord_exports, {
|
|
23269
|
-
InvalidSwapError: () =>
|
|
23270
|
-
toKnownErr: () =>
|
|
23346
|
+
InvalidSwapError: () => InvalidSwapError5,
|
|
23347
|
+
toKnownErr: () => toKnownErr28
|
|
23271
23348
|
});
|
|
23272
|
-
var
|
|
23349
|
+
var InvalidSwapError5 = class extends XRPCError {
|
|
23273
23350
|
constructor(src2) {
|
|
23274
23351
|
super(src2.status, src2.error, src2.message);
|
|
23275
23352
|
}
|
|
23276
23353
|
};
|
|
23277
|
-
function
|
|
23354
|
+
function toKnownErr28(e) {
|
|
23278
23355
|
if (e instanceof XRPCError) {
|
|
23279
23356
|
if (e.error === "InvalidSwap")
|
|
23280
|
-
return new
|
|
23357
|
+
return new InvalidSwapError5(e);
|
|
23281
23358
|
}
|
|
23282
23359
|
return e;
|
|
23283
23360
|
}
|
|
23284
23361
|
|
|
23285
23362
|
// src/client/types/com/atproto/repo/rebaseRepo.ts
|
|
23286
|
-
var
|
|
23287
|
-
__export(
|
|
23288
|
-
|
|
23289
|
-
|
|
23363
|
+
var rebaseRepo_exports2 = {};
|
|
23364
|
+
__export(rebaseRepo_exports2, {
|
|
23365
|
+
ConcurrentWritesError: () => ConcurrentWritesError2,
|
|
23366
|
+
InvalidSwapError: () => InvalidSwapError6,
|
|
23367
|
+
toKnownErr: () => toKnownErr29
|
|
23290
23368
|
});
|
|
23291
|
-
var
|
|
23369
|
+
var InvalidSwapError6 = class extends XRPCError {
|
|
23292
23370
|
constructor(src2) {
|
|
23293
23371
|
super(src2.status, src2.error, src2.message);
|
|
23294
23372
|
}
|
|
23295
23373
|
};
|
|
23296
|
-
|
|
23374
|
+
var ConcurrentWritesError2 = class extends XRPCError {
|
|
23375
|
+
constructor(src2) {
|
|
23376
|
+
super(src2.status, src2.error, src2.message);
|
|
23377
|
+
}
|
|
23378
|
+
};
|
|
23379
|
+
function toKnownErr29(e) {
|
|
23297
23380
|
if (e instanceof XRPCError) {
|
|
23298
23381
|
if (e.error === "InvalidSwap")
|
|
23299
|
-
return new
|
|
23382
|
+
return new InvalidSwapError6(e);
|
|
23383
|
+
if (e.error === "ConcurrentWrites")
|
|
23384
|
+
return new ConcurrentWritesError2(e);
|
|
23300
23385
|
}
|
|
23301
23386
|
return e;
|
|
23302
23387
|
}
|
|
@@ -23304,9 +23389,9 @@ function toKnownErr28(e) {
|
|
|
23304
23389
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
23305
23390
|
var uploadBlob_exports = {};
|
|
23306
23391
|
__export(uploadBlob_exports, {
|
|
23307
|
-
toKnownErr: () =>
|
|
23392
|
+
toKnownErr: () => toKnownErr30
|
|
23308
23393
|
});
|
|
23309
|
-
function
|
|
23394
|
+
function toKnownErr30(e) {
|
|
23310
23395
|
if (e instanceof XRPCError) {
|
|
23311
23396
|
}
|
|
23312
23397
|
return e;
|
|
@@ -23322,7 +23407,7 @@ __export(createAccount_exports, {
|
|
|
23322
23407
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
23323
23408
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
23324
23409
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
23325
|
-
toKnownErr: () =>
|
|
23410
|
+
toKnownErr: () => toKnownErr31
|
|
23326
23411
|
});
|
|
23327
23412
|
var InvalidHandleError2 = class extends XRPCError {
|
|
23328
23413
|
constructor(src2) {
|
|
@@ -23359,7 +23444,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
23359
23444
|
super(src2.status, src2.error, src2.message);
|
|
23360
23445
|
}
|
|
23361
23446
|
};
|
|
23362
|
-
function
|
|
23447
|
+
function toKnownErr31(e) {
|
|
23363
23448
|
if (e instanceof XRPCError) {
|
|
23364
23449
|
if (e.error === "InvalidHandle")
|
|
23365
23450
|
return new InvalidHandleError2(e);
|
|
@@ -23384,7 +23469,7 @@ var createAppPassword_exports = {};
|
|
|
23384
23469
|
__export(createAppPassword_exports, {
|
|
23385
23470
|
AccountTakedownError: () => AccountTakedownError,
|
|
23386
23471
|
isAppPassword: () => isAppPassword,
|
|
23387
|
-
toKnownErr: () =>
|
|
23472
|
+
toKnownErr: () => toKnownErr32,
|
|
23388
23473
|
validateAppPassword: () => validateAppPassword
|
|
23389
23474
|
});
|
|
23390
23475
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -23392,7 +23477,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
23392
23477
|
super(src2.status, src2.error, src2.message);
|
|
23393
23478
|
}
|
|
23394
23479
|
};
|
|
23395
|
-
function
|
|
23480
|
+
function toKnownErr32(e) {
|
|
23396
23481
|
if (e instanceof XRPCError) {
|
|
23397
23482
|
if (e.error === "AccountTakedown")
|
|
23398
23483
|
return new AccountTakedownError(e);
|
|
@@ -23412,9 +23497,9 @@ function validateAppPassword(v) {
|
|
|
23412
23497
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
23413
23498
|
var createInviteCode_exports = {};
|
|
23414
23499
|
__export(createInviteCode_exports, {
|
|
23415
|
-
toKnownErr: () =>
|
|
23500
|
+
toKnownErr: () => toKnownErr33
|
|
23416
23501
|
});
|
|
23417
|
-
function
|
|
23502
|
+
function toKnownErr33(e) {
|
|
23418
23503
|
if (e instanceof XRPCError) {
|
|
23419
23504
|
}
|
|
23420
23505
|
return e;
|
|
@@ -23424,10 +23509,10 @@ function toKnownErr32(e) {
|
|
|
23424
23509
|
var createInviteCodes_exports = {};
|
|
23425
23510
|
__export(createInviteCodes_exports, {
|
|
23426
23511
|
isAccountCodes: () => isAccountCodes,
|
|
23427
|
-
toKnownErr: () =>
|
|
23512
|
+
toKnownErr: () => toKnownErr34,
|
|
23428
23513
|
validateAccountCodes: () => validateAccountCodes
|
|
23429
23514
|
});
|
|
23430
|
-
function
|
|
23515
|
+
function toKnownErr34(e) {
|
|
23431
23516
|
if (e instanceof XRPCError) {
|
|
23432
23517
|
}
|
|
23433
23518
|
return e;
|
|
@@ -23446,14 +23531,14 @@ function validateAccountCodes(v) {
|
|
|
23446
23531
|
var createSession_exports = {};
|
|
23447
23532
|
__export(createSession_exports, {
|
|
23448
23533
|
AccountTakedownError: () => AccountTakedownError2,
|
|
23449
|
-
toKnownErr: () =>
|
|
23534
|
+
toKnownErr: () => toKnownErr35
|
|
23450
23535
|
});
|
|
23451
23536
|
var AccountTakedownError2 = class extends XRPCError {
|
|
23452
23537
|
constructor(src2) {
|
|
23453
23538
|
super(src2.status, src2.error, src2.message);
|
|
23454
23539
|
}
|
|
23455
23540
|
};
|
|
23456
|
-
function
|
|
23541
|
+
function toKnownErr35(e) {
|
|
23457
23542
|
if (e instanceof XRPCError) {
|
|
23458
23543
|
if (e.error === "AccountTakedown")
|
|
23459
23544
|
return new AccountTakedownError2(e);
|
|
@@ -23466,7 +23551,7 @@ var deleteAccount_exports = {};
|
|
|
23466
23551
|
__export(deleteAccount_exports, {
|
|
23467
23552
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
23468
23553
|
InvalidTokenError: () => InvalidTokenError,
|
|
23469
|
-
toKnownErr: () =>
|
|
23554
|
+
toKnownErr: () => toKnownErr36
|
|
23470
23555
|
});
|
|
23471
23556
|
var ExpiredTokenError = class extends XRPCError {
|
|
23472
23557
|
constructor(src2) {
|
|
@@ -23478,7 +23563,7 @@ var InvalidTokenError = class extends XRPCError {
|
|
|
23478
23563
|
super(src2.status, src2.error, src2.message);
|
|
23479
23564
|
}
|
|
23480
23565
|
};
|
|
23481
|
-
function
|
|
23566
|
+
function toKnownErr36(e) {
|
|
23482
23567
|
if (e instanceof XRPCError) {
|
|
23483
23568
|
if (e.error === "ExpiredToken")
|
|
23484
23569
|
return new ExpiredTokenError(e);
|
|
@@ -23491,9 +23576,9 @@ function toKnownErr35(e) {
|
|
|
23491
23576
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
23492
23577
|
var deleteSession_exports = {};
|
|
23493
23578
|
__export(deleteSession_exports, {
|
|
23494
|
-
toKnownErr: () =>
|
|
23579
|
+
toKnownErr: () => toKnownErr37
|
|
23495
23580
|
});
|
|
23496
|
-
function
|
|
23581
|
+
function toKnownErr37(e) {
|
|
23497
23582
|
if (e instanceof XRPCError) {
|
|
23498
23583
|
}
|
|
23499
23584
|
return e;
|
|
@@ -23503,10 +23588,10 @@ function toKnownErr36(e) {
|
|
|
23503
23588
|
var describeServer_exports = {};
|
|
23504
23589
|
__export(describeServer_exports, {
|
|
23505
23590
|
isLinks: () => isLinks,
|
|
23506
|
-
toKnownErr: () =>
|
|
23591
|
+
toKnownErr: () => toKnownErr38,
|
|
23507
23592
|
validateLinks: () => validateLinks
|
|
23508
23593
|
});
|
|
23509
|
-
function
|
|
23594
|
+
function toKnownErr38(e) {
|
|
23510
23595
|
if (e instanceof XRPCError) {
|
|
23511
23596
|
}
|
|
23512
23597
|
return e;
|
|
@@ -23522,14 +23607,14 @@ function validateLinks(v) {
|
|
|
23522
23607
|
var getAccountInviteCodes_exports = {};
|
|
23523
23608
|
__export(getAccountInviteCodes_exports, {
|
|
23524
23609
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
23525
|
-
toKnownErr: () =>
|
|
23610
|
+
toKnownErr: () => toKnownErr39
|
|
23526
23611
|
});
|
|
23527
23612
|
var DuplicateCreateError = class extends XRPCError {
|
|
23528
23613
|
constructor(src2) {
|
|
23529
23614
|
super(src2.status, src2.error, src2.message);
|
|
23530
23615
|
}
|
|
23531
23616
|
};
|
|
23532
|
-
function
|
|
23617
|
+
function toKnownErr39(e) {
|
|
23533
23618
|
if (e instanceof XRPCError) {
|
|
23534
23619
|
if (e.error === "DuplicateCreate")
|
|
23535
23620
|
return new DuplicateCreateError(e);
|
|
@@ -23540,9 +23625,9 @@ function toKnownErr38(e) {
|
|
|
23540
23625
|
// src/client/types/com/atproto/server/getSession.ts
|
|
23541
23626
|
var getSession_exports = {};
|
|
23542
23627
|
__export(getSession_exports, {
|
|
23543
|
-
toKnownErr: () =>
|
|
23628
|
+
toKnownErr: () => toKnownErr40
|
|
23544
23629
|
});
|
|
23545
|
-
function
|
|
23630
|
+
function toKnownErr40(e) {
|
|
23546
23631
|
if (e instanceof XRPCError) {
|
|
23547
23632
|
}
|
|
23548
23633
|
return e;
|
|
@@ -23553,7 +23638,7 @@ var listAppPasswords_exports = {};
|
|
|
23553
23638
|
__export(listAppPasswords_exports, {
|
|
23554
23639
|
AccountTakedownError: () => AccountTakedownError3,
|
|
23555
23640
|
isAppPassword: () => isAppPassword2,
|
|
23556
|
-
toKnownErr: () =>
|
|
23641
|
+
toKnownErr: () => toKnownErr41,
|
|
23557
23642
|
validateAppPassword: () => validateAppPassword2
|
|
23558
23643
|
});
|
|
23559
23644
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -23561,7 +23646,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
23561
23646
|
super(src2.status, src2.error, src2.message);
|
|
23562
23647
|
}
|
|
23563
23648
|
};
|
|
23564
|
-
function
|
|
23649
|
+
function toKnownErr41(e) {
|
|
23565
23650
|
if (e instanceof XRPCError) {
|
|
23566
23651
|
if (e.error === "AccountTakedown")
|
|
23567
23652
|
return new AccountTakedownError3(e);
|
|
@@ -23579,14 +23664,14 @@ function validateAppPassword2(v) {
|
|
|
23579
23664
|
var refreshSession_exports = {};
|
|
23580
23665
|
__export(refreshSession_exports, {
|
|
23581
23666
|
AccountTakedownError: () => AccountTakedownError4,
|
|
23582
|
-
toKnownErr: () =>
|
|
23667
|
+
toKnownErr: () => toKnownErr42
|
|
23583
23668
|
});
|
|
23584
23669
|
var AccountTakedownError4 = class extends XRPCError {
|
|
23585
23670
|
constructor(src2) {
|
|
23586
23671
|
super(src2.status, src2.error, src2.message);
|
|
23587
23672
|
}
|
|
23588
23673
|
};
|
|
23589
|
-
function
|
|
23674
|
+
function toKnownErr42(e) {
|
|
23590
23675
|
if (e instanceof XRPCError) {
|
|
23591
23676
|
if (e.error === "AccountTakedown")
|
|
23592
23677
|
return new AccountTakedownError4(e);
|
|
@@ -23597,9 +23682,9 @@ function toKnownErr41(e) {
|
|
|
23597
23682
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
23598
23683
|
var requestAccountDelete_exports = {};
|
|
23599
23684
|
__export(requestAccountDelete_exports, {
|
|
23600
|
-
toKnownErr: () =>
|
|
23685
|
+
toKnownErr: () => toKnownErr43
|
|
23601
23686
|
});
|
|
23602
|
-
function
|
|
23687
|
+
function toKnownErr43(e) {
|
|
23603
23688
|
if (e instanceof XRPCError) {
|
|
23604
23689
|
}
|
|
23605
23690
|
return e;
|
|
@@ -23608,9 +23693,9 @@ function toKnownErr42(e) {
|
|
|
23608
23693
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
23609
23694
|
var requestPasswordReset_exports = {};
|
|
23610
23695
|
__export(requestPasswordReset_exports, {
|
|
23611
|
-
toKnownErr: () =>
|
|
23696
|
+
toKnownErr: () => toKnownErr44
|
|
23612
23697
|
});
|
|
23613
|
-
function
|
|
23698
|
+
function toKnownErr44(e) {
|
|
23614
23699
|
if (e instanceof XRPCError) {
|
|
23615
23700
|
}
|
|
23616
23701
|
return e;
|
|
@@ -23621,7 +23706,7 @@ var resetPassword_exports = {};
|
|
|
23621
23706
|
__export(resetPassword_exports, {
|
|
23622
23707
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
23623
23708
|
InvalidTokenError: () => InvalidTokenError2,
|
|
23624
|
-
toKnownErr: () =>
|
|
23709
|
+
toKnownErr: () => toKnownErr45
|
|
23625
23710
|
});
|
|
23626
23711
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
23627
23712
|
constructor(src2) {
|
|
@@ -23633,7 +23718,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
23633
23718
|
super(src2.status, src2.error, src2.message);
|
|
23634
23719
|
}
|
|
23635
23720
|
};
|
|
23636
|
-
function
|
|
23721
|
+
function toKnownErr45(e) {
|
|
23637
23722
|
if (e instanceof XRPCError) {
|
|
23638
23723
|
if (e.error === "ExpiredToken")
|
|
23639
23724
|
return new ExpiredTokenError2(e);
|
|
@@ -23646,9 +23731,9 @@ function toKnownErr44(e) {
|
|
|
23646
23731
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
23647
23732
|
var revokeAppPassword_exports = {};
|
|
23648
23733
|
__export(revokeAppPassword_exports, {
|
|
23649
|
-
toKnownErr: () =>
|
|
23734
|
+
toKnownErr: () => toKnownErr46
|
|
23650
23735
|
});
|
|
23651
|
-
function
|
|
23736
|
+
function toKnownErr46(e) {
|
|
23652
23737
|
if (e instanceof XRPCError) {
|
|
23653
23738
|
}
|
|
23654
23739
|
return e;
|
|
@@ -23657,9 +23742,9 @@ function toKnownErr45(e) {
|
|
|
23657
23742
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
23658
23743
|
var getBlob_exports = {};
|
|
23659
23744
|
__export(getBlob_exports, {
|
|
23660
|
-
toKnownErr: () =>
|
|
23745
|
+
toKnownErr: () => toKnownErr47
|
|
23661
23746
|
});
|
|
23662
|
-
function
|
|
23747
|
+
function toKnownErr47(e) {
|
|
23663
23748
|
if (e instanceof XRPCError) {
|
|
23664
23749
|
}
|
|
23665
23750
|
return e;
|
|
@@ -23668,9 +23753,9 @@ function toKnownErr46(e) {
|
|
|
23668
23753
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
23669
23754
|
var getBlocks_exports = {};
|
|
23670
23755
|
__export(getBlocks_exports, {
|
|
23671
|
-
toKnownErr: () =>
|
|
23756
|
+
toKnownErr: () => toKnownErr48
|
|
23672
23757
|
});
|
|
23673
|
-
function
|
|
23758
|
+
function toKnownErr48(e) {
|
|
23674
23759
|
if (e instanceof XRPCError) {
|
|
23675
23760
|
}
|
|
23676
23761
|
return e;
|
|
@@ -23679,9 +23764,9 @@ function toKnownErr47(e) {
|
|
|
23679
23764
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
23680
23765
|
var getCheckout_exports = {};
|
|
23681
23766
|
__export(getCheckout_exports, {
|
|
23682
|
-
toKnownErr: () =>
|
|
23767
|
+
toKnownErr: () => toKnownErr49
|
|
23683
23768
|
});
|
|
23684
|
-
function
|
|
23769
|
+
function toKnownErr49(e) {
|
|
23685
23770
|
if (e instanceof XRPCError) {
|
|
23686
23771
|
}
|
|
23687
23772
|
return e;
|
|
@@ -23690,9 +23775,9 @@ function toKnownErr48(e) {
|
|
|
23690
23775
|
// src/client/types/com/atproto/sync/getCommitPath.ts
|
|
23691
23776
|
var getCommitPath_exports = {};
|
|
23692
23777
|
__export(getCommitPath_exports, {
|
|
23693
|
-
toKnownErr: () =>
|
|
23778
|
+
toKnownErr: () => toKnownErr50
|
|
23694
23779
|
});
|
|
23695
|
-
function
|
|
23780
|
+
function toKnownErr50(e) {
|
|
23696
23781
|
if (e instanceof XRPCError) {
|
|
23697
23782
|
}
|
|
23698
23783
|
return e;
|
|
@@ -23701,9 +23786,9 @@ function toKnownErr49(e) {
|
|
|
23701
23786
|
// src/client/types/com/atproto/sync/getHead.ts
|
|
23702
23787
|
var getHead_exports = {};
|
|
23703
23788
|
__export(getHead_exports, {
|
|
23704
|
-
toKnownErr: () =>
|
|
23789
|
+
toKnownErr: () => toKnownErr51
|
|
23705
23790
|
});
|
|
23706
|
-
function
|
|
23791
|
+
function toKnownErr51(e) {
|
|
23707
23792
|
if (e instanceof XRPCError) {
|
|
23708
23793
|
}
|
|
23709
23794
|
return e;
|
|
@@ -23712,9 +23797,9 @@ function toKnownErr50(e) {
|
|
|
23712
23797
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
23713
23798
|
var getRecord_exports3 = {};
|
|
23714
23799
|
__export(getRecord_exports3, {
|
|
23715
|
-
toKnownErr: () =>
|
|
23800
|
+
toKnownErr: () => toKnownErr52
|
|
23716
23801
|
});
|
|
23717
|
-
function
|
|
23802
|
+
function toKnownErr52(e) {
|
|
23718
23803
|
if (e instanceof XRPCError) {
|
|
23719
23804
|
}
|
|
23720
23805
|
return e;
|
|
@@ -23723,9 +23808,9 @@ function toKnownErr51(e) {
|
|
|
23723
23808
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
23724
23809
|
var getRepo_exports2 = {};
|
|
23725
23810
|
__export(getRepo_exports2, {
|
|
23726
|
-
toKnownErr: () =>
|
|
23811
|
+
toKnownErr: () => toKnownErr53
|
|
23727
23812
|
});
|
|
23728
|
-
function
|
|
23813
|
+
function toKnownErr53(e) {
|
|
23729
23814
|
if (e instanceof XRPCError) {
|
|
23730
23815
|
}
|
|
23731
23816
|
return e;
|
|
@@ -23734,9 +23819,9 @@ function toKnownErr52(e) {
|
|
|
23734
23819
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
23735
23820
|
var listBlobs_exports = {};
|
|
23736
23821
|
__export(listBlobs_exports, {
|
|
23737
|
-
toKnownErr: () =>
|
|
23822
|
+
toKnownErr: () => toKnownErr54
|
|
23738
23823
|
});
|
|
23739
|
-
function
|
|
23824
|
+
function toKnownErr54(e) {
|
|
23740
23825
|
if (e instanceof XRPCError) {
|
|
23741
23826
|
}
|
|
23742
23827
|
return e;
|
|
@@ -23746,10 +23831,10 @@ function toKnownErr53(e) {
|
|
|
23746
23831
|
var listRepos_exports = {};
|
|
23747
23832
|
__export(listRepos_exports, {
|
|
23748
23833
|
isRepo: () => isRepo,
|
|
23749
|
-
toKnownErr: () =>
|
|
23834
|
+
toKnownErr: () => toKnownErr55,
|
|
23750
23835
|
validateRepo: () => validateRepo
|
|
23751
23836
|
});
|
|
23752
|
-
function
|
|
23837
|
+
function toKnownErr55(e) {
|
|
23753
23838
|
if (e instanceof XRPCError) {
|
|
23754
23839
|
}
|
|
23755
23840
|
return e;
|
|
@@ -23764,9 +23849,9 @@ function validateRepo(v) {
|
|
|
23764
23849
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
23765
23850
|
var notifyOfUpdate_exports = {};
|
|
23766
23851
|
__export(notifyOfUpdate_exports, {
|
|
23767
|
-
toKnownErr: () =>
|
|
23852
|
+
toKnownErr: () => toKnownErr56
|
|
23768
23853
|
});
|
|
23769
|
-
function
|
|
23854
|
+
function toKnownErr56(e) {
|
|
23770
23855
|
if (e instanceof XRPCError) {
|
|
23771
23856
|
}
|
|
23772
23857
|
return e;
|
|
@@ -23775,9 +23860,9 @@ function toKnownErr55(e) {
|
|
|
23775
23860
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
23776
23861
|
var requestCrawl_exports = {};
|
|
23777
23862
|
__export(requestCrawl_exports, {
|
|
23778
|
-
toKnownErr: () =>
|
|
23863
|
+
toKnownErr: () => toKnownErr57
|
|
23779
23864
|
});
|
|
23780
|
-
function
|
|
23865
|
+
function toKnownErr57(e) {
|
|
23781
23866
|
if (e instanceof XRPCError) {
|
|
23782
23867
|
}
|
|
23783
23868
|
return e;
|
|
@@ -23786,9 +23871,9 @@ function toKnownErr56(e) {
|
|
|
23786
23871
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
23787
23872
|
var getPreferences_exports = {};
|
|
23788
23873
|
__export(getPreferences_exports, {
|
|
23789
|
-
toKnownErr: () =>
|
|
23874
|
+
toKnownErr: () => toKnownErr58
|
|
23790
23875
|
});
|
|
23791
|
-
function
|
|
23876
|
+
function toKnownErr58(e) {
|
|
23792
23877
|
if (e instanceof XRPCError) {
|
|
23793
23878
|
}
|
|
23794
23879
|
return e;
|
|
@@ -23797,9 +23882,9 @@ function toKnownErr57(e) {
|
|
|
23797
23882
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
23798
23883
|
var getProfile_exports = {};
|
|
23799
23884
|
__export(getProfile_exports, {
|
|
23800
|
-
toKnownErr: () =>
|
|
23885
|
+
toKnownErr: () => toKnownErr59
|
|
23801
23886
|
});
|
|
23802
|
-
function
|
|
23887
|
+
function toKnownErr59(e) {
|
|
23803
23888
|
if (e instanceof XRPCError) {
|
|
23804
23889
|
}
|
|
23805
23890
|
return e;
|
|
@@ -23808,9 +23893,9 @@ function toKnownErr58(e) {
|
|
|
23808
23893
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
23809
23894
|
var getProfiles_exports = {};
|
|
23810
23895
|
__export(getProfiles_exports, {
|
|
23811
|
-
toKnownErr: () =>
|
|
23896
|
+
toKnownErr: () => toKnownErr60
|
|
23812
23897
|
});
|
|
23813
|
-
function
|
|
23898
|
+
function toKnownErr60(e) {
|
|
23814
23899
|
if (e instanceof XRPCError) {
|
|
23815
23900
|
}
|
|
23816
23901
|
return e;
|
|
@@ -23819,9 +23904,9 @@ function toKnownErr59(e) {
|
|
|
23819
23904
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
23820
23905
|
var getSuggestions_exports = {};
|
|
23821
23906
|
__export(getSuggestions_exports, {
|
|
23822
|
-
toKnownErr: () =>
|
|
23907
|
+
toKnownErr: () => toKnownErr61
|
|
23823
23908
|
});
|
|
23824
|
-
function
|
|
23909
|
+
function toKnownErr61(e) {
|
|
23825
23910
|
if (e instanceof XRPCError) {
|
|
23826
23911
|
}
|
|
23827
23912
|
return e;
|
|
@@ -23830,9 +23915,9 @@ function toKnownErr60(e) {
|
|
|
23830
23915
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
23831
23916
|
var putPreferences_exports = {};
|
|
23832
23917
|
__export(putPreferences_exports, {
|
|
23833
|
-
toKnownErr: () =>
|
|
23918
|
+
toKnownErr: () => toKnownErr62
|
|
23834
23919
|
});
|
|
23835
|
-
function
|
|
23920
|
+
function toKnownErr62(e) {
|
|
23836
23921
|
if (e instanceof XRPCError) {
|
|
23837
23922
|
}
|
|
23838
23923
|
return e;
|
|
@@ -23841,9 +23926,9 @@ function toKnownErr61(e) {
|
|
|
23841
23926
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
23842
23927
|
var searchActors_exports = {};
|
|
23843
23928
|
__export(searchActors_exports, {
|
|
23844
|
-
toKnownErr: () =>
|
|
23929
|
+
toKnownErr: () => toKnownErr63
|
|
23845
23930
|
});
|
|
23846
|
-
function
|
|
23931
|
+
function toKnownErr63(e) {
|
|
23847
23932
|
if (e instanceof XRPCError) {
|
|
23848
23933
|
}
|
|
23849
23934
|
return e;
|
|
@@ -23852,9 +23937,9 @@ function toKnownErr62(e) {
|
|
|
23852
23937
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
23853
23938
|
var searchActorsTypeahead_exports = {};
|
|
23854
23939
|
__export(searchActorsTypeahead_exports, {
|
|
23855
|
-
toKnownErr: () =>
|
|
23940
|
+
toKnownErr: () => toKnownErr64
|
|
23856
23941
|
});
|
|
23857
|
-
function
|
|
23942
|
+
function toKnownErr64(e) {
|
|
23858
23943
|
if (e instanceof XRPCError) {
|
|
23859
23944
|
}
|
|
23860
23945
|
return e;
|
|
@@ -23865,11 +23950,11 @@ var describeFeedGenerator_exports = {};
|
|
|
23865
23950
|
__export(describeFeedGenerator_exports, {
|
|
23866
23951
|
isFeed: () => isFeed,
|
|
23867
23952
|
isLinks: () => isLinks2,
|
|
23868
|
-
toKnownErr: () =>
|
|
23953
|
+
toKnownErr: () => toKnownErr65,
|
|
23869
23954
|
validateFeed: () => validateFeed,
|
|
23870
23955
|
validateLinks: () => validateLinks2
|
|
23871
23956
|
});
|
|
23872
|
-
function
|
|
23957
|
+
function toKnownErr65(e) {
|
|
23873
23958
|
if (e instanceof XRPCError) {
|
|
23874
23959
|
}
|
|
23875
23960
|
return e;
|
|
@@ -23890,9 +23975,9 @@ function validateLinks2(v) {
|
|
|
23890
23975
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
23891
23976
|
var getActorFeeds_exports = {};
|
|
23892
23977
|
__export(getActorFeeds_exports, {
|
|
23893
|
-
toKnownErr: () =>
|
|
23978
|
+
toKnownErr: () => toKnownErr66
|
|
23894
23979
|
});
|
|
23895
|
-
function
|
|
23980
|
+
function toKnownErr66(e) {
|
|
23896
23981
|
if (e instanceof XRPCError) {
|
|
23897
23982
|
}
|
|
23898
23983
|
return e;
|
|
@@ -23903,7 +23988,7 @@ var getAuthorFeed_exports = {};
|
|
|
23903
23988
|
__export(getAuthorFeed_exports, {
|
|
23904
23989
|
BlockedActorError: () => BlockedActorError,
|
|
23905
23990
|
BlockedByActorError: () => BlockedByActorError,
|
|
23906
|
-
toKnownErr: () =>
|
|
23991
|
+
toKnownErr: () => toKnownErr67
|
|
23907
23992
|
});
|
|
23908
23993
|
var BlockedActorError = class extends XRPCError {
|
|
23909
23994
|
constructor(src2) {
|
|
@@ -23915,7 +24000,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
23915
24000
|
super(src2.status, src2.error, src2.message);
|
|
23916
24001
|
}
|
|
23917
24002
|
};
|
|
23918
|
-
function
|
|
24003
|
+
function toKnownErr67(e) {
|
|
23919
24004
|
if (e instanceof XRPCError) {
|
|
23920
24005
|
if (e.error === "BlockedActor")
|
|
23921
24006
|
return new BlockedActorError(e);
|
|
@@ -23929,14 +24014,14 @@ function toKnownErr66(e) {
|
|
|
23929
24014
|
var getFeed_exports = {};
|
|
23930
24015
|
__export(getFeed_exports, {
|
|
23931
24016
|
UnknownFeedError: () => UnknownFeedError,
|
|
23932
|
-
toKnownErr: () =>
|
|
24017
|
+
toKnownErr: () => toKnownErr68
|
|
23933
24018
|
});
|
|
23934
24019
|
var UnknownFeedError = class extends XRPCError {
|
|
23935
24020
|
constructor(src2) {
|
|
23936
24021
|
super(src2.status, src2.error, src2.message);
|
|
23937
24022
|
}
|
|
23938
24023
|
};
|
|
23939
|
-
function
|
|
24024
|
+
function toKnownErr68(e) {
|
|
23940
24025
|
if (e instanceof XRPCError) {
|
|
23941
24026
|
if (e.error === "UnknownFeed")
|
|
23942
24027
|
return new UnknownFeedError(e);
|
|
@@ -23947,9 +24032,9 @@ function toKnownErr67(e) {
|
|
|
23947
24032
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
23948
24033
|
var getFeedGenerator_exports = {};
|
|
23949
24034
|
__export(getFeedGenerator_exports, {
|
|
23950
|
-
toKnownErr: () =>
|
|
24035
|
+
toKnownErr: () => toKnownErr69
|
|
23951
24036
|
});
|
|
23952
|
-
function
|
|
24037
|
+
function toKnownErr69(e) {
|
|
23953
24038
|
if (e instanceof XRPCError) {
|
|
23954
24039
|
}
|
|
23955
24040
|
return e;
|
|
@@ -23958,9 +24043,9 @@ function toKnownErr68(e) {
|
|
|
23958
24043
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
23959
24044
|
var getFeedGenerators_exports = {};
|
|
23960
24045
|
__export(getFeedGenerators_exports, {
|
|
23961
|
-
toKnownErr: () =>
|
|
24046
|
+
toKnownErr: () => toKnownErr70
|
|
23962
24047
|
});
|
|
23963
|
-
function
|
|
24048
|
+
function toKnownErr70(e) {
|
|
23964
24049
|
if (e instanceof XRPCError) {
|
|
23965
24050
|
}
|
|
23966
24051
|
return e;
|
|
@@ -23970,14 +24055,14 @@ function toKnownErr69(e) {
|
|
|
23970
24055
|
var getFeedSkeleton_exports = {};
|
|
23971
24056
|
__export(getFeedSkeleton_exports, {
|
|
23972
24057
|
UnknownFeedError: () => UnknownFeedError2,
|
|
23973
|
-
toKnownErr: () =>
|
|
24058
|
+
toKnownErr: () => toKnownErr71
|
|
23974
24059
|
});
|
|
23975
24060
|
var UnknownFeedError2 = class extends XRPCError {
|
|
23976
24061
|
constructor(src2) {
|
|
23977
24062
|
super(src2.status, src2.error, src2.message);
|
|
23978
24063
|
}
|
|
23979
24064
|
};
|
|
23980
|
-
function
|
|
24065
|
+
function toKnownErr71(e) {
|
|
23981
24066
|
if (e instanceof XRPCError) {
|
|
23982
24067
|
if (e.error === "UnknownFeed")
|
|
23983
24068
|
return new UnknownFeedError2(e);
|
|
@@ -23989,10 +24074,10 @@ function toKnownErr70(e) {
|
|
|
23989
24074
|
var getLikes_exports = {};
|
|
23990
24075
|
__export(getLikes_exports, {
|
|
23991
24076
|
isLike: () => isLike,
|
|
23992
|
-
toKnownErr: () =>
|
|
24077
|
+
toKnownErr: () => toKnownErr72,
|
|
23993
24078
|
validateLike: () => validateLike
|
|
23994
24079
|
});
|
|
23995
|
-
function
|
|
24080
|
+
function toKnownErr72(e) {
|
|
23996
24081
|
if (e instanceof XRPCError) {
|
|
23997
24082
|
}
|
|
23998
24083
|
return e;
|
|
@@ -24008,14 +24093,14 @@ function validateLike(v) {
|
|
|
24008
24093
|
var getPostThread_exports = {};
|
|
24009
24094
|
__export(getPostThread_exports, {
|
|
24010
24095
|
NotFoundError: () => NotFoundError,
|
|
24011
|
-
toKnownErr: () =>
|
|
24096
|
+
toKnownErr: () => toKnownErr73
|
|
24012
24097
|
});
|
|
24013
24098
|
var NotFoundError = class extends XRPCError {
|
|
24014
24099
|
constructor(src2) {
|
|
24015
24100
|
super(src2.status, src2.error, src2.message);
|
|
24016
24101
|
}
|
|
24017
24102
|
};
|
|
24018
|
-
function
|
|
24103
|
+
function toKnownErr73(e) {
|
|
24019
24104
|
if (e instanceof XRPCError) {
|
|
24020
24105
|
if (e.error === "NotFound")
|
|
24021
24106
|
return new NotFoundError(e);
|
|
@@ -24026,9 +24111,9 @@ function toKnownErr72(e) {
|
|
|
24026
24111
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
24027
24112
|
var getPosts_exports = {};
|
|
24028
24113
|
__export(getPosts_exports, {
|
|
24029
|
-
toKnownErr: () =>
|
|
24114
|
+
toKnownErr: () => toKnownErr74
|
|
24030
24115
|
});
|
|
24031
|
-
function
|
|
24116
|
+
function toKnownErr74(e) {
|
|
24032
24117
|
if (e instanceof XRPCError) {
|
|
24033
24118
|
}
|
|
24034
24119
|
return e;
|
|
@@ -24037,9 +24122,9 @@ function toKnownErr73(e) {
|
|
|
24037
24122
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
24038
24123
|
var getRepostedBy_exports = {};
|
|
24039
24124
|
__export(getRepostedBy_exports, {
|
|
24040
|
-
toKnownErr: () =>
|
|
24125
|
+
toKnownErr: () => toKnownErr75
|
|
24041
24126
|
});
|
|
24042
|
-
function
|
|
24127
|
+
function toKnownErr75(e) {
|
|
24043
24128
|
if (e instanceof XRPCError) {
|
|
24044
24129
|
}
|
|
24045
24130
|
return e;
|
|
@@ -24048,9 +24133,9 @@ function toKnownErr74(e) {
|
|
|
24048
24133
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
24049
24134
|
var getTimeline_exports = {};
|
|
24050
24135
|
__export(getTimeline_exports, {
|
|
24051
|
-
toKnownErr: () =>
|
|
24136
|
+
toKnownErr: () => toKnownErr76
|
|
24052
24137
|
});
|
|
24053
|
-
function
|
|
24138
|
+
function toKnownErr76(e) {
|
|
24054
24139
|
if (e instanceof XRPCError) {
|
|
24055
24140
|
}
|
|
24056
24141
|
return e;
|
|
@@ -24059,9 +24144,9 @@ function toKnownErr75(e) {
|
|
|
24059
24144
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
24060
24145
|
var getBlocks_exports2 = {};
|
|
24061
24146
|
__export(getBlocks_exports2, {
|
|
24062
|
-
toKnownErr: () =>
|
|
24147
|
+
toKnownErr: () => toKnownErr77
|
|
24063
24148
|
});
|
|
24064
|
-
function
|
|
24149
|
+
function toKnownErr77(e) {
|
|
24065
24150
|
if (e instanceof XRPCError) {
|
|
24066
24151
|
}
|
|
24067
24152
|
return e;
|
|
@@ -24070,9 +24155,9 @@ function toKnownErr76(e) {
|
|
|
24070
24155
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
24071
24156
|
var getFollowers_exports = {};
|
|
24072
24157
|
__export(getFollowers_exports, {
|
|
24073
|
-
toKnownErr: () =>
|
|
24158
|
+
toKnownErr: () => toKnownErr78
|
|
24074
24159
|
});
|
|
24075
|
-
function
|
|
24160
|
+
function toKnownErr78(e) {
|
|
24076
24161
|
if (e instanceof XRPCError) {
|
|
24077
24162
|
}
|
|
24078
24163
|
return e;
|
|
@@ -24081,9 +24166,9 @@ function toKnownErr77(e) {
|
|
|
24081
24166
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
24082
24167
|
var getFollows_exports = {};
|
|
24083
24168
|
__export(getFollows_exports, {
|
|
24084
|
-
toKnownErr: () =>
|
|
24169
|
+
toKnownErr: () => toKnownErr79
|
|
24085
24170
|
});
|
|
24086
|
-
function
|
|
24171
|
+
function toKnownErr79(e) {
|
|
24087
24172
|
if (e instanceof XRPCError) {
|
|
24088
24173
|
}
|
|
24089
24174
|
return e;
|
|
@@ -24092,9 +24177,9 @@ function toKnownErr78(e) {
|
|
|
24092
24177
|
// src/client/types/app/bsky/graph/getList.ts
|
|
24093
24178
|
var getList_exports = {};
|
|
24094
24179
|
__export(getList_exports, {
|
|
24095
|
-
toKnownErr: () =>
|
|
24180
|
+
toKnownErr: () => toKnownErr80
|
|
24096
24181
|
});
|
|
24097
|
-
function
|
|
24182
|
+
function toKnownErr80(e) {
|
|
24098
24183
|
if (e instanceof XRPCError) {
|
|
24099
24184
|
}
|
|
24100
24185
|
return e;
|
|
@@ -24103,9 +24188,9 @@ function toKnownErr79(e) {
|
|
|
24103
24188
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
24104
24189
|
var getListMutes_exports = {};
|
|
24105
24190
|
__export(getListMutes_exports, {
|
|
24106
|
-
toKnownErr: () =>
|
|
24191
|
+
toKnownErr: () => toKnownErr81
|
|
24107
24192
|
});
|
|
24108
|
-
function
|
|
24193
|
+
function toKnownErr81(e) {
|
|
24109
24194
|
if (e instanceof XRPCError) {
|
|
24110
24195
|
}
|
|
24111
24196
|
return e;
|
|
@@ -24114,9 +24199,9 @@ function toKnownErr80(e) {
|
|
|
24114
24199
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
24115
24200
|
var getLists_exports = {};
|
|
24116
24201
|
__export(getLists_exports, {
|
|
24117
|
-
toKnownErr: () =>
|
|
24202
|
+
toKnownErr: () => toKnownErr82
|
|
24118
24203
|
});
|
|
24119
|
-
function
|
|
24204
|
+
function toKnownErr82(e) {
|
|
24120
24205
|
if (e instanceof XRPCError) {
|
|
24121
24206
|
}
|
|
24122
24207
|
return e;
|
|
@@ -24125,9 +24210,9 @@ function toKnownErr81(e) {
|
|
|
24125
24210
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
24126
24211
|
var getMutes_exports = {};
|
|
24127
24212
|
__export(getMutes_exports, {
|
|
24128
|
-
toKnownErr: () =>
|
|
24213
|
+
toKnownErr: () => toKnownErr83
|
|
24129
24214
|
});
|
|
24130
|
-
function
|
|
24215
|
+
function toKnownErr83(e) {
|
|
24131
24216
|
if (e instanceof XRPCError) {
|
|
24132
24217
|
}
|
|
24133
24218
|
return e;
|
|
@@ -24136,9 +24221,9 @@ function toKnownErr82(e) {
|
|
|
24136
24221
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
24137
24222
|
var muteActor_exports = {};
|
|
24138
24223
|
__export(muteActor_exports, {
|
|
24139
|
-
toKnownErr: () =>
|
|
24224
|
+
toKnownErr: () => toKnownErr84
|
|
24140
24225
|
});
|
|
24141
|
-
function
|
|
24226
|
+
function toKnownErr84(e) {
|
|
24142
24227
|
if (e instanceof XRPCError) {
|
|
24143
24228
|
}
|
|
24144
24229
|
return e;
|
|
@@ -24147,9 +24232,9 @@ function toKnownErr83(e) {
|
|
|
24147
24232
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
24148
24233
|
var muteActorList_exports = {};
|
|
24149
24234
|
__export(muteActorList_exports, {
|
|
24150
|
-
toKnownErr: () =>
|
|
24235
|
+
toKnownErr: () => toKnownErr85
|
|
24151
24236
|
});
|
|
24152
|
-
function
|
|
24237
|
+
function toKnownErr85(e) {
|
|
24153
24238
|
if (e instanceof XRPCError) {
|
|
24154
24239
|
}
|
|
24155
24240
|
return e;
|
|
@@ -24158,9 +24243,9 @@ function toKnownErr84(e) {
|
|
|
24158
24243
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
24159
24244
|
var unmuteActor_exports = {};
|
|
24160
24245
|
__export(unmuteActor_exports, {
|
|
24161
|
-
toKnownErr: () =>
|
|
24246
|
+
toKnownErr: () => toKnownErr86
|
|
24162
24247
|
});
|
|
24163
|
-
function
|
|
24248
|
+
function toKnownErr86(e) {
|
|
24164
24249
|
if (e instanceof XRPCError) {
|
|
24165
24250
|
}
|
|
24166
24251
|
return e;
|
|
@@ -24169,9 +24254,9 @@ function toKnownErr85(e) {
|
|
|
24169
24254
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
24170
24255
|
var unmuteActorList_exports = {};
|
|
24171
24256
|
__export(unmuteActorList_exports, {
|
|
24172
|
-
toKnownErr: () =>
|
|
24257
|
+
toKnownErr: () => toKnownErr87
|
|
24173
24258
|
});
|
|
24174
|
-
function
|
|
24259
|
+
function toKnownErr87(e) {
|
|
24175
24260
|
if (e instanceof XRPCError) {
|
|
24176
24261
|
}
|
|
24177
24262
|
return e;
|
|
@@ -24180,9 +24265,9 @@ function toKnownErr86(e) {
|
|
|
24180
24265
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
24181
24266
|
var getUnreadCount_exports = {};
|
|
24182
24267
|
__export(getUnreadCount_exports, {
|
|
24183
|
-
toKnownErr: () =>
|
|
24268
|
+
toKnownErr: () => toKnownErr88
|
|
24184
24269
|
});
|
|
24185
|
-
function
|
|
24270
|
+
function toKnownErr88(e) {
|
|
24186
24271
|
if (e instanceof XRPCError) {
|
|
24187
24272
|
}
|
|
24188
24273
|
return e;
|
|
@@ -24192,10 +24277,10 @@ function toKnownErr87(e) {
|
|
|
24192
24277
|
var listNotifications_exports = {};
|
|
24193
24278
|
__export(listNotifications_exports, {
|
|
24194
24279
|
isNotification: () => isNotification,
|
|
24195
|
-
toKnownErr: () =>
|
|
24280
|
+
toKnownErr: () => toKnownErr89,
|
|
24196
24281
|
validateNotification: () => validateNotification
|
|
24197
24282
|
});
|
|
24198
|
-
function
|
|
24283
|
+
function toKnownErr89(e) {
|
|
24199
24284
|
if (e instanceof XRPCError) {
|
|
24200
24285
|
}
|
|
24201
24286
|
return e;
|
|
@@ -24213,9 +24298,9 @@ function validateNotification(v) {
|
|
|
24213
24298
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
24214
24299
|
var updateSeen_exports = {};
|
|
24215
24300
|
__export(updateSeen_exports, {
|
|
24216
|
-
toKnownErr: () =>
|
|
24301
|
+
toKnownErr: () => toKnownErr90
|
|
24217
24302
|
});
|
|
24218
|
-
function
|
|
24303
|
+
function toKnownErr90(e) {
|
|
24219
24304
|
if (e instanceof XRPCError) {
|
|
24220
24305
|
}
|
|
24221
24306
|
return e;
|
|
@@ -24224,9 +24309,9 @@ function toKnownErr89(e) {
|
|
|
24224
24309
|
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
24225
24310
|
var getPopular_exports = {};
|
|
24226
24311
|
__export(getPopular_exports, {
|
|
24227
|
-
toKnownErr: () =>
|
|
24312
|
+
toKnownErr: () => toKnownErr91
|
|
24228
24313
|
});
|
|
24229
|
-
function
|
|
24314
|
+
function toKnownErr91(e) {
|
|
24230
24315
|
if (e instanceof XRPCError) {
|
|
24231
24316
|
}
|
|
24232
24317
|
return e;
|
|
@@ -24235,9 +24320,9 @@ function toKnownErr90(e) {
|
|
|
24235
24320
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
24236
24321
|
var getPopularFeedGenerators_exports = {};
|
|
24237
24322
|
__export(getPopularFeedGenerators_exports, {
|
|
24238
|
-
toKnownErr: () =>
|
|
24323
|
+
toKnownErr: () => toKnownErr92
|
|
24239
24324
|
});
|
|
24240
|
-
function
|
|
24325
|
+
function toKnownErr92(e) {
|
|
24241
24326
|
if (e instanceof XRPCError) {
|
|
24242
24327
|
}
|
|
24243
24328
|
return e;
|
|
@@ -25167,34 +25252,39 @@ var AdminNS = class {
|
|
|
25167
25252
|
throw toKnownErr10(e);
|
|
25168
25253
|
});
|
|
25169
25254
|
}
|
|
25255
|
+
rebaseRepo(data, opts) {
|
|
25256
|
+
return this._service.xrpc.call("com.atproto.admin.rebaseRepo", opts?.qp, data, opts).catch((e) => {
|
|
25257
|
+
throw toKnownErr11(e);
|
|
25258
|
+
});
|
|
25259
|
+
}
|
|
25170
25260
|
resolveModerationReports(data, opts) {
|
|
25171
25261
|
return this._service.xrpc.call("com.atproto.admin.resolveModerationReports", opts?.qp, data, opts).catch((e) => {
|
|
25172
|
-
throw
|
|
25262
|
+
throw toKnownErr12(e);
|
|
25173
25263
|
});
|
|
25174
25264
|
}
|
|
25175
25265
|
reverseModerationAction(data, opts) {
|
|
25176
25266
|
return this._service.xrpc.call("com.atproto.admin.reverseModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
25177
|
-
throw
|
|
25267
|
+
throw toKnownErr13(e);
|
|
25178
25268
|
});
|
|
25179
25269
|
}
|
|
25180
25270
|
searchRepos(params2, opts) {
|
|
25181
25271
|
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
25182
|
-
throw
|
|
25272
|
+
throw toKnownErr14(e);
|
|
25183
25273
|
});
|
|
25184
25274
|
}
|
|
25185
25275
|
takeModerationAction(data, opts) {
|
|
25186
25276
|
return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
25187
|
-
throw
|
|
25277
|
+
throw toKnownErr15(e);
|
|
25188
25278
|
});
|
|
25189
25279
|
}
|
|
25190
25280
|
updateAccountEmail(data, opts) {
|
|
25191
25281
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
25192
|
-
throw
|
|
25282
|
+
throw toKnownErr16(e);
|
|
25193
25283
|
});
|
|
25194
25284
|
}
|
|
25195
25285
|
updateAccountHandle(data, opts) {
|
|
25196
25286
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
25197
|
-
throw
|
|
25287
|
+
throw toKnownErr17(e);
|
|
25198
25288
|
});
|
|
25199
25289
|
}
|
|
25200
25290
|
};
|
|
@@ -25204,12 +25294,12 @@ var IdentityNS = class {
|
|
|
25204
25294
|
}
|
|
25205
25295
|
resolveHandle(params2, opts) {
|
|
25206
25296
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
25207
|
-
throw
|
|
25297
|
+
throw toKnownErr18(e);
|
|
25208
25298
|
});
|
|
25209
25299
|
}
|
|
25210
25300
|
updateHandle(data, opts) {
|
|
25211
25301
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
25212
|
-
throw
|
|
25302
|
+
throw toKnownErr19(e);
|
|
25213
25303
|
});
|
|
25214
25304
|
}
|
|
25215
25305
|
};
|
|
@@ -25219,7 +25309,7 @@ var LabelNS = class {
|
|
|
25219
25309
|
}
|
|
25220
25310
|
queryLabels(params2, opts) {
|
|
25221
25311
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
25222
|
-
throw
|
|
25312
|
+
throw toKnownErr20(e);
|
|
25223
25313
|
});
|
|
25224
25314
|
}
|
|
25225
25315
|
};
|
|
@@ -25229,7 +25319,7 @@ var ModerationNS = class {
|
|
|
25229
25319
|
}
|
|
25230
25320
|
createReport(data, opts) {
|
|
25231
25321
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
25232
|
-
throw
|
|
25322
|
+
throw toKnownErr21(e);
|
|
25233
25323
|
});
|
|
25234
25324
|
}
|
|
25235
25325
|
};
|
|
@@ -25239,47 +25329,47 @@ var RepoNS = class {
|
|
|
25239
25329
|
}
|
|
25240
25330
|
applyWrites(data, opts) {
|
|
25241
25331
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
25242
|
-
throw
|
|
25332
|
+
throw toKnownErr22(e);
|
|
25243
25333
|
});
|
|
25244
25334
|
}
|
|
25245
25335
|
createRecord(data, opts) {
|
|
25246
25336
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
25247
|
-
throw
|
|
25337
|
+
throw toKnownErr23(e);
|
|
25248
25338
|
});
|
|
25249
25339
|
}
|
|
25250
25340
|
deleteRecord(data, opts) {
|
|
25251
25341
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
25252
|
-
throw
|
|
25342
|
+
throw toKnownErr24(e);
|
|
25253
25343
|
});
|
|
25254
25344
|
}
|
|
25255
25345
|
describeRepo(params2, opts) {
|
|
25256
25346
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
25257
|
-
throw
|
|
25347
|
+
throw toKnownErr25(e);
|
|
25258
25348
|
});
|
|
25259
25349
|
}
|
|
25260
25350
|
getRecord(params2, opts) {
|
|
25261
25351
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
25262
|
-
throw
|
|
25352
|
+
throw toKnownErr26(e);
|
|
25263
25353
|
});
|
|
25264
25354
|
}
|
|
25265
25355
|
listRecords(params2, opts) {
|
|
25266
25356
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
25267
|
-
throw
|
|
25357
|
+
throw toKnownErr27(e);
|
|
25268
25358
|
});
|
|
25269
25359
|
}
|
|
25270
25360
|
putRecord(data, opts) {
|
|
25271
25361
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
25272
|
-
throw
|
|
25362
|
+
throw toKnownErr28(e);
|
|
25273
25363
|
});
|
|
25274
25364
|
}
|
|
25275
25365
|
rebaseRepo(data, opts) {
|
|
25276
25366
|
return this._service.xrpc.call("com.atproto.repo.rebaseRepo", opts?.qp, data, opts).catch((e) => {
|
|
25277
|
-
throw
|
|
25367
|
+
throw toKnownErr29(e);
|
|
25278
25368
|
});
|
|
25279
25369
|
}
|
|
25280
25370
|
uploadBlob(data, opts) {
|
|
25281
25371
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
25282
|
-
throw
|
|
25372
|
+
throw toKnownErr30(e);
|
|
25283
25373
|
});
|
|
25284
25374
|
}
|
|
25285
25375
|
};
|
|
@@ -25289,82 +25379,82 @@ var ServerNS = class {
|
|
|
25289
25379
|
}
|
|
25290
25380
|
createAccount(data, opts) {
|
|
25291
25381
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
25292
|
-
throw
|
|
25382
|
+
throw toKnownErr31(e);
|
|
25293
25383
|
});
|
|
25294
25384
|
}
|
|
25295
25385
|
createAppPassword(data, opts) {
|
|
25296
25386
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
25297
|
-
throw
|
|
25387
|
+
throw toKnownErr32(e);
|
|
25298
25388
|
});
|
|
25299
25389
|
}
|
|
25300
25390
|
createInviteCode(data, opts) {
|
|
25301
25391
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
25302
|
-
throw
|
|
25392
|
+
throw toKnownErr33(e);
|
|
25303
25393
|
});
|
|
25304
25394
|
}
|
|
25305
25395
|
createInviteCodes(data, opts) {
|
|
25306
25396
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
25307
|
-
throw
|
|
25397
|
+
throw toKnownErr34(e);
|
|
25308
25398
|
});
|
|
25309
25399
|
}
|
|
25310
25400
|
createSession(data, opts) {
|
|
25311
25401
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
25312
|
-
throw
|
|
25402
|
+
throw toKnownErr35(e);
|
|
25313
25403
|
});
|
|
25314
25404
|
}
|
|
25315
25405
|
deleteAccount(data, opts) {
|
|
25316
25406
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
25317
|
-
throw
|
|
25407
|
+
throw toKnownErr36(e);
|
|
25318
25408
|
});
|
|
25319
25409
|
}
|
|
25320
25410
|
deleteSession(data, opts) {
|
|
25321
25411
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
25322
|
-
throw
|
|
25412
|
+
throw toKnownErr37(e);
|
|
25323
25413
|
});
|
|
25324
25414
|
}
|
|
25325
25415
|
describeServer(params2, opts) {
|
|
25326
25416
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
25327
|
-
throw
|
|
25417
|
+
throw toKnownErr38(e);
|
|
25328
25418
|
});
|
|
25329
25419
|
}
|
|
25330
25420
|
getAccountInviteCodes(params2, opts) {
|
|
25331
25421
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
25332
|
-
throw
|
|
25422
|
+
throw toKnownErr39(e);
|
|
25333
25423
|
});
|
|
25334
25424
|
}
|
|
25335
25425
|
getSession(params2, opts) {
|
|
25336
25426
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
25337
|
-
throw
|
|
25427
|
+
throw toKnownErr40(e);
|
|
25338
25428
|
});
|
|
25339
25429
|
}
|
|
25340
25430
|
listAppPasswords(params2, opts) {
|
|
25341
25431
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
25342
|
-
throw
|
|
25432
|
+
throw toKnownErr41(e);
|
|
25343
25433
|
});
|
|
25344
25434
|
}
|
|
25345
25435
|
refreshSession(data, opts) {
|
|
25346
25436
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
25347
|
-
throw
|
|
25437
|
+
throw toKnownErr42(e);
|
|
25348
25438
|
});
|
|
25349
25439
|
}
|
|
25350
25440
|
requestAccountDelete(data, opts) {
|
|
25351
25441
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
25352
|
-
throw
|
|
25442
|
+
throw toKnownErr43(e);
|
|
25353
25443
|
});
|
|
25354
25444
|
}
|
|
25355
25445
|
requestPasswordReset(data, opts) {
|
|
25356
25446
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
25357
|
-
throw
|
|
25447
|
+
throw toKnownErr44(e);
|
|
25358
25448
|
});
|
|
25359
25449
|
}
|
|
25360
25450
|
resetPassword(data, opts) {
|
|
25361
25451
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
25362
|
-
throw
|
|
25452
|
+
throw toKnownErr45(e);
|
|
25363
25453
|
});
|
|
25364
25454
|
}
|
|
25365
25455
|
revokeAppPassword(data, opts) {
|
|
25366
25456
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
25367
|
-
throw
|
|
25457
|
+
throw toKnownErr46(e);
|
|
25368
25458
|
});
|
|
25369
25459
|
}
|
|
25370
25460
|
};
|
|
@@ -25374,57 +25464,57 @@ var SyncNS = class {
|
|
|
25374
25464
|
}
|
|
25375
25465
|
getBlob(params2, opts) {
|
|
25376
25466
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
25377
|
-
throw
|
|
25467
|
+
throw toKnownErr47(e);
|
|
25378
25468
|
});
|
|
25379
25469
|
}
|
|
25380
25470
|
getBlocks(params2, opts) {
|
|
25381
25471
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
25382
|
-
throw
|
|
25472
|
+
throw toKnownErr48(e);
|
|
25383
25473
|
});
|
|
25384
25474
|
}
|
|
25385
25475
|
getCheckout(params2, opts) {
|
|
25386
25476
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
25387
|
-
throw
|
|
25477
|
+
throw toKnownErr49(e);
|
|
25388
25478
|
});
|
|
25389
25479
|
}
|
|
25390
25480
|
getCommitPath(params2, opts) {
|
|
25391
25481
|
return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
|
|
25392
|
-
throw
|
|
25482
|
+
throw toKnownErr50(e);
|
|
25393
25483
|
});
|
|
25394
25484
|
}
|
|
25395
25485
|
getHead(params2, opts) {
|
|
25396
25486
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
25397
|
-
throw
|
|
25487
|
+
throw toKnownErr51(e);
|
|
25398
25488
|
});
|
|
25399
25489
|
}
|
|
25400
25490
|
getRecord(params2, opts) {
|
|
25401
25491
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
25402
|
-
throw
|
|
25492
|
+
throw toKnownErr52(e);
|
|
25403
25493
|
});
|
|
25404
25494
|
}
|
|
25405
25495
|
getRepo(params2, opts) {
|
|
25406
25496
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
25407
|
-
throw
|
|
25497
|
+
throw toKnownErr53(e);
|
|
25408
25498
|
});
|
|
25409
25499
|
}
|
|
25410
25500
|
listBlobs(params2, opts) {
|
|
25411
25501
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
25412
|
-
throw
|
|
25502
|
+
throw toKnownErr54(e);
|
|
25413
25503
|
});
|
|
25414
25504
|
}
|
|
25415
25505
|
listRepos(params2, opts) {
|
|
25416
25506
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
25417
|
-
throw
|
|
25507
|
+
throw toKnownErr55(e);
|
|
25418
25508
|
});
|
|
25419
25509
|
}
|
|
25420
25510
|
notifyOfUpdate(params2, opts) {
|
|
25421
25511
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", params2, void 0, opts).catch((e) => {
|
|
25422
|
-
throw
|
|
25512
|
+
throw toKnownErr56(e);
|
|
25423
25513
|
});
|
|
25424
25514
|
}
|
|
25425
25515
|
requestCrawl(params2, opts) {
|
|
25426
25516
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", params2, void 0, opts).catch((e) => {
|
|
25427
|
-
throw
|
|
25517
|
+
throw toKnownErr57(e);
|
|
25428
25518
|
});
|
|
25429
25519
|
}
|
|
25430
25520
|
};
|
|
@@ -25453,37 +25543,37 @@ var ActorNS = class {
|
|
|
25453
25543
|
}
|
|
25454
25544
|
getPreferences(params2, opts) {
|
|
25455
25545
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
25456
|
-
throw
|
|
25546
|
+
throw toKnownErr58(e);
|
|
25457
25547
|
});
|
|
25458
25548
|
}
|
|
25459
25549
|
getProfile(params2, opts) {
|
|
25460
25550
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
25461
|
-
throw
|
|
25551
|
+
throw toKnownErr59(e);
|
|
25462
25552
|
});
|
|
25463
25553
|
}
|
|
25464
25554
|
getProfiles(params2, opts) {
|
|
25465
25555
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
25466
|
-
throw
|
|
25556
|
+
throw toKnownErr60(e);
|
|
25467
25557
|
});
|
|
25468
25558
|
}
|
|
25469
25559
|
getSuggestions(params2, opts) {
|
|
25470
25560
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
25471
|
-
throw
|
|
25561
|
+
throw toKnownErr61(e);
|
|
25472
25562
|
});
|
|
25473
25563
|
}
|
|
25474
25564
|
putPreferences(data, opts) {
|
|
25475
25565
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
25476
|
-
throw
|
|
25566
|
+
throw toKnownErr62(e);
|
|
25477
25567
|
});
|
|
25478
25568
|
}
|
|
25479
25569
|
searchActors(params2, opts) {
|
|
25480
25570
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
25481
|
-
throw
|
|
25571
|
+
throw toKnownErr63(e);
|
|
25482
25572
|
});
|
|
25483
25573
|
}
|
|
25484
25574
|
searchActorsTypeahead(params2, opts) {
|
|
25485
25575
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
25486
|
-
throw
|
|
25576
|
+
throw toKnownErr64(e);
|
|
25487
25577
|
});
|
|
25488
25578
|
}
|
|
25489
25579
|
};
|
|
@@ -25539,62 +25629,62 @@ var FeedNS = class {
|
|
|
25539
25629
|
}
|
|
25540
25630
|
describeFeedGenerator(params2, opts) {
|
|
25541
25631
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
25542
|
-
throw
|
|
25632
|
+
throw toKnownErr65(e);
|
|
25543
25633
|
});
|
|
25544
25634
|
}
|
|
25545
25635
|
getActorFeeds(params2, opts) {
|
|
25546
25636
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
25547
|
-
throw
|
|
25637
|
+
throw toKnownErr66(e);
|
|
25548
25638
|
});
|
|
25549
25639
|
}
|
|
25550
25640
|
getAuthorFeed(params2, opts) {
|
|
25551
25641
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
25552
|
-
throw
|
|
25642
|
+
throw toKnownErr67(e);
|
|
25553
25643
|
});
|
|
25554
25644
|
}
|
|
25555
25645
|
getFeed(params2, opts) {
|
|
25556
25646
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
25557
|
-
throw
|
|
25647
|
+
throw toKnownErr68(e);
|
|
25558
25648
|
});
|
|
25559
25649
|
}
|
|
25560
25650
|
getFeedGenerator(params2, opts) {
|
|
25561
25651
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
25562
|
-
throw
|
|
25652
|
+
throw toKnownErr69(e);
|
|
25563
25653
|
});
|
|
25564
25654
|
}
|
|
25565
25655
|
getFeedGenerators(params2, opts) {
|
|
25566
25656
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
25567
|
-
throw
|
|
25657
|
+
throw toKnownErr70(e);
|
|
25568
25658
|
});
|
|
25569
25659
|
}
|
|
25570
25660
|
getFeedSkeleton(params2, opts) {
|
|
25571
25661
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
25572
|
-
throw
|
|
25662
|
+
throw toKnownErr71(e);
|
|
25573
25663
|
});
|
|
25574
25664
|
}
|
|
25575
25665
|
getLikes(params2, opts) {
|
|
25576
25666
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
25577
|
-
throw
|
|
25667
|
+
throw toKnownErr72(e);
|
|
25578
25668
|
});
|
|
25579
25669
|
}
|
|
25580
25670
|
getPostThread(params2, opts) {
|
|
25581
25671
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
25582
|
-
throw
|
|
25672
|
+
throw toKnownErr73(e);
|
|
25583
25673
|
});
|
|
25584
25674
|
}
|
|
25585
25675
|
getPosts(params2, opts) {
|
|
25586
25676
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
25587
|
-
throw
|
|
25677
|
+
throw toKnownErr74(e);
|
|
25588
25678
|
});
|
|
25589
25679
|
}
|
|
25590
25680
|
getRepostedBy(params2, opts) {
|
|
25591
25681
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
25592
|
-
throw
|
|
25682
|
+
throw toKnownErr75(e);
|
|
25593
25683
|
});
|
|
25594
25684
|
}
|
|
25595
25685
|
getTimeline(params2, opts) {
|
|
25596
25686
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
25597
|
-
throw
|
|
25687
|
+
throw toKnownErr76(e);
|
|
25598
25688
|
});
|
|
25599
25689
|
}
|
|
25600
25690
|
};
|
|
@@ -25756,57 +25846,57 @@ var GraphNS = class {
|
|
|
25756
25846
|
}
|
|
25757
25847
|
getBlocks(params2, opts) {
|
|
25758
25848
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
25759
|
-
throw
|
|
25849
|
+
throw toKnownErr77(e);
|
|
25760
25850
|
});
|
|
25761
25851
|
}
|
|
25762
25852
|
getFollowers(params2, opts) {
|
|
25763
25853
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
25764
|
-
throw
|
|
25854
|
+
throw toKnownErr78(e);
|
|
25765
25855
|
});
|
|
25766
25856
|
}
|
|
25767
25857
|
getFollows(params2, opts) {
|
|
25768
25858
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
25769
|
-
throw
|
|
25859
|
+
throw toKnownErr79(e);
|
|
25770
25860
|
});
|
|
25771
25861
|
}
|
|
25772
25862
|
getList(params2, opts) {
|
|
25773
25863
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
25774
|
-
throw
|
|
25864
|
+
throw toKnownErr80(e);
|
|
25775
25865
|
});
|
|
25776
25866
|
}
|
|
25777
25867
|
getListMutes(params2, opts) {
|
|
25778
25868
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
25779
|
-
throw
|
|
25869
|
+
throw toKnownErr81(e);
|
|
25780
25870
|
});
|
|
25781
25871
|
}
|
|
25782
25872
|
getLists(params2, opts) {
|
|
25783
25873
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
25784
|
-
throw
|
|
25874
|
+
throw toKnownErr82(e);
|
|
25785
25875
|
});
|
|
25786
25876
|
}
|
|
25787
25877
|
getMutes(params2, opts) {
|
|
25788
25878
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
25789
|
-
throw
|
|
25879
|
+
throw toKnownErr83(e);
|
|
25790
25880
|
});
|
|
25791
25881
|
}
|
|
25792
25882
|
muteActor(data, opts) {
|
|
25793
25883
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
25794
|
-
throw
|
|
25884
|
+
throw toKnownErr84(e);
|
|
25795
25885
|
});
|
|
25796
25886
|
}
|
|
25797
25887
|
muteActorList(data, opts) {
|
|
25798
25888
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25799
|
-
throw
|
|
25889
|
+
throw toKnownErr85(e);
|
|
25800
25890
|
});
|
|
25801
25891
|
}
|
|
25802
25892
|
unmuteActor(data, opts) {
|
|
25803
25893
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
25804
|
-
throw
|
|
25894
|
+
throw toKnownErr86(e);
|
|
25805
25895
|
});
|
|
25806
25896
|
}
|
|
25807
25897
|
unmuteActorList(data, opts) {
|
|
25808
25898
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
25809
|
-
throw
|
|
25899
|
+
throw toKnownErr87(e);
|
|
25810
25900
|
});
|
|
25811
25901
|
}
|
|
25812
25902
|
};
|
|
@@ -25964,17 +26054,17 @@ var NotificationNS = class {
|
|
|
25964
26054
|
}
|
|
25965
26055
|
getUnreadCount(params2, opts) {
|
|
25966
26056
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
25967
|
-
throw
|
|
26057
|
+
throw toKnownErr88(e);
|
|
25968
26058
|
});
|
|
25969
26059
|
}
|
|
25970
26060
|
listNotifications(params2, opts) {
|
|
25971
26061
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
25972
|
-
throw
|
|
26062
|
+
throw toKnownErr89(e);
|
|
25973
26063
|
});
|
|
25974
26064
|
}
|
|
25975
26065
|
updateSeen(data, opts) {
|
|
25976
26066
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
25977
|
-
throw
|
|
26067
|
+
throw toKnownErr90(e);
|
|
25978
26068
|
});
|
|
25979
26069
|
}
|
|
25980
26070
|
};
|
|
@@ -25989,7 +26079,7 @@ var UnspeccedNS = class {
|
|
|
25989
26079
|
}
|
|
25990
26080
|
getPopular(params2, opts) {
|
|
25991
26081
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
25992
|
-
throw
|
|
26082
|
+
throw toKnownErr91(e);
|
|
25993
26083
|
});
|
|
25994
26084
|
}
|
|
25995
26085
|
getPopularFeedGenerators(params2, opts) {
|
|
@@ -25999,7 +26089,7 @@ var UnspeccedNS = class {
|
|
|
25999
26089
|
void 0,
|
|
26000
26090
|
opts
|
|
26001
26091
|
).catch((e) => {
|
|
26002
|
-
throw
|
|
26092
|
+
throw toKnownErr92(e);
|
|
26003
26093
|
});
|
|
26004
26094
|
}
|
|
26005
26095
|
};
|