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,20 @@
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 = 'com.atproto.repo.createRecord';
9
+ export class InvalidSwapError extends XRPCError {
10
+ constructor(src) {
11
+ super(src.status, src.error, src.message, src.headers, { cause: src });
12
+ }
13
+ }
14
+ export function toKnownErr(e) {
15
+ if (e instanceof XRPCError) {
16
+ if (e.error === 'InvalidSwap')
17
+ return new InvalidSwapError(e);
18
+ }
19
+ return e;
20
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ export interface CommitMeta {
6
+ $type?: 'com.atproto.repo.defs#commitMeta';
7
+ cid: string;
8
+ rev: string;
9
+ }
10
+ export declare function isCommitMeta<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "com.atproto.repo.defs", "commitMeta">;
11
+ export declare function validateCommitMeta<V>(v: V): ValidationResult<CommitMeta & V>;
@@ -0,0 +1,11 @@
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 = 'com.atproto.repo.defs';
5
+ const hashCommitMeta = 'commitMeta';
6
+ export function isCommitMeta(v) {
7
+ return is$typed(v, id, hashCommitMeta);
8
+ }
9
+ export function validateCommitMeta(v) {
10
+ return validate(v, id, hashCommitMeta);
11
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ import type * as ComAtprotoRepoDefs from './defs.js';
6
+ export type QueryParams = {};
7
+ export interface InputSchema {
8
+ /** The handle or DID of the repo (aka, current account). */
9
+ repo: string;
10
+ /** The NSID of the record collection. */
11
+ collection: string;
12
+ /** The Record Key. */
13
+ rkey: string;
14
+ /** Compare and swap with the previous record by CID. */
15
+ swapRecord?: string;
16
+ /** Compare and swap with the previous commit by CID. */
17
+ swapCommit?: string;
18
+ }
19
+ export interface OutputSchema {
20
+ commit?: ComAtprotoRepoDefs.CommitMeta;
21
+ }
22
+ export interface CallOptions {
23
+ signal?: AbortSignal;
24
+ headers?: HeadersMap;
25
+ qp?: QueryParams;
26
+ encoding?: 'application/json';
27
+ }
28
+ export interface Response {
29
+ success: boolean;
30
+ headers: HeadersMap;
31
+ data: OutputSchema;
32
+ }
33
+ export declare class InvalidSwapError extends XRPCError {
34
+ constructor(src: XRPCError);
35
+ }
36
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,20 @@
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 = 'com.atproto.repo.deleteRecord';
9
+ export class InvalidSwapError extends XRPCError {
10
+ constructor(src) {
11
+ super(src.status, src.error, src.message, src.headers, { cause: src });
12
+ }
13
+ }
14
+ export function toKnownErr(e) {
15
+ if (e instanceof XRPCError) {
16
+ if (e.error === 'InvalidSwap')
17
+ return new InvalidSwapError(e);
18
+ }
19
+ return e;
20
+ }
@@ -0,0 +1,35 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ export type QueryParams = {
6
+ /** The handle or DID of the repo. */
7
+ repo: string;
8
+ /** The NSID of the record collection. */
9
+ collection: string;
10
+ /** The Record Key. */
11
+ rkey: string;
12
+ /** The CID of the version of the record. If not specified, then return the most recent version. */
13
+ cid?: string;
14
+ };
15
+ export type InputSchema = undefined;
16
+ export interface OutputSchema {
17
+ uri: string;
18
+ cid?: string;
19
+ value: {
20
+ [_ in string]: unknown;
21
+ };
22
+ }
23
+ export interface CallOptions {
24
+ signal?: AbortSignal;
25
+ headers?: HeadersMap;
26
+ }
27
+ export interface Response {
28
+ success: boolean;
29
+ headers: HeadersMap;
30
+ data: OutputSchema;
31
+ }
32
+ export declare class RecordNotFoundError extends XRPCError {
33
+ constructor(src: XRPCError);
34
+ }
35
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,20 @@
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 = 'com.atproto.repo.getRecord';
9
+ export class RecordNotFoundError extends XRPCError {
10
+ constructor(src) {
11
+ super(src.status, src.error, src.message, src.headers, { cause: src });
12
+ }
13
+ }
14
+ export function toKnownErr(e) {
15
+ if (e instanceof XRPCError) {
16
+ if (e.error === 'RecordNotFound')
17
+ return new RecordNotFoundError(e);
18
+ }
19
+ return e;
20
+ }
@@ -0,0 +1,41 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap } from '@atproto/xrpc';
5
+ import { type ValidationResult } from '@atproto/lexicon';
6
+ export type QueryParams = {
7
+ /** The handle or DID of the repo. */
8
+ repo: string;
9
+ /** The NSID of the record type. */
10
+ collection: string;
11
+ /** The number of records to return. */
12
+ limit?: number;
13
+ cursor?: string;
14
+ /** Flag to reverse the order of the returned records. */
15
+ reverse?: boolean;
16
+ };
17
+ export type InputSchema = undefined;
18
+ export interface OutputSchema {
19
+ cursor?: string;
20
+ records: Record[];
21
+ }
22
+ export interface CallOptions {
23
+ signal?: AbortSignal;
24
+ headers?: HeadersMap;
25
+ }
26
+ export interface Response {
27
+ success: boolean;
28
+ headers: HeadersMap;
29
+ data: OutputSchema;
30
+ }
31
+ export declare function toKnownErr(e: any): any;
32
+ export interface Record {
33
+ $type?: 'com.atproto.repo.listRecords#record';
34
+ uri: string;
35
+ cid: string;
36
+ value: {
37
+ [_ in string]: unknown;
38
+ };
39
+ }
40
+ export declare function isRecord<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "com.atproto.repo.listRecords", "record">;
41
+ export declare function validateRecord<V>(v: V): ValidationResult<Record & V>;
@@ -0,0 +1,14 @@
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 = 'com.atproto.repo.listRecords';
5
+ export function toKnownErr(e) {
6
+ return e;
7
+ }
8
+ const hashRecord = 'record';
9
+ export function isRecord(v) {
10
+ return is$typed(v, id, hashRecord);
11
+ }
12
+ export function validateRecord(v) {
13
+ return validate(v, id, hashRecord);
14
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ import type * as ComAtprotoRepoDefs from './defs.js';
6
+ export type QueryParams = {};
7
+ export interface InputSchema {
8
+ /** The handle or DID of the repo (aka, current account). */
9
+ repo: string;
10
+ /** The NSID of the record collection. */
11
+ collection: string;
12
+ /** The Record Key. */
13
+ rkey: string;
14
+ /** Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons. */
15
+ validate?: boolean;
16
+ /** The record to write. */
17
+ record: {
18
+ [_ in string]: unknown;
19
+ };
20
+ /** Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation */
21
+ swapRecord?: string | null;
22
+ /** Compare and swap with the previous commit by CID. */
23
+ swapCommit?: string;
24
+ }
25
+ export interface OutputSchema {
26
+ uri: string;
27
+ cid: string;
28
+ commit?: ComAtprotoRepoDefs.CommitMeta;
29
+ validationStatus?: 'valid' | 'unknown' | (string & {});
30
+ }
31
+ export interface CallOptions {
32
+ signal?: AbortSignal;
33
+ headers?: HeadersMap;
34
+ qp?: QueryParams;
35
+ encoding?: 'application/json';
36
+ }
37
+ export interface Response {
38
+ success: boolean;
39
+ headers: HeadersMap;
40
+ data: OutputSchema;
41
+ }
42
+ export declare class InvalidSwapError extends XRPCError {
43
+ constructor(src: XRPCError);
44
+ }
45
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,20 @@
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 = 'com.atproto.repo.putRecord';
9
+ export class InvalidSwapError extends XRPCError {
10
+ constructor(src) {
11
+ super(src.status, src.error, src.message, src.headers, { cause: src });
12
+ }
13
+ }
14
+ export function toKnownErr(e) {
15
+ if (e instanceof XRPCError) {
16
+ if (e.error === 'InvalidSwap')
17
+ return new InvalidSwapError(e);
18
+ }
19
+ return e;
20
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ export interface Main {
6
+ $type?: 'com.atproto.repo.strongRef';
7
+ uri: string;
8
+ cid: string;
9
+ }
10
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "com.atproto.repo.strongRef", "main">;
11
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
@@ -0,0 +1,11 @@
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 = 'com.atproto.repo.strongRef';
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);
11
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { HeadersMap, XRPCError } from '@atproto/xrpc';
5
+ export type QueryParams = {
6
+ /** The DID or `did#serviceId` reference of the service that the token will be used to authenticate with. */
7
+ aud: string;
8
+ /** The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope. */
9
+ exp?: number;
10
+ /** Lexicon (XRPC) method to bind the requested token to */
11
+ lxm?: string;
12
+ };
13
+ export type InputSchema = undefined;
14
+ export interface OutputSchema {
15
+ token: string;
16
+ }
17
+ export interface CallOptions {
18
+ signal?: AbortSignal;
19
+ headers?: HeadersMap;
20
+ }
21
+ export interface Response {
22
+ success: boolean;
23
+ headers: HeadersMap;
24
+ data: OutputSchema;
25
+ }
26
+ export declare class BadExpirationError extends XRPCError {
27
+ constructor(src: XRPCError);
28
+ }
29
+ export declare function toKnownErr(e: any): any;
@@ -0,0 +1,20 @@
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 = 'com.atproto.server.getServiceAuth';
9
+ export class BadExpirationError extends XRPCError {
10
+ constructor(src) {
11
+ super(src.status, src.error, src.message, src.headers, { cause: src });
12
+ }
13
+ }
14
+ export function toKnownErr(e) {
15
+ if (e instanceof XRPCError) {
16
+ if (e.error === 'BadExpiration')
17
+ return new BadExpirationError(e);
18
+ }
19
+ return e;
20
+ }
@@ -0,0 +1,65 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../../util.js';
6
+ import type * as CommunityLexiconLocationAddress from '../location/address.js';
7
+ import type * as CommunityLexiconLocationFsq from '../location/fsq.js';
8
+ import type * as CommunityLexiconLocationGeo from '../location/geo.js';
9
+ import type * as CommunityLexiconLocationHthree from '../location/hthree.js';
10
+ export interface Main {
11
+ $type: 'community.lexicon.calendar.event';
12
+ /** The name of the event. */
13
+ name: string;
14
+ /** The description of the event. */
15
+ description?: string;
16
+ /** Client-declared timestamp when the event was created. */
17
+ createdAt: string;
18
+ /** Client-declared timestamp when the event starts. */
19
+ startsAt?: string;
20
+ /** Client-declared timestamp when the event ends. */
21
+ endsAt?: string;
22
+ mode?: Mode;
23
+ status?: Status;
24
+ /** The locations where the event takes place. */
25
+ locations?: ($Typed<Uri> | $Typed<CommunityLexiconLocationAddress.Main> | $Typed<CommunityLexiconLocationFsq.Main> | $Typed<CommunityLexiconLocationGeo.Main> | $Typed<CommunityLexiconLocationHthree.Main> | {
26
+ $type: string;
27
+ })[];
28
+ /** URIs associated with the event. */
29
+ uris?: Uri[];
30
+ /** Whether a response is requested from attendees. */
31
+ rsvpExpected?: boolean;
32
+ [k: string]: unknown;
33
+ }
34
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "community.lexicon.calendar.event", "main">;
35
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
36
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
37
+ /** The mode of the event. */
38
+ export type Mode = 'community.lexicon.calendar.event#hybrid' | 'community.lexicon.calendar.event#inperson' | 'community.lexicon.calendar.event#virtual' | (string & {});
39
+ /** A virtual event that takes place online. */
40
+ export declare const VIRTUAL = "community.lexicon.calendar.event#virtual";
41
+ /** An in-person event that takes place offline. */
42
+ export declare const INPERSON = "community.lexicon.calendar.event#inperson";
43
+ /** A hybrid event that takes place both online and offline. */
44
+ export declare const HYBRID = "community.lexicon.calendar.event#hybrid";
45
+ /** The status of the event. */
46
+ export type Status = 'community.lexicon.calendar.event#cancelled' | 'community.lexicon.calendar.event#planned' | 'community.lexicon.calendar.event#postponed' | 'community.lexicon.calendar.event#rescheduled' | 'community.lexicon.calendar.event#scheduled' | (string & {});
47
+ /** The event has been created, but not finalized. */
48
+ export declare const PLANNED = "community.lexicon.calendar.event#planned";
49
+ /** The event has been created and scheduled. */
50
+ export declare const SCHEDULED = "community.lexicon.calendar.event#scheduled";
51
+ /** The event has been rescheduled. */
52
+ export declare const RESCHEDULED = "community.lexicon.calendar.event#rescheduled";
53
+ /** The event has been cancelled. */
54
+ export declare const CANCELLED = "community.lexicon.calendar.event#cancelled";
55
+ /** The event has been postponed and a new start date has not been set. */
56
+ export declare const POSTPONED = "community.lexicon.calendar.event#postponed";
57
+ /** A URI associated with the event. */
58
+ export interface Uri {
59
+ $type?: 'community.lexicon.calendar.event#uri';
60
+ uri: string;
61
+ /** The display name of the URI. */
62
+ name?: string;
63
+ }
64
+ export declare function isUri<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "community.lexicon.calendar.event", "uri">;
65
+ export declare function validateUri<V>(v: V): ValidationResult<Uri & V>;
@@ -0,0 +1,35 @@
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 = 'community.lexicon.calendar.event';
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
+ /** A virtual event that takes place online. */
14
+ export const VIRTUAL = `${id}#virtual`;
15
+ /** An in-person event that takes place offline. */
16
+ export const INPERSON = `${id}#inperson`;
17
+ /** A hybrid event that takes place both online and offline. */
18
+ export const HYBRID = `${id}#hybrid`;
19
+ /** The event has been created, but not finalized. */
20
+ export const PLANNED = `${id}#planned`;
21
+ /** The event has been created and scheduled. */
22
+ export const SCHEDULED = `${id}#scheduled`;
23
+ /** The event has been rescheduled. */
24
+ export const RESCHEDULED = `${id}#rescheduled`;
25
+ /** The event has been cancelled. */
26
+ export const CANCELLED = `${id}#cancelled`;
27
+ /** The event has been postponed and a new start date has not been set. */
28
+ export const POSTPONED = `${id}#postponed`;
29
+ const hashUri = 'uri';
30
+ export function isUri(v) {
31
+ return is$typed(v, id, hashUri);
32
+ }
33
+ export function validateUri(v) {
34
+ return validate(v, id, hashUri);
35
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
6
+ export interface Main {
7
+ $type: 'community.lexicon.calendar.rsvp';
8
+ subject: ComAtprotoRepoStrongRef.Main;
9
+ status: 'community.lexicon.calendar.rsvp#interested' | 'community.lexicon.calendar.rsvp#going' | 'community.lexicon.calendar.rsvp#notgoing' | (string & {});
10
+ [k: string]: unknown;
11
+ }
12
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "community.lexicon.calendar.rsvp", "main">;
13
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
14
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
15
+ /** Interested in the event */
16
+ export declare const INTERESTED = "community.lexicon.calendar.rsvp#interested";
17
+ /** Going to the event */
18
+ export declare const GOING = "community.lexicon.calendar.rsvp#going";
19
+ /** Not going to the event */
20
+ export declare const NOTGOING = "community.lexicon.calendar.rsvp#notgoing";
@@ -0,0 +1,18 @@
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 = 'community.lexicon.calendar.rsvp';
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
+ /** Interested in the event */
14
+ export const INTERESTED = `${id}#interested`;
15
+ /** Going to the event */
16
+ export const GOING = `${id}#going`;
17
+ /** Not going to the event */
18
+ export const NOTGOING = `${id}#notgoing`;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ /** A physical location in the form of a street address. */
6
+ export interface Main {
7
+ $type?: 'community.lexicon.location.address';
8
+ /** The ISO 3166 country code. Preferably the 2-letter code. */
9
+ country: string;
10
+ /** The postal code of the location. */
11
+ postalCode?: string;
12
+ /** The administrative region of the country. For example, a state in the USA. */
13
+ region?: string;
14
+ /** The locality of the region. For example, a city in the USA. */
15
+ locality?: string;
16
+ /** The street address. */
17
+ street?: string;
18
+ /** The name of the location. */
19
+ name?: string;
20
+ }
21
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "community.lexicon.location.address", "main">;
22
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
@@ -0,0 +1,11 @@
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 = 'community.lexicon.location.address';
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);
11
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ /** A physical location contained in the Foursquare Open Source Places dataset. */
6
+ export interface Main {
7
+ $type?: 'community.lexicon.location.fsq';
8
+ /** The unique identifier of a Foursquare POI. */
9
+ fsq_place_id: string;
10
+ latitude?: string;
11
+ longitude?: string;
12
+ /** The name of the location. */
13
+ name?: string;
14
+ }
15
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "community.lexicon.location.fsq", "main">;
16
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
@@ -0,0 +1,11 @@
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 = 'community.lexicon.location.fsq';
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);
11
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ /** A physical location in the form of a WGS84 coordinate. */
6
+ export interface Main {
7
+ $type?: 'community.lexicon.location.geo';
8
+ latitude: string;
9
+ longitude: string;
10
+ altitude?: string;
11
+ /** The name of the location. */
12
+ name?: string;
13
+ }
14
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "community.lexicon.location.geo", "main">;
15
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
@@ -0,0 +1,11 @@
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 = 'community.lexicon.location.geo';
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);
11
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ /** A physical location in the form of a H3 encoded location. */
6
+ export interface Main {
7
+ $type?: 'community.lexicon.location.hthree';
8
+ /** The h3 encoded location. */
9
+ value: string;
10
+ /** The name of the location. */
11
+ name?: string;
12
+ }
13
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "community.lexicon.location.hthree", "main">;
14
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
@@ -0,0 +1,11 @@
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 = 'community.lexicon.location.hthree';
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);
11
+ }