@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,23 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
3
|
+
did: v.FormattedStringSchema<"did">;
|
|
4
|
+
since: v.OptionalSchema<v.FormattedStringSchema<"tid">, undefined>;
|
|
5
|
+
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 1000>]>, 500>;
|
|
6
|
+
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
7
|
+
}>, {
|
|
8
|
+
type: "lex";
|
|
9
|
+
schema: v.ObjectSchema<{
|
|
10
|
+
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
11
|
+
cids: v.ArraySchema<v.StringSchema<string>>;
|
|
12
|
+
}>;
|
|
13
|
+
}, "com.atproto.sync.listBlobs">;
|
|
14
|
+
type main$schematype = typeof _mainSchema;
|
|
15
|
+
export interface mainSchema extends main$schematype {
|
|
16
|
+
}
|
|
17
|
+
export declare const mainSchema: mainSchema;
|
|
18
|
+
declare module '@atcute/lexicons/ambient' {
|
|
19
|
+
interface XRPCQueries {
|
|
20
|
+
'com.atproto.sync.listBlobs': mainSchema;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listBlobs', {
|
|
3
|
+
params: /*#__PURE__*/ v.object({
|
|
4
|
+
did: /*#__PURE__*/ v.didString(),
|
|
5
|
+
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
|
|
6
|
+
limit: /*#__PURE__*/ v.optional(
|
|
7
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]), 500),
|
|
8
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
}),
|
|
10
|
+
output: {
|
|
11
|
+
type: 'lex',
|
|
12
|
+
schema: /*#__PURE__*/ v.object({
|
|
13
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
cids: /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()),
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
export const mainSchema = _mainSchema;
|
|
19
|
+
//# sourceMappingURL=listBlobs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listBlobs.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/listBlobs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,4BAA4B,EAAE;IACvE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;QAChC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;QAC5D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;QAC9B,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAC7F,GAAG,CACH;QACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;KAC1D,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;YAC1D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACrD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as ComAtprotoSyncDefs from './defs.js';
|
|
3
|
+
declare const _hostSchema: v.ObjectSchema<{
|
|
4
|
+
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.listHosts#host">, undefined>;
|
|
5
|
+
hostname: v.StringSchema<string>;
|
|
6
|
+
seq: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
7
|
+
accountCount: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
8
|
+
readonly status: v.OptionalSchema<ComAtprotoSyncDefs.hostStatusSchema, undefined>;
|
|
9
|
+
}>;
|
|
10
|
+
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
11
|
+
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 1000>]>, 200>;
|
|
12
|
+
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
13
|
+
}>, {
|
|
14
|
+
type: "lex";
|
|
15
|
+
schema: v.ObjectSchema<{
|
|
16
|
+
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
17
|
+
readonly hosts: v.ArraySchema<hostSchema>;
|
|
18
|
+
}>;
|
|
19
|
+
}, "com.atproto.sync.listHosts">;
|
|
20
|
+
type host$schematype = typeof _hostSchema;
|
|
21
|
+
type main$schematype = typeof _mainSchema;
|
|
22
|
+
export interface hostSchema extends host$schematype {
|
|
23
|
+
}
|
|
24
|
+
export interface mainSchema extends main$schematype {
|
|
25
|
+
}
|
|
26
|
+
export declare const hostSchema: hostSchema;
|
|
27
|
+
export declare const mainSchema: mainSchema;
|
|
28
|
+
export interface Host extends v.InferInput<typeof hostSchema> {
|
|
29
|
+
}
|
|
30
|
+
declare module '@atcute/lexicons/ambient' {
|
|
31
|
+
interface XRPCQueries {
|
|
32
|
+
'com.atproto.sync.listHosts': mainSchema;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as ComAtprotoSyncDefs from './defs.js';
|
|
3
|
+
const _hostSchema = /*#__PURE__*/ v.object({
|
|
4
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listHosts#host')),
|
|
5
|
+
hostname: /*#__PURE__*/ v.string(),
|
|
6
|
+
seq: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
7
|
+
accountCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
8
|
+
get status() {
|
|
9
|
+
return /*#__PURE__*/ v.optional(ComAtprotoSyncDefs.hostStatusSchema);
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listHosts', {
|
|
13
|
+
params: /*#__PURE__*/ v.object({
|
|
14
|
+
limit: /*#__PURE__*/ v.optional(
|
|
15
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]), 200),
|
|
16
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
17
|
+
}),
|
|
18
|
+
output: {
|
|
19
|
+
type: 'lex',
|
|
20
|
+
schema: /*#__PURE__*/ v.object({
|
|
21
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
22
|
+
get hosts() {
|
|
23
|
+
return /*#__PURE__*/ v.array(hostSchema);
|
|
24
|
+
},
|
|
25
|
+
}),
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
export const hostSchema = _hostSchema;
|
|
29
|
+
export const mainSchema = _mainSchema;
|
|
30
|
+
//# sourceMappingURL=listHosts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listHosts.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/listHosts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,kBAAkB,MAAM,WAAW,CAAC;AAEhD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC3F,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;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+1,35 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
3
|
+
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 1000>]>, 500>;
|
|
4
|
+
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
5
|
+
}>, {
|
|
6
|
+
type: "lex";
|
|
7
|
+
schema: v.ObjectSchema<{
|
|
8
|
+
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
9
|
+
readonly repos: v.ArraySchema<repoSchema>;
|
|
10
|
+
}>;
|
|
11
|
+
}, "com.atproto.sync.listRepos">;
|
|
12
|
+
declare const _repoSchema: v.ObjectSchema<{
|
|
13
|
+
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.listRepos#repo">, undefined>;
|
|
14
|
+
did: v.FormattedStringSchema<"did">;
|
|
15
|
+
head: v.StringSchema<string>;
|
|
16
|
+
rev: v.FormattedStringSchema<"tid">;
|
|
17
|
+
active: v.OptionalSchema<v.BooleanSchema, undefined>;
|
|
18
|
+
status: v.OptionalSchema<v.StringSchema<(string & {}) | "deactivated" | "takendown" | "suspended" | "throttled" | "deleted" | "desynchronized">, undefined>;
|
|
19
|
+
}>;
|
|
20
|
+
type main$schematype = typeof _mainSchema;
|
|
21
|
+
type repo$schematype = typeof _repoSchema;
|
|
22
|
+
export interface mainSchema extends main$schematype {
|
|
23
|
+
}
|
|
24
|
+
export interface repoSchema extends repo$schematype {
|
|
25
|
+
}
|
|
26
|
+
export declare const mainSchema: mainSchema;
|
|
27
|
+
export declare const repoSchema: repoSchema;
|
|
28
|
+
export interface Repo extends v.InferInput<typeof repoSchema> {
|
|
29
|
+
}
|
|
30
|
+
declare module '@atcute/lexicons/ambient' {
|
|
31
|
+
interface XRPCQueries {
|
|
32
|
+
'com.atproto.sync.listRepos': mainSchema;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listRepos', {
|
|
3
|
+
params: /*#__PURE__*/ v.object({
|
|
4
|
+
limit: /*#__PURE__*/ v.optional(
|
|
5
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]), 500),
|
|
6
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
7
|
+
}),
|
|
8
|
+
output: {
|
|
9
|
+
type: 'lex',
|
|
10
|
+
schema: /*#__PURE__*/ v.object({
|
|
11
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
|
+
get repos() {
|
|
13
|
+
return /*#__PURE__*/ v.array(repoSchema);
|
|
14
|
+
},
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
const _repoSchema = /*#__PURE__*/ v.object({
|
|
19
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listRepos#repo')),
|
|
20
|
+
did: /*#__PURE__*/ v.didString(),
|
|
21
|
+
head: /*#__PURE__*/ v.string(),
|
|
22
|
+
rev: /*#__PURE__*/ v.tidString(),
|
|
23
|
+
active: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
24
|
+
status: /*#__PURE__*/ v.optional(
|
|
25
|
+
/*#__PURE__*/ v.string()),
|
|
26
|
+
});
|
|
27
|
+
export const mainSchema = _mainSchema;
|
|
28
|
+
export const repoSchema = _repoSchema;
|
|
29
|
+
//# sourceMappingURL=listRepos.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listRepos.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/listRepos.ts"],"names":[],"mappings":"AACA,OAAO,KA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C,CAAC,OAAO,EAAE,CAAC;IAC3D,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC/B,aAAa,CAAC,CAAC,CAAC,MAAM,EAEnB,CACH;CACD,CAAC,CAAC;AAQH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
3
|
+
collection: v.FormattedStringSchema<"nsid">;
|
|
4
|
+
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 2000>]>, 500>;
|
|
5
|
+
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
6
|
+
}>, {
|
|
7
|
+
type: "lex";
|
|
8
|
+
schema: v.ObjectSchema<{
|
|
9
|
+
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
10
|
+
readonly repos: v.ArraySchema<repoSchema>;
|
|
11
|
+
}>;
|
|
12
|
+
}, "com.atproto.sync.listReposByCollection">;
|
|
13
|
+
declare const _repoSchema: v.ObjectSchema<{
|
|
14
|
+
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.listReposByCollection#repo">, undefined>;
|
|
15
|
+
did: v.FormattedStringSchema<"did">;
|
|
16
|
+
}>;
|
|
17
|
+
type main$schematype = typeof _mainSchema;
|
|
18
|
+
type repo$schematype = typeof _repoSchema;
|
|
19
|
+
export interface mainSchema extends main$schematype {
|
|
20
|
+
}
|
|
21
|
+
export interface repoSchema extends repo$schematype {
|
|
22
|
+
}
|
|
23
|
+
export declare const mainSchema: mainSchema;
|
|
24
|
+
export declare const repoSchema: repoSchema;
|
|
25
|
+
export interface Repo extends v.InferInput<typeof repoSchema> {
|
|
26
|
+
}
|
|
27
|
+
declare module '@atcute/lexicons/ambient' {
|
|
28
|
+
interface XRPCQueries {
|
|
29
|
+
'com.atproto.sync.listReposByCollection': mainSchema;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listReposByCollection', {
|
|
3
|
+
params: /*#__PURE__*/ v.object({
|
|
4
|
+
collection: /*#__PURE__*/ v.nsidString(),
|
|
5
|
+
limit: /*#__PURE__*/ v.optional(
|
|
6
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 2000)]), 500),
|
|
7
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
|
+
}),
|
|
9
|
+
output: {
|
|
10
|
+
type: 'lex',
|
|
11
|
+
schema: /*#__PURE__*/ v.object({
|
|
12
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
13
|
+
get repos() {
|
|
14
|
+
return /*#__PURE__*/ v.array(repoSchema);
|
|
15
|
+
},
|
|
16
|
+
}),
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
const _repoSchema = /*#__PURE__*/ v.object({
|
|
20
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listReposByCollection#repo')),
|
|
21
|
+
did: /*#__PURE__*/ v.didString(),
|
|
22
|
+
});
|
|
23
|
+
export const mainSchema = _mainSchema;
|
|
24
|
+
export const repoSchema = _repoSchema;
|
|
25
|
+
//# sourceMappingURL=listReposByCollection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listReposByCollection.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/listReposByCollection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM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/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
hostname: v.StringSchema<string>;
|
|
6
|
+
}>;
|
|
7
|
+
}, null, "com.atproto.sync.notifyOfUpdate">;
|
|
8
|
+
type main$schematype = typeof _mainSchema;
|
|
9
|
+
export interface mainSchema extends main$schematype {
|
|
10
|
+
}
|
|
11
|
+
export declare const mainSchema: mainSchema;
|
|
12
|
+
declare module '@atcute/lexicons/ambient' {
|
|
13
|
+
interface XRPCProcedures {
|
|
14
|
+
'com.atproto.sync.notifyOfUpdate': mainSchema;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.sync.notifyOfUpdate', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
hostname: /*#__PURE__*/ v.string(),
|
|
8
|
+
}),
|
|
9
|
+
},
|
|
10
|
+
output: null,
|
|
11
|
+
});
|
|
12
|
+
export const mainSchema = _mainSchema;
|
|
13
|
+
//# sourceMappingURL=notifyOfUpdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifyOfUpdate.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/notifyOfUpdate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,iCAAiC,EAAE;IAChF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAClC,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
hostname: v.StringSchema<string>;
|
|
6
|
+
}>;
|
|
7
|
+
}, null, "com.atproto.sync.requestCrawl">;
|
|
8
|
+
type main$schematype = typeof _mainSchema;
|
|
9
|
+
export interface mainSchema extends main$schematype {
|
|
10
|
+
}
|
|
11
|
+
export declare const mainSchema: mainSchema;
|
|
12
|
+
declare module '@atcute/lexicons/ambient' {
|
|
13
|
+
interface XRPCProcedures {
|
|
14
|
+
'com.atproto.sync.requestCrawl': mainSchema;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.sync.requestCrawl', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
hostname: /*#__PURE__*/ v.string(),
|
|
8
|
+
}),
|
|
9
|
+
},
|
|
10
|
+
output: null,
|
|
11
|
+
});
|
|
12
|
+
export const mainSchema = _mainSchema;
|
|
13
|
+
//# sourceMappingURL=requestCrawl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestCrawl.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/requestCrawl.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,+BAA+B,EAAE;IAC9E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAClC,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _accountSchema: v.ObjectSchema<{
|
|
3
|
+
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#account">, undefined>;
|
|
4
|
+
seq: v.IntegerSchema;
|
|
5
|
+
did: v.FormattedStringSchema<"did">;
|
|
6
|
+
time: v.FormattedStringSchema<"datetime">;
|
|
7
|
+
active: v.BooleanSchema;
|
|
8
|
+
status: v.OptionalSchema<v.StringSchema<(string & {}) | "deactivated" | "takendown" | "suspended" | "throttled" | "deleted" | "desynchronized">, undefined>;
|
|
9
|
+
}>;
|
|
10
|
+
declare const _commitSchema: v.ObjectSchema<{
|
|
11
|
+
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#commit">, undefined>;
|
|
12
|
+
seq: v.IntegerSchema;
|
|
13
|
+
rebase: v.BooleanSchema;
|
|
14
|
+
tooBig: v.BooleanSchema;
|
|
15
|
+
repo: v.FormattedStringSchema<"did">;
|
|
16
|
+
commit: v.CidLinkSchema;
|
|
17
|
+
rev: v.FormattedStringSchema<"tid">;
|
|
18
|
+
since: v.NullableSchema<v.FormattedStringSchema<"tid">>;
|
|
19
|
+
blocks: v.SchemaWithConstraint<v.BytesSchema, readonly [v.BytesSizeConstraint<0, 2000000>]>;
|
|
20
|
+
readonly ops: v.SchemaWithConstraint<v.ArraySchema<repoOpSchema>, readonly [v.ArrayLengthConstraint<0, 200>]>;
|
|
21
|
+
blobs: v.ArraySchema<v.CidLinkSchema>;
|
|
22
|
+
prevData: v.OptionalSchema<v.CidLinkSchema, undefined>;
|
|
23
|
+
time: v.FormattedStringSchema<"datetime">;
|
|
24
|
+
}>;
|
|
25
|
+
declare const _identitySchema: v.ObjectSchema<{
|
|
26
|
+
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#identity">, undefined>;
|
|
27
|
+
seq: v.IntegerSchema;
|
|
28
|
+
did: v.FormattedStringSchema<"did">;
|
|
29
|
+
time: v.FormattedStringSchema<"datetime">;
|
|
30
|
+
handle: v.OptionalSchema<v.FormattedStringSchema<"handle">, undefined>;
|
|
31
|
+
}>;
|
|
32
|
+
declare const _infoSchema: v.ObjectSchema<{
|
|
33
|
+
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#info">, undefined>;
|
|
34
|
+
name: v.StringSchema<(string & {}) | "OutdatedCursor">;
|
|
35
|
+
message: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
36
|
+
}>;
|
|
37
|
+
declare const _mainSchema: v.XRPCSubscriptionMetadata<v.ObjectSchema<{
|
|
38
|
+
cursor: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
39
|
+
}>, v.VariantSchema<readonly [commitSchema, syncSchema, identitySchema, accountSchema, infoSchema], boolean>, "com.atproto.sync.subscribeRepos">;
|
|
40
|
+
declare const _repoOpSchema: v.ObjectSchema<{
|
|
41
|
+
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#repoOp">, undefined>;
|
|
42
|
+
action: v.StringSchema<(string & {}) | "create" | "update" | "delete">;
|
|
43
|
+
path: v.StringSchema<string>;
|
|
44
|
+
cid: v.NullableSchema<v.CidLinkSchema>;
|
|
45
|
+
prev: v.OptionalSchema<v.CidLinkSchema, undefined>;
|
|
46
|
+
}>;
|
|
47
|
+
declare const _syncSchema: v.ObjectSchema<{
|
|
48
|
+
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#sync">, undefined>;
|
|
49
|
+
seq: v.IntegerSchema;
|
|
50
|
+
did: v.FormattedStringSchema<"did">;
|
|
51
|
+
blocks: v.SchemaWithConstraint<v.BytesSchema, readonly [v.BytesSizeConstraint<0, 10000>]>;
|
|
52
|
+
rev: v.StringSchema<string>;
|
|
53
|
+
time: v.FormattedStringSchema<"datetime">;
|
|
54
|
+
}>;
|
|
55
|
+
type account$schematype = typeof _accountSchema;
|
|
56
|
+
type commit$schematype = typeof _commitSchema;
|
|
57
|
+
type identity$schematype = typeof _identitySchema;
|
|
58
|
+
type info$schematype = typeof _infoSchema;
|
|
59
|
+
type main$schematype = typeof _mainSchema;
|
|
60
|
+
type repoOp$schematype = typeof _repoOpSchema;
|
|
61
|
+
type sync$schematype = typeof _syncSchema;
|
|
62
|
+
export interface accountSchema extends account$schematype {
|
|
63
|
+
}
|
|
64
|
+
export interface commitSchema extends commit$schematype {
|
|
65
|
+
}
|
|
66
|
+
export interface identitySchema extends identity$schematype {
|
|
67
|
+
}
|
|
68
|
+
export interface infoSchema extends info$schematype {
|
|
69
|
+
}
|
|
70
|
+
export interface mainSchema extends main$schematype {
|
|
71
|
+
}
|
|
72
|
+
export interface repoOpSchema extends repoOp$schematype {
|
|
73
|
+
}
|
|
74
|
+
export interface syncSchema extends sync$schematype {
|
|
75
|
+
}
|
|
76
|
+
export declare const accountSchema: accountSchema;
|
|
77
|
+
export declare const commitSchema: commitSchema;
|
|
78
|
+
export declare const identitySchema: identitySchema;
|
|
79
|
+
export declare const infoSchema: infoSchema;
|
|
80
|
+
export declare const mainSchema: mainSchema;
|
|
81
|
+
export declare const repoOpSchema: repoOpSchema;
|
|
82
|
+
export declare const syncSchema: syncSchema;
|
|
83
|
+
export interface Account extends v.InferInput<typeof accountSchema> {
|
|
84
|
+
}
|
|
85
|
+
export interface Commit extends v.InferInput<typeof commitSchema> {
|
|
86
|
+
}
|
|
87
|
+
export interface Identity extends v.InferInput<typeof identitySchema> {
|
|
88
|
+
}
|
|
89
|
+
export interface Info extends v.InferInput<typeof infoSchema> {
|
|
90
|
+
}
|
|
91
|
+
export interface RepoOp extends v.InferInput<typeof repoOpSchema> {
|
|
92
|
+
}
|
|
93
|
+
export interface Sync extends v.InferInput<typeof syncSchema> {
|
|
94
|
+
}
|
|
95
|
+
declare module '@atcute/lexicons/ambient' {
|
|
96
|
+
interface XRPCSubscriptions {
|
|
97
|
+
'com.atproto.sync.subscribeRepos': mainSchema;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export {};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _accountSchema = /*#__PURE__*/ v.object({
|
|
3
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#account')),
|
|
4
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
5
|
+
did: /*#__PURE__*/ v.didString(),
|
|
6
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
7
|
+
active: /*#__PURE__*/ v.boolean(),
|
|
8
|
+
status: /*#__PURE__*/ v.optional(
|
|
9
|
+
/*#__PURE__*/ v.string()),
|
|
10
|
+
});
|
|
11
|
+
const _commitSchema = /*#__PURE__*/ v.object({
|
|
12
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#commit')),
|
|
13
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
14
|
+
rebase: /*#__PURE__*/ v.boolean(),
|
|
15
|
+
tooBig: /*#__PURE__*/ v.boolean(),
|
|
16
|
+
repo: /*#__PURE__*/ v.didString(),
|
|
17
|
+
commit: /*#__PURE__*/ v.cidLink(),
|
|
18
|
+
rev: /*#__PURE__*/ v.tidString(),
|
|
19
|
+
since: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.tidString()),
|
|
20
|
+
blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 2000000)]),
|
|
21
|
+
get ops() {
|
|
22
|
+
return /*#__PURE__*/ v.constrain(v.array(repoOpSchema), [/*#__PURE__*/ v.arrayLength(0, 200)]);
|
|
23
|
+
},
|
|
24
|
+
blobs: /*#__PURE__*/ v.array(/*#__PURE__*/ v.cidLink()),
|
|
25
|
+
prevData: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
|
|
26
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
27
|
+
});
|
|
28
|
+
const _identitySchema = /*#__PURE__*/ v.object({
|
|
29
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#identity')),
|
|
30
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
31
|
+
did: /*#__PURE__*/ v.didString(),
|
|
32
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
33
|
+
handle: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.handleString()),
|
|
34
|
+
});
|
|
35
|
+
const _infoSchema = /*#__PURE__*/ v.object({
|
|
36
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#info')),
|
|
37
|
+
name: /*#__PURE__*/ v.string(),
|
|
38
|
+
message: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
39
|
+
});
|
|
40
|
+
const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.sync.subscribeRepos', {
|
|
41
|
+
params: /*#__PURE__*/ v.object({
|
|
42
|
+
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
43
|
+
}),
|
|
44
|
+
get message() {
|
|
45
|
+
return /*#__PURE__*/ v.variant([commitSchema, syncSchema, identitySchema, accountSchema, infoSchema]);
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
const _repoOpSchema = /*#__PURE__*/ v.object({
|
|
49
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#repoOp')),
|
|
50
|
+
action: /*#__PURE__*/ v.string(),
|
|
51
|
+
path: /*#__PURE__*/ v.string(),
|
|
52
|
+
cid: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.cidLink()),
|
|
53
|
+
prev: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
|
|
54
|
+
});
|
|
55
|
+
const _syncSchema = /*#__PURE__*/ v.object({
|
|
56
|
+
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#sync')),
|
|
57
|
+
seq: /*#__PURE__*/ v.integer(),
|
|
58
|
+
did: /*#__PURE__*/ v.didString(),
|
|
59
|
+
blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 10000)]),
|
|
60
|
+
rev: /*#__PURE__*/ v.string(),
|
|
61
|
+
time: /*#__PURE__*/ v.datetimeString(),
|
|
62
|
+
});
|
|
63
|
+
export const accountSchema = _accountSchema;
|
|
64
|
+
export const commitSchema = _commitSchema;
|
|
65
|
+
export const identitySchema = _identitySchema;
|
|
66
|
+
export const infoSchema = _infoSchema;
|
|
67
|
+
export const mainSchema = _mainSchema;
|
|
68
|
+
export const repoOpSchema = _repoOpSchema;
|
|
69
|
+
export const syncSchema = _syncSchema;
|
|
70
|
+
//# sourceMappingURL=subscribeRepos.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscribeRepos.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,cAAc,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,aAAa,CA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,aAAa,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;IACjG,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC7B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CACtC,CAAC,CAAC;AAkBH,MAAM,CAAC,MAAM,aAAa,GAAG,cAA+B,CAAC;AAC7D,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,cAAc,GAAG,eAAiC,CAAC;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
handle: v.StringSchema<string>;
|
|
6
|
+
}>;
|
|
7
|
+
}, {
|
|
8
|
+
type: "lex";
|
|
9
|
+
schema: v.ObjectSchema<{}>;
|
|
10
|
+
}, "com.atproto.temp.addReservedHandle">;
|
|
11
|
+
type main$schematype = typeof _mainSchema;
|
|
12
|
+
export interface mainSchema extends main$schematype {
|
|
13
|
+
}
|
|
14
|
+
export declare const mainSchema: mainSchema;
|
|
15
|
+
declare module '@atcute/lexicons/ambient' {
|
|
16
|
+
interface XRPCProcedures {
|
|
17
|
+
'com.atproto.temp.addReservedHandle': mainSchema;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.temp.addReservedHandle', {
|
|
3
|
+
params: null,
|
|
4
|
+
input: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
handle: /*#__PURE__*/ v.string(),
|
|
8
|
+
}),
|
|
9
|
+
},
|
|
10
|
+
output: {
|
|
11
|
+
type: 'lex',
|
|
12
|
+
schema: /*#__PURE__*/ v.object({}),
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
export const mainSchema = _mainSchema;
|
|
16
|
+
//# sourceMappingURL=addReservedHandle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addReservedHandle.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/addReservedHandle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,oCAAoC,EAAE;IACnF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAChC,CAAC;KACF;IACD,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC;KAClC;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.XRPCQueryMetadata<null, {
|
|
3
|
+
type: "lex";
|
|
4
|
+
schema: v.ObjectSchema<{
|
|
5
|
+
activated: v.BooleanSchema;
|
|
6
|
+
placeInQueue: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
7
|
+
estimatedTimeMs: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
8
|
+
}>;
|
|
9
|
+
}, "com.atproto.temp.checkSignupQueue">;
|
|
10
|
+
type main$schematype = typeof _mainSchema;
|
|
11
|
+
export interface mainSchema extends main$schematype {
|
|
12
|
+
}
|
|
13
|
+
export declare const mainSchema: mainSchema;
|
|
14
|
+
declare module '@atcute/lexicons/ambient' {
|
|
15
|
+
interface XRPCQueries {
|
|
16
|
+
'com.atproto.temp.checkSignupQueue': mainSchema;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.checkSignupQueue', {
|
|
3
|
+
params: null,
|
|
4
|
+
output: {
|
|
5
|
+
type: 'lex',
|
|
6
|
+
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
activated: /*#__PURE__*/ v.boolean(),
|
|
8
|
+
placeInQueue: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
9
|
+
estimatedTimeMs: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
10
|
+
}),
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
export const mainSchema = _mainSchema;
|
|
14
|
+
//# sourceMappingURL=checkSignupQueue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkSignupQueue.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/checkSignupQueue.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,mCAAmC,EAAE;IAC9E,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;YACpC,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;YACjE,eAAe,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;SACpE,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as ComAtprotoLabelDefs from '../label/defs.js';
|
|
3
|
+
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
4
|
+
since: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
5
|
+
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 250>]>, 50>;
|
|
6
|
+
}>, {
|
|
7
|
+
type: "lex";
|
|
8
|
+
schema: v.ObjectSchema<{
|
|
9
|
+
readonly labels: v.ArraySchema<ComAtprotoLabelDefs.labelSchema>;
|
|
10
|
+
}>;
|
|
11
|
+
}, "com.atproto.temp.fetchLabels">;
|
|
12
|
+
type main$schematype = typeof _mainSchema;
|
|
13
|
+
export interface mainSchema extends main$schematype {
|
|
14
|
+
}
|
|
15
|
+
export declare const mainSchema: mainSchema;
|
|
16
|
+
declare module '@atcute/lexicons/ambient' {
|
|
17
|
+
interface XRPCQueries {
|
|
18
|
+
'com.atproto.temp.fetchLabels': mainSchema;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
import * as ComAtprotoLabelDefs from '../label/defs.js';
|
|
3
|
+
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.fetchLabels', {
|
|
4
|
+
params: /*#__PURE__*/ v.object({
|
|
5
|
+
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
6
|
+
limit: /*#__PURE__*/ v.optional(
|
|
7
|
+
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 250)]), 50),
|
|
8
|
+
}),
|
|
9
|
+
output: {
|
|
10
|
+
type: 'lex',
|
|
11
|
+
schema: /*#__PURE__*/ v.object({
|
|
12
|
+
get labels() {
|
|
13
|
+
return /*#__PURE__*/ v.array(ComAtprotoLabelDefs.labelSchema);
|
|
14
|
+
},
|
|
15
|
+
}),
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
export const mainSchema = _mainSchema;
|
|
19
|
+
//# sourceMappingURL=fetchLabels.js.map
|