@hypercerts-org/lexicon 0.10.0-beta.9 → 0.11.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 (256) hide show
  1. package/CHANGELOG.md +907 -0
  2. package/README.md +420 -168
  3. package/SCHEMAS.md +897 -142
  4. package/dist/exports.d.ts +1876 -453
  5. package/dist/exports.d.ts.map +1 -1
  6. package/dist/generated/exports.d.ts +1876 -453
  7. package/dist/generated/exports.d.ts.map +1 -1
  8. package/dist/generated/lexicons.d.ts +3709 -1113
  9. package/dist/generated/lexicons.d.ts.map +1 -1
  10. package/dist/generated/types/app/bsky/richtext/facet.d.ts +44 -7
  11. package/dist/generated/types/app/bsky/richtext/facet.d.ts.map +1 -1
  12. package/dist/generated/types/app/certified/actor/organization.d.ts +32 -0
  13. package/dist/generated/types/app/certified/actor/organization.d.ts.map +1 -0
  14. package/dist/generated/types/app/certified/actor/profile.d.ts +30 -0
  15. package/dist/generated/types/app/certified/actor/profile.d.ts.map +1 -0
  16. package/dist/generated/types/app/certified/badge/award.d.ts +4 -3
  17. package/dist/generated/types/app/certified/badge/award.d.ts.map +1 -1
  18. package/dist/generated/types/app/certified/badge/definition.d.ts +3 -3
  19. package/dist/generated/types/app/certified/badge/definition.d.ts.map +1 -1
  20. package/dist/generated/types/app/certified/badge/response.d.ts +3 -3
  21. package/dist/generated/types/app/certified/badge/response.d.ts.map +1 -1
  22. package/dist/generated/types/app/certified/defs.d.ts +11 -1
  23. package/dist/generated/types/app/certified/defs.d.ts.map +1 -1
  24. package/dist/generated/types/app/certified/link/evm.d.ts +45 -0
  25. package/dist/generated/types/app/certified/link/evm.d.ts.map +1 -0
  26. package/dist/generated/types/app/certified/location.d.ts +13 -5
  27. package/dist/generated/types/app/certified/location.d.ts.map +1 -1
  28. package/dist/generated/types/org/hyperboards/board.d.ts +75 -0
  29. package/dist/generated/types/org/hyperboards/board.d.ts.map +1 -0
  30. package/dist/generated/types/org/hyperboards/displayProfile.d.ts +31 -0
  31. package/dist/generated/types/org/hyperboards/displayProfile.d.ts.map +1 -0
  32. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +33 -11
  33. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  34. package/dist/generated/types/org/hypercerts/claim/{contributionDetails.d.ts → contribution.d.ts} +6 -6
  35. package/dist/generated/types/org/hypercerts/claim/contribution.d.ts.map +1 -0
  36. package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts +2 -2
  37. package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -1
  38. package/dist/generated/types/org/hypercerts/claim/rights.d.ts +3 -3
  39. package/dist/generated/types/org/hypercerts/claim/rights.d.ts.map +1 -1
  40. package/dist/generated/types/org/hypercerts/collection.d.ts +48 -0
  41. package/dist/generated/types/org/hypercerts/collection.d.ts.map +1 -0
  42. package/dist/generated/types/org/hypercerts/context/acknowledgement.d.ts +25 -0
  43. package/dist/generated/types/org/hypercerts/context/acknowledgement.d.ts.map +1 -0
  44. package/dist/generated/types/org/hypercerts/context/attachment.d.ts +37 -0
  45. package/dist/generated/types/org/hypercerts/context/attachment.d.ts.map +1 -0
  46. package/dist/{types/org/hypercerts/claim → generated/types/org/hypercerts/context}/evaluation.d.ts +15 -15
  47. package/dist/generated/types/org/hypercerts/context/evaluation.d.ts.map +1 -0
  48. package/dist/generated/types/org/hypercerts/context/measurement.d.ts +43 -0
  49. package/dist/generated/types/org/hypercerts/context/measurement.d.ts.map +1 -0
  50. package/dist/generated/types/org/hypercerts/defs.d.ts +19 -44
  51. package/dist/generated/types/org/hypercerts/defs.d.ts.map +1 -1
  52. package/dist/generated/types/org/hypercerts/funding/receipt.d.ts +18 -6
  53. package/dist/generated/types/org/hypercerts/funding/receipt.d.ts.map +1 -1
  54. package/dist/generated/types/org/hypercerts/workscope/cel.d.ts +20 -0
  55. package/dist/generated/types/org/hypercerts/workscope/cel.d.ts.map +1 -0
  56. package/dist/generated/types/org/hypercerts/workscope/tag.d.ts +36 -0
  57. package/dist/generated/types/org/hypercerts/workscope/tag.d.ts.map +1 -0
  58. package/dist/generated/types/pub/leaflet/blocks/blockquote.d.ts +13 -0
  59. package/dist/generated/types/pub/leaflet/blocks/blockquote.d.ts.map +1 -0
  60. package/dist/generated/types/pub/leaflet/blocks/bskyPost.d.ts +13 -0
  61. package/dist/generated/types/pub/leaflet/blocks/bskyPost.d.ts.map +1 -0
  62. package/dist/generated/types/pub/leaflet/blocks/button.d.ts +12 -0
  63. package/dist/generated/types/pub/leaflet/blocks/button.d.ts.map +1 -0
  64. package/dist/generated/types/pub/leaflet/blocks/code.d.ts +13 -0
  65. package/dist/generated/types/pub/leaflet/blocks/code.d.ts.map +1 -0
  66. package/dist/generated/types/pub/leaflet/blocks/header.d.ts +14 -0
  67. package/dist/generated/types/pub/leaflet/blocks/header.d.ts.map +1 -0
  68. package/dist/generated/types/pub/leaflet/blocks/horizontalRule.d.ts +10 -0
  69. package/dist/generated/types/pub/leaflet/blocks/horizontalRule.d.ts.map +1 -0
  70. package/dist/generated/types/pub/leaflet/blocks/iframe.d.ts +12 -0
  71. package/dist/generated/types/pub/leaflet/blocks/iframe.d.ts.map +1 -0
  72. package/dist/generated/types/pub/leaflet/blocks/image.d.ts +21 -0
  73. package/dist/generated/types/pub/leaflet/blocks/image.d.ts.map +1 -0
  74. package/dist/generated/types/pub/leaflet/blocks/math.d.ts +11 -0
  75. package/dist/generated/types/pub/leaflet/blocks/math.d.ts.map +1 -0
  76. package/dist/generated/types/pub/leaflet/blocks/orderedList.d.ts +31 -0
  77. package/dist/generated/types/pub/leaflet/blocks/orderedList.d.ts.map +1 -0
  78. package/dist/generated/types/pub/leaflet/blocks/page.d.ts +11 -0
  79. package/dist/generated/types/pub/leaflet/blocks/page.d.ts.map +1 -0
  80. package/dist/generated/types/pub/leaflet/blocks/poll.d.ts +12 -0
  81. package/dist/generated/types/pub/leaflet/blocks/poll.d.ts.map +1 -0
  82. package/dist/generated/types/pub/leaflet/blocks/text.d.ts +14 -0
  83. package/dist/generated/types/pub/leaflet/blocks/text.d.ts.map +1 -0
  84. package/dist/generated/types/pub/leaflet/blocks/unorderedList.d.ts +29 -0
  85. package/dist/generated/types/pub/leaflet/blocks/unorderedList.d.ts.map +1 -0
  86. package/dist/generated/types/pub/leaflet/blocks/website.d.ts +14 -0
  87. package/dist/generated/types/pub/leaflet/blocks/website.d.ts.map +1 -0
  88. package/dist/generated/types/pub/leaflet/pages/linearDocument.d.ts +54 -1
  89. package/dist/generated/types/pub/leaflet/pages/linearDocument.d.ts.map +1 -1
  90. package/dist/generated/types/pub/leaflet/richtext/facet.d.ts +97 -0
  91. package/dist/generated/types/pub/leaflet/richtext/facet.d.ts.map +1 -0
  92. package/dist/index.cjs +5682 -1668
  93. package/dist/index.cjs.map +1 -1
  94. package/dist/index.mjs +5554 -1640
  95. package/dist/index.mjs.map +1 -1
  96. package/dist/lexicons.cjs +1846 -419
  97. package/dist/lexicons.cjs.map +1 -1
  98. package/dist/lexicons.d.ts +3709 -1113
  99. package/dist/lexicons.d.ts.map +1 -1
  100. package/dist/lexicons.mjs +1846 -419
  101. package/dist/lexicons.mjs.map +1 -1
  102. package/dist/tests/validate-external-lexicons.test.d.ts +2 -0
  103. package/dist/tests/validate-external-lexicons.test.d.ts.map +1 -0
  104. package/dist/tests/validate-funding-receipt.test.d.ts +2 -0
  105. package/dist/tests/validate-funding-receipt.test.d.ts.map +1 -0
  106. package/dist/tests/validate-link-evm.test.d.ts +2 -0
  107. package/dist/tests/validate-link-evm.test.d.ts.map +1 -0
  108. package/dist/tests/validate-rights.test.d.ts +2 -0
  109. package/dist/tests/validate-rights.test.d.ts.map +1 -0
  110. package/dist/types/app/bsky/richtext/facet.d.ts +44 -7
  111. package/dist/types/app/bsky/richtext/facet.d.ts.map +1 -1
  112. package/dist/types/app/certified/actor/organization.d.ts +32 -0
  113. package/dist/types/app/certified/actor/organization.d.ts.map +1 -0
  114. package/dist/types/app/certified/actor/profile.d.ts +30 -0
  115. package/dist/types/app/certified/actor/profile.d.ts.map +1 -0
  116. package/dist/types/app/certified/badge/award.d.ts +4 -3
  117. package/dist/types/app/certified/badge/award.d.ts.map +1 -1
  118. package/dist/types/app/certified/badge/definition.d.ts +3 -3
  119. package/dist/types/app/certified/badge/definition.d.ts.map +1 -1
  120. package/dist/types/app/certified/badge/response.d.ts +3 -3
  121. package/dist/types/app/certified/badge/response.d.ts.map +1 -1
  122. package/dist/types/app/certified/defs.d.ts +11 -1
  123. package/dist/types/app/certified/defs.d.ts.map +1 -1
  124. package/dist/types/app/certified/link/evm.d.ts +45 -0
  125. package/dist/types/app/certified/link/evm.d.ts.map +1 -0
  126. package/dist/types/app/certified/location.d.ts +13 -5
  127. package/dist/types/app/certified/location.d.ts.map +1 -1
  128. package/dist/types/org/hyperboards/board.d.ts +75 -0
  129. package/dist/types/org/hyperboards/board.d.ts.map +1 -0
  130. package/dist/types/org/hyperboards/displayProfile.d.ts +31 -0
  131. package/dist/types/org/hyperboards/displayProfile.d.ts.map +1 -0
  132. package/dist/types/org/hypercerts/claim/activity.d.ts +33 -11
  133. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  134. package/dist/types/org/hypercerts/claim/{contributionDetails.d.ts → contribution.d.ts} +6 -6
  135. package/dist/types/org/hypercerts/claim/contribution.d.ts.map +1 -0
  136. package/dist/types/org/hypercerts/claim/contributorInformation.d.ts +2 -2
  137. package/dist/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -1
  138. package/dist/types/org/hypercerts/claim/rights.d.ts +3 -3
  139. package/dist/types/org/hypercerts/claim/rights.d.ts.map +1 -1
  140. package/dist/types/org/hypercerts/collection.d.ts +48 -0
  141. package/dist/types/org/hypercerts/collection.d.ts.map +1 -0
  142. package/dist/types/org/hypercerts/context/acknowledgement.d.ts +25 -0
  143. package/dist/types/org/hypercerts/context/acknowledgement.d.ts.map +1 -0
  144. package/dist/types/org/hypercerts/context/attachment.d.ts +37 -0
  145. package/dist/types/org/hypercerts/context/attachment.d.ts.map +1 -0
  146. package/dist/{generated/types/org/hypercerts/claim → types/org/hypercerts/context}/evaluation.d.ts +15 -15
  147. package/dist/types/org/hypercerts/context/evaluation.d.ts.map +1 -0
  148. package/dist/types/org/hypercerts/context/measurement.d.ts +43 -0
  149. package/dist/types/org/hypercerts/context/measurement.d.ts.map +1 -0
  150. package/dist/types/org/hypercerts/defs.d.ts +19 -44
  151. package/dist/types/org/hypercerts/defs.d.ts.map +1 -1
  152. package/dist/types/org/hypercerts/funding/receipt.d.ts +18 -6
  153. package/dist/types/org/hypercerts/funding/receipt.d.ts.map +1 -1
  154. package/dist/types/org/hypercerts/workscope/cel.d.ts +20 -0
  155. package/dist/types/org/hypercerts/workscope/cel.d.ts.map +1 -0
  156. package/dist/types/org/hypercerts/workscope/tag.d.ts +36 -0
  157. package/dist/types/org/hypercerts/workscope/tag.d.ts.map +1 -0
  158. package/dist/types/pub/leaflet/blocks/blockquote.d.ts +13 -0
  159. package/dist/types/pub/leaflet/blocks/blockquote.d.ts.map +1 -0
  160. package/dist/types/pub/leaflet/blocks/bskyPost.d.ts +13 -0
  161. package/dist/types/pub/leaflet/blocks/bskyPost.d.ts.map +1 -0
  162. package/dist/types/pub/leaflet/blocks/button.d.ts +12 -0
  163. package/dist/types/pub/leaflet/blocks/button.d.ts.map +1 -0
  164. package/dist/types/pub/leaflet/blocks/code.d.ts +13 -0
  165. package/dist/types/pub/leaflet/blocks/code.d.ts.map +1 -0
  166. package/dist/types/pub/leaflet/blocks/header.d.ts +14 -0
  167. package/dist/types/pub/leaflet/blocks/header.d.ts.map +1 -0
  168. package/dist/types/pub/leaflet/blocks/horizontalRule.d.ts +10 -0
  169. package/dist/types/pub/leaflet/blocks/horizontalRule.d.ts.map +1 -0
  170. package/dist/types/pub/leaflet/blocks/iframe.d.ts +12 -0
  171. package/dist/types/pub/leaflet/blocks/iframe.d.ts.map +1 -0
  172. package/dist/types/pub/leaflet/blocks/image.d.ts +21 -0
  173. package/dist/types/pub/leaflet/blocks/image.d.ts.map +1 -0
  174. package/dist/types/pub/leaflet/blocks/math.d.ts +11 -0
  175. package/dist/types/pub/leaflet/blocks/math.d.ts.map +1 -0
  176. package/dist/types/pub/leaflet/blocks/orderedList.d.ts +31 -0
  177. package/dist/types/pub/leaflet/blocks/orderedList.d.ts.map +1 -0
  178. package/dist/types/pub/leaflet/blocks/page.d.ts +11 -0
  179. package/dist/types/pub/leaflet/blocks/page.d.ts.map +1 -0
  180. package/dist/types/pub/leaflet/blocks/poll.d.ts +12 -0
  181. package/dist/types/pub/leaflet/blocks/poll.d.ts.map +1 -0
  182. package/dist/types/pub/leaflet/blocks/text.d.ts +14 -0
  183. package/dist/types/pub/leaflet/blocks/text.d.ts.map +1 -0
  184. package/dist/types/pub/leaflet/blocks/unorderedList.d.ts +29 -0
  185. package/dist/types/pub/leaflet/blocks/unorderedList.d.ts.map +1 -0
  186. package/dist/types/pub/leaflet/blocks/website.d.ts +14 -0
  187. package/dist/types/pub/leaflet/blocks/website.d.ts.map +1 -0
  188. package/dist/types/pub/leaflet/pages/linearDocument.d.ts +54 -1
  189. package/dist/types/pub/leaflet/pages/linearDocument.d.ts.map +1 -1
  190. package/dist/types/pub/leaflet/richtext/facet.d.ts +97 -0
  191. package/dist/types/pub/leaflet/richtext/facet.d.ts.map +1 -0
  192. package/lexicons/app/bsky/richtext/facet.json +51 -0
  193. package/lexicons/app/certified/actor/organization.json +70 -0
  194. package/lexicons/app/certified/actor/profile.json +61 -0
  195. package/lexicons/app/certified/badge/award.json +10 -3
  196. package/lexicons/app/certified/badge/definition.json +17 -4
  197. package/lexicons/app/certified/badge/response.json +5 -4
  198. package/lexicons/app/certified/defs.json +11 -3
  199. package/lexicons/app/certified/link/evm.json +88 -0
  200. package/lexicons/app/certified/location.json +29 -6
  201. package/lexicons/org/hyperboards/board.json +152 -0
  202. package/lexicons/org/hyperboards/displayProfile.json +64 -0
  203. package/lexicons/org/hypercerts/claim/activity.json +61 -39
  204. package/lexicons/org/hypercerts/claim/{contributionDetails.json → contribution.json} +4 -4
  205. package/lexicons/org/hypercerts/claim/contributorInformation.json +3 -2
  206. package/lexicons/org/hypercerts/claim/rights.json +5 -3
  207. package/lexicons/org/hypercerts/{claim/collection.json → collection.json} +33 -11
  208. package/lexicons/org/hypercerts/context/acknowledgement.json +42 -0
  209. package/lexicons/org/hypercerts/context/attachment.json +88 -0
  210. package/lexicons/org/hypercerts/{claim → context}/evaluation.json +25 -22
  211. package/lexicons/org/hypercerts/context/measurement.json +107 -0
  212. package/lexicons/org/hypercerts/defs.json +35 -89
  213. package/lexicons/org/hypercerts/funding/receipt.json +40 -14
  214. package/lexicons/org/hypercerts/workscope/cel.json +39 -0
  215. package/lexicons/org/hypercerts/workscope/tag.json +87 -0
  216. package/lexicons/pub/leaflet/blocks/blockquote.json +22 -0
  217. package/lexicons/pub/leaflet/blocks/bskyPost.json +19 -0
  218. package/lexicons/pub/leaflet/blocks/button.json +19 -0
  219. package/lexicons/pub/leaflet/blocks/code.json +21 -0
  220. package/lexicons/pub/leaflet/blocks/header.json +27 -0
  221. package/lexicons/pub/leaflet/blocks/horizontalRule.json +11 -0
  222. package/lexicons/pub/leaflet/blocks/iframe.json +21 -0
  223. package/lexicons/pub/leaflet/blocks/image.json +37 -0
  224. package/lexicons/pub/leaflet/blocks/math.json +15 -0
  225. package/lexicons/pub/leaflet/blocks/orderedList.json +54 -0
  226. package/lexicons/pub/leaflet/blocks/page.json +15 -0
  227. package/lexicons/pub/leaflet/blocks/poll.json +16 -0
  228. package/lexicons/pub/leaflet/blocks/text.json +26 -0
  229. package/lexicons/pub/leaflet/blocks/unorderedList.json +50 -0
  230. package/lexicons/pub/leaflet/blocks/website.json +27 -0
  231. package/lexicons/pub/leaflet/pages/linearDocument.json +98 -0
  232. package/lexicons/pub/leaflet/richtext/facet.json +149 -0
  233. package/package.json +4 -5
  234. package/dist/generated/types/org/hypercerts/claim/collection.d.ts +0 -41
  235. package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +0 -1
  236. package/dist/generated/types/org/hypercerts/claim/contributionDetails.d.ts.map +0 -1
  237. package/dist/generated/types/org/hypercerts/claim/evaluation.d.ts.map +0 -1
  238. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts +0 -29
  239. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
  240. package/dist/generated/types/org/hypercerts/claim/measurement.d.ts +0 -30
  241. package/dist/generated/types/org/hypercerts/claim/measurement.d.ts.map +0 -1
  242. package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts +0 -31
  243. package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts.map +0 -1
  244. package/dist/types/org/hypercerts/claim/collection.d.ts +0 -41
  245. package/dist/types/org/hypercerts/claim/collection.d.ts.map +0 -1
  246. package/dist/types/org/hypercerts/claim/contributionDetails.d.ts.map +0 -1
  247. package/dist/types/org/hypercerts/claim/evaluation.d.ts.map +0 -1
  248. package/dist/types/org/hypercerts/claim/evidence.d.ts +0 -29
  249. package/dist/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
  250. package/dist/types/org/hypercerts/claim/measurement.d.ts +0 -30
  251. package/dist/types/org/hypercerts/claim/measurement.d.ts.map +0 -1
  252. package/dist/types/org/hypercerts/helper/workScopeTag.d.ts +0 -31
  253. package/dist/types/org/hypercerts/helper/workScopeTag.d.ts.map +0 -1
  254. package/lexicons/org/hypercerts/claim/evidence.json +0 -57
  255. package/lexicons/org/hypercerts/claim/measurement.json +0 -70
  256. package/lexicons/org/hypercerts/helper/workScopeTag.json +0 -65
