@atproto/lex-space 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +7 -0
- package/README.md +463 -2
- package/dist/actions.d.ts +17 -0
- package/dist/actions.d.ts.map +1 -0
- package/dist/actions.js +20 -0
- package/dist/actions.js.map +1 -0
- package/dist/atproto-did-resolver.d.ts +3 -0
- package/dist/atproto-did-resolver.d.ts.map +1 -0
- package/dist/atproto-did-resolver.js +2 -0
- package/dist/atproto-did-resolver.js.map +1 -0
- package/dist/client-attestation-provider.d.ts +57 -0
- package/dist/client-attestation-provider.d.ts.map +1 -0
- package/dist/client-attestation-provider.js +51 -0
- package/dist/client-attestation-provider.js.map +1 -0
- package/dist/delegation-token-provider.d.ts +25 -0
- package/dist/delegation-token-provider.d.ts.map +1 -0
- package/dist/delegation-token-provider.js +28 -0
- package/dist/delegation-token-provider.js.map +1 -0
- package/dist/errors.d.ts +27 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +27 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/lexicons/com/atproto/managedspace/policy.d.ts +3 -0
- package/dist/lexicons/com/atproto/managedspace/policy.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/managedspace/policy.defs.d.ts +78 -0
- package/dist/lexicons/com/atproto/managedspace/policy.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/managedspace/policy.defs.js +23 -0
- package/dist/lexicons/com/atproto/managedspace/policy.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/managedspace/policy.js +6 -0
- package/dist/lexicons/com/atproto/managedspace/policy.js.map +1 -0
- package/dist/lexicons/com/atproto/managedspace.d.ts +2 -0
- package/dist/lexicons/com/atproto/managedspace.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/managedspace.js +5 -0
- package/dist/lexicons/com/atproto/managedspace.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/defs.d.ts +2 -0
- package/dist/lexicons/com/atproto/memberspace/defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/defs.defs.d.ts +14 -0
- package/dist/lexicons/com/atproto/memberspace/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/defs.defs.js +9 -0
- package/dist/lexicons/com/atproto/memberspace/defs.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/defs.js +5 -0
- package/dist/lexicons/com/atproto/memberspace/defs.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/listMembers.d.ts +3 -0
- package/dist/lexicons/com/atproto/memberspace/listMembers.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/listMembers.defs.d.ts +35 -0
- package/dist/lexicons/com/atproto/memberspace/listMembers.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/listMembers.defs.js +15 -0
- package/dist/lexicons/com/atproto/memberspace/listMembers.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/listMembers.js +6 -0
- package/dist/lexicons/com/atproto/memberspace/listMembers.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/policy.d.ts +3 -0
- package/dist/lexicons/com/atproto/memberspace/policy.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/policy.defs.d.ts +120 -0
- package/dist/lexicons/com/atproto/memberspace/policy.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/policy.defs.js +23 -0
- package/dist/lexicons/com/atproto/memberspace/policy.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/policy.js +6 -0
- package/dist/lexicons/com/atproto/memberspace/policy.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/putMembers.d.ts +3 -0
- package/dist/lexicons/com/atproto/memberspace/putMembers.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/putMembers.defs.d.ts +30 -0
- package/dist/lexicons/com/atproto/memberspace/putMembers.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/putMembers.defs.js +16 -0
- package/dist/lexicons/com/atproto/memberspace/putMembers.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/putMembers.js +6 -0
- package/dist/lexicons/com/atproto/memberspace/putMembers.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/removeMembers.d.ts +3 -0
- package/dist/lexicons/com/atproto/memberspace/removeMembers.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/removeMembers.defs.d.ts +33 -0
- package/dist/lexicons/com/atproto/memberspace/removeMembers.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/removeMembers.defs.js +15 -0
- package/dist/lexicons/com/atproto/memberspace/removeMembers.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace/removeMembers.js +6 -0
- package/dist/lexicons/com/atproto/memberspace/removeMembers.js.map +1 -0
- package/dist/lexicons/com/atproto/memberspace.d.ts +6 -0
- package/dist/lexicons/com/atproto/memberspace.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/memberspace.js +9 -0
- package/dist/lexicons/com/atproto/memberspace.js.map +1 -0
- package/dist/lexicons/com/atproto/personalspace/policy.d.ts +3 -0
- package/dist/lexicons/com/atproto/personalspace/policy.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/personalspace/policy.defs.d.ts +50 -0
- package/dist/lexicons/com/atproto/personalspace/policy.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/personalspace/policy.defs.js +23 -0
- package/dist/lexicons/com/atproto/personalspace/policy.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/personalspace/policy.js +6 -0
- package/dist/lexicons/com/atproto/personalspace/policy.js.map +1 -0
- package/dist/lexicons/com/atproto/personalspace.d.ts +2 -0
- package/dist/lexicons/com/atproto/personalspace.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/personalspace.js +5 -0
- package/dist/lexicons/com/atproto/personalspace.js.map +1 -0
- package/dist/lexicons/com/atproto/space/applyWrites.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/applyWrites.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/applyWrites.defs.d.ts +97 -0
- package/dist/lexicons/com/atproto/space/applyWrites.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/applyWrites.defs.js +30 -0
- package/dist/lexicons/com/atproto/space/applyWrites.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/applyWrites.js +6 -0
- package/dist/lexicons/com/atproto/space/applyWrites.js.map +1 -0
- package/dist/lexicons/com/atproto/space/authorizeSpaceSync.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/authorizeSpaceSync.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/authorizeSpaceSync.defs.d.ts +59 -0
- package/dist/lexicons/com/atproto/space/authorizeSpaceSync.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/authorizeSpaceSync.defs.js +17 -0
- package/dist/lexicons/com/atproto/space/authorizeSpaceSync.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/authorizeSpaceSync.js +6 -0
- package/dist/lexicons/com/atproto/space/authorizeSpaceSync.js.map +1 -0
- package/dist/lexicons/com/atproto/space/clearRecords.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/clearRecords.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/clearRecords.defs.d.ts +33 -0
- package/dist/lexicons/com/atproto/space/clearRecords.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/clearRecords.defs.js +15 -0
- package/dist/lexicons/com/atproto/space/clearRecords.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/clearRecords.js +6 -0
- package/dist/lexicons/com/atproto/space/clearRecords.js.map +1 -0
- package/dist/lexicons/com/atproto/space/createRecord.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/createRecord.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/createRecord.defs.d.ts +69 -0
- package/dist/lexicons/com/atproto/space/createRecord.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/createRecord.defs.js +15 -0
- package/dist/lexicons/com/atproto/space/createRecord.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/createRecord.js +6 -0
- package/dist/lexicons/com/atproto/space/createRecord.js.map +1 -0
- package/dist/lexicons/com/atproto/space/createSpace.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/createSpace.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/createSpace.defs.d.ts +46 -0
- package/dist/lexicons/com/atproto/space/createSpace.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/createSpace.defs.js +18 -0
- package/dist/lexicons/com/atproto/space/createSpace.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/createSpace.js +6 -0
- package/dist/lexicons/com/atproto/space/createSpace.js.map +1 -0
- package/dist/lexicons/com/atproto/space/defs.d.ts +2 -0
- package/dist/lexicons/com/atproto/space/defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/defs.defs.d.ts +60 -0
- package/dist/lexicons/com/atproto/space/defs.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/defs.defs.js +16 -0
- package/dist/lexicons/com/atproto/space/defs.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/defs.js +5 -0
- package/dist/lexicons/com/atproto/space/defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/deleteRecord.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/deleteRecord.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/deleteRecord.defs.d.ts +45 -0
- package/dist/lexicons/com/atproto/space/deleteRecord.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/deleteRecord.defs.js +15 -0
- package/dist/lexicons/com/atproto/space/deleteRecord.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/deleteRecord.js +6 -0
- package/dist/lexicons/com/atproto/space/deleteRecord.js.map +1 -0
- package/dist/lexicons/com/atproto/space/deleteSpace.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/deleteSpace.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/deleteSpace.defs.d.ts +27 -0
- package/dist/lexicons/com/atproto/space/deleteSpace.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/deleteSpace.defs.js +15 -0
- package/dist/lexicons/com/atproto/space/deleteSpace.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/deleteSpace.js +6 -0
- package/dist/lexicons/com/atproto/space/deleteSpace.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getBlob.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/getBlob.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getBlob.defs.d.ts +36 -0
- package/dist/lexicons/com/atproto/space/getBlob.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getBlob.defs.js +14 -0
- package/dist/lexicons/com/atproto/space/getBlob.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getBlob.js +6 -0
- package/dist/lexicons/com/atproto/space/getBlob.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getDelegationToken.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/getDelegationToken.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getDelegationToken.defs.d.ts +28 -0
- package/dist/lexicons/com/atproto/space/getDelegationToken.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getDelegationToken.defs.js +14 -0
- package/dist/lexicons/com/atproto/space/getDelegationToken.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getDelegationToken.js +6 -0
- package/dist/lexicons/com/atproto/space/getDelegationToken.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getLatestCommit.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/getLatestCommit.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getLatestCommit.defs.d.ts +35 -0
- package/dist/lexicons/com/atproto/space/getLatestCommit.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getLatestCommit.defs.js +15 -0
- package/dist/lexicons/com/atproto/space/getLatestCommit.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getLatestCommit.js +6 -0
- package/dist/lexicons/com/atproto/space/getLatestCommit.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getRecord.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/getRecord.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getRecord.defs.d.ts +58 -0
- package/dist/lexicons/com/atproto/space/getRecord.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getRecord.defs.js +14 -0
- package/dist/lexicons/com/atproto/space/getRecord.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getRecord.js +6 -0
- package/dist/lexicons/com/atproto/space/getRecord.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getRepo.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/getRepo.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getRepo.defs.d.ts +30 -0
- package/dist/lexicons/com/atproto/space/getRepo.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getRepo.defs.js +14 -0
- package/dist/lexicons/com/atproto/space/getRepo.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getRepo.js +6 -0
- package/dist/lexicons/com/atproto/space/getRepo.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getSpace.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/getSpace.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getSpace.defs.d.ts +37 -0
- package/dist/lexicons/com/atproto/space/getSpace.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getSpace.defs.js +17 -0
- package/dist/lexicons/com/atproto/space/getSpace.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getSpace.js +6 -0
- package/dist/lexicons/com/atproto/space/getSpace.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getSpaceCredential.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/getSpaceCredential.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getSpaceCredential.defs.d.ts +53 -0
- package/dist/lexicons/com/atproto/space/getSpaceCredential.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/getSpaceCredential.defs.js +17 -0
- package/dist/lexicons/com/atproto/space/getSpaceCredential.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/getSpaceCredential.js +6 -0
- package/dist/lexicons/com/atproto/space/getSpaceCredential.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listBlobs.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/listBlobs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listBlobs.defs.d.ts +44 -0
- package/dist/lexicons/com/atproto/space/listBlobs.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listBlobs.defs.js +14 -0
- package/dist/lexicons/com/atproto/space/listBlobs.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listBlobs.js +6 -0
- package/dist/lexicons/com/atproto/space/listBlobs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listRecords.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/listRecords.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listRecords.defs.d.ts +58 -0
- package/dist/lexicons/com/atproto/space/listRecords.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listRecords.defs.js +16 -0
- package/dist/lexicons/com/atproto/space/listRecords.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listRecords.js +6 -0
- package/dist/lexicons/com/atproto/space/listRecords.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listRepoOps.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/listRepoOps.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listRepoOps.defs.d.ts +74 -0
- package/dist/lexicons/com/atproto/space/listRepoOps.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listRepoOps.defs.js +18 -0
- package/dist/lexicons/com/atproto/space/listRepoOps.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listRepoOps.js +6 -0
- package/dist/lexicons/com/atproto/space/listRepoOps.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listSpaces.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/listSpaces.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listSpaces.defs.d.ts +59 -0
- package/dist/lexicons/com/atproto/space/listSpaces.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listSpaces.defs.js +16 -0
- package/dist/lexicons/com/atproto/space/listSpaces.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listSpaces.js +6 -0
- package/dist/lexicons/com/atproto/space/listSpaces.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listWriters.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/listWriters.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listWriters.defs.d.ts +35 -0
- package/dist/lexicons/com/atproto/space/listWriters.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/listWriters.defs.js +15 -0
- package/dist/lexicons/com/atproto/space/listWriters.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/listWriters.js +6 -0
- package/dist/lexicons/com/atproto/space/listWriters.js.map +1 -0
- package/dist/lexicons/com/atproto/space/putRecord.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/putRecord.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/putRecord.defs.d.ts +69 -0
- package/dist/lexicons/com/atproto/space/putRecord.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/putRecord.defs.js +15 -0
- package/dist/lexicons/com/atproto/space/putRecord.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/putRecord.js +6 -0
- package/dist/lexicons/com/atproto/space/putRecord.js.map +1 -0
- package/dist/lexicons/com/atproto/space/registerNotify.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/registerNotify.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/registerNotify.defs.d.ts +37 -0
- package/dist/lexicons/com/atproto/space/registerNotify.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/registerNotify.defs.js +23 -0
- package/dist/lexicons/com/atproto/space/registerNotify.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/registerNotify.js +6 -0
- package/dist/lexicons/com/atproto/space/registerNotify.js.map +1 -0
- package/dist/lexicons/com/atproto/space/removeWriter.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/removeWriter.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/removeWriter.defs.d.ts +33 -0
- package/dist/lexicons/com/atproto/space/removeWriter.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/removeWriter.defs.js +15 -0
- package/dist/lexicons/com/atproto/space/removeWriter.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/removeWriter.js +6 -0
- package/dist/lexicons/com/atproto/space/removeWriter.js.map +1 -0
- package/dist/lexicons/com/atproto/space/unregisterNotify.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/unregisterNotify.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/unregisterNotify.defs.d.ts +29 -0
- package/dist/lexicons/com/atproto/space/unregisterNotify.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/unregisterNotify.defs.js +20 -0
- package/dist/lexicons/com/atproto/space/unregisterNotify.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/unregisterNotify.js +6 -0
- package/dist/lexicons/com/atproto/space/unregisterNotify.js.map +1 -0
- package/dist/lexicons/com/atproto/space/updateSpace.d.ts +3 -0
- package/dist/lexicons/com/atproto/space/updateSpace.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/updateSpace.defs.d.ts +32 -0
- package/dist/lexicons/com/atproto/space/updateSpace.defs.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space/updateSpace.defs.js +18 -0
- package/dist/lexicons/com/atproto/space/updateSpace.defs.js.map +1 -0
- package/dist/lexicons/com/atproto/space/updateSpace.js +6 -0
- package/dist/lexicons/com/atproto/space/updateSpace.js.map +1 -0
- package/dist/lexicons/com/atproto/space.d.ts +23 -0
- package/dist/lexicons/com/atproto/space.d.ts.map +1 -0
- package/dist/lexicons/com/atproto/space.js +26 -0
- package/dist/lexicons/com/atproto/space.js.map +1 -0
- package/dist/lexicons/com/atproto.d.ts +5 -0
- package/dist/lexicons/com/atproto.d.ts.map +1 -0
- package/dist/lexicons/com/atproto.js +8 -0
- package/dist/lexicons/com/atproto.js.map +1 -0
- package/dist/lexicons/com.d.ts +2 -0
- package/dist/lexicons/com.d.ts.map +1 -0
- package/dist/lexicons/com.js +5 -0
- package/dist/lexicons/com.js.map +1 -0
- package/dist/lexicons/index.d.ts +2 -0
- package/dist/lexicons/index.d.ts.map +1 -0
- package/dist/lexicons/index.js +5 -0
- package/dist/lexicons/index.js.map +1 -0
- package/dist/policies/baseline.d.ts +7 -0
- package/dist/policies/baseline.d.ts.map +1 -0
- package/dist/policies/baseline.js +10 -0
- package/dist/policies/baseline.js.map +1 -0
- package/dist/policies/index.d.ts +6 -0
- package/dist/policies/index.d.ts.map +1 -0
- package/dist/policies/index.js +6 -0
- package/dist/policies/index.js.map +1 -0
- package/dist/policies/managedspace.d.ts +12 -0
- package/dist/policies/managedspace.d.ts.map +1 -0
- package/dist/policies/managedspace.js +12 -0
- package/dist/policies/managedspace.js.map +1 -0
- package/dist/policies/memberspace.d.ts +31 -0
- package/dist/policies/memberspace.d.ts.map +1 -0
- package/dist/policies/memberspace.js +48 -0
- package/dist/policies/memberspace.js.map +1 -0
- package/dist/policies/personalspace.d.ts +11 -0
- package/dist/policies/personalspace.d.ts.map +1 -0
- package/dist/policies/personalspace.js +11 -0
- package/dist/policies/personalspace.js.map +1 -0
- package/dist/policies/space-policy-manager.d.ts +73 -0
- package/dist/policies/space-policy-manager.d.ts.map +1 -0
- package/dist/policies/space-policy-manager.js +81 -0
- package/dist/policies/space-policy-manager.js.map +1 -0
- package/dist/space-client.d.ts +254 -0
- package/dist/space-client.d.ts.map +1 -0
- package/dist/space-client.js +301 -0
- package/dist/space-client.js.map +1 -0
- package/dist/space-collection.d.ts +11 -0
- package/dist/space-collection.d.ts.map +1 -0
- package/dist/space-collection.js +2 -0
- package/dist/space-collection.js.map +1 -0
- package/dist/space-credential-provider.d.ts +68 -0
- package/dist/space-credential-provider.d.ts.map +1 -0
- package/dist/space-credential-provider.js +68 -0
- package/dist/space-credential-provider.js.map +1 -0
- package/dist/space-credential.d.ts +35 -0
- package/dist/space-credential.d.ts.map +1 -0
- package/dist/space-credential.js +64 -0
- package/dist/space-credential.js.map +1 -0
- package/dist/space-manager.d.ts +102 -0
- package/dist/space-manager.d.ts.map +1 -0
- package/dist/space-manager.js +121 -0
- package/dist/space-manager.js.map +1 -0
- package/dist/space-reader.d.ts +400 -0
- package/dist/space-reader.d.ts.map +1 -0
- package/dist/space-reader.js +573 -0
- package/dist/space-reader.js.map +1 -0
- package/dist/write-operation-builder.d.ts +22 -0
- package/dist/write-operation-builder.d.ts.map +1 -0
- package/dist/write-operation-builder.js +37 -0
- package/dist/write-operation-builder.js.map +1 -0
- package/package.json +64 -3
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
declare const $nsid = "com.atproto.space.authorizeSpaceSync";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
6
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
7
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
+
space: l.StringSchema<{
|
|
9
|
+
readonly format: "space-ref";
|
|
10
|
+
}>;
|
|
11
|
+
credentialKey: l.StringSchema<{}>;
|
|
12
|
+
delegationToken: l.OptionalSchema<l.StringSchema<{}>>;
|
|
13
|
+
clientAttestation: l.OptionalSchema<l.StringSchema<{}>>;
|
|
14
|
+
notify: l.OptionalSchema<l.RefSchema<l.Validator<Notify, Notify>>>;
|
|
15
|
+
}>>;
|
|
16
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
17
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
18
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
19
|
+
credential: l.StringSchema<{}>;
|
|
20
|
+
spaceRev: l.OptionalSchema<l.StringSchema<{
|
|
21
|
+
readonly format: "tid";
|
|
22
|
+
}>>;
|
|
23
|
+
}>>;
|
|
24
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
25
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
26
|
+
/** Authorize syncing a space, returning a new credential for reading data across it and the space's current revision, and optionally registering for notifications of updates to it. Depending on the space's policy, a delegation token and/or client attestation may be required. Implemented by the space host. */
|
|
27
|
+
declare const main: l.Procedure<"com.atproto.space.authorizeSpaceSync", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
28
|
+
space: l.StringSchema<{
|
|
29
|
+
readonly format: "space-ref";
|
|
30
|
+
}>;
|
|
31
|
+
credentialKey: l.StringSchema<{}>;
|
|
32
|
+
delegationToken: l.OptionalSchema<l.StringSchema<{}>>;
|
|
33
|
+
clientAttestation: l.OptionalSchema<l.StringSchema<{}>>;
|
|
34
|
+
notify: l.OptionalSchema<l.RefSchema<l.Validator<Notify, Notify>>>;
|
|
35
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
36
|
+
credential: l.StringSchema<{}>;
|
|
37
|
+
spaceRev: l.OptionalSchema<l.StringSchema<{
|
|
38
|
+
readonly format: "tid";
|
|
39
|
+
}>>;
|
|
40
|
+
}>>, readonly ["SpaceNotFound", "SpaceDeleted", "AccountNotAuthorized", "AppNotAuthorized", "NotAuthorized", "InvalidDelegationToken", "InvalidClientAttestation", "RegistrationNotConfirmed", "RepoTakendown", "RepoDeactivated"]>;
|
|
41
|
+
export { main };
|
|
42
|
+
declare const $lxm = "com.atproto.space.authorizeSpaceSync";
|
|
43
|
+
type $lxm = typeof $lxm;
|
|
44
|
+
export { $lxm };
|
|
45
|
+
type Notify = {
|
|
46
|
+
$type?: "com.atproto.space.authorizeSpaceSync#notify";
|
|
47
|
+
/**
|
|
48
|
+
* Base HTTPS URL that notification methods are called against.
|
|
49
|
+
*/
|
|
50
|
+
"endpoint": l.UriString;
|
|
51
|
+
/**
|
|
52
|
+
* Opaque secret, included in the body of each request to the endpoint. The endpoint and token together identify the registration, so the token should stay the same across authorizations.
|
|
53
|
+
*/
|
|
54
|
+
"token": string;
|
|
55
|
+
};
|
|
56
|
+
export type { Notify };
|
|
57
|
+
declare const notify: l.TypedObjectSchema<"com.atproto.space.authorizeSpaceSync#notify", l.Validator<Notify, Notify>>;
|
|
58
|
+
export { notify };
|
|
59
|
+
//# sourceMappingURL=authorizeSpaceSync.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizeSpaceSync.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/authorizeSpaceSync.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,QAAA,MAAM,KAAK,yCAAyC,CAAC;AAErD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;;;;GAAmW,CAAC;AAEvX,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO;;;;;GAAqJ,CAAC;AAE1K,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,sTAAsT;AACtT,QAAA,MAAM,IAAI;;;;;;;;;;;;;mOAA0Q,CAAC;AAErR,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,yCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,KAAK,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,6CAA6C,CAAC;IAEpE;;OAEG;IACH,UAAU,EAAC,CAAC,CAAC,SAAS,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAC,MAAM,CAAA;CAAE,CAAC;AAEnB,YAAY,EAAE,MAAM,EAAE,CAAC;AAEvB,QAAA,MAAM,MAAM,iGAAwL,CAAC;AAErM,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex-schema";
|
|
5
|
+
const $nsid = "com.atproto.space.authorizeSpaceSync";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "credentialKey": /*#__PURE__*/ l.string(), "delegationToken": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "clientAttestation": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "notify": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => notify))) });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "credential": /*#__PURE__*/ l.string(), "spaceRev": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })) });
|
|
10
|
+
/** Authorize syncing a space, returning a new credential for reading data across it and the space's current revision, and optionally registering for notifications of updates to it. Depending on the space's policy, a delegation token and/or client attestation may be required. Implemented by the space host. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["SpaceNotFound", "SpaceDeleted", "AccountNotAuthorized", "AppNotAuthorized", "NotAuthorized", "InvalidDelegationToken", "InvalidClientAttestation", "RegistrationNotConfirmed", "RepoTakendown", "RepoDeactivated"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
const notify = /*#__PURE__*/ l.typedObject($nsid, "notify", /*#__PURE__*/ l.object({ "endpoint": /*#__PURE__*/ l.string({ "format": "uri" }), "token": /*#__PURE__*/ l.string({ "maxLength": 512 }) }));
|
|
16
|
+
export { notify };
|
|
17
|
+
//# sourceMappingURL=authorizeSpaceSync.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizeSpaceSync.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/authorizeSpaceSync.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,MAAM,KAAK,GAAG,sCAAsC,CAAC;AAIrD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,eAAe,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,iBAAiB,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,mBAAmB,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAS,CAAC,GAAG,EAAE,CAAC,MAAM,CAAQ,CAAC,CAAC,EAAC,CAAC,CAAC;AAKvX,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,YAAY,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,CAAC,CAAC;AAK1K,sTAAsT;AACtT,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,eAAe,EAAC,cAAc,EAAC,sBAAsB,EAAC,kBAAkB,EAAC,eAAe,EAAC,wBAAwB,EAAC,0BAA0B,EAAC,0BAA0B,EAAC,eAAe,EAAC,iBAAiB,CAAC,CAAC,CAAC;AAErR,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC;AAgBhB,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAS,KAAK,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,WAAW,EAAC,GAAG,EAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAErM,OAAO,EAAE,MAAM,EAAE,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from \"@atproto/lex-schema\";\n\nconst $nsid = \"com.atproto.space.authorizeSpaceSync\";\n\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\nexport const $params = /*#__PURE__*/ l.params();\n\nexport type $Params = l.InferOutput<typeof $params>;\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\"space\":/*#__PURE__*/ l.string({\"format\":\"space-ref\"}),\"credentialKey\":/*#__PURE__*/ l.string(),\"delegationToken\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"clientAttestation\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()),\"notify\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref<Notify>((() => notify) as any))});\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\"credential\":/*#__PURE__*/ l.string(),\"spaceRev\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"tid\"}))});\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;\n\n/** Authorize syncing a space, returning a new credential for reading data across it and the space's current revision, and optionally registering for notifications of updates to it. Depending on the space's policy, a delegation token and/or client attestation may be required. Implemented by the space host. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\"SpaceNotFound\",\"SpaceDeleted\",\"AccountNotAuthorized\",\"AppNotAuthorized\",\"NotAuthorized\",\"InvalidDelegationToken\",\"InvalidClientAttestation\",\"RegistrationNotConfirmed\",\"RepoTakendown\",\"RepoDeactivated\"]);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n\ntype Notify = { $type?: \"com.atproto.space.authorizeSpaceSync#notify\";\n\n /**\n * Base HTTPS URL that notification methods are called against.\n */\n \"endpoint\":l.UriString;\n\n /**\n * Opaque secret, included in the body of each request to the endpoint. The endpoint and token together identify the registration, so the token should stay the same across authorizations.\n */\n \"token\":string };\n\nexport type { Notify };\n\nconst notify = /*#__PURE__*/ l.typedObject<Notify>($nsid, \"notify\", /*#__PURE__*/ l.object({\"endpoint\":/*#__PURE__*/ l.string({\"format\":\"uri\"}),\"token\":/*#__PURE__*/ l.string({\"maxLength\":512})}));\n\nexport { notify };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizeSpaceSync.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/authorizeSpaceSync.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,8BAA8B,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from \"./authorizeSpaceSync.defs.js\";\nexport { main as default } from \"./authorizeSpaceSync.defs.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearRecords.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/clearRecords.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
declare const $nsid = "com.atproto.space.clearRecords";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
6
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
7
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
+
space: l.StringSchema<{
|
|
9
|
+
readonly format: "space-ref";
|
|
10
|
+
}>;
|
|
11
|
+
repo: l.StringSchema<{
|
|
12
|
+
readonly format: "did";
|
|
13
|
+
}>;
|
|
14
|
+
}>>;
|
|
15
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
16
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
17
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{}>>;
|
|
18
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
19
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
20
|
+
/** Delete all records in the authenticated account's space repo. In the space authority's repo, records published from the space's configuration (such as its policy) are kept. Requires auth, implemented by PDS. */
|
|
21
|
+
declare const main: l.Procedure<"com.atproto.space.clearRecords", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
22
|
+
space: l.StringSchema<{
|
|
23
|
+
readonly format: "space-ref";
|
|
24
|
+
}>;
|
|
25
|
+
repo: l.StringSchema<{
|
|
26
|
+
readonly format: "did";
|
|
27
|
+
}>;
|
|
28
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{}>>, undefined>;
|
|
29
|
+
export { main };
|
|
30
|
+
declare const $lxm = "com.atproto.space.clearRecords";
|
|
31
|
+
type $lxm = typeof $lxm;
|
|
32
|
+
export { $lxm };
|
|
33
|
+
//# sourceMappingURL=clearRecords.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearRecords.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/clearRecords.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,QAAA,MAAM,KAAK,mCAAmC,CAAC;AAE/C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;;;GAAwI,CAAC;AAE5J,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO,mDAAkC,CAAC;AAEvD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,sNAAsN;AACtN,QAAA,MAAM,IAAI;;;;;;;kEAA6D,CAAC;AAExE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,mCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex-schema";
|
|
5
|
+
const $nsid = "com.atproto.space.clearRecords";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "repo": /*#__PURE__*/ l.string({ "format": "did" }) });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({});
|
|
10
|
+
/** Delete all records in the authenticated account's space repo. In the space authority's repo, records published from the space's configuration (such as its policy) are kept. Requires auth, implemented by PDS. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=clearRecords.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearRecords.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/clearRecords.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,MAAM,KAAK,GAAG,gCAAgC,CAAC;AAI/C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,CAAC,CAAC;AAK5J,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;AAKvD,sNAAsN;AACtN,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAExE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from \"@atproto/lex-schema\";\n\nconst $nsid = \"com.atproto.space.clearRecords\";\n\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\nexport const $params = /*#__PURE__*/ l.params();\n\nexport type $Params = l.InferOutput<typeof $params>;\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\"space\":/*#__PURE__*/ l.string({\"format\":\"space-ref\"}),\"repo\":/*#__PURE__*/ l.string({\"format\":\"did\"})});\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({});\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;\n\n/** Delete all records in the authenticated account's space repo. In the space authority's repo, records published from the space's configuration (such as its policy) are kept. Requires auth, implemented by PDS. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearRecords.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/clearRecords.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from \"./clearRecords.defs.js\";\nexport { main as default } from \"./clearRecords.defs.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createRecord.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/createRecord.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
declare const $nsid = "com.atproto.space.createRecord";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
6
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
7
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
+
space: l.StringSchema<{
|
|
9
|
+
readonly format: "space-ref";
|
|
10
|
+
}>;
|
|
11
|
+
repo: l.StringSchema<{
|
|
12
|
+
readonly format: "did";
|
|
13
|
+
}>;
|
|
14
|
+
collection: l.StringSchema<{
|
|
15
|
+
readonly format: "nsid";
|
|
16
|
+
}>;
|
|
17
|
+
rkey: l.OptionalSchema<l.StringSchema<{
|
|
18
|
+
readonly format: "record-key";
|
|
19
|
+
}>>;
|
|
20
|
+
validate: l.OptionalSchema<l.BooleanSchema>;
|
|
21
|
+
record: l.LexMapSchema;
|
|
22
|
+
}>>;
|
|
23
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
24
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
25
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
26
|
+
uri: l.StringSchema<{
|
|
27
|
+
readonly format: "at-uri";
|
|
28
|
+
}>;
|
|
29
|
+
cid: l.StringSchema<{
|
|
30
|
+
readonly format: "cid";
|
|
31
|
+
}>;
|
|
32
|
+
validationStatus: l.OptionalSchema<l.StringSchema<{
|
|
33
|
+
knownValues: ["valid", "unknown"];
|
|
34
|
+
}>>;
|
|
35
|
+
}>>;
|
|
36
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
37
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
38
|
+
/** Create a single new record in a space repo. Requires auth, implemented by PDS. */
|
|
39
|
+
declare const main: l.Procedure<"com.atproto.space.createRecord", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
40
|
+
space: l.StringSchema<{
|
|
41
|
+
readonly format: "space-ref";
|
|
42
|
+
}>;
|
|
43
|
+
repo: l.StringSchema<{
|
|
44
|
+
readonly format: "did";
|
|
45
|
+
}>;
|
|
46
|
+
collection: l.StringSchema<{
|
|
47
|
+
readonly format: "nsid";
|
|
48
|
+
}>;
|
|
49
|
+
rkey: l.OptionalSchema<l.StringSchema<{
|
|
50
|
+
readonly format: "record-key";
|
|
51
|
+
}>>;
|
|
52
|
+
validate: l.OptionalSchema<l.BooleanSchema>;
|
|
53
|
+
record: l.LexMapSchema;
|
|
54
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
55
|
+
uri: l.StringSchema<{
|
|
56
|
+
readonly format: "at-uri";
|
|
57
|
+
}>;
|
|
58
|
+
cid: l.StringSchema<{
|
|
59
|
+
readonly format: "cid";
|
|
60
|
+
}>;
|
|
61
|
+
validationStatus: l.OptionalSchema<l.StringSchema<{
|
|
62
|
+
knownValues: ["valid", "unknown"];
|
|
63
|
+
}>>;
|
|
64
|
+
}>>, readonly ["SpaceNotFound", "RecordAlreadyExists"]>;
|
|
65
|
+
export { main };
|
|
66
|
+
declare const $lxm = "com.atproto.space.createRecord";
|
|
67
|
+
type $lxm = typeof $lxm;
|
|
68
|
+
export { $lxm };
|
|
69
|
+
//# sourceMappingURL=createRecord.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createRecord.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/createRecord.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,QAAA,MAAM,KAAK,mCAAmC,CAAC;AAE/C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;GAAiX,CAAC;AAErY,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO;;;;;;;;;;GAA6O,CAAC;AAElQ,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,qFAAqF;AACrF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;uDAAsG,CAAC;AAEjH,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,mCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex-schema";
|
|
5
|
+
const $nsid = "com.atproto.space.createRecord";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "repo": /*#__PURE__*/ l.string({ "format": "did" }), "collection": /*#__PURE__*/ l.string({ "format": "nsid" }), "rkey": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "record-key" })), "validate": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()), "record": /*#__PURE__*/ l.lexMap() });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "uri": /*#__PURE__*/ l.string({ "format": "at-uri" }), "cid": /*#__PURE__*/ l.string({ "format": "cid" }), "validationStatus": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()) });
|
|
10
|
+
/** Create a single new record in a space repo. Requires auth, implemented by PDS. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["SpaceNotFound", "RecordAlreadyExists"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=createRecord.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createRecord.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/createRecord.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,MAAM,KAAK,GAAG,gCAAgC,CAAC;AAI/C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,YAAY,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,MAAM,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,YAAY,EAAC,CAAC,CAAC,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,CAAC,CAAC;AAKrY,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,QAAQ,EAAC,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,kBAAkB,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAuC,CAAC,EAAC,CAAC,CAAC;AAKlQ,qFAAqF;AACrF,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,CAAC,CAAC;AAEjH,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from \"@atproto/lex-schema\";\n\nconst $nsid = \"com.atproto.space.createRecord\";\n\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\nexport const $params = /*#__PURE__*/ l.params();\n\nexport type $Params = l.InferOutput<typeof $params>;\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\"space\":/*#__PURE__*/ l.string({\"format\":\"space-ref\"}),\"repo\":/*#__PURE__*/ l.string({\"format\":\"did\"}),\"collection\":/*#__PURE__*/ l.string({\"format\":\"nsid\"}),\"rkey\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"record-key\"})),\"validate\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\"record\":/*#__PURE__*/ l.lexMap()});\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\"uri\":/*#__PURE__*/ l.string({\"format\":\"at-uri\"}),\"cid\":/*#__PURE__*/ l.string({\"format\":\"cid\"}),\"validationStatus\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string<{\"knownValues\":[\"valid\",\"unknown\"]}>())});\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;\n\n/** Create a single new record in a space repo. Requires auth, implemented by PDS. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\"SpaceNotFound\",\"RecordAlreadyExists\"]);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createRecord.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/createRecord.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from \"./createRecord.defs.js\";\nexport { main as default } from \"./createRecord.defs.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSpace.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/createSpace.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
import * as PersonalspacePolicy from "../personalspace/policy.defs.js";
|
|
3
|
+
import * as MemberspacePolicy from "../memberspace/policy.defs.js";
|
|
4
|
+
import * as ManagedspacePolicy from "../managedspace/policy.defs.js";
|
|
5
|
+
declare const $nsid = "com.atproto.space.createSpace";
|
|
6
|
+
type $nsid = typeof $nsid;
|
|
7
|
+
export { $nsid };
|
|
8
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
9
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
10
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
11
|
+
spaceType: l.StringSchema<{
|
|
12
|
+
readonly format: "nsid";
|
|
13
|
+
}>;
|
|
14
|
+
skey: l.OptionalSchema<l.StringSchema<{
|
|
15
|
+
readonly format: "record-key";
|
|
16
|
+
}>>;
|
|
17
|
+
policy: l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<PersonalspacePolicy.Main, PersonalspacePolicy.Main>>, l.TypedRefSchema<l.TypedObjectValidator<MemberspacePolicy.Main, MemberspacePolicy.Main>>, l.TypedRefSchema<l.TypedObjectValidator<ManagedspacePolicy.Main, ManagedspacePolicy.Main>>], false>;
|
|
18
|
+
}>>;
|
|
19
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
20
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
21
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
22
|
+
space: l.StringSchema<{
|
|
23
|
+
readonly format: "space-ref";
|
|
24
|
+
}>;
|
|
25
|
+
}>>;
|
|
26
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
27
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
28
|
+
/** Create a new space, with the authenticated account as its authority. Requires auth, implemented by PDS. */
|
|
29
|
+
declare const main: l.Procedure<"com.atproto.space.createSpace", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
30
|
+
spaceType: l.StringSchema<{
|
|
31
|
+
readonly format: "nsid";
|
|
32
|
+
}>;
|
|
33
|
+
skey: l.OptionalSchema<l.StringSchema<{
|
|
34
|
+
readonly format: "record-key";
|
|
35
|
+
}>>;
|
|
36
|
+
policy: l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<PersonalspacePolicy.Main, PersonalspacePolicy.Main>>, l.TypedRefSchema<l.TypedObjectValidator<MemberspacePolicy.Main, MemberspacePolicy.Main>>, l.TypedRefSchema<l.TypedObjectValidator<ManagedspacePolicy.Main, ManagedspacePolicy.Main>>], false>;
|
|
37
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
38
|
+
space: l.StringSchema<{
|
|
39
|
+
readonly format: "space-ref";
|
|
40
|
+
}>;
|
|
41
|
+
}>>, readonly ["SpaceAlreadyExists", "UnsupportedPolicy"]>;
|
|
42
|
+
export { main };
|
|
43
|
+
declare const $lxm = "com.atproto.space.createSpace";
|
|
44
|
+
type $lxm = typeof $lxm;
|
|
45
|
+
export { $lxm };
|
|
46
|
+
//# sourceMappingURL=createSpace.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSpace.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/createSpace.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AACxC,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,kBAAkB,MAAM,gCAAgC,CAAC;AAErE,QAAA,MAAM,KAAK,kCAAkC,CAAC;AAE9C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;;;;GAAoe,CAAC;AAExf,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO;;;;GAAwF,CAAC;AAE7G,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,8GAA8G;AAC9G,QAAA,MAAM,IAAI;;;;;;;;;;;;0DAAyG,CAAC;AAEpH,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,kCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex-schema";
|
|
5
|
+
import * as PersonalspacePolicy from "../personalspace/policy.defs.js";
|
|
6
|
+
import * as MemberspacePolicy from "../memberspace/policy.defs.js";
|
|
7
|
+
import * as ManagedspacePolicy from "../managedspace/policy.defs.js";
|
|
8
|
+
const $nsid = "com.atproto.space.createSpace";
|
|
9
|
+
export { $nsid };
|
|
10
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
11
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "spaceType": /*#__PURE__*/ l.string({ "format": "nsid" }), "skey": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "record-key" })), "policy": /*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => PersonalspacePolicy.main)), /*#__PURE__*/ l.typedRef((() => MemberspacePolicy.main)), /*#__PURE__*/ l.typedRef((() => ManagedspacePolicy.main))], false) });
|
|
12
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }) });
|
|
13
|
+
/** Create a new space, with the authenticated account as its authority. Requires auth, implemented by PDS. */
|
|
14
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["SpaceAlreadyExists", "UnsupportedPolicy"]);
|
|
15
|
+
export { main };
|
|
16
|
+
const $lxm = $nsid;
|
|
17
|
+
export { $lxm };
|
|
18
|
+
//# sourceMappingURL=createSpace.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSpace.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/createSpace.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AACxC,OAAO,KAAK,mBAAmB,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,kBAAkB,MAAM,gCAAgC,CAAC;AAErE,MAAM,KAAK,GAAG,+BAA+B,CAAC;AAI9C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,WAAW,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,MAAM,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,YAAY,EAAC,CAAC,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAA2B,CAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAQ,CAAC,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAyB,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAQ,CAAC,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAA0B,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAQ,CAAC,CAAC,EAAE,KAAK,CAAC,EAAC,CAAC,CAAC;AAKxf,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,CAAC,CAAC;AAK7G,8GAA8G;AAC9G,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,oBAAoB,EAAC,mBAAmB,CAAC,CAAC,CAAC;AAEpH,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from \"@atproto/lex-schema\";\nimport * as PersonalspacePolicy from \"../personalspace/policy.defs.js\";\nimport * as MemberspacePolicy from \"../memberspace/policy.defs.js\";\nimport * as ManagedspacePolicy from \"../managedspace/policy.defs.js\";\n\nconst $nsid = \"com.atproto.space.createSpace\";\n\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\nexport const $params = /*#__PURE__*/ l.params();\n\nexport type $Params = l.InferOutput<typeof $params>;\n\nexport const $input = /*#__PURE__*/ l.jsonPayload({\"spaceType\":/*#__PURE__*/ l.string({\"format\":\"nsid\"}),\"skey\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"record-key\"})),\"policy\":/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef<PersonalspacePolicy.Main>((() => PersonalspacePolicy.main) as any),/*#__PURE__*/ l.typedRef<MemberspacePolicy.Main>((() => MemberspacePolicy.main) as any),/*#__PURE__*/ l.typedRef<ManagedspacePolicy.Main>((() => ManagedspacePolicy.main) as any)], false)});\n\nexport type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;\nexport type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;\n\nexport const $output = /*#__PURE__*/ l.jsonPayload({\"space\":/*#__PURE__*/ l.string({\"format\":\"space-ref\"})});\n\nexport type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;\nexport type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;\n\n/** Create a new space, with the authenticated account as its authority. Requires auth, implemented by PDS. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\"SpaceAlreadyExists\",\"UnsupportedPolicy\"]);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSpace.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/createSpace.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from \"./createSpace.defs.js\";\nexport { main as default } from \"./createSpace.defs.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/defs.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
declare const $nsid = "com.atproto.space.defs";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
/** Commit to the current state of a space repo. Not signed; authenticated by the repo host with a MAC instead. */
|
|
6
|
+
type Commit = {
|
|
7
|
+
$type?: "com.atproto.space.defs#commit";
|
|
8
|
+
/**
|
|
9
|
+
* Commit format version, currently 1.
|
|
10
|
+
*/
|
|
11
|
+
"ver": number;
|
|
12
|
+
"repo": l.DidString;
|
|
13
|
+
"space": l.SpaceRefString;
|
|
14
|
+
"rev": l.TidString;
|
|
15
|
+
/**
|
|
16
|
+
* SHA-256 digest of the repo's LtHash state.
|
|
17
|
+
*/
|
|
18
|
+
"data": Uint8Array;
|
|
19
|
+
};
|
|
20
|
+
export type { Commit };
|
|
21
|
+
/** Commit to the current state of a space repo. Not signed; authenticated by the repo host with a MAC instead. */
|
|
22
|
+
declare const commit: l.TypedObjectSchema<"com.atproto.space.defs#commit", l.Validator<Commit, Commit>>;
|
|
23
|
+
export { commit };
|
|
24
|
+
/** A repo in the space advanced to a new revision. */
|
|
25
|
+
type RepoWrite = {
|
|
26
|
+
$type?: "com.atproto.space.defs#repoWrite";
|
|
27
|
+
"repo": l.DidString;
|
|
28
|
+
"repoRev": l.TidString;
|
|
29
|
+
"data": Uint8Array;
|
|
30
|
+
/**
|
|
31
|
+
* The space revision at which this update was sequenced.
|
|
32
|
+
*/
|
|
33
|
+
"spaceRev": l.TidString;
|
|
34
|
+
/**
|
|
35
|
+
* The space revision before this update, if any. Set in notifySpaceUpdate, where a gap indicates missed notifications, which can be recovered with listWriters.
|
|
36
|
+
*/
|
|
37
|
+
"prevSpaceRev"?: l.TidString;
|
|
38
|
+
};
|
|
39
|
+
export type { RepoWrite };
|
|
40
|
+
/** A repo in the space advanced to a new revision. */
|
|
41
|
+
declare const repoWrite: l.TypedObjectSchema<"com.atproto.space.defs#repoWrite", l.Validator<RepoWrite, RepoWrite>>;
|
|
42
|
+
export { repoWrite };
|
|
43
|
+
/** A repo was removed from the writer set. */
|
|
44
|
+
type RepoRemoved = {
|
|
45
|
+
$type?: "com.atproto.space.defs#repoRemoved";
|
|
46
|
+
"repo": l.DidString;
|
|
47
|
+
/**
|
|
48
|
+
* The space revision at which this update was sequenced.
|
|
49
|
+
*/
|
|
50
|
+
"spaceRev": l.TidString;
|
|
51
|
+
/**
|
|
52
|
+
* The space revision before this update, if any. Set in notifySpaceUpdate, where a gap indicates missed notifications, which can be recovered with listWriters.
|
|
53
|
+
*/
|
|
54
|
+
"prevSpaceRev"?: l.TidString;
|
|
55
|
+
};
|
|
56
|
+
export type { RepoRemoved };
|
|
57
|
+
/** A repo was removed from the writer set. */
|
|
58
|
+
declare const repoRemoved: l.TypedObjectSchema<"com.atproto.space.defs#repoRemoved", l.Validator<RepoRemoved, RepoRemoved>>;
|
|
59
|
+
export { repoRemoved };
|
|
60
|
+
//# sourceMappingURL=defs.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,QAAA,MAAM,KAAK,2BAA2B,CAAC;AAEvC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,kHAAkH;AAClH,KAAK,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,+BAA+B,CAAC;IAEtD;;OAEG;IACH,KAAK,EAAC,MAAM,CAAC;IAAA,MAAM,EAAC,CAAC,CAAC,SAAS,CAAC;IAAA,OAAO,EAAC,CAAC,CAAC,cAAc,CAAC;IAAA,KAAK,EAAC,CAAC,CAAC,SAAS,CAAC;IAE3E;;OAEG;IACH,MAAM,EAAC,UAAU,CAAA;CAAE,CAAC;AAEtB,YAAY,EAAE,MAAM,EAAE,CAAC;AAEvB,kHAAkH;AAClH,QAAA,MAAM,MAAM,mFAAuS,CAAC;AAEpT,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB,sDAAsD;AACtD,KAAK,SAAS,GAAG;IAAE,KAAK,CAAC,EAAE,kCAAkC,CAAC;IAAA,MAAM,EAAC,CAAC,CAAC,SAAS,CAAC;IAAA,SAAS,EAAC,CAAC,CAAC,SAAS,CAAC;IAAA,MAAM,EAAC,UAAU,CAAC;IAEvH;;OAEG;IACH,UAAU,EAAC,CAAC,CAAC,SAAS,CAAC;IAEvB;;OAEG;IACH,cAAc,CAAC,EAAC,CAAC,CAAC,SAAS,CAAA;CAAE,CAAC;AAEhC,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,sDAAsD;AACtD,QAAA,MAAM,SAAS,4FAAgW,CAAC;AAEhX,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,8CAA8C;AAC9C,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,oCAAoC,CAAC;IAAA,MAAM,EAAC,CAAC,CAAC,SAAS,CAAC;IAEnF;;OAEG;IACH,UAAU,EAAC,CAAC,CAAC,SAAS,CAAC;IAEvB;;OAEG;IACH,cAAc,CAAC,EAAC,CAAC,CAAC,SAAS,CAAA;CAAE,CAAC;AAEhC,YAAY,EAAE,WAAW,EAAE,CAAC;AAE5B,8CAA8C;AAC9C,QAAA,MAAM,WAAW,kGAAkR,CAAC;AAEpS,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex-schema";
|
|
5
|
+
const $nsid = "com.atproto.space.defs";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
/** Commit to the current state of a space repo. Not signed; authenticated by the repo host with a MAC instead. */
|
|
8
|
+
const commit = /*#__PURE__*/ l.typedObject($nsid, "commit", /*#__PURE__*/ l.object({ "ver": /*#__PURE__*/ l.integer(), "repo": /*#__PURE__*/ l.string({ "format": "did" }), "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "rev": /*#__PURE__*/ l.string({ "format": "tid" }), "data": /*#__PURE__*/ l.bytes() }));
|
|
9
|
+
export { commit };
|
|
10
|
+
/** A repo in the space advanced to a new revision. */
|
|
11
|
+
const repoWrite = /*#__PURE__*/ l.typedObject($nsid, "repoWrite", /*#__PURE__*/ l.object({ "repo": /*#__PURE__*/ l.string({ "format": "did" }), "repoRev": /*#__PURE__*/ l.string({ "format": "tid" }), "data": /*#__PURE__*/ l.bytes(), "spaceRev": /*#__PURE__*/ l.string({ "format": "tid" }), "prevSpaceRev": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })) }));
|
|
12
|
+
export { repoWrite };
|
|
13
|
+
/** A repo was removed from the writer set. */
|
|
14
|
+
const repoRemoved = /*#__PURE__*/ l.typedObject($nsid, "repoRemoved", /*#__PURE__*/ l.object({ "repo": /*#__PURE__*/ l.string({ "format": "did" }), "spaceRev": /*#__PURE__*/ l.string({ "format": "tid" }), "prevSpaceRev": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })) }));
|
|
15
|
+
export { repoRemoved };
|
|
16
|
+
//# sourceMappingURL=defs.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,MAAM,KAAK,GAAG,wBAAwB,CAAC;AAIvC,OAAO,EAAE,KAAK,EAAE,CAAC;AAiBjB,kHAAkH;AAClH,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAS,KAAK,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,KAAK,EAAE,EAAC,CAAC,CAAC,CAAC;AAEpT,OAAO,EAAE,MAAM,EAAE,CAAC;AAiBlB,sDAAsD;AACtD,MAAM,SAAS,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAY,KAAK,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,KAAK,EAAE,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,cAAc,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAEhX,OAAO,EAAE,SAAS,EAAE,CAAC;AAiBrB,8CAA8C;AAC9C,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAc,KAAK,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,UAAU,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,cAAc,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,CAAC,CAAC,CAAC;AAEpS,OAAO,EAAE,WAAW,EAAE,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nimport { l } from \"@atproto/lex-schema\";\n\nconst $nsid = \"com.atproto.space.defs\";\n\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\n/** Commit to the current state of a space repo. Not signed; authenticated by the repo host with a MAC instead. */\ntype Commit = { $type?: \"com.atproto.space.defs#commit\";\n\n /**\n * Commit format version, currently 1.\n */\n \"ver\":number;\"repo\":l.DidString;\"space\":l.SpaceRefString;\"rev\":l.TidString;\n\n /**\n * SHA-256 digest of the repo's LtHash state.\n */\n \"data\":Uint8Array };\n\nexport type { Commit };\n\n/** Commit to the current state of a space repo. Not signed; authenticated by the repo host with a MAC instead. */\nconst commit = /*#__PURE__*/ l.typedObject<Commit>($nsid, \"commit\", /*#__PURE__*/ l.object({\"ver\":/*#__PURE__*/ l.integer(),\"repo\":/*#__PURE__*/ l.string({\"format\":\"did\"}),\"space\":/*#__PURE__*/ l.string({\"format\":\"space-ref\"}),\"rev\":/*#__PURE__*/ l.string({\"format\":\"tid\"}),\"data\":/*#__PURE__*/ l.bytes()}));\n\nexport { commit };\n\n/** A repo in the space advanced to a new revision. */\ntype RepoWrite = { $type?: \"com.atproto.space.defs#repoWrite\";\"repo\":l.DidString;\"repoRev\":l.TidString;\"data\":Uint8Array;\n\n /**\n * The space revision at which this update was sequenced.\n */\n \"spaceRev\":l.TidString;\n\n /**\n * The space revision before this update, if any. Set in notifySpaceUpdate, where a gap indicates missed notifications, which can be recovered with listWriters.\n */\n \"prevSpaceRev\"?:l.TidString };\n\nexport type { RepoWrite };\n\n/** A repo in the space advanced to a new revision. */\nconst repoWrite = /*#__PURE__*/ l.typedObject<RepoWrite>($nsid, \"repoWrite\", /*#__PURE__*/ l.object({\"repo\":/*#__PURE__*/ l.string({\"format\":\"did\"}),\"repoRev\":/*#__PURE__*/ l.string({\"format\":\"tid\"}),\"data\":/*#__PURE__*/ l.bytes(),\"spaceRev\":/*#__PURE__*/ l.string({\"format\":\"tid\"}),\"prevSpaceRev\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"tid\"}))}));\n\nexport { repoWrite };\n\n/** A repo was removed from the writer set. */\ntype RepoRemoved = { $type?: \"com.atproto.space.defs#repoRemoved\";\"repo\":l.DidString;\n\n /**\n * The space revision at which this update was sequenced.\n */\n \"spaceRev\":l.TidString;\n\n /**\n * The space revision before this update, if any. Set in notifySpaceUpdate, where a gap indicates missed notifications, which can be recovered with listWriters.\n */\n \"prevSpaceRev\"?:l.TidString };\n\nexport type { RepoRemoved };\n\n/** A repo was removed from the writer set. */\nconst repoRemoved = /*#__PURE__*/ l.typedObject<RepoRemoved>($nsid, \"repoRemoved\", /*#__PURE__*/ l.object({\"repo\":/*#__PURE__*/ l.string({\"format\":\"did\"}),\"spaceRev\":/*#__PURE__*/ l.string({\"format\":\"tid\"}),\"prevSpaceRev\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"tid\"}))}));\n\nexport { repoRemoved };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from \"./defs.defs.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteRecord.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/deleteRecord.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
declare const $nsid = "com.atproto.space.deleteRecord";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
6
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
7
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
8
|
+
space: l.StringSchema<{
|
|
9
|
+
readonly format: "space-ref";
|
|
10
|
+
}>;
|
|
11
|
+
repo: l.StringSchema<{
|
|
12
|
+
readonly format: "did";
|
|
13
|
+
}>;
|
|
14
|
+
collection: l.StringSchema<{
|
|
15
|
+
readonly format: "nsid";
|
|
16
|
+
}>;
|
|
17
|
+
rkey: l.StringSchema<{
|
|
18
|
+
readonly format: "record-key";
|
|
19
|
+
}>;
|
|
20
|
+
}>>;
|
|
21
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
22
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
23
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{}>>;
|
|
24
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
25
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
26
|
+
/** Delete a record from a space repo, or ensure it doesn't exist. Requires auth, implemented by PDS. */
|
|
27
|
+
declare const main: l.Procedure<"com.atproto.space.deleteRecord", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
28
|
+
space: l.StringSchema<{
|
|
29
|
+
readonly format: "space-ref";
|
|
30
|
+
}>;
|
|
31
|
+
repo: l.StringSchema<{
|
|
32
|
+
readonly format: "did";
|
|
33
|
+
}>;
|
|
34
|
+
collection: l.StringSchema<{
|
|
35
|
+
readonly format: "nsid";
|
|
36
|
+
}>;
|
|
37
|
+
rkey: l.StringSchema<{
|
|
38
|
+
readonly format: "record-key";
|
|
39
|
+
}>;
|
|
40
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{}>>, readonly ["SpaceNotFound"]>;
|
|
41
|
+
export { main };
|
|
42
|
+
declare const $lxm = "com.atproto.space.deleteRecord";
|
|
43
|
+
type $lxm = typeof $lxm;
|
|
44
|
+
export { $lxm };
|
|
45
|
+
//# sourceMappingURL=deleteRecord.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteRecord.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/deleteRecord.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,QAAA,MAAM,KAAK,mCAAmC,CAAC;AAE/C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;;;;;;;;;GAAsP,CAAC;AAE1Q,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO,mDAAkC,CAAC;AAEvD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,wGAAwG;AACxG,QAAA,MAAM,IAAI;;;;;;;;;;;;;mFAAgF,CAAC;AAE3F,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,mCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|