@atcute/atproto 3.1.12 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +4 -4
|
@@ -8,17 +8,15 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getInviteCodes', {
|
|
|
8
8
|
params: /*#__PURE__*/ v.object({
|
|
9
9
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
10
|
/**
|
|
11
|
+
* @default 100
|
|
11
12
|
* @minimum 1
|
|
12
13
|
* @maximum 500
|
|
13
|
-
* @default 100
|
|
14
14
|
*/
|
|
15
15
|
limit: /*#__PURE__*/ v.optional(
|
|
16
16
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 500)]),
|
|
17
17
|
100,
|
|
18
18
|
),
|
|
19
|
-
/**
|
|
20
|
-
* @default "recent"
|
|
21
|
-
*/
|
|
19
|
+
/** @default 'recent' */
|
|
22
20
|
sort: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string<'recent' | 'usage' | (string & {})>(), 'recent'),
|
|
23
21
|
}),
|
|
24
22
|
output: {
|
|
@@ -9,9 +9,9 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.searchAccounts', {
|
|
|
9
9
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
10
|
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
11
|
/**
|
|
12
|
+
* @default 50
|
|
12
13
|
* @minimum 1
|
|
13
14
|
* @maximum 100
|
|
14
|
-
* @default 50
|
|
15
15
|
*/
|
|
16
16
|
limit: /*#__PURE__*/ v.optional(
|
|
17
17
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
@@ -8,7 +8,8 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.sendEmail', {
|
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
10
|
/**
|
|
11
|
-
* Additional comment by the sender that won't be used in the email itself but helpful to provide more
|
|
11
|
+
* Additional comment by the sender that won't be used in the email itself but helpful to provide more
|
|
12
|
+
* context for moderators/reviewers
|
|
12
13
|
*/
|
|
13
14
|
comment: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
15
|
content: /*#__PURE__*/ v.string(),
|
|
@@ -7,9 +7,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.updateAccountEm
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
-
/**
|
|
11
|
-
* The handle or DID of the repo.
|
|
12
|
-
*/
|
|
10
|
+
/** The handle or DID of the repo. */
|
|
13
11
|
account: /*#__PURE__*/ v.actorIdentifierString(),
|
|
14
12
|
email: /*#__PURE__*/ v.string(),
|
|
15
13
|
}),
|
|
@@ -8,9 +8,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.updateAccountSi
|
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
10
|
did: /*#__PURE__*/ v.didString(),
|
|
11
|
-
/**
|
|
12
|
-
* Did-key formatted public key
|
|
13
|
-
*/
|
|
11
|
+
/** Did-key formatted public key */
|
|
14
12
|
signingKey: /*#__PURE__*/ v.didString(),
|
|
15
13
|
}),
|
|
16
14
|
},
|
|
@@ -4,12 +4,11 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
const _identityInfoSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.identity.defs#identityInfo')),
|
|
6
6
|
did: /*#__PURE__*/ v.didString(),
|
|
7
|
-
/**
|
|
8
|
-
* The complete DID document for the identity.
|
|
9
|
-
*/
|
|
7
|
+
/** The complete DID document for the identity. */
|
|
10
8
|
didDoc: /*#__PURE__*/ v.unknown(),
|
|
11
9
|
/**
|
|
12
|
-
* The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the
|
|
10
|
+
* The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the
|
|
11
|
+
* DID document.
|
|
13
12
|
*/
|
|
14
13
|
handle: /*#__PURE__*/ v.handleString(),
|
|
15
14
|
});
|
|
@@ -8,9 +8,7 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.identity.getRecommendedDi
|
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
10
|
alsoKnownAs: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
11
|
-
/**
|
|
12
|
-
* Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.
|
|
13
|
-
*/
|
|
11
|
+
/** Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs. */
|
|
14
12
|
rotationKeys: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
15
13
|
services: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
16
14
|
verificationMethods: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
@@ -4,17 +4,13 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.identity.resolveDid', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* DID to resolve.
|
|
9
|
-
*/
|
|
7
|
+
/** DID to resolve. */
|
|
10
8
|
did: /*#__PURE__*/ v.didString(),
|
|
11
9
|
}),
|
|
12
10
|
output: {
|
|
13
11
|
type: 'lex',
|
|
14
12
|
schema: /*#__PURE__*/ v.object({
|
|
15
|
-
/**
|
|
16
|
-
* The complete DID document for the identity.
|
|
17
|
-
*/
|
|
13
|
+
/** The complete DID document for the identity. */
|
|
18
14
|
didDoc: /*#__PURE__*/ v.unknown(),
|
|
19
15
|
}),
|
|
20
16
|
},
|
|
@@ -4,9 +4,7 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.identity.resolveHandle', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The handle to resolve.
|
|
9
|
-
*/
|
|
7
|
+
/** The handle to resolve. */
|
|
10
8
|
handle: /*#__PURE__*/ v.handleString(),
|
|
11
9
|
}),
|
|
12
10
|
output: {
|
|
@@ -6,9 +6,7 @@ import * as ComAtprotoIdentityDefs from './defs.ts';
|
|
|
6
6
|
|
|
7
7
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.identity.resolveIdentity', {
|
|
8
8
|
params: /*#__PURE__*/ v.object({
|
|
9
|
-
/**
|
|
10
|
-
* Handle or DID to resolve.
|
|
11
|
-
*/
|
|
9
|
+
/** Handle or DID to resolve. */
|
|
12
10
|
identifier: /*#__PURE__*/ v.actorIdentifierString(),
|
|
13
11
|
}),
|
|
14
12
|
output: {
|
|
@@ -10,9 +10,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.identity.signPlcOpera
|
|
|
10
10
|
alsoKnownAs: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
11
11
|
rotationKeys: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
12
12
|
services: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
13
|
-
/**
|
|
14
|
-
* A token received through com.atproto.identity.requestPlcOperationSignature
|
|
15
|
-
*/
|
|
13
|
+
/** A token received through com.atproto.identity.requestPlcOperationSignature */
|
|
16
14
|
token: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
17
15
|
verificationMethods: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
18
16
|
}),
|
|
@@ -20,9 +18,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.identity.signPlcOpera
|
|
|
20
18
|
output: {
|
|
21
19
|
type: 'lex',
|
|
22
20
|
schema: /*#__PURE__*/ v.object({
|
|
23
|
-
/**
|
|
24
|
-
* A signed DID PLC operation.
|
|
25
|
-
*/
|
|
21
|
+
/** A signed DID PLC operation. */
|
|
26
22
|
operation: /*#__PURE__*/ v.unknown(),
|
|
27
23
|
}),
|
|
28
24
|
},
|
|
@@ -3,42 +3,27 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
|
|
4
4
|
const _labelSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#label')),
|
|
6
|
-
/**
|
|
7
|
-
* Optionally, CID specifying the specific version of 'uri' resource this label applies to.
|
|
8
|
-
*/
|
|
6
|
+
/** Optionally, CID specifying the specific version of 'uri' resource this label applies to. */
|
|
9
7
|
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
10
|
-
/**
|
|
11
|
-
* Timestamp when this label was created.
|
|
12
|
-
*/
|
|
8
|
+
/** Timestamp when this label was created. */
|
|
13
9
|
cts: /*#__PURE__*/ v.datetimeString(),
|
|
14
|
-
/**
|
|
15
|
-
* Timestamp at which this label expires (no longer applies).
|
|
16
|
-
*/
|
|
10
|
+
/** Timestamp at which this label expires (no longer applies). */
|
|
17
11
|
exp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
18
|
-
/**
|
|
19
|
-
* If true, this is a negation label, overwriting a previous label.
|
|
20
|
-
*/
|
|
12
|
+
/** If true, this is a negation label, overwriting a previous label. */
|
|
21
13
|
neg: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
22
|
-
/**
|
|
23
|
-
* Signature of dag-cbor encoded label.
|
|
24
|
-
*/
|
|
14
|
+
/** Signature of dag-cbor encoded label. */
|
|
25
15
|
sig: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.bytes()),
|
|
26
|
-
/**
|
|
27
|
-
* DID of the actor who created this label.
|
|
28
|
-
*/
|
|
16
|
+
/** DID of the actor who created this label. */
|
|
29
17
|
src: /*#__PURE__*/ v.didString(),
|
|
30
|
-
/**
|
|
31
|
-
* AT URI of the record, repository (account), or other resource that this label applies to.
|
|
32
|
-
*/
|
|
18
|
+
/** AT URI of the record, repository (account), or other resource that this label applies to. */
|
|
33
19
|
uri: /*#__PURE__*/ v.genericUriString(),
|
|
34
20
|
/**
|
|
35
21
|
* The short string name of the value or type of this label.
|
|
22
|
+
*
|
|
36
23
|
* @maxLength 128
|
|
37
24
|
*/
|
|
38
25
|
val: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 128)]),
|
|
39
|
-
/**
|
|
40
|
-
* The AT Protocol version of the label object.
|
|
41
|
-
*/
|
|
26
|
+
/** The AT Protocol version of the label object. */
|
|
42
27
|
ver: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
43
28
|
});
|
|
44
29
|
const _labelValueSchema = /*#__PURE__*/ v.string<
|
|
@@ -54,17 +39,17 @@ const _labelValueSchema = /*#__PURE__*/ v.string<
|
|
|
54
39
|
>();
|
|
55
40
|
const _labelValueDefinitionSchema = /*#__PURE__*/ v.object({
|
|
56
41
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#labelValueDefinition')),
|
|
57
|
-
/**
|
|
58
|
-
* Does the user need to have adult content enabled in order to configure this label?
|
|
59
|
-
*/
|
|
42
|
+
/** Does the user need to have adult content enabled in order to configure this label? */
|
|
60
43
|
adultOnly: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
61
44
|
/**
|
|
62
|
-
* What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the
|
|
45
|
+
* What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the
|
|
46
|
+
* images/video/audio; 'none' hides nothing.
|
|
63
47
|
*/
|
|
64
48
|
blurs: /*#__PURE__*/ v.string<'content' | 'media' | 'none' | (string & {})>(),
|
|
65
49
|
/**
|
|
66
50
|
* The default setting for this label.
|
|
67
|
-
*
|
|
51
|
+
*
|
|
52
|
+
* @default 'warn'
|
|
68
53
|
*/
|
|
69
54
|
defaultSetting: /*#__PURE__*/ v.optional(
|
|
70
55
|
/*#__PURE__*/ v.string<'hide' | 'ignore' | 'warn' | (string & {})>(),
|
|
@@ -72,6 +57,7 @@ const _labelValueDefinitionSchema = /*#__PURE__*/ v.object({
|
|
|
72
57
|
),
|
|
73
58
|
/**
|
|
74
59
|
* The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+).
|
|
60
|
+
*
|
|
75
61
|
* @maxLength 100
|
|
76
62
|
* @maxGraphemes 100
|
|
77
63
|
*/
|
|
@@ -83,7 +69,8 @@ const _labelValueDefinitionSchema = /*#__PURE__*/ v.object({
|
|
|
83
69
|
return /*#__PURE__*/ v.array(labelValueDefinitionStringsSchema);
|
|
84
70
|
},
|
|
85
71
|
/**
|
|
86
|
-
* How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means
|
|
72
|
+
* How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means
|
|
73
|
+
* negative and warning; 'none' means show nothing.
|
|
87
74
|
*/
|
|
88
75
|
severity: /*#__PURE__*/ v.string<'alert' | 'inform' | 'none' | (string & {})>(),
|
|
89
76
|
});
|
|
@@ -93,6 +80,7 @@ const _labelValueDefinitionStringsSchema = /*#__PURE__*/ v.object({
|
|
|
93
80
|
),
|
|
94
81
|
/**
|
|
95
82
|
* A longer description of what the label means and why it might be applied.
|
|
83
|
+
*
|
|
96
84
|
* @maxLength 100000
|
|
97
85
|
* @maxGraphemes 10000
|
|
98
86
|
*/
|
|
@@ -100,12 +88,11 @@ const _labelValueDefinitionStringsSchema = /*#__PURE__*/ v.object({
|
|
|
100
88
|
/*#__PURE__*/ v.stringLength(0, 100000),
|
|
101
89
|
/*#__PURE__*/ v.stringGraphemes(0, 10000),
|
|
102
90
|
]),
|
|
103
|
-
/**
|
|
104
|
-
* The code of the language these strings are written in.
|
|
105
|
-
*/
|
|
91
|
+
/** The code of the language these strings are written in. */
|
|
106
92
|
lang: /*#__PURE__*/ v.languageCodeString(),
|
|
107
93
|
/**
|
|
108
94
|
* A short human-readable name for the label.
|
|
95
|
+
*
|
|
109
96
|
* @maxLength 640
|
|
110
97
|
* @maxGraphemes 64
|
|
111
98
|
*/
|
|
@@ -118,15 +105,14 @@ const _selfLabelSchema = /*#__PURE__*/ v.object({
|
|
|
118
105
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#selfLabel')),
|
|
119
106
|
/**
|
|
120
107
|
* The short string name of the value or type of this label.
|
|
108
|
+
*
|
|
121
109
|
* @maxLength 128
|
|
122
110
|
*/
|
|
123
111
|
val: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 128)]),
|
|
124
112
|
});
|
|
125
113
|
const _selfLabelsSchema = /*#__PURE__*/ v.object({
|
|
126
114
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#selfLabels')),
|
|
127
|
-
/**
|
|
128
|
-
* @maxLength 10
|
|
129
|
-
*/
|
|
115
|
+
/** @maxLength 10 */
|
|
130
116
|
get values() {
|
|
131
117
|
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(selfLabelSchema), [
|
|
132
118
|
/*#__PURE__*/ v.arrayLength(0, 10),
|
|
@@ -8,20 +8,20 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.label.queryLabels', {
|
|
|
8
8
|
params: /*#__PURE__*/ v.object({
|
|
9
9
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
10
|
/**
|
|
11
|
+
* @default 50
|
|
11
12
|
* @minimum 1
|
|
12
13
|
* @maximum 250
|
|
13
|
-
* @default 50
|
|
14
14
|
*/
|
|
15
15
|
limit: /*#__PURE__*/ v.optional(
|
|
16
16
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 250)]),
|
|
17
17
|
50,
|
|
18
18
|
),
|
|
19
|
-
/**
|
|
20
|
-
* Optional list of label sources (DIDs) to filter on.
|
|
21
|
-
*/
|
|
19
|
+
/** Optional list of label sources (DIDs) to filter on. */
|
|
22
20
|
sources: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString())),
|
|
23
21
|
/**
|
|
24
|
-
* List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '
|
|
22
|
+
* List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '_'; will match
|
|
23
|
+
* inclusive of the string leading to '_'), or a full URI.
|
|
24
|
+
*
|
|
25
25
|
* @minLength 1
|
|
26
26
|
*/
|
|
27
27
|
uriPatterns: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), [
|
|
@@ -18,9 +18,7 @@ const _labelsSchema = /*#__PURE__*/ v.object({
|
|
|
18
18
|
});
|
|
19
19
|
const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.label.subscribeLabels', {
|
|
20
20
|
params: /*#__PURE__*/ v.object({
|
|
21
|
-
/**
|
|
22
|
-
* The last known event seq number to backfill from.
|
|
23
|
-
*/
|
|
21
|
+
/** The last known event seq number to backfill from. */
|
|
24
22
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
25
23
|
}),
|
|
26
24
|
get message() {
|
|
@@ -6,27 +6,19 @@ import * as ComAtprotoLexiconSchema from './schema.ts';
|
|
|
6
6
|
|
|
7
7
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.lexicon.resolveLexicon', {
|
|
8
8
|
params: /*#__PURE__*/ v.object({
|
|
9
|
-
/**
|
|
10
|
-
* The lexicon NSID to resolve.
|
|
11
|
-
*/
|
|
9
|
+
/** The lexicon NSID to resolve. */
|
|
12
10
|
nsid: /*#__PURE__*/ v.nsidString(),
|
|
13
11
|
}),
|
|
14
12
|
output: {
|
|
15
13
|
type: 'lex',
|
|
16
14
|
schema: /*#__PURE__*/ v.object({
|
|
17
|
-
/**
|
|
18
|
-
* The CID of the lexicon schema record.
|
|
19
|
-
*/
|
|
15
|
+
/** The CID of the lexicon schema record. */
|
|
20
16
|
cid: /*#__PURE__*/ v.cidString(),
|
|
21
|
-
/**
|
|
22
|
-
* The resolved lexicon schema record.
|
|
23
|
-
*/
|
|
17
|
+
/** The resolved lexicon schema record. */
|
|
24
18
|
get schema() {
|
|
25
19
|
return ComAtprotoLexiconSchema.mainSchema;
|
|
26
20
|
},
|
|
27
|
-
/**
|
|
28
|
-
* The AT-URI of the lexicon schema record.
|
|
29
|
-
*/
|
|
21
|
+
/** The AT-URI of the lexicon schema record. */
|
|
30
22
|
uri: /*#__PURE__*/ v.resourceUriString(),
|
|
31
23
|
}),
|
|
32
24
|
},
|
|
@@ -7,7 +7,8 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
7
7
|
/*#__PURE__*/ v.object({
|
|
8
8
|
$type: /*#__PURE__*/ v.literal('com.atproto.lexicon.schema'),
|
|
9
9
|
/**
|
|
10
|
-
* Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema
|
|
10
|
+
* Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema
|
|
11
|
+
* system.
|
|
11
12
|
*/
|
|
12
13
|
lexicon: /*#__PURE__*/ v.integer(),
|
|
13
14
|
}),
|
|
@@ -17,6 +17,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.moderation.createRepo
|
|
|
17
17
|
},
|
|
18
18
|
/**
|
|
19
19
|
* Additional context about the content and violation.
|
|
20
|
+
*
|
|
20
21
|
* @maxLength 20000
|
|
21
22
|
* @maxGraphemes 2000
|
|
22
23
|
*/
|
|
@@ -26,9 +27,7 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.moderation.createRepo
|
|
|
26
27
|
/*#__PURE__*/ v.stringGraphemes(0, 2000),
|
|
27
28
|
]),
|
|
28
29
|
),
|
|
29
|
-
/**
|
|
30
|
-
* Indicates the broad category of violation the report is for.
|
|
31
|
-
*/
|
|
30
|
+
/** Indicates the broad category of violation the report is for. */
|
|
32
31
|
get reasonType() {
|
|
33
32
|
return ComAtprotoModerationDefs.reasonTypeSchema;
|
|
34
33
|
},
|
|
@@ -70,13 +69,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.moderation.createRepo
|
|
|
70
69
|
});
|
|
71
70
|
const _modToolSchema = /*#__PURE__*/ v.object({
|
|
72
71
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.moderation.createReport#modTool')),
|
|
73
|
-
/**
|
|
74
|
-
* Additional arbitrary metadata about the source
|
|
75
|
-
*/
|
|
72
|
+
/** Additional arbitrary metadata about the source */
|
|
76
73
|
meta: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
77
|
-
/**
|
|
78
|
-
* Name/identifier of the source (e.g., 'bsky-app/android', 'bsky-web/chrome')
|
|
79
|
-
*/
|
|
74
|
+
/** Name/identifier of the source (e.g., 'bsky-app/android', 'bsky-web/chrome') */
|
|
80
75
|
name: /*#__PURE__*/ v.string(),
|
|
81
76
|
});
|
|
82
77
|
|
|
@@ -8,7 +8,9 @@ const _createSchema = /*#__PURE__*/ v.object({
|
|
|
8
8
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.repo.applyWrites#create')),
|
|
9
9
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
10
10
|
/**
|
|
11
|
-
* NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards
|
|
11
|
+
* NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards
|
|
12
|
+
* compatibility.
|
|
13
|
+
*
|
|
12
14
|
* @maxLength 512
|
|
13
15
|
*/
|
|
14
16
|
rkey: /*#__PURE__*/ v.optional(
|
|
@@ -35,16 +37,16 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.applyWrites', {
|
|
|
35
37
|
input: {
|
|
36
38
|
type: 'lex',
|
|
37
39
|
schema: /*#__PURE__*/ v.object({
|
|
38
|
-
/**
|
|
39
|
-
* The handle or DID of the repo (aka, current account).
|
|
40
|
-
*/
|
|
40
|
+
/** The handle or DID of the repo (aka, current account). */
|
|
41
41
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
42
42
|
/**
|
|
43
|
-
* If provided, the entire operation will fail if the current repo commit CID does not match this value.
|
|
43
|
+
* If provided, the entire operation will fail if the current repo commit CID does not match this value.
|
|
44
|
+
* Used to prevent conflicting repo mutations.
|
|
44
45
|
*/
|
|
45
46
|
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
46
47
|
/**
|
|
47
|
-
* Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true'
|
|
48
|
+
* Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true'
|
|
49
|
+
* to require it, or leave unset to validate only for known Lexicons.
|
|
48
50
|
*/
|
|
49
51
|
validate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
50
52
|
get writes() {
|
|
@@ -9,31 +9,25 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.createRecord', {
|
|
|
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 itself. Must contain a $type field.
|
|
18
|
-
*/
|
|
14
|
+
/** The record itself. Must contain a $type field. */
|
|
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.optional(
|
|
29
24
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.recordKeyString(), [/*#__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
|
-
* Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or
|
|
29
|
+
* Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or
|
|
30
|
+
* leave unset to validate only for known Lexicons.
|
|
37
31
|
*/
|
|
38
32
|
validate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
39
33
|
}),
|
|
@@ -9,25 +9,15 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.deleteRecord', {
|
|
|
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 handle or DID of the repo (aka, current account).
|
|
18
|
-
*/
|
|
14
|
+
/** The handle or DID of the repo (aka, current account). */
|
|
19
15
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
20
|
-
/**
|
|
21
|
-
* The Record Key.
|
|
22
|
-
*/
|
|
16
|
+
/** The Record Key. */
|
|
23
17
|
rkey: /*#__PURE__*/ v.recordKeyString(),
|
|
24
|
-
/**
|
|
25
|
-
* Compare and swap with the previous commit by CID.
|
|
26
|
-
*/
|
|
18
|
+
/** Compare and swap with the previous commit by CID. */
|
|
27
19
|
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
28
|
-
/**
|
|
29
|
-
* Compare and swap with the previous record by CID.
|
|
30
|
-
*/
|
|
20
|
+
/** Compare and swap with the previous record by CID. */
|
|
31
21
|
swapRecord: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
32
22
|
}),
|
|
33
23
|
},
|
|
@@ -4,27 +4,19 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.repo.describeRepo', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The handle or DID of the repo.
|
|
9
|
-
*/
|
|
7
|
+
/** The handle or DID of the repo. */
|
|
10
8
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
11
9
|
}),
|
|
12
10
|
output: {
|
|
13
11
|
type: 'lex',
|
|
14
12
|
schema: /*#__PURE__*/ v.object({
|
|
15
|
-
/**
|
|
16
|
-
* List of all the collections (NSIDs) for which this repo contains at least one record.
|
|
17
|
-
*/
|
|
13
|
+
/** List of all the collections (NSIDs) for which this repo contains at least one record. */
|
|
18
14
|
collections: /*#__PURE__*/ v.array(/*#__PURE__*/ v.nsidString()),
|
|
19
15
|
did: /*#__PURE__*/ v.didString(),
|
|
20
|
-
/**
|
|
21
|
-
* The complete DID document for this account.
|
|
22
|
-
*/
|
|
16
|
+
/** The complete DID document for this account. */
|
|
23
17
|
didDoc: /*#__PURE__*/ v.unknown(),
|
|
24
18
|
handle: /*#__PURE__*/ v.handleString(),
|
|
25
|
-
/**
|
|
26
|
-
* Indicates if handle is currently valid (resolves bi-directionally)
|
|
27
|
-
*/
|
|
19
|
+
/** Indicates if handle is currently valid (resolves bi-directionally) */
|
|
28
20
|
handleIsCorrect: /*#__PURE__*/ v.boolean(),
|
|
29
21
|
}),
|
|
30
22
|
},
|
|
@@ -4,21 +4,13 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.repo.getRecord', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The CID of the version of the record. If not specified, then return the most recent version.
|
|
9
|
-
*/
|
|
7
|
+
/** The CID of the version of the record. If not specified, then return the most recent version. */
|
|
10
8
|
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
11
|
-
/**
|
|
12
|
-
* The NSID of the record collection.
|
|
13
|
-
*/
|
|
9
|
+
/** The NSID of the record collection. */
|
|
14
10
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
15
|
-
/**
|
|
16
|
-
* The handle or DID of the repo.
|
|
17
|
-
*/
|
|
11
|
+
/** The handle or DID of the repo. */
|
|
18
12
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
19
|
-
/**
|
|
20
|
-
* The Record Key.
|
|
21
|
-
*/
|
|
13
|
+
/** The Record Key. */
|
|
22
14
|
rkey: /*#__PURE__*/ v.recordKeyString(),
|
|
23
15
|
}),
|
|
24
16
|
output: {
|
|
@@ -6,9 +6,9 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.repo.listMissingBlobs', {
|
|
|
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)]),
|
|
@@ -4,28 +4,23 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
4
4
|
|
|
5
5
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.repo.listRecords', {
|
|
6
6
|
params: /*#__PURE__*/ v.object({
|
|
7
|
-
/**
|
|
8
|
-
* The NSID of the record type.
|
|
9
|
-
*/
|
|
7
|
+
/** The NSID of the record type. */
|
|
10
8
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
11
9
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
10
|
/**
|
|
13
11
|
* The number of records to return.
|
|
12
|
+
*
|
|
13
|
+
* @default 50
|
|
14
14
|
* @minimum 1
|
|
15
15
|
* @maximum 100
|
|
16
|
-
* @default 50
|
|
17
16
|
*/
|
|
18
17
|
limit: /*#__PURE__*/ v.optional(
|
|
19
18
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
20
19
|
50,
|
|
21
20
|
),
|
|
22
|
-
/**
|
|
23
|
-
* The handle or DID of the repo.
|
|
24
|
-
*/
|
|
21
|
+
/** The handle or DID of the repo. */
|
|
25
22
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
26
|
-
/**
|
|
27
|
-
* Flag to reverse the order of the returned records.
|
|
28
|
-
*/
|
|
23
|
+
/** Flag to reverse the order of the returned records. */
|
|
29
24
|
reverse: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
30
25
|
}),
|
|
31
26
|
output: {
|