@@ -0,0 +1,12 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ export interface Main {
6
+ $type?: 'pub.leaflet.blocks.iframe';
7
+ url: string;
8
+ height?: number;
9
+ }
10
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.iframe", "main">;
11
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
12
+ //# sourceMappingURL=iframe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iframe.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/iframe.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,2BAA2B,CAAA;IACnC,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult, BlobRef } from '@atproto/lexicon';
5
+ export interface Main {
6
+ $type?: 'pub.leaflet.blocks.image';
7
+ image: BlobRef;
8
+ /** Alt text description of the image, for accessibility. */
9
+ alt?: string;
10
+ aspectRatio: AspectRatio;
11
+ }
12
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.image", "main">;
13
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
14
+ export interface AspectRatio {
15
+ $type?: 'pub.leaflet.blocks.image#aspectRatio';
16
+ width: number;
17
+ height: number;
18
+ }
19
+ export declare function isAspectRatio<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.image", "aspectRatio">;
20
+ export declare function validateAspectRatio<V>(v: V): ValidationResult<AspectRatio & V>;
21
+ //# sourceMappingURL=image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/image.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,0BAA0B,CAAA;IAClC,KAAK,EAAE,OAAO,CAAA;IACd,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,WAAW,CAAA;CACzB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,sCAAsC,CAAA;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C"}
@@ -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?: 'pub.leaflet.blocks.math';
7
+ tex: string;
8
+ }
9
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.math", "main">;
10
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
11
+ //# sourceMappingURL=math.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/math.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,yBAAyB,CAAA;IACjC,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../../util';
6
+ import type * as PubLeafletBlocksText from './text.js';
7
+ import type * as PubLeafletBlocksHeader from './header.js';
8
+ import type * as PubLeafletBlocksImage from './image.js';
9
+ import type * as PubLeafletBlocksUnorderedList from './unorderedList.js';
10
+ export interface Main {
11
+ $type?: 'pub.leaflet.blocks.orderedList';
12
+ /** The starting number for this ordered list. Defaults to 1 if not specified. */
13
+ startIndex?: number;
14
+ children: ListItem[];
15
+ }
16
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.orderedList", "main">;
17
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
18
+ export interface ListItem {
19
+ $type?: 'pub.leaflet.blocks.orderedList#listItem';
20
+ /** If present, this item is a checklist item. true = checked, false = unchecked. If absent, this is a normal list item. */
21
+ checked?: boolean;
22
+ content: $Typed<PubLeafletBlocksText.Main> | $Typed<PubLeafletBlocksHeader.Main> | $Typed<PubLeafletBlocksImage.Main> | {
23
+ $type: string;
24
+ };
25
+ /** Nested ordered list items. Mutually exclusive with unorderedListChildren; if both are present, children takes precedence. */
26
+ children?: ListItem[];
27
+ unorderedListChildren?: PubLeafletBlocksUnorderedList.Main;
28
+ }
29
+ export declare function isListItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.orderedList", "listItem">;
30
+ export declare function validateListItem<V>(v: V): ValidationResult<ListItem & V>;
31
+ //# sourceMappingURL=orderedList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"orderedList.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/orderedList.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EA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ult } from '@atproto/lexicon';
5
+ export interface Main {
6
+ $type?: 'pub.leaflet.blocks.page';
7
+ id: string;
8
+ }
9
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.page", "main">;
10
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
11
+ //# sourceMappingURL=page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/page.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,yBAAyB,CAAA;IACjC,EAAE,EAAE,MAAM,CAAA;CACX;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -0,0 +1,12 @@
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.leaflet.blocks.poll';
8
+ pollRef: ComAtprotoRepoStrongRef.Main;
9
+ }
10
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.poll", "main">;
11
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
12
+ //# sourceMappingURL=poll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"poll.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/poll.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,yBAAyB,CAAA;IACjC,OAAO,EAAE,uBAAuB,CAAC,IAAI,CAAA;CACtC;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import type * as PubLeafletRichtextFacet from '../richtext/facet.js';
6
+ export interface Main {
7
+ $type?: 'pub.leaflet.blocks.text';
8
+ plaintext: string;
9
+ textSize?: 'default' | 'small' | 'large';
10
+ facets?: PubLeafletRichtextFacet.Main[];
11
+ }
12
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.text", "main">;
13
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
14
+ //# sourceMappingURL=text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/text.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,uBAAuB,MAAM,sBAAsB,CAAA;AAMpE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,yBAAyB,CAAA;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAA;IACxC,MAAM,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;CACxC;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,sFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../../util';
6
+ import type * as PubLeafletBlocksText from './text.js';
7
+ import type * as PubLeafletBlocksHeader from './header.js';
8
+ import type * as PubLeafletBlocksImage from './image.js';
9
+ import type * as PubLeafletBlocksOrderedList from './orderedList.js';
10
+ export interface Main {
11
+ $type?: 'pub.leaflet.blocks.unorderedList';
12
+ children: ListItem[];
13
+ }
14
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.unorderedList", "main">;
15
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
16
+ export interface ListItem {
17
+ $type?: 'pub.leaflet.blocks.unorderedList#listItem';
18
+ /** If present, this item is a checklist item. true = checked, false = unchecked. If absent, this is a normal list item. */
19
+ checked?: boolean;
20
+ content: $Typed<PubLeafletBlocksText.Main> | $Typed<PubLeafletBlocksHeader.Main> | $Typed<PubLeafletBlocksImage.Main> | {
21
+ $type: string;
22
+ };
23
+ /** Nested unordered list items. Mutually exclusive with orderedListChildren; if both are present, children takes precedence. */
24
+ children?: ListItem[];
25
+ orderedListChildren?: PubLeafletBlocksOrderedList.Main;
26
+ }
27
+ export declare function isListItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.unorderedList", "listItem">;
28
+ export declare function validateListItem<V>(v: V): ValidationResult<ListItem & V>;
29
+ //# sourceMappingURL=unorderedList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unorderedList.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/unorderedList.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AACtD,OAAO,KAAK,KAAK,sBAAsB,MAAM,aAAa,CAAA;AAC1D,OAAO,KAAK,KAAK,qBAAqB,MAAM,YAAY,CAAA;AACxD,OAAO,KAAK,KAAK,2BAA2B,MAAM,kBAAkB,CAAA;AAMpE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,kCAAkC,CAAA;IAC1C,QAAQ,EAAE,QAAQ,EAAE,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,2CAA2C,CAAA;IACnD,2HAA2H;IAC3H,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,EACH,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,GACjC,MAAM,CAAC,sBAAsB,CAAC,IAAI,CAAC,GACnC,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,GAClC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,gIAAgI;IAChI,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAA;IACrB,mBAAmB,CAAC,EAAE,2BAA2B,CAAC,IAAI,CAAA;CACvD;AAID,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mGAEjC;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kCAEvC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult, BlobRef } from '@atproto/lexicon';
5
+ export interface Main {
6
+ $type?: 'pub.leaflet.blocks.website';
7
+ previewImage?: BlobRef;
8
+ title?: string;
9
+ description?: string;
10
+ src: string;
11
+ }
12
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.blocks.website", "main">;
13
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
14
+ //# sourceMappingURL=website.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"website.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/blocks/website.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,4BAA4B,CAAA;IACpC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC"}
@@ -1,2 +1,55 @@
1
- export * from '@atcute/leaflet/types/pages/linearDocument';
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../../util';
6
+ import type * as PubLeafletBlocksIframe from '../blocks/iframe.js';
7
+ import type * as PubLeafletBlocksText from '../blocks/text.js';
8
+ import type * as PubLeafletBlocksBlockquote from '../blocks/blockquote.js';
9
+ import type * as PubLeafletBlocksHeader from '../blocks/header.js';
10
+ import type * as PubLeafletBlocksImage from '../blocks/image.js';
11
+ import type * as PubLeafletBlocksUnorderedList from '../blocks/unorderedList.js';
12
+ import type * as PubLeafletBlocksOrderedList from '../blocks/orderedList.js';
13
+ import type * as PubLeafletBlocksWebsite from '../blocks/website.js';
14
+ import type * as PubLeafletBlocksMath from '../blocks/math.js';
15
+ import type * as PubLeafletBlocksCode from '../blocks/code.js';
16
+ import type * as PubLeafletBlocksHorizontalRule from '../blocks/horizontalRule.js';
17
+ import type * as PubLeafletBlocksBskyPost from '../blocks/bskyPost.js';
18
+ import type * as PubLeafletBlocksPage from '../blocks/page.js';
19
+ import type * as PubLeafletBlocksPoll from '../blocks/poll.js';
20
+ import type * as PubLeafletBlocksButton from '../blocks/button.js';
21
+ export interface Main {
22
+ $type?: 'pub.leaflet.pages.linearDocument';
23
+ id?: string;
24
+ blocks: Block[];
25
+ }
26
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.pages.linearDocument", "main">;
27
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
28
+ export interface Block {
29
+ $type?: 'pub.leaflet.pages.linearDocument#block';
30
+ block: $Typed<PubLeafletBlocksIframe.Main> | $Typed<PubLeafletBlocksText.Main> | $Typed<PubLeafletBlocksBlockquote.Main> | $Typed<PubLeafletBlocksHeader.Main> | $Typed<PubLeafletBlocksImage.Main> | $Typed<PubLeafletBlocksUnorderedList.Main> | $Typed<PubLeafletBlocksOrderedList.Main> | $Typed<PubLeafletBlocksWebsite.Main> | $Typed<PubLeafletBlocksMath.Main> | $Typed<PubLeafletBlocksCode.Main> | $Typed<PubLeafletBlocksHorizontalRule.Main> | $Typed<PubLeafletBlocksBskyPost.Main> | $Typed<PubLeafletBlocksPage.Main> | $Typed<PubLeafletBlocksPoll.Main> | $Typed<PubLeafletBlocksButton.Main> | {
31
+ $type: string;
32
+ };
33
+ alignment?: 'lex:pub.leaflet.pages.linearDocument#textAlignLeft' | 'lex:pub.leaflet.pages.linearDocument#textAlignCenter' | 'lex:pub.leaflet.pages.linearDocument#textAlignRight' | 'lex:pub.leaflet.pages.linearDocument#textAlignJustify' | (string & {});
34
+ }
35
+ export declare function isBlock<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.pages.linearDocument", "block">;
36
+ export declare function validateBlock<V>(v: V): ValidationResult<Block & V>;
37
+ export declare const TEXTALIGNLEFT = "pub.leaflet.pages.linearDocument#textAlignLeft";
38
+ export declare const TEXTALIGNCENTER = "pub.leaflet.pages.linearDocument#textAlignCenter";
39
+ export declare const TEXTALIGNRIGHT = "pub.leaflet.pages.linearDocument#textAlignRight";
40
+ export declare const TEXTALIGNJUSTIFY = "pub.leaflet.pages.linearDocument#textAlignJustify";
41
+ export interface Quote {
42
+ $type?: 'pub.leaflet.pages.linearDocument#quote';
43
+ start: Position;
44
+ end: Position;
45
+ }
46
+ export declare function isQuote<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.pages.linearDocument", "quote">;
47
+ export declare function validateQuote<V>(v: V): ValidationResult<Quote & V>;
48
+ export interface Position {
49
+ $type?: 'pub.leaflet.pages.linearDocument#position';
50
+ block: number[];
51
+ offset: number;
52
+ }
53
+ export declare function isPosition<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.pages.linearDocument", "position">;
54
+ export declare function validatePosition<V>(v: V): ValidationResult<Position & V>;
2
55
  //# sourceMappingURL=linearDocument.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"linearDocument.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/pages/linearDocument.ts"],"names":[],"mappings":"AAEA,cAAc,4CAA4C,CAAC"}
