@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
@@ -1,8 +1,45 @@
1
- import type { AppBskyRichtextFacet } from '@atcute/bluesky';
2
- export type { AppBskyRichtextFacet };
3
- export type Main = AppBskyRichtextFacet.Main;
4
- export type ByteSlice = AppBskyRichtextFacet.ByteSlice;
5
- export type Link = AppBskyRichtextFacet.Link;
6
- export type Mention = AppBskyRichtextFacet.Mention;
7
- export type Tag = AppBskyRichtextFacet.Tag;
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?: 'app.bsky.richtext.facet';
9
+ index: ByteSlice;
10
+ features: ($Typed<Mention> | $Typed<Link> | $Typed<Tag> | {
11
+ $type: string;
12
+ })[];
13
+ }
14
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "main">;
15
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
16
+ /** Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID. */
17
+ export interface Mention {
18
+ $type?: 'app.bsky.richtext.facet#mention';
19
+ did: string;
20
+ }
21
+ export declare function isMention<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "mention">;
22
+ export declare function validateMention<V>(v: V): ValidationResult<Mention & V>;
23
+ /** Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL. */
24
+ export interface Link {
25
+ $type?: 'app.bsky.richtext.facet#link';
26
+ uri: string;
27
+ }
28
+ export declare function isLink<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "link">;
29
+ export declare function validateLink<V>(v: V): ValidationResult<Link & V>;
30
+ /** 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'). */
31
+ export interface Tag {
32
+ $type?: 'app.bsky.richtext.facet#tag';
33
+ tag: string;
34
+ }
35
+ export declare function isTag<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "tag">;
36
+ export declare function validateTag<V>(v: V): ValidationResult<Tag & V>;
37
+ /** 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. */
38
+ export interface ByteSlice {
39
+ $type?: 'app.bsky.richtext.facet#byteSlice';
40
+ byteStart: number;
41
+ byteEnd: number;
42
+ }
43
+ export declare function isByteSlice<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.richtext.facet", "byteSlice">;
44
+ export declare function validateByteSlice<V>(v: V): ValidationResult<ByteSlice & V>;
8
45
  //# sourceMappingURL=facet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"facet.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/bsky/richtext/facet.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,YAAY,EAAE,oBAAoB,EAAE,CAAC;AACrC,MAAM,MAAM,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAC;AAC7C,MAAM,MAAM,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC;AACvD,MAAM,MAAM,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAC;AAC7C,MAAM,MAAM,OAAO,GAAG,oBAAoB,CAAC,OAAO,CAAC;AACnD,MAAM,MAAM,GAAG,GAAG,oBAAoB,CAAC,GAAG,CAAC"}
