@atcute/atproto 3.0.0
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/LICENSE +17 -0
- package/README.md +56 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/lexicons/index.d.ts +91 -0
- package/dist/lexicons/index.js +92 -0
- package/dist/lexicons/index.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/defs.d.ts +68 -0
- package/dist/lexicons/types/com/atproto/admin/defs.js +49 -0
- package/dist/lexicons/types/com/atproto/admin/defs.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/deleteAccount.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/admin/deleteAccount.js +13 -0
- package/dist/lexicons/types/com/atproto/admin/deleteAccount.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js +14 -0
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.js +14 -0
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js +14 -0
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfo.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfo.js +15 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfo.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts +20 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js +17 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts +23 -0
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js +21 -0
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.d.ts +25 -0
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.js +30 -0
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts +23 -0
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js +21 -0
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts +26 -0
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js +22 -0
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js +14 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.js +14 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.js +14 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.js +14 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.js.map +1 -0
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.d.ts +27 -0
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.js +41 -0
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/defs.d.ts +14 -0
- package/dist/lexicons/types/com/atproto/identity/defs.js +9 -0
- package/dist/lexicons/types/com/atproto/identity/defs.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +20 -0
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js +15 -0
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/refreshIdentity.d.ts +21 -0
- package/dist/lexicons/types/com/atproto/identity/refreshIdentity.js +19 -0
- package/dist/lexicons/types/com/atproto/identity/refreshIdentity.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.d.ts +12 -0
- package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.js +8 -0
- package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts +19 -0
- package/dist/lexicons/types/com/atproto/identity/resolveDid.js +14 -0
- package/dist/lexicons/types/com/atproto/identity/resolveDid.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts +19 -0
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.js +14 -0
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js +15 -0
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts +26 -0
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js +22 -0
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.js +13 -0
- package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.js.map +1 -0
- package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/identity/updateHandle.js +13 -0
- package/dist/lexicons/types/com/atproto/identity/updateHandle.js.map +1 -0
- package/dist/lexicons/types/com/atproto/label/defs.d.ts +73 -0
- package/dist/lexicons/types/com/atproto/label/defs.js +59 -0
- package/dist/lexicons/types/com/atproto/label/defs.js.map +1 -0
- package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts +24 -0
- package/dist/lexicons/types/com/atproto/label/queryLabels.js +22 -0
- package/dist/lexicons/types/com/atproto/label/queryLabels.js.map +1 -0
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts +37 -0
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js +26 -0
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js.map +1 -0
- package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/lexicon/schema.js +9 -0
- package/dist/lexicons/types/com/atproto/lexicon/schema.js.map +1 -0
- package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts +32 -0
- package/dist/lexicons/types/com/atproto/moderation/createReport.js +50 -0
- package/dist/lexicons/types/com/atproto/moderation/createReport.js.map +1 -0
- package/dist/lexicons/types/com/atproto/moderation/defs.d.ts +56 -0
- package/dist/lexicons/types/com/atproto/moderation/defs.js +20 -0
- package/dist/lexicons/types/com/atproto/moderation/defs.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts +95 -0
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js +71 -0
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts +31 -0
- package/dist/lexicons/types/com/atproto/repo/createRecord.js +31 -0
- package/dist/lexicons/types/com/atproto/repo/createRecord.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/defs.d.ts +13 -0
- package/dist/lexicons/types/com/atproto/repo/defs.js +8 -0
- package/dist/lexicons/types/com/atproto/repo/defs.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts +27 -0
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js +25 -0
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts +23 -0
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js +18 -0
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts +24 -0
- package/dist/lexicons/types/com/atproto/repo/getRecord.js +19 -0
- package/dist/lexicons/types/com/atproto/repo/getRecord.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/importRepo.d.ts +14 -0
- package/dist/lexicons/types/com/atproto/repo/importRepo.js +10 -0
- package/dist/lexicons/types/com/atproto/repo/importRepo.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts +32 -0
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js +25 -0
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts +36 -0
- package/dist/lexicons/types/com/atproto/repo/listRecords.js +29 -0
- package/dist/lexicons/types/com/atproto/repo/listRecords.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts +32 -0
- package/dist/lexicons/types/com/atproto/repo/putRecord.js +33 -0
- package/dist/lexicons/types/com/atproto/repo/putRecord.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/strongRef.d.ts +13 -0
- package/dist/lexicons/types/com/atproto/repo/strongRef.js +8 -0
- package/dist/lexicons/types/com/atproto/repo/strongRef.js.map +1 -0
- package/dist/lexicons/types/com/atproto/repo/uploadBlob.d.ts +19 -0
- package/dist/lexicons/types/com/atproto/repo/uploadBlob.js +15 -0
- package/dist/lexicons/types/com/atproto/repo/uploadBlob.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/activateAccount.d.ts +12 -0
- package/dist/lexicons/types/com/atproto/server/activateAccount.js +8 -0
- package/dist/lexicons/types/com/atproto/server/activateAccount.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.d.ts +25 -0
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.js +20 -0
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/confirmEmail.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/server/confirmEmail.js +14 -0
- package/dist/lexicons/types/com/atproto/server/confirmEmail.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/createAccount.d.ts +34 -0
- package/dist/lexicons/types/com/atproto/server/createAccount.js +30 -0
- package/dist/lexicons/types/com/atproto/server/createAccount.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts +34 -0
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js +28 -0
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCode.d.ts +23 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCode.js +19 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCode.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts +35 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js +29 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/createSession.d.ts +34 -0
- package/dist/lexicons/types/com/atproto/server/createSession.js +31 -0
- package/dist/lexicons/types/com/atproto/server/createSession.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.js +13 -0
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/defs.d.ts +29 -0
- package/dist/lexicons/types/com/atproto/server/defs.js +21 -0
- package/dist/lexicons/types/com/atproto/server/defs.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/deleteAccount.d.ts +19 -0
- package/dist/lexicons/types/com/atproto/server/deleteAccount.js +15 -0
- package/dist/lexicons/types/com/atproto/server/deleteAccount.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/deleteSession.d.ts +12 -0
- package/dist/lexicons/types/com/atproto/server/deleteSession.js +8 -0
- package/dist/lexicons/types/com/atproto/server/deleteSession.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/describeServer.d.ts +43 -0
- package/dist/lexicons/types/com/atproto/server/describeServer.js +32 -0
- package/dist/lexicons/types/com/atproto/server/describeServer.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts +21 -0
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js +18 -0
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts +21 -0
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.js +16 -0
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/getSession.d.ts +24 -0
- package/dist/lexicons/types/com/atproto/server/getSession.js +20 -0
- package/dist/lexicons/types/com/atproto/server/getSession.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.d.ts +29 -0
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.js +21 -0
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts +23 -0
- package/dist/lexicons/types/com/atproto/server/refreshSession.js +20 -0
- package/dist/lexicons/types/com/atproto/server/refreshSession.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/requestAccountDelete.d.ts +12 -0
- package/dist/lexicons/types/com/atproto/server/requestAccountDelete.js +8 -0
- package/dist/lexicons/types/com/atproto/server/requestAccountDelete.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.d.ts +12 -0
- package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.js +8 -0
- package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.js +13 -0
- package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/requestPasswordReset.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/server/requestPasswordReset.js +13 -0
- package/dist/lexicons/types/com/atproto/server/requestPasswordReset.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts +22 -0
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js +18 -0
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/resetPassword.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/server/resetPassword.js +14 -0
- package/dist/lexicons/types/com/atproto/server/resetPassword.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/revokeAppPassword.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/server/revokeAppPassword.js +13 -0
- package/dist/lexicons/types/com/atproto/server/revokeAppPassword.js.map +1 -0
- package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts +19 -0
- package/dist/lexicons/types/com/atproto/server/updateEmail.js +15 -0
- package/dist/lexicons/types/com/atproto/server/updateEmail.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/defs.d.ts +8 -0
- package/dist/lexicons/types/com/atproto/sync/defs.js +4 -0
- package/dist/lexicons/types/com/atproto/sync/defs.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/sync/getBlob.js +12 -0
- package/dist/lexicons/types/com/atproto/sync/getBlob.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js +12 -0
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts +16 -0
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js +11 -0
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/getHead.d.ts +19 -0
- package/dist/lexicons/types/com/atproto/sync/getHead.js +14 -0
- package/dist/lexicons/types/com/atproto/sync/getHead.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.d.ts +23 -0
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.js +20 -0
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts +20 -0
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js +15 -0
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/sync/getRecord.js +13 -0
- package/dist/lexicons/types/com/atproto/sync/getRecord.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/sync/getRepo.js +12 -0
- package/dist/lexicons/types/com/atproto/sync/getRepo.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts +22 -0
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js +18 -0
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts +23 -0
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js +19 -0
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/listHosts.d.ts +35 -0
- package/dist/lexicons/types/com/atproto/sync/listHosts.js +30 -0
- package/dist/lexicons/types/com/atproto/sync/listHosts.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts +35 -0
- package/dist/lexicons/types/com/atproto/sync/listRepos.js +29 -0
- package/dist/lexicons/types/com/atproto/sync/listRepos.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts +32 -0
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js +25 -0
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js +13 -0
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.js +13 -0
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.js.map +1 -0
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts +100 -0
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js +70 -0
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js.map +1 -0
- package/dist/lexicons/types/com/atproto/temp/addReservedHandle.d.ts +20 -0
- package/dist/lexicons/types/com/atproto/temp/addReservedHandle.js +16 -0
- package/dist/lexicons/types/com/atproto/temp/addReservedHandle.js.map +1 -0
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.d.ts +19 -0
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.js +14 -0
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.js.map +1 -0
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts +21 -0
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js +19 -0
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js.map +1 -0
- package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.d.ts +17 -0
- package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.js +13 -0
- package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.js.map +1 -0
- package/lib/index.ts +1 -0
- package/lib/lexicons/index.ts +91 -0
- package/lib/lexicons/types/com/atproto/admin/defs.ts +69 -0
- package/lib/lexicons/types/com/atproto/admin/deleteAccount.ts +26 -0
- package/lib/lexicons/types/com/atproto/admin/disableAccountInvites.ts +27 -0
- package/lib/lexicons/types/com/atproto/admin/disableInviteCodes.ts +27 -0
- package/lib/lexicons/types/com/atproto/admin/enableAccountInvites.ts +27 -0
- package/lib/lexicons/types/com/atproto/admin/getAccountInfo.ts +28 -0
- package/lib/lexicons/types/com/atproto/admin/getAccountInfos.ts +30 -0
- package/lib/lexicons/types/com/atproto/admin/getInviteCodes.ts +36 -0
- package/lib/lexicons/types/com/atproto/admin/getSubjectStatus.ts +43 -0
- package/lib/lexicons/types/com/atproto/admin/searchAccounts.ts +36 -0
- package/lib/lexicons/types/com/atproto/admin/sendEmail.ts +35 -0
- package/lib/lexicons/types/com/atproto/admin/updateAccountEmail.ts +27 -0
- package/lib/lexicons/types/com/atproto/admin/updateAccountHandle.ts +27 -0
- package/lib/lexicons/types/com/atproto/admin/updateAccountPassword.ts +27 -0
- package/lib/lexicons/types/com/atproto/admin/updateAccountSigningKey.ts +27 -0
- package/lib/lexicons/types/com/atproto/admin/updateSubjectStatus.ts +54 -0
- package/lib/lexicons/types/com/atproto/identity/defs.ts +17 -0
- package/lib/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.ts +28 -0
- package/lib/lexicons/types/com/atproto/identity/refreshIdentity.ts +32 -0
- package/lib/lexicons/types/com/atproto/identity/requestPlcOperationSignature.ts +21 -0
- package/lib/lexicons/types/com/atproto/identity/resolveDid.ts +27 -0
- package/lib/lexicons/types/com/atproto/identity/resolveHandle.ts +27 -0
- package/lib/lexicons/types/com/atproto/identity/resolveIdentity.ts +28 -0
- package/lib/lexicons/types/com/atproto/identity/signPlcOperation.ts +35 -0
- package/lib/lexicons/types/com/atproto/identity/submitPlcOperation.ts +26 -0
- package/lib/lexicons/types/com/atproto/identity/updateHandle.ts +26 -0
- package/lib/lexicons/types/com/atproto/label/defs.ts +99 -0
- package/lib/lexicons/types/com/atproto/label/queryLabels.ts +37 -0
- package/lib/lexicons/types/com/atproto/label/subscribeLabels.ts +46 -0
- package/lib/lexicons/types/com/atproto/lexicon/schema.ts +25 -0
- package/lib/lexicons/types/com/atproto/moderation/createReport.ts +65 -0
- package/lib/lexicons/types/com/atproto/moderation/defs.ts +61 -0
- package/lib/lexicons/types/com/atproto/repo/applyWrites.ts +107 -0
- package/lib/lexicons/types/com/atproto/repo/createRecord.ts +46 -0
- package/lib/lexicons/types/com/atproto/repo/defs.ts +16 -0
- package/lib/lexicons/types/com/atproto/repo/deleteRecord.ts +38 -0
- package/lib/lexicons/types/com/atproto/repo/describeRepo.ts +31 -0
- package/lib/lexicons/types/com/atproto/repo/getRecord.ts +32 -0
- package/lib/lexicons/types/com/atproto/repo/importRepo.ts +23 -0
- package/lib/lexicons/types/com/atproto/repo/listMissingBlobs.ts +44 -0
- package/lib/lexicons/types/com/atproto/repo/listRecords.ts +48 -0
- package/lib/lexicons/types/com/atproto/repo/putRecord.ts +47 -0
- package/lib/lexicons/types/com/atproto/repo/strongRef.ts +16 -0
- package/lib/lexicons/types/com/atproto/repo/uploadBlob.ts +28 -0
- package/lib/lexicons/types/com/atproto/server/activateAccount.ts +21 -0
- package/lib/lexicons/types/com/atproto/server/checkAccountStatus.ts +33 -0
- package/lib/lexicons/types/com/atproto/server/confirmEmail.ts +27 -0
- package/lib/lexicons/types/com/atproto/server/createAccount.ts +43 -0
- package/lib/lexicons/types/com/atproto/server/createAppPassword.ts +46 -0
- package/lib/lexicons/types/com/atproto/server/createInviteCode.ts +32 -0
- package/lib/lexicons/types/com/atproto/server/createInviteCodes.ts +47 -0
- package/lib/lexicons/types/com/atproto/server/createSession.ts +45 -0
- package/lib/lexicons/types/com/atproto/server/deactivateAccount.ts +26 -0
- package/lib/lexicons/types/com/atproto/server/defs.ts +32 -0
- package/lib/lexicons/types/com/atproto/server/deleteAccount.ts +28 -0
- package/lib/lexicons/types/com/atproto/server/deleteSession.ts +21 -0
- package/lib/lexicons/types/com/atproto/server/describeServer.ts +52 -0
- package/lib/lexicons/types/com/atproto/server/getAccountInviteCodes.ts +31 -0
- package/lib/lexicons/types/com/atproto/server/getServiceAuth.ts +29 -0
- package/lib/lexicons/types/com/atproto/server/getSession.ts +34 -0
- package/lib/lexicons/types/com/atproto/server/listAppPasswords.ts +38 -0
- package/lib/lexicons/types/com/atproto/server/refreshSession.ts +34 -0
- package/lib/lexicons/types/com/atproto/server/requestAccountDelete.ts +21 -0
- package/lib/lexicons/types/com/atproto/server/requestEmailConfirmation.ts +21 -0
- package/lib/lexicons/types/com/atproto/server/requestEmailUpdate.ts +26 -0
- package/lib/lexicons/types/com/atproto/server/requestPasswordReset.ts +26 -0
- package/lib/lexicons/types/com/atproto/server/reserveSigningKey.ts +31 -0
- package/lib/lexicons/types/com/atproto/server/resetPassword.ts +27 -0
- package/lib/lexicons/types/com/atproto/server/revokeAppPassword.ts +26 -0
- package/lib/lexicons/types/com/atproto/server/updateEmail.ts +28 -0
- package/lib/lexicons/types/com/atproto/sync/defs.ts +14 -0
- package/lib/lexicons/types/com/atproto/sync/getBlob.ts +25 -0
- package/lib/lexicons/types/com/atproto/sync/getBlocks.ts +25 -0
- package/lib/lexicons/types/com/atproto/sync/getCheckout.ts +24 -0
- package/lib/lexicons/types/com/atproto/sync/getHead.ts +27 -0
- package/lib/lexicons/types/com/atproto/sync/getHostStatus.ts +33 -0
- package/lib/lexicons/types/com/atproto/sync/getLatestCommit.ts +28 -0
- package/lib/lexicons/types/com/atproto/sync/getRecord.ts +26 -0
- package/lib/lexicons/types/com/atproto/sync/getRepo.ts +25 -0
- package/lib/lexicons/types/com/atproto/sync/getRepoStatus.ts +40 -0
- package/lib/lexicons/types/com/atproto/sync/listBlobs.ts +34 -0
- package/lib/lexicons/types/com/atproto/sync/listHosts.ts +49 -0
- package/lib/lexicons/types/com/atproto/sync/listRepos.ts +51 -0
- package/lib/lexicons/types/com/atproto/sync/listReposByCollection.ts +44 -0
- package/lib/lexicons/types/com/atproto/sync/notifyOfUpdate.ts +26 -0
- package/lib/lexicons/types/com/atproto/sync/requestCrawl.ts +26 -0
- package/lib/lexicons/types/com/atproto/sync/subscribeRepos.ts +105 -0
- package/lib/lexicons/types/com/atproto/temp/addReservedHandle.ts +29 -0
- package/lib/lexicons/types/com/atproto/temp/checkSignupQueue.ts +27 -0
- package/lib/lexicons/types/com/atproto/temp/fetchLabels.ts +34 -0
- package/lib/lexicons/types/com/atproto/temp/requestPhoneVerification.ts +26 -0
- package/package.json +37 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.updateEmail', {
|
|
6
|
+
params: null,
|
|
7
|
+
input: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
email: /*#__PURE__*/ v.string(),
|
|
11
|
+
emailAuthFactor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
12
|
+
token: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
|
+
}),
|
|
14
|
+
},
|
|
15
|
+
output: null,
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface mainSchema extends main$schematype {}
|
|
21
|
+
|
|
22
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
23
|
+
|
|
24
|
+
declare module '@atcute/lexicons/ambient' {
|
|
25
|
+
interface XRPCProcedures {
|
|
26
|
+
'com.atproto.server.updateEmail': mainSchema;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
|
|
4
|
+
const _hostStatusSchema = /*#__PURE__*/ v.string<
|
|
5
|
+
'active' | 'idle' | 'offline' | 'throttled' | 'banned' | (string & {})
|
|
6
|
+
>();
|
|
7
|
+
|
|
8
|
+
type hostStatus$schematype = typeof _hostStatusSchema;
|
|
9
|
+
|
|
10
|
+
export interface hostStatusSchema extends hostStatus$schematype {}
|
|
11
|
+
|
|
12
|
+
export const hostStatusSchema = _hostStatusSchema as hostStatusSchema;
|
|
13
|
+
|
|
14
|
+
export type HostStatus = v.InferInput<typeof hostStatusSchema>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getBlob', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
cid: /*#__PURE__*/ v.string(),
|
|
9
|
+
}),
|
|
10
|
+
output: {
|
|
11
|
+
type: 'blob',
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
type main$schematype = typeof _mainSchema;
|
|
16
|
+
|
|
17
|
+
export interface mainSchema extends main$schematype {}
|
|
18
|
+
|
|
19
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
20
|
+
|
|
21
|
+
declare module '@atcute/lexicons/ambient' {
|
|
22
|
+
interface XRPCQueries {
|
|
23
|
+
'com.atproto.sync.getBlob': mainSchema;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getBlocks', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
cids: /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()),
|
|
9
|
+
}),
|
|
10
|
+
output: {
|
|
11
|
+
type: 'blob',
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
type main$schematype = typeof _mainSchema;
|
|
16
|
+
|
|
17
|
+
export interface mainSchema extends main$schematype {}
|
|
18
|
+
|
|
19
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
20
|
+
|
|
21
|
+
declare module '@atcute/lexicons/ambient' {
|
|
22
|
+
interface XRPCQueries {
|
|
23
|
+
'com.atproto.sync.getBlocks': mainSchema;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getCheckout', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
}),
|
|
9
|
+
output: {
|
|
10
|
+
type: 'blob',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
type main$schematype = typeof _mainSchema;
|
|
15
|
+
|
|
16
|
+
export interface mainSchema extends main$schematype {}
|
|
17
|
+
|
|
18
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
19
|
+
|
|
20
|
+
declare module '@atcute/lexicons/ambient' {
|
|
21
|
+
interface XRPCQueries {
|
|
22
|
+
'com.atproto.sync.getCheckout': mainSchema;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getHead', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
}),
|
|
9
|
+
output: {
|
|
10
|
+
type: 'lex',
|
|
11
|
+
schema: /*#__PURE__*/ v.object({
|
|
12
|
+
root: /*#__PURE__*/ v.string(),
|
|
13
|
+
}),
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
type main$schematype = typeof _mainSchema;
|
|
18
|
+
|
|
19
|
+
export interface mainSchema extends main$schematype {}
|
|
20
|
+
|
|
21
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
22
|
+
|
|
23
|
+
declare module '@atcute/lexicons/ambient' {
|
|
24
|
+
interface XRPCQueries {
|
|
25
|
+
'com.atproto.sync.getHead': mainSchema;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as ComAtprotoSyncDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getHostStatus', {
|
|
7
|
+
params: /*#__PURE__*/ v.object({
|
|
8
|
+
hostname: /*#__PURE__*/ v.string(),
|
|
9
|
+
}),
|
|
10
|
+
output: {
|
|
11
|
+
type: 'lex',
|
|
12
|
+
schema: /*#__PURE__*/ v.object({
|
|
13
|
+
hostname: /*#__PURE__*/ v.string(),
|
|
14
|
+
seq: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
15
|
+
accountCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
16
|
+
get status() {
|
|
17
|
+
return /*#__PURE__*/ v.optional(ComAtprotoSyncDefs.hostStatusSchema);
|
|
18
|
+
},
|
|
19
|
+
}),
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
type main$schematype = typeof _mainSchema;
|
|
24
|
+
|
|
25
|
+
export interface mainSchema extends main$schematype {}
|
|
26
|
+
|
|
27
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
28
|
+
|
|
29
|
+
declare module '@atcute/lexicons/ambient' {
|
|
30
|
+
interface XRPCQueries {
|
|
31
|
+
'com.atproto.sync.getHostStatus': mainSchema;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getLatestCommit', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
}),
|
|
9
|
+
output: {
|
|
10
|
+
type: 'lex',
|
|
11
|
+
schema: /*#__PURE__*/ v.object({
|
|
12
|
+
cid: /*#__PURE__*/ v.string(),
|
|
13
|
+
rev: /*#__PURE__*/ v.tidString(),
|
|
14
|
+
}),
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
type main$schematype = typeof _mainSchema;
|
|
19
|
+
|
|
20
|
+
export interface mainSchema extends main$schematype {}
|
|
21
|
+
|
|
22
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
23
|
+
|
|
24
|
+
declare module '@atcute/lexicons/ambient' {
|
|
25
|
+
interface XRPCQueries {
|
|
26
|
+
'com.atproto.sync.getLatestCommit': mainSchema;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRecord', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
collection: /*#__PURE__*/ v.nsidString(),
|
|
9
|
+
rkey: /*#__PURE__*/ v.recordKeyString(),
|
|
10
|
+
}),
|
|
11
|
+
output: {
|
|
12
|
+
type: 'blob',
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
type main$schematype = typeof _mainSchema;
|
|
17
|
+
|
|
18
|
+
export interface mainSchema extends main$schematype {}
|
|
19
|
+
|
|
20
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
21
|
+
|
|
22
|
+
declare module '@atcute/lexicons/ambient' {
|
|
23
|
+
interface XRPCQueries {
|
|
24
|
+
'com.atproto.sync.getRecord': mainSchema;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRepo', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
|
|
9
|
+
}),
|
|
10
|
+
output: {
|
|
11
|
+
type: 'blob',
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
type main$schematype = typeof _mainSchema;
|
|
16
|
+
|
|
17
|
+
export interface mainSchema extends main$schematype {}
|
|
18
|
+
|
|
19
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
20
|
+
|
|
21
|
+
declare module '@atcute/lexicons/ambient' {
|
|
22
|
+
interface XRPCQueries {
|
|
23
|
+
'com.atproto.sync.getRepo': mainSchema;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRepoStatus', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
}),
|
|
9
|
+
output: {
|
|
10
|
+
type: 'lex',
|
|
11
|
+
schema: /*#__PURE__*/ v.object({
|
|
12
|
+
did: /*#__PURE__*/ v.didString(),
|
|
13
|
+
active: /*#__PURE__*/ v.boolean(),
|
|
14
|
+
status: /*#__PURE__*/ v.optional(
|
|
15
|
+
/*#__PURE__*/ v.string<
|
|
16
|
+
| 'takendown'
|
|
17
|
+
| 'suspended'
|
|
18
|
+
| 'deleted'
|
|
19
|
+
| 'deactivated'
|
|
20
|
+
| 'desynchronized'
|
|
21
|
+
| 'throttled'
|
|
22
|
+
| (string & {})
|
|
23
|
+
>(),
|
|
24
|
+
),
|
|
25
|
+
rev: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
|
|
26
|
+
}),
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
type main$schematype = typeof _mainSchema;
|
|
31
|
+
|
|
32
|
+
export interface mainSchema extends main$schematype {}
|
|
33
|
+
|
|
34
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
35
|
+
|
|
36
|
+
declare module '@atcute/lexicons/ambient' {
|
|
37
|
+
interface XRPCQueries {
|
|
38
|
+
'com.atproto.sync.getRepoStatus': mainSchema;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listBlobs', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
did: /*#__PURE__*/ v.didString(),
|
|
8
|
+
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
|
|
9
|
+
limit: /*#__PURE__*/ v.optional(
|
|
10
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
|
|
11
|
+
500,
|
|
12
|
+
),
|
|
13
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
}),
|
|
15
|
+
output: {
|
|
16
|
+
type: 'lex',
|
|
17
|
+
schema: /*#__PURE__*/ v.object({
|
|
18
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
19
|
+
cids: /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()),
|
|
20
|
+
}),
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
type main$schematype = typeof _mainSchema;
|
|
25
|
+
|
|
26
|
+
export interface mainSchema extends main$schematype {}
|
|
27
|
+
|
|
28
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
29
|
+
|
|
30
|
+
declare module '@atcute/lexicons/ambient' {
|
|
31
|
+
interface XRPCQueries {
|
|
32
|
+
'com.atproto.sync.listBlobs': mainSchema;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
import * as ComAtprotoSyncDefs from './defs.js';
|
|
5
|
+
|
|
6
|
+
const _hostSchema = /*#__PURE__*/ v.object({
|
|
7
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listHosts#host')),
|
|
8
|
+
hostname: /*#__PURE__*/ v.string(),
|
|
9
|
+
seq: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
10
|
+
accountCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
11
|
+
get status() {
|
|
12
|
+
return /*#__PURE__*/ v.optional(ComAtprotoSyncDefs.hostStatusSchema);
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listHosts', {
|
|
16
|
+
params: /*#__PURE__*/ v.object({
|
|
17
|
+
limit: /*#__PURE__*/ v.optional(
|
|
18
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
|
|
19
|
+
200,
|
|
20
|
+
),
|
|
21
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
22
|
+
}),
|
|
23
|
+
output: {
|
|
24
|
+
type: 'lex',
|
|
25
|
+
schema: /*#__PURE__*/ v.object({
|
|
26
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
27
|
+
get hosts() {
|
|
28
|
+
return /*#__PURE__*/ v.array(hostSchema);
|
|
29
|
+
},
|
|
30
|
+
}),
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
type host$schematype = typeof _hostSchema;
|
|
35
|
+
type main$schematype = typeof _mainSchema;
|
|
36
|
+
|
|
37
|
+
export interface hostSchema extends host$schematype {}
|
|
38
|
+
export interface mainSchema extends main$schematype {}
|
|
39
|
+
|
|
40
|
+
export const hostSchema = _hostSchema as hostSchema;
|
|
41
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
42
|
+
|
|
43
|
+
export interface Host extends v.InferInput<typeof hostSchema> {}
|
|
44
|
+
|
|
45
|
+
declare module '@atcute/lexicons/ambient' {
|
|
46
|
+
interface XRPCQueries {
|
|
47
|
+
'com.atproto.sync.listHosts': mainSchema;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listRepos', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
limit: /*#__PURE__*/ v.optional(
|
|
8
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
|
|
9
|
+
500,
|
|
10
|
+
),
|
|
11
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
|
+
}),
|
|
13
|
+
output: {
|
|
14
|
+
type: 'lex',
|
|
15
|
+
schema: /*#__PURE__*/ v.object({
|
|
16
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
17
|
+
get repos() {
|
|
18
|
+
return /*#__PURE__*/ v.array(repoSchema);
|
|
19
|
+
},
|
|
20
|
+
}),
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
const _repoSchema = /*#__PURE__*/ v.object({
|
|
24
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listRepos#repo')),
|
|
25
|
+
did: /*#__PURE__*/ v.didString(),
|
|
26
|
+
head: /*#__PURE__*/ v.string(),
|
|
27
|
+
rev: /*#__PURE__*/ v.tidString(),
|
|
28
|
+
active: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
29
|
+
status: /*#__PURE__*/ v.optional(
|
|
30
|
+
/*#__PURE__*/ v.string<
|
|
31
|
+
'takendown' | 'suspended' | 'deleted' | 'deactivated' | 'desynchronized' | 'throttled' | (string & {})
|
|
32
|
+
>(),
|
|
33
|
+
),
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
type main$schematype = typeof _mainSchema;
|
|
37
|
+
type repo$schematype = typeof _repoSchema;
|
|
38
|
+
|
|
39
|
+
export interface mainSchema extends main$schematype {}
|
|
40
|
+
export interface repoSchema extends repo$schematype {}
|
|
41
|
+
|
|
42
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
43
|
+
export const repoSchema = _repoSchema as repoSchema;
|
|
44
|
+
|
|
45
|
+
export interface Repo extends v.InferInput<typeof repoSchema> {}
|
|
46
|
+
|
|
47
|
+
declare module '@atcute/lexicons/ambient' {
|
|
48
|
+
interface XRPCQueries {
|
|
49
|
+
'com.atproto.sync.listRepos': mainSchema;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listReposByCollection', {
|
|
6
|
+
params: /*#__PURE__*/ v.object({
|
|
7
|
+
collection: /*#__PURE__*/ v.nsidString(),
|
|
8
|
+
limit: /*#__PURE__*/ v.optional(
|
|
9
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 2000)]),
|
|
10
|
+
500,
|
|
11
|
+
),
|
|
12
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
|
+
}),
|
|
14
|
+
output: {
|
|
15
|
+
type: 'lex',
|
|
16
|
+
schema: /*#__PURE__*/ v.object({
|
|
17
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
18
|
+
get repos() {
|
|
19
|
+
return /*#__PURE__*/ v.array(repoSchema);
|
|
20
|
+
},
|
|
21
|
+
}),
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
const _repoSchema = /*#__PURE__*/ v.object({
|
|
25
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listReposByCollection#repo')),
|
|
26
|
+
did: /*#__PURE__*/ v.didString(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
type main$schematype = typeof _mainSchema;
|
|
30
|
+
type repo$schematype = typeof _repoSchema;
|
|
31
|
+
|
|
32
|
+
export interface mainSchema extends main$schematype {}
|
|
33
|
+
export interface repoSchema extends repo$schematype {}
|
|
34
|
+
|
|
35
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
36
|
+
export const repoSchema = _repoSchema as repoSchema;
|
|
37
|
+
|
|
38
|
+
export interface Repo extends v.InferInput<typeof repoSchema> {}
|
|
39
|
+
|
|
40
|
+
declare module '@atcute/lexicons/ambient' {
|
|
41
|
+
interface XRPCQueries {
|
|
42
|
+
'com.atproto.sync.listReposByCollection': mainSchema;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.sync.notifyOfUpdate', {
|
|
6
|
+
params: null,
|
|
7
|
+
input: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
hostname: /*#__PURE__*/ v.string(),
|
|
11
|
+
}),
|
|
12
|
+
},
|
|
13
|
+
output: null,
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
type main$schematype = typeof _mainSchema;
|
|
17
|
+
|
|
18
|
+
export interface mainSchema extends main$schematype {}
|
|
19
|
+
|
|
20
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
21
|
+
|
|
22
|
+
declare module '@atcute/lexicons/ambient' {
|
|
23
|
+
interface XRPCProcedures {
|
|
24
|
+
'com.atproto.sync.notifyOfUpdate': mainSchema;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.sync.requestCrawl', {
|
|
6
|
+
params: null,
|
|
7
|
+
input: {
|
|
8
|
+
type: 'lex',
|
|
9
|
+
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
hostname: /*#__PURE__*/ v.string(),
|
|
11
|
+
}),
|
|
12
|
+
},
|
|
13
|
+
output: null,
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
type main$schematype = typeof _mainSchema;
|
|
17
|
+
|
|
18
|
+
export interface mainSchema extends main$schematype {}
|
|
19
|
+
|
|
20
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
21
|
+
|
|
22
|
+
declare module '@atcute/lexicons/ambient' {
|
|
23
|
+
interface XRPCProcedures {
|
|
24
|
+
'com.atproto.sync.requestCrawl': mainSchema;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _accountSchema = /*#__PURE__*/ v.object({
|
|
6
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#account')),
|
|
7
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
8
|
+
did: /*#__PURE__*/ v.didString(),
|
|
9
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
10
|
+
active: /*#__PURE__*/ v.boolean(),
|
|
11
|
+
status: /*#__PURE__*/ v.optional(
|
|
12
|
+
/*#__PURE__*/ v.string<
|
|
13
|
+
'takendown' | 'suspended' | 'deleted' | 'deactivated' | 'desynchronized' | 'throttled' | (string & {})
|
|
14
|
+
>(),
|
|
15
|
+
),
|
|
16
|
+
});
|
|
17
|
+
const _commitSchema = /*#__PURE__*/ v.object({
|
|
18
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#commit')),
|
|
19
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
20
|
+
rebase: /*#__PURE__*/ v.boolean(),
|
|
21
|
+
tooBig: /*#__PURE__*/ v.boolean(),
|
|
22
|
+
repo: /*#__PURE__*/ v.didString(),
|
|
23
|
+
commit: /*#__PURE__*/ v.cidLink(),
|
|
24
|
+
rev: /*#__PURE__*/ v.tidString(),
|
|
25
|
+
since: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.tidString()),
|
|
26
|
+
blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 2000000)]),
|
|
27
|
+
get ops() {
|
|
28
|
+
return /*#__PURE__*/ v.constrain(v.array(repoOpSchema), [/*#__PURE__*/ v.arrayLength(0, 200)]);
|
|
29
|
+
},
|
|
30
|
+
blobs: /*#__PURE__*/ v.array(/*#__PURE__*/ v.cidLink()),
|
|
31
|
+
prevData: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
|
|
32
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
33
|
+
});
|
|
34
|
+
const _identitySchema = /*#__PURE__*/ v.object({
|
|
35
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#identity')),
|
|
36
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
37
|
+
did: /*#__PURE__*/ v.didString(),
|
|
38
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
39
|
+
handle: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.handleString()),
|
|
40
|
+
});
|
|
41
|
+
const _infoSchema = /*#__PURE__*/ v.object({
|
|
42
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#info')),
|
|
43
|
+
name: /*#__PURE__*/ v.string<'OutdatedCursor' | (string & {})>(),
|
|
44
|
+
message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
45
|
+
});
|
|
46
|
+
const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.sync.subscribeRepos', {
|
|
47
|
+
params: /*#__PURE__*/ v.object({
|
|
48
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
49
|
+
}),
|
|
50
|
+
get message() {
|
|
51
|
+
return /*#__PURE__*/ v.variant([commitSchema, syncSchema, identitySchema, accountSchema, infoSchema]);
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
const _repoOpSchema = /*#__PURE__*/ v.object({
|
|
55
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#repoOp')),
|
|
56
|
+
action: /*#__PURE__*/ v.string<'create' | 'update' | 'delete' | (string & {})>(),
|
|
57
|
+
path: /*#__PURE__*/ v.string(),
|
|
58
|
+
cid: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.cidLink()),
|
|
59
|
+
prev: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
|
|
60
|
+
});
|
|
61
|
+
const _syncSchema = /*#__PURE__*/ v.object({
|
|
62
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#sync')),
|
|
63
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
64
|
+
did: /*#__PURE__*/ v.didString(),
|
|
65
|
+
blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 10000)]),
|
|
66
|
+
rev: /*#__PURE__*/ v.string(),
|
|
67
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
type account$schematype = typeof _accountSchema;
|
|
71
|
+
type commit$schematype = typeof _commitSchema;
|
|
72
|
+
type identity$schematype = typeof _identitySchema;
|
|
73
|
+
type info$schematype = typeof _infoSchema;
|
|
74
|
+
type main$schematype = typeof _mainSchema;
|
|
75
|
+
type repoOp$schematype = typeof _repoOpSchema;
|
|
76
|
+
type sync$schematype = typeof _syncSchema;
|
|
77
|
+
|
|
78
|
+
export interface accountSchema extends account$schematype {}
|
|
79
|
+
export interface commitSchema extends commit$schematype {}
|
|
80
|
+
export interface identitySchema extends identity$schematype {}
|
|
81
|
+
export interface infoSchema extends info$schematype {}
|
|
82
|
+
export interface mainSchema extends main$schematype {}
|
|
83
|
+
export interface repoOpSchema extends repoOp$schematype {}
|
|
84
|
+
export interface syncSchema extends sync$schematype {}
|
|
85
|
+
|
|
86
|
+
export const accountSchema = _accountSchema as accountSchema;
|
|
87
|
+
export const commitSchema = _commitSchema as commitSchema;
|
|
88
|
+
export const identitySchema = _identitySchema as identitySchema;
|
|
89
|
+
export const infoSchema = _infoSchema as infoSchema;
|
|
90
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
91
|
+
export const repoOpSchema = _repoOpSchema as repoOpSchema;
|
|
92
|
+
export const syncSchema = _syncSchema as syncSchema;
|
|
93
|
+
|
|
94
|
+
export interface Account extends v.InferInput<typeof accountSchema> {}
|
|
95
|
+
export interface Commit extends v.InferInput<typeof commitSchema> {}
|
|
96
|
+
export interface Identity extends v.InferInput<typeof identitySchema> {}
|
|
97
|
+
export interface Info extends v.InferInput<typeof infoSchema> {}
|
|
98
|
+
export interface RepoOp extends v.InferInput<typeof repoOpSchema> {}
|
|
99
|
+
export interface Sync extends v.InferInput<typeof syncSchema> {}
|
|
100
|
+
|
|
101
|
+
declare module '@atcute/lexicons/ambient' {
|
|
102
|
+
interface XRPCSubscriptions {
|
|
103
|
+
'com.atproto.sync.subscribeRepos': mainSchema;
|
|
104
|
+
}
|
|
105
|
+
}
|