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.
Files changed (328) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +85 -2
  3. package/dist/catalog/catalog.gen.d.ts +841 -0
  4. package/dist/catalog/catalog.gen.js +29696 -0
  5. package/dist/catalog/index.d.ts +11 -0
  6. package/dist/catalog/index.js +11 -0
  7. package/dist/connect.d.ts +38 -0
  8. package/dist/connect.js +18 -0
  9. package/dist/generated/index.d.ts +2296 -0
  10. package/dist/generated/index.js +3320 -0
  11. package/dist/generated/lexicons.d.ts +17254 -0
  12. package/dist/generated/lexicons.js +9225 -0
  13. package/dist/generated/nsid.d.ts +529 -0
  14. package/dist/generated/nsid.js +1094 -0
  15. package/dist/generated/nsid.json +1082 -0
  16. package/dist/generated/records.d.ts +143 -0
  17. package/dist/generated/records.js +1 -0
  18. package/dist/generated/types/app/bsky/richtext/facet.d.ts +44 -0
  19. package/dist/generated/types/app/bsky/richtext/facet.js +39 -0
  20. package/dist/generated/types/com/atproto/admin/defs.d.ts +10 -0
  21. package/dist/generated/types/com/atproto/admin/defs.js +11 -0
  22. package/dist/generated/types/com/atproto/label/defs.d.ts +73 -0
  23. package/dist/generated/types/com/atproto/label/defs.js +39 -0
  24. package/dist/generated/types/com/atproto/moderation/createReport.d.ts +39 -0
  25. package/dist/generated/types/com/atproto/moderation/createReport.js +7 -0
  26. package/dist/generated/types/com/atproto/moderation/defs.d.ts +15 -0
  27. package/dist/generated/types/com/atproto/moderation/defs.js +18 -0
  28. package/dist/generated/types/com/atproto/repo/applyWrites.d.ts +88 -0
  29. package/dist/generated/types/com/atproto/repo/applyWrites.js +62 -0
  30. package/dist/generated/types/com/atproto/repo/createRecord.d.ts +43 -0
  31. package/dist/generated/types/com/atproto/repo/createRecord.js +20 -0
  32. package/dist/generated/types/com/atproto/repo/defs.d.ts +11 -0
  33. package/dist/generated/types/com/atproto/repo/defs.js +11 -0
  34. package/dist/generated/types/com/atproto/repo/deleteRecord.d.ts +36 -0
  35. package/dist/generated/types/com/atproto/repo/deleteRecord.js +20 -0
  36. package/dist/generated/types/com/atproto/repo/getRecord.d.ts +35 -0
  37. package/dist/generated/types/com/atproto/repo/getRecord.js +20 -0
  38. package/dist/generated/types/com/atproto/repo/listRecords.d.ts +41 -0
  39. package/dist/generated/types/com/atproto/repo/listRecords.js +14 -0
  40. package/dist/generated/types/com/atproto/repo/putRecord.d.ts +45 -0
  41. package/dist/generated/types/com/atproto/repo/putRecord.js +20 -0
  42. package/dist/generated/types/com/atproto/repo/strongRef.d.ts +11 -0
  43. package/dist/generated/types/com/atproto/repo/strongRef.js +11 -0
  44. package/dist/generated/types/com/atproto/server/getServiceAuth.d.ts +29 -0
  45. package/dist/generated/types/com/atproto/server/getServiceAuth.js +20 -0
  46. package/dist/generated/types/community/lexicon/calendar/event.d.ts +65 -0
  47. package/dist/generated/types/community/lexicon/calendar/event.js +35 -0
  48. package/dist/generated/types/community/lexicon/calendar/rsvp.d.ts +20 -0
  49. package/dist/generated/types/community/lexicon/calendar/rsvp.js +18 -0
  50. package/dist/generated/types/community/lexicon/location/address.d.ts +22 -0
  51. package/dist/generated/types/community/lexicon/location/address.js +11 -0
  52. package/dist/generated/types/community/lexicon/location/fsq.d.ts +16 -0
  53. package/dist/generated/types/community/lexicon/location/fsq.js +11 -0
  54. package/dist/generated/types/community/lexicon/location/geo.d.ts +15 -0
  55. package/dist/generated/types/community/lexicon/location/geo.js +11 -0
  56. package/dist/generated/types/community/lexicon/location/hthree.d.ts +14 -0
  57. package/dist/generated/types/community/lexicon/location/hthree.js +11 -0
  58. package/dist/generated/types/pub/techne/draft/accessRule.d.ts +36 -0
  59. package/dist/generated/types/pub/techne/draft/accessRule.js +33 -0
  60. package/dist/generated/types/pub/techne/draft/accountLink.d.ts +16 -0
  61. package/dist/generated/types/pub/techne/draft/accountLink.js +12 -0
  62. package/dist/generated/types/pub/techne/draft/actor/profile.d.ts +20 -0
  63. package/dist/generated/types/pub/techne/draft/actor/profile.js +12 -0
  64. package/dist/generated/types/pub/techne/draft/appAccess.d.ts +25 -0
  65. package/dist/generated/types/pub/techne/draft/appAccess.js +19 -0
  66. package/dist/generated/types/pub/techne/draft/appAccessRequest.d.ts +16 -0
  67. package/dist/generated/types/pub/techne/draft/appAccessRequest.js +12 -0
  68. package/dist/generated/types/pub/techne/draft/appConfig.d.ts +24 -0
  69. package/dist/generated/types/pub/techne/draft/appConfig.js +19 -0
  70. package/dist/generated/types/pub/techne/draft/approval.d.ts +18 -0
  71. package/dist/generated/types/pub/techne/draft/approval.js +12 -0
  72. package/dist/generated/types/pub/techne/draft/assessment.d.ts +36 -0
  73. package/dist/generated/types/pub/techne/draft/assessment.js +26 -0
  74. package/dist/generated/types/pub/techne/draft/attentionPrefs.d.ts +14 -0
  75. package/dist/generated/types/pub/techne/draft/attentionPrefs.js +12 -0
  76. package/dist/generated/types/pub/techne/draft/beacon.d.ts +17 -0
  77. package/dist/generated/types/pub/techne/draft/beacon.js +12 -0
  78. package/dist/generated/types/pub/techne/draft/beaconLists.d.ts +13 -0
  79. package/dist/generated/types/pub/techne/draft/beaconLists.js +12 -0
  80. package/dist/generated/types/pub/techne/draft/beaconSpot.d.ts +17 -0
  81. package/dist/generated/types/pub/techne/draft/beaconSpot.js +12 -0
  82. package/dist/generated/types/pub/techne/draft/block.d.ts +14 -0
  83. package/dist/generated/types/pub/techne/draft/block.js +12 -0
  84. package/dist/generated/types/pub/techne/draft/channelVerification.d.ts +15 -0
  85. package/dist/generated/types/pub/techne/draft/channelVerification.js +12 -0
  86. package/dist/generated/types/pub/techne/draft/circleBeacon.d.ts +14 -0
  87. package/dist/generated/types/pub/techne/draft/circleBeacon.js +12 -0
  88. package/dist/generated/types/pub/techne/draft/collective.d.ts +29 -0
  89. package/dist/generated/types/pub/techne/draft/collective.js +12 -0
  90. package/dist/generated/types/pub/techne/draft/commons/createServiceAccount.d.ts +47 -0
  91. package/dist/generated/types/pub/techne/draft/commons/createServiceAccount.js +55 -0
  92. package/dist/generated/types/pub/techne/draft/commons/getVersions.d.ts +78 -0
  93. package/dist/generated/types/pub/techne/draft/commons/getVersions.js +41 -0
  94. package/dist/generated/types/pub/techne/draft/commons/moveAccountHandle.d.ts +45 -0
  95. package/dist/generated/types/pub/techne/draft/commons/moveAccountHandle.js +48 -0
  96. package/dist/generated/types/pub/techne/draft/commons/runChain.d.ts +53 -0
  97. package/dist/generated/types/pub/techne/draft/commons/runChain.js +34 -0
  98. package/dist/generated/types/pub/techne/draft/connection.d.ts +16 -0
  99. package/dist/generated/types/pub/techne/draft/connection.js +12 -0
  100. package/dist/generated/types/pub/techne/draft/contact.d.ts +20 -0
  101. package/dist/generated/types/pub/techne/draft/contact.js +12 -0
  102. package/dist/generated/types/pub/techne/draft/contactChannel.d.ts +18 -0
  103. package/dist/generated/types/pub/techne/draft/contactChannel.js +12 -0
  104. package/dist/generated/types/pub/techne/draft/contactList.d.ts +14 -0
  105. package/dist/generated/types/pub/techne/draft/contactList.js +12 -0
  106. package/dist/generated/types/pub/techne/draft/containedIn.d.ts +17 -0
  107. package/dist/generated/types/pub/techne/draft/containedIn.js +12 -0
  108. package/dist/generated/types/pub/techne/draft/credential.d.ts +39 -0
  109. package/dist/generated/types/pub/techne/draft/credential.js +19 -0
  110. package/dist/generated/types/pub/techne/draft/credentialRevocation.d.ts +14 -0
  111. package/dist/generated/types/pub/techne/draft/credentialRevocation.js +12 -0
  112. package/dist/generated/types/pub/techne/draft/derivation.d.ts +50 -0
  113. package/dist/generated/types/pub/techne/draft/derivation.js +26 -0
  114. package/dist/generated/types/pub/techne/draft/description.d.ts +17 -0
  115. package/dist/generated/types/pub/techne/draft/description.js +12 -0
  116. package/dist/generated/types/pub/techne/draft/distinctFrom.d.ts +15 -0
  117. package/dist/generated/types/pub/techne/draft/distinctFrom.js +12 -0
  118. package/dist/generated/types/pub/techne/draft/evaluation.d.ts +18 -0
  119. package/dist/generated/types/pub/techne/draft/evaluation.js +12 -0
  120. package/dist/generated/types/pub/techne/draft/event/config.d.ts +22 -0
  121. package/dist/generated/types/pub/techne/draft/event/config.js +12 -0
  122. package/dist/generated/types/pub/techne/draft/event/detail.d.ts +25 -0
  123. package/dist/generated/types/pub/techne/draft/event/detail.js +12 -0
  124. package/dist/generated/types/pub/techne/draft/event/listing.d.ts +14 -0
  125. package/dist/generated/types/pub/techne/draft/event/listing.js +12 -0
  126. package/dist/generated/types/pub/techne/draft/feed/recipe.d.ts +50 -0
  127. package/dist/generated/types/pub/techne/draft/feed/recipe.js +26 -0
  128. package/dist/generated/types/pub/techne/draft/geo.d.ts +19 -0
  129. package/dist/generated/types/pub/techne/draft/geo.js +12 -0
  130. package/dist/generated/types/pub/techne/draft/heldAt.d.ts +17 -0
  131. package/dist/generated/types/pub/techne/draft/heldAt.js +12 -0
  132. package/dist/generated/types/pub/techne/draft/identity/accountsForPhones.d.ts +43 -0
  133. package/dist/generated/types/pub/techne/draft/identity/accountsForPhones.js +41 -0
  134. package/dist/generated/types/pub/techne/draft/identity/attest.d.ts +48 -0
  135. package/dist/generated/types/pub/techne/draft/identity/attest.js +48 -0
  136. package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.d.ts +35 -0
  137. package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.js +34 -0
  138. package/dist/generated/types/pub/techne/draft/identity/checkLinkToken.d.ts +41 -0
  139. package/dist/generated/types/pub/techne/draft/identity/checkLinkToken.js +41 -0
  140. package/dist/generated/types/pub/techne/draft/identity/createCollective.d.ts +28 -0
  141. package/dist/generated/types/pub/techne/draft/identity/createCollective.js +20 -0
  142. package/dist/generated/types/pub/techne/draft/identity/createLinkToken.d.ts +47 -0
  143. package/dist/generated/types/pub/techne/draft/identity/createLinkToken.js +48 -0
  144. package/dist/generated/types/pub/techne/draft/identity/defs.d.ts +75 -0
  145. package/dist/generated/types/pub/techne/draft/identity/defs.js +53 -0
  146. package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.d.ts +46 -0
  147. package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.js +34 -0
  148. package/dist/generated/types/pub/techne/draft/identity/fold.d.ts +37 -0
  149. package/dist/generated/types/pub/techne/draft/identity/fold.js +34 -0
  150. package/dist/generated/types/pub/techne/draft/identity/holdForPhone.d.ts +54 -0
  151. package/dist/generated/types/pub/techne/draft/identity/holdForPhone.js +41 -0
  152. package/dist/generated/types/pub/techne/draft/identity/link.d.ts +35 -0
  153. package/dist/generated/types/pub/techne/draft/identity/link.js +34 -0
  154. package/dist/generated/types/pub/techne/draft/identity/linkRedeemed.d.ts +46 -0
  155. package/dist/generated/types/pub/techne/draft/identity/linkRedeemed.js +48 -0
  156. package/dist/generated/types/pub/techne/draft/identity/linkRedemption.d.ts +18 -0
  157. package/dist/generated/types/pub/techne/draft/identity/linkRedemption.js +12 -0
  158. package/dist/generated/types/pub/techne/draft/identity/listLinkRedemptions.d.ts +36 -0
  159. package/dist/generated/types/pub/techne/draft/identity/listLinkRedemptions.js +41 -0
  160. package/dist/generated/types/pub/techne/draft/identity/listLinkTokens.d.ts +39 -0
  161. package/dist/generated/types/pub/techne/draft/identity/listLinkTokens.js +41 -0
  162. package/dist/generated/types/pub/techne/draft/identity/listMethods.d.ts +24 -0
  163. package/dist/generated/types/pub/techne/draft/identity/listMethods.js +20 -0
  164. package/dist/generated/types/pub/techne/draft/identity/listPhoneHolds.d.ts +49 -0
  165. package/dist/generated/types/pub/techne/draft/identity/listPhoneHolds.js +34 -0
  166. package/dist/generated/types/pub/techne/draft/identity/redeemLinkToken.d.ts +47 -0
  167. package/dist/generated/types/pub/techne/draft/identity/redeemLinkToken.js +55 -0
  168. package/dist/generated/types/pub/techne/draft/identity/releasePhoneHold.d.ts +32 -0
  169. package/dist/generated/types/pub/techne/draft/identity/releasePhoneHold.js +34 -0
  170. package/dist/generated/types/pub/techne/draft/identity/resetLinkToken.d.ts +45 -0
  171. package/dist/generated/types/pub/techne/draft/identity/resetLinkToken.js +48 -0
  172. package/dist/generated/types/pub/techne/draft/identity/resolve.d.ts +39 -0
  173. package/dist/generated/types/pub/techne/draft/identity/resolve.js +34 -0
  174. package/dist/generated/types/pub/techne/draft/identity/revokeLinkToken.d.ts +36 -0
  175. package/dist/generated/types/pub/techne/draft/identity/revokeLinkToken.js +41 -0
  176. package/dist/generated/types/pub/techne/draft/identity/unlinkAccount.d.ts +29 -0
  177. package/dist/generated/types/pub/techne/draft/identity/unlinkAccount.js +27 -0
  178. package/dist/generated/types/pub/techne/draft/identity/unlinkMethod.d.ts +32 -0
  179. package/dist/generated/types/pub/techne/draft/identity/unlinkMethod.js +34 -0
  180. package/dist/generated/types/pub/techne/draft/interest.d.ts +14 -0
  181. package/dist/generated/types/pub/techne/draft/interest.js +12 -0
  182. package/dist/generated/types/pub/techne/draft/introProposal.d.ts +28 -0
  183. package/dist/generated/types/pub/techne/draft/introProposal.js +19 -0
  184. package/dist/generated/types/pub/techne/draft/invite.d.ts +16 -0
  185. package/dist/generated/types/pub/techne/draft/invite.js +12 -0
  186. package/dist/generated/types/pub/techne/draft/market/ask.d.ts +18 -0
  187. package/dist/generated/types/pub/techne/draft/market/ask.js +12 -0
  188. package/dist/generated/types/pub/techne/draft/market/offer.d.ts +14 -0
  189. package/dist/generated/types/pub/techne/draft/market/offer.js +12 -0
  190. package/dist/generated/types/pub/techne/draft/membership.d.ts +22 -0
  191. package/dist/generated/types/pub/techne/draft/membership.js +12 -0
  192. package/dist/generated/types/pub/techne/draft/notificationState.d.ts +18 -0
  193. package/dist/generated/types/pub/techne/draft/notificationState.js +12 -0
  194. package/dist/generated/types/pub/techne/draft/operator.d.ts +20 -0
  195. package/dist/generated/types/pub/techne/draft/operator.js +12 -0
  196. package/dist/generated/types/pub/techne/draft/org.d.ts +42 -0
  197. package/dist/generated/types/pub/techne/draft/org.js +19 -0
  198. package/dist/generated/types/pub/techne/draft/passage.d.ts +18 -0
  199. package/dist/generated/types/pub/techne/draft/passage.js +12 -0
  200. package/dist/generated/types/pub/techne/draft/pendingBeaconSpot.d.ts +19 -0
  201. package/dist/generated/types/pub/techne/draft/pendingBeaconSpot.js +12 -0
  202. package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.d.ts +47 -0
  203. package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.js +55 -0
  204. package/dist/generated/types/pub/techne/draft/permissioned/getGrants.d.ts +32 -0
  205. package/dist/generated/types/pub/techne/draft/permissioned/getGrants.js +34 -0
  206. package/dist/generated/types/pub/techne/draft/permissioned/getRecord.d.ts +36 -0
  207. package/dist/generated/types/pub/techne/draft/permissioned/getRecord.js +34 -0
  208. package/dist/generated/types/pub/techne/draft/permissioned/listChanges.d.ts +71 -0
  209. package/dist/generated/types/pub/techne/draft/permissioned/listChanges.js +41 -0
  210. package/dist/generated/types/pub/techne/draft/permissioned/listRecords.d.ts +53 -0
  211. package/dist/generated/types/pub/techne/draft/permissioned/listRecords.js +34 -0
  212. package/dist/generated/types/pub/techne/draft/permissioned/putRecord.d.ts +70 -0
  213. package/dist/generated/types/pub/techne/draft/permissioned/putRecord.js +76 -0
  214. package/dist/generated/types/pub/techne/draft/permissioned/putRecords.d.ts +84 -0
  215. package/dist/generated/types/pub/techne/draft/permissioned/putRecords.js +69 -0
  216. package/dist/generated/types/pub/techne/draft/place.d.ts +36 -0
  217. package/dist/generated/types/pub/techne/draft/place.js +19 -0
  218. package/dist/generated/types/pub/techne/draft/post.d.ts +30 -0
  219. package/dist/generated/types/pub/techne/draft/post.js +19 -0
  220. package/dist/generated/types/pub/techne/draft/presence.d.ts +16 -0
  221. package/dist/generated/types/pub/techne/draft/presence.js +12 -0
  222. package/dist/generated/types/pub/techne/draft/profile.d.ts +53 -0
  223. package/dist/generated/types/pub/techne/draft/profile.js +33 -0
  224. package/dist/generated/types/pub/techne/draft/provenance.d.ts +52 -0
  225. package/dist/generated/types/pub/techne/draft/provenance.js +33 -0
  226. package/dist/generated/types/pub/techne/draft/publisher.d.ts +43 -0
  227. package/dist/generated/types/pub/techne/draft/publisher.js +19 -0
  228. package/dist/generated/types/pub/techne/draft/query/countRecords.d.ts +47 -0
  229. package/dist/generated/types/pub/techne/draft/query/countRecords.js +34 -0
  230. package/dist/generated/types/pub/techne/draft/query/getRecords.d.ts +86 -0
  231. package/dist/generated/types/pub/techne/draft/query/getRecords.js +48 -0
  232. package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +83 -0
  233. package/dist/generated/types/pub/techne/draft/query/listRecords.js +34 -0
  234. package/dist/generated/types/pub/techne/draft/query/listRejections.d.ts +50 -0
  235. package/dist/generated/types/pub/techne/draft/query/listRejections.js +27 -0
  236. package/dist/generated/types/pub/techne/draft/questionSet.d.ts +31 -0
  237. package/dist/generated/types/pub/techne/draft/questionSet.js +19 -0
  238. package/dist/generated/types/pub/techne/draft/receipt.d.ts +16 -0
  239. package/dist/generated/types/pub/techne/draft/receipt.js +12 -0
  240. package/dist/generated/types/pub/techne/draft/reflection.d.ts +20 -0
  241. package/dist/generated/types/pub/techne/draft/reflection.js +12 -0
  242. package/dist/generated/types/pub/techne/draft/retirement.d.ts +16 -0
  243. package/dist/generated/types/pub/techne/draft/retirement.js +12 -0
  244. package/dist/generated/types/pub/techne/draft/rsvpNote.d.ts +16 -0
  245. package/dist/generated/types/pub/techne/draft/rsvpNote.js +12 -0
  246. package/dist/generated/types/pub/techne/draft/sameAs.d.ts +15 -0
  247. package/dist/generated/types/pub/techne/draft/sameAs.js +12 -0
  248. package/dist/generated/types/pub/techne/draft/scraper/cursor.d.ts +17 -0
  249. package/dist/generated/types/pub/techne/draft/scraper/cursor.js +12 -0
  250. package/dist/generated/types/pub/techne/draft/scraper/raw.d.ts +31 -0
  251. package/dist/generated/types/pub/techne/draft/scraper/raw.js +12 -0
  252. package/dist/generated/types/pub/techne/draft/share.d.ts +14 -0
  253. package/dist/generated/types/pub/techne/draft/share.js +12 -0
  254. package/dist/generated/types/pub/techne/draft/source.d.ts +23 -0
  255. package/dist/generated/types/pub/techne/draft/source.js +12 -0
  256. package/dist/generated/types/pub/techne/draft/sourceAttribution.d.ts +25 -0
  257. package/dist/generated/types/pub/techne/draft/sourceAttribution.js +12 -0
  258. package/dist/generated/types/pub/techne/draft/sourceRef.d.ts +23 -0
  259. package/dist/generated/types/pub/techne/draft/sourceRef.js +12 -0
  260. package/dist/generated/types/pub/techne/draft/subjectPrefs.d.ts +18 -0
  261. package/dist/generated/types/pub/techne/draft/subjectPrefs.js +12 -0
  262. package/dist/generated/types/pub/techne/draft/sync/indexRecord.d.ts +48 -0
  263. package/dist/generated/types/pub/techne/draft/sync/indexRecord.js +55 -0
  264. package/dist/generated/types/pub/techne/draft/verdict.d.ts +16 -0
  265. package/dist/generated/types/pub/techne/draft/verdict.js +12 -0
  266. package/dist/generated/types/pub/techne/draft/verification.d.ts +14 -0
  267. package/dist/generated/types/pub/techne/draft/verification.js +12 -0
  268. package/dist/generated/types/pub/techne/draft/weeklyCheckIn.d.ts +21 -0
  269. package/dist/generated/types/pub/techne/draft/weeklyCheckIn.js +12 -0
  270. package/dist/generated/types/social/scenius/approveAppAccess.d.ts +36 -0
  271. package/dist/generated/types/social/scenius/approveAppAccess.js +27 -0
  272. package/dist/generated/types/social/scenius/createCirclePost.d.ts +39 -0
  273. package/dist/generated/types/social/scenius/createCirclePost.js +41 -0
  274. package/dist/generated/types/social/scenius/createContactInvite.d.ts +41 -0
  275. package/dist/generated/types/social/scenius/createContactInvite.js +34 -0
  276. package/dist/generated/types/social/scenius/deleteCirclePost.d.ts +34 -0
  277. package/dist/generated/types/social/scenius/deleteCirclePost.js +34 -0
  278. package/dist/generated/types/social/scenius/deleteCircleProfile.d.ts +33 -0
  279. package/dist/generated/types/social/scenius/deleteCircleProfile.js +34 -0
  280. package/dist/generated/types/social/scenius/getAppAccess.d.ts +30 -0
  281. package/dist/generated/types/social/scenius/getAppAccess.js +27 -0
  282. package/dist/generated/types/social/scenius/getAppConfig.d.ts +26 -0
  283. package/dist/generated/types/social/scenius/getAppConfig.js +7 -0
  284. package/dist/generated/types/social/scenius/getCircleThread.d.ts +48 -0
  285. package/dist/generated/types/social/scenius/getCircleThread.js +41 -0
  286. package/dist/generated/types/social/scenius/getContactInvite.d.ts +37 -0
  287. package/dist/generated/types/social/scenius/getContactInvite.js +27 -0
  288. package/dist/generated/types/social/scenius/listAppAccess.d.ts +35 -0
  289. package/dist/generated/types/social/scenius/listAppAccess.js +27 -0
  290. package/dist/generated/types/social/scenius/listCirclePosts.d.ts +47 -0
  291. package/dist/generated/types/social/scenius/listCirclePosts.js +34 -0
  292. package/dist/generated/types/social/scenius/listCircleProfiles.d.ts +50 -0
  293. package/dist/generated/types/social/scenius/listCircleProfiles.js +41 -0
  294. package/dist/generated/types/social/scenius/previewContactInvite.d.ts +37 -0
  295. package/dist/generated/types/social/scenius/previewContactInvite.js +34 -0
  296. package/dist/generated/types/social/scenius/putCircleProfile.d.ts +39 -0
  297. package/dist/generated/types/social/scenius/putCircleProfile.js +41 -0
  298. package/dist/generated/types/social/scenius/redeemContactInvite.d.ts +43 -0
  299. package/dist/generated/types/social/scenius/redeemContactInvite.js +48 -0
  300. package/dist/generated/types/social/scenius/revokeContactInvite.d.ts +33 -0
  301. package/dist/generated/types/social/scenius/revokeContactInvite.js +20 -0
  302. package/dist/generated/util.d.ts +36 -0
  303. package/dist/generated/util.js +32 -0
  304. package/dist/links/index.d.ts +65 -0
  305. package/dist/links/index.js +119 -0
  306. package/dist/put/contacts.d.ts +29 -0
  307. package/dist/put/contacts.js +109 -0
  308. package/dist/put/index.d.ts +148 -0
  309. package/dist/put/index.js +252 -0
  310. package/dist/query/hosts.d.ts +77 -0
  311. package/dist/query/hosts.js +227 -0
  312. package/dist/query/index.d.ts +201 -0
  313. package/dist/query/index.js +167 -0
  314. package/dist/versions/index.d.ts +121 -0
  315. package/dist/versions/index.js +90 -0
  316. package/dist/versions/react.d.ts +53 -0
  317. package/dist/versions/react.js +81 -0
  318. package/dist/wasm/index.d.ts +73 -0
  319. package/dist/wasm/index.js +51 -0
  320. package/dist/wasm/load.d.ts +2 -0
  321. package/dist/wasm/load.js +16 -0
  322. package/dist/wasm/load.native.d.ts +11 -0
  323. package/dist/wasm/load.native.js +3 -0
  324. package/dist/wasm/techne-wasm.gen.d.ts +2 -0
  325. package/dist/wasm/techne-wasm.gen.js +3 -0
  326. package/dist/wasm/techne-wasm2js.gen.d.ts +6 -0
  327. package/dist/wasm/techne-wasm2js.gen.js +90023 -0
  328. package/package.json +126 -4
