@atcute/atproto 3.1.6 → 3.1.8
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/disableAccountInvites.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js +3 -0
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js +3 -0
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js +3 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts +8 -0
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js +8 -0
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts +5 -0
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js +5 -0
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js +3 -0
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js +3 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.js +3 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountSigningKey.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/defs.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/identity/defs.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/defs.js +6 -0
- package/dist/lexicons/types/com/atproto/identity/defs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js +3 -0
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveDid.js +6 -0
- package/dist/lexicons/types/com/atproto/identity/resolveDid.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.js +3 -0
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js +3 -0
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js +6 -0
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/identity/updateHandle.js +3 -0
- package/dist/lexicons/types/com/atproto/identity/updateHandle.js.map +1 -1
- package/dist/lexicons/types/com/atproto/label/defs.d.ts +66 -0
- package/dist/lexicons/types/com/atproto/label/defs.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/label/defs.js +66 -0
- package/dist/lexicons/types/com/atproto/label/defs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts +12 -0
- package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/label/queryLabels.js +12 -0
- package/dist/lexicons/types/com/atproto/label/queryLabels.js.map +1 -1
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js +3 -0
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js.map +1 -1
- package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/lexicon/schema.js +3 -0
- package/dist/lexicons/types/com/atproto/lexicon/schema.js.map +1 -1
- package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/moderation/createReport.js +18 -0
- package/dist/lexicons/types/com/atproto/moderation/createReport.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts +13 -0
- package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js +13 -0
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts +19 -0
- package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/createRecord.js +19 -0
- package/dist/lexicons/types/com/atproto/repo/createRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts +15 -0
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js +15 -0
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts +12 -0
- package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js +12 -0
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts +12 -0
- package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/getRecord.js +12 -0
- package/dist/lexicons/types/com/atproto/repo/getRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts +5 -0
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js +5 -0
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts +15 -0
- package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/listRecords.js +15 -0
- package/dist/lexicons/types/com/atproto/repo/listRecords.js.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts +22 -0
- package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/repo/putRecord.js +22 -0
- package/dist/lexicons/types/com/atproto/repo/putRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAccount.d.ts +21 -0
- package/dist/lexicons/types/com/atproto/server/createAccount.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAccount.js +21 -0
- package/dist/lexicons/types/com/atproto/server/createAccount.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js +6 -0
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js +3 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createSession.d.ts +9 -0
- package/dist/lexicons/types/com/atproto/server/createSession.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/createSession.js +9 -0
- package/dist/lexicons/types/com/atproto/server/createSession.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.js +3 -0
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/describeServer.d.ts +15 -0
- package/dist/lexicons/types/com/atproto/server/describeServer.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/describeServer.js +15 -0
- package/dist/lexicons/types/com/atproto/server/describeServer.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts +7 -0
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js +7 -0
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts +9 -0
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.js +9 -0
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getSession.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/getSession.js +3 -0
- package/dist/lexicons/types/com/atproto/server/getSession.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/refreshSession.js +3 -0
- package/dist/lexicons/types/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js +6 -0
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js.map +1 -1
- package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/server/updateEmail.js +3 -0
- package/dist/lexicons/types/com/atproto/server/updateEmail.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlob.js +6 -0
- package/dist/lexicons/types/com/atproto/sync/getBlob.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js +6 -0
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js +3 -0
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHead.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/sync/getHead.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHead.js +3 -0
- package/dist/lexicons/types/com/atproto/sync/getHead.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.d.ts +9 -0
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.js +9 -0
- package/dist/lexicons/types/com/atproto/sync/getHostStatus.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js +3 -0
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRecord.js +6 -0
- package/dist/lexicons/types/com/atproto/sync/getRecord.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepo.js +6 -0
- package/dist/lexicons/types/com/atproto/sync/getRepo.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts +9 -0
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js +9 -0
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts +11 -0
- package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js +11 -0
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listHosts.d.ts +14 -0
- package/dist/lexicons/types/com/atproto/sync/listHosts.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listHosts.js +14 -0
- package/dist/lexicons/types/com/atproto/sync/listHosts.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts +11 -0
- package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listRepos.js +11 -0
- package/dist/lexicons/types/com/atproto/sync/listRepos.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js +6 -0
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js +3 -0
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts +3 -0
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.js +3 -0
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.js.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts +68 -0
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js +68 -0
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.d.ts +18 -0
- package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.js +18 -0
- package/dist/lexicons/types/com/atproto/temp/checkHandleAvailability.js.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/dereferenceScope.d.ts +6 -0
- package/dist/lexicons/types/com/atproto/temp/dereferenceScope.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/dereferenceScope.js +6 -0
- package/dist/lexicons/types/com/atproto/temp/dereferenceScope.js.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts +5 -0
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts.map +1 -1
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js +5 -0
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js.map +1 -1
- package/lib/lexicons/types/com/atproto/admin/disableAccountInvites.ts +3 -0
- package/lib/lexicons/types/com/atproto/admin/enableAccountInvites.ts +3 -0
- package/lib/lexicons/types/com/atproto/admin/getAccountInfos.ts +3 -0
- package/lib/lexicons/types/com/atproto/admin/getInviteCodes.ts +8 -0
- package/lib/lexicons/types/com/atproto/admin/searchAccounts.ts +5 -0
- package/lib/lexicons/types/com/atproto/admin/sendEmail.ts +3 -0
- package/lib/lexicons/types/com/atproto/admin/updateAccountEmail.ts +3 -0
- package/lib/lexicons/types/com/atproto/admin/updateAccountSigningKey.ts +3 -0
- package/lib/lexicons/types/com/atproto/identity/defs.ts +6 -0
- package/lib/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.ts +3 -0
- package/lib/lexicons/types/com/atproto/identity/resolveDid.ts +6 -0
- package/lib/lexicons/types/com/atproto/identity/resolveHandle.ts +3 -0
- package/lib/lexicons/types/com/atproto/identity/resolveIdentity.ts +3 -0
- package/lib/lexicons/types/com/atproto/identity/signPlcOperation.ts +6 -0
- package/lib/lexicons/types/com/atproto/identity/updateHandle.ts +3 -0
- package/lib/lexicons/types/com/atproto/label/defs.ts +66 -0
- package/lib/lexicons/types/com/atproto/label/queryLabels.ts +12 -0
- package/lib/lexicons/types/com/atproto/label/subscribeLabels.ts +3 -0
- package/lib/lexicons/types/com/atproto/lexicon/schema.ts +3 -0
- package/lib/lexicons/types/com/atproto/moderation/createReport.ts +18 -0
- package/lib/lexicons/types/com/atproto/repo/applyWrites.ts +13 -0
- package/lib/lexicons/types/com/atproto/repo/createRecord.ts +19 -0
- package/lib/lexicons/types/com/atproto/repo/deleteRecord.ts +15 -0
- package/lib/lexicons/types/com/atproto/repo/describeRepo.ts +12 -0
- package/lib/lexicons/types/com/atproto/repo/getRecord.ts +12 -0
- package/lib/lexicons/types/com/atproto/repo/listMissingBlobs.ts +5 -0
- package/lib/lexicons/types/com/atproto/repo/listRecords.ts +15 -0
- package/lib/lexicons/types/com/atproto/repo/putRecord.ts +22 -0
- package/lib/lexicons/types/com/atproto/server/createAccount.ts +21 -0
- package/lib/lexicons/types/com/atproto/server/createAppPassword.ts +6 -0
- package/lib/lexicons/types/com/atproto/server/createInviteCodes.ts +3 -0
- package/lib/lexicons/types/com/atproto/server/createSession.ts +9 -0
- package/lib/lexicons/types/com/atproto/server/deactivateAccount.ts +3 -0
- package/lib/lexicons/types/com/atproto/server/describeServer.ts +15 -0
- package/lib/lexicons/types/com/atproto/server/getAccountInviteCodes.ts +7 -0
- package/lib/lexicons/types/com/atproto/server/getServiceAuth.ts +9 -0
- package/lib/lexicons/types/com/atproto/server/getSession.ts +3 -0
- package/lib/lexicons/types/com/atproto/server/refreshSession.ts +3 -0
- package/lib/lexicons/types/com/atproto/server/reserveSigningKey.ts +6 -0
- package/lib/lexicons/types/com/atproto/server/updateEmail.ts +3 -0
- package/lib/lexicons/types/com/atproto/sync/getBlob.ts +6 -0
- package/lib/lexicons/types/com/atproto/sync/getBlocks.ts +6 -0
- package/lib/lexicons/types/com/atproto/sync/getCheckout.ts +3 -0
- package/lib/lexicons/types/com/atproto/sync/getHead.ts +3 -0
- package/lib/lexicons/types/com/atproto/sync/getHostStatus.ts +9 -0
- package/lib/lexicons/types/com/atproto/sync/getLatestCommit.ts +3 -0
- package/lib/lexicons/types/com/atproto/sync/getRecord.ts +6 -0
- package/lib/lexicons/types/com/atproto/sync/getRepo.ts +6 -0
- package/lib/lexicons/types/com/atproto/sync/getRepoStatus.ts +9 -0
- package/lib/lexicons/types/com/atproto/sync/listBlobs.ts +11 -0
- package/lib/lexicons/types/com/atproto/sync/listHosts.ts +14 -0
- package/lib/lexicons/types/com/atproto/sync/listRepos.ts +11 -0
- package/lib/lexicons/types/com/atproto/sync/listReposByCollection.ts +6 -0
- package/lib/lexicons/types/com/atproto/sync/notifyOfUpdate.ts +3 -0
- package/lib/lexicons/types/com/atproto/sync/requestCrawl.ts +3 -0
- package/lib/lexicons/types/com/atproto/sync/subscribeRepos.ts +68 -0
- package/lib/lexicons/types/com/atproto/temp/checkHandleAvailability.ts +18 -0
- package/lib/lexicons/types/com/atproto/temp/dereferenceScope.ts +6 -0
- package/lib/lexicons/types/com/atproto/temp/fetchLabels.ts +5 -0
- package/package.json +10 -2
|
@@ -4,7 +4,13 @@ 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
10
|
didDoc: /*#__PURE__*/ v.unknown(),
|
|
11
|
+
/**
|
|
12
|
+
* The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document.
|
|
13
|
+
*/
|
|
8
14
|
handle: /*#__PURE__*/ v.handleString(),
|
|
9
15
|
});
|
|
10
16
|
|
|
@@ -8,6 +8,9 @@ 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
14
|
rotationKeys: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
12
15
|
services: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
13
16
|
verificationMethods: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
@@ -4,11 +4,17 @@ import type {} from '@atcute/lexicons/ambient';
|
|
|
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
10
|
did: /*#__PURE__*/ v.didString(),
|
|
8
11
|
}),
|
|
9
12
|
output: {
|
|
10
13
|
type: 'lex',
|
|
11
14
|
schema: /*#__PURE__*/ v.object({
|
|
15
|
+
/**
|
|
16
|
+
* The complete DID document for the identity.
|
|
17
|
+
*/
|
|
12
18
|
didDoc: /*#__PURE__*/ v.unknown(),
|
|
13
19
|
}),
|
|
14
20
|
},
|
|
@@ -4,6 +4,9 @@ import type {} from '@atcute/lexicons/ambient';
|
|
|
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
10
|
handle: /*#__PURE__*/ v.handleString(),
|
|
8
11
|
}),
|
|
9
12
|
output: {
|
|
@@ -5,6 +5,9 @@ import * as ComAtprotoIdentityDefs from './defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.identity.resolveIdentity', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
+
/**
|
|
9
|
+
* Handle or DID to resolve.
|
|
10
|
+
*/
|
|
8
11
|
identifier: /*#__PURE__*/ v.actorIdentifierString(),
|
|
9
12
|
}),
|
|
10
13
|
output: {
|
|
@@ -10,6 +10,9 @@ 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
16
|
token: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
17
|
verificationMethods: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
15
18
|
}),
|
|
@@ -17,6 +20,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.identity.signPlcOpera
|
|
|
17
20
|
output: {
|
|
18
21
|
type: 'lex',
|
|
19
22
|
schema: /*#__PURE__*/ v.object({
|
|
23
|
+
/**
|
|
24
|
+
* A signed DID PLC operation.
|
|
25
|
+
*/
|
|
20
26
|
operation: /*#__PURE__*/ v.unknown(),
|
|
21
27
|
}),
|
|
22
28
|
},
|
|
@@ -3,14 +3,42 @@ 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
9
|
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
10
|
+
/**
|
|
11
|
+
* Timestamp when this label was created.
|
|
12
|
+
*/
|
|
7
13
|
cts: /*#__PURE__*/ v.datetimeString(),
|
|
14
|
+
/**
|
|
15
|
+
* Timestamp at which this label expires (no longer applies).
|
|
16
|
+
*/
|
|
8
17
|
exp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
18
|
+
/**
|
|
19
|
+
* If true, this is a negation label, overwriting a previous label.
|
|
20
|
+
*/
|
|
9
21
|
neg: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
22
|
+
/**
|
|
23
|
+
* Signature of dag-cbor encoded label.
|
|
24
|
+
*/
|
|
10
25
|
sig: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.bytes()),
|
|
26
|
+
/**
|
|
27
|
+
* DID of the actor who created this label.
|
|
28
|
+
*/
|
|
11
29
|
src: /*#__PURE__*/ v.didString(),
|
|
30
|
+
/**
|
|
31
|
+
* AT URI of the record, repository (account), or other resource that this label applies to.
|
|
32
|
+
*/
|
|
12
33
|
uri: /*#__PURE__*/ v.genericUriString(),
|
|
34
|
+
/**
|
|
35
|
+
* The short string name of the value or type of this label.
|
|
36
|
+
* @maxLength 128
|
|
37
|
+
*/
|
|
13
38
|
val: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 128)]),
|
|
39
|
+
/**
|
|
40
|
+
* The AT Protocol version of the label object.
|
|
41
|
+
*/
|
|
14
42
|
ver: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
15
43
|
});
|
|
16
44
|
const _labelValueSchema = /*#__PURE__*/ v.string<
|
|
@@ -29,12 +57,27 @@ const _labelValueSchema = /*#__PURE__*/ v.string<
|
|
|
29
57
|
>();
|
|
30
58
|
const _labelValueDefinitionSchema = /*#__PURE__*/ v.object({
|
|
31
59
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#labelValueDefinition')),
|
|
60
|
+
/**
|
|
61
|
+
* Does the user need to have adult content enabled in order to configure this label?
|
|
62
|
+
*/
|
|
32
63
|
adultOnly: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
64
|
+
/**
|
|
65
|
+
* What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing.
|
|
66
|
+
*/
|
|
33
67
|
blurs: /*#__PURE__*/ v.string<'content' | 'media' | 'none' | (string & {})>(),
|
|
68
|
+
/**
|
|
69
|
+
* The default setting for this label.
|
|
70
|
+
* @default "warn"
|
|
71
|
+
*/
|
|
34
72
|
defaultSetting: /*#__PURE__*/ v.optional(
|
|
35
73
|
/*#__PURE__*/ v.string<'hide' | 'ignore' | 'warn' | (string & {})>(),
|
|
36
74
|
'warn',
|
|
37
75
|
),
|
|
76
|
+
/**
|
|
77
|
+
* The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+).
|
|
78
|
+
* @maxLength 100
|
|
79
|
+
* @maxGraphemes 100
|
|
80
|
+
*/
|
|
38
81
|
identifier: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
39
82
|
/*#__PURE__*/ v.stringLength(0, 100),
|
|
40
83
|
/*#__PURE__*/ v.stringGraphemes(0, 100),
|
|
@@ -42,17 +85,33 @@ const _labelValueDefinitionSchema = /*#__PURE__*/ v.object({
|
|
|
42
85
|
get locales() {
|
|
43
86
|
return /*#__PURE__*/ v.array(labelValueDefinitionStringsSchema);
|
|
44
87
|
},
|
|
88
|
+
/**
|
|
89
|
+
* How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing.
|
|
90
|
+
*/
|
|
45
91
|
severity: /*#__PURE__*/ v.string<'alert' | 'inform' | 'none' | (string & {})>(),
|
|
46
92
|
});
|
|
47
93
|
const _labelValueDefinitionStringsSchema = /*#__PURE__*/ v.object({
|
|
48
94
|
$type: /*#__PURE__*/ v.optional(
|
|
49
95
|
/*#__PURE__*/ v.literal('com.atproto.label.defs#labelValueDefinitionStrings'),
|
|
50
96
|
),
|
|
97
|
+
/**
|
|
98
|
+
* A longer description of what the label means and why it might be applied.
|
|
99
|
+
* @maxLength 100000
|
|
100
|
+
* @maxGraphemes 10000
|
|
101
|
+
*/
|
|
51
102
|
description: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
52
103
|
/*#__PURE__*/ v.stringLength(0, 100000),
|
|
53
104
|
/*#__PURE__*/ v.stringGraphemes(0, 10000),
|
|
54
105
|
]),
|
|
106
|
+
/**
|
|
107
|
+
* The code of the language these strings are written in.
|
|
108
|
+
*/
|
|
55
109
|
lang: /*#__PURE__*/ v.languageCodeString(),
|
|
110
|
+
/**
|
|
111
|
+
* A short human-readable name for the label.
|
|
112
|
+
* @maxLength 640
|
|
113
|
+
* @maxGraphemes 64
|
|
114
|
+
*/
|
|
56
115
|
name: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
57
116
|
/*#__PURE__*/ v.stringLength(0, 640),
|
|
58
117
|
/*#__PURE__*/ v.stringGraphemes(0, 64),
|
|
@@ -60,10 +119,17 @@ const _labelValueDefinitionStringsSchema = /*#__PURE__*/ v.object({
|
|
|
60
119
|
});
|
|
61
120
|
const _selfLabelSchema = /*#__PURE__*/ v.object({
|
|
62
121
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#selfLabel')),
|
|
122
|
+
/**
|
|
123
|
+
* The short string name of the value or type of this label.
|
|
124
|
+
* @maxLength 128
|
|
125
|
+
*/
|
|
63
126
|
val: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 128)]),
|
|
64
127
|
});
|
|
65
128
|
const _selfLabelsSchema = /*#__PURE__*/ v.object({
|
|
66
129
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.label.defs#selfLabels')),
|
|
130
|
+
/**
|
|
131
|
+
* @maxLength 10
|
|
132
|
+
*/
|
|
67
133
|
get values() {
|
|
68
134
|
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(selfLabelSchema), [
|
|
69
135
|
/*#__PURE__*/ v.arrayLength(0, 10),
|
|
@@ -6,11 +6,23 @@ import * as ComAtprotoLabelDefs from './defs.js';
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.label.queryLabels', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
8
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
/**
|
|
10
|
+
* @minimum 1
|
|
11
|
+
* @maximum 250
|
|
12
|
+
* @default 50
|
|
13
|
+
*/
|
|
9
14
|
limit: /*#__PURE__*/ v.optional(
|
|
10
15
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 250)]),
|
|
11
16
|
50,
|
|
12
17
|
),
|
|
18
|
+
/**
|
|
19
|
+
* Optional list of label sources (DIDs) to filter on.
|
|
20
|
+
*/
|
|
13
21
|
sources: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString())),
|
|
22
|
+
/**
|
|
23
|
+
* List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI.
|
|
24
|
+
* @minLength 1
|
|
25
|
+
*/
|
|
14
26
|
uriPatterns: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), [
|
|
15
27
|
/*#__PURE__*/ v.arrayLength(1),
|
|
16
28
|
]),
|
|
@@ -17,6 +17,9 @@ const _labelsSchema = /*#__PURE__*/ v.object({
|
|
|
17
17
|
});
|
|
18
18
|
const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.label.subscribeLabels', {
|
|
19
19
|
params: /*#__PURE__*/ v.object({
|
|
20
|
+
/**
|
|
21
|
+
* The last known event seq number to backfill from.
|
|
22
|
+
*/
|
|
20
23
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
21
24
|
}),
|
|
22
25
|
get message() {
|
|
@@ -6,6 +6,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
6
6
|
/*#__PURE__*/ v.nsidString(),
|
|
7
7
|
/*#__PURE__*/ v.object({
|
|
8
8
|
$type: /*#__PURE__*/ v.literal('com.atproto.lexicon.schema'),
|
|
9
|
+
/**
|
|
10
|
+
* Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system.
|
|
11
|
+
*/
|
|
9
12
|
lexicon: /*#__PURE__*/ v.integer(),
|
|
10
13
|
}),
|
|
11
14
|
);
|
|
@@ -13,12 +13,20 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.moderation.createRepo
|
|
|
13
13
|
get modTool() {
|
|
14
14
|
return /*#__PURE__*/ v.optional(modToolSchema);
|
|
15
15
|
},
|
|
16
|
+
/**
|
|
17
|
+
* Additional context about the content and violation.
|
|
18
|
+
* @maxLength 20000
|
|
19
|
+
* @maxGraphemes 2000
|
|
20
|
+
*/
|
|
16
21
|
reason: /*#__PURE__*/ v.optional(
|
|
17
22
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
18
23
|
/*#__PURE__*/ v.stringLength(0, 20000),
|
|
19
24
|
/*#__PURE__*/ v.stringGraphemes(0, 2000),
|
|
20
25
|
]),
|
|
21
26
|
),
|
|
27
|
+
/**
|
|
28
|
+
* Indicates the broad category of violation the report is for.
|
|
29
|
+
*/
|
|
22
30
|
get reasonType() {
|
|
23
31
|
return ComAtprotoModerationDefs.reasonTypeSchema;
|
|
24
32
|
},
|
|
@@ -35,6 +43,10 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.moderation.createRepo
|
|
|
35
43
|
schema: /*#__PURE__*/ v.object({
|
|
36
44
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
37
45
|
id: /*#__PURE__*/ v.integer(),
|
|
46
|
+
/**
|
|
47
|
+
* @maxLength 20000
|
|
48
|
+
* @maxGraphemes 2000
|
|
49
|
+
*/
|
|
38
50
|
reason: /*#__PURE__*/ v.optional(
|
|
39
51
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
40
52
|
/*#__PURE__*/ v.stringLength(0, 20000),
|
|
@@ -56,7 +68,13 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.moderation.createRepo
|
|
|
56
68
|
});
|
|
57
69
|
const _modToolSchema = /*#__PURE__*/ v.object({
|
|
58
70
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.moderation.createReport#modTool')),
|
|
71
|
+
/**
|
|
72
|
+
* Additional arbitrary metadata about the source
|
|
73
|
+
*/
|
|
59
74
|
meta: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
75
|
+
/**
|
|
76
|
+
* Name/identifier of the source (e.g., 'bsky-app/android', 'bsky-web/chrome')
|
|
77
|
+
*/
|
|
60
78
|
name: /*#__PURE__*/ v.string(),
|
|
61
79
|
});
|
|
62
80
|
|
|
@@ -6,6 +6,10 @@ import * as ComAtprotoRepoDefs from './defs.js';
|
|
|
6
6
|
const _createSchema = /*#__PURE__*/ v.object({
|
|
7
7
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.repo.applyWrites#create')),
|
|
8
8
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
9
|
+
/**
|
|
10
|
+
* NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility.
|
|
11
|
+
* @maxLength 512
|
|
12
|
+
*/
|
|
9
13
|
rkey: /*#__PURE__*/ v.optional(
|
|
10
14
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.recordKeyString(), [/*#__PURE__*/ v.stringLength(0, 512)]),
|
|
11
15
|
),
|
|
@@ -30,8 +34,17 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.applyWrites', {
|
|
|
30
34
|
input: {
|
|
31
35
|
type: 'lex',
|
|
32
36
|
schema: /*#__PURE__*/ v.object({
|
|
37
|
+
/**
|
|
38
|
+
* The handle or DID of the repo (aka, current account).
|
|
39
|
+
*/
|
|
33
40
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
41
|
+
/**
|
|
42
|
+
* If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations.
|
|
43
|
+
*/
|
|
34
44
|
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
45
|
+
/**
|
|
46
|
+
* Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true' to require it, or leave unset to validate only for known Lexicons.
|
|
47
|
+
*/
|
|
35
48
|
validate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
36
49
|
get writes() {
|
|
37
50
|
return /*#__PURE__*/ v.array(
|
|
@@ -8,13 +8,32 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.createRecord', {
|
|
|
8
8
|
input: {
|
|
9
9
|
type: 'lex',
|
|
10
10
|
schema: /*#__PURE__*/ v.object({
|
|
11
|
+
/**
|
|
12
|
+
* The NSID of the record collection.
|
|
13
|
+
*/
|
|
11
14
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
15
|
+
/**
|
|
16
|
+
* The record itself. Must contain a $type field.
|
|
17
|
+
*/
|
|
12
18
|
record: /*#__PURE__*/ v.unknown(),
|
|
19
|
+
/**
|
|
20
|
+
* The handle or DID of the repo (aka, current account).
|
|
21
|
+
*/
|
|
13
22
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
23
|
+
/**
|
|
24
|
+
* The Record Key.
|
|
25
|
+
* @maxLength 512
|
|
26
|
+
*/
|
|
14
27
|
rkey: /*#__PURE__*/ v.optional(
|
|
15
28
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.recordKeyString(), [/*#__PURE__*/ v.stringLength(0, 512)]),
|
|
16
29
|
),
|
|
30
|
+
/**
|
|
31
|
+
* Compare and swap with the previous commit by CID.
|
|
32
|
+
*/
|
|
17
33
|
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
34
|
+
/**
|
|
35
|
+
* Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.
|
|
36
|
+
*/
|
|
18
37
|
validate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
19
38
|
}),
|
|
20
39
|
},
|
|
@@ -8,10 +8,25 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.deleteRecord', {
|
|
|
8
8
|
input: {
|
|
9
9
|
type: 'lex',
|
|
10
10
|
schema: /*#__PURE__*/ v.object({
|
|
11
|
+
/**
|
|
12
|
+
* The NSID of the record collection.
|
|
13
|
+
*/
|
|
11
14
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
15
|
+
/**
|
|
16
|
+
* The handle or DID of the repo (aka, current account).
|
|
17
|
+
*/
|
|
12
18
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
19
|
+
/**
|
|
20
|
+
* The Record Key.
|
|
21
|
+
*/
|
|
13
22
|
rkey: /*#__PURE__*/ v.recordKeyString(),
|
|
23
|
+
/**
|
|
24
|
+
* Compare and swap with the previous commit by CID.
|
|
25
|
+
*/
|
|
14
26
|
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
27
|
+
/**
|
|
28
|
+
* Compare and swap with the previous record by CID.
|
|
29
|
+
*/
|
|
15
30
|
swapRecord: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
16
31
|
}),
|
|
17
32
|
},
|
|
@@ -4,15 +4,27 @@ import type {} from '@atcute/lexicons/ambient';
|
|
|
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
10
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
8
11
|
}),
|
|
9
12
|
output: {
|
|
10
13
|
type: 'lex',
|
|
11
14
|
schema: /*#__PURE__*/ v.object({
|
|
15
|
+
/**
|
|
16
|
+
* List of all the collections (NSIDs) for which this repo contains at least one record.
|
|
17
|
+
*/
|
|
12
18
|
collections: /*#__PURE__*/ v.array(/*#__PURE__*/ v.nsidString()),
|
|
13
19
|
did: /*#__PURE__*/ v.didString(),
|
|
20
|
+
/**
|
|
21
|
+
* The complete DID document for this account.
|
|
22
|
+
*/
|
|
14
23
|
didDoc: /*#__PURE__*/ v.unknown(),
|
|
15
24
|
handle: /*#__PURE__*/ v.handleString(),
|
|
25
|
+
/**
|
|
26
|
+
* Indicates if handle is currently valid (resolves bi-directionally)
|
|
27
|
+
*/
|
|
16
28
|
handleIsCorrect: /*#__PURE__*/ v.boolean(),
|
|
17
29
|
}),
|
|
18
30
|
},
|
|
@@ -4,9 +4,21 @@ import type {} from '@atcute/lexicons/ambient';
|
|
|
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
10
|
cid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
11
|
+
/**
|
|
12
|
+
* The NSID of the record collection.
|
|
13
|
+
*/
|
|
8
14
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
15
|
+
/**
|
|
16
|
+
* The handle or DID of the repo.
|
|
17
|
+
*/
|
|
9
18
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
19
|
+
/**
|
|
20
|
+
* The Record Key.
|
|
21
|
+
*/
|
|
10
22
|
rkey: /*#__PURE__*/ v.recordKeyString(),
|
|
11
23
|
}),
|
|
12
24
|
output: {
|
|
@@ -5,6 +5,11 @@ import type {} from '@atcute/lexicons/ambient';
|
|
|
5
5
|
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
|
+
/**
|
|
9
|
+
* @minimum 1
|
|
10
|
+
* @maximum 1000
|
|
11
|
+
* @default 500
|
|
12
|
+
*/
|
|
8
13
|
limit: /*#__PURE__*/ v.optional(
|
|
9
14
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 1000)]),
|
|
10
15
|
500,
|
|
@@ -4,13 +4,28 @@ import type {} from '@atcute/lexicons/ambient';
|
|
|
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
10
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
8
11
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
|
+
/**
|
|
13
|
+
* The number of records to return.
|
|
14
|
+
* @minimum 1
|
|
15
|
+
* @maximum 100
|
|
16
|
+
* @default 50
|
|
17
|
+
*/
|
|
9
18
|
limit: /*#__PURE__*/ v.optional(
|
|
10
19
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
11
20
|
50,
|
|
12
21
|
),
|
|
22
|
+
/**
|
|
23
|
+
* The handle or DID of the repo.
|
|
24
|
+
*/
|
|
13
25
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
26
|
+
/**
|
|
27
|
+
* Flag to reverse the order of the returned records.
|
|
28
|
+
*/
|
|
14
29
|
reverse: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
15
30
|
}),
|
|
16
31
|
output: {
|
|
@@ -8,14 +8,36 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.repo.putRecord', {
|
|
|
8
8
|
input: {
|
|
9
9
|
type: 'lex',
|
|
10
10
|
schema: /*#__PURE__*/ v.object({
|
|
11
|
+
/**
|
|
12
|
+
* The NSID of the record collection.
|
|
13
|
+
*/
|
|
11
14
|
collection: /*#__PURE__*/ v.nsidString(),
|
|
15
|
+
/**
|
|
16
|
+
* The record to write.
|
|
17
|
+
*/
|
|
12
18
|
record: /*#__PURE__*/ v.unknown(),
|
|
19
|
+
/**
|
|
20
|
+
* The handle or DID of the repo (aka, current account).
|
|
21
|
+
*/
|
|
13
22
|
repo: /*#__PURE__*/ v.actorIdentifierString(),
|
|
23
|
+
/**
|
|
24
|
+
* The Record Key.
|
|
25
|
+
* @maxLength 512
|
|
26
|
+
*/
|
|
14
27
|
rkey: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.recordKeyString(), [
|
|
15
28
|
/*#__PURE__*/ v.stringLength(0, 512),
|
|
16
29
|
]),
|
|
30
|
+
/**
|
|
31
|
+
* Compare and swap with the previous commit by CID.
|
|
32
|
+
*/
|
|
17
33
|
swapCommit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidString()),
|
|
34
|
+
/**
|
|
35
|
+
* Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation
|
|
36
|
+
*/
|
|
18
37
|
swapRecord: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.nullable(/*#__PURE__*/ v.cidString())),
|
|
38
|
+
/**
|
|
39
|
+
* Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.
|
|
40
|
+
*/
|
|
19
41
|
validate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
20
42
|
}),
|
|
21
43
|
},
|
|
@@ -7,12 +7,27 @@ 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
13
|
did: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()),
|
|
11
14
|
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
|
+
/**
|
|
16
|
+
* Requested handle for the account.
|
|
17
|
+
*/
|
|
12
18
|
handle: /*#__PURE__*/ v.handleString(),
|
|
13
19
|
inviteCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
20
|
+
/**
|
|
21
|
+
* Initial account password. May need to meet instance-specific password strength requirements.
|
|
22
|
+
*/
|
|
14
23
|
password: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
24
|
+
/**
|
|
25
|
+
* A signed DID PLC operation to be submitted as part of importing an existing account to this instance. NOTE: this optional field may be updated when full account migration is implemented.
|
|
26
|
+
*/
|
|
15
27
|
plcOp: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
28
|
+
/**
|
|
29
|
+
* DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.
|
|
30
|
+
*/
|
|
16
31
|
recoveryKey: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
17
32
|
verificationCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
18
33
|
verificationPhone: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
@@ -22,7 +37,13 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.createAccount'
|
|
|
22
37
|
type: 'lex',
|
|
23
38
|
schema: /*#__PURE__*/ v.object({
|
|
24
39
|
accessJwt: /*#__PURE__*/ v.string(),
|
|
40
|
+
/**
|
|
41
|
+
* The DID of the new account.
|
|
42
|
+
*/
|
|
25
43
|
did: /*#__PURE__*/ v.didString(),
|
|
44
|
+
/**
|
|
45
|
+
* Complete DID document.
|
|
46
|
+
*/
|
|
26
47
|
didDoc: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.unknown()),
|
|
27
48
|
handle: /*#__PURE__*/ v.handleString(),
|
|
28
49
|
refreshJwt: /*#__PURE__*/ v.string(),
|
|
@@ -16,7 +16,13 @@ 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
22
|
name: /*#__PURE__*/ v.string(),
|
|
23
|
+
/**
|
|
24
|
+
* If an app password has 'privileged' access to possibly sensitive account state. Meant for use with trusted clients.
|
|
25
|
+
*/
|
|
20
26
|
privileged: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
21
27
|
}),
|
|
22
28
|
},
|
|
@@ -14,6 +14,9 @@ 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
20
|
codeCount: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer(), 1),
|
|
18
21
|
forAccounts: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString())),
|
|
19
22
|
useCount: /*#__PURE__*/ v.integer(),
|
|
@@ -7,8 +7,14 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.createSession'
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
/**
|
|
11
|
+
* When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned
|
|
12
|
+
*/
|
|
10
13
|
allowTakendown: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
11
14
|
authFactorToken: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
15
|
+
/**
|
|
16
|
+
* Handle or other identifier supported by the server for the authenticating user.
|
|
17
|
+
*/
|
|
12
18
|
identifier: /*#__PURE__*/ v.string(),
|
|
13
19
|
password: /*#__PURE__*/ v.string(),
|
|
14
20
|
}),
|
|
@@ -25,6 +31,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.createSession'
|
|
|
25
31
|
emailConfirmed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()),
|
|
26
32
|
handle: /*#__PURE__*/ v.handleString(),
|
|
27
33
|
refreshJwt: /*#__PURE__*/ v.string(),
|
|
34
|
+
/**
|
|
35
|
+
* If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
|
|
36
|
+
*/
|
|
28
37
|
status: /*#__PURE__*/ v.optional(
|
|
29
38
|
/*#__PURE__*/ v.string<'deactivated' | 'suspended' | 'takendown' | (string & {})>(),
|
|
30
39
|
),
|
|
@@ -7,6 +7,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.server.deactivateAcco
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
/**
|
|
11
|
+
* A recommendation to server as to how long they should hold onto the deactivated account before deleting.
|
|
12
|
+
*/
|
|
10
13
|
deleteAfter: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
11
14
|
}),
|
|
12
15
|
},
|