1
+ {"version":3,"file":"facet.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/bsky/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,yBAAyB,CAAA;IACjC,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAA;CAC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ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
6
+ export interface Main {
7
+ $type: 'app.certified.actor.organization';
8
+ /** Legal or operational structures of the organization (e.g. 'nonprofit', 'ngo', 'government', 'social-enterprise', 'cooperative'). */
9
+ organizationType?: string[];
10
+ /** Additional reference URLs (social media profiles, contact pages, donation links, etc.) with a display label for each URL. */
11
+ urls?: UrlItem[];
12
+ location?: ComAtprotoRepoStrongRef.Main;
13
+ /** 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. */
14
+ foundedDate?: string;
15
+ /** Client-declared timestamp when this record was originally created. */
16
+ createdAt: string;
17
+ [k: string]: unknown;
18
+ }
19
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.actor.organization", "main">;
20
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
21
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
22
+ /** A labeled URL reference. */
23
+ export interface UrlItem {
24
+ $type?: 'app.certified.actor.organization#urlItem';
25
+ /** The URL. */
26
+ url: string;
27
+ /** Optional human-readable label for this URL (e.g. 'Support page', 'Donation page'). */
28
+ label?: string;
29
+ }
30
+ export declare function isUrlItem<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.actor.organization", "urlItem">;
31
+ export declare function validateUrlItem<V>(v: V): ValidationResult<UrlItem & V>;
32
+ //# sourceMappingURL=organization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/actor/organization.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,EAAE,kCAAkC,CAAA;IACzC,uIAAuI;IACvI,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B,gIAAgI;IAChI,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;IAChB,QAAQ,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACvC,qPAAqP;IACrP,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA;AAED,+BAA+B;AAC/B,MAAM,WAAW,OAAO;IACtB,KAAK,CAAC,EAAE,0CAA0C,CAAA;IAClD,eAAe;IACf,GAAG,EAAE,MAAM,CAAA;IACX,yFAAyF;IACzF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kGAEhC;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,iCAEtC"}
@@ -0,0 +1,30 @@
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 OrgHypercertsDefs from '../../../org/hypercerts/defs.js';
7
+ export interface Main {
8
+ $type: 'app.certified.actor.profile';
9
+ /** Display name for the account */
10
+ displayName?: string;
11
+ /** Free-form profile description text. */
12
+ description?: string;
13
+ /** Free-form pronouns text. */
14
+ pronouns?: string;
15
+ /** Account website URL */
16
+ website?: string;
17
+ avatar?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
18
+ $type: string;
19
+ };
20
+ banner?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.LargeImage> | {
21
+ $type: string;
22
+ };
23
+ /** Client-declared timestamp when this record was originally created */
24
+ createdAt: string;
25
+ [k: string]: unknown;
26
+ }
27
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.actor.profile", "main">;
28
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
29
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
30
+ //# sourceMappingURL=profile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/actor/profile.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,iBAAiB,MAAM,iCAAiC,CAAA;AAMzE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,6BAA6B,CAAA;IACpC,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,0BAA0B;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -3,17 +3,18 @@
3
3
  */
4
4
  import { type ValidationResult } from '@atproto/lexicon';
5
5
  import { type $Typed } from '../../../../util';
6
- import type * as AppCertifiedBadgeDefinition from './definition.js';
7
- import type * as AppCertifiedDefs from '../defs.js';
8
6
  import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
