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,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.scraper.cursor';
|
|
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,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.scraper.raw';
|
|
7
|
+
/** The key's namespace within the scraper (a source, or a source's venues: `<source>-venue`). */
|
|
8
|
+
namespace: string;
|
|
9
|
+
/** The item's own stable key at the source (its id, or its URL when it has none). */
|
|
10
|
+
key: string;
|
|
11
|
+
/** The bytes the source served for this item, base64 (standard alphabet, padded). Absent when the scraper keeps only the normalized record, or when the bytes would pass this limit (contentHash still names them). With `record`, sized to fit one 2 MiB request. */
|
|
12
|
+
raw?: string;
|
|
13
|
+
/** The normalized record the scraper read out of `raw`, as JSON text (kept as text because a record cannot carry floats). */
|
|
14
|
+
record?: string;
|
|
15
|
+
/** The lowercase hex sha256 of the raw bytes. */
|
|
16
|
+
contentHash: string;
|
|
17
|
+
/** When a crawl first saw this item. */
|
|
18
|
+
firstSeenAt: string;
|
|
19
|
+
/** When a crawl last saw this item. */
|
|
20
|
+
lastSeenAt: string;
|
|
21
|
+
/** seen: the last complete crawl of the item's window found it. missing: a complete crawl of its window did not. Set to missing only after a complete crawl. */
|
|
22
|
+
status: 'seen' | 'missing' | (string & {});
|
|
23
|
+
/** Why the scraper holds this item, when it does: its raw entry and crawl state are kept and it is never published. */
|
|
24
|
+
hold?: string;
|
|
25
|
+
/** When this version of the record was written. */
|
|
26
|
+
createdAt: string;
|
|
27
|
+
[k: string]: unknown;
|
|
28
|
+
}
|
|
29
|
+
export declare function isMain<V>(v: V): v is import("../../../../../util.js").$TypedObject<V, "pub.techne.draft.scraper.raw", "main">;
|
|
30
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
31
|
+
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.scraper.raw';
|
|
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,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.share';
|
|
7
|
+
/** The DID granted access to the space this share is placed in. */
|
|
8
|
+
subject: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
[k: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.share", "main">;
|
|
13
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
14
|
+
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.share';
|
|
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,23 @@
|
|
|
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.source';
|
|
8
|
+
/** The mirror's record this describes. An AT-URI, not a strongRef: this sidecar is not rewritten every time the record is edited. */
|
|
9
|
+
subject: string;
|
|
10
|
+
/** The record's page at the source. */
|
|
11
|
+
url?: string;
|
|
12
|
+
/** Same-issuer pub.techne.draft.sourceAttribution records crediting the source's data. */
|
|
13
|
+
attributions?: ComAtprotoRepoStrongRef.Main[];
|
|
14
|
+
/** `seen`: the latest crawl found it. `missing`: the source no longer lists it. */
|
|
15
|
+
sourceStatus: 'seen' | 'missing' | (string & {});
|
|
16
|
+
/** The last crawl that found it, at day grain (a mirror moves it at most once a day). */
|
|
17
|
+
lastSeenAt: string;
|
|
18
|
+
createdAt: string;
|
|
19
|
+
[k: string]: unknown;
|
|
20
|
+
}
|
|
21
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.source", "main">;
|
|
22
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
23
|
+
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.source';
|
|
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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.sourceAttribution';
|
|
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
|
+
/** Must contain non-whitespace text; consumers enforce this beyond the lexicon length check. */
|
|
10
|
+
source: string;
|
|
11
|
+
/** Must contain non-whitespace text; consumers enforce this beyond the lexicon length check. */
|
|
12
|
+
credit: string;
|
|
13
|
+
/** Must contain non-whitespace text; consumers enforce this beyond the lexicon length check. */
|
|
14
|
+
license: string;
|
|
15
|
+
/** Absolute HTTP or HTTPS URL without embedded credentials; consumers enforce the scheme and credential restriction beyond URI syntax. */
|
|
16
|
+
licenseUrl: string;
|
|
17
|
+
/** Must contain non-whitespace text; consumers enforce this beyond the lexicon length check. */
|
|
18
|
+
licenseText: string;
|
|
19
|
+
/** Exactly 64 lowercase hexadecimal characters: SHA-256 of the exact registered obligation string encoded as UTF-8, without normalization. Consumers enforce lowercase hexadecimal syntax. This identifies text, not compliance. */
|
|
20
|
+
obligationDigest: string;
|
|
21
|
+
[k: string]: unknown;
|
|
22
|
+
}
|
|
23
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.sourceAttribution", "main">;
|
|
24
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
25
|
+
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.sourceAttribution';
|
|
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,23 @@
|
|
|
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.sourceRef';
|
|
8
|
+
/** The published record this sidecar tracks. Plain at-uri, not a strongRef — the publisher re-puts the subject with a fresh CID on every semantic change, so a stored CID would orphan on the next sync. */
|
|
9
|
+
subject: string;
|
|
10
|
+
/** The almanac entity id (the identity-resolved equivalence-class id) this record was published from. */
|
|
11
|
+
entityId: string;
|
|
12
|
+
/** Deprecated, optional: the old publisher's run_key that last created or semantically changed the subject. Frozen old-Almanac records carry it; nothing writes it any more (almanac-publisher publishes nothing). Readers must not require it. */
|
|
13
|
+
runKey?: string;
|
|
14
|
+
/** Timestamp of that same run. */
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
createdAt: string;
|
|
17
|
+
/** Exact same-issuer sourceAttribution records carrying credits and license text for this subject publication. A derived profile independently declares credits for its own assessment dependencies. Website links are separate. Omitted means no references were declared, not a compliance assertion. */
|
|
18
|
+
attributions?: ComAtprotoRepoStrongRef.Main[];
|
|
19
|
+
[k: string]: unknown;
|
|
20
|
+
}
|
|
21
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.sourceRef", "main">;
|
|
22
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
23
|
+
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.sourceRef';
|
|
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,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.subjectPrefs';
|
|
7
|
+
/** The person or circle (a group DID). */
|
|
8
|
+
subject: string;
|
|
9
|
+
/** Notifications from or about the subject may interrupt (push, email, Telegram). The in-app inbox gets them either way. */
|
|
10
|
+
notifications: boolean;
|
|
11
|
+
/** The subject's beacons appear in the owner's feed. */
|
|
12
|
+
showInFeed: boolean;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
[k: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.subjectPrefs", "main">;
|
|
17
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
18
|
+
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.subjectPrefs';
|
|
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,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
export type QueryParams = {};
|
|
6
|
+
export interface InputSchema {
|
|
7
|
+
/** The record just written, in the caller's own repo. */
|
|
8
|
+
uri: string;
|
|
9
|
+
}
|
|
10
|
+
export interface OutputSchema {
|
|
11
|
+
uri: string;
|
|
12
|
+
/** The version the platform fetched and verified: the version the decision is about. */
|
|
13
|
+
cid: string;
|
|
14
|
+
/** Whether this version counts. valid: it does. pending: nothing is wrong, but a claim it needs has not arrived yet (its author's membership, the root's credential for its author); a later read may say valid. invalid: it does not count, for the reason given (it is still in the author's repo; a version the platform refuses to index, such as one that is not valid for its lexicon, is not put on the stream). A curated version of the record, if a rule writes one, is another record. */
|
|
15
|
+
decision: 'valid' | 'pending' | 'invalid' | (string & {});
|
|
16
|
+
/** Why, when decision is invalid: the lexicon problems, no public home, no lexicon for the collection, or the provenance or trust rule it fails. */
|
|
17
|
+
reason?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface CallOptions {
|
|
20
|
+
signal?: AbortSignal;
|
|
21
|
+
headers?: HeadersMap;
|
|
22
|
+
qp?: QueryParams;
|
|
23
|
+
encoding?: 'application/json';
|
|
24
|
+
}
|
|
25
|
+
export interface Response {
|
|
26
|
+
success: boolean;
|
|
27
|
+
headers: HeadersMap;
|
|
28
|
+
data: OutputSchema;
|
|
29
|
+
}
|
|
30
|
+
export declare class AuthenticationRequiredError extends XRPCError {
|
|
31
|
+
constructor(src: XRPCError);
|
|
32
|
+
}
|
|
33
|
+
export declare class NotAuthorizedError extends XRPCError {
|
|
34
|
+
constructor(src: XRPCError);
|
|
35
|
+
}
|
|
36
|
+
export declare class RateLimitExceededError extends XRPCError {
|
|
37
|
+
constructor(src: XRPCError);
|
|
38
|
+
}
|
|
39
|
+
export declare class InvalidRequestError extends XRPCError {
|
|
40
|
+
constructor(src: XRPCError);
|
|
41
|
+
}
|
|
42
|
+
export declare class RecordNotFoundError extends XRPCError {
|
|
43
|
+
constructor(src: XRPCError);
|
|
44
|
+
}
|
|
45
|
+
export declare class UnverifiedRecordError extends XRPCError {
|
|
46
|
+
constructor(src: XRPCError);
|
|
47
|
+
}
|
|
48
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.sync.indexRecord';
|
|
9
|
+
export class AuthenticationRequiredError extends XRPCError {
|
|
10
|
+
constructor(src) {
|
|
11
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class NotAuthorizedError extends XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export class RateLimitExceededError extends XRPCError {
|
|
20
|
+
constructor(src) {
|
|
21
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export class InvalidRequestError extends XRPCError {
|
|
25
|
+
constructor(src) {
|
|
26
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export class RecordNotFoundError extends XRPCError {
|
|
30
|
+
constructor(src) {
|
|
31
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class UnverifiedRecordError extends XRPCError {
|
|
35
|
+
constructor(src) {
|
|
36
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export function toKnownErr(e) {
|
|
40
|
+
if (e instanceof XRPCError) {
|
|
41
|
+
if (e.error === 'AuthenticationRequired')
|
|
42
|
+
return new AuthenticationRequiredError(e);
|
|
43
|
+
if (e.error === 'NotAuthorized')
|
|
44
|
+
return new NotAuthorizedError(e);
|
|
45
|
+
if (e.error === 'RateLimitExceeded')
|
|
46
|
+
return new RateLimitExceededError(e);
|
|
47
|
+
if (e.error === 'InvalidRequest')
|
|
48
|
+
return new InvalidRequestError(e);
|
|
49
|
+
if (e.error === 'RecordNotFound')
|
|
50
|
+
return new RecordNotFoundError(e);
|
|
51
|
+
if (e.error === 'UnverifiedRecord')
|
|
52
|
+
return new UnverifiedRecordError(e);
|
|
53
|
+
}
|
|
54
|
+
return e;
|
|
55
|
+
}
|
|
@@ -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.verdict';
|
|
8
|
+
subject: ComAtprotoRepoStrongRef.Main;
|
|
9
|
+
/** What the version is. `spam`: advertising, scams, link farms or bulk promotion rather than a real gathering. `obscene`: sexually explicit or gratuitously graphic content. `!takedown`: an operator took the record down; it hides the record at every version. */
|
|
10
|
+
values: ('spam' | 'obscene' | '!takedown' | (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.verdict", "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.verdict';
|
|
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,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.verification';
|
|
7
|
+
/** The verified account. */
|
|
8
|
+
subject: string;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
[k: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.verification", "main">;
|
|
13
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
14
|
+
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.verification';
|
|
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,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'pub.techne.draft.weeklyCheckIn';
|
|
7
|
+
/** The check-in week, as the UTC date (YYYY-MM-DD) the question was asked; the answer covers the 7 days before it. Equal to the record key. */
|
|
8
|
+
week: string;
|
|
9
|
+
/** `yes` = Beacon helped; `no` = it did not; `skipped` = the person chose Skip. */
|
|
10
|
+
helped: 'yes' | 'no' | 'skipped' | (string & {});
|
|
11
|
+
/** Only with `helped` = `yes`, any of: saw people I wouldn't have (`sawPeople`), went somewhere I wouldn't have (`wentSomewhere`), found an event I wouldn't have (`foundEvent`), other (`other`). No duplicates. */
|
|
12
|
+
reasons?: ('sawPeople' | 'wentSomewhere' | 'foundEvent' | 'other' | (string & {}))[];
|
|
13
|
+
/** Only when `reasons` includes `other`: the person's own words. */
|
|
14
|
+
otherText?: string;
|
|
15
|
+
/** When this answer was last written. A later answer for the same week re-puts the record, so this moves with it. */
|
|
16
|
+
createdAt: string;
|
|
17
|
+
[k: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.weeklyCheckIn", "main">;
|
|
20
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
21
|
+
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.weeklyCheckIn';
|
|
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,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import type * as PubTechneDraftAppAccess from '../../pub/techne/draft/appAccess.js';
|
|
6
|
+
export type QueryParams = {};
|
|
7
|
+
export interface InputSchema {
|
|
8
|
+
/** The space (`at://{authority}/{spaceType}/{skey}`). */
|
|
9
|
+
space: string;
|
|
10
|
+
/** The app's OAuth client_id. */
|
|
11
|
+
client: string;
|
|
12
|
+
criteria?: PubTechneDraftAppAccess.Criteria;
|
|
13
|
+
}
|
|
14
|
+
export interface OutputSchema {
|
|
15
|
+
/** The appAccess record. */
|
|
16
|
+
uri: string;
|
|
17
|
+
cid: string;
|
|
18
|
+
}
|
|
19
|
+
export interface CallOptions {
|
|
20
|
+
signal?: AbortSignal;
|
|
21
|
+
headers?: HeadersMap;
|
|
22
|
+
qp?: QueryParams;
|
|
23
|
+
encoding?: 'application/json';
|
|
24
|
+
}
|
|
25
|
+
export interface Response {
|
|
26
|
+
success: boolean;
|
|
27
|
+
headers: HeadersMap;
|
|
28
|
+
data: OutputSchema;
|
|
29
|
+
}
|
|
30
|
+
export declare class InvalidRequestError extends XRPCError {
|
|
31
|
+
constructor(src: XRPCError);
|
|
32
|
+
}
|
|
33
|
+
export declare class NotAuthorizedError extends XRPCError {
|
|
34
|
+
constructor(src: XRPCError);
|
|
35
|
+
}
|
|
36
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -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 = 'social.scenius.approveAppAccess';
|
|
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 NotAuthorizedError 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 === 'NotAuthorized')
|
|
24
|
+
return new NotAuthorizedError(e);
|
|
25
|
+
}
|
|
26
|
+
return e;
|
|
27
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import type * as PubTechneDraftPost from '../../pub/techne/draft/post.js';
|
|
6
|
+
export type QueryParams = {};
|
|
7
|
+
export interface InputSchema {
|
|
8
|
+
/** Canonical collective DID that fits one record key. The caller owns the circle space; no roster or space manifest is created. */
|
|
9
|
+
collective: string;
|
|
10
|
+
post: PubTechneDraftPost.Main;
|
|
11
|
+
}
|
|
12
|
+
export interface OutputSchema {
|
|
13
|
+
uri: string;
|
|
14
|
+
cid: string;
|
|
15
|
+
}
|
|
16
|
+
export interface CallOptions {
|
|
17
|
+
signal?: AbortSignal;
|
|
18
|
+
headers?: HeadersMap;
|
|
19
|
+
qp?: QueryParams;
|
|
20
|
+
encoding?: 'application/json';
|
|
21
|
+
}
|
|
22
|
+
export interface Response {
|
|
23
|
+
success: boolean;
|
|
24
|
+
headers: HeadersMap;
|
|
25
|
+
data: OutputSchema;
|
|
26
|
+
}
|
|
27
|
+
export declare class InvalidRequestError extends XRPCError {
|
|
28
|
+
constructor(src: XRPCError);
|
|
29
|
+
}
|
|
30
|
+
export declare class AuthenticationRequiredError extends XRPCError {
|
|
31
|
+
constructor(src: XRPCError);
|
|
32
|
+
}
|
|
33
|
+
export declare class NotFoundError extends XRPCError {
|
|
34
|
+
constructor(src: XRPCError);
|
|
35
|
+
}
|
|
36
|
+
export declare class NotAuthorizedError extends XRPCError {
|
|
37
|
+
constructor(src: XRPCError);
|
|
38
|
+
}
|
|
39
|
+
export declare function toKnownErr(e: any): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 = 'social.scenius.createCirclePost';
|
|
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 AuthenticationRequiredError extends XRPCError {
|
|
15
|
+
constructor(src) {
|
|
16
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export class NotFoundError extends XRPCError {
|
|
20
|
+
constructor(src) {
|
|
21
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export class NotAuthorizedError extends XRPCError {
|
|
25
|
+
constructor(src) {
|
|
26
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export function toKnownErr(e) {
|
|
30
|
+
if (e instanceof XRPCError) {
|
|
31
|
+
if (e.error === 'InvalidRequest')
|
|
32
|
+
return new InvalidRequestError(e);
|
|
33
|
+
if (e.error === 'AuthenticationRequired')
|
|
34
|
+
return new AuthenticationRequiredError(e);
|
|
35
|
+
if (e.error === 'NotFound')
|
|
36
|
+
return new NotFoundError(e);
|
|
37
|
+
if (e.error === 'NotAuthorized')
|
|
38
|
+
return new NotAuthorizedError(e);
|
|
39
|
+
}
|
|
40
|
+
return e;
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
export type QueryParams = {};
|
|
6
|
+
export interface InputSchema {
|
|
7
|
+
contact: string;
|
|
8
|
+
/** The contact revision the owner reviewed. */
|
|
9
|
+
expectedCid: string;
|
|
10
|
+
/** Retire an existing active link and issue a new one. Default false. */
|
|
11
|
+
replace?: boolean;
|
|
12
|
+
/** A caller-chosen retry key. */
|
|
13
|
+
requestId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface OutputSchema {
|
|
16
|
+
inviteId: string;
|
|
17
|
+
url: string;
|
|
18
|
+
expiresAt: string;
|
|
19
|
+
state: 'active' | (string & {});
|
|
20
|
+
}
|
|
21
|
+
export interface CallOptions {
|
|
22
|
+
signal?: AbortSignal;
|
|
23
|
+
headers?: HeadersMap;
|
|
24
|
+
qp?: QueryParams;
|
|
25
|
+
encoding?: 'application/json';
|
|
26
|
+
}
|
|
27
|
+
export interface Response {
|
|
28
|
+
success: boolean;
|
|
29
|
+
headers: HeadersMap;
|
|
30
|
+
data: OutputSchema;
|
|
31
|
+
}
|
|
32
|
+
export declare class InvalidRequestError extends XRPCError {
|
|
33
|
+
constructor(src: XRPCError);
|
|
34
|
+
}
|
|
35
|
+
export declare class StaleRecordError extends XRPCError {
|
|
36
|
+
constructor(src: XRPCError);
|
|
37
|
+
}
|
|
38
|
+
export declare class RateLimitExceededError extends XRPCError {
|
|
39
|
+
constructor(src: XRPCError);
|
|
40
|
+
}
|
|
41
|
+
export declare function toKnownErr(e: any): any;
|