@atproto/api 0.6.21 → 0.6.23
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 +18 -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 +203 -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/getSession.d.ts +1 -0
- package/dist/client/types/com/atproto/server/reserveSigningKey.d.ts +5 -1
- package/dist/index.js +604 -338
- package/dist/index.js.map +3 -3
- package/package.json +7 -7
- package/src/agent.ts +1 -0
- package/src/client/index.ts +39 -0
- package/src/client/lexicons.ts +219 -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/getSession.ts +1 -0
- package/src/client/types/com/atproto/server/reserveSigningKey.ts +6 -1
- package/src/moderation/accumulator.ts +0 -1
- package/tests/agent.test.ts +14 -3
- 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
|
}
|
|
@@ -18456,6 +18634,9 @@ var schemaDict = {
|
|
|
18456
18634
|
},
|
|
18457
18635
|
emailConfirmed: {
|
|
18458
18636
|
type: "boolean"
|
|
18637
|
+
},
|
|
18638
|
+
didDoc: {
|
|
18639
|
+
type: "unknown"
|
|
18459
18640
|
}
|
|
18460
18641
|
}
|
|
18461
18642
|
}
|
|
@@ -18619,6 +18800,18 @@ var schemaDict = {
|
|
|
18619
18800
|
main: {
|
|
18620
18801
|
type: "procedure",
|
|
18621
18802
|
description: "Reserve a repo signing key for account creation.",
|
|
18803
|
+
input: {
|
|
18804
|
+
encoding: "application/json",
|
|
18805
|
+
schema: {
|
|
18806
|
+
type: "object",
|
|
18807
|
+
properties: {
|
|
18808
|
+
did: {
|
|
18809
|
+
type: "string",
|
|
18810
|
+
description: "The did to reserve a new did:key for"
|
|
18811
|
+
}
|
|
18812
|
+
}
|
|
18813
|
+
}
|
|
18814
|
+
},
|
|
18622
18815
|
output: {
|
|
18623
18816
|
encoding: "application/json",
|
|
18624
18817
|
schema: {
|
|
@@ -23004,12 +23197,23 @@ function toKnownErr3(e) {
|
|
|
23004
23197
|
return e;
|
|
23005
23198
|
}
|
|
23006
23199
|
|
|
23200
|
+
// src/client/types/com/atproto/admin/getAccountInfo.ts
|
|
23201
|
+
var getAccountInfo_exports = {};
|
|
23202
|
+
__export(getAccountInfo_exports, {
|
|
23203
|
+
toKnownErr: () => toKnownErr4
|
|
23204
|
+
});
|
|
23205
|
+
function toKnownErr4(e) {
|
|
23206
|
+
if (e instanceof XRPCError) {
|
|
23207
|
+
}
|
|
23208
|
+
return e;
|
|
23209
|
+
}
|
|
23210
|
+
|
|
23007
23211
|
// src/client/types/com/atproto/admin/getInviteCodes.ts
|
|
23008
23212
|
var getInviteCodes_exports = {};
|
|
23009
23213
|
__export(getInviteCodes_exports, {
|
|
23010
|
-
toKnownErr: () =>
|
|
23214
|
+
toKnownErr: () => toKnownErr5
|
|
23011
23215
|
});
|
|
23012
|
-
function
|
|
23216
|
+
function toKnownErr5(e) {
|
|
23013
23217
|
if (e instanceof XRPCError) {
|
|
23014
23218
|
}
|
|
23015
23219
|
return e;
|
|
@@ -23018,9 +23222,9 @@ function toKnownErr4(e) {
|
|
|
23018
23222
|
// src/client/types/com/atproto/admin/getModerationAction.ts
|
|
23019
23223
|
var getModerationAction_exports = {};
|
|
23020
23224
|
__export(getModerationAction_exports, {
|
|
23021
|
-
toKnownErr: () =>
|
|
23225
|
+
toKnownErr: () => toKnownErr6
|
|
23022
23226
|
});
|
|
23023
|
-
function
|
|
23227
|
+
function toKnownErr6(e) {
|
|
23024
23228
|
if (e instanceof XRPCError) {
|
|
23025
23229
|
}
|
|
23026
23230
|
return e;
|
|
@@ -23029,9 +23233,9 @@ function toKnownErr5(e) {
|
|
|
23029
23233
|
// src/client/types/com/atproto/admin/getModerationActions.ts
|
|
23030
23234
|
var getModerationActions_exports = {};
|
|
23031
23235
|
__export(getModerationActions_exports, {
|
|
23032
|
-
toKnownErr: () =>
|
|
23236
|
+
toKnownErr: () => toKnownErr7
|
|
23033
23237
|
});
|
|
23034
|
-
function
|
|
23238
|
+
function toKnownErr7(e) {
|
|
23035
23239
|
if (e instanceof XRPCError) {
|
|
23036
23240
|
}
|
|
23037
23241
|
return e;
|
|
@@ -23040,9 +23244,9 @@ function toKnownErr6(e) {
|
|
|
23040
23244
|
// src/client/types/com/atproto/admin/getModerationReport.ts
|
|
23041
23245
|
var getModerationReport_exports = {};
|
|
23042
23246
|
__export(getModerationReport_exports, {
|
|
23043
|
-
toKnownErr: () =>
|
|
23247
|
+
toKnownErr: () => toKnownErr8
|
|
23044
23248
|
});
|
|
23045
|
-
function
|
|
23249
|
+
function toKnownErr8(e) {
|
|
23046
23250
|
if (e instanceof XRPCError) {
|
|
23047
23251
|
}
|
|
23048
23252
|
return e;
|
|
@@ -23051,9 +23255,9 @@ function toKnownErr7(e) {
|
|
|
23051
23255
|
// src/client/types/com/atproto/admin/getModerationReports.ts
|
|
23052
23256
|
var getModerationReports_exports = {};
|
|
23053
23257
|
__export(getModerationReports_exports, {
|
|
23054
|
-
toKnownErr: () =>
|
|
23258
|
+
toKnownErr: () => toKnownErr9
|
|
23055
23259
|
});
|
|
23056
|
-
function
|
|
23260
|
+
function toKnownErr9(e) {
|
|
23057
23261
|
if (e instanceof XRPCError) {
|
|
23058
23262
|
}
|
|
23059
23263
|
return e;
|
|
@@ -23063,14 +23267,14 @@ function toKnownErr8(e) {
|
|
|
23063
23267
|
var getRecord_exports = {};
|
|
23064
23268
|
__export(getRecord_exports, {
|
|
23065
23269
|
RecordNotFoundError: () => RecordNotFoundError,
|
|
23066
|
-
toKnownErr: () =>
|
|
23270
|
+
toKnownErr: () => toKnownErr10
|
|
23067
23271
|
});
|
|
23068
23272
|
var RecordNotFoundError = class extends XRPCError {
|
|
23069
23273
|
constructor(src2) {
|
|
23070
23274
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23071
23275
|
}
|
|
23072
23276
|
};
|
|
23073
|
-
function
|
|
23277
|
+
function toKnownErr10(e) {
|
|
23074
23278
|
if (e instanceof XRPCError) {
|
|
23075
23279
|
if (e.error === "RecordNotFound")
|
|
23076
23280
|
return new RecordNotFoundError(e);
|
|
@@ -23082,14 +23286,14 @@ function toKnownErr9(e) {
|
|
|
23082
23286
|
var getRepo_exports = {};
|
|
23083
23287
|
__export(getRepo_exports, {
|
|
23084
23288
|
RepoNotFoundError: () => RepoNotFoundError,
|
|
23085
|
-
toKnownErr: () =>
|
|
23289
|
+
toKnownErr: () => toKnownErr11
|
|
23086
23290
|
});
|
|
23087
23291
|
var RepoNotFoundError = class extends XRPCError {
|
|
23088
23292
|
constructor(src2) {
|
|
23089
23293
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23090
23294
|
}
|
|
23091
23295
|
};
|
|
23092
|
-
function
|
|
23296
|
+
function toKnownErr11(e) {
|
|
23093
23297
|
if (e instanceof XRPCError) {
|
|
23094
23298
|
if (e.error === "RepoNotFound")
|
|
23095
23299
|
return new RepoNotFoundError(e);
|
|
@@ -23097,12 +23301,23 @@ function toKnownErr10(e) {
|
|
|
23097
23301
|
return e;
|
|
23098
23302
|
}
|
|
23099
23303
|
|
|
23304
|
+
// src/client/types/com/atproto/admin/getSubjectStatus.ts
|
|
23305
|
+
var getSubjectStatus_exports = {};
|
|
23306
|
+
__export(getSubjectStatus_exports, {
|
|
23307
|
+
toKnownErr: () => toKnownErr12
|
|
23308
|
+
});
|
|
23309
|
+
function toKnownErr12(e) {
|
|
23310
|
+
if (e instanceof XRPCError) {
|
|
23311
|
+
}
|
|
23312
|
+
return e;
|
|
23313
|
+
}
|
|
23314
|
+
|
|
23100
23315
|
// src/client/types/com/atproto/admin/resolveModerationReports.ts
|
|
23101
23316
|
var resolveModerationReports_exports = {};
|
|
23102
23317
|
__export(resolveModerationReports_exports, {
|
|
23103
|
-
toKnownErr: () =>
|
|
23318
|
+
toKnownErr: () => toKnownErr13
|
|
23104
23319
|
});
|
|
23105
|
-
function
|
|
23320
|
+
function toKnownErr13(e) {
|
|
23106
23321
|
if (e instanceof XRPCError) {
|
|
23107
23322
|
}
|
|
23108
23323
|
return e;
|
|
@@ -23111,9 +23326,9 @@ function toKnownErr11(e) {
|
|
|
23111
23326
|
// src/client/types/com/atproto/admin/reverseModerationAction.ts
|
|
23112
23327
|
var reverseModerationAction_exports = {};
|
|
23113
23328
|
__export(reverseModerationAction_exports, {
|
|
23114
|
-
toKnownErr: () =>
|
|
23329
|
+
toKnownErr: () => toKnownErr14
|
|
23115
23330
|
});
|
|
23116
|
-
function
|
|
23331
|
+
function toKnownErr14(e) {
|
|
23117
23332
|
if (e instanceof XRPCError) {
|
|
23118
23333
|
}
|
|
23119
23334
|
return e;
|
|
@@ -23122,9 +23337,9 @@ function toKnownErr12(e) {
|
|
|
23122
23337
|
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
23123
23338
|
var searchRepos_exports = {};
|
|
23124
23339
|
__export(searchRepos_exports, {
|
|
23125
|
-
toKnownErr: () =>
|
|
23340
|
+
toKnownErr: () => toKnownErr15
|
|
23126
23341
|
});
|
|
23127
|
-
function
|
|
23342
|
+
function toKnownErr15(e) {
|
|
23128
23343
|
if (e instanceof XRPCError) {
|
|
23129
23344
|
}
|
|
23130
23345
|
return e;
|
|
@@ -23133,9 +23348,9 @@ function toKnownErr13(e) {
|
|
|
23133
23348
|
// src/client/types/com/atproto/admin/sendEmail.ts
|
|
23134
23349
|
var sendEmail_exports = {};
|
|
23135
23350
|
__export(sendEmail_exports, {
|
|
23136
|
-
toKnownErr: () =>
|
|
23351
|
+
toKnownErr: () => toKnownErr16
|
|
23137
23352
|
});
|
|
23138
|
-
function
|
|
23353
|
+
function toKnownErr16(e) {
|
|
23139
23354
|
if (e instanceof XRPCError) {
|
|
23140
23355
|
}
|
|
23141
23356
|
return e;
|
|
@@ -23145,14 +23360,14 @@ function toKnownErr14(e) {
|
|
|
23145
23360
|
var takeModerationAction_exports = {};
|
|
23146
23361
|
__export(takeModerationAction_exports, {
|
|
23147
23362
|
SubjectHasActionError: () => SubjectHasActionError,
|
|
23148
|
-
toKnownErr: () =>
|
|
23363
|
+
toKnownErr: () => toKnownErr17
|
|
23149
23364
|
});
|
|
23150
23365
|
var SubjectHasActionError = class extends XRPCError {
|
|
23151
23366
|
constructor(src2) {
|
|
23152
23367
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23153
23368
|
}
|
|
23154
23369
|
};
|
|
23155
|
-
function
|
|
23370
|
+
function toKnownErr17(e) {
|
|
23156
23371
|
if (e instanceof XRPCError) {
|
|
23157
23372
|
if (e.error === "SubjectHasAction")
|
|
23158
23373
|
return new SubjectHasActionError(e);
|
|
@@ -23163,9 +23378,9 @@ function toKnownErr15(e) {
|
|
|
23163
23378
|
// src/client/types/com/atproto/admin/updateAccountEmail.ts
|
|
23164
23379
|
var updateAccountEmail_exports = {};
|
|
23165
23380
|
__export(updateAccountEmail_exports, {
|
|
23166
|
-
toKnownErr: () =>
|
|
23381
|
+
toKnownErr: () => toKnownErr18
|
|
23167
23382
|
});
|
|
23168
|
-
function
|
|
23383
|
+
function toKnownErr18(e) {
|
|
23169
23384
|
if (e instanceof XRPCError) {
|
|
23170
23385
|
}
|
|
23171
23386
|
return e;
|
|
@@ -23174,9 +23389,20 @@ function toKnownErr16(e) {
|
|
|
23174
23389
|
// src/client/types/com/atproto/admin/updateAccountHandle.ts
|
|
23175
23390
|
var updateAccountHandle_exports = {};
|
|
23176
23391
|
__export(updateAccountHandle_exports, {
|
|
23177
|
-
toKnownErr: () =>
|
|
23392
|
+
toKnownErr: () => toKnownErr19
|
|
23178
23393
|
});
|
|
23179
|
-
function
|
|
23394
|
+
function toKnownErr19(e) {
|
|
23395
|
+
if (e instanceof XRPCError) {
|
|
23396
|
+
}
|
|
23397
|
+
return e;
|
|
23398
|
+
}
|
|
23399
|
+
|
|
23400
|
+
// src/client/types/com/atproto/admin/updateSubjectStatus.ts
|
|
23401
|
+
var updateSubjectStatus_exports = {};
|
|
23402
|
+
__export(updateSubjectStatus_exports, {
|
|
23403
|
+
toKnownErr: () => toKnownErr20
|
|
23404
|
+
});
|
|
23405
|
+
function toKnownErr20(e) {
|
|
23180
23406
|
if (e instanceof XRPCError) {
|
|
23181
23407
|
}
|
|
23182
23408
|
return e;
|
|
@@ -23185,9 +23411,9 @@ function toKnownErr17(e) {
|
|
|
23185
23411
|
// src/client/types/com/atproto/identity/resolveHandle.ts
|
|
23186
23412
|
var resolveHandle_exports = {};
|
|
23187
23413
|
__export(resolveHandle_exports, {
|
|
23188
|
-
toKnownErr: () =>
|
|
23414
|
+
toKnownErr: () => toKnownErr21
|
|
23189
23415
|
});
|
|
23190
|
-
function
|
|
23416
|
+
function toKnownErr21(e) {
|
|
23191
23417
|
if (e instanceof XRPCError) {
|
|
23192
23418
|
}
|
|
23193
23419
|
return e;
|
|
@@ -23196,9 +23422,9 @@ function toKnownErr18(e) {
|
|
|
23196
23422
|
// src/client/types/com/atproto/identity/updateHandle.ts
|
|
23197
23423
|
var updateHandle_exports = {};
|
|
23198
23424
|
__export(updateHandle_exports, {
|
|
23199
|
-
toKnownErr: () =>
|
|
23425
|
+
toKnownErr: () => toKnownErr22
|
|
23200
23426
|
});
|
|
23201
|
-
function
|
|
23427
|
+
function toKnownErr22(e) {
|
|
23202
23428
|
if (e instanceof XRPCError) {
|
|
23203
23429
|
}
|
|
23204
23430
|
return e;
|
|
@@ -23207,9 +23433,9 @@ function toKnownErr19(e) {
|
|
|
23207
23433
|
// src/client/types/com/atproto/label/queryLabels.ts
|
|
23208
23434
|
var queryLabels_exports = {};
|
|
23209
23435
|
__export(queryLabels_exports, {
|
|
23210
|
-
toKnownErr: () =>
|
|
23436
|
+
toKnownErr: () => toKnownErr23
|
|
23211
23437
|
});
|
|
23212
|
-
function
|
|
23438
|
+
function toKnownErr23(e) {
|
|
23213
23439
|
if (e instanceof XRPCError) {
|
|
23214
23440
|
}
|
|
23215
23441
|
return e;
|
|
@@ -23218,9 +23444,9 @@ function toKnownErr20(e) {
|
|
|
23218
23444
|
// src/client/types/com/atproto/moderation/createReport.ts
|
|
23219
23445
|
var createReport_exports = {};
|
|
23220
23446
|
__export(createReport_exports, {
|
|
23221
|
-
toKnownErr: () =>
|
|
23447
|
+
toKnownErr: () => toKnownErr24
|
|
23222
23448
|
});
|
|
23223
|
-
function
|
|
23449
|
+
function toKnownErr24(e) {
|
|
23224
23450
|
if (e instanceof XRPCError) {
|
|
23225
23451
|
}
|
|
23226
23452
|
return e;
|
|
@@ -23233,7 +23459,7 @@ __export(applyWrites_exports, {
|
|
|
23233
23459
|
isCreate: () => isCreate,
|
|
23234
23460
|
isDelete: () => isDelete,
|
|
23235
23461
|
isUpdate: () => isUpdate,
|
|
23236
|
-
toKnownErr: () =>
|
|
23462
|
+
toKnownErr: () => toKnownErr25,
|
|
23237
23463
|
validateCreate: () => validateCreate,
|
|
23238
23464
|
validateDelete: () => validateDelete,
|
|
23239
23465
|
validateUpdate: () => validateUpdate
|
|
@@ -23253,7 +23479,7 @@ var InvalidSwapError = class extends XRPCError {
|
|
|
23253
23479
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23254
23480
|
}
|
|
23255
23481
|
};
|
|
23256
|
-
function
|
|
23482
|
+
function toKnownErr25(e) {
|
|
23257
23483
|
if (e instanceof XRPCError) {
|
|
23258
23484
|
if (e.error === "InvalidSwap")
|
|
23259
23485
|
return new InvalidSwapError(e);
|
|
@@ -23283,14 +23509,14 @@ function validateDelete(v) {
|
|
|
23283
23509
|
var createRecord_exports = {};
|
|
23284
23510
|
__export(createRecord_exports, {
|
|
23285
23511
|
InvalidSwapError: () => InvalidSwapError2,
|
|
23286
|
-
toKnownErr: () =>
|
|
23512
|
+
toKnownErr: () => toKnownErr26
|
|
23287
23513
|
});
|
|
23288
23514
|
var InvalidSwapError2 = class extends XRPCError {
|
|
23289
23515
|
constructor(src2) {
|
|
23290
23516
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23291
23517
|
}
|
|
23292
23518
|
};
|
|
23293
|
-
function
|
|
23519
|
+
function toKnownErr26(e) {
|
|
23294
23520
|
if (e instanceof XRPCError) {
|
|
23295
23521
|
if (e.error === "InvalidSwap")
|
|
23296
23522
|
return new InvalidSwapError2(e);
|
|
@@ -23302,14 +23528,14 @@ function toKnownErr23(e) {
|
|
|
23302
23528
|
var deleteRecord_exports = {};
|
|
23303
23529
|
__export(deleteRecord_exports, {
|
|
23304
23530
|
InvalidSwapError: () => InvalidSwapError3,
|
|
23305
|
-
toKnownErr: () =>
|
|
23531
|
+
toKnownErr: () => toKnownErr27
|
|
23306
23532
|
});
|
|
23307
23533
|
var InvalidSwapError3 = class extends XRPCError {
|
|
23308
23534
|
constructor(src2) {
|
|
23309
23535
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23310
23536
|
}
|
|
23311
23537
|
};
|
|
23312
|
-
function
|
|
23538
|
+
function toKnownErr27(e) {
|
|
23313
23539
|
if (e instanceof XRPCError) {
|
|
23314
23540
|
if (e.error === "InvalidSwap")
|
|
23315
23541
|
return new InvalidSwapError3(e);
|
|
@@ -23320,9 +23546,9 @@ function toKnownErr24(e) {
|
|
|
23320
23546
|
// src/client/types/com/atproto/repo/describeRepo.ts
|
|
23321
23547
|
var describeRepo_exports = {};
|
|
23322
23548
|
__export(describeRepo_exports, {
|
|
23323
|
-
toKnownErr: () =>
|
|
23549
|
+
toKnownErr: () => toKnownErr28
|
|
23324
23550
|
});
|
|
23325
|
-
function
|
|
23551
|
+
function toKnownErr28(e) {
|
|
23326
23552
|
if (e instanceof XRPCError) {
|
|
23327
23553
|
}
|
|
23328
23554
|
return e;
|
|
@@ -23331,9 +23557,9 @@ function toKnownErr25(e) {
|
|
|
23331
23557
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
23332
23558
|
var getRecord_exports2 = {};
|
|
23333
23559
|
__export(getRecord_exports2, {
|
|
23334
|
-
toKnownErr: () =>
|
|
23560
|
+
toKnownErr: () => toKnownErr29
|
|
23335
23561
|
});
|
|
23336
|
-
function
|
|
23562
|
+
function toKnownErr29(e) {
|
|
23337
23563
|
if (e instanceof XRPCError) {
|
|
23338
23564
|
}
|
|
23339
23565
|
return e;
|
|
@@ -23343,10 +23569,10 @@ function toKnownErr26(e) {
|
|
|
23343
23569
|
var listRecords_exports = {};
|
|
23344
23570
|
__export(listRecords_exports, {
|
|
23345
23571
|
isRecord: () => isRecord,
|
|
23346
|
-
toKnownErr: () =>
|
|
23572
|
+
toKnownErr: () => toKnownErr30,
|
|
23347
23573
|
validateRecord: () => validateRecord
|
|
23348
23574
|
});
|
|
23349
|
-
function
|
|
23575
|
+
function toKnownErr30(e) {
|
|
23350
23576
|
if (e instanceof XRPCError) {
|
|
23351
23577
|
}
|
|
23352
23578
|
return e;
|
|
@@ -23362,14 +23588,14 @@ function validateRecord(v) {
|
|
|
23362
23588
|
var putRecord_exports = {};
|
|
23363
23589
|
__export(putRecord_exports, {
|
|
23364
23590
|
InvalidSwapError: () => InvalidSwapError4,
|
|
23365
|
-
toKnownErr: () =>
|
|
23591
|
+
toKnownErr: () => toKnownErr31
|
|
23366
23592
|
});
|
|
23367
23593
|
var InvalidSwapError4 = class extends XRPCError {
|
|
23368
23594
|
constructor(src2) {
|
|
23369
23595
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23370
23596
|
}
|
|
23371
23597
|
};
|
|
23372
|
-
function
|
|
23598
|
+
function toKnownErr31(e) {
|
|
23373
23599
|
if (e instanceof XRPCError) {
|
|
23374
23600
|
if (e.error === "InvalidSwap")
|
|
23375
23601
|
return new InvalidSwapError4(e);
|
|
@@ -23380,9 +23606,9 @@ function toKnownErr28(e) {
|
|
|
23380
23606
|
// src/client/types/com/atproto/repo/uploadBlob.ts
|
|
23381
23607
|
var uploadBlob_exports = {};
|
|
23382
23608
|
__export(uploadBlob_exports, {
|
|
23383
|
-
toKnownErr: () =>
|
|
23609
|
+
toKnownErr: () => toKnownErr32
|
|
23384
23610
|
});
|
|
23385
|
-
function
|
|
23611
|
+
function toKnownErr32(e) {
|
|
23386
23612
|
if (e instanceof XRPCError) {
|
|
23387
23613
|
}
|
|
23388
23614
|
return e;
|
|
@@ -23395,7 +23621,7 @@ __export(confirmEmail_exports, {
|
|
|
23395
23621
|
ExpiredTokenError: () => ExpiredTokenError,
|
|
23396
23622
|
InvalidEmailError: () => InvalidEmailError,
|
|
23397
23623
|
InvalidTokenError: () => InvalidTokenError,
|
|
23398
|
-
toKnownErr: () =>
|
|
23624
|
+
toKnownErr: () => toKnownErr33
|
|
23399
23625
|
});
|
|
23400
23626
|
var AccountNotFoundError = class extends XRPCError {
|
|
23401
23627
|
constructor(src2) {
|
|
@@ -23417,7 +23643,7 @@ var InvalidEmailError = class extends XRPCError {
|
|
|
23417
23643
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23418
23644
|
}
|
|
23419
23645
|
};
|
|
23420
|
-
function
|
|
23646
|
+
function toKnownErr33(e) {
|
|
23421
23647
|
if (e instanceof XRPCError) {
|
|
23422
23648
|
if (e.error === "AccountNotFound")
|
|
23423
23649
|
return new AccountNotFoundError(e);
|
|
@@ -23441,7 +23667,7 @@ __export(createAccount_exports, {
|
|
|
23441
23667
|
InvalidPasswordError: () => InvalidPasswordError,
|
|
23442
23668
|
UnresolvableDidError: () => UnresolvableDidError,
|
|
23443
23669
|
UnsupportedDomainError: () => UnsupportedDomainError,
|
|
23444
|
-
toKnownErr: () =>
|
|
23670
|
+
toKnownErr: () => toKnownErr34
|
|
23445
23671
|
});
|
|
23446
23672
|
var InvalidHandleError2 = class extends XRPCError {
|
|
23447
23673
|
constructor(src2) {
|
|
@@ -23478,7 +23704,7 @@ var IncompatibleDidDocError = class extends XRPCError {
|
|
|
23478
23704
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23479
23705
|
}
|
|
23480
23706
|
};
|
|
23481
|
-
function
|
|
23707
|
+
function toKnownErr34(e) {
|
|
23482
23708
|
if (e instanceof XRPCError) {
|
|
23483
23709
|
if (e.error === "InvalidHandle")
|
|
23484
23710
|
return new InvalidHandleError2(e);
|
|
@@ -23503,7 +23729,7 @@ var createAppPassword_exports = {};
|
|
|
23503
23729
|
__export(createAppPassword_exports, {
|
|
23504
23730
|
AccountTakedownError: () => AccountTakedownError,
|
|
23505
23731
|
isAppPassword: () => isAppPassword,
|
|
23506
|
-
toKnownErr: () =>
|
|
23732
|
+
toKnownErr: () => toKnownErr35,
|
|
23507
23733
|
validateAppPassword: () => validateAppPassword
|
|
23508
23734
|
});
|
|
23509
23735
|
var AccountTakedownError = class extends XRPCError {
|
|
@@ -23511,7 +23737,7 @@ var AccountTakedownError = class extends XRPCError {
|
|
|
23511
23737
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23512
23738
|
}
|
|
23513
23739
|
};
|
|
23514
|
-
function
|
|
23740
|
+
function toKnownErr35(e) {
|
|
23515
23741
|
if (e instanceof XRPCError) {
|
|
23516
23742
|
if (e.error === "AccountTakedown")
|
|
23517
23743
|
return new AccountTakedownError(e);
|
|
@@ -23528,9 +23754,9 @@ function validateAppPassword(v) {
|
|
|
23528
23754
|
// src/client/types/com/atproto/server/createInviteCode.ts
|
|
23529
23755
|
var createInviteCode_exports = {};
|
|
23530
23756
|
__export(createInviteCode_exports, {
|
|
23531
|
-
toKnownErr: () =>
|
|
23757
|
+
toKnownErr: () => toKnownErr36
|
|
23532
23758
|
});
|
|
23533
|
-
function
|
|
23759
|
+
function toKnownErr36(e) {
|
|
23534
23760
|
if (e instanceof XRPCError) {
|
|
23535
23761
|
}
|
|
23536
23762
|
return e;
|
|
@@ -23540,10 +23766,10 @@ function toKnownErr33(e) {
|
|
|
23540
23766
|
var createInviteCodes_exports = {};
|
|
23541
23767
|
__export(createInviteCodes_exports, {
|
|
23542
23768
|
isAccountCodes: () => isAccountCodes,
|
|
23543
|
-
toKnownErr: () =>
|
|
23769
|
+
toKnownErr: () => toKnownErr37,
|
|
23544
23770
|
validateAccountCodes: () => validateAccountCodes
|
|
23545
23771
|
});
|
|
23546
|
-
function
|
|
23772
|
+
function toKnownErr37(e) {
|
|
23547
23773
|
if (e instanceof XRPCError) {
|
|
23548
23774
|
}
|
|
23549
23775
|
return e;
|
|
@@ -23559,14 +23785,14 @@ function validateAccountCodes(v) {
|
|
|
23559
23785
|
var createSession_exports = {};
|
|
23560
23786
|
__export(createSession_exports, {
|
|
23561
23787
|
AccountTakedownError: () => AccountTakedownError2,
|
|
23562
|
-
toKnownErr: () =>
|
|
23788
|
+
toKnownErr: () => toKnownErr38
|
|
23563
23789
|
});
|
|
23564
23790
|
var AccountTakedownError2 = class extends XRPCError {
|
|
23565
23791
|
constructor(src2) {
|
|
23566
23792
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23567
23793
|
}
|
|
23568
23794
|
};
|
|
23569
|
-
function
|
|
23795
|
+
function toKnownErr38(e) {
|
|
23570
23796
|
if (e instanceof XRPCError) {
|
|
23571
23797
|
if (e.error === "AccountTakedown")
|
|
23572
23798
|
return new AccountTakedownError2(e);
|
|
@@ -23579,7 +23805,7 @@ var deleteAccount_exports = {};
|
|
|
23579
23805
|
__export(deleteAccount_exports, {
|
|
23580
23806
|
ExpiredTokenError: () => ExpiredTokenError2,
|
|
23581
23807
|
InvalidTokenError: () => InvalidTokenError2,
|
|
23582
|
-
toKnownErr: () =>
|
|
23808
|
+
toKnownErr: () => toKnownErr39
|
|
23583
23809
|
});
|
|
23584
23810
|
var ExpiredTokenError2 = class extends XRPCError {
|
|
23585
23811
|
constructor(src2) {
|
|
@@ -23591,7 +23817,7 @@ var InvalidTokenError2 = class extends XRPCError {
|
|
|
23591
23817
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23592
23818
|
}
|
|
23593
23819
|
};
|
|
23594
|
-
function
|
|
23820
|
+
function toKnownErr39(e) {
|
|
23595
23821
|
if (e instanceof XRPCError) {
|
|
23596
23822
|
if (e.error === "ExpiredToken")
|
|
23597
23823
|
return new ExpiredTokenError2(e);
|
|
@@ -23604,9 +23830,9 @@ function toKnownErr36(e) {
|
|
|
23604
23830
|
// src/client/types/com/atproto/server/deleteSession.ts
|
|
23605
23831
|
var deleteSession_exports = {};
|
|
23606
23832
|
__export(deleteSession_exports, {
|
|
23607
|
-
toKnownErr: () =>
|
|
23833
|
+
toKnownErr: () => toKnownErr40
|
|
23608
23834
|
});
|
|
23609
|
-
function
|
|
23835
|
+
function toKnownErr40(e) {
|
|
23610
23836
|
if (e instanceof XRPCError) {
|
|
23611
23837
|
}
|
|
23612
23838
|
return e;
|
|
@@ -23616,10 +23842,10 @@ function toKnownErr37(e) {
|
|
|
23616
23842
|
var describeServer_exports = {};
|
|
23617
23843
|
__export(describeServer_exports, {
|
|
23618
23844
|
isLinks: () => isLinks,
|
|
23619
|
-
toKnownErr: () =>
|
|
23845
|
+
toKnownErr: () => toKnownErr41,
|
|
23620
23846
|
validateLinks: () => validateLinks
|
|
23621
23847
|
});
|
|
23622
|
-
function
|
|
23848
|
+
function toKnownErr41(e) {
|
|
23623
23849
|
if (e instanceof XRPCError) {
|
|
23624
23850
|
}
|
|
23625
23851
|
return e;
|
|
@@ -23635,14 +23861,14 @@ function validateLinks(v) {
|
|
|
23635
23861
|
var getAccountInviteCodes_exports = {};
|
|
23636
23862
|
__export(getAccountInviteCodes_exports, {
|
|
23637
23863
|
DuplicateCreateError: () => DuplicateCreateError,
|
|
23638
|
-
toKnownErr: () =>
|
|
23864
|
+
toKnownErr: () => toKnownErr42
|
|
23639
23865
|
});
|
|
23640
23866
|
var DuplicateCreateError = class extends XRPCError {
|
|
23641
23867
|
constructor(src2) {
|
|
23642
23868
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23643
23869
|
}
|
|
23644
23870
|
};
|
|
23645
|
-
function
|
|
23871
|
+
function toKnownErr42(e) {
|
|
23646
23872
|
if (e instanceof XRPCError) {
|
|
23647
23873
|
if (e.error === "DuplicateCreate")
|
|
23648
23874
|
return new DuplicateCreateError(e);
|
|
@@ -23653,9 +23879,9 @@ function toKnownErr39(e) {
|
|
|
23653
23879
|
// src/client/types/com/atproto/server/getSession.ts
|
|
23654
23880
|
var getSession_exports = {};
|
|
23655
23881
|
__export(getSession_exports, {
|
|
23656
|
-
toKnownErr: () =>
|
|
23882
|
+
toKnownErr: () => toKnownErr43
|
|
23657
23883
|
});
|
|
23658
|
-
function
|
|
23884
|
+
function toKnownErr43(e) {
|
|
23659
23885
|
if (e instanceof XRPCError) {
|
|
23660
23886
|
}
|
|
23661
23887
|
return e;
|
|
@@ -23666,7 +23892,7 @@ var listAppPasswords_exports = {};
|
|
|
23666
23892
|
__export(listAppPasswords_exports, {
|
|
23667
23893
|
AccountTakedownError: () => AccountTakedownError3,
|
|
23668
23894
|
isAppPassword: () => isAppPassword2,
|
|
23669
|
-
toKnownErr: () =>
|
|
23895
|
+
toKnownErr: () => toKnownErr44,
|
|
23670
23896
|
validateAppPassword: () => validateAppPassword2
|
|
23671
23897
|
});
|
|
23672
23898
|
var AccountTakedownError3 = class extends XRPCError {
|
|
@@ -23674,7 +23900,7 @@ var AccountTakedownError3 = class extends XRPCError {
|
|
|
23674
23900
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23675
23901
|
}
|
|
23676
23902
|
};
|
|
23677
|
-
function
|
|
23903
|
+
function toKnownErr44(e) {
|
|
23678
23904
|
if (e instanceof XRPCError) {
|
|
23679
23905
|
if (e.error === "AccountTakedown")
|
|
23680
23906
|
return new AccountTakedownError3(e);
|
|
@@ -23692,14 +23918,14 @@ function validateAppPassword2(v) {
|
|
|
23692
23918
|
var refreshSession_exports = {};
|
|
23693
23919
|
__export(refreshSession_exports, {
|
|
23694
23920
|
AccountTakedownError: () => AccountTakedownError4,
|
|
23695
|
-
toKnownErr: () =>
|
|
23921
|
+
toKnownErr: () => toKnownErr45
|
|
23696
23922
|
});
|
|
23697
23923
|
var AccountTakedownError4 = class extends XRPCError {
|
|
23698
23924
|
constructor(src2) {
|
|
23699
23925
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23700
23926
|
}
|
|
23701
23927
|
};
|
|
23702
|
-
function
|
|
23928
|
+
function toKnownErr45(e) {
|
|
23703
23929
|
if (e instanceof XRPCError) {
|
|
23704
23930
|
if (e.error === "AccountTakedown")
|
|
23705
23931
|
return new AccountTakedownError4(e);
|
|
@@ -23710,9 +23936,9 @@ function toKnownErr42(e) {
|
|
|
23710
23936
|
// src/client/types/com/atproto/server/requestAccountDelete.ts
|
|
23711
23937
|
var requestAccountDelete_exports = {};
|
|
23712
23938
|
__export(requestAccountDelete_exports, {
|
|
23713
|
-
toKnownErr: () =>
|
|
23939
|
+
toKnownErr: () => toKnownErr46
|
|
23714
23940
|
});
|
|
23715
|
-
function
|
|
23941
|
+
function toKnownErr46(e) {
|
|
23716
23942
|
if (e instanceof XRPCError) {
|
|
23717
23943
|
}
|
|
23718
23944
|
return e;
|
|
@@ -23721,9 +23947,9 @@ function toKnownErr43(e) {
|
|
|
23721
23947
|
// src/client/types/com/atproto/server/requestEmailConfirmation.ts
|
|
23722
23948
|
var requestEmailConfirmation_exports = {};
|
|
23723
23949
|
__export(requestEmailConfirmation_exports, {
|
|
23724
|
-
toKnownErr: () =>
|
|
23950
|
+
toKnownErr: () => toKnownErr47
|
|
23725
23951
|
});
|
|
23726
|
-
function
|
|
23952
|
+
function toKnownErr47(e) {
|
|
23727
23953
|
if (e instanceof XRPCError) {
|
|
23728
23954
|
}
|
|
23729
23955
|
return e;
|
|
@@ -23732,9 +23958,9 @@ function toKnownErr44(e) {
|
|
|
23732
23958
|
// src/client/types/com/atproto/server/requestEmailUpdate.ts
|
|
23733
23959
|
var requestEmailUpdate_exports = {};
|
|
23734
23960
|
__export(requestEmailUpdate_exports, {
|
|
23735
|
-
toKnownErr: () =>
|
|
23961
|
+
toKnownErr: () => toKnownErr48
|
|
23736
23962
|
});
|
|
23737
|
-
function
|
|
23963
|
+
function toKnownErr48(e) {
|
|
23738
23964
|
if (e instanceof XRPCError) {
|
|
23739
23965
|
}
|
|
23740
23966
|
return e;
|
|
@@ -23743,9 +23969,9 @@ function toKnownErr45(e) {
|
|
|
23743
23969
|
// src/client/types/com/atproto/server/requestPasswordReset.ts
|
|
23744
23970
|
var requestPasswordReset_exports = {};
|
|
23745
23971
|
__export(requestPasswordReset_exports, {
|
|
23746
|
-
toKnownErr: () =>
|
|
23972
|
+
toKnownErr: () => toKnownErr49
|
|
23747
23973
|
});
|
|
23748
|
-
function
|
|
23974
|
+
function toKnownErr49(e) {
|
|
23749
23975
|
if (e instanceof XRPCError) {
|
|
23750
23976
|
}
|
|
23751
23977
|
return e;
|
|
@@ -23754,9 +23980,9 @@ function toKnownErr46(e) {
|
|
|
23754
23980
|
// src/client/types/com/atproto/server/reserveSigningKey.ts
|
|
23755
23981
|
var reserveSigningKey_exports = {};
|
|
23756
23982
|
__export(reserveSigningKey_exports, {
|
|
23757
|
-
toKnownErr: () =>
|
|
23983
|
+
toKnownErr: () => toKnownErr50
|
|
23758
23984
|
});
|
|
23759
|
-
function
|
|
23985
|
+
function toKnownErr50(e) {
|
|
23760
23986
|
if (e instanceof XRPCError) {
|
|
23761
23987
|
}
|
|
23762
23988
|
return e;
|
|
@@ -23767,7 +23993,7 @@ var resetPassword_exports = {};
|
|
|
23767
23993
|
__export(resetPassword_exports, {
|
|
23768
23994
|
ExpiredTokenError: () => ExpiredTokenError3,
|
|
23769
23995
|
InvalidTokenError: () => InvalidTokenError3,
|
|
23770
|
-
toKnownErr: () =>
|
|
23996
|
+
toKnownErr: () => toKnownErr51
|
|
23771
23997
|
});
|
|
23772
23998
|
var ExpiredTokenError3 = class extends XRPCError {
|
|
23773
23999
|
constructor(src2) {
|
|
@@ -23779,7 +24005,7 @@ var InvalidTokenError3 = class extends XRPCError {
|
|
|
23779
24005
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23780
24006
|
}
|
|
23781
24007
|
};
|
|
23782
|
-
function
|
|
24008
|
+
function toKnownErr51(e) {
|
|
23783
24009
|
if (e instanceof XRPCError) {
|
|
23784
24010
|
if (e.error === "ExpiredToken")
|
|
23785
24011
|
return new ExpiredTokenError3(e);
|
|
@@ -23792,9 +24018,9 @@ function toKnownErr48(e) {
|
|
|
23792
24018
|
// src/client/types/com/atproto/server/revokeAppPassword.ts
|
|
23793
24019
|
var revokeAppPassword_exports = {};
|
|
23794
24020
|
__export(revokeAppPassword_exports, {
|
|
23795
|
-
toKnownErr: () =>
|
|
24021
|
+
toKnownErr: () => toKnownErr52
|
|
23796
24022
|
});
|
|
23797
|
-
function
|
|
24023
|
+
function toKnownErr52(e) {
|
|
23798
24024
|
if (e instanceof XRPCError) {
|
|
23799
24025
|
}
|
|
23800
24026
|
return e;
|
|
@@ -23806,7 +24032,7 @@ __export(updateEmail_exports, {
|
|
|
23806
24032
|
ExpiredTokenError: () => ExpiredTokenError4,
|
|
23807
24033
|
InvalidTokenError: () => InvalidTokenError4,
|
|
23808
24034
|
TokenRequiredError: () => TokenRequiredError,
|
|
23809
|
-
toKnownErr: () =>
|
|
24035
|
+
toKnownErr: () => toKnownErr53
|
|
23810
24036
|
});
|
|
23811
24037
|
var ExpiredTokenError4 = class extends XRPCError {
|
|
23812
24038
|
constructor(src2) {
|
|
@@ -23823,7 +24049,7 @@ var TokenRequiredError = class extends XRPCError {
|
|
|
23823
24049
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23824
24050
|
}
|
|
23825
24051
|
};
|
|
23826
|
-
function
|
|
24052
|
+
function toKnownErr53(e) {
|
|
23827
24053
|
if (e instanceof XRPCError) {
|
|
23828
24054
|
if (e.error === "ExpiredToken")
|
|
23829
24055
|
return new ExpiredTokenError4(e);
|
|
@@ -23838,9 +24064,9 @@ function toKnownErr50(e) {
|
|
|
23838
24064
|
// src/client/types/com/atproto/sync/getBlob.ts
|
|
23839
24065
|
var getBlob_exports = {};
|
|
23840
24066
|
__export(getBlob_exports, {
|
|
23841
|
-
toKnownErr: () =>
|
|
24067
|
+
toKnownErr: () => toKnownErr54
|
|
23842
24068
|
});
|
|
23843
|
-
function
|
|
24069
|
+
function toKnownErr54(e) {
|
|
23844
24070
|
if (e instanceof XRPCError) {
|
|
23845
24071
|
}
|
|
23846
24072
|
return e;
|
|
@@ -23849,9 +24075,9 @@ function toKnownErr51(e) {
|
|
|
23849
24075
|
// src/client/types/com/atproto/sync/getBlocks.ts
|
|
23850
24076
|
var getBlocks_exports = {};
|
|
23851
24077
|
__export(getBlocks_exports, {
|
|
23852
|
-
toKnownErr: () =>
|
|
24078
|
+
toKnownErr: () => toKnownErr55
|
|
23853
24079
|
});
|
|
23854
|
-
function
|
|
24080
|
+
function toKnownErr55(e) {
|
|
23855
24081
|
if (e instanceof XRPCError) {
|
|
23856
24082
|
}
|
|
23857
24083
|
return e;
|
|
@@ -23860,9 +24086,9 @@ function toKnownErr52(e) {
|
|
|
23860
24086
|
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
23861
24087
|
var getCheckout_exports = {};
|
|
23862
24088
|
__export(getCheckout_exports, {
|
|
23863
|
-
toKnownErr: () =>
|
|
24089
|
+
toKnownErr: () => toKnownErr56
|
|
23864
24090
|
});
|
|
23865
|
-
function
|
|
24091
|
+
function toKnownErr56(e) {
|
|
23866
24092
|
if (e instanceof XRPCError) {
|
|
23867
24093
|
}
|
|
23868
24094
|
return e;
|
|
@@ -23872,14 +24098,14 @@ function toKnownErr53(e) {
|
|
|
23872
24098
|
var getHead_exports = {};
|
|
23873
24099
|
__export(getHead_exports, {
|
|
23874
24100
|
HeadNotFoundError: () => HeadNotFoundError,
|
|
23875
|
-
toKnownErr: () =>
|
|
24101
|
+
toKnownErr: () => toKnownErr57
|
|
23876
24102
|
});
|
|
23877
24103
|
var HeadNotFoundError = class extends XRPCError {
|
|
23878
24104
|
constructor(src2) {
|
|
23879
24105
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23880
24106
|
}
|
|
23881
24107
|
};
|
|
23882
|
-
function
|
|
24108
|
+
function toKnownErr57(e) {
|
|
23883
24109
|
if (e instanceof XRPCError) {
|
|
23884
24110
|
if (e.error === "HeadNotFound")
|
|
23885
24111
|
return new HeadNotFoundError(e);
|
|
@@ -23891,14 +24117,14 @@ function toKnownErr54(e) {
|
|
|
23891
24117
|
var getLatestCommit_exports = {};
|
|
23892
24118
|
__export(getLatestCommit_exports, {
|
|
23893
24119
|
RepoNotFoundError: () => RepoNotFoundError2,
|
|
23894
|
-
toKnownErr: () =>
|
|
24120
|
+
toKnownErr: () => toKnownErr58
|
|
23895
24121
|
});
|
|
23896
24122
|
var RepoNotFoundError2 = class extends XRPCError {
|
|
23897
24123
|
constructor(src2) {
|
|
23898
24124
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
23899
24125
|
}
|
|
23900
24126
|
};
|
|
23901
|
-
function
|
|
24127
|
+
function toKnownErr58(e) {
|
|
23902
24128
|
if (e instanceof XRPCError) {
|
|
23903
24129
|
if (e.error === "RepoNotFound")
|
|
23904
24130
|
return new RepoNotFoundError2(e);
|
|
@@ -23909,9 +24135,9 @@ function toKnownErr55(e) {
|
|
|
23909
24135
|
// src/client/types/com/atproto/sync/getRecord.ts
|
|
23910
24136
|
var getRecord_exports3 = {};
|
|
23911
24137
|
__export(getRecord_exports3, {
|
|
23912
|
-
toKnownErr: () =>
|
|
24138
|
+
toKnownErr: () => toKnownErr59
|
|
23913
24139
|
});
|
|
23914
|
-
function
|
|
24140
|
+
function toKnownErr59(e) {
|
|
23915
24141
|
if (e instanceof XRPCError) {
|
|
23916
24142
|
}
|
|
23917
24143
|
return e;
|
|
@@ -23920,9 +24146,9 @@ function toKnownErr56(e) {
|
|
|
23920
24146
|
// src/client/types/com/atproto/sync/getRepo.ts
|
|
23921
24147
|
var getRepo_exports2 = {};
|
|
23922
24148
|
__export(getRepo_exports2, {
|
|
23923
|
-
toKnownErr: () =>
|
|
24149
|
+
toKnownErr: () => toKnownErr60
|
|
23924
24150
|
});
|
|
23925
|
-
function
|
|
24151
|
+
function toKnownErr60(e) {
|
|
23926
24152
|
if (e instanceof XRPCError) {
|
|
23927
24153
|
}
|
|
23928
24154
|
return e;
|
|
@@ -23931,9 +24157,9 @@ function toKnownErr57(e) {
|
|
|
23931
24157
|
// src/client/types/com/atproto/sync/listBlobs.ts
|
|
23932
24158
|
var listBlobs_exports = {};
|
|
23933
24159
|
__export(listBlobs_exports, {
|
|
23934
|
-
toKnownErr: () =>
|
|
24160
|
+
toKnownErr: () => toKnownErr61
|
|
23935
24161
|
});
|
|
23936
|
-
function
|
|
24162
|
+
function toKnownErr61(e) {
|
|
23937
24163
|
if (e instanceof XRPCError) {
|
|
23938
24164
|
}
|
|
23939
24165
|
return e;
|
|
@@ -23943,10 +24169,10 @@ function toKnownErr58(e) {
|
|
|
23943
24169
|
var listRepos_exports = {};
|
|
23944
24170
|
__export(listRepos_exports, {
|
|
23945
24171
|
isRepo: () => isRepo,
|
|
23946
|
-
toKnownErr: () =>
|
|
24172
|
+
toKnownErr: () => toKnownErr62,
|
|
23947
24173
|
validateRepo: () => validateRepo
|
|
23948
24174
|
});
|
|
23949
|
-
function
|
|
24175
|
+
function toKnownErr62(e) {
|
|
23950
24176
|
if (e instanceof XRPCError) {
|
|
23951
24177
|
}
|
|
23952
24178
|
return e;
|
|
@@ -23961,9 +24187,9 @@ function validateRepo(v) {
|
|
|
23961
24187
|
// src/client/types/com/atproto/sync/notifyOfUpdate.ts
|
|
23962
24188
|
var notifyOfUpdate_exports = {};
|
|
23963
24189
|
__export(notifyOfUpdate_exports, {
|
|
23964
|
-
toKnownErr: () =>
|
|
24190
|
+
toKnownErr: () => toKnownErr63
|
|
23965
24191
|
});
|
|
23966
|
-
function
|
|
24192
|
+
function toKnownErr63(e) {
|
|
23967
24193
|
if (e instanceof XRPCError) {
|
|
23968
24194
|
}
|
|
23969
24195
|
return e;
|
|
@@ -23972,9 +24198,9 @@ function toKnownErr60(e) {
|
|
|
23972
24198
|
// src/client/types/com/atproto/sync/requestCrawl.ts
|
|
23973
24199
|
var requestCrawl_exports = {};
|
|
23974
24200
|
__export(requestCrawl_exports, {
|
|
23975
|
-
toKnownErr: () =>
|
|
24201
|
+
toKnownErr: () => toKnownErr64
|
|
23976
24202
|
});
|
|
23977
|
-
function
|
|
24203
|
+
function toKnownErr64(e) {
|
|
23978
24204
|
if (e instanceof XRPCError) {
|
|
23979
24205
|
}
|
|
23980
24206
|
return e;
|
|
@@ -23983,9 +24209,9 @@ function toKnownErr61(e) {
|
|
|
23983
24209
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
23984
24210
|
var getPreferences_exports = {};
|
|
23985
24211
|
__export(getPreferences_exports, {
|
|
23986
|
-
toKnownErr: () =>
|
|
24212
|
+
toKnownErr: () => toKnownErr65
|
|
23987
24213
|
});
|
|
23988
|
-
function
|
|
24214
|
+
function toKnownErr65(e) {
|
|
23989
24215
|
if (e instanceof XRPCError) {
|
|
23990
24216
|
}
|
|
23991
24217
|
return e;
|
|
@@ -23994,9 +24220,9 @@ function toKnownErr62(e) {
|
|
|
23994
24220
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
23995
24221
|
var getProfile_exports = {};
|
|
23996
24222
|
__export(getProfile_exports, {
|
|
23997
|
-
toKnownErr: () =>
|
|
24223
|
+
toKnownErr: () => toKnownErr66
|
|
23998
24224
|
});
|
|
23999
|
-
function
|
|
24225
|
+
function toKnownErr66(e) {
|
|
24000
24226
|
if (e instanceof XRPCError) {
|
|
24001
24227
|
}
|
|
24002
24228
|
return e;
|
|
@@ -24005,9 +24231,9 @@ function toKnownErr63(e) {
|
|
|
24005
24231
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
24006
24232
|
var getProfiles_exports = {};
|
|
24007
24233
|
__export(getProfiles_exports, {
|
|
24008
|
-
toKnownErr: () =>
|
|
24234
|
+
toKnownErr: () => toKnownErr67
|
|
24009
24235
|
});
|
|
24010
|
-
function
|
|
24236
|
+
function toKnownErr67(e) {
|
|
24011
24237
|
if (e instanceof XRPCError) {
|
|
24012
24238
|
}
|
|
24013
24239
|
return e;
|
|
@@ -24016,9 +24242,9 @@ function toKnownErr64(e) {
|
|
|
24016
24242
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
24017
24243
|
var getSuggestions_exports = {};
|
|
24018
24244
|
__export(getSuggestions_exports, {
|
|
24019
|
-
toKnownErr: () =>
|
|
24245
|
+
toKnownErr: () => toKnownErr68
|
|
24020
24246
|
});
|
|
24021
|
-
function
|
|
24247
|
+
function toKnownErr68(e) {
|
|
24022
24248
|
if (e instanceof XRPCError) {
|
|
24023
24249
|
}
|
|
24024
24250
|
return e;
|
|
@@ -24027,9 +24253,9 @@ function toKnownErr65(e) {
|
|
|
24027
24253
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
24028
24254
|
var putPreferences_exports = {};
|
|
24029
24255
|
__export(putPreferences_exports, {
|
|
24030
|
-
toKnownErr: () =>
|
|
24256
|
+
toKnownErr: () => toKnownErr69
|
|
24031
24257
|
});
|
|
24032
|
-
function
|
|
24258
|
+
function toKnownErr69(e) {
|
|
24033
24259
|
if (e instanceof XRPCError) {
|
|
24034
24260
|
}
|
|
24035
24261
|
return e;
|
|
@@ -24038,9 +24264,9 @@ function toKnownErr66(e) {
|
|
|
24038
24264
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
24039
24265
|
var searchActors_exports = {};
|
|
24040
24266
|
__export(searchActors_exports, {
|
|
24041
|
-
toKnownErr: () =>
|
|
24267
|
+
toKnownErr: () => toKnownErr70
|
|
24042
24268
|
});
|
|
24043
|
-
function
|
|
24269
|
+
function toKnownErr70(e) {
|
|
24044
24270
|
if (e instanceof XRPCError) {
|
|
24045
24271
|
}
|
|
24046
24272
|
return e;
|
|
@@ -24049,9 +24275,9 @@ function toKnownErr67(e) {
|
|
|
24049
24275
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
24050
24276
|
var searchActorsTypeahead_exports = {};
|
|
24051
24277
|
__export(searchActorsTypeahead_exports, {
|
|
24052
|
-
toKnownErr: () =>
|
|
24278
|
+
toKnownErr: () => toKnownErr71
|
|
24053
24279
|
});
|
|
24054
|
-
function
|
|
24280
|
+
function toKnownErr71(e) {
|
|
24055
24281
|
if (e instanceof XRPCError) {
|
|
24056
24282
|
}
|
|
24057
24283
|
return e;
|
|
@@ -24062,11 +24288,11 @@ var describeFeedGenerator_exports = {};
|
|
|
24062
24288
|
__export(describeFeedGenerator_exports, {
|
|
24063
24289
|
isFeed: () => isFeed,
|
|
24064
24290
|
isLinks: () => isLinks2,
|
|
24065
|
-
toKnownErr: () =>
|
|
24291
|
+
toKnownErr: () => toKnownErr72,
|
|
24066
24292
|
validateFeed: () => validateFeed,
|
|
24067
24293
|
validateLinks: () => validateLinks2
|
|
24068
24294
|
});
|
|
24069
|
-
function
|
|
24295
|
+
function toKnownErr72(e) {
|
|
24070
24296
|
if (e instanceof XRPCError) {
|
|
24071
24297
|
}
|
|
24072
24298
|
return e;
|
|
@@ -24087,9 +24313,9 @@ function validateLinks2(v) {
|
|
|
24087
24313
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
24088
24314
|
var getActorFeeds_exports = {};
|
|
24089
24315
|
__export(getActorFeeds_exports, {
|
|
24090
|
-
toKnownErr: () =>
|
|
24316
|
+
toKnownErr: () => toKnownErr73
|
|
24091
24317
|
});
|
|
24092
|
-
function
|
|
24318
|
+
function toKnownErr73(e) {
|
|
24093
24319
|
if (e instanceof XRPCError) {
|
|
24094
24320
|
}
|
|
24095
24321
|
return e;
|
|
@@ -24100,7 +24326,7 @@ var getActorLikes_exports = {};
|
|
|
24100
24326
|
__export(getActorLikes_exports, {
|
|
24101
24327
|
BlockedActorError: () => BlockedActorError,
|
|
24102
24328
|
BlockedByActorError: () => BlockedByActorError,
|
|
24103
|
-
toKnownErr: () =>
|
|
24329
|
+
toKnownErr: () => toKnownErr74
|
|
24104
24330
|
});
|
|
24105
24331
|
var BlockedActorError = class extends XRPCError {
|
|
24106
24332
|
constructor(src2) {
|
|
@@ -24112,7 +24338,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
24112
24338
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24113
24339
|
}
|
|
24114
24340
|
};
|
|
24115
|
-
function
|
|
24341
|
+
function toKnownErr74(e) {
|
|
24116
24342
|
if (e instanceof XRPCError) {
|
|
24117
24343
|
if (e.error === "BlockedActor")
|
|
24118
24344
|
return new BlockedActorError(e);
|
|
@@ -24127,7 +24353,7 @@ var getAuthorFeed_exports = {};
|
|
|
24127
24353
|
__export(getAuthorFeed_exports, {
|
|
24128
24354
|
BlockedActorError: () => BlockedActorError2,
|
|
24129
24355
|
BlockedByActorError: () => BlockedByActorError2,
|
|
24130
|
-
toKnownErr: () =>
|
|
24356
|
+
toKnownErr: () => toKnownErr75
|
|
24131
24357
|
});
|
|
24132
24358
|
var BlockedActorError2 = class extends XRPCError {
|
|
24133
24359
|
constructor(src2) {
|
|
@@ -24139,7 +24365,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
24139
24365
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24140
24366
|
}
|
|
24141
24367
|
};
|
|
24142
|
-
function
|
|
24368
|
+
function toKnownErr75(e) {
|
|
24143
24369
|
if (e instanceof XRPCError) {
|
|
24144
24370
|
if (e.error === "BlockedActor")
|
|
24145
24371
|
return new BlockedActorError2(e);
|
|
@@ -24153,14 +24379,14 @@ function toKnownErr72(e) {
|
|
|
24153
24379
|
var getFeed_exports = {};
|
|
24154
24380
|
__export(getFeed_exports, {
|
|
24155
24381
|
UnknownFeedError: () => UnknownFeedError,
|
|
24156
|
-
toKnownErr: () =>
|
|
24382
|
+
toKnownErr: () => toKnownErr76
|
|
24157
24383
|
});
|
|
24158
24384
|
var UnknownFeedError = class extends XRPCError {
|
|
24159
24385
|
constructor(src2) {
|
|
24160
24386
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24161
24387
|
}
|
|
24162
24388
|
};
|
|
24163
|
-
function
|
|
24389
|
+
function toKnownErr76(e) {
|
|
24164
24390
|
if (e instanceof XRPCError) {
|
|
24165
24391
|
if (e.error === "UnknownFeed")
|
|
24166
24392
|
return new UnknownFeedError(e);
|
|
@@ -24171,9 +24397,9 @@ function toKnownErr73(e) {
|
|
|
24171
24397
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
24172
24398
|
var getFeedGenerator_exports = {};
|
|
24173
24399
|
__export(getFeedGenerator_exports, {
|
|
24174
|
-
toKnownErr: () =>
|
|
24400
|
+
toKnownErr: () => toKnownErr77
|
|
24175
24401
|
});
|
|
24176
|
-
function
|
|
24402
|
+
function toKnownErr77(e) {
|
|
24177
24403
|
if (e instanceof XRPCError) {
|
|
24178
24404
|
}
|
|
24179
24405
|
return e;
|
|
@@ -24182,9 +24408,9 @@ function toKnownErr74(e) {
|
|
|
24182
24408
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
24183
24409
|
var getFeedGenerators_exports = {};
|
|
24184
24410
|
__export(getFeedGenerators_exports, {
|
|
24185
|
-
toKnownErr: () =>
|
|
24411
|
+
toKnownErr: () => toKnownErr78
|
|
24186
24412
|
});
|
|
24187
|
-
function
|
|
24413
|
+
function toKnownErr78(e) {
|
|
24188
24414
|
if (e instanceof XRPCError) {
|
|
24189
24415
|
}
|
|
24190
24416
|
return e;
|
|
@@ -24194,14 +24420,14 @@ function toKnownErr75(e) {
|
|
|
24194
24420
|
var getFeedSkeleton_exports = {};
|
|
24195
24421
|
__export(getFeedSkeleton_exports, {
|
|
24196
24422
|
UnknownFeedError: () => UnknownFeedError2,
|
|
24197
|
-
toKnownErr: () =>
|
|
24423
|
+
toKnownErr: () => toKnownErr79
|
|
24198
24424
|
});
|
|
24199
24425
|
var UnknownFeedError2 = class extends XRPCError {
|
|
24200
24426
|
constructor(src2) {
|
|
24201
24427
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24202
24428
|
}
|
|
24203
24429
|
};
|
|
24204
|
-
function
|
|
24430
|
+
function toKnownErr79(e) {
|
|
24205
24431
|
if (e instanceof XRPCError) {
|
|
24206
24432
|
if (e.error === "UnknownFeed")
|
|
24207
24433
|
return new UnknownFeedError2(e);
|
|
@@ -24213,10 +24439,10 @@ function toKnownErr76(e) {
|
|
|
24213
24439
|
var getLikes_exports = {};
|
|
24214
24440
|
__export(getLikes_exports, {
|
|
24215
24441
|
isLike: () => isLike,
|
|
24216
|
-
toKnownErr: () =>
|
|
24442
|
+
toKnownErr: () => toKnownErr80,
|
|
24217
24443
|
validateLike: () => validateLike
|
|
24218
24444
|
});
|
|
24219
|
-
function
|
|
24445
|
+
function toKnownErr80(e) {
|
|
24220
24446
|
if (e instanceof XRPCError) {
|
|
24221
24447
|
}
|
|
24222
24448
|
return e;
|
|
@@ -24232,14 +24458,14 @@ function validateLike(v) {
|
|
|
24232
24458
|
var getListFeed_exports = {};
|
|
24233
24459
|
__export(getListFeed_exports, {
|
|
24234
24460
|
UnknownListError: () => UnknownListError,
|
|
24235
|
-
toKnownErr: () =>
|
|
24461
|
+
toKnownErr: () => toKnownErr81
|
|
24236
24462
|
});
|
|
24237
24463
|
var UnknownListError = class extends XRPCError {
|
|
24238
24464
|
constructor(src2) {
|
|
24239
24465
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24240
24466
|
}
|
|
24241
24467
|
};
|
|
24242
|
-
function
|
|
24468
|
+
function toKnownErr81(e) {
|
|
24243
24469
|
if (e instanceof XRPCError) {
|
|
24244
24470
|
if (e.error === "UnknownList")
|
|
24245
24471
|
return new UnknownListError(e);
|
|
@@ -24251,14 +24477,14 @@ function toKnownErr78(e) {
|
|
|
24251
24477
|
var getPostThread_exports = {};
|
|
24252
24478
|
__export(getPostThread_exports, {
|
|
24253
24479
|
NotFoundError: () => NotFoundError,
|
|
24254
|
-
toKnownErr: () =>
|
|
24480
|
+
toKnownErr: () => toKnownErr82
|
|
24255
24481
|
});
|
|
24256
24482
|
var NotFoundError = class extends XRPCError {
|
|
24257
24483
|
constructor(src2) {
|
|
24258
24484
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24259
24485
|
}
|
|
24260
24486
|
};
|
|
24261
|
-
function
|
|
24487
|
+
function toKnownErr82(e) {
|
|
24262
24488
|
if (e instanceof XRPCError) {
|
|
24263
24489
|
if (e.error === "NotFound")
|
|
24264
24490
|
return new NotFoundError(e);
|
|
@@ -24269,9 +24495,9 @@ function toKnownErr79(e) {
|
|
|
24269
24495
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
24270
24496
|
var getPosts_exports = {};
|
|
24271
24497
|
__export(getPosts_exports, {
|
|
24272
|
-
toKnownErr: () =>
|
|
24498
|
+
toKnownErr: () => toKnownErr83
|
|
24273
24499
|
});
|
|
24274
|
-
function
|
|
24500
|
+
function toKnownErr83(e) {
|
|
24275
24501
|
if (e instanceof XRPCError) {
|
|
24276
24502
|
}
|
|
24277
24503
|
return e;
|
|
@@ -24280,9 +24506,9 @@ function toKnownErr80(e) {
|
|
|
24280
24506
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
24281
24507
|
var getRepostedBy_exports = {};
|
|
24282
24508
|
__export(getRepostedBy_exports, {
|
|
24283
|
-
toKnownErr: () =>
|
|
24509
|
+
toKnownErr: () => toKnownErr84
|
|
24284
24510
|
});
|
|
24285
|
-
function
|
|
24511
|
+
function toKnownErr84(e) {
|
|
24286
24512
|
if (e instanceof XRPCError) {
|
|
24287
24513
|
}
|
|
24288
24514
|
return e;
|
|
@@ -24291,9 +24517,9 @@ function toKnownErr81(e) {
|
|
|
24291
24517
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
24292
24518
|
var getSuggestedFeeds_exports = {};
|
|
24293
24519
|
__export(getSuggestedFeeds_exports, {
|
|
24294
|
-
toKnownErr: () =>
|
|
24520
|
+
toKnownErr: () => toKnownErr85
|
|
24295
24521
|
});
|
|
24296
|
-
function
|
|
24522
|
+
function toKnownErr85(e) {
|
|
24297
24523
|
if (e instanceof XRPCError) {
|
|
24298
24524
|
}
|
|
24299
24525
|
return e;
|
|
@@ -24302,9 +24528,9 @@ function toKnownErr82(e) {
|
|
|
24302
24528
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
24303
24529
|
var getTimeline_exports = {};
|
|
24304
24530
|
__export(getTimeline_exports, {
|
|
24305
|
-
toKnownErr: () =>
|
|
24531
|
+
toKnownErr: () => toKnownErr86
|
|
24306
24532
|
});
|
|
24307
|
-
function
|
|
24533
|
+
function toKnownErr86(e) {
|
|
24308
24534
|
if (e instanceof XRPCError) {
|
|
24309
24535
|
}
|
|
24310
24536
|
return e;
|
|
@@ -24314,14 +24540,14 @@ function toKnownErr83(e) {
|
|
|
24314
24540
|
var searchPosts_exports = {};
|
|
24315
24541
|
__export(searchPosts_exports, {
|
|
24316
24542
|
BadQueryStringError: () => BadQueryStringError,
|
|
24317
|
-
toKnownErr: () =>
|
|
24543
|
+
toKnownErr: () => toKnownErr87
|
|
24318
24544
|
});
|
|
24319
24545
|
var BadQueryStringError = class extends XRPCError {
|
|
24320
24546
|
constructor(src2) {
|
|
24321
24547
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24322
24548
|
}
|
|
24323
24549
|
};
|
|
24324
|
-
function
|
|
24550
|
+
function toKnownErr87(e) {
|
|
24325
24551
|
if (e instanceof XRPCError) {
|
|
24326
24552
|
if (e.error === "BadQueryString")
|
|
24327
24553
|
return new BadQueryStringError(e);
|
|
@@ -24332,9 +24558,9 @@ function toKnownErr84(e) {
|
|
|
24332
24558
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
24333
24559
|
var getBlocks_exports2 = {};
|
|
24334
24560
|
__export(getBlocks_exports2, {
|
|
24335
|
-
toKnownErr: () =>
|
|
24561
|
+
toKnownErr: () => toKnownErr88
|
|
24336
24562
|
});
|
|
24337
|
-
function
|
|
24563
|
+
function toKnownErr88(e) {
|
|
24338
24564
|
if (e instanceof XRPCError) {
|
|
24339
24565
|
}
|
|
24340
24566
|
return e;
|
|
@@ -24343,9 +24569,9 @@ function toKnownErr85(e) {
|
|
|
24343
24569
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
24344
24570
|
var getFollowers_exports = {};
|
|
24345
24571
|
__export(getFollowers_exports, {
|
|
24346
|
-
toKnownErr: () =>
|
|
24572
|
+
toKnownErr: () => toKnownErr89
|
|
24347
24573
|
});
|
|
24348
|
-
function
|
|
24574
|
+
function toKnownErr89(e) {
|
|
24349
24575
|
if (e instanceof XRPCError) {
|
|
24350
24576
|
}
|
|
24351
24577
|
return e;
|
|
@@ -24354,9 +24580,9 @@ function toKnownErr86(e) {
|
|
|
24354
24580
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
24355
24581
|
var getFollows_exports = {};
|
|
24356
24582
|
__export(getFollows_exports, {
|
|
24357
|
-
toKnownErr: () =>
|
|
24583
|
+
toKnownErr: () => toKnownErr90
|
|
24358
24584
|
});
|
|
24359
|
-
function
|
|
24585
|
+
function toKnownErr90(e) {
|
|
24360
24586
|
if (e instanceof XRPCError) {
|
|
24361
24587
|
}
|
|
24362
24588
|
return e;
|
|
@@ -24365,9 +24591,9 @@ function toKnownErr87(e) {
|
|
|
24365
24591
|
// src/client/types/app/bsky/graph/getList.ts
|
|
24366
24592
|
var getList_exports = {};
|
|
24367
24593
|
__export(getList_exports, {
|
|
24368
|
-
toKnownErr: () =>
|
|
24594
|
+
toKnownErr: () => toKnownErr91
|
|
24369
24595
|
});
|
|
24370
|
-
function
|
|
24596
|
+
function toKnownErr91(e) {
|
|
24371
24597
|
if (e instanceof XRPCError) {
|
|
24372
24598
|
}
|
|
24373
24599
|
return e;
|
|
@@ -24376,9 +24602,9 @@ function toKnownErr88(e) {
|
|
|
24376
24602
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
24377
24603
|
var getListBlocks_exports = {};
|
|
24378
24604
|
__export(getListBlocks_exports, {
|
|
24379
|
-
toKnownErr: () =>
|
|
24605
|
+
toKnownErr: () => toKnownErr92
|
|
24380
24606
|
});
|
|
24381
|
-
function
|
|
24607
|
+
function toKnownErr92(e) {
|
|
24382
24608
|
if (e instanceof XRPCError) {
|
|
24383
24609
|
}
|
|
24384
24610
|
return e;
|
|
@@ -24387,9 +24613,9 @@ function toKnownErr89(e) {
|
|
|
24387
24613
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
24388
24614
|
var getListMutes_exports = {};
|
|
24389
24615
|
__export(getListMutes_exports, {
|
|
24390
|
-
toKnownErr: () =>
|
|
24616
|
+
toKnownErr: () => toKnownErr93
|
|
24391
24617
|
});
|
|
24392
|
-
function
|
|
24618
|
+
function toKnownErr93(e) {
|
|
24393
24619
|
if (e instanceof XRPCError) {
|
|
24394
24620
|
}
|
|
24395
24621
|
return e;
|
|
@@ -24398,9 +24624,9 @@ function toKnownErr90(e) {
|
|
|
24398
24624
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
24399
24625
|
var getLists_exports = {};
|
|
24400
24626
|
__export(getLists_exports, {
|
|
24401
|
-
toKnownErr: () =>
|
|
24627
|
+
toKnownErr: () => toKnownErr94
|
|
24402
24628
|
});
|
|
24403
|
-
function
|
|
24629
|
+
function toKnownErr94(e) {
|
|
24404
24630
|
if (e instanceof XRPCError) {
|
|
24405
24631
|
}
|
|
24406
24632
|
return e;
|
|
@@ -24409,9 +24635,9 @@ function toKnownErr91(e) {
|
|
|
24409
24635
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
24410
24636
|
var getMutes_exports = {};
|
|
24411
24637
|
__export(getMutes_exports, {
|
|
24412
|
-
toKnownErr: () =>
|
|
24638
|
+
toKnownErr: () => toKnownErr95
|
|
24413
24639
|
});
|
|
24414
|
-
function
|
|
24640
|
+
function toKnownErr95(e) {
|
|
24415
24641
|
if (e instanceof XRPCError) {
|
|
24416
24642
|
}
|
|
24417
24643
|
return e;
|
|
@@ -24420,9 +24646,9 @@ function toKnownErr92(e) {
|
|
|
24420
24646
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
24421
24647
|
var getSuggestedFollowsByActor_exports = {};
|
|
24422
24648
|
__export(getSuggestedFollowsByActor_exports, {
|
|
24423
|
-
toKnownErr: () =>
|
|
24649
|
+
toKnownErr: () => toKnownErr96
|
|
24424
24650
|
});
|
|
24425
|
-
function
|
|
24651
|
+
function toKnownErr96(e) {
|
|
24426
24652
|
if (e instanceof XRPCError) {
|
|
24427
24653
|
}
|
|
24428
24654
|
return e;
|
|
@@ -24431,9 +24657,9 @@ function toKnownErr93(e) {
|
|
|
24431
24657
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
24432
24658
|
var muteActor_exports = {};
|
|
24433
24659
|
__export(muteActor_exports, {
|
|
24434
|
-
toKnownErr: () =>
|
|
24660
|
+
toKnownErr: () => toKnownErr97
|
|
24435
24661
|
});
|
|
24436
|
-
function
|
|
24662
|
+
function toKnownErr97(e) {
|
|
24437
24663
|
if (e instanceof XRPCError) {
|
|
24438
24664
|
}
|
|
24439
24665
|
return e;
|
|
@@ -24442,9 +24668,9 @@ function toKnownErr94(e) {
|
|
|
24442
24668
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
24443
24669
|
var muteActorList_exports = {};
|
|
24444
24670
|
__export(muteActorList_exports, {
|
|
24445
|
-
toKnownErr: () =>
|
|
24671
|
+
toKnownErr: () => toKnownErr98
|
|
24446
24672
|
});
|
|
24447
|
-
function
|
|
24673
|
+
function toKnownErr98(e) {
|
|
24448
24674
|
if (e instanceof XRPCError) {
|
|
24449
24675
|
}
|
|
24450
24676
|
return e;
|
|
@@ -24453,9 +24679,9 @@ function toKnownErr95(e) {
|
|
|
24453
24679
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
24454
24680
|
var unmuteActor_exports = {};
|
|
24455
24681
|
__export(unmuteActor_exports, {
|
|
24456
|
-
toKnownErr: () =>
|
|
24682
|
+
toKnownErr: () => toKnownErr99
|
|
24457
24683
|
});
|
|
24458
|
-
function
|
|
24684
|
+
function toKnownErr99(e) {
|
|
24459
24685
|
if (e instanceof XRPCError) {
|
|
24460
24686
|
}
|
|
24461
24687
|
return e;
|
|
@@ -24464,9 +24690,9 @@ function toKnownErr96(e) {
|
|
|
24464
24690
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
24465
24691
|
var unmuteActorList_exports = {};
|
|
24466
24692
|
__export(unmuteActorList_exports, {
|
|
24467
|
-
toKnownErr: () =>
|
|
24693
|
+
toKnownErr: () => toKnownErr100
|
|
24468
24694
|
});
|
|
24469
|
-
function
|
|
24695
|
+
function toKnownErr100(e) {
|
|
24470
24696
|
if (e instanceof XRPCError) {
|
|
24471
24697
|
}
|
|
24472
24698
|
return e;
|
|
@@ -24475,9 +24701,9 @@ function toKnownErr97(e) {
|
|
|
24475
24701
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
24476
24702
|
var getUnreadCount_exports = {};
|
|
24477
24703
|
__export(getUnreadCount_exports, {
|
|
24478
|
-
toKnownErr: () =>
|
|
24704
|
+
toKnownErr: () => toKnownErr101
|
|
24479
24705
|
});
|
|
24480
|
-
function
|
|
24706
|
+
function toKnownErr101(e) {
|
|
24481
24707
|
if (e instanceof XRPCError) {
|
|
24482
24708
|
}
|
|
24483
24709
|
return e;
|
|
@@ -24487,10 +24713,10 @@ function toKnownErr98(e) {
|
|
|
24487
24713
|
var listNotifications_exports = {};
|
|
24488
24714
|
__export(listNotifications_exports, {
|
|
24489
24715
|
isNotification: () => isNotification,
|
|
24490
|
-
toKnownErr: () =>
|
|
24716
|
+
toKnownErr: () => toKnownErr102,
|
|
24491
24717
|
validateNotification: () => validateNotification
|
|
24492
24718
|
});
|
|
24493
|
-
function
|
|
24719
|
+
function toKnownErr102(e) {
|
|
24494
24720
|
if (e instanceof XRPCError) {
|
|
24495
24721
|
}
|
|
24496
24722
|
return e;
|
|
@@ -24505,9 +24731,9 @@ function validateNotification(v) {
|
|
|
24505
24731
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
24506
24732
|
var registerPush_exports = {};
|
|
24507
24733
|
__export(registerPush_exports, {
|
|
24508
|
-
toKnownErr: () =>
|
|
24734
|
+
toKnownErr: () => toKnownErr103
|
|
24509
24735
|
});
|
|
24510
|
-
function
|
|
24736
|
+
function toKnownErr103(e) {
|
|
24511
24737
|
if (e instanceof XRPCError) {
|
|
24512
24738
|
}
|
|
24513
24739
|
return e;
|
|
@@ -24516,9 +24742,9 @@ function toKnownErr100(e) {
|
|
|
24516
24742
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
24517
24743
|
var updateSeen_exports = {};
|
|
24518
24744
|
__export(updateSeen_exports, {
|
|
24519
|
-
toKnownErr: () =>
|
|
24745
|
+
toKnownErr: () => toKnownErr104
|
|
24520
24746
|
});
|
|
24521
|
-
function
|
|
24747
|
+
function toKnownErr104(e) {
|
|
24522
24748
|
if (e instanceof XRPCError) {
|
|
24523
24749
|
}
|
|
24524
24750
|
return e;
|
|
@@ -24527,9 +24753,9 @@ function toKnownErr101(e) {
|
|
|
24527
24753
|
// src/client/types/app/bsky/unspecced/getPopular.ts
|
|
24528
24754
|
var getPopular_exports = {};
|
|
24529
24755
|
__export(getPopular_exports, {
|
|
24530
|
-
toKnownErr: () =>
|
|
24756
|
+
toKnownErr: () => toKnownErr105
|
|
24531
24757
|
});
|
|
24532
|
-
function
|
|
24758
|
+
function toKnownErr105(e) {
|
|
24533
24759
|
if (e instanceof XRPCError) {
|
|
24534
24760
|
}
|
|
24535
24761
|
return e;
|
|
@@ -24538,9 +24764,9 @@ function toKnownErr102(e) {
|
|
|
24538
24764
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
24539
24765
|
var getPopularFeedGenerators_exports = {};
|
|
24540
24766
|
__export(getPopularFeedGenerators_exports, {
|
|
24541
|
-
toKnownErr: () =>
|
|
24767
|
+
toKnownErr: () => toKnownErr106
|
|
24542
24768
|
});
|
|
24543
|
-
function
|
|
24769
|
+
function toKnownErr106(e) {
|
|
24544
24770
|
if (e instanceof XRPCError) {
|
|
24545
24771
|
}
|
|
24546
24772
|
return e;
|
|
@@ -24550,14 +24776,14 @@ function toKnownErr103(e) {
|
|
|
24550
24776
|
var getTimelineSkeleton_exports = {};
|
|
24551
24777
|
__export(getTimelineSkeleton_exports, {
|
|
24552
24778
|
UnknownFeedError: () => UnknownFeedError3,
|
|
24553
|
-
toKnownErr: () =>
|
|
24779
|
+
toKnownErr: () => toKnownErr107
|
|
24554
24780
|
});
|
|
24555
24781
|
var UnknownFeedError3 = class extends XRPCError {
|
|
24556
24782
|
constructor(src2) {
|
|
24557
24783
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24558
24784
|
}
|
|
24559
24785
|
};
|
|
24560
|
-
function
|
|
24786
|
+
function toKnownErr107(e) {
|
|
24561
24787
|
if (e instanceof XRPCError) {
|
|
24562
24788
|
if (e.error === "UnknownFeed")
|
|
24563
24789
|
return new UnknownFeedError3(e);
|
|
@@ -24569,14 +24795,14 @@ function toKnownErr104(e) {
|
|
|
24569
24795
|
var searchActorsSkeleton_exports = {};
|
|
24570
24796
|
__export(searchActorsSkeleton_exports, {
|
|
24571
24797
|
BadQueryStringError: () => BadQueryStringError2,
|
|
24572
|
-
toKnownErr: () =>
|
|
24798
|
+
toKnownErr: () => toKnownErr108
|
|
24573
24799
|
});
|
|
24574
24800
|
var BadQueryStringError2 = class extends XRPCError {
|
|
24575
24801
|
constructor(src2) {
|
|
24576
24802
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24577
24803
|
}
|
|
24578
24804
|
};
|
|
24579
|
-
function
|
|
24805
|
+
function toKnownErr108(e) {
|
|
24580
24806
|
if (e instanceof XRPCError) {
|
|
24581
24807
|
if (e.error === "BadQueryString")
|
|
24582
24808
|
return new BadQueryStringError2(e);
|
|
@@ -24588,14 +24814,14 @@ function toKnownErr105(e) {
|
|
|
24588
24814
|
var searchPostsSkeleton_exports = {};
|
|
24589
24815
|
__export(searchPostsSkeleton_exports, {
|
|
24590
24816
|
BadQueryStringError: () => BadQueryStringError3,
|
|
24591
|
-
toKnownErr: () =>
|
|
24817
|
+
toKnownErr: () => toKnownErr109
|
|
24592
24818
|
});
|
|
24593
24819
|
var BadQueryStringError3 = class extends XRPCError {
|
|
24594
24820
|
constructor(src2) {
|
|
24595
24821
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
24596
24822
|
}
|
|
24597
24823
|
};
|
|
24598
|
-
function
|
|
24824
|
+
function toKnownErr109(e) {
|
|
24599
24825
|
if (e instanceof XRPCError) {
|
|
24600
24826
|
if (e.error === "BadQueryString")
|
|
24601
24827
|
return new BadQueryStringError3(e);
|
|
@@ -24610,6 +24836,7 @@ __export(defs_exports, {
|
|
|
24610
24836
|
ESCALATE: () => ESCALATE,
|
|
24611
24837
|
FLAG: () => FLAG,
|
|
24612
24838
|
TAKEDOWN: () => TAKEDOWN,
|
|
24839
|
+
isAccountView: () => isAccountView,
|
|
24613
24840
|
isActionReversal: () => isActionReversal,
|
|
24614
24841
|
isActionView: () => isActionView,
|
|
24615
24842
|
isActionViewCurrent: () => isActionViewCurrent,
|
|
@@ -24621,13 +24848,16 @@ __export(defs_exports, {
|
|
|
24621
24848
|
isRecordView: () => isRecordView,
|
|
24622
24849
|
isRecordViewDetail: () => isRecordViewDetail,
|
|
24623
24850
|
isRecordViewNotFound: () => isRecordViewNotFound,
|
|
24851
|
+
isRepoBlobRef: () => isRepoBlobRef,
|
|
24624
24852
|
isRepoRef: () => isRepoRef,
|
|
24625
24853
|
isRepoView: () => isRepoView,
|
|
24626
24854
|
isRepoViewDetail: () => isRepoViewDetail,
|
|
24627
24855
|
isRepoViewNotFound: () => isRepoViewNotFound,
|
|
24628
24856
|
isReportView: () => isReportView,
|
|
24629
24857
|
isReportViewDetail: () => isReportViewDetail,
|
|
24858
|
+
isStatusAttr: () => isStatusAttr,
|
|
24630
24859
|
isVideoDetails: () => isVideoDetails,
|
|
24860
|
+
validateAccountView: () => validateAccountView,
|
|
24631
24861
|
validateActionReversal: () => validateActionReversal,
|
|
24632
24862
|
validateActionView: () => validateActionView,
|
|
24633
24863
|
validateActionViewCurrent: () => validateActionViewCurrent,
|
|
@@ -24639,14 +24869,22 @@ __export(defs_exports, {
|
|
|
24639
24869
|
validateRecordView: () => validateRecordView,
|
|
24640
24870
|
validateRecordViewDetail: () => validateRecordViewDetail,
|
|
24641
24871
|
validateRecordViewNotFound: () => validateRecordViewNotFound,
|
|
24872
|
+
validateRepoBlobRef: () => validateRepoBlobRef,
|
|
24642
24873
|
validateRepoRef: () => validateRepoRef,
|
|
24643
24874
|
validateRepoView: () => validateRepoView,
|
|
24644
24875
|
validateRepoViewDetail: () => validateRepoViewDetail,
|
|
24645
24876
|
validateRepoViewNotFound: () => validateRepoViewNotFound,
|
|
24646
24877
|
validateReportView: () => validateReportView,
|
|
24647
24878
|
validateReportViewDetail: () => validateReportViewDetail,
|
|
24879
|
+
validateStatusAttr: () => validateStatusAttr,
|
|
24648
24880
|
validateVideoDetails: () => validateVideoDetails
|
|
24649
24881
|
});
|
|
24882
|
+
function isStatusAttr(v) {
|
|
24883
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#statusAttr";
|
|
24884
|
+
}
|
|
24885
|
+
function validateStatusAttr(v) {
|
|
24886
|
+
return lexicons.validate("com.atproto.admin.defs#statusAttr", v);
|
|
24887
|
+
}
|
|
24650
24888
|
function isActionView(v) {
|
|
24651
24889
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#actionView";
|
|
24652
24890
|
}
|
|
@@ -24699,6 +24937,12 @@ function isRepoViewDetail(v) {
|
|
|
24699
24937
|
function validateRepoViewDetail(v) {
|
|
24700
24938
|
return lexicons.validate("com.atproto.admin.defs#repoViewDetail", v);
|
|
24701
24939
|
}
|
|
24940
|
+
function isAccountView(v) {
|
|
24941
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#accountView";
|
|
24942
|
+
}
|
|
24943
|
+
function validateAccountView(v) {
|
|
24944
|
+
return lexicons.validate("com.atproto.admin.defs#accountView", v);
|
|
24945
|
+
}
|
|
24702
24946
|
function isRepoViewNotFound(v) {
|
|
24703
24947
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#repoViewNotFound";
|
|
24704
24948
|
}
|
|
@@ -24711,6 +24955,12 @@ function isRepoRef(v) {
|
|
|
24711
24955
|
function validateRepoRef(v) {
|
|
24712
24956
|
return lexicons.validate("com.atproto.admin.defs#repoRef", v);
|
|
24713
24957
|
}
|
|
24958
|
+
function isRepoBlobRef(v) {
|
|
24959
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#repoBlobRef";
|
|
24960
|
+
}
|
|
24961
|
+
function validateRepoBlobRef(v) {
|
|
24962
|
+
return lexicons.validate("com.atproto.admin.defs#repoBlobRef", v);
|
|
24963
|
+
}
|
|
24714
24964
|
function isRecordView(v) {
|
|
24715
24965
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.defs#recordView";
|
|
24716
24966
|
}
|
|
@@ -25646,74 +25896,89 @@ var AdminNS = class {
|
|
|
25646
25896
|
throw toKnownErr3(e);
|
|
25647
25897
|
});
|
|
25648
25898
|
}
|
|
25899
|
+
getAccountInfo(params2, opts) {
|
|
25900
|
+
return this._service.xrpc.call("com.atproto.admin.getAccountInfo", params2, void 0, opts).catch((e) => {
|
|
25901
|
+
throw toKnownErr4(e);
|
|
25902
|
+
});
|
|
25903
|
+
}
|
|
25649
25904
|
getInviteCodes(params2, opts) {
|
|
25650
25905
|
return this._service.xrpc.call("com.atproto.admin.getInviteCodes", params2, void 0, opts).catch((e) => {
|
|
25651
|
-
throw
|
|
25906
|
+
throw toKnownErr5(e);
|
|
25652
25907
|
});
|
|
25653
25908
|
}
|
|
25654
25909
|
getModerationAction(params2, opts) {
|
|
25655
25910
|
return this._service.xrpc.call("com.atproto.admin.getModerationAction", params2, void 0, opts).catch((e) => {
|
|
25656
|
-
throw
|
|
25911
|
+
throw toKnownErr6(e);
|
|
25657
25912
|
});
|
|
25658
25913
|
}
|
|
25659
25914
|
getModerationActions(params2, opts) {
|
|
25660
25915
|
return this._service.xrpc.call("com.atproto.admin.getModerationActions", params2, void 0, opts).catch((e) => {
|
|
25661
|
-
throw
|
|
25916
|
+
throw toKnownErr7(e);
|
|
25662
25917
|
});
|
|
25663
25918
|
}
|
|
25664
25919
|
getModerationReport(params2, opts) {
|
|
25665
25920
|
return this._service.xrpc.call("com.atproto.admin.getModerationReport", params2, void 0, opts).catch((e) => {
|
|
25666
|
-
throw
|
|
25921
|
+
throw toKnownErr8(e);
|
|
25667
25922
|
});
|
|
25668
25923
|
}
|
|
25669
25924
|
getModerationReports(params2, opts) {
|
|
25670
25925
|
return this._service.xrpc.call("com.atproto.admin.getModerationReports", params2, void 0, opts).catch((e) => {
|
|
25671
|
-
throw
|
|
25926
|
+
throw toKnownErr9(e);
|
|
25672
25927
|
});
|
|
25673
25928
|
}
|
|
25674
25929
|
getRecord(params2, opts) {
|
|
25675
25930
|
return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
|
|
25676
|
-
throw
|
|
25931
|
+
throw toKnownErr10(e);
|
|
25677
25932
|
});
|
|
25678
25933
|
}
|
|
25679
25934
|
getRepo(params2, opts) {
|
|
25680
25935
|
return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
|
|
25681
|
-
throw
|
|
25936
|
+
throw toKnownErr11(e);
|
|
25937
|
+
});
|
|
25938
|
+
}
|
|
25939
|
+
getSubjectStatus(params2, opts) {
|
|
25940
|
+
return this._service.xrpc.call("com.atproto.admin.getSubjectStatus", params2, void 0, opts).catch((e) => {
|
|
25941
|
+
throw toKnownErr12(e);
|
|
25682
25942
|
});
|
|
25683
25943
|
}
|
|
25684
25944
|
resolveModerationReports(data, opts) {
|
|
25685
25945
|
return this._service.xrpc.call("com.atproto.admin.resolveModerationReports", opts?.qp, data, opts).catch((e) => {
|
|
25686
|
-
throw
|
|
25946
|
+
throw toKnownErr13(e);
|
|
25687
25947
|
});
|
|
25688
25948
|
}
|
|
25689
25949
|
reverseModerationAction(data, opts) {
|
|
25690
25950
|
return this._service.xrpc.call("com.atproto.admin.reverseModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
25691
|
-
throw
|
|
25951
|
+
throw toKnownErr14(e);
|
|
25692
25952
|
});
|
|
25693
25953
|
}
|
|
25694
25954
|
searchRepos(params2, opts) {
|
|
25695
25955
|
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
25696
|
-
throw
|
|
25956
|
+
throw toKnownErr15(e);
|
|
25697
25957
|
});
|
|
25698
25958
|
}
|
|
25699
25959
|
sendEmail(data, opts) {
|
|
25700
25960
|
return this._service.xrpc.call("com.atproto.admin.sendEmail", opts?.qp, data, opts).catch((e) => {
|
|
25701
|
-
throw
|
|
25961
|
+
throw toKnownErr16(e);
|
|
25702
25962
|
});
|
|
25703
25963
|
}
|
|
25704
25964
|
takeModerationAction(data, opts) {
|
|
25705
25965
|
return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
25706
|
-
throw
|
|
25966
|
+
throw toKnownErr17(e);
|
|
25707
25967
|
});
|
|
25708
25968
|
}
|
|
25709
25969
|
updateAccountEmail(data, opts) {
|
|
25710
25970
|
return this._service.xrpc.call("com.atproto.admin.updateAccountEmail", opts?.qp, data, opts).catch((e) => {
|
|
25711
|
-
throw
|
|
25971
|
+
throw toKnownErr18(e);
|
|
25712
25972
|
});
|
|
25713
25973
|
}
|
|
25714
25974
|
updateAccountHandle(data, opts) {
|
|
25715
25975
|
return this._service.xrpc.call("com.atproto.admin.updateAccountHandle", opts?.qp, data, opts).catch((e) => {
|
|
25716
|
-
throw
|
|
25976
|
+
throw toKnownErr19(e);
|
|
25977
|
+
});
|
|
25978
|
+
}
|
|
25979
|
+
updateSubjectStatus(data, opts) {
|
|
25980
|
+
return this._service.xrpc.call("com.atproto.admin.updateSubjectStatus", opts?.qp, data, opts).catch((e) => {
|
|
25981
|
+
throw toKnownErr20(e);
|
|
25717
25982
|
});
|
|
25718
25983
|
}
|
|
25719
25984
|
};
|
|
@@ -25723,12 +25988,12 @@ var IdentityNS = class {
|
|
|
25723
25988
|
}
|
|
25724
25989
|
resolveHandle(params2, opts) {
|
|
25725
25990
|
return this._service.xrpc.call("com.atproto.identity.resolveHandle", params2, void 0, opts).catch((e) => {
|
|
25726
|
-
throw
|
|
25991
|
+
throw toKnownErr21(e);
|
|
25727
25992
|
});
|
|
25728
25993
|
}
|
|
25729
25994
|
updateHandle(data, opts) {
|
|
25730
25995
|
return this._service.xrpc.call("com.atproto.identity.updateHandle", opts?.qp, data, opts).catch((e) => {
|
|
25731
|
-
throw
|
|
25996
|
+
throw toKnownErr22(e);
|
|
25732
25997
|
});
|
|
25733
25998
|
}
|
|
25734
25999
|
};
|
|
@@ -25738,7 +26003,7 @@ var LabelNS = class {
|
|
|
25738
26003
|
}
|
|
25739
26004
|
queryLabels(params2, opts) {
|
|
25740
26005
|
return this._service.xrpc.call("com.atproto.label.queryLabels", params2, void 0, opts).catch((e) => {
|
|
25741
|
-
throw
|
|
26006
|
+
throw toKnownErr23(e);
|
|
25742
26007
|
});
|
|
25743
26008
|
}
|
|
25744
26009
|
};
|
|
@@ -25748,7 +26013,7 @@ var ModerationNS = class {
|
|
|
25748
26013
|
}
|
|
25749
26014
|
createReport(data, opts) {
|
|
25750
26015
|
return this._service.xrpc.call("com.atproto.moderation.createReport", opts?.qp, data, opts).catch((e) => {
|
|
25751
|
-
throw
|
|
26016
|
+
throw toKnownErr24(e);
|
|
25752
26017
|
});
|
|
25753
26018
|
}
|
|
25754
26019
|
};
|
|
@@ -25758,42 +26023,42 @@ var RepoNS = class {
|
|
|
25758
26023
|
}
|
|
25759
26024
|
applyWrites(data, opts) {
|
|
25760
26025
|
return this._service.xrpc.call("com.atproto.repo.applyWrites", opts?.qp, data, opts).catch((e) => {
|
|
25761
|
-
throw
|
|
26026
|
+
throw toKnownErr25(e);
|
|
25762
26027
|
});
|
|
25763
26028
|
}
|
|
25764
26029
|
createRecord(data, opts) {
|
|
25765
26030
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
25766
|
-
throw
|
|
26031
|
+
throw toKnownErr26(e);
|
|
25767
26032
|
});
|
|
25768
26033
|
}
|
|
25769
26034
|
deleteRecord(data, opts) {
|
|
25770
26035
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
25771
|
-
throw
|
|
26036
|
+
throw toKnownErr27(e);
|
|
25772
26037
|
});
|
|
25773
26038
|
}
|
|
25774
26039
|
describeRepo(params2, opts) {
|
|
25775
26040
|
return this._service.xrpc.call("com.atproto.repo.describeRepo", params2, void 0, opts).catch((e) => {
|
|
25776
|
-
throw
|
|
26041
|
+
throw toKnownErr28(e);
|
|
25777
26042
|
});
|
|
25778
26043
|
}
|
|
25779
26044
|
getRecord(params2, opts) {
|
|
25780
26045
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
25781
|
-
throw
|
|
26046
|
+
throw toKnownErr29(e);
|
|
25782
26047
|
});
|
|
25783
26048
|
}
|
|
25784
26049
|
listRecords(params2, opts) {
|
|
25785
26050
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
25786
|
-
throw
|
|
26051
|
+
throw toKnownErr30(e);
|
|
25787
26052
|
});
|
|
25788
26053
|
}
|
|
25789
26054
|
putRecord(data, opts) {
|
|
25790
26055
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
25791
|
-
throw
|
|
26056
|
+
throw toKnownErr31(e);
|
|
25792
26057
|
});
|
|
25793
26058
|
}
|
|
25794
26059
|
uploadBlob(data, opts) {
|
|
25795
26060
|
return this._service.xrpc.call("com.atproto.repo.uploadBlob", opts?.qp, data, opts).catch((e) => {
|
|
25796
|
-
throw
|
|
26061
|
+
throw toKnownErr32(e);
|
|
25797
26062
|
});
|
|
25798
26063
|
}
|
|
25799
26064
|
};
|
|
@@ -25803,107 +26068,107 @@ var ServerNS = class {
|
|
|
25803
26068
|
}
|
|
25804
26069
|
confirmEmail(data, opts) {
|
|
25805
26070
|
return this._service.xrpc.call("com.atproto.server.confirmEmail", opts?.qp, data, opts).catch((e) => {
|
|
25806
|
-
throw
|
|
26071
|
+
throw toKnownErr33(e);
|
|
25807
26072
|
});
|
|
25808
26073
|
}
|
|
25809
26074
|
createAccount(data, opts) {
|
|
25810
26075
|
return this._service.xrpc.call("com.atproto.server.createAccount", opts?.qp, data, opts).catch((e) => {
|
|
25811
|
-
throw
|
|
26076
|
+
throw toKnownErr34(e);
|
|
25812
26077
|
});
|
|
25813
26078
|
}
|
|
25814
26079
|
createAppPassword(data, opts) {
|
|
25815
26080
|
return this._service.xrpc.call("com.atproto.server.createAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
25816
|
-
throw
|
|
26081
|
+
throw toKnownErr35(e);
|
|
25817
26082
|
});
|
|
25818
26083
|
}
|
|
25819
26084
|
createInviteCode(data, opts) {
|
|
25820
26085
|
return this._service.xrpc.call("com.atproto.server.createInviteCode", opts?.qp, data, opts).catch((e) => {
|
|
25821
|
-
throw
|
|
26086
|
+
throw toKnownErr36(e);
|
|
25822
26087
|
});
|
|
25823
26088
|
}
|
|
25824
26089
|
createInviteCodes(data, opts) {
|
|
25825
26090
|
return this._service.xrpc.call("com.atproto.server.createInviteCodes", opts?.qp, data, opts).catch((e) => {
|
|
25826
|
-
throw
|
|
26091
|
+
throw toKnownErr37(e);
|
|
25827
26092
|
});
|
|
25828
26093
|
}
|
|
25829
26094
|
createSession(data, opts) {
|
|
25830
26095
|
return this._service.xrpc.call("com.atproto.server.createSession", opts?.qp, data, opts).catch((e) => {
|
|
25831
|
-
throw
|
|
26096
|
+
throw toKnownErr38(e);
|
|
25832
26097
|
});
|
|
25833
26098
|
}
|
|
25834
26099
|
deleteAccount(data, opts) {
|
|
25835
26100
|
return this._service.xrpc.call("com.atproto.server.deleteAccount", opts?.qp, data, opts).catch((e) => {
|
|
25836
|
-
throw
|
|
26101
|
+
throw toKnownErr39(e);
|
|
25837
26102
|
});
|
|
25838
26103
|
}
|
|
25839
26104
|
deleteSession(data, opts) {
|
|
25840
26105
|
return this._service.xrpc.call("com.atproto.server.deleteSession", opts?.qp, data, opts).catch((e) => {
|
|
25841
|
-
throw
|
|
26106
|
+
throw toKnownErr40(e);
|
|
25842
26107
|
});
|
|
25843
26108
|
}
|
|
25844
26109
|
describeServer(params2, opts) {
|
|
25845
26110
|
return this._service.xrpc.call("com.atproto.server.describeServer", params2, void 0, opts).catch((e) => {
|
|
25846
|
-
throw
|
|
26111
|
+
throw toKnownErr41(e);
|
|
25847
26112
|
});
|
|
25848
26113
|
}
|
|
25849
26114
|
getAccountInviteCodes(params2, opts) {
|
|
25850
26115
|
return this._service.xrpc.call("com.atproto.server.getAccountInviteCodes", params2, void 0, opts).catch((e) => {
|
|
25851
|
-
throw
|
|
26116
|
+
throw toKnownErr42(e);
|
|
25852
26117
|
});
|
|
25853
26118
|
}
|
|
25854
26119
|
getSession(params2, opts) {
|
|
25855
26120
|
return this._service.xrpc.call("com.atproto.server.getSession", params2, void 0, opts).catch((e) => {
|
|
25856
|
-
throw
|
|
26121
|
+
throw toKnownErr43(e);
|
|
25857
26122
|
});
|
|
25858
26123
|
}
|
|
25859
26124
|
listAppPasswords(params2, opts) {
|
|
25860
26125
|
return this._service.xrpc.call("com.atproto.server.listAppPasswords", params2, void 0, opts).catch((e) => {
|
|
25861
|
-
throw
|
|
26126
|
+
throw toKnownErr44(e);
|
|
25862
26127
|
});
|
|
25863
26128
|
}
|
|
25864
26129
|
refreshSession(data, opts) {
|
|
25865
26130
|
return this._service.xrpc.call("com.atproto.server.refreshSession", opts?.qp, data, opts).catch((e) => {
|
|
25866
|
-
throw
|
|
26131
|
+
throw toKnownErr45(e);
|
|
25867
26132
|
});
|
|
25868
26133
|
}
|
|
25869
26134
|
requestAccountDelete(data, opts) {
|
|
25870
26135
|
return this._service.xrpc.call("com.atproto.server.requestAccountDelete", opts?.qp, data, opts).catch((e) => {
|
|
25871
|
-
throw
|
|
26136
|
+
throw toKnownErr46(e);
|
|
25872
26137
|
});
|
|
25873
26138
|
}
|
|
25874
26139
|
requestEmailConfirmation(data, opts) {
|
|
25875
26140
|
return this._service.xrpc.call("com.atproto.server.requestEmailConfirmation", opts?.qp, data, opts).catch((e) => {
|
|
25876
|
-
throw
|
|
26141
|
+
throw toKnownErr47(e);
|
|
25877
26142
|
});
|
|
25878
26143
|
}
|
|
25879
26144
|
requestEmailUpdate(data, opts) {
|
|
25880
26145
|
return this._service.xrpc.call("com.atproto.server.requestEmailUpdate", opts?.qp, data, opts).catch((e) => {
|
|
25881
|
-
throw
|
|
26146
|
+
throw toKnownErr48(e);
|
|
25882
26147
|
});
|
|
25883
26148
|
}
|
|
25884
26149
|
requestPasswordReset(data, opts) {
|
|
25885
26150
|
return this._service.xrpc.call("com.atproto.server.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
25886
|
-
throw
|
|
26151
|
+
throw toKnownErr49(e);
|
|
25887
26152
|
});
|
|
25888
26153
|
}
|
|
25889
26154
|
reserveSigningKey(data, opts) {
|
|
25890
26155
|
return this._service.xrpc.call("com.atproto.server.reserveSigningKey", opts?.qp, data, opts).catch((e) => {
|
|
25891
|
-
throw
|
|
26156
|
+
throw toKnownErr50(e);
|
|
25892
26157
|
});
|
|
25893
26158
|
}
|
|
25894
26159
|
resetPassword(data, opts) {
|
|
25895
26160
|
return this._service.xrpc.call("com.atproto.server.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
25896
|
-
throw
|
|
26161
|
+
throw toKnownErr51(e);
|
|
25897
26162
|
});
|
|
25898
26163
|
}
|
|
25899
26164
|
revokeAppPassword(data, opts) {
|
|
25900
26165
|
return this._service.xrpc.call("com.atproto.server.revokeAppPassword", opts?.qp, data, opts).catch((e) => {
|
|
25901
|
-
throw
|
|
26166
|
+
throw toKnownErr52(e);
|
|
25902
26167
|
});
|
|
25903
26168
|
}
|
|
25904
26169
|
updateEmail(data, opts) {
|
|
25905
26170
|
return this._service.xrpc.call("com.atproto.server.updateEmail", opts?.qp, data, opts).catch((e) => {
|
|
25906
|
-
throw
|
|
26171
|
+
throw toKnownErr53(e);
|
|
25907
26172
|
});
|
|
25908
26173
|
}
|
|
25909
26174
|
};
|
|
@@ -25913,57 +26178,57 @@ var SyncNS = class {
|
|
|
25913
26178
|
}
|
|
25914
26179
|
getBlob(params2, opts) {
|
|
25915
26180
|
return this._service.xrpc.call("com.atproto.sync.getBlob", params2, void 0, opts).catch((e) => {
|
|
25916
|
-
throw
|
|
26181
|
+
throw toKnownErr54(e);
|
|
25917
26182
|
});
|
|
25918
26183
|
}
|
|
25919
26184
|
getBlocks(params2, opts) {
|
|
25920
26185
|
return this._service.xrpc.call("com.atproto.sync.getBlocks", params2, void 0, opts).catch((e) => {
|
|
25921
|
-
throw
|
|
26186
|
+
throw toKnownErr55(e);
|
|
25922
26187
|
});
|
|
25923
26188
|
}
|
|
25924
26189
|
getCheckout(params2, opts) {
|
|
25925
26190
|
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
25926
|
-
throw
|
|
26191
|
+
throw toKnownErr56(e);
|
|
25927
26192
|
});
|
|
25928
26193
|
}
|
|
25929
26194
|
getHead(params2, opts) {
|
|
25930
26195
|
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
25931
|
-
throw
|
|
26196
|
+
throw toKnownErr57(e);
|
|
25932
26197
|
});
|
|
25933
26198
|
}
|
|
25934
26199
|
getLatestCommit(params2, opts) {
|
|
25935
26200
|
return this._service.xrpc.call("com.atproto.sync.getLatestCommit", params2, void 0, opts).catch((e) => {
|
|
25936
|
-
throw
|
|
26201
|
+
throw toKnownErr58(e);
|
|
25937
26202
|
});
|
|
25938
26203
|
}
|
|
25939
26204
|
getRecord(params2, opts) {
|
|
25940
26205
|
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
25941
|
-
throw
|
|
26206
|
+
throw toKnownErr59(e);
|
|
25942
26207
|
});
|
|
25943
26208
|
}
|
|
25944
26209
|
getRepo(params2, opts) {
|
|
25945
26210
|
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
25946
|
-
throw
|
|
26211
|
+
throw toKnownErr60(e);
|
|
25947
26212
|
});
|
|
25948
26213
|
}
|
|
25949
26214
|
listBlobs(params2, opts) {
|
|
25950
26215
|
return this._service.xrpc.call("com.atproto.sync.listBlobs", params2, void 0, opts).catch((e) => {
|
|
25951
|
-
throw
|
|
26216
|
+
throw toKnownErr61(e);
|
|
25952
26217
|
});
|
|
25953
26218
|
}
|
|
25954
26219
|
listRepos(params2, opts) {
|
|
25955
26220
|
return this._service.xrpc.call("com.atproto.sync.listRepos", params2, void 0, opts).catch((e) => {
|
|
25956
|
-
throw
|
|
26221
|
+
throw toKnownErr62(e);
|
|
25957
26222
|
});
|
|
25958
26223
|
}
|
|
25959
26224
|
notifyOfUpdate(data, opts) {
|
|
25960
26225
|
return this._service.xrpc.call("com.atproto.sync.notifyOfUpdate", opts?.qp, data, opts).catch((e) => {
|
|
25961
|
-
throw
|
|
26226
|
+
throw toKnownErr63(e);
|
|
25962
26227
|
});
|
|
25963
26228
|
}
|
|
25964
26229
|
requestCrawl(data, opts) {
|
|
25965
26230
|
return this._service.xrpc.call("com.atproto.sync.requestCrawl", opts?.qp, data, opts).catch((e) => {
|
|
25966
|
-
throw
|
|
26231
|
+
throw toKnownErr64(e);
|
|
25967
26232
|
});
|
|
25968
26233
|
}
|
|
25969
26234
|
};
|
|
@@ -25992,37 +26257,37 @@ var ActorNS = class {
|
|
|
25992
26257
|
}
|
|
25993
26258
|
getPreferences(params2, opts) {
|
|
25994
26259
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
25995
|
-
throw
|
|
26260
|
+
throw toKnownErr65(e);
|
|
25996
26261
|
});
|
|
25997
26262
|
}
|
|
25998
26263
|
getProfile(params2, opts) {
|
|
25999
26264
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
26000
|
-
throw
|
|
26265
|
+
throw toKnownErr66(e);
|
|
26001
26266
|
});
|
|
26002
26267
|
}
|
|
26003
26268
|
getProfiles(params2, opts) {
|
|
26004
26269
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
26005
|
-
throw
|
|
26270
|
+
throw toKnownErr67(e);
|
|
26006
26271
|
});
|
|
26007
26272
|
}
|
|
26008
26273
|
getSuggestions(params2, opts) {
|
|
26009
26274
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
26010
|
-
throw
|
|
26275
|
+
throw toKnownErr68(e);
|
|
26011
26276
|
});
|
|
26012
26277
|
}
|
|
26013
26278
|
putPreferences(data, opts) {
|
|
26014
26279
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
26015
|
-
throw
|
|
26280
|
+
throw toKnownErr69(e);
|
|
26016
26281
|
});
|
|
26017
26282
|
}
|
|
26018
26283
|
searchActors(params2, opts) {
|
|
26019
26284
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
26020
|
-
throw
|
|
26285
|
+
throw toKnownErr70(e);
|
|
26021
26286
|
});
|
|
26022
26287
|
}
|
|
26023
26288
|
searchActorsTypeahead(params2, opts) {
|
|
26024
26289
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
26025
|
-
throw
|
|
26290
|
+
throw toKnownErr71(e);
|
|
26026
26291
|
});
|
|
26027
26292
|
}
|
|
26028
26293
|
};
|
|
@@ -26069,82 +26334,82 @@ var FeedNS = class {
|
|
|
26069
26334
|
}
|
|
26070
26335
|
describeFeedGenerator(params2, opts) {
|
|
26071
26336
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26072
|
-
throw
|
|
26337
|
+
throw toKnownErr72(e);
|
|
26073
26338
|
});
|
|
26074
26339
|
}
|
|
26075
26340
|
getActorFeeds(params2, opts) {
|
|
26076
26341
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
26077
|
-
throw
|
|
26342
|
+
throw toKnownErr73(e);
|
|
26078
26343
|
});
|
|
26079
26344
|
}
|
|
26080
26345
|
getActorLikes(params2, opts) {
|
|
26081
26346
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
26082
|
-
throw
|
|
26347
|
+
throw toKnownErr74(e);
|
|
26083
26348
|
});
|
|
26084
26349
|
}
|
|
26085
26350
|
getAuthorFeed(params2, opts) {
|
|
26086
26351
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
26087
|
-
throw
|
|
26352
|
+
throw toKnownErr75(e);
|
|
26088
26353
|
});
|
|
26089
26354
|
}
|
|
26090
26355
|
getFeed(params2, opts) {
|
|
26091
26356
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
26092
|
-
throw
|
|
26357
|
+
throw toKnownErr76(e);
|
|
26093
26358
|
});
|
|
26094
26359
|
}
|
|
26095
26360
|
getFeedGenerator(params2, opts) {
|
|
26096
26361
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
26097
|
-
throw
|
|
26362
|
+
throw toKnownErr77(e);
|
|
26098
26363
|
});
|
|
26099
26364
|
}
|
|
26100
26365
|
getFeedGenerators(params2, opts) {
|
|
26101
26366
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
26102
|
-
throw
|
|
26367
|
+
throw toKnownErr78(e);
|
|
26103
26368
|
});
|
|
26104
26369
|
}
|
|
26105
26370
|
getFeedSkeleton(params2, opts) {
|
|
26106
26371
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
26107
|
-
throw
|
|
26372
|
+
throw toKnownErr79(e);
|
|
26108
26373
|
});
|
|
26109
26374
|
}
|
|
26110
26375
|
getLikes(params2, opts) {
|
|
26111
26376
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
26112
|
-
throw
|
|
26377
|
+
throw toKnownErr80(e);
|
|
26113
26378
|
});
|
|
26114
26379
|
}
|
|
26115
26380
|
getListFeed(params2, opts) {
|
|
26116
26381
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
26117
|
-
throw
|
|
26382
|
+
throw toKnownErr81(e);
|
|
26118
26383
|
});
|
|
26119
26384
|
}
|
|
26120
26385
|
getPostThread(params2, opts) {
|
|
26121
26386
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
26122
|
-
throw
|
|
26387
|
+
throw toKnownErr82(e);
|
|
26123
26388
|
});
|
|
26124
26389
|
}
|
|
26125
26390
|
getPosts(params2, opts) {
|
|
26126
26391
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
26127
|
-
throw
|
|
26392
|
+
throw toKnownErr83(e);
|
|
26128
26393
|
});
|
|
26129
26394
|
}
|
|
26130
26395
|
getRepostedBy(params2, opts) {
|
|
26131
26396
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
26132
|
-
throw
|
|
26397
|
+
throw toKnownErr84(e);
|
|
26133
26398
|
});
|
|
26134
26399
|
}
|
|
26135
26400
|
getSuggestedFeeds(params2, opts) {
|
|
26136
26401
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
26137
|
-
throw
|
|
26402
|
+
throw toKnownErr85(e);
|
|
26138
26403
|
});
|
|
26139
26404
|
}
|
|
26140
26405
|
getTimeline(params2, opts) {
|
|
26141
26406
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
26142
|
-
throw
|
|
26407
|
+
throw toKnownErr86(e);
|
|
26143
26408
|
});
|
|
26144
26409
|
}
|
|
26145
26410
|
searchPosts(params2, opts) {
|
|
26146
26411
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
26147
|
-
throw
|
|
26412
|
+
throw toKnownErr87(e);
|
|
26148
26413
|
});
|
|
26149
26414
|
}
|
|
26150
26415
|
};
|
|
@@ -26294,67 +26559,67 @@ var GraphNS = class {
|
|
|
26294
26559
|
}
|
|
26295
26560
|
getBlocks(params2, opts) {
|
|
26296
26561
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
26297
|
-
throw
|
|
26562
|
+
throw toKnownErr88(e);
|
|
26298
26563
|
});
|
|
26299
26564
|
}
|
|
26300
26565
|
getFollowers(params2, opts) {
|
|
26301
26566
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
26302
|
-
throw
|
|
26567
|
+
throw toKnownErr89(e);
|
|
26303
26568
|
});
|
|
26304
26569
|
}
|
|
26305
26570
|
getFollows(params2, opts) {
|
|
26306
26571
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
26307
|
-
throw
|
|
26572
|
+
throw toKnownErr90(e);
|
|
26308
26573
|
});
|
|
26309
26574
|
}
|
|
26310
26575
|
getList(params2, opts) {
|
|
26311
26576
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
26312
|
-
throw
|
|
26577
|
+
throw toKnownErr91(e);
|
|
26313
26578
|
});
|
|
26314
26579
|
}
|
|
26315
26580
|
getListBlocks(params2, opts) {
|
|
26316
26581
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
26317
|
-
throw
|
|
26582
|
+
throw toKnownErr92(e);
|
|
26318
26583
|
});
|
|
26319
26584
|
}
|
|
26320
26585
|
getListMutes(params2, opts) {
|
|
26321
26586
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
26322
|
-
throw
|
|
26587
|
+
throw toKnownErr93(e);
|
|
26323
26588
|
});
|
|
26324
26589
|
}
|
|
26325
26590
|
getLists(params2, opts) {
|
|
26326
26591
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
26327
|
-
throw
|
|
26592
|
+
throw toKnownErr94(e);
|
|
26328
26593
|
});
|
|
26329
26594
|
}
|
|
26330
26595
|
getMutes(params2, opts) {
|
|
26331
26596
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
26332
|
-
throw
|
|
26597
|
+
throw toKnownErr95(e);
|
|
26333
26598
|
});
|
|
26334
26599
|
}
|
|
26335
26600
|
getSuggestedFollowsByActor(params2, opts) {
|
|
26336
26601
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
26337
|
-
throw
|
|
26602
|
+
throw toKnownErr96(e);
|
|
26338
26603
|
});
|
|
26339
26604
|
}
|
|
26340
26605
|
muteActor(data, opts) {
|
|
26341
26606
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
26342
|
-
throw
|
|
26607
|
+
throw toKnownErr97(e);
|
|
26343
26608
|
});
|
|
26344
26609
|
}
|
|
26345
26610
|
muteActorList(data, opts) {
|
|
26346
26611
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
26347
|
-
throw
|
|
26612
|
+
throw toKnownErr98(e);
|
|
26348
26613
|
});
|
|
26349
26614
|
}
|
|
26350
26615
|
unmuteActor(data, opts) {
|
|
26351
26616
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
26352
|
-
throw
|
|
26617
|
+
throw toKnownErr99(e);
|
|
26353
26618
|
});
|
|
26354
26619
|
}
|
|
26355
26620
|
unmuteActorList(data, opts) {
|
|
26356
26621
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
26357
|
-
throw
|
|
26622
|
+
throw toKnownErr100(e);
|
|
26358
26623
|
});
|
|
26359
26624
|
}
|
|
26360
26625
|
};
|
|
@@ -26499,22 +26764,22 @@ var NotificationNS = class {
|
|
|
26499
26764
|
}
|
|
26500
26765
|
getUnreadCount(params2, opts) {
|
|
26501
26766
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
26502
|
-
throw
|
|
26767
|
+
throw toKnownErr101(e);
|
|
26503
26768
|
});
|
|
26504
26769
|
}
|
|
26505
26770
|
listNotifications(params2, opts) {
|
|
26506
26771
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
26507
|
-
throw
|
|
26772
|
+
throw toKnownErr102(e);
|
|
26508
26773
|
});
|
|
26509
26774
|
}
|
|
26510
26775
|
registerPush(data, opts) {
|
|
26511
26776
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
26512
|
-
throw
|
|
26777
|
+
throw toKnownErr103(e);
|
|
26513
26778
|
});
|
|
26514
26779
|
}
|
|
26515
26780
|
updateSeen(data, opts) {
|
|
26516
26781
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
26517
|
-
throw
|
|
26782
|
+
throw toKnownErr104(e);
|
|
26518
26783
|
});
|
|
26519
26784
|
}
|
|
26520
26785
|
};
|
|
@@ -26529,27 +26794,27 @@ var UnspeccedNS = class {
|
|
|
26529
26794
|
}
|
|
26530
26795
|
getPopular(params2, opts) {
|
|
26531
26796
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
26532
|
-
throw
|
|
26797
|
+
throw toKnownErr105(e);
|
|
26533
26798
|
});
|
|
26534
26799
|
}
|
|
26535
26800
|
getPopularFeedGenerators(params2, opts) {
|
|
26536
26801
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
26537
|
-
throw
|
|
26802
|
+
throw toKnownErr106(e);
|
|
26538
26803
|
});
|
|
26539
26804
|
}
|
|
26540
26805
|
getTimelineSkeleton(params2, opts) {
|
|
26541
26806
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
26542
|
-
throw
|
|
26807
|
+
throw toKnownErr107(e);
|
|
26543
26808
|
});
|
|
26544
26809
|
}
|
|
26545
26810
|
searchActorsSkeleton(params2, opts) {
|
|
26546
26811
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
26547
|
-
throw
|
|
26812
|
+
throw toKnownErr108(e);
|
|
26548
26813
|
});
|
|
26549
26814
|
}
|
|
26550
26815
|
searchPostsSkeleton(params2, opts) {
|
|
26551
26816
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
26552
|
-
throw
|
|
26817
|
+
throw toKnownErr109(e);
|
|
26553
26818
|
});
|
|
26554
26819
|
}
|
|
26555
26820
|
};
|
|
@@ -26646,6 +26911,7 @@ var _AtpAgent = class {
|
|
|
26646
26911
|
this.session.email = res.data.email;
|
|
26647
26912
|
this.session.handle = res.data.handle;
|
|
26648
26913
|
this.session.emailConfirmed = res.data.emailConfirmed;
|
|
26914
|
+
this._updateApiEndpoint(res.data.didDoc);
|
|
26649
26915
|
return res;
|
|
26650
26916
|
} catch (e) {
|
|
26651
26917
|
this.session = void 0;
|