@atproto/api 0.6.21 → 0.6.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/LICENSE.txt +7 -0
- package/README.md +6 -1
- package/dist/client/index.d.ts +9 -0
- package/dist/client/lexicons.d.ts +200 -3
- package/dist/client/types/com/atproto/admin/defs.d.ts +28 -0
- package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts +26 -0
- package/dist/client/types/com/atproto/admin/searchRepos.d.ts +0 -1
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts +32 -0
- package/dist/client/types/com/atproto/server/createAccount.d.ts +3 -3
- package/dist/client/types/com/atproto/server/reserveSigningKey.d.ts +5 -1
- package/dist/index.js +600 -338
- package/dist/index.js.map +3 -3
- package/package.json +7 -7
- package/src/client/index.ts +39 -0
- package/src/client/lexicons.ts +216 -5
- package/src/client/types/com/atproto/admin/defs.ts +61 -0
- package/src/client/types/com/atproto/admin/getAccountInfo.ts +32 -0
- package/src/client/types/com/atproto/admin/getSubjectStatus.ts +44 -0
- package/src/client/types/com/atproto/admin/searchRepos.ts +0 -1
- package/src/client/types/com/atproto/admin/updateSubjectStatus.ts +50 -0
- package/src/client/types/com/atproto/server/createAccount.ts +3 -3
- package/src/client/types/com/atproto/server/reserveSigningKey.ts +6 -1
- package/LICENSE +0 -21
package/dist/index.js
CHANGED
|
@@ -8953,6 +8953,7 @@ __export(src_exports2, {
|
|
|
8953
8953
|
ComAtprotoAdminDisableAccountInvites: () => disableAccountInvites_exports,
|
|
8954
8954
|
ComAtprotoAdminDisableInviteCodes: () => disableInviteCodes_exports,
|
|
8955
8955
|
ComAtprotoAdminEnableAccountInvites: () => enableAccountInvites_exports,
|
|
8956
|
+
ComAtprotoAdminGetAccountInfo: () => getAccountInfo_exports,
|
|
8956
8957
|
ComAtprotoAdminGetInviteCodes: () => getInviteCodes_exports,
|
|
8957
8958
|
ComAtprotoAdminGetModerationAction: () => getModerationAction_exports,
|
|
8958
8959
|
ComAtprotoAdminGetModerationActions: () => getModerationActions_exports,
|
|
@@ -8960,6 +8961,7 @@ __export(src_exports2, {
|
|
|
8960
8961
|
ComAtprotoAdminGetModerationReports: () => getModerationReports_exports,
|
|
8961
8962
|
ComAtprotoAdminGetRecord: () => getRecord_exports,
|
|
8962
8963
|
ComAtprotoAdminGetRepo: () => getRepo_exports,
|
|
8964
|
+
ComAtprotoAdminGetSubjectStatus: () => getSubjectStatus_exports,
|
|
8963
8965
|
ComAtprotoAdminResolveModerationReports: () => resolveModerationReports_exports,
|
|
8964
8966
|
ComAtprotoAdminReverseModerationAction: () => reverseModerationAction_exports,
|
|
8965
8967
|
ComAtprotoAdminSearchRepos: () => searchRepos_exports,
|
|
@@ -8967,6 +8969,7 @@ __export(src_exports2, {
|
|
|
8967
8969
|
ComAtprotoAdminTakeModerationAction: () => takeModerationAction_exports,
|
|
8968
8970
|
ComAtprotoAdminUpdateAccountEmail: () => updateAccountEmail_exports,
|
|
8969
8971
|
ComAtprotoAdminUpdateAccountHandle: () => updateAccountHandle_exports,
|
|
8972
|
+
ComAtprotoAdminUpdateSubjectStatus: () => updateSubjectStatus_exports,
|
|
8970
8973
|
ComAtprotoIdentityResolveHandle: () => resolveHandle_exports,
|
|
8971
8974
|
ComAtprotoIdentityUpdateHandle: () => updateHandle_exports,
|
|
8972
8975
|
ComAtprotoLabelDefs: () => defs_exports2,
|
|
@@ -15103,15 +15106,6 @@ var discriminatedObject = z.object({ $type: z.string() });
|
|
|
15103
15106
|
function isDiscriminatedObject(value) {
|
|
15104
15107
|
return discriminatedObject.safeParse(value).success;
|
|
15105
15108
|
}
|
|
15106
|
-
var LexiconDocMalformedError = class extends Error {
|
|
15107
|
-
constructor(message, schemaDef, issues) {
|
|
15108
|
-
super(message);
|
|
15109
|
-
this.schemaDef = schemaDef;
|
|
15110
|
-
this.issues = issues;
|
|
15111
|
-
this.schemaDef = schemaDef;
|
|
15112
|
-
this.issues = issues;
|
|
15113
|
-
}
|
|
15114
|
-
};
|
|
15115
15109
|
var ValidationError = class extends Error {
|
|
15116
15110
|
};
|
|
15117
15111
|
var InvalidLexiconError = class extends Error {
|
|
@@ -15192,23 +15186,13 @@ var Lexicons = class {
|
|
|
15192
15186
|
}
|
|
15193
15187
|
}
|
|
15194
15188
|
add(doc) {
|
|
15195
|
-
|
|
15196
|
-
lexiconDoc.parse(doc);
|
|
15197
|
-
} catch (e) {
|
|
15198
|
-
if (e instanceof ZodError) {
|
|
15199
|
-
throw new LexiconDocMalformedError(`Failed to parse schema definition ${doc.id}`, doc, e.issues);
|
|
15200
|
-
} else {
|
|
15201
|
-
throw e;
|
|
15202
|
-
}
|
|
15203
|
-
}
|
|
15204
|
-
const validatedDoc = doc;
|
|
15205
|
-
const uri2 = toLexUri(validatedDoc.id);
|
|
15189
|
+
const uri2 = toLexUri(doc.id);
|
|
15206
15190
|
if (this.docs.has(uri2)) {
|
|
15207
15191
|
throw new Error(`${uri2} has already been registered`);
|
|
15208
15192
|
}
|
|
15209
|
-
resolveRefUris(
|
|
15210
|
-
this.docs.set(uri2,
|
|
15211
|
-
for (const [defUri, def2] of iterDefs(
|
|
15193
|
+
resolveRefUris(doc, uri2);
|
|
15194
|
+
this.docs.set(uri2, doc);
|
|
15195
|
+
for (const [defUri, def2] of iterDefs(doc)) {
|
|
15212
15196
|
this.defs.set(defUri, def2);
|
|
15213
15197
|
}
|
|
15214
15198
|
}
|
|
@@ -15691,6 +15675,18 @@ var schemaDict = {
|
|
|
15691
15675
|
lexicon: 1,
|
|
15692
15676
|
id: "com.atproto.admin.defs",
|
|
15693
15677
|
defs: {
|
|
15678
|
+
statusAttr: {
|
|
15679
|
+
type: "object",
|
|
15680
|
+
required: ["applied"],
|
|
15681
|
+
properties: {
|
|
15682
|
+
applied: {
|
|
15683
|
+
type: "boolean"
|
|
15684
|
+
},
|
|
15685
|
+
ref: {
|
|
15686
|
+
type: "string"
|
|
15687
|
+
}
|
|
15688
|
+
}
|
|
15689
|
+
},
|
|
15694
15690
|
actionView: {
|
|
15695
15691
|
type: "object",
|
|
15696
15692
|
required: [
|
|
@@ -16100,6 +16096,44 @@ var schemaDict = {
|
|
|
16100
16096
|
}
|
|
16101
16097
|
}
|
|
16102
16098
|
},
|
|
16099
|
+
accountView: {
|
|
16100
|
+
type: "object",
|
|
16101
|
+
required: ["did", "handle", "indexedAt"],
|
|
16102
|
+
properties: {
|
|
16103
|
+
did: {
|
|
16104
|
+
type: "string",
|
|
16105
|
+
format: "did"
|
|
16106
|
+
},
|
|
16107
|
+
handle: {
|
|
16108
|
+
type: "string",
|
|
16109
|
+
format: "handle"
|
|
16110
|
+
},
|
|
16111
|
+
email: {
|
|
16112
|
+
type: "string"
|
|
16113
|
+
},
|
|
16114
|
+
indexedAt: {
|
|
16115
|
+
type: "string",
|
|
16116
|
+
format: "datetime"
|
|
16117
|
+
},
|
|
16118
|
+
invitedBy: {
|
|
16119
|
+
type: "ref",
|
|
16120
|
+
ref: "lex:com.atproto.server.defs#inviteCode"
|
|
16121
|
+
},
|
|
16122
|
+
invites: {
|
|
16123
|
+
type: "array",
|
|
16124
|
+
items: {
|
|
16125
|
+
type: "ref",
|
|
16126
|
+
ref: "lex:com.atproto.server.defs#inviteCode"
|
|
16127
|
+
}
|
|
16128
|
+
},
|
|
16129
|
+
invitesDisabled: {
|
|
16130
|
+
type: "boolean"
|
|
16131
|
+
},
|
|
16132
|
+
inviteNote: {
|
|
16133
|
+
type: "string"
|
|
16134
|
+
}
|
|
16135
|
+
}
|
|
16136
|
+
},
|
|
16103
16137
|
repoViewNotFound: {
|
|
16104
16138
|
type: "object",
|
|
16105
16139
|
required: ["did"],
|
|
@@ -16120,6 +16154,24 @@ var schemaDict = {
|
|
|
16120
16154
|
}
|
|
16121
16155
|
}
|
|
16122
16156
|
},
|
|
16157
|
+
repoBlobRef: {
|
|
16158
|
+
type: "object",
|
|
16159
|
+
required: ["did", "cid"],
|
|
16160
|
+
properties: {
|
|
16161
|
+
did: {
|
|
16162
|
+
type: "string",
|
|
16163
|
+
format: "did"
|
|
16164
|
+
},
|
|
16165
|
+
cid: {
|
|
16166
|
+
type: "string",
|
|
16167
|
+
format: "cid"
|
|
16168
|
+
},
|
|
16169
|
+
recordUri: {
|
|
16170
|
+
type: "string",
|
|
16171
|
+
format: "at-uri"
|
|
16172
|
+
}
|
|
16173
|
+
}
|
|
16174
|
+
},
|
|
16123
16175
|
recordView: {
|
|
16124
16176
|
type: "object",
|
|
16125
16177
|
required: [
|
|
@@ -16402,6 +16454,33 @@ var schemaDict = {
|
|
|
16402
16454
|
}
|
|
16403
16455
|
}
|
|
16404
16456
|
},
|
|
16457
|
+
ComAtprotoAdminGetAccountInfo: {
|
|
16458
|
+
lexicon: 1,
|
|
16459
|
+
id: "com.atproto.admin.getAccountInfo",
|
|
16460
|
+
defs: {
|
|
16461
|
+
main: {
|
|
16462
|
+
type: "query",
|
|
16463
|
+
description: "View details about an account.",
|
|
16464
|
+
parameters: {
|
|
16465
|
+
type: "params",
|
|
16466
|
+
required: ["did"],
|
|
16467
|
+
properties: {
|
|
16468
|
+
did: {
|
|
16469
|
+
type: "string",
|
|
16470
|
+
format: "did"
|
|
16471
|
+
}
|
|
16472
|
+
}
|
|
16473
|
+
},
|
|
16474
|
+
output: {
|
|
16475
|
+
encoding: "application/json",
|
|
16476
|
+
schema: {
|
|
16477
|
+
type: "ref",
|
|
16478
|
+
ref: "lex:com.atproto.admin.defs#accountView"
|
|
16479
|
+
}
|
|
16480
|
+
}
|
|
16481
|
+
}
|
|
16482
|
+
}
|
|
16483
|
+
},
|
|
16405
16484
|
ComAtprotoAdminGetInviteCodes: {
|
|
16406
16485
|
lexicon: 1,
|
|
16407
16486
|
id: "com.atproto.admin.getInviteCodes",
|
|
@@ -16696,6 +16775,54 @@ var schemaDict = {
|
|
|
16696
16775
|
}
|
|
16697
16776
|
}
|
|
16698
16777
|
},
|
|
16778
|
+
ComAtprotoAdminGetSubjectStatus: {
|
|
16779
|
+
lexicon: 1,
|
|
16780
|
+
id: "com.atproto.admin.getSubjectStatus",
|
|
16781
|
+
defs: {
|
|
16782
|
+
main: {
|
|
16783
|
+
type: "query",
|
|
16784
|
+
description: "Fetch the service-specific the admin status of a subject (account, record, or blob)",
|
|
16785
|
+
parameters: {
|
|
16786
|
+
type: "params",
|
|
16787
|
+
properties: {
|
|
16788
|
+
did: {
|
|
16789
|
+
type: "string",
|
|
16790
|
+
format: "did"
|
|
16791
|
+
},
|
|
16792
|
+
uri: {
|
|
16793
|
+
type: "string",
|
|
16794
|
+
format: "at-uri"
|
|
16795
|
+
},
|
|
16796
|
+
blob: {
|
|
16797
|
+
type: "string",
|
|
16798
|
+
format: "cid"
|
|
16799
|
+
}
|
|
16800
|
+
}
|
|
16801
|
+
},
|
|
16802
|
+
output: {
|
|
16803
|
+
encoding: "application/json",
|
|
16804
|
+
schema: {
|
|
16805
|
+
type: "object",
|
|
16806
|
+
required: ["subject"],
|
|
16807
|
+
properties: {
|
|
16808
|
+
subject: {
|
|
16809
|
+
type: "union",
|
|
16810
|
+
refs: [
|
|
16811
|
+
"lex:com.atproto.admin.defs#repoRef",
|
|
16812
|
+
"lex:com.atproto.repo.strongRef",
|
|
16813
|
+
"lex:com.atproto.admin.defs#repoBlobRef"
|
|
16814
|
+
]
|
|
16815
|
+
},
|
|
16816
|
+
takedown: {
|
|
16817
|
+
type: "ref",
|
|
16818
|
+
ref: "lex:com.atproto.admin.defs#statusAttr"
|
|
16819
|
+
}
|
|
16820
|
+
}
|
|
16821
|
+
}
|
|
16822
|
+
}
|
|
16823
|
+
}
|
|
16824
|
+
}
|
|
16825
|
+
},
|
|
16699
16826
|
ComAtprotoAdminResolveModerationReports: {
|
|
16700
16827
|
lexicon: 1,
|
|
16701
16828
|
id: "com.atproto.admin.resolveModerationReports",
|
|
@@ -16788,9 +16915,6 @@ var schemaDict = {
|
|
|
16788
16915
|
q: {
|
|
16789
16916
|
type: "string"
|
|
16790
16917
|
},
|
|
16791
|
-
invitedBy: {
|
|
16792
|
-
type: "string"
|
|
16793
|
-
},
|
|
16794
16918
|
limit: {
|
|
16795
16919
|
type: "integer",
|
|
16796
16920
|
minimum: 1,
|
|
@@ -16995,6 +17119,58 @@ var schemaDict = {
|
|
|
16995
17119
|
}
|
|
16996
17120
|
}
|
|
16997
17121
|
},
|
|
17122
|
+
ComAtprotoAdminUpdateSubjectStatus: {
|
|
17123
|
+
lexicon: 1,
|
|
17124
|
+
id: "com.atproto.admin.updateSubjectStatus",
|
|
17125
|
+
defs: {
|
|
17126
|
+
main: {
|
|
17127
|
+
type: "procedure",
|
|
17128
|
+
description: "Update the service-specific admin status of a subject (account, record, or blob)",
|
|
17129
|
+
input: {
|
|
17130
|
+
encoding: "application/json",
|
|
17131
|
+
schema: {
|
|
17132
|
+
type: "object",
|
|
17133
|
+
required: ["subject"],
|
|
17134
|
+
properties: {
|
|
17135
|
+
subject: {
|
|
17136
|
+
type: "union",
|
|
17137
|
+
refs: [
|
|
17138
|
+
"lex:com.atproto.admin.defs#repoRef",
|
|
17139
|
+
"lex:com.atproto.repo.strongRef",
|
|
17140
|
+
"lex:com.atproto.admin.defs#repoBlobRef"
|
|
17141
|
+
]
|
|
17142
|
+
},
|
|
17143
|
+
takedown: {
|
|
17144
|
+
type: "ref",
|
|
17145
|
+
ref: "lex:com.atproto.admin.defs#statusAttr"
|
|
17146
|
+
}
|
|
17147
|
+
}
|
|
17148
|
+
}
|
|
17149
|
+
},
|
|
17150
|
+
output: {
|
|
17151
|
+
encoding: "application/json",
|
|
17152
|
+
schema: {
|
|
17153
|
+
type: "object",
|
|
17154
|
+
required: ["subject"],
|
|
17155
|
+
properties: {
|
|
17156
|
+
subject: {
|
|
17157
|
+
type: "union",
|
|
17158
|
+
refs: [
|
|
17159
|
+
"lex:com.atproto.admin.defs#repoRef",
|
|
17160
|
+
"lex:com.atproto.repo.strongRef",
|
|
17161
|
+
"lex:com.atproto.admin.defs#repoBlobRef"
|
|
17162
|
+
]
|
|
17163
|
+
},
|
|
17164
|
+
takedown: {
|
|
17165
|
+
type: "ref",
|
|
17166
|
+
ref: "lex:com.atproto.admin.defs#statusAttr"
|
|
17167
|
+
}
|
|
17168
|
+
}
|
|
17169
|
+
}
|
|
17170
|
+
}
|
|
17171
|
+
}
|
|
17172
|
+
}
|
|
17173
|
+
},
|
|
16998
17174
|
ComAtprotoIdentityResolveHandle: {
|
|
16999
17175
|
lexicon: 1,
|
|
17000
17176
|
id: "com.atproto.identity.resolveHandle",
|
|
@@ -17292,7 +17468,9 @@ var schemaDict = {
|
|
|
17292
17468
|
ref: "lex:com.atproto.moderation.defs#reasonType"
|
|
17293
17469
|
},
|
|
17294
17470
|
reason: {
|
|
17295
|
-
type: "string"
|
|
17471
|
+
type: "string",
|
|
17472
|
+
maxGraphemes: 2e3,
|
|
17473
|
+
maxLength: 2e4
|
|
17296
17474
|
},
|
|
17297
17475
|
subject: {
|
|
17298
17476
|
type: "union",
|
|
@@ -17941,7 +18119,7 @@ var schemaDict = {
|
|
|
17941
18119
|
encoding: "application/json",
|
|
17942
18120
|
schema: {
|
|
17943
18121
|
type: "object",
|
|
17944
|
-
required: ["handle"
|
|
18122
|
+
required: ["handle"],
|
|
17945
18123
|
properties: {
|
|
17946
18124
|
email: {
|
|
17947
18125
|
type: "string"
|
|
@@ -17964,7 +18142,7 @@ var schemaDict = {
|
|
|
17964
18142
|
type: "string"
|
|
17965
18143
|
},
|
|
17966
18144
|
plcOp: {
|
|
17967
|
-
type: "
|
|
18145
|
+
type: "unknown"
|
|
17968
18146
|
}
|
|
17969
18147
|
}
|
|
17970
18148
|
}
|
|
@@ -18619,6 +18797,18 @@ var schemaDict = {
|
|
|
18619
18797
|
main: {
|
|
18620
18798
|
type: "procedure",
|
|
18621
18799
|
description: "Reserve a repo signing key for account creation.",
|
|
18800
|
+
input: {
|
|
18801
|
+
encoding: "application/json",
|
|
18802
|
+
schema: {
|
|
18803
|
+
type: "object",
|
|
18804
|
+
properties: {
|
|
18805
|
+
did: {
|
|
18806
|
+
type: "string",
|
|
18807
|
+
description: "The did to reserve a new did:key for"
|
|
18808
|
+
}
|
|
18809
|
+
}
|
|
18810
|
+
}
|
|
18811
|
+
},
|
|
18622
18812
|
output: {
|
|
18623
18813
|
encoding: "application/json",
|
|
18624
18814
|
schema: {
|
|
@@ -23004,12 +23194,23 @@ function toKnownErr3(e) {
|
|
|
23004
23194
|
return e;
|
|
23005
23195
|
}
|
|
23006
23196
|
|
|
23197
|
+
// src/client/types/com/atproto/admin/getAccountInfo.ts
|
|
23198
|
+
var getAccountInfo_exports = {};
|
|
23199
|
+
__export(getAccountInfo_exports, {
|
|
23200
|
+
toKnownErr: () => toKnownErr4
|
|
23201
|
+
});
|
|
23202
|
+
function toKnownErr4(e) {
|
|
23203
|
+
if (e instanceof XRPCError) {
|
|
23204
|
+
}
|
|
23205
|
+
return e;
|
|
23206
|
+
}
|
|
23207
|
+
|
|
23007
23208
|
// src/client/types/com/atproto/admin/getInviteCodes.ts
|
|
23008
23209
|
var getInviteCodes_exports = {};
|
|
23009
23210
|
__export(getInviteCodes_exports, {
|
|
23010
|
-
toKnownErr: () =>
|
|
23211
|
+
toKnownErr: () => toKnownErr5
|
|
23011
23212
|
});
|
|
23012
|
-
function
|
|
23213
|
+
function toKnownErr5(e) {
|
|
23013
23214
|
if (e instanceof XRPCError) {
|
|
23014
23215
|
}
|
|
23015
23216
|
return e;
|
|
@@ -23018,9 +23219,9 @@ function toKnownErr4(e) {
|
|
|
23018
23219
|
// src/client/types/com/atproto/admin/getModerationAction.ts
|
|
23019
23220
|
var getModerationAction_exports = {};
|
|
23020
23221
|
__export(getModerationAction_exports, {
|
|
23021
|
-
toKnownErr: () =>
|
|
23222
|
+
toKnownErr: () => toKnownErr6
|
|
23022
23223
|
});
|
|
23023
|
-
function
|
|
23224
|
+
function toKnownErr6(e) {
|
|
23024
23225
|
if (e instanceof XRPCError) {
|
|
23025
23226
|
}
|
|
23026
23227
|
return e;
|
|
@@ -23029,9 +23230,9 @@ function toKnownErr5(e) {
|
|
|
23029
23230
|
// src/client/types/com/atproto/admin/getModerationActions.ts
|
|
23030
23231
|
var getModerationActions_exports = {};
|
|
23031
23232
|
__export(getModerationActions_exports, {
|
|
23032
|
-
toKnownErr: () =>
|
|
23233
|
+
toKnownErr: () => toKnownErr7
|
|
23033
23234
|
});
|
|
23034
|
-
function
|
|
23235
|
+
function toKnownErr7(e) {
|
|
23035
23236
|
if (e instanceof XRPCError) {
|
|
23036
23237
|
}
|
|
23037
23238
|
return e;
|
|
@@ -23040,9 +23241,9 @@ function toKnownErr6(e) {
|
|
|
23040
23241
|
// src/client/types/com/atproto/admin/getModerationReport.ts
|
|
23041
23242
|
var getModerationReport_exports = {};
|
|
23042
23243
|
__export(getModerationReport_exports, {
|
|
23043
|
-
toKnownErr: () =>
|
|
23244
|
+
toKnownErr: () => toKnownErr8
|
|
23044
23245
|
});
|
|
23045
|
-
function
|
|
23246
|
+
function toKnownErr8(e) {
|
|
23046
23247
|
if (e instanceof XRPCError) {
|
|
23047
23248
|
}
|
|
23048
23249
|
return e;
|
|
@@ -23051,9 +23252,9 @@ function toKnownErr7(e) {
|
|
|
23051
23252
|
// src/client/types/com/atproto/admin/getModerationReports.ts
|
|
23052
23253
|
var getModerationReports_exports = {};
|
|
23053
23254
|
__export(getModerationReports_exports, {
|
|
23054
|
-
toKnownErr: () =>
|
|
23255
|
+
toKnownErr: () => toKnownErr9
|
|
23055
23256
|
});
|
|
23056
|
-
function
|
|
23257
|
+
function toKnownErr9(e) {
|
|
23057
23258
|
if (e instanceof XRPCError) {
|
|
23058
23259
|
}
|
|
23059
23260
|
return e;
|
|
@@ -23063,14 +23264,14 @@ function toKnownErr8(e) {
|
|
|
23063
23264
|
var getRecord_exports = {};
|
|
23064
23265
|
__export(getRecord_exports, {
|
|
23065
23266
|
RecordNotFoundError: () => RecordNotFoundError,
|
|
23066
|
-
toKnownErr: () =>
|
|
23267
|
+
toKnownErr: () => toKnownErr10
|
|
23067
23268
|
});
|
|
23068
23269
|
var RecordNotFoundError = class extends XRPCError {
|
|
23069
23270
|
constructor(src2) {
|
|
23070
23271
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23071
23272
|
}
|
|
23072
23273
|
};
|
|
23073
|
-
function
|
|
23274
|
+
function toKnownErr10(e) {
|
|
23074
23275
|
if (e instanceof XRPCError) {
|
|
23075
23276
|
if (e.error === "RecordNotFound")
|
|
23076
23277
|
return new RecordNotFoundError(e);
|
|
@@ -23082,14 +23283,14 @@ function toKnownErr9(e) {
|
|
|
23082
23283
|
var getRepo_exports = {};
|
|
23083
23284
|
__export(getRepo_exports, {
|
|
23084
23285
|
RepoNotFoundError: () => RepoNotFoundError,
|
|
23085
|
-
toKnownErr: () =>
|
|
23286
|
+
toKnownErr: () => toKnownErr11
|
|
23086
23287
|
});
|
|
23087
23288
|
var RepoNotFoundError = class extends XRPCError {
|
|
23088
23289
|
constructor(src2) {
|
|
23089
23290
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23090
23291
|
}
|
|
23091
23292
|
};
|
|
23092
|
-
function
|
|
23293
|
+
function toKnownErr11(e) {
|
|
23093
23294
|
if (e instanceof XRPCError) {
|
|
23094
23295
|
if (e.error === "RepoNotFound")
|
|
23095
23296
|
return new RepoNotFoundError(e);
|
|
@@ -23097,12 +23298,23 @@ function toKnownErr10(e) {
|
|
|
23097
23298
|
return e;
|
|
23098
23299
|
}
|
|
23099
23300
|
|
|
23301
|
+
// src/client/types/com/atproto/admin/getSubjectStatus.ts
|
|
23302
|
+
var getSubjectStatus_exports = {};
|
|
23303
|
+
__export(getSubjectStatus_exports, {
|
|
23304
|
+
toKnownErr: () => toKnownErr12
|
|
23305
|
+
});
|
|
23306
|
+
function toKnownErr12(e) {
|
|
23307
|
+
if (e instanceof XRPCError) {
|
|
23308
|
+
}
|
|
23309
|
+
return e;
|
|
23310
|
+
}
|
|
23311
|
+
|
|
23100
23312
|
// src/client/types/com/atproto/admin/resolveModerationReports.ts
|
|
23101
23313
|
var resolveModerationReports_exports = {};
|
|
23102
23314
|
__export(resolveModerationReports_exports, {
|
|
23103
|
-
toKnownErr: () =>
|
|
23315
|
+
toKnownErr: () => toKnownErr13
|
|
23104
23316
|
});
|
|
23105
|
-
function
|
|
23317
|
+
function toKnownErr13(e) {
|
|
23106
23318
|
if (e instanceof XRPCError) {
|
|
23107
23319
|
}
|
|
23108
23320
|
return e;
|
|
@@ -23111,9 +23323,9 @@ function toKnownErr11(e) {
|
|
|
23111
23323
|
// src/client/types/com/atproto/admin/reverseModerationAction.ts
|
|
23112
23324
|
var reverseModerationAction_exports = {};
|
|
23113
23325
|
__export(reverseModerationAction_exports, {
|
|
23114
|
-
toKnownErr: () =>
|
|
23326
|
+
toKnownErr: () => toKnownErr14
|
|
23115
23327
|
});
|
|
23116
|
-
function
|
|
23328
|
+
function toKnownErr14(e) {
|
|
23117
23329
|
if (e instanceof XRPCError) {
|
|
23118
23330
|
}
|
|
23119
23331
|
return e;
|
|
@@ -23122,9 +23334,9 @@ function toKnownErr12(e) {
|
|
|
23122
23334
|
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
23123
23335
|
var searchRepos_exports = {};
|
|
23124
23336
|
__export(searchRepos_exports, {
|
|
23125
|
-
toKnownErr: () =>
|
|
23337
|
+
toKnownErr: () => toKnownErr15
|
|
23126
23338
|
});
|
|
23127
|
-
function
|
|
23339
|
+
function toKnownErr15(e) {
|
|
23128
23340
|
if (e instanceof XRPCError) {
|
|
23129
23341
|
}
|
|
23130
23342
|
return e;
|
|
@@ -23133,9 +23345,9 @@ function toKnownErr13(e) {
|
|
|
23133
23345
|
// src/client/types/com/atproto/admin/sendEmail.ts
|
|
23134
23346
|
var sendEmail_exports = {};
|
|
23135
23347
|
__export(sendEmail_exports, {
|
|
23136
|
-
toKnownErr: () =>
|
|
23348
|
+
toKnownErr: () => toKnownErr16
|
|
23137
23349
|
});
|
|
23138
|
-
function
|
|
23350
|
+
function toKnownErr16(e) {
|
|
23139
23351
|
if (e instanceof XRPCError) {
|
|
23140
23352
|
}
|
|
23141
23353
|
return e;
|
|
@@ -23145,14 +23357,14 @@ function toKnownErr14(e) {
|
|
|
23145
23357
|
var takeModerationAction_exports = {};
|
|
23146
23358
|
__export(takeModerationAction_exports, {
|
|
23147
23359
|
SubjectHasActionError: () => SubjectHasActionError,
|
|
23148
|
-
toKnownErr: () =>
|
|
23360
|
+
toKnownErr: () => toKnownErr17
|
|
23149
23361
|
});
|
|
23150
23362
|
var SubjectHasActionError = class extends XRPCError {
|
|
23151
23363
|
constructor(src2) {
|
|
23152
23364
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23153
23365
|
}
|
|
23154
23366
|
};
|
|
23155
|
-
function
|
|
23367
|
+
function toKnownErr17(e) {
|
|
23156
23368
|
if (e instanceof XRPCError) {
|
|
23157
23369
|
if (e.error === "SubjectHasAction")
|
|
23158
23370
|
return new SubjectHasActionError(e);
|
|
@@ -23163,9 +23375,9 @@ function toKnownErr15(e) {
|
|
|
23163
23375
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
23164
23376
|
var updateAccountEmail_exports = {};
|
|
23165
23377
|
__export(updateAccountEmail_exports, {
|
|
23166
|
-
toKnownErr: () =>
|
|
23378
|
+
toKnownErr: () => toKnownErr18
|
|
23167
23379
|
});
|
|
23168
|
-
function
|
|
23380
|
+
function toKnownErr18(e) {
|
|
23169
23381
|
if (e instanceof XRPCError) {
|
|
23170
23382
|
}
|
|
23171
23383
|
return e;
|
|
@@ -23174,9 +23386,20 @@ function toKnownErr16(e) {
|
|
|
23174
23386
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
23175
23387
|
var updateAccountHandle_exports = {};
|
|
23176
23388
|
__export(updateAccountHandle_exports, {
|
|
23177
|
-
toKnownErr: () =>
|
|
23389
|
+
toKnownErr: () => toKnownErr19
|
|
23178
23390
|
});
|
|
23179
|
-
function
|
|
23391
|
+
function toKnownErr19(e) {
|
|
23392
|
+
if (e instanceof XRPCError) {
|
|
23393
|
+
}
|
|
23394
|
+
return e;
|
|
23395
|
+
}
|
|
23396
|
+
|
|
23397
|
+
// src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
23398
|
+
var updateSubjectStatus_exports = {};
|
|
23399
|
+
__export(updateSubjectStatus_exports, {
|
|
23400
|
+
toKnownErr: () => toKnownErr20
|
|
23401
|
+
});
|
|
23402
|
+
function toKnownErr20(e) {
|
|
23180
23403
|
if (e instanceof XRPCError) {
|
|
23181
23404
|
}
|
|
23182
23405
|
return e;
|
|
@@ -23185,9 +23408,9 @@ function toKnownErr17(e) {
|
|
|
23185
23408
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
23186
23409
|
var resolveHandle_exports = {};
|
|
23187
23410
|
__export(resolveHandle_exports, {
|
|
23188
|
-
toKnownErr: () =>
|
|
23411
|
+
toKnownErr: () => toKnownErr21
|
|
23189
23412
|
});
|
|
23190
|
-
function
|
|
23413
|
+
function toKnownErr21(e) {
|
|
23191
23414
|
if (e instanceof XRPCError) {
|
|
23192
23415
|
}
|
|
23193
23416
|
return e;
|
|
@@ -23196,9 +23419,9 @@ function toKnownErr18(e) {
|
|
|
23196
23419
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
23197
23420
|
var updateHandle_exports = {};
|
|
23198
23421
|
__export(updateHandle_exports, {
|
|
23199
|
-
toKnownErr: () =>
|
|
23422
|
+
toKnownErr: () => toKnownErr22
|
|
23200
23423
|
});
|
|
23201
|
-
function
|
|
23424
|
+
function toKnownErr22(e) {
|
|
23202
23425
|
if (e instanceof XRPCError) {
|
|
23203
23426
|
}
|
|
23204
23427
|
return e;
|
|
@@ -23207,9 +23430,9 @@ function toKnownErr19(e) {
|
|
|
23207
23430
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
23208
23431
|
var queryLabels_exports = {};
|
|
23209
23432
|
__export(queryLabels_exports, {
|
|
23210
|
-
toKnownErr: () =>
|
|
23433
|
+
toKnownErr: () => toKnownErr23
|
|
23211
23434
|
});
|
|
23212
|
-
function
|
|
23435
|
+
function toKnownErr23(e) {
|
|
23213
23436
|
if (e instanceof XRPCError) {
|
|
23214
23437
|
}
|
|
23215
23438
|
return e;
|
|
@@ -23218,9 +23441,9 @@ function toKnownErr20(e) {
|
|
|
23218
23441
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
23219
23442
|
var createReport_exports = {};
|
|
23220
23443
|
__export(createReport_exports, {
|
|
23221
|
-
toKnownErr: () =>
|
|
23444
|
+
toKnownErr: () => toKnownErr24
|
|
23222
23445
|
});
|
|
23223
|
-
function
|
|
23446
|
+
function toKnownErr24(e) {
|
|
23224
23447
|
if (e instanceof XRPCError) {
|
|
23225
23448
|
}
|
|
23226
23449
|
return e;
|
|
@@ -23233,7 +23456,7 @@ __export(applyWrites_exports, {
|
|
|
23233
23456
|
isCreate: () => isCreate,
|
|
23234
23457
|
isDelete: () => isDelete,
|
|
23235
23458
|
isUpdate: () => isUpdate,
|
|
23236
|
-
toKnownErr: () =>
|
|
23459
|
+
toKnownErr: () => toKnownErr25,
|
|
23237
23460
|
validateCreate: () => validateCreate,
|
|
23238
23461
|
validateDelete: () => validateDelete,
|
|
23239
23462
|
validateUpdate: () => validateUpdate
|
|
@@ -23253,7 +23476,7 @@ var InvalidSwapError = class extends XRPCError {
|
|
|
23253
23476
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23254
23477
|
}
|
|
23255
23478
|
};
|
|
23256
|
-
function
|
|
23479
|
+
function toKnownErr25(e) {
|
|
23257
23480
|
if (e instanceof XRPCError) {
|
|
23258
23481
|
if (e.error === "InvalidSwap")
|
|
23259
23482
|
return new InvalidSwapError(e);
|
|
@@ -23283,14 +23506,14 @@ function validateDelete(v) {
|
|
|
23283
23506
|
var createRecord_exports = {};
|
|
23284
23507
|
__export(createRecord_exports, {
|
|
23285
23508
|
InvalidSwapError: () => InvalidSwapError2,
|
|
23286
|
-
toKnownErr: () =>
|
|
23509
|
+
toKnownErr: () => toKnownErr26
|
|
23287
23510
|
});
|
|
23288
23511
|
var InvalidSwapError2 = class extends XRPCError {
|
|
23289
23512
|
constructor(src2) {
|
|
23290
23513
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23291
23514
|
}
|
|
23292
23515
|
};
|
|
23293
|
-
function
|
|
23516
|
+
function toKnownErr26(e) {
|
|
23294
23517
|
if (e instanceof XRPCError) {
|
|
23295
23518
|
if (e.error === "InvalidSwap")
|
|
23296
23519
|
return new InvalidSwapError2(e);
|
|
@@ -23302,14 +23525,14 @@ function toKnownErr23(e) {
|
|
|
23302
23525
|
var deleteRecord_exports = {};
|
|
23303
23526
|
__export(deleteRecord_exports, {
|
|
23304
23527
|
InvalidSwapError: () => InvalidSwapError3,
|
|
23305
|
-
toKnownErr: () =>
|
|
23528
|
+
toKnownErr: () => toKnownErr27
|
|
23306
23529
|
});
|
|
23307
23530
|
var InvalidSwapError3 = class extends XRPCError {
|
|
23308
23531
|
constructor(src2) {
|
|
23309
23532
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23310
23533
|
}
|
|
23311
23534
|
};
|
|
23312
|
-
function
|
|
23535
|
+
function toKnownErr27(e) {
|
|
23313
23536
|
if (e instanceof XRPCError) {
|
|
23314
23537
|
if (e.error === "InvalidSwap")
|
|
23315
23538
|
return new InvalidSwapError3(e);
|
|
@@ -23320,9 +23543,9 @@ function toKnownErr24(e) {
|
|
|
23320
23543
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
23321
23544
|
var describeRepo_exports = {};
|
|
23322
23545
|
__export(describeRepo_exports, {
|
|
23323
|
-
toKnownErr: () =>
|
|
23546
|
+
toKnownErr: () => toKnownErr28
|
|
23324
23547
|
});
|
|
23325
|
-
function
|
|
23548
|
+
function toKnownErr28(e) {
|
|
23326
23549
|
if (e instanceof XRPCError) {
|
|
23327
23550
|
}
|
|
23328
23551
|
return e;
|
|
@@ -23331,9 +23554,9 @@ function toKnownErr25(e) {
|
|
|
23331
23554
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
23332
23555
|
var getRecord_exports2 = {};
|
|
23333
23556
|
__export(getRecord_exports2, {
|
|
23334
|
-
toKnownErr: () =>
|
|
23557
|
+
toKnownErr: () => toKnownErr29
|
|
23335
23558
|
});
|
|
23336
|
-
function
|
|
23559
|
+
function toKnownErr29(e) {
|
|
23337
23560
|
if (e instanceof XRPCError) {
|
|
23338
23561
|
}
|
|
23339
23562
|
return e;
|
|
@@ -23343,10 +23566,10 @@ function toKnownErr26(e) {
|
|
|
23343
23566
|
var listRecords_exports = {};
|
|
23344
23567
|
__export(listRecords_exports, {
|
|
23345
23568
|
isRecord: () => isRecord,
|
|
23346
|
-
toKnownErr: () =>
|
|
23569
|
+
toKnownErr: () => toKnownErr30,
|
|
23347
23570
|
validateRecord: () => validateRecord
|
|
23348
23571
|
});
|
|
23349
|
-
function
|
|
23572
|
+
function toKnownErr30(e) {
|
|
23350
23573
|
if (e instanceof XRPCError) {
|
|
23351
23574
|
}
|
|
23352
23575
|
return e;
|
|
@@ -23362,14 +23585,14 @@ function validateRecord(v) {
|
|
|
23362
23585
|
var putRecord_exports = {};
|
|
23363
23586
|
__export(putRecord_exports, {
|
|
23364
23587
|
InvalidSwapError: () => InvalidSwapError4,
|
|
23365
|
-
toKnownErr: () =>
|
|
23588
|
+
toKnownErr: () => toKnownErr31
|
|
23366
23589
|
});
|
|
23367
23590
|
var InvalidSwapError4 = class extends XRPCError {
|
|
23368
23591
|
constructor(src2) {
|
|
23369
23592
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23370
23593
|
}
|
|
23371
23594
|
};
|
|
23372
|
-
function
|
|
23595
|
+
function toKnownErr31(e) {
|
|
23373
23596
|
if (e instanceof XRPCError) {
|
|
23374
23597
|
if (e.error === "InvalidSwap")
|
|
23375
23598
|
return new InvalidSwapError4(e);
|
|
@@ -23380,9 +23603,9 @@ function toKnownErr28(e) {
|
|
|
23380
23603
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
23381
23604
|
var uploadBlob_exports = {};
|
|
23382
23605
|
__export(uploadBlob_exports, {
|
|
23383
|
-
toKnownErr: () =>
|
|
23606
|
+
toKnownErr: () => toKnownErr32
|
|
23384
23607
|
});
|
|
23385
|
-
function
|
|
23608
|
+
function toKnownErr32(e) {
|
|
23386
23609
|
if (e instanceof XRPCError) {
|
|
23387
23610
|
}
|
|
23388
23611
|
return e;
|
|
@@ -23395,7 +23618,7 @@ __export(confirmEmail_exports, {
|
|
|
23395
23618
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
23396
23619
|
InvalidEmailError: () => InvalidEmailError,
|
|
23397
23620
|
InvalidTokenError: () => InvalidTokenError,
|
|
23398
|
-
toKnownErr: () =>
|
|
23621
|
+
toKnownErr: () => toKnownErr33
|
|
23399
23622
|
});
|
|
23400
23623
|
var AccountNotFoundError = class extends XRPCError {
|
|
23401
23624
|
constructor(src2) {
|
|
@@ -23417,7 +23640,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
23417
23640
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23418
23641
|
}
|
|
23419
23642
|
};
|
|
23420
|
-
function
|
|
23643
|
+
function toKnownErr33(e) {
|
|
23421
23644
|
if (e instanceof XRPCError) {
|
|
23422
23645
|
if (e.error === "AccountNotFound")
|
|
23423
23646
|
return new AccountNotFoundError(e);
|
|
@@ -23441,7 +23664,7 @@ __export(createAccount_exports, {
|
|
|
23441
23664
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
23442
23665
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
23443
23666
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
23444
|
-
toKnownErr: () =>
|
|
23667
|
+
toKnownErr: () => toKnownErr34
|
|
23445
23668
|
});
|
|
23446
23669
|
var InvalidHandleError2 = class extends XRPCError {
|
|
23447
23670
|
constructor(src2) {
|
|
@@ -23478,7 +23701,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
23478
23701
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23479
23702
|
}
|
|
23480
23703
|
};
|
|
23481
|
-
function
|
|
23704
|
+
function toKnownErr34(e) {
|
|
23482
23705
|
if (e instanceof XRPCError) {
|
|
23483
23706
|
if (e.error === "InvalidHandle")
|
|
23484
23707
|
return new InvalidHandleError2(e);
|
|
@@ -23503,7 +23726,7 @@ var createAppPassword_exports = {};
|
|
|
23503
23726
|
__export(createAppPassword_exports, {
|
|
23504
23727
|
AccountTakedownError: () => AccountTakedownError,
|
|
23505
23728
|
isAppPassword: () => isAppPassword,
|
|
23506
|
-
toKnownErr: () =>
|
|
23729
|
+
toKnownErr: () => toKnownErr35,
|
|
23507
23730
|
validateAppPassword: () => validateAppPassword
|
|
23508
23731
|
});
|
|
23509
23732
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -23511,7 +23734,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
23511
23734
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23512
23735
|
}
|
|
23513
23736
|
};
|
|
23514
|
-
function
|
|
23737
|
+
function toKnownErr35(e) {
|
|
23515
23738
|
if (e instanceof XRPCError) {
|
|
23516
23739
|
if (e.error === "AccountTakedown")
|
|
23517
23740
|
return new AccountTakedownError(e);
|
|
@@ -23528,9 +23751,9 @@ function validateAppPassword(v) {
|
|
|
23528
23751
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
23529
23752
|
var createInviteCode_exports = {};
|
|
23530
23753
|
__export(createInviteCode_exports, {
|
|
23531
|
-
toKnownErr: () =>
|
|
23754
|
+
toKnownErr: () => toKnownErr36
|
|
23532
23755
|
});
|
|
23533
|
-
function
|
|
23756
|
+
function toKnownErr36(e) {
|
|
23534
23757
|
if (e instanceof XRPCError) {
|
|
23535
23758
|
}
|
|
23536
23759
|
return e;
|
|
@@ -23540,10 +23763,10 @@ function toKnownErr33(e) {
|
|
|
23540
23763
|
var createInviteCodes_exports = {};
|
|
23541
23764
|
__export(createInviteCodes_exports, {
|
|
23542
23765
|
isAccountCodes: () => isAccountCodes,
|
|
23543
|
-
toKnownErr: () =>
|
|
23766
|
+
toKnownErr: () => toKnownErr37,
|
|
23544
23767
|
validateAccountCodes: () => validateAccountCodes
|
|
23545
23768
|
});
|
|
23546
|
-
function
|
|
23769
|
+
function toKnownErr37(e) {
|
|
23547
23770
|
if (e instanceof XRPCError) {
|
|
23548
23771
|
}
|
|
23549
23772
|
return e;
|
|
@@ -23559,14 +23782,14 @@ function validateAccountCodes(v) {
|
|
|
23559
23782
|
var createSession_exports = {};
|
|
23560
23783
|
__export(createSession_exports, {
|
|
23561
23784
|
AccountTakedownError: () => AccountTakedownError2,
|
|
23562
|
-
toKnownErr: () =>
|
|
23785
|
+
toKnownErr: () => toKnownErr38
|
|
23563
23786
|
});
|
|
23564
23787
|
var AccountTakedownError2 = class extends XRPCError {
|
|
23565
23788
|
constructor(src2) {
|
|
23566
23789
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23567
23790
|
}
|
|
23568
23791
|
};
|
|
23569
|
-
function
|
|
23792
|
+
function toKnownErr38(e) {
|
|
23570
23793
|
if (e instanceof XRPCError) {
|
|
23571
23794
|
if (e.error === "AccountTakedown")
|
|
23572
23795
|
return new AccountTakedownError2(e);
|
|
@@ -23579,7 +23802,7 @@ var deleteAccount_exports = {};
|
|
|
23579
23802
|
__export(deleteAccount_exports, {
|
|
23580
23803
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
23581
23804
|
InvalidTokenError: () => InvalidTokenError2,
|
|
23582
|
-
toKnownErr: () =>
|
|
23805
|
+
toKnownErr: () => toKnownErr39
|
|
23583
23806
|
});
|
|
23584
23807
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
23585
23808
|
constructor(src2) {
|
|
@@ -23591,7 +23814,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
23591
23814
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23592
23815
|
}
|
|
23593
23816
|
};
|
|
23594
|
-
function
|
|
23817
|
+
function toKnownErr39(e) {
|
|
23595
23818
|
if (e instanceof XRPCError) {
|
|
23596
23819
|
if (e.error === "ExpiredToken")
|
|
23597
23820
|
return new ExpiredTokenError2(e);
|
|
@@ -23604,9 +23827,9 @@ function toKnownErr36(e) {
|
|
|
23604
23827
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
23605
23828
|
var deleteSession_exports = {};
|
|
23606
23829
|
__export(deleteSession_exports, {
|
|
23607
|
-
toKnownErr: () =>
|
|
23830
|
+
toKnownErr: () => toKnownErr40
|
|
23608
23831
|
});
|
|
23609
|
-
function
|
|
23832
|
+
function toKnownErr40(e) {
|
|
23610
23833
|
if (e instanceof XRPCError) {
|
|
23611
23834
|
}
|
|
23612
23835
|
return e;
|
|
@@ -23616,10 +23839,10 @@ function toKnownErr37(e) {
|
|
|
23616
23839
|
var describeServer_exports = {};
|
|
23617
23840
|
__export(describeServer_exports, {
|
|
23618
23841
|
isLinks: () => isLinks,
|
|
23619
|
-
toKnownErr: () =>
|
|
23842
|
+
toKnownErr: () => toKnownErr41,
|
|
23620
23843
|
validateLinks: () => validateLinks
|
|
23621
23844
|
});
|
|
23622
|
-
function
|
|
23845
|
+
function toKnownErr41(e) {
|
|
23623
23846
|
if (e instanceof XRPCError) {
|
|
23624
23847
|
}
|
|
23625
23848
|
return e;
|
|
@@ -23635,14 +23858,14 @@ function validateLinks(v) {
|
|
|
23635
23858
|
var getAccountInviteCodes_exports = {};
|
|
23636
23859
|
__export(getAccountInviteCodes_exports, {
|
|
23637
23860
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
23638
|
-
toKnownErr: () =>
|
|
23861
|
+
toKnownErr: () => toKnownErr42
|
|
23639
23862
|
});
|
|
23640
23863
|
var DuplicateCreateError = class extends XRPCError {
|
|
23641
23864
|
constructor(src2) {
|
|
23642
23865
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23643
23866
|
}
|
|
23644
23867
|
};
|
|
23645
|
-
function
|
|
23868
|
+
function toKnownErr42(e) {
|
|
23646
23869
|
if (e instanceof XRPCError) {
|
|
23647
23870
|
if (e.error === "DuplicateCreate")
|
|
23648
23871
|
return new DuplicateCreateError(e);
|
|
@@ -23653,9 +23876,9 @@ function toKnownErr39(e) {
|
|
|
23653
23876
|
// src/client/types/com/atproto/server/getSession.ts
|
|
23654
23877
|
var getSession_exports = {};
|
|
23655
23878
|
__export(getSession_exports, {
|
|
23656
|
-
toKnownErr: () =>
|
|
23879
|
+
toKnownErr: () => toKnownErr43
|
|
23657
23880
|
});
|
|
23658
|
-
function
|
|
23881
|
+
function toKnownErr43(e) {
|
|
23659
23882
|
if (e instanceof XRPCError) {
|
|
23660
23883
|
}
|
|
23661
23884
|
return e;
|
|
@@ -23666,7 +23889,7 @@ var listAppPasswords_exports = {};
|
|
|
23666
23889
|
__export(listAppPasswords_exports, {
|
|
23667
23890
|
AccountTakedownError: () => AccountTakedownError3,
|
|
23668
23891
|
isAppPassword: () => isAppPassword2,
|
|
23669
|
-
toKnownErr: () =>
|
|
23892
|
+
toKnownErr: () => toKnownErr44,
|
|
23670
23893
|
validateAppPassword: () => validateAppPassword2
|
|
23671
23894
|
});
|
|
23672
23895
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -23674,7 +23897,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
23674
23897
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23675
23898
|
}
|
|
23676
23899
|
};
|
|
23677
|
-
function
|
|
23900
|
+
function toKnownErr44(e) {
|
|
23678
23901
|
if (e instanceof XRPCError) {
|
|
23679
23902
|
if (e.error === "AccountTakedown")
|
|
23680
23903
|
return new AccountTakedownError3(e);
|
|
@@ -23692,14 +23915,14 @@ function validateAppPassword2(v) {
|
|
|
23692
23915
|
var refreshSession_exports = {};
|
|
23693
23916
|
__export(refreshSession_exports, {
|
|
23694
23917
|
AccountTakedownError: () => AccountTakedownError4,
|
|
23695
|
-
toKnownErr: () =>
|
|
23918
|
+
toKnownErr: () => toKnownErr45
|
|
23696
23919
|
});
|
|
23697
23920
|
var AccountTakedownError4 = class extends XRPCError {
|
|
23698
23921
|
constructor(src2) {
|
|
23699
23922
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23700
23923
|
}
|
|
23701
23924
|
};
|
|
23702
|
-
function
|
|
23925
|
+
function toKnownErr45(e) {
|
|
23703
23926
|
if (e instanceof XRPCError) {
|
|
23704
23927
|
if (e.error === "AccountTakedown")
|
|
23705
23928
|
return new AccountTakedownError4(e);
|
|
@@ -23710,9 +23933,9 @@ function toKnownErr42(e) {
|
|
|
23710
23933
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
23711
23934
|
var requestAccountDelete_exports = {};
|
|
23712
23935
|
__export(requestAccountDelete_exports, {
|
|
23713
|
-
toKnownErr: () =>
|
|
23936
|
+
toKnownErr: () => toKnownErr46
|
|
23714
23937
|
});
|
|
23715
|
-
function
|
|
23938
|
+
function toKnownErr46(e) {
|
|
23716
23939
|
if (e instanceof XRPCError) {
|
|
23717
23940
|
}
|
|
23718
23941
|
return e;
|
|
@@ -23721,9 +23944,9 @@ function toKnownErr43(e) {
|
|
|
23721
23944
|
// src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
23722
23945
|
var requestEmailConfirmation_exports = {};
|
|
23723
23946
|
__export(requestEmailConfirmation_exports, {
|
|
23724
|
-
toKnownErr: () =>
|
|
23947
|
+
toKnownErr: () => toKnownErr47
|
|
23725
23948
|
});
|
|
23726
|
-
function
|
|
23949
|
+
function toKnownErr47(e) {
|
|
23727
23950
|
if (e instanceof XRPCError) {
|
|
23728
23951
|
}
|
|
23729
23952
|
return e;
|
|
@@ -23732,9 +23955,9 @@ function toKnownErr44(e) {
|
|
|
23732
23955
|
// src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
23733
23956
|
var requestEmailUpdate_exports = {};
|
|
23734
23957
|
__export(requestEmailUpdate_exports, {
|
|
23735
|
-
toKnownErr: () =>
|
|
23958
|
+
toKnownErr: () => toKnownErr48
|
|
23736
23959
|
});
|
|
23737
|
-
function
|
|
23960
|
+
function toKnownErr48(e) {
|
|
23738
23961
|
if (e instanceof XRPCError) {
|
|
23739
23962
|
}
|
|
23740
23963
|
return e;
|
|
@@ -23743,9 +23966,9 @@ function toKnownErr45(e) {
|
|
|
23743
23966
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
23744
23967
|
var requestPasswordReset_exports = {};
|
|
23745
23968
|
__export(requestPasswordReset_exports, {
|
|
23746
|
-
toKnownErr: () =>
|
|
23969
|
+
toKnownErr: () => toKnownErr49
|
|
23747
23970
|
});
|
|
23748
|
-
function
|
|
23971
|
+
function toKnownErr49(e) {
|
|
23749
23972
|
if (e instanceof XRPCError) {
|
|
23750
23973
|
}
|
|
23751
23974
|
return e;
|
|
@@ -23754,9 +23977,9 @@ function toKnownErr46(e) {
|
|
|
23754
23977
|
// src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
23755
23978
|
var reserveSigningKey_exports = {};
|
|
23756
23979
|
__export(reserveSigningKey_exports, {
|
|
23757
|
-
toKnownErr: () =>
|
|
23980
|
+
toKnownErr: () => toKnownErr50
|
|
23758
23981
|
});
|
|
23759
|
-
function
|
|
23982
|
+
function toKnownErr50(e) {
|
|
23760
23983
|
if (e instanceof XRPCError) {
|
|
23761
23984
|
}
|
|
23762
23985
|
return e;
|
|
@@ -23767,7 +23990,7 @@ var resetPassword_exports = {};
|
|
|
23767
23990
|
__export(resetPassword_exports, {
|
|
23768
23991
|
ExpiredTokenError: () => ExpiredTokenError3,
|
|
23769
23992
|
InvalidTokenError: () => InvalidTokenError3,
|
|
23770
|
-
toKnownErr: () =>
|
|
23993
|
+
toKnownErr: () => toKnownErr51
|
|
23771
23994
|
});
|
|
23772
23995
|
var ExpiredTokenError3 = class extends XRPCError {
|
|
23773
23996
|
constructor(src2) {
|
|
@@ -23779,7 +24002,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
23779
24002
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23780
24003
|
}
|
|
23781
24004
|
};
|
|
23782
|
-
function
|
|
24005
|
+
function toKnownErr51(e) {
|
|
23783
24006
|
if (e instanceof XRPCError) {
|
|
23784
24007
|
if (e.error === "ExpiredToken")
|
|
23785
24008
|
return new ExpiredTokenError3(e);
|
|
@@ -23792,9 +24015,9 @@ function toKnownErr48(e) {
|
|
|
23792
24015
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
23793
24016
|
var revokeAppPassword_exports = {};
|
|
23794
24017
|
__export(revokeAppPassword_exports, {
|
|
23795
|
-
toKnownErr: () =>
|
|
24018
|
+
toKnownErr: () => toKnownErr52
|
|
23796
24019
|
});
|
|
23797
|
-
function
|
|
24020
|
+
function toKnownErr52(e) {
|
|
23798
24021
|
if (e instanceof XRPCError) {
|
|
23799
24022
|
}
|
|
23800
24023
|
return e;
|
|
@@ -23806,7 +24029,7 @@ __export(updateEmail_exports, {
|
|
|
23806
24029
|
ExpiredTokenError: () => ExpiredTokenError4,
|
|
23807
24030
|
InvalidTokenError: () => InvalidTokenError4,
|
|
23808
24031
|
TokenRequiredError: () => TokenRequiredError,
|
|
23809
|
-
toKnownErr: () =>
|
|
24032
|
+
toKnownErr: () => toKnownErr53
|
|
23810
24033
|
});
|
|
23811
24034
|
var ExpiredTokenError4 = class extends XRPCError {
|
|
23812
24035
|
constructor(src2) {
|
|
@@ -23823,7 +24046,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
23823
24046
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23824
24047
|
}
|
|
23825
24048
|
};
|
|
23826
|
-
function
|
|
24049
|
+
function toKnownErr53(e) {
|
|
23827
24050
|
if (e instanceof XRPCError) {
|
|
23828
24051
|
if (e.error === "ExpiredToken")
|
|
23829
24052
|
return new ExpiredTokenError4(e);
|
|
@@ -23838,9 +24061,9 @@ function toKnownErr50(e) {
|
|
|
23838
24061
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
23839
24062
|
var getBlob_exports = {};
|
|
23840
24063
|
__export(getBlob_exports, {
|
|
23841
|
-
toKnownErr: () =>
|
|
24064
|
+
toKnownErr: () => toKnownErr54
|
|
23842
24065
|
});
|
|
23843
|
-
function
|
|
24066
|
+
function toKnownErr54(e) {
|
|
23844
24067
|
if (e instanceof XRPCError) {
|
|
23845
24068
|
}
|
|
23846
24069
|
return e;
|
|
@@ -23849,9 +24072,9 @@ function toKnownErr51(e) {
|
|
|
23849
24072
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
23850
24073
|
var getBlocks_exports = {};
|
|
23851
24074
|
__export(getBlocks_exports, {
|
|
23852
|
-
toKnownErr: () =>
|
|
24075
|
+
toKnownErr: () => toKnownErr55
|
|
23853
24076
|
});
|
|
23854
|
-
function
|
|
24077
|
+
function toKnownErr55(e) {
|
|
23855
24078
|
if (e instanceof XRPCError) {
|
|
23856
24079
|
}
|
|
23857
24080
|
return e;
|
|
@@ -23860,9 +24083,9 @@ function toKnownErr52(e) {
|
|
|
23860
24083
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
23861
24084
|
var getCheckout_exports = {};
|
|
23862
24085
|
__export(getCheckout_exports, {
|
|
23863
|
-
toKnownErr: () =>
|
|
24086
|
+
toKnownErr: () => toKnownErr56
|
|
23864
24087
|
});
|
|
23865
|
-
function
|
|
24088
|
+
function toKnownErr56(e) {
|
|
23866
24089
|
if (e instanceof XRPCError) {
|
|
23867
24090
|
}
|
|
23868
24091
|
return e;
|
|
@@ -23872,14 +24095,14 @@ function toKnownErr53(e) {
|
|
|
23872
24095
|
var getHead_exports = {};
|
|
23873
24096
|
__export(getHead_exports, {
|
|
23874
24097
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
23875
|
-
toKnownErr: () =>
|
|
24098
|
+
toKnownErr: () => toKnownErr57
|
|
23876
24099
|
});
|
|
23877
24100
|
var HeadNotFoundError = class extends XRPCError {
|
|
23878
24101
|
constructor(src2) {
|
|
23879
24102
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23880
24103
|
}
|
|
23881
24104
|
};
|
|
23882
|
-
function
|
|
24105
|
+
function toKnownErr57(e) {
|
|
23883
24106
|
if (e instanceof XRPCError) {
|
|
23884
24107
|
if (e.error === "HeadNotFound")
|
|
23885
24108
|
return new HeadNotFoundError(e);
|
|
@@ -23891,14 +24114,14 @@ function toKnownErr54(e) {
|
|
|
23891
24114
|
var getLatestCommit_exports = {};
|
|
23892
24115
|
__export(getLatestCommit_exports, {
|
|
23893
24116
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
23894
|
-
toKnownErr: () =>
|
|
24117
|
+
toKnownErr: () => toKnownErr58
|
|
23895
24118
|
});
|
|
23896
24119
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
23897
24120
|
constructor(src2) {
|
|
23898
24121
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23899
24122
|
}
|
|
23900
24123
|
};
|
|
23901
|
-
function
|
|
24124
|
+
function toKnownErr58(e) {
|
|
23902
24125
|
if (e instanceof XRPCError) {
|
|
23903
24126
|
if (e.error === "RepoNotFound")
|
|
23904
24127
|
return new RepoNotFoundError2(e);
|
|
@@ -23909,9 +24132,9 @@ function toKnownErr55(e) {
|
|
|
23909
24132
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
23910
24133
|
var getRecord_exports3 = {};
|
|
23911
24134
|
__export(getRecord_exports3, {
|
|
23912
|
-
toKnownErr: () =>
|
|
24135
|
+
toKnownErr: () => toKnownErr59
|
|
23913
24136
|
});
|
|
23914
|
-
function
|
|
24137
|
+
function toKnownErr59(e) {
|
|
23915
24138
|
if (e instanceof XRPCError) {
|
|
23916
24139
|
}
|
|
23917
24140
|
return e;
|
|
@@ -23920,9 +24143,9 @@ function toKnownErr56(e) {
|
|
|
23920
24143
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
23921
24144
|
var getRepo_exports2 = {};
|
|
23922
24145
|
__export(getRepo_exports2, {
|
|
23923
|
-
toKnownErr: () =>
|
|
24146
|
+
toKnownErr: () => toKnownErr60
|
|
23924
24147
|
});
|
|
23925
|
-
function
|
|
24148
|
+
function toKnownErr60(e) {
|
|
23926
24149
|
if (e instanceof XRPCError) {
|
|
23927
24150
|
}
|
|
23928
24151
|
return e;
|
|
@@ -23931,9 +24154,9 @@ function toKnownErr57(e) {
|
|
|
23931
24154
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
23932
24155
|
var listBlobs_exports = {};
|
|
23933
24156
|
__export(listBlobs_exports, {
|
|
23934
|
-
toKnownErr: () =>
|
|
24157
|
+
toKnownErr: () => toKnownErr61
|
|
23935
24158
|
});
|
|
23936
|
-
function
|
|
24159
|
+
function toKnownErr61(e) {
|
|
23937
24160
|
if (e instanceof XRPCError) {
|
|
23938
24161
|
}
|
|
23939
24162
|
return e;
|
|
@@ -23943,10 +24166,10 @@ function toKnownErr58(e) {
|
|
|
23943
24166
|
var listRepos_exports = {};
|
|
23944
24167
|
__export(listRepos_exports, {
|
|
23945
24168
|
isRepo: () => isRepo,
|
|
23946
|
-
toKnownErr: () =>
|
|
24169
|
+
toKnownErr: () => toKnownErr62,
|
|
23947
24170
|
validateRepo: () => validateRepo
|
|
23948
24171
|
});
|
|
23949
|
-
function
|
|
24172
|
+
function toKnownErr62(e) {
|
|
23950
24173
|
if (e instanceof XRPCError) {
|
|
23951
24174
|
}
|
|
23952
24175
|
return e;
|
|
@@ -23961,9 +24184,9 @@ function validateRepo(v) {
|
|
|
23961
24184
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
23962
24185
|
var notifyOfUpdate_exports = {};
|
|
23963
24186
|
__export(notifyOfUpdate_exports, {
|
|
23964
|
-
toKnownErr: () =>
|
|
24187
|
+
toKnownErr: () => toKnownErr63
|
|
23965
24188
|
});
|
|
23966
|
-
function
|
|
24189
|
+
function toKnownErr63(e) {
|
|
23967
24190
|
if (e instanceof XRPCError) {
|
|
23968
24191
|
}
|
|
23969
24192
|
return e;
|
|
@@ -23972,9 +24195,9 @@ function toKnownErr60(e) {
|
|
|
23972
24195
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
23973
24196
|
var requestCrawl_exports = {};
|
|
23974
24197
|
__export(requestCrawl_exports, {
|
|
23975
|
-
toKnownErr: () =>
|
|
24198
|
+
toKnownErr: () => toKnownErr64
|
|
23976
24199
|
});
|
|
23977
|
-
function
|
|
24200
|
+
function toKnownErr64(e) {
|
|
23978
24201
|
if (e instanceof XRPCError) {
|
|
23979
24202
|
}
|
|
23980
24203
|
return e;
|
|
@@ -23983,9 +24206,9 @@ function toKnownErr61(e) {
|
|
|
23983
24206
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
23984
24207
|
var getPreferences_exports = {};
|
|
23985
24208
|
__export(getPreferences_exports, {
|
|
23986
|
-
toKnownErr: () =>
|
|
24209
|
+
toKnownErr: () => toKnownErr65
|
|
23987
24210
|
});
|
|
23988
|
-
function
|
|
24211
|
+
function toKnownErr65(e) {
|
|
23989
24212
|
if (e instanceof XRPCError) {
|
|
23990
24213
|
}
|
|
23991
24214
|
return e;
|
|
@@ -23994,9 +24217,9 @@ function toKnownErr62(e) {
|
|
|
23994
24217
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
23995
24218
|
var getProfile_exports = {};
|
|
23996
24219
|
__export(getProfile_exports, {
|
|
23997
|
-
toKnownErr: () =>
|
|
24220
|
+
toKnownErr: () => toKnownErr66
|
|
23998
24221
|
});
|
|
23999
|
-
function
|
|
24222
|
+
function toKnownErr66(e) {
|
|
24000
24223
|
if (e instanceof XRPCError) {
|
|
24001
24224
|
}
|
|
24002
24225
|
return e;
|
|
@@ -24005,9 +24228,9 @@ function toKnownErr63(e) {
|
|
|
24005
24228
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
24006
24229
|
var getProfiles_exports = {};
|
|
24007
24230
|
__export(getProfiles_exports, {
|
|
24008
|
-
toKnownErr: () =>
|
|
24231
|
+
toKnownErr: () => toKnownErr67
|
|
24009
24232
|
});
|
|
24010
|
-
function
|
|
24233
|
+
function toKnownErr67(e) {
|
|
24011
24234
|
if (e instanceof XRPCError) {
|
|
24012
24235
|
}
|
|
24013
24236
|
return e;
|
|
@@ -24016,9 +24239,9 @@ function toKnownErr64(e) {
|
|
|
24016
24239
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
24017
24240
|
var getSuggestions_exports = {};
|
|
24018
24241
|
__export(getSuggestions_exports, {
|
|
24019
|
-
toKnownErr: () =>
|
|
24242
|
+
toKnownErr: () => toKnownErr68
|
|
24020
24243
|
});
|
|
24021
|
-
function
|
|
24244
|
+
function toKnownErr68(e) {
|
|
24022
24245
|
if (e instanceof XRPCError) {
|
|
24023
24246
|
}
|
|
24024
24247
|
return e;
|
|
@@ -24027,9 +24250,9 @@ function toKnownErr65(e) {
|
|
|
24027
24250
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
24028
24251
|
var putPreferences_exports = {};
|
|
24029
24252
|
__export(putPreferences_exports, {
|
|
24030
|
-
toKnownErr: () =>
|
|
24253
|
+
toKnownErr: () => toKnownErr69
|
|
24031
24254
|
});
|
|
24032
|
-
function
|
|
24255
|
+
function toKnownErr69(e) {
|
|
24033
24256
|
if (e instanceof XRPCError) {
|
|
24034
24257
|
}
|
|
24035
24258
|
return e;
|
|
@@ -24038,9 +24261,9 @@ function toKnownErr66(e) {
|
|
|
24038
24261
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
24039
24262
|
var searchActors_exports = {};
|
|
24040
24263
|
__export(searchActors_exports, {
|
|
24041
|
-
toKnownErr: () =>
|
|
24264
|
+
toKnownErr: () => toKnownErr70
|
|
24042
24265
|
});
|
|
24043
|
-
function
|
|
24266
|
+
function toKnownErr70(e) {
|
|
24044
24267
|
if (e instanceof XRPCError) {
|
|
24045
24268
|
}
|
|
24046
24269
|
return e;
|
|
@@ -24049,9 +24272,9 @@ function toKnownErr67(e) {
|
|
|
24049
24272
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
24050
24273
|
var searchActorsTypeahead_exports = {};
|
|
24051
24274
|
__export(searchActorsTypeahead_exports, {
|
|
24052
|
-
toKnownErr: () =>
|
|
24275
|
+
toKnownErr: () => toKnownErr71
|
|
24053
24276
|
});
|
|
24054
|
-
function
|
|
24277
|
+
function toKnownErr71(e) {
|
|
24055
24278
|
if (e instanceof XRPCError) {
|
|
24056
24279
|
}
|
|
24057
24280
|
return e;
|
|
@@ -24062,11 +24285,11 @@ var describeFeedGenerator_exports = {};
|
|
|
24062
24285
|
__export(describeFeedGenerator_exports, {
|
|
24063
24286
|
isFeed: () => isFeed,
|
|
24064
24287
|
isLinks: () => isLinks2,
|
|
24065
|
-
toKnownErr: () =>
|
|
24288
|
+
toKnownErr: () => toKnownErr72,
|
|
24066
24289
|
validateFeed: () => validateFeed,
|
|
24067
24290
|
validateLinks: () => validateLinks2
|
|
24068
24291
|
});
|
|
24069
|
-
function
|
|
24292
|
+
function toKnownErr72(e) {
|
|
24070
24293
|
if (e instanceof XRPCError) {
|
|
24071
24294
|
}
|
|
24072
24295
|
return e;
|
|
@@ -24087,9 +24310,9 @@ function validateLinks2(v) {
|
|
|
24087
24310
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
24088
24311
|
var getActorFeeds_exports = {};
|
|
24089
24312
|
__export(getActorFeeds_exports, {
|
|
24090
|
-
toKnownErr: () =>
|
|
24313
|
+
toKnownErr: () => toKnownErr73
|
|
24091
24314
|
});
|
|
24092
|
-
function
|
|
24315
|
+
function toKnownErr73(e) {
|
|
24093
24316
|
if (e instanceof XRPCError) {
|
|
24094
24317
|
}
|
|
24095
24318
|
return e;
|
|
@@ -24100,7 +24323,7 @@ var getActorLikes_exports = {};
|
|
|
24100
24323
|
__export(getActorLikes_exports, {
|
|
24101
24324
|
BlockedActorError: () => BlockedActorError,
|
|
24102
24325
|
BlockedByActorError: () => BlockedByActorError,
|
|
24103
|
-
toKnownErr: () =>
|
|
24326
|
+
toKnownErr: () => toKnownErr74
|
|
24104
24327
|
});
|
|
24105
24328
|
var BlockedActorError = class extends XRPCError {
|
|
24106
24329
|
constructor(src2) {
|
|
@@ -24112,7 +24335,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
24112
24335
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24113
24336
|
}
|
|
24114
24337
|
};
|
|
24115
|
-
function
|
|
24338
|
+
function toKnownErr74(e) {
|
|
24116
24339
|
if (e instanceof XRPCError) {
|
|
24117
24340
|
if (e.error === "BlockedActor")
|
|
24118
24341
|
return new BlockedActorError(e);
|
|
@@ -24127,7 +24350,7 @@ var getAuthorFeed_exports = {};
|
|
|
24127
24350
|
__export(getAuthorFeed_exports, {
|
|
24128
24351
|
BlockedActorError: () => BlockedActorError2,
|
|
24129
24352
|
BlockedByActorError: () => BlockedByActorError2,
|
|
24130
|
-
toKnownErr: () =>
|
|
24353
|
+
toKnownErr: () => toKnownErr75
|
|
24131
24354
|
});
|
|
24132
24355
|
var BlockedActorError2 = class extends XRPCError {
|
|
24133
24356
|
constructor(src2) {
|
|
@@ -24139,7 +24362,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
24139
24362
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24140
24363
|
}
|
|
24141
24364
|
};
|
|
24142
|
-
function
|
|
24365
|
+
function toKnownErr75(e) {
|
|
24143
24366
|
if (e instanceof XRPCError) {
|
|
24144
24367
|
if (e.error === "BlockedActor")
|
|
24145
24368
|
return new BlockedActorError2(e);
|
|
@@ -24153,14 +24376,14 @@ function toKnownErr72(e) {
|
|
|
24153
24376
|
var getFeed_exports = {};
|
|
24154
24377
|
__export(getFeed_exports, {
|
|
24155
24378
|
UnknownFeedError: () => UnknownFeedError,
|
|
24156
|
-
toKnownErr: () =>
|
|
24379
|
+
toKnownErr: () => toKnownErr76
|
|
24157
24380
|
});
|
|
24158
24381
|
var UnknownFeedError = class extends XRPCError {
|
|
24159
24382
|
constructor(src2) {
|
|
24160
24383
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24161
24384
|
}
|
|
24162
24385
|
};
|
|
24163
|
-
function
|
|
24386
|
+
function toKnownErr76(e) {
|
|
24164
24387
|
if (e instanceof XRPCError) {
|
|
24165
24388
|
if (e.error === "UnknownFeed")
|
|
24166
24389
|
return new UnknownFeedError(e);
|
|
@@ -24171,9 +24394,9 @@ function toKnownErr73(e) {
|
|
|
24171
24394
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
24172
24395
|
var getFeedGenerator_exports = {};
|
|
24173
24396
|
__export(getFeedGenerator_exports, {
|
|
24174
|
-
toKnownErr: () =>
|
|
24397
|
+
toKnownErr: () => toKnownErr77
|
|
24175
24398
|
});
|
|
24176
|
-
function
|
|
24399
|
+
function toKnownErr77(e) {
|
|
24177
24400
|
if (e instanceof XRPCError) {
|
|
24178
24401
|
}
|
|
24179
24402
|
return e;
|
|
@@ -24182,9 +24405,9 @@ function toKnownErr74(e) {
|
|
|
24182
24405
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
24183
24406
|
var getFeedGenerators_exports = {};
|
|
24184
24407
|
__export(getFeedGenerators_exports, {
|
|
24185
|
-
toKnownErr: () =>
|
|
24408
|
+
toKnownErr: () => toKnownErr78
|
|
24186
24409
|
});
|
|
24187
|
-
function
|
|
24410
|
+
function toKnownErr78(e) {
|
|
24188
24411
|
if (e instanceof XRPCError) {
|
|
24189
24412
|
}
|
|
24190
24413
|
return e;
|
|
@@ -24194,14 +24417,14 @@ function toKnownErr75(e) {
|
|
|
24194
24417
|
var getFeedSkeleton_exports = {};
|
|
24195
24418
|
__export(getFeedSkeleton_exports, {
|
|
24196
24419
|
UnknownFeedError: () => UnknownFeedError2,
|
|
24197
|
-
toKnownErr: () =>
|
|
24420
|
+
toKnownErr: () => toKnownErr79
|
|
24198
24421
|
});
|
|
24199
24422
|
var UnknownFeedError2 = class extends XRPCError {
|
|
24200
24423
|
constructor(src2) {
|
|
24201
24424
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24202
24425
|
}
|
|
24203
24426
|
};
|
|
24204
|
-
function
|
|
24427
|
+
function toKnownErr79(e) {
|
|
24205
24428
|
if (e instanceof XRPCError) {
|
|
24206
24429
|
if (e.error === "UnknownFeed")
|
|
24207
24430
|
return new UnknownFeedError2(e);
|
|
@@ -24213,10 +24436,10 @@ function toKnownErr76(e) {
|
|
|
24213
24436
|
var getLikes_exports = {};
|
|
24214
24437
|
__export(getLikes_exports, {
|
|
24215
24438
|
isLike: () => isLike,
|
|
24216
|
-
toKnownErr: () =>
|
|
24439
|
+
toKnownErr: () => toKnownErr80,
|
|
24217
24440
|
validateLike: () => validateLike
|
|
24218
24441
|
});
|
|
24219
|
-
function
|
|
24442
|
+
function toKnownErr80(e) {
|
|
24220
24443
|
if (e instanceof XRPCError) {
|
|
24221
24444
|
}
|
|
24222
24445
|
return e;
|
|
@@ -24232,14 +24455,14 @@ function validateLike(v) {
|
|
|
24232
24455
|
var getListFeed_exports = {};
|
|
24233
24456
|
__export(getListFeed_exports, {
|
|
24234
24457
|
UnknownListError: () => UnknownListError,
|
|
24235
|
-
toKnownErr: () =>
|
|
24458
|
+
toKnownErr: () => toKnownErr81
|
|
24236
24459
|
});
|
|
24237
24460
|
var UnknownListError = class extends XRPCError {
|
|
24238
24461
|
constructor(src2) {
|
|
24239
24462
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24240
24463
|
}
|
|
24241
24464
|
};
|
|
24242
|
-
function
|
|
24465
|
+
function toKnownErr81(e) {
|
|
24243
24466
|
if (e instanceof XRPCError) {
|
|
24244
24467
|
if (e.error === "UnknownList")
|
|
24245
24468
|
return new UnknownListError(e);
|
|
@@ -24251,14 +24474,14 @@ function toKnownErr78(e) {
|
|
|
24251
24474
|
var getPostThread_exports = {};
|
|
24252
24475
|
__export(getPostThread_exports, {
|
|
24253
24476
|
NotFoundError: () => NotFoundError,
|
|
24254
|
-
toKnownErr: () =>
|
|
24477
|
+
toKnownErr: () => toKnownErr82
|
|
24255
24478
|
});
|
|
24256
24479
|
var NotFoundError = class extends XRPCError {
|
|
24257
24480
|
constructor(src2) {
|
|
24258
24481
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24259
24482
|
}
|
|
24260
24483
|
};
|
|
24261
|
-
function
|
|
24484
|
+
function toKnownErr82(e) {
|
|
24262
24485
|
if (e instanceof XRPCError) {
|
|
24263
24486
|
if (e.error === "NotFound")
|
|
24264
24487
|
return new NotFoundError(e);
|
|
@@ -24269,9 +24492,9 @@ function toKnownErr79(e) {
|
|
|
24269
24492
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
24270
24493
|
var getPosts_exports = {};
|
|
24271
24494
|
__export(getPosts_exports, {
|
|
24272
|
-
toKnownErr: () =>
|
|
24495
|
+
toKnownErr: () => toKnownErr83
|
|
24273
24496
|
});
|
|
24274
|
-
function
|
|
24497
|
+
function toKnownErr83(e) {
|
|
24275
24498
|
if (e instanceof XRPCError) {
|
|
24276
24499
|
}
|
|
24277
24500
|
return e;
|
|
@@ -24280,9 +24503,9 @@ function toKnownErr80(e) {
|
|
|
24280
24503
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
24281
24504
|
var getRepostedBy_exports = {};
|
|
24282
24505
|
__export(getRepostedBy_exports, {
|
|
24283
|
-
toKnownErr: () =>
|
|
24506
|
+
toKnownErr: () => toKnownErr84
|
|
24284
24507
|
});
|
|
24285
|
-
function
|
|
24508
|
+
function toKnownErr84(e) {
|
|
24286
24509
|
if (e instanceof XRPCError) {
|
|
24287
24510
|
}
|
|
24288
24511
|
return e;
|
|
@@ -24291,9 +24514,9 @@ function toKnownErr81(e) {
|
|
|
24291
24514
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
24292
24515
|
var getSuggestedFeeds_exports = {};
|
|
24293
24516
|
__export(getSuggestedFeeds_exports, {
|
|
24294
|
-
toKnownErr: () =>
|
|
24517
|
+
toKnownErr: () => toKnownErr85
|
|
24295
24518
|
});
|
|
24296
|
-
function
|
|
24519
|
+
function toKnownErr85(e) {
|
|
24297
24520
|
if (e instanceof XRPCError) {
|
|
24298
24521
|
}
|
|
24299
24522
|
return e;
|
|
@@ -24302,9 +24525,9 @@ function toKnownErr82(e) {
|
|
|
24302
24525
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
24303
24526
|
var getTimeline_exports = {};
|
|
24304
24527
|
__export(getTimeline_exports, {
|
|
24305
|
-
toKnownErr: () =>
|
|
24528
|
+
toKnownErr: () => toKnownErr86
|
|
24306
24529
|
});
|
|
24307
|
-
function
|
|
24530
|
+
function toKnownErr86(e) {
|
|
24308
24531
|
if (e instanceof XRPCError) {
|
|
24309
24532
|
}
|
|
24310
24533
|
return e;
|
|
@@ -24314,14 +24537,14 @@ function toKnownErr83(e) {
|
|
|
24314
24537
|
var searchPosts_exports = {};
|
|
24315
24538
|
__export(searchPosts_exports, {
|
|
24316
24539
|
BadQueryStringError: () => BadQueryStringError,
|
|
24317
|
-
toKnownErr: () =>
|
|
24540
|
+
toKnownErr: () => toKnownErr87
|
|
24318
24541
|
});
|
|
24319
24542
|
var BadQueryStringError = class extends XRPCError {
|
|
24320
24543
|
constructor(src2) {
|
|
24321
24544
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24322
24545
|
}
|
|
24323
24546
|
};
|
|
24324
|
-
function
|
|
24547
|
+
function toKnownErr87(e) {
|
|
24325
24548
|
if (e instanceof XRPCError) {
|
|
24326
24549
|
if (e.error === "BadQueryString")
|
|
24327
24550
|
return new BadQueryStringError(e);
|
|
@@ -24332,9 +24555,9 @@ function toKnownErr84(e) {
|
|
|
24332
24555
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
24333
24556
|
var getBlocks_exports2 = {};
|
|
24334
24557
|
__export(getBlocks_exports2, {
|
|
24335
|
-
toKnownErr: () =>
|
|
24558
|
+
toKnownErr: () => toKnownErr88
|
|
24336
24559
|
});
|
|
24337
|
-
function
|
|
24560
|
+
function toKnownErr88(e) {
|
|
24338
24561
|
if (e instanceof XRPCError) {
|
|
24339
24562
|
}
|
|
24340
24563
|
return e;
|
|
@@ -24343,9 +24566,9 @@ function toKnownErr85(e) {
|
|
|
24343
24566
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
24344
24567
|
var getFollowers_exports = {};
|
|
24345
24568
|
__export(getFollowers_exports, {
|
|
24346
|
-
toKnownErr: () =>
|
|
24569
|
+
toKnownErr: () => toKnownErr89
|
|
24347
24570
|
});
|
|
24348
|
-
function
|
|
24571
|
+
function toKnownErr89(e) {
|
|
24349
24572
|
if (e instanceof XRPCError) {
|
|
24350
24573
|
}
|
|
24351
24574
|
return e;
|
|
@@ -24354,9 +24577,9 @@ function toKnownErr86(e) {
|
|
|
24354
24577
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
24355
24578
|
var getFollows_exports = {};
|
|
24356
24579
|
__export(getFollows_exports, {
|
|
24357
|
-
toKnownErr: () =>
|
|
24580
|
+
toKnownErr: () => toKnownErr90
|
|
24358
24581
|
});
|
|
24359
|
-
function
|
|
24582
|
+
function toKnownErr90(e) {
|
|
24360
24583
|
if (e instanceof XRPCError) {
|
|
24361
24584
|
}
|
|
24362
24585
|
return e;
|
|
@@ -24365,9 +24588,9 @@ function toKnownErr87(e) {
|
|
|
24365
24588
|
// src/client/types/app/bsky/graph/getList.ts
|
|
24366
24589
|
var getList_exports = {};
|
|
24367
24590
|
__export(getList_exports, {
|
|
24368
|
-
toKnownErr: () =>
|
|
24591
|
+
toKnownErr: () => toKnownErr91
|
|
24369
24592
|
});
|
|
24370
|
-
function
|
|
24593
|
+
function toKnownErr91(e) {
|
|
24371
24594
|
if (e instanceof XRPCError) {
|
|
24372
24595
|
}
|
|
24373
24596
|
return e;
|
|
@@ -24376,9 +24599,9 @@ function toKnownErr88(e) {
|
|
|
24376
24599
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
24377
24600
|
var getListBlocks_exports = {};
|
|
24378
24601
|
__export(getListBlocks_exports, {
|
|
24379
|
-
toKnownErr: () =>
|
|
24602
|
+
toKnownErr: () => toKnownErr92
|
|
24380
24603
|
});
|
|
24381
|
-
function
|
|
24604
|
+
function toKnownErr92(e) {
|
|
24382
24605
|
if (e instanceof XRPCError) {
|
|
24383
24606
|
}
|
|
24384
24607
|
return e;
|
|
@@ -24387,9 +24610,9 @@ function toKnownErr89(e) {
|
|
|
24387
24610
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
24388
24611
|
var getListMutes_exports = {};
|
|
24389
24612
|
__export(getListMutes_exports, {
|
|
24390
|
-
toKnownErr: () =>
|
|
24613
|
+
toKnownErr: () => toKnownErr93
|
|
24391
24614
|
});
|
|
24392
|
-
function
|
|
24615
|
+
function toKnownErr93(e) {
|
|
24393
24616
|
if (e instanceof XRPCError) {
|
|
24394
24617
|
}
|
|
24395
24618
|
return e;
|
|
@@ -24398,9 +24621,9 @@ function toKnownErr90(e) {
|
|
|
24398
24621
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
24399
24622
|
var getLists_exports = {};
|
|
24400
24623
|
__export(getLists_exports, {
|
|
24401
|
-
toKnownErr: () =>
|
|
24624
|
+
toKnownErr: () => toKnownErr94
|
|
24402
24625
|
});
|
|
24403
|
-
function
|
|
24626
|
+
function toKnownErr94(e) {
|
|
24404
24627
|
if (e instanceof XRPCError) {
|
|
24405
24628
|
}
|
|
24406
24629
|
return e;
|
|
@@ -24409,9 +24632,9 @@ function toKnownErr91(e) {
|
|
|
24409
24632
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
24410
24633
|
var getMutes_exports = {};
|
|
24411
24634
|
__export(getMutes_exports, {
|
|
24412
|
-
toKnownErr: () =>
|
|
24635
|
+
toKnownErr: () => toKnownErr95
|
|
24413
24636
|
});
|
|
24414
|
-
function
|
|
24637
|
+
function toKnownErr95(e) {
|
|
24415
24638
|
if (e instanceof XRPCError) {
|
|
24416
24639
|
}
|
|
24417
24640
|
return e;
|
|
@@ -24420,9 +24643,9 @@ function toKnownErr92(e) {
|
|
|
24420
24643
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
24421
24644
|
var getSuggestedFollowsByActor_exports = {};
|
|
24422
24645
|
__export(getSuggestedFollowsByActor_exports, {
|
|
24423
|
-
toKnownErr: () =>
|
|
24646
|
+
toKnownErr: () => toKnownErr96
|
|
24424
24647
|
});
|
|
24425
|
-
function
|
|
24648
|
+
function toKnownErr96(e) {
|
|
24426
24649
|
if (e instanceof XRPCError) {
|
|
24427
24650
|
}
|
|
24428
24651
|
return e;
|
|
@@ -24431,9 +24654,9 @@ function toKnownErr93(e) {
|
|
|
24431
24654
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
24432
24655
|
var muteActor_exports = {};
|
|
24433
24656
|
__export(muteActor_exports, {
|
|
24434
|
-
toKnownErr: () =>
|
|
24657
|
+
toKnownErr: () => toKnownErr97
|
|
24435
24658
|
});
|
|
24436
|
-
function
|
|
24659
|
+
function toKnownErr97(e) {
|
|
24437
24660
|
if (e instanceof XRPCError) {
|
|
24438
24661
|
}
|
|
24439
24662
|
return e;
|
|
@@ -24442,9 +24665,9 @@ function toKnownErr94(e) {
|
|
|
24442
24665
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
24443
24666
|
var muteActorList_exports = {};
|
|
24444
24667
|
__export(muteActorList_exports, {
|
|
24445
|
-
toKnownErr: () =>
|
|
24668
|
+
toKnownErr: () => toKnownErr98
|
|
24446
24669
|
});
|
|
24447
|
-
function
|
|
24670
|
+
function toKnownErr98(e) {
|
|
24448
24671
|
if (e instanceof XRPCError) {
|
|
24449
24672
|
}
|
|
24450
24673
|
return e;
|
|
@@ -24453,9 +24676,9 @@ function toKnownErr95(e) {
|
|
|
24453
24676
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
24454
24677
|
var unmuteActor_exports = {};
|
|
24455
24678
|
__export(unmuteActor_exports, {
|
|
24456
|
-
toKnownErr: () =>
|
|
24679
|
+
toKnownErr: () => toKnownErr99
|
|
24457
24680
|
});
|
|
24458
|
-
function
|
|
24681
|
+
function toKnownErr99(e) {
|
|
24459
24682
|
if (e instanceof XRPCError) {
|
|
24460
24683
|
}
|
|
24461
24684
|
return e;
|
|
@@ -24464,9 +24687,9 @@ function toKnownErr96(e) {
|
|
|
24464
24687
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
24465
24688
|
var unmuteActorList_exports = {};
|
|
24466
24689
|
__export(unmuteActorList_exports, {
|
|
24467
|
-
toKnownErr: () =>
|
|
24690
|
+
toKnownErr: () => toKnownErr100
|
|
24468
24691
|
});
|
|
24469
|
-
function
|
|
24692
|
+
function toKnownErr100(e) {
|
|
24470
24693
|
if (e instanceof XRPCError) {
|
|
24471
24694
|
}
|
|
24472
24695
|
return e;
|
|
@@ -24475,9 +24698,9 @@ function toKnownErr97(e) {
|
|
|
24475
24698
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
24476
24699
|
var getUnreadCount_exports = {};
|
|
24477
24700
|
__export(getUnreadCount_exports, {
|
|
24478
|
-
toKnownErr: () =>
|
|
24701
|
+
toKnownErr: () => toKnownErr101
|
|
24479
24702
|
});
|
|
24480
|
-
function
|
|
24703
|
+
function toKnownErr101(e) {
|
|
24481
24704
|
if (e instanceof XRPCError) {
|
|
24482
24705
|
}
|
|
24483
24706
|
return e;
|
|
@@ -24487,10 +24710,10 @@ function toKnownErr98(e) {
|
|
|
24487
24710
|
var listNotifications_exports = {};
|
|
24488
24711
|
__export(listNotifications_exports, {
|
|
24489
24712
|
isNotification: () => isNotification,
|
|
24490
|
-
toKnownErr: () =>
|
|
24713
|
+
toKnownErr: () => toKnownErr102,
|
|
24491
24714
|
validateNotification: () => validateNotification
|
|
24492
24715
|
});
|
|
24493
|
-
function
|
|
24716
|
+
function toKnownErr102(e) {
|
|
24494
24717
|
if (e instanceof XRPCError) {
|
|
24495
24718
|
}
|
|
24496
24719
|
return e;
|
|
@@ -24505,9 +24728,9 @@ function validateNotification(v) {
|
|
|
24505
24728
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
24506
24729
|
var registerPush_exports = {};
|
|
24507
24730
|
__export(registerPush_exports, {
|
|
24508
|
-
toKnownErr: () =>
|
|
24731
|
+
toKnownErr: () => toKnownErr103
|
|
24509
24732
|
});
|
|
24510
|
-
function
|
|
24733
|
+
function toKnownErr103(e) {
|
|
24511
24734
|
if (e instanceof XRPCError) {
|
|
24512
24735
|
}
|
|
24513
24736
|
return e;
|
|
@@ -24516,9 +24739,9 @@ function toKnownErr100(e) {
|
|
|
24516
24739
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
24517
24740
|
var updateSeen_exports = {};
|
|
24518
24741
|
__export(updateSeen_exports, {
|
|
24519
|
-
toKnownErr: () =>
|
|
24742
|
+
toKnownErr: () => toKnownErr104
|
|
24520
24743
|
});
|
|
24521
|
-
function
|
|
24744
|
+
function toKnownErr104(e) {
|
|
24522
24745
|
if (e instanceof XRPCError) {
|
|
24523
24746
|
}
|
|
24524
24747
|
return e;
|
|
@@ -24527,9 +24750,9 @@ function toKnownErr101(e) {
|
|
|
24527
24750
|
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
24528
24751
|
var getPopular_exports = {};
|
|
24529
24752
|
__export(getPopular_exports, {
|
|
24530
|
-
toKnownErr: () =>
|
|
24753
|
+
toKnownErr: () => toKnownErr105
|
|
24531
24754
|
});
|
|
24532
|
-
function
|
|
24755
|
+
function toKnownErr105(e) {
|
|
24533
24756
|
if (e instanceof XRPCError) {
|
|
24534
24757
|
}
|
|
24535
24758
|
return e;
|
|
@@ -24538,9 +24761,9 @@ function toKnownErr102(e) {
|
|
|
24538
24761
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
24539
24762
|
var getPopularFeedGenerators_exports = {};
|
|
24540
24763
|
__export(getPopularFeedGenerators_exports, {
|
|
24541
|
-
toKnownErr: () =>
|
|
24764
|
+
toKnownErr: () => toKnownErr106
|
|
24542
24765
|
});
|
|
24543
|
-
function
|
|
24766
|
+
function toKnownErr106(e) {
|
|
24544
24767
|
if (e instanceof XRPCError) {
|
|
24545
24768
|
}
|
|
24546
24769
|
return e;
|
|
@@ -24550,14 +24773,14 @@ function toKnownErr103(e) {
|
|
|
24550
24773
|
var getTimelineSkeleton_exports = {};
|
|
24551
24774
|
__export(getTimelineSkeleton_exports, {
|
|
24552
24775
|
UnknownFeedError: () => UnknownFeedError3,
|
|
24553
|
-
toKnownErr: () =>
|
|
24776
|
+
toKnownErr: () => toKnownErr107
|
|
24554
24777
|
});
|
|
24555
24778
|
var UnknownFeedError3 = class extends XRPCError {
|
|
24556
24779
|
constructor(src2) {
|
|
24557
24780
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24558
24781
|
}
|
|
24559
24782
|
};
|
|
24560
|
-
function
|
|
24783
|
+
function toKnownErr107(e) {
|
|
24561
24784
|
if (e instanceof XRPCError) {
|
|
24562
24785
|
if (e.error === "UnknownFeed")
|
|
24563
24786
|
return new UnknownFeedError3(e);
|
|
@@ -24569,14 +24792,14 @@ function toKnownErr104(e) {
|
|
|
24569
24792
|
var searchActorsSkeleton_exports = {};
|
|
24570
24793
|
__export(searchActorsSkeleton_exports, {
|
|
24571
24794
|
BadQueryStringError: () => BadQueryStringError2,
|
|
24572
|
-
toKnownErr: () =>
|
|
24795
|
+
toKnownErr: () => toKnownErr108
|
|
24573
24796
|
});
|
|
24574
24797
|
var BadQueryStringError2 = class extends XRPCError {
|
|
24575
24798
|
constructor(src2) {
|
|
24576
24799
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24577
24800
|
}
|
|
24578
24801
|
};
|
|
24579
|
-
function
|
|
24802
|
+
function toKnownErr108(e) {
|
|
24580
24803
|
if (e instanceof XRPCError) {
|
|
24581
24804
|
if (e.error === "BadQueryString")
|
|
24582
24805
|
return new BadQueryStringError2(e);
|
|
@@ -24588,14 +24811,14 @@ function toKnownErr105(e) {
|
|
|
24588
24811
|
var searchPostsSkeleton_exports = {};
|
|
24589
24812
|
__export(searchPostsSkeleton_exports, {
|
|
24590
24813
|
BadQueryStringError: () => BadQueryStringError3,
|
|
24591
|
-
toKnownErr: () =>
|
|
24814
|
+
toKnownErr: () => toKnownErr109
|
|
24592
24815
|
});
|
|
24593
24816
|
var BadQueryStringError3 = class extends XRPCError {
|
|
24594
24817
|
constructor(src2) {
|
|
24595
24818
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24596
24819
|
}
|
|
24597
24820
|
};
|
|
24598
|
-
function
|
|
24821
|
+
function toKnownErr109(e) {
|
|
24599
24822
|
if (e instanceof XRPCError) {
|
|
24600
24823
|
if (e.error === "BadQueryString")
|
|
24601
24824
|
return new BadQueryStringError3(e);
|
|
@@ -24610,6 +24833,7 @@ __export(defs_exports, {
|
|
|
24610
24833
|
ESCALATE: () => ESCALATE,
|
|
24611
24834
|
FLAG: () => FLAG,
|
|
24612
24835
|
TAKEDOWN: () => TAKEDOWN,
|
|
24836
|
+
isAccountView: () => isAccountView,
|
|
24613
24837
|
isActionReversal: () => isActionReversal,
|
|
24614
24838
|
isActionView: () => isActionView,
|
|
24615
24839
|
isActionViewCurrent: () => isActionViewCurrent,
|
|
@@ -24621,13 +24845,16 @@ __export(defs_exports, {
|
|
|
24621
24845
|
isRecordView: () => isRecordView,
|
|
24622
24846
|
isRecordViewDetail: () => isRecordViewDetail,
|
|
24623
24847
|
isRecordViewNotFound: () => isRecordViewNotFound,
|
|
24848
|
+
isRepoBlobRef: () => isRepoBlobRef,
|
|
24624
24849
|
isRepoRef: () => isRepoRef,
|
|
24625
24850
|
isRepoView: () => isRepoView,
|
|
24626
24851
|
isRepoViewDetail: () => isRepoViewDetail,
|
|
24627
24852
|
isRepoViewNotFound: () => isRepoViewNotFound,
|
|
24628
24853
|
isReportView: () => isReportView,
|
|
24629
24854
|
isReportViewDetail: () => isReportViewDetail,
|
|
24855
|
+
isStatusAttr: () => isStatusAttr,
|
|
24630
24856
|
isVideoDetails: () => isVideoDetails,
|
|
24857
|
+
validateAccountView: () => validateAccountView,
|
|
24631
24858
|
validateActionReversal: () => validateActionReversal,
|
|
24632
24859
|
validateActionView: () => validateActionView,
|
|
24633
24860
|
validateActionViewCurrent: () => validateActionViewCurrent,
|
|
@@ -24639,14 +24866,22 @@ __export(defs_exports, {
|
|
|
24639
24866
|
validateRecordView: () => validateRecordView,
|
|
24640
24867
|
validateRecordViewDetail: () => validateRecordViewDetail,
|
|
24641
24868
|
validateRecordViewNotFound: () => validateRecordViewNotFound,
|
|
24869
|
+
validateRepoBlobRef: () => validateRepoBlobRef,
|
|
24642
24870
|
validateRepoRef: () => validateRepoRef,
|
|
24643
24871
|
validateRepoView: () => validateRepoView,
|
|
24644
24872
|
validateRepoViewDetail: () => validateRepoViewDetail,
|
|
24645
24873
|
validateRepoViewNotFound: () => validateRepoViewNotFound,
|
|
24646
24874
|
validateReportView: () => validateReportView,
|
|
24647
24875
|
validateReportViewDetail: () => validateReportViewDetail,
|
|
24876
|
+
validateStatusAttr: () => validateStatusAttr,
|
|
24648
24877
|
validateVideoDetails: () => validateVideoDetails
|
|
24649
24878
|
});
|
|
24879
|
+
function isStatusAttr(v) {
|
|
24880
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#statusAttr";
|
|
24881
|
+
}
|
|
24882
|
+
function validateStatusAttr(v) {
|
|
24883
|
+
return lexicons.validate("com.atproto.admin.defs#statusAttr", v);
|
|
24884
|
+
}
|
|
24650
24885
|
function isActionView(v) {
|
|
24651
24886
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#actionView";
|
|
24652
24887
|
}
|
|
@@ -24699,6 +24934,12 @@ function isRepoViewDetail(v) {
|
|
|
24699
24934
|
function validateRepoViewDetail(v) {
|
|
24700
24935
|
return lexicons.validate("com.atproto.admin.defs#repoViewDetail", v);
|
|
24701
24936
|
}
|
|
24937
|
+
function isAccountView(v) {
|
|
24938
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#accountView";
|
|
24939
|
+
}
|
|
24940
|
+
function validateAccountView(v) {
|
|
24941
|
+
return lexicons.validate("com.atproto.admin.defs#accountView", v);
|
|
24942
|
+
}
|
|
24702
24943
|
function isRepoViewNotFound(v) {
|
|
24703
24944
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#repoViewNotFound";
|
|
24704
24945
|
}
|
|
@@ -24711,6 +24952,12 @@ function isRepoRef(v) {
|
|
|
24711
24952
|
function validateRepoRef(v) {
|
|
24712
24953
|
return lexicons.validate("com.atproto.admin.defs#repoRef", v);
|
|
24713
24954
|
}
|
|
24955
|
+
function isRepoBlobRef(v) {
|
|
24956
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#repoBlobRef";
|
|
24957
|
+
}
|
|
24958
|
+
function validateRepoBlobRef(v) {
|
|
24959
|
+
return lexicons.validate("com.atproto.admin.defs#repoBlobRef", v);
|
|
24960
|
+
}
|
|
24714
24961
|
function isRecordView(v) {
|
|
24715
24962
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#recordView";
|
|
24716
24963
|
}
|
|
@@ -25646,74 +25893,89 @@ var AdminNS = class {
|
|
|
25646
25893
|
throw toKnownErr3(e);
|
|
25647
25894
|
});
|
|
25648
25895
|
}
|
|
25896
|
+
getAccountInfo(params2, opts) {
|
|
25897
|
+
return this._service.xrpc.call("com.atproto.admin.getAccountInfo", params2, void 0, opts).catch((e) => {
|
|
25898
|
+
throw toKnownErr4(e);
|
|
25899
|
+
});
|
|
25900
|
+
}
|
|
25649
25901
|
getInviteCodes(params2, opts) {
|
|
25650
25902
|
return this._service.xrpc.call("com.atproto.admin.getInviteCodes", params2, void 0, opts).catch((e) => {
|
|
25651
|
-
throw
|
|
25903
|
+
throw toKnownErr5(e);
|
|
25652
25904
|
});
|
|
25653
25905
|
}
|
|
25654
25906
|
getModerationAction(params2, opts) {
|
|
25655
25907
|
return this._service.xrpc.call("com.atproto.admin.getModerationAction", params2, void 0, opts).catch((e) => {
|
|
25656
|
-
throw
|
|
25908
|
+
throw toKnownErr6(e);
|
|
25657
25909
|
});
|
|
25658
25910
|
}
|
|
25659
25911
|
getModerationActions(params2, opts) {
|
|
25660
25912
|
return this._service.xrpc.call("com.atproto.admin.getModerationActions", params2, void 0, opts).catch((e) => {
|
|
25661
|
-
throw
|
|
25913
|
+
throw toKnownErr7(e);
|
|
25662
25914
|
});
|
|
25663
25915
|
}
|
|
25664
25916
|
getModerationReport(params2, opts) {
|
|
25665
25917
|
return this._service.xrpc.call("com.atproto.admin.getModerationReport", params2, void 0, opts).catch((e) => {
|
|
25666
|
-
throw
|
|
25918
|
+
throw toKnownErr8(e);
|
|
25667
25919
|
});
|
|
25668
25920
|
}
|
|
25669
25921
|
getModerationReports(params2, opts) {
|
|
25670
25922
|
return this._service.xrpc.call("com.atproto.admin.getModerationReports", params2, void 0, opts).catch((e) => {
|
|
25671
|
-
throw
|
|
25923
|
+
throw toKnownErr9(e);
|
|
25672
25924
|
});
|
|
25673
25925
|
}
|
|
25674
25926
|
getRecord(params2, opts) {
|
|
25675
25927
|
return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
|
|
25676
|
-
throw
|
|
25928
|
+
throw toKnownErr10(e);
|
|
25677
25929
|
});
|
|
25678
25930
|
}
|
|
25679
25931
|
getRepo(params2, opts) {
|
|
25680
25932
|
return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
|
|
25681
|
-
throw
|
|
25933
|
+
throw toKnownErr11(e);
|
|
25934
|
+
});
|
|
25935
|
+
}
|
|
25936
|
+
getSubjectStatus(params2, opts) {
|
|
25937
|
+
return this._service.xrpc.call("com.atproto.admin.getSubjectStatus", params2, void 0, opts).catch((e) => {
|
|
25938
|
+
throw toKnownErr12(e);
|
|
25682
25939
|
});
|
|
25683
25940
|
}
|
|
25684
25941
|
resolveModerationReports(data, opts) {
|
|
25685
25942
|
return this._service.xrpc.call("com.atproto.admin.resolveModerationReports", opts?.qp, data, opts).catch((e) => {
|
|
25686
|
-
throw
|
|
25943
|
+
throw toKnownErr13(e);
|
|
25687
25944
|
});
|
|
25688
25945
|
}
|
|
25689
25946
|
reverseModerationAction(data, opts) {
|
|
25690
25947
|
return this._service.xrpc.call("com.atproto.admin.reverseModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
25691
|
-
throw
|
|
25948
|
+
throw toKnownErr14(e);
|
|
25692
25949
|
});
|
|
25693
25950
|
}
|
|
25694
25951
|
searchRepos(params2, opts) {
|
|
25695
25952
|
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
25696
|
-
throw
|
|
25953
|
+
throw toKnownErr15(e);
|
|
25697
25954
|
});
|
|
25698
25955
|
}
|
|
25699
25956
|
sendEmail(data, opts) {
|
|
25700
25957
|
return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
|
|
25701
|
-
throw
|
|
25958
|
+
throw toKnownErr16(e);
|
|
25702
25959
|
});
|
|
25703
25960
|
}
|
|
25704
25961
|
takeModerationAction(data, opts) {
|
|
25705
25962
|
return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
25706
|
-
throw
|
|
25963
|
+
throw toKnownErr17(e);
|
|
25707
25964
|
});
|
|
25708
25965
|
}
|
|
25709
25966
|
updateAccountEmail(data, opts) {
|
|
25710
25967
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
25711
|
-
throw
|
|
25968
|
+
throw toKnownErr18(e);
|
|
25712
25969
|
});
|
|
25713
25970
|
}
|
|
25714
25971
|
updateAccountHandle(data, opts) {
|
|
25715
25972
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
25716
|
-
throw
|
|
25973
|
+
throw toKnownErr19(e);
|
|
25974
|
+
});
|
|
25975
|
+
}
|
|
25976
|
+
updateSubjectStatus(data, opts) {
|
|
25977
|
+
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
25978
|
+
throw toKnownErr20(e);
|
|
25717
25979
|
});
|
|
25718
25980
|
}
|
|
25719
25981
|
};
|
|
@@ -25723,12 +25985,12 @@ var IdentityNS = class {
|
|
|
25723
25985
|
}
|
|
25724
25986
|
resolveHandle(params2, opts) {
|
|
25725
25987
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
25726
|
-
throw
|
|
25988
|
+
throw toKnownErr21(e);
|
|
25727
25989
|
});
|
|
25728
25990
|
}
|
|
25729
25991
|
updateHandle(data, opts) {
|
|
25730
25992
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
25731
|
-
throw
|
|
25993
|
+
throw toKnownErr22(e);
|
|
25732
25994
|
});
|
|
25733
25995
|
}
|
|
25734
25996
|
};
|
|
@@ -25738,7 +26000,7 @@ var LabelNS = class {
|
|
|
25738
26000
|
}
|
|
25739
26001
|
queryLabels(params2, opts) {
|
|
25740
26002
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
25741
|
-
throw
|
|
26003
|
+
throw toKnownErr23(e);
|
|
25742
26004
|
});
|
|
25743
26005
|
}
|
|
25744
26006
|
};
|
|
@@ -25748,7 +26010,7 @@ var ModerationNS = class {
|
|
|
25748
26010
|
}
|
|
25749
26011
|
createReport(data, opts) {
|
|
25750
26012
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
25751
|
-
throw
|
|
26013
|
+
throw toKnownErr24(e);
|
|
25752
26014
|
});
|
|
25753
26015
|
}
|
|
25754
26016
|
};
|
|
@@ -25758,42 +26020,42 @@ var RepoNS = class {
|
|
|
25758
26020
|
}
|
|
25759
26021
|
applyWrites(data, opts) {
|
|
25760
26022
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
25761
|
-
throw
|
|
26023
|
+
throw toKnownErr25(e);
|
|
25762
26024
|
});
|
|
25763
26025
|
}
|
|
25764
26026
|
createRecord(data, opts) {
|
|
25765
26027
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
25766
|
-
throw
|
|
26028
|
+
throw toKnownErr26(e);
|
|
25767
26029
|
});
|
|
25768
26030
|
}
|
|
25769
26031
|
deleteRecord(data, opts) {
|
|
25770
26032
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
25771
|
-
throw
|
|
26033
|
+
throw toKnownErr27(e);
|
|
25772
26034
|
});
|
|
25773
26035
|
}
|
|
25774
26036
|
describeRepo(params2, opts) {
|
|
25775
26037
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
25776
|
-
throw
|
|
26038
|
+
throw toKnownErr28(e);
|
|
25777
26039
|
});
|
|
25778
26040
|
}
|
|
25779
26041
|
getRecord(params2, opts) {
|
|
25780
26042
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
25781
|
-
throw
|
|
26043
|
+
throw toKnownErr29(e);
|
|
25782
26044
|
});
|
|
25783
26045
|
}
|
|
25784
26046
|
listRecords(params2, opts) {
|
|
25785
26047
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
25786
|
-
throw
|
|
26048
|
+
throw toKnownErr30(e);
|
|
25787
26049
|
});
|
|
25788
26050
|
}
|
|
25789
26051
|
putRecord(data, opts) {
|
|
25790
26052
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
25791
|
-
throw
|
|
26053
|
+
throw toKnownErr31(e);
|
|
25792
26054
|
});
|
|
25793
26055
|
}
|
|
25794
26056
|
uploadBlob(data, opts) {
|
|
25795
26057
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
25796
|
-
throw
|
|
26058
|
+
throw toKnownErr32(e);
|
|
25797
26059
|
});
|
|
25798
26060
|
}
|
|
25799
26061
|
};
|
|
@@ -25803,107 +26065,107 @@ var ServerNS = class {
|
|
|
25803
26065
|
}
|
|
25804
26066
|
confirmEmail(data, opts) {
|
|
25805
26067
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
25806
|
-
throw
|
|
26068
|
+
throw toKnownErr33(e);
|
|
25807
26069
|
});
|
|
25808
26070
|
}
|
|
25809
26071
|
createAccount(data, opts) {
|
|
25810
26072
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
25811
|
-
throw
|
|
26073
|
+
throw toKnownErr34(e);
|
|
25812
26074
|
});
|
|
25813
26075
|
}
|
|
25814
26076
|
createAppPassword(data, opts) {
|
|
25815
26077
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
25816
|
-
throw
|
|
26078
|
+
throw toKnownErr35(e);
|
|
25817
26079
|
});
|
|
25818
26080
|
}
|
|
25819
26081
|
createInviteCode(data, opts) {
|
|
25820
26082
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
25821
|
-
throw
|
|
26083
|
+
throw toKnownErr36(e);
|
|
25822
26084
|
});
|
|
25823
26085
|
}
|
|
25824
26086
|
createInviteCodes(data, opts) {
|
|
25825
26087
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
25826
|
-
throw
|
|
26088
|
+
throw toKnownErr37(e);
|
|
25827
26089
|
});
|
|
25828
26090
|
}
|
|
25829
26091
|
createSession(data, opts) {
|
|
25830
26092
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
25831
|
-
throw
|
|
26093
|
+
throw toKnownErr38(e);
|
|
25832
26094
|
});
|
|
25833
26095
|
}
|
|
25834
26096
|
deleteAccount(data, opts) {
|
|
25835
26097
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
25836
|
-
throw
|
|
26098
|
+
throw toKnownErr39(e);
|
|
25837
26099
|
});
|
|
25838
26100
|
}
|
|
25839
26101
|
deleteSession(data, opts) {
|
|
25840
26102
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
25841
|
-
throw
|
|
26103
|
+
throw toKnownErr40(e);
|
|
25842
26104
|
});
|
|
25843
26105
|
}
|
|
25844
26106
|
describeServer(params2, opts) {
|
|
25845
26107
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
25846
|
-
throw
|
|
26108
|
+
throw toKnownErr41(e);
|
|
25847
26109
|
});
|
|
25848
26110
|
}
|
|
25849
26111
|
getAccountInviteCodes(params2, opts) {
|
|
25850
26112
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
25851
|
-
throw
|
|
26113
|
+
throw toKnownErr42(e);
|
|
25852
26114
|
});
|
|
25853
26115
|
}
|
|
25854
26116
|
getSession(params2, opts) {
|
|
25855
26117
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
25856
|
-
throw
|
|
26118
|
+
throw toKnownErr43(e);
|
|
25857
26119
|
});
|
|
25858
26120
|
}
|
|
25859
26121
|
listAppPasswords(params2, opts) {
|
|
25860
26122
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
25861
|
-
throw
|
|
26123
|
+
throw toKnownErr44(e);
|
|
25862
26124
|
});
|
|
25863
26125
|
}
|
|
25864
26126
|
refreshSession(data, opts) {
|
|
25865
26127
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
25866
|
-
throw
|
|
26128
|
+
throw toKnownErr45(e);
|
|
25867
26129
|
});
|
|
25868
26130
|
}
|
|
25869
26131
|
requestAccountDelete(data, opts) {
|
|
25870
26132
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
25871
|
-
throw
|
|
26133
|
+
throw toKnownErr46(e);
|
|
25872
26134
|
});
|
|
25873
26135
|
}
|
|
25874
26136
|
requestEmailConfirmation(data, opts) {
|
|
25875
26137
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
25876
|
-
throw
|
|
26138
|
+
throw toKnownErr47(e);
|
|
25877
26139
|
});
|
|
25878
26140
|
}
|
|
25879
26141
|
requestEmailUpdate(data, opts) {
|
|
25880
26142
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
25881
|
-
throw
|
|
26143
|
+
throw toKnownErr48(e);
|
|
25882
26144
|
});
|
|
25883
26145
|
}
|
|
25884
26146
|
requestPasswordReset(data, opts) {
|
|
25885
26147
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
25886
|
-
throw
|
|
26148
|
+
throw toKnownErr49(e);
|
|
25887
26149
|
});
|
|
25888
26150
|
}
|
|
25889
26151
|
reserveSigningKey(data, opts) {
|
|
25890
26152
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
25891
|
-
throw
|
|
26153
|
+
throw toKnownErr50(e);
|
|
25892
26154
|
});
|
|
25893
26155
|
}
|
|
25894
26156
|
resetPassword(data, opts) {
|
|
25895
26157
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
25896
|
-
throw
|
|
26158
|
+
throw toKnownErr51(e);
|
|
25897
26159
|
});
|
|
25898
26160
|
}
|
|
25899
26161
|
revokeAppPassword(data, opts) {
|
|
25900
26162
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
25901
|
-
throw
|
|
26163
|
+
throw toKnownErr52(e);
|
|
25902
26164
|
});
|
|
25903
26165
|
}
|
|
25904
26166
|
updateEmail(data, opts) {
|
|
25905
26167
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
25906
|
-
throw
|
|
26168
|
+
throw toKnownErr53(e);
|
|
25907
26169
|
});
|
|
25908
26170
|
}
|
|
25909
26171
|
};
|
|
@@ -25913,57 +26175,57 @@ var SyncNS = class {
|
|
|
25913
26175
|
}
|
|
25914
26176
|
getBlob(params2, opts) {
|
|
25915
26177
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
25916
|
-
throw
|
|
26178
|
+
throw toKnownErr54(e);
|
|
25917
26179
|
});
|
|
25918
26180
|
}
|
|
25919
26181
|
getBlocks(params2, opts) {
|
|
25920
26182
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
25921
|
-
throw
|
|
26183
|
+
throw toKnownErr55(e);
|
|
25922
26184
|
});
|
|
25923
26185
|
}
|
|
25924
26186
|
getCheckout(params2, opts) {
|
|
25925
26187
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
25926
|
-
throw
|
|
26188
|
+
throw toKnownErr56(e);
|
|
25927
26189
|
});
|
|
25928
26190
|
}
|
|
25929
26191
|
getHead(params2, opts) {
|
|
25930
26192
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
25931
|
-
throw
|
|
26193
|
+
throw toKnownErr57(e);
|
|
25932
26194
|
});
|
|
25933
26195
|
}
|
|
25934
26196
|
getLatestCommit(params2, opts) {
|
|
25935
26197
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
25936
|
-
throw
|
|
26198
|
+
throw toKnownErr58(e);
|
|
25937
26199
|
});
|
|
25938
26200
|
}
|
|
25939
26201
|
getRecord(params2, opts) {
|
|
25940
26202
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
25941
|
-
throw
|
|
26203
|
+
throw toKnownErr59(e);
|
|
25942
26204
|
});
|
|
25943
26205
|
}
|
|
25944
26206
|
getRepo(params2, opts) {
|
|
25945
26207
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
25946
|
-
throw
|
|
26208
|
+
throw toKnownErr60(e);
|
|
25947
26209
|
});
|
|
25948
26210
|
}
|
|
25949
26211
|
listBlobs(params2, opts) {
|
|
25950
26212
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
25951
|
-
throw
|
|
26213
|
+
throw toKnownErr61(e);
|
|
25952
26214
|
});
|
|
25953
26215
|
}
|
|
25954
26216
|
listRepos(params2, opts) {
|
|
25955
26217
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
25956
|
-
throw
|
|
26218
|
+
throw toKnownErr62(e);
|
|
25957
26219
|
});
|
|
25958
26220
|
}
|
|
25959
26221
|
notifyOfUpdate(data, opts) {
|
|
25960
26222
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
25961
|
-
throw
|
|
26223
|
+
throw toKnownErr63(e);
|
|
25962
26224
|
});
|
|
25963
26225
|
}
|
|
25964
26226
|
requestCrawl(data, opts) {
|
|
25965
26227
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
25966
|
-
throw
|
|
26228
|
+
throw toKnownErr64(e);
|
|
25967
26229
|
});
|
|
25968
26230
|
}
|
|
25969
26231
|
};
|
|
@@ -25992,37 +26254,37 @@ var ActorNS = class {
|
|
|
25992
26254
|
}
|
|
25993
26255
|
getPreferences(params2, opts) {
|
|
25994
26256
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
25995
|
-
throw
|
|
26257
|
+
throw toKnownErr65(e);
|
|
25996
26258
|
});
|
|
25997
26259
|
}
|
|
25998
26260
|
getProfile(params2, opts) {
|
|
25999
26261
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
26000
|
-
throw
|
|
26262
|
+
throw toKnownErr66(e);
|
|
26001
26263
|
});
|
|
26002
26264
|
}
|
|
26003
26265
|
getProfiles(params2, opts) {
|
|
26004
26266
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
26005
|
-
throw
|
|
26267
|
+
throw toKnownErr67(e);
|
|
26006
26268
|
});
|
|
26007
26269
|
}
|
|
26008
26270
|
getSuggestions(params2, opts) {
|
|
26009
26271
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
26010
|
-
throw
|
|
26272
|
+
throw toKnownErr68(e);
|
|
26011
26273
|
});
|
|
26012
26274
|
}
|
|
26013
26275
|
putPreferences(data, opts) {
|
|
26014
26276
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
26015
|
-
throw
|
|
26277
|
+
throw toKnownErr69(e);
|
|
26016
26278
|
});
|
|
26017
26279
|
}
|
|
26018
26280
|
searchActors(params2, opts) {
|
|
26019
26281
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
26020
|
-
throw
|
|
26282
|
+
throw toKnownErr70(e);
|
|
26021
26283
|
});
|
|
26022
26284
|
}
|
|
26023
26285
|
searchActorsTypeahead(params2, opts) {
|
|
26024
26286
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
26025
|
-
throw
|
|
26287
|
+
throw toKnownErr71(e);
|
|
26026
26288
|
});
|
|
26027
26289
|
}
|
|
26028
26290
|
};
|
|
@@ -26069,82 +26331,82 @@ var FeedNS = class {
|
|
|
26069
26331
|
}
|
|
26070
26332
|
describeFeedGenerator(params2, opts) {
|
|
26071
26333
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26072
|
-
throw
|
|
26334
|
+
throw toKnownErr72(e);
|
|
26073
26335
|
});
|
|
26074
26336
|
}
|
|
26075
26337
|
getActorFeeds(params2, opts) {
|
|
26076
26338
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
26077
|
-
throw
|
|
26339
|
+
throw toKnownErr73(e);
|
|
26078
26340
|
});
|
|
26079
26341
|
}
|
|
26080
26342
|
getActorLikes(params2, opts) {
|
|
26081
26343
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
26082
|
-
throw
|
|
26344
|
+
throw toKnownErr74(e);
|
|
26083
26345
|
});
|
|
26084
26346
|
}
|
|
26085
26347
|
getAuthorFeed(params2, opts) {
|
|
26086
26348
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
26087
|
-
throw
|
|
26349
|
+
throw toKnownErr75(e);
|
|
26088
26350
|
});
|
|
26089
26351
|
}
|
|
26090
26352
|
getFeed(params2, opts) {
|
|
26091
26353
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
26092
|
-
throw
|
|
26354
|
+
throw toKnownErr76(e);
|
|
26093
26355
|
});
|
|
26094
26356
|
}
|
|
26095
26357
|
getFeedGenerator(params2, opts) {
|
|
26096
26358
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26097
|
-
throw
|
|
26359
|
+
throw toKnownErr77(e);
|
|
26098
26360
|
});
|
|
26099
26361
|
}
|
|
26100
26362
|
getFeedGenerators(params2, opts) {
|
|
26101
26363
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
26102
|
-
throw
|
|
26364
|
+
throw toKnownErr78(e);
|
|
26103
26365
|
});
|
|
26104
26366
|
}
|
|
26105
26367
|
getFeedSkeleton(params2, opts) {
|
|
26106
26368
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
26107
|
-
throw
|
|
26369
|
+
throw toKnownErr79(e);
|
|
26108
26370
|
});
|
|
26109
26371
|
}
|
|
26110
26372
|
getLikes(params2, opts) {
|
|
26111
26373
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
26112
|
-
throw
|
|
26374
|
+
throw toKnownErr80(e);
|
|
26113
26375
|
});
|
|
26114
26376
|
}
|
|
26115
26377
|
getListFeed(params2, opts) {
|
|
26116
26378
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
26117
|
-
throw
|
|
26379
|
+
throw toKnownErr81(e);
|
|
26118
26380
|
});
|
|
26119
26381
|
}
|
|
26120
26382
|
getPostThread(params2, opts) {
|
|
26121
26383
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
26122
|
-
throw
|
|
26384
|
+
throw toKnownErr82(e);
|
|
26123
26385
|
});
|
|
26124
26386
|
}
|
|
26125
26387
|
getPosts(params2, opts) {
|
|
26126
26388
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
26127
|
-
throw
|
|
26389
|
+
throw toKnownErr83(e);
|
|
26128
26390
|
});
|
|
26129
26391
|
}
|
|
26130
26392
|
getRepostedBy(params2, opts) {
|
|
26131
26393
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
26132
|
-
throw
|
|
26394
|
+
throw toKnownErr84(e);
|
|
26133
26395
|
});
|
|
26134
26396
|
}
|
|
26135
26397
|
getSuggestedFeeds(params2, opts) {
|
|
26136
26398
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
26137
|
-
throw
|
|
26399
|
+
throw toKnownErr85(e);
|
|
26138
26400
|
});
|
|
26139
26401
|
}
|
|
26140
26402
|
getTimeline(params2, opts) {
|
|
26141
26403
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
26142
|
-
throw
|
|
26404
|
+
throw toKnownErr86(e);
|
|
26143
26405
|
});
|
|
26144
26406
|
}
|
|
26145
26407
|
searchPosts(params2, opts) {
|
|
26146
26408
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
26147
|
-
throw
|
|
26409
|
+
throw toKnownErr87(e);
|
|
26148
26410
|
});
|
|
26149
26411
|
}
|
|
26150
26412
|
};
|
|
@@ -26294,67 +26556,67 @@ var GraphNS = class {
|
|
|
26294
26556
|
}
|
|
26295
26557
|
getBlocks(params2, opts) {
|
|
26296
26558
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
26297
|
-
throw
|
|
26559
|
+
throw toKnownErr88(e);
|
|
26298
26560
|
});
|
|
26299
26561
|
}
|
|
26300
26562
|
getFollowers(params2, opts) {
|
|
26301
26563
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
26302
|
-
throw
|
|
26564
|
+
throw toKnownErr89(e);
|
|
26303
26565
|
});
|
|
26304
26566
|
}
|
|
26305
26567
|
getFollows(params2, opts) {
|
|
26306
26568
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
26307
|
-
throw
|
|
26569
|
+
throw toKnownErr90(e);
|
|
26308
26570
|
});
|
|
26309
26571
|
}
|
|
26310
26572
|
getList(params2, opts) {
|
|
26311
26573
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
26312
|
-
throw
|
|
26574
|
+
throw toKnownErr91(e);
|
|
26313
26575
|
});
|
|
26314
26576
|
}
|
|
26315
26577
|
getListBlocks(params2, opts) {
|
|
26316
26578
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
26317
|
-
throw
|
|
26579
|
+
throw toKnownErr92(e);
|
|
26318
26580
|
});
|
|
26319
26581
|
}
|
|
26320
26582
|
getListMutes(params2, opts) {
|
|
26321
26583
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
26322
|
-
throw
|
|
26584
|
+
throw toKnownErr93(e);
|
|
26323
26585
|
});
|
|
26324
26586
|
}
|
|
26325
26587
|
getLists(params2, opts) {
|
|
26326
26588
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
26327
|
-
throw
|
|
26589
|
+
throw toKnownErr94(e);
|
|
26328
26590
|
});
|
|
26329
26591
|
}
|
|
26330
26592
|
getMutes(params2, opts) {
|
|
26331
26593
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
26332
|
-
throw
|
|
26594
|
+
throw toKnownErr95(e);
|
|
26333
26595
|
});
|
|
26334
26596
|
}
|
|
26335
26597
|
getSuggestedFollowsByActor(params2, opts) {
|
|
26336
26598
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
26337
|
-
throw
|
|
26599
|
+
throw toKnownErr96(e);
|
|
26338
26600
|
});
|
|
26339
26601
|
}
|
|
26340
26602
|
muteActor(data, opts) {
|
|
26341
26603
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
26342
|
-
throw
|
|
26604
|
+
throw toKnownErr97(e);
|
|
26343
26605
|
});
|
|
26344
26606
|
}
|
|
26345
26607
|
muteActorList(data, opts) {
|
|
26346
26608
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
26347
|
-
throw
|
|
26609
|
+
throw toKnownErr98(e);
|
|
26348
26610
|
});
|
|
26349
26611
|
}
|
|
26350
26612
|
unmuteActor(data, opts) {
|
|
26351
26613
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
26352
|
-
throw
|
|
26614
|
+
throw toKnownErr99(e);
|
|
26353
26615
|
});
|
|
26354
26616
|
}
|
|
26355
26617
|
unmuteActorList(data, opts) {
|
|
26356
26618
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
26357
|
-
throw
|
|
26619
|
+
throw toKnownErr100(e);
|
|
26358
26620
|
});
|
|
26359
26621
|
}
|
|
26360
26622
|
};
|
|
@@ -26499,22 +26761,22 @@ var NotificationNS = class {
|
|
|
26499
26761
|
}
|
|
26500
26762
|
getUnreadCount(params2, opts) {
|
|
26501
26763
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
26502
|
-
throw
|
|
26764
|
+
throw toKnownErr101(e);
|
|
26503
26765
|
});
|
|
26504
26766
|
}
|
|
26505
26767
|
listNotifications(params2, opts) {
|
|
26506
26768
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
26507
|
-
throw
|
|
26769
|
+
throw toKnownErr102(e);
|
|
26508
26770
|
});
|
|
26509
26771
|
}
|
|
26510
26772
|
registerPush(data, opts) {
|
|
26511
26773
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
26512
|
-
throw
|
|
26774
|
+
throw toKnownErr103(e);
|
|
26513
26775
|
});
|
|
26514
26776
|
}
|
|
26515
26777
|
updateSeen(data, opts) {
|
|
26516
26778
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
26517
|
-
throw
|
|
26779
|
+
throw toKnownErr104(e);
|
|
26518
26780
|
});
|
|
26519
26781
|
}
|
|
26520
26782
|
};
|
|
@@ -26529,27 +26791,27 @@ var UnspeccedNS = class {
|
|
|
26529
26791
|
}
|
|
26530
26792
|
getPopular(params2, opts) {
|
|
26531
26793
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
26532
|
-
throw
|
|
26794
|
+
throw toKnownErr105(e);
|
|
26533
26795
|
});
|
|
26534
26796
|
}
|
|
26535
26797
|
getPopularFeedGenerators(params2, opts) {
|
|
26536
26798
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
26537
|
-
throw
|
|
26799
|
+
throw toKnownErr106(e);
|
|
26538
26800
|
});
|
|
26539
26801
|
}
|
|
26540
26802
|
getTimelineSkeleton(params2, opts) {
|
|
26541
26803
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
26542
|
-
throw
|
|
26804
|
+
throw toKnownErr107(e);
|
|
26543
26805
|
});
|
|
26544
26806
|
}
|
|
26545
26807
|
searchActorsSkeleton(params2, opts) {
|
|
26546
26808
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
26547
|
-
throw
|
|
26809
|
+
throw toKnownErr108(e);
|
|
26548
26810
|
});
|
|
26549
26811
|
}
|
|
26550
26812
|
searchPostsSkeleton(params2, opts) {
|
|
26551
26813
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
26552
|
-
throw
|
|
26814
|
+
throw toKnownErr109(e);
|
|
26553
26815
|
});
|
|
26554
26816
|
}
|
|
26555
26817
|
};
|