@atcute/atproto 3.1.6 → 3.1.7
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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifyOfUpdate.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/notifyOfUpdate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,iCAAiC,EAAE;IAChF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAClC,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"notifyOfUpdate.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/notifyOfUpdate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,iCAAiC,EAAE;IAChF,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAClC,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -2,6 +2,9 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
declare const _mainSchema: v.XRPCProcedureMetadata<null, {
|
|
3
3
|
type: "lex";
|
|
4
4
|
schema: v.ObjectSchema<{
|
|
5
|
+
/**
|
|
6
|
+
* Hostname of the current service (eg, PDS) that is requesting to be crawled.
|
|
7
|
+
*/
|
|
5
8
|
hostname: v.StringSchema<string>;
|
|
6
9
|
}>;
|
|
7
10
|
}, null, "com.atproto.sync.requestCrawl">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestCrawl.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/requestCrawl.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"requestCrawl.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/requestCrawl.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;;;QAKd;;WAEG;;;yCAKJ,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,OAAO;CAAG;AAC3B,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;CAAG;AAE5E,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,cAAc;QACvB,+BAA+B,EAAE,UAAU,CAAC;KAC5C;CACD"}
|
|
@@ -4,6 +4,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.sync.requestCrawl', {
|
|
|
4
4
|
input: {
|
|
5
5
|
type: 'lex',
|
|
6
6
|
schema: /*#__PURE__*/ v.object({
|
|
7
|
+
/**
|
|
8
|
+
* Hostname of the current service (eg, PDS) that is requesting to be crawled.
|
|
9
|
+
*/
|
|
7
10
|
hostname: /*#__PURE__*/ v.string(),
|
|
8
11
|
}),
|
|
9
12
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestCrawl.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/requestCrawl.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,+BAA+B,EAAE;IAC9E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAClC,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"requestCrawl.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/requestCrawl.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,+BAA+B,EAAE;IAC9E,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE;QACN,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAClC,CAAC;KACF;IACD,MAAM,EAAE,IAAI;CACZ,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,30 +1,73 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _accountSchema: v.ObjectSchema<{
|
|
3
3
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#account">, undefined>;
|
|
4
|
+
/**
|
|
5
|
+
* Indicates that the account has a repository which can be fetched from the host that emitted this event.
|
|
6
|
+
*/
|
|
4
7
|
active: v.BooleanSchema;
|
|
5
8
|
did: v.FormattedStringSchema<"did">;
|
|
6
9
|
seq: v.IntegerSchema;
|
|
10
|
+
/**
|
|
11
|
+
* If active=false, this optional field indicates a reason for why the account is not active.
|
|
12
|
+
*/
|
|
7
13
|
status: v.OptionalSchema<v.StringSchema<(string & {}) | "deactivated" | "suspended" | "takendown" | "throttled" | "deleted" | "desynchronized">, undefined>;
|
|
8
14
|
time: v.FormattedStringSchema<"datetime">;
|
|
9
15
|
}>;
|
|
10
16
|
declare const _commitSchema: v.ObjectSchema<{
|
|
11
17
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#commit">, undefined>;
|
|
12
18
|
blobs: v.ArraySchema<v.CidLinkSchema>;
|
|
19
|
+
/**
|
|
20
|
+
* CAR file containing relevant blocks, as a diff since the previous repo state. The commit must be included as a block, and the commit block CID must be the first entry in the CAR header 'roots' list.
|
|
21
|
+
* @maxLength 2000000
|
|
22
|
+
*/
|
|
13
23
|
blocks: v.SchemaWithConstraint<v.BytesSchema, readonly [v.BytesSizeConstraint<0, 2000000>]>;
|
|
24
|
+
/**
|
|
25
|
+
* Repo commit object CID.
|
|
26
|
+
*/
|
|
14
27
|
commit: v.CidLinkSchema;
|
|
28
|
+
/**
|
|
29
|
+
* @maxLength 200
|
|
30
|
+
*/
|
|
15
31
|
readonly ops: v.SchemaWithConstraint<v.ArraySchema<repoOpSchema>, readonly [v.ArrayLengthConstraint<0, 200>]>;
|
|
32
|
+
/**
|
|
33
|
+
* The root CID of the MST tree for the previous commit from this repo (indicated by the 'since' revision field in this message). Corresponds to the 'data' field in the repo commit object. NOTE: this field is effectively required for the 'inductive' version of firehose.
|
|
34
|
+
*/
|
|
16
35
|
prevData: v.OptionalSchema<v.CidLinkSchema, undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* DEPRECATED -- unused
|
|
38
|
+
*/
|
|
17
39
|
rebase: v.BooleanSchema;
|
|
40
|
+
/**
|
|
41
|
+
* The repo this event comes from. Note that all other message types name this field 'did'.
|
|
42
|
+
*/
|
|
18
43
|
repo: v.FormattedStringSchema<"did">;
|
|
44
|
+
/**
|
|
45
|
+
* The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event.
|
|
46
|
+
*/
|
|
19
47
|
rev: v.FormattedStringSchema<"tid">;
|
|
48
|
+
/**
|
|
49
|
+
* The stream sequence number of this message.
|
|
50
|
+
*/
|
|
20
51
|
seq: v.IntegerSchema;
|
|
52
|
+
/**
|
|
53
|
+
* The rev of the last emitted commit from this repo (if any).
|
|
54
|
+
*/
|
|
21
55
|
since: v.NullableSchema<v.FormattedStringSchema<"tid">>;
|
|
56
|
+
/**
|
|
57
|
+
* Timestamp of when this message was originally broadcast.
|
|
58
|
+
*/
|
|
22
59
|
time: v.FormattedStringSchema<"datetime">;
|
|
60
|
+
/**
|
|
61
|
+
* DEPRECATED -- replaced by #sync event and data limits. Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data.
|
|
62
|
+
*/
|
|
23
63
|
tooBig: v.BooleanSchema;
|
|
24
64
|
}>;
|
|
25
65
|
declare const _identitySchema: v.ObjectSchema<{
|
|
26
66
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#identity">, undefined>;
|
|
27
67
|
did: v.FormattedStringSchema<"did">;
|
|
68
|
+
/**
|
|
69
|
+
* The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details.
|
|
70
|
+
*/
|
|
28
71
|
handle: v.OptionalSchema<v.FormattedStringSchema<"handle">, undefined>;
|
|
29
72
|
seq: v.IntegerSchema;
|
|
30
73
|
time: v.FormattedStringSchema<"datetime">;
|
|
@@ -35,21 +78,46 @@ declare const _infoSchema: v.ObjectSchema<{
|
|
|
35
78
|
name: v.StringSchema<(string & {}) | "OutdatedCursor">;
|
|
36
79
|
}>;
|
|
37
80
|
declare const _mainSchema: v.XRPCSubscriptionMetadata<v.ObjectSchema<{
|
|
81
|
+
/**
|
|
82
|
+
* The last known event seq number to backfill from.
|
|
83
|
+
*/
|
|
38
84
|
cursor: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
39
85
|
}>, v.VariantSchema<readonly [accountSchema, commitSchema, identitySchema, infoSchema, syncSchema], boolean>, "com.atproto.sync.subscribeRepos">;
|
|
40
86
|
declare const _repoOpSchema: v.ObjectSchema<{
|
|
41
87
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#repoOp">, undefined>;
|
|
42
88
|
action: v.StringSchema<(string & {}) | "create" | "delete" | "update">;
|
|
89
|
+
/**
|
|
90
|
+
* For creates and updates, the new record CID. For deletions, null.
|
|
91
|
+
*/
|
|
43
92
|
cid: v.NullableSchema<v.CidLinkSchema>;
|
|
44
93
|
path: v.StringSchema<string>;
|
|
94
|
+
/**
|
|
95
|
+
* For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined.
|
|
96
|
+
*/
|
|
45
97
|
prev: v.OptionalSchema<v.CidLinkSchema, undefined>;
|
|
46
98
|
}>;
|
|
47
99
|
declare const _syncSchema: v.ObjectSchema<{
|
|
48
100
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.sync.subscribeRepos#sync">, undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'.
|
|
103
|
+
* @maxLength 10000
|
|
104
|
+
*/
|
|
49
105
|
blocks: v.SchemaWithConstraint<v.BytesSchema, readonly [v.BytesSizeConstraint<0, 10000>]>;
|
|
106
|
+
/**
|
|
107
|
+
* The account this repo event corresponds to. Must match that in the commit object.
|
|
108
|
+
*/
|
|
50
109
|
did: v.FormattedStringSchema<"did">;
|
|
110
|
+
/**
|
|
111
|
+
* The rev of the commit. This value must match that in the commit object.
|
|
112
|
+
*/
|
|
51
113
|
rev: v.StringSchema<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The stream sequence number of this message.
|
|
116
|
+
*/
|
|
52
117
|
seq: v.IntegerSchema;
|
|
118
|
+
/**
|
|
119
|
+
* Timestamp of when this message was originally broadcast.
|
|
120
|
+
*/
|
|
53
121
|
time: v.FormattedStringSchema<"datetime">;
|
|
54
122
|
}>;
|
|
55
123
|
type account$schematype = typeof _accountSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribeRepos.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"subscribeRepos.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,cAAc;;IAEnB;;OAEG;;;;IAIH;;OAEG;;;EAOF,CAAC;AACH,QAAA,MAAM,aAAa;;;IAGlB;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAMH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;EAEF,CAAC;AACH,QAAA,MAAM,eAAe;;;IAGpB;;OAEG;;;;EAIF,CAAC;AACH,QAAA,MAAM,WAAW;;;;EAIf,CAAC;AACH,QAAA,MAAM,WAAW;IAEf;;OAEG;;gJAMH,CAAC;AACH,QAAA,MAAM,aAAa;;;IAGlB;;OAEG;;;IAGH;;OAEG;;EAEF,CAAC;AACH,QAAA,MAAM,WAAW;;IAEhB;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;EAEF,CAAC;AAEH,KAAK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,CAAC;CAAG;AAChE,MAAM,WAAW,MAAO,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC;CAAG;AACpE,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG;AAEhE,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AACtE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;AAE3D,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,iBAAiB;QAC1B,iCAAiC,EAAE,UAAU,CAAC;KAC9C;CACD"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _accountSchema = /*#__PURE__*/ v.object({
|
|
3
3
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#account')),
|
|
4
|
+
/**
|
|
5
|
+
* Indicates that the account has a repository which can be fetched from the host that emitted this event.
|
|
6
|
+
*/
|
|
4
7
|
active: /*#__PURE__*/ v.boolean(),
|
|
5
8
|
did: /*#__PURE__*/ v.didString(),
|
|
6
9
|
seq: /*#__PURE__*/ v.integer(),
|
|
10
|
+
/**
|
|
11
|
+
* If active=false, this optional field indicates a reason for why the account is not active.
|
|
12
|
+
*/
|
|
7
13
|
status: /*#__PURE__*/ v.optional(
|
|
8
14
|
/*#__PURE__*/ v.string()),
|
|
9
15
|
time: /*#__PURE__*/ v.datetimeString(),
|
|
@@ -11,25 +17,62 @@ const _accountSchema = /*#__PURE__*/ v.object({
|
|
|
11
17
|
const _commitSchema = /*#__PURE__*/ v.object({
|
|
12
18
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#commit')),
|
|
13
19
|
blobs: /*#__PURE__*/ v.array(/*#__PURE__*/ v.cidLink()),
|
|
20
|
+
/**
|
|
21
|
+
* CAR file containing relevant blocks, as a diff since the previous repo state. The commit must be included as a block, and the commit block CID must be the first entry in the CAR header 'roots' list.
|
|
22
|
+
* @maxLength 2000000
|
|
23
|
+
*/
|
|
14
24
|
blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 2000000)]),
|
|
25
|
+
/**
|
|
26
|
+
* Repo commit object CID.
|
|
27
|
+
*/
|
|
15
28
|
commit: /*#__PURE__*/ v.cidLink(),
|
|
29
|
+
/**
|
|
30
|
+
* @maxLength 200
|
|
31
|
+
*/
|
|
16
32
|
get ops() {
|
|
17
33
|
return /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(repoOpSchema), [
|
|
18
34
|
/*#__PURE__*/ v.arrayLength(0, 200),
|
|
19
35
|
]);
|
|
20
36
|
},
|
|
37
|
+
/**
|
|
38
|
+
* The root CID of the MST tree for the previous commit from this repo (indicated by the 'since' revision field in this message). Corresponds to the 'data' field in the repo commit object. NOTE: this field is effectively required for the 'inductive' version of firehose.
|
|
39
|
+
*/
|
|
21
40
|
prevData: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
|
|
41
|
+
/**
|
|
42
|
+
* DEPRECATED -- unused
|
|
43
|
+
*/
|
|
22
44
|
rebase: /*#__PURE__*/ v.boolean(),
|
|
45
|
+
/**
|
|
46
|
+
* The repo this event comes from. Note that all other message types name this field 'did'.
|
|
47
|
+
*/
|
|
23
48
|
repo: /*#__PURE__*/ v.didString(),
|
|
49
|
+
/**
|
|
50
|
+
* The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event.
|
|
51
|
+
*/
|
|
24
52
|
rev: /*#__PURE__*/ v.tidString(),
|
|
53
|
+
/**
|
|
54
|
+
* The stream sequence number of this message.
|
|
55
|
+
*/
|
|
25
56
|
seq: /*#__PURE__*/ v.integer(),
|
|
57
|
+
/**
|
|
58
|
+
* The rev of the last emitted commit from this repo (if any).
|
|
59
|
+
*/
|
|
26
60
|
since: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.tidString()),
|
|
61
|
+
/**
|
|
62
|
+
* Timestamp of when this message was originally broadcast.
|
|
63
|
+
*/
|
|
27
64
|
time: /*#__PURE__*/ v.datetimeString(),
|
|
65
|
+
/**
|
|
66
|
+
* DEPRECATED -- replaced by #sync event and data limits. Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data.
|
|
67
|
+
*/
|
|
28
68
|
tooBig: /*#__PURE__*/ v.boolean(),
|
|
29
69
|
});
|
|
30
70
|
const _identitySchema = /*#__PURE__*/ v.object({
|
|
31
71
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#identity')),
|
|
32
72
|
did: /*#__PURE__*/ v.didString(),
|
|
73
|
+
/**
|
|
74
|
+
* The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details.
|
|
75
|
+
*/
|
|
33
76
|
handle: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.handleString()),
|
|
34
77
|
seq: /*#__PURE__*/ v.integer(),
|
|
35
78
|
time: /*#__PURE__*/ v.datetimeString(),
|
|
@@ -41,6 +84,9 @@ const _infoSchema = /*#__PURE__*/ v.object({
|
|
|
41
84
|
});
|
|
42
85
|
const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.sync.subscribeRepos', {
|
|
43
86
|
params: /*#__PURE__*/ v.object({
|
|
87
|
+
/**
|
|
88
|
+
* The last known event seq number to backfill from.
|
|
89
|
+
*/
|
|
44
90
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
45
91
|
}),
|
|
46
92
|
get message() {
|
|
@@ -50,16 +96,38 @@ const _mainSchema = /*#__PURE__*/ v.subscription('com.atproto.sync.subscribeRepo
|
|
|
50
96
|
const _repoOpSchema = /*#__PURE__*/ v.object({
|
|
51
97
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#repoOp')),
|
|
52
98
|
action: /*#__PURE__*/ v.string(),
|
|
99
|
+
/**
|
|
100
|
+
* For creates and updates, the new record CID. For deletions, null.
|
|
101
|
+
*/
|
|
53
102
|
cid: /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.cidLink()),
|
|
54
103
|
path: /*#__PURE__*/ v.string(),
|
|
104
|
+
/**
|
|
105
|
+
* For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined.
|
|
106
|
+
*/
|
|
55
107
|
prev: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.cidLink()),
|
|
56
108
|
});
|
|
57
109
|
const _syncSchema = /*#__PURE__*/ v.object({
|
|
58
110
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('com.atproto.sync.subscribeRepos#sync')),
|
|
111
|
+
/**
|
|
112
|
+
* CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'.
|
|
113
|
+
* @maxLength 10000
|
|
114
|
+
*/
|
|
59
115
|
blocks: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.bytes(), [/*#__PURE__*/ v.bytesSize(0, 10000)]),
|
|
116
|
+
/**
|
|
117
|
+
* The account this repo event corresponds to. Must match that in the commit object.
|
|
118
|
+
*/
|
|
60
119
|
did: /*#__PURE__*/ v.didString(),
|
|
120
|
+
/**
|
|
121
|
+
* The rev of the commit. This value must match that in the commit object.
|
|
122
|
+
*/
|
|
61
123
|
rev: /*#__PURE__*/ v.string(),
|
|
124
|
+
/**
|
|
125
|
+
* The stream sequence number of this message.
|
|
126
|
+
*/
|
|
62
127
|
seq: /*#__PURE__*/ v.integer(),
|
|
128
|
+
/**
|
|
129
|
+
* Timestamp of when this message was originally broadcast.
|
|
130
|
+
*/
|
|
63
131
|
time: /*#__PURE__*/ v.datetimeString(),
|
|
64
132
|
});
|
|
65
133
|
export const accountSchema = _accountSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribeRepos.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/sync/subscribeRepos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,cAAc,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACnG,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IACjC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IAChC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC/B,aAAa,CAAC,CAAC,CAAC,MAAM,EAEnB,CACH;IACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CACtC,CAAC,CAAC;AACH,MAAM,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,wCAAwC,CAAC,CAAC;IAClG,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;IACvD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC;IACnG,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IACjC,IAAI,GAAG;QACN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AAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC;IACjG;;OAEG;IACH,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;IAChC;;OAEG;IACH,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAC7B;;OAEG;IACH,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE;IAC9B;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;CACtC,CAAC,CAAC;AAkBH,MAAM,CAAC,MAAM,aAAa,GAAG,cAA+B,CAAC;AAC7D,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,cAAc,GAAG,eAAiC,CAAC;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
3
|
+
/**
|
|
4
|
+
* User-provided birth date. Might be used to build handle suggestions.
|
|
5
|
+
*/
|
|
3
6
|
birthDate: v.OptionalSchema<v.FormattedStringSchema<"datetime">, undefined>;
|
|
7
|
+
/**
|
|
8
|
+
* User-provided email. Might be used to build handle suggestions.
|
|
9
|
+
*/
|
|
4
10
|
email: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
11
|
+
/**
|
|
12
|
+
* Tentative handle. Will be checked for availability or used to build handle suggestions.
|
|
13
|
+
*/
|
|
5
14
|
handle: v.FormattedStringSchema<"handle">;
|
|
6
15
|
}>, {
|
|
7
16
|
type: "lex";
|
|
8
17
|
schema: v.ObjectSchema<{
|
|
18
|
+
/**
|
|
19
|
+
* Echo of the input handle.
|
|
20
|
+
*/
|
|
9
21
|
handle: v.FormattedStringSchema<"handle">;
|
|
10
22
|
readonly result: v.VariantSchema<readonly [resultAvailableSchema, resultUnavailableSchema], boolean>;
|
|
11
23
|
}>;
|
|
@@ -15,11 +27,17 @@ declare const _resultAvailableSchema: v.ObjectSchema<{
|
|
|
15
27
|
}>;
|
|
16
28
|
declare const _resultUnavailableSchema: v.ObjectSchema<{
|
|
17
29
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.temp.checkHandleAvailability#resultUnavailable">, undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* List of suggested handles based on the provided inputs.
|
|
32
|
+
*/
|
|
18
33
|
readonly suggestions: v.ArraySchema<suggestionSchema>;
|
|
19
34
|
}>;
|
|
20
35
|
declare const _suggestionSchema: v.ObjectSchema<{
|
|
21
36
|
$type: v.OptionalSchema<v.LiteralSchema<"com.atproto.temp.checkHandleAvailability#suggestion">, undefined>;
|
|
22
37
|
handle: v.FormattedStringSchema<"handle">;
|
|
38
|
+
/**
|
|
39
|
+
* Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.
|
|
40
|
+
*/
|
|
23
41
|
method: v.StringSchema<string>;
|
|
24
42
|
}>;
|
|
25
43
|
type main$schematype = typeof _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkHandleAvailability.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/checkHandleAvailability.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"checkHandleAvailability.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp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AAG;AACtE,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,WAAW;QACpB,0CAA0C,EAAE,UAAU,CAAC;KACvD;CACD"}
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.checkHandleAvailability', {
|
|
3
3
|
params: /*#__PURE__*/ v.object({
|
|
4
|
+
/**
|
|
5
|
+
* User-provided birth date. Might be used to build handle suggestions.
|
|
6
|
+
*/
|
|
4
7
|
birthDate: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
8
|
+
/**
|
|
9
|
+
* User-provided email. Might be used to build handle suggestions.
|
|
10
|
+
*/
|
|
5
11
|
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
|
+
/**
|
|
13
|
+
* Tentative handle. Will be checked for availability or used to build handle suggestions.
|
|
14
|
+
*/
|
|
6
15
|
handle: /*#__PURE__*/ v.handleString(),
|
|
7
16
|
}),
|
|
8
17
|
output: {
|
|
9
18
|
type: 'lex',
|
|
10
19
|
schema: /*#__PURE__*/ v.object({
|
|
20
|
+
/**
|
|
21
|
+
* Echo of the input handle.
|
|
22
|
+
*/
|
|
11
23
|
handle: /*#__PURE__*/ v.handleString(),
|
|
12
24
|
get result() {
|
|
13
25
|
return /*#__PURE__*/ v.variant([resultAvailableSchema, resultUnavailableSchema]);
|
|
@@ -22,6 +34,9 @@ const _resultAvailableSchema = /*#__PURE__*/ v.object({
|
|
|
22
34
|
const _resultUnavailableSchema = /*#__PURE__*/ v.object({
|
|
23
35
|
$type: /*#__PURE__*/ v.optional(
|
|
24
36
|
/*#__PURE__*/ v.literal('com.atproto.temp.checkHandleAvailability#resultUnavailable')),
|
|
37
|
+
/**
|
|
38
|
+
* List of suggested handles based on the provided inputs.
|
|
39
|
+
*/
|
|
25
40
|
get suggestions() {
|
|
26
41
|
return /*#__PURE__*/ v.array(suggestionSchema);
|
|
27
42
|
},
|
|
@@ -30,6 +45,9 @@ const _suggestionSchema = /*#__PURE__*/ v.object({
|
|
|
30
45
|
$type: /*#__PURE__*/ v.optional(
|
|
31
46
|
/*#__PURE__*/ v.literal('com.atproto.temp.checkHandleAvailability#suggestion')),
|
|
32
47
|
handle: /*#__PURE__*/ v.handleString(),
|
|
48
|
+
/**
|
|
49
|
+
* Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.
|
|
50
|
+
*/
|
|
33
51
|
method: /*#__PURE__*/ v.string(),
|
|
34
52
|
});
|
|
35
53
|
export const mainSchema = _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkHandleAvailability.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/checkHandleAvailability.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,0CAA0C,EAAE;IACrF,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE,CAAC;QACrE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QACzD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,YAAY,EAAE;KACtC,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,YAAY,EAAE;YACtC,IAAI,MAAM;gBACT,OAAO,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,qBAAqB,EAAE,uBAAuB,CAAC,CAAC,CAAC;YAClF,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AACH,MAAM,sBAAsB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,0DAA0D,CAAC,CACnF;CACD,CAAC,CAAC;AACH,MAAM,wBAAwB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACvD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,4DAA4D,CAAC,CACrF;IACD,IAAI,WAAW;QACd,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAChD,CAAC;CACD,CAAC,CAAC;AACH,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,qDAAqD,CAAC,CAC9E;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,YAAY,EAAE;IACtC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;CAChC,CAAC,CAAC;AAYH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,qBAAqB,GAAG,sBAA+C,CAAC;AACrF,MAAM,CAAC,MAAM,uBAAuB,GAAG,wBAAmD,CAAC;AAC3F,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"checkHandleAvailability.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/checkHandleAvailability.ts"],"names":[],"mappings":"AACA,O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,CAAC,CAAC;IAChD,CAAC;CACD,CAAC,CAAC;AACH,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;IAC9B,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,qDAAqD,CAAC,CAC9E;IACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,YAAY,EAAE;IACtC;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;CAChC,CAAC,CAAC;AAYH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,qBAAqB,GAAG,sBAA+C,CAAC;AACrF,MAAM,CAAC,MAAM,uBAAuB,GAAG,wBAAmD,CAAC;AAC3F,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAqC,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
3
|
+
/**
|
|
4
|
+
* The scope reference (starts with 'ref:')
|
|
5
|
+
*/
|
|
3
6
|
scope: v.StringSchema<string>;
|
|
4
7
|
}>, {
|
|
5
8
|
type: "lex";
|
|
6
9
|
schema: v.ObjectSchema<{
|
|
10
|
+
/**
|
|
11
|
+
* The full oauth permission scope
|
|
12
|
+
*/
|
|
7
13
|
scope: v.StringSchema<string>;
|
|
8
14
|
}>;
|
|
9
15
|
}, "com.atproto.temp.dereferenceScope">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dereferenceScope.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/dereferenceScope.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"dereferenceScope.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/dereferenceScope.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;IAEf;;OAEG;;;;;QAMF;;WAEG;;;uCAIJ,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AACtE,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,WAAW;QACpB,mCAAmC,EAAE,UAAU,CAAC;KAChD;CACD"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.dereferenceScope', {
|
|
3
3
|
params: /*#__PURE__*/ v.object({
|
|
4
|
+
/**
|
|
5
|
+
* The scope reference (starts with 'ref:')
|
|
6
|
+
*/
|
|
4
7
|
scope: /*#__PURE__*/ v.string(),
|
|
5
8
|
}),
|
|
6
9
|
output: {
|
|
7
10
|
type: 'lex',
|
|
8
11
|
schema: /*#__PURE__*/ v.object({
|
|
12
|
+
/**
|
|
13
|
+
* The full oauth permission scope
|
|
14
|
+
*/
|
|
9
15
|
scope: /*#__PURE__*/ v.string(),
|
|
10
16
|
}),
|
|
11
17
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dereferenceScope.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/dereferenceScope.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,mCAAmC,EAAE;IAC9E,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;KAC/B,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAC/B,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"dereferenceScope.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/dereferenceScope.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,mCAAmC,EAAE;IAC9E,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B;;WAEG;QACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;KAC/B,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B;;eAEG;YACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;SAC/B,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
import * as ComAtprotoLabelDefs from '../label/defs.js';
|
|
3
3
|
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
4
|
+
/**
|
|
5
|
+
* @minimum 1
|
|
6
|
+
* @maximum 250
|
|
7
|
+
* @default 50
|
|
8
|
+
*/
|
|
4
9
|
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 250>]>, 50>;
|
|
5
10
|
since: v.OptionalSchema<v.IntegerSchema, undefined>;
|
|
6
11
|
}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchLabels.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/fetchLabels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,mBAAmB,MAAM,kBAAkB,CAAC;AAExD,QAAA,MAAM,WAAW;;;;;;;;
|
|
1
|
+
{"version":3,"file":"fetchLabels.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/fetchLabels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,mBAAmB,MAAM,kBAAkB,CAAC;AAExD,QAAA,MAAM,WAAW;IAEf;;;;OAIG;;;;;;;;kCAeH,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AACtE,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,WAAW;QACpB,8BAA8B,EAAE,UAAU,CAAC;KAC3C;CACD"}
|
|
@@ -2,6 +2,11 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as ComAtprotoLabelDefs from '../label/defs.js';
|
|
3
3
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.temp.fetchLabels', {
|
|
4
4
|
params: /*#__PURE__*/ v.object({
|
|
5
|
+
/**
|
|
6
|
+
* @minimum 1
|
|
7
|
+
* @maximum 250
|
|
8
|
+
* @default 50
|
|
9
|
+
*/
|
|
5
10
|
limit: /*#__PURE__*/ v.optional(
|
|
6
11
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 250)]), 50),
|
|
7
12
|
since: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchLabels.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/fetchLabels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,mBAAmB,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,8BAA8B,EAAE;IACzE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;QAC9B,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAC5F,EAAE,CACF;QACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;KAC1D,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,MAAM;gBACT,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;YAC/D,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"fetchLabels.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/com/atproto/temp/fetchLabels.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,mBAAmB,MAAM,kBAAkB,CAAC;AAExD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,8BAA8B,EAAE;IACzE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B;;;;WAIG;QACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;QAC9B,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAC5F,EAAE,CACF;QACD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;KAC1D,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,MAAM;gBACT,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;YAC/D,CAAC;SACD,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -8,6 +8,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.disableAccountI
|
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
10
|
account: /*#__PURE__*/ v.didString(),
|
|
11
|
+
/**
|
|
12
|
+
* Optional reason for disabled invites.
|
|
13
|
+
*/
|
|
11
14
|
note: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
15
|
}),
|
|
13
16
|
},
|
|
@@ -8,6 +8,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.enableAccountIn
|
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
10
|
account: /*#__PURE__*/ v.didString(),
|
|
11
|
+
/**
|
|
12
|
+
* Optional reason for enabled invites.
|
|
13
|
+
*/
|
|
11
14
|
note: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
15
|
}),
|
|
13
16
|
},
|
|
@@ -5,6 +5,9 @@ import * as ComAtprotoAdminDefs from './defs.js';
|
|
|
5
5
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getAccountInfos', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
|
+
/**
|
|
9
|
+
* @minLength 1
|
|
10
|
+
*/
|
|
8
11
|
dids: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.array(/*#__PURE__*/ v.didString()), [
|
|
9
12
|
/*#__PURE__*/ v.arrayLength(1),
|
|
10
13
|
]),
|
|
@@ -6,10 +6,18 @@ import * as ComAtprotoServerDefs from '../server/defs.js';
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.getInviteCodes', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
8
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
/**
|
|
10
|
+
* @minimum 1
|
|
11
|
+
* @maximum 500
|
|
12
|
+
* @default 100
|
|
13
|
+
*/
|
|
9
14
|
limit: /*#__PURE__*/ v.optional(
|
|
10
15
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 500)]),
|
|
11
16
|
100,
|
|
12
17
|
),
|
|
18
|
+
/**
|
|
19
|
+
* @default "recent"
|
|
20
|
+
*/
|
|
13
21
|
sort: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string<'recent' | 'usage' | (string & {})>(), 'recent'),
|
|
14
22
|
}),
|
|
15
23
|
output: {
|
|
@@ -7,6 +7,11 @@ const _mainSchema = /*#__PURE__*/ v.query('com.atproto.admin.searchAccounts', {
|
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
8
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
9
|
email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
+
/**
|
|
11
|
+
* @minimum 1
|
|
12
|
+
* @maximum 100
|
|
13
|
+
* @default 50
|
|
14
|
+
*/
|
|
10
15
|
limit: /*#__PURE__*/ v.optional(
|
|
11
16
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
12
17
|
50,
|
|
@@ -7,6 +7,9 @@ const _mainSchema = /*#__PURE__*/ v.procedure('com.atproto.admin.sendEmail', {
|
|
|
7
7
|
input: {
|
|
8
8
|
type: 'lex',
|
|
9
9
|
schema: /*#__PURE__*/ v.object({
|
|
10
|
+
/**
|
|
11
|
+
* Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers
|
|
12
|
+
*/
|
|
10
13
|
comment: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
11
14
|
content: /*#__PURE__*/ v.string(),
|
|
12
15
|
recipientDid: /*#__PURE__*/ v.didString(),
|
|
@@ -7,6 +7,9 @@ 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
13
|
account: /*#__PURE__*/ v.actorIdentifierString(),
|
|
11
14
|
email: /*#__PURE__*/ v.string(),
|
|
12
15
|
}),
|
|
@@ -8,6 +8,9 @@ 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
14
|
signingKey: /*#__PURE__*/ v.didString(),
|
|
12
15
|
}),
|
|
13
16
|
},
|