techne-sdk 0.0.0-stage → 0.1.0
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 +21 -0
- package/README.md +85 -2
- package/dist/catalog/catalog.gen.d.ts +841 -0
- package/dist/catalog/catalog.gen.js +29696 -0
- package/dist/catalog/index.d.ts +11 -0
- package/dist/catalog/index.js +11 -0
- package/dist/connect.d.ts +38 -0
- package/dist/connect.js +18 -0
- package/dist/generated/index.d.ts +2296 -0
- package/dist/generated/index.js +3320 -0
- package/dist/generated/lexicons.d.ts +17254 -0
- package/dist/generated/lexicons.js +9225 -0
- package/dist/generated/nsid.d.ts +529 -0
- package/dist/generated/nsid.js +1094 -0
- package/dist/generated/nsid.json +1082 -0
- package/dist/generated/records.d.ts +143 -0
- package/dist/generated/records.js +1 -0
- package/dist/generated/types/app/bsky/richtext/facet.d.ts +44 -0
- package/dist/generated/types/app/bsky/richtext/facet.js +39 -0
- package/dist/generated/types/com/atproto/admin/defs.d.ts +10 -0
- package/dist/generated/types/com/atproto/admin/defs.js +11 -0
- package/dist/generated/types/com/atproto/label/defs.d.ts +73 -0
- package/dist/generated/types/com/atproto/label/defs.js +39 -0
- package/dist/generated/types/com/atproto/moderation/createReport.d.ts +39 -0
- package/dist/generated/types/com/atproto/moderation/createReport.js +7 -0
- package/dist/generated/types/com/atproto/moderation/defs.d.ts +15 -0
- package/dist/generated/types/com/atproto/moderation/defs.js +18 -0
- package/dist/generated/types/com/atproto/repo/applyWrites.d.ts +88 -0
- package/dist/generated/types/com/atproto/repo/applyWrites.js +62 -0
- package/dist/generated/types/com/atproto/repo/createRecord.d.ts +43 -0
- package/dist/generated/types/com/atproto/repo/createRecord.js +20 -0
- package/dist/generated/types/com/atproto/repo/defs.d.ts +11 -0
- package/dist/generated/types/com/atproto/repo/defs.js +11 -0
- package/dist/generated/types/com/atproto/repo/deleteRecord.d.ts +36 -0
- package/dist/generated/types/com/atproto/repo/deleteRecord.js +20 -0
- package/dist/generated/types/com/atproto/repo/getRecord.d.ts +35 -0
- package/dist/generated/types/com/atproto/repo/getRecord.js +20 -0
- package/dist/generated/types/com/atproto/repo/listRecords.d.ts +41 -0
- package/dist/generated/types/com/atproto/repo/listRecords.js +14 -0
- package/dist/generated/types/com/atproto/repo/putRecord.d.ts +45 -0
- package/dist/generated/types/com/atproto/repo/putRecord.js +20 -0
- package/dist/generated/types/com/atproto/repo/strongRef.d.ts +11 -0
- package/dist/generated/types/com/atproto/repo/strongRef.js +11 -0
- package/dist/generated/types/com/atproto/server/getServiceAuth.d.ts +29 -0
- package/dist/generated/types/com/atproto/server/getServiceAuth.js +20 -0
- package/dist/generated/types/community/lexicon/calendar/event.d.ts +65 -0
- package/dist/generated/types/community/lexicon/calendar/event.js +35 -0
- package/dist/generated/types/community/lexicon/calendar/rsvp.d.ts +20 -0
- package/dist/generated/types/community/lexicon/calendar/rsvp.js +18 -0
- package/dist/generated/types/community/lexicon/location/address.d.ts +22 -0
- package/dist/generated/types/community/lexicon/location/address.js +11 -0
- package/dist/generated/types/community/lexicon/location/fsq.d.ts +16 -0
- package/dist/generated/types/community/lexicon/location/fsq.js +11 -0
- package/dist/generated/types/community/lexicon/location/geo.d.ts +15 -0
- package/dist/generated/types/community/lexicon/location/geo.js +11 -0
- package/dist/generated/types/community/lexicon/location/hthree.d.ts +14 -0
- package/dist/generated/types/community/lexicon/location/hthree.js +11 -0
- package/dist/generated/types/pub/techne/draft/accessRule.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/accessRule.js +33 -0
- package/dist/generated/types/pub/techne/draft/accountLink.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/accountLink.js +12 -0
- package/dist/generated/types/pub/techne/draft/actor/profile.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/actor/profile.js +12 -0
- package/dist/generated/types/pub/techne/draft/appAccess.d.ts +25 -0
- package/dist/generated/types/pub/techne/draft/appAccess.js +19 -0
- package/dist/generated/types/pub/techne/draft/appAccessRequest.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/appAccessRequest.js +12 -0
- package/dist/generated/types/pub/techne/draft/appConfig.d.ts +24 -0
- package/dist/generated/types/pub/techne/draft/appConfig.js +19 -0
- package/dist/generated/types/pub/techne/draft/approval.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/approval.js +12 -0
- package/dist/generated/types/pub/techne/draft/assessment.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/assessment.js +26 -0
- package/dist/generated/types/pub/techne/draft/attentionPrefs.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/attentionPrefs.js +12 -0
- package/dist/generated/types/pub/techne/draft/beacon.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/beacon.js +12 -0
- package/dist/generated/types/pub/techne/draft/beaconLists.d.ts +13 -0
- package/dist/generated/types/pub/techne/draft/beaconLists.js +12 -0
- package/dist/generated/types/pub/techne/draft/beaconSpot.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/beaconSpot.js +12 -0
- package/dist/generated/types/pub/techne/draft/block.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/block.js +12 -0
- package/dist/generated/types/pub/techne/draft/channelVerification.d.ts +15 -0
- package/dist/generated/types/pub/techne/draft/channelVerification.js +12 -0
- package/dist/generated/types/pub/techne/draft/circleBeacon.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/circleBeacon.js +12 -0
- package/dist/generated/types/pub/techne/draft/collective.d.ts +29 -0
- package/dist/generated/types/pub/techne/draft/collective.js +12 -0
- package/dist/generated/types/pub/techne/draft/commons/createServiceAccount.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/commons/createServiceAccount.js +55 -0
- package/dist/generated/types/pub/techne/draft/commons/getVersions.d.ts +78 -0
- package/dist/generated/types/pub/techne/draft/commons/getVersions.js +41 -0
- package/dist/generated/types/pub/techne/draft/commons/moveAccountHandle.d.ts +45 -0
- package/dist/generated/types/pub/techne/draft/commons/moveAccountHandle.js +48 -0
- package/dist/generated/types/pub/techne/draft/commons/runChain.d.ts +53 -0
- package/dist/generated/types/pub/techne/draft/commons/runChain.js +34 -0
- package/dist/generated/types/pub/techne/draft/connection.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/connection.js +12 -0
- package/dist/generated/types/pub/techne/draft/contact.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/contact.js +12 -0
- package/dist/generated/types/pub/techne/draft/contactChannel.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/contactChannel.js +12 -0
- package/dist/generated/types/pub/techne/draft/contactList.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/contactList.js +12 -0
- package/dist/generated/types/pub/techne/draft/containedIn.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/containedIn.js +12 -0
- package/dist/generated/types/pub/techne/draft/credential.d.ts +39 -0
- package/dist/generated/types/pub/techne/draft/credential.js +19 -0
- package/dist/generated/types/pub/techne/draft/credentialRevocation.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/credentialRevocation.js +12 -0
- package/dist/generated/types/pub/techne/draft/derivation.d.ts +50 -0
- package/dist/generated/types/pub/techne/draft/derivation.js +26 -0
- package/dist/generated/types/pub/techne/draft/description.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/description.js +12 -0
- package/dist/generated/types/pub/techne/draft/distinctFrom.d.ts +15 -0
- package/dist/generated/types/pub/techne/draft/distinctFrom.js +12 -0
- package/dist/generated/types/pub/techne/draft/evaluation.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/evaluation.js +12 -0
- package/dist/generated/types/pub/techne/draft/event/config.d.ts +22 -0
- package/dist/generated/types/pub/techne/draft/event/config.js +12 -0
- package/dist/generated/types/pub/techne/draft/event/detail.d.ts +25 -0
- package/dist/generated/types/pub/techne/draft/event/detail.js +12 -0
- package/dist/generated/types/pub/techne/draft/event/listing.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/event/listing.js +12 -0
- package/dist/generated/types/pub/techne/draft/feed/recipe.d.ts +50 -0
- package/dist/generated/types/pub/techne/draft/feed/recipe.js +26 -0
- package/dist/generated/types/pub/techne/draft/geo.d.ts +19 -0
- package/dist/generated/types/pub/techne/draft/geo.js +12 -0
- package/dist/generated/types/pub/techne/draft/heldAt.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/heldAt.js +12 -0
- package/dist/generated/types/pub/techne/draft/identity/accountsForPhones.d.ts +43 -0
- package/dist/generated/types/pub/techne/draft/identity/accountsForPhones.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/attest.d.ts +48 -0
- package/dist/generated/types/pub/techne/draft/identity/attest.js +48 -0
- package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.d.ts +35 -0
- package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/checkLinkToken.d.ts +41 -0
- package/dist/generated/types/pub/techne/draft/identity/checkLinkToken.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/createCollective.d.ts +28 -0
- package/dist/generated/types/pub/techne/draft/identity/createCollective.js +20 -0
- package/dist/generated/types/pub/techne/draft/identity/createLinkToken.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/identity/createLinkToken.js +48 -0
- package/dist/generated/types/pub/techne/draft/identity/defs.d.ts +75 -0
- package/dist/generated/types/pub/techne/draft/identity/defs.js +53 -0
- package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.d.ts +46 -0
- package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/fold.d.ts +37 -0
- package/dist/generated/types/pub/techne/draft/identity/fold.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/holdForPhone.d.ts +54 -0
- package/dist/generated/types/pub/techne/draft/identity/holdForPhone.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/link.d.ts +35 -0
- package/dist/generated/types/pub/techne/draft/identity/link.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/linkRedeemed.d.ts +46 -0
- package/dist/generated/types/pub/techne/draft/identity/linkRedeemed.js +48 -0
- package/dist/generated/types/pub/techne/draft/identity/linkRedemption.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/identity/linkRedemption.js +12 -0
- package/dist/generated/types/pub/techne/draft/identity/listLinkRedemptions.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/identity/listLinkRedemptions.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/listLinkTokens.d.ts +39 -0
- package/dist/generated/types/pub/techne/draft/identity/listLinkTokens.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/listMethods.d.ts +24 -0
- package/dist/generated/types/pub/techne/draft/identity/listMethods.js +20 -0
- package/dist/generated/types/pub/techne/draft/identity/listPhoneHolds.d.ts +49 -0
- package/dist/generated/types/pub/techne/draft/identity/listPhoneHolds.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/redeemLinkToken.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/identity/redeemLinkToken.js +55 -0
- package/dist/generated/types/pub/techne/draft/identity/releasePhoneHold.d.ts +32 -0
- package/dist/generated/types/pub/techne/draft/identity/releasePhoneHold.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/resetLinkToken.d.ts +45 -0
- package/dist/generated/types/pub/techne/draft/identity/resetLinkToken.js +48 -0
- package/dist/generated/types/pub/techne/draft/identity/resolve.d.ts +39 -0
- package/dist/generated/types/pub/techne/draft/identity/resolve.js +34 -0
- package/dist/generated/types/pub/techne/draft/identity/revokeLinkToken.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/identity/revokeLinkToken.js +41 -0
- package/dist/generated/types/pub/techne/draft/identity/unlinkAccount.d.ts +29 -0
- package/dist/generated/types/pub/techne/draft/identity/unlinkAccount.js +27 -0
- package/dist/generated/types/pub/techne/draft/identity/unlinkMethod.d.ts +32 -0
- package/dist/generated/types/pub/techne/draft/identity/unlinkMethod.js +34 -0
- package/dist/generated/types/pub/techne/draft/interest.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/interest.js +12 -0
- package/dist/generated/types/pub/techne/draft/introProposal.d.ts +28 -0
- package/dist/generated/types/pub/techne/draft/introProposal.js +19 -0
- package/dist/generated/types/pub/techne/draft/invite.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/invite.js +12 -0
- package/dist/generated/types/pub/techne/draft/market/ask.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/market/ask.js +12 -0
- package/dist/generated/types/pub/techne/draft/market/offer.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/market/offer.js +12 -0
- package/dist/generated/types/pub/techne/draft/membership.d.ts +22 -0
- package/dist/generated/types/pub/techne/draft/membership.js +12 -0
- package/dist/generated/types/pub/techne/draft/notificationState.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/notificationState.js +12 -0
- package/dist/generated/types/pub/techne/draft/operator.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/operator.js +12 -0
- package/dist/generated/types/pub/techne/draft/org.d.ts +42 -0
- package/dist/generated/types/pub/techne/draft/org.js +19 -0
- package/dist/generated/types/pub/techne/draft/passage.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/passage.js +12 -0
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpot.d.ts +19 -0
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpot.js +12 -0
- package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.js +55 -0
- package/dist/generated/types/pub/techne/draft/permissioned/getGrants.d.ts +32 -0
- package/dist/generated/types/pub/techne/draft/permissioned/getGrants.js +34 -0
- package/dist/generated/types/pub/techne/draft/permissioned/getRecord.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/permissioned/getRecord.js +34 -0
- package/dist/generated/types/pub/techne/draft/permissioned/listChanges.d.ts +71 -0
- package/dist/generated/types/pub/techne/draft/permissioned/listChanges.js +41 -0
- package/dist/generated/types/pub/techne/draft/permissioned/listRecords.d.ts +53 -0
- package/dist/generated/types/pub/techne/draft/permissioned/listRecords.js +34 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecord.d.ts +70 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecord.js +76 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecords.d.ts +84 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecords.js +69 -0
- package/dist/generated/types/pub/techne/draft/place.d.ts +36 -0
- package/dist/generated/types/pub/techne/draft/place.js +19 -0
- package/dist/generated/types/pub/techne/draft/post.d.ts +30 -0
- package/dist/generated/types/pub/techne/draft/post.js +19 -0
- package/dist/generated/types/pub/techne/draft/presence.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/presence.js +12 -0
- package/dist/generated/types/pub/techne/draft/profile.d.ts +53 -0
- package/dist/generated/types/pub/techne/draft/profile.js +33 -0
- package/dist/generated/types/pub/techne/draft/provenance.d.ts +52 -0
- package/dist/generated/types/pub/techne/draft/provenance.js +33 -0
- package/dist/generated/types/pub/techne/draft/publisher.d.ts +43 -0
- package/dist/generated/types/pub/techne/draft/publisher.js +19 -0
- package/dist/generated/types/pub/techne/draft/query/countRecords.d.ts +47 -0
- package/dist/generated/types/pub/techne/draft/query/countRecords.js +34 -0
- package/dist/generated/types/pub/techne/draft/query/getRecords.d.ts +86 -0
- package/dist/generated/types/pub/techne/draft/query/getRecords.js +48 -0
- package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +83 -0
- package/dist/generated/types/pub/techne/draft/query/listRecords.js +34 -0
- package/dist/generated/types/pub/techne/draft/query/listRejections.d.ts +50 -0
- package/dist/generated/types/pub/techne/draft/query/listRejections.js +27 -0
- package/dist/generated/types/pub/techne/draft/questionSet.d.ts +31 -0
- package/dist/generated/types/pub/techne/draft/questionSet.js +19 -0
- package/dist/generated/types/pub/techne/draft/receipt.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/receipt.js +12 -0
- package/dist/generated/types/pub/techne/draft/reflection.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/reflection.js +12 -0
- package/dist/generated/types/pub/techne/draft/retirement.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/retirement.js +12 -0
- package/dist/generated/types/pub/techne/draft/rsvpNote.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/rsvpNote.js +12 -0
- package/dist/generated/types/pub/techne/draft/sameAs.d.ts +15 -0
- package/dist/generated/types/pub/techne/draft/sameAs.js +12 -0
- package/dist/generated/types/pub/techne/draft/scraper/cursor.d.ts +17 -0
- package/dist/generated/types/pub/techne/draft/scraper/cursor.js +12 -0
- package/dist/generated/types/pub/techne/draft/scraper/raw.d.ts +31 -0
- package/dist/generated/types/pub/techne/draft/scraper/raw.js +12 -0
- package/dist/generated/types/pub/techne/draft/share.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/share.js +12 -0
- package/dist/generated/types/pub/techne/draft/source.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/source.js +12 -0
- package/dist/generated/types/pub/techne/draft/sourceAttribution.d.ts +25 -0
- package/dist/generated/types/pub/techne/draft/sourceAttribution.js +12 -0
- package/dist/generated/types/pub/techne/draft/sourceRef.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/sourceRef.js +12 -0
- package/dist/generated/types/pub/techne/draft/subjectPrefs.d.ts +18 -0
- package/dist/generated/types/pub/techne/draft/subjectPrefs.js +12 -0
- package/dist/generated/types/pub/techne/draft/sync/indexRecord.d.ts +48 -0
- package/dist/generated/types/pub/techne/draft/sync/indexRecord.js +55 -0
- package/dist/generated/types/pub/techne/draft/verdict.d.ts +16 -0
- package/dist/generated/types/pub/techne/draft/verdict.js +12 -0
- package/dist/generated/types/pub/techne/draft/verification.d.ts +14 -0
- package/dist/generated/types/pub/techne/draft/verification.js +12 -0
- package/dist/generated/types/pub/techne/draft/weeklyCheckIn.d.ts +21 -0
- package/dist/generated/types/pub/techne/draft/weeklyCheckIn.js +12 -0
- package/dist/generated/types/social/scenius/approveAppAccess.d.ts +36 -0
- package/dist/generated/types/social/scenius/approveAppAccess.js +27 -0
- package/dist/generated/types/social/scenius/createCirclePost.d.ts +39 -0
- package/dist/generated/types/social/scenius/createCirclePost.js +41 -0
- package/dist/generated/types/social/scenius/createContactInvite.d.ts +41 -0
- package/dist/generated/types/social/scenius/createContactInvite.js +34 -0
- package/dist/generated/types/social/scenius/deleteCirclePost.d.ts +34 -0
- package/dist/generated/types/social/scenius/deleteCirclePost.js +34 -0
- package/dist/generated/types/social/scenius/deleteCircleProfile.d.ts +33 -0
- package/dist/generated/types/social/scenius/deleteCircleProfile.js +34 -0
- package/dist/generated/types/social/scenius/getAppAccess.d.ts +30 -0
- package/dist/generated/types/social/scenius/getAppAccess.js +27 -0
- package/dist/generated/types/social/scenius/getAppConfig.d.ts +26 -0
- package/dist/generated/types/social/scenius/getAppConfig.js +7 -0
- package/dist/generated/types/social/scenius/getCircleThread.d.ts +48 -0
- package/dist/generated/types/social/scenius/getCircleThread.js +41 -0
- package/dist/generated/types/social/scenius/getContactInvite.d.ts +37 -0
- package/dist/generated/types/social/scenius/getContactInvite.js +27 -0
- package/dist/generated/types/social/scenius/listAppAccess.d.ts +35 -0
- package/dist/generated/types/social/scenius/listAppAccess.js +27 -0
- package/dist/generated/types/social/scenius/listCirclePosts.d.ts +47 -0
- package/dist/generated/types/social/scenius/listCirclePosts.js +34 -0
- package/dist/generated/types/social/scenius/listCircleProfiles.d.ts +50 -0
- package/dist/generated/types/social/scenius/listCircleProfiles.js +41 -0
- package/dist/generated/types/social/scenius/previewContactInvite.d.ts +37 -0
- package/dist/generated/types/social/scenius/previewContactInvite.js +34 -0
- package/dist/generated/types/social/scenius/putCircleProfile.d.ts +39 -0
- package/dist/generated/types/social/scenius/putCircleProfile.js +41 -0
- package/dist/generated/types/social/scenius/redeemContactInvite.d.ts +43 -0
- package/dist/generated/types/social/scenius/redeemContactInvite.js +48 -0
- package/dist/generated/types/social/scenius/revokeContactInvite.d.ts +33 -0
- package/dist/generated/types/social/scenius/revokeContactInvite.js +20 -0
- package/dist/generated/util.d.ts +36 -0
- package/dist/generated/util.js +32 -0
- package/dist/links/index.d.ts +65 -0
- package/dist/links/index.js +119 -0
- package/dist/put/contacts.d.ts +29 -0
- package/dist/put/contacts.js +109 -0
- package/dist/put/index.d.ts +148 -0
- package/dist/put/index.js +252 -0
- package/dist/query/hosts.d.ts +77 -0
- package/dist/query/hosts.js +227 -0
- package/dist/query/index.d.ts +201 -0
- package/dist/query/index.js +167 -0
- package/dist/versions/index.d.ts +121 -0
- package/dist/versions/index.js +90 -0
- package/dist/versions/react.d.ts +53 -0
- package/dist/versions/react.js +81 -0
- package/dist/wasm/index.d.ts +73 -0
- package/dist/wasm/index.js +51 -0
- package/dist/wasm/load.d.ts +2 -0
- package/dist/wasm/load.js +16 -0
- package/dist/wasm/load.native.d.ts +11 -0
- package/dist/wasm/load.native.js +3 -0
- package/dist/wasm/techne-wasm.gen.d.ts +2 -0
- package/dist/wasm/techne-wasm.gen.js +3 -0
- package/dist/wasm/techne-wasm2js.gen.d.ts +6 -0
- package/dist/wasm/techne-wasm2js.gen.js +90023 -0
- package/package.json +126 -4
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
6
|
+
export type QueryParams = {
|
|
7
|
+
/** A pub.techne.draft.query object, as JSON. Give this or `queryUri`. */
|
|
8
|
+
query?: string;
|
|
9
|
+
/** A published pub.techne.draft.query record to run. Give this or `query`. */
|
|
10
|
+
queryUri?: string;
|
|
11
|
+
/** The query's parameters as a JSON object of strings (or lists of strings), e.g. {"here": "40.01,-105.27"}. `$viewer` and `$now` are the platform's and cannot be passed. */
|
|
12
|
+
params?: string;
|
|
13
|
+
/** Count per type or per author instead of in all. */
|
|
14
|
+
groupBy?: 'type' | 'author' | (string & {});
|
|
15
|
+
};
|
|
16
|
+
export type InputSchema = undefined;
|
|
17
|
+
export interface OutputSchema {
|
|
18
|
+
/** Records counted (at most 1000). */
|
|
19
|
+
count: number;
|
|
20
|
+
/** True when the count stopped at 1000. */
|
|
21
|
+
capped: boolean;
|
|
22
|
+
/** With groupBy: the count per key, largest first. */
|
|
23
|
+
groups?: Group[];
|
|
24
|
+
}
|
|
25
|
+
export interface CallOptions {
|
|
26
|
+
signal?: AbortSignal;
|
|
27
|
+
headers?: HeadersMap;
|
|
28
|
+
}
|
|
29
|
+
export interface Response {
|
|
30
|
+
success: boolean;
|
|
31
|
+
headers: HeadersMap;
|
|
32
|
+
data: OutputSchema;
|
|
33
|
+
}
|
|
34
|
+
export declare class InvalidRequestError extends XRPCError {
|
|
35
|
+
constructor(src: XRPCError);
|
|
36
|
+
}
|
|
37
|
+
export declare class NotFoundError extends XRPCError {
|
|
38
|
+
constructor(src: XRPCError);
|
|
39
|
+
}
|
|
40
|
+
export declare function toKnownErr(e: any): any;
|
|
41
|
+
export interface Group {
|
|
42
|
+
$type?: 'pub.techne.draft.query.countRecords#group';
|
|
43
|
+
key: string;
|
|
44
|
+
count: number;
|
|
45
|
+
}
|
|
46
|
+
export declare function isGroup<V>(v: V): v is import("../../../../../util.js").$TypedObject<V, "pub.techne.draft.query.countRecords", "group">;
|
|
47
|
+
export declare function validateGroup<V>(v: V): ValidationResult<Group & V>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { validate as _validate } from '../../../../../lexicons.js';
|
|
6
|
+
import { is$typed as _is$typed, } from '../../../../../util.js';
|
|
7
|
+
const is$typed = _is$typed, validate = _validate;
|
|
8
|
+
const id = 'pub.techne.draft.query.countRecords';
|
|
9
|
+
export class InvalidRequestError extends XRPCError {
|
|
10
|
+
constructor(src) {
|
|
11
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class NotFoundError extends XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export function toKnownErr(e) {
|
|
20
|
+
if (e instanceof XRPCError) {
|
|
21
|
+
if (e.error === 'InvalidRequest')
|
|
22
|
+
return new InvalidRequestError(e);
|
|
23
|
+
if (e.error === 'NotFound')
|
|
24
|
+
return new NotFoundError(e);
|
|
25
|
+
}
|
|
26
|
+
return e;
|
|
27
|
+
}
|
|
28
|
+
const hashGroup = 'group';
|
|
29
|
+
export function isGroup(v) {
|
|
30
|
+
return is$typed(v, id, hashGroup);
|
|
31
|
+
}
|
|
32
|
+
export function validateGroup(v) {
|
|
33
|
+
return validate(v, id, hashGroup);
|
|
34
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
6
|
+
import type * as PubTechneDraftQueryListRecords from './listRecords.js';
|
|
7
|
+
export type QueryParams = {
|
|
8
|
+
uris: string[];
|
|
9
|
+
/** Also answer `handles`: the public handle of each repo the asked URIs name. Default false. */
|
|
10
|
+
handles?: boolean;
|
|
11
|
+
/** Answer each asked URI as the curated record it resolves to (a source copy, or a record merged into another, answers as the curated record that claims it), when that record is listed in public now (curated, moderated, not held back); otherwise the URI answers as itself, as written. `resolved` names each one answered as another record. A URI moderation holds back is `withheld` and never resolved; the caller's own held-back post is answered to them as itself. A source whose account is not active still resolves: the claim is the curated record's public provenance, not the source row. A source of a suspended account, or, to a signed-in caller, one whose author is across a block either way (see `includeBlockedByMe`), is not resolved: it answers as itself, and so is left out. Records come once each, in the order first asked. Default false: as written. */
|
|
12
|
+
curated?: boolean;
|
|
13
|
+
/** Also answer `curation`, signed in: the curation status of each asked URI that is the caller's own record (in their repo, a commons post they made, or the curated record standing for one), the answer a write's `put` gives, read back later. Nobody else's record is answered, nor one held privately (private records are never curated). Default false. */
|
|
14
|
+
curation?: boolean;
|
|
15
|
+
/** Also answer `defaults`, signed in: each asked URI naming a record of the caller's own that is missing, for which the platform reads a starting value in its place. Today that is a subjectPrefs record for a circle someone outside the caller's People added them to: Notifications start off (Show in my feed on) until the caller writes the record. Nobody else's is answered. Default false. */
|
|
16
|
+
defaults?: boolean;
|
|
17
|
+
/** Signed in: lift the caller's OWN blocks for this read, so records and `handles` of people the caller blocked are answered (a client's list of the people its user blocked, to name them). Every generic read otherwise leaves out, for a signed-in caller, the records and handles of an account blocked either way, and for everyone those of a hidden or suspended account. A block made against the caller is never lifted, nor is a hidden or suspended account shown. Default false. */
|
|
18
|
+
includeBlockedByMe?: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type InputSchema = undefined;
|
|
21
|
+
export interface OutputSchema {
|
|
22
|
+
records: PubTechneDraftQueryListRecords.Record[];
|
|
23
|
+
/** The asked URIs of indexed public records moderation holds back from this caller, their author's account active and not suspended (a trusted verdict or a takedown, or a curated record every source of which is held back or by an account not active or suspended): they answer not found, and a client must not show another copy (the curated record they resolve to) in their place, as it may for a record that is gone or merged away. A caller's own commons post held back is answered to them instead (their own source, or the record it resolves to; not another author's source merged into it). A record whose author's account is not active or is suspended is not found and never named here; to a signed-in caller, neither is a record by an author blocked either way, or a curated record every source of which is by an author blocked either way, not active or suspended. Absent when none. */
|
|
24
|
+
withheld?: string[];
|
|
25
|
+
/** Only when asked with `handles`: the public handle of each repo the asked URIs name, whether or not its record was found or readable (handles are public directory data), in the order first asked, so a client can name a person whose profile has no name. A repo whose account is not active or is suspended, or that has no handle, is not named, nor, to a signed-in caller, one across a block either way (see `includeBlockedByMe`). Absent when none. */
|
|
26
|
+
handles?: Handle[];
|
|
27
|
+
/** Only when asked with `curated`: each asked URI (once) that answered as another record, and that curated record. Absent when none. */
|
|
28
|
+
resolved?: Resolved[];
|
|
29
|
+
/** Only when asked with `curation`, signed in: the curation status of each asked URI (once, in the order first asked) that is the caller's own. Absent when none. */
|
|
30
|
+
curation?: Curation[];
|
|
31
|
+
/** Only when asked with `defaults`, signed in: each asked URI (once, in the order first asked) naming a missing record of the caller's own that the platform reads a starting value for, and that value. A client shows it as the record's value until the caller writes the record. Absent when none. */
|
|
32
|
+
defaults?: Default[];
|
|
33
|
+
}
|
|
34
|
+
export interface CallOptions {
|
|
35
|
+
signal?: AbortSignal;
|
|
36
|
+
headers?: HeadersMap;
|
|
37
|
+
}
|
|
38
|
+
export interface Response {
|
|
39
|
+
success: boolean;
|
|
40
|
+
headers: HeadersMap;
|
|
41
|
+
data: OutputSchema;
|
|
42
|
+
}
|
|
43
|
+
export declare class InvalidRequestError extends XRPCError {
|
|
44
|
+
constructor(src: XRPCError);
|
|
45
|
+
}
|
|
46
|
+
export declare function toKnownErr(e: any): any;
|
|
47
|
+
export interface Handle {
|
|
48
|
+
$type?: 'pub.techne.draft.query.getRecords#handle';
|
|
49
|
+
did: string;
|
|
50
|
+
handle: string;
|
|
51
|
+
}
|
|
52
|
+
export declare function isHandle<V>(v: V): v is import("../../../../../util.js").$TypedObject<V, "pub.techne.draft.query.getRecords", "handle">;
|
|
53
|
+
export declare function validateHandle<V>(v: V): ValidationResult<Handle & V>;
|
|
54
|
+
export interface Resolved {
|
|
55
|
+
$type?: 'pub.techne.draft.query.getRecords#resolved';
|
|
56
|
+
/** The URI asked. */
|
|
57
|
+
uri: string;
|
|
58
|
+
/** The curated record that answered for it. */
|
|
59
|
+
curated: string;
|
|
60
|
+
}
|
|
61
|
+
export declare function isResolved<V>(v: V): v is import("../../../../../util.js").$TypedObject<V, "pub.techne.draft.query.getRecords", "resolved">;
|
|
62
|
+
export declare function validateResolved<V>(v: V): ValidationResult<Resolved & V>;
|
|
63
|
+
export interface Curation {
|
|
64
|
+
$type?: 'pub.techne.draft.query.getRecords#curation';
|
|
65
|
+
/** The URI asked. */
|
|
66
|
+
uri: string;
|
|
67
|
+
/** `pending`: not listed for others yet (the curator or moderation has not answered). `curated`: listed in public as `curated`. `notCurated`: it will not be listed, for `reason` (moderation declined it, the index refused the version, a type with no lexicon, or a type no curator is endorsed for). */
|
|
68
|
+
status: 'pending' | 'curated' | 'notCurated' | (string & {});
|
|
69
|
+
/** With `curated`: the curated record listed for it (itself when it is that record). */
|
|
70
|
+
curated?: string;
|
|
71
|
+
/** With `notCurated`: why, in words for people (a moderation label value, the index's refusal, or `not curated: no lexicon` / `not curated: no curator`). */
|
|
72
|
+
reason?: string;
|
|
73
|
+
}
|
|
74
|
+
export declare function isCuration<V>(v: V): v is import("../../../../../util.js").$TypedObject<V, "pub.techne.draft.query.getRecords", "curation">;
|
|
75
|
+
export declare function validateCuration<V>(v: V): ValidationResult<Curation & V>;
|
|
76
|
+
export interface Default {
|
|
77
|
+
$type?: 'pub.techne.draft.query.getRecords#default';
|
|
78
|
+
/** The URI asked: a record of the caller's own, missing. */
|
|
79
|
+
uri: string;
|
|
80
|
+
/** The record value the platform reads in its place. */
|
|
81
|
+
value: {
|
|
82
|
+
[_ in string]: unknown;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export declare function isDefault<V>(v: V): v is import("../../../../../util.js").$TypedObject<V, "pub.techne.draft.query.getRecords", "default">;
|
|
86
|
+
export declare function validateDefault<V>(v: V): ValidationResult<Default & V>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { validate as _validate } from '../../../../../lexicons.js';
|
|
6
|
+
import { is$typed as _is$typed, } from '../../../../../util.js';
|
|
7
|
+
const is$typed = _is$typed, validate = _validate;
|
|
8
|
+
const id = 'pub.techne.draft.query.getRecords';
|
|
9
|
+
export class InvalidRequestError extends XRPCError {
|
|
10
|
+
constructor(src) {
|
|
11
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export function toKnownErr(e) {
|
|
15
|
+
if (e instanceof XRPCError) {
|
|
16
|
+
if (e.error === 'InvalidRequest')
|
|
17
|
+
return new InvalidRequestError(e);
|
|
18
|
+
}
|
|
19
|
+
return e;
|
|
20
|
+
}
|
|
21
|
+
const hashHandle = 'handle';
|
|
22
|
+
export function isHandle(v) {
|
|
23
|
+
return is$typed(v, id, hashHandle);
|
|
24
|
+
}
|
|
25
|
+
export function validateHandle(v) {
|
|
26
|
+
return validate(v, id, hashHandle);
|
|
27
|
+
}
|
|
28
|
+
const hashResolved = 'resolved';
|
|
29
|
+
export function isResolved(v) {
|
|
30
|
+
return is$typed(v, id, hashResolved);
|
|
31
|
+
}
|
|
32
|
+
export function validateResolved(v) {
|
|
33
|
+
return validate(v, id, hashResolved);
|
|
34
|
+
}
|
|
35
|
+
const hashCuration = 'curation';
|
|
36
|
+
export function isCuration(v) {
|
|
37
|
+
return is$typed(v, id, hashCuration);
|
|
38
|
+
}
|
|
39
|
+
export function validateCuration(v) {
|
|
40
|
+
return validate(v, id, hashCuration);
|
|
41
|
+
}
|
|
42
|
+
const hashDefault = 'default';
|
|
43
|
+
export function isDefault(v) {
|
|
44
|
+
return is$typed(v, id, hashDefault);
|
|
45
|
+
}
|
|
46
|
+
export function validateDefault(v) {
|
|
47
|
+
return validate(v, id, hashDefault);
|
|
48
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
6
|
+
export type QueryParams = {
|
|
7
|
+
/** A pub.techne.draft.query object, as JSON. Give this or `queryUri`. */
|
|
8
|
+
query?: string;
|
|
9
|
+
/** A published pub.techne.draft.query record to run. Give this or `query`. */
|
|
10
|
+
queryUri?: string;
|
|
11
|
+
/** The query's parameters as a JSON object of strings (or lists of strings), e.g. {"here": "40.01,-105.27"}. `$viewer` and `$now` are the platform's and cannot be passed. */
|
|
12
|
+
params?: string;
|
|
13
|
+
/** The page size; default the query's `limit`, else 50. */
|
|
14
|
+
limit?: number;
|
|
15
|
+
/** The cursor of the previous page, opaque: pass it back as it came, with the same query. */
|
|
16
|
+
cursor?: string;
|
|
17
|
+
/** Also count the records the query answers this caller, as pub.techne.draft.query.countRecords would for the same query and params: the output gains `count` and `capped`. */
|
|
18
|
+
count?: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type InputSchema = undefined;
|
|
21
|
+
export interface OutputSchema {
|
|
22
|
+
/** In the query's order, ties broken by URI. */
|
|
23
|
+
records: Record[];
|
|
24
|
+
/** Pass it back as cursor for the next page. Absent on the last page; a page shorter than `limit` is not the last page while it carries one. */
|
|
25
|
+
cursor?: string;
|
|
26
|
+
/** Only when asked with `count=true`: how many records the query answers this caller, each once, up to countRecords' cap (countRecords' `count`). */
|
|
27
|
+
count?: number;
|
|
28
|
+
/** Only when asked with `count=true`: true when there are more than `count` (countRecords' `capped`). */
|
|
29
|
+
capped?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface CallOptions {
|
|
32
|
+
signal?: AbortSignal;
|
|
33
|
+
headers?: HeadersMap;
|
|
34
|
+
}
|
|
35
|
+
export interface Response {
|
|
36
|
+
success: boolean;
|
|
37
|
+
headers: HeadersMap;
|
|
38
|
+
data: OutputSchema;
|
|
39
|
+
}
|
|
40
|
+
export declare class InvalidRequestError extends XRPCError {
|
|
41
|
+
constructor(src: XRPCError);
|
|
42
|
+
}
|
|
43
|
+
export declare class NotFoundError extends XRPCError {
|
|
44
|
+
constructor(src: XRPCError);
|
|
45
|
+
}
|
|
46
|
+
export declare function toKnownErr(e: any): any;
|
|
47
|
+
/** One indexed record. */
|
|
48
|
+
export interface Record {
|
|
49
|
+
$type?: 'pub.techne.draft.query.listRecords#record';
|
|
50
|
+
uri: string;
|
|
51
|
+
cid: string;
|
|
52
|
+
/** The DID whose repo holds the record. */
|
|
53
|
+
author: string;
|
|
54
|
+
collection: string;
|
|
55
|
+
/** The record body. */
|
|
56
|
+
value: {
|
|
57
|
+
[_ in string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
/** The record's indexed time (the `written` role). */
|
|
60
|
+
time: string;
|
|
61
|
+
/** The space a permissioned record counts in. Absent for a public record, and for a caller's own record that counts in none. */
|
|
62
|
+
space?: string;
|
|
63
|
+
/** Whether the record is public (on the firehose) or permissioned. */
|
|
64
|
+
source: 'public' | 'permissioned' | (string & {});
|
|
65
|
+
/** A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise. */
|
|
66
|
+
curated?: boolean;
|
|
67
|
+
/** The caller's own permissioned record that the reach limit holds back from the people it would reach: a held share, answered to its author alone (to anyone else it is not found) until the limit admits it. Absent otherwise. A query with `held: true` answers only these. */
|
|
68
|
+
held?: boolean;
|
|
69
|
+
/** The numbers the query's operators produced for this record, by name (a `near` distance in metres, a `matches` rank). */
|
|
70
|
+
measures?: {
|
|
71
|
+
[_ in string]: unknown;
|
|
72
|
+
};
|
|
73
|
+
/** The server-side signals the query asked for, by name; a signal with no value for this record is absent. */
|
|
74
|
+
signals?: {
|
|
75
|
+
[_ in string]: unknown;
|
|
76
|
+
};
|
|
77
|
+
/** The records the query's `include` attached, by key (`author`, `subject`), each a #record; absent when there is none the caller may read. */
|
|
78
|
+
included?: {
|
|
79
|
+
[_ in string]: unknown;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export declare function isRecord<V>(v: V): v is import("../../../../../util.js").$TypedObject<V, "pub.techne.draft.query.listRecords", "record">;
|
|
83
|
+
export declare function validateRecord<V>(v: V): ValidationResult<Record & V>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { validate as _validate } from '../../../../../lexicons.js';
|
|
6
|
+
import { is$typed as _is$typed, } from '../../../../../util.js';
|
|
7
|
+
const is$typed = _is$typed, validate = _validate;
|
|
8
|
+
const id = 'pub.techne.draft.query.listRecords';
|
|
9
|
+
export class InvalidRequestError extends XRPCError {
|
|
10
|
+
constructor(src) {
|
|
11
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class NotFoundError extends XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export function toKnownErr(e) {
|
|
20
|
+
if (e instanceof XRPCError) {
|
|
21
|
+
if (e.error === 'InvalidRequest')
|
|
22
|
+
return new InvalidRequestError(e);
|
|
23
|
+
if (e.error === 'NotFound')
|
|
24
|
+
return new NotFoundError(e);
|
|
25
|
+
}
|
|
26
|
+
return e;
|
|
27
|
+
}
|
|
28
|
+
const hashRecord = 'record';
|
|
29
|
+
export function isRecord(v) {
|
|
30
|
+
return is$typed(v, id, hashRecord);
|
|
31
|
+
}
|
|
32
|
+
export function validateRecord(v) {
|
|
33
|
+
return validate(v, id, hashRecord);
|
|
34
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
6
|
+
export type QueryParams = {
|
|
7
|
+
/** Only this repo's records. */
|
|
8
|
+
author?: string;
|
|
9
|
+
/** Only this collection's records. */
|
|
10
|
+
collection?: string;
|
|
11
|
+
/** Only versions first seen refused at or after this time. */
|
|
12
|
+
since?: string;
|
|
13
|
+
limit?: number;
|
|
14
|
+
cursor?: string;
|
|
15
|
+
};
|
|
16
|
+
export type InputSchema = undefined;
|
|
17
|
+
export interface OutputSchema {
|
|
18
|
+
rejections: Rejection[];
|
|
19
|
+
/** Present when the page is full: pass it back for the next page. */
|
|
20
|
+
cursor?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface CallOptions {
|
|
23
|
+
signal?: AbortSignal;
|
|
24
|
+
headers?: HeadersMap;
|
|
25
|
+
}
|
|
26
|
+
export interface Response {
|
|
27
|
+
success: boolean;
|
|
28
|
+
headers: HeadersMap;
|
|
29
|
+
data: OutputSchema;
|
|
30
|
+
}
|
|
31
|
+
export declare class InvalidRequestError extends XRPCError {
|
|
32
|
+
constructor(src: XRPCError);
|
|
33
|
+
}
|
|
34
|
+
export declare function toKnownErr(e: any): any;
|
|
35
|
+
export interface Rejection {
|
|
36
|
+
$type?: 'pub.techne.draft.query.listRejections#rejection';
|
|
37
|
+
uri: string;
|
|
38
|
+
/** The version refused (its CID verified against the signed bytes). */
|
|
39
|
+
cid: string;
|
|
40
|
+
author: string;
|
|
41
|
+
collection: string;
|
|
42
|
+
/** `invalid`: the body does not satisfy its lexicon. `placement`: the record has no public home (its collection is private-only, or a credential that is not its issuer's own unsigned one). */
|
|
43
|
+
reason: 'invalid' | 'placement' | (string & {});
|
|
44
|
+
/** The refusal's own words, for people; not a stable value. */
|
|
45
|
+
message: string;
|
|
46
|
+
/** When this AppView first saw this version refused. */
|
|
47
|
+
firstSeenAt: string;
|
|
48
|
+
}
|
|
49
|
+
export declare function isRejection<V>(v: V): v is import("../../../../../util.js").$TypedObject<V, "pub.techne.draft.query.listRejections", "rejection">;
|
|
50
|
+
export declare function validateRejection<V>(v: V): ValidationResult<Rejection & V>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { validate as _validate } from '../../../../../lexicons.js';
|
|
6
|
+
import { is$typed as _is$typed, } from '../../../../../util.js';
|
|
7
|
+
const is$typed = _is$typed, validate = _validate;
|
|
8
|
+
const id = 'pub.techne.draft.query.listRejections';
|
|
9
|
+
export class InvalidRequestError extends XRPCError {
|
|
10
|
+
constructor(src) {
|
|
11
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export function toKnownErr(e) {
|
|
15
|
+
if (e instanceof XRPCError) {
|
|
16
|
+
if (e.error === 'InvalidRequest')
|
|
17
|
+
return new InvalidRequestError(e);
|
|
18
|
+
}
|
|
19
|
+
return e;
|
|
20
|
+
}
|
|
21
|
+
const hashRejection = 'rejection';
|
|
22
|
+
export function isRejection(v) {
|
|
23
|
+
return is$typed(v, id, hashRejection);
|
|
24
|
+
}
|
|
25
|
+
export function validateRejection(v) {
|
|
26
|
+
return validate(v, id, hashRejection);
|
|
27
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.questionSet';
|
|
7
|
+
/** When the publisher first wrote this content. Optional: records published before it existed lack it, and the writer never rewrites unchanged content to add it. The content-derived key is computed without it, and republishing unchanged content keeps the stored record, so its CID (which strongRefs pin) never moves. */
|
|
8
|
+
createdAt?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
questions: Question[];
|
|
11
|
+
[k: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.questionSet", "main">;
|
|
14
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
15
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
16
|
+
export interface Question {
|
|
17
|
+
$type?: 'pub.techne.draft.questionSet#question';
|
|
18
|
+
id: string;
|
|
19
|
+
/** Subject category this question applies to. */
|
|
20
|
+
kind: 'event' | 'place' | (string & {});
|
|
21
|
+
question: string;
|
|
22
|
+
prompt: string;
|
|
23
|
+
/** Ordered assessment vocabulary. This version supports supported, contradicted, unknown and conflicting; consumers must not interpret other values as false. */
|
|
24
|
+
criteria: string[];
|
|
25
|
+
/** Optional ordered answer rubric for a graded question, lowest first, as asked of the model. criteria remains the categorical value vocabulary. Answers to a question with levels may carry score. */
|
|
26
|
+
levels?: string[];
|
|
27
|
+
tag?: string;
|
|
28
|
+
family?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare function isQuestion<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.questionSet", "question">;
|
|
31
|
+
export declare function validateQuestion<V>(v: V): ValidationResult<Question & V>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
2
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
3
|
+
const is$typed = _is$typed, validate = _validate;
|
|
4
|
+
const id = 'pub.techne.draft.questionSet';
|
|
5
|
+
const hashMain = 'main';
|
|
6
|
+
export function isMain(v) {
|
|
7
|
+
return is$typed(v, id, hashMain);
|
|
8
|
+
}
|
|
9
|
+
export function validateMain(v) {
|
|
10
|
+
return validate(v, id, hashMain, true);
|
|
11
|
+
}
|
|
12
|
+
export { isMain as isRecord, validateMain as validateRecord, };
|
|
13
|
+
const hashQuestion = 'question';
|
|
14
|
+
export function isQuestion(v) {
|
|
15
|
+
return is$typed(v, id, hashQuestion);
|
|
16
|
+
}
|
|
17
|
+
export function validateQuestion(v) {
|
|
18
|
+
return validate(v, id, hashQuestion);
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
6
|
+
export interface Main {
|
|
7
|
+
$type: 'pub.techne.draft.receipt';
|
|
8
|
+
subject: ComAtprotoRepoStrongRef.Main;
|
|
9
|
+
/** What the rule wrote about it on that run. Empty or absent: nothing to say. */
|
|
10
|
+
outputs?: ComAtprotoRepoStrongRef.Main[];
|
|
11
|
+
createdAt: string;
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.receipt", "main">;
|
|
15
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
16
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
2
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
3
|
+
const is$typed = _is$typed, validate = _validate;
|
|
4
|
+
const id = 'pub.techne.draft.receipt';
|
|
5
|
+
const hashMain = 'main';
|
|
6
|
+
export function isMain(v) {
|
|
7
|
+
return is$typed(v, id, hashMain);
|
|
8
|
+
}
|
|
9
|
+
export function validateMain(v) {
|
|
10
|
+
return validate(v, id, hashMain, true);
|
|
11
|
+
}
|
|
12
|
+
export { isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
6
|
+
export interface Main {
|
|
7
|
+
$type: 'pub.techne.draft.reflection';
|
|
8
|
+
subject: ComAtprotoRepoStrongRef.Main;
|
|
9
|
+
/** How it went, for the author. `positive` = it worked out; `negative` = it did not. First-answer-wins at the writer: once a direction is on record a later answer never overwrites it. */
|
|
10
|
+
direction: 'positive' | 'negative' | (string & {});
|
|
11
|
+
/** Optional free-form note to self. */
|
|
12
|
+
note?: string;
|
|
13
|
+
/** Attribution: "would this outcome have happened without my act?" — a question only ever meaningful about your OWN act, which is why it lives here and not on `evaluation`. Written by a SECOND write that re-puts the same record; there is still exactly one reflection record per subject. Rules (each pinned by a test at the writer): (a) asked ONLY after a positive `direction` — a negative answer never renders this question and never sets the field; (b) `direction` stays first-answer-wins (idempotent) while this field may be set EXACTLY ONCE, only by the record's own author, and only when `direction == "positive"`; (c) placement is unchanged by this second write — the re-put takes no placement parameter, so this field is exactly as private as the record it rides. */
|
|
14
|
+
counterfactual?: boolean;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
[k: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.reflection", "main">;
|
|
19
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
20
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
2
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
3
|
+
const is$typed = _is$typed, validate = _validate;
|
|
4
|
+
const id = 'pub.techne.draft.reflection';
|
|
5
|
+
const hashMain = 'main';
|
|
6
|
+
export function isMain(v) {
|
|
7
|
+
return is$typed(v, id, hashMain);
|
|
8
|
+
}
|
|
9
|
+
export function validateMain(v) {
|
|
10
|
+
return validate(v, id, hashMain, true);
|
|
11
|
+
}
|
|
12
|
+
export { isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.retirement';
|
|
7
|
+
/** The retired identity. */
|
|
8
|
+
subject: string;
|
|
9
|
+
/** Who this was, for people reading the list (e.g. the publisher's old handle). Never read back. */
|
|
10
|
+
note?: string;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.retirement", "main">;
|
|
15
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
16
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
2
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
3
|
+
const is$typed = _is$typed, validate = _validate;
|
|
4
|
+
const id = 'pub.techne.draft.retirement';
|
|
5
|
+
const hashMain = 'main';
|
|
6
|
+
export function isMain(v) {
|
|
7
|
+
return is$typed(v, id, hashMain);
|
|
8
|
+
}
|
|
9
|
+
export function validateMain(v) {
|
|
10
|
+
return validate(v, id, hashMain, true);
|
|
11
|
+
}
|
|
12
|
+
export { isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.rsvpNote';
|
|
7
|
+
/** The responder's own RSVP. A plain at-uri, not a strongRef: a status flip re-puts the RSVP at the same rkey with a new CID, and the note follows it. */
|
|
8
|
+
subject: string;
|
|
9
|
+
text: string;
|
|
10
|
+
/** When this note was last written. An edit is a re-put of the same record, so this moves with each edit. */
|
|
11
|
+
createdAt: string;
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.rsvpNote", "main">;
|
|
15
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
16
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
2
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
3
|
+
const is$typed = _is$typed, validate = _validate;
|
|
4
|
+
const id = 'pub.techne.draft.rsvpNote';
|
|
5
|
+
const hashMain = 'main';
|
|
6
|
+
export function isMain(v) {
|
|
7
|
+
return is$typed(v, id, hashMain);
|
|
8
|
+
}
|
|
9
|
+
export function validateMain(v) {
|
|
10
|
+
return validate(v, id, hashMain, true);
|
|
11
|
+
}
|
|
12
|
+
export { isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
6
|
+
export interface Main {
|
|
7
|
+
$type: 'pub.techne.draft.sameAs';
|
|
8
|
+
subject: ComAtprotoRepoStrongRef.Main;
|
|
9
|
+
other: ComAtprotoRepoStrongRef.Main;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
[k: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.sameAs", "main">;
|
|
14
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
15
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
2
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
3
|
+
const is$typed = _is$typed, validate = _validate;
|
|
4
|
+
const id = 'pub.techne.draft.sameAs';
|
|
5
|
+
const hashMain = 'main';
|
|
6
|
+
export function isMain(v) {
|
|
7
|
+
return is$typed(v, id, hashMain);
|
|
8
|
+
}
|
|
9
|
+
export function validateMain(v) {
|
|
10
|
+
return validate(v, id, hashMain, true);
|
|
11
|
+
}
|
|
12
|
+
export { isMain as isRecord, validateMain as validateRecord, };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.scraper.cursor';
|
|
7
|
+
/** When the last complete crawl finished. Absent before the first. */
|
|
8
|
+
lastCompleteCrawlAt?: string;
|
|
9
|
+
/** Whatever else the scraper keeps between runs, as JSON text. Opaque to every reader but the scraper that wrote it: nothing else may read meaning into it. */
|
|
10
|
+
state?: string;
|
|
11
|
+
/** When this version of the record was written. */
|
|
12
|
+
createdAt: string;
|
|
13
|
+
[k: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
export declare function isMain<V>(v: V): v is import("../../../../../util.js").$TypedObject<V, "pub.techne.draft.scraper.cursor", "main">;
|
|
16
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
17
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|