7
+ import type * as AppCertifiedDefs from '../defs.js';
9
8
  export interface Main {
10
9
  $type: 'app.certified.badge.award';
11
- badge: AppCertifiedBadgeDefinition.Main;
10
+ badge: ComAtprotoRepoStrongRef.Main;
12
11
  subject: $Typed<AppCertifiedDefs.Did> | $Typed<ComAtprotoRepoStrongRef.Main> | {
13
12
  $type: string;
14
13
  };
15
14
  /** Optional statement explaining the reason for this badge award. */
16
15
  note?: string;
16
+ /** Optional URL the badge award links to. */
17
+ url?: string;
17
18
  /** Client-declared timestamp when this record was originally created */
18
19
  createdAt: string;
19
20
  [k: string]: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"award.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/award.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,2BAA2B,MAAM,iBAAiB,CAAA;AACnE,OAAO,KAAK,KAAK,gBAAgB,MAAM,YAAY,CAAA;AACnD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,2BAA2B,CAAA;IAClC,KAAK,EAAE,2BAA2B,CAAC,IAAI,CAAA;IACvC,OAAO,EACH,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAC5B,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
1
+ {"version":3,"file":"award.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/award.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,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,gBAAgB,MAAM,YAAY,CAAA;AAMnD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,2BAA2B,CAAA;IAClC,KAAK,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACnC,OAAO,EACH,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,GAC5B,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6CAA6C;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -5,12 +5,12 @@ import { type ValidationResult, BlobRef } from '@atproto/lexicon';
5
5
  import type * as AppCertifiedDefs from '../defs.js';
6
6
  export interface Main {
7
7
  $type: 'app.certified.badge.definition';
8
- /** Category of the badge (e.g. endorsement, participation, affiliation). */
9
- badgeType: string;
8
+ /** Category of the badge. Values beyond the known set are permitted. */
9
+ badgeType: 'endorsement' | 'verification' | 'participation' | 'certification' | 'affiliation' | 'recognition' | (string & {});
10
10
  /** Human-readable title of the badge. */
11
11
  title: string;
12
12
  /** Icon representing the badge, stored as a blob for compact visual display. */
13
- icon: BlobRef;
13
+ icon?: BlobRef;
14
14
  /** Optional short statement describing what the badge represents. */
15
15
  description?: string;
16
16
  /** Optional allowlist of DIDs allowed to issue this badge. If omitted, anyone may issue it. */
@@ -1 +1 @@
1
- {"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/definition.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,YAAY,CAAA;AAMnD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,gCAAgC,CAAA;IACvC,4EAA4E;IAC5E,SAAS,EAAE,MAAM,CAAA;IACjB,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,gFAAgF;IAChF,IAAI,EAAE,OAAO,CAAA;IACb,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+FAA+F;IAC/F,cAAc,CAAC,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAA;IACvC,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
1
+ {"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/definition.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,YAAY,CAAA;AAMnD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,gCAAgC,CAAA;IACvC,wEAAwE;IACxE,SAAS,EACL,aAAa,GACb,cAAc,GACd,eAAe,GACf,eAAe,GACf,aAAa,GACb,aAAa,GACb,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjB,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,gFAAgF;IAChF,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+FAA+F;IAC/F,cAAc,CAAC,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAA;IACvC,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -2,12 +2,12 @@
2
2
  * GENERATED CODE - DO NOT MODIFY
3
3
  */
4
4
  import { type ValidationResult } from '@atproto/lexicon';
5
- import type * as AppCertifiedBadgeAward from './award.js';
5
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
6
6
  export interface Main {
7
7
  $type: 'app.certified.badge.response';
8
- badgeAward: AppCertifiedBadgeAward.Main;
8
+ badgeAward: ComAtprotoRepoStrongRef.Main;
9
9
  /** The recipient’s response for the badge (accepted or rejected). */
10
- response: 'accepted' | 'rejected';
10
+ response: 'accepted' | 'rejected' | (string & {});
11
11
  /** Optional relative weight for accepted badges, assigned by the recipient. */
12
12
  weight?: string;
13
13
  /** Client-declared timestamp when this record was originally created */
@@ -1 +1 @@
1
- {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/response.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,sBAAsB,MAAM,YAAY,CAAA;AAMzD,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,8BAA8B,CAAA;IACrC,UAAU,EAAE,sBAAsB,CAAC,IAAI,CAAA;IACvC,qEAAqE;IACrE,QAAQ,EAAE,UAAU,GAAG,UAAU,CAAA;IACjC,+EAA+E;IAC/E,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
1
+ {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/badge/response.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,EAAE,8BAA8B,CAAA;IACrC,UAAU,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACxC,qEAAqE;IACrE,QAAQ,EAAE,UAAU,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACjD,+EAA+E;IAC/E,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -1,3 +1,13 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
1
5
  /** A Decentralized Identifier (DID) string. */
2
- export type Did = string;
6
+ export interface Did {
7
+ $type?: 'app.certified.defs#did';
8
+ /** The DID string value. */
9
+ did: string;
10
+ }
11
+ export declare function isDid<V>(v: V): v is import("../../../util").$TypedObject<V, "app.certified.defs", "did">;
12
+ export declare function validateDid<V>(v: V): ValidationResult<Did & V>;
3
13
  //# sourceMappingURL=defs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../generated/types/app/certified/defs.ts"],"names":[],"mappings":"AAYA,+CAA+C;AAC/C,MAAM,MAAM,GAAG,GAAG,MAAM,CAAA"}
1
+ {"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../generated/types/app/certified/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AASjE,+CAA+C;AAC/C,MAAM,WAAW,GAAG;IAClB,KAAK,CAAC,EAAE,wBAAwB,CAAA;IAChC,4BAA4B;IAC5B,GAAG,EAAE,MAAM,CAAA;CACZ;AAID,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6EAE5B;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6BAElC"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../../util';
6
+ export interface Main {
7
+ $type: 'app.certified.link.evm';
8
+ /** EVM wallet address (0x-prefixed, with EIP-55 checksum recommended). */
9
+ address: string;
10
+ proof: $Typed<Eip712Proof> | {
11
+ $type: string;
12
+ };
13
+ /** Client-declared timestamp when this record was originally created. */
14
+ createdAt: string;
15
+ [k: string]: unknown;
16
+ }
17
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.link.evm", "main">;
18
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
19
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
20
+ /** EOA wallet ownership proof via EIP-712 typed data signature. Contains both the structured message that was signed and the resulting signature. */
21
+ export interface Eip712Proof {
22
+ $type?: 'app.certified.link.evm#eip712Proof';
23
+ /** ECDSA signature over the EIP-712 hash (hex-encoded with 0x prefix, 64 or 65 bytes). */
24
+ signature: string;
25
+ message: Eip712Message;
26
+ }
27
+ export declare function isEip712Proof<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.link.evm", "eip712Proof">;
28
+ export declare function validateEip712Proof<V>(v: V): ValidationResult<Eip712Proof & V>;
29
+ /** The EIP-712 typed data message that was signed by the wallet. Contains the fields binding an ATProto DID to an EVM address on a specific chain. */
30
+ export interface Eip712Message {
31
+ $type?: 'app.certified.link.evm#eip712Message';
32
+ /** The ATProto DID being linked to the EVM address. */
33
+ did: string;
34
+ /** The EVM wallet address (must match the top-level address field). */
35
+ evmAddress: string;
36
+ /** EVM chain ID as string (bigint serialized). Identifies which chain was used for signing; for EOA wallets the identity link applies across all EVM-compatible chains. */
37
+ chainId: string;
38
+ /** Unix timestamp when the attestation was created (bigint serialized). */
39
+ timestamp: string;
40
+ /** Replay-protection nonce (bigint serialized). */
41
+ nonce: string;
42
+ }
43
+ export declare function isEip712Message<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.link.evm", "eip712Message">;
44
+ export declare function validateEip712Message<V>(v: V): ValidationResult<Eip712Message & V>;
45
+ //# sourceMappingURL=evm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evm.d.ts","sourceRoot":"","sources":["../../../../../generated/types/app/certified/link/evm.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AAMzB,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,wBAAwB,CAAA;IAC/B,0EAA0E;IAC1E,OAAO,EAAE,MAAM,CAAA;IACf,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/crs/OGC/1.3/CRS84) that defines the coordinate system. */
12
12
  srs: string;
13
- /** An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point) */
14
- locationType: 'coordinate-decimal' | 'geojson-point' | (string & {});
15
- location: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | {
13
+ /** An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point). See the Location Protocol spec for the full registry: https://spec.decentralizedgeo.org/specification/location-types/#location-type-registry */
14
+ locationType: 'coordinate-decimal' | 'geojson-point' | 'geojson' | 'h3' | 'geohash' | 'wkt' | 'address' | 'scaledCoordinates' | (string & {});
15
+ location: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallBlob> | $Typed<String> | {
16
16
  $type: string;
17
17
  };
18
- /** Optional name for this location */
18
+ /** Human-readable name for this location (e.g. 'Golden Gate Park', 'San Francisco Bay Area') */
19
19
  name?: string;
20
- /** Optional description for this location */
20
+ /** Additional context about this location, such as its significance to the work or specific boundaries */
21
21
  description?: string;
22
22
  /** Client-declared timestamp when this record was originally created */
23
23
  createdAt: string;
@@ -26,4 +26,12 @@ export interface Main {
26
26
  export declare function isMain<V>(v: V): v is import("../../../util").$TypedObject<V, "app.certified.location", "main">;
27
27
  export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
28
28
  export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
29
+ /** A location represented as a string, e.g. coordinates or a small GeoJSON string. */
30
+ export interface String {
31
+ $type?: 'app.certified.location#string';
32
+ /** The location string value */
33
+ string: string;
34
+ }
35
+ export declare function isString<V>(v: V): v is import("../../../util").$TypedObject<V, "app.certified.location", "string">;
36
+ export declare function validateString<V>(v: V): ValidationResult<String & V>;
29
37
  //# sourceMappingURL=location.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../../generated/types/app/certified/location.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EAAE,KAAK,MAAM,EAAuC,MAAM,eAAe,CAAA;AAChF,OAAO,KAAK,KAAK,iBAAiB,MAAM,8BAA8B,CAAA;AAMtE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,wBAAwB,CAAA;IAC/B,2CAA2C;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,gIAAgI;IAChI,GAAG,EAAE,MAAM,CAAA;IACX,kGAAkG;IAClG,YAAY,EAAE,oBAAoB,GAAG,eAAe,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACpE,QAAQ,EACJ,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,SAAS,CAAC,GACnC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,wEAAwE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,kFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
1
+ {"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../../generated/types/app/certified/location.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EAAE,KAAK,MAAM,EAAuC,MAAM,eAAe,CAAA;AAChF,OAAO,KAAK,KAAK,iBAAiB,MAAM,8BAA8B,CAAA;A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3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../util';
6
+ import type * as ComAtprotoRepoStrongRef from '../../com/atproto/repo/strongRef.js';
7
+ import type * as OrgHypercertsDefs from '../hypercerts/defs.js';
8
+ import type * as OrgHypercertsClaimActivity from '../hypercerts/claim/activity.js';
9
+ export interface Main {
10
+ $type: 'org.hyperboards.board';
11
+ subject: ComAtprotoRepoStrongRef.Main;
12
+ config?: BoardConfig;
13
+ /** Per-contributor configuration entries for this board. */
14
+ contributorConfigs?: ContributorConfig[];
15
+ /** Client-declared timestamp when this record was originally created. */
16
+ createdAt: string;
17
+ [k: string]: unknown;
18
+ }
19
+ export declare function isMain<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hyperboards.board", "main">;
20
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
21
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
22
+ /** Visual configuration for a hyperboard's background, colors, and layout. */
23
+ export interface BoardConfig {
24
+ $type?: 'org.hyperboards.board#boardConfig';
25
+ /** Type of background content. */
26
+ backgroundType?: 'image' | 'iframe' | (string & {});
27
+ backgroundImage?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
28
+ $type: string;
29
+ };
30
+ /** URI of the background iframe. */
31
+ backgroundIframeUrl?: string;
32
+ /** Whether the background is rendered in grayscale. Default: true. */
33
+ backgroundGrayscale?: boolean;
34
+ /** Background opacity as a percentage (0–100). */
35
+ backgroundOpacity?: number;
36
+ /** Background color as a hex string (e.g. '#ffffff'). */
37
+ backgroundColor?: string;
38
+ /** Border color as a hex string (e.g. '#000000'). */
39
+ borderColor?: string;
40
+ /** Whether contributor images are rendered in grayscale. Default: false. */
41
+ grayscaleImages?: boolean;
42
+ /** Shape used to crop contributor images on this board. */
43
+ imageShape?: 'circular' | 'square' | (string & {});
44
+ /** Display aspect ratio of the board. */
45
+ aspectRatio?: '16:9' | '4:3' | '1:1' | (string & {});
46
+ }
47
+ export declare function isBoardConfig<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hyperboards.board", "boardConfig">;
48
+ export declare function validateBoardConfig<V>(v: V): ValidationResult<BoardConfig & V>;
49
+ /** Configuration for a specific contributor within a board. Values serve as fallbacks when the contributor has not defined them on their profile. It can also be used to override contributor settings on this board without changing their global profile. */
50
+ export interface ContributorConfig {
51
+ $type?: 'org.hyperboards.board#contributorConfig';
52
+ contributor: $Typed<ComAtprotoRepoStrongRef.Main> | $Typed<OrgHypercertsClaimActivity.ContributorIdentity> | {
53
+ $type: string;
54
+ };
55
+ /** When true, these values take precedence over the contributor's own profile and display settings. When false or omitted, they are only used as fallbacks if the contributor has not set their own settings. */
56
+ override?: boolean;
57
+ /** Display name for this contributor on this board. */
58
+ displayName?: string;
59
+ image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
60
+ $type: string;
61
+ };
62
+ video?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallVideo> | {
63
+ $type: string;
64
+ };
65
+ hoverImage?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
66
+ $type: string;
67
+ };
68
+ /** Iframe overlay shown when hovering over this contributor. */
69
+ hoverIframeUrl?: string;
70
+ /** Click-through link URL for this contributor. */
71
+ url?: string;
72
+ }
73
+ export declare function isContributorConfig<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hyperboards.board", "contributorConfig">;
74
+ export declare function validateContributorConfig<V>(v: V): ValidationResult<ContributorConfig & V>;
75
+ //# sourceMappingURL=board.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"board.d.ts","sourceRoot":"","sources":["../../../../generated/types/org/hyperboards/board.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EAAE,KAAK,MAAM,EAAuC,MAAM,eAAe,CA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E,MAAM,CAAA;KAAE,CAAA;IACrB,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,mDAAmD;IACnD,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAID,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8FAE1C;AAED,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2CAEhD"}
@@ -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 OrgHypercertsDefs from '../hypercerts/defs.js';
7
+ export interface Main {
8
+ $type: 'org.hyperboards.displayProfile';
9
+ /** Display name override for this user on hyperboards. */
10
+ displayName?: string;
11
+ image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
12
+ $type: string;
13
+ };
14
+ video?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallVideo> | {
15
+ $type: string;
16
+ };
17
+ hoverImage?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
18
+ $type: string;
19
+ };
20
+ /** Default hover iframe URL for this user across boards. */
21
+ hoverIframeUrl?: string;
22
+ /** Default click-through link URL for this user across boards. */
23
+ url?: string;
24
+ /** Client-declared timestamp when this record was originally created. */
25
+ createdAt: string;
26
+ [k: string]: unknown;
27
+ }
28
+ export declare function isMain<V>(v: V): v is import("../../../util").$TypedObject<V, "org.hyperboards.displayProfile", "main">;
29
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
30
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
31
+ //# sourceMappingURL=displayProfile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"displayProfile.d.ts","sourceRoot":"","sources":["../../../../generated/types/org/hyperboards/displayProfile.ts"],"names":[],"mappings":"AAA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5
5
  import { type $Typed } from '../../../../util';
6
6
  import type * as AppBskyRichtextFacet from '../../../app/bsky/richtext/facet.js';
7
7
  import type * as OrgHypercertsDefs from '../defs.js';
8
+ import type * as PubLeafletPagesLinearDocument from '../../../pub/leaflet/pages/linearDocument.js';
8
9
  import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
10
+ import type * as OrgHypercertsWorkscopeCel from '../workscope/cel.js';
9
11
  export interface Main {
10
12
  $type: 'org.hypercerts.claim.activity';
11
- /** Title of the hypercert. */
13
+ /** Display title summarizing the impact work (e.g. 'Reforestation in Amazon Basin 2024') */
12
14
  title: string;
13
15
  /** Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`. */
14
16
  shortDescription: string;
15
17
  /** Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). */
16
18
  shortDescriptionFacets?: AppBskyRichtextFacet.Main[];
17
- /** Optional longer description of this activity claim, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`. */
18
- description?: string;
19
- /** Rich text annotations for `description` (mentions, URLs, hashtags, etc). */
20
- descriptionFacets?: AppBskyRichtextFacet.Main[];
19
+ description?: $Typed<OrgHypercertsDefs.DescriptionString> | $Typed<PubLeafletPagesLinearDocument.Main> | $Typed<ComAtprotoRepoStrongRef.Main> | {
20
+ $type: string;
21
+ };
21
22
  image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
22
23
  $type: string;
23
24
  };
24
- workScope?: $Typed<OrgHypercertsDefs.WorkScopeAll> | $Typed<OrgHypercertsDefs.WorkScopeAny> | $Typed<OrgHypercertsDefs.WorkScopeNot> | $Typed<OrgHypercertsDefs.WorkScopeAtom> | {
25
+ /** An array of contributor objects, each containing contributor information, weight, and contribution details. */
26
+ contributors?: Contributor[];
27
+ workScope?: $Typed<OrgHypercertsWorkscopeCel.Main> | $Typed<WorkScopeString> | {
25
28
  $type: string;
26
29
  };
27
30
  /** When the work began */
28
31
  startDate?: string;
29
32
  /** When the work ended */
30
33
  endDate?: string;
31
- /** An array of contributor objects, each containing contributor information, weight, and contribution details. */
32
- contributors?: Contributor[];
33
- rights?: ComAtprotoRepoStrongRef.Main;
34
34
  /** An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location. */
35
35
  locations?: ComAtprotoRepoStrongRef.Main[];
36
+ rights?: ComAtprotoRepoStrongRef.Main;
36
37
  /** Client-declared timestamp when this record was originally created */
37
38
  createdAt: string;
38
39
  [k: string]: unknown;
@@ -40,6 +41,7 @@ export interface Main {
40
41
  export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "main">;
41
42
  export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
42
43
  export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
44
+ /** A contributor to the activity, with identity, weight, and contribution details. */
43
45
  export interface Contributor {
44
46
  $type?: 'org.hypercerts.claim.activity#contributor';
45
47
  contributorIdentity: $Typed<ContributorIdentity> | $Typed<ComAtprotoRepoStrongRef.Main> | {
@@ -54,7 +56,27 @@ export interface Contributor {
54
56
  export declare function isContributor<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributor">;
55
57
  export declare function validateContributor<V>(v: V): ValidationResult<Contributor & V>;
56
58
  /** Contributor information as a string (DID or identifier). */
57
- export type ContributorIdentity = string;
59
+ export interface ContributorIdentity {
60
+ $type?: 'org.hypercerts.claim.activity#contributorIdentity';
61
+ /** The contributor identity string (DID or identifier). */
62
+ identity: string;
63
+ }
64
+ export declare function isContributorIdentity<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributorIdentity">;
65
+ export declare function validateContributorIdentity<V>(v: V): ValidationResult<ContributorIdentity & V>;
58
66
  /** Contribution details as a string. */
59
- export type ContributorRole = string;
67
+ export interface ContributorRole {
68
+ $type?: 'org.hypercerts.claim.activity#contributorRole';
69
+ /** The contribution role or details. */
70
+ role: string;
71
+ }
72
+ export declare function isContributorRole<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "contributorRole">;
73
+ export declare function validateContributorRole<V>(v: V): ValidationResult<ContributorRole & V>;
74
+ /** A free-form string describing the work scope for simple or legacy scopes. */
75
+ export interface WorkScopeString {
76
+ $type?: 'org.hypercerts.claim.activity#workScopeString';
77
+ /** The work scope description string. */
78
+ scope: string;
79
+ }
80
+ export declare function isWorkScopeString<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.activity", "workScopeString">;
81
+ export declare function validateWorkScopeString<V>(v: V): ValidationResult<WorkScopeString & V>;
60
82
  //# sourceMappingURL=activity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/claim/activity.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,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,+BAA+B,CAAA;IACtC,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,sJAAsJ;IACtJ,gBAAgB,EAAE,MAAM,CAAA;IACxB,oFAAoF;IACpF,sBAAsB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IACpD,8JAA8J;IAC9J,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+EAA+E;IAC/E,iBAAiB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IAC/C,KAAK,CAAC,EACF,MAAM,CAAC,iBAAiB,CAAC,GAAG,C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C,EAChB,MAAM,CAAC,eAAe,CAAC,GACvB,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACtB;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mGAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C;AAED,+DAA+D;AAC/D,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAA;AACxC,wCAAwC;AACxC,MAAM,MAAM,eAAe,GAAG,MAAM,CAAA"}
1
+ {"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/claim/activity.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,qCAAqC,CAAA;AAChF,OAAO,KAAK,KAAK,iBAAiB,MAAM,YAAY,CAAA;AACpD,OAAO,KAAK,KAAK,6BAA6B,MAAM,8CAA8C,CAAA;AAClG,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,yBAAyB,MAAM,qBAAqB,CAAA;AAMrE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,+BAA+B,CAAA;IACtC,4FAA4F;IAC5F,KAAK,EAAE,MAAM,CAAA;IACb,sJAAsJ;IACtJ,gBAAgB,EAAE,MAAM,CAAA;IACxB,oFAAoF;IACpF,sBAAsB,CAAC,EAAE,oBAAoB,CAAC,IAAI,EAAE,CAAA;IACpD,WAAW,CAAC,EACR,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAC3C,MAAM,CAAC,6BAA6B,CAAC,IAAI,CAAC,GAC1C,MAAM,CAAC,uBAAuB,CAAC,IAAI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AA;IAC3B,mBAAmB,CAAC,EAChB,MAAM,CAAC,eAAe,CAAC,GACvB,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACtB;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mGAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C;AAED,+DAA+D;AAC/D,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,mDAAmD,CAAA;IAC3D,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAA;CACjB;AAID,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,2GAE5C;AAED,wBAAgB,2BAA2B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,6CAElD;AAED,wCAAwC;AACxC,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,+CAA+C,CAAA;IACvD,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAA;CACb;AAID,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAExC;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yCAE9C;AAED,gFAAgF;AAChF,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,+CAA+C,CAAA;IACvD,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAA;CACd;AAID,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAExC;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,yCAE9C"}
@@ -3,20 +3,20 @@
3
3
  */
4
4
  import { type ValidationResult } from '@atproto/lexicon';
5
5
  export interface Main {
6
- $type: 'org.hypercerts.claim.contributionDetails';
6
+ $type: 'org.hypercerts.claim.contribution';
7
7
  /** Role or title of the contributor. */
8
8
  role?: string;
9
- /** What the contribution concretely was. */
9
+ /** Description of what the contribution concretely involved. */
10
10
  contributionDescription?: string;
11
- /** When this contribution started. This should be a subset of the hypercert timeframe. */
11
+ /** When this contribution started. Should fall within the parent hypercert's timeframe. */
12
12
  startDate?: string;
13
- /** When this contribution finished. This should be a subset of the hypercert timeframe. */
13
+ /** When this contribution finished. Should fall within the parent hypercert's timeframe. */
14
14
  endDate?: string;
15
15
  /** Client-declared timestamp when this record was originally created. */
16
16
  createdAt: string;
17
17
  [k: string]: unknown;
18
18
  }
19
- export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.contributionDetails", "main">;
19
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "org.hypercerts.claim.contribution", "main">;
20
20
  export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
21
21
  export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
22
- //# sourceMappingURL=contributionDetails.d.ts.map
22
+ //# sourceMappingURL=contribution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../../../../generated/types/org/hypercerts/claim/contribution.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,mCAAmC,CAAA;IAC1C,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,gEAAgE;IAChE,uBAAuB,CAAC,EAAE,MAAM,CAAA;IAChC,2FAA2F;IAC3F,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,4FAA4F;IAC5F,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,gGAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
@@ -6,9 +6,9 @@ import { type $Typed } from '../../../../util';
6
6
  import type * as OrgHypercertsDefs from '../defs.js';
7
7
  export interface Main {
8
8
  $type: 'org.hypercerts.claim.contributorInformation';
9
- /** DID or a URI to a social profile of the contributor. */
9
+ /** DID (did:plc:...) or URI to a social profile of the contributor. */
10
10
  identifier?: string;
11
- /** Display name of the contributor. */
11
+ /** Human-readable name for the contributor as it should appear in UI. */
12
12
  displayName?: string;
13
13
  image?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
14
14
  $type: string;