@atproto/bsky 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/LICENSE.txt +7 -0
- package/README.md +6 -1
- package/dist/api/com/atproto/admin/util.d.ts +5 -0
- package/dist/context.d.ts +6 -1
- package/dist/db/index.js +51 -2
- package/dist/db/index.js.map +3 -3
- package/dist/db/migrations/20230929T192920807Z-record-cursor-indexes.d.ts +3 -0
- package/dist/db/migrations/index.d.ts +1 -0
- package/dist/did-cache.d.ts +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1630 -755
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +8 -0
- package/dist/lexicon/lexicons.d.ts +243 -3
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/admin/defs.d.ts +28 -0
- package/dist/lexicon/types/com/atproto/admin/getAccountInfo.d.ts +29 -0
- package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.d.ts +39 -0
- package/dist/lexicon/types/com/atproto/admin/searchRepos.d.ts +0 -1
- package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.d.ts +46 -0
- package/dist/lexicon/types/com/atproto/server/createAccount.d.ts +4 -2
- package/dist/lexicon/types/com/atproto/server/createSession.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/server/reserveSigningKey.d.ts +36 -0
- package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts +1 -0
- package/dist/services/actor/types.d.ts +1 -0
- package/dist/services/graph/index.d.ts +2 -0
- package/dist/services/moderation/index.d.ts +13 -3
- package/package.json +14 -15
- package/src/api/app/bsky/feed/getAuthorFeed.ts +2 -2
- package/src/api/app/bsky/feed/getPostThread.ts +2 -2
- package/src/api/app/bsky/notification/listNotifications.ts +33 -22
- package/src/api/com/atproto/admin/getModerationAction.ts +28 -2
- package/src/api/com/atproto/admin/getModerationReport.ts +27 -2
- package/src/api/com/atproto/admin/getRecord.ts +14 -2
- package/src/api/com/atproto/admin/getRepo.ts +13 -2
- package/src/api/com/atproto/admin/reverseModerationAction.ts +31 -5
- package/src/api/com/atproto/admin/searchRepos.ts +2 -5
- package/src/api/com/atproto/admin/takeModerationAction.ts +41 -7
- package/src/api/com/atproto/admin/util.ts +50 -0
- package/src/api/well-known.ts +8 -0
- package/src/auth.ts +12 -5
- package/src/auto-moderator/index.ts +1 -0
- package/src/context.ts +25 -1
- package/src/db/migrations/20230929T192920807Z-record-cursor-indexes.ts +40 -0
- package/src/db/migrations/index.ts +1 -0
- package/src/did-cache.ts +29 -14
- package/src/feed-gen/with-friends.ts +2 -2
- package/src/index.ts +4 -1
- package/src/indexer/subscription.ts +1 -21
- package/src/lexicon/index.ts +48 -0
- package/src/lexicon/lexicons.ts +259 -5
- package/src/lexicon/types/app/bsky/actor/defs.ts +1 -0
- package/src/lexicon/types/com/atproto/admin/defs.ts +61 -0
- package/src/lexicon/types/com/atproto/admin/getAccountInfo.ts +41 -0
- package/src/lexicon/types/com/atproto/admin/getSubjectStatus.ts +54 -0
- package/src/lexicon/types/com/atproto/admin/searchRepos.ts +0 -1
- package/src/lexicon/types/com/atproto/admin/updateSubjectStatus.ts +61 -0
- package/src/lexicon/types/com/atproto/server/createAccount.ts +4 -2
- package/src/lexicon/types/com/atproto/server/createSession.ts +1 -0
- package/src/lexicon/types/com/atproto/server/refreshSession.ts +1 -0
- package/src/lexicon/types/com/atproto/server/reserveSigningKey.ts +51 -0
- package/src/lexicon/types/com/atproto/sync/listRepos.ts +1 -0
- package/src/logger.ts +8 -0
- package/src/services/actor/index.ts +7 -1
- package/src/services/actor/types.ts +1 -0
- package/src/services/actor/views.ts +26 -8
- package/src/services/graph/index.ts +26 -7
- package/src/services/indexing/index.ts +15 -17
- package/src/services/moderation/index.ts +94 -14
- package/src/services/moderation/views.ts +1 -0
- package/tests/__snapshots__/feed-generation.test.ts.snap +12 -12
- package/tests/__snapshots__/indexing.test.ts.snap +4 -4
- package/tests/admin/__snapshots__/get-moderation-action.test.ts.snap +172 -0
- package/tests/admin/__snapshots__/get-moderation-actions.test.ts.snap +178 -0
- package/tests/admin/__snapshots__/get-moderation-report.test.ts.snap +177 -0
- package/tests/admin/__snapshots__/get-moderation-reports.test.ts.snap +307 -0
- package/tests/admin/__snapshots__/get-record.test.ts.snap +275 -0
- package/tests/admin/__snapshots__/get-repo.test.ts.snap +103 -0
- package/tests/admin/get-moderation-action.test.ts +100 -0
- package/tests/admin/get-moderation-actions.test.ts +164 -0
- package/tests/admin/get-moderation-report.test.ts +100 -0
- package/tests/admin/get-moderation-reports.test.ts +332 -0
- package/tests/admin/get-record.test.ts +115 -0
- package/tests/admin/get-repo.test.ts +101 -0
- package/tests/{moderation.test.ts → admin/moderation.test.ts} +107 -9
- package/tests/admin/repo-search.test.ts +124 -0
- package/tests/algos/hot-classic.test.ts +3 -5
- package/tests/algos/whats-hot.test.ts +3 -5
- package/tests/algos/with-friends.test.ts +2 -4
- package/tests/auth.test.ts +64 -0
- package/tests/auto-moderator/fuzzy-matcher.test.ts +2 -3
- package/tests/auto-moderator/labeler.test.ts +5 -7
- package/tests/auto-moderator/takedowns.test.ts +11 -12
- package/tests/blob-resolver.test.ts +1 -3
- package/tests/did-cache.test.ts +2 -5
- package/tests/feed-generation.test.ts +8 -6
- package/tests/handle-invalidation.test.ts +2 -3
- package/tests/image/server.test.ts +1 -4
- package/tests/image/sharp.test.ts +1 -1
- package/tests/indexing.test.ts +4 -4
- package/tests/notification-server.test.ts +2 -3
- package/tests/pipeline/backpressure.test.ts +2 -3
- package/tests/pipeline/reingest.test.ts +7 -4
- package/tests/pipeline/repartition.test.ts +2 -3
- package/tests/reprocessing.test.ts +2 -6
- package/tests/seeds/basic.ts +4 -4
- package/tests/seeds/follows.ts +1 -1
- package/tests/seeds/likes.ts +1 -1
- package/tests/seeds/reposts.ts +1 -1
- package/tests/seeds/users-bulk.ts +1 -1
- package/tests/seeds/users.ts +1 -1
- package/tests/server.test.ts +1 -3
- package/tests/subscription/repo.test.ts +2 -4
- package/tests/views/__snapshots__/author-feed.test.ts.snap +24 -24
- package/tests/views/__snapshots__/block-lists.test.ts.snap +42 -7
- package/tests/views/__snapshots__/blocks.test.ts.snap +2 -2
- package/tests/views/__snapshots__/list-feed.test.ts.snap +6 -6
- package/tests/views/__snapshots__/mute-lists.test.ts.snap +15 -4
- package/tests/views/__snapshots__/mutes.test.ts.snap +2 -2
- package/tests/views/__snapshots__/notifications.test.ts.snap +2 -2
- package/tests/views/__snapshots__/posts.test.ts.snap +8 -8
- package/tests/views/__snapshots__/thread.test.ts.snap +10 -10
- package/tests/views/__snapshots__/timeline.test.ts.snap +58 -58
- package/tests/views/actor-likes.test.ts +2 -3
- package/tests/views/actor-search.test.ts +5 -5
- package/tests/views/admin/repo-search.test.ts +2 -4
- package/tests/views/author-feed.test.ts +2 -4
- package/tests/views/block-lists.test.ts +34 -7
- package/tests/views/blocks.test.ts +6 -3
- package/tests/views/follows.test.ts +2 -4
- package/tests/views/likes.test.ts +2 -5
- package/tests/views/list-feed.test.ts +2 -4
- package/tests/views/mute-lists.test.ts +23 -5
- package/tests/views/mutes.test.ts +2 -5
- package/tests/views/notifications.test.ts +2 -4
- package/tests/views/posts.test.ts +2 -5
- package/tests/views/profile.test.ts +4 -5
- package/tests/views/reposts.test.ts +2 -4
- package/tests/views/suggested-follows.test.ts +2 -3
- package/tests/views/suggestions.test.ts +2 -4
- package/tests/views/thread.test.ts +2 -4
- package/tests/views/threadgating.test.ts +2 -3
- package/tests/views/timeline.test.ts +2 -4
- package/LICENSE +0 -21
- package/dist/env.d.ts +0 -1
- package/example.dev.env +0 -5
- package/src/env.ts +0 -9
- package/tests/seeds/client.ts +0 -466
- /package/tests/{__snapshots__ → admin/__snapshots__}/moderation.test.ts.snap +0 -0
- /package/tests/{image/fixtures → sample-img}/at.png +0 -0
- /package/tests/{image/fixtures → sample-img}/hd-key.jpg +0 -0
- /package/tests/{image/fixtures → sample-img}/key-alt.jpg +0 -0
- /package/tests/{image/fixtures → sample-img}/key-landscape-large.jpg +0 -0
- /package/tests/{image/fixtures → sample-img}/key-landscape-small.jpg +0 -0
- /package/tests/{image/fixtures → sample-img}/key-portrait-large.jpg +0 -0
- /package/tests/{image/fixtures → sample-img}/key-portrait-small.jpg +0 -0
package/dist/lexicon/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Server as XrpcServer, Options as XrpcOptions, AuthVerifier, StreamAuthV
|
|
|
2
2
|
import * as ComAtprotoAdminDisableAccountInvites from './types/com/atproto/admin/disableAccountInvites';
|
|
3
3
|
import * as ComAtprotoAdminDisableInviteCodes from './types/com/atproto/admin/disableInviteCodes';
|
|
4
4
|
import * as ComAtprotoAdminEnableAccountInvites from './types/com/atproto/admin/enableAccountInvites';
|
|
5
|
+
import * as ComAtprotoAdminGetAccountInfo from './types/com/atproto/admin/getAccountInfo';
|
|
5
6
|
import * as ComAtprotoAdminGetInviteCodes from './types/com/atproto/admin/getInviteCodes';
|
|
6
7
|
import * as ComAtprotoAdminGetModerationAction from './types/com/atproto/admin/getModerationAction';
|
|
7
8
|
import * as ComAtprotoAdminGetModerationActions from './types/com/atproto/admin/getModerationActions';
|
|
@@ -9,6 +10,7 @@ import * as ComAtprotoAdminGetModerationReport from './types/com/atproto/admin/g
|
|
|
9
10
|
import * as ComAtprotoAdminGetModerationReports from './types/com/atproto/admin/getModerationReports';
|
|
10
11
|
import * as ComAtprotoAdminGetRecord from './types/com/atproto/admin/getRecord';
|
|
11
12
|
import * as ComAtprotoAdminGetRepo from './types/com/atproto/admin/getRepo';
|
|
13
|
+
import * as ComAtprotoAdminGetSubjectStatus from './types/com/atproto/admin/getSubjectStatus';
|
|
12
14
|
import * as ComAtprotoAdminResolveModerationReports from './types/com/atproto/admin/resolveModerationReports';
|
|
13
15
|
import * as ComAtprotoAdminReverseModerationAction from './types/com/atproto/admin/reverseModerationAction';
|
|
14
16
|
import * as ComAtprotoAdminSearchRepos from './types/com/atproto/admin/searchRepos';
|
|
@@ -16,6 +18,7 @@ import * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail';
|
|
|
16
18
|
import * as ComAtprotoAdminTakeModerationAction from './types/com/atproto/admin/takeModerationAction';
|
|
17
19
|
import * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail';
|
|
18
20
|
import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle';
|
|
21
|
+
import * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus';
|
|
19
22
|
import * as ComAtprotoIdentityResolveHandle from './types/com/atproto/identity/resolveHandle';
|
|
20
23
|
import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/updateHandle';
|
|
21
24
|
import * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels';
|
|
@@ -46,6 +49,7 @@ import * as ComAtprotoServerRequestAccountDelete from './types/com/atproto/serve
|
|
|
46
49
|
import * as ComAtprotoServerRequestEmailConfirmation from './types/com/atproto/server/requestEmailConfirmation';
|
|
47
50
|
import * as ComAtprotoServerRequestEmailUpdate from './types/com/atproto/server/requestEmailUpdate';
|
|
48
51
|
import * as ComAtprotoServerRequestPasswordReset from './types/com/atproto/server/requestPasswordReset';
|
|
52
|
+
import * as ComAtprotoServerReserveSigningKey from './types/com/atproto/server/reserveSigningKey';
|
|
49
53
|
import * as ComAtprotoServerResetPassword from './types/com/atproto/server/resetPassword';
|
|
50
54
|
import * as ComAtprotoServerRevokeAppPassword from './types/com/atproto/server/revokeAppPassword';
|
|
51
55
|
import * as ComAtprotoServerUpdateEmail from './types/com/atproto/server/updateEmail';
|
|
@@ -153,6 +157,7 @@ export declare class AdminNS {
|
|
|
153
157
|
disableAccountInvites<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminDisableAccountInvites.Handler<ExtractAuth<AV>>, ComAtprotoAdminDisableAccountInvites.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
154
158
|
disableInviteCodes<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminDisableInviteCodes.Handler<ExtractAuth<AV>>, ComAtprotoAdminDisableInviteCodes.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
155
159
|
enableAccountInvites<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminEnableAccountInvites.Handler<ExtractAuth<AV>>, ComAtprotoAdminEnableAccountInvites.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
160
|
+
getAccountInfo<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminGetAccountInfo.Handler<ExtractAuth<AV>>, ComAtprotoAdminGetAccountInfo.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
156
161
|
getInviteCodes<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminGetInviteCodes.Handler<ExtractAuth<AV>>, ComAtprotoAdminGetInviteCodes.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
157
162
|
getModerationAction<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminGetModerationAction.Handler<ExtractAuth<AV>>, ComAtprotoAdminGetModerationAction.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
158
163
|
getModerationActions<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminGetModerationActions.Handler<ExtractAuth<AV>>, ComAtprotoAdminGetModerationActions.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
@@ -160,6 +165,7 @@ export declare class AdminNS {
|
|
|
160
165
|
getModerationReports<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminGetModerationReports.Handler<ExtractAuth<AV>>, ComAtprotoAdminGetModerationReports.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
161
166
|
getRecord<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminGetRecord.Handler<ExtractAuth<AV>>, ComAtprotoAdminGetRecord.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
162
167
|
getRepo<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminGetRepo.Handler<ExtractAuth<AV>>, ComAtprotoAdminGetRepo.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
168
|
+
getSubjectStatus<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminGetSubjectStatus.Handler<ExtractAuth<AV>>, ComAtprotoAdminGetSubjectStatus.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
163
169
|
resolveModerationReports<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminResolveModerationReports.Handler<ExtractAuth<AV>>, ComAtprotoAdminResolveModerationReports.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
164
170
|
reverseModerationAction<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminReverseModerationAction.Handler<ExtractAuth<AV>>, ComAtprotoAdminReverseModerationAction.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
165
171
|
searchRepos<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminSearchRepos.Handler<ExtractAuth<AV>>, ComAtprotoAdminSearchRepos.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
@@ -167,6 +173,7 @@ export declare class AdminNS {
|
|
|
167
173
|
takeModerationAction<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminTakeModerationAction.Handler<ExtractAuth<AV>>, ComAtprotoAdminTakeModerationAction.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
168
174
|
updateAccountEmail<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminUpdateAccountEmail.Handler<ExtractAuth<AV>>, ComAtprotoAdminUpdateAccountEmail.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
169
175
|
updateAccountHandle<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminUpdateAccountHandle.Handler<ExtractAuth<AV>>, ComAtprotoAdminUpdateAccountHandle.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
176
|
+
updateSubjectStatus<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminUpdateSubjectStatus.Handler<ExtractAuth<AV>>, ComAtprotoAdminUpdateSubjectStatus.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
170
177
|
}
|
|
171
178
|
export declare class IdentityNS {
|
|
172
179
|
_server: Server;
|
|
@@ -217,6 +224,7 @@ export declare class ServerNS {
|
|
|
217
224
|
requestEmailConfirmation<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoServerRequestEmailConfirmation.Handler<ExtractAuth<AV>>, ComAtprotoServerRequestEmailConfirmation.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
218
225
|
requestEmailUpdate<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoServerRequestEmailUpdate.Handler<ExtractAuth<AV>>, ComAtprotoServerRequestEmailUpdate.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
219
226
|
requestPasswordReset<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoServerRequestPasswordReset.Handler<ExtractAuth<AV>>, ComAtprotoServerRequestPasswordReset.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
227
|
+
reserveSigningKey<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoServerReserveSigningKey.Handler<ExtractAuth<AV>>, ComAtprotoServerReserveSigningKey.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
220
228
|
resetPassword<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoServerResetPassword.Handler<ExtractAuth<AV>>, ComAtprotoServerResetPassword.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
221
229
|
revokeAppPassword<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoServerRevokeAppPassword.Handler<ExtractAuth<AV>>, ComAtprotoServerRevokeAppPassword.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
222
230
|
updateEmail<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoServerUpdateEmail.Handler<ExtractAuth<AV>>, ComAtprotoServerUpdateEmail.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
|
@@ -4,6 +4,18 @@ export declare const schemaDict: {
|
|
|
4
4
|
lexicon: number;
|
|
5
5
|
id: string;
|
|
6
6
|
defs: {
|
|
7
|
+
statusAttr: {
|
|
8
|
+
type: string;
|
|
9
|
+
required: string[];
|
|
10
|
+
properties: {
|
|
11
|
+
applied: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
ref: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
7
19
|
actionView: {
|
|
8
20
|
type: string;
|
|
9
21
|
required: string[];
|
|
@@ -348,6 +360,44 @@ export declare const schemaDict: {
|
|
|
348
360
|
};
|
|
349
361
|
};
|
|
350
362
|
};
|
|
363
|
+
accountView: {
|
|
364
|
+
type: string;
|
|
365
|
+
required: string[];
|
|
366
|
+
properties: {
|
|
367
|
+
did: {
|
|
368
|
+
type: string;
|
|
369
|
+
format: string;
|
|
370
|
+
};
|
|
371
|
+
handle: {
|
|
372
|
+
type: string;
|
|
373
|
+
format: string;
|
|
374
|
+
};
|
|
375
|
+
email: {
|
|
376
|
+
type: string;
|
|
377
|
+
};
|
|
378
|
+
indexedAt: {
|
|
379
|
+
type: string;
|
|
380
|
+
format: string;
|
|
381
|
+
};
|
|
382
|
+
invitedBy: {
|
|
383
|
+
type: string;
|
|
384
|
+
ref: string;
|
|
385
|
+
};
|
|
386
|
+
invites: {
|
|
387
|
+
type: string;
|
|
388
|
+
items: {
|
|
389
|
+
type: string;
|
|
390
|
+
ref: string;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
invitesDisabled: {
|
|
394
|
+
type: string;
|
|
395
|
+
};
|
|
396
|
+
inviteNote: {
|
|
397
|
+
type: string;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
};
|
|
351
401
|
repoViewNotFound: {
|
|
352
402
|
type: string;
|
|
353
403
|
required: string[];
|
|
@@ -368,6 +418,24 @@ export declare const schemaDict: {
|
|
|
368
418
|
};
|
|
369
419
|
};
|
|
370
420
|
};
|
|
421
|
+
repoBlobRef: {
|
|
422
|
+
type: string;
|
|
423
|
+
required: string[];
|
|
424
|
+
properties: {
|
|
425
|
+
did: {
|
|
426
|
+
type: string;
|
|
427
|
+
format: string;
|
|
428
|
+
};
|
|
429
|
+
cid: {
|
|
430
|
+
type: string;
|
|
431
|
+
format: string;
|
|
432
|
+
};
|
|
433
|
+
recordUri: {
|
|
434
|
+
type: string;
|
|
435
|
+
format: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
};
|
|
371
439
|
recordView: {
|
|
372
440
|
type: string;
|
|
373
441
|
required: string[];
|
|
@@ -631,6 +699,33 @@ export declare const schemaDict: {
|
|
|
631
699
|
};
|
|
632
700
|
};
|
|
633
701
|
};
|
|
702
|
+
ComAtprotoAdminGetAccountInfo: {
|
|
703
|
+
lexicon: number;
|
|
704
|
+
id: string;
|
|
705
|
+
defs: {
|
|
706
|
+
main: {
|
|
707
|
+
type: string;
|
|
708
|
+
description: string;
|
|
709
|
+
parameters: {
|
|
710
|
+
type: string;
|
|
711
|
+
required: string[];
|
|
712
|
+
properties: {
|
|
713
|
+
did: {
|
|
714
|
+
type: string;
|
|
715
|
+
format: string;
|
|
716
|
+
};
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
output: {
|
|
720
|
+
encoding: string;
|
|
721
|
+
schema: {
|
|
722
|
+
type: string;
|
|
723
|
+
ref: string;
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
};
|
|
634
729
|
ComAtprotoAdminGetInviteCodes: {
|
|
635
730
|
lexicon: number;
|
|
636
731
|
id: string;
|
|
@@ -916,6 +1011,50 @@ export declare const schemaDict: {
|
|
|
916
1011
|
};
|
|
917
1012
|
};
|
|
918
1013
|
};
|
|
1014
|
+
ComAtprotoAdminGetSubjectStatus: {
|
|
1015
|
+
lexicon: number;
|
|
1016
|
+
id: string;
|
|
1017
|
+
defs: {
|
|
1018
|
+
main: {
|
|
1019
|
+
type: string;
|
|
1020
|
+
description: string;
|
|
1021
|
+
parameters: {
|
|
1022
|
+
type: string;
|
|
1023
|
+
properties: {
|
|
1024
|
+
did: {
|
|
1025
|
+
type: string;
|
|
1026
|
+
format: string;
|
|
1027
|
+
};
|
|
1028
|
+
uri: {
|
|
1029
|
+
type: string;
|
|
1030
|
+
format: string;
|
|
1031
|
+
};
|
|
1032
|
+
blob: {
|
|
1033
|
+
type: string;
|
|
1034
|
+
format: string;
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
output: {
|
|
1039
|
+
encoding: string;
|
|
1040
|
+
schema: {
|
|
1041
|
+
type: string;
|
|
1042
|
+
required: string[];
|
|
1043
|
+
properties: {
|
|
1044
|
+
subject: {
|
|
1045
|
+
type: string;
|
|
1046
|
+
refs: string[];
|
|
1047
|
+
};
|
|
1048
|
+
takedown: {
|
|
1049
|
+
type: string;
|
|
1050
|
+
ref: string;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
919
1058
|
ComAtprotoAdminResolveModerationReports: {
|
|
920
1059
|
lexicon: number;
|
|
921
1060
|
id: string;
|
|
@@ -1008,9 +1147,6 @@ export declare const schemaDict: {
|
|
|
1008
1147
|
q: {
|
|
1009
1148
|
type: string;
|
|
1010
1149
|
};
|
|
1011
|
-
invitedBy: {
|
|
1012
|
-
type: string;
|
|
1013
|
-
};
|
|
1014
1150
|
limit: {
|
|
1015
1151
|
type: string;
|
|
1016
1152
|
minimum: number;
|
|
@@ -1206,6 +1342,50 @@ export declare const schemaDict: {
|
|
|
1206
1342
|
};
|
|
1207
1343
|
};
|
|
1208
1344
|
};
|
|
1345
|
+
ComAtprotoAdminUpdateSubjectStatus: {
|
|
1346
|
+
lexicon: number;
|
|
1347
|
+
id: string;
|
|
1348
|
+
defs: {
|
|
1349
|
+
main: {
|
|
1350
|
+
type: string;
|
|
1351
|
+
description: string;
|
|
1352
|
+
input: {
|
|
1353
|
+
encoding: string;
|
|
1354
|
+
schema: {
|
|
1355
|
+
type: string;
|
|
1356
|
+
required: string[];
|
|
1357
|
+
properties: {
|
|
1358
|
+
subject: {
|
|
1359
|
+
type: string;
|
|
1360
|
+
refs: string[];
|
|
1361
|
+
};
|
|
1362
|
+
takedown: {
|
|
1363
|
+
type: string;
|
|
1364
|
+
ref: string;
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
};
|
|
1369
|
+
output: {
|
|
1370
|
+
encoding: string;
|
|
1371
|
+
schema: {
|
|
1372
|
+
type: string;
|
|
1373
|
+
required: string[];
|
|
1374
|
+
properties: {
|
|
1375
|
+
subject: {
|
|
1376
|
+
type: string;
|
|
1377
|
+
refs: string[];
|
|
1378
|
+
};
|
|
1379
|
+
takedown: {
|
|
1380
|
+
type: string;
|
|
1381
|
+
ref: string;
|
|
1382
|
+
};
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1209
1389
|
ComAtprotoIdentityResolveHandle: {
|
|
1210
1390
|
lexicon: number;
|
|
1211
1391
|
id: string;
|
|
@@ -1490,6 +1670,8 @@ export declare const schemaDict: {
|
|
|
1490
1670
|
};
|
|
1491
1671
|
reason: {
|
|
1492
1672
|
type: string;
|
|
1673
|
+
maxGraphemes: number;
|
|
1674
|
+
maxLength: number;
|
|
1493
1675
|
};
|
|
1494
1676
|
subject: {
|
|
1495
1677
|
type: string;
|
|
@@ -2121,6 +2303,9 @@ export declare const schemaDict: {
|
|
|
2121
2303
|
recoveryKey: {
|
|
2122
2304
|
type: string;
|
|
2123
2305
|
};
|
|
2306
|
+
plcOp: {
|
|
2307
|
+
type: string;
|
|
2308
|
+
};
|
|
2124
2309
|
};
|
|
2125
2310
|
};
|
|
2126
2311
|
};
|
|
@@ -2144,6 +2329,9 @@ export declare const schemaDict: {
|
|
|
2144
2329
|
type: string;
|
|
2145
2330
|
format: string;
|
|
2146
2331
|
};
|
|
2332
|
+
didDoc: {
|
|
2333
|
+
type: string;
|
|
2334
|
+
};
|
|
2147
2335
|
};
|
|
2148
2336
|
};
|
|
2149
2337
|
};
|
|
@@ -2346,6 +2534,9 @@ export declare const schemaDict: {
|
|
|
2346
2534
|
type: string;
|
|
2347
2535
|
format: string;
|
|
2348
2536
|
};
|
|
2537
|
+
didDoc: {
|
|
2538
|
+
type: string;
|
|
2539
|
+
};
|
|
2349
2540
|
email: {
|
|
2350
2541
|
type: string;
|
|
2351
2542
|
};
|
|
@@ -2642,6 +2833,9 @@ export declare const schemaDict: {
|
|
|
2642
2833
|
type: string;
|
|
2643
2834
|
format: string;
|
|
2644
2835
|
};
|
|
2836
|
+
didDoc: {
|
|
2837
|
+
type: string;
|
|
2838
|
+
};
|
|
2645
2839
|
};
|
|
2646
2840
|
};
|
|
2647
2841
|
};
|
|
@@ -2715,6 +2909,41 @@ export declare const schemaDict: {
|
|
|
2715
2909
|
};
|
|
2716
2910
|
};
|
|
2717
2911
|
};
|
|
2912
|
+
ComAtprotoServerReserveSigningKey: {
|
|
2913
|
+
lexicon: number;
|
|
2914
|
+
id: string;
|
|
2915
|
+
defs: {
|
|
2916
|
+
main: {
|
|
2917
|
+
type: string;
|
|
2918
|
+
description: string;
|
|
2919
|
+
input: {
|
|
2920
|
+
encoding: string;
|
|
2921
|
+
schema: {
|
|
2922
|
+
type: string;
|
|
2923
|
+
properties: {
|
|
2924
|
+
did: {
|
|
2925
|
+
type: string;
|
|
2926
|
+
description: string;
|
|
2927
|
+
};
|
|
2928
|
+
};
|
|
2929
|
+
};
|
|
2930
|
+
};
|
|
2931
|
+
output: {
|
|
2932
|
+
encoding: string;
|
|
2933
|
+
schema: {
|
|
2934
|
+
type: string;
|
|
2935
|
+
required: string[];
|
|
2936
|
+
properties: {
|
|
2937
|
+
signingKey: {
|
|
2938
|
+
type: string;
|
|
2939
|
+
description: string;
|
|
2940
|
+
};
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
};
|
|
2945
|
+
};
|
|
2946
|
+
};
|
|
2718
2947
|
ComAtprotoServerResetPassword: {
|
|
2719
2948
|
lexicon: number;
|
|
2720
2949
|
id: string;
|
|
@@ -3125,6 +3354,9 @@ export declare const schemaDict: {
|
|
|
3125
3354
|
type: string;
|
|
3126
3355
|
format: string;
|
|
3127
3356
|
};
|
|
3357
|
+
rev: {
|
|
3358
|
+
type: string;
|
|
3359
|
+
};
|
|
3128
3360
|
};
|
|
3129
3361
|
};
|
|
3130
3362
|
};
|
|
@@ -3501,6 +3733,10 @@ export declare const schemaDict: {
|
|
|
3501
3733
|
type: string;
|
|
3502
3734
|
format: string;
|
|
3503
3735
|
};
|
|
3736
|
+
blockingByList: {
|
|
3737
|
+
type: string;
|
|
3738
|
+
ref: string;
|
|
3739
|
+
};
|
|
3504
3740
|
following: {
|
|
3505
3741
|
type: string;
|
|
3506
3742
|
format: string;
|
|
@@ -6901,6 +7137,7 @@ export declare const ids: {
|
|
|
6901
7137
|
ComAtprotoAdminDisableAccountInvites: string;
|
|
6902
7138
|
ComAtprotoAdminDisableInviteCodes: string;
|
|
6903
7139
|
ComAtprotoAdminEnableAccountInvites: string;
|
|
7140
|
+
ComAtprotoAdminGetAccountInfo: string;
|
|
6904
7141
|
ComAtprotoAdminGetInviteCodes: string;
|
|
6905
7142
|
ComAtprotoAdminGetModerationAction: string;
|
|
6906
7143
|
ComAtprotoAdminGetModerationActions: string;
|
|
@@ -6908,6 +7145,7 @@ export declare const ids: {
|
|
|
6908
7145
|
ComAtprotoAdminGetModerationReports: string;
|
|
6909
7146
|
ComAtprotoAdminGetRecord: string;
|
|
6910
7147
|
ComAtprotoAdminGetRepo: string;
|
|
7148
|
+
ComAtprotoAdminGetSubjectStatus: string;
|
|
6911
7149
|
ComAtprotoAdminResolveModerationReports: string;
|
|
6912
7150
|
ComAtprotoAdminReverseModerationAction: string;
|
|
6913
7151
|
ComAtprotoAdminSearchRepos: string;
|
|
@@ -6915,6 +7153,7 @@ export declare const ids: {
|
|
|
6915
7153
|
ComAtprotoAdminTakeModerationAction: string;
|
|
6916
7154
|
ComAtprotoAdminUpdateAccountEmail: string;
|
|
6917
7155
|
ComAtprotoAdminUpdateAccountHandle: string;
|
|
7156
|
+
ComAtprotoAdminUpdateSubjectStatus: string;
|
|
6918
7157
|
ComAtprotoIdentityResolveHandle: string;
|
|
6919
7158
|
ComAtprotoIdentityUpdateHandle: string;
|
|
6920
7159
|
ComAtprotoLabelDefs: string;
|
|
@@ -6949,6 +7188,7 @@ export declare const ids: {
|
|
|
6949
7188
|
ComAtprotoServerRequestEmailConfirmation: string;
|
|
6950
7189
|
ComAtprotoServerRequestEmailUpdate: string;
|
|
6951
7190
|
ComAtprotoServerRequestPasswordReset: string;
|
|
7191
|
+
ComAtprotoServerReserveSigningKey: string;
|
|
6952
7192
|
ComAtprotoServerResetPassword: string;
|
|
6953
7193
|
ComAtprotoServerRevokeAppPassword: string;
|
|
6954
7194
|
ComAtprotoServerUpdateEmail: string;
|
|
@@ -3,6 +3,13 @@ import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
|
|
|
3
3
|
import * as ComAtprotoModerationDefs from '../moderation/defs';
|
|
4
4
|
import * as ComAtprotoServerDefs from '../server/defs';
|
|
5
5
|
import * as ComAtprotoLabelDefs from '../label/defs';
|
|
6
|
+
export interface StatusAttr {
|
|
7
|
+
applied: boolean;
|
|
8
|
+
ref?: string;
|
|
9
|
+
[k: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
export declare function isStatusAttr(v: unknown): v is StatusAttr;
|
|
12
|
+
export declare function validateStatusAttr(v: unknown): ValidationResult;
|
|
6
13
|
export interface ActionView {
|
|
7
14
|
id: number;
|
|
8
15
|
action: ActionType;
|
|
@@ -125,6 +132,19 @@ export interface RepoViewDetail {
|
|
|
125
132
|
}
|
|
126
133
|
export declare function isRepoViewDetail(v: unknown): v is RepoViewDetail;
|
|
127
134
|
export declare function validateRepoViewDetail(v: unknown): ValidationResult;
|
|
135
|
+
export interface AccountView {
|
|
136
|
+
did: string;
|
|
137
|
+
handle: string;
|
|
138
|
+
email?: string;
|
|
139
|
+
indexedAt: string;
|
|
140
|
+
invitedBy?: ComAtprotoServerDefs.InviteCode;
|
|
141
|
+
invites?: ComAtprotoServerDefs.InviteCode[];
|
|
142
|
+
invitesDisabled?: boolean;
|
|
143
|
+
inviteNote?: string;
|
|
144
|
+
[k: string]: unknown;
|
|
145
|
+
}
|
|
146
|
+
export declare function isAccountView(v: unknown): v is AccountView;
|
|
147
|
+
export declare function validateAccountView(v: unknown): ValidationResult;
|
|
128
148
|
export interface RepoViewNotFound {
|
|
129
149
|
did: string;
|
|
130
150
|
[k: string]: unknown;
|
|
@@ -137,6 +157,14 @@ export interface RepoRef {
|
|
|
137
157
|
}
|
|
138
158
|
export declare function isRepoRef(v: unknown): v is RepoRef;
|
|
139
159
|
export declare function validateRepoRef(v: unknown): ValidationResult;
|
|
160
|
+
export interface RepoBlobRef {
|
|
161
|
+
did: string;
|
|
162
|
+
cid: string;
|
|
163
|
+
recordUri?: string;
|
|
164
|
+
[k: string]: unknown;
|
|
165
|
+
}
|
|
166
|
+
export declare function isRepoBlobRef(v: unknown): v is RepoBlobRef;
|
|
167
|
+
export declare function validateRepoBlobRef(v: unknown): ValidationResult;
|
|
140
168
|
export interface RecordView {
|
|
141
169
|
uri: string;
|
|
142
170
|
cid: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import express from 'express';
|
|
2
|
+
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
3
|
+
import * as ComAtprotoAdminDefs from './defs';
|
|
4
|
+
export interface QueryParams {
|
|
5
|
+
did: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type InputSchema = undefined;
|
|
8
|
+
export declare type OutputSchema = ComAtprotoAdminDefs.AccountView;
|
|
9
|
+
export declare type HandlerInput = undefined;
|
|
10
|
+
export interface HandlerSuccess {
|
|
11
|
+
encoding: 'application/json';
|
|
12
|
+
body: OutputSchema;
|
|
13
|
+
headers?: {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export interface HandlerError {
|
|
18
|
+
status: number;
|
|
19
|
+
message?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare type HandlerOutput = HandlerError | HandlerSuccess;
|
|
22
|
+
export declare type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
23
|
+
auth: HA;
|
|
24
|
+
params: QueryParams;
|
|
25
|
+
input: HandlerInput;
|
|
26
|
+
req: express.Request;
|
|
27
|
+
res: express.Response;
|
|
28
|
+
};
|
|
29
|
+
export declare type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import express from 'express';
|
|
2
|
+
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
3
|
+
import * as ComAtprotoAdminDefs from './defs';
|
|
4
|
+
import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
|
|
5
|
+
export interface QueryParams {
|
|
6
|
+
did?: string;
|
|
7
|
+
uri?: string;
|
|
8
|
+
blob?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare type InputSchema = undefined;
|
|
11
|
+
export interface OutputSchema {
|
|
12
|
+
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | ComAtprotoAdminDefs.RepoBlobRef | {
|
|
13
|
+
$type: string;
|
|
14
|
+
[k: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
takedown?: ComAtprotoAdminDefs.StatusAttr;
|
|
17
|
+
[k: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export declare type HandlerInput = undefined;
|
|
20
|
+
export interface HandlerSuccess {
|
|
21
|
+
encoding: 'application/json';
|
|
22
|
+
body: OutputSchema;
|
|
23
|
+
headers?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export interface HandlerError {
|
|
28
|
+
status: number;
|
|
29
|
+
message?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare type HandlerOutput = HandlerError | HandlerSuccess;
|
|
32
|
+
export declare type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
33
|
+
auth: HA;
|
|
34
|
+
params: QueryParams;
|
|
35
|
+
input: HandlerInput;
|
|
36
|
+
req: express.Request;
|
|
37
|
+
res: express.Response;
|
|
38
|
+
};
|
|
39
|
+
export declare type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import express from 'express';
|
|
2
|
+
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
3
|
+
import * as ComAtprotoAdminDefs from './defs';
|
|
4
|
+
import * as ComAtprotoRepoStrongRef from '../repo/strongRef';
|
|
5
|
+
export interface QueryParams {
|
|
6
|
+
}
|
|
7
|
+
export interface InputSchema {
|
|
8
|
+
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | ComAtprotoAdminDefs.RepoBlobRef | {
|
|
9
|
+
$type: string;
|
|
10
|
+
[k: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
takedown?: ComAtprotoAdminDefs.StatusAttr;
|
|
13
|
+
[k: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
export interface OutputSchema {
|
|
16
|
+
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | ComAtprotoAdminDefs.RepoBlobRef | {
|
|
17
|
+
$type: string;
|
|
18
|
+
[k: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
takedown?: ComAtprotoAdminDefs.StatusAttr;
|
|
21
|
+
[k: string]: unknown;
|
|
22
|
+
}
|
|
23
|
+
export interface HandlerInput {
|
|
24
|
+
encoding: 'application/json';
|
|
25
|
+
body: InputSchema;
|
|
26
|
+
}
|
|
27
|
+
export interface HandlerSuccess {
|
|
28
|
+
encoding: 'application/json';
|
|
29
|
+
body: OutputSchema;
|
|
30
|
+
headers?: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export interface HandlerError {
|
|
35
|
+
status: number;
|
|
36
|
+
message?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare type HandlerOutput = HandlerError | HandlerSuccess;
|
|
39
|
+
export declare type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
40
|
+
auth: HA;
|
|
41
|
+
params: QueryParams;
|
|
42
|
+
input: HandlerInput;
|
|
43
|
+
req: express.Request;
|
|
44
|
+
res: express.Response;
|
|
45
|
+
};
|
|
46
|
+
export declare type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -3,12 +3,13 @@ import { HandlerAuth } from '@atproto/xrpc-server';
|
|
|
3
3
|
export interface QueryParams {
|
|
4
4
|
}
|
|
5
5
|
export interface InputSchema {
|
|
6
|
-
email
|
|
6
|
+
email?: string;
|
|
7
7
|
handle: string;
|
|
8
8
|
did?: string;
|
|
9
9
|
inviteCode?: string;
|
|
10
|
-
password
|
|
10
|
+
password?: string;
|
|
11
11
|
recoveryKey?: string;
|
|
12
|
+
plcOp?: {};
|
|
12
13
|
[k: string]: unknown;
|
|
13
14
|
}
|
|
14
15
|
export interface OutputSchema {
|
|
@@ -16,6 +17,7 @@ export interface OutputSchema {
|
|
|
16
17
|
refreshJwt: string;
|
|
17
18
|
handle: string;
|
|
18
19
|
did: string;
|
|
20
|
+
didDoc?: {};
|
|
19
21
|
[k: string]: unknown;
|
|
20
22
|
}
|
|
21
23
|
export interface HandlerInput {
|