@@ -0,0 +1,45 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ import type * as PubTechneDraftIdentityDefs from './defs.js';
6
+ export type QueryParams = {};
7
+ export interface InputSchema {
8
+ /** The app the link is for, a label the caller gives itself (unverified). */
9
+ app: string;
10
+ /** What the link is for, as a URI with a scheme (at://, https://, did:...). */
11
+ target: string;
12
+ grant?: PubTechneDraftIdentityDefs.LinkGrant;
13
+ }
14
+ export interface OutputSchema {
15
+ link: PubTechneDraftIdentityDefs.LinkTokenView;
16
+ /** The secret to put in the link. Whoever holds it can redeem it. */
17
+ token: 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 ForbiddenError extends XRPCError {
34
+ constructor(src: XRPCError);
35
+ }
36
+ export declare class NotSupportedError extends XRPCError {
37
+ constructor(src: XRPCError);
38
+ }
39
+ export declare class RateLimitExceededError extends XRPCError {
40
+ constructor(src: XRPCError);
41
+ }
42
+ export declare class UpstreamFailureError extends XRPCError {
43
+ constructor(src: XRPCError);
44
+ }
45
+ export declare function toKnownErr(e: any): any;
@@ -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.identity.resetLinkToken';
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 ForbiddenError extends XRPCError {
15
+ constructor(src) {
16
+ super(src.status, src.error, src.message, src.headers, { cause: src });
17
+ }
18
+ }
19
+ export class NotSupportedError extends XRPCError {
20
+ constructor(src) {
21
+ super(src.status, src.error, src.message, src.headers, { cause: src });
22
+ }
23
+ }
24
+ export class RateLimitExceededError extends XRPCError {
25
+ constructor(src) {
26
+ super(src.status, src.error, src.message, src.headers, { cause: src });
27
+ }
28
+ }
29
+ export class UpstreamFailureError extends XRPCError {
30
+ constructor(src) {
31
+ super(src.status, src.error, src.message, src.headers, { cause: src });
32
+ }
33
+ }
34
+ export function toKnownErr(e) {
35
+ if (e instanceof XRPCError) {
36
+ if (e.error === 'InvalidRequest')
37
+ return new InvalidRequestError(e);
38
+ if (e.error === 'Forbidden')
39
+ return new ForbiddenError(e);
40
+ if (e.error === 'NotSupported')
41
+ return new NotSupportedError(e);
42
+ if (e.error === 'RateLimitExceeded')
43
+ return new RateLimitExceededError(e);
44
+ if (e.error === 'UpstreamFailure')
45
+ return new UpstreamFailureError(e);
46
+ }
47
+ return e;
48
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ import type * as PubTechneDraftIdentityDefs from './defs.js';
6
+ export type QueryParams = {};
7
+ export interface InputSchema {
8
+ /** Hook protocol version. */
9
+ v: number;
10
+ channel: PubTechneDraftIdentityDefs.Channel;
11
+ }
12
+ export interface OutputSchema {
13
+ /** Hook protocol version. */
14
+ v: number;
15
+ status: 'bound' | 'unbound' | 'unavailable' | (string & {});
16
+ /** Present only with `bound`, and only when the calling PDS hosts the account. */
17
+ did?: 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 InvalidChannelError extends XRPCError {
31
+ constructor(src: XRPCError);
32
+ }
33
+ export declare class BadSignatureError extends XRPCError {
34
+ constructor(src: XRPCError);
35
+ }
36
+ export declare class RateLimitExceededError extends XRPCError {
37
+ constructor(src: XRPCError);
38
+ }
39
+ export declare function toKnownErr(e: any): any;
@@ -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.identity.resolve';
9
+ export class InvalidChannelError extends XRPCError {
10
+ constructor(src) {
11
+ super(src.status, src.error, src.message, src.headers, { cause: src });
12
+ }
13
+ }
14
+ export class BadSignatureError 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 function toKnownErr(e) {
25
+ if (e instanceof XRPCError) {
26
+ if (e.error === 'InvalidChannel')
27
+ return new InvalidChannelError(e);
28
+ if (e.error === 'BadSignature')
29
+ return new BadSignatureError(e);
30
+ if (e.error === 'RateLimitExceeded')
31
+ return new RateLimitExceededError(e);
32
+ }
33
+ return e;
34
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ export type QueryParams = {};
6
+ export interface InputSchema {
7
+ id: string;
8
+ }
9
+ export interface OutputSchema {
10
+ /** True when the caller had an unrevoked link with this id (spent or expired included) and this call revoked it; false when the caller has no link with this id or it was already revoked. */
11
+ revoked: boolean;
12
+ }
13
+ export interface CallOptions {
14
+ signal?: AbortSignal;
15
+ headers?: HeadersMap;
16
+ qp?: QueryParams;
17
+ encoding?: 'application/json';
18
+ }
19
+ export interface Response {
20
+ success: boolean;
21
+ headers: HeadersMap;
22
+ data: OutputSchema;
23
+ }
24
+ export declare class InvalidRequestError extends XRPCError {
25
+ constructor(src: XRPCError);
26
+ }
27
+ export declare class NotSupportedError extends XRPCError {
28
+ constructor(src: XRPCError);
29
+ }
30
+ export declare class RateLimitExceededError extends XRPCError {
31
+ constructor(src: XRPCError);
32
+ }
33
+ export declare class UpstreamFailureError extends XRPCError {
34
+ constructor(src: XRPCError);
35
+ }
36
+ 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 = 'pub.techne.draft.identity.revokeLinkToken';
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 NotSupportedError 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 UpstreamFailureError 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 === 'NotSupported')
34
+ return new NotSupportedError(e);
35
+ if (e.error === 'RateLimitExceeded')
36
+ return new RateLimitExceededError(e);
37
+ if (e.error === 'UpstreamFailure')
38
+ return new UpstreamFailureError(e);
39
+ }
40
+ return e;
41
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ export type QueryParams = {};
6
+ export interface InputSchema {
7
+ other: string;
8
+ }
9
+ export interface OutputSchema {
10
+ ok: boolean;
11
+ }
12
+ export interface CallOptions {
13
+ signal?: AbortSignal;
14
+ headers?: HeadersMap;
15
+ qp?: QueryParams;
16
+ encoding?: 'application/json';
17
+ }
18
+ export interface Response {
19
+ success: boolean;
20
+ headers: HeadersMap;
21
+ data: OutputSchema;
22
+ }
23
+ export declare class AuthenticationRequiredError extends XRPCError {
24
+ constructor(src: XRPCError);
25
+ }
26
+ export declare class NotFoundError extends XRPCError {
27
+ constructor(src: XRPCError);
28
+ }
29
+ 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 = 'pub.techne.draft.identity.unlinkAccount';
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 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 === 'AuthenticationRequired')
22
+ return new AuthenticationRequiredError(e);
23
+ if (e.error === 'NotFound')
24
+ return new NotFoundError(e);
25
+ }
26
+ return e;
27
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ export type QueryParams = {};
6
+ export interface InputSchema {
7
+ bid: string;
8
+ }
9
+ export interface OutputSchema {
10
+ ok: boolean;
11
+ }
12
+ export interface CallOptions {
13
+ signal?: AbortSignal;
14
+ headers?: HeadersMap;
15
+ qp?: QueryParams;
16
+ encoding?: 'application/json';
17
+ }
18
+ export interface Response {
19
+ success: boolean;
20
+ headers: HeadersMap;
21
+ data: OutputSchema;
22
+ }
23
+ export declare class AuthenticationRequiredError extends XRPCError {
24
+ constructor(src: XRPCError);
25
+ }
26
+ export declare class NotFoundError extends XRPCError {
27
+ constructor(src: XRPCError);
28
+ }
29
+ export declare class LastMethodError extends XRPCError {
30
+ constructor(src: XRPCError);
31
+ }
32
+ export declare function toKnownErr(e: any): any;
@@ -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.identity.unlinkMethod';
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 NotFoundError extends XRPCError {
15
+ constructor(src) {
16
+ super(src.status, src.error, src.message, src.headers, { cause: src });
17
+ }
18
+ }
19
+ export class LastMethodError extends XRPCError {
20
+ constructor(src) {
21
+ super(src.status, src.error, src.message, src.headers, { cause: src });
22
+ }
23
+ }
24
+ export function toKnownErr(e) {
25
+ if (e instanceof XRPCError) {
26
+ if (e.error === 'AuthenticationRequired')
27
+ return new AuthenticationRequiredError(e);
28
+ if (e.error === 'NotFound')
29
+ return new NotFoundError(e);
30
+ if (e.error === 'LastMethod')
31
+ return new LastMethodError(e);
32
+ }
33
+ return e;
34
+ }
@@ -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.interest';
7
+ /** The single free-text interests box. Embedded (a derived column) to match against event embeddings for the owner's OWN recommendations only. */
8
+ text: 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.interest", "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.interest';
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,28 @@
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.introProposal';
8
+ /** Exactly the two DIDs being introduced (named roles, no single subject). */
9
+ parties: string[];
10
+ /** Per-party connector notes (why this intro), at most one per party. */
11
+ contexts?: PartyContext[];
12
+ origin?: ComAtprotoRepoStrongRef.Main;
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.introProposal", "main">;
17
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
18
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
19
+ /** A connector's note addressed to (or about) one party of the intro. */
20
+ export interface PartyContext {
21
+ $type?: 'pub.techne.draft.introProposal#partyContext';
22
+ /** The party DID this note concerns. */
23
+ party: string;
24
+ /** The connector's free-form note for this party. */
25
+ note: string;
26
+ }
27
+ export declare function isPartyContext<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.introProposal", "partyContext">;
28
+ export declare function validatePartyContext<V>(v: V): ValidationResult<PartyContext & 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.introProposal';
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 hashPartyContext = 'partyContext';
14
+ export function isPartyContext(v) {
15
+ return is$typed(v, id, hashPartyContext);
16
+ }
17
+ export function validatePartyContext(v) {
18
+ return validate(v, id, hashPartyContext);
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.invite';
8
+ /** The invitee: a DID, or an opaque placeholderId for a pending (pre-bind) invite. */
9
+ subject: string;
10
+ event: 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.invite", "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.invite';
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.market.ask';
7
+ /** The single free-text ask box. Embedded (a derived column) for semantic match against the public offer index. */
8
+ text: string;
9
+ /** Optional longer detail — improves both public and private matching. Additive; absent on pre-field asks. */
10
+ detail?: string;
11
+ /** Optional 'needed by' deadline. Additive; absent when open-ended. */
12
+ neededBy?: string;
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.market.ask", "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.market.ask';
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.market.offer';
7
+ /** The single free-text offer box. Embedded (a derived column) into the public offer index for semantic match. */
8
+ text: 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.market.offer", "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.market.offer';
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,22 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ export interface Main {
6
+ $type: 'pub.techne.draft.membership';
7
+ /** The member: a DID, or an OPAQUE placeholderId for a pending (pre-bind) invite. What a placeholder maps to (email, phone, handle) is AppView operational state, never in this record. */
8
+ subject: string;
9
+ /** The role index (open registry; today 10=member, 20=builder, 30=facilitator, 40=steward). Policies interpret `atLeast: n` as ∃ a claim with role ≥ n. */
10
+ role: number;
11
+ /** Optional validity start; honored at policy evaluation. */
12
+ validFrom?: string;
13
+ /** Optional expiry; an expired claim grants nothing at policy evaluation. Our remove and leave set it to now: the membership ends, and what the member wrote while it held still counts. */
14
+ validUntil?: string;
15
+ /** The member on whose initiative the authority authored this claim. Attribution DATA carried in the claim body — stamped by the handler from the authenticated caller who passed the space's `manage` check, NEVER client-supplied, and read by NO policy predicate (the boundedness invariant is untouched: nothing evaluates access from this field). Meant for in-space (permissioned) rosters only; a firehose membership claim's `addedBy` would publish "who recruited whom" as a new world-readable social edge with no surface asking anyone's consent for that, so no PUBLIC-collective writer stamps it. Stamped by `proposeInvite` (`xrpc/invite.rs`) on in-space rosters only — carried forward from the pending claim at bind, never re-derived; never on a firehose claim. CAVEAT: deriving meaning from this field's ABSENCE would be fragile — any legacy or imported claim satisfies "absent addedBy" without having founded anything — so a future reader must not lean on absence; the intended fix, the day one is needed, is a positive `founder` marker, not stronger inference over this field's absence. */
16
+ addedBy?: string;
17
+ createdAt: string;
18
+ [k: string]: unknown;
19
+ }
20
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.membership", "main">;
21
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
22
+ 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.membership';
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.notificationState';
7
+ /** The notification's kind (for example ask_match, group_added). */
8
+ kind: string;
9
+ /** When the owner read it. */
10
+ readAt?: string;
11
+ /** When the owner dismissed it (or answered it, for a question). */
12
+ dismissedAt?: string;
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.notificationState", "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.notificationState';
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
+ export interface Main {
6
+ $type: 'pub.techne.draft.operator';
7
+ /** The operator's DID: a person's or an agent's. */
8
+ subject: string;
9
+ /** Who this is, for people reading the list. Never read back to identify anyone. */
10
+ note?: string;
11
+ /** When the period starts. Absent: it holds from always (records written before periods existed). */
12
+ validFrom?: string;
13
+ /** When the period ends (exclusive). Absent: it has not ended. Revoking an operator sets it; a value earlier than the edit ends the period back then (a compromise). */
14
+ validUntil?: string;
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.operator", "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.operator';
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, };