@atproto/api 0.11.0-next.0 → 0.11.1
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 +72 -0
- package/README.md +41 -58
- package/babel.config.js +3 -0
- package/build.js +15 -0
- package/definitions/labels.json +140 -195
- package/dist/agent.d.ts +14 -72
- package/dist/bsky-agent.d.ts +9 -4
- package/dist/client/index.d.ts +94 -42
- package/dist/client/lexicons.d.ts +5057 -4754
- package/dist/client/types/app/bsky/actor/defs.d.ts +24 -22
- package/dist/client/types/app/bsky/actor/getPreferences.d.ts +0 -4
- package/dist/client/types/app/bsky/actor/getProfile.d.ts +0 -5
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts +0 -4
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts +0 -4
- package/dist/client/types/app/bsky/actor/profile.d.ts +0 -7
- package/dist/client/types/app/bsky/actor/putPreferences.d.ts +0 -4
- package/dist/client/types/app/bsky/actor/searchActors.d.ts +0 -6
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts +0 -6
- package/dist/client/types/app/bsky/embed/external.d.ts +0 -5
- package/dist/client/types/app/bsky/embed/images.d.ts +0 -9
- package/dist/client/types/app/bsky/embed/record.d.ts +2 -6
- package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/defs.d.ts +1 -5
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/generator.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/getActorLikes.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts +0 -5
- package/dist/client/types/app/bsky/feed/getFeed.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts +0 -7
- package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts +0 -5
- package/dist/client/types/app/bsky/feed/getLikes.d.ts +0 -6
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts +0 -5
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts +0 -7
- package/dist/client/types/app/bsky/feed/getPosts.d.ts +0 -5
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts +0 -6
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts +0 -5
- package/dist/client/types/app/bsky/feed/like.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/post.d.ts +0 -13
- package/dist/client/types/app/bsky/feed/repost.d.ts +0 -4
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts +0 -7
- package/dist/client/types/app/bsky/feed/threadgate.d.ts +0 -8
- package/dist/client/types/app/bsky/graph/block.d.ts +0 -5
- package/dist/client/types/app/bsky/graph/defs.d.ts +3 -10
- package/dist/client/types/app/bsky/graph/follow.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/getBlocks.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/getFollows.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/getList.d.ts +0 -5
- package/dist/client/types/app/bsky/graph/getListBlocks.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/getListMutes.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/getLists.d.ts +0 -5
- package/dist/client/types/app/bsky/graph/getMutes.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/getRelationships.d.ts +0 -6
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/list.d.ts +0 -5
- package/dist/client/types/app/bsky/graph/listblock.d.ts +0 -5
- package/dist/client/types/app/bsky/graph/listitem.d.ts +0 -6
- package/dist/client/types/app/bsky/graph/muteActor.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/muteActorList.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/unmuteActor.d.ts +0 -4
- package/dist/client/types/app/bsky/graph/unmuteActorList.d.ts +0 -4
- package/dist/client/types/app/bsky/labeler/defs.d.ts +41 -0
- package/dist/client/types/app/bsky/labeler/getServices.d.ts +23 -0
- package/dist/client/types/app/bsky/labeler/service.d.ts +14 -0
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts +0 -4
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts +0 -5
- package/dist/client/types/app/bsky/notification/registerPush.d.ts +0 -4
- package/dist/client/types/app/bsky/notification/updateSeen.d.ts +0 -4
- package/dist/client/types/app/bsky/richtext/facet.d.ts +0 -9
- package/dist/client/types/app/bsky/unspecced/defs.d.ts +0 -4
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +0 -4
- package/dist/client/types/app/bsky/unspecced/getTaggedSuggestions.d.ts +0 -4
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +0 -8
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +0 -7
- package/dist/client/types/com/atproto/admin/defs.d.ts +0 -340
- package/dist/client/types/com/atproto/admin/deleteAccount.d.ts +0 -4
- package/dist/client/types/com/atproto/admin/disableAccountInvites.d.ts +0 -5
- package/dist/client/types/com/atproto/admin/disableInviteCodes.d.ts +0 -4
- package/dist/client/types/com/atproto/admin/enableAccountInvites.d.ts +0 -5
- package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts +0 -4
- package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts +0 -4
- package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts +0 -4
- package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts +0 -4
- package/dist/client/types/com/atproto/admin/sendEmail.d.ts +0 -5
- package/dist/client/types/com/atproto/admin/updateAccountEmail.d.ts +0 -5
- package/dist/client/types/com/atproto/admin/updateAccountHandle.d.ts +0 -4
- package/dist/client/types/com/atproto/admin/updateAccountPassword.d.ts +0 -4
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts +0 -4
- package/dist/client/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +0 -5
- package/dist/client/types/com/atproto/identity/requestPlcOperationSignature.d.ts +0 -4
- package/dist/client/types/com/atproto/identity/resolveHandle.d.ts +0 -5
- package/dist/client/types/com/atproto/identity/signPlcOperation.d.ts +0 -6
- package/dist/client/types/com/atproto/identity/submitPlcOperation.d.ts +0 -4
- package/dist/client/types/com/atproto/identity/updateHandle.d.ts +0 -5
- package/dist/client/types/com/atproto/label/defs.d.ts +23 -14
- package/dist/client/types/com/atproto/label/queryLabels.d.ts +0 -6
- package/dist/client/types/com/atproto/label/subscribeLabels.d.ts +0 -1
- package/dist/client/types/com/atproto/moderation/createReport.d.ts +0 -5
- package/dist/client/types/com/atproto/moderation/defs.d.ts +0 -8
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts +0 -10
- package/dist/client/types/com/atproto/repo/createRecord.d.ts +0 -10
- package/dist/client/types/com/atproto/repo/deleteRecord.d.ts +0 -9
- package/dist/client/types/com/atproto/repo/describeRepo.d.ts +0 -8
- package/dist/client/types/com/atproto/repo/getRecord.d.ts +0 -8
- package/dist/client/types/com/atproto/repo/importRepo.d.ts +0 -4
- package/dist/client/types/com/atproto/repo/listMissingBlobs.d.ts +0 -4
- package/dist/client/types/com/atproto/repo/listRecords.d.ts +0 -10
- package/dist/client/types/com/atproto/repo/putRecord.d.ts +0 -11
- package/dist/client/types/com/atproto/repo/strongRef.d.ts +0 -4
- package/dist/client/types/com/atproto/repo/uploadBlob.d.ts +0 -4
- package/dist/client/types/com/atproto/server/activateAccount.d.ts +0 -4
- package/dist/client/types/com/atproto/server/checkAccountStatus.d.ts +0 -4
- package/dist/client/types/com/atproto/server/confirmEmail.d.ts +0 -4
- package/dist/client/types/com/atproto/server/createAccount.d.ts +0 -12
- package/dist/client/types/com/atproto/server/createAppPassword.d.ts +0 -5
- package/dist/client/types/com/atproto/server/createInviteCode.d.ts +0 -4
- package/dist/client/types/com/atproto/server/createInviteCodes.d.ts +0 -4
- package/dist/client/types/com/atproto/server/createSession.d.ts +0 -5
- package/dist/client/types/com/atproto/server/deactivateAccount.d.ts +0 -5
- package/dist/client/types/com/atproto/server/defs.d.ts +0 -4
- package/dist/client/types/com/atproto/server/deleteAccount.d.ts +0 -4
- package/dist/client/types/com/atproto/server/deleteSession.d.ts +0 -4
- package/dist/client/types/com/atproto/server/describeServer.d.ts +7 -7
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts +0 -5
- package/dist/client/types/com/atproto/server/getServiceAuth.d.ts +0 -5
- package/dist/client/types/com/atproto/server/getSession.d.ts +0 -4
- package/dist/client/types/com/atproto/server/listAppPasswords.d.ts +0 -4
- package/dist/client/types/com/atproto/server/refreshSession.d.ts +0 -4
- package/dist/client/types/com/atproto/server/requestAccountDelete.d.ts +0 -4
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.d.ts +0 -4
- package/dist/client/types/com/atproto/server/requestEmailUpdate.d.ts +0 -4
- package/dist/client/types/com/atproto/server/requestPasswordReset.d.ts +0 -4
- package/dist/client/types/com/atproto/server/reserveSigningKey.d.ts +0 -6
- package/dist/client/types/com/atproto/server/resetPassword.d.ts +0 -4
- package/dist/client/types/com/atproto/server/revokeAppPassword.d.ts +0 -4
- package/dist/client/types/com/atproto/server/updateEmail.d.ts +0 -5
- package/dist/client/types/com/atproto/sync/getBlob.d.ts +0 -6
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts +0 -5
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts +0 -5
- package/dist/client/types/com/atproto/sync/getHead.d.ts +0 -5
- package/dist/client/types/com/atproto/sync/getLatestCommit.d.ts +0 -5
- package/dist/client/types/com/atproto/sync/getRecord.d.ts +0 -7
- package/dist/client/types/com/atproto/sync/getRepo.d.ts +0 -6
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts +0 -6
- package/dist/client/types/com/atproto/sync/listRepos.d.ts +0 -5
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts +0 -5
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts +0 -5
- package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts +0 -18
- package/dist/client/types/com/atproto/temp/checkSignupQueue.d.ts +0 -4
- package/dist/client/types/com/atproto/temp/fetchLabels.d.ts +0 -4
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.d.ts +0 -4
- package/dist/client/types/{com/atproto/admin/createCommunicationTemplate.d.ts → tools/ozone/communication/createTemplate.d.ts} +2 -10
- package/dist/client/types/tools/ozone/communication/defs.d.ts +14 -0
- package/dist/client/types/{com/atproto/admin/deleteCommunicationTemplate.d.ts → tools/ozone/communication/deleteTemplate.d.ts} +0 -4
- package/dist/client/types/{com/atproto/admin/listCommunicationTemplates.d.ts → tools/ozone/communication/listTemplates.d.ts} +2 -6
- package/dist/client/types/{com/atproto/admin/updateCommunicationTemplate.d.ts → tools/ozone/communication/updateTemplate.d.ts} +2 -11
- package/dist/client/types/tools/ozone/moderation/defs.d.ts +269 -0
- package/dist/client/types/tools/ozone/moderation/emitEvent.d.ts +34 -0
- package/dist/client/types/{com/atproto/admin/getModerationEvent.d.ts → tools/ozone/moderation/getEvent.d.ts} +2 -6
- package/dist/client/types/{com/atproto/admin → tools/ozone/moderation}/getRecord.d.ts +2 -6
- package/dist/client/types/{com/atproto/admin → tools/ozone/moderation}/getRepo.d.ts +2 -6
- package/dist/client/types/tools/ozone/moderation/queryEvents.d.ts +35 -0
- package/dist/client/types/{com/atproto/admin/queryModerationStatuses.d.ts → tools/ozone/moderation/queryStatuses.d.ts} +2 -16
- package/dist/client/types/{com/atproto/admin → tools/ozone/moderation}/searchRepos.d.ts +2 -7
- package/dist/client/util.d.ts +0 -4
- package/dist/const.d.ts +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +32716 -43
- package/dist/index.js.map +7 -1
- package/dist/mocker.d.ts +58 -0
- package/dist/moderation/const/labels.d.ts +4 -4
- package/dist/moderation/decision.d.ts +28 -0
- package/dist/moderation/index.d.ts +11 -45
- package/dist/moderation/mutewords.d.ts +8 -0
- package/dist/moderation/subjects/account.d.ts +2 -2
- package/dist/moderation/subjects/feed-generator.d.ts +3 -3
- package/dist/moderation/subjects/notification.d.ts +3 -0
- package/dist/moderation/subjects/post.d.ts +2 -2
- package/dist/moderation/subjects/profile.d.ts +2 -2
- package/dist/moderation/subjects/user-list.d.ts +3 -3
- package/dist/moderation/types.d.ts +63 -62
- package/dist/moderation/ui.d.ts +12 -0
- package/dist/moderation/util.d.ts +4 -9
- package/dist/rich-text/detection.d.ts +0 -1
- package/dist/rich-text/rich-text.d.ts +0 -13
- package/dist/rich-text/sanitization.d.ts +0 -1
- package/dist/rich-text/unicode.d.ts +0 -9
- package/dist/rich-text/util.d.ts +4 -0
- package/dist/types.d.ts +5 -45
- package/dist/util.d.ts +1 -0
- package/docs/moderation.md +204 -97
- package/jest.bench.config.js +8 -0
- package/jest.config.js +3 -6
- package/package.json +17 -13
- package/scripts/code/labels.mjs +17 -35
- package/scripts/generate-code.mjs +0 -1
- package/src/agent.ts +79 -13
- package/src/bsky-agent.ts +394 -92
- package/src/client/index.ts +292 -173
- package/src/client/lexicons.ts +6251 -5935
- package/src/client/types/app/bsky/actor/defs.ts +58 -2
- package/src/client/types/app/bsky/embed/record.ts +2 -0
- package/src/client/types/app/bsky/feed/defs.ts +1 -0
- package/src/client/types/app/bsky/graph/defs.ts +3 -0
- package/src/client/types/app/bsky/labeler/defs.ts +93 -0
- package/src/client/types/app/bsky/labeler/getServices.ts +41 -0
- package/src/client/types/app/bsky/labeler/service.ts +31 -0
- package/src/client/types/com/atproto/admin/defs.ts +0 -692
- package/src/client/types/com/atproto/label/defs.ts +78 -0
- package/src/client/types/com/atproto/server/describeServer.ts +18 -0
- package/src/client/types/{com/atproto/admin/createCommunicationTemplate.ts → tools/ozone/communication/createTemplate.ts} +2 -2
- package/src/client/types/tools/ozone/communication/defs.ts +35 -0
- package/src/client/types/{com/atproto/admin/listCommunicationTemplates.ts → tools/ozone/communication/listTemplates.ts} +2 -2
- package/src/client/types/{com/atproto/admin/updateCommunicationTemplate.ts → tools/ozone/communication/updateTemplate.ts} +2 -2
- package/src/client/types/tools/ozone/moderation/defs.ts +641 -0
- package/src/client/types/{com/atproto/admin/emitModerationEvent.ts → tools/ozone/moderation/emitEvent.ts} +15 -14
- package/src/client/types/{com/atproto/admin/getModerationEvent.ts → tools/ozone/moderation/getEvent.ts} +2 -2
- package/src/client/types/{com/atproto/admin → tools/ozone/moderation}/getRecord.ts +2 -2
- package/src/client/types/{com/atproto/admin → tools/ozone/moderation}/getRepo.ts +2 -2
- package/src/client/types/{com/atproto/admin/queryModerationEvents.ts → tools/ozone/moderation/queryEvents.ts} +3 -3
- package/src/client/types/{com/atproto/admin/queryModerationStatuses.ts → tools/ozone/moderation/queryStatuses.ts} +2 -2
- package/src/client/types/{com/atproto/admin → tools/ozone/moderation}/searchRepos.ts +2 -2
- package/src/const.ts +1 -0
- package/src/index.ts +5 -2
- package/src/mocker.ts +218 -0
- package/src/moderation/const/labels.ts +193 -856
- package/src/moderation/decision.ts +383 -0
- package/src/moderation/index.ts +26 -311
- package/src/moderation/mutewords.ts +125 -0
- package/src/moderation/subjects/account.ts +6 -10
- package/src/moderation/subjects/feed-generator.ts +20 -9
- package/src/moderation/subjects/notification.ts +25 -0
- package/src/moderation/subjects/post.ts +263 -8
- package/src/moderation/subjects/profile.ts +6 -11
- package/src/moderation/subjects/user-list.ts +40 -9
- package/src/moderation/types.ts +124 -81
- package/src/moderation/ui.ts +21 -0
- package/src/moderation/util.ts +99 -72
- package/src/rich-text/detection.ts +18 -12
- package/src/rich-text/util.ts +11 -0
- package/src/types.ts +9 -12
- package/src/util.ts +6 -0
- package/tests/agent.test.ts +86 -0
- package/tests/bsky-agent.test.ts +556 -196
- package/tests/moderation-behaviors.test.ts +914 -0
- package/tests/moderation-custom-labels.test.ts +333 -0
- package/tests/moderation-mutewords.test.ts +691 -0
- package/tests/moderation-prefs.test.ts +341 -0
- package/tests/moderation-quoteposts.test.ts +277 -0
- package/tests/moderation.test.ts +550 -183
- package/tests/rich-text-detection.test.ts +54 -7
- package/tests/util/echo-server.ts +21 -0
- package/tests/util/index.ts +1 -154
- package/tests/util/moderation-behavior.ts +178 -24
- package/tsconfig.build.json +2 -7
- package/tsconfig.json +9 -3
- package/definitions/locale/en/label-groups.json +0 -38
- package/definitions/locale/en/labels.json +0 -394
- package/definitions/locale/en/proposed-label-groups.json +0 -38
- package/definitions/locale/en/proposed-labels.json +0 -632
- package/definitions/moderation-behaviors.d.ts +0 -50
- package/definitions/post-moderation-behaviors.json +0 -1222
- package/definitions/profile-moderation-behaviors.json +0 -597
- package/definitions/proposed-labels.json +0 -326
- package/dist/agent.d.ts.map +0 -1
- package/dist/agent.js +0 -363
- package/dist/agent.js.map +0 -1
- package/dist/bsky-agent.d.ts.map +0 -1
- package/dist/bsky-agent.js +0 -648
- package/dist/bsky-agent.js.map +0 -1
- package/dist/client/index.d.ts.map +0 -1
- package/dist/client/index.js +0 -2063
- package/dist/client/index.js.map +0 -1
- package/dist/client/lexicons.d.ts.map +0 -1
- package/dist/client/lexicons.js +0 -8776
- package/dist/client/lexicons.js.map +0 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +0 -1
- package/dist/client/types/app/bsky/actor/defs.js +0 -146
- package/dist/client/types/app/bsky/actor/defs.js.map +0 -1
- package/dist/client/types/app/bsky/actor/getPreferences.d.ts.map +0 -1
- package/dist/client/types/app/bsky/actor/getPreferences.js +0 -14
- package/dist/client/types/app/bsky/actor/getPreferences.js.map +0 -1
- package/dist/client/types/app/bsky/actor/getProfile.d.ts.map +0 -1
- package/dist/client/types/app/bsky/actor/getProfile.js +0 -14
- package/dist/client/types/app/bsky/actor/getProfile.js.map +0 -1
- package/dist/client/types/app/bsky/actor/getProfiles.d.ts.map +0 -1
- package/dist/client/types/app/bsky/actor/getProfiles.js +0 -14
- package/dist/client/types/app/bsky/actor/getProfiles.js.map +0 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.d.ts.map +0 -1
- package/dist/client/types/app/bsky/actor/getSuggestions.js +0 -14
- package/dist/client/types/app/bsky/actor/getSuggestions.js.map +0 -1
- package/dist/client/types/app/bsky/actor/profile.d.ts.map +0 -1
- package/dist/client/types/app/bsky/actor/profile.js +0 -17
- package/dist/client/types/app/bsky/actor/profile.js.map +0 -1
- package/dist/client/types/app/bsky/actor/putPreferences.d.ts.map +0 -1
- package/dist/client/types/app/bsky/actor/putPreferences.js +0 -14
- package/dist/client/types/app/bsky/actor/putPreferences.js.map +0 -1
- package/dist/client/types/app/bsky/actor/searchActors.d.ts.map +0 -1
- package/dist/client/types/app/bsky/actor/searchActors.js +0 -14
- package/dist/client/types/app/bsky/actor/searchActors.js.map +0 -1
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.d.ts.map +0 -1
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.js +0 -14
- package/dist/client/types/app/bsky/actor/searchActorsTypeahead.js.map +0 -1
- package/dist/client/types/app/bsky/embed/external.d.ts.map +0 -1
- package/dist/client/types/app/bsky/embed/external.js +0 -47
- package/dist/client/types/app/bsky/embed/external.js.map +0 -1
- package/dist/client/types/app/bsky/embed/images.d.ts.map +0 -1
- package/dist/client/types/app/bsky/embed/images.js +0 -53
- package/dist/client/types/app/bsky/embed/images.js.map +0 -1
- package/dist/client/types/app/bsky/embed/record.d.ts.map +0 -1
- package/dist/client/types/app/bsky/embed/record.js +0 -55
- package/dist/client/types/app/bsky/embed/record.js.map +0 -1
- package/dist/client/types/app/bsky/embed/recordWithMedia.d.ts.map +0 -1
- package/dist/client/types/app/bsky/embed/recordWithMedia.js +0 -27
- package/dist/client/types/app/bsky/embed/recordWithMedia.js.map +0 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/defs.js +0 -142
- package/dist/client/types/app/bsky/feed/defs.js.map +0 -1
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.js +0 -36
- package/dist/client/types/app/bsky/feed/describeFeedGenerator.js.map +0 -1
- package/dist/client/types/app/bsky/feed/generator.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/generator.js +0 -17
- package/dist/client/types/app/bsky/feed/generator.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getActorFeeds.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getActorFeeds.js +0 -14
- package/dist/client/types/app/bsky/feed/getActorFeeds.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getActorLikes.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getActorLikes.js +0 -30
- package/dist/client/types/app/bsky/feed/getActorLikes.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getAuthorFeed.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getAuthorFeed.js +0 -30
- package/dist/client/types/app/bsky/feed/getAuthorFeed.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getFeed.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getFeed.js +0 -22
- package/dist/client/types/app/bsky/feed/getFeed.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerator.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerator.js +0 -14
- package/dist/client/types/app/bsky/feed/getFeedGenerator.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerators.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getFeedGenerators.js +0 -14
- package/dist/client/types/app/bsky/feed/getFeedGenerators.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.js +0 -22
- package/dist/client/types/app/bsky/feed/getFeedSkeleton.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getLikes.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getLikes.js +0 -24
- package/dist/client/types/app/bsky/feed/getLikes.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getListFeed.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getListFeed.js +0 -22
- package/dist/client/types/app/bsky/feed/getListFeed.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getPostThread.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getPostThread.js +0 -22
- package/dist/client/types/app/bsky/feed/getPostThread.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getPosts.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getPosts.js +0 -14
- package/dist/client/types/app/bsky/feed/getPosts.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getRepostedBy.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getRepostedBy.js +0 -14
- package/dist/client/types/app/bsky/feed/getRepostedBy.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.js +0 -14
- package/dist/client/types/app/bsky/feed/getSuggestedFeeds.js.map +0 -1
- package/dist/client/types/app/bsky/feed/getTimeline.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/getTimeline.js +0 -14
- package/dist/client/types/app/bsky/feed/getTimeline.js.map +0 -1
- package/dist/client/types/app/bsky/feed/like.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/like.js +0 -16
- package/dist/client/types/app/bsky/feed/like.js.map +0 -1
- package/dist/client/types/app/bsky/feed/post.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/post.js +0 -42
- package/dist/client/types/app/bsky/feed/post.js.map +0 -1
- package/dist/client/types/app/bsky/feed/repost.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/repost.js +0 -17
- package/dist/client/types/app/bsky/feed/repost.js.map +0 -1
- package/dist/client/types/app/bsky/feed/searchPosts.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/searchPosts.js +0 -22
- package/dist/client/types/app/bsky/feed/searchPosts.js.map +0 -1
- package/dist/client/types/app/bsky/feed/threadgate.d.ts.map +0 -1
- package/dist/client/types/app/bsky/feed/threadgate.js +0 -47
- package/dist/client/types/app/bsky/feed/threadgate.js.map +0 -1
- package/dist/client/types/app/bsky/graph/block.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/block.js +0 -17
- package/dist/client/types/app/bsky/graph/block.js.map +0 -1
- package/dist/client/types/app/bsky/graph/defs.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/defs.js +0 -70
- package/dist/client/types/app/bsky/graph/defs.js.map +0 -1
- package/dist/client/types/app/bsky/graph/follow.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/follow.js +0 -17
- package/dist/client/types/app/bsky/graph/follow.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getBlocks.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getBlocks.js +0 -14
- package/dist/client/types/app/bsky/graph/getBlocks.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getFollowers.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getFollowers.js +0 -14
- package/dist/client/types/app/bsky/graph/getFollowers.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getFollows.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getFollows.js +0 -14
- package/dist/client/types/app/bsky/graph/getFollows.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getList.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getList.js +0 -14
- package/dist/client/types/app/bsky/graph/getList.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getListBlocks.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getListBlocks.js +0 -14
- package/dist/client/types/app/bsky/graph/getListBlocks.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getListMutes.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getListMutes.js +0 -14
- package/dist/client/types/app/bsky/graph/getListMutes.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getLists.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getLists.js +0 -14
- package/dist/client/types/app/bsky/graph/getLists.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getMutes.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getMutes.js +0 -14
- package/dist/client/types/app/bsky/graph/getMutes.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getRelationships.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getRelationships.js +0 -22
- package/dist/client/types/app/bsky/graph/getRelationships.js.map +0 -1
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.js +0 -14
- package/dist/client/types/app/bsky/graph/getSuggestedFollowsByActor.js.map +0 -1
- package/dist/client/types/app/bsky/graph/list.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/list.js +0 -17
- package/dist/client/types/app/bsky/graph/list.js.map +0 -1
- package/dist/client/types/app/bsky/graph/listblock.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/listblock.js +0 -17
- package/dist/client/types/app/bsky/graph/listblock.js.map +0 -1
- package/dist/client/types/app/bsky/graph/listitem.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/listitem.js +0 -17
- package/dist/client/types/app/bsky/graph/listitem.js.map +0 -1
- package/dist/client/types/app/bsky/graph/muteActor.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/muteActor.js +0 -14
- package/dist/client/types/app/bsky/graph/muteActor.js.map +0 -1
- package/dist/client/types/app/bsky/graph/muteActorList.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/muteActorList.js +0 -14
- package/dist/client/types/app/bsky/graph/muteActorList.js.map +0 -1
- package/dist/client/types/app/bsky/graph/unmuteActor.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/unmuteActor.js +0 -14
- package/dist/client/types/app/bsky/graph/unmuteActor.js.map +0 -1
- package/dist/client/types/app/bsky/graph/unmuteActorList.d.ts.map +0 -1
- package/dist/client/types/app/bsky/graph/unmuteActorList.js +0 -14
- package/dist/client/types/app/bsky/graph/unmuteActorList.js.map +0 -1
- package/dist/client/types/app/bsky/notification/getUnreadCount.d.ts.map +0 -1
- package/dist/client/types/app/bsky/notification/getUnreadCount.js +0 -14
- package/dist/client/types/app/bsky/notification/getUnreadCount.js.map +0 -1
- package/dist/client/types/app/bsky/notification/listNotifications.d.ts.map +0 -1
- package/dist/client/types/app/bsky/notification/listNotifications.js +0 -26
- package/dist/client/types/app/bsky/notification/listNotifications.js.map +0 -1
- package/dist/client/types/app/bsky/notification/registerPush.d.ts.map +0 -1
- package/dist/client/types/app/bsky/notification/registerPush.js +0 -14
- package/dist/client/types/app/bsky/notification/registerPush.js.map +0 -1
- package/dist/client/types/app/bsky/notification/updateSeen.d.ts.map +0 -1
- package/dist/client/types/app/bsky/notification/updateSeen.js +0 -14
- package/dist/client/types/app/bsky/notification/updateSeen.js.map +0 -1
- package/dist/client/types/app/bsky/richtext/facet.d.ts.map +0 -1
- package/dist/client/types/app/bsky/richtext/facet.js +0 -55
- package/dist/client/types/app/bsky/richtext/facet.js.map +0 -1
- package/dist/client/types/app/bsky/unspecced/defs.d.ts.map +0 -1
- package/dist/client/types/app/bsky/unspecced/defs.js +0 -26
- package/dist/client/types/app/bsky/unspecced/defs.js.map +0 -1
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts.map +0 -1
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.js +0 -14
- package/dist/client/types/app/bsky/unspecced/getPopularFeedGenerators.js.map +0 -1
- package/dist/client/types/app/bsky/unspecced/getTaggedSuggestions.d.ts.map +0 -1
- package/dist/client/types/app/bsky/unspecced/getTaggedSuggestions.js +0 -26
- package/dist/client/types/app/bsky/unspecced/getTaggedSuggestions.js.map +0 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.d.ts.map +0 -1
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.js +0 -22
- package/dist/client/types/app/bsky/unspecced/searchActorsSkeleton.js.map +0 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.d.ts.map +0 -1
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.js +0 -22
- package/dist/client/types/app/bsky/unspecced/searchPostsSkeleton.js.map +0 -1
- package/dist/client/types/com/atproto/admin/createCommunicationTemplate.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/createCommunicationTemplate.js +0 -14
- package/dist/client/types/com/atproto/admin/createCommunicationTemplate.js.map +0 -1
- package/dist/client/types/com/atproto/admin/defs.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/defs.js +0 -343
- package/dist/client/types/com/atproto/admin/defs.js.map +0 -1
- package/dist/client/types/com/atproto/admin/deleteAccount.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/deleteAccount.js +0 -14
- package/dist/client/types/com/atproto/admin/deleteAccount.js.map +0 -1
- package/dist/client/types/com/atproto/admin/deleteCommunicationTemplate.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/deleteCommunicationTemplate.js +0 -14
- package/dist/client/types/com/atproto/admin/deleteCommunicationTemplate.js.map +0 -1
- package/dist/client/types/com/atproto/admin/disableAccountInvites.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/disableAccountInvites.js +0 -14
- package/dist/client/types/com/atproto/admin/disableAccountInvites.js.map +0 -1
- package/dist/client/types/com/atproto/admin/disableInviteCodes.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/disableInviteCodes.js +0 -14
- package/dist/client/types/com/atproto/admin/disableInviteCodes.js.map +0 -1
- package/dist/client/types/com/atproto/admin/emitModerationEvent.d.ts +0 -37
- package/dist/client/types/com/atproto/admin/emitModerationEvent.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/emitModerationEvent.js +0 -22
- package/dist/client/types/com/atproto/admin/emitModerationEvent.js.map +0 -1
- package/dist/client/types/com/atproto/admin/enableAccountInvites.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/enableAccountInvites.js +0 -14
- package/dist/client/types/com/atproto/admin/enableAccountInvites.js.map +0 -1
- package/dist/client/types/com/atproto/admin/getAccountInfo.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/getAccountInfo.js +0 -14
- package/dist/client/types/com/atproto/admin/getAccountInfo.js.map +0 -1
- package/dist/client/types/com/atproto/admin/getAccountInfos.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/getAccountInfos.js +0 -14
- package/dist/client/types/com/atproto/admin/getAccountInfos.js.map +0 -1
- package/dist/client/types/com/atproto/admin/getInviteCodes.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/getInviteCodes.js +0 -14
- package/dist/client/types/com/atproto/admin/getInviteCodes.js.map +0 -1
- package/dist/client/types/com/atproto/admin/getModerationEvent.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/getModerationEvent.js +0 -14
- package/dist/client/types/com/atproto/admin/getModerationEvent.js.map +0 -1
- package/dist/client/types/com/atproto/admin/getRecord.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/getRecord.js +0 -22
- package/dist/client/types/com/atproto/admin/getRecord.js.map +0 -1
- package/dist/client/types/com/atproto/admin/getRepo.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/getRepo.js +0 -22
- package/dist/client/types/com/atproto/admin/getRepo.js.map +0 -1
- package/dist/client/types/com/atproto/admin/getSubjectStatus.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/getSubjectStatus.js +0 -14
- package/dist/client/types/com/atproto/admin/getSubjectStatus.js.map +0 -1
- package/dist/client/types/com/atproto/admin/listCommunicationTemplates.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/listCommunicationTemplates.js +0 -14
- package/dist/client/types/com/atproto/admin/listCommunicationTemplates.js.map +0 -1
- package/dist/client/types/com/atproto/admin/queryModerationEvents.d.ts +0 -50
- package/dist/client/types/com/atproto/admin/queryModerationEvents.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/queryModerationEvents.js +0 -14
- package/dist/client/types/com/atproto/admin/queryModerationEvents.js.map +0 -1
- package/dist/client/types/com/atproto/admin/queryModerationStatuses.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/queryModerationStatuses.js +0 -14
- package/dist/client/types/com/atproto/admin/queryModerationStatuses.js.map +0 -1
- package/dist/client/types/com/atproto/admin/searchRepos.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/searchRepos.js +0 -14
- package/dist/client/types/com/atproto/admin/searchRepos.js.map +0 -1
- package/dist/client/types/com/atproto/admin/sendEmail.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/sendEmail.js +0 -14
- package/dist/client/types/com/atproto/admin/sendEmail.js.map +0 -1
- package/dist/client/types/com/atproto/admin/updateAccountEmail.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/updateAccountEmail.js +0 -14
- package/dist/client/types/com/atproto/admin/updateAccountEmail.js.map +0 -1
- package/dist/client/types/com/atproto/admin/updateAccountHandle.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/updateAccountHandle.js +0 -14
- package/dist/client/types/com/atproto/admin/updateAccountHandle.js.map +0 -1
- package/dist/client/types/com/atproto/admin/updateAccountPassword.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/updateAccountPassword.js +0 -14
- package/dist/client/types/com/atproto/admin/updateAccountPassword.js.map +0 -1
- package/dist/client/types/com/atproto/admin/updateCommunicationTemplate.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/updateCommunicationTemplate.js +0 -14
- package/dist/client/types/com/atproto/admin/updateCommunicationTemplate.js.map +0 -1
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.d.ts.map +0 -1
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.js +0 -14
- package/dist/client/types/com/atproto/admin/updateSubjectStatus.js.map +0 -1
- package/dist/client/types/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +0 -1
- package/dist/client/types/com/atproto/identity/getRecommendedDidCredentials.js +0 -14
- package/dist/client/types/com/atproto/identity/getRecommendedDidCredentials.js.map +0 -1
- package/dist/client/types/com/atproto/identity/requestPlcOperationSignature.d.ts.map +0 -1
- package/dist/client/types/com/atproto/identity/requestPlcOperationSignature.js +0 -14
- package/dist/client/types/com/atproto/identity/requestPlcOperationSignature.js.map +0 -1
- package/dist/client/types/com/atproto/identity/resolveHandle.d.ts.map +0 -1
- package/dist/client/types/com/atproto/identity/resolveHandle.js +0 -14
- package/dist/client/types/com/atproto/identity/resolveHandle.js.map +0 -1
- package/dist/client/types/com/atproto/identity/signPlcOperation.d.ts.map +0 -1
- package/dist/client/types/com/atproto/identity/signPlcOperation.js +0 -14
- package/dist/client/types/com/atproto/identity/signPlcOperation.js.map +0 -1
- package/dist/client/types/com/atproto/identity/submitPlcOperation.d.ts.map +0 -1
- package/dist/client/types/com/atproto/identity/submitPlcOperation.js +0 -14
- package/dist/client/types/com/atproto/identity/submitPlcOperation.js.map +0 -1
- package/dist/client/types/com/atproto/identity/updateHandle.d.ts.map +0 -1
- package/dist/client/types/com/atproto/identity/updateHandle.js +0 -14
- package/dist/client/types/com/atproto/identity/updateHandle.js.map +0 -1
- package/dist/client/types/com/atproto/label/defs.d.ts.map +0 -1
- package/dist/client/types/com/atproto/label/defs.js +0 -36
- package/dist/client/types/com/atproto/label/defs.js.map +0 -1
- package/dist/client/types/com/atproto/label/queryLabels.d.ts.map +0 -1
- package/dist/client/types/com/atproto/label/queryLabels.js +0 -14
- package/dist/client/types/com/atproto/label/queryLabels.js.map +0 -1
- package/dist/client/types/com/atproto/label/subscribeLabels.d.ts.map +0 -1
- package/dist/client/types/com/atproto/label/subscribeLabels.js +0 -26
- package/dist/client/types/com/atproto/label/subscribeLabels.js.map +0 -1
- package/dist/client/types/com/atproto/moderation/createReport.d.ts.map +0 -1
- package/dist/client/types/com/atproto/moderation/createReport.js +0 -14
- package/dist/client/types/com/atproto/moderation/createReport.js.map +0 -1
- package/dist/client/types/com/atproto/moderation/defs.d.ts.map +0 -1
- package/dist/client/types/com/atproto/moderation/defs.js +0 -18
- package/dist/client/types/com/atproto/moderation/defs.js.map +0 -1
- package/dist/client/types/com/atproto/repo/applyWrites.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/applyWrites.js +0 -54
- package/dist/client/types/com/atproto/repo/applyWrites.js.map +0 -1
- package/dist/client/types/com/atproto/repo/createRecord.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/createRecord.js +0 -22
- package/dist/client/types/com/atproto/repo/createRecord.js.map +0 -1
- package/dist/client/types/com/atproto/repo/deleteRecord.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/deleteRecord.js +0 -22
- package/dist/client/types/com/atproto/repo/deleteRecord.js.map +0 -1
- package/dist/client/types/com/atproto/repo/describeRepo.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/describeRepo.js +0 -14
- package/dist/client/types/com/atproto/repo/describeRepo.js.map +0 -1
- package/dist/client/types/com/atproto/repo/getRecord.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/getRecord.js +0 -14
- package/dist/client/types/com/atproto/repo/getRecord.js.map +0 -1
- package/dist/client/types/com/atproto/repo/importRepo.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/importRepo.js +0 -14
- package/dist/client/types/com/atproto/repo/importRepo.js.map +0 -1
- package/dist/client/types/com/atproto/repo/listMissingBlobs.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/listMissingBlobs.js +0 -26
- package/dist/client/types/com/atproto/repo/listMissingBlobs.js.map +0 -1
- package/dist/client/types/com/atproto/repo/listRecords.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/listRecords.js +0 -26
- package/dist/client/types/com/atproto/repo/listRecords.js.map +0 -1
- package/dist/client/types/com/atproto/repo/putRecord.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/putRecord.js +0 -22
- package/dist/client/types/com/atproto/repo/putRecord.js.map +0 -1
- package/dist/client/types/com/atproto/repo/strongRef.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/strongRef.js +0 -17
- package/dist/client/types/com/atproto/repo/strongRef.js.map +0 -1
- package/dist/client/types/com/atproto/repo/uploadBlob.d.ts.map +0 -1
- package/dist/client/types/com/atproto/repo/uploadBlob.js +0 -14
- package/dist/client/types/com/atproto/repo/uploadBlob.js.map +0 -1
- package/dist/client/types/com/atproto/server/activateAccount.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/activateAccount.js +0 -14
- package/dist/client/types/com/atproto/server/activateAccount.js.map +0 -1
- package/dist/client/types/com/atproto/server/checkAccountStatus.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/checkAccountStatus.js +0 -14
- package/dist/client/types/com/atproto/server/checkAccountStatus.js.map +0 -1
- package/dist/client/types/com/atproto/server/confirmEmail.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/confirmEmail.js +0 -46
- package/dist/client/types/com/atproto/server/confirmEmail.js.map +0 -1
- package/dist/client/types/com/atproto/server/createAccount.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/createAccount.js +0 -70
- package/dist/client/types/com/atproto/server/createAccount.js.map +0 -1
- package/dist/client/types/com/atproto/server/createAppPassword.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/createAppPassword.js +0 -34
- package/dist/client/types/com/atproto/server/createAppPassword.js.map +0 -1
- package/dist/client/types/com/atproto/server/createInviteCode.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/createInviteCode.js +0 -14
- package/dist/client/types/com/atproto/server/createInviteCode.js.map +0 -1
- package/dist/client/types/com/atproto/server/createInviteCodes.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/createInviteCodes.js +0 -26
- package/dist/client/types/com/atproto/server/createInviteCodes.js.map +0 -1
- package/dist/client/types/com/atproto/server/createSession.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/createSession.js +0 -22
- package/dist/client/types/com/atproto/server/createSession.js.map +0 -1
- package/dist/client/types/com/atproto/server/deactivateAccount.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/deactivateAccount.js +0 -14
- package/dist/client/types/com/atproto/server/deactivateAccount.js.map +0 -1
- package/dist/client/types/com/atproto/server/defs.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/defs.js +0 -26
- package/dist/client/types/com/atproto/server/defs.js.map +0 -1
- package/dist/client/types/com/atproto/server/deleteAccount.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/deleteAccount.js +0 -30
- package/dist/client/types/com/atproto/server/deleteAccount.js.map +0 -1
- package/dist/client/types/com/atproto/server/deleteSession.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/deleteSession.js +0 -14
- package/dist/client/types/com/atproto/server/deleteSession.js.map +0 -1
- package/dist/client/types/com/atproto/server/describeServer.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/describeServer.js +0 -26
- package/dist/client/types/com/atproto/server/describeServer.js.map +0 -1
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.js +0 -22
- package/dist/client/types/com/atproto/server/getAccountInviteCodes.js.map +0 -1
- package/dist/client/types/com/atproto/server/getServiceAuth.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/getServiceAuth.js +0 -14
- package/dist/client/types/com/atproto/server/getServiceAuth.js.map +0 -1
- package/dist/client/types/com/atproto/server/getSession.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/getSession.js +0 -14
- package/dist/client/types/com/atproto/server/getSession.js.map +0 -1
- package/dist/client/types/com/atproto/server/listAppPasswords.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/listAppPasswords.js +0 -34
- package/dist/client/types/com/atproto/server/listAppPasswords.js.map +0 -1
- package/dist/client/types/com/atproto/server/refreshSession.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/refreshSession.js +0 -22
- package/dist/client/types/com/atproto/server/refreshSession.js.map +0 -1
- package/dist/client/types/com/atproto/server/requestAccountDelete.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/requestAccountDelete.js +0 -14
- package/dist/client/types/com/atproto/server/requestAccountDelete.js.map +0 -1
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.js +0 -14
- package/dist/client/types/com/atproto/server/requestEmailConfirmation.js.map +0 -1
- package/dist/client/types/com/atproto/server/requestEmailUpdate.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/requestEmailUpdate.js +0 -14
- package/dist/client/types/com/atproto/server/requestEmailUpdate.js.map +0 -1
- package/dist/client/types/com/atproto/server/requestPasswordReset.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/requestPasswordReset.js +0 -14
- package/dist/client/types/com/atproto/server/requestPasswordReset.js.map +0 -1
- package/dist/client/types/com/atproto/server/reserveSigningKey.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/reserveSigningKey.js +0 -14
- package/dist/client/types/com/atproto/server/reserveSigningKey.js.map +0 -1
- package/dist/client/types/com/atproto/server/resetPassword.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/resetPassword.js +0 -30
- package/dist/client/types/com/atproto/server/resetPassword.js.map +0 -1
- package/dist/client/types/com/atproto/server/revokeAppPassword.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/revokeAppPassword.js +0 -14
- package/dist/client/types/com/atproto/server/revokeAppPassword.js.map +0 -1
- package/dist/client/types/com/atproto/server/updateEmail.d.ts.map +0 -1
- package/dist/client/types/com/atproto/server/updateEmail.js +0 -38
- package/dist/client/types/com/atproto/server/updateEmail.js.map +0 -1
- package/dist/client/types/com/atproto/sync/getBlob.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/getBlob.js +0 -14
- package/dist/client/types/com/atproto/sync/getBlob.js.map +0 -1
- package/dist/client/types/com/atproto/sync/getBlocks.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/getBlocks.js +0 -14
- package/dist/client/types/com/atproto/sync/getBlocks.js.map +0 -1
- package/dist/client/types/com/atproto/sync/getCheckout.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/getCheckout.js +0 -14
- package/dist/client/types/com/atproto/sync/getCheckout.js.map +0 -1
- package/dist/client/types/com/atproto/sync/getHead.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/getHead.js +0 -22
- package/dist/client/types/com/atproto/sync/getHead.js.map +0 -1
- package/dist/client/types/com/atproto/sync/getLatestCommit.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/getLatestCommit.js +0 -22
- package/dist/client/types/com/atproto/sync/getLatestCommit.js.map +0 -1
- package/dist/client/types/com/atproto/sync/getRecord.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/getRecord.js +0 -14
- package/dist/client/types/com/atproto/sync/getRecord.js.map +0 -1
- package/dist/client/types/com/atproto/sync/getRepo.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/getRepo.js +0 -14
- package/dist/client/types/com/atproto/sync/getRepo.js.map +0 -1
- package/dist/client/types/com/atproto/sync/listBlobs.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/listBlobs.js +0 -14
- package/dist/client/types/com/atproto/sync/listBlobs.js.map +0 -1
- package/dist/client/types/com/atproto/sync/listRepos.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/listRepos.js +0 -26
- package/dist/client/types/com/atproto/sync/listRepos.js.map +0 -1
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.js +0 -14
- package/dist/client/types/com/atproto/sync/notifyOfUpdate.js.map +0 -1
- package/dist/client/types/com/atproto/sync/requestCrawl.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/requestCrawl.js +0 -14
- package/dist/client/types/com/atproto/sync/requestCrawl.js.map +0 -1
- package/dist/client/types/com/atproto/sync/subscribeRepos.d.ts.map +0 -1
- package/dist/client/types/com/atproto/sync/subscribeRepos.js +0 -76
- package/dist/client/types/com/atproto/sync/subscribeRepos.js.map +0 -1
- package/dist/client/types/com/atproto/temp/checkSignupQueue.d.ts.map +0 -1
- package/dist/client/types/com/atproto/temp/checkSignupQueue.js +0 -14
- package/dist/client/types/com/atproto/temp/checkSignupQueue.js.map +0 -1
- package/dist/client/types/com/atproto/temp/fetchLabels.d.ts.map +0 -1
- package/dist/client/types/com/atproto/temp/fetchLabels.js +0 -14
- package/dist/client/types/com/atproto/temp/fetchLabels.js.map +0 -1
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.d.ts.map +0 -1
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.js +0 -14
- package/dist/client/types/com/atproto/temp/requestPhoneVerification.js.map +0 -1
- package/dist/client/util.d.ts.map +0 -1
- package/dist/client/util.js +0 -15
- package/dist/client/util.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/moderation/accumulator.d.ts +0 -17
- package/dist/moderation/accumulator.d.ts.map +0 -1
- package/dist/moderation/accumulator.js +0 -204
- package/dist/moderation/accumulator.js.map +0 -1
- package/dist/moderation/const/label-groups.d.ts +0 -4
- package/dist/moderation/const/label-groups.d.ts.map +0 -1
- package/dist/moderation/const/label-groups.js +0 -148
- package/dist/moderation/const/label-groups.js.map +0 -1
- package/dist/moderation/const/labels.d.ts.map +0 -1
- package/dist/moderation/const/labels.js +0 -790
- package/dist/moderation/const/labels.js.map +0 -1
- package/dist/moderation/index.d.ts.map +0 -1
- package/dist/moderation/index.js +0 -226
- package/dist/moderation/index.js.map +0 -1
- package/dist/moderation/subjects/account.d.ts.map +0 -1
- package/dist/moderation/subjects/account.js +0 -39
- package/dist/moderation/subjects/account.js.map +0 -1
- package/dist/moderation/subjects/feed-generator.d.ts.map +0 -1
- package/dist/moderation/subjects/feed-generator.js +0 -10
- package/dist/moderation/subjects/feed-generator.js.map +0 -1
- package/dist/moderation/subjects/post.d.ts.map +0 -1
- package/dist/moderation/subjects/post.js +0 -16
- package/dist/moderation/subjects/post.js.map +0 -1
- package/dist/moderation/subjects/profile.d.ts.map +0 -1
- package/dist/moderation/subjects/profile.js +0 -21
- package/dist/moderation/subjects/profile.js.map +0 -1
- package/dist/moderation/subjects/quoted-post.d.ts +0 -7
- package/dist/moderation/subjects/quoted-post.d.ts.map +0 -1
- package/dist/moderation/subjects/quoted-post.js +0 -72
- package/dist/moderation/subjects/quoted-post.js.map +0 -1
- package/dist/moderation/subjects/user-list.d.ts.map +0 -1
- package/dist/moderation/subjects/user-list.js +0 -10
- package/dist/moderation/subjects/user-list.js.map +0 -1
- package/dist/moderation/types.d.ts.map +0 -1
- package/dist/moderation/types.js +0 -60
- package/dist/moderation/types.js.map +0 -1
- package/dist/moderation/util.d.ts.map +0 -1
- package/dist/moderation/util.js +0 -79
- package/dist/moderation/util.js.map +0 -1
- package/dist/rich-text/detection.d.ts.map +0 -1
- package/dist/rich-text/detection.js +0 -107
- package/dist/rich-text/detection.js.map +0 -1
- package/dist/rich-text/rich-text.d.ts.map +0 -1
- package/dist/rich-text/rich-text.js +0 -374
- package/dist/rich-text/rich-text.js.map +0 -1
- package/dist/rich-text/sanitization.d.ts.map +0 -1
- package/dist/rich-text/sanitization.js +0 -32
- package/dist/rich-text/sanitization.js.map +0 -1
- package/dist/rich-text/unicode.d.ts.map +0 -1
- package/dist/rich-text/unicode.js +0 -58
- package/dist/rich-text/unicode.js.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -3
- package/dist/types.js.map +0 -1
- package/docs/labels.md +0 -554
- package/docs/moderation-behaviors/posts.md +0 -1813
- package/docs/moderation-behaviors/profiles.md +0 -833
- package/jest.d.ts +0 -20
- package/jest.setup.ts +0 -79
- package/scripts/code/label-groups.mjs +0 -68
- package/scripts/docs/labels.mjs +0 -164
- package/scripts/docs/post-moderation-behaviors.mjs +0 -117
- package/scripts/docs/profile-moderation-behaviors.mjs +0 -122
- package/scripts/generate-docs.mjs +0 -5
- package/src/moderation/accumulator.ts +0 -217
- package/src/moderation/const/label-groups.ts +0 -149
- package/src/moderation/subjects/quoted-post.ts +0 -80
- package/tests/post-moderation.test.ts +0 -46
- package/tests/profile-moderation.test.ts +0 -48
- package/tsconfig.tests.json +0 -10
- /package/src/client/types/{com/atproto/admin/deleteCommunicationTemplate.ts → tools/ozone/communication/deleteTemplate.ts} +0 -0
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
@@ -18,4 +15,3 @@ export interface Response {
|
|
|
18
15
|
headers: Headers;
|
|
19
16
|
}
|
|
20
17
|
export declare function toKnownErr(e: any): any;
|
|
21
|
-
//# sourceMappingURL=submitPlcOperation.d.ts.map
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
7
4
|
export interface InputSchema {
|
|
8
|
-
/** The new handle. */
|
|
9
5
|
handle: string;
|
|
10
6
|
[k: string]: unknown;
|
|
11
7
|
}
|
|
@@ -19,4 +15,3 @@ export interface Response {
|
|
|
19
15
|
headers: Headers;
|
|
20
16
|
}
|
|
21
17
|
export declare function toKnownErr(e: any): any;
|
|
22
|
-
//# sourceMappingURL=updateHandle.d.ts.map
|
|
@@ -1,38 +1,47 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { ValidationResult } from '@atproto/lexicon';
|
|
5
|
-
/** Metadata tag on an atproto resource (eg, repo or record). */
|
|
6
2
|
export interface Label {
|
|
7
|
-
|
|
3
|
+
ver?: number;
|
|
8
4
|
src: string;
|
|
9
|
-
/** AT URI of the record, repository (account), or other resource that this label applies to. */
|
|
10
5
|
uri: string;
|
|
11
|
-
/** Optionally, CID specifying the specific version of 'uri' resource this label applies to. */
|
|
12
6
|
cid?: string;
|
|
13
|
-
/** The short string name of the value or type of this label. */
|
|
14
7
|
val: string;
|
|
15
|
-
/** If true, this is a negation label, overwriting a previous label. */
|
|
16
8
|
neg?: boolean;
|
|
17
|
-
/** Timestamp when this label was created. */
|
|
18
9
|
cts: string;
|
|
10
|
+
exp?: string;
|
|
11
|
+
sig?: Uint8Array;
|
|
19
12
|
[k: string]: unknown;
|
|
20
13
|
}
|
|
21
14
|
export declare function isLabel(v: unknown): v is Label;
|
|
22
15
|
export declare function validateLabel(v: unknown): ValidationResult;
|
|
23
|
-
/** Metadata tags on an atproto record, published by the author within the record. */
|
|
24
16
|
export interface SelfLabels {
|
|
25
17
|
values: SelfLabel[];
|
|
26
18
|
[k: string]: unknown;
|
|
27
19
|
}
|
|
28
20
|
export declare function isSelfLabels(v: unknown): v is SelfLabels;
|
|
29
21
|
export declare function validateSelfLabels(v: unknown): ValidationResult;
|
|
30
|
-
/** Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel. */
|
|
31
22
|
export interface SelfLabel {
|
|
32
|
-
/** The short string name of the value or type of this label. */
|
|
33
23
|
val: string;
|
|
34
24
|
[k: string]: unknown;
|
|
35
25
|
}
|
|
36
26
|
export declare function isSelfLabel(v: unknown): v is SelfLabel;
|
|
37
27
|
export declare function validateSelfLabel(v: unknown): ValidationResult;
|
|
38
|
-
|
|
28
|
+
export interface LabelValueDefinition {
|
|
29
|
+
identifier: string;
|
|
30
|
+
severity: 'inform' | 'alert' | 'none' | (string & {});
|
|
31
|
+
blurs: 'content' | 'media' | 'none' | (string & {});
|
|
32
|
+
defaultSetting: 'ignore' | 'warn' | 'hide' | (string & {});
|
|
33
|
+
adultOnly?: boolean;
|
|
34
|
+
locales: LabelValueDefinitionStrings[];
|
|
35
|
+
[k: string]: unknown;
|
|
36
|
+
}
|
|
37
|
+
export declare function isLabelValueDefinition(v: unknown): v is LabelValueDefinition;
|
|
38
|
+
export declare function validateLabelValueDefinition(v: unknown): ValidationResult;
|
|
39
|
+
export interface LabelValueDefinitionStrings {
|
|
40
|
+
lang: string;
|
|
41
|
+
name: string;
|
|
42
|
+
description: string;
|
|
43
|
+
[k: string]: unknown;
|
|
44
|
+
}
|
|
45
|
+
export declare function isLabelValueDefinitionStrings(v: unknown): v is LabelValueDefinitionStrings;
|
|
46
|
+
export declare function validateLabelValueDefinitionStrings(v: unknown): ValidationResult;
|
|
47
|
+
export type LabelValue = '!hide' | '!no-promote' | '!warn' | '!no-unauthenticated' | 'dmca-violation' | 'doxxing' | 'porn' | 'sexual' | 'nudity' | 'nsfl' | 'gore' | (string & {});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
import * as ComAtprotoLabelDefs from './defs';
|
|
6
3
|
export interface QueryParams {
|
|
7
|
-
/** List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI. */
|
|
8
4
|
uriPatterns: string[];
|
|
9
|
-
/** Optional list of label sources (DIDs) to filter on. */
|
|
10
5
|
sources?: string[];
|
|
11
6
|
limit?: number;
|
|
12
7
|
cursor?: string;
|
|
@@ -26,4 +21,3 @@ export interface Response {
|
|
|
26
21
|
data: OutputSchema;
|
|
27
22
|
}
|
|
28
23
|
export declare function toKnownErr(e: any): any;
|
|
29
|
-
//# sourceMappingURL=queryLabels.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
import * as ComAtprotoModerationDefs from './defs';
|
|
6
3
|
import * as ComAtprotoAdminDefs from '../admin/defs';
|
|
@@ -9,7 +6,6 @@ export interface QueryParams {
|
|
|
9
6
|
}
|
|
10
7
|
export interface InputSchema {
|
|
11
8
|
reasonType: ComAtprotoModerationDefs.ReasonType;
|
|
12
|
-
/** Additional context about the content and violation. */
|
|
13
9
|
reason?: string;
|
|
14
10
|
subject: ComAtprotoAdminDefs.RepoRef | ComAtprotoRepoStrongRef.Main | {
|
|
15
11
|
$type: string;
|
|
@@ -40,4 +36,3 @@ export interface Response {
|
|
|
40
36
|
data: OutputSchema;
|
|
41
37
|
}
|
|
42
38
|
export declare function toKnownErr(e: any): any;
|
|
43
|
-
//# sourceMappingURL=createReport.d.ts.map
|
|
@@ -1,16 +1,8 @@
|
|
|
1
1
|
export type ReasonType = 'com.atproto.moderation.defs#reasonSpam' | 'com.atproto.moderation.defs#reasonViolation' | 'com.atproto.moderation.defs#reasonMisleading' | 'com.atproto.moderation.defs#reasonSexual' | 'com.atproto.moderation.defs#reasonRude' | 'com.atproto.moderation.defs#reasonOther' | 'com.atproto.moderation.defs#reasonAppeal' | (string & {});
|
|
2
|
-
/** Spam: frequent unwanted promotion, replies, mentions */
|
|
3
2
|
export declare const REASONSPAM = "com.atproto.moderation.defs#reasonSpam";
|
|
4
|
-
/** Direct violation of server rules, laws, terms of service */
|
|
5
3
|
export declare const REASONVIOLATION = "com.atproto.moderation.defs#reasonViolation";
|
|
6
|
-
/** Misleading identity, affiliation, or content */
|
|
7
4
|
export declare const REASONMISLEADING = "com.atproto.moderation.defs#reasonMisleading";
|
|
8
|
-
/** Unwanted or mislabeled sexual content */
|
|
9
5
|
export declare const REASONSEXUAL = "com.atproto.moderation.defs#reasonSexual";
|
|
10
|
-
/** Rude, harassing, explicit, or otherwise unwelcoming behavior */
|
|
11
6
|
export declare const REASONRUDE = "com.atproto.moderation.defs#reasonRude";
|
|
12
|
-
/** Other: reports not falling under another report category */
|
|
13
7
|
export declare const REASONOTHER = "com.atproto.moderation.defs#reasonOther";
|
|
14
|
-
/** Appeal: appeal a previously taken moderation action */
|
|
15
8
|
export declare const REASONAPPEAL = "com.atproto.moderation.defs#reasonAppeal";
|
|
16
|
-
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
import { ValidationResult } from '@atproto/lexicon';
|
|
6
3
|
export interface QueryParams {
|
|
7
4
|
}
|
|
8
5
|
export interface InputSchema {
|
|
9
|
-
/** The handle or DID of the repo (aka, current account). */
|
|
10
6
|
repo: string;
|
|
11
|
-
/** Can be set to 'false' to skip Lexicon schema validation of record data, for all operations. */
|
|
12
7
|
validate?: boolean;
|
|
13
8
|
writes: (Create | Update | Delete)[];
|
|
14
|
-
/** If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations. */
|
|
15
9
|
swapCommit?: string;
|
|
16
10
|
[k: string]: unknown;
|
|
17
11
|
}
|
|
@@ -28,7 +22,6 @@ export declare class InvalidSwapError extends XRPCError {
|
|
|
28
22
|
constructor(src: XRPCError);
|
|
29
23
|
}
|
|
30
24
|
export declare function toKnownErr(e: any): any;
|
|
31
|
-
/** Operation which creates a new record. */
|
|
32
25
|
export interface Create {
|
|
33
26
|
collection: string;
|
|
34
27
|
rkey?: string;
|
|
@@ -37,7 +30,6 @@ export interface Create {
|
|
|
37
30
|
}
|
|
38
31
|
export declare function isCreate(v: unknown): v is Create;
|
|
39
32
|
export declare function validateCreate(v: unknown): ValidationResult;
|
|
40
|
-
/** Operation which updates an existing record. */
|
|
41
33
|
export interface Update {
|
|
42
34
|
collection: string;
|
|
43
35
|
rkey: string;
|
|
@@ -46,7 +38,6 @@ export interface Update {
|
|
|
46
38
|
}
|
|
47
39
|
export declare function isUpdate(v: unknown): v is Update;
|
|
48
40
|
export declare function validateUpdate(v: unknown): ValidationResult;
|
|
49
|
-
/** Operation which deletes an existing record. */
|
|
50
41
|
export interface Delete {
|
|
51
42
|
collection: string;
|
|
52
43
|
rkey: string;
|
|
@@ -54,4 +45,3 @@ export interface Delete {
|
|
|
54
45
|
}
|
|
55
46
|
export declare function isDelete(v: unknown): v is Delete;
|
|
56
47
|
export declare function validateDelete(v: unknown): ValidationResult;
|
|
57
|
-
//# sourceMappingURL=applyWrites.d.ts.map
|
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
7
4
|
export interface InputSchema {
|
|
8
|
-
/** The handle or DID of the repo (aka, current account). */
|
|
9
5
|
repo: string;
|
|
10
|
-
/** The NSID of the record collection. */
|
|
11
6
|
collection: string;
|
|
12
|
-
/** The Record Key. */
|
|
13
7
|
rkey?: string;
|
|
14
|
-
/** Can be set to 'false' to skip Lexicon schema validation of record data. */
|
|
15
8
|
validate?: boolean;
|
|
16
|
-
/** The record itself. Must contain a $type field. */
|
|
17
9
|
record: {};
|
|
18
|
-
/** Compare and swap with the previous commit by CID. */
|
|
19
10
|
swapCommit?: string;
|
|
20
11
|
[k: string]: unknown;
|
|
21
12
|
}
|
|
@@ -38,4 +29,3 @@ export declare class InvalidSwapError extends XRPCError {
|
|
|
38
29
|
constructor(src: XRPCError);
|
|
39
30
|
}
|
|
40
31
|
export declare function toKnownErr(e: any): any;
|
|
41
|
-
//# sourceMappingURL=createRecord.d.ts.map
|
|
@@ -1,19 +1,11 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
7
4
|
export interface InputSchema {
|
|
8
|
-
/** The handle or DID of the repo (aka, current account). */
|
|
9
5
|
repo: string;
|
|
10
|
-
/** The NSID of the record collection. */
|
|
11
6
|
collection: string;
|
|
12
|
-
/** The Record Key. */
|
|
13
7
|
rkey: string;
|
|
14
|
-
/** Compare and swap with the previous record by CID. */
|
|
15
8
|
swapRecord?: string;
|
|
16
|
-
/** Compare and swap with the previous commit by CID. */
|
|
17
9
|
swapCommit?: string;
|
|
18
10
|
[k: string]: unknown;
|
|
19
11
|
}
|
|
@@ -30,4 +22,3 @@ export declare class InvalidSwapError extends XRPCError {
|
|
|
30
22
|
constructor(src: XRPCError);
|
|
31
23
|
}
|
|
32
24
|
export declare function toKnownErr(e: any): any;
|
|
33
|
-
//# sourceMappingURL=deleteRecord.d.ts.map
|
|
@@ -1,20 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
|
-
/** The handle or DID of the repo. */
|
|
7
3
|
repo: string;
|
|
8
4
|
}
|
|
9
5
|
export type InputSchema = undefined;
|
|
10
6
|
export interface OutputSchema {
|
|
11
7
|
handle: string;
|
|
12
8
|
did: string;
|
|
13
|
-
/** The complete DID document for this account. */
|
|
14
9
|
didDoc: {};
|
|
15
|
-
/** List of all the collections (NSIDs) for which this repo contains at least one record. */
|
|
16
10
|
collections: string[];
|
|
17
|
-
/** Indicates if handle is currently valid (resolves bi-directionally) */
|
|
18
11
|
handleIsCorrect: boolean;
|
|
19
12
|
[k: string]: unknown;
|
|
20
13
|
}
|
|
@@ -27,4 +20,3 @@ export interface Response {
|
|
|
27
20
|
data: OutputSchema;
|
|
28
21
|
}
|
|
29
22
|
export declare function toKnownErr(e: any): any;
|
|
30
|
-
//# sourceMappingURL=describeRepo.d.ts.map
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
|
-
/** The handle or DID of the repo. */
|
|
7
3
|
repo: string;
|
|
8
|
-
/** The NSID of the record collection. */
|
|
9
4
|
collection: string;
|
|
10
|
-
/** The Record Key. */
|
|
11
5
|
rkey: string;
|
|
12
|
-
/** The CID of the version of the record. If not specified, then return the most recent version. */
|
|
13
6
|
cid?: string;
|
|
14
7
|
}
|
|
15
8
|
export type InputSchema = undefined;
|
|
@@ -28,4 +21,3 @@ export interface Response {
|
|
|
28
21
|
data: OutputSchema;
|
|
29
22
|
}
|
|
30
23
|
export declare function toKnownErr(e: any): any;
|
|
31
|
-
//# sourceMappingURL=getRecord.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
@@ -15,4 +12,3 @@ export interface Response {
|
|
|
15
12
|
headers: Headers;
|
|
16
13
|
}
|
|
17
14
|
export declare function toKnownErr(e: any): any;
|
|
18
|
-
//# sourceMappingURL=importRepo.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
import { ValidationResult } from '@atproto/lexicon';
|
|
6
3
|
export interface QueryParams {
|
|
@@ -29,4 +26,3 @@ export interface RecordBlob {
|
|
|
29
26
|
}
|
|
30
27
|
export declare function isRecordBlob(v: unknown): v is RecordBlob;
|
|
31
28
|
export declare function validateRecordBlob(v: unknown): ValidationResult;
|
|
32
|
-
//# sourceMappingURL=listMissingBlobs.d.ts.map
|
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
import { ValidationResult } from '@atproto/lexicon';
|
|
6
3
|
export interface QueryParams {
|
|
7
|
-
/** The handle or DID of the repo. */
|
|
8
4
|
repo: string;
|
|
9
|
-
/** The NSID of the record type. */
|
|
10
5
|
collection: string;
|
|
11
|
-
/** The number of records to return. */
|
|
12
6
|
limit?: number;
|
|
13
7
|
cursor?: string;
|
|
14
|
-
/** DEPRECATED: The lowest sort-ordered rkey to start from (exclusive) */
|
|
15
8
|
rkeyStart?: string;
|
|
16
|
-
/** DEPRECATED: The highest sort-ordered rkey to stop at (exclusive) */
|
|
17
9
|
rkeyEnd?: string;
|
|
18
|
-
/** Flag to reverse the order of the returned records. */
|
|
19
10
|
reverse?: boolean;
|
|
20
11
|
}
|
|
21
12
|
export type InputSchema = undefined;
|
|
@@ -41,4 +32,3 @@ export interface Record {
|
|
|
41
32
|
}
|
|
42
33
|
export declare function isRecord(v: unknown): v is Record;
|
|
43
34
|
export declare function validateRecord(v: unknown): ValidationResult;
|
|
44
|
-
//# sourceMappingURL=listRecords.d.ts.map
|
|
@@ -1,23 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
7
4
|
export interface InputSchema {
|
|
8
|
-
/** The handle or DID of the repo (aka, current account). */
|
|
9
5
|
repo: string;
|
|
10
|
-
/** The NSID of the record collection. */
|
|
11
6
|
collection: string;
|
|
12
|
-
/** The Record Key. */
|
|
13
7
|
rkey: string;
|
|
14
|
-
/** Can be set to 'false' to skip Lexicon schema validation of record data. */
|
|
15
8
|
validate?: boolean;
|
|
16
|
-
/** The record to write. */
|
|
17
9
|
record: {};
|
|
18
|
-
/** Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation */
|
|
19
10
|
swapRecord?: string | null;
|
|
20
|
-
/** Compare and swap with the previous commit by CID. */
|
|
21
11
|
swapCommit?: string;
|
|
22
12
|
[k: string]: unknown;
|
|
23
13
|
}
|
|
@@ -40,4 +30,3 @@ export declare class InvalidSwapError extends XRPCError {
|
|
|
40
30
|
constructor(src: XRPCError);
|
|
41
31
|
}
|
|
42
32
|
export declare function toKnownErr(e: any): any;
|
|
43
|
-
//# sourceMappingURL=putRecord.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { ValidationResult } from '@atproto/lexicon';
|
|
5
2
|
export interface Main {
|
|
6
3
|
uri: string;
|
|
@@ -9,4 +6,3 @@ export interface Main {
|
|
|
9
6
|
}
|
|
10
7
|
export declare function isMain(v: unknown): v is Main;
|
|
11
8
|
export declare function validateMain(v: unknown): ValidationResult;
|
|
12
|
-
//# sourceMappingURL=strongRef.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
import { BlobRef } from '@atproto/lexicon';
|
|
6
3
|
export interface QueryParams {
|
|
@@ -21,4 +18,3 @@ export interface Response {
|
|
|
21
18
|
data: OutputSchema;
|
|
22
19
|
}
|
|
23
20
|
export declare function toKnownErr(e: any): any;
|
|
24
|
-
//# sourceMappingURL=uploadBlob.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
@@ -14,4 +11,3 @@ export interface Response {
|
|
|
14
11
|
headers: Headers;
|
|
15
12
|
}
|
|
16
13
|
export declare function toKnownErr(e: any): any;
|
|
17
|
-
//# sourceMappingURL=activateAccount.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
@@ -26,4 +23,3 @@ export interface Response {
|
|
|
26
23
|
data: OutputSchema;
|
|
27
24
|
}
|
|
28
25
|
export declare function toKnownErr(e: any): any;
|
|
29
|
-
//# sourceMappingURL=checkAccountStatus.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
@@ -31,4 +28,3 @@ export declare class InvalidEmailError extends XRPCError {
|
|
|
31
28
|
constructor(src: XRPCError);
|
|
32
29
|
}
|
|
33
30
|
export declare function toKnownErr(e: any): any;
|
|
34
|
-
//# sourceMappingURL=confirmEmail.d.ts.map
|
|
@@ -1,34 +1,23 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
7
4
|
export interface InputSchema {
|
|
8
5
|
email?: string;
|
|
9
|
-
/** Requested handle for the account. */
|
|
10
6
|
handle: string;
|
|
11
|
-
/** Pre-existing atproto DID, being imported to a new account. */
|
|
12
7
|
did?: string;
|
|
13
8
|
inviteCode?: string;
|
|
14
9
|
verificationCode?: string;
|
|
15
10
|
verificationPhone?: string;
|
|
16
|
-
/** Initial account password. May need to meet instance-specific password strength requirements. */
|
|
17
11
|
password?: string;
|
|
18
|
-
/** DID PLC rotation key (aka, recovery key) to be included in PLC creation operation. */
|
|
19
12
|
recoveryKey?: string;
|
|
20
|
-
/** A signed DID PLC operation to be submitted as part of importing an existing account to this instance. NOTE: this optional field may be updated when full account migration is implemented. */
|
|
21
13
|
plcOp?: {};
|
|
22
14
|
[k: string]: unknown;
|
|
23
15
|
}
|
|
24
|
-
/** Account login session returned on successful account creation. */
|
|
25
16
|
export interface OutputSchema {
|
|
26
17
|
accessJwt: string;
|
|
27
18
|
refreshJwt: string;
|
|
28
19
|
handle: string;
|
|
29
|
-
/** The DID of the new account. */
|
|
30
20
|
did: string;
|
|
31
|
-
/** Complete DID document. */
|
|
32
21
|
didDoc?: {};
|
|
33
22
|
[k: string]: unknown;
|
|
34
23
|
}
|
|
@@ -64,4 +53,3 @@ export declare class IncompatibleDidDocError extends XRPCError {
|
|
|
64
53
|
constructor(src: XRPCError);
|
|
65
54
|
}
|
|
66
55
|
export declare function toKnownErr(e: any): any;
|
|
67
|
-
//# sourceMappingURL=createAccount.d.ts.map
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
import { ValidationResult } from '@atproto/lexicon';
|
|
6
3
|
export interface QueryParams {
|
|
7
4
|
}
|
|
8
5
|
export interface InputSchema {
|
|
9
|
-
/** A short name for the App Password, to help distinguish them. */
|
|
10
6
|
name: string;
|
|
11
7
|
[k: string]: unknown;
|
|
12
8
|
}
|
|
@@ -33,4 +29,3 @@ export interface AppPassword {
|
|
|
33
29
|
}
|
|
34
30
|
export declare function isAppPassword(v: unknown): v is AppPassword;
|
|
35
31
|
export declare function validateAppPassword(v: unknown): ValidationResult;
|
|
36
|
-
//# sourceMappingURL=createAppPassword.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
@@ -24,4 +21,3 @@ export interface Response {
|
|
|
24
21
|
data: OutputSchema;
|
|
25
22
|
}
|
|
26
23
|
export declare function toKnownErr(e: any): any;
|
|
27
|
-
//# sourceMappingURL=createInviteCode.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
import { ValidationResult } from '@atproto/lexicon';
|
|
6
3
|
export interface QueryParams {
|
|
@@ -33,4 +30,3 @@ export interface AccountCodes {
|
|
|
33
30
|
}
|
|
34
31
|
export declare function isAccountCodes(v: unknown): v is AccountCodes;
|
|
35
32
|
export declare function validateAccountCodes(v: unknown): ValidationResult;
|
|
36
|
-
//# sourceMappingURL=createInviteCodes.d.ts.map
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
7
4
|
export interface InputSchema {
|
|
8
|
-
/** Handle or other identifier supported by the server for the authenticating user. */
|
|
9
5
|
identifier: string;
|
|
10
6
|
password: string;
|
|
11
7
|
[k: string]: unknown;
|
|
@@ -34,4 +30,3 @@ export declare class AccountTakedownError extends XRPCError {
|
|
|
34
30
|
constructor(src: XRPCError);
|
|
35
31
|
}
|
|
36
32
|
export declare function toKnownErr(e: any): any;
|
|
37
|
-
//# sourceMappingURL=createSession.d.ts.map
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
7
4
|
export interface InputSchema {
|
|
8
|
-
/** A recommendation to server as to how long they should hold onto the deactivated account before deleting. */
|
|
9
5
|
deleteAfter?: string;
|
|
10
6
|
[k: string]: unknown;
|
|
11
7
|
}
|
|
@@ -19,4 +15,3 @@ export interface Response {
|
|
|
19
15
|
headers: Headers;
|
|
20
16
|
}
|
|
21
17
|
export declare function toKnownErr(e: any): any;
|
|
22
|
-
//# sourceMappingURL=deactivateAccount.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { ValidationResult } from '@atproto/lexicon';
|
|
5
2
|
export interface InviteCode {
|
|
6
3
|
code: string;
|
|
@@ -21,4 +18,3 @@ export interface InviteCodeUse {
|
|
|
21
18
|
}
|
|
22
19
|
export declare function isInviteCodeUse(v: unknown): v is InviteCodeUse;
|
|
23
20
|
export declare function validateInviteCodeUse(v: unknown): ValidationResult;
|
|
24
|
-
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
@@ -26,4 +23,3 @@ export declare class InvalidTokenError extends XRPCError {
|
|
|
26
23
|
constructor(src: XRPCError);
|
|
27
24
|
}
|
|
28
25
|
export declare function toKnownErr(e: any): any;
|
|
29
|
-
//# sourceMappingURL=deleteAccount.d.ts.map
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
export interface QueryParams {
|
|
6
3
|
}
|
|
@@ -14,4 +11,3 @@ export interface Response {
|
|
|
14
11
|
headers: Headers;
|
|
15
12
|
}
|
|
16
13
|
export declare function toKnownErr(e: any): any;
|
|
17
|
-
//# sourceMappingURL=deleteSession.d.ts.map
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers } from '@atproto/xrpc';
|
|
5
2
|
import { ValidationResult } from '@atproto/lexicon';
|
|
6
3
|
export interface QueryParams {
|
|
7
4
|
}
|
|
8
5
|
export type InputSchema = undefined;
|
|
9
6
|
export interface OutputSchema {
|
|
10
|
-
/** If true, an invite code must be supplied to create an account on this instance. */
|
|
11
7
|
inviteCodeRequired?: boolean;
|
|
12
|
-
/** If true, a phone verification token must be supplied to create an account on this instance. */
|
|
13
8
|
phoneVerificationRequired?: boolean;
|
|
14
|
-
/** List of domain suffixes that can be used in account handles. */
|
|
15
9
|
availableUserDomains: string[];
|
|
16
10
|
links?: Links;
|
|
11
|
+
contact?: Contact;
|
|
17
12
|
did: string;
|
|
18
13
|
[k: string]: unknown;
|
|
19
14
|
}
|
|
@@ -33,4 +28,9 @@ export interface Links {
|
|
|
33
28
|
}
|
|
34
29
|
export declare function isLinks(v: unknown): v is Links;
|
|
35
30
|
export declare function validateLinks(v: unknown): ValidationResult;
|
|
36
|
-
|
|
31
|
+
export interface Contact {
|
|
32
|
+
email?: string;
|
|
33
|
+
[k: string]: unknown;
|
|
34
|
+
}
|
|
35
|
+
export declare function isContact(v: unknown): v is Contact;
|
|
36
|
+
export declare function validateContact(v: unknown): ValidationResult;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
1
|
import { Headers, XRPCError } from '@atproto/xrpc';
|
|
5
2
|
import * as ComAtprotoServerDefs from './defs';
|
|
6
3
|
export interface QueryParams {
|
|
7
4
|
includeUsed?: boolean;
|
|
8
|
-
/** Controls whether any new 'earned' but not 'created' invites should be created. */
|
|
9
5
|
createAvailable?: boolean;
|
|
10
6
|
}
|
|
11
7
|
export type InputSchema = undefined;
|
|
@@ -25,4 +21,3 @@ export declare class DuplicateCreateError extends XRPCError {
|
|
|
25
21
|
constructor(src: XRPCError);
|
|
26
22
|
}
|
|
27
23
|
export declare function toKnownErr(e: any): any;
|
|
28
|
-
//# sourceMappingURL=getAccountInviteCodes.d.ts.map
|