@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 @@
|
|
|
1
|
+
{"version":3,"file":"policy.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/policy.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,8DAA8D;AAC9D,KAAK,IAAI,GAAG;IAAE,KAAK,CAAC,EAAE,gCAAgC,CAAC;IAErD;;OAEG;IACH,YAAY,CAAC,EAAC,OAAO,CAAC;IAEtB;;OAEG;IACH,aAAa,CAAC,EAAC,OAAO,CAA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AAO;cAoBsC,CAAC;AAClE,eAAO,MAAM,QAAQ;YA9CC,gCAAgC;iBAKtC,OAAO;kBAKN,OAAO;kBAKP,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;oBAKb,OAAO;qBAKN,OAAO;CAqBkC,CAAC;AAC9D,eAAO,MAAM,MAAM;YA/CG,gCAAgC;iBAKtC,OAAO;kBAKN,OAAO;kBAKP,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;oBAKb,OAAO;qBAKN,OAAO;CAsB8B,CAAC;AAC1D,eAAO,MAAM,UAAU;YAhDD,gCAAgC;iBAKtC,OAAO;kBAKN,OAAO;kBAKP,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;oBAKb,OAAO;qBAKN,OAAO;EAuBsC,CAAC;AAClE,eAAO,MAAM,SAAS;YAjDA,gCAAgC;iBAKtC,OAAO;kBAKN,OAAO;kBAKP,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;oBAKb,OAAO;qBAKN,OAAO;CAwBoC,CAAC;AAChE,eAAO,MAAM,aAAa;YAlDJ,gCAAgC;iBAKtC,OAAO;kBAKN,OAAO;kBAKP,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE;oBAKb,OAAO;qBAKN,OAAO;EAyB4C,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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.memberspace.policy";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
/** Space policy that grants access based on a member list. */
|
|
8
|
+
const main = /*#__PURE__*/ l.typedObject($nsid, "main", /*#__PURE__*/ l.object({ "publicRead": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)), "publicWrite": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)), "allowedApps": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "format": "uri" }))), "publishPolicy": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)), "publishMembers": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)) }));
|
|
9
|
+
export { main };
|
|
10
|
+
const $type = $nsid;
|
|
11
|
+
export { $type };
|
|
12
|
+
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
|
|
13
|
+
export const $build = /*#__PURE__*/ main.build.bind(main);
|
|
14
|
+
export const $assert = /*#__PURE__*/ main.assert.bind(main);
|
|
15
|
+
export const $check = /*#__PURE__*/ main.check.bind(main);
|
|
16
|
+
export const $cast = /*#__PURE__*/ main.cast.bind(main);
|
|
17
|
+
export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
|
|
18
|
+
export const $matches = /*#__PURE__*/ main.matches.bind(main);
|
|
19
|
+
export const $parse = /*#__PURE__*/ main.parse.bind(main);
|
|
20
|
+
export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
|
|
21
|
+
export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
22
|
+
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
23
|
+
//# sourceMappingURL=policy.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/policy.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;AAgCjB,8DAA8D;AAC9D,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAO,KAAK,EAAE,MAAM,EAAE,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,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACxD,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,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.memberspace.policy\";\n\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\n/** Space policy that grants access based on a member list. */\ntype Main = { $type?: \"com.atproto.memberspace.policy\";\n\n /**\n * If true, anyone may read the space. Otherwise, only members with read access.\n */\n \"publicRead\"?:boolean;\n\n /**\n * If true, any account's writes are tracked in the writer set, except members without write access. Otherwise, only members with write access.\n */\n \"publicWrite\"?:boolean;\n\n /**\n * If set, only these apps (by OAuth client ID) may read the space.\n */\n \"allowedApps\"?:(l.UriString)[];\n\n /**\n * Publish the policy as a com.atproto.space.policy record in the space.\n */\n \"publishPolicy\"?:boolean;\n\n /**\n * Publish the member list as com.atproto.memberspace.member records in the space.\n */\n \"publishMembers\"?:boolean };\n\nexport type { Main };\n\n/** Space policy that grants access based on a member list. */\nconst main = /*#__PURE__*/ l.typedObject<Main>($nsid, \"main\", /*#__PURE__*/ l.object({\"publicRead\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)),\"publicWrite\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)),\"allowedApps\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({\"format\":\"uri\"}), )),\"publishPolicy\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)),\"publishMembers\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false))}));\n\nexport { main };\n\nconst $type = $nsid;\n\ntype $type = typeof $type;\n\nexport { $type };\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);\nexport const $build = /*#__PURE__*/ main.build.bind(main);\nexport const $assert = /*#__PURE__*/ main.assert.bind(main);\nexport const $check = /*#__PURE__*/ main.check.bind(main);\nexport const $cast = /*#__PURE__*/ main.cast.bind(main);\nexport const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);\nexport const $matches = /*#__PURE__*/ main.matches.bind(main);\nexport const $parse = /*#__PURE__*/ main.parse.bind(main);\nexport const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);\nexport const $validate = /*#__PURE__*/ main.validate.bind(main);\nexport const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/policy.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from \"./policy.defs.js\";\nexport { main as default } from \"./policy.defs.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"putMembers.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/putMembers.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
import * as MemberspaceDefs from "./defs.defs.js";
|
|
3
|
+
declare const $nsid = "com.atproto.memberspace.putMembers";
|
|
4
|
+
type $nsid = typeof $nsid;
|
|
5
|
+
export { $nsid };
|
|
6
|
+
export declare const $params: l.ParamsSchema<{}>;
|
|
7
|
+
export type $Params = l.InferOutput<typeof $params>;
|
|
8
|
+
export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
9
|
+
space: l.StringSchema<{
|
|
10
|
+
readonly format: "space-ref";
|
|
11
|
+
}>;
|
|
12
|
+
members: l.ArraySchema<l.RefSchema<l.Validator<MemberspaceDefs.Member, MemberspaceDefs.Member>>>;
|
|
13
|
+
}>>;
|
|
14
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
15
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
16
|
+
export declare const $output: l.Payload<undefined, undefined>;
|
|
17
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
18
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
19
|
+
/** Add members to a space, or update existing members' access, in a single commit. Requires auth as the space authority, implemented by PDS. */
|
|
20
|
+
declare const main: l.Procedure<"com.atproto.memberspace.putMembers", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
21
|
+
space: l.StringSchema<{
|
|
22
|
+
readonly format: "space-ref";
|
|
23
|
+
}>;
|
|
24
|
+
members: l.ArraySchema<l.RefSchema<l.Validator<MemberspaceDefs.Member, MemberspaceDefs.Member>>>;
|
|
25
|
+
}>>, l.Payload<undefined, undefined>, readonly ["SpaceNotFound", "NotAuthorized", "PolicyMismatch"]>;
|
|
26
|
+
export { main };
|
|
27
|
+
declare const $lxm = "com.atproto.memberspace.putMembers";
|
|
28
|
+
type $lxm = typeof $lxm;
|
|
29
|
+
export { $lxm };
|
|
30
|
+
//# sourceMappingURL=putMembers.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"putMembers.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/putMembers.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AACxC,OAAO,KAAK,eAAe,MAAM,gBAAgB,CAAC;AAElD,QAAA,MAAM,KAAK,uCAAuC,CAAC;AAEnD,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;;;;;GAA+N,CAAC;AAEnP,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,iCAA4B,CAAC;AAEjD,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,gJAAgJ;AAChJ,QAAA,MAAM,IAAI;;;;;oGAAiH,CAAC;AAE5H,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,uCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,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
|
+
import * as MemberspaceDefs from "./defs.defs.js";
|
|
6
|
+
const $nsid = "com.atproto.memberspace.putMembers";
|
|
7
|
+
export { $nsid };
|
|
8
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
9
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "members": /*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => MemberspaceDefs.member)), { "maxLength": 100 }) });
|
|
10
|
+
export const $output = /*#__PURE__*/ l.payload();
|
|
11
|
+
/** Add members to a space, or update existing members' access, in a single commit. Requires auth as the space authority, implemented by PDS. */
|
|
12
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["SpaceNotFound", "NotAuthorized", "PolicyMismatch"]);
|
|
13
|
+
export { main };
|
|
14
|
+
const $lxm = $nsid;
|
|
15
|
+
export { $lxm };
|
|
16
|
+
//# sourceMappingURL=putMembers.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"putMembers.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/putMembers.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AACxC,OAAO,KAAK,eAAe,MAAM,gBAAgB,CAAC;AAElD,MAAM,KAAK,GAAG,oCAAoC,CAAC;AAInD,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,SAAS,EAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAyB,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,MAAM,CAAQ,CAAC,EAAE,EAAC,WAAW,EAAC,GAAG,EAAC,CAAC,EAAC,CAAC,CAAC;AAKnP,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAKjD,gJAAgJ;AAChJ,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,eAAe,EAAC,eAAe,EAAC,gBAAgB,CAAC,CAAC,CAAC;AAE5H,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 MemberspaceDefs from \"./defs.defs.js\";\n\nconst $nsid = \"com.atproto.memberspace.putMembers\";\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\"}),\"members\":/*#__PURE__*/ l.array(/*#__PURE__*/ l.ref<MemberspaceDefs.Member>((() => MemberspaceDefs.member) as any), {\"maxLength\":100})});\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.payload();\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/** Add members to a space, or update existing members' access, in a single commit. Requires auth as the space authority, implemented by PDS. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\"SpaceNotFound\",\"NotAuthorized\",\"PolicyMismatch\"]);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"putMembers.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/putMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from \"./putMembers.defs.js\";\nexport { main as default } from \"./putMembers.defs.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeMembers.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/removeMembers.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
declare const $nsid = "com.atproto.memberspace.removeMembers";
|
|
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
|
+
dids: l.ArraySchema<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<undefined, undefined>;
|
|
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
|
+
/** Remove members from a space in a single commit. DIDs that are not members are ignored. Requires auth as the space authority, implemented by PDS. */
|
|
21
|
+
declare const main: l.Procedure<"com.atproto.memberspace.removeMembers", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
22
|
+
space: l.StringSchema<{
|
|
23
|
+
readonly format: "space-ref";
|
|
24
|
+
}>;
|
|
25
|
+
dids: l.ArraySchema<l.StringSchema<{
|
|
26
|
+
readonly format: "did";
|
|
27
|
+
}>>;
|
|
28
|
+
}>>, l.Payload<undefined, undefined>, readonly ["SpaceNotFound", "NotAuthorized", "PolicyMismatch"]>;
|
|
29
|
+
export { main };
|
|
30
|
+
declare const $lxm = "com.atproto.memberspace.removeMembers";
|
|
31
|
+
type $lxm = typeof $lxm;
|
|
32
|
+
export { $lxm };
|
|
33
|
+
//# sourceMappingURL=removeMembers.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeMembers.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/removeMembers.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,QAAA,MAAM,KAAK,0CAA0C,CAAC;AAEtD,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;;;;;;;GAAkL,CAAC;AAEtM,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,iCAA4B,CAAC;AAEjD,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,uJAAuJ;AACvJ,QAAA,MAAM,IAAI;;;;;;;oGAAiH,CAAC;AAE5H,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,0CAAQ,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.memberspace.removeMembers";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "dids": /*#__PURE__*/ l.array(/*#__PURE__*/ l.string({ "format": "did" }), { "maxLength": 100 }) });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.payload();
|
|
10
|
+
/** Remove members from a space in a single commit. DIDs that are not members are ignored. Requires auth as the space authority, implemented by PDS. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["SpaceNotFound", "NotAuthorized", "PolicyMismatch"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
//# sourceMappingURL=removeMembers.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeMembers.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/removeMembers.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,MAAM,KAAK,GAAG,uCAAuC,CAAC;AAItD,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,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAE,EAAC,WAAW,EAAC,GAAG,EAAC,CAAC,EAAC,CAAC,CAAC;AAKtM,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAKjD,uJAAuJ;AACvJ,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,eAAe,EAAC,eAAe,EAAC,gBAAgB,CAAC,CAAC,CAAC;AAE5H,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.memberspace.removeMembers\";\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\"}),\"dids\":/*#__PURE__*/ l.array(/*#__PURE__*/ l.string({\"format\":\"did\"}), {\"maxLength\":100})});\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.payload();\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/** Remove members from a space in a single commit. DIDs that are not members are ignored. Requires auth as the space authority, implemented by PDS. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\"SpaceNotFound\",\"NotAuthorized\",\"PolicyMismatch\"]);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeMembers.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/memberspace/removeMembers.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from \"./removeMembers.defs.js\";\nexport { main as default } from \"./removeMembers.defs.js\";\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * as defs from "./memberspace/defs.js";
|
|
2
|
+
export * as listMembers from "./memberspace/listMembers.js";
|
|
3
|
+
export * as policy from "./memberspace/policy.js";
|
|
4
|
+
export * as putMembers from "./memberspace/putMembers.js";
|
|
5
|
+
export * as removeMembers from "./memberspace/removeMembers.js";
|
|
6
|
+
//# sourceMappingURL=memberspace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memberspace.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/com/atproto/memberspace.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,MAAM,MAAM,yBAAyB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,aAAa,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* THIS FILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
export * as defs from "./memberspace/defs.js";
|
|
5
|
+
export * as listMembers from "./memberspace/listMembers.js";
|
|
6
|
+
export * as policy from "./memberspace/policy.js";
|
|
7
|
+
export * as putMembers from "./memberspace/putMembers.js";
|
|
8
|
+
export * as removeMembers from "./memberspace/removeMembers.js";
|
|
9
|
+
//# sourceMappingURL=memberspace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memberspace.js","sourceRoot":"","sources":["../../../../src/lexicons/com/atproto/memberspace.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,MAAM,MAAM,yBAAyB,CAAC;AAClD,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,aAAa,MAAM,gCAAgC,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as defs from \"./memberspace/defs.js\";\nexport * as listMembers from \"./memberspace/listMembers.js\";\nexport * as policy from \"./memberspace/policy.js\";\nexport * as putMembers from \"./memberspace/putMembers.js\";\nexport * as removeMembers from \"./memberspace/removeMembers.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/personalspace/policy.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
declare const $nsid = "com.atproto.personalspace.policy";
|
|
3
|
+
type $nsid = typeof $nsid;
|
|
4
|
+
export { $nsid };
|
|
5
|
+
/** Space policy for personal data that only the space authority and authorized apps can read, such as bookmarks or drafts. */
|
|
6
|
+
type Main = {
|
|
7
|
+
$type?: "com.atproto.personalspace.policy";
|
|
8
|
+
};
|
|
9
|
+
export type { Main };
|
|
10
|
+
/** Space policy for personal data that only the space authority and authorized apps can read, such as bookmarks or drafts. */
|
|
11
|
+
declare const main: l.TypedObjectSchema<"com.atproto.personalspace.policy", l.Validator<Main, Main>>;
|
|
12
|
+
export { main };
|
|
13
|
+
declare const $type = "com.atproto.personalspace.policy";
|
|
14
|
+
type $type = typeof $type;
|
|
15
|
+
export { $type };
|
|
16
|
+
export declare const $isTypeOf: <TValue extends Record<string, unknown>>(value: TValue) => value is l.MaybeTypedObject<"com.atproto.personalspace.policy", TValue>;
|
|
17
|
+
export declare const $build: {
|
|
18
|
+
(input: Omit<Main, "$type">): {
|
|
19
|
+
$type: "com.atproto.personalspace.policy";
|
|
20
|
+
};
|
|
21
|
+
(input: Omit<Main, "$type">): {
|
|
22
|
+
$type: "com.atproto.personalspace.policy";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const $assert: (input: unknown, options?: l.ValidateOptions) => asserts input is {
|
|
26
|
+
$type?: "com.atproto.personalspace.policy";
|
|
27
|
+
};
|
|
28
|
+
export declare const $check: (input: unknown, options?: l.ValidateOptions) => void;
|
|
29
|
+
export declare const $cast: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
30
|
+
$type?: "com.atproto.personalspace.policy";
|
|
31
|
+
};
|
|
32
|
+
export declare const $ifMatches: <I>(input: I, options?: l.ValidateOptions) => (I & {
|
|
33
|
+
$type?: "com.atproto.personalspace.policy";
|
|
34
|
+
}) | undefined;
|
|
35
|
+
export declare const $matches: <I>(input: I, options?: l.ValidateOptions) => input is I & {
|
|
36
|
+
$type?: "com.atproto.personalspace.policy";
|
|
37
|
+
};
|
|
38
|
+
export declare const $parse: (input: unknown, options?: l.ParseOptions) => {
|
|
39
|
+
$type?: "com.atproto.personalspace.policy";
|
|
40
|
+
};
|
|
41
|
+
export declare const $safeParse: (input: unknown, options?: l.ParseOptions) => l.ValidationResult<{
|
|
42
|
+
$type?: "com.atproto.personalspace.policy";
|
|
43
|
+
}>;
|
|
44
|
+
export declare const $validate: <I>(input: I, options?: l.ValidateOptions) => I & {
|
|
45
|
+
$type?: "com.atproto.personalspace.policy";
|
|
46
|
+
};
|
|
47
|
+
export declare const $safeValidate: <I>(input: I, options?: l.ValidateOptions) => l.ValidationResult<I & {
|
|
48
|
+
$type?: "com.atproto.personalspace.policy";
|
|
49
|
+
}>;
|
|
50
|
+
//# sourceMappingURL=policy.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/personalspace/policy.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,QAAA,MAAM,KAAK,qCAAqC,CAAC;AAEjD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,8HAA8H;AAC9H,KAAK,IAAI,GAAG;IAAE,KAAK,CAAC,EAAE,kCAAkC,CAAA;CAAE,CAAC;AAE3D,YAAY,EAAE,IAAI,EAAE,CAAC;AAErB,8HAA8H;AAC9H,QAAA,MAAM,IAAI,kFAA+E,CAAC;AAE1F,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,KAAK,qCAAQ,CAAC;AAEpB,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,SAAS,oIAAyC,CAAC;AAChE,eAAO,MAAM,MAAM;;eAhBG,kCAAkC;;;eAAlC,kCAAkC;;CAgBC,CAAC;AAC1D,eAAO,MAAM,OAAO;YAjBE,kCAAkC;CAiBG,CAAC;AAC5D,eAAO,MAAM,MAAM,uDAAsC,CAAC;AAC1D,eAAO,MAAM,KAAK;YAnBI,kCAAkC;CAmBD,CAAC;AACxD,eAAO,MAAM,UAAU;YApBD,kCAAkC;cAoBS,CAAC;AAClE,eAAO,MAAM,QAAQ;YArBC,kCAAkC;CAqBK,CAAC;AAC9D,eAAO,MAAM,MAAM;YAtBG,kCAAkC;CAsBC,CAAC;AAC1D,eAAO,MAAM,UAAU;YAvBD,kCAAkC;EAuBS,CAAC;AAClE,eAAO,MAAM,SAAS;YAxBA,kCAAkC;CAwBO,CAAC;AAChE,eAAO,MAAM,aAAa;YAzBJ,kCAAkC;EAyBe,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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.personalspace.policy";
|
|
6
|
+
export { $nsid };
|
|
7
|
+
/** Space policy for personal data that only the space authority and authorized apps can read, such as bookmarks or drafts. */
|
|
8
|
+
const main = /*#__PURE__*/ l.typedObject($nsid, "main", /*#__PURE__*/ l.object({}));
|
|
9
|
+
export { main };
|
|
10
|
+
const $type = $nsid;
|
|
11
|
+
export { $type };
|
|
12
|
+
export const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);
|
|
13
|
+
export const $build = /*#__PURE__*/ main.build.bind(main);
|
|
14
|
+
export const $assert = /*#__PURE__*/ main.assert.bind(main);
|
|
15
|
+
export const $check = /*#__PURE__*/ main.check.bind(main);
|
|
16
|
+
export const $cast = /*#__PURE__*/ main.cast.bind(main);
|
|
17
|
+
export const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);
|
|
18
|
+
export const $matches = /*#__PURE__*/ main.matches.bind(main);
|
|
19
|
+
export const $parse = /*#__PURE__*/ main.parse.bind(main);
|
|
20
|
+
export const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);
|
|
21
|
+
export const $validate = /*#__PURE__*/ main.validate.bind(main);
|
|
22
|
+
export const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);
|
|
23
|
+
//# sourceMappingURL=policy.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/personalspace/policy.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,MAAM,KAAK,GAAG,kCAAkC,CAAC;AAIjD,OAAO,EAAE,KAAK,EAAE,CAAC;AAOjB,8HAA8H;AAC9H,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAO,KAAK,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;AAE1F,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,KAAK,GAAG,KAAK,CAAC;AAIpB,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC5D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACxD,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC9D,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1D,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAClE,MAAM,CAAC,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,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.personalspace.policy\";\n\ntype $nsid = typeof $nsid;\n\nexport { $nsid };\n\n/** Space policy for personal data that only the space authority and authorized apps can read, such as bookmarks or drafts. */\ntype Main = { $type?: \"com.atproto.personalspace.policy\" };\n\nexport type { Main };\n\n/** Space policy for personal data that only the space authority and authorized apps can read, such as bookmarks or drafts. */\nconst main = /*#__PURE__*/ l.typedObject<Main>($nsid, \"main\", /*#__PURE__*/ l.object({}));\n\nexport { main };\n\nconst $type = $nsid;\n\ntype $type = typeof $type;\n\nexport { $type };\n\nexport const $isTypeOf = /*#__PURE__*/ main.isTypeOf.bind(main);\nexport const $build = /*#__PURE__*/ main.build.bind(main);\nexport const $assert = /*#__PURE__*/ main.assert.bind(main);\nexport const $check = /*#__PURE__*/ main.check.bind(main);\nexport const $cast = /*#__PURE__*/ main.cast.bind(main);\nexport const $ifMatches = /*#__PURE__*/ main.ifMatches.bind(main);\nexport const $matches = /*#__PURE__*/ main.matches.bind(main);\nexport const $parse = /*#__PURE__*/ main.parse.bind(main);\nexport const $safeParse = /*#__PURE__*/ main.safeParse.bind(main);\nexport const $validate = /*#__PURE__*/ main.validate.bind(main);\nexport const $safeValidate = /*#__PURE__*/ main.safeValidate.bind(main);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/personalspace/policy.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * from \"./policy.defs.js\";\nexport { main as default } from \"./policy.defs.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"personalspace.d.ts","sourceRoot":"","sources":["../../../../src/lexicons/com/atproto/personalspace.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"personalspace.js","sourceRoot":"","sources":["../../../../src/lexicons/com/atproto/personalspace.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC","sourcesContent":["/*\n * THIS FILE WAS GENERATED BY \"@atproto/lex\". DO NOT EDIT.\n */\n\nexport * as policy from \"./personalspace/policy.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyWrites.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/applyWrites.ts"],"names":[],"mappings":"AAIA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { l } from "@atproto/lex-schema";
|
|
2
|
+
declare const $nsid = "com.atproto.space.applyWrites";
|
|
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
|
+
validate: l.OptionalSchema<l.BooleanSchema>;
|
|
15
|
+
writes: l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<Create, Create>>, l.TypedRefSchema<l.TypedObjectValidator<Update, Update>>, l.TypedRefSchema<l.TypedObjectValidator<Delete$0, Delete$0>>], true>>;
|
|
16
|
+
}>>;
|
|
17
|
+
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
18
|
+
export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
19
|
+
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
20
|
+
results: l.OptionalSchema<l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<CreateResult, CreateResult>>, l.TypedRefSchema<l.TypedObjectValidator<UpdateResult, UpdateResult>>, l.TypedRefSchema<l.TypedObjectValidator<DeleteResult, DeleteResult>>], true>>>;
|
|
21
|
+
}>>;
|
|
22
|
+
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
23
|
+
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
24
|
+
/** Apply a batch transaction of creates, updates, and deletes to a space repo. Requires auth, implemented by PDS. */
|
|
25
|
+
declare const main: l.Procedure<"com.atproto.space.applyWrites", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
26
|
+
space: l.StringSchema<{
|
|
27
|
+
readonly format: "space-ref";
|
|
28
|
+
}>;
|
|
29
|
+
repo: l.StringSchema<{
|
|
30
|
+
readonly format: "did";
|
|
31
|
+
}>;
|
|
32
|
+
validate: l.OptionalSchema<l.BooleanSchema>;
|
|
33
|
+
writes: l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<Create, Create>>, l.TypedRefSchema<l.TypedObjectValidator<Update, Update>>, l.TypedRefSchema<l.TypedObjectValidator<Delete$0, Delete$0>>], true>>;
|
|
34
|
+
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
35
|
+
results: l.OptionalSchema<l.ArraySchema<l.TypedUnionSchema<readonly [l.TypedRefSchema<l.TypedObjectValidator<CreateResult, CreateResult>>, l.TypedRefSchema<l.TypedObjectValidator<UpdateResult, UpdateResult>>, l.TypedRefSchema<l.TypedObjectValidator<DeleteResult, DeleteResult>>], true>>>;
|
|
36
|
+
}>>, readonly ["SpaceNotFound", "RecordNotFound", "RecordAlreadyExists"]>;
|
|
37
|
+
export { main };
|
|
38
|
+
declare const $lxm = "com.atproto.space.applyWrites";
|
|
39
|
+
type $lxm = typeof $lxm;
|
|
40
|
+
export { $lxm };
|
|
41
|
+
/** Operation which creates a new record. */
|
|
42
|
+
type Create = {
|
|
43
|
+
$type?: "com.atproto.space.applyWrites#create";
|
|
44
|
+
"collection": l.NsidString;
|
|
45
|
+
"rkey"?: l.RecordKeyString;
|
|
46
|
+
"value": l.LexMap;
|
|
47
|
+
};
|
|
48
|
+
export type { Create };
|
|
49
|
+
/** Operation which creates a new record. */
|
|
50
|
+
declare const create: l.TypedObjectSchema<"com.atproto.space.applyWrites#create", l.Validator<Create, Create>>;
|
|
51
|
+
export { create };
|
|
52
|
+
/** Operation which updates an existing record. */
|
|
53
|
+
type Update = {
|
|
54
|
+
$type?: "com.atproto.space.applyWrites#update";
|
|
55
|
+
"collection": l.NsidString;
|
|
56
|
+
"rkey": l.RecordKeyString;
|
|
57
|
+
"value": l.LexMap;
|
|
58
|
+
};
|
|
59
|
+
export type { Update };
|
|
60
|
+
/** Operation which updates an existing record. */
|
|
61
|
+
declare const update: l.TypedObjectSchema<"com.atproto.space.applyWrites#update", l.Validator<Update, Update>>;
|
|
62
|
+
export { update };
|
|
63
|
+
/** Operation which deletes an existing record. */
|
|
64
|
+
type Delete$0 = {
|
|
65
|
+
$type?: "com.atproto.space.applyWrites#delete";
|
|
66
|
+
"collection": l.NsidString;
|
|
67
|
+
"rkey": l.RecordKeyString;
|
|
68
|
+
};
|
|
69
|
+
export type { Delete$0 as Delete };
|
|
70
|
+
/** Operation which deletes an existing record. */
|
|
71
|
+
declare const delete$0: l.TypedObjectSchema<"com.atproto.space.applyWrites#delete", l.Validator<Delete$0, Delete$0>>;
|
|
72
|
+
export { delete$0 as "delete" };
|
|
73
|
+
type CreateResult = {
|
|
74
|
+
$type?: "com.atproto.space.applyWrites#createResult";
|
|
75
|
+
"uri": l.AtUriString;
|
|
76
|
+
"cid": l.CidString;
|
|
77
|
+
"validationStatus"?: "valid" | "unknown" | l.UnknownString;
|
|
78
|
+
};
|
|
79
|
+
export type { CreateResult };
|
|
80
|
+
declare const createResult: l.TypedObjectSchema<"com.atproto.space.applyWrites#createResult", l.Validator<CreateResult, CreateResult>>;
|
|
81
|
+
export { createResult };
|
|
82
|
+
type UpdateResult = {
|
|
83
|
+
$type?: "com.atproto.space.applyWrites#updateResult";
|
|
84
|
+
"uri": l.AtUriString;
|
|
85
|
+
"cid": l.CidString;
|
|
86
|
+
"validationStatus"?: "valid" | "unknown" | l.UnknownString;
|
|
87
|
+
};
|
|
88
|
+
export type { UpdateResult };
|
|
89
|
+
declare const updateResult: l.TypedObjectSchema<"com.atproto.space.applyWrites#updateResult", l.Validator<UpdateResult, UpdateResult>>;
|
|
90
|
+
export { updateResult };
|
|
91
|
+
type DeleteResult = {
|
|
92
|
+
$type?: "com.atproto.space.applyWrites#deleteResult";
|
|
93
|
+
};
|
|
94
|
+
export type { DeleteResult };
|
|
95
|
+
declare const deleteResult: l.TypedObjectSchema<"com.atproto.space.applyWrites#deleteResult", l.Validator<DeleteResult, DeleteResult>>;
|
|
96
|
+
export { deleteResult };
|
|
97
|
+
//# sourceMappingURL=applyWrites.defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyWrites.defs.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/applyWrites.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,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;;;;;;;;;GAAyb,CAAC;AAE7c,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;;GA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ILE WAS GENERATED BY "@atproto/lex". DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { l } from "@atproto/lex-schema";
|
|
5
|
+
const $nsid = "com.atproto.space.applyWrites";
|
|
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" }), "validate": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()), "writes": /*#__PURE__*/ l.array(/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => create)), /*#__PURE__*/ l.typedRef((() => update)), /*#__PURE__*/ l.typedRef((() => delete$0))], true)) });
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "results": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef((() => createResult)), /*#__PURE__*/ l.typedRef((() => updateResult)), /*#__PURE__*/ l.typedRef((() => deleteResult))], true))) });
|
|
10
|
+
/** Apply a batch transaction of creates, updates, and deletes to a space repo. Requires auth, implemented by PDS. */
|
|
11
|
+
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["SpaceNotFound", "RecordNotFound", "RecordAlreadyExists"]);
|
|
12
|
+
export { main };
|
|
13
|
+
const $lxm = $nsid;
|
|
14
|
+
export { $lxm };
|
|
15
|
+
/** Operation which creates a new record. */
|
|
16
|
+
const create = /*#__PURE__*/ l.typedObject($nsid, "create", /*#__PURE__*/ l.object({ "collection": /*#__PURE__*/ l.string({ "format": "nsid" }), "rkey": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "record-key" })), "value": /*#__PURE__*/ l.lexMap() }));
|
|
17
|
+
export { create };
|
|
18
|
+
/** Operation which updates an existing record. */
|
|
19
|
+
const update = /*#__PURE__*/ l.typedObject($nsid, "update", /*#__PURE__*/ l.object({ "collection": /*#__PURE__*/ l.string({ "format": "nsid" }), "rkey": /*#__PURE__*/ l.string({ "format": "record-key" }), "value": /*#__PURE__*/ l.lexMap() }));
|
|
20
|
+
export { update };
|
|
21
|
+
/** Operation which deletes an existing record. */
|
|
22
|
+
const delete$0 = /*#__PURE__*/ l.typedObject($nsid, "delete", /*#__PURE__*/ l.object({ "collection": /*#__PURE__*/ l.string({ "format": "nsid" }), "rkey": /*#__PURE__*/ l.string({ "format": "record-key" }) }));
|
|
23
|
+
export { delete$0 as "delete" };
|
|
24
|
+
const createResult = /*#__PURE__*/ l.typedObject($nsid, "createResult", /*#__PURE__*/ l.object({ "uri": /*#__PURE__*/ l.string({ "format": "at-uri" }), "cid": /*#__PURE__*/ l.string({ "format": "cid" }), "validationStatus": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()) }));
|
|
25
|
+
export { createResult };
|
|
26
|
+
const updateResult = /*#__PURE__*/ l.typedObject($nsid, "updateResult", /*#__PURE__*/ l.object({ "uri": /*#__PURE__*/ l.string({ "format": "at-uri" }), "cid": /*#__PURE__*/ l.string({ "format": "cid" }), "validationStatus": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()) }));
|
|
27
|
+
export { updateResult };
|
|
28
|
+
const deleteResult = /*#__PURE__*/ l.typedObject($nsid, "deleteResult", /*#__PURE__*/ l.object({}));
|
|
29
|
+
export { deleteResult };
|
|
30
|
+
//# sourceMappingURL=applyWrites.defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyWrites.defs.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/applyWrites.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAC;AAExC,MAAM,KAAK,GAAG,+BAA+B,CAAC;AAI9C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAA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AAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAuC,CAAC,EAAC,CAAC,CAAC,CAAC;AAE7T,OAAO,EAAE,YAAY,EAAE,CAAC;AAMxB,MAAM,YAAY,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAe,KAAK,EAAE,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;AAElH,OAAO,EAAE,YAAY,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.applyWrites\";\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\"}),\"validate\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.boolean()),\"writes\":/*#__PURE__*/ l.array(/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef<Create>((() => create) as any),/*#__PURE__*/ l.typedRef<Update>((() => update) as any),/*#__PURE__*/ l.typedRef<Delete$0>((() => delete$0) as any)], true), )});\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({\"results\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.array(/*#__PURE__*/ l.typedUnion([/*#__PURE__*/ l.typedRef<CreateResult>((() => createResult) as any),/*#__PURE__*/ l.typedRef<UpdateResult>((() => updateResult) as any),/*#__PURE__*/ l.typedRef<DeleteResult>((() => deleteResult) as any)], true), ))});\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/** Apply a batch transaction of creates, updates, and deletes to a space repo. Requires auth, implemented by PDS. */\nconst main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, [\"SpaceNotFound\",\"RecordNotFound\",\"RecordAlreadyExists\"]);\n\nexport { main };\n\nconst $lxm = $nsid;\n\ntype $lxm = typeof $lxm;\n\nexport { $lxm };\n\n/** Operation which creates a new record. */\ntype Create = { $type?: \"com.atproto.space.applyWrites#create\";\"collection\":l.NsidString;\"rkey\"?:l.RecordKeyString;\"value\":l.LexMap };\n\nexport type { Create };\n\n/** Operation which creates a new record. */\nconst create = /*#__PURE__*/ l.typedObject<Create>($nsid, \"create\", /*#__PURE__*/ l.object({\"collection\":/*#__PURE__*/ l.string({\"format\":\"nsid\"}),\"rkey\":/*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({\"format\":\"record-key\"})),\"value\":/*#__PURE__*/ l.lexMap()}));\n\nexport { create };\n\n/** Operation which updates an existing record. */\ntype Update = { $type?: \"com.atproto.space.applyWrites#update\";\"collection\":l.NsidString;\"rkey\":l.RecordKeyString;\"value\":l.LexMap };\n\nexport type { Update };\n\n/** Operation which updates an existing record. */\nconst update = /*#__PURE__*/ l.typedObject<Update>($nsid, \"update\", /*#__PURE__*/ l.object({\"collection\":/*#__PURE__*/ l.string({\"format\":\"nsid\"}),\"rkey\":/*#__PURE__*/ l.string({\"format\":\"record-key\"}),\"value\":/*#__PURE__*/ l.lexMap()}));\n\nexport { update };\n\n/** Operation which deletes an existing record. */\ntype Delete$0 = { $type?: \"com.atproto.space.applyWrites#delete\";\"collection\":l.NsidString;\"rkey\":l.RecordKeyString };\n\nexport type { Delete$0 as Delete };\n\n/** Operation which deletes an existing record. */\nconst delete$0 = /*#__PURE__*/ l.typedObject<Delete$0>($nsid, \"delete\", /*#__PURE__*/ l.object({\"collection\":/*#__PURE__*/ l.string({\"format\":\"nsid\"}),\"rkey\":/*#__PURE__*/ l.string({\"format\":\"record-key\"})}));\n\nexport { delete$0 as \"delete\" };\n\ntype CreateResult = { $type?: \"com.atproto.space.applyWrites#createResult\";\"uri\":l.AtUriString;\"cid\":l.CidString;\"validationStatus\"?:\"valid\" | \"unknown\" | l.UnknownString };\n\nexport type { CreateResult };\n\nconst createResult = /*#__PURE__*/ l.typedObject<CreateResult>($nsid, \"createResult\", /*#__PURE__*/ l.object({\"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 { createResult };\n\ntype UpdateResult = { $type?: \"com.atproto.space.applyWrites#updateResult\";\"uri\":l.AtUriString;\"cid\":l.CidString;\"validationStatus\"?:\"valid\" | \"unknown\" | l.UnknownString };\n\nexport type { UpdateResult };\n\nconst updateResult = /*#__PURE__*/ l.typedObject<UpdateResult>($nsid, \"updateResult\", /*#__PURE__*/ l.object({\"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 { updateResult };\n\ntype DeleteResult = { $type?: \"com.atproto.space.applyWrites#deleteResult\" };\n\nexport type { DeleteResult };\n\nconst deleteResult = /*#__PURE__*/ l.typedObject<DeleteResult>($nsid, \"deleteResult\", /*#__PURE__*/ l.object({}));\n\nexport { deleteResult };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyWrites.js","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/applyWrites.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 \"./applyWrites.defs.js\";\nexport { main as default } from \"./applyWrites.defs.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorizeSpaceSync.d.ts","sourceRoot":"","sources":["../../../../../src/lexicons/com/atproto/space/authorizeSpaceSync.ts"],"names":[],"mappings":"AAIA,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,IAAI,IAAI,OAAO,EAAE,MAAM,8BAA8B,CAAC"}
|