@atproto/api 0.9.4 → 0.9.5
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 +6 -0
- package/dist/agent.d.ts +1 -1
- package/dist/client/index.d.ts +3 -0
- package/dist/client/lexicons.d.ts +29 -0
- package/dist/client/types/com/atproto/temp/checkSignupQueue.d.ts +19 -0
- package/dist/index.js +200 -155
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
- package/src/agent.ts +2 -2
- package/src/client/index.ts +13 -0
- package/src/client/lexicons.ts +29 -0
- package/src/client/types/com/atproto/temp/checkSignupQueue.ts +35 -0
package/dist/index.js
CHANGED
|
@@ -9036,6 +9036,7 @@ __export(src_exports2, {
|
|
|
9036
9036
|
ComAtprotoSyncNotifyOfUpdate: () => notifyOfUpdate_exports,
|
|
9037
9037
|
ComAtprotoSyncRequestCrawl: () => requestCrawl_exports,
|
|
9038
9038
|
ComAtprotoSyncSubscribeRepos: () => subscribeRepos_exports,
|
|
9039
|
+
ComAtprotoTempCheckSignupQueue: () => checkSignupQueue_exports,
|
|
9039
9040
|
ComAtprotoTempFetchLabels: () => fetchLabels_exports,
|
|
9040
9041
|
ComAtprotoTempImportRepo: () => importRepo_exports,
|
|
9041
9042
|
ComAtprotoTempNS: () => ComAtprotoTempNS,
|
|
@@ -19866,6 +19867,34 @@ var schemaDict = {
|
|
|
19866
19867
|
}
|
|
19867
19868
|
}
|
|
19868
19869
|
},
|
|
19870
|
+
ComAtprotoTempCheckSignupQueue: {
|
|
19871
|
+
lexicon: 1,
|
|
19872
|
+
id: "com.atproto.temp.checkSignupQueue",
|
|
19873
|
+
defs: {
|
|
19874
|
+
main: {
|
|
19875
|
+
type: "query",
|
|
19876
|
+
description: "Check accounts location in signup queue.",
|
|
19877
|
+
output: {
|
|
19878
|
+
encoding: "application/json",
|
|
19879
|
+
schema: {
|
|
19880
|
+
type: "object",
|
|
19881
|
+
required: ["activated"],
|
|
19882
|
+
properties: {
|
|
19883
|
+
activated: {
|
|
19884
|
+
type: "boolean"
|
|
19885
|
+
},
|
|
19886
|
+
placeInQueue: {
|
|
19887
|
+
type: "integer"
|
|
19888
|
+
},
|
|
19889
|
+
estimatedTimeMs: {
|
|
19890
|
+
type: "integer"
|
|
19891
|
+
}
|
|
19892
|
+
}
|
|
19893
|
+
}
|
|
19894
|
+
}
|
|
19895
|
+
}
|
|
19896
|
+
}
|
|
19897
|
+
},
|
|
19869
19898
|
ComAtprotoTempFetchLabels: {
|
|
19870
19899
|
lexicon: 1,
|
|
19871
19900
|
id: "com.atproto.temp.fetchLabels",
|
|
@@ -24909,12 +24938,23 @@ function toKnownErr67(e) {
|
|
|
24909
24938
|
return e;
|
|
24910
24939
|
}
|
|
24911
24940
|
|
|
24941
|
+
// src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
24942
|
+
var checkSignupQueue_exports = {};
|
|
24943
|
+
__export(checkSignupQueue_exports, {
|
|
24944
|
+
toKnownErr: () => toKnownErr68
|
|
24945
|
+
});
|
|
24946
|
+
function toKnownErr68(e) {
|
|
24947
|
+
if (e instanceof XRPCError) {
|
|
24948
|
+
}
|
|
24949
|
+
return e;
|
|
24950
|
+
}
|
|
24951
|
+
|
|
24912
24952
|
// src/client/types/com/atproto/temp/fetchLabels.ts
|
|
24913
24953
|
var fetchLabels_exports = {};
|
|
24914
24954
|
__export(fetchLabels_exports, {
|
|
24915
|
-
toKnownErr: () =>
|
|
24955
|
+
toKnownErr: () => toKnownErr69
|
|
24916
24956
|
});
|
|
24917
|
-
function
|
|
24957
|
+
function toKnownErr69(e) {
|
|
24918
24958
|
if (e instanceof XRPCError) {
|
|
24919
24959
|
}
|
|
24920
24960
|
return e;
|
|
@@ -24923,9 +24963,9 @@ function toKnownErr68(e) {
|
|
|
24923
24963
|
// src/client/types/com/atproto/temp/importRepo.ts
|
|
24924
24964
|
var importRepo_exports = {};
|
|
24925
24965
|
__export(importRepo_exports, {
|
|
24926
|
-
toKnownErr: () =>
|
|
24966
|
+
toKnownErr: () => toKnownErr70
|
|
24927
24967
|
});
|
|
24928
|
-
function
|
|
24968
|
+
function toKnownErr70(e) {
|
|
24929
24969
|
if (e instanceof XRPCError) {
|
|
24930
24970
|
}
|
|
24931
24971
|
return e;
|
|
@@ -24934,9 +24974,9 @@ function toKnownErr69(e) {
|
|
|
24934
24974
|
// src/client/types/com/atproto/temp/pushBlob.ts
|
|
24935
24975
|
var pushBlob_exports = {};
|
|
24936
24976
|
__export(pushBlob_exports, {
|
|
24937
|
-
toKnownErr: () =>
|
|
24977
|
+
toKnownErr: () => toKnownErr71
|
|
24938
24978
|
});
|
|
24939
|
-
function
|
|
24979
|
+
function toKnownErr71(e) {
|
|
24940
24980
|
if (e instanceof XRPCError) {
|
|
24941
24981
|
}
|
|
24942
24982
|
return e;
|
|
@@ -24945,9 +24985,9 @@ function toKnownErr70(e) {
|
|
|
24945
24985
|
// src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
24946
24986
|
var requestPhoneVerification_exports = {};
|
|
24947
24987
|
__export(requestPhoneVerification_exports, {
|
|
24948
|
-
toKnownErr: () =>
|
|
24988
|
+
toKnownErr: () => toKnownErr72
|
|
24949
24989
|
});
|
|
24950
|
-
function
|
|
24990
|
+
function toKnownErr72(e) {
|
|
24951
24991
|
if (e instanceof XRPCError) {
|
|
24952
24992
|
}
|
|
24953
24993
|
return e;
|
|
@@ -24963,7 +25003,7 @@ __export(transferAccount_exports, {
|
|
|
24963
25003
|
InvalidPasswordError: () => InvalidPasswordError2,
|
|
24964
25004
|
UnresolvableDidError: () => UnresolvableDidError2,
|
|
24965
25005
|
UnsupportedDomainError: () => UnsupportedDomainError2,
|
|
24966
|
-
toKnownErr: () =>
|
|
25006
|
+
toKnownErr: () => toKnownErr73
|
|
24967
25007
|
});
|
|
24968
25008
|
var InvalidHandleError3 = class extends XRPCError {
|
|
24969
25009
|
constructor(src2) {
|
|
@@ -25000,7 +25040,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
|
|
|
25000
25040
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25001
25041
|
}
|
|
25002
25042
|
};
|
|
25003
|
-
function
|
|
25043
|
+
function toKnownErr73(e) {
|
|
25004
25044
|
if (e instanceof XRPCError) {
|
|
25005
25045
|
if (e.error === "InvalidHandle")
|
|
25006
25046
|
return new InvalidHandleError3(e);
|
|
@@ -25023,9 +25063,9 @@ function toKnownErr72(e) {
|
|
|
25023
25063
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
25024
25064
|
var getPreferences_exports = {};
|
|
25025
25065
|
__export(getPreferences_exports, {
|
|
25026
|
-
toKnownErr: () =>
|
|
25066
|
+
toKnownErr: () => toKnownErr74
|
|
25027
25067
|
});
|
|
25028
|
-
function
|
|
25068
|
+
function toKnownErr74(e) {
|
|
25029
25069
|
if (e instanceof XRPCError) {
|
|
25030
25070
|
}
|
|
25031
25071
|
return e;
|
|
@@ -25034,9 +25074,9 @@ function toKnownErr73(e) {
|
|
|
25034
25074
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
25035
25075
|
var getProfile_exports = {};
|
|
25036
25076
|
__export(getProfile_exports, {
|
|
25037
|
-
toKnownErr: () =>
|
|
25077
|
+
toKnownErr: () => toKnownErr75
|
|
25038
25078
|
});
|
|
25039
|
-
function
|
|
25079
|
+
function toKnownErr75(e) {
|
|
25040
25080
|
if (e instanceof XRPCError) {
|
|
25041
25081
|
}
|
|
25042
25082
|
return e;
|
|
@@ -25045,9 +25085,9 @@ function toKnownErr74(e) {
|
|
|
25045
25085
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
25046
25086
|
var getProfiles_exports = {};
|
|
25047
25087
|
__export(getProfiles_exports, {
|
|
25048
|
-
toKnownErr: () =>
|
|
25088
|
+
toKnownErr: () => toKnownErr76
|
|
25049
25089
|
});
|
|
25050
|
-
function
|
|
25090
|
+
function toKnownErr76(e) {
|
|
25051
25091
|
if (e instanceof XRPCError) {
|
|
25052
25092
|
}
|
|
25053
25093
|
return e;
|
|
@@ -25056,9 +25096,9 @@ function toKnownErr75(e) {
|
|
|
25056
25096
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
25057
25097
|
var getSuggestions_exports = {};
|
|
25058
25098
|
__export(getSuggestions_exports, {
|
|
25059
|
-
toKnownErr: () =>
|
|
25099
|
+
toKnownErr: () => toKnownErr77
|
|
25060
25100
|
});
|
|
25061
|
-
function
|
|
25101
|
+
function toKnownErr77(e) {
|
|
25062
25102
|
if (e instanceof XRPCError) {
|
|
25063
25103
|
}
|
|
25064
25104
|
return e;
|
|
@@ -25067,9 +25107,9 @@ function toKnownErr76(e) {
|
|
|
25067
25107
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
25068
25108
|
var putPreferences_exports = {};
|
|
25069
25109
|
__export(putPreferences_exports, {
|
|
25070
|
-
toKnownErr: () =>
|
|
25110
|
+
toKnownErr: () => toKnownErr78
|
|
25071
25111
|
});
|
|
25072
|
-
function
|
|
25112
|
+
function toKnownErr78(e) {
|
|
25073
25113
|
if (e instanceof XRPCError) {
|
|
25074
25114
|
}
|
|
25075
25115
|
return e;
|
|
@@ -25078,9 +25118,9 @@ function toKnownErr77(e) {
|
|
|
25078
25118
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
25079
25119
|
var searchActors_exports = {};
|
|
25080
25120
|
__export(searchActors_exports, {
|
|
25081
|
-
toKnownErr: () =>
|
|
25121
|
+
toKnownErr: () => toKnownErr79
|
|
25082
25122
|
});
|
|
25083
|
-
function
|
|
25123
|
+
function toKnownErr79(e) {
|
|
25084
25124
|
if (e instanceof XRPCError) {
|
|
25085
25125
|
}
|
|
25086
25126
|
return e;
|
|
@@ -25089,9 +25129,9 @@ function toKnownErr78(e) {
|
|
|
25089
25129
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
25090
25130
|
var searchActorsTypeahead_exports = {};
|
|
25091
25131
|
__export(searchActorsTypeahead_exports, {
|
|
25092
|
-
toKnownErr: () =>
|
|
25132
|
+
toKnownErr: () => toKnownErr80
|
|
25093
25133
|
});
|
|
25094
|
-
function
|
|
25134
|
+
function toKnownErr80(e) {
|
|
25095
25135
|
if (e instanceof XRPCError) {
|
|
25096
25136
|
}
|
|
25097
25137
|
return e;
|
|
@@ -25102,11 +25142,11 @@ var describeFeedGenerator_exports = {};
|
|
|
25102
25142
|
__export(describeFeedGenerator_exports, {
|
|
25103
25143
|
isFeed: () => isFeed,
|
|
25104
25144
|
isLinks: () => isLinks2,
|
|
25105
|
-
toKnownErr: () =>
|
|
25145
|
+
toKnownErr: () => toKnownErr81,
|
|
25106
25146
|
validateFeed: () => validateFeed,
|
|
25107
25147
|
validateLinks: () => validateLinks2
|
|
25108
25148
|
});
|
|
25109
|
-
function
|
|
25149
|
+
function toKnownErr81(e) {
|
|
25110
25150
|
if (e instanceof XRPCError) {
|
|
25111
25151
|
}
|
|
25112
25152
|
return e;
|
|
@@ -25127,9 +25167,9 @@ function validateLinks2(v) {
|
|
|
25127
25167
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
25128
25168
|
var getActorFeeds_exports = {};
|
|
25129
25169
|
__export(getActorFeeds_exports, {
|
|
25130
|
-
toKnownErr: () =>
|
|
25170
|
+
toKnownErr: () => toKnownErr82
|
|
25131
25171
|
});
|
|
25132
|
-
function
|
|
25172
|
+
function toKnownErr82(e) {
|
|
25133
25173
|
if (e instanceof XRPCError) {
|
|
25134
25174
|
}
|
|
25135
25175
|
return e;
|
|
@@ -25140,7 +25180,7 @@ var getActorLikes_exports = {};
|
|
|
25140
25180
|
__export(getActorLikes_exports, {
|
|
25141
25181
|
BlockedActorError: () => BlockedActorError,
|
|
25142
25182
|
BlockedByActorError: () => BlockedByActorError,
|
|
25143
|
-
toKnownErr: () =>
|
|
25183
|
+
toKnownErr: () => toKnownErr83
|
|
25144
25184
|
});
|
|
25145
25185
|
var BlockedActorError = class extends XRPCError {
|
|
25146
25186
|
constructor(src2) {
|
|
@@ -25152,7 +25192,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
25152
25192
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25153
25193
|
}
|
|
25154
25194
|
};
|
|
25155
|
-
function
|
|
25195
|
+
function toKnownErr83(e) {
|
|
25156
25196
|
if (e instanceof XRPCError) {
|
|
25157
25197
|
if (e.error === "BlockedActor")
|
|
25158
25198
|
return new BlockedActorError(e);
|
|
@@ -25167,7 +25207,7 @@ var getAuthorFeed_exports = {};
|
|
|
25167
25207
|
__export(getAuthorFeed_exports, {
|
|
25168
25208
|
BlockedActorError: () => BlockedActorError2,
|
|
25169
25209
|
BlockedByActorError: () => BlockedByActorError2,
|
|
25170
|
-
toKnownErr: () =>
|
|
25210
|
+
toKnownErr: () => toKnownErr84
|
|
25171
25211
|
});
|
|
25172
25212
|
var BlockedActorError2 = class extends XRPCError {
|
|
25173
25213
|
constructor(src2) {
|
|
@@ -25179,7 +25219,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
25179
25219
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25180
25220
|
}
|
|
25181
25221
|
};
|
|
25182
|
-
function
|
|
25222
|
+
function toKnownErr84(e) {
|
|
25183
25223
|
if (e instanceof XRPCError) {
|
|
25184
25224
|
if (e.error === "BlockedActor")
|
|
25185
25225
|
return new BlockedActorError2(e);
|
|
@@ -25193,14 +25233,14 @@ function toKnownErr83(e) {
|
|
|
25193
25233
|
var getFeed_exports = {};
|
|
25194
25234
|
__export(getFeed_exports, {
|
|
25195
25235
|
UnknownFeedError: () => UnknownFeedError,
|
|
25196
|
-
toKnownErr: () =>
|
|
25236
|
+
toKnownErr: () => toKnownErr85
|
|
25197
25237
|
});
|
|
25198
25238
|
var UnknownFeedError = class extends XRPCError {
|
|
25199
25239
|
constructor(src2) {
|
|
25200
25240
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25201
25241
|
}
|
|
25202
25242
|
};
|
|
25203
|
-
function
|
|
25243
|
+
function toKnownErr85(e) {
|
|
25204
25244
|
if (e instanceof XRPCError) {
|
|
25205
25245
|
if (e.error === "UnknownFeed")
|
|
25206
25246
|
return new UnknownFeedError(e);
|
|
@@ -25211,9 +25251,9 @@ function toKnownErr84(e) {
|
|
|
25211
25251
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
25212
25252
|
var getFeedGenerator_exports = {};
|
|
25213
25253
|
__export(getFeedGenerator_exports, {
|
|
25214
|
-
toKnownErr: () =>
|
|
25254
|
+
toKnownErr: () => toKnownErr86
|
|
25215
25255
|
});
|
|
25216
|
-
function
|
|
25256
|
+
function toKnownErr86(e) {
|
|
25217
25257
|
if (e instanceof XRPCError) {
|
|
25218
25258
|
}
|
|
25219
25259
|
return e;
|
|
@@ -25222,9 +25262,9 @@ function toKnownErr85(e) {
|
|
|
25222
25262
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
25223
25263
|
var getFeedGenerators_exports = {};
|
|
25224
25264
|
__export(getFeedGenerators_exports, {
|
|
25225
|
-
toKnownErr: () =>
|
|
25265
|
+
toKnownErr: () => toKnownErr87
|
|
25226
25266
|
});
|
|
25227
|
-
function
|
|
25267
|
+
function toKnownErr87(e) {
|
|
25228
25268
|
if (e instanceof XRPCError) {
|
|
25229
25269
|
}
|
|
25230
25270
|
return e;
|
|
@@ -25234,14 +25274,14 @@ function toKnownErr86(e) {
|
|
|
25234
25274
|
var getFeedSkeleton_exports = {};
|
|
25235
25275
|
__export(getFeedSkeleton_exports, {
|
|
25236
25276
|
UnknownFeedError: () => UnknownFeedError2,
|
|
25237
|
-
toKnownErr: () =>
|
|
25277
|
+
toKnownErr: () => toKnownErr88
|
|
25238
25278
|
});
|
|
25239
25279
|
var UnknownFeedError2 = class extends XRPCError {
|
|
25240
25280
|
constructor(src2) {
|
|
25241
25281
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25242
25282
|
}
|
|
25243
25283
|
};
|
|
25244
|
-
function
|
|
25284
|
+
function toKnownErr88(e) {
|
|
25245
25285
|
if (e instanceof XRPCError) {
|
|
25246
25286
|
if (e.error === "UnknownFeed")
|
|
25247
25287
|
return new UnknownFeedError2(e);
|
|
@@ -25253,10 +25293,10 @@ function toKnownErr87(e) {
|
|
|
25253
25293
|
var getLikes_exports = {};
|
|
25254
25294
|
__export(getLikes_exports, {
|
|
25255
25295
|
isLike: () => isLike,
|
|
25256
|
-
toKnownErr: () =>
|
|
25296
|
+
toKnownErr: () => toKnownErr89,
|
|
25257
25297
|
validateLike: () => validateLike
|
|
25258
25298
|
});
|
|
25259
|
-
function
|
|
25299
|
+
function toKnownErr89(e) {
|
|
25260
25300
|
if (e instanceof XRPCError) {
|
|
25261
25301
|
}
|
|
25262
25302
|
return e;
|
|
@@ -25272,14 +25312,14 @@ function validateLike(v) {
|
|
|
25272
25312
|
var getListFeed_exports = {};
|
|
25273
25313
|
__export(getListFeed_exports, {
|
|
25274
25314
|
UnknownListError: () => UnknownListError,
|
|
25275
|
-
toKnownErr: () =>
|
|
25315
|
+
toKnownErr: () => toKnownErr90
|
|
25276
25316
|
});
|
|
25277
25317
|
var UnknownListError = class extends XRPCError {
|
|
25278
25318
|
constructor(src2) {
|
|
25279
25319
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25280
25320
|
}
|
|
25281
25321
|
};
|
|
25282
|
-
function
|
|
25322
|
+
function toKnownErr90(e) {
|
|
25283
25323
|
if (e instanceof XRPCError) {
|
|
25284
25324
|
if (e.error === "UnknownList")
|
|
25285
25325
|
return new UnknownListError(e);
|
|
@@ -25291,14 +25331,14 @@ function toKnownErr89(e) {
|
|
|
25291
25331
|
var getPostThread_exports = {};
|
|
25292
25332
|
__export(getPostThread_exports, {
|
|
25293
25333
|
NotFoundError: () => NotFoundError,
|
|
25294
|
-
toKnownErr: () =>
|
|
25334
|
+
toKnownErr: () => toKnownErr91
|
|
25295
25335
|
});
|
|
25296
25336
|
var NotFoundError = class extends XRPCError {
|
|
25297
25337
|
constructor(src2) {
|
|
25298
25338
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25299
25339
|
}
|
|
25300
25340
|
};
|
|
25301
|
-
function
|
|
25341
|
+
function toKnownErr91(e) {
|
|
25302
25342
|
if (e instanceof XRPCError) {
|
|
25303
25343
|
if (e.error === "NotFound")
|
|
25304
25344
|
return new NotFoundError(e);
|
|
@@ -25309,9 +25349,9 @@ function toKnownErr90(e) {
|
|
|
25309
25349
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
25310
25350
|
var getPosts_exports = {};
|
|
25311
25351
|
__export(getPosts_exports, {
|
|
25312
|
-
toKnownErr: () =>
|
|
25352
|
+
toKnownErr: () => toKnownErr92
|
|
25313
25353
|
});
|
|
25314
|
-
function
|
|
25354
|
+
function toKnownErr92(e) {
|
|
25315
25355
|
if (e instanceof XRPCError) {
|
|
25316
25356
|
}
|
|
25317
25357
|
return e;
|
|
@@ -25320,9 +25360,9 @@ function toKnownErr91(e) {
|
|
|
25320
25360
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
25321
25361
|
var getRepostedBy_exports = {};
|
|
25322
25362
|
__export(getRepostedBy_exports, {
|
|
25323
|
-
toKnownErr: () =>
|
|
25363
|
+
toKnownErr: () => toKnownErr93
|
|
25324
25364
|
});
|
|
25325
|
-
function
|
|
25365
|
+
function toKnownErr93(e) {
|
|
25326
25366
|
if (e instanceof XRPCError) {
|
|
25327
25367
|
}
|
|
25328
25368
|
return e;
|
|
@@ -25331,9 +25371,9 @@ function toKnownErr92(e) {
|
|
|
25331
25371
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
25332
25372
|
var getSuggestedFeeds_exports = {};
|
|
25333
25373
|
__export(getSuggestedFeeds_exports, {
|
|
25334
|
-
toKnownErr: () =>
|
|
25374
|
+
toKnownErr: () => toKnownErr94
|
|
25335
25375
|
});
|
|
25336
|
-
function
|
|
25376
|
+
function toKnownErr94(e) {
|
|
25337
25377
|
if (e instanceof XRPCError) {
|
|
25338
25378
|
}
|
|
25339
25379
|
return e;
|
|
@@ -25342,9 +25382,9 @@ function toKnownErr93(e) {
|
|
|
25342
25382
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
25343
25383
|
var getTimeline_exports = {};
|
|
25344
25384
|
__export(getTimeline_exports, {
|
|
25345
|
-
toKnownErr: () =>
|
|
25385
|
+
toKnownErr: () => toKnownErr95
|
|
25346
25386
|
});
|
|
25347
|
-
function
|
|
25387
|
+
function toKnownErr95(e) {
|
|
25348
25388
|
if (e instanceof XRPCError) {
|
|
25349
25389
|
}
|
|
25350
25390
|
return e;
|
|
@@ -25354,14 +25394,14 @@ function toKnownErr94(e) {
|
|
|
25354
25394
|
var searchPosts_exports = {};
|
|
25355
25395
|
__export(searchPosts_exports, {
|
|
25356
25396
|
BadQueryStringError: () => BadQueryStringError,
|
|
25357
|
-
toKnownErr: () =>
|
|
25397
|
+
toKnownErr: () => toKnownErr96
|
|
25358
25398
|
});
|
|
25359
25399
|
var BadQueryStringError = class extends XRPCError {
|
|
25360
25400
|
constructor(src2) {
|
|
25361
25401
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25362
25402
|
}
|
|
25363
25403
|
};
|
|
25364
|
-
function
|
|
25404
|
+
function toKnownErr96(e) {
|
|
25365
25405
|
if (e instanceof XRPCError) {
|
|
25366
25406
|
if (e.error === "BadQueryString")
|
|
25367
25407
|
return new BadQueryStringError(e);
|
|
@@ -25372,9 +25412,9 @@ function toKnownErr95(e) {
|
|
|
25372
25412
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
25373
25413
|
var getBlocks_exports2 = {};
|
|
25374
25414
|
__export(getBlocks_exports2, {
|
|
25375
|
-
toKnownErr: () =>
|
|
25415
|
+
toKnownErr: () => toKnownErr97
|
|
25376
25416
|
});
|
|
25377
|
-
function
|
|
25417
|
+
function toKnownErr97(e) {
|
|
25378
25418
|
if (e instanceof XRPCError) {
|
|
25379
25419
|
}
|
|
25380
25420
|
return e;
|
|
@@ -25383,9 +25423,9 @@ function toKnownErr96(e) {
|
|
|
25383
25423
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
25384
25424
|
var getFollowers_exports = {};
|
|
25385
25425
|
__export(getFollowers_exports, {
|
|
25386
|
-
toKnownErr: () =>
|
|
25426
|
+
toKnownErr: () => toKnownErr98
|
|
25387
25427
|
});
|
|
25388
|
-
function
|
|
25428
|
+
function toKnownErr98(e) {
|
|
25389
25429
|
if (e instanceof XRPCError) {
|
|
25390
25430
|
}
|
|
25391
25431
|
return e;
|
|
@@ -25394,9 +25434,9 @@ function toKnownErr97(e) {
|
|
|
25394
25434
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
25395
25435
|
var getFollows_exports = {};
|
|
25396
25436
|
__export(getFollows_exports, {
|
|
25397
|
-
toKnownErr: () =>
|
|
25437
|
+
toKnownErr: () => toKnownErr99
|
|
25398
25438
|
});
|
|
25399
|
-
function
|
|
25439
|
+
function toKnownErr99(e) {
|
|
25400
25440
|
if (e instanceof XRPCError) {
|
|
25401
25441
|
}
|
|
25402
25442
|
return e;
|
|
@@ -25405,9 +25445,9 @@ function toKnownErr98(e) {
|
|
|
25405
25445
|
// src/client/types/app/bsky/graph/getList.ts
|
|
25406
25446
|
var getList_exports = {};
|
|
25407
25447
|
__export(getList_exports, {
|
|
25408
|
-
toKnownErr: () =>
|
|
25448
|
+
toKnownErr: () => toKnownErr100
|
|
25409
25449
|
});
|
|
25410
|
-
function
|
|
25450
|
+
function toKnownErr100(e) {
|
|
25411
25451
|
if (e instanceof XRPCError) {
|
|
25412
25452
|
}
|
|
25413
25453
|
return e;
|
|
@@ -25416,9 +25456,9 @@ function toKnownErr99(e) {
|
|
|
25416
25456
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
25417
25457
|
var getListBlocks_exports = {};
|
|
25418
25458
|
__export(getListBlocks_exports, {
|
|
25419
|
-
toKnownErr: () =>
|
|
25459
|
+
toKnownErr: () => toKnownErr101
|
|
25420
25460
|
});
|
|
25421
|
-
function
|
|
25461
|
+
function toKnownErr101(e) {
|
|
25422
25462
|
if (e instanceof XRPCError) {
|
|
25423
25463
|
}
|
|
25424
25464
|
return e;
|
|
@@ -25427,9 +25467,9 @@ function toKnownErr100(e) {
|
|
|
25427
25467
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
25428
25468
|
var getListMutes_exports = {};
|
|
25429
25469
|
__export(getListMutes_exports, {
|
|
25430
|
-
toKnownErr: () =>
|
|
25470
|
+
toKnownErr: () => toKnownErr102
|
|
25431
25471
|
});
|
|
25432
|
-
function
|
|
25472
|
+
function toKnownErr102(e) {
|
|
25433
25473
|
if (e instanceof XRPCError) {
|
|
25434
25474
|
}
|
|
25435
25475
|
return e;
|
|
@@ -25438,9 +25478,9 @@ function toKnownErr101(e) {
|
|
|
25438
25478
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
25439
25479
|
var getLists_exports = {};
|
|
25440
25480
|
__export(getLists_exports, {
|
|
25441
|
-
toKnownErr: () =>
|
|
25481
|
+
toKnownErr: () => toKnownErr103
|
|
25442
25482
|
});
|
|
25443
|
-
function
|
|
25483
|
+
function toKnownErr103(e) {
|
|
25444
25484
|
if (e instanceof XRPCError) {
|
|
25445
25485
|
}
|
|
25446
25486
|
return e;
|
|
@@ -25449,9 +25489,9 @@ function toKnownErr102(e) {
|
|
|
25449
25489
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
25450
25490
|
var getMutes_exports = {};
|
|
25451
25491
|
__export(getMutes_exports, {
|
|
25452
|
-
toKnownErr: () =>
|
|
25492
|
+
toKnownErr: () => toKnownErr104
|
|
25453
25493
|
});
|
|
25454
|
-
function
|
|
25494
|
+
function toKnownErr104(e) {
|
|
25455
25495
|
if (e instanceof XRPCError) {
|
|
25456
25496
|
}
|
|
25457
25497
|
return e;
|
|
@@ -25461,14 +25501,14 @@ function toKnownErr103(e) {
|
|
|
25461
25501
|
var getRelationships_exports = {};
|
|
25462
25502
|
__export(getRelationships_exports, {
|
|
25463
25503
|
ActorNotFoundError: () => ActorNotFoundError,
|
|
25464
|
-
toKnownErr: () =>
|
|
25504
|
+
toKnownErr: () => toKnownErr105
|
|
25465
25505
|
});
|
|
25466
25506
|
var ActorNotFoundError = class extends XRPCError {
|
|
25467
25507
|
constructor(src2) {
|
|
25468
25508
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25469
25509
|
}
|
|
25470
25510
|
};
|
|
25471
|
-
function
|
|
25511
|
+
function toKnownErr105(e) {
|
|
25472
25512
|
if (e instanceof XRPCError) {
|
|
25473
25513
|
if (e.error === "ActorNotFound")
|
|
25474
25514
|
return new ActorNotFoundError(e);
|
|
@@ -25479,9 +25519,9 @@ function toKnownErr104(e) {
|
|
|
25479
25519
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
25480
25520
|
var getSuggestedFollowsByActor_exports = {};
|
|
25481
25521
|
__export(getSuggestedFollowsByActor_exports, {
|
|
25482
|
-
toKnownErr: () =>
|
|
25522
|
+
toKnownErr: () => toKnownErr106
|
|
25483
25523
|
});
|
|
25484
|
-
function
|
|
25524
|
+
function toKnownErr106(e) {
|
|
25485
25525
|
if (e instanceof XRPCError) {
|
|
25486
25526
|
}
|
|
25487
25527
|
return e;
|
|
@@ -25490,9 +25530,9 @@ function toKnownErr105(e) {
|
|
|
25490
25530
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
25491
25531
|
var muteActor_exports = {};
|
|
25492
25532
|
__export(muteActor_exports, {
|
|
25493
|
-
toKnownErr: () =>
|
|
25533
|
+
toKnownErr: () => toKnownErr107
|
|
25494
25534
|
});
|
|
25495
|
-
function
|
|
25535
|
+
function toKnownErr107(e) {
|
|
25496
25536
|
if (e instanceof XRPCError) {
|
|
25497
25537
|
}
|
|
25498
25538
|
return e;
|
|
@@ -25501,9 +25541,9 @@ function toKnownErr106(e) {
|
|
|
25501
25541
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
25502
25542
|
var muteActorList_exports = {};
|
|
25503
25543
|
__export(muteActorList_exports, {
|
|
25504
|
-
toKnownErr: () =>
|
|
25544
|
+
toKnownErr: () => toKnownErr108
|
|
25505
25545
|
});
|
|
25506
|
-
function
|
|
25546
|
+
function toKnownErr108(e) {
|
|
25507
25547
|
if (e instanceof XRPCError) {
|
|
25508
25548
|
}
|
|
25509
25549
|
return e;
|
|
@@ -25512,9 +25552,9 @@ function toKnownErr107(e) {
|
|
|
25512
25552
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
25513
25553
|
var unmuteActor_exports = {};
|
|
25514
25554
|
__export(unmuteActor_exports, {
|
|
25515
|
-
toKnownErr: () =>
|
|
25555
|
+
toKnownErr: () => toKnownErr109
|
|
25516
25556
|
});
|
|
25517
|
-
function
|
|
25557
|
+
function toKnownErr109(e) {
|
|
25518
25558
|
if (e instanceof XRPCError) {
|
|
25519
25559
|
}
|
|
25520
25560
|
return e;
|
|
@@ -25523,9 +25563,9 @@ function toKnownErr108(e) {
|
|
|
25523
25563
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
25524
25564
|
var unmuteActorList_exports = {};
|
|
25525
25565
|
__export(unmuteActorList_exports, {
|
|
25526
|
-
toKnownErr: () =>
|
|
25566
|
+
toKnownErr: () => toKnownErr110
|
|
25527
25567
|
});
|
|
25528
|
-
function
|
|
25568
|
+
function toKnownErr110(e) {
|
|
25529
25569
|
if (e instanceof XRPCError) {
|
|
25530
25570
|
}
|
|
25531
25571
|
return e;
|
|
@@ -25534,9 +25574,9 @@ function toKnownErr109(e) {
|
|
|
25534
25574
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
25535
25575
|
var getUnreadCount_exports = {};
|
|
25536
25576
|
__export(getUnreadCount_exports, {
|
|
25537
|
-
toKnownErr: () =>
|
|
25577
|
+
toKnownErr: () => toKnownErr111
|
|
25538
25578
|
});
|
|
25539
|
-
function
|
|
25579
|
+
function toKnownErr111(e) {
|
|
25540
25580
|
if (e instanceof XRPCError) {
|
|
25541
25581
|
}
|
|
25542
25582
|
return e;
|
|
@@ -25546,10 +25586,10 @@ function toKnownErr110(e) {
|
|
|
25546
25586
|
var listNotifications_exports = {};
|
|
25547
25587
|
__export(listNotifications_exports, {
|
|
25548
25588
|
isNotification: () => isNotification,
|
|
25549
|
-
toKnownErr: () =>
|
|
25589
|
+
toKnownErr: () => toKnownErr112,
|
|
25550
25590
|
validateNotification: () => validateNotification
|
|
25551
25591
|
});
|
|
25552
|
-
function
|
|
25592
|
+
function toKnownErr112(e) {
|
|
25553
25593
|
if (e instanceof XRPCError) {
|
|
25554
25594
|
}
|
|
25555
25595
|
return e;
|
|
@@ -25564,9 +25604,9 @@ function validateNotification(v) {
|
|
|
25564
25604
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
25565
25605
|
var registerPush_exports = {};
|
|
25566
25606
|
__export(registerPush_exports, {
|
|
25567
|
-
toKnownErr: () =>
|
|
25607
|
+
toKnownErr: () => toKnownErr113
|
|
25568
25608
|
});
|
|
25569
|
-
function
|
|
25609
|
+
function toKnownErr113(e) {
|
|
25570
25610
|
if (e instanceof XRPCError) {
|
|
25571
25611
|
}
|
|
25572
25612
|
return e;
|
|
@@ -25575,9 +25615,9 @@ function toKnownErr112(e) {
|
|
|
25575
25615
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
25576
25616
|
var updateSeen_exports = {};
|
|
25577
25617
|
__export(updateSeen_exports, {
|
|
25578
|
-
toKnownErr: () =>
|
|
25618
|
+
toKnownErr: () => toKnownErr114
|
|
25579
25619
|
});
|
|
25580
|
-
function
|
|
25620
|
+
function toKnownErr114(e) {
|
|
25581
25621
|
if (e instanceof XRPCError) {
|
|
25582
25622
|
}
|
|
25583
25623
|
return e;
|
|
@@ -25586,9 +25626,9 @@ function toKnownErr113(e) {
|
|
|
25586
25626
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
25587
25627
|
var getPopularFeedGenerators_exports = {};
|
|
25588
25628
|
__export(getPopularFeedGenerators_exports, {
|
|
25589
|
-
toKnownErr: () =>
|
|
25629
|
+
toKnownErr: () => toKnownErr115
|
|
25590
25630
|
});
|
|
25591
|
-
function
|
|
25631
|
+
function toKnownErr115(e) {
|
|
25592
25632
|
if (e instanceof XRPCError) {
|
|
25593
25633
|
}
|
|
25594
25634
|
return e;
|
|
@@ -25598,10 +25638,10 @@ function toKnownErr114(e) {
|
|
|
25598
25638
|
var getTaggedSuggestions_exports = {};
|
|
25599
25639
|
__export(getTaggedSuggestions_exports, {
|
|
25600
25640
|
isSuggestion: () => isSuggestion,
|
|
25601
|
-
toKnownErr: () =>
|
|
25641
|
+
toKnownErr: () => toKnownErr116,
|
|
25602
25642
|
validateSuggestion: () => validateSuggestion
|
|
25603
25643
|
});
|
|
25604
|
-
function
|
|
25644
|
+
function toKnownErr116(e) {
|
|
25605
25645
|
if (e instanceof XRPCError) {
|
|
25606
25646
|
}
|
|
25607
25647
|
return e;
|
|
@@ -25617,14 +25657,14 @@ function validateSuggestion(v) {
|
|
|
25617
25657
|
var getTimelineSkeleton_exports = {};
|
|
25618
25658
|
__export(getTimelineSkeleton_exports, {
|
|
25619
25659
|
UnknownFeedError: () => UnknownFeedError3,
|
|
25620
|
-
toKnownErr: () =>
|
|
25660
|
+
toKnownErr: () => toKnownErr117
|
|
25621
25661
|
});
|
|
25622
25662
|
var UnknownFeedError3 = class extends XRPCError {
|
|
25623
25663
|
constructor(src2) {
|
|
25624
25664
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25625
25665
|
}
|
|
25626
25666
|
};
|
|
25627
|
-
function
|
|
25667
|
+
function toKnownErr117(e) {
|
|
25628
25668
|
if (e instanceof XRPCError) {
|
|
25629
25669
|
if (e.error === "UnknownFeed")
|
|
25630
25670
|
return new UnknownFeedError3(e);
|
|
@@ -25636,14 +25676,14 @@ function toKnownErr116(e) {
|
|
|
25636
25676
|
var searchActorsSkeleton_exports = {};
|
|
25637
25677
|
__export(searchActorsSkeleton_exports, {
|
|
25638
25678
|
BadQueryStringError: () => BadQueryStringError2,
|
|
25639
|
-
toKnownErr: () =>
|
|
25679
|
+
toKnownErr: () => toKnownErr118
|
|
25640
25680
|
});
|
|
25641
25681
|
var BadQueryStringError2 = class extends XRPCError {
|
|
25642
25682
|
constructor(src2) {
|
|
25643
25683
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25644
25684
|
}
|
|
25645
25685
|
};
|
|
25646
|
-
function
|
|
25686
|
+
function toKnownErr118(e) {
|
|
25647
25687
|
if (e instanceof XRPCError) {
|
|
25648
25688
|
if (e.error === "BadQueryString")
|
|
25649
25689
|
return new BadQueryStringError2(e);
|
|
@@ -25655,14 +25695,14 @@ function toKnownErr117(e) {
|
|
|
25655
25695
|
var searchPostsSkeleton_exports = {};
|
|
25656
25696
|
__export(searchPostsSkeleton_exports, {
|
|
25657
25697
|
BadQueryStringError: () => BadQueryStringError3,
|
|
25658
|
-
toKnownErr: () =>
|
|
25698
|
+
toKnownErr: () => toKnownErr119
|
|
25659
25699
|
});
|
|
25660
25700
|
var BadQueryStringError3 = class extends XRPCError {
|
|
25661
25701
|
constructor(src2) {
|
|
25662
25702
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25663
25703
|
}
|
|
25664
25704
|
};
|
|
25665
|
-
function
|
|
25705
|
+
function toKnownErr119(e) {
|
|
25666
25706
|
if (e instanceof XRPCError) {
|
|
25667
25707
|
if (e.error === "BadQueryString")
|
|
25668
25708
|
return new BadQueryStringError3(e);
|
|
@@ -27197,29 +27237,34 @@ var ComAtprotoTempNS = class {
|
|
|
27197
27237
|
constructor(service2) {
|
|
27198
27238
|
this._service = service2;
|
|
27199
27239
|
}
|
|
27240
|
+
checkSignupQueue(params2, opts) {
|
|
27241
|
+
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
27242
|
+
throw toKnownErr68(e);
|
|
27243
|
+
});
|
|
27244
|
+
}
|
|
27200
27245
|
fetchLabels(params2, opts) {
|
|
27201
27246
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
27202
|
-
throw
|
|
27247
|
+
throw toKnownErr69(e);
|
|
27203
27248
|
});
|
|
27204
27249
|
}
|
|
27205
27250
|
importRepo(data, opts) {
|
|
27206
27251
|
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
27207
|
-
throw
|
|
27252
|
+
throw toKnownErr70(e);
|
|
27208
27253
|
});
|
|
27209
27254
|
}
|
|
27210
27255
|
pushBlob(data, opts) {
|
|
27211
27256
|
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
27212
|
-
throw
|
|
27257
|
+
throw toKnownErr71(e);
|
|
27213
27258
|
});
|
|
27214
27259
|
}
|
|
27215
27260
|
requestPhoneVerification(data, opts) {
|
|
27216
27261
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
27217
|
-
throw
|
|
27262
|
+
throw toKnownErr72(e);
|
|
27218
27263
|
});
|
|
27219
27264
|
}
|
|
27220
27265
|
transferAccount(data, opts) {
|
|
27221
27266
|
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
27222
|
-
throw
|
|
27267
|
+
throw toKnownErr73(e);
|
|
27223
27268
|
});
|
|
27224
27269
|
}
|
|
27225
27270
|
};
|
|
@@ -27248,37 +27293,37 @@ var AppBskyActorNS = class {
|
|
|
27248
27293
|
}
|
|
27249
27294
|
getPreferences(params2, opts) {
|
|
27250
27295
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
27251
|
-
throw
|
|
27296
|
+
throw toKnownErr74(e);
|
|
27252
27297
|
});
|
|
27253
27298
|
}
|
|
27254
27299
|
getProfile(params2, opts) {
|
|
27255
27300
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
27256
|
-
throw
|
|
27301
|
+
throw toKnownErr75(e);
|
|
27257
27302
|
});
|
|
27258
27303
|
}
|
|
27259
27304
|
getProfiles(params2, opts) {
|
|
27260
27305
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
27261
|
-
throw
|
|
27306
|
+
throw toKnownErr76(e);
|
|
27262
27307
|
});
|
|
27263
27308
|
}
|
|
27264
27309
|
getSuggestions(params2, opts) {
|
|
27265
27310
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
27266
|
-
throw
|
|
27311
|
+
throw toKnownErr77(e);
|
|
27267
27312
|
});
|
|
27268
27313
|
}
|
|
27269
27314
|
putPreferences(data, opts) {
|
|
27270
27315
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
27271
|
-
throw
|
|
27316
|
+
throw toKnownErr78(e);
|
|
27272
27317
|
});
|
|
27273
27318
|
}
|
|
27274
27319
|
searchActors(params2, opts) {
|
|
27275
27320
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
27276
|
-
throw
|
|
27321
|
+
throw toKnownErr79(e);
|
|
27277
27322
|
});
|
|
27278
27323
|
}
|
|
27279
27324
|
searchActorsTypeahead(params2, opts) {
|
|
27280
27325
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
27281
|
-
throw
|
|
27326
|
+
throw toKnownErr80(e);
|
|
27282
27327
|
});
|
|
27283
27328
|
}
|
|
27284
27329
|
};
|
|
@@ -27325,82 +27370,82 @@ var AppBskyFeedNS = class {
|
|
|
27325
27370
|
}
|
|
27326
27371
|
describeFeedGenerator(params2, opts) {
|
|
27327
27372
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
27328
|
-
throw
|
|
27373
|
+
throw toKnownErr81(e);
|
|
27329
27374
|
});
|
|
27330
27375
|
}
|
|
27331
27376
|
getActorFeeds(params2, opts) {
|
|
27332
27377
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
27333
|
-
throw
|
|
27378
|
+
throw toKnownErr82(e);
|
|
27334
27379
|
});
|
|
27335
27380
|
}
|
|
27336
27381
|
getActorLikes(params2, opts) {
|
|
27337
27382
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
27338
|
-
throw
|
|
27383
|
+
throw toKnownErr83(e);
|
|
27339
27384
|
});
|
|
27340
27385
|
}
|
|
27341
27386
|
getAuthorFeed(params2, opts) {
|
|
27342
27387
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
27343
|
-
throw
|
|
27388
|
+
throw toKnownErr84(e);
|
|
27344
27389
|
});
|
|
27345
27390
|
}
|
|
27346
27391
|
getFeed(params2, opts) {
|
|
27347
27392
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
27348
|
-
throw
|
|
27393
|
+
throw toKnownErr85(e);
|
|
27349
27394
|
});
|
|
27350
27395
|
}
|
|
27351
27396
|
getFeedGenerator(params2, opts) {
|
|
27352
27397
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
27353
|
-
throw
|
|
27398
|
+
throw toKnownErr86(e);
|
|
27354
27399
|
});
|
|
27355
27400
|
}
|
|
27356
27401
|
getFeedGenerators(params2, opts) {
|
|
27357
27402
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
27358
|
-
throw
|
|
27403
|
+
throw toKnownErr87(e);
|
|
27359
27404
|
});
|
|
27360
27405
|
}
|
|
27361
27406
|
getFeedSkeleton(params2, opts) {
|
|
27362
27407
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
27363
|
-
throw
|
|
27408
|
+
throw toKnownErr88(e);
|
|
27364
27409
|
});
|
|
27365
27410
|
}
|
|
27366
27411
|
getLikes(params2, opts) {
|
|
27367
27412
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
27368
|
-
throw
|
|
27413
|
+
throw toKnownErr89(e);
|
|
27369
27414
|
});
|
|
27370
27415
|
}
|
|
27371
27416
|
getListFeed(params2, opts) {
|
|
27372
27417
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
27373
|
-
throw
|
|
27418
|
+
throw toKnownErr90(e);
|
|
27374
27419
|
});
|
|
27375
27420
|
}
|
|
27376
27421
|
getPostThread(params2, opts) {
|
|
27377
27422
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
27378
|
-
throw
|
|
27423
|
+
throw toKnownErr91(e);
|
|
27379
27424
|
});
|
|
27380
27425
|
}
|
|
27381
27426
|
getPosts(params2, opts) {
|
|
27382
27427
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
27383
|
-
throw
|
|
27428
|
+
throw toKnownErr92(e);
|
|
27384
27429
|
});
|
|
27385
27430
|
}
|
|
27386
27431
|
getRepostedBy(params2, opts) {
|
|
27387
27432
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
27388
|
-
throw
|
|
27433
|
+
throw toKnownErr93(e);
|
|
27389
27434
|
});
|
|
27390
27435
|
}
|
|
27391
27436
|
getSuggestedFeeds(params2, opts) {
|
|
27392
27437
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
27393
|
-
throw
|
|
27438
|
+
throw toKnownErr94(e);
|
|
27394
27439
|
});
|
|
27395
27440
|
}
|
|
27396
27441
|
getTimeline(params2, opts) {
|
|
27397
27442
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
27398
|
-
throw
|
|
27443
|
+
throw toKnownErr95(e);
|
|
27399
27444
|
});
|
|
27400
27445
|
}
|
|
27401
27446
|
searchPosts(params2, opts) {
|
|
27402
27447
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
27403
|
-
throw
|
|
27448
|
+
throw toKnownErr96(e);
|
|
27404
27449
|
});
|
|
27405
27450
|
}
|
|
27406
27451
|
};
|
|
@@ -27550,72 +27595,72 @@ var AppBskyGraphNS = class {
|
|
|
27550
27595
|
}
|
|
27551
27596
|
getBlocks(params2, opts) {
|
|
27552
27597
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
27553
|
-
throw
|
|
27598
|
+
throw toKnownErr97(e);
|
|
27554
27599
|
});
|
|
27555
27600
|
}
|
|
27556
27601
|
getFollowers(params2, opts) {
|
|
27557
27602
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
27558
|
-
throw
|
|
27603
|
+
throw toKnownErr98(e);
|
|
27559
27604
|
});
|
|
27560
27605
|
}
|
|
27561
27606
|
getFollows(params2, opts) {
|
|
27562
27607
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
27563
|
-
throw
|
|
27608
|
+
throw toKnownErr99(e);
|
|
27564
27609
|
});
|
|
27565
27610
|
}
|
|
27566
27611
|
getList(params2, opts) {
|
|
27567
27612
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
27568
|
-
throw
|
|
27613
|
+
throw toKnownErr100(e);
|
|
27569
27614
|
});
|
|
27570
27615
|
}
|
|
27571
27616
|
getListBlocks(params2, opts) {
|
|
27572
27617
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
27573
|
-
throw
|
|
27618
|
+
throw toKnownErr101(e);
|
|
27574
27619
|
});
|
|
27575
27620
|
}
|
|
27576
27621
|
getListMutes(params2, opts) {
|
|
27577
27622
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
27578
|
-
throw
|
|
27623
|
+
throw toKnownErr102(e);
|
|
27579
27624
|
});
|
|
27580
27625
|
}
|
|
27581
27626
|
getLists(params2, opts) {
|
|
27582
27627
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
27583
|
-
throw
|
|
27628
|
+
throw toKnownErr103(e);
|
|
27584
27629
|
});
|
|
27585
27630
|
}
|
|
27586
27631
|
getMutes(params2, opts) {
|
|
27587
27632
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
27588
|
-
throw
|
|
27633
|
+
throw toKnownErr104(e);
|
|
27589
27634
|
});
|
|
27590
27635
|
}
|
|
27591
27636
|
getRelationships(params2, opts) {
|
|
27592
27637
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
27593
|
-
throw
|
|
27638
|
+
throw toKnownErr105(e);
|
|
27594
27639
|
});
|
|
27595
27640
|
}
|
|
27596
27641
|
getSuggestedFollowsByActor(params2, opts) {
|
|
27597
27642
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
27598
|
-
throw
|
|
27643
|
+
throw toKnownErr106(e);
|
|
27599
27644
|
});
|
|
27600
27645
|
}
|
|
27601
27646
|
muteActor(data, opts) {
|
|
27602
27647
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
27603
|
-
throw
|
|
27648
|
+
throw toKnownErr107(e);
|
|
27604
27649
|
});
|
|
27605
27650
|
}
|
|
27606
27651
|
muteActorList(data, opts) {
|
|
27607
27652
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27608
|
-
throw
|
|
27653
|
+
throw toKnownErr108(e);
|
|
27609
27654
|
});
|
|
27610
27655
|
}
|
|
27611
27656
|
unmuteActor(data, opts) {
|
|
27612
27657
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
27613
|
-
throw
|
|
27658
|
+
throw toKnownErr109(e);
|
|
27614
27659
|
});
|
|
27615
27660
|
}
|
|
27616
27661
|
unmuteActorList(data, opts) {
|
|
27617
27662
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27618
|
-
throw
|
|
27663
|
+
throw toKnownErr110(e);
|
|
27619
27664
|
});
|
|
27620
27665
|
}
|
|
27621
27666
|
};
|
|
@@ -27760,22 +27805,22 @@ var AppBskyNotificationNS = class {
|
|
|
27760
27805
|
}
|
|
27761
27806
|
getUnreadCount(params2, opts) {
|
|
27762
27807
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
27763
|
-
throw
|
|
27808
|
+
throw toKnownErr111(e);
|
|
27764
27809
|
});
|
|
27765
27810
|
}
|
|
27766
27811
|
listNotifications(params2, opts) {
|
|
27767
27812
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
27768
|
-
throw
|
|
27813
|
+
throw toKnownErr112(e);
|
|
27769
27814
|
});
|
|
27770
27815
|
}
|
|
27771
27816
|
registerPush(data, opts) {
|
|
27772
27817
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
27773
|
-
throw
|
|
27818
|
+
throw toKnownErr113(e);
|
|
27774
27819
|
});
|
|
27775
27820
|
}
|
|
27776
27821
|
updateSeen(data, opts) {
|
|
27777
27822
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
27778
|
-
throw
|
|
27823
|
+
throw toKnownErr114(e);
|
|
27779
27824
|
});
|
|
27780
27825
|
}
|
|
27781
27826
|
};
|
|
@@ -27790,27 +27835,27 @@ var AppBskyUnspeccedNS = class {
|
|
|
27790
27835
|
}
|
|
27791
27836
|
getPopularFeedGenerators(params2, opts) {
|
|
27792
27837
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
27793
|
-
throw
|
|
27838
|
+
throw toKnownErr115(e);
|
|
27794
27839
|
});
|
|
27795
27840
|
}
|
|
27796
27841
|
getTaggedSuggestions(params2, opts) {
|
|
27797
27842
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
27798
|
-
throw
|
|
27843
|
+
throw toKnownErr116(e);
|
|
27799
27844
|
});
|
|
27800
27845
|
}
|
|
27801
27846
|
getTimelineSkeleton(params2, opts) {
|
|
27802
27847
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
27803
|
-
throw
|
|
27848
|
+
throw toKnownErr117(e);
|
|
27804
27849
|
});
|
|
27805
27850
|
}
|
|
27806
27851
|
searchActorsSkeleton(params2, opts) {
|
|
27807
27852
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27808
|
-
throw
|
|
27853
|
+
throw toKnownErr118(e);
|
|
27809
27854
|
});
|
|
27810
27855
|
}
|
|
27811
27856
|
searchPostsSkeleton(params2, opts) {
|
|
27812
27857
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
27813
|
-
throw
|
|
27858
|
+
throw toKnownErr119(e);
|
|
27814
27859
|
});
|
|
27815
27860
|
}
|
|
27816
27861
|
};
|
|
@@ -27935,12 +27980,12 @@ var _AtpAgent = class {
|
|
|
27935
27980
|
await this._refreshSessionPromise;
|
|
27936
27981
|
let res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
|
|
27937
27982
|
if (isErrorResponse(res, ["ExpiredToken"]) && this.session?.refreshJwt) {
|
|
27938
|
-
await this.
|
|
27983
|
+
await this.refreshSession();
|
|
27939
27984
|
res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
|
|
27940
27985
|
}
|
|
27941
27986
|
return res;
|
|
27942
27987
|
}
|
|
27943
|
-
async
|
|
27988
|
+
async refreshSession() {
|
|
27944
27989
|
if (this._refreshSessionPromise) {
|
|
27945
27990
|
return this._refreshSessionPromise;
|
|
27946
27991
|
}
|