@atcute/atproto 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lexicons/types/com/atproto/admin/deleteAccount.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js +1 -3
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js +1 -3
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getAccountInfo.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js +1 -3
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts +2 -4
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js +2 -4
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js +1 -1
- package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts +2 -1
- package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js +2 -1
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js +1 -3
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.js +1 -3
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/defs.d.ts +3 -4
- package/dist/lexicons/types/com/atproto/identity/defs.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/defs.js +3 -4
- package/dist/lexicons/types/com/atproto/identity/defs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js +1 -3
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/refreshIdentity.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts +2 -6
- package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveDid.js +2 -6
- package/dist/lexicons/types/com/atproto/identity/resolveDid.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.js +1 -3
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js +1 -3
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts +2 -6
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js +2 -6
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/updateHandle.js +1 -3
- package/dist/lexicons/types/com/atproto/identity/updateHandle.js.map +1 -1
- package/dist/lexicons/types/com/atproto/label/defs.d.ts +22 -36
- package/dist/lexicons/types/com/atproto/label/defs.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/label/defs.js +22 -36
- package/dist/lexicons/types/com/atproto/label/defs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts +5 -5
- package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/label/queryLabels.js +5 -5
- package/dist/lexicons/types/com/atproto/label/queryLabels.js.map +1 -1
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js +1 -3
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js.map +1 -1
- package/dist/lexicons/types/com/atproto/lexicon/resolveLexicon.d.ts +4 -12
- package/dist/lexicons/types/com/atproto/lexicon/resolveLexicon.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/lexicon/resolveLexicon.js +4 -12
- package/dist/lexicons/types/com/atproto/lexicon/resolveLexicon.js.map +1 -1
- package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts +2 -1
- package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/lexicon/schema.js +2 -1
- package/dist/lexicons/types/com/atproto/lexicon/schema.js.map +1 -1
- package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts +4 -9
- package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/moderation/createReport.js +4 -9
- package/dist/lexicons/types/com/atproto/moderation/createReport.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts +8 -6
- package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js +8 -6
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts +7 -13
- package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/createRecord.js +7 -13
- package/dist/lexicons/types/com/atproto/repo/createRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts +5 -15
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js +5 -15
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts +4 -12
- package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js +4 -12
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts +4 -12
- package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/getRecord.js +4 -12
- package/dist/lexicons/types/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/importRepo.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js +1 -1
- package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts +5 -10
- package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/listRecords.js +5 -10
- package/dist/lexicons/types/com/atproto/repo/listRecords.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts +9 -14
- package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/putRecord.js +9 -14
- package/dist/lexicons/types/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/uploadBlob.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/activateAccount.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/confirmEmail.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAccount.d.ts +8 -19
- package/dist/lexicons/types/com/atproto/server/createAccount.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAccount.js +8 -19
- package/dist/lexicons/types/com/atproto/server/createAccount.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts +3 -4
- package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js +3 -4
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCode.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js +1 -3
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createSession.d.ts +6 -5
- package/dist/lexicons/types/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createSession.js +6 -5
- package/dist/lexicons/types/com/atproto/server/createSession.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts +2 -1
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.js +2 -1
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/deleteAccount.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/deleteSession.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/describeServer.d.ts +5 -15
- package/dist/lexicons/types/com/atproto/server/describeServer.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/describeServer.js +5 -15
- package/dist/lexicons/types/com/atproto/server/describeServer.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts +2 -3
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js +2 -3
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts +7 -6
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.js +7 -6
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getSession.d.ts +3 -1
- package/dist/lexicons/types/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getSession.js +3 -1
- package/dist/lexicons/types/com/atproto/server/getSession.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/refreshSession.js +1 -3
- package/dist/lexicons/types/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/requestAccountDelete.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/requestPasswordReset.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts +2 -6
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js +2 -6
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/resetPassword.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/revokeAppPassword.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/updateEmail.js +1 -3
- package/dist/lexicons/types/com/atproto/server/updateEmail.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts +2 -6
- package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlob.js +2 -6
- package/dist/lexicons/types/com/atproto/sync/getBlob.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts +2 -6
- package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js +2 -6
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js +1 -3
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHead.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/sync/getHead.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHead.js +1 -3
- package/dist/lexicons/types/com/atproto/sync/getHead.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.d.ts +5 -5
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.js +5 -5
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js +1 -3
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts +2 -6
- package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRecord.js +2 -6
- package/dist/lexicons/types/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts +2 -6
- package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepo.js +2 -6
- package/dist/lexicons/types/com/atproto/sync/getRepo.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts +5 -7
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js +5 -7
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts +3 -7
- package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js +3 -7
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listHosts.d.ts +6 -6
- package/dist/lexicons/types/com/atproto/sync/listHosts.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listHosts.js +6 -6
- package/dist/lexicons/types/com/atproto/sync/listHosts.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts +5 -5
- package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listRepos.js +5 -5
- package/dist/lexicons/types/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts +4 -2
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js +4 -2
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js +1 -3
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts +1 -3
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.js +1 -3
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts +33 -52
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js +33 -52
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/addReservedHandle.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.d.ts +6 -18
- package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.js +6 -18
- package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.js.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/dereferenceScope.d.ts +2 -6
- package/dist/lexicons/types/com/atproto/temp/dereferenceScope.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/dereferenceScope.js +2 -6
- package/dist/lexicons/types/com/atproto/temp/dereferenceScope.js.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts +1 -1
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js +1 -1
- package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/revokeAccountCredentials.d.ts.map +1 -1
- package/lib/lexicons/types/com/atproto/admin/disableAccountInvites.ts +1 -3
- package/lib/lexicons/types/com/atproto/admin/enableAccountInvites.ts +1 -3
- package/lib/lexicons/types/com/atproto/admin/getAccountInfos.ts +1 -3
- package/lib/lexicons/types/com/atproto/admin/getInviteCodes.ts +2 -4
- package/lib/lexicons/types/com/atproto/admin/searchAccounts.ts +1 -1
- package/lib/lexicons/types/com/atproto/admin/sendEmail.ts +2 -1
- package/lib/lexicons/types/com/atproto/admin/updateAccountEmail.ts +1 -3
- package/lib/lexicons/types/com/atproto/admin/updateAccountSigningKey.ts +1 -3
- package/lib/lexicons/types/com/atproto/identity/defs.ts +3 -4
- package/lib/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.ts +1 -3
- package/lib/lexicons/types/com/atproto/identity/resolveDid.ts +2 -6
- package/lib/lexicons/types/com/atproto/identity/resolveHandle.ts +1 -3
- package/lib/lexicons/types/com/atproto/identity/resolveIdentity.ts +1 -3
- package/lib/lexicons/types/com/atproto/identity/signPlcOperation.ts +2 -6
- package/lib/lexicons/types/com/atproto/identity/updateHandle.ts +1 -3
- package/lib/lexicons/types/com/atproto/label/defs.ts +22 -36
- package/lib/lexicons/types/com/atproto/label/queryLabels.ts +5 -5
- package/lib/lexicons/types/com/atproto/label/subscribeLabels.ts +1 -3
- package/lib/lexicons/types/com/atproto/lexicon/resolveLexicon.ts +4 -12
- package/lib/lexicons/types/com/atproto/lexicon/schema.ts +2 -1
- package/lib/lexicons/types/com/atproto/moderation/createReport.ts +4 -9
- package/lib/lexicons/types/com/atproto/repo/applyWrites.ts +8 -6
- package/lib/lexicons/types/com/atproto/repo/createRecord.ts +7 -13
- package/lib/lexicons/types/com/atproto/repo/deleteRecord.ts +5 -15
- package/lib/lexicons/types/com/atproto/repo/describeRepo.ts +4 -12
- package/lib/lexicons/types/com/atproto/repo/getRecord.ts +4 -12
- package/lib/lexicons/types/com/atproto/repo/listMissingBlobs.ts +1 -1
- package/lib/lexicons/types/com/atproto/repo/listRecords.ts +5 -10
- package/lib/lexicons/types/com/atproto/repo/putRecord.ts +9 -14
- package/lib/lexicons/types/com/atproto/server/createAccount.ts +8 -19
- package/lib/lexicons/types/com/atproto/server/createAppPassword.ts +3 -4
- package/lib/lexicons/types/com/atproto/server/createInviteCodes.ts +1 -3
- package/lib/lexicons/types/com/atproto/server/createSession.ts +6 -5
- package/lib/lexicons/types/com/atproto/server/deactivateAccount.ts +2 -1
- package/lib/lexicons/types/com/atproto/server/describeServer.ts +5 -15
- package/lib/lexicons/types/com/atproto/server/getAccountInviteCodes.ts +2 -3
- package/lib/lexicons/types/com/atproto/server/getServiceAuth.ts +7 -6
- package/lib/lexicons/types/com/atproto/server/getSession.ts +3 -1
- package/lib/lexicons/types/com/atproto/server/refreshSession.ts +1 -3
- package/lib/lexicons/types/com/atproto/server/reserveSigningKey.ts +2 -6
- package/lib/lexicons/types/com/atproto/server/updateEmail.ts +1 -3
- package/lib/lexicons/types/com/atproto/sync/getBlob.ts +2 -6
- package/lib/lexicons/types/com/atproto/sync/getBlocks.ts +2 -6
- package/lib/lexicons/types/com/atproto/sync/getCheckout.ts +1 -3
- package/lib/lexicons/types/com/atproto/sync/getHead.ts +1 -3
- package/lib/lexicons/types/com/atproto/sync/getHostStatus.ts +5 -5
- package/lib/lexicons/types/com/atproto/sync/getLatestCommit.ts +1 -3
- package/lib/lexicons/types/com/atproto/sync/getRecord.ts +2 -6
- package/lib/lexicons/types/com/atproto/sync/getRepo.ts +2 -6
- package/lib/lexicons/types/com/atproto/sync/getRepoStatus.ts +5 -7
- package/lib/lexicons/types/com/atproto/sync/listBlobs.ts +3 -7
- package/lib/lexicons/types/com/atproto/sync/listHosts.ts +6 -6
- package/lib/lexicons/types/com/atproto/sync/listRepos.ts +5 -5
- package/lib/lexicons/types/com/atproto/sync/listReposByCollection.ts +4 -2
- package/lib/lexicons/types/com/atproto/sync/notifyOfUpdate.ts +1 -3
- package/lib/lexicons/types/com/atproto/sync/requestCrawl.ts +1 -3
- package/lib/lexicons/types/com/atproto/sync/subscribeRepos.ts +33 -52
- package/lib/lexicons/types/com/atproto/temp/checkHandleAvailability.ts +6 -18
- package/lib/lexicons/types/com/atproto/temp/dereferenceScope.ts +2 -6
- package/lib/lexicons/types/com/atproto/temp/fetchLabels.ts +1 -1
- package/package.json +3 -2
|
@@ -9,35 +9,30 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.putRecord', {
|
|
|
9
9
|
input: {
|
|
10
10
|
type: 'lex',
|
|
11
11
|
schema: /*#__PURE__*/ v.object({
|
|
12
|
-
/**
|
|
13
|
-
* The NSID of the record collection.
|
|
14
|
-
*/
|
|
12
|
+
/** The NSID of the record collection. */
|
|
15
13
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
16
|
-
/**
|
|
17
|
-
* The record to write.
|
|
18
|
-
*/
|
|
14
|
+
/** The record to write. */
|
|
19
15
|
record: /*#__PURE__*/ v.unknown(),
|
|
20
|
-
/**
|
|
21
|
-
* The handle or DID of the repo (aka, current account).
|
|
22
|
-
*/
|
|
16
|
+
/** The handle or DID of the repo (aka, current account). */
|
|
23
17
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
24
18
|
/**
|
|
25
19
|
* The Record Key.
|
|
20
|
+
*
|
|
26
21
|
* @maxLength 512
|
|
27
22
|
*/
|
|
28
23
|
rkey: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.recordKeyString(), [
|
|
29
24
|
/*#__PURE__*/ v.stringLength(0, 512),
|
|
30
25
|
]),
|
|
31
|
-
/**
|
|
32
|
-
* Compare and swap with the previous commit by CID.
|
|
33
|
-
*/
|
|
26
|
+
/** Compare and swap with the previous commit by CID. */
|
|
34
27
|
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
35
28
|
/**
|
|
36
|
-
* Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause
|
|
29
|
+
* Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause
|
|
30
|
+
* problems with golang implementation
|
|
37
31
|
*/
|
|
38
32
|
swapRecord: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.nullable(/*#__PURE__*/ v.cidString())),
|
|
39
33
|
/**
|
|
40
|
-
* Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or
|
|
34
|
+
* Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or
|
|
35
|
+
* leave unset to validate only for known Lexicons.
|
|
41
36
|
*/
|
|
42
37
|
validate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
43
38
|
}),
|
|
@@ -7,27 +7,20 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.createAccount'
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
/**
|
|
11
|
-
* Pre-existing atproto DID, being imported to a new account.
|
|
12
|
-
*/
|
|
10
|
+
/** Pre-existing atproto DID, being imported to a new account. */
|
|
13
11
|
did: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
14
12
|
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
|
-
/**
|
|
16
|
-
* Requested handle for the account.
|
|
17
|
-
*/
|
|
13
|
+
/** Requested handle for the account. */
|
|
18
14
|
handle: /*#__PURE__*/ v.handleString(),
|
|
19
15
|
inviteCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
20
|
-
/**
|
|
21
|
-
* Initial account password. May need to meet instance-specific password strength requirements.
|
|
22
|
-
*/
|
|
16
|
+
/** Initial account password. May need to meet instance-specific password strength requirements. */
|
|
23
17
|
password: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
24
18
|
/**
|
|
25
|
-
* A signed DID PLC operation to be submitted as part of importing an existing account to this instance.
|
|
19
|
+
* A signed DID PLC operation to be submitted as part of importing an existing account to this instance.
|
|
20
|
+
* NOTE: this optional field may be updated when full account migration is implemented.
|
|
26
21
|
*/
|
|
27
22
|
plcOp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
28
|
-
/**
|
|
29
|
-
* DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.
|
|
30
|
-
*/
|
|
23
|
+
/** DID PLC rotation key (aka, recovery key) to be included in PLC creation operation. */
|
|
31
24
|
recoveryKey: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
32
25
|
verificationCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
33
26
|
verificationPhone: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
@@ -37,13 +30,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.createAccount'
|
|
|
37
30
|
type: 'lex',
|
|
38
31
|
schema: /*#__PURE__*/ v.object({
|
|
39
32
|
accessJwt: /*#__PURE__*/ v.string(),
|
|
40
|
-
/**
|
|
41
|
-
* The DID of the new account.
|
|
42
|
-
*/
|
|
33
|
+
/** The DID of the new account. */
|
|
43
34
|
did: /*#__PURE__*/ v.didString(),
|
|
44
|
-
/**
|
|
45
|
-
* Complete DID document.
|
|
46
|
-
*/
|
|
35
|
+
/** Complete DID document. */
|
|
47
36
|
didDoc: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
48
37
|
handle: /*#__PURE__*/ v.handleString(),
|
|
49
38
|
refreshJwt: /*#__PURE__*/ v.string(),
|
|
@@ -16,12 +16,11 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.createAppPassw
|
|
|
16
16
|
input: {
|
|
17
17
|
type: 'lex',
|
|
18
18
|
schema: /*#__PURE__*/ v.object({
|
|
19
|
-
/**
|
|
20
|
-
* A short name for the App Password, to help distinguish them.
|
|
21
|
-
*/
|
|
19
|
+
/** A short name for the App Password, to help distinguish them. */
|
|
22
20
|
name: /*#__PURE__*/ v.string(),
|
|
23
21
|
/**
|
|
24
|
-
* If an app password has 'privileged' access to possibly sensitive account state. Meant for use with
|
|
22
|
+
* If an app password has 'privileged' access to possibly sensitive account state. Meant for use with
|
|
23
|
+
* trusted clients.
|
|
25
24
|
*/
|
|
26
25
|
privileged: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
27
26
|
}),
|
|
@@ -14,9 +14,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.createInviteCo
|
|
|
14
14
|
input: {
|
|
15
15
|
type: 'lex',
|
|
16
16
|
schema: /*#__PURE__*/ v.object({
|
|
17
|
-
/**
|
|
18
|
-
* @default 1
|
|
19
|
-
*/
|
|
17
|
+
/** @default 1 */
|
|
20
18
|
codeCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer(), 1),
|
|
21
19
|
forAccounts: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString())),
|
|
22
20
|
useCount: /*#__PURE__*/ v.integer(),
|
|
@@ -8,13 +8,12 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.createSession'
|
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
10
|
/**
|
|
11
|
-
* When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped
|
|
11
|
+
* When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped
|
|
12
|
+
* token will be returned
|
|
12
13
|
*/
|
|
13
14
|
allowTakendown: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
14
15
|
authFactorToken: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
|
-
/**
|
|
16
|
-
* Handle or other identifier supported by the server for the authenticating user.
|
|
17
|
-
*/
|
|
16
|
+
/** Handle or other identifier supported by the server for the authenticating user. */
|
|
18
17
|
identifier: /*#__PURE__*/ v.string(),
|
|
19
18
|
password: /*#__PURE__*/ v.string(),
|
|
20
19
|
}),
|
|
@@ -32,7 +31,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.createSession'
|
|
|
32
31
|
handle: /*#__PURE__*/ v.handleString(),
|
|
33
32
|
refreshJwt: /*#__PURE__*/ v.string(),
|
|
34
33
|
/**
|
|
35
|
-
* If active=false, this optional field indicates a possible reason for why the account is not active.
|
|
34
|
+
* If active=false, this optional field indicates a possible reason for why the account is not active.
|
|
35
|
+
* If active=false and no status is supplied, then the host makes no claim for why the repository is no
|
|
36
|
+
* longer being hosted.
|
|
36
37
|
*/
|
|
37
38
|
status: /*#__PURE__*/ v.optional(
|
|
38
39
|
/*#__PURE__*/ v.string<'deactivated' | 'suspended' | 'takendown' | (string & {})>(),
|
|
@@ -8,7 +8,8 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.deactivateAcco
|
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
10
|
/**
|
|
11
|
-
* A recommendation to server as to how long they should hold onto the deactivated account before
|
|
11
|
+
* A recommendation to server as to how long they should hold onto the deactivated account before
|
|
12
|
+
* deleting.
|
|
12
13
|
*/
|
|
13
14
|
deleteAfter: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
14
15
|
}),
|
|
@@ -16,30 +16,20 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.server.describeServer', {
|
|
|
16
16
|
output: {
|
|
17
17
|
type: 'lex',
|
|
18
18
|
schema: /*#__PURE__*/ v.object({
|
|
19
|
-
/**
|
|
20
|
-
* List of domain suffixes that can be used in account handles.
|
|
21
|
-
*/
|
|
19
|
+
/** List of domain suffixes that can be used in account handles. */
|
|
22
20
|
availableUserDomains: /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()),
|
|
23
|
-
/**
|
|
24
|
-
* Contact information
|
|
25
|
-
*/
|
|
21
|
+
/** Contact information */
|
|
26
22
|
get contact() {
|
|
27
23
|
return /*#__PURE__*/ v.optional(contactSchema);
|
|
28
24
|
},
|
|
29
25
|
did: /*#__PURE__*/ v.didString(),
|
|
30
|
-
/**
|
|
31
|
-
* If true, an invite code must be supplied to create an account on this instance.
|
|
32
|
-
*/
|
|
26
|
+
/** If true, an invite code must be supplied to create an account on this instance. */
|
|
33
27
|
inviteCodeRequired: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
34
|
-
/**
|
|
35
|
-
* URLs of service policy documents.
|
|
36
|
-
*/
|
|
28
|
+
/** URLs of service policy documents. */
|
|
37
29
|
get links() {
|
|
38
30
|
return /*#__PURE__*/ v.optional(linksSchema);
|
|
39
31
|
},
|
|
40
|
-
/**
|
|
41
|
-
* If true, a phone verification token must be supplied to create an account on this instance.
|
|
42
|
-
*/
|
|
32
|
+
/** If true, a phone verification token must be supplied to create an account on this instance. */
|
|
43
33
|
phoneVerificationRequired: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
44
34
|
}),
|
|
45
35
|
},
|
|
@@ -8,12 +8,11 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.server.getAccountInviteCo
|
|
|
8
8
|
params: /*#__PURE__*/ v.object({
|
|
9
9
|
/**
|
|
10
10
|
* Controls whether any new 'earned' but not 'created' invites should be created.
|
|
11
|
+
*
|
|
11
12
|
* @default true
|
|
12
13
|
*/
|
|
13
14
|
createAvailable: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true),
|
|
14
|
-
/**
|
|
15
|
-
* @default true
|
|
16
|
-
*/
|
|
15
|
+
/** @default true */
|
|
17
16
|
includeUsed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true),
|
|
18
17
|
}),
|
|
19
18
|
output: {
|
|
@@ -5,16 +5,17 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.server.getServiceAuth', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
7
|
/**
|
|
8
|
-
* The DID of the service that the token will be used to authenticate with
|
|
8
|
+
* The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.
|
|
9
|
+
*
|
|
10
|
+
* @maxLength 2048
|
|
9
11
|
*/
|
|
10
|
-
aud: /*#__PURE__*/ v.
|
|
12
|
+
aud: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 2048)]),
|
|
11
13
|
/**
|
|
12
|
-
* The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service
|
|
14
|
+
* The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service
|
|
15
|
+
* may enforce certain time bounds on tokens depending on the requested scope.
|
|
13
16
|
*/
|
|
14
17
|
exp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
15
|
-
/**
|
|
16
|
-
* Lexicon (XRPC) method to bind the requested token to
|
|
17
|
-
*/
|
|
18
|
+
/** Lexicon (XRPC) method to bind the requested token to */
|
|
18
19
|
lxm: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.nsidString()),
|
|
19
20
|
}),
|
|
20
21
|
output: {
|
|
@@ -15,7 +15,9 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.server.getSession', {
|
|
|
15
15
|
emailConfirmed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
16
16
|
handle: /*#__PURE__*/ v.handleString(),
|
|
17
17
|
/**
|
|
18
|
-
* If active=false, this optional field indicates a possible reason for why the account is not active.
|
|
18
|
+
* If active=false, this optional field indicates a possible reason for why the account is not active.
|
|
19
|
+
* If active=false and no status is supplied, then the host makes no claim for why the repository is no
|
|
20
|
+
* longer being hosted.
|
|
19
21
|
*/
|
|
20
22
|
status: /*#__PURE__*/ v.optional(
|
|
21
23
|
/*#__PURE__*/ v.string<'deactivated' | 'suspended' | 'takendown' | (string & {})>(),
|
|
@@ -17,9 +17,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.refreshSession
|
|
|
17
17
|
emailConfirmed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
18
18
|
handle: /*#__PURE__*/ v.handleString(),
|
|
19
19
|
refreshJwt: /*#__PURE__*/ v.string(),
|
|
20
|
-
/**
|
|
21
|
-
* Hosting status of the account. If not specified, then assume 'active'.
|
|
22
|
-
*/
|
|
20
|
+
/** Hosting status of the account. If not specified, then assume 'active'. */
|
|
23
21
|
status: /*#__PURE__*/ v.optional(
|
|
24
22
|
/*#__PURE__*/ v.string<'deactivated' | 'suspended' | 'takendown' | (string & {})>(),
|
|
25
23
|
),
|
|
@@ -7,18 +7,14 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.reserveSigning
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
/**
|
|
11
|
-
* The DID to reserve a key for.
|
|
12
|
-
*/
|
|
10
|
+
/** The DID to reserve a key for. */
|
|
13
11
|
did: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
14
12
|
}),
|
|
15
13
|
},
|
|
16
14
|
output: {
|
|
17
15
|
type: 'lex',
|
|
18
16
|
schema: /*#__PURE__*/ v.object({
|
|
19
|
-
/**
|
|
20
|
-
* The public key for the reserved signing key, in did:key serialization.
|
|
21
|
-
*/
|
|
17
|
+
/** The public key for the reserved signing key, in did:key serialization. */
|
|
22
18
|
signingKey: /*#__PURE__*/ v.string(),
|
|
23
19
|
}),
|
|
24
20
|
},
|
|
@@ -9,9 +9,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.updateEmail',
|
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
10
|
email: /*#__PURE__*/ v.string(),
|
|
11
11
|
emailAuthFactor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
12
|
-
/**
|
|
13
|
-
* Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed.
|
|
14
|
-
*/
|
|
12
|
+
/** Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed. */
|
|
15
13
|
token: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
16
14
|
}),
|
|
17
15
|
},
|
|
@@ -4,13 +4,9 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getBlob', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The CID of the blob to fetch
|
|
9
|
-
*/
|
|
7
|
+
/** The CID of the blob to fetch */
|
|
10
8
|
cid: /*#__PURE__*/ v.cidString(),
|
|
11
|
-
/**
|
|
12
|
-
* The DID of the account.
|
|
13
|
-
*/
|
|
9
|
+
/** The DID of the account. */
|
|
14
10
|
did: /*#__PURE__*/ v.didString(),
|
|
15
11
|
}),
|
|
16
12
|
output: {
|
|
@@ -4,15 +4,11 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getBlocks', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* @minLength 1
|
|
9
|
-
*/
|
|
7
|
+
/** @minLength 1 */
|
|
10
8
|
cids: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.cidString()), [
|
|
11
9
|
/*#__PURE__*/ v.arrayLength(1),
|
|
12
10
|
]),
|
|
13
|
-
/**
|
|
14
|
-
* The DID of the repo.
|
|
15
|
-
*/
|
|
11
|
+
/** The DID of the repo. */
|
|
16
12
|
did: /*#__PURE__*/ v.didString(),
|
|
17
13
|
}),
|
|
18
14
|
output: {
|
|
@@ -4,9 +4,7 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getCheckout', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The DID of the repo.
|
|
9
|
-
*/
|
|
7
|
+
/** The DID of the repo. */
|
|
10
8
|
did: /*#__PURE__*/ v.didString(),
|
|
11
9
|
}),
|
|
12
10
|
output: {
|
|
@@ -4,9 +4,7 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getHead', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The DID of the repo.
|
|
9
|
-
*/
|
|
7
|
+
/** The DID of the repo. */
|
|
10
8
|
did: /*#__PURE__*/ v.didString(),
|
|
11
9
|
}),
|
|
12
10
|
output: {
|
|
@@ -6,21 +6,21 @@ import * as ComAtprotoSyncDefs from './defs.ts';
|
|
|
6
6
|
|
|
7
7
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getHostStatus', {
|
|
8
8
|
params: /*#__PURE__*/ v.object({
|
|
9
|
-
/**
|
|
10
|
-
* Hostname of the host (eg, PDS or relay) being queried.
|
|
11
|
-
*/
|
|
9
|
+
/** Hostname of the host (eg, PDS or relay) being queried. */
|
|
12
10
|
hostname: /*#__PURE__*/ v.string(),
|
|
13
11
|
}),
|
|
14
12
|
output: {
|
|
15
13
|
type: 'lex',
|
|
16
14
|
schema: /*#__PURE__*/ v.object({
|
|
17
15
|
/**
|
|
18
|
-
* Number of accounts on the server which are associated with the upstream host. Note that the upstream
|
|
16
|
+
* Number of accounts on the server which are associated with the upstream host. Note that the upstream
|
|
17
|
+
* may actually have more accounts.
|
|
19
18
|
*/
|
|
20
19
|
accountCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
21
20
|
hostname: /*#__PURE__*/ v.string(),
|
|
22
21
|
/**
|
|
23
|
-
* Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted
|
|
22
|
+
* Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted
|
|
23
|
+
* cursor not in-memory cursor).
|
|
24
24
|
*/
|
|
25
25
|
seq: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
26
26
|
get status() {
|
|
@@ -4,9 +4,7 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getLatestCommit', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The DID of the repo.
|
|
9
|
-
*/
|
|
7
|
+
/** The DID of the repo. */
|
|
10
8
|
did: /*#__PURE__*/ v.didString(),
|
|
11
9
|
}),
|
|
12
10
|
output: {
|
|
@@ -5,13 +5,9 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRecord', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
7
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
8
|
-
/**
|
|
9
|
-
* The DID of the repo.
|
|
10
|
-
*/
|
|
8
|
+
/** The DID of the repo. */
|
|
11
9
|
did: /*#__PURE__*/ v.didString(),
|
|
12
|
-
/**
|
|
13
|
-
* Record Key
|
|
14
|
-
*/
|
|
10
|
+
/** Record Key */
|
|
15
11
|
rkey: /*#__PURE__*/ v.recordKeyString(),
|
|
16
12
|
}),
|
|
17
13
|
output: {
|
|
@@ -4,13 +4,9 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRepo', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The DID of the repo.
|
|
9
|
-
*/
|
|
7
|
+
/** The DID of the repo. */
|
|
10
8
|
did: /*#__PURE__*/ v.didString(),
|
|
11
|
-
/**
|
|
12
|
-
* The revision ('rev') of the repo to create a diff from.
|
|
13
|
-
*/
|
|
9
|
+
/** The revision ('rev') of the repo to create a diff from. */
|
|
14
10
|
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
|
|
15
11
|
}),
|
|
16
12
|
output: {
|
|
@@ -4,9 +4,7 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRepoStatus', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The DID of the repo.
|
|
9
|
-
*/
|
|
7
|
+
/** The DID of the repo. */
|
|
10
8
|
did: /*#__PURE__*/ v.didString(),
|
|
11
9
|
}),
|
|
12
10
|
output: {
|
|
@@ -14,12 +12,12 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.getRepoStatus', {
|
|
|
14
12
|
schema: /*#__PURE__*/ v.object({
|
|
15
13
|
active: /*#__PURE__*/ v.boolean(),
|
|
16
14
|
did: /*#__PURE__*/ v.didString(),
|
|
17
|
-
/**
|
|
18
|
-
* Optional field, the current rev of the repo, if active=true
|
|
19
|
-
*/
|
|
15
|
+
/** Optional field, the current rev of the repo, if active=true */
|
|
20
16
|
rev: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
|
|
21
17
|
/**
|
|
22
|
-
* If active=false, this optional field indicates a possible reason for why the account is not active.
|
|
18
|
+
* If active=false, this optional field indicates a possible reason for why the account is not active.
|
|
19
|
+
* If active=false and no status is supplied, then the host makes no claim for why the repository is no
|
|
20
|
+
* longer being hosted.
|
|
23
21
|
*/
|
|
24
22
|
status: /*#__PURE__*/ v.optional(
|
|
25
23
|
/*#__PURE__*/ v.string<
|
|
@@ -5,22 +5,18 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listBlobs', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
7
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
|
-
/**
|
|
9
|
-
* The DID of the repo.
|
|
10
|
-
*/
|
|
8
|
+
/** The DID of the repo. */
|
|
11
9
|
did: /*#__PURE__*/ v.didString(),
|
|
12
10
|
/**
|
|
11
|
+
* @default 500
|
|
13
12
|
* @minimum 1
|
|
14
13
|
* @maximum 1000
|
|
15
|
-
* @default 500
|
|
16
14
|
*/
|
|
17
15
|
limit: /*#__PURE__*/ v.optional(
|
|
18
16
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
|
|
19
17
|
500,
|
|
20
18
|
),
|
|
21
|
-
/**
|
|
22
|
-
* Optional revision of the repo to list blobs since.
|
|
23
|
-
*/
|
|
19
|
+
/** Optional revision of the repo to list blobs since. */
|
|
24
20
|
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.tidString()),
|
|
25
21
|
}),
|
|
26
22
|
output: {
|
|
@@ -7,12 +7,11 @@ import * as ComAtprotoSyncDefs from './defs.ts';
|
|
|
7
7
|
const _hostSchema = /*#__PURE__*/ v.object({
|
|
8
8
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listHosts#host')),
|
|
9
9
|
accountCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
10
|
-
/**
|
|
11
|
-
* hostname of server; not a URL (no scheme)
|
|
12
|
-
*/
|
|
10
|
+
/** hostname of server; not a URL (no scheme) */
|
|
13
11
|
hostname: /*#__PURE__*/ v.string(),
|
|
14
12
|
/**
|
|
15
|
-
* Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted
|
|
13
|
+
* Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted
|
|
14
|
+
* cursor not in-memory cursor).
|
|
16
15
|
*/
|
|
17
16
|
seq: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
18
17
|
get status() {
|
|
@@ -23,9 +22,9 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listHosts', {
|
|
|
23
22
|
params: /*#__PURE__*/ v.object({
|
|
24
23
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
25
24
|
/**
|
|
25
|
+
* @default 200
|
|
26
26
|
* @minimum 1
|
|
27
27
|
* @maximum 1000
|
|
28
|
-
* @default 200
|
|
29
28
|
*/
|
|
30
29
|
limit: /*#__PURE__*/ v.optional(
|
|
31
30
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
|
|
@@ -37,7 +36,8 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listHosts', {
|
|
|
37
36
|
schema: /*#__PURE__*/ v.object({
|
|
38
37
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
39
38
|
/**
|
|
40
|
-
* Sort order is not formally specified. Recommended order is by time host was first seen by the server,
|
|
39
|
+
* Sort order is not formally specified. Recommended order is by time host was first seen by the server,
|
|
40
|
+
* with oldest first.
|
|
41
41
|
*/
|
|
42
42
|
get hosts() {
|
|
43
43
|
return /*#__PURE__*/ v.array(hostSchema);
|
|
@@ -6,9 +6,9 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listRepos', {
|
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
7
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
8
|
/**
|
|
9
|
+
* @default 500
|
|
9
10
|
* @minimum 1
|
|
10
11
|
* @maximum 1000
|
|
11
|
-
* @default 500
|
|
12
12
|
*/
|
|
13
13
|
limit: /*#__PURE__*/ v.optional(
|
|
14
14
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
|
|
@@ -29,13 +29,13 @@ const _repoSchema = /*#__PURE__*/ v.object({
|
|
|
29
29
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.listRepos#repo')),
|
|
30
30
|
active: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
31
31
|
did: /*#__PURE__*/ v.didString(),
|
|
32
|
-
/**
|
|
33
|
-
* Current repo commit CID
|
|
34
|
-
*/
|
|
32
|
+
/** Current repo commit CID */
|
|
35
33
|
head: /*#__PURE__*/ v.cidString(),
|
|
36
34
|
rev: /*#__PURE__*/ v.tidString(),
|
|
37
35
|
/**
|
|
38
|
-
* If active=false, this optional field indicates a possible reason for why the account is not active. If
|
|
36
|
+
* If active=false, this optional field indicates a possible reason for why the account is not active. If
|
|
37
|
+
* active=false and no status is supplied, then the host makes no claim for why the repository is no longer
|
|
38
|
+
* being hosted.
|
|
39
39
|
*/
|
|
40
40
|
status: /*#__PURE__*/ v.optional(
|
|
41
41
|
/*#__PURE__*/ v.string<
|
|
@@ -7,10 +7,12 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.sync.listReposByCollectio
|
|
|
7
7
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
8
8
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
9
|
/**
|
|
10
|
-
* Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID
|
|
10
|
+
* Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID
|
|
11
|
+
* lists.
|
|
12
|
+
*
|
|
13
|
+
* @default 500
|
|
11
14
|
* @minimum 1
|
|
12
15
|
* @maximum 2000
|
|
13
|
-
* @default 500
|
|
14
16
|
*/
|
|
15
17
|
limit: /*#__PURE__*/ v.optional(
|
|
16
18
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 2000)]),
|
|
@@ -7,9 +7,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.sync.notifyOfUpdate',
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
/**
|
|
11
|
-
* Hostname of the current service (usually a PDS) that is notifying of update.
|
|
12
|
-
*/
|
|
10
|
+
/** Hostname of the current service (usually a PDS) that is notifying of update. */
|
|
13
11
|
hostname: /*#__PURE__*/ v.string(),
|
|
14
12
|
}),
|
|
15
13
|
},
|
|
@@ -7,9 +7,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.sync.requestCrawl', {
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
/**
|
|
11
|
-
* Hostname of the current service (eg, PDS) that is requesting to be crawled.
|
|
12
|
-
*/
|
|
10
|
+
/** Hostname of the current service (eg, PDS) that is requesting to be crawled. */
|
|
13
11
|
hostname: /*#__PURE__*/ v.string(),
|
|
14
12
|
}),
|
|
15
13
|
},
|