1
+ {"version":3,"file":"linearDocument.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/pages/linearDocument.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,sBAAsB,MAAM,qBAAqB,CAAA;AAClE,OAAO,KAAK,KAAK,oBAAoB,MAAM,mBAAmB,CAAA;AAC9D,OAAO,KAAK,KAAK,0BAA0B,MAAM,yBAAyB,CAAA;AAC1E,OAAO,KAAK,KAAK,sBAAsB,MAAM,qBAAqB,CAAA;AAClE,OAAO,KAAK,KAAK,qBAAqB,MAAM,oBAAoB,CAAA;AAChE,OAAO,KAAK,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AAC,EAAE,CAAC,EAAE,CAAC,kCAEvC"}
@@ -0,0 +1,97 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../../util';
6
+ /** Annotation of a sub-string within rich text. */
7
+ export interface Main {
8
+ $type?: 'pub.leaflet.richtext.facet';
9
+ index: ByteSlice;
10
+ features: ($Typed<Link> | $Typed<DidMention> | $Typed<AtMention> | $Typed<Code> | $Typed<Highlight> | $Typed<Underline> | $Typed<Strikethrough> | $Typed<Id> | $Typed<Bold> | $Typed<Italic> | $Typed<Footnote> | {
11
+ $type: string;
12
+ })[];
13
+ }
14
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "main">;
15
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
16
+ /** Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets. */
17
+ export interface ByteSlice {
18
+ $type?: 'pub.leaflet.richtext.facet#byteSlice';
19
+ byteStart: number;
20
+ byteEnd: number;
21
+ }
22
+ export declare function isByteSlice<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "byteSlice">;
23
+ export declare function validateByteSlice<V>(v: V): ValidationResult<ByteSlice & V>;
24
+ /** Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL. */
25
+ export interface Link {
26
+ $type?: 'pub.leaflet.richtext.facet#link';
27
+ uri: string;
28
+ }
29
+ export declare function isLink<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "link">;
30
+ export declare function validateLink<V>(v: V): ValidationResult<Link & V>;
31
+ /** Facet feature for mentioning a did. */
32
+ export interface DidMention {
33
+ $type?: 'pub.leaflet.richtext.facet#didMention';
34
+ did: string;
35
+ }
36
+ export declare function isDidMention<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "didMention">;
37
+ export declare function validateDidMention<V>(v: V): ValidationResult<DidMention & V>;
38
+ /** Facet feature for mentioning an AT URI. */
39
+ export interface AtMention {
40
+ $type?: 'pub.leaflet.richtext.facet#atMention';
41
+ atURI: string;
42
+ }
43
+ export declare function isAtMention<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "atMention">;
44
+ export declare function validateAtMention<V>(v: V): ValidationResult<AtMention & V>;
45
+ /** Facet feature for inline code. */
46
+ export interface Code {
47
+ $type?: 'pub.leaflet.richtext.facet#code';
48
+ }
49
+ export declare function isCode<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "code">;
50
+ export declare function validateCode<V>(v: V): ValidationResult<Code & V>;
51
+ /** Facet feature for highlighted text. */
52
+ export interface Highlight {
53
+ $type?: 'pub.leaflet.richtext.facet#highlight';
54
+ }
55
+ export declare function isHighlight<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "highlight">;
56
+ export declare function validateHighlight<V>(v: V): ValidationResult<Highlight & V>;
57
+ /** Facet feature for underline markup */
58
+ export interface Underline {
59
+ $type?: 'pub.leaflet.richtext.facet#underline';
60
+ }
61
+ export declare function isUnderline<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "underline">;
62
+ export declare function validateUnderline<V>(v: V): ValidationResult<Underline & V>;
63
+ /** Facet feature for strikethrough markup */
64
+ export interface Strikethrough {
65
+ $type?: 'pub.leaflet.richtext.facet#strikethrough';
66
+ }
67
+ export declare function isStrikethrough<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "strikethrough">;
68
+ export declare function validateStrikethrough<V>(v: V): ValidationResult<Strikethrough & V>;
69
+ /** Facet feature for an identifier. Used for linking to a segment */
70
+ export interface Id {
71
+ $type?: 'pub.leaflet.richtext.facet#id';
72
+ id?: string;
73
+ }
74
+ export declare function isId<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "id">;
75
+ export declare function validateId<V>(v: V): ValidationResult<Id & V>;
76
+ /** Facet feature for bold text */
77
+ export interface Bold {
78
+ $type?: 'pub.leaflet.richtext.facet#bold';
79
+ }
80
+ export declare function isBold<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "bold">;
81
+ export declare function validateBold<V>(v: V): ValidationResult<Bold & V>;
82
+ /** Facet feature for italic text */
83
+ export interface Italic {
84
+ $type?: 'pub.leaflet.richtext.facet#italic';
85
+ }
86
+ export declare function isItalic<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "italic">;
87
+ export declare function validateItalic<V>(v: V): ValidationResult<Italic & V>;
88
+ /** Facet feature for a footnote reference */
89
+ export interface Footnote {
90
+ $type?: 'pub.leaflet.richtext.facet#footnote';
91
+ footnoteId: string;
92
+ contentPlaintext: string;
93
+ contentFacets?: Main[];
94
+ }
95
+ export declare function isFootnote<V>(v: V): v is import("../../../../util").$TypedObject<V, "pub.leaflet.richtext.facet", "footnote">;
96
+ export declare function validateFootnote<V>(v: V): ValidationResult<Footnote & V>;
97
+ //# sourceMappingURL=facet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"facet.d.ts","sourceRoot":"","sources":["../../../../../generated/types/pub/leaflet/richtext/facet.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AAMzB,mDAAmD;AACnD,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,4BAA4B,CAAA;IACpC,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,EAAE,CACN,MAAM,CAAC,IAAI,CAAC,GACZ,MAAM,CAAC,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C,EAAE,CAAC,EAAE,CAAC,uFAE3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4BAEjC;AAED,kCAAkC;AAClC,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,iCAAiC,CAAA;CAC1C;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,oCAAoC;AACpC,MAAM,WAAW,MAAM;IACrB,KAAK,CAAC,EAAE,mCAAmC,CAAA;CAC5C;AAID,wBAAgB,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2FAE/B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gCAErC;AAED,6CAA6C;AAC7C,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,qCAAqC,CAAA;IAC7C,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,MAAM,CAAA;IACxB,aAAa,CAAC,EAAE,IAAI,EAAE,CAAA;CACvB;AAID,wBAAgB,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6FAEjC;AAED,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kCAEvC"}
@@ -0,0 +1,51 @@
1
+ {
2
+ "lexicon": 1,
3
+ "id": "app.bsky.richtext.facet",
4
+ "defs": {
5
+ "main": {
6
+ "type": "object",
7
+ "description": "Annotation of a sub-string within rich text.",
8
+ "required": ["index", "features"],
9
+ "properties": {
10
+ "index": { "type": "ref", "ref": "#byteSlice" },
11
+ "features": {
12
+ "type": "array",
13
+ "items": { "type": "union", "refs": ["#mention", "#link", "#tag"] }
14
+ }
15
+ }
16
+ },
17
+ "mention": {
18
+ "type": "object",
19
+ "description": "Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.",
20
+ "required": ["did"],
21
+ "properties": {
22
+ "did": { "type": "string", "format": "did" }
23
+ }
24
+ },
25
+ "link": {
26
+ "type": "object",
27
+ "description": "Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.",
28
+ "required": ["uri"],
29
+ "properties": {
30
+ "uri": { "type": "string", "format": "uri" }
31
+ }
32
+ },
33
+ "tag": {
34
+ "type": "object",
35
+ "description": "Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags').",
36
+ "required": ["tag"],
37
+ "properties": {
38
+ "tag": { "type": "string", "maxLength": 640, "maxGraphemes": 64 }
39
+ }
40
+ },
41
+ "byteSlice": {
42
+ "type": "object",
43
+ "description": "Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.",
44
+ "required": ["byteStart", "byteEnd"],
45
+ "properties": {
46
+ "byteStart": { "type": "integer", "minimum": 0 },
47
+ "byteEnd": { "type": "integer", "minimum": 0 }
48
+ }
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "lexicon": 1,
3
+ "id": "app.certified.actor.organization",
4
+ "defs": {
5
+ "main": {
6
+ "type": "record",
7
+ "description": "Extended metadata for an organization actor. Complements the base actor profile with organization-specific fields like legal structure and reference links.",
8
+ "key": "literal:self",
9
+ "record": {
10
+ "type": "object",
11
+ "required": ["createdAt"],
12
+ "properties": {
13
+ "organizationType": {
14
+ "type": "array",
15
+ "description": "Legal or operational structures of the organization (e.g. 'nonprofit', 'ngo', 'government', 'social-enterprise', 'cooperative').",
16
+ "items": {
17
+ "type": "string",
18
+ "maxLength": 128,
19
+ "maxGraphemes": 100
20
+ },
21
+ "maxLength": 10
22
+ },
23
+ "urls": {
24
+ "type": "array",
25
+ "description": "Additional reference URLs (social media profiles, contact pages, donation links, etc.) with a display label for each URL.",
26
+ "items": {
27
+ "type": "ref",
28
+ "ref": "#urlItem"
29
+ }
30
+ },
31
+ "location": {
32
+ "type": "ref",
33
+ "ref": "com.atproto.repo.strongRef",
34
+ "description": "A strong reference to the location where the organization is based. The record referenced must conform with the lexicon app.certified.location."
35
+ },
36
+ "foundedDate": {
37
+ "type": "string",
38
+ "format": "datetime",
39
+ "description": "When the organization was established. Stored as datetime per ATProto conventions (no date-only format exists). Clients should use midnight UTC (e.g., '2005-01-01T00:00:00.000Z'); consumers should treat only the date portion as canonical."
40
+ },
41
+ "createdAt": {
42
+ "type": "string",
43
+ "format": "datetime",
44
+ "description": "Client-declared timestamp when this record was originally created."
45
+ }
46
+ }
47
+ }
48
+ },
49
+ "urlItem": {
50
+ "type": "object",
51
+ "description": "A labeled URL reference.",
52
+ "required": ["url"],
53
+ "properties": {
54
+ "url": {
55
+ "type": "string",
56
+ "format": "uri",
57
+ "description": "The URL.",
58
+ "maxLength": 10000,
59
+ "maxGraphemes": 2048
60
+ },
61
+ "label": {
62
+ "type": "string",
63
+ "description": "Optional human-readable label for this URL (e.g. 'Support page', 'Donation page').",
64
+ "maxLength": 640,
65
+ "maxGraphemes": 64
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "lexicon": 1,
3
+ "id": "app.certified.actor.profile",
4
+ "defs": {
5
+ "main": {
6
+ "type": "record",
7
+ "description": "A declaration of a Certified account profile.",
8
+ "key": "literal:self",
9
+ "record": {
10
+ "type": "object",
11
+ "required": ["createdAt"],
12
+ "properties": {
13
+ "displayName": {
14
+ "type": "string",
15
+ "description": "Display name for the account",
16
+ "maxGraphemes": 64,
17
+ "maxLength": 640
18
+ },
19
+ "description": {
20
+ "type": "string",
21
+ "description": "Free-form profile description text.",
22
+ "maxGraphemes": 256,
23
+ "maxLength": 2560
24
+ },
25
+ "pronouns": {
26
+ "type": "string",
27
+ "description": "Free-form pronouns text.",
28
+ "maxGraphemes": 20,
29
+ "maxLength": 200
30
+ },
31
+ "website": {
32
+ "type": "string",
33
+ "format": "uri",
34
+ "description": "Account website URL"
35
+ },
36
+ "avatar": {
37
+ "type": "union",
38
+ "refs": [
39
+ "org.hypercerts.defs#uri",
40
+ "org.hypercerts.defs#smallImage"
41
+ ],
42
+ "description": "Small image to be displayed next to posts from account. AKA, 'profile picture'"
43
+ },
44
+ "banner": {
45
+ "type": "union",
46
+ "refs": [
47
+ "org.hypercerts.defs#uri",
48
+ "org.hypercerts.defs#largeImage"
49
+ ],
50
+ "description": "Larger horizontal image to display behind profile view."
51
+ },
52
+ "createdAt": {
53
+ "type": "string",
54
+ "format": "datetime",
55
+ "description": "Client-declared timestamp when this record was originally created"
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
@@ -12,8 +12,8 @@
12
12
  "properties": {
13
13
  "badge": {
14
14
  "type": "ref",
15
- "ref": "app.certified.badge.definition",
16
- "description": "Reference to the badge definition for this award."
15
+ "ref": "com.atproto.repo.strongRef",
16
+ "description": "Strong reference to the badge definition at the time of award. The record referenced must conform with the lexicon app.certified.badge.definition."
17
17
  },
18
18
  "subject": {
19
19
  "type": "union",
@@ -22,7 +22,14 @@
22
22
  },
23
23
  "note": {
24
24
  "type": "string",
25
- "description": "Optional statement explaining the reason for this badge award."
25
+ "description": "Optional statement explaining the reason for this badge award.",
26
+ "maxLength": 500
27
+ },
28
+ "url": {
29
+ "type": "string",
30
+ "format": "uri",
31
+ "description": "Optional URL the badge award links to.",
32
+ "maxLength": 2048
26
33
  },
27
34
  "createdAt": {
28
35
  "type": "string",