@atproto/api 0.9.4 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/LICENSE.txt +1 -1
- package/dist/agent.d.ts +1 -1
- package/dist/client/index.d.ts +3 -3
- package/dist/client/lexicons.d.ts +67 -47
- package/dist/client/types/com/atproto/admin/defs.d.ts +2 -2
- package/dist/client/types/com/atproto/admin/queryModerationEvents.d.ts +7 -0
- package/dist/client/types/{app/bsky/unspecced/getTimelineSkeleton.d.ts → com/atproto/temp/checkSignupQueue.d.ts} +4 -9
- package/dist/index.js +231 -219
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
- package/src/agent.ts +2 -2
- package/src/client/index.ts +13 -13
- package/src/client/lexicons.ts +72 -50
- package/src/client/types/com/atproto/admin/defs.ts +2 -0
- package/src/client/types/com/atproto/admin/queryModerationEvents.ts +13 -0
- package/src/client/types/{app/bsky/unspecced/getTimelineSkeleton.ts → com/atproto/temp/checkSignupQueue.ts} +4 -14
package/dist/index.js
CHANGED
|
@@ -8940,7 +8940,6 @@ __export(src_exports2, {
|
|
|
8940
8940
|
AppBskyUnspeccedDefs: () => defs_exports8,
|
|
8941
8941
|
AppBskyUnspeccedGetPopularFeedGenerators: () => getPopularFeedGenerators_exports,
|
|
8942
8942
|
AppBskyUnspeccedGetTaggedSuggestions: () => getTaggedSuggestions_exports,
|
|
8943
|
-
AppBskyUnspeccedGetTimelineSkeleton: () => getTimelineSkeleton_exports,
|
|
8944
8943
|
AppBskyUnspeccedNS: () => AppBskyUnspeccedNS,
|
|
8945
8944
|
AppBskyUnspeccedSearchActorsSkeleton: () => searchActorsSkeleton_exports,
|
|
8946
8945
|
AppBskyUnspeccedSearchPostsSkeleton: () => searchPostsSkeleton_exports,
|
|
@@ -9036,6 +9035,7 @@ __export(src_exports2, {
|
|
|
9036
9035
|
ComAtprotoSyncNotifyOfUpdate: () => notifyOfUpdate_exports,
|
|
9037
9036
|
ComAtprotoSyncRequestCrawl: () => requestCrawl_exports,
|
|
9038
9037
|
ComAtprotoSyncSubscribeRepos: () => subscribeRepos_exports,
|
|
9038
|
+
ComAtprotoTempCheckSignupQueue: () => checkSignupQueue_exports,
|
|
9039
9039
|
ComAtprotoTempFetchLabels: () => fetchLabels_exports,
|
|
9040
9040
|
ComAtprotoTempImportRepo: () => importRepo_exports,
|
|
9041
9041
|
ComAtprotoTempNS: () => ComAtprotoTempNS,
|
|
@@ -15765,7 +15765,8 @@ var schemaDict = {
|
|
|
15765
15765
|
"lex:com.atproto.admin.defs#modEventAcknowledge",
|
|
15766
15766
|
"lex:com.atproto.admin.defs#modEventEscalate",
|
|
15767
15767
|
"lex:com.atproto.admin.defs#modEventMute",
|
|
15768
|
-
"lex:com.atproto.admin.defs#modEventEmail"
|
|
15768
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
|
15769
|
+
"lex:com.atproto.admin.defs#modEventResolveAppeal"
|
|
15769
15770
|
]
|
|
15770
15771
|
},
|
|
15771
15772
|
subject: {
|
|
@@ -15822,6 +15823,7 @@ var schemaDict = {
|
|
|
15822
15823
|
"lex:com.atproto.admin.defs#modEventAcknowledge",
|
|
15823
15824
|
"lex:com.atproto.admin.defs#modEventEscalate",
|
|
15824
15825
|
"lex:com.atproto.admin.defs#modEventMute",
|
|
15826
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
|
15825
15827
|
"lex:com.atproto.admin.defs#modEventResolveAppeal"
|
|
15826
15828
|
]
|
|
15827
15829
|
},
|
|
@@ -17111,6 +17113,16 @@ var schemaDict = {
|
|
|
17111
17113
|
enum: ["asc", "desc"],
|
|
17112
17114
|
description: "Sort direction for the events. Defaults to descending order of created at timestamp."
|
|
17113
17115
|
},
|
|
17116
|
+
createdAfter: {
|
|
17117
|
+
type: "string",
|
|
17118
|
+
format: "datetime",
|
|
17119
|
+
description: "Retrieve events created after a given timestamp"
|
|
17120
|
+
},
|
|
17121
|
+
createdBefore: {
|
|
17122
|
+
type: "string",
|
|
17123
|
+
format: "datetime",
|
|
17124
|
+
description: "Retrieve events created before a given timestamp"
|
|
17125
|
+
},
|
|
17114
17126
|
subject: {
|
|
17115
17127
|
type: "string",
|
|
17116
17128
|
format: "uri"
|
|
@@ -17126,6 +17138,34 @@ var schemaDict = {
|
|
|
17126
17138
|
maximum: 100,
|
|
17127
17139
|
default: 50
|
|
17128
17140
|
},
|
|
17141
|
+
hasComment: {
|
|
17142
|
+
type: "boolean",
|
|
17143
|
+
description: "If true, only events with comments are returned"
|
|
17144
|
+
},
|
|
17145
|
+
comment: {
|
|
17146
|
+
type: "string",
|
|
17147
|
+
description: "If specified, only events with comments containing the keyword are returned"
|
|
17148
|
+
},
|
|
17149
|
+
addedLabels: {
|
|
17150
|
+
type: "array",
|
|
17151
|
+
items: {
|
|
17152
|
+
type: "string"
|
|
17153
|
+
},
|
|
17154
|
+
description: "If specified, only events where all of these labels were added are returned"
|
|
17155
|
+
},
|
|
17156
|
+
removedLabels: {
|
|
17157
|
+
type: "array",
|
|
17158
|
+
items: {
|
|
17159
|
+
type: "string"
|
|
17160
|
+
},
|
|
17161
|
+
description: "If specified, only events where all of these labels were removed are returned"
|
|
17162
|
+
},
|
|
17163
|
+
reportTypes: {
|
|
17164
|
+
type: "array",
|
|
17165
|
+
items: {
|
|
17166
|
+
type: "string"
|
|
17167
|
+
}
|
|
17168
|
+
},
|
|
17129
17169
|
cursor: {
|
|
17130
17170
|
type: "string"
|
|
17131
17171
|
}
|
|
@@ -19866,6 +19906,34 @@ var schemaDict = {
|
|
|
19866
19906
|
}
|
|
19867
19907
|
}
|
|
19868
19908
|
},
|
|
19909
|
+
ComAtprotoTempCheckSignupQueue: {
|
|
19910
|
+
lexicon: 1,
|
|
19911
|
+
id: "com.atproto.temp.checkSignupQueue",
|
|
19912
|
+
defs: {
|
|
19913
|
+
main: {
|
|
19914
|
+
type: "query",
|
|
19915
|
+
description: "Check accounts location in signup queue.",
|
|
19916
|
+
output: {
|
|
19917
|
+
encoding: "application/json",
|
|
19918
|
+
schema: {
|
|
19919
|
+
type: "object",
|
|
19920
|
+
required: ["activated"],
|
|
19921
|
+
properties: {
|
|
19922
|
+
activated: {
|
|
19923
|
+
type: "boolean"
|
|
19924
|
+
},
|
|
19925
|
+
placeInQueue: {
|
|
19926
|
+
type: "integer"
|
|
19927
|
+
},
|
|
19928
|
+
estimatedTimeMs: {
|
|
19929
|
+
type: "integer"
|
|
19930
|
+
}
|
|
19931
|
+
}
|
|
19932
|
+
}
|
|
19933
|
+
}
|
|
19934
|
+
}
|
|
19935
|
+
}
|
|
19936
|
+
},
|
|
19869
19937
|
ComAtprotoTempFetchLabels: {
|
|
19870
19938
|
lexicon: 1,
|
|
19871
19939
|
id: "com.atproto.temp.fetchLabels",
|
|
@@ -23662,54 +23730,6 @@ var schemaDict = {
|
|
|
23662
23730
|
}
|
|
23663
23731
|
}
|
|
23664
23732
|
},
|
|
23665
|
-
AppBskyUnspeccedGetTimelineSkeleton: {
|
|
23666
|
-
lexicon: 1,
|
|
23667
|
-
id: "app.bsky.unspecced.getTimelineSkeleton",
|
|
23668
|
-
defs: {
|
|
23669
|
-
main: {
|
|
23670
|
-
type: "query",
|
|
23671
|
-
description: "DEPRECATED: a skeleton of a timeline. Unspecced and will be unavailable soon.",
|
|
23672
|
-
parameters: {
|
|
23673
|
-
type: "params",
|
|
23674
|
-
properties: {
|
|
23675
|
-
limit: {
|
|
23676
|
-
type: "integer",
|
|
23677
|
-
minimum: 1,
|
|
23678
|
-
maximum: 100,
|
|
23679
|
-
default: 50
|
|
23680
|
-
},
|
|
23681
|
-
cursor: {
|
|
23682
|
-
type: "string"
|
|
23683
|
-
}
|
|
23684
|
-
}
|
|
23685
|
-
},
|
|
23686
|
-
output: {
|
|
23687
|
-
encoding: "application/json",
|
|
23688
|
-
schema: {
|
|
23689
|
-
type: "object",
|
|
23690
|
-
required: ["feed"],
|
|
23691
|
-
properties: {
|
|
23692
|
-
cursor: {
|
|
23693
|
-
type: "string"
|
|
23694
|
-
},
|
|
23695
|
-
feed: {
|
|
23696
|
-
type: "array",
|
|
23697
|
-
items: {
|
|
23698
|
-
type: "ref",
|
|
23699
|
-
ref: "lex:app.bsky.feed.defs#skeletonFeedPost"
|
|
23700
|
-
}
|
|
23701
|
-
}
|
|
23702
|
-
}
|
|
23703
|
-
}
|
|
23704
|
-
},
|
|
23705
|
-
errors: [
|
|
23706
|
-
{
|
|
23707
|
-
name: "UnknownFeed"
|
|
23708
|
-
}
|
|
23709
|
-
]
|
|
23710
|
-
}
|
|
23711
|
-
}
|
|
23712
|
-
},
|
|
23713
23733
|
AppBskyUnspeccedSearchActorsSkeleton: {
|
|
23714
23734
|
lexicon: 1,
|
|
23715
23735
|
id: "app.bsky.unspecced.searchActorsSkeleton",
|
|
@@ -24909,12 +24929,23 @@ function toKnownErr67(e) {
|
|
|
24909
24929
|
return e;
|
|
24910
24930
|
}
|
|
24911
24931
|
|
|
24932
|
+
// src/client/types/com/atproto/temp/checkSignupQueue.ts
|
|
24933
|
+
var checkSignupQueue_exports = {};
|
|
24934
|
+
__export(checkSignupQueue_exports, {
|
|
24935
|
+
toKnownErr: () => toKnownErr68
|
|
24936
|
+
});
|
|
24937
|
+
function toKnownErr68(e) {
|
|
24938
|
+
if (e instanceof XRPCError) {
|
|
24939
|
+
}
|
|
24940
|
+
return e;
|
|
24941
|
+
}
|
|
24942
|
+
|
|
24912
24943
|
// src/client/types/com/atproto/temp/fetchLabels.ts
|
|
24913
24944
|
var fetchLabels_exports = {};
|
|
24914
24945
|
__export(fetchLabels_exports, {
|
|
24915
|
-
toKnownErr: () =>
|
|
24946
|
+
toKnownErr: () => toKnownErr69
|
|
24916
24947
|
});
|
|
24917
|
-
function
|
|
24948
|
+
function toKnownErr69(e) {
|
|
24918
24949
|
if (e instanceof XRPCError) {
|
|
24919
24950
|
}
|
|
24920
24951
|
return e;
|
|
@@ -24923,9 +24954,9 @@ function toKnownErr68(e) {
|
|
|
24923
24954
|
// src/client/types/com/atproto/temp/importRepo.ts
|
|
24924
24955
|
var importRepo_exports = {};
|
|
24925
24956
|
__export(importRepo_exports, {
|
|
24926
|
-
toKnownErr: () =>
|
|
24957
|
+
toKnownErr: () => toKnownErr70
|
|
24927
24958
|
});
|
|
24928
|
-
function
|
|
24959
|
+
function toKnownErr70(e) {
|
|
24929
24960
|
if (e instanceof XRPCError) {
|
|
24930
24961
|
}
|
|
24931
24962
|
return e;
|
|
@@ -24934,9 +24965,9 @@ function toKnownErr69(e) {
|
|
|
24934
24965
|
// src/client/types/com/atproto/temp/pushBlob.ts
|
|
24935
24966
|
var pushBlob_exports = {};
|
|
24936
24967
|
__export(pushBlob_exports, {
|
|
24937
|
-
toKnownErr: () =>
|
|
24968
|
+
toKnownErr: () => toKnownErr71
|
|
24938
24969
|
});
|
|
24939
|
-
function
|
|
24970
|
+
function toKnownErr71(e) {
|
|
24940
24971
|
if (e instanceof XRPCError) {
|
|
24941
24972
|
}
|
|
24942
24973
|
return e;
|
|
@@ -24945,9 +24976,9 @@ function toKnownErr70(e) {
|
|
|
24945
24976
|
// src/client/types/com/atproto/temp/requestPhoneVerification.ts
|
|
24946
24977
|
var requestPhoneVerification_exports = {};
|
|
24947
24978
|
__export(requestPhoneVerification_exports, {
|
|
24948
|
-
toKnownErr: () =>
|
|
24979
|
+
toKnownErr: () => toKnownErr72
|
|
24949
24980
|
});
|
|
24950
|
-
function
|
|
24981
|
+
function toKnownErr72(e) {
|
|
24951
24982
|
if (e instanceof XRPCError) {
|
|
24952
24983
|
}
|
|
24953
24984
|
return e;
|
|
@@ -24963,7 +24994,7 @@ __export(transferAccount_exports, {
|
|
|
24963
24994
|
InvalidPasswordError: () => InvalidPasswordError2,
|
|
24964
24995
|
UnresolvableDidError: () => UnresolvableDidError2,
|
|
24965
24996
|
UnsupportedDomainError: () => UnsupportedDomainError2,
|
|
24966
|
-
toKnownErr: () =>
|
|
24997
|
+
toKnownErr: () => toKnownErr73
|
|
24967
24998
|
});
|
|
24968
24999
|
var InvalidHandleError3 = class extends XRPCError {
|
|
24969
25000
|
constructor(src2) {
|
|
@@ -25000,7 +25031,7 @@ var IncompatibleDidDocError2 = class extends XRPCError {
|
|
|
25000
25031
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25001
25032
|
}
|
|
25002
25033
|
};
|
|
25003
|
-
function
|
|
25034
|
+
function toKnownErr73(e) {
|
|
25004
25035
|
if (e instanceof XRPCError) {
|
|
25005
25036
|
if (e.error === "InvalidHandle")
|
|
25006
25037
|
return new InvalidHandleError3(e);
|
|
@@ -25023,9 +25054,9 @@ function toKnownErr72(e) {
|
|
|
25023
25054
|
// src/client/types/app/bsky/actor/getPreferences.ts
|
|
25024
25055
|
var getPreferences_exports = {};
|
|
25025
25056
|
__export(getPreferences_exports, {
|
|
25026
|
-
toKnownErr: () =>
|
|
25057
|
+
toKnownErr: () => toKnownErr74
|
|
25027
25058
|
});
|
|
25028
|
-
function
|
|
25059
|
+
function toKnownErr74(e) {
|
|
25029
25060
|
if (e instanceof XRPCError) {
|
|
25030
25061
|
}
|
|
25031
25062
|
return e;
|
|
@@ -25034,9 +25065,9 @@ function toKnownErr73(e) {
|
|
|
25034
25065
|
// src/client/types/app/bsky/actor/getProfile.ts
|
|
25035
25066
|
var getProfile_exports = {};
|
|
25036
25067
|
__export(getProfile_exports, {
|
|
25037
|
-
toKnownErr: () =>
|
|
25068
|
+
toKnownErr: () => toKnownErr75
|
|
25038
25069
|
});
|
|
25039
|
-
function
|
|
25070
|
+
function toKnownErr75(e) {
|
|
25040
25071
|
if (e instanceof XRPCError) {
|
|
25041
25072
|
}
|
|
25042
25073
|
return e;
|
|
@@ -25045,9 +25076,9 @@ function toKnownErr74(e) {
|
|
|
25045
25076
|
// src/client/types/app/bsky/actor/getProfiles.ts
|
|
25046
25077
|
var getProfiles_exports = {};
|
|
25047
25078
|
__export(getProfiles_exports, {
|
|
25048
|
-
toKnownErr: () =>
|
|
25079
|
+
toKnownErr: () => toKnownErr76
|
|
25049
25080
|
});
|
|
25050
|
-
function
|
|
25081
|
+
function toKnownErr76(e) {
|
|
25051
25082
|
if (e instanceof XRPCError) {
|
|
25052
25083
|
}
|
|
25053
25084
|
return e;
|
|
@@ -25056,9 +25087,9 @@ function toKnownErr75(e) {
|
|
|
25056
25087
|
// src/client/types/app/bsky/actor/getSuggestions.ts
|
|
25057
25088
|
var getSuggestions_exports = {};
|
|
25058
25089
|
__export(getSuggestions_exports, {
|
|
25059
|
-
toKnownErr: () =>
|
|
25090
|
+
toKnownErr: () => toKnownErr77
|
|
25060
25091
|
});
|
|
25061
|
-
function
|
|
25092
|
+
function toKnownErr77(e) {
|
|
25062
25093
|
if (e instanceof XRPCError) {
|
|
25063
25094
|
}
|
|
25064
25095
|
return e;
|
|
@@ -25067,9 +25098,9 @@ function toKnownErr76(e) {
|
|
|
25067
25098
|
// src/client/types/app/bsky/actor/putPreferences.ts
|
|
25068
25099
|
var putPreferences_exports = {};
|
|
25069
25100
|
__export(putPreferences_exports, {
|
|
25070
|
-
toKnownErr: () =>
|
|
25101
|
+
toKnownErr: () => toKnownErr78
|
|
25071
25102
|
});
|
|
25072
|
-
function
|
|
25103
|
+
function toKnownErr78(e) {
|
|
25073
25104
|
if (e instanceof XRPCError) {
|
|
25074
25105
|
}
|
|
25075
25106
|
return e;
|
|
@@ -25078,9 +25109,9 @@ function toKnownErr77(e) {
|
|
|
25078
25109
|
// src/client/types/app/bsky/actor/searchActors.ts
|
|
25079
25110
|
var searchActors_exports = {};
|
|
25080
25111
|
__export(searchActors_exports, {
|
|
25081
|
-
toKnownErr: () =>
|
|
25112
|
+
toKnownErr: () => toKnownErr79
|
|
25082
25113
|
});
|
|
25083
|
-
function
|
|
25114
|
+
function toKnownErr79(e) {
|
|
25084
25115
|
if (e instanceof XRPCError) {
|
|
25085
25116
|
}
|
|
25086
25117
|
return e;
|
|
@@ -25089,9 +25120,9 @@ function toKnownErr78(e) {
|
|
|
25089
25120
|
// src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
25090
25121
|
var searchActorsTypeahead_exports = {};
|
|
25091
25122
|
__export(searchActorsTypeahead_exports, {
|
|
25092
|
-
toKnownErr: () =>
|
|
25123
|
+
toKnownErr: () => toKnownErr80
|
|
25093
25124
|
});
|
|
25094
|
-
function
|
|
25125
|
+
function toKnownErr80(e) {
|
|
25095
25126
|
if (e instanceof XRPCError) {
|
|
25096
25127
|
}
|
|
25097
25128
|
return e;
|
|
@@ -25102,11 +25133,11 @@ var describeFeedGenerator_exports = {};
|
|
|
25102
25133
|
__export(describeFeedGenerator_exports, {
|
|
25103
25134
|
isFeed: () => isFeed,
|
|
25104
25135
|
isLinks: () => isLinks2,
|
|
25105
|
-
toKnownErr: () =>
|
|
25136
|
+
toKnownErr: () => toKnownErr81,
|
|
25106
25137
|
validateFeed: () => validateFeed,
|
|
25107
25138
|
validateLinks: () => validateLinks2
|
|
25108
25139
|
});
|
|
25109
|
-
function
|
|
25140
|
+
function toKnownErr81(e) {
|
|
25110
25141
|
if (e instanceof XRPCError) {
|
|
25111
25142
|
}
|
|
25112
25143
|
return e;
|
|
@@ -25127,9 +25158,9 @@ function validateLinks2(v) {
|
|
|
25127
25158
|
// src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
25128
25159
|
var getActorFeeds_exports = {};
|
|
25129
25160
|
__export(getActorFeeds_exports, {
|
|
25130
|
-
toKnownErr: () =>
|
|
25161
|
+
toKnownErr: () => toKnownErr82
|
|
25131
25162
|
});
|
|
25132
|
-
function
|
|
25163
|
+
function toKnownErr82(e) {
|
|
25133
25164
|
if (e instanceof XRPCError) {
|
|
25134
25165
|
}
|
|
25135
25166
|
return e;
|
|
@@ -25140,7 +25171,7 @@ var getActorLikes_exports = {};
|
|
|
25140
25171
|
__export(getActorLikes_exports, {
|
|
25141
25172
|
BlockedActorError: () => BlockedActorError,
|
|
25142
25173
|
BlockedByActorError: () => BlockedByActorError,
|
|
25143
|
-
toKnownErr: () =>
|
|
25174
|
+
toKnownErr: () => toKnownErr83
|
|
25144
25175
|
});
|
|
25145
25176
|
var BlockedActorError = class extends XRPCError {
|
|
25146
25177
|
constructor(src2) {
|
|
@@ -25152,7 +25183,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
25152
25183
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25153
25184
|
}
|
|
25154
25185
|
};
|
|
25155
|
-
function
|
|
25186
|
+
function toKnownErr83(e) {
|
|
25156
25187
|
if (e instanceof XRPCError) {
|
|
25157
25188
|
if (e.error === "BlockedActor")
|
|
25158
25189
|
return new BlockedActorError(e);
|
|
@@ -25167,7 +25198,7 @@ var getAuthorFeed_exports = {};
|
|
|
25167
25198
|
__export(getAuthorFeed_exports, {
|
|
25168
25199
|
BlockedActorError: () => BlockedActorError2,
|
|
25169
25200
|
BlockedByActorError: () => BlockedByActorError2,
|
|
25170
|
-
toKnownErr: () =>
|
|
25201
|
+
toKnownErr: () => toKnownErr84
|
|
25171
25202
|
});
|
|
25172
25203
|
var BlockedActorError2 = class extends XRPCError {
|
|
25173
25204
|
constructor(src2) {
|
|
@@ -25179,7 +25210,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
25179
25210
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25180
25211
|
}
|
|
25181
25212
|
};
|
|
25182
|
-
function
|
|
25213
|
+
function toKnownErr84(e) {
|
|
25183
25214
|
if (e instanceof XRPCError) {
|
|
25184
25215
|
if (e.error === "BlockedActor")
|
|
25185
25216
|
return new BlockedActorError2(e);
|
|
@@ -25193,14 +25224,14 @@ function toKnownErr83(e) {
|
|
|
25193
25224
|
var getFeed_exports = {};
|
|
25194
25225
|
__export(getFeed_exports, {
|
|
25195
25226
|
UnknownFeedError: () => UnknownFeedError,
|
|
25196
|
-
toKnownErr: () =>
|
|
25227
|
+
toKnownErr: () => toKnownErr85
|
|
25197
25228
|
});
|
|
25198
25229
|
var UnknownFeedError = class extends XRPCError {
|
|
25199
25230
|
constructor(src2) {
|
|
25200
25231
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25201
25232
|
}
|
|
25202
25233
|
};
|
|
25203
|
-
function
|
|
25234
|
+
function toKnownErr85(e) {
|
|
25204
25235
|
if (e instanceof XRPCError) {
|
|
25205
25236
|
if (e.error === "UnknownFeed")
|
|
25206
25237
|
return new UnknownFeedError(e);
|
|
@@ -25211,9 +25242,9 @@ function toKnownErr84(e) {
|
|
|
25211
25242
|
// src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
25212
25243
|
var getFeedGenerator_exports = {};
|
|
25213
25244
|
__export(getFeedGenerator_exports, {
|
|
25214
|
-
toKnownErr: () =>
|
|
25245
|
+
toKnownErr: () => toKnownErr86
|
|
25215
25246
|
});
|
|
25216
|
-
function
|
|
25247
|
+
function toKnownErr86(e) {
|
|
25217
25248
|
if (e instanceof XRPCError) {
|
|
25218
25249
|
}
|
|
25219
25250
|
return e;
|
|
@@ -25222,9 +25253,9 @@ function toKnownErr85(e) {
|
|
|
25222
25253
|
// src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
25223
25254
|
var getFeedGenerators_exports = {};
|
|
25224
25255
|
__export(getFeedGenerators_exports, {
|
|
25225
|
-
toKnownErr: () =>
|
|
25256
|
+
toKnownErr: () => toKnownErr87
|
|
25226
25257
|
});
|
|
25227
|
-
function
|
|
25258
|
+
function toKnownErr87(e) {
|
|
25228
25259
|
if (e instanceof XRPCError) {
|
|
25229
25260
|
}
|
|
25230
25261
|
return e;
|
|
@@ -25234,14 +25265,14 @@ function toKnownErr86(e) {
|
|
|
25234
25265
|
var getFeedSkeleton_exports = {};
|
|
25235
25266
|
__export(getFeedSkeleton_exports, {
|
|
25236
25267
|
UnknownFeedError: () => UnknownFeedError2,
|
|
25237
|
-
toKnownErr: () =>
|
|
25268
|
+
toKnownErr: () => toKnownErr88
|
|
25238
25269
|
});
|
|
25239
25270
|
var UnknownFeedError2 = class extends XRPCError {
|
|
25240
25271
|
constructor(src2) {
|
|
25241
25272
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25242
25273
|
}
|
|
25243
25274
|
};
|
|
25244
|
-
function
|
|
25275
|
+
function toKnownErr88(e) {
|
|
25245
25276
|
if (e instanceof XRPCError) {
|
|
25246
25277
|
if (e.error === "UnknownFeed")
|
|
25247
25278
|
return new UnknownFeedError2(e);
|
|
@@ -25253,10 +25284,10 @@ function toKnownErr87(e) {
|
|
|
25253
25284
|
var getLikes_exports = {};
|
|
25254
25285
|
__export(getLikes_exports, {
|
|
25255
25286
|
isLike: () => isLike,
|
|
25256
|
-
toKnownErr: () =>
|
|
25287
|
+
toKnownErr: () => toKnownErr89,
|
|
25257
25288
|
validateLike: () => validateLike
|
|
25258
25289
|
});
|
|
25259
|
-
function
|
|
25290
|
+
function toKnownErr89(e) {
|
|
25260
25291
|
if (e instanceof XRPCError) {
|
|
25261
25292
|
}
|
|
25262
25293
|
return e;
|
|
@@ -25272,14 +25303,14 @@ function validateLike(v) {
|
|
|
25272
25303
|
var getListFeed_exports = {};
|
|
25273
25304
|
__export(getListFeed_exports, {
|
|
25274
25305
|
UnknownListError: () => UnknownListError,
|
|
25275
|
-
toKnownErr: () =>
|
|
25306
|
+
toKnownErr: () => toKnownErr90
|
|
25276
25307
|
});
|
|
25277
25308
|
var UnknownListError = class extends XRPCError {
|
|
25278
25309
|
constructor(src2) {
|
|
25279
25310
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25280
25311
|
}
|
|
25281
25312
|
};
|
|
25282
|
-
function
|
|
25313
|
+
function toKnownErr90(e) {
|
|
25283
25314
|
if (e instanceof XRPCError) {
|
|
25284
25315
|
if (e.error === "UnknownList")
|
|
25285
25316
|
return new UnknownListError(e);
|
|
@@ -25291,14 +25322,14 @@ function toKnownErr89(e) {
|
|
|
25291
25322
|
var getPostThread_exports = {};
|
|
25292
25323
|
__export(getPostThread_exports, {
|
|
25293
25324
|
NotFoundError: () => NotFoundError,
|
|
25294
|
-
toKnownErr: () =>
|
|
25325
|
+
toKnownErr: () => toKnownErr91
|
|
25295
25326
|
});
|
|
25296
25327
|
var NotFoundError = class extends XRPCError {
|
|
25297
25328
|
constructor(src2) {
|
|
25298
25329
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25299
25330
|
}
|
|
25300
25331
|
};
|
|
25301
|
-
function
|
|
25332
|
+
function toKnownErr91(e) {
|
|
25302
25333
|
if (e instanceof XRPCError) {
|
|
25303
25334
|
if (e.error === "NotFound")
|
|
25304
25335
|
return new NotFoundError(e);
|
|
@@ -25309,9 +25340,9 @@ function toKnownErr90(e) {
|
|
|
25309
25340
|
// src/client/types/app/bsky/feed/getPosts.ts
|
|
25310
25341
|
var getPosts_exports = {};
|
|
25311
25342
|
__export(getPosts_exports, {
|
|
25312
|
-
toKnownErr: () =>
|
|
25343
|
+
toKnownErr: () => toKnownErr92
|
|
25313
25344
|
});
|
|
25314
|
-
function
|
|
25345
|
+
function toKnownErr92(e) {
|
|
25315
25346
|
if (e instanceof XRPCError) {
|
|
25316
25347
|
}
|
|
25317
25348
|
return e;
|
|
@@ -25320,9 +25351,9 @@ function toKnownErr91(e) {
|
|
|
25320
25351
|
// src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
25321
25352
|
var getRepostedBy_exports = {};
|
|
25322
25353
|
__export(getRepostedBy_exports, {
|
|
25323
|
-
toKnownErr: () =>
|
|
25354
|
+
toKnownErr: () => toKnownErr93
|
|
25324
25355
|
});
|
|
25325
|
-
function
|
|
25356
|
+
function toKnownErr93(e) {
|
|
25326
25357
|
if (e instanceof XRPCError) {
|
|
25327
25358
|
}
|
|
25328
25359
|
return e;
|
|
@@ -25331,9 +25362,9 @@ function toKnownErr92(e) {
|
|
|
25331
25362
|
// src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
25332
25363
|
var getSuggestedFeeds_exports = {};
|
|
25333
25364
|
__export(getSuggestedFeeds_exports, {
|
|
25334
|
-
toKnownErr: () =>
|
|
25365
|
+
toKnownErr: () => toKnownErr94
|
|
25335
25366
|
});
|
|
25336
|
-
function
|
|
25367
|
+
function toKnownErr94(e) {
|
|
25337
25368
|
if (e instanceof XRPCError) {
|
|
25338
25369
|
}
|
|
25339
25370
|
return e;
|
|
@@ -25342,9 +25373,9 @@ function toKnownErr93(e) {
|
|
|
25342
25373
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
25343
25374
|
var getTimeline_exports = {};
|
|
25344
25375
|
__export(getTimeline_exports, {
|
|
25345
|
-
toKnownErr: () =>
|
|
25376
|
+
toKnownErr: () => toKnownErr95
|
|
25346
25377
|
});
|
|
25347
|
-
function
|
|
25378
|
+
function toKnownErr95(e) {
|
|
25348
25379
|
if (e instanceof XRPCError) {
|
|
25349
25380
|
}
|
|
25350
25381
|
return e;
|
|
@@ -25354,14 +25385,14 @@ function toKnownErr94(e) {
|
|
|
25354
25385
|
var searchPosts_exports = {};
|
|
25355
25386
|
__export(searchPosts_exports, {
|
|
25356
25387
|
BadQueryStringError: () => BadQueryStringError,
|
|
25357
|
-
toKnownErr: () =>
|
|
25388
|
+
toKnownErr: () => toKnownErr96
|
|
25358
25389
|
});
|
|
25359
25390
|
var BadQueryStringError = class extends XRPCError {
|
|
25360
25391
|
constructor(src2) {
|
|
25361
25392
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25362
25393
|
}
|
|
25363
25394
|
};
|
|
25364
|
-
function
|
|
25395
|
+
function toKnownErr96(e) {
|
|
25365
25396
|
if (e instanceof XRPCError) {
|
|
25366
25397
|
if (e.error === "BadQueryString")
|
|
25367
25398
|
return new BadQueryStringError(e);
|
|
@@ -25372,9 +25403,9 @@ function toKnownErr95(e) {
|
|
|
25372
25403
|
// src/client/types/app/bsky/graph/getBlocks.ts
|
|
25373
25404
|
var getBlocks_exports2 = {};
|
|
25374
25405
|
__export(getBlocks_exports2, {
|
|
25375
|
-
toKnownErr: () =>
|
|
25406
|
+
toKnownErr: () => toKnownErr97
|
|
25376
25407
|
});
|
|
25377
|
-
function
|
|
25408
|
+
function toKnownErr97(e) {
|
|
25378
25409
|
if (e instanceof XRPCError) {
|
|
25379
25410
|
}
|
|
25380
25411
|
return e;
|
|
@@ -25383,9 +25414,9 @@ function toKnownErr96(e) {
|
|
|
25383
25414
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
25384
25415
|
var getFollowers_exports = {};
|
|
25385
25416
|
__export(getFollowers_exports, {
|
|
25386
|
-
toKnownErr: () =>
|
|
25417
|
+
toKnownErr: () => toKnownErr98
|
|
25387
25418
|
});
|
|
25388
|
-
function
|
|
25419
|
+
function toKnownErr98(e) {
|
|
25389
25420
|
if (e instanceof XRPCError) {
|
|
25390
25421
|
}
|
|
25391
25422
|
return e;
|
|
@@ -25394,9 +25425,9 @@ function toKnownErr97(e) {
|
|
|
25394
25425
|
// src/client/types/app/bsky/graph/getFollows.ts
|
|
25395
25426
|
var getFollows_exports = {};
|
|
25396
25427
|
__export(getFollows_exports, {
|
|
25397
|
-
toKnownErr: () =>
|
|
25428
|
+
toKnownErr: () => toKnownErr99
|
|
25398
25429
|
});
|
|
25399
|
-
function
|
|
25430
|
+
function toKnownErr99(e) {
|
|
25400
25431
|
if (e instanceof XRPCError) {
|
|
25401
25432
|
}
|
|
25402
25433
|
return e;
|
|
@@ -25405,9 +25436,9 @@ function toKnownErr98(e) {
|
|
|
25405
25436
|
// src/client/types/app/bsky/graph/getList.ts
|
|
25406
25437
|
var getList_exports = {};
|
|
25407
25438
|
__export(getList_exports, {
|
|
25408
|
-
toKnownErr: () =>
|
|
25439
|
+
toKnownErr: () => toKnownErr100
|
|
25409
25440
|
});
|
|
25410
|
-
function
|
|
25441
|
+
function toKnownErr100(e) {
|
|
25411
25442
|
if (e instanceof XRPCError) {
|
|
25412
25443
|
}
|
|
25413
25444
|
return e;
|
|
@@ -25416,9 +25447,9 @@ function toKnownErr99(e) {
|
|
|
25416
25447
|
// src/client/types/app/bsky/graph/getListBlocks.ts
|
|
25417
25448
|
var getListBlocks_exports = {};
|
|
25418
25449
|
__export(getListBlocks_exports, {
|
|
25419
|
-
toKnownErr: () =>
|
|
25450
|
+
toKnownErr: () => toKnownErr101
|
|
25420
25451
|
});
|
|
25421
|
-
function
|
|
25452
|
+
function toKnownErr101(e) {
|
|
25422
25453
|
if (e instanceof XRPCError) {
|
|
25423
25454
|
}
|
|
25424
25455
|
return e;
|
|
@@ -25427,9 +25458,9 @@ function toKnownErr100(e) {
|
|
|
25427
25458
|
// src/client/types/app/bsky/graph/getListMutes.ts
|
|
25428
25459
|
var getListMutes_exports = {};
|
|
25429
25460
|
__export(getListMutes_exports, {
|
|
25430
|
-
toKnownErr: () =>
|
|
25461
|
+
toKnownErr: () => toKnownErr102
|
|
25431
25462
|
});
|
|
25432
|
-
function
|
|
25463
|
+
function toKnownErr102(e) {
|
|
25433
25464
|
if (e instanceof XRPCError) {
|
|
25434
25465
|
}
|
|
25435
25466
|
return e;
|
|
@@ -25438,9 +25469,9 @@ function toKnownErr101(e) {
|
|
|
25438
25469
|
// src/client/types/app/bsky/graph/getLists.ts
|
|
25439
25470
|
var getLists_exports = {};
|
|
25440
25471
|
__export(getLists_exports, {
|
|
25441
|
-
toKnownErr: () =>
|
|
25472
|
+
toKnownErr: () => toKnownErr103
|
|
25442
25473
|
});
|
|
25443
|
-
function
|
|
25474
|
+
function toKnownErr103(e) {
|
|
25444
25475
|
if (e instanceof XRPCError) {
|
|
25445
25476
|
}
|
|
25446
25477
|
return e;
|
|
@@ -25449,9 +25480,9 @@ function toKnownErr102(e) {
|
|
|
25449
25480
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
25450
25481
|
var getMutes_exports = {};
|
|
25451
25482
|
__export(getMutes_exports, {
|
|
25452
|
-
toKnownErr: () =>
|
|
25483
|
+
toKnownErr: () => toKnownErr104
|
|
25453
25484
|
});
|
|
25454
|
-
function
|
|
25485
|
+
function toKnownErr104(e) {
|
|
25455
25486
|
if (e instanceof XRPCError) {
|
|
25456
25487
|
}
|
|
25457
25488
|
return e;
|
|
@@ -25461,14 +25492,14 @@ function toKnownErr103(e) {
|
|
|
25461
25492
|
var getRelationships_exports = {};
|
|
25462
25493
|
__export(getRelationships_exports, {
|
|
25463
25494
|
ActorNotFoundError: () => ActorNotFoundError,
|
|
25464
|
-
toKnownErr: () =>
|
|
25495
|
+
toKnownErr: () => toKnownErr105
|
|
25465
25496
|
});
|
|
25466
25497
|
var ActorNotFoundError = class extends XRPCError {
|
|
25467
25498
|
constructor(src2) {
|
|
25468
25499
|
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25469
25500
|
}
|
|
25470
25501
|
};
|
|
25471
|
-
function
|
|
25502
|
+
function toKnownErr105(e) {
|
|
25472
25503
|
if (e instanceof XRPCError) {
|
|
25473
25504
|
if (e.error === "ActorNotFound")
|
|
25474
25505
|
return new ActorNotFoundError(e);
|
|
@@ -25479,9 +25510,9 @@ function toKnownErr104(e) {
|
|
|
25479
25510
|
// src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
25480
25511
|
var getSuggestedFollowsByActor_exports = {};
|
|
25481
25512
|
__export(getSuggestedFollowsByActor_exports, {
|
|
25482
|
-
toKnownErr: () =>
|
|
25513
|
+
toKnownErr: () => toKnownErr106
|
|
25483
25514
|
});
|
|
25484
|
-
function
|
|
25515
|
+
function toKnownErr106(e) {
|
|
25485
25516
|
if (e instanceof XRPCError) {
|
|
25486
25517
|
}
|
|
25487
25518
|
return e;
|
|
@@ -25490,9 +25521,9 @@ function toKnownErr105(e) {
|
|
|
25490
25521
|
// src/client/types/app/bsky/graph/muteActor.ts
|
|
25491
25522
|
var muteActor_exports = {};
|
|
25492
25523
|
__export(muteActor_exports, {
|
|
25493
|
-
toKnownErr: () =>
|
|
25524
|
+
toKnownErr: () => toKnownErr107
|
|
25494
25525
|
});
|
|
25495
|
-
function
|
|
25526
|
+
function toKnownErr107(e) {
|
|
25496
25527
|
if (e instanceof XRPCError) {
|
|
25497
25528
|
}
|
|
25498
25529
|
return e;
|
|
@@ -25501,9 +25532,9 @@ function toKnownErr106(e) {
|
|
|
25501
25532
|
// src/client/types/app/bsky/graph/muteActorList.ts
|
|
25502
25533
|
var muteActorList_exports = {};
|
|
25503
25534
|
__export(muteActorList_exports, {
|
|
25504
|
-
toKnownErr: () =>
|
|
25535
|
+
toKnownErr: () => toKnownErr108
|
|
25505
25536
|
});
|
|
25506
|
-
function
|
|
25537
|
+
function toKnownErr108(e) {
|
|
25507
25538
|
if (e instanceof XRPCError) {
|
|
25508
25539
|
}
|
|
25509
25540
|
return e;
|
|
@@ -25512,9 +25543,9 @@ function toKnownErr107(e) {
|
|
|
25512
25543
|
// src/client/types/app/bsky/graph/unmuteActor.ts
|
|
25513
25544
|
var unmuteActor_exports = {};
|
|
25514
25545
|
__export(unmuteActor_exports, {
|
|
25515
|
-
toKnownErr: () =>
|
|
25546
|
+
toKnownErr: () => toKnownErr109
|
|
25516
25547
|
});
|
|
25517
|
-
function
|
|
25548
|
+
function toKnownErr109(e) {
|
|
25518
25549
|
if (e instanceof XRPCError) {
|
|
25519
25550
|
}
|
|
25520
25551
|
return e;
|
|
@@ -25523,9 +25554,9 @@ function toKnownErr108(e) {
|
|
|
25523
25554
|
// src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
25524
25555
|
var unmuteActorList_exports = {};
|
|
25525
25556
|
__export(unmuteActorList_exports, {
|
|
25526
|
-
toKnownErr: () =>
|
|
25557
|
+
toKnownErr: () => toKnownErr110
|
|
25527
25558
|
});
|
|
25528
|
-
function
|
|
25559
|
+
function toKnownErr110(e) {
|
|
25529
25560
|
if (e instanceof XRPCError) {
|
|
25530
25561
|
}
|
|
25531
25562
|
return e;
|
|
@@ -25534,9 +25565,9 @@ function toKnownErr109(e) {
|
|
|
25534
25565
|
// src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
25535
25566
|
var getUnreadCount_exports = {};
|
|
25536
25567
|
__export(getUnreadCount_exports, {
|
|
25537
|
-
toKnownErr: () =>
|
|
25568
|
+
toKnownErr: () => toKnownErr111
|
|
25538
25569
|
});
|
|
25539
|
-
function
|
|
25570
|
+
function toKnownErr111(e) {
|
|
25540
25571
|
if (e instanceof XRPCError) {
|
|
25541
25572
|
}
|
|
25542
25573
|
return e;
|
|
@@ -25546,10 +25577,10 @@ function toKnownErr110(e) {
|
|
|
25546
25577
|
var listNotifications_exports = {};
|
|
25547
25578
|
__export(listNotifications_exports, {
|
|
25548
25579
|
isNotification: () => isNotification,
|
|
25549
|
-
toKnownErr: () =>
|
|
25580
|
+
toKnownErr: () => toKnownErr112,
|
|
25550
25581
|
validateNotification: () => validateNotification
|
|
25551
25582
|
});
|
|
25552
|
-
function
|
|
25583
|
+
function toKnownErr112(e) {
|
|
25553
25584
|
if (e instanceof XRPCError) {
|
|
25554
25585
|
}
|
|
25555
25586
|
return e;
|
|
@@ -25564,9 +25595,9 @@ function validateNotification(v) {
|
|
|
25564
25595
|
// src/client/types/app/bsky/notification/registerPush.ts
|
|
25565
25596
|
var registerPush_exports = {};
|
|
25566
25597
|
__export(registerPush_exports, {
|
|
25567
|
-
toKnownErr: () =>
|
|
25598
|
+
toKnownErr: () => toKnownErr113
|
|
25568
25599
|
});
|
|
25569
|
-
function
|
|
25600
|
+
function toKnownErr113(e) {
|
|
25570
25601
|
if (e instanceof XRPCError) {
|
|
25571
25602
|
}
|
|
25572
25603
|
return e;
|
|
@@ -25575,9 +25606,9 @@ function toKnownErr112(e) {
|
|
|
25575
25606
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
25576
25607
|
var updateSeen_exports = {};
|
|
25577
25608
|
__export(updateSeen_exports, {
|
|
25578
|
-
toKnownErr: () =>
|
|
25609
|
+
toKnownErr: () => toKnownErr114
|
|
25579
25610
|
});
|
|
25580
|
-
function
|
|
25611
|
+
function toKnownErr114(e) {
|
|
25581
25612
|
if (e instanceof XRPCError) {
|
|
25582
25613
|
}
|
|
25583
25614
|
return e;
|
|
@@ -25586,9 +25617,9 @@ function toKnownErr113(e) {
|
|
|
25586
25617
|
// src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
25587
25618
|
var getPopularFeedGenerators_exports = {};
|
|
25588
25619
|
__export(getPopularFeedGenerators_exports, {
|
|
25589
|
-
toKnownErr: () =>
|
|
25620
|
+
toKnownErr: () => toKnownErr115
|
|
25590
25621
|
});
|
|
25591
|
-
function
|
|
25622
|
+
function toKnownErr115(e) {
|
|
25592
25623
|
if (e instanceof XRPCError) {
|
|
25593
25624
|
}
|
|
25594
25625
|
return e;
|
|
@@ -25598,10 +25629,10 @@ function toKnownErr114(e) {
|
|
|
25598
25629
|
var getTaggedSuggestions_exports = {};
|
|
25599
25630
|
__export(getTaggedSuggestions_exports, {
|
|
25600
25631
|
isSuggestion: () => isSuggestion,
|
|
25601
|
-
toKnownErr: () =>
|
|
25632
|
+
toKnownErr: () => toKnownErr116,
|
|
25602
25633
|
validateSuggestion: () => validateSuggestion
|
|
25603
25634
|
});
|
|
25604
|
-
function
|
|
25635
|
+
function toKnownErr116(e) {
|
|
25605
25636
|
if (e instanceof XRPCError) {
|
|
25606
25637
|
}
|
|
25607
25638
|
return e;
|
|
@@ -25613,25 +25644,6 @@ function validateSuggestion(v) {
|
|
|
25613
25644
|
return lexicons.validate("app.bsky.unspecced.getTaggedSuggestions#suggestion", v);
|
|
25614
25645
|
}
|
|
25615
25646
|
|
|
25616
|
-
// src/client/types/app/bsky/unspecced/getTimelineSkeleton.ts
|
|
25617
|
-
var getTimelineSkeleton_exports = {};
|
|
25618
|
-
__export(getTimelineSkeleton_exports, {
|
|
25619
|
-
UnknownFeedError: () => UnknownFeedError3,
|
|
25620
|
-
toKnownErr: () => toKnownErr116
|
|
25621
|
-
});
|
|
25622
|
-
var UnknownFeedError3 = class extends XRPCError {
|
|
25623
|
-
constructor(src2) {
|
|
25624
|
-
super(src2.status, src2.error, src2.message, src2.headers);
|
|
25625
|
-
}
|
|
25626
|
-
};
|
|
25627
|
-
function toKnownErr116(e) {
|
|
25628
|
-
if (e instanceof XRPCError) {
|
|
25629
|
-
if (e.error === "UnknownFeed")
|
|
25630
|
-
return new UnknownFeedError3(e);
|
|
25631
|
-
}
|
|
25632
|
-
return e;
|
|
25633
|
-
}
|
|
25634
|
-
|
|
25635
25647
|
// src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts
|
|
25636
25648
|
var searchActorsSkeleton_exports = {};
|
|
25637
25649
|
__export(searchActorsSkeleton_exports, {
|
|
@@ -27197,29 +27209,34 @@ var ComAtprotoTempNS = class {
|
|
|
27197
27209
|
constructor(service2) {
|
|
27198
27210
|
this._service = service2;
|
|
27199
27211
|
}
|
|
27212
|
+
checkSignupQueue(params2, opts) {
|
|
27213
|
+
return this._service.xrpc.call("com.atproto.temp.checkSignupQueue", params2, void 0, opts).catch((e) => {
|
|
27214
|
+
throw toKnownErr68(e);
|
|
27215
|
+
});
|
|
27216
|
+
}
|
|
27200
27217
|
fetchLabels(params2, opts) {
|
|
27201
27218
|
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
27202
|
-
throw
|
|
27219
|
+
throw toKnownErr69(e);
|
|
27203
27220
|
});
|
|
27204
27221
|
}
|
|
27205
27222
|
importRepo(data, opts) {
|
|
27206
27223
|
return this._service.xrpc.call("com.atproto.temp.importRepo", opts?.qp, data, opts).catch((e) => {
|
|
27207
|
-
throw
|
|
27224
|
+
throw toKnownErr70(e);
|
|
27208
27225
|
});
|
|
27209
27226
|
}
|
|
27210
27227
|
pushBlob(data, opts) {
|
|
27211
27228
|
return this._service.xrpc.call("com.atproto.temp.pushBlob", opts?.qp, data, opts).catch((e) => {
|
|
27212
|
-
throw
|
|
27229
|
+
throw toKnownErr71(e);
|
|
27213
27230
|
});
|
|
27214
27231
|
}
|
|
27215
27232
|
requestPhoneVerification(data, opts) {
|
|
27216
27233
|
return this._service.xrpc.call("com.atproto.temp.requestPhoneVerification", opts?.qp, data, opts).catch((e) => {
|
|
27217
|
-
throw
|
|
27234
|
+
throw toKnownErr72(e);
|
|
27218
27235
|
});
|
|
27219
27236
|
}
|
|
27220
27237
|
transferAccount(data, opts) {
|
|
27221
27238
|
return this._service.xrpc.call("com.atproto.temp.transferAccount", opts?.qp, data, opts).catch((e) => {
|
|
27222
|
-
throw
|
|
27239
|
+
throw toKnownErr73(e);
|
|
27223
27240
|
});
|
|
27224
27241
|
}
|
|
27225
27242
|
};
|
|
@@ -27248,37 +27265,37 @@ var AppBskyActorNS = class {
|
|
|
27248
27265
|
}
|
|
27249
27266
|
getPreferences(params2, opts) {
|
|
27250
27267
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
27251
|
-
throw
|
|
27268
|
+
throw toKnownErr74(e);
|
|
27252
27269
|
});
|
|
27253
27270
|
}
|
|
27254
27271
|
getProfile(params2, opts) {
|
|
27255
27272
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
27256
|
-
throw
|
|
27273
|
+
throw toKnownErr75(e);
|
|
27257
27274
|
});
|
|
27258
27275
|
}
|
|
27259
27276
|
getProfiles(params2, opts) {
|
|
27260
27277
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
27261
|
-
throw
|
|
27278
|
+
throw toKnownErr76(e);
|
|
27262
27279
|
});
|
|
27263
27280
|
}
|
|
27264
27281
|
getSuggestions(params2, opts) {
|
|
27265
27282
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
27266
|
-
throw
|
|
27283
|
+
throw toKnownErr77(e);
|
|
27267
27284
|
});
|
|
27268
27285
|
}
|
|
27269
27286
|
putPreferences(data, opts) {
|
|
27270
27287
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
27271
|
-
throw
|
|
27288
|
+
throw toKnownErr78(e);
|
|
27272
27289
|
});
|
|
27273
27290
|
}
|
|
27274
27291
|
searchActors(params2, opts) {
|
|
27275
27292
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
27276
|
-
throw
|
|
27293
|
+
throw toKnownErr79(e);
|
|
27277
27294
|
});
|
|
27278
27295
|
}
|
|
27279
27296
|
searchActorsTypeahead(params2, opts) {
|
|
27280
27297
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
27281
|
-
throw
|
|
27298
|
+
throw toKnownErr80(e);
|
|
27282
27299
|
});
|
|
27283
27300
|
}
|
|
27284
27301
|
};
|
|
@@ -27325,82 +27342,82 @@ var AppBskyFeedNS = class {
|
|
|
27325
27342
|
}
|
|
27326
27343
|
describeFeedGenerator(params2, opts) {
|
|
27327
27344
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
27328
|
-
throw
|
|
27345
|
+
throw toKnownErr81(e);
|
|
27329
27346
|
});
|
|
27330
27347
|
}
|
|
27331
27348
|
getActorFeeds(params2, opts) {
|
|
27332
27349
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
27333
|
-
throw
|
|
27350
|
+
throw toKnownErr82(e);
|
|
27334
27351
|
});
|
|
27335
27352
|
}
|
|
27336
27353
|
getActorLikes(params2, opts) {
|
|
27337
27354
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
27338
|
-
throw
|
|
27355
|
+
throw toKnownErr83(e);
|
|
27339
27356
|
});
|
|
27340
27357
|
}
|
|
27341
27358
|
getAuthorFeed(params2, opts) {
|
|
27342
27359
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
27343
|
-
throw
|
|
27360
|
+
throw toKnownErr84(e);
|
|
27344
27361
|
});
|
|
27345
27362
|
}
|
|
27346
27363
|
getFeed(params2, opts) {
|
|
27347
27364
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
27348
|
-
throw
|
|
27365
|
+
throw toKnownErr85(e);
|
|
27349
27366
|
});
|
|
27350
27367
|
}
|
|
27351
27368
|
getFeedGenerator(params2, opts) {
|
|
27352
27369
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
27353
|
-
throw
|
|
27370
|
+
throw toKnownErr86(e);
|
|
27354
27371
|
});
|
|
27355
27372
|
}
|
|
27356
27373
|
getFeedGenerators(params2, opts) {
|
|
27357
27374
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
27358
|
-
throw
|
|
27375
|
+
throw toKnownErr87(e);
|
|
27359
27376
|
});
|
|
27360
27377
|
}
|
|
27361
27378
|
getFeedSkeleton(params2, opts) {
|
|
27362
27379
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
27363
|
-
throw
|
|
27380
|
+
throw toKnownErr88(e);
|
|
27364
27381
|
});
|
|
27365
27382
|
}
|
|
27366
27383
|
getLikes(params2, opts) {
|
|
27367
27384
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
27368
|
-
throw
|
|
27385
|
+
throw toKnownErr89(e);
|
|
27369
27386
|
});
|
|
27370
27387
|
}
|
|
27371
27388
|
getListFeed(params2, opts) {
|
|
27372
27389
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
27373
|
-
throw
|
|
27390
|
+
throw toKnownErr90(e);
|
|
27374
27391
|
});
|
|
27375
27392
|
}
|
|
27376
27393
|
getPostThread(params2, opts) {
|
|
27377
27394
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
27378
|
-
throw
|
|
27395
|
+
throw toKnownErr91(e);
|
|
27379
27396
|
});
|
|
27380
27397
|
}
|
|
27381
27398
|
getPosts(params2, opts) {
|
|
27382
27399
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
27383
|
-
throw
|
|
27400
|
+
throw toKnownErr92(e);
|
|
27384
27401
|
});
|
|
27385
27402
|
}
|
|
27386
27403
|
getRepostedBy(params2, opts) {
|
|
27387
27404
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
27388
|
-
throw
|
|
27405
|
+
throw toKnownErr93(e);
|
|
27389
27406
|
});
|
|
27390
27407
|
}
|
|
27391
27408
|
getSuggestedFeeds(params2, opts) {
|
|
27392
27409
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
27393
|
-
throw
|
|
27410
|
+
throw toKnownErr94(e);
|
|
27394
27411
|
});
|
|
27395
27412
|
}
|
|
27396
27413
|
getTimeline(params2, opts) {
|
|
27397
27414
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
27398
|
-
throw
|
|
27415
|
+
throw toKnownErr95(e);
|
|
27399
27416
|
});
|
|
27400
27417
|
}
|
|
27401
27418
|
searchPosts(params2, opts) {
|
|
27402
27419
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
27403
|
-
throw
|
|
27420
|
+
throw toKnownErr96(e);
|
|
27404
27421
|
});
|
|
27405
27422
|
}
|
|
27406
27423
|
};
|
|
@@ -27550,72 +27567,72 @@ var AppBskyGraphNS = class {
|
|
|
27550
27567
|
}
|
|
27551
27568
|
getBlocks(params2, opts) {
|
|
27552
27569
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
27553
|
-
throw
|
|
27570
|
+
throw toKnownErr97(e);
|
|
27554
27571
|
});
|
|
27555
27572
|
}
|
|
27556
27573
|
getFollowers(params2, opts) {
|
|
27557
27574
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
27558
|
-
throw
|
|
27575
|
+
throw toKnownErr98(e);
|
|
27559
27576
|
});
|
|
27560
27577
|
}
|
|
27561
27578
|
getFollows(params2, opts) {
|
|
27562
27579
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
27563
|
-
throw
|
|
27580
|
+
throw toKnownErr99(e);
|
|
27564
27581
|
});
|
|
27565
27582
|
}
|
|
27566
27583
|
getList(params2, opts) {
|
|
27567
27584
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
27568
|
-
throw
|
|
27585
|
+
throw toKnownErr100(e);
|
|
27569
27586
|
});
|
|
27570
27587
|
}
|
|
27571
27588
|
getListBlocks(params2, opts) {
|
|
27572
27589
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
27573
|
-
throw
|
|
27590
|
+
throw toKnownErr101(e);
|
|
27574
27591
|
});
|
|
27575
27592
|
}
|
|
27576
27593
|
getListMutes(params2, opts) {
|
|
27577
27594
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
27578
|
-
throw
|
|
27595
|
+
throw toKnownErr102(e);
|
|
27579
27596
|
});
|
|
27580
27597
|
}
|
|
27581
27598
|
getLists(params2, opts) {
|
|
27582
27599
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
27583
|
-
throw
|
|
27600
|
+
throw toKnownErr103(e);
|
|
27584
27601
|
});
|
|
27585
27602
|
}
|
|
27586
27603
|
getMutes(params2, opts) {
|
|
27587
27604
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
27588
|
-
throw
|
|
27605
|
+
throw toKnownErr104(e);
|
|
27589
27606
|
});
|
|
27590
27607
|
}
|
|
27591
27608
|
getRelationships(params2, opts) {
|
|
27592
27609
|
return this._service.xrpc.call("app.bsky.graph.getRelationships", params2, void 0, opts).catch((e) => {
|
|
27593
|
-
throw
|
|
27610
|
+
throw toKnownErr105(e);
|
|
27594
27611
|
});
|
|
27595
27612
|
}
|
|
27596
27613
|
getSuggestedFollowsByActor(params2, opts) {
|
|
27597
27614
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
27598
|
-
throw
|
|
27615
|
+
throw toKnownErr106(e);
|
|
27599
27616
|
});
|
|
27600
27617
|
}
|
|
27601
27618
|
muteActor(data, opts) {
|
|
27602
27619
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
27603
|
-
throw
|
|
27620
|
+
throw toKnownErr107(e);
|
|
27604
27621
|
});
|
|
27605
27622
|
}
|
|
27606
27623
|
muteActorList(data, opts) {
|
|
27607
27624
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27608
|
-
throw
|
|
27625
|
+
throw toKnownErr108(e);
|
|
27609
27626
|
});
|
|
27610
27627
|
}
|
|
27611
27628
|
unmuteActor(data, opts) {
|
|
27612
27629
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
27613
|
-
throw
|
|
27630
|
+
throw toKnownErr109(e);
|
|
27614
27631
|
});
|
|
27615
27632
|
}
|
|
27616
27633
|
unmuteActorList(data, opts) {
|
|
27617
27634
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
27618
|
-
throw
|
|
27635
|
+
throw toKnownErr110(e);
|
|
27619
27636
|
});
|
|
27620
27637
|
}
|
|
27621
27638
|
};
|
|
@@ -27760,22 +27777,22 @@ var AppBskyNotificationNS = class {
|
|
|
27760
27777
|
}
|
|
27761
27778
|
getUnreadCount(params2, opts) {
|
|
27762
27779
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
27763
|
-
throw
|
|
27780
|
+
throw toKnownErr111(e);
|
|
27764
27781
|
});
|
|
27765
27782
|
}
|
|
27766
27783
|
listNotifications(params2, opts) {
|
|
27767
27784
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
27768
|
-
throw
|
|
27785
|
+
throw toKnownErr112(e);
|
|
27769
27786
|
});
|
|
27770
27787
|
}
|
|
27771
27788
|
registerPush(data, opts) {
|
|
27772
27789
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
27773
|
-
throw
|
|
27790
|
+
throw toKnownErr113(e);
|
|
27774
27791
|
});
|
|
27775
27792
|
}
|
|
27776
27793
|
updateSeen(data, opts) {
|
|
27777
27794
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
27778
|
-
throw
|
|
27795
|
+
throw toKnownErr114(e);
|
|
27779
27796
|
});
|
|
27780
27797
|
}
|
|
27781
27798
|
};
|
|
@@ -27790,16 +27807,11 @@ var AppBskyUnspeccedNS = class {
|
|
|
27790
27807
|
}
|
|
27791
27808
|
getPopularFeedGenerators(params2, opts) {
|
|
27792
27809
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
27793
|
-
throw
|
|
27810
|
+
throw toKnownErr115(e);
|
|
27794
27811
|
});
|
|
27795
27812
|
}
|
|
27796
27813
|
getTaggedSuggestions(params2, opts) {
|
|
27797
27814
|
return this._service.xrpc.call("app.bsky.unspecced.getTaggedSuggestions", params2, void 0, opts).catch((e) => {
|
|
27798
|
-
throw toKnownErr115(e);
|
|
27799
|
-
});
|
|
27800
|
-
}
|
|
27801
|
-
getTimelineSkeleton(params2, opts) {
|
|
27802
|
-
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
27803
27815
|
throw toKnownErr116(e);
|
|
27804
27816
|
});
|
|
27805
27817
|
}
|
|
@@ -27935,12 +27947,12 @@ var _AtpAgent = class {
|
|
|
27935
27947
|
await this._refreshSessionPromise;
|
|
27936
27948
|
let res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
|
|
27937
27949
|
if (isErrorResponse(res, ["ExpiredToken"]) && this.session?.refreshJwt) {
|
|
27938
|
-
await this.
|
|
27950
|
+
await this.refreshSession();
|
|
27939
27951
|
res = await _AtpAgent.fetch(reqUri, reqMethod, this._addAuthHeader(reqHeaders), reqBody);
|
|
27940
27952
|
}
|
|
27941
27953
|
return res;
|
|
27942
27954
|
}
|
|
27943
|
-
async
|
|
27955
|
+
async refreshSession() {
|
|
27944
27956
|
if (this._refreshSessionPromise) {
|
|
27945
27957
|
return this._refreshSessionPromise;
|
|
27946
27958
|
}
|