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