@atproto/api 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.d.ts +75 -44
- package/dist/client/lexicons.d.ts +1075 -407
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +0 -2
- package/dist/client/types/app/bsky/actor/search.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/searchTypeahead.d.ts +1 -1
- package/dist/client/types/app/bsky/actor/updateProfile.d.ts +0 -1
- package/dist/client/types/app/bsky/feed/feedViewPost.d.ts +1 -8
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +1 -0
- package/dist/client/types/app/bsky/notification/list.d.ts +1 -1
- package/dist/client/types/app/bsky/system/declRef.d.ts +1 -1
- package/dist/client/types/app/bsky/system/declaration.d.ts +1 -1
- package/dist/client/types/com/atproto/account/delete.d.ts +14 -2
- package/dist/client/types/com/atproto/account/requestDelete.d.ts +13 -0
- package/dist/client/types/com/atproto/admin/getModerationAction.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationActions.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/getModerationReport.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/getModerationReports.d.ts +23 -0
- package/dist/client/types/com/atproto/admin/getRecord.d.ts +17 -0
- package/dist/client/types/com/atproto/admin/getRepo.d.ts +16 -0
- package/dist/client/types/com/atproto/admin/moderationAction.d.ts +49 -0
- package/dist/client/types/com/atproto/admin/moderationReport.d.ts +37 -0
- package/dist/client/types/com/atproto/admin/record.d.ts +40 -0
- package/dist/client/types/com/atproto/admin/repo.d.ts +45 -0
- package/dist/client/types/com/atproto/admin/resolveModerationReports.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/reverseModerationAction.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/searchRepos.d.ts +22 -0
- package/dist/client/types/com/atproto/admin/takeModerationAction.d.ts +28 -0
- package/dist/client/types/com/atproto/repo/recordRef.d.ts +8 -0
- package/dist/client/types/com/atproto/repo/repoRef.d.ts +7 -0
- package/dist/client/types/com/atproto/report/create.d.ts +39 -0
- package/dist/client/types/com/atproto/report/reasonType.d.ts +3 -0
- package/dist/client/types/com/atproto/report/subject.d.ts +23 -0
- package/dist/client/types/com/atproto/session/create.d.ts +5 -2
- package/dist/client/types/com/atproto/session/refresh.d.ts +4 -1
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts +15 -0
- package/dist/client/types/com/atproto/sync/getCommitPath.d.ts +20 -0
- package/dist/client/types/com/atproto/sync/getHead.d.ts +18 -0
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +17 -0
- package/dist/index.js +1997 -927
- package/dist/index.js.map +4 -4
- package/package.json +1 -1
- package/src/client/index.ts +249 -142
- package/src/client/lexicons.ts +1223 -478
- package/src/client/types/app/bsky/actor/getProfile.ts +0 -2
- package/src/client/types/app/bsky/actor/search.ts +1 -1
- package/src/client/types/app/bsky/actor/searchTypeahead.ts +1 -1
- package/src/client/types/app/bsky/actor/updateProfile.ts +0 -1
- package/src/client/types/app/bsky/feed/feedViewPost.ts +1 -19
- package/src/client/types/app/bsky/graph/getFollows.ts +1 -0
- package/src/client/types/app/bsky/notification/list.ts +1 -2
- package/src/client/types/app/bsky/system/declRef.ts +1 -4
- package/src/client/types/app/bsky/system/declaration.ts +1 -4
- package/src/client/types/com/atproto/account/delete.ts +21 -1
- package/src/client/types/com/atproto/account/requestDelete.ts +27 -0
- package/src/client/types/com/atproto/admin/getModerationAction.ts +31 -0
- package/src/client/types/com/atproto/admin/getModerationActions.ts +38 -0
- package/src/client/types/com/atproto/admin/getModerationReport.ts +31 -0
- package/src/client/types/com/atproto/admin/getModerationReports.ts +39 -0
- package/src/client/types/com/atproto/admin/getRecord.ts +32 -0
- package/src/client/types/com/atproto/admin/getRepo.ts +31 -0
- package/src/client/types/com/atproto/admin/moderationAction.ts +99 -0
- package/src/client/types/com/atproto/admin/moderationReport.ts +64 -0
- package/src/client/types/com/atproto/admin/record.ts +89 -0
- package/src/client/types/com/atproto/admin/repo.ts +103 -0
- package/src/client/types/com/atproto/admin/resolveModerationReports.ts +37 -0
- package/src/client/types/com/atproto/admin/reverseModerationAction.ts +37 -0
- package/src/client/types/com/atproto/admin/searchRepos.ts +38 -0
- package/src/client/types/com/atproto/admin/takeModerationAction.ts +47 -0
- package/src/client/types/com/atproto/repo/recordRef.ts +25 -0
- package/src/client/types/com/atproto/repo/repoRef.ts +24 -0
- package/src/client/types/com/atproto/report/create.ts +54 -0
- package/src/client/types/com/atproto/report/reasonType.ts +16 -0
- package/src/client/types/com/atproto/report/subject.ts +66 -0
- package/src/client/types/com/atproto/session/create.ts +9 -1
- package/src/client/types/com/atproto/session/refresh.ts +7 -0
- package/src/client/types/com/atproto/sync/{updateRepo.ts → getCheckout.ts} +4 -3
- package/src/client/types/com/atproto/sync/getCommitPath.ts +39 -0
- package/src/client/types/com/atproto/sync/{getRoot.ts → getHead.ts} +0 -0
- package/src/client/types/com/atproto/sync/getRecord.ts +34 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/src/client/types/app/bsky/actor/createScene.ts +0 -55
- package/src/client/types/app/bsky/feed/trend.ts +0 -26
- package/src/client/types/app/bsky/graph/getAssertions.ts +0 -85
- package/src/client/types/app/bsky/graph/getMembers.ts +0 -62
- package/src/client/types/app/bsky/graph/getMemberships.ts +0 -62
- package/src/client/types/app/bsky/system/actorScene.ts +0 -9
package/dist/index.js
CHANGED
|
@@ -82,7 +82,7 @@ __export(src_exports, {
|
|
|
82
82
|
APP_BSKY_SYSTEM: () => APP_BSKY_SYSTEM,
|
|
83
83
|
AccountNS: () => AccountNS,
|
|
84
84
|
ActorNS: () => ActorNS,
|
|
85
|
-
|
|
85
|
+
AdminNS: () => AdminNS,
|
|
86
86
|
AppBskyActorGetProfile: () => getProfile_exports,
|
|
87
87
|
AppBskyActorGetSuggestions: () => getSuggestions_exports,
|
|
88
88
|
AppBskyActorProfile: () => profile_exports,
|
|
@@ -101,25 +101,20 @@ __export(src_exports, {
|
|
|
101
101
|
AppBskyFeedPost: () => post_exports,
|
|
102
102
|
AppBskyFeedRepost: () => repost_exports,
|
|
103
103
|
AppBskyFeedSetVote: () => setVote_exports,
|
|
104
|
-
AppBskyFeedTrend: () => trend_exports,
|
|
105
104
|
AppBskyFeedVote: () => vote_exports,
|
|
106
105
|
AppBskyGraphAssertCreator: () => assertCreator_exports,
|
|
107
106
|
AppBskyGraphAssertMember: () => assertMember_exports,
|
|
108
107
|
AppBskyGraphAssertion: () => assertion_exports,
|
|
109
108
|
AppBskyGraphConfirmation: () => confirmation_exports,
|
|
110
109
|
AppBskyGraphFollow: () => follow_exports,
|
|
111
|
-
AppBskyGraphGetAssertions: () => getAssertions_exports,
|
|
112
110
|
AppBskyGraphGetFollowers: () => getFollowers_exports,
|
|
113
111
|
AppBskyGraphGetFollows: () => getFollows_exports,
|
|
114
|
-
AppBskyGraphGetMembers: () => getMembers_exports,
|
|
115
|
-
AppBskyGraphGetMemberships: () => getMemberships_exports,
|
|
116
112
|
AppBskyGraphGetMutes: () => getMutes_exports,
|
|
117
113
|
AppBskyGraphMute: () => mute_exports,
|
|
118
114
|
AppBskyGraphUnmute: () => unmute_exports,
|
|
119
115
|
AppBskyNotificationGetCount: () => getCount_exports,
|
|
120
116
|
AppBskyNotificationList: () => list_exports,
|
|
121
117
|
AppBskyNotificationUpdateSeen: () => updateSeen_exports,
|
|
122
|
-
AppBskySystemActorScene: () => actorScene_exports,
|
|
123
118
|
AppBskySystemActorUser: () => actorUser_exports,
|
|
124
119
|
AppBskySystemDeclRef: () => declRef_exports,
|
|
125
120
|
AppBskySystemDeclaration: () => declaration_exports,
|
|
@@ -128,31 +123,55 @@ __export(src_exports, {
|
|
|
128
123
|
AtprotoNS: () => AtprotoNS,
|
|
129
124
|
BlobNS: () => BlobNS,
|
|
130
125
|
BskyNS: () => BskyNS,
|
|
126
|
+
COM_ATPROTO_ADMIN: () => COM_ATPROTO_ADMIN,
|
|
127
|
+
COM_ATPROTO_REPORT: () => COM_ATPROTO_REPORT,
|
|
131
128
|
Client: () => Client2,
|
|
132
129
|
ComAtprotoAccountCreate: () => create_exports,
|
|
133
130
|
ComAtprotoAccountCreateInviteCode: () => createInviteCode_exports,
|
|
134
131
|
ComAtprotoAccountDelete: () => delete_exports,
|
|
135
132
|
ComAtprotoAccountGet: () => get_exports,
|
|
133
|
+
ComAtprotoAccountRequestDelete: () => requestDelete_exports,
|
|
136
134
|
ComAtprotoAccountRequestPasswordReset: () => requestPasswordReset_exports,
|
|
137
135
|
ComAtprotoAccountResetPassword: () => resetPassword_exports,
|
|
136
|
+
ComAtprotoAdminGetModerationAction: () => getModerationAction_exports,
|
|
137
|
+
ComAtprotoAdminGetModerationActions: () => getModerationActions_exports,
|
|
138
|
+
ComAtprotoAdminGetModerationReport: () => getModerationReport_exports,
|
|
139
|
+
ComAtprotoAdminGetModerationReports: () => getModerationReports_exports,
|
|
140
|
+
ComAtprotoAdminGetRecord: () => getRecord_exports,
|
|
141
|
+
ComAtprotoAdminGetRepo: () => getRepo_exports,
|
|
142
|
+
ComAtprotoAdminModerationAction: () => moderationAction_exports,
|
|
143
|
+
ComAtprotoAdminModerationReport: () => moderationReport_exports,
|
|
144
|
+
ComAtprotoAdminRecord: () => record_exports,
|
|
145
|
+
ComAtprotoAdminRepo: () => repo_exports,
|
|
146
|
+
ComAtprotoAdminResolveModerationReports: () => resolveModerationReports_exports,
|
|
147
|
+
ComAtprotoAdminReverseModerationAction: () => reverseModerationAction_exports,
|
|
148
|
+
ComAtprotoAdminSearchRepos: () => searchRepos_exports,
|
|
149
|
+
ComAtprotoAdminTakeModerationAction: () => takeModerationAction_exports,
|
|
138
150
|
ComAtprotoBlobUpload: () => upload_exports,
|
|
139
151
|
ComAtprotoHandleResolve: () => resolve_exports,
|
|
140
152
|
ComAtprotoRepoBatchWrite: () => batchWrite_exports,
|
|
141
153
|
ComAtprotoRepoCreateRecord: () => createRecord_exports,
|
|
142
154
|
ComAtprotoRepoDeleteRecord: () => deleteRecord_exports,
|
|
143
155
|
ComAtprotoRepoDescribe: () => describe_exports,
|
|
144
|
-
ComAtprotoRepoGetRecord: () =>
|
|
156
|
+
ComAtprotoRepoGetRecord: () => getRecord_exports2,
|
|
145
157
|
ComAtprotoRepoListRecords: () => listRecords_exports,
|
|
146
158
|
ComAtprotoRepoPutRecord: () => putRecord_exports,
|
|
159
|
+
ComAtprotoRepoRecordRef: () => recordRef_exports,
|
|
160
|
+
ComAtprotoRepoRepoRef: () => repoRef_exports,
|
|
147
161
|
ComAtprotoRepoStrongRef: () => strongRef_exports,
|
|
162
|
+
ComAtprotoReportCreate: () => create_exports2,
|
|
163
|
+
ComAtprotoReportReasonType: () => reasonType_exports,
|
|
164
|
+
ComAtprotoReportSubject: () => subject_exports,
|
|
148
165
|
ComAtprotoServerGetAccountsConfig: () => getAccountsConfig_exports,
|
|
149
|
-
ComAtprotoSessionCreate: () =>
|
|
166
|
+
ComAtprotoSessionCreate: () => create_exports3,
|
|
150
167
|
ComAtprotoSessionDelete: () => delete_exports2,
|
|
151
168
|
ComAtprotoSessionGet: () => get_exports2,
|
|
152
169
|
ComAtprotoSessionRefresh: () => refresh_exports,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
170
|
+
ComAtprotoSyncGetCheckout: () => getCheckout_exports,
|
|
171
|
+
ComAtprotoSyncGetCommitPath: () => getCommitPath_exports,
|
|
172
|
+
ComAtprotoSyncGetHead: () => getHead_exports,
|
|
173
|
+
ComAtprotoSyncGetRecord: () => getRecord_exports3,
|
|
174
|
+
ComAtprotoSyncGetRepo: () => getRepo_exports2,
|
|
156
175
|
ComNS: () => ComNS,
|
|
157
176
|
ConfirmationRecord: () => ConfirmationRecord,
|
|
158
177
|
DeclarationRecord: () => DeclarationRecord,
|
|
@@ -165,6 +184,7 @@ __export(src_exports, {
|
|
|
165
184
|
PostRecord: () => PostRecord,
|
|
166
185
|
ProfileRecord: () => ProfileRecord,
|
|
167
186
|
RepoNS: () => RepoNS,
|
|
187
|
+
ReportNS: () => ReportNS,
|
|
168
188
|
RepostRecord: () => RepostRecord,
|
|
169
189
|
ServerNS: () => ServerNS,
|
|
170
190
|
ServiceClient: () => ServiceClient2,
|
|
@@ -175,7 +195,6 @@ __export(src_exports, {
|
|
|
175
195
|
SessionXrpcServiceClient: () => SessionXrpcServiceClient,
|
|
176
196
|
SyncNS: () => SyncNS,
|
|
177
197
|
SystemNS: () => SystemNS,
|
|
178
|
-
TrendRecord: () => TrendRecord,
|
|
179
198
|
VoteRecord: () => VoteRecord,
|
|
180
199
|
default: () => client_default,
|
|
181
200
|
sessionClient: () => session_default
|
|
@@ -3335,6 +3354,11 @@ var lexArray = mod.object({
|
|
|
3335
3354
|
minLength: mod.number().int().optional(),
|
|
3336
3355
|
maxLength: mod.number().int().optional()
|
|
3337
3356
|
});
|
|
3357
|
+
var lexPrimitiveArray = lexArray.merge(
|
|
3358
|
+
mod.object({
|
|
3359
|
+
items: lexPrimitive
|
|
3360
|
+
})
|
|
3361
|
+
);
|
|
3338
3362
|
var lexToken = mod.object({
|
|
3339
3363
|
type: mod.literal("token"),
|
|
3340
3364
|
description: mod.string().optional()
|
|
@@ -3349,7 +3373,7 @@ var lexXrpcParameters = mod.object({
|
|
|
3349
3373
|
type: mod.literal("params"),
|
|
3350
3374
|
description: mod.string().optional(),
|
|
3351
3375
|
required: mod.string().array().optional(),
|
|
3352
|
-
properties: mod.record(lexPrimitive)
|
|
3376
|
+
properties: mod.record(mod.union([lexPrimitive, lexPrimitiveArray]))
|
|
3353
3377
|
});
|
|
3354
3378
|
var lexXrpcBody = mod.object({
|
|
3355
3379
|
description: mod.string().optional(),
|
|
@@ -3721,7 +3745,6 @@ function validate2(lexicons2, path, def, value) {
|
|
|
3721
3745
|
}
|
|
3722
3746
|
}
|
|
3723
3747
|
function array(lexicons2, path, def, value) {
|
|
3724
|
-
def = def;
|
|
3725
3748
|
if (!Array.isArray(value)) {
|
|
3726
3749
|
return {
|
|
3727
3750
|
success: false,
|
|
@@ -3769,7 +3792,7 @@ function object(lexicons2, path, def, value) {
|
|
|
3769
3792
|
}
|
|
3770
3793
|
if (Array.isArray(def.required)) {
|
|
3771
3794
|
for (const key of def.required) {
|
|
3772
|
-
if (
|
|
3795
|
+
if (typeof value[key] === "undefined") {
|
|
3773
3796
|
return {
|
|
3774
3797
|
success: false,
|
|
3775
3798
|
error: new ValidationError(`${path} must have the property "${key}"`)
|
|
@@ -3873,13 +3896,12 @@ function toConcreteTypes(lexicons2, def) {
|
|
|
3873
3896
|
|
|
3874
3897
|
// ../lexicon/src/validators/xrpc.ts
|
|
3875
3898
|
function params(lexicons2, path, def, value) {
|
|
3876
|
-
def = def;
|
|
3877
3899
|
if (!value || typeof value !== "object") {
|
|
3878
3900
|
value = {};
|
|
3879
3901
|
}
|
|
3880
3902
|
if (Array.isArray(def.required)) {
|
|
3881
3903
|
for (const key of def.required) {
|
|
3882
|
-
if (
|
|
3904
|
+
if (typeof value[key] === "undefined") {
|
|
3883
3905
|
return {
|
|
3884
3906
|
success: false,
|
|
3885
3907
|
error: new ValidationError(`${path} must have the property "${key}"`)
|
|
@@ -3892,12 +3914,8 @@ function params(lexicons2, path, def, value) {
|
|
|
3892
3914
|
continue;
|
|
3893
3915
|
}
|
|
3894
3916
|
const paramDef = def.properties[key];
|
|
3895
|
-
const
|
|
3896
|
-
|
|
3897
|
-
key,
|
|
3898
|
-
paramDef,
|
|
3899
|
-
value[key]
|
|
3900
|
-
);
|
|
3917
|
+
const val = value[key];
|
|
3918
|
+
const res = paramDef.type === "array" ? array(lexicons2, key, paramDef, val) : validate(lexicons2, key, paramDef, val);
|
|
3901
3919
|
if (!res.success) {
|
|
3902
3920
|
return res;
|
|
3903
3921
|
}
|
|
@@ -4090,7 +4108,17 @@ function constructMethodCallUri(nsid, schema, serviceUri, params2) {
|
|
|
4090
4108
|
throw new Error(`Invalid query parameter: ${key}`);
|
|
4091
4109
|
}
|
|
4092
4110
|
if (value !== void 0) {
|
|
4093
|
-
|
|
4111
|
+
if (paramSchema.type === "array") {
|
|
4112
|
+
const vals = [];
|
|
4113
|
+
vals.concat(value).forEach((val) => {
|
|
4114
|
+
uri.searchParams.append(
|
|
4115
|
+
key,
|
|
4116
|
+
encodeQueryParam(paramSchema.items.type, val)
|
|
4117
|
+
);
|
|
4118
|
+
});
|
|
4119
|
+
} else {
|
|
4120
|
+
uri.searchParams.set(key, encodeQueryParam(paramSchema.type, value));
|
|
4121
|
+
}
|
|
4094
4122
|
}
|
|
4095
4123
|
}
|
|
4096
4124
|
}
|
|
@@ -4268,11 +4296,13 @@ var ServiceClient = class {
|
|
|
4268
4296
|
};
|
|
4269
4297
|
async function defaultFetchHandler(httpUri, httpMethod, httpHeaders, httpReqBody) {
|
|
4270
4298
|
try {
|
|
4271
|
-
const
|
|
4299
|
+
const reqInit = {
|
|
4272
4300
|
method: httpMethod,
|
|
4273
4301
|
headers: httpHeaders,
|
|
4274
|
-
body: encodeMethodCallBody(httpHeaders, httpReqBody)
|
|
4275
|
-
|
|
4302
|
+
body: encodeMethodCallBody(httpHeaders, httpReqBody),
|
|
4303
|
+
duplex: "half"
|
|
4304
|
+
};
|
|
4305
|
+
const res = await fetch(httpUri, reqInit);
|
|
4276
4306
|
const resBody = await res.arrayBuffer();
|
|
4277
4307
|
return {
|
|
4278
4308
|
status: res.status,
|
|
@@ -4401,7 +4431,33 @@ var schemaDict = {
|
|
|
4401
4431
|
defs: {
|
|
4402
4432
|
main: {
|
|
4403
4433
|
type: "procedure",
|
|
4404
|
-
description: "Delete
|
|
4434
|
+
description: "Delete a user account with a token and password.",
|
|
4435
|
+
input: {
|
|
4436
|
+
encoding: "application/json",
|
|
4437
|
+
schema: {
|
|
4438
|
+
type: "object",
|
|
4439
|
+
required: ["did", "password", "token"],
|
|
4440
|
+
properties: {
|
|
4441
|
+
did: {
|
|
4442
|
+
type: "string"
|
|
4443
|
+
},
|
|
4444
|
+
password: {
|
|
4445
|
+
type: "string"
|
|
4446
|
+
},
|
|
4447
|
+
token: {
|
|
4448
|
+
type: "string"
|
|
4449
|
+
}
|
|
4450
|
+
}
|
|
4451
|
+
}
|
|
4452
|
+
},
|
|
4453
|
+
errors: [
|
|
4454
|
+
{
|
|
4455
|
+
name: "ExpiredToken"
|
|
4456
|
+
},
|
|
4457
|
+
{
|
|
4458
|
+
name: "InvalidToken"
|
|
4459
|
+
}
|
|
4460
|
+
]
|
|
4405
4461
|
}
|
|
4406
4462
|
}
|
|
4407
4463
|
},
|
|
@@ -4415,6 +4471,16 @@ var schemaDict = {
|
|
|
4415
4471
|
}
|
|
4416
4472
|
}
|
|
4417
4473
|
},
|
|
4474
|
+
ComAtprotoAccountRequestDelete: {
|
|
4475
|
+
lexicon: 1,
|
|
4476
|
+
id: "com.atproto.account.requestDelete",
|
|
4477
|
+
defs: {
|
|
4478
|
+
main: {
|
|
4479
|
+
type: "procedure",
|
|
4480
|
+
description: "Initiate a user account deletion via email."
|
|
4481
|
+
}
|
|
4482
|
+
}
|
|
4483
|
+
},
|
|
4418
4484
|
ComAtprotoAccountRequestPasswordReset: {
|
|
4419
4485
|
lexicon: 1,
|
|
4420
4486
|
id: "com.atproto.account.requestPasswordReset",
|
|
@@ -4470,44 +4536,53 @@ var schemaDict = {
|
|
|
4470
4536
|
}
|
|
4471
4537
|
}
|
|
4472
4538
|
},
|
|
4473
|
-
|
|
4539
|
+
ComAtprotoAdminGetModerationAction: {
|
|
4474
4540
|
lexicon: 1,
|
|
4475
|
-
id: "com.atproto.
|
|
4541
|
+
id: "com.atproto.admin.getModerationAction",
|
|
4476
4542
|
defs: {
|
|
4477
4543
|
main: {
|
|
4478
|
-
type: "
|
|
4479
|
-
description: "
|
|
4480
|
-
|
|
4481
|
-
|
|
4544
|
+
type: "query",
|
|
4545
|
+
description: "View details about a moderation action.",
|
|
4546
|
+
parameters: {
|
|
4547
|
+
type: "params",
|
|
4548
|
+
required: ["id"],
|
|
4549
|
+
properties: {
|
|
4550
|
+
id: {
|
|
4551
|
+
type: "number"
|
|
4552
|
+
}
|
|
4553
|
+
}
|
|
4482
4554
|
},
|
|
4483
4555
|
output: {
|
|
4484
4556
|
encoding: "application/json",
|
|
4485
4557
|
schema: {
|
|
4486
|
-
type: "
|
|
4487
|
-
|
|
4488
|
-
properties: {
|
|
4489
|
-
cid: {
|
|
4490
|
-
type: "string"
|
|
4491
|
-
}
|
|
4492
|
-
}
|
|
4558
|
+
type: "ref",
|
|
4559
|
+
ref: "lex:com.atproto.admin.moderationAction#viewDetail"
|
|
4493
4560
|
}
|
|
4494
4561
|
}
|
|
4495
4562
|
}
|
|
4496
4563
|
}
|
|
4497
4564
|
},
|
|
4498
|
-
|
|
4565
|
+
ComAtprotoAdminGetModerationActions: {
|
|
4499
4566
|
lexicon: 1,
|
|
4500
|
-
id: "com.atproto.
|
|
4567
|
+
id: "com.atproto.admin.getModerationActions",
|
|
4501
4568
|
defs: {
|
|
4502
4569
|
main: {
|
|
4503
4570
|
type: "query",
|
|
4504
|
-
description: "
|
|
4571
|
+
description: "List moderation actions related to a subject.",
|
|
4505
4572
|
parameters: {
|
|
4506
4573
|
type: "params",
|
|
4507
4574
|
properties: {
|
|
4508
|
-
|
|
4509
|
-
type: "string"
|
|
4510
|
-
|
|
4575
|
+
subject: {
|
|
4576
|
+
type: "string"
|
|
4577
|
+
},
|
|
4578
|
+
limit: {
|
|
4579
|
+
type: "integer",
|
|
4580
|
+
minimum: 1,
|
|
4581
|
+
maximum: 100,
|
|
4582
|
+
default: 50
|
|
4583
|
+
},
|
|
4584
|
+
before: {
|
|
4585
|
+
type: "string"
|
|
4511
4586
|
}
|
|
4512
4587
|
}
|
|
4513
4588
|
},
|
|
@@ -4515,10 +4590,17 @@ var schemaDict = {
|
|
|
4515
4590
|
encoding: "application/json",
|
|
4516
4591
|
schema: {
|
|
4517
4592
|
type: "object",
|
|
4518
|
-
required: ["
|
|
4593
|
+
required: ["actions"],
|
|
4519
4594
|
properties: {
|
|
4520
|
-
|
|
4595
|
+
cursor: {
|
|
4521
4596
|
type: "string"
|
|
4597
|
+
},
|
|
4598
|
+
actions: {
|
|
4599
|
+
type: "array",
|
|
4600
|
+
items: {
|
|
4601
|
+
type: "ref",
|
|
4602
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
4603
|
+
}
|
|
4522
4604
|
}
|
|
4523
4605
|
}
|
|
4524
4606
|
}
|
|
@@ -4526,80 +4608,866 @@ var schemaDict = {
|
|
|
4526
4608
|
}
|
|
4527
4609
|
}
|
|
4528
4610
|
},
|
|
4529
|
-
|
|
4611
|
+
ComAtprotoAdminGetModerationReport: {
|
|
4530
4612
|
lexicon: 1,
|
|
4531
|
-
id: "com.atproto.
|
|
4613
|
+
id: "com.atproto.admin.getModerationReport",
|
|
4532
4614
|
defs: {
|
|
4533
4615
|
main: {
|
|
4534
|
-
type: "
|
|
4535
|
-
description: "
|
|
4536
|
-
|
|
4616
|
+
type: "query",
|
|
4617
|
+
description: "View details about a moderation report.",
|
|
4618
|
+
parameters: {
|
|
4619
|
+
type: "params",
|
|
4620
|
+
required: ["id"],
|
|
4621
|
+
properties: {
|
|
4622
|
+
id: {
|
|
4623
|
+
type: "number"
|
|
4624
|
+
}
|
|
4625
|
+
}
|
|
4626
|
+
},
|
|
4627
|
+
output: {
|
|
4628
|
+
encoding: "application/json",
|
|
4629
|
+
schema: {
|
|
4630
|
+
type: "ref",
|
|
4631
|
+
ref: "lex:com.atproto.admin.moderationReport#viewDetail"
|
|
4632
|
+
}
|
|
4633
|
+
}
|
|
4634
|
+
}
|
|
4635
|
+
}
|
|
4636
|
+
},
|
|
4637
|
+
ComAtprotoAdminGetModerationReports: {
|
|
4638
|
+
lexicon: 1,
|
|
4639
|
+
id: "com.atproto.admin.getModerationReports",
|
|
4640
|
+
defs: {
|
|
4641
|
+
main: {
|
|
4642
|
+
type: "query",
|
|
4643
|
+
description: "List moderation reports related to a subject.",
|
|
4644
|
+
parameters: {
|
|
4645
|
+
type: "params",
|
|
4646
|
+
properties: {
|
|
4647
|
+
subject: {
|
|
4648
|
+
type: "string"
|
|
4649
|
+
},
|
|
4650
|
+
resolved: {
|
|
4651
|
+
type: "boolean"
|
|
4652
|
+
},
|
|
4653
|
+
limit: {
|
|
4654
|
+
type: "integer",
|
|
4655
|
+
minimum: 1,
|
|
4656
|
+
maximum: 100,
|
|
4657
|
+
default: 50
|
|
4658
|
+
},
|
|
4659
|
+
before: {
|
|
4660
|
+
type: "string"
|
|
4661
|
+
}
|
|
4662
|
+
}
|
|
4663
|
+
},
|
|
4664
|
+
output: {
|
|
4537
4665
|
encoding: "application/json",
|
|
4538
4666
|
schema: {
|
|
4539
4667
|
type: "object",
|
|
4540
|
-
required: ["
|
|
4668
|
+
required: ["reports"],
|
|
4541
4669
|
properties: {
|
|
4542
|
-
|
|
4543
|
-
type: "string"
|
|
4544
|
-
description: "The DID of the repo."
|
|
4545
|
-
},
|
|
4546
|
-
validate: {
|
|
4547
|
-
type: "boolean",
|
|
4548
|
-
default: true,
|
|
4549
|
-
description: "Validate the records?"
|
|
4670
|
+
cursor: {
|
|
4671
|
+
type: "string"
|
|
4550
4672
|
},
|
|
4551
|
-
|
|
4673
|
+
reports: {
|
|
4552
4674
|
type: "array",
|
|
4553
4675
|
items: {
|
|
4554
|
-
type: "
|
|
4555
|
-
|
|
4556
|
-
"lex:com.atproto.repo.batchWrite#create",
|
|
4557
|
-
"lex:com.atproto.repo.batchWrite#update",
|
|
4558
|
-
"lex:com.atproto.repo.batchWrite#delete"
|
|
4559
|
-
],
|
|
4560
|
-
closed: true
|
|
4676
|
+
type: "ref",
|
|
4677
|
+
ref: "lex:com.atproto.admin.moderationReport#view"
|
|
4561
4678
|
}
|
|
4562
4679
|
}
|
|
4563
4680
|
}
|
|
4564
4681
|
}
|
|
4565
4682
|
}
|
|
4566
|
-
}
|
|
4567
|
-
|
|
4683
|
+
}
|
|
4684
|
+
}
|
|
4685
|
+
},
|
|
4686
|
+
ComAtprotoAdminGetRecord: {
|
|
4687
|
+
lexicon: 1,
|
|
4688
|
+
id: "com.atproto.admin.getRecord",
|
|
4689
|
+
defs: {
|
|
4690
|
+
main: {
|
|
4691
|
+
type: "query",
|
|
4692
|
+
description: "View details about a record.",
|
|
4693
|
+
parameters: {
|
|
4694
|
+
type: "params",
|
|
4695
|
+
required: ["uri"],
|
|
4696
|
+
properties: {
|
|
4697
|
+
uri: {
|
|
4698
|
+
type: "string"
|
|
4699
|
+
},
|
|
4700
|
+
cid: {
|
|
4701
|
+
type: "string"
|
|
4702
|
+
}
|
|
4703
|
+
}
|
|
4704
|
+
},
|
|
4705
|
+
output: {
|
|
4706
|
+
encoding: "application/json",
|
|
4707
|
+
schema: {
|
|
4708
|
+
type: "ref",
|
|
4709
|
+
ref: "lex:com.atproto.admin.record#viewDetail"
|
|
4710
|
+
}
|
|
4711
|
+
}
|
|
4712
|
+
}
|
|
4713
|
+
}
|
|
4714
|
+
},
|
|
4715
|
+
ComAtprotoAdminGetRepo: {
|
|
4716
|
+
lexicon: 1,
|
|
4717
|
+
id: "com.atproto.admin.getRepo",
|
|
4718
|
+
defs: {
|
|
4719
|
+
main: {
|
|
4720
|
+
type: "query",
|
|
4721
|
+
description: "View details about a repository.",
|
|
4722
|
+
parameters: {
|
|
4723
|
+
type: "params",
|
|
4724
|
+
required: ["did"],
|
|
4725
|
+
properties: {
|
|
4726
|
+
did: {
|
|
4727
|
+
type: "string"
|
|
4728
|
+
}
|
|
4729
|
+
}
|
|
4730
|
+
},
|
|
4731
|
+
output: {
|
|
4732
|
+
encoding: "application/json",
|
|
4733
|
+
schema: {
|
|
4734
|
+
type: "ref",
|
|
4735
|
+
ref: "lex:com.atproto.admin.repo#viewDetail"
|
|
4736
|
+
}
|
|
4737
|
+
}
|
|
4738
|
+
}
|
|
4739
|
+
}
|
|
4740
|
+
},
|
|
4741
|
+
ComAtprotoAdminModerationAction: {
|
|
4742
|
+
lexicon: 1,
|
|
4743
|
+
id: "com.atproto.admin.moderationAction",
|
|
4744
|
+
defs: {
|
|
4745
|
+
view: {
|
|
4568
4746
|
type: "object",
|
|
4569
|
-
required: [
|
|
4747
|
+
required: [
|
|
4748
|
+
"id",
|
|
4749
|
+
"action",
|
|
4750
|
+
"subject",
|
|
4751
|
+
"reason",
|
|
4752
|
+
"createdBy",
|
|
4753
|
+
"createdAt",
|
|
4754
|
+
"resolvedReportIds"
|
|
4755
|
+
],
|
|
4570
4756
|
properties: {
|
|
4757
|
+
id: {
|
|
4758
|
+
type: "integer"
|
|
4759
|
+
},
|
|
4571
4760
|
action: {
|
|
4572
4761
|
type: "string",
|
|
4573
|
-
|
|
4762
|
+
knownValues: [
|
|
4763
|
+
"com.atproto.admin.moderationAction#takedown",
|
|
4764
|
+
"com.atproto.admin.moderationAction#flag",
|
|
4765
|
+
"com.atproto.admin.moderationAction#acknowledge"
|
|
4766
|
+
]
|
|
4574
4767
|
},
|
|
4575
|
-
|
|
4768
|
+
subject: {
|
|
4769
|
+
type: "union",
|
|
4770
|
+
refs: [
|
|
4771
|
+
"lex:com.atproto.repo.repoRef",
|
|
4772
|
+
"lex:com.atproto.repo.strongRef"
|
|
4773
|
+
]
|
|
4774
|
+
},
|
|
4775
|
+
reason: {
|
|
4576
4776
|
type: "string"
|
|
4577
4777
|
},
|
|
4578
|
-
|
|
4778
|
+
createdBy: {
|
|
4579
4779
|
type: "string"
|
|
4580
4780
|
},
|
|
4581
|
-
|
|
4582
|
-
type: "
|
|
4781
|
+
createdAt: {
|
|
4782
|
+
type: "string"
|
|
4783
|
+
},
|
|
4784
|
+
reversal: {
|
|
4785
|
+
type: "ref",
|
|
4786
|
+
ref: "lex:com.atproto.admin.moderationAction#reversal"
|
|
4787
|
+
},
|
|
4788
|
+
resolvedReportIds: {
|
|
4789
|
+
type: "array",
|
|
4790
|
+
items: {
|
|
4791
|
+
type: "integer"
|
|
4792
|
+
}
|
|
4583
4793
|
}
|
|
4584
4794
|
}
|
|
4585
4795
|
},
|
|
4586
|
-
|
|
4796
|
+
viewDetail: {
|
|
4587
4797
|
type: "object",
|
|
4588
|
-
required: [
|
|
4798
|
+
required: [
|
|
4799
|
+
"id",
|
|
4800
|
+
"action",
|
|
4801
|
+
"subject",
|
|
4802
|
+
"reason",
|
|
4803
|
+
"createdBy",
|
|
4804
|
+
"createdAt",
|
|
4805
|
+
"resolvedReports"
|
|
4806
|
+
],
|
|
4589
4807
|
properties: {
|
|
4808
|
+
id: {
|
|
4809
|
+
type: "integer"
|
|
4810
|
+
},
|
|
4590
4811
|
action: {
|
|
4591
4812
|
type: "string",
|
|
4592
|
-
|
|
4813
|
+
knownValues: [
|
|
4814
|
+
"com.atproto.admin.moderationAction#takedown",
|
|
4815
|
+
"com.atproto.admin.moderationAction#flag",
|
|
4816
|
+
"com.atproto.admin.moderationAction#acknowledge"
|
|
4817
|
+
]
|
|
4593
4818
|
},
|
|
4594
|
-
|
|
4819
|
+
subject: {
|
|
4820
|
+
type: "union",
|
|
4821
|
+
refs: [
|
|
4822
|
+
"lex:com.atproto.admin.repo#view",
|
|
4823
|
+
"lex:com.atproto.admin.record#view"
|
|
4824
|
+
]
|
|
4825
|
+
},
|
|
4826
|
+
reason: {
|
|
4595
4827
|
type: "string"
|
|
4596
4828
|
},
|
|
4597
|
-
|
|
4829
|
+
createdBy: {
|
|
4598
4830
|
type: "string"
|
|
4599
4831
|
},
|
|
4600
|
-
|
|
4601
|
-
type: "
|
|
4602
|
-
}
|
|
4832
|
+
createdAt: {
|
|
4833
|
+
type: "string"
|
|
4834
|
+
},
|
|
4835
|
+
reversal: {
|
|
4836
|
+
type: "ref",
|
|
4837
|
+
ref: "lex:com.atproto.admin.moderationAction#reversal"
|
|
4838
|
+
},
|
|
4839
|
+
resolvedReports: {
|
|
4840
|
+
type: "array",
|
|
4841
|
+
items: {
|
|
4842
|
+
type: "ref",
|
|
4843
|
+
ref: "lex:com.atproto.admin.moderationReport#view"
|
|
4844
|
+
}
|
|
4845
|
+
}
|
|
4846
|
+
}
|
|
4847
|
+
},
|
|
4848
|
+
reversal: {
|
|
4849
|
+
type: "object",
|
|
4850
|
+
required: ["reason", "createdBy", "createdAt"],
|
|
4851
|
+
properties: {
|
|
4852
|
+
reason: {
|
|
4853
|
+
type: "string"
|
|
4854
|
+
},
|
|
4855
|
+
createdBy: {
|
|
4856
|
+
type: "string"
|
|
4857
|
+
},
|
|
4858
|
+
createdAt: {
|
|
4859
|
+
type: "string"
|
|
4860
|
+
}
|
|
4861
|
+
}
|
|
4862
|
+
},
|
|
4863
|
+
takedown: {
|
|
4864
|
+
type: "token",
|
|
4865
|
+
description: "Moderation action type: Takedown. Indicates that content should not be served by the PDS."
|
|
4866
|
+
},
|
|
4867
|
+
flag: {
|
|
4868
|
+
type: "token",
|
|
4869
|
+
description: "Moderation action type: Flag. Indicates that the content was reviewed and considered to violate PDS rules, but may still be served."
|
|
4870
|
+
},
|
|
4871
|
+
acknowledge: {
|
|
4872
|
+
type: "token",
|
|
4873
|
+
description: "Moderation action type: Acknowledge. Indicates that the content was reviewed and not considered to violate PDS rules."
|
|
4874
|
+
}
|
|
4875
|
+
}
|
|
4876
|
+
},
|
|
4877
|
+
ComAtprotoAdminModerationReport: {
|
|
4878
|
+
lexicon: 1,
|
|
4879
|
+
id: "com.atproto.admin.moderationReport",
|
|
4880
|
+
defs: {
|
|
4881
|
+
view: {
|
|
4882
|
+
type: "object",
|
|
4883
|
+
required: [
|
|
4884
|
+
"id",
|
|
4885
|
+
"reasonType",
|
|
4886
|
+
"subject",
|
|
4887
|
+
"reportedByDid",
|
|
4888
|
+
"createdAt",
|
|
4889
|
+
"resolvedByActionIds"
|
|
4890
|
+
],
|
|
4891
|
+
properties: {
|
|
4892
|
+
id: {
|
|
4893
|
+
type: "integer"
|
|
4894
|
+
},
|
|
4895
|
+
reasonType: {
|
|
4896
|
+
type: "ref",
|
|
4897
|
+
ref: "lex:com.atproto.report.reasonType"
|
|
4898
|
+
},
|
|
4899
|
+
reason: {
|
|
4900
|
+
type: "string"
|
|
4901
|
+
},
|
|
4902
|
+
subject: {
|
|
4903
|
+
type: "union",
|
|
4904
|
+
refs: [
|
|
4905
|
+
"lex:com.atproto.repo.repoRef",
|
|
4906
|
+
"lex:com.atproto.repo.strongRef"
|
|
4907
|
+
]
|
|
4908
|
+
},
|
|
4909
|
+
reportedByDid: {
|
|
4910
|
+
type: "string"
|
|
4911
|
+
},
|
|
4912
|
+
createdAt: {
|
|
4913
|
+
type: "datetime"
|
|
4914
|
+
},
|
|
4915
|
+
resolvedByActionIds: {
|
|
4916
|
+
type: "array",
|
|
4917
|
+
items: {
|
|
4918
|
+
type: "integer"
|
|
4919
|
+
}
|
|
4920
|
+
}
|
|
4921
|
+
}
|
|
4922
|
+
},
|
|
4923
|
+
viewDetail: {
|
|
4924
|
+
type: "object",
|
|
4925
|
+
required: [
|
|
4926
|
+
"id",
|
|
4927
|
+
"reasonType",
|
|
4928
|
+
"subject",
|
|
4929
|
+
"reportedByDid",
|
|
4930
|
+
"createdAt",
|
|
4931
|
+
"resolvedByActions"
|
|
4932
|
+
],
|
|
4933
|
+
properties: {
|
|
4934
|
+
id: {
|
|
4935
|
+
type: "integer"
|
|
4936
|
+
},
|
|
4937
|
+
reasonType: {
|
|
4938
|
+
type: "ref",
|
|
4939
|
+
ref: "lex:com.atproto.report.reasonType"
|
|
4940
|
+
},
|
|
4941
|
+
reason: {
|
|
4942
|
+
type: "string"
|
|
4943
|
+
},
|
|
4944
|
+
subject: {
|
|
4945
|
+
type: "union",
|
|
4946
|
+
refs: [
|
|
4947
|
+
"lex:com.atproto.admin.repo#view",
|
|
4948
|
+
"lex:com.atproto.admin.record#view"
|
|
4949
|
+
]
|
|
4950
|
+
},
|
|
4951
|
+
reportedByDid: {
|
|
4952
|
+
type: "string"
|
|
4953
|
+
},
|
|
4954
|
+
createdAt: {
|
|
4955
|
+
type: "datetime"
|
|
4956
|
+
},
|
|
4957
|
+
resolvedByActions: {
|
|
4958
|
+
type: "array",
|
|
4959
|
+
items: {
|
|
4960
|
+
type: "ref",
|
|
4961
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
4962
|
+
}
|
|
4963
|
+
}
|
|
4964
|
+
}
|
|
4965
|
+
}
|
|
4966
|
+
}
|
|
4967
|
+
},
|
|
4968
|
+
ComAtprotoAdminRecord: {
|
|
4969
|
+
lexicon: 1,
|
|
4970
|
+
id: "com.atproto.admin.record",
|
|
4971
|
+
defs: {
|
|
4972
|
+
view: {
|
|
4973
|
+
type: "object",
|
|
4974
|
+
required: ["uri", "cid", "value", "indexedAt", "moderation", "repo"],
|
|
4975
|
+
properties: {
|
|
4976
|
+
uri: {
|
|
4977
|
+
type: "string"
|
|
4978
|
+
},
|
|
4979
|
+
cid: {
|
|
4980
|
+
type: "string"
|
|
4981
|
+
},
|
|
4982
|
+
value: {
|
|
4983
|
+
type: "unknown"
|
|
4984
|
+
},
|
|
4985
|
+
indexedAt: {
|
|
4986
|
+
type: "string"
|
|
4987
|
+
},
|
|
4988
|
+
moderation: {
|
|
4989
|
+
type: "ref",
|
|
4990
|
+
ref: "lex:com.atproto.admin.record#moderation"
|
|
4991
|
+
},
|
|
4992
|
+
repo: {
|
|
4993
|
+
type: "ref",
|
|
4994
|
+
ref: "lex:com.atproto.admin.repo#view"
|
|
4995
|
+
}
|
|
4996
|
+
}
|
|
4997
|
+
},
|
|
4998
|
+
viewDetail: {
|
|
4999
|
+
type: "object",
|
|
5000
|
+
required: ["uri", "cid", "value", "indexedAt", "moderation", "repo"],
|
|
5001
|
+
properties: {
|
|
5002
|
+
uri: {
|
|
5003
|
+
type: "string"
|
|
5004
|
+
},
|
|
5005
|
+
cid: {
|
|
5006
|
+
type: "string"
|
|
5007
|
+
},
|
|
5008
|
+
value: {
|
|
5009
|
+
type: "unknown"
|
|
5010
|
+
},
|
|
5011
|
+
indexedAt: {
|
|
5012
|
+
type: "string"
|
|
5013
|
+
},
|
|
5014
|
+
moderation: {
|
|
5015
|
+
type: "ref",
|
|
5016
|
+
ref: "lex:com.atproto.admin.record#moderationDetail"
|
|
5017
|
+
},
|
|
5018
|
+
repo: {
|
|
5019
|
+
type: "ref",
|
|
5020
|
+
ref: "lex:com.atproto.admin.repo#view"
|
|
5021
|
+
}
|
|
5022
|
+
}
|
|
5023
|
+
},
|
|
5024
|
+
moderation: {
|
|
5025
|
+
type: "object",
|
|
5026
|
+
required: [],
|
|
5027
|
+
properties: {
|
|
5028
|
+
takedownId: {
|
|
5029
|
+
type: "integer"
|
|
5030
|
+
}
|
|
5031
|
+
}
|
|
5032
|
+
},
|
|
5033
|
+
moderationDetail: {
|
|
5034
|
+
type: "object",
|
|
5035
|
+
required: ["actions", "reports"],
|
|
5036
|
+
properties: {
|
|
5037
|
+
actions: {
|
|
5038
|
+
type: "array",
|
|
5039
|
+
items: {
|
|
5040
|
+
type: "ref",
|
|
5041
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5042
|
+
}
|
|
5043
|
+
},
|
|
5044
|
+
reports: {
|
|
5045
|
+
type: "array",
|
|
5046
|
+
items: {
|
|
5047
|
+
type: "ref",
|
|
5048
|
+
ref: "lex:com.atproto.admin.moderationReport#view"
|
|
5049
|
+
}
|
|
5050
|
+
},
|
|
5051
|
+
takedownId: {
|
|
5052
|
+
type: "integer"
|
|
5053
|
+
}
|
|
5054
|
+
}
|
|
5055
|
+
}
|
|
5056
|
+
}
|
|
5057
|
+
},
|
|
5058
|
+
ComAtprotoAdminRepo: {
|
|
5059
|
+
lexicon: 1,
|
|
5060
|
+
id: "com.atproto.admin.repo",
|
|
5061
|
+
defs: {
|
|
5062
|
+
view: {
|
|
5063
|
+
type: "object",
|
|
5064
|
+
required: [
|
|
5065
|
+
"did",
|
|
5066
|
+
"handle",
|
|
5067
|
+
"relatedRecords",
|
|
5068
|
+
"indexedAt",
|
|
5069
|
+
"moderation"
|
|
5070
|
+
],
|
|
5071
|
+
properties: {
|
|
5072
|
+
did: {
|
|
5073
|
+
type: "string"
|
|
5074
|
+
},
|
|
5075
|
+
handle: {
|
|
5076
|
+
type: "string"
|
|
5077
|
+
},
|
|
5078
|
+
account: {
|
|
5079
|
+
type: "ref",
|
|
5080
|
+
ref: "lex:com.atproto.admin.repo#account"
|
|
5081
|
+
},
|
|
5082
|
+
relatedRecords: {
|
|
5083
|
+
type: "array",
|
|
5084
|
+
items: {
|
|
5085
|
+
type: "unknown"
|
|
5086
|
+
}
|
|
5087
|
+
},
|
|
5088
|
+
indexedAt: {
|
|
5089
|
+
type: "string"
|
|
5090
|
+
},
|
|
5091
|
+
moderation: {
|
|
5092
|
+
type: "ref",
|
|
5093
|
+
ref: "lex:com.atproto.admin.repo#moderation"
|
|
5094
|
+
}
|
|
5095
|
+
}
|
|
5096
|
+
},
|
|
5097
|
+
viewDetail: {
|
|
5098
|
+
type: "object",
|
|
5099
|
+
required: [
|
|
5100
|
+
"did",
|
|
5101
|
+
"handle",
|
|
5102
|
+
"relatedRecords",
|
|
5103
|
+
"indexedAt",
|
|
5104
|
+
"moderation"
|
|
5105
|
+
],
|
|
5106
|
+
properties: {
|
|
5107
|
+
did: {
|
|
5108
|
+
type: "string"
|
|
5109
|
+
},
|
|
5110
|
+
handle: {
|
|
5111
|
+
type: "string"
|
|
5112
|
+
},
|
|
5113
|
+
account: {
|
|
5114
|
+
type: "ref",
|
|
5115
|
+
ref: "lex:com.atproto.admin.repo#account"
|
|
5116
|
+
},
|
|
5117
|
+
relatedRecords: {
|
|
5118
|
+
type: "array",
|
|
5119
|
+
items: {
|
|
5120
|
+
type: "unknown"
|
|
5121
|
+
}
|
|
5122
|
+
},
|
|
5123
|
+
indexedAt: {
|
|
5124
|
+
type: "string"
|
|
5125
|
+
},
|
|
5126
|
+
moderation: {
|
|
5127
|
+
type: "ref",
|
|
5128
|
+
ref: "lex:com.atproto.admin.repo#moderationDetail"
|
|
5129
|
+
}
|
|
5130
|
+
}
|
|
5131
|
+
},
|
|
5132
|
+
account: {
|
|
5133
|
+
type: "object",
|
|
5134
|
+
required: ["email"],
|
|
5135
|
+
properties: {
|
|
5136
|
+
email: {
|
|
5137
|
+
type: "string"
|
|
5138
|
+
}
|
|
5139
|
+
}
|
|
5140
|
+
},
|
|
5141
|
+
moderation: {
|
|
5142
|
+
type: "object",
|
|
5143
|
+
required: [],
|
|
5144
|
+
properties: {
|
|
5145
|
+
takedownId: {
|
|
5146
|
+
type: "integer"
|
|
5147
|
+
}
|
|
5148
|
+
}
|
|
5149
|
+
},
|
|
5150
|
+
moderationDetail: {
|
|
5151
|
+
type: "object",
|
|
5152
|
+
required: ["actions", "reports"],
|
|
5153
|
+
properties: {
|
|
5154
|
+
actions: {
|
|
5155
|
+
type: "array",
|
|
5156
|
+
items: {
|
|
5157
|
+
type: "ref",
|
|
5158
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5159
|
+
}
|
|
5160
|
+
},
|
|
5161
|
+
reports: {
|
|
5162
|
+
type: "array",
|
|
5163
|
+
items: {
|
|
5164
|
+
type: "ref",
|
|
5165
|
+
ref: "lex:com.atproto.admin.moderationReport#view"
|
|
5166
|
+
}
|
|
5167
|
+
},
|
|
5168
|
+
takedownId: {
|
|
5169
|
+
type: "integer"
|
|
5170
|
+
}
|
|
5171
|
+
}
|
|
5172
|
+
}
|
|
5173
|
+
}
|
|
5174
|
+
},
|
|
5175
|
+
ComAtprotoAdminResolveModerationReports: {
|
|
5176
|
+
lexicon: 1,
|
|
5177
|
+
id: "com.atproto.admin.resolveModerationReports",
|
|
5178
|
+
defs: {
|
|
5179
|
+
main: {
|
|
5180
|
+
type: "procedure",
|
|
5181
|
+
description: "Resolve moderation reports by an action.",
|
|
5182
|
+
input: {
|
|
5183
|
+
encoding: "application/json",
|
|
5184
|
+
schema: {
|
|
5185
|
+
type: "object",
|
|
5186
|
+
required: ["actionId", "reportIds", "createdBy"],
|
|
5187
|
+
properties: {
|
|
5188
|
+
actionId: {
|
|
5189
|
+
type: "integer"
|
|
5190
|
+
},
|
|
5191
|
+
reportIds: {
|
|
5192
|
+
type: "array",
|
|
5193
|
+
items: {
|
|
5194
|
+
type: "integer"
|
|
5195
|
+
}
|
|
5196
|
+
},
|
|
5197
|
+
createdBy: {
|
|
5198
|
+
type: "string"
|
|
5199
|
+
}
|
|
5200
|
+
}
|
|
5201
|
+
}
|
|
5202
|
+
},
|
|
5203
|
+
output: {
|
|
5204
|
+
encoding: "application/json",
|
|
5205
|
+
schema: {
|
|
5206
|
+
type: "ref",
|
|
5207
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5208
|
+
}
|
|
5209
|
+
}
|
|
5210
|
+
}
|
|
5211
|
+
}
|
|
5212
|
+
},
|
|
5213
|
+
ComAtprotoAdminReverseModerationAction: {
|
|
5214
|
+
lexicon: 1,
|
|
5215
|
+
id: "com.atproto.admin.reverseModerationAction",
|
|
5216
|
+
defs: {
|
|
5217
|
+
main: {
|
|
5218
|
+
type: "procedure",
|
|
5219
|
+
description: "Reverse a moderation action.",
|
|
5220
|
+
input: {
|
|
5221
|
+
encoding: "application/json",
|
|
5222
|
+
schema: {
|
|
5223
|
+
type: "object",
|
|
5224
|
+
required: ["id", "reason", "createdBy"],
|
|
5225
|
+
properties: {
|
|
5226
|
+
id: {
|
|
5227
|
+
type: "integer"
|
|
5228
|
+
},
|
|
5229
|
+
reason: {
|
|
5230
|
+
type: "string"
|
|
5231
|
+
},
|
|
5232
|
+
createdBy: {
|
|
5233
|
+
type: "string"
|
|
5234
|
+
}
|
|
5235
|
+
}
|
|
5236
|
+
}
|
|
5237
|
+
},
|
|
5238
|
+
output: {
|
|
5239
|
+
encoding: "application/json",
|
|
5240
|
+
schema: {
|
|
5241
|
+
type: "ref",
|
|
5242
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5243
|
+
}
|
|
5244
|
+
}
|
|
5245
|
+
}
|
|
5246
|
+
}
|
|
5247
|
+
},
|
|
5248
|
+
ComAtprotoAdminSearchRepos: {
|
|
5249
|
+
lexicon: 1,
|
|
5250
|
+
id: "com.atproto.admin.searchRepos",
|
|
5251
|
+
defs: {
|
|
5252
|
+
main: {
|
|
5253
|
+
type: "query",
|
|
5254
|
+
description: "Find repositories based on a search term.",
|
|
5255
|
+
parameters: {
|
|
5256
|
+
type: "params",
|
|
5257
|
+
properties: {
|
|
5258
|
+
term: {
|
|
5259
|
+
type: "string"
|
|
5260
|
+
},
|
|
5261
|
+
limit: {
|
|
5262
|
+
type: "integer",
|
|
5263
|
+
minimum: 1,
|
|
5264
|
+
maximum: 100,
|
|
5265
|
+
default: 50
|
|
5266
|
+
},
|
|
5267
|
+
before: {
|
|
5268
|
+
type: "string"
|
|
5269
|
+
}
|
|
5270
|
+
}
|
|
5271
|
+
},
|
|
5272
|
+
output: {
|
|
5273
|
+
encoding: "application/json",
|
|
5274
|
+
schema: {
|
|
5275
|
+
type: "object",
|
|
5276
|
+
required: ["repos"],
|
|
5277
|
+
properties: {
|
|
5278
|
+
cursor: {
|
|
5279
|
+
type: "string"
|
|
5280
|
+
},
|
|
5281
|
+
repos: {
|
|
5282
|
+
type: "array",
|
|
5283
|
+
items: {
|
|
5284
|
+
type: "ref",
|
|
5285
|
+
ref: "lex:com.atproto.admin.repo#view"
|
|
5286
|
+
}
|
|
5287
|
+
}
|
|
5288
|
+
}
|
|
5289
|
+
}
|
|
5290
|
+
}
|
|
5291
|
+
}
|
|
5292
|
+
}
|
|
5293
|
+
},
|
|
5294
|
+
ComAtprotoAdminTakeModerationAction: {
|
|
5295
|
+
lexicon: 1,
|
|
5296
|
+
id: "com.atproto.admin.takeModerationAction",
|
|
5297
|
+
defs: {
|
|
5298
|
+
main: {
|
|
5299
|
+
type: "procedure",
|
|
5300
|
+
description: "Take a moderation action on a repo.",
|
|
5301
|
+
input: {
|
|
5302
|
+
encoding: "application/json",
|
|
5303
|
+
schema: {
|
|
5304
|
+
type: "object",
|
|
5305
|
+
required: ["action", "subject", "reason", "createdBy"],
|
|
5306
|
+
properties: {
|
|
5307
|
+
action: {
|
|
5308
|
+
type: "string",
|
|
5309
|
+
knownValues: [
|
|
5310
|
+
"com.atproto.admin.moderationAction#takedown",
|
|
5311
|
+
"com.atproto.admin.moderationAction#flag",
|
|
5312
|
+
"com.atproto.admin.moderationAction#acknowledge"
|
|
5313
|
+
]
|
|
5314
|
+
},
|
|
5315
|
+
subject: {
|
|
5316
|
+
type: "union",
|
|
5317
|
+
refs: [
|
|
5318
|
+
"lex:com.atproto.repo.repoRef",
|
|
5319
|
+
"lex:com.atproto.repo.recordRef"
|
|
5320
|
+
]
|
|
5321
|
+
},
|
|
5322
|
+
reason: {
|
|
5323
|
+
type: "string"
|
|
5324
|
+
},
|
|
5325
|
+
createdBy: {
|
|
5326
|
+
type: "string"
|
|
5327
|
+
}
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
},
|
|
5331
|
+
output: {
|
|
5332
|
+
encoding: "application/json",
|
|
5333
|
+
schema: {
|
|
5334
|
+
type: "ref",
|
|
5335
|
+
ref: "lex:com.atproto.admin.moderationAction#view"
|
|
5336
|
+
}
|
|
5337
|
+
}
|
|
5338
|
+
}
|
|
5339
|
+
}
|
|
5340
|
+
},
|
|
5341
|
+
ComAtprotoBlobUpload: {
|
|
5342
|
+
lexicon: 1,
|
|
5343
|
+
id: "com.atproto.blob.upload",
|
|
5344
|
+
defs: {
|
|
5345
|
+
main: {
|
|
5346
|
+
type: "procedure",
|
|
5347
|
+
description: "Upload a new blob to be added to repo in a later request.",
|
|
5348
|
+
input: {
|
|
5349
|
+
encoding: "*/*"
|
|
5350
|
+
},
|
|
5351
|
+
output: {
|
|
5352
|
+
encoding: "application/json",
|
|
5353
|
+
schema: {
|
|
5354
|
+
type: "object",
|
|
5355
|
+
required: ["cid"],
|
|
5356
|
+
properties: {
|
|
5357
|
+
cid: {
|
|
5358
|
+
type: "string"
|
|
5359
|
+
}
|
|
5360
|
+
}
|
|
5361
|
+
}
|
|
5362
|
+
}
|
|
5363
|
+
}
|
|
5364
|
+
}
|
|
5365
|
+
},
|
|
5366
|
+
ComAtprotoHandleResolve: {
|
|
5367
|
+
lexicon: 1,
|
|
5368
|
+
id: "com.atproto.handle.resolve",
|
|
5369
|
+
defs: {
|
|
5370
|
+
main: {
|
|
5371
|
+
type: "query",
|
|
5372
|
+
description: "Provides the DID of a repo.",
|
|
5373
|
+
parameters: {
|
|
5374
|
+
type: "params",
|
|
5375
|
+
properties: {
|
|
5376
|
+
handle: {
|
|
5377
|
+
type: "string",
|
|
5378
|
+
description: "The handle to resolve. If not supplied, will resolve the host's own handle."
|
|
5379
|
+
}
|
|
5380
|
+
}
|
|
5381
|
+
},
|
|
5382
|
+
output: {
|
|
5383
|
+
encoding: "application/json",
|
|
5384
|
+
schema: {
|
|
5385
|
+
type: "object",
|
|
5386
|
+
required: ["did"],
|
|
5387
|
+
properties: {
|
|
5388
|
+
did: {
|
|
5389
|
+
type: "string"
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5393
|
+
}
|
|
5394
|
+
}
|
|
5395
|
+
}
|
|
5396
|
+
},
|
|
5397
|
+
ComAtprotoRepoBatchWrite: {
|
|
5398
|
+
lexicon: 1,
|
|
5399
|
+
id: "com.atproto.repo.batchWrite",
|
|
5400
|
+
defs: {
|
|
5401
|
+
main: {
|
|
5402
|
+
type: "procedure",
|
|
5403
|
+
description: "Apply a batch transaction of creates, puts, and deletes.",
|
|
5404
|
+
input: {
|
|
5405
|
+
encoding: "application/json",
|
|
5406
|
+
schema: {
|
|
5407
|
+
type: "object",
|
|
5408
|
+
required: ["did", "writes"],
|
|
5409
|
+
properties: {
|
|
5410
|
+
did: {
|
|
5411
|
+
type: "string",
|
|
5412
|
+
description: "The DID of the repo."
|
|
5413
|
+
},
|
|
5414
|
+
validate: {
|
|
5415
|
+
type: "boolean",
|
|
5416
|
+
default: true,
|
|
5417
|
+
description: "Validate the records?"
|
|
5418
|
+
},
|
|
5419
|
+
writes: {
|
|
5420
|
+
type: "array",
|
|
5421
|
+
items: {
|
|
5422
|
+
type: "union",
|
|
5423
|
+
refs: [
|
|
5424
|
+
"lex:com.atproto.repo.batchWrite#create",
|
|
5425
|
+
"lex:com.atproto.repo.batchWrite#update",
|
|
5426
|
+
"lex:com.atproto.repo.batchWrite#delete"
|
|
5427
|
+
],
|
|
5428
|
+
closed: true
|
|
5429
|
+
}
|
|
5430
|
+
}
|
|
5431
|
+
}
|
|
5432
|
+
}
|
|
5433
|
+
}
|
|
5434
|
+
},
|
|
5435
|
+
create: {
|
|
5436
|
+
type: "object",
|
|
5437
|
+
required: ["action", "collection", "value"],
|
|
5438
|
+
properties: {
|
|
5439
|
+
action: {
|
|
5440
|
+
type: "string",
|
|
5441
|
+
const: "create"
|
|
5442
|
+
},
|
|
5443
|
+
collection: {
|
|
5444
|
+
type: "string"
|
|
5445
|
+
},
|
|
5446
|
+
rkey: {
|
|
5447
|
+
type: "string"
|
|
5448
|
+
},
|
|
5449
|
+
value: {
|
|
5450
|
+
type: "unknown"
|
|
5451
|
+
}
|
|
5452
|
+
}
|
|
5453
|
+
},
|
|
5454
|
+
update: {
|
|
5455
|
+
type: "object",
|
|
5456
|
+
required: ["action", "collection", "rkey", "value"],
|
|
5457
|
+
properties: {
|
|
5458
|
+
action: {
|
|
5459
|
+
type: "string",
|
|
5460
|
+
const: "update"
|
|
5461
|
+
},
|
|
5462
|
+
collection: {
|
|
5463
|
+
type: "string"
|
|
5464
|
+
},
|
|
5465
|
+
rkey: {
|
|
5466
|
+
type: "string"
|
|
5467
|
+
},
|
|
5468
|
+
value: {
|
|
5469
|
+
type: "unknown"
|
|
5470
|
+
}
|
|
4603
5471
|
}
|
|
4604
5472
|
},
|
|
4605
5473
|
delete: {
|
|
@@ -4937,6 +5805,41 @@ var schemaDict = {
|
|
|
4937
5805
|
}
|
|
4938
5806
|
}
|
|
4939
5807
|
},
|
|
5808
|
+
ComAtprotoRepoRecordRef: {
|
|
5809
|
+
lexicon: 1,
|
|
5810
|
+
id: "com.atproto.repo.recordRef",
|
|
5811
|
+
description: "A URI with optional content-hash fingerprint.",
|
|
5812
|
+
defs: {
|
|
5813
|
+
main: {
|
|
5814
|
+
type: "object",
|
|
5815
|
+
required: ["uri"],
|
|
5816
|
+
properties: {
|
|
5817
|
+
uri: {
|
|
5818
|
+
type: "string"
|
|
5819
|
+
},
|
|
5820
|
+
cid: {
|
|
5821
|
+
type: "string"
|
|
5822
|
+
}
|
|
5823
|
+
}
|
|
5824
|
+
}
|
|
5825
|
+
}
|
|
5826
|
+
},
|
|
5827
|
+
ComAtprotoRepoRepoRef: {
|
|
5828
|
+
lexicon: 1,
|
|
5829
|
+
id: "com.atproto.repo.repoRef",
|
|
5830
|
+
description: "A did identifying a repository.",
|
|
5831
|
+
defs: {
|
|
5832
|
+
main: {
|
|
5833
|
+
type: "object",
|
|
5834
|
+
required: ["did"],
|
|
5835
|
+
properties: {
|
|
5836
|
+
did: {
|
|
5837
|
+
type: "string"
|
|
5838
|
+
}
|
|
5839
|
+
}
|
|
5840
|
+
}
|
|
5841
|
+
}
|
|
5842
|
+
},
|
|
4940
5843
|
ComAtprotoRepoStrongRef: {
|
|
4941
5844
|
lexicon: 1,
|
|
4942
5845
|
id: "com.atproto.repo.strongRef",
|
|
@@ -4956,6 +5859,148 @@ var schemaDict = {
|
|
|
4956
5859
|
}
|
|
4957
5860
|
}
|
|
4958
5861
|
},
|
|
5862
|
+
ComAtprotoReportCreate: {
|
|
5863
|
+
lexicon: 1,
|
|
5864
|
+
id: "com.atproto.report.create",
|
|
5865
|
+
defs: {
|
|
5866
|
+
main: {
|
|
5867
|
+
type: "procedure",
|
|
5868
|
+
description: "Report a repo or a record.",
|
|
5869
|
+
input: {
|
|
5870
|
+
encoding: "application/json",
|
|
5871
|
+
schema: {
|
|
5872
|
+
type: "object",
|
|
5873
|
+
required: ["reasonType", "subject"],
|
|
5874
|
+
properties: {
|
|
5875
|
+
reasonType: {
|
|
5876
|
+
type: "ref",
|
|
5877
|
+
ref: "lex:com.atproto.report.reasonType"
|
|
5878
|
+
},
|
|
5879
|
+
reason: {
|
|
5880
|
+
type: "string"
|
|
5881
|
+
},
|
|
5882
|
+
subject: {
|
|
5883
|
+
type: "union",
|
|
5884
|
+
refs: [
|
|
5885
|
+
"lex:com.atproto.repo.repoRef",
|
|
5886
|
+
"lex:com.atproto.repo.recordRef"
|
|
5887
|
+
]
|
|
5888
|
+
}
|
|
5889
|
+
}
|
|
5890
|
+
}
|
|
5891
|
+
},
|
|
5892
|
+
output: {
|
|
5893
|
+
encoding: "application/json",
|
|
5894
|
+
schema: {
|
|
5895
|
+
type: "object",
|
|
5896
|
+
required: [
|
|
5897
|
+
"id",
|
|
5898
|
+
"reasonType",
|
|
5899
|
+
"subject",
|
|
5900
|
+
"reportedByDid",
|
|
5901
|
+
"createdAt"
|
|
5902
|
+
],
|
|
5903
|
+
properties: {
|
|
5904
|
+
id: {
|
|
5905
|
+
type: "integer"
|
|
5906
|
+
},
|
|
5907
|
+
reasonType: {
|
|
5908
|
+
type: "ref",
|
|
5909
|
+
ref: "lex:com.atproto.report.reasonType"
|
|
5910
|
+
},
|
|
5911
|
+
reason: {
|
|
5912
|
+
type: "string"
|
|
5913
|
+
},
|
|
5914
|
+
subject: {
|
|
5915
|
+
type: "union",
|
|
5916
|
+
refs: [
|
|
5917
|
+
"lex:com.atproto.repo.repoRef",
|
|
5918
|
+
"lex:com.atproto.repo.strongRef"
|
|
5919
|
+
]
|
|
5920
|
+
},
|
|
5921
|
+
reportedByDid: {
|
|
5922
|
+
type: "string"
|
|
5923
|
+
},
|
|
5924
|
+
createdAt: {
|
|
5925
|
+
type: "datetime"
|
|
5926
|
+
}
|
|
5927
|
+
}
|
|
5928
|
+
}
|
|
5929
|
+
}
|
|
5930
|
+
}
|
|
5931
|
+
}
|
|
5932
|
+
},
|
|
5933
|
+
ComAtprotoReportReasonType: {
|
|
5934
|
+
lexicon: 1,
|
|
5935
|
+
id: "com.atproto.report.reasonType",
|
|
5936
|
+
defs: {
|
|
5937
|
+
main: {
|
|
5938
|
+
type: "string",
|
|
5939
|
+
knownValues: [
|
|
5940
|
+
"com.atproto.report.reason#spam",
|
|
5941
|
+
"com.atproto.report.reason#other"
|
|
5942
|
+
]
|
|
5943
|
+
},
|
|
5944
|
+
spam: {
|
|
5945
|
+
type: "token",
|
|
5946
|
+
description: "Moderation report reason: Spam."
|
|
5947
|
+
},
|
|
5948
|
+
other: {
|
|
5949
|
+
type: "token",
|
|
5950
|
+
description: "Moderation report reason: Other."
|
|
5951
|
+
}
|
|
5952
|
+
}
|
|
5953
|
+
},
|
|
5954
|
+
ComAtprotoReportSubject: {
|
|
5955
|
+
lexicon: 1,
|
|
5956
|
+
id: "com.atproto.report.subject",
|
|
5957
|
+
defs: {
|
|
5958
|
+
repo: {
|
|
5959
|
+
type: "object",
|
|
5960
|
+
required: ["did"],
|
|
5961
|
+
properties: {
|
|
5962
|
+
did: {
|
|
5963
|
+
type: "string",
|
|
5964
|
+
description: "The DID of the repo."
|
|
5965
|
+
}
|
|
5966
|
+
}
|
|
5967
|
+
},
|
|
5968
|
+
record: {
|
|
5969
|
+
type: "object",
|
|
5970
|
+
required: ["did", "collection", "rkey"],
|
|
5971
|
+
properties: {
|
|
5972
|
+
did: {
|
|
5973
|
+
type: "string",
|
|
5974
|
+
description: "The DID of the repo."
|
|
5975
|
+
},
|
|
5976
|
+
collection: {
|
|
5977
|
+
type: "string",
|
|
5978
|
+
description: "The NSID of the collection."
|
|
5979
|
+
},
|
|
5980
|
+
rkey: {
|
|
5981
|
+
type: "string",
|
|
5982
|
+
description: "The key of the record."
|
|
5983
|
+
},
|
|
5984
|
+
cid: {
|
|
5985
|
+
type: "string",
|
|
5986
|
+
description: "The CID of the version of the record. If not specified, defaults to the most recent version."
|
|
5987
|
+
}
|
|
5988
|
+
}
|
|
5989
|
+
},
|
|
5990
|
+
recordRef: {
|
|
5991
|
+
type: "object",
|
|
5992
|
+
required: ["uri", "cid"],
|
|
5993
|
+
properties: {
|
|
5994
|
+
uri: {
|
|
5995
|
+
type: "string"
|
|
5996
|
+
},
|
|
5997
|
+
cid: {
|
|
5998
|
+
type: "string"
|
|
5999
|
+
}
|
|
6000
|
+
}
|
|
6001
|
+
}
|
|
6002
|
+
}
|
|
6003
|
+
},
|
|
4959
6004
|
ComAtprotoServerGetAccountsConfig: {
|
|
4960
6005
|
lexicon: 1,
|
|
4961
6006
|
id: "com.atproto.server.getAccountsConfig",
|
|
@@ -5010,10 +6055,11 @@ var schemaDict = {
|
|
|
5010
6055
|
encoding: "application/json",
|
|
5011
6056
|
schema: {
|
|
5012
6057
|
type: "object",
|
|
5013
|
-
required: ["
|
|
6058
|
+
required: ["password"],
|
|
5014
6059
|
properties: {
|
|
5015
|
-
|
|
5016
|
-
type: "string"
|
|
6060
|
+
identifier: {
|
|
6061
|
+
type: "string",
|
|
6062
|
+
description: "Handle or other identifier supported by the server for the authenticating user."
|
|
5017
6063
|
},
|
|
5018
6064
|
password: {
|
|
5019
6065
|
type: "string"
|
|
@@ -5041,7 +6087,12 @@ var schemaDict = {
|
|
|
5041
6087
|
}
|
|
5042
6088
|
}
|
|
5043
6089
|
}
|
|
5044
|
-
}
|
|
6090
|
+
},
|
|
6091
|
+
errors: [
|
|
6092
|
+
{
|
|
6093
|
+
name: "AccountTakedown"
|
|
6094
|
+
}
|
|
6095
|
+
]
|
|
5045
6096
|
}
|
|
5046
6097
|
}
|
|
5047
6098
|
},
|
|
@@ -5107,13 +6158,18 @@ var schemaDict = {
|
|
|
5107
6158
|
}
|
|
5108
6159
|
}
|
|
5109
6160
|
}
|
|
5110
|
-
}
|
|
6161
|
+
},
|
|
6162
|
+
errors: [
|
|
6163
|
+
{
|
|
6164
|
+
name: "AccountTakedown"
|
|
6165
|
+
}
|
|
6166
|
+
]
|
|
5111
6167
|
}
|
|
5112
6168
|
}
|
|
5113
6169
|
},
|
|
5114
|
-
|
|
6170
|
+
ComAtprotoSyncGetCheckout: {
|
|
5115
6171
|
lexicon: 1,
|
|
5116
|
-
id: "com.atproto.sync.
|
|
6172
|
+
id: "com.atproto.sync.getCheckout",
|
|
5117
6173
|
defs: {
|
|
5118
6174
|
main: {
|
|
5119
6175
|
type: "query",
|
|
@@ -5126,25 +6182,25 @@ var schemaDict = {
|
|
|
5126
6182
|
type: "string",
|
|
5127
6183
|
description: "The DID of the repo."
|
|
5128
6184
|
},
|
|
5129
|
-
|
|
6185
|
+
commit: {
|
|
5130
6186
|
type: "string",
|
|
5131
|
-
description: "
|
|
6187
|
+
description: "The commit to get the checkout from. Defaults to current HEAD."
|
|
5132
6188
|
}
|
|
5133
6189
|
}
|
|
5134
6190
|
},
|
|
5135
6191
|
output: {
|
|
5136
|
-
encoding: "application/
|
|
6192
|
+
encoding: "application/vnd.ipld.car"
|
|
5137
6193
|
}
|
|
5138
6194
|
}
|
|
5139
6195
|
}
|
|
5140
6196
|
},
|
|
5141
|
-
|
|
6197
|
+
ComAtprotoSyncGetCommitPath: {
|
|
5142
6198
|
lexicon: 1,
|
|
5143
|
-
id: "com.atproto.sync.
|
|
6199
|
+
id: "com.atproto.sync.getCommitPath",
|
|
5144
6200
|
defs: {
|
|
5145
6201
|
main: {
|
|
5146
6202
|
type: "query",
|
|
5147
|
-
description: "Gets the
|
|
6203
|
+
description: "Gets the path of repo commits",
|
|
5148
6204
|
parameters: {
|
|
5149
6205
|
type: "params",
|
|
5150
6206
|
required: ["did"],
|
|
@@ -5152,6 +6208,14 @@ var schemaDict = {
|
|
|
5152
6208
|
did: {
|
|
5153
6209
|
type: "string",
|
|
5154
6210
|
description: "The DID of the repo."
|
|
6211
|
+
},
|
|
6212
|
+
latest: {
|
|
6213
|
+
type: "string",
|
|
6214
|
+
description: "The most recent commit"
|
|
6215
|
+
},
|
|
6216
|
+
earliest: {
|
|
6217
|
+
type: "string",
|
|
6218
|
+
description: "The earliest commit to start from"
|
|
5155
6219
|
}
|
|
5156
6220
|
}
|
|
5157
6221
|
},
|
|
@@ -5159,10 +6223,13 @@ var schemaDict = {
|
|
|
5159
6223
|
encoding: "application/json",
|
|
5160
6224
|
schema: {
|
|
5161
6225
|
type: "object",
|
|
5162
|
-
required: ["
|
|
6226
|
+
required: ["commits"],
|
|
5163
6227
|
properties: {
|
|
5164
|
-
|
|
5165
|
-
type: "
|
|
6228
|
+
commits: {
|
|
6229
|
+
type: "array",
|
|
6230
|
+
items: {
|
|
6231
|
+
type: "string"
|
|
6232
|
+
}
|
|
5166
6233
|
}
|
|
5167
6234
|
}
|
|
5168
6235
|
}
|
|
@@ -5170,13 +6237,13 @@ var schemaDict = {
|
|
|
5170
6237
|
}
|
|
5171
6238
|
}
|
|
5172
6239
|
},
|
|
5173
|
-
|
|
6240
|
+
ComAtprotoSyncGetHead: {
|
|
5174
6241
|
lexicon: 1,
|
|
5175
|
-
id: "com.atproto.sync.
|
|
6242
|
+
id: "com.atproto.sync.getHead",
|
|
5176
6243
|
defs: {
|
|
5177
6244
|
main: {
|
|
5178
|
-
type: "
|
|
5179
|
-
description: "
|
|
6245
|
+
type: "query",
|
|
6246
|
+
description: "Gets the current HEAD CID of a repo.",
|
|
5180
6247
|
parameters: {
|
|
5181
6248
|
type: "params",
|
|
5182
6249
|
required: ["did"],
|
|
@@ -5187,61 +6254,78 @@ var schemaDict = {
|
|
|
5187
6254
|
}
|
|
5188
6255
|
}
|
|
5189
6256
|
},
|
|
5190
|
-
|
|
5191
|
-
encoding: "application/
|
|
6257
|
+
output: {
|
|
6258
|
+
encoding: "application/json",
|
|
6259
|
+
schema: {
|
|
6260
|
+
type: "object",
|
|
6261
|
+
required: ["root"],
|
|
6262
|
+
properties: {
|
|
6263
|
+
root: {
|
|
6264
|
+
type: "string"
|
|
6265
|
+
}
|
|
6266
|
+
}
|
|
6267
|
+
}
|
|
5192
6268
|
}
|
|
5193
6269
|
}
|
|
5194
6270
|
}
|
|
5195
6271
|
},
|
|
5196
|
-
|
|
6272
|
+
ComAtprotoSyncGetRecord: {
|
|
5197
6273
|
lexicon: 1,
|
|
5198
|
-
id: "
|
|
6274
|
+
id: "com.atproto.sync.getRecord",
|
|
5199
6275
|
defs: {
|
|
5200
6276
|
main: {
|
|
5201
|
-
type: "
|
|
5202
|
-
description: "
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
6277
|
+
type: "query",
|
|
6278
|
+
description: "Gets blocks needed for existence or non-existence of record.",
|
|
6279
|
+
parameters: {
|
|
6280
|
+
type: "params",
|
|
6281
|
+
required: ["did", "collection", "rkey"],
|
|
6282
|
+
properties: {
|
|
6283
|
+
did: {
|
|
6284
|
+
type: "string",
|
|
6285
|
+
description: "The DID of the repo."
|
|
6286
|
+
},
|
|
6287
|
+
collection: {
|
|
6288
|
+
type: "string"
|
|
6289
|
+
},
|
|
6290
|
+
rkey: {
|
|
6291
|
+
type: "string"
|
|
6292
|
+
},
|
|
6293
|
+
commit: {
|
|
6294
|
+
type: "string",
|
|
6295
|
+
description: "An optional past commit CID."
|
|
5215
6296
|
}
|
|
5216
6297
|
}
|
|
5217
6298
|
},
|
|
5218
6299
|
output: {
|
|
5219
|
-
encoding: "application/
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
6300
|
+
encoding: "application/vnd.ipld.car"
|
|
6301
|
+
}
|
|
6302
|
+
}
|
|
6303
|
+
}
|
|
6304
|
+
},
|
|
6305
|
+
ComAtprotoSyncGetRepo: {
|
|
6306
|
+
lexicon: 1,
|
|
6307
|
+
id: "com.atproto.sync.getRepo",
|
|
6308
|
+
defs: {
|
|
6309
|
+
main: {
|
|
6310
|
+
type: "query",
|
|
6311
|
+
description: "Gets the repo state.",
|
|
6312
|
+
parameters: {
|
|
6313
|
+
type: "params",
|
|
6314
|
+
required: ["did"],
|
|
6315
|
+
properties: {
|
|
6316
|
+
did: {
|
|
6317
|
+
type: "string",
|
|
6318
|
+
description: "The DID of the repo."
|
|
6319
|
+
},
|
|
6320
|
+
from: {
|
|
6321
|
+
type: "string",
|
|
6322
|
+
description: "A past commit CID."
|
|
5234
6323
|
}
|
|
5235
6324
|
}
|
|
5236
6325
|
},
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
},
|
|
5241
|
-
{
|
|
5242
|
-
name: "HandleNotAvailable"
|
|
5243
|
-
}
|
|
5244
|
-
]
|
|
6326
|
+
output: {
|
|
6327
|
+
encoding: "application/vnd.ipld.car"
|
|
6328
|
+
}
|
|
5245
6329
|
}
|
|
5246
6330
|
}
|
|
5247
6331
|
},
|
|
@@ -5271,7 +6355,6 @@ var schemaDict = {
|
|
|
5271
6355
|
"creator",
|
|
5272
6356
|
"followersCount",
|
|
5273
6357
|
"followsCount",
|
|
5274
|
-
"membersCount",
|
|
5275
6358
|
"postsCount"
|
|
5276
6359
|
],
|
|
5277
6360
|
properties: {
|
|
@@ -5308,9 +6391,6 @@ var schemaDict = {
|
|
|
5308
6391
|
followsCount: {
|
|
5309
6392
|
type: "integer"
|
|
5310
6393
|
},
|
|
5311
|
-
membersCount: {
|
|
5312
|
-
type: "integer"
|
|
5313
|
-
},
|
|
5314
6394
|
postsCount: {
|
|
5315
6395
|
type: "integer"
|
|
5316
6396
|
},
|
|
@@ -5328,9 +6408,6 @@ var schemaDict = {
|
|
|
5328
6408
|
follow: {
|
|
5329
6409
|
type: "string"
|
|
5330
6410
|
},
|
|
5331
|
-
member: {
|
|
5332
|
-
type: "string"
|
|
5333
|
-
},
|
|
5334
6411
|
muted: {
|
|
5335
6412
|
type: "boolean"
|
|
5336
6413
|
}
|
|
@@ -5444,16 +6521,16 @@ var schemaDict = {
|
|
|
5444
6521
|
avatar: {
|
|
5445
6522
|
type: "image",
|
|
5446
6523
|
accept: ["image/png", "image/jpeg"],
|
|
5447
|
-
maxWidth:
|
|
5448
|
-
maxHeight:
|
|
5449
|
-
maxSize:
|
|
6524
|
+
maxWidth: 2e3,
|
|
6525
|
+
maxHeight: 2e3,
|
|
6526
|
+
maxSize: 1e6
|
|
5450
6527
|
},
|
|
5451
6528
|
banner: {
|
|
5452
6529
|
type: "image",
|
|
5453
6530
|
accept: ["image/png", "image/jpeg"],
|
|
5454
|
-
maxWidth:
|
|
5455
|
-
maxHeight:
|
|
5456
|
-
maxSize:
|
|
6531
|
+
maxWidth: 6e3,
|
|
6532
|
+
maxHeight: 2e3,
|
|
6533
|
+
maxSize: 1e6
|
|
5457
6534
|
}
|
|
5458
6535
|
}
|
|
5459
6536
|
}
|
|
@@ -5523,7 +6600,6 @@ var schemaDict = {
|
|
|
5523
6600
|
description: "Find users matching search criteria.",
|
|
5524
6601
|
parameters: {
|
|
5525
6602
|
type: "params",
|
|
5526
|
-
required: ["term"],
|
|
5527
6603
|
properties: {
|
|
5528
6604
|
term: {
|
|
5529
6605
|
type: "string"
|
|
@@ -5599,7 +6675,6 @@ var schemaDict = {
|
|
|
5599
6675
|
description: "Find user suggestions for a search term.",
|
|
5600
6676
|
parameters: {
|
|
5601
6677
|
type: "params",
|
|
5602
|
-
required: ["term"],
|
|
5603
6678
|
properties: {
|
|
5604
6679
|
term: {
|
|
5605
6680
|
type: "string"
|
|
@@ -5666,9 +6741,6 @@ var schemaDict = {
|
|
|
5666
6741
|
schema: {
|
|
5667
6742
|
type: "object",
|
|
5668
6743
|
properties: {
|
|
5669
|
-
did: {
|
|
5670
|
-
type: "string"
|
|
5671
|
-
},
|
|
5672
6744
|
displayName: {
|
|
5673
6745
|
type: "string",
|
|
5674
6746
|
maxLength: 64
|
|
@@ -5760,9 +6832,9 @@ var schemaDict = {
|
|
|
5760
6832
|
thumb: {
|
|
5761
6833
|
type: "image",
|
|
5762
6834
|
accept: ["image/*"],
|
|
5763
|
-
maxWidth:
|
|
5764
|
-
maxHeight:
|
|
5765
|
-
maxSize:
|
|
6835
|
+
maxWidth: 2e3,
|
|
6836
|
+
maxHeight: 2e3,
|
|
6837
|
+
maxSize: 1e6
|
|
5766
6838
|
}
|
|
5767
6839
|
}
|
|
5768
6840
|
},
|
|
@@ -5822,9 +6894,9 @@ var schemaDict = {
|
|
|
5822
6894
|
image: {
|
|
5823
6895
|
type: "image",
|
|
5824
6896
|
accept: ["image/*"],
|
|
5825
|
-
maxWidth:
|
|
5826
|
-
maxHeight:
|
|
5827
|
-
maxSize:
|
|
6897
|
+
maxWidth: 2e3,
|
|
6898
|
+
maxHeight: 2e3,
|
|
6899
|
+
maxSize: 1e6
|
|
5828
6900
|
},
|
|
5829
6901
|
alt: {
|
|
5830
6902
|
type: "string"
|
|
@@ -5880,10 +6952,7 @@ var schemaDict = {
|
|
|
5880
6952
|
},
|
|
5881
6953
|
reason: {
|
|
5882
6954
|
type: "union",
|
|
5883
|
-
refs: [
|
|
5884
|
-
"lex:app.bsky.feed.feedViewPost#reasonTrend",
|
|
5885
|
-
"lex:app.bsky.feed.feedViewPost#reasonRepost"
|
|
5886
|
-
]
|
|
6955
|
+
refs: ["lex:app.bsky.feed.feedViewPost#reasonRepost"]
|
|
5887
6956
|
}
|
|
5888
6957
|
}
|
|
5889
6958
|
},
|
|
@@ -5901,19 +6970,6 @@ var schemaDict = {
|
|
|
5901
6970
|
}
|
|
5902
6971
|
}
|
|
5903
6972
|
},
|
|
5904
|
-
reasonTrend: {
|
|
5905
|
-
type: "object",
|
|
5906
|
-
required: ["by", "indexedAt"],
|
|
5907
|
-
properties: {
|
|
5908
|
-
by: {
|
|
5909
|
-
type: "ref",
|
|
5910
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
5911
|
-
},
|
|
5912
|
-
indexedAt: {
|
|
5913
|
-
type: "datetime"
|
|
5914
|
-
}
|
|
5915
|
-
}
|
|
5916
|
-
},
|
|
5917
6973
|
reasonRepost: {
|
|
5918
6974
|
type: "object",
|
|
5919
6975
|
required: ["by", "indexedAt"],
|
|
@@ -6488,29 +7544,6 @@ var schemaDict = {
|
|
|
6488
7544
|
}
|
|
6489
7545
|
}
|
|
6490
7546
|
},
|
|
6491
|
-
AppBskyFeedTrend: {
|
|
6492
|
-
lexicon: 1,
|
|
6493
|
-
id: "app.bsky.feed.trend",
|
|
6494
|
-
defs: {
|
|
6495
|
-
main: {
|
|
6496
|
-
type: "record",
|
|
6497
|
-
key: "tid",
|
|
6498
|
-
record: {
|
|
6499
|
-
type: "object",
|
|
6500
|
-
required: ["subject", "createdAt"],
|
|
6501
|
-
properties: {
|
|
6502
|
-
subject: {
|
|
6503
|
-
type: "ref",
|
|
6504
|
-
ref: "lex:com.atproto.repo.strongRef"
|
|
6505
|
-
},
|
|
6506
|
-
createdAt: {
|
|
6507
|
-
type: "datetime"
|
|
6508
|
-
}
|
|
6509
|
-
}
|
|
6510
|
-
}
|
|
6511
|
-
}
|
|
6512
|
-
}
|
|
6513
|
-
},
|
|
6514
7547
|
AppBskyFeedVote: {
|
|
6515
7548
|
lexicon: 1,
|
|
6516
7549
|
id: "app.bsky.feed.vote",
|
|
@@ -6586,338 +7619,67 @@ var schemaDict = {
|
|
|
6586
7619
|
},
|
|
6587
7620
|
AppBskyGraphConfirmation: {
|
|
6588
7621
|
lexicon: 1,
|
|
6589
|
-
id: "app.bsky.graph.confirmation",
|
|
6590
|
-
defs: {
|
|
6591
|
-
main: {
|
|
6592
|
-
type: "record",
|
|
6593
|
-
key: "tid",
|
|
6594
|
-
record: {
|
|
6595
|
-
type: "object",
|
|
6596
|
-
required: ["originator", "assertion", "createdAt"],
|
|
6597
|
-
properties: {
|
|
6598
|
-
originator: {
|
|
6599
|
-
type: "ref",
|
|
6600
|
-
ref: "lex:app.bsky.actor.ref"
|
|
6601
|
-
},
|
|
6602
|
-
assertion: {
|
|
6603
|
-
type: "ref",
|
|
6604
|
-
ref: "lex:com.atproto.repo.strongRef"
|
|
6605
|
-
},
|
|
6606
|
-
createdAt: {
|
|
6607
|
-
type: "datetime"
|
|
6608
|
-
}
|
|
6609
|
-
}
|
|
6610
|
-
}
|
|
6611
|
-
}
|
|
6612
|
-
}
|
|
6613
|
-
},
|
|
6614
|
-
AppBskyGraphFollow: {
|
|
6615
|
-
lexicon: 1,
|
|
6616
|
-
id: "app.bsky.graph.follow",
|
|
6617
|
-
defs: {
|
|
6618
|
-
main: {
|
|
6619
|
-
type: "record",
|
|
6620
|
-
description: "A social follow.",
|
|
6621
|
-
key: "tid",
|
|
6622
|
-
record: {
|
|
6623
|
-
type: "object",
|
|
6624
|
-
required: ["subject", "createdAt"],
|
|
6625
|
-
properties: {
|
|
6626
|
-
subject: {
|
|
6627
|
-
type: "ref",
|
|
6628
|
-
ref: "lex:app.bsky.actor.ref"
|
|
6629
|
-
},
|
|
6630
|
-
createdAt: {
|
|
6631
|
-
type: "datetime"
|
|
6632
|
-
}
|
|
6633
|
-
}
|
|
6634
|
-
}
|
|
6635
|
-
}
|
|
6636
|
-
}
|
|
6637
|
-
},
|
|
6638
|
-
AppBskyGraphGetAssertions: {
|
|
6639
|
-
lexicon: 1,
|
|
6640
|
-
id: "app.bsky.graph.getAssertions",
|
|
6641
|
-
defs: {
|
|
6642
|
-
main: {
|
|
6643
|
-
type: "query",
|
|
6644
|
-
description: "General-purpose query for assertions.",
|
|
6645
|
-
parameters: {
|
|
6646
|
-
type: "params",
|
|
6647
|
-
properties: {
|
|
6648
|
-
author: {
|
|
6649
|
-
type: "string"
|
|
6650
|
-
},
|
|
6651
|
-
subject: {
|
|
6652
|
-
type: "string"
|
|
6653
|
-
},
|
|
6654
|
-
assertion: {
|
|
6655
|
-
type: "string"
|
|
6656
|
-
},
|
|
6657
|
-
confirmed: {
|
|
6658
|
-
type: "boolean"
|
|
6659
|
-
},
|
|
6660
|
-
limit: {
|
|
6661
|
-
type: "integer",
|
|
6662
|
-
minimum: 1,
|
|
6663
|
-
maximum: 100,
|
|
6664
|
-
default: 50
|
|
6665
|
-
},
|
|
6666
|
-
before: {
|
|
6667
|
-
type: "string"
|
|
6668
|
-
}
|
|
6669
|
-
}
|
|
6670
|
-
},
|
|
6671
|
-
output: {
|
|
6672
|
-
encoding: "application/json",
|
|
6673
|
-
schema: {
|
|
6674
|
-
type: "object",
|
|
6675
|
-
required: ["assertions"],
|
|
6676
|
-
properties: {
|
|
6677
|
-
cursor: {
|
|
6678
|
-
type: "string"
|
|
6679
|
-
},
|
|
6680
|
-
assertions: {
|
|
6681
|
-
type: "array",
|
|
6682
|
-
items: {
|
|
6683
|
-
type: "ref",
|
|
6684
|
-
ref: "lex:app.bsky.graph.getAssertions#assertion"
|
|
6685
|
-
}
|
|
6686
|
-
}
|
|
6687
|
-
}
|
|
6688
|
-
}
|
|
6689
|
-
}
|
|
6690
|
-
},
|
|
6691
|
-
assertion: {
|
|
6692
|
-
type: "object",
|
|
6693
|
-
required: [
|
|
6694
|
-
"uri",
|
|
6695
|
-
"cid",
|
|
6696
|
-
"assertion",
|
|
6697
|
-
"author",
|
|
6698
|
-
"subject",
|
|
6699
|
-
"indexedAt",
|
|
6700
|
-
"createdAt"
|
|
6701
|
-
],
|
|
6702
|
-
properties: {
|
|
6703
|
-
uri: {
|
|
6704
|
-
type: "string"
|
|
6705
|
-
},
|
|
6706
|
-
cid: {
|
|
6707
|
-
type: "string"
|
|
6708
|
-
},
|
|
6709
|
-
assertion: {
|
|
6710
|
-
type: "string"
|
|
6711
|
-
},
|
|
6712
|
-
confirmation: {
|
|
6713
|
-
type: "ref",
|
|
6714
|
-
ref: "lex:app.bsky.graph.getAssertions#confirmation"
|
|
6715
|
-
},
|
|
6716
|
-
author: {
|
|
6717
|
-
type: "ref",
|
|
6718
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
6719
|
-
},
|
|
6720
|
-
subject: {
|
|
6721
|
-
type: "ref",
|
|
6722
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
6723
|
-
},
|
|
6724
|
-
indexedAt: {
|
|
6725
|
-
type: "datetime"
|
|
6726
|
-
},
|
|
6727
|
-
createdAt: {
|
|
6728
|
-
type: "datetime"
|
|
6729
|
-
}
|
|
6730
|
-
}
|
|
6731
|
-
},
|
|
6732
|
-
confirmation: {
|
|
6733
|
-
type: "object",
|
|
6734
|
-
required: ["uri", "cid", "indexedAt", "createdAt"],
|
|
6735
|
-
properties: {
|
|
6736
|
-
uri: {
|
|
6737
|
-
type: "string"
|
|
6738
|
-
},
|
|
6739
|
-
cid: {
|
|
6740
|
-
type: "string"
|
|
6741
|
-
},
|
|
6742
|
-
indexedAt: {
|
|
6743
|
-
type: "datetime"
|
|
6744
|
-
},
|
|
6745
|
-
createdAt: {
|
|
6746
|
-
type: "datetime"
|
|
6747
|
-
}
|
|
6748
|
-
}
|
|
6749
|
-
}
|
|
6750
|
-
}
|
|
6751
|
-
},
|
|
6752
|
-
AppBskyGraphGetFollowers: {
|
|
6753
|
-
lexicon: 1,
|
|
6754
|
-
id: "app.bsky.graph.getFollowers",
|
|
6755
|
-
defs: {
|
|
6756
|
-
main: {
|
|
6757
|
-
type: "query",
|
|
6758
|
-
description: "Who is following a user?",
|
|
6759
|
-
parameters: {
|
|
6760
|
-
type: "params",
|
|
6761
|
-
required: ["user"],
|
|
6762
|
-
properties: {
|
|
6763
|
-
user: {
|
|
6764
|
-
type: "string"
|
|
6765
|
-
},
|
|
6766
|
-
limit: {
|
|
6767
|
-
type: "integer",
|
|
6768
|
-
minimum: 1,
|
|
6769
|
-
maximum: 100,
|
|
6770
|
-
default: 50
|
|
6771
|
-
},
|
|
6772
|
-
before: {
|
|
6773
|
-
type: "string"
|
|
6774
|
-
}
|
|
6775
|
-
}
|
|
6776
|
-
},
|
|
6777
|
-
output: {
|
|
6778
|
-
encoding: "application/json",
|
|
6779
|
-
schema: {
|
|
6780
|
-
type: "object",
|
|
6781
|
-
required: ["subject", "followers"],
|
|
6782
|
-
properties: {
|
|
6783
|
-
subject: {
|
|
6784
|
-
type: "ref",
|
|
6785
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
6786
|
-
},
|
|
6787
|
-
cursor: {
|
|
6788
|
-
type: "string"
|
|
6789
|
-
},
|
|
6790
|
-
followers: {
|
|
6791
|
-
type: "array",
|
|
6792
|
-
items: {
|
|
6793
|
-
type: "ref",
|
|
6794
|
-
ref: "lex:app.bsky.graph.getFollowers#follower"
|
|
6795
|
-
}
|
|
6796
|
-
}
|
|
6797
|
-
}
|
|
6798
|
-
}
|
|
6799
|
-
}
|
|
6800
|
-
},
|
|
6801
|
-
follower: {
|
|
6802
|
-
type: "object",
|
|
6803
|
-
required: ["did", "declaration", "handle", "indexedAt"],
|
|
6804
|
-
properties: {
|
|
6805
|
-
did: {
|
|
6806
|
-
type: "string"
|
|
6807
|
-
},
|
|
6808
|
-
declaration: {
|
|
6809
|
-
type: "ref",
|
|
6810
|
-
ref: "lex:app.bsky.system.declRef"
|
|
6811
|
-
},
|
|
6812
|
-
handle: {
|
|
6813
|
-
type: "string"
|
|
6814
|
-
},
|
|
6815
|
-
displayName: {
|
|
6816
|
-
type: "string",
|
|
6817
|
-
maxLength: 64
|
|
6818
|
-
},
|
|
6819
|
-
avatar: {
|
|
6820
|
-
type: "string"
|
|
6821
|
-
},
|
|
6822
|
-
createdAt: {
|
|
6823
|
-
type: "datetime"
|
|
6824
|
-
},
|
|
6825
|
-
indexedAt: {
|
|
6826
|
-
type: "datetime"
|
|
7622
|
+
id: "app.bsky.graph.confirmation",
|
|
7623
|
+
defs: {
|
|
7624
|
+
main: {
|
|
7625
|
+
type: "record",
|
|
7626
|
+
key: "tid",
|
|
7627
|
+
record: {
|
|
7628
|
+
type: "object",
|
|
7629
|
+
required: ["originator", "assertion", "createdAt"],
|
|
7630
|
+
properties: {
|
|
7631
|
+
originator: {
|
|
7632
|
+
type: "ref",
|
|
7633
|
+
ref: "lex:app.bsky.actor.ref"
|
|
7634
|
+
},
|
|
7635
|
+
assertion: {
|
|
7636
|
+
type: "ref",
|
|
7637
|
+
ref: "lex:com.atproto.repo.strongRef"
|
|
7638
|
+
},
|
|
7639
|
+
createdAt: {
|
|
7640
|
+
type: "datetime"
|
|
7641
|
+
}
|
|
6827
7642
|
}
|
|
6828
7643
|
}
|
|
6829
7644
|
}
|
|
6830
7645
|
}
|
|
6831
7646
|
},
|
|
6832
|
-
|
|
7647
|
+
AppBskyGraphFollow: {
|
|
6833
7648
|
lexicon: 1,
|
|
6834
|
-
id: "app.bsky.graph.
|
|
7649
|
+
id: "app.bsky.graph.follow",
|
|
6835
7650
|
defs: {
|
|
6836
7651
|
main: {
|
|
6837
|
-
type: "
|
|
6838
|
-
description: "
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
7652
|
+
type: "record",
|
|
7653
|
+
description: "A social follow.",
|
|
7654
|
+
key: "tid",
|
|
7655
|
+
record: {
|
|
7656
|
+
type: "object",
|
|
7657
|
+
required: ["subject", "createdAt"],
|
|
6842
7658
|
properties: {
|
|
6843
|
-
|
|
6844
|
-
type: "
|
|
6845
|
-
|
|
6846
|
-
limit: {
|
|
6847
|
-
type: "integer",
|
|
6848
|
-
minimum: 1,
|
|
6849
|
-
maximum: 100,
|
|
6850
|
-
default: 50
|
|
7659
|
+
subject: {
|
|
7660
|
+
type: "ref",
|
|
7661
|
+
ref: "lex:app.bsky.actor.ref"
|
|
6851
7662
|
},
|
|
6852
|
-
|
|
6853
|
-
type: "
|
|
6854
|
-
}
|
|
6855
|
-
}
|
|
6856
|
-
},
|
|
6857
|
-
output: {
|
|
6858
|
-
encoding: "application/json",
|
|
6859
|
-
schema: {
|
|
6860
|
-
type: "object",
|
|
6861
|
-
required: ["subject", "follows"],
|
|
6862
|
-
properties: {
|
|
6863
|
-
subject: {
|
|
6864
|
-
type: "ref",
|
|
6865
|
-
ref: "lex:app.bsky.actor.ref#withInfo"
|
|
6866
|
-
},
|
|
6867
|
-
cursor: {
|
|
6868
|
-
type: "string"
|
|
6869
|
-
},
|
|
6870
|
-
follows: {
|
|
6871
|
-
type: "array",
|
|
6872
|
-
items: {
|
|
6873
|
-
type: "ref",
|
|
6874
|
-
ref: "lex:app.bsky.graph.getFollows#follow"
|
|
6875
|
-
}
|
|
6876
|
-
}
|
|
7663
|
+
createdAt: {
|
|
7664
|
+
type: "datetime"
|
|
6877
7665
|
}
|
|
6878
7666
|
}
|
|
6879
7667
|
}
|
|
6880
|
-
},
|
|
6881
|
-
follow: {
|
|
6882
|
-
type: "object",
|
|
6883
|
-
required: ["did", "declaration", "handle", "indexedAt"],
|
|
6884
|
-
properties: {
|
|
6885
|
-
did: {
|
|
6886
|
-
type: "string"
|
|
6887
|
-
},
|
|
6888
|
-
declaration: {
|
|
6889
|
-
type: "ref",
|
|
6890
|
-
ref: "lex:app.bsky.system.declRef"
|
|
6891
|
-
},
|
|
6892
|
-
handle: {
|
|
6893
|
-
type: "string"
|
|
6894
|
-
},
|
|
6895
|
-
displayName: {
|
|
6896
|
-
type: "string",
|
|
6897
|
-
maxLength: 64
|
|
6898
|
-
},
|
|
6899
|
-
createdAt: {
|
|
6900
|
-
type: "datetime"
|
|
6901
|
-
},
|
|
6902
|
-
indexedAt: {
|
|
6903
|
-
type: "datetime"
|
|
6904
|
-
}
|
|
6905
|
-
}
|
|
6906
7668
|
}
|
|
6907
7669
|
}
|
|
6908
7670
|
},
|
|
6909
|
-
|
|
7671
|
+
AppBskyGraphGetFollowers: {
|
|
6910
7672
|
lexicon: 1,
|
|
6911
|
-
id: "app.bsky.graph.
|
|
7673
|
+
id: "app.bsky.graph.getFollowers",
|
|
6912
7674
|
defs: {
|
|
6913
7675
|
main: {
|
|
6914
7676
|
type: "query",
|
|
6915
|
-
description: "Who is a
|
|
7677
|
+
description: "Who is following a user?",
|
|
6916
7678
|
parameters: {
|
|
6917
7679
|
type: "params",
|
|
6918
|
-
required: ["
|
|
7680
|
+
required: ["user"],
|
|
6919
7681
|
properties: {
|
|
6920
|
-
|
|
7682
|
+
user: {
|
|
6921
7683
|
type: "string"
|
|
6922
7684
|
},
|
|
6923
7685
|
limit: {
|
|
@@ -6935,7 +7697,7 @@ var schemaDict = {
|
|
|
6935
7697
|
encoding: "application/json",
|
|
6936
7698
|
schema: {
|
|
6937
7699
|
type: "object",
|
|
6938
|
-
required: ["subject", "
|
|
7700
|
+
required: ["subject", "followers"],
|
|
6939
7701
|
properties: {
|
|
6940
7702
|
subject: {
|
|
6941
7703
|
type: "ref",
|
|
@@ -6944,18 +7706,18 @@ var schemaDict = {
|
|
|
6944
7706
|
cursor: {
|
|
6945
7707
|
type: "string"
|
|
6946
7708
|
},
|
|
6947
|
-
|
|
7709
|
+
followers: {
|
|
6948
7710
|
type: "array",
|
|
6949
7711
|
items: {
|
|
6950
7712
|
type: "ref",
|
|
6951
|
-
ref: "lex:app.bsky.graph.
|
|
7713
|
+
ref: "lex:app.bsky.graph.getFollowers#follower"
|
|
6952
7714
|
}
|
|
6953
7715
|
}
|
|
6954
7716
|
}
|
|
6955
7717
|
}
|
|
6956
7718
|
}
|
|
6957
7719
|
},
|
|
6958
|
-
|
|
7720
|
+
follower: {
|
|
6959
7721
|
type: "object",
|
|
6960
7722
|
required: ["did", "declaration", "handle", "indexedAt"],
|
|
6961
7723
|
properties: {
|
|
@@ -6973,6 +7735,9 @@ var schemaDict = {
|
|
|
6973
7735
|
type: "string",
|
|
6974
7736
|
maxLength: 64
|
|
6975
7737
|
},
|
|
7738
|
+
avatar: {
|
|
7739
|
+
type: "string"
|
|
7740
|
+
},
|
|
6976
7741
|
createdAt: {
|
|
6977
7742
|
type: "datetime"
|
|
6978
7743
|
},
|
|
@@ -6983,18 +7748,18 @@ var schemaDict = {
|
|
|
6983
7748
|
}
|
|
6984
7749
|
}
|
|
6985
7750
|
},
|
|
6986
|
-
|
|
7751
|
+
AppBskyGraphGetFollows: {
|
|
6987
7752
|
lexicon: 1,
|
|
6988
|
-
id: "app.bsky.graph.
|
|
7753
|
+
id: "app.bsky.graph.getFollows",
|
|
6989
7754
|
defs: {
|
|
6990
7755
|
main: {
|
|
6991
7756
|
type: "query",
|
|
6992
|
-
description: "
|
|
7757
|
+
description: "Who is a user following?",
|
|
6993
7758
|
parameters: {
|
|
6994
7759
|
type: "params",
|
|
6995
|
-
required: ["
|
|
7760
|
+
required: ["user"],
|
|
6996
7761
|
properties: {
|
|
6997
|
-
|
|
7762
|
+
user: {
|
|
6998
7763
|
type: "string"
|
|
6999
7764
|
},
|
|
7000
7765
|
limit: {
|
|
@@ -7012,7 +7777,7 @@ var schemaDict = {
|
|
|
7012
7777
|
encoding: "application/json",
|
|
7013
7778
|
schema: {
|
|
7014
7779
|
type: "object",
|
|
7015
|
-
required: ["subject", "
|
|
7780
|
+
required: ["subject", "follows"],
|
|
7016
7781
|
properties: {
|
|
7017
7782
|
subject: {
|
|
7018
7783
|
type: "ref",
|
|
@@ -7021,18 +7786,18 @@ var schemaDict = {
|
|
|
7021
7786
|
cursor: {
|
|
7022
7787
|
type: "string"
|
|
7023
7788
|
},
|
|
7024
|
-
|
|
7789
|
+
follows: {
|
|
7025
7790
|
type: "array",
|
|
7026
7791
|
items: {
|
|
7027
7792
|
type: "ref",
|
|
7028
|
-
ref: "lex:app.bsky.graph.
|
|
7793
|
+
ref: "lex:app.bsky.graph.getFollows#follow"
|
|
7029
7794
|
}
|
|
7030
7795
|
}
|
|
7031
7796
|
}
|
|
7032
7797
|
}
|
|
7033
7798
|
}
|
|
7034
7799
|
},
|
|
7035
|
-
|
|
7800
|
+
follow: {
|
|
7036
7801
|
type: "object",
|
|
7037
7802
|
required: ["did", "declaration", "handle", "indexedAt"],
|
|
7038
7803
|
properties: {
|
|
@@ -7050,6 +7815,9 @@ var schemaDict = {
|
|
|
7050
7815
|
type: "string",
|
|
7051
7816
|
maxLength: 64
|
|
7052
7817
|
},
|
|
7818
|
+
avatar: {
|
|
7819
|
+
type: "string"
|
|
7820
|
+
},
|
|
7053
7821
|
createdAt: {
|
|
7054
7822
|
type: "datetime"
|
|
7055
7823
|
},
|
|
@@ -7255,11 +8023,10 @@ var schemaDict = {
|
|
|
7255
8023
|
},
|
|
7256
8024
|
reason: {
|
|
7257
8025
|
type: "string",
|
|
7258
|
-
description: "Expected values are 'vote', 'repost', '
|
|
8026
|
+
description: "Expected values are 'vote', 'repost', 'follow', 'invite', 'mention' and 'reply'.",
|
|
7259
8027
|
knownValues: [
|
|
7260
8028
|
"vote",
|
|
7261
8029
|
"repost",
|
|
7262
|
-
"trend",
|
|
7263
8030
|
"follow",
|
|
7264
8031
|
"invite",
|
|
7265
8032
|
"mention",
|
|
@@ -7304,16 +8071,6 @@ var schemaDict = {
|
|
|
7304
8071
|
}
|
|
7305
8072
|
}
|
|
7306
8073
|
},
|
|
7307
|
-
AppBskySystemActorScene: {
|
|
7308
|
-
lexicon: 1,
|
|
7309
|
-
id: "app.bsky.system.actorScene",
|
|
7310
|
-
defs: {
|
|
7311
|
-
main: {
|
|
7312
|
-
type: "token",
|
|
7313
|
-
description: "Actor type: Scene. Defined for app.bsky.system.declaration's actorType."
|
|
7314
|
-
}
|
|
7315
|
-
}
|
|
7316
|
-
},
|
|
7317
8074
|
AppBskySystemActorUser: {
|
|
7318
8075
|
lexicon: 1,
|
|
7319
8076
|
id: "app.bsky.system.actorUser",
|
|
@@ -7338,10 +8095,7 @@ var schemaDict = {
|
|
|
7338
8095
|
},
|
|
7339
8096
|
actorType: {
|
|
7340
8097
|
type: "string",
|
|
7341
|
-
knownValues: [
|
|
7342
|
-
"app.bsky.system.actorUser",
|
|
7343
|
-
"app.bsky.system.actorScene"
|
|
7344
|
-
]
|
|
8098
|
+
knownValues: ["app.bsky.system.actorUser"]
|
|
7345
8099
|
}
|
|
7346
8100
|
}
|
|
7347
8101
|
}
|
|
@@ -7361,10 +8115,7 @@ var schemaDict = {
|
|
|
7361
8115
|
properties: {
|
|
7362
8116
|
actorType: {
|
|
7363
8117
|
type: "string",
|
|
7364
|
-
knownValues: [
|
|
7365
|
-
"app.bsky.system.actorUser",
|
|
7366
|
-
"app.bsky.system.actorScene"
|
|
7367
|
-
]
|
|
8118
|
+
knownValues: ["app.bsky.system.actorUser"]
|
|
7368
8119
|
}
|
|
7369
8120
|
}
|
|
7370
8121
|
}
|
|
@@ -7432,10 +8183,26 @@ function toKnownErr2(e) {
|
|
|
7432
8183
|
// src/client/types/com/atproto/account/delete.ts
|
|
7433
8184
|
var delete_exports = {};
|
|
7434
8185
|
__export(delete_exports, {
|
|
8186
|
+
ExpiredTokenError: () => ExpiredTokenError,
|
|
8187
|
+
InvalidTokenError: () => InvalidTokenError,
|
|
7435
8188
|
toKnownErr: () => toKnownErr3
|
|
7436
8189
|
});
|
|
8190
|
+
var ExpiredTokenError = class extends XRPCError {
|
|
8191
|
+
constructor(src) {
|
|
8192
|
+
super(src.status, src.error, src.message);
|
|
8193
|
+
}
|
|
8194
|
+
};
|
|
8195
|
+
var InvalidTokenError = class extends XRPCError {
|
|
8196
|
+
constructor(src) {
|
|
8197
|
+
super(src.status, src.error, src.message);
|
|
8198
|
+
}
|
|
8199
|
+
};
|
|
7437
8200
|
function toKnownErr3(e) {
|
|
7438
8201
|
if (e instanceof XRPCError) {
|
|
8202
|
+
if (e.error === "ExpiredToken")
|
|
8203
|
+
return new ExpiredTokenError(e);
|
|
8204
|
+
if (e.error === "InvalidToken")
|
|
8205
|
+
return new InvalidTokenError(e);
|
|
7439
8206
|
}
|
|
7440
8207
|
return e;
|
|
7441
8208
|
}
|
|
@@ -7451,40 +8218,161 @@ function toKnownErr4(e) {
|
|
|
7451
8218
|
return e;
|
|
7452
8219
|
}
|
|
7453
8220
|
|
|
8221
|
+
// src/client/types/com/atproto/account/requestDelete.ts
|
|
8222
|
+
var requestDelete_exports = {};
|
|
8223
|
+
__export(requestDelete_exports, {
|
|
8224
|
+
toKnownErr: () => toKnownErr5
|
|
8225
|
+
});
|
|
8226
|
+
function toKnownErr5(e) {
|
|
8227
|
+
if (e instanceof XRPCError) {
|
|
8228
|
+
}
|
|
8229
|
+
return e;
|
|
8230
|
+
}
|
|
8231
|
+
|
|
7454
8232
|
// src/client/types/com/atproto/account/requestPasswordReset.ts
|
|
7455
8233
|
var requestPasswordReset_exports = {};
|
|
7456
8234
|
__export(requestPasswordReset_exports, {
|
|
7457
|
-
toKnownErr: () =>
|
|
8235
|
+
toKnownErr: () => toKnownErr6
|
|
8236
|
+
});
|
|
8237
|
+
function toKnownErr6(e) {
|
|
8238
|
+
if (e instanceof XRPCError) {
|
|
8239
|
+
}
|
|
8240
|
+
return e;
|
|
8241
|
+
}
|
|
8242
|
+
|
|
8243
|
+
// src/client/types/com/atproto/account/resetPassword.ts
|
|
8244
|
+
var resetPassword_exports = {};
|
|
8245
|
+
__export(resetPassword_exports, {
|
|
8246
|
+
ExpiredTokenError: () => ExpiredTokenError2,
|
|
8247
|
+
InvalidTokenError: () => InvalidTokenError2,
|
|
8248
|
+
toKnownErr: () => toKnownErr7
|
|
8249
|
+
});
|
|
8250
|
+
var ExpiredTokenError2 = class extends XRPCError {
|
|
8251
|
+
constructor(src) {
|
|
8252
|
+
super(src.status, src.error, src.message);
|
|
8253
|
+
}
|
|
8254
|
+
};
|
|
8255
|
+
var InvalidTokenError2 = class extends XRPCError {
|
|
8256
|
+
constructor(src) {
|
|
8257
|
+
super(src.status, src.error, src.message);
|
|
8258
|
+
}
|
|
8259
|
+
};
|
|
8260
|
+
function toKnownErr7(e) {
|
|
8261
|
+
if (e instanceof XRPCError) {
|
|
8262
|
+
if (e.error === "ExpiredToken")
|
|
8263
|
+
return new ExpiredTokenError2(e);
|
|
8264
|
+
if (e.error === "InvalidToken")
|
|
8265
|
+
return new InvalidTokenError2(e);
|
|
8266
|
+
}
|
|
8267
|
+
return e;
|
|
8268
|
+
}
|
|
8269
|
+
|
|
8270
|
+
// src/client/types/com/atproto/admin/getModerationAction.ts
|
|
8271
|
+
var getModerationAction_exports = {};
|
|
8272
|
+
__export(getModerationAction_exports, {
|
|
8273
|
+
toKnownErr: () => toKnownErr8
|
|
8274
|
+
});
|
|
8275
|
+
function toKnownErr8(e) {
|
|
8276
|
+
if (e instanceof XRPCError) {
|
|
8277
|
+
}
|
|
8278
|
+
return e;
|
|
8279
|
+
}
|
|
8280
|
+
|
|
8281
|
+
// src/client/types/com/atproto/admin/getModerationActions.ts
|
|
8282
|
+
var getModerationActions_exports = {};
|
|
8283
|
+
__export(getModerationActions_exports, {
|
|
8284
|
+
toKnownErr: () => toKnownErr9
|
|
8285
|
+
});
|
|
8286
|
+
function toKnownErr9(e) {
|
|
8287
|
+
if (e instanceof XRPCError) {
|
|
8288
|
+
}
|
|
8289
|
+
return e;
|
|
8290
|
+
}
|
|
8291
|
+
|
|
8292
|
+
// src/client/types/com/atproto/admin/getModerationReport.ts
|
|
8293
|
+
var getModerationReport_exports = {};
|
|
8294
|
+
__export(getModerationReport_exports, {
|
|
8295
|
+
toKnownErr: () => toKnownErr10
|
|
8296
|
+
});
|
|
8297
|
+
function toKnownErr10(e) {
|
|
8298
|
+
if (e instanceof XRPCError) {
|
|
8299
|
+
}
|
|
8300
|
+
return e;
|
|
8301
|
+
}
|
|
8302
|
+
|
|
8303
|
+
// src/client/types/com/atproto/admin/getModerationReports.ts
|
|
8304
|
+
var getModerationReports_exports = {};
|
|
8305
|
+
__export(getModerationReports_exports, {
|
|
8306
|
+
toKnownErr: () => toKnownErr11
|
|
8307
|
+
});
|
|
8308
|
+
function toKnownErr11(e) {
|
|
8309
|
+
if (e instanceof XRPCError) {
|
|
8310
|
+
}
|
|
8311
|
+
return e;
|
|
8312
|
+
}
|
|
8313
|
+
|
|
8314
|
+
// src/client/types/com/atproto/admin/getRecord.ts
|
|
8315
|
+
var getRecord_exports = {};
|
|
8316
|
+
__export(getRecord_exports, {
|
|
8317
|
+
toKnownErr: () => toKnownErr12
|
|
8318
|
+
});
|
|
8319
|
+
function toKnownErr12(e) {
|
|
8320
|
+
if (e instanceof XRPCError) {
|
|
8321
|
+
}
|
|
8322
|
+
return e;
|
|
8323
|
+
}
|
|
8324
|
+
|
|
8325
|
+
// src/client/types/com/atproto/admin/getRepo.ts
|
|
8326
|
+
var getRepo_exports = {};
|
|
8327
|
+
__export(getRepo_exports, {
|
|
8328
|
+
toKnownErr: () => toKnownErr13
|
|
8329
|
+
});
|
|
8330
|
+
function toKnownErr13(e) {
|
|
8331
|
+
if (e instanceof XRPCError) {
|
|
8332
|
+
}
|
|
8333
|
+
return e;
|
|
8334
|
+
}
|
|
8335
|
+
|
|
8336
|
+
// src/client/types/com/atproto/admin/resolveModerationReports.ts
|
|
8337
|
+
var resolveModerationReports_exports = {};
|
|
8338
|
+
__export(resolveModerationReports_exports, {
|
|
8339
|
+
toKnownErr: () => toKnownErr14
|
|
8340
|
+
});
|
|
8341
|
+
function toKnownErr14(e) {
|
|
8342
|
+
if (e instanceof XRPCError) {
|
|
8343
|
+
}
|
|
8344
|
+
return e;
|
|
8345
|
+
}
|
|
8346
|
+
|
|
8347
|
+
// src/client/types/com/atproto/admin/reverseModerationAction.ts
|
|
8348
|
+
var reverseModerationAction_exports = {};
|
|
8349
|
+
__export(reverseModerationAction_exports, {
|
|
8350
|
+
toKnownErr: () => toKnownErr15
|
|
8351
|
+
});
|
|
8352
|
+
function toKnownErr15(e) {
|
|
8353
|
+
if (e instanceof XRPCError) {
|
|
8354
|
+
}
|
|
8355
|
+
return e;
|
|
8356
|
+
}
|
|
8357
|
+
|
|
8358
|
+
// src/client/types/com/atproto/admin/searchRepos.ts
|
|
8359
|
+
var searchRepos_exports = {};
|
|
8360
|
+
__export(searchRepos_exports, {
|
|
8361
|
+
toKnownErr: () => toKnownErr16
|
|
7458
8362
|
});
|
|
7459
|
-
function
|
|
8363
|
+
function toKnownErr16(e) {
|
|
7460
8364
|
if (e instanceof XRPCError) {
|
|
7461
8365
|
}
|
|
7462
8366
|
return e;
|
|
7463
8367
|
}
|
|
7464
8368
|
|
|
7465
|
-
// src/client/types/com/atproto/
|
|
7466
|
-
var
|
|
7467
|
-
__export(
|
|
7468
|
-
|
|
7469
|
-
InvalidTokenError: () => InvalidTokenError,
|
|
7470
|
-
toKnownErr: () => toKnownErr6
|
|
8369
|
+
// src/client/types/com/atproto/admin/takeModerationAction.ts
|
|
8370
|
+
var takeModerationAction_exports = {};
|
|
8371
|
+
__export(takeModerationAction_exports, {
|
|
8372
|
+
toKnownErr: () => toKnownErr17
|
|
7471
8373
|
});
|
|
7472
|
-
|
|
7473
|
-
constructor(src) {
|
|
7474
|
-
super(src.status, src.error, src.message);
|
|
7475
|
-
}
|
|
7476
|
-
};
|
|
7477
|
-
var InvalidTokenError = class extends XRPCError {
|
|
7478
|
-
constructor(src) {
|
|
7479
|
-
super(src.status, src.error, src.message);
|
|
7480
|
-
}
|
|
7481
|
-
};
|
|
7482
|
-
function toKnownErr6(e) {
|
|
8374
|
+
function toKnownErr17(e) {
|
|
7483
8375
|
if (e instanceof XRPCError) {
|
|
7484
|
-
if (e.error === "ExpiredToken")
|
|
7485
|
-
return new ExpiredTokenError(e);
|
|
7486
|
-
if (e.error === "InvalidToken")
|
|
7487
|
-
return new InvalidTokenError(e);
|
|
7488
8376
|
}
|
|
7489
8377
|
return e;
|
|
7490
8378
|
}
|
|
@@ -7492,9 +8380,9 @@ function toKnownErr6(e) {
|
|
|
7492
8380
|
// src/client/types/com/atproto/blob/upload.ts
|
|
7493
8381
|
var upload_exports = {};
|
|
7494
8382
|
__export(upload_exports, {
|
|
7495
|
-
toKnownErr: () =>
|
|
8383
|
+
toKnownErr: () => toKnownErr18
|
|
7496
8384
|
});
|
|
7497
|
-
function
|
|
8385
|
+
function toKnownErr18(e) {
|
|
7498
8386
|
if (e instanceof XRPCError) {
|
|
7499
8387
|
}
|
|
7500
8388
|
return e;
|
|
@@ -7503,9 +8391,9 @@ function toKnownErr7(e) {
|
|
|
7503
8391
|
// src/client/types/com/atproto/handle/resolve.ts
|
|
7504
8392
|
var resolve_exports = {};
|
|
7505
8393
|
__export(resolve_exports, {
|
|
7506
|
-
toKnownErr: () =>
|
|
8394
|
+
toKnownErr: () => toKnownErr19
|
|
7507
8395
|
});
|
|
7508
|
-
function
|
|
8396
|
+
function toKnownErr19(e) {
|
|
7509
8397
|
if (e instanceof XRPCError) {
|
|
7510
8398
|
}
|
|
7511
8399
|
return e;
|
|
@@ -7517,7 +8405,7 @@ __export(batchWrite_exports, {
|
|
|
7517
8405
|
isCreate: () => isCreate,
|
|
7518
8406
|
isDelete: () => isDelete,
|
|
7519
8407
|
isUpdate: () => isUpdate,
|
|
7520
|
-
toKnownErr: () =>
|
|
8408
|
+
toKnownErr: () => toKnownErr20,
|
|
7521
8409
|
validateCreate: () => validateCreate,
|
|
7522
8410
|
validateDelete: () => validateDelete,
|
|
7523
8411
|
validateUpdate: () => validateUpdate
|
|
@@ -7532,7 +8420,7 @@ function hasProp2(data, prop) {
|
|
|
7532
8420
|
}
|
|
7533
8421
|
|
|
7534
8422
|
// src/client/types/com/atproto/repo/batchWrite.ts
|
|
7535
|
-
function
|
|
8423
|
+
function toKnownErr20(e) {
|
|
7536
8424
|
if (e instanceof XRPCError) {
|
|
7537
8425
|
}
|
|
7538
8426
|
return e;
|
|
@@ -7559,9 +8447,9 @@ function validateDelete(v) {
|
|
|
7559
8447
|
// src/client/types/com/atproto/repo/createRecord.ts
|
|
7560
8448
|
var createRecord_exports = {};
|
|
7561
8449
|
__export(createRecord_exports, {
|
|
7562
|
-
toKnownErr: () =>
|
|
8450
|
+
toKnownErr: () => toKnownErr21
|
|
7563
8451
|
});
|
|
7564
|
-
function
|
|
8452
|
+
function toKnownErr21(e) {
|
|
7565
8453
|
if (e instanceof XRPCError) {
|
|
7566
8454
|
}
|
|
7567
8455
|
return e;
|
|
@@ -7570,9 +8458,9 @@ function toKnownErr10(e) {
|
|
|
7570
8458
|
// src/client/types/com/atproto/repo/deleteRecord.ts
|
|
7571
8459
|
var deleteRecord_exports = {};
|
|
7572
8460
|
__export(deleteRecord_exports, {
|
|
7573
|
-
toKnownErr: () =>
|
|
8461
|
+
toKnownErr: () => toKnownErr22
|
|
7574
8462
|
});
|
|
7575
|
-
function
|
|
8463
|
+
function toKnownErr22(e) {
|
|
7576
8464
|
if (e instanceof XRPCError) {
|
|
7577
8465
|
}
|
|
7578
8466
|
return e;
|
|
@@ -7581,20 +8469,20 @@ function toKnownErr11(e) {
|
|
|
7581
8469
|
// src/client/types/com/atproto/repo/describe.ts
|
|
7582
8470
|
var describe_exports = {};
|
|
7583
8471
|
__export(describe_exports, {
|
|
7584
|
-
toKnownErr: () =>
|
|
8472
|
+
toKnownErr: () => toKnownErr23
|
|
7585
8473
|
});
|
|
7586
|
-
function
|
|
8474
|
+
function toKnownErr23(e) {
|
|
7587
8475
|
if (e instanceof XRPCError) {
|
|
7588
8476
|
}
|
|
7589
8477
|
return e;
|
|
7590
8478
|
}
|
|
7591
8479
|
|
|
7592
8480
|
// src/client/types/com/atproto/repo/getRecord.ts
|
|
7593
|
-
var
|
|
7594
|
-
__export(
|
|
7595
|
-
toKnownErr: () =>
|
|
8481
|
+
var getRecord_exports2 = {};
|
|
8482
|
+
__export(getRecord_exports2, {
|
|
8483
|
+
toKnownErr: () => toKnownErr24
|
|
7596
8484
|
});
|
|
7597
|
-
function
|
|
8485
|
+
function toKnownErr24(e) {
|
|
7598
8486
|
if (e instanceof XRPCError) {
|
|
7599
8487
|
}
|
|
7600
8488
|
return e;
|
|
@@ -7604,10 +8492,10 @@ function toKnownErr13(e) {
|
|
|
7604
8492
|
var listRecords_exports = {};
|
|
7605
8493
|
__export(listRecords_exports, {
|
|
7606
8494
|
isRecord: () => isRecord,
|
|
7607
|
-
toKnownErr: () =>
|
|
8495
|
+
toKnownErr: () => toKnownErr25,
|
|
7608
8496
|
validateRecord: () => validateRecord
|
|
7609
8497
|
});
|
|
7610
|
-
function
|
|
8498
|
+
function toKnownErr25(e) {
|
|
7611
8499
|
if (e instanceof XRPCError) {
|
|
7612
8500
|
}
|
|
7613
8501
|
return e;
|
|
@@ -7622,9 +8510,20 @@ function validateRecord(v) {
|
|
|
7622
8510
|
// src/client/types/com/atproto/repo/putRecord.ts
|
|
7623
8511
|
var putRecord_exports = {};
|
|
7624
8512
|
__export(putRecord_exports, {
|
|
7625
|
-
toKnownErr: () =>
|
|
8513
|
+
toKnownErr: () => toKnownErr26
|
|
7626
8514
|
});
|
|
7627
|
-
function
|
|
8515
|
+
function toKnownErr26(e) {
|
|
8516
|
+
if (e instanceof XRPCError) {
|
|
8517
|
+
}
|
|
8518
|
+
return e;
|
|
8519
|
+
}
|
|
8520
|
+
|
|
8521
|
+
// src/client/types/com/atproto/report/create.ts
|
|
8522
|
+
var create_exports2 = {};
|
|
8523
|
+
__export(create_exports2, {
|
|
8524
|
+
toKnownErr: () => toKnownErr27
|
|
8525
|
+
});
|
|
8526
|
+
function toKnownErr27(e) {
|
|
7628
8527
|
if (e instanceof XRPCError) {
|
|
7629
8528
|
}
|
|
7630
8529
|
return e;
|
|
@@ -7634,10 +8533,10 @@ function toKnownErr15(e) {
|
|
|
7634
8533
|
var getAccountsConfig_exports = {};
|
|
7635
8534
|
__export(getAccountsConfig_exports, {
|
|
7636
8535
|
isLinks: () => isLinks,
|
|
7637
|
-
toKnownErr: () =>
|
|
8536
|
+
toKnownErr: () => toKnownErr28,
|
|
7638
8537
|
validateLinks: () => validateLinks
|
|
7639
8538
|
});
|
|
7640
|
-
function
|
|
8539
|
+
function toKnownErr28(e) {
|
|
7641
8540
|
if (e instanceof XRPCError) {
|
|
7642
8541
|
}
|
|
7643
8542
|
return e;
|
|
@@ -7650,12 +8549,20 @@ function validateLinks(v) {
|
|
|
7650
8549
|
}
|
|
7651
8550
|
|
|
7652
8551
|
// src/client/types/com/atproto/session/create.ts
|
|
7653
|
-
var
|
|
7654
|
-
__export(
|
|
7655
|
-
|
|
8552
|
+
var create_exports3 = {};
|
|
8553
|
+
__export(create_exports3, {
|
|
8554
|
+
AccountTakedownError: () => AccountTakedownError,
|
|
8555
|
+
toKnownErr: () => toKnownErr29
|
|
7656
8556
|
});
|
|
7657
|
-
|
|
8557
|
+
var AccountTakedownError = class extends XRPCError {
|
|
8558
|
+
constructor(src) {
|
|
8559
|
+
super(src.status, src.error, src.message);
|
|
8560
|
+
}
|
|
8561
|
+
};
|
|
8562
|
+
function toKnownErr29(e) {
|
|
7658
8563
|
if (e instanceof XRPCError) {
|
|
8564
|
+
if (e.error === "AccountTakedown")
|
|
8565
|
+
return new AccountTakedownError(e);
|
|
7659
8566
|
}
|
|
7660
8567
|
return e;
|
|
7661
8568
|
}
|
|
@@ -7663,9 +8570,9 @@ function toKnownErr17(e) {
|
|
|
7663
8570
|
// src/client/types/com/atproto/session/delete.ts
|
|
7664
8571
|
var delete_exports2 = {};
|
|
7665
8572
|
__export(delete_exports2, {
|
|
7666
|
-
toKnownErr: () =>
|
|
8573
|
+
toKnownErr: () => toKnownErr30
|
|
7667
8574
|
});
|
|
7668
|
-
function
|
|
8575
|
+
function toKnownErr30(e) {
|
|
7669
8576
|
if (e instanceof XRPCError) {
|
|
7670
8577
|
}
|
|
7671
8578
|
return e;
|
|
@@ -7674,9 +8581,9 @@ function toKnownErr18(e) {
|
|
|
7674
8581
|
// src/client/types/com/atproto/session/get.ts
|
|
7675
8582
|
var get_exports2 = {};
|
|
7676
8583
|
__export(get_exports2, {
|
|
7677
|
-
toKnownErr: () =>
|
|
8584
|
+
toKnownErr: () => toKnownErr31
|
|
7678
8585
|
});
|
|
7679
|
-
function
|
|
8586
|
+
function toKnownErr31(e) {
|
|
7680
8587
|
if (e instanceof XRPCError) {
|
|
7681
8588
|
}
|
|
7682
8589
|
return e;
|
|
@@ -7685,70 +8592,73 @@ function toKnownErr19(e) {
|
|
|
7685
8592
|
// src/client/types/com/atproto/session/refresh.ts
|
|
7686
8593
|
var refresh_exports = {};
|
|
7687
8594
|
__export(refresh_exports, {
|
|
7688
|
-
|
|
8595
|
+
AccountTakedownError: () => AccountTakedownError2,
|
|
8596
|
+
toKnownErr: () => toKnownErr32
|
|
7689
8597
|
});
|
|
7690
|
-
|
|
8598
|
+
var AccountTakedownError2 = class extends XRPCError {
|
|
8599
|
+
constructor(src) {
|
|
8600
|
+
super(src.status, src.error, src.message);
|
|
8601
|
+
}
|
|
8602
|
+
};
|
|
8603
|
+
function toKnownErr32(e) {
|
|
7691
8604
|
if (e instanceof XRPCError) {
|
|
8605
|
+
if (e.error === "AccountTakedown")
|
|
8606
|
+
return new AccountTakedownError2(e);
|
|
7692
8607
|
}
|
|
7693
8608
|
return e;
|
|
7694
8609
|
}
|
|
7695
8610
|
|
|
7696
|
-
// src/client/types/com/atproto/sync/
|
|
7697
|
-
var
|
|
7698
|
-
__export(
|
|
7699
|
-
toKnownErr: () =>
|
|
8611
|
+
// src/client/types/com/atproto/sync/getCheckout.ts
|
|
8612
|
+
var getCheckout_exports = {};
|
|
8613
|
+
__export(getCheckout_exports, {
|
|
8614
|
+
toKnownErr: () => toKnownErr33
|
|
7700
8615
|
});
|
|
7701
|
-
function
|
|
8616
|
+
function toKnownErr33(e) {
|
|
7702
8617
|
if (e instanceof XRPCError) {
|
|
7703
8618
|
}
|
|
7704
8619
|
return e;
|
|
7705
8620
|
}
|
|
7706
8621
|
|
|
7707
|
-
// src/client/types/com/atproto/sync/
|
|
7708
|
-
var
|
|
7709
|
-
__export(
|
|
7710
|
-
toKnownErr: () =>
|
|
8622
|
+
// src/client/types/com/atproto/sync/getCommitPath.ts
|
|
8623
|
+
var getCommitPath_exports = {};
|
|
8624
|
+
__export(getCommitPath_exports, {
|
|
8625
|
+
toKnownErr: () => toKnownErr34
|
|
7711
8626
|
});
|
|
7712
|
-
function
|
|
8627
|
+
function toKnownErr34(e) {
|
|
7713
8628
|
if (e instanceof XRPCError) {
|
|
7714
8629
|
}
|
|
7715
8630
|
return e;
|
|
7716
8631
|
}
|
|
7717
8632
|
|
|
7718
|
-
// src/client/types/com/atproto/sync/
|
|
7719
|
-
var
|
|
7720
|
-
__export(
|
|
7721
|
-
toKnownErr: () =>
|
|
8633
|
+
// src/client/types/com/atproto/sync/getHead.ts
|
|
8634
|
+
var getHead_exports = {};
|
|
8635
|
+
__export(getHead_exports, {
|
|
8636
|
+
toKnownErr: () => toKnownErr35
|
|
7722
8637
|
});
|
|
7723
|
-
function
|
|
8638
|
+
function toKnownErr35(e) {
|
|
7724
8639
|
if (e instanceof XRPCError) {
|
|
7725
8640
|
}
|
|
7726
8641
|
return e;
|
|
7727
8642
|
}
|
|
7728
8643
|
|
|
7729
|
-
// src/client/types/
|
|
7730
|
-
var
|
|
7731
|
-
__export(
|
|
7732
|
-
|
|
7733
|
-
InvalidHandleError: () => InvalidHandleError2,
|
|
7734
|
-
toKnownErr: () => toKnownErr24
|
|
8644
|
+
// src/client/types/com/atproto/sync/getRecord.ts
|
|
8645
|
+
var getRecord_exports3 = {};
|
|
8646
|
+
__export(getRecord_exports3, {
|
|
8647
|
+
toKnownErr: () => toKnownErr36
|
|
7735
8648
|
});
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
super(src.status, src.error, src.message);
|
|
7739
|
-
}
|
|
7740
|
-
};
|
|
7741
|
-
var HandleNotAvailableError2 = class extends XRPCError {
|
|
7742
|
-
constructor(src) {
|
|
7743
|
-
super(src.status, src.error, src.message);
|
|
8649
|
+
function toKnownErr36(e) {
|
|
8650
|
+
if (e instanceof XRPCError) {
|
|
7744
8651
|
}
|
|
7745
|
-
|
|
7746
|
-
|
|
8652
|
+
return e;
|
|
8653
|
+
}
|
|
8654
|
+
|
|
8655
|
+
// src/client/types/com/atproto/sync/getRepo.ts
|
|
8656
|
+
var getRepo_exports2 = {};
|
|
8657
|
+
__export(getRepo_exports2, {
|
|
8658
|
+
toKnownErr: () => toKnownErr37
|
|
8659
|
+
});
|
|
8660
|
+
function toKnownErr37(e) {
|
|
7747
8661
|
if (e instanceof XRPCError) {
|
|
7748
|
-
if (e.error === "InvalidHandle")
|
|
7749
|
-
return new InvalidHandleError2(e);
|
|
7750
|
-
if (e.error === "HandleNotAvailable")
|
|
7751
|
-
return new HandleNotAvailableError2(e);
|
|
7752
8662
|
}
|
|
7753
8663
|
return e;
|
|
7754
8664
|
}
|
|
@@ -7757,10 +8667,10 @@ function toKnownErr24(e) {
|
|
|
7757
8667
|
var getProfile_exports = {};
|
|
7758
8668
|
__export(getProfile_exports, {
|
|
7759
8669
|
isMyState: () => isMyState,
|
|
7760
|
-
toKnownErr: () =>
|
|
8670
|
+
toKnownErr: () => toKnownErr38,
|
|
7761
8671
|
validateMyState: () => validateMyState
|
|
7762
8672
|
});
|
|
7763
|
-
function
|
|
8673
|
+
function toKnownErr38(e) {
|
|
7764
8674
|
if (e instanceof XRPCError) {
|
|
7765
8675
|
}
|
|
7766
8676
|
return e;
|
|
@@ -7777,11 +8687,11 @@ var getSuggestions_exports = {};
|
|
|
7777
8687
|
__export(getSuggestions_exports, {
|
|
7778
8688
|
isActor: () => isActor,
|
|
7779
8689
|
isMyState: () => isMyState2,
|
|
7780
|
-
toKnownErr: () =>
|
|
8690
|
+
toKnownErr: () => toKnownErr39,
|
|
7781
8691
|
validateActor: () => validateActor,
|
|
7782
8692
|
validateMyState: () => validateMyState2
|
|
7783
8693
|
});
|
|
7784
|
-
function
|
|
8694
|
+
function toKnownErr39(e) {
|
|
7785
8695
|
if (e instanceof XRPCError) {
|
|
7786
8696
|
}
|
|
7787
8697
|
return e;
|
|
@@ -7803,10 +8713,10 @@ function validateMyState2(v) {
|
|
|
7803
8713
|
var search_exports = {};
|
|
7804
8714
|
__export(search_exports, {
|
|
7805
8715
|
isUser: () => isUser,
|
|
7806
|
-
toKnownErr: () =>
|
|
8716
|
+
toKnownErr: () => toKnownErr40,
|
|
7807
8717
|
validateUser: () => validateUser
|
|
7808
8718
|
});
|
|
7809
|
-
function
|
|
8719
|
+
function toKnownErr40(e) {
|
|
7810
8720
|
if (e instanceof XRPCError) {
|
|
7811
8721
|
}
|
|
7812
8722
|
return e;
|
|
@@ -7822,10 +8732,10 @@ function validateUser(v) {
|
|
|
7822
8732
|
var searchTypeahead_exports = {};
|
|
7823
8733
|
__export(searchTypeahead_exports, {
|
|
7824
8734
|
isUser: () => isUser2,
|
|
7825
|
-
toKnownErr: () =>
|
|
8735
|
+
toKnownErr: () => toKnownErr41,
|
|
7826
8736
|
validateUser: () => validateUser2
|
|
7827
8737
|
});
|
|
7828
|
-
function
|
|
8738
|
+
function toKnownErr41(e) {
|
|
7829
8739
|
if (e instanceof XRPCError) {
|
|
7830
8740
|
}
|
|
7831
8741
|
return e;
|
|
@@ -7844,7 +8754,7 @@ __export(updateProfile_exports, {
|
|
|
7844
8754
|
InvalidBlobError: () => InvalidBlobError,
|
|
7845
8755
|
InvalidImageDimensionsError: () => InvalidImageDimensionsError,
|
|
7846
8756
|
InvalidMimeTypeError: () => InvalidMimeTypeError,
|
|
7847
|
-
toKnownErr: () =>
|
|
8757
|
+
toKnownErr: () => toKnownErr42
|
|
7848
8758
|
});
|
|
7849
8759
|
var InvalidBlobError = class extends XRPCError {
|
|
7850
8760
|
constructor(src) {
|
|
@@ -7866,7 +8776,7 @@ var InvalidImageDimensionsError = class extends XRPCError {
|
|
|
7866
8776
|
super(src.status, src.error, src.message);
|
|
7867
8777
|
}
|
|
7868
8778
|
};
|
|
7869
|
-
function
|
|
8779
|
+
function toKnownErr42(e) {
|
|
7870
8780
|
if (e instanceof XRPCError) {
|
|
7871
8781
|
if (e.error === "InvalidBlob")
|
|
7872
8782
|
return new InvalidBlobError(e);
|
|
@@ -7883,9 +8793,9 @@ function toKnownErr29(e) {
|
|
|
7883
8793
|
// src/client/types/app/bsky/feed/getAuthorFeed.ts
|
|
7884
8794
|
var getAuthorFeed_exports = {};
|
|
7885
8795
|
__export(getAuthorFeed_exports, {
|
|
7886
|
-
toKnownErr: () =>
|
|
8796
|
+
toKnownErr: () => toKnownErr43
|
|
7887
8797
|
});
|
|
7888
|
-
function
|
|
8798
|
+
function toKnownErr43(e) {
|
|
7889
8799
|
if (e instanceof XRPCError) {
|
|
7890
8800
|
}
|
|
7891
8801
|
return e;
|
|
@@ -7897,7 +8807,7 @@ __export(getPostThread_exports, {
|
|
|
7897
8807
|
NotFoundError: () => NotFoundError,
|
|
7898
8808
|
isNotFoundPost: () => isNotFoundPost,
|
|
7899
8809
|
isThreadViewPost: () => isThreadViewPost,
|
|
7900
|
-
toKnownErr: () =>
|
|
8810
|
+
toKnownErr: () => toKnownErr44,
|
|
7901
8811
|
validateNotFoundPost: () => validateNotFoundPost,
|
|
7902
8812
|
validateThreadViewPost: () => validateThreadViewPost
|
|
7903
8813
|
});
|
|
@@ -7906,7 +8816,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
7906
8816
|
super(src.status, src.error, src.message);
|
|
7907
8817
|
}
|
|
7908
8818
|
};
|
|
7909
|
-
function
|
|
8819
|
+
function toKnownErr44(e) {
|
|
7910
8820
|
if (e instanceof XRPCError) {
|
|
7911
8821
|
if (e.error === "NotFound")
|
|
7912
8822
|
return new NotFoundError(e);
|
|
@@ -7930,10 +8840,10 @@ function validateNotFoundPost(v) {
|
|
|
7930
8840
|
var getRepostedBy_exports = {};
|
|
7931
8841
|
__export(getRepostedBy_exports, {
|
|
7932
8842
|
isRepostedBy: () => isRepostedBy,
|
|
7933
|
-
toKnownErr: () =>
|
|
8843
|
+
toKnownErr: () => toKnownErr45,
|
|
7934
8844
|
validateRepostedBy: () => validateRepostedBy
|
|
7935
8845
|
});
|
|
7936
|
-
function
|
|
8846
|
+
function toKnownErr45(e) {
|
|
7937
8847
|
if (e instanceof XRPCError) {
|
|
7938
8848
|
}
|
|
7939
8849
|
return e;
|
|
@@ -7948,9 +8858,9 @@ function validateRepostedBy(v) {
|
|
|
7948
8858
|
// src/client/types/app/bsky/feed/getTimeline.ts
|
|
7949
8859
|
var getTimeline_exports = {};
|
|
7950
8860
|
__export(getTimeline_exports, {
|
|
7951
|
-
toKnownErr: () =>
|
|
8861
|
+
toKnownErr: () => toKnownErr46
|
|
7952
8862
|
});
|
|
7953
|
-
function
|
|
8863
|
+
function toKnownErr46(e) {
|
|
7954
8864
|
if (e instanceof XRPCError) {
|
|
7955
8865
|
}
|
|
7956
8866
|
return e;
|
|
@@ -7960,10 +8870,10 @@ function toKnownErr33(e) {
|
|
|
7960
8870
|
var getVotes_exports = {};
|
|
7961
8871
|
__export(getVotes_exports, {
|
|
7962
8872
|
isVote: () => isVote,
|
|
7963
|
-
toKnownErr: () =>
|
|
8873
|
+
toKnownErr: () => toKnownErr47,
|
|
7964
8874
|
validateVote: () => validateVote
|
|
7965
8875
|
});
|
|
7966
|
-
function
|
|
8876
|
+
function toKnownErr47(e) {
|
|
7967
8877
|
if (e instanceof XRPCError) {
|
|
7968
8878
|
}
|
|
7969
8879
|
return e;
|
|
@@ -7978,49 +8888,22 @@ function validateVote(v) {
|
|
|
7978
8888
|
// src/client/types/app/bsky/feed/setVote.ts
|
|
7979
8889
|
var setVote_exports = {};
|
|
7980
8890
|
__export(setVote_exports, {
|
|
7981
|
-
toKnownErr: () =>
|
|
7982
|
-
});
|
|
7983
|
-
function toKnownErr35(e) {
|
|
7984
|
-
if (e instanceof XRPCError) {
|
|
7985
|
-
}
|
|
7986
|
-
return e;
|
|
7987
|
-
}
|
|
7988
|
-
|
|
7989
|
-
// src/client/types/app/bsky/graph/getAssertions.ts
|
|
7990
|
-
var getAssertions_exports = {};
|
|
7991
|
-
__export(getAssertions_exports, {
|
|
7992
|
-
isAssertion: () => isAssertion,
|
|
7993
|
-
isConfirmation: () => isConfirmation,
|
|
7994
|
-
toKnownErr: () => toKnownErr36,
|
|
7995
|
-
validateAssertion: () => validateAssertion,
|
|
7996
|
-
validateConfirmation: () => validateConfirmation
|
|
8891
|
+
toKnownErr: () => toKnownErr48
|
|
7997
8892
|
});
|
|
7998
|
-
function
|
|
8893
|
+
function toKnownErr48(e) {
|
|
7999
8894
|
if (e instanceof XRPCError) {
|
|
8000
8895
|
}
|
|
8001
8896
|
return e;
|
|
8002
8897
|
}
|
|
8003
|
-
function isAssertion(v) {
|
|
8004
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getAssertions#assertion";
|
|
8005
|
-
}
|
|
8006
|
-
function validateAssertion(v) {
|
|
8007
|
-
return lexicons.validate("app.bsky.graph.getAssertions#assertion", v);
|
|
8008
|
-
}
|
|
8009
|
-
function isConfirmation(v) {
|
|
8010
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getAssertions#confirmation";
|
|
8011
|
-
}
|
|
8012
|
-
function validateConfirmation(v) {
|
|
8013
|
-
return lexicons.validate("app.bsky.graph.getAssertions#confirmation", v);
|
|
8014
|
-
}
|
|
8015
8898
|
|
|
8016
8899
|
// src/client/types/app/bsky/graph/getFollowers.ts
|
|
8017
8900
|
var getFollowers_exports = {};
|
|
8018
8901
|
__export(getFollowers_exports, {
|
|
8019
8902
|
isFollower: () => isFollower,
|
|
8020
|
-
toKnownErr: () =>
|
|
8903
|
+
toKnownErr: () => toKnownErr49,
|
|
8021
8904
|
validateFollower: () => validateFollower
|
|
8022
8905
|
});
|
|
8023
|
-
function
|
|
8906
|
+
function toKnownErr49(e) {
|
|
8024
8907
|
if (e instanceof XRPCError) {
|
|
8025
8908
|
}
|
|
8026
8909
|
return e;
|
|
@@ -8036,10 +8919,10 @@ function validateFollower(v) {
|
|
|
8036
8919
|
var getFollows_exports = {};
|
|
8037
8920
|
__export(getFollows_exports, {
|
|
8038
8921
|
isFollow: () => isFollow,
|
|
8039
|
-
toKnownErr: () =>
|
|
8922
|
+
toKnownErr: () => toKnownErr50,
|
|
8040
8923
|
validateFollow: () => validateFollow
|
|
8041
8924
|
});
|
|
8042
|
-
function
|
|
8925
|
+
function toKnownErr50(e) {
|
|
8043
8926
|
if (e instanceof XRPCError) {
|
|
8044
8927
|
}
|
|
8045
8928
|
return e;
|
|
@@ -8051,52 +8934,14 @@ function validateFollow(v) {
|
|
|
8051
8934
|
return lexicons.validate("app.bsky.graph.getFollows#follow", v);
|
|
8052
8935
|
}
|
|
8053
8936
|
|
|
8054
|
-
// src/client/types/app/bsky/graph/getMembers.ts
|
|
8055
|
-
var getMembers_exports = {};
|
|
8056
|
-
__export(getMembers_exports, {
|
|
8057
|
-
isMember: () => isMember,
|
|
8058
|
-
toKnownErr: () => toKnownErr39,
|
|
8059
|
-
validateMember: () => validateMember
|
|
8060
|
-
});
|
|
8061
|
-
function toKnownErr39(e) {
|
|
8062
|
-
if (e instanceof XRPCError) {
|
|
8063
|
-
}
|
|
8064
|
-
return e;
|
|
8065
|
-
}
|
|
8066
|
-
function isMember(v) {
|
|
8067
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getMembers#member";
|
|
8068
|
-
}
|
|
8069
|
-
function validateMember(v) {
|
|
8070
|
-
return lexicons.validate("app.bsky.graph.getMembers#member", v);
|
|
8071
|
-
}
|
|
8072
|
-
|
|
8073
|
-
// src/client/types/app/bsky/graph/getMemberships.ts
|
|
8074
|
-
var getMemberships_exports = {};
|
|
8075
|
-
__export(getMemberships_exports, {
|
|
8076
|
-
isMembership: () => isMembership,
|
|
8077
|
-
toKnownErr: () => toKnownErr40,
|
|
8078
|
-
validateMembership: () => validateMembership
|
|
8079
|
-
});
|
|
8080
|
-
function toKnownErr40(e) {
|
|
8081
|
-
if (e instanceof XRPCError) {
|
|
8082
|
-
}
|
|
8083
|
-
return e;
|
|
8084
|
-
}
|
|
8085
|
-
function isMembership(v) {
|
|
8086
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.graph.getMemberships#membership";
|
|
8087
|
-
}
|
|
8088
|
-
function validateMembership(v) {
|
|
8089
|
-
return lexicons.validate("app.bsky.graph.getMemberships#membership", v);
|
|
8090
|
-
}
|
|
8091
|
-
|
|
8092
8937
|
// src/client/types/app/bsky/graph/getMutes.ts
|
|
8093
8938
|
var getMutes_exports = {};
|
|
8094
8939
|
__export(getMutes_exports, {
|
|
8095
8940
|
isMute: () => isMute,
|
|
8096
|
-
toKnownErr: () =>
|
|
8941
|
+
toKnownErr: () => toKnownErr51,
|
|
8097
8942
|
validateMute: () => validateMute
|
|
8098
8943
|
});
|
|
8099
|
-
function
|
|
8944
|
+
function toKnownErr51(e) {
|
|
8100
8945
|
if (e instanceof XRPCError) {
|
|
8101
8946
|
}
|
|
8102
8947
|
return e;
|
|
@@ -8111,9 +8956,9 @@ function validateMute(v) {
|
|
|
8111
8956
|
// src/client/types/app/bsky/graph/mute.ts
|
|
8112
8957
|
var mute_exports = {};
|
|
8113
8958
|
__export(mute_exports, {
|
|
8114
|
-
toKnownErr: () =>
|
|
8959
|
+
toKnownErr: () => toKnownErr52
|
|
8115
8960
|
});
|
|
8116
|
-
function
|
|
8961
|
+
function toKnownErr52(e) {
|
|
8117
8962
|
if (e instanceof XRPCError) {
|
|
8118
8963
|
}
|
|
8119
8964
|
return e;
|
|
@@ -8122,9 +8967,9 @@ function toKnownErr42(e) {
|
|
|
8122
8967
|
// src/client/types/app/bsky/graph/unmute.ts
|
|
8123
8968
|
var unmute_exports = {};
|
|
8124
8969
|
__export(unmute_exports, {
|
|
8125
|
-
toKnownErr: () =>
|
|
8970
|
+
toKnownErr: () => toKnownErr53
|
|
8126
8971
|
});
|
|
8127
|
-
function
|
|
8972
|
+
function toKnownErr53(e) {
|
|
8128
8973
|
if (e instanceof XRPCError) {
|
|
8129
8974
|
}
|
|
8130
8975
|
return e;
|
|
@@ -8133,9 +8978,9 @@ function toKnownErr43(e) {
|
|
|
8133
8978
|
// src/client/types/app/bsky/notification/getCount.ts
|
|
8134
8979
|
var getCount_exports = {};
|
|
8135
8980
|
__export(getCount_exports, {
|
|
8136
|
-
toKnownErr: () =>
|
|
8981
|
+
toKnownErr: () => toKnownErr54
|
|
8137
8982
|
});
|
|
8138
|
-
function
|
|
8983
|
+
function toKnownErr54(e) {
|
|
8139
8984
|
if (e instanceof XRPCError) {
|
|
8140
8985
|
}
|
|
8141
8986
|
return e;
|
|
@@ -8145,10 +8990,10 @@ function toKnownErr44(e) {
|
|
|
8145
8990
|
var list_exports = {};
|
|
8146
8991
|
__export(list_exports, {
|
|
8147
8992
|
isNotification: () => isNotification,
|
|
8148
|
-
toKnownErr: () =>
|
|
8993
|
+
toKnownErr: () => toKnownErr55,
|
|
8149
8994
|
validateNotification: () => validateNotification
|
|
8150
8995
|
});
|
|
8151
|
-
function
|
|
8996
|
+
function toKnownErr55(e) {
|
|
8152
8997
|
if (e instanceof XRPCError) {
|
|
8153
8998
|
}
|
|
8154
8999
|
return e;
|
|
@@ -8163,54 +9008,256 @@ function validateNotification(v) {
|
|
|
8163
9008
|
// src/client/types/app/bsky/notification/updateSeen.ts
|
|
8164
9009
|
var updateSeen_exports = {};
|
|
8165
9010
|
__export(updateSeen_exports, {
|
|
8166
|
-
toKnownErr: () =>
|
|
9011
|
+
toKnownErr: () => toKnownErr56
|
|
8167
9012
|
});
|
|
8168
|
-
function
|
|
9013
|
+
function toKnownErr56(e) {
|
|
8169
9014
|
if (e instanceof XRPCError) {
|
|
8170
9015
|
}
|
|
8171
9016
|
return e;
|
|
8172
9017
|
}
|
|
8173
9018
|
|
|
9019
|
+
// src/client/types/com/atproto/admin/moderationAction.ts
|
|
9020
|
+
var moderationAction_exports = {};
|
|
9021
|
+
__export(moderationAction_exports, {
|
|
9022
|
+
ACKNOWLEDGE: () => ACKNOWLEDGE,
|
|
9023
|
+
FLAG: () => FLAG,
|
|
9024
|
+
TAKEDOWN: () => TAKEDOWN,
|
|
9025
|
+
isReversal: () => isReversal,
|
|
9026
|
+
isView: () => isView,
|
|
9027
|
+
isViewDetail: () => isViewDetail,
|
|
9028
|
+
validateReversal: () => validateReversal,
|
|
9029
|
+
validateView: () => validateView,
|
|
9030
|
+
validateViewDetail: () => validateViewDetail
|
|
9031
|
+
});
|
|
9032
|
+
function isView(v) {
|
|
9033
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationAction#view";
|
|
9034
|
+
}
|
|
9035
|
+
function validateView(v) {
|
|
9036
|
+
return lexicons.validate("com.atproto.admin.moderationAction#view", v);
|
|
9037
|
+
}
|
|
9038
|
+
function isViewDetail(v) {
|
|
9039
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationAction#viewDetail";
|
|
9040
|
+
}
|
|
9041
|
+
function validateViewDetail(v) {
|
|
9042
|
+
return lexicons.validate("com.atproto.admin.moderationAction#viewDetail", v);
|
|
9043
|
+
}
|
|
9044
|
+
function isReversal(v) {
|
|
9045
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationAction#reversal";
|
|
9046
|
+
}
|
|
9047
|
+
function validateReversal(v) {
|
|
9048
|
+
return lexicons.validate("com.atproto.admin.moderationAction#reversal", v);
|
|
9049
|
+
}
|
|
9050
|
+
var TAKEDOWN = "com.atproto.admin.moderationAction#takedown";
|
|
9051
|
+
var FLAG = "com.atproto.admin.moderationAction#flag";
|
|
9052
|
+
var ACKNOWLEDGE = "com.atproto.admin.moderationAction#acknowledge";
|
|
9053
|
+
|
|
9054
|
+
// src/client/types/com/atproto/admin/moderationReport.ts
|
|
9055
|
+
var moderationReport_exports = {};
|
|
9056
|
+
__export(moderationReport_exports, {
|
|
9057
|
+
isView: () => isView2,
|
|
9058
|
+
isViewDetail: () => isViewDetail2,
|
|
9059
|
+
validateView: () => validateView2,
|
|
9060
|
+
validateViewDetail: () => validateViewDetail2
|
|
9061
|
+
});
|
|
9062
|
+
function isView2(v) {
|
|
9063
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationReport#view";
|
|
9064
|
+
}
|
|
9065
|
+
function validateView2(v) {
|
|
9066
|
+
return lexicons.validate("com.atproto.admin.moderationReport#view", v);
|
|
9067
|
+
}
|
|
9068
|
+
function isViewDetail2(v) {
|
|
9069
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.moderationReport#viewDetail";
|
|
9070
|
+
}
|
|
9071
|
+
function validateViewDetail2(v) {
|
|
9072
|
+
return lexicons.validate("com.atproto.admin.moderationReport#viewDetail", v);
|
|
9073
|
+
}
|
|
9074
|
+
|
|
9075
|
+
// src/client/types/com/atproto/admin/record.ts
|
|
9076
|
+
var record_exports = {};
|
|
9077
|
+
__export(record_exports, {
|
|
9078
|
+
isModeration: () => isModeration,
|
|
9079
|
+
isModerationDetail: () => isModerationDetail,
|
|
9080
|
+
isView: () => isView3,
|
|
9081
|
+
isViewDetail: () => isViewDetail3,
|
|
9082
|
+
validateModeration: () => validateModeration,
|
|
9083
|
+
validateModerationDetail: () => validateModerationDetail,
|
|
9084
|
+
validateView: () => validateView3,
|
|
9085
|
+
validateViewDetail: () => validateViewDetail3
|
|
9086
|
+
});
|
|
9087
|
+
function isView3(v) {
|
|
9088
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.record#view";
|
|
9089
|
+
}
|
|
9090
|
+
function validateView3(v) {
|
|
9091
|
+
return lexicons.validate("com.atproto.admin.record#view", v);
|
|
9092
|
+
}
|
|
9093
|
+
function isViewDetail3(v) {
|
|
9094
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.record#viewDetail";
|
|
9095
|
+
}
|
|
9096
|
+
function validateViewDetail3(v) {
|
|
9097
|
+
return lexicons.validate("com.atproto.admin.record#viewDetail", v);
|
|
9098
|
+
}
|
|
9099
|
+
function isModeration(v) {
|
|
9100
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.record#moderation";
|
|
9101
|
+
}
|
|
9102
|
+
function validateModeration(v) {
|
|
9103
|
+
return lexicons.validate("com.atproto.admin.record#moderation", v);
|
|
9104
|
+
}
|
|
9105
|
+
function isModerationDetail(v) {
|
|
9106
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.record#moderationDetail";
|
|
9107
|
+
}
|
|
9108
|
+
function validateModerationDetail(v) {
|
|
9109
|
+
return lexicons.validate("com.atproto.admin.record#moderationDetail", v);
|
|
9110
|
+
}
|
|
9111
|
+
|
|
9112
|
+
// src/client/types/com/atproto/admin/repo.ts
|
|
9113
|
+
var repo_exports = {};
|
|
9114
|
+
__export(repo_exports, {
|
|
9115
|
+
isAccount: () => isAccount,
|
|
9116
|
+
isModeration: () => isModeration2,
|
|
9117
|
+
isModerationDetail: () => isModerationDetail2,
|
|
9118
|
+
isView: () => isView4,
|
|
9119
|
+
isViewDetail: () => isViewDetail4,
|
|
9120
|
+
validateAccount: () => validateAccount,
|
|
9121
|
+
validateModeration: () => validateModeration2,
|
|
9122
|
+
validateModerationDetail: () => validateModerationDetail2,
|
|
9123
|
+
validateView: () => validateView4,
|
|
9124
|
+
validateViewDetail: () => validateViewDetail4
|
|
9125
|
+
});
|
|
9126
|
+
function isView4(v) {
|
|
9127
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#view";
|
|
9128
|
+
}
|
|
9129
|
+
function validateView4(v) {
|
|
9130
|
+
return lexicons.validate("com.atproto.admin.repo#view", v);
|
|
9131
|
+
}
|
|
9132
|
+
function isViewDetail4(v) {
|
|
9133
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#viewDetail";
|
|
9134
|
+
}
|
|
9135
|
+
function validateViewDetail4(v) {
|
|
9136
|
+
return lexicons.validate("com.atproto.admin.repo#viewDetail", v);
|
|
9137
|
+
}
|
|
9138
|
+
function isAccount(v) {
|
|
9139
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#account";
|
|
9140
|
+
}
|
|
9141
|
+
function validateAccount(v) {
|
|
9142
|
+
return lexicons.validate("com.atproto.admin.repo#account", v);
|
|
9143
|
+
}
|
|
9144
|
+
function isModeration2(v) {
|
|
9145
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#moderation";
|
|
9146
|
+
}
|
|
9147
|
+
function validateModeration2(v) {
|
|
9148
|
+
return lexicons.validate("com.atproto.admin.repo#moderation", v);
|
|
9149
|
+
}
|
|
9150
|
+
function isModerationDetail2(v) {
|
|
9151
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.admin.repo#moderationDetail";
|
|
9152
|
+
}
|
|
9153
|
+
function validateModerationDetail2(v) {
|
|
9154
|
+
return lexicons.validate("com.atproto.admin.repo#moderationDetail", v);
|
|
9155
|
+
}
|
|
9156
|
+
|
|
9157
|
+
// src/client/types/com/atproto/repo/recordRef.ts
|
|
9158
|
+
var recordRef_exports = {};
|
|
9159
|
+
__export(recordRef_exports, {
|
|
9160
|
+
isMain: () => isMain,
|
|
9161
|
+
validateMain: () => validateMain
|
|
9162
|
+
});
|
|
9163
|
+
function isMain(v) {
|
|
9164
|
+
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "com.atproto.repo.recordRef#main" || v.$type === "com.atproto.repo.recordRef");
|
|
9165
|
+
}
|
|
9166
|
+
function validateMain(v) {
|
|
9167
|
+
return lexicons.validate("com.atproto.repo.recordRef#main", v);
|
|
9168
|
+
}
|
|
9169
|
+
|
|
9170
|
+
// src/client/types/com/atproto/repo/repoRef.ts
|
|
9171
|
+
var repoRef_exports = {};
|
|
9172
|
+
__export(repoRef_exports, {
|
|
9173
|
+
isMain: () => isMain2,
|
|
9174
|
+
validateMain: () => validateMain2
|
|
9175
|
+
});
|
|
9176
|
+
function isMain2(v) {
|
|
9177
|
+
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "com.atproto.repo.repoRef#main" || v.$type === "com.atproto.repo.repoRef");
|
|
9178
|
+
}
|
|
9179
|
+
function validateMain2(v) {
|
|
9180
|
+
return lexicons.validate("com.atproto.repo.repoRef#main", v);
|
|
9181
|
+
}
|
|
9182
|
+
|
|
8174
9183
|
// src/client/types/com/atproto/repo/strongRef.ts
|
|
8175
9184
|
var strongRef_exports = {};
|
|
8176
9185
|
__export(strongRef_exports, {
|
|
8177
|
-
isMain: () =>
|
|
8178
|
-
validateMain: () =>
|
|
9186
|
+
isMain: () => isMain3,
|
|
9187
|
+
validateMain: () => validateMain3
|
|
8179
9188
|
});
|
|
8180
|
-
function
|
|
9189
|
+
function isMain3(v) {
|
|
8181
9190
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "com.atproto.repo.strongRef#main" || v.$type === "com.atproto.repo.strongRef");
|
|
8182
9191
|
}
|
|
8183
|
-
function
|
|
9192
|
+
function validateMain3(v) {
|
|
8184
9193
|
return lexicons.validate("com.atproto.repo.strongRef#main", v);
|
|
8185
9194
|
}
|
|
8186
9195
|
|
|
9196
|
+
// src/client/types/com/atproto/report/reasonType.ts
|
|
9197
|
+
var reasonType_exports = {};
|
|
9198
|
+
__export(reasonType_exports, {
|
|
9199
|
+
OTHER: () => OTHER,
|
|
9200
|
+
SPAM: () => SPAM
|
|
9201
|
+
});
|
|
9202
|
+
var SPAM = "com.atproto.report.reasonType#spam";
|
|
9203
|
+
var OTHER = "com.atproto.report.reasonType#other";
|
|
9204
|
+
|
|
9205
|
+
// src/client/types/com/atproto/report/subject.ts
|
|
9206
|
+
var subject_exports = {};
|
|
9207
|
+
__export(subject_exports, {
|
|
9208
|
+
isRecord: () => isRecord2,
|
|
9209
|
+
isRecordRef: () => isRecordRef,
|
|
9210
|
+
isRepo: () => isRepo,
|
|
9211
|
+
validateRecord: () => validateRecord2,
|
|
9212
|
+
validateRecordRef: () => validateRecordRef,
|
|
9213
|
+
validateRepo: () => validateRepo
|
|
9214
|
+
});
|
|
9215
|
+
function isRepo(v) {
|
|
9216
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.report.subject#repo";
|
|
9217
|
+
}
|
|
9218
|
+
function validateRepo(v) {
|
|
9219
|
+
return lexicons.validate("com.atproto.report.subject#repo", v);
|
|
9220
|
+
}
|
|
9221
|
+
function isRecord2(v) {
|
|
9222
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.report.subject#record";
|
|
9223
|
+
}
|
|
9224
|
+
function validateRecord2(v) {
|
|
9225
|
+
return lexicons.validate("com.atproto.report.subject#record", v);
|
|
9226
|
+
}
|
|
9227
|
+
function isRecordRef(v) {
|
|
9228
|
+
return isObj2(v) && hasProp2(v, "$type") && v.$type === "com.atproto.report.subject#recordRef";
|
|
9229
|
+
}
|
|
9230
|
+
function validateRecordRef(v) {
|
|
9231
|
+
return lexicons.validate("com.atproto.report.subject#recordRef", v);
|
|
9232
|
+
}
|
|
9233
|
+
|
|
8187
9234
|
// src/client/types/app/bsky/actor/profile.ts
|
|
8188
9235
|
var profile_exports = {};
|
|
8189
9236
|
__export(profile_exports, {
|
|
8190
|
-
isRecord: () =>
|
|
8191
|
-
validateRecord: () =>
|
|
9237
|
+
isRecord: () => isRecord3,
|
|
9238
|
+
validateRecord: () => validateRecord3
|
|
8192
9239
|
});
|
|
8193
|
-
function
|
|
9240
|
+
function isRecord3(v) {
|
|
8194
9241
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.actor.profile#main" || v.$type === "app.bsky.actor.profile");
|
|
8195
9242
|
}
|
|
8196
|
-
function
|
|
9243
|
+
function validateRecord3(v) {
|
|
8197
9244
|
return lexicons.validate("app.bsky.actor.profile#main", v);
|
|
8198
9245
|
}
|
|
8199
9246
|
|
|
8200
9247
|
// src/client/types/app/bsky/actor/ref.ts
|
|
8201
9248
|
var ref_exports = {};
|
|
8202
9249
|
__export(ref_exports, {
|
|
8203
|
-
isMain: () =>
|
|
9250
|
+
isMain: () => isMain4,
|
|
8204
9251
|
isViewerState: () => isViewerState,
|
|
8205
9252
|
isWithInfo: () => isWithInfo,
|
|
8206
|
-
validateMain: () =>
|
|
9253
|
+
validateMain: () => validateMain4,
|
|
8207
9254
|
validateViewerState: () => validateViewerState,
|
|
8208
9255
|
validateWithInfo: () => validateWithInfo
|
|
8209
9256
|
});
|
|
8210
|
-
function
|
|
9257
|
+
function isMain4(v) {
|
|
8211
9258
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.actor.ref#main" || v.$type === "app.bsky.actor.ref");
|
|
8212
9259
|
}
|
|
8213
|
-
function
|
|
9260
|
+
function validateMain4(v) {
|
|
8214
9261
|
return lexicons.validate("app.bsky.actor.ref#main", v);
|
|
8215
9262
|
}
|
|
8216
9263
|
function isWithInfo(v) {
|
|
@@ -8230,18 +9277,18 @@ function validateViewerState(v) {
|
|
|
8230
9277
|
var external_exports = {};
|
|
8231
9278
|
__export(external_exports, {
|
|
8232
9279
|
isExternal: () => isExternal,
|
|
8233
|
-
isMain: () =>
|
|
9280
|
+
isMain: () => isMain5,
|
|
8234
9281
|
isPresented: () => isPresented,
|
|
8235
9282
|
isPresentedExternal: () => isPresentedExternal,
|
|
8236
9283
|
validateExternal: () => validateExternal,
|
|
8237
|
-
validateMain: () =>
|
|
9284
|
+
validateMain: () => validateMain5,
|
|
8238
9285
|
validatePresented: () => validatePresented,
|
|
8239
9286
|
validatePresentedExternal: () => validatePresentedExternal
|
|
8240
9287
|
});
|
|
8241
|
-
function
|
|
9288
|
+
function isMain5(v) {
|
|
8242
9289
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.embed.external#main" || v.$type === "app.bsky.embed.external");
|
|
8243
9290
|
}
|
|
8244
|
-
function
|
|
9291
|
+
function validateMain5(v) {
|
|
8245
9292
|
return lexicons.validate("app.bsky.embed.external#main", v);
|
|
8246
9293
|
}
|
|
8247
9294
|
function isExternal(v) {
|
|
@@ -8267,18 +9314,18 @@ function validatePresentedExternal(v) {
|
|
|
8267
9314
|
var images_exports = {};
|
|
8268
9315
|
__export(images_exports, {
|
|
8269
9316
|
isImage: () => isImage,
|
|
8270
|
-
isMain: () =>
|
|
9317
|
+
isMain: () => isMain6,
|
|
8271
9318
|
isPresented: () => isPresented2,
|
|
8272
9319
|
isPresentedImage: () => isPresentedImage,
|
|
8273
9320
|
validateImage: () => validateImage,
|
|
8274
|
-
validateMain: () =>
|
|
9321
|
+
validateMain: () => validateMain6,
|
|
8275
9322
|
validatePresented: () => validatePresented2,
|
|
8276
9323
|
validatePresentedImage: () => validatePresentedImage
|
|
8277
9324
|
});
|
|
8278
|
-
function
|
|
9325
|
+
function isMain6(v) {
|
|
8279
9326
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.embed.images#main" || v.$type === "app.bsky.embed.images");
|
|
8280
9327
|
}
|
|
8281
|
-
function
|
|
9328
|
+
function validateMain6(v) {
|
|
8282
9329
|
return lexicons.validate("app.bsky.embed.images#main", v);
|
|
8283
9330
|
}
|
|
8284
9331
|
function isImage(v) {
|
|
@@ -8303,19 +9350,17 @@ function validatePresentedImage(v) {
|
|
|
8303
9350
|
// src/client/types/app/bsky/feed/feedViewPost.ts
|
|
8304
9351
|
var feedViewPost_exports = {};
|
|
8305
9352
|
__export(feedViewPost_exports, {
|
|
8306
|
-
isMain: () =>
|
|
9353
|
+
isMain: () => isMain7,
|
|
8307
9354
|
isReasonRepost: () => isReasonRepost,
|
|
8308
|
-
isReasonTrend: () => isReasonTrend,
|
|
8309
9355
|
isReplyRef: () => isReplyRef,
|
|
8310
|
-
validateMain: () =>
|
|
9356
|
+
validateMain: () => validateMain7,
|
|
8311
9357
|
validateReasonRepost: () => validateReasonRepost,
|
|
8312
|
-
validateReasonTrend: () => validateReasonTrend,
|
|
8313
9358
|
validateReplyRef: () => validateReplyRef
|
|
8314
9359
|
});
|
|
8315
|
-
function
|
|
9360
|
+
function isMain7(v) {
|
|
8316
9361
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.feedViewPost#main" || v.$type === "app.bsky.feed.feedViewPost");
|
|
8317
9362
|
}
|
|
8318
|
-
function
|
|
9363
|
+
function validateMain7(v) {
|
|
8319
9364
|
return lexicons.validate("app.bsky.feed.feedViewPost#main", v);
|
|
8320
9365
|
}
|
|
8321
9366
|
function isReplyRef(v) {
|
|
@@ -8324,12 +9369,6 @@ function isReplyRef(v) {
|
|
|
8324
9369
|
function validateReplyRef(v) {
|
|
8325
9370
|
return lexicons.validate("app.bsky.feed.feedViewPost#replyRef", v);
|
|
8326
9371
|
}
|
|
8327
|
-
function isReasonTrend(v) {
|
|
8328
|
-
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.feedViewPost#reasonTrend";
|
|
8329
|
-
}
|
|
8330
|
-
function validateReasonTrend(v) {
|
|
8331
|
-
return lexicons.validate("app.bsky.feed.feedViewPost#reasonTrend", v);
|
|
8332
|
-
}
|
|
8333
9372
|
function isReasonRepost(v) {
|
|
8334
9373
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.feedViewPost#reasonRepost";
|
|
8335
9374
|
}
|
|
@@ -8341,22 +9380,22 @@ function validateReasonRepost(v) {
|
|
|
8341
9380
|
var post_exports = {};
|
|
8342
9381
|
__export(post_exports, {
|
|
8343
9382
|
isEntity: () => isEntity,
|
|
8344
|
-
isRecord: () =>
|
|
9383
|
+
isRecord: () => isRecord4,
|
|
8345
9384
|
isReplyRef: () => isReplyRef2,
|
|
8346
9385
|
isTextSlice: () => isTextSlice,
|
|
8347
|
-
isView: () =>
|
|
9386
|
+
isView: () => isView5,
|
|
8348
9387
|
isViewerState: () => isViewerState2,
|
|
8349
9388
|
validateEntity: () => validateEntity,
|
|
8350
|
-
validateRecord: () =>
|
|
9389
|
+
validateRecord: () => validateRecord4,
|
|
8351
9390
|
validateReplyRef: () => validateReplyRef2,
|
|
8352
9391
|
validateTextSlice: () => validateTextSlice,
|
|
8353
|
-
validateView: () =>
|
|
9392
|
+
validateView: () => validateView5,
|
|
8354
9393
|
validateViewerState: () => validateViewerState2
|
|
8355
9394
|
});
|
|
8356
|
-
function
|
|
9395
|
+
function isRecord4(v) {
|
|
8357
9396
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.post#main" || v.$type === "app.bsky.feed.post");
|
|
8358
9397
|
}
|
|
8359
|
-
function
|
|
9398
|
+
function validateRecord4(v) {
|
|
8360
9399
|
return lexicons.validate("app.bsky.feed.post#main", v);
|
|
8361
9400
|
}
|
|
8362
9401
|
function isReplyRef2(v) {
|
|
@@ -8377,10 +9416,10 @@ function isTextSlice(v) {
|
|
|
8377
9416
|
function validateTextSlice(v) {
|
|
8378
9417
|
return lexicons.validate("app.bsky.feed.post#textSlice", v);
|
|
8379
9418
|
}
|
|
8380
|
-
function
|
|
9419
|
+
function isView5(v) {
|
|
8381
9420
|
return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.feed.post#view";
|
|
8382
9421
|
}
|
|
8383
|
-
function
|
|
9422
|
+
function validateView5(v) {
|
|
8384
9423
|
return lexicons.validate("app.bsky.feed.post#view", v);
|
|
8385
9424
|
}
|
|
8386
9425
|
function isViewerState2(v) {
|
|
@@ -8393,27 +9432,14 @@ function validateViewerState2(v) {
|
|
|
8393
9432
|
// src/client/types/app/bsky/feed/repost.ts
|
|
8394
9433
|
var repost_exports = {};
|
|
8395
9434
|
__export(repost_exports, {
|
|
8396
|
-
isRecord: () => isRecord4,
|
|
8397
|
-
validateRecord: () => validateRecord4
|
|
8398
|
-
});
|
|
8399
|
-
function isRecord4(v) {
|
|
8400
|
-
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.repost#main" || v.$type === "app.bsky.feed.repost");
|
|
8401
|
-
}
|
|
8402
|
-
function validateRecord4(v) {
|
|
8403
|
-
return lexicons.validate("app.bsky.feed.repost#main", v);
|
|
8404
|
-
}
|
|
8405
|
-
|
|
8406
|
-
// src/client/types/app/bsky/feed/trend.ts
|
|
8407
|
-
var trend_exports = {};
|
|
8408
|
-
__export(trend_exports, {
|
|
8409
9435
|
isRecord: () => isRecord5,
|
|
8410
9436
|
validateRecord: () => validateRecord5
|
|
8411
9437
|
});
|
|
8412
9438
|
function isRecord5(v) {
|
|
8413
|
-
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.
|
|
9439
|
+
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.feed.repost#main" || v.$type === "app.bsky.feed.repost");
|
|
8414
9440
|
}
|
|
8415
9441
|
function validateRecord5(v) {
|
|
8416
|
-
return lexicons.validate("app.bsky.feed.
|
|
9442
|
+
return lexicons.validate("app.bsky.feed.repost#main", v);
|
|
8417
9443
|
}
|
|
8418
9444
|
|
|
8419
9445
|
// src/client/types/app/bsky/feed/vote.ts
|
|
@@ -8482,30 +9508,23 @@ function validateRecord9(v) {
|
|
|
8482
9508
|
return lexicons.validate("app.bsky.graph.follow#main", v);
|
|
8483
9509
|
}
|
|
8484
9510
|
|
|
8485
|
-
// src/client/types/app/bsky/system/actorScene.ts
|
|
8486
|
-
var actorScene_exports = {};
|
|
8487
|
-
__export(actorScene_exports, {
|
|
8488
|
-
MAIN: () => MAIN3
|
|
8489
|
-
});
|
|
8490
|
-
var MAIN3 = "app.bsky.system.actorScene#main";
|
|
8491
|
-
|
|
8492
9511
|
// src/client/types/app/bsky/system/actorUser.ts
|
|
8493
9512
|
var actorUser_exports = {};
|
|
8494
9513
|
__export(actorUser_exports, {
|
|
8495
|
-
MAIN: () =>
|
|
9514
|
+
MAIN: () => MAIN3
|
|
8496
9515
|
});
|
|
8497
|
-
var
|
|
9516
|
+
var MAIN3 = "app.bsky.system.actorUser#main";
|
|
8498
9517
|
|
|
8499
9518
|
// src/client/types/app/bsky/system/declRef.ts
|
|
8500
9519
|
var declRef_exports = {};
|
|
8501
9520
|
__export(declRef_exports, {
|
|
8502
|
-
isMain: () =>
|
|
8503
|
-
validateMain: () =>
|
|
9521
|
+
isMain: () => isMain8,
|
|
9522
|
+
validateMain: () => validateMain8
|
|
8504
9523
|
});
|
|
8505
|
-
function
|
|
9524
|
+
function isMain8(v) {
|
|
8506
9525
|
return isObj2(v) && hasProp2(v, "$type") && (v.$type === "app.bsky.system.declRef#main" || v.$type === "app.bsky.system.declRef");
|
|
8507
9526
|
}
|
|
8508
|
-
function
|
|
9527
|
+
function validateMain8(v) {
|
|
8509
9528
|
return lexicons.validate("app.bsky.system.declRef#main", v);
|
|
8510
9529
|
}
|
|
8511
9530
|
|
|
@@ -8523,12 +9542,20 @@ function validateRecord10(v) {
|
|
|
8523
9542
|
}
|
|
8524
9543
|
|
|
8525
9544
|
// src/client/index.ts
|
|
9545
|
+
var COM_ATPROTO_ADMIN = {
|
|
9546
|
+
ModerationActionTakedown: "com.atproto.admin.moderationAction#takedown",
|
|
9547
|
+
ModerationActionFlag: "com.atproto.admin.moderationAction#flag",
|
|
9548
|
+
ModerationActionAcknowledge: "com.atproto.admin.moderationAction#acknowledge"
|
|
9549
|
+
};
|
|
9550
|
+
var COM_ATPROTO_REPORT = {
|
|
9551
|
+
ReasonTypeSpam: "com.atproto.report.reasonType#spam",
|
|
9552
|
+
ReasonTypeOther: "com.atproto.report.reasonType#other"
|
|
9553
|
+
};
|
|
8526
9554
|
var APP_BSKY_GRAPH = {
|
|
8527
9555
|
AssertCreator: "app.bsky.graph.assertCreator",
|
|
8528
9556
|
AssertMember: "app.bsky.graph.assertMember"
|
|
8529
9557
|
};
|
|
8530
9558
|
var APP_BSKY_SYSTEM = {
|
|
8531
|
-
ActorScene: "app.bsky.system.actorScene",
|
|
8532
9559
|
ActorUser: "app.bsky.system.actorUser"
|
|
8533
9560
|
};
|
|
8534
9561
|
var Client2 = class {
|
|
@@ -8563,9 +9590,11 @@ var AtprotoNS = class {
|
|
|
8563
9590
|
constructor(service) {
|
|
8564
9591
|
this._service = service;
|
|
8565
9592
|
this.account = new AccountNS(service);
|
|
9593
|
+
this.admin = new AdminNS(service);
|
|
8566
9594
|
this.blob = new BlobNS(service);
|
|
8567
9595
|
this.handle = new HandleNS(service);
|
|
8568
9596
|
this.repo = new RepoNS(service);
|
|
9597
|
+
this.report = new ReportNS(service);
|
|
8569
9598
|
this.server = new ServerNS(service);
|
|
8570
9599
|
this.session = new SessionNS(service);
|
|
8571
9600
|
this.sync = new SyncNS(service);
|
|
@@ -8595,14 +9624,74 @@ var AccountNS = class {
|
|
|
8595
9624
|
throw toKnownErr4(e);
|
|
8596
9625
|
});
|
|
8597
9626
|
}
|
|
9627
|
+
requestDelete(data, opts) {
|
|
9628
|
+
return this._service.xrpc.call("com.atproto.account.requestDelete", opts?.qp, data, opts).catch((e) => {
|
|
9629
|
+
throw toKnownErr5(e);
|
|
9630
|
+
});
|
|
9631
|
+
}
|
|
8598
9632
|
requestPasswordReset(data, opts) {
|
|
8599
9633
|
return this._service.xrpc.call("com.atproto.account.requestPasswordReset", opts?.qp, data, opts).catch((e) => {
|
|
8600
|
-
throw
|
|
9634
|
+
throw toKnownErr6(e);
|
|
8601
9635
|
});
|
|
8602
9636
|
}
|
|
8603
9637
|
resetPassword(data, opts) {
|
|
8604
9638
|
return this._service.xrpc.call("com.atproto.account.resetPassword", opts?.qp, data, opts).catch((e) => {
|
|
8605
|
-
throw
|
|
9639
|
+
throw toKnownErr7(e);
|
|
9640
|
+
});
|
|
9641
|
+
}
|
|
9642
|
+
};
|
|
9643
|
+
var AdminNS = class {
|
|
9644
|
+
constructor(service) {
|
|
9645
|
+
this._service = service;
|
|
9646
|
+
}
|
|
9647
|
+
getModerationAction(params2, opts) {
|
|
9648
|
+
return this._service.xrpc.call("com.atproto.admin.getModerationAction", params2, void 0, opts).catch((e) => {
|
|
9649
|
+
throw toKnownErr8(e);
|
|
9650
|
+
});
|
|
9651
|
+
}
|
|
9652
|
+
getModerationActions(params2, opts) {
|
|
9653
|
+
return this._service.xrpc.call("com.atproto.admin.getModerationActions", params2, void 0, opts).catch((e) => {
|
|
9654
|
+
throw toKnownErr9(e);
|
|
9655
|
+
});
|
|
9656
|
+
}
|
|
9657
|
+
getModerationReport(params2, opts) {
|
|
9658
|
+
return this._service.xrpc.call("com.atproto.admin.getModerationReport", params2, void 0, opts).catch((e) => {
|
|
9659
|
+
throw toKnownErr10(e);
|
|
9660
|
+
});
|
|
9661
|
+
}
|
|
9662
|
+
getModerationReports(params2, opts) {
|
|
9663
|
+
return this._service.xrpc.call("com.atproto.admin.getModerationReports", params2, void 0, opts).catch((e) => {
|
|
9664
|
+
throw toKnownErr11(e);
|
|
9665
|
+
});
|
|
9666
|
+
}
|
|
9667
|
+
getRecord(params2, opts) {
|
|
9668
|
+
return this._service.xrpc.call("com.atproto.admin.getRecord", params2, void 0, opts).catch((e) => {
|
|
9669
|
+
throw toKnownErr12(e);
|
|
9670
|
+
});
|
|
9671
|
+
}
|
|
9672
|
+
getRepo(params2, opts) {
|
|
9673
|
+
return this._service.xrpc.call("com.atproto.admin.getRepo", params2, void 0, opts).catch((e) => {
|
|
9674
|
+
throw toKnownErr13(e);
|
|
9675
|
+
});
|
|
9676
|
+
}
|
|
9677
|
+
resolveModerationReports(data, opts) {
|
|
9678
|
+
return this._service.xrpc.call("com.atproto.admin.resolveModerationReports", opts?.qp, data, opts).catch((e) => {
|
|
9679
|
+
throw toKnownErr14(e);
|
|
9680
|
+
});
|
|
9681
|
+
}
|
|
9682
|
+
reverseModerationAction(data, opts) {
|
|
9683
|
+
return this._service.xrpc.call("com.atproto.admin.reverseModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
9684
|
+
throw toKnownErr15(e);
|
|
9685
|
+
});
|
|
9686
|
+
}
|
|
9687
|
+
searchRepos(params2, opts) {
|
|
9688
|
+
return this._service.xrpc.call("com.atproto.admin.searchRepos", params2, void 0, opts).catch((e) => {
|
|
9689
|
+
throw toKnownErr16(e);
|
|
9690
|
+
});
|
|
9691
|
+
}
|
|
9692
|
+
takeModerationAction(data, opts) {
|
|
9693
|
+
return this._service.xrpc.call("com.atproto.admin.takeModerationAction", opts?.qp, data, opts).catch((e) => {
|
|
9694
|
+
throw toKnownErr17(e);
|
|
8606
9695
|
});
|
|
8607
9696
|
}
|
|
8608
9697
|
};
|
|
@@ -8612,7 +9701,7 @@ var BlobNS = class {
|
|
|
8612
9701
|
}
|
|
8613
9702
|
upload(data, opts) {
|
|
8614
9703
|
return this._service.xrpc.call("com.atproto.blob.upload", opts?.qp, data, opts).catch((e) => {
|
|
8615
|
-
throw
|
|
9704
|
+
throw toKnownErr18(e);
|
|
8616
9705
|
});
|
|
8617
9706
|
}
|
|
8618
9707
|
};
|
|
@@ -8622,7 +9711,7 @@ var HandleNS = class {
|
|
|
8622
9711
|
}
|
|
8623
9712
|
resolve(params2, opts) {
|
|
8624
9713
|
return this._service.xrpc.call("com.atproto.handle.resolve", params2, void 0, opts).catch((e) => {
|
|
8625
|
-
throw
|
|
9714
|
+
throw toKnownErr19(e);
|
|
8626
9715
|
});
|
|
8627
9716
|
}
|
|
8628
9717
|
};
|
|
@@ -8632,37 +9721,47 @@ var RepoNS = class {
|
|
|
8632
9721
|
}
|
|
8633
9722
|
batchWrite(data, opts) {
|
|
8634
9723
|
return this._service.xrpc.call("com.atproto.repo.batchWrite", opts?.qp, data, opts).catch((e) => {
|
|
8635
|
-
throw
|
|
9724
|
+
throw toKnownErr20(e);
|
|
8636
9725
|
});
|
|
8637
9726
|
}
|
|
8638
9727
|
createRecord(data, opts) {
|
|
8639
9728
|
return this._service.xrpc.call("com.atproto.repo.createRecord", opts?.qp, data, opts).catch((e) => {
|
|
8640
|
-
throw
|
|
9729
|
+
throw toKnownErr21(e);
|
|
8641
9730
|
});
|
|
8642
9731
|
}
|
|
8643
9732
|
deleteRecord(data, opts) {
|
|
8644
9733
|
return this._service.xrpc.call("com.atproto.repo.deleteRecord", opts?.qp, data, opts).catch((e) => {
|
|
8645
|
-
throw
|
|
9734
|
+
throw toKnownErr22(e);
|
|
8646
9735
|
});
|
|
8647
9736
|
}
|
|
8648
9737
|
describe(params2, opts) {
|
|
8649
9738
|
return this._service.xrpc.call("com.atproto.repo.describe", params2, void 0, opts).catch((e) => {
|
|
8650
|
-
throw
|
|
9739
|
+
throw toKnownErr23(e);
|
|
8651
9740
|
});
|
|
8652
9741
|
}
|
|
8653
9742
|
getRecord(params2, opts) {
|
|
8654
9743
|
return this._service.xrpc.call("com.atproto.repo.getRecord", params2, void 0, opts).catch((e) => {
|
|
8655
|
-
throw
|
|
9744
|
+
throw toKnownErr24(e);
|
|
8656
9745
|
});
|
|
8657
9746
|
}
|
|
8658
9747
|
listRecords(params2, opts) {
|
|
8659
9748
|
return this._service.xrpc.call("com.atproto.repo.listRecords", params2, void 0, opts).catch((e) => {
|
|
8660
|
-
throw
|
|
9749
|
+
throw toKnownErr25(e);
|
|
8661
9750
|
});
|
|
8662
9751
|
}
|
|
8663
9752
|
putRecord(data, opts) {
|
|
8664
9753
|
return this._service.xrpc.call("com.atproto.repo.putRecord", opts?.qp, data, opts).catch((e) => {
|
|
8665
|
-
throw
|
|
9754
|
+
throw toKnownErr26(e);
|
|
9755
|
+
});
|
|
9756
|
+
}
|
|
9757
|
+
};
|
|
9758
|
+
var ReportNS = class {
|
|
9759
|
+
constructor(service) {
|
|
9760
|
+
this._service = service;
|
|
9761
|
+
}
|
|
9762
|
+
create(data, opts) {
|
|
9763
|
+
return this._service.xrpc.call("com.atproto.report.create", opts?.qp, data, opts).catch((e) => {
|
|
9764
|
+
throw toKnownErr27(e);
|
|
8666
9765
|
});
|
|
8667
9766
|
}
|
|
8668
9767
|
};
|
|
@@ -8672,7 +9771,7 @@ var ServerNS = class {
|
|
|
8672
9771
|
}
|
|
8673
9772
|
getAccountsConfig(params2, opts) {
|
|
8674
9773
|
return this._service.xrpc.call("com.atproto.server.getAccountsConfig", params2, void 0, opts).catch((e) => {
|
|
8675
|
-
throw
|
|
9774
|
+
throw toKnownErr28(e);
|
|
8676
9775
|
});
|
|
8677
9776
|
}
|
|
8678
9777
|
};
|
|
@@ -8682,22 +9781,22 @@ var SessionNS = class {
|
|
|
8682
9781
|
}
|
|
8683
9782
|
create(data, opts) {
|
|
8684
9783
|
return this._service.xrpc.call("com.atproto.session.create", opts?.qp, data, opts).catch((e) => {
|
|
8685
|
-
throw
|
|
9784
|
+
throw toKnownErr29(e);
|
|
8686
9785
|
});
|
|
8687
9786
|
}
|
|
8688
9787
|
delete(data, opts) {
|
|
8689
9788
|
return this._service.xrpc.call("com.atproto.session.delete", opts?.qp, data, opts).catch((e) => {
|
|
8690
|
-
throw
|
|
9789
|
+
throw toKnownErr30(e);
|
|
8691
9790
|
});
|
|
8692
9791
|
}
|
|
8693
9792
|
get(params2, opts) {
|
|
8694
9793
|
return this._service.xrpc.call("com.atproto.session.get", params2, void 0, opts).catch((e) => {
|
|
8695
|
-
throw
|
|
9794
|
+
throw toKnownErr31(e);
|
|
8696
9795
|
});
|
|
8697
9796
|
}
|
|
8698
9797
|
refresh(data, opts) {
|
|
8699
9798
|
return this._service.xrpc.call("com.atproto.session.refresh", opts?.qp, data, opts).catch((e) => {
|
|
8700
|
-
throw
|
|
9799
|
+
throw toKnownErr32(e);
|
|
8701
9800
|
});
|
|
8702
9801
|
}
|
|
8703
9802
|
};
|
|
@@ -8705,19 +9804,29 @@ var SyncNS = class {
|
|
|
8705
9804
|
constructor(service) {
|
|
8706
9805
|
this._service = service;
|
|
8707
9806
|
}
|
|
8708
|
-
|
|
8709
|
-
return this._service.xrpc.call("com.atproto.sync.
|
|
8710
|
-
throw
|
|
9807
|
+
getCheckout(params2, opts) {
|
|
9808
|
+
return this._service.xrpc.call("com.atproto.sync.getCheckout", params2, void 0, opts).catch((e) => {
|
|
9809
|
+
throw toKnownErr33(e);
|
|
8711
9810
|
});
|
|
8712
9811
|
}
|
|
8713
|
-
|
|
8714
|
-
return this._service.xrpc.call("com.atproto.sync.
|
|
8715
|
-
throw
|
|
9812
|
+
getCommitPath(params2, opts) {
|
|
9813
|
+
return this._service.xrpc.call("com.atproto.sync.getCommitPath", params2, void 0, opts).catch((e) => {
|
|
9814
|
+
throw toKnownErr34(e);
|
|
8716
9815
|
});
|
|
8717
9816
|
}
|
|
8718
|
-
|
|
8719
|
-
return this._service.xrpc.call("com.atproto.sync.
|
|
8720
|
-
throw
|
|
9817
|
+
getHead(params2, opts) {
|
|
9818
|
+
return this._service.xrpc.call("com.atproto.sync.getHead", params2, void 0, opts).catch((e) => {
|
|
9819
|
+
throw toKnownErr35(e);
|
|
9820
|
+
});
|
|
9821
|
+
}
|
|
9822
|
+
getRecord(params2, opts) {
|
|
9823
|
+
return this._service.xrpc.call("com.atproto.sync.getRecord", params2, void 0, opts).catch((e) => {
|
|
9824
|
+
throw toKnownErr36(e);
|
|
9825
|
+
});
|
|
9826
|
+
}
|
|
9827
|
+
getRepo(params2, opts) {
|
|
9828
|
+
return this._service.xrpc.call("com.atproto.sync.getRepo", params2, void 0, opts).catch((e) => {
|
|
9829
|
+
throw toKnownErr37(e);
|
|
8721
9830
|
});
|
|
8722
9831
|
}
|
|
8723
9832
|
};
|
|
@@ -8743,34 +9852,29 @@ var ActorNS = class {
|
|
|
8743
9852
|
this._service = service;
|
|
8744
9853
|
this.profile = new ProfileRecord(service);
|
|
8745
9854
|
}
|
|
8746
|
-
createScene(data, opts) {
|
|
8747
|
-
return this._service.xrpc.call("app.bsky.actor.createScene", opts?.qp, data, opts).catch((e) => {
|
|
8748
|
-
throw toKnownErr24(e);
|
|
8749
|
-
});
|
|
8750
|
-
}
|
|
8751
9855
|
getProfile(params2, opts) {
|
|
8752
9856
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
8753
|
-
throw
|
|
9857
|
+
throw toKnownErr38(e);
|
|
8754
9858
|
});
|
|
8755
9859
|
}
|
|
8756
9860
|
getSuggestions(params2, opts) {
|
|
8757
9861
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
8758
|
-
throw
|
|
9862
|
+
throw toKnownErr39(e);
|
|
8759
9863
|
});
|
|
8760
9864
|
}
|
|
8761
9865
|
search(params2, opts) {
|
|
8762
9866
|
return this._service.xrpc.call("app.bsky.actor.search", params2, void 0, opts).catch((e) => {
|
|
8763
|
-
throw
|
|
9867
|
+
throw toKnownErr40(e);
|
|
8764
9868
|
});
|
|
8765
9869
|
}
|
|
8766
9870
|
searchTypeahead(params2, opts) {
|
|
8767
9871
|
return this._service.xrpc.call("app.bsky.actor.searchTypeahead", params2, void 0, opts).catch((e) => {
|
|
8768
|
-
throw
|
|
9872
|
+
throw toKnownErr41(e);
|
|
8769
9873
|
});
|
|
8770
9874
|
}
|
|
8771
9875
|
updateProfile(data, opts) {
|
|
8772
9876
|
return this._service.xrpc.call("app.bsky.actor.updateProfile", opts?.qp, data, opts).catch((e) => {
|
|
8773
|
-
throw
|
|
9877
|
+
throw toKnownErr42(e);
|
|
8774
9878
|
});
|
|
8775
9879
|
}
|
|
8776
9880
|
};
|
|
@@ -8821,37 +9925,36 @@ var FeedNS = class {
|
|
|
8821
9925
|
this._service = service;
|
|
8822
9926
|
this.post = new PostRecord(service);
|
|
8823
9927
|
this.repost = new RepostRecord(service);
|
|
8824
|
-
this.trend = new TrendRecord(service);
|
|
8825
9928
|
this.vote = new VoteRecord(service);
|
|
8826
9929
|
}
|
|
8827
9930
|
getAuthorFeed(params2, opts) {
|
|
8828
9931
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
8829
|
-
throw
|
|
9932
|
+
throw toKnownErr43(e);
|
|
8830
9933
|
});
|
|
8831
9934
|
}
|
|
8832
9935
|
getPostThread(params2, opts) {
|
|
8833
9936
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
8834
|
-
throw
|
|
9937
|
+
throw toKnownErr44(e);
|
|
8835
9938
|
});
|
|
8836
9939
|
}
|
|
8837
9940
|
getRepostedBy(params2, opts) {
|
|
8838
9941
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
8839
|
-
throw
|
|
9942
|
+
throw toKnownErr45(e);
|
|
8840
9943
|
});
|
|
8841
9944
|
}
|
|
8842
9945
|
getTimeline(params2, opts) {
|
|
8843
9946
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
8844
|
-
throw
|
|
9947
|
+
throw toKnownErr46(e);
|
|
8845
9948
|
});
|
|
8846
9949
|
}
|
|
8847
9950
|
getVotes(params2, opts) {
|
|
8848
9951
|
return this._service.xrpc.call("app.bsky.feed.getVotes", params2, void 0, opts).catch((e) => {
|
|
8849
|
-
throw
|
|
9952
|
+
throw toKnownErr47(e);
|
|
8850
9953
|
});
|
|
8851
9954
|
}
|
|
8852
9955
|
setVote(data, opts) {
|
|
8853
9956
|
return this._service.xrpc.call("app.bsky.feed.setVote", opts?.qp, data, opts).catch((e) => {
|
|
8854
|
-
throw
|
|
9957
|
+
throw toKnownErr48(e);
|
|
8855
9958
|
});
|
|
8856
9959
|
}
|
|
8857
9960
|
};
|
|
@@ -8929,43 +10032,6 @@ var RepostRecord = class {
|
|
|
8929
10032
|
);
|
|
8930
10033
|
}
|
|
8931
10034
|
};
|
|
8932
|
-
var TrendRecord = class {
|
|
8933
|
-
constructor(service) {
|
|
8934
|
-
this._service = service;
|
|
8935
|
-
}
|
|
8936
|
-
async list(params2) {
|
|
8937
|
-
const res = await this._service.xrpc.call("com.atproto.repo.listRecords", {
|
|
8938
|
-
collection: "app.bsky.feed.trend",
|
|
8939
|
-
...params2
|
|
8940
|
-
});
|
|
8941
|
-
return res.data;
|
|
8942
|
-
}
|
|
8943
|
-
async get(params2) {
|
|
8944
|
-
const res = await this._service.xrpc.call("com.atproto.repo.getRecord", {
|
|
8945
|
-
collection: "app.bsky.feed.trend",
|
|
8946
|
-
...params2
|
|
8947
|
-
});
|
|
8948
|
-
return res.data;
|
|
8949
|
-
}
|
|
8950
|
-
async create(params2, record, headers) {
|
|
8951
|
-
record.$type = "app.bsky.feed.trend";
|
|
8952
|
-
const res = await this._service.xrpc.call(
|
|
8953
|
-
"com.atproto.repo.createRecord",
|
|
8954
|
-
void 0,
|
|
8955
|
-
{ collection: "app.bsky.feed.trend", ...params2, record },
|
|
8956
|
-
{ encoding: "application/json", headers }
|
|
8957
|
-
);
|
|
8958
|
-
return res.data;
|
|
8959
|
-
}
|
|
8960
|
-
async delete(params2, headers) {
|
|
8961
|
-
await this._service.xrpc.call(
|
|
8962
|
-
"com.atproto.repo.deleteRecord",
|
|
8963
|
-
void 0,
|
|
8964
|
-
{ collection: "app.bsky.feed.trend", ...params2 },
|
|
8965
|
-
{ headers }
|
|
8966
|
-
);
|
|
8967
|
-
}
|
|
8968
|
-
};
|
|
8969
10035
|
var VoteRecord = class {
|
|
8970
10036
|
constructor(service) {
|
|
8971
10037
|
this._service = service;
|
|
@@ -9010,44 +10076,29 @@ var GraphNS = class {
|
|
|
9010
10076
|
this.confirmation = new ConfirmationRecord(service);
|
|
9011
10077
|
this.follow = new FollowRecord(service);
|
|
9012
10078
|
}
|
|
9013
|
-
getAssertions(params2, opts) {
|
|
9014
|
-
return this._service.xrpc.call("app.bsky.graph.getAssertions", params2, void 0, opts).catch((e) => {
|
|
9015
|
-
throw toKnownErr36(e);
|
|
9016
|
-
});
|
|
9017
|
-
}
|
|
9018
10079
|
getFollowers(params2, opts) {
|
|
9019
10080
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
9020
|
-
throw
|
|
10081
|
+
throw toKnownErr49(e);
|
|
9021
10082
|
});
|
|
9022
10083
|
}
|
|
9023
10084
|
getFollows(params2, opts) {
|
|
9024
10085
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
9025
|
-
throw
|
|
9026
|
-
});
|
|
9027
|
-
}
|
|
9028
|
-
getMembers(params2, opts) {
|
|
9029
|
-
return this._service.xrpc.call("app.bsky.graph.getMembers", params2, void 0, opts).catch((e) => {
|
|
9030
|
-
throw toKnownErr39(e);
|
|
9031
|
-
});
|
|
9032
|
-
}
|
|
9033
|
-
getMemberships(params2, opts) {
|
|
9034
|
-
return this._service.xrpc.call("app.bsky.graph.getMemberships", params2, void 0, opts).catch((e) => {
|
|
9035
|
-
throw toKnownErr40(e);
|
|
10086
|
+
throw toKnownErr50(e);
|
|
9036
10087
|
});
|
|
9037
10088
|
}
|
|
9038
10089
|
getMutes(params2, opts) {
|
|
9039
10090
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
9040
|
-
throw
|
|
10091
|
+
throw toKnownErr51(e);
|
|
9041
10092
|
});
|
|
9042
10093
|
}
|
|
9043
10094
|
mute(data, opts) {
|
|
9044
10095
|
return this._service.xrpc.call("app.bsky.graph.mute", opts?.qp, data, opts).catch((e) => {
|
|
9045
|
-
throw
|
|
10096
|
+
throw toKnownErr52(e);
|
|
9046
10097
|
});
|
|
9047
10098
|
}
|
|
9048
10099
|
unmute(data, opts) {
|
|
9049
10100
|
return this._service.xrpc.call("app.bsky.graph.unmute", opts?.qp, data, opts).catch((e) => {
|
|
9050
|
-
throw
|
|
10101
|
+
throw toKnownErr53(e);
|
|
9051
10102
|
});
|
|
9052
10103
|
}
|
|
9053
10104
|
};
|
|
@@ -9168,17 +10219,17 @@ var NotificationNS = class {
|
|
|
9168
10219
|
}
|
|
9169
10220
|
getCount(params2, opts) {
|
|
9170
10221
|
return this._service.xrpc.call("app.bsky.notification.getCount", params2, void 0, opts).catch((e) => {
|
|
9171
|
-
throw
|
|
10222
|
+
throw toKnownErr54(e);
|
|
9172
10223
|
});
|
|
9173
10224
|
}
|
|
9174
10225
|
list(params2, opts) {
|
|
9175
10226
|
return this._service.xrpc.call("app.bsky.notification.list", params2, void 0, opts).catch((e) => {
|
|
9176
|
-
throw
|
|
10227
|
+
throw toKnownErr55(e);
|
|
9177
10228
|
});
|
|
9178
10229
|
}
|
|
9179
10230
|
updateSeen(data, opts) {
|
|
9180
10231
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
9181
|
-
throw
|
|
10232
|
+
throw toKnownErr56(e);
|
|
9182
10233
|
});
|
|
9183
10234
|
}
|
|
9184
10235
|
};
|
|
@@ -9355,7 +10406,7 @@ var SessionManager = class extends import_events.default {
|
|
|
9355
10406
|
APP_BSKY_SYSTEM,
|
|
9356
10407
|
AccountNS,
|
|
9357
10408
|
ActorNS,
|
|
9358
|
-
|
|
10409
|
+
AdminNS,
|
|
9359
10410
|
AppBskyActorGetProfile,
|
|
9360
10411
|
AppBskyActorGetSuggestions,
|
|
9361
10412
|
AppBskyActorProfile,
|
|
@@ -9374,25 +10425,20 @@ var SessionManager = class extends import_events.default {
|
|
|
9374
10425
|
AppBskyFeedPost,
|
|
9375
10426
|
AppBskyFeedRepost,
|
|
9376
10427
|
AppBskyFeedSetVote,
|
|
9377
|
-
AppBskyFeedTrend,
|
|
9378
10428
|
AppBskyFeedVote,
|
|
9379
10429
|
AppBskyGraphAssertCreator,
|
|
9380
10430
|
AppBskyGraphAssertMember,
|
|
9381
10431
|
AppBskyGraphAssertion,
|
|
9382
10432
|
AppBskyGraphConfirmation,
|
|
9383
10433
|
AppBskyGraphFollow,
|
|
9384
|
-
AppBskyGraphGetAssertions,
|
|
9385
10434
|
AppBskyGraphGetFollowers,
|
|
9386
10435
|
AppBskyGraphGetFollows,
|
|
9387
|
-
AppBskyGraphGetMembers,
|
|
9388
|
-
AppBskyGraphGetMemberships,
|
|
9389
10436
|
AppBskyGraphGetMutes,
|
|
9390
10437
|
AppBskyGraphMute,
|
|
9391
10438
|
AppBskyGraphUnmute,
|
|
9392
10439
|
AppBskyNotificationGetCount,
|
|
9393
10440
|
AppBskyNotificationList,
|
|
9394
10441
|
AppBskyNotificationUpdateSeen,
|
|
9395
|
-
AppBskySystemActorScene,
|
|
9396
10442
|
AppBskySystemActorUser,
|
|
9397
10443
|
AppBskySystemDeclRef,
|
|
9398
10444
|
AppBskySystemDeclaration,
|
|
@@ -9401,13 +10447,30 @@ var SessionManager = class extends import_events.default {
|
|
|
9401
10447
|
AtprotoNS,
|
|
9402
10448
|
BlobNS,
|
|
9403
10449
|
BskyNS,
|
|
10450
|
+
COM_ATPROTO_ADMIN,
|
|
10451
|
+
COM_ATPROTO_REPORT,
|
|
9404
10452
|
Client,
|
|
9405
10453
|
ComAtprotoAccountCreate,
|
|
9406
10454
|
ComAtprotoAccountCreateInviteCode,
|
|
9407
10455
|
ComAtprotoAccountDelete,
|
|
9408
10456
|
ComAtprotoAccountGet,
|
|
10457
|
+
ComAtprotoAccountRequestDelete,
|
|
9409
10458
|
ComAtprotoAccountRequestPasswordReset,
|
|
9410
10459
|
ComAtprotoAccountResetPassword,
|
|
10460
|
+
ComAtprotoAdminGetModerationAction,
|
|
10461
|
+
ComAtprotoAdminGetModerationActions,
|
|
10462
|
+
ComAtprotoAdminGetModerationReport,
|
|
10463
|
+
ComAtprotoAdminGetModerationReports,
|
|
10464
|
+
ComAtprotoAdminGetRecord,
|
|
10465
|
+
ComAtprotoAdminGetRepo,
|
|
10466
|
+
ComAtprotoAdminModerationAction,
|
|
10467
|
+
ComAtprotoAdminModerationReport,
|
|
10468
|
+
ComAtprotoAdminRecord,
|
|
10469
|
+
ComAtprotoAdminRepo,
|
|
10470
|
+
ComAtprotoAdminResolveModerationReports,
|
|
10471
|
+
ComAtprotoAdminReverseModerationAction,
|
|
10472
|
+
ComAtprotoAdminSearchRepos,
|
|
10473
|
+
ComAtprotoAdminTakeModerationAction,
|
|
9411
10474
|
ComAtprotoBlobUpload,
|
|
9412
10475
|
ComAtprotoHandleResolve,
|
|
9413
10476
|
ComAtprotoRepoBatchWrite,
|
|
@@ -9417,15 +10480,22 @@ var SessionManager = class extends import_events.default {
|
|
|
9417
10480
|
ComAtprotoRepoGetRecord,
|
|
9418
10481
|
ComAtprotoRepoListRecords,
|
|
9419
10482
|
ComAtprotoRepoPutRecord,
|
|
10483
|
+
ComAtprotoRepoRecordRef,
|
|
10484
|
+
ComAtprotoRepoRepoRef,
|
|
9420
10485
|
ComAtprotoRepoStrongRef,
|
|
10486
|
+
ComAtprotoReportCreate,
|
|
10487
|
+
ComAtprotoReportReasonType,
|
|
10488
|
+
ComAtprotoReportSubject,
|
|
9421
10489
|
ComAtprotoServerGetAccountsConfig,
|
|
9422
10490
|
ComAtprotoSessionCreate,
|
|
9423
10491
|
ComAtprotoSessionDelete,
|
|
9424
10492
|
ComAtprotoSessionGet,
|
|
9425
10493
|
ComAtprotoSessionRefresh,
|
|
10494
|
+
ComAtprotoSyncGetCheckout,
|
|
10495
|
+
ComAtprotoSyncGetCommitPath,
|
|
10496
|
+
ComAtprotoSyncGetHead,
|
|
10497
|
+
ComAtprotoSyncGetRecord,
|
|
9426
10498
|
ComAtprotoSyncGetRepo,
|
|
9427
|
-
ComAtprotoSyncGetRoot,
|
|
9428
|
-
ComAtprotoSyncUpdateRepo,
|
|
9429
10499
|
ComNS,
|
|
9430
10500
|
ConfirmationRecord,
|
|
9431
10501
|
DeclarationRecord,
|
|
@@ -9438,6 +10508,7 @@ var SessionManager = class extends import_events.default {
|
|
|
9438
10508
|
PostRecord,
|
|
9439
10509
|
ProfileRecord,
|
|
9440
10510
|
RepoNS,
|
|
10511
|
+
ReportNS,
|
|
9441
10512
|
RepostRecord,
|
|
9442
10513
|
ServerNS,
|
|
9443
10514
|
ServiceClient,
|
|
@@ -9448,7 +10519,6 @@ var SessionManager = class extends import_events.default {
|
|
|
9448
10519
|
SessionXrpcServiceClient,
|
|
9449
10520
|
SyncNS,
|
|
9450
10521
|
SystemNS,
|
|
9451
|
-
TrendRecord,
|
|
9452
10522
|
VoteRecord,
|
|
9453
10523
|
sessionClient
|
|
9454
10524
|
});
|