@nakafa/aksara-contracts 8.2.0 → 8.4.1

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 (214) hide show
  1. package/dist/assessment/document.d.ts +1 -1
  2. package/dist/assessment/document.js +1 -1
  3. package/dist/assessment/figure.d.ts +1 -1
  4. package/dist/assessment/figure.js +1 -1
  5. package/dist/assessment/fit.d.ts +3 -3
  6. package/dist/assessment/fit.js +3 -3
  7. package/dist/assessment/locales.d.ts +1 -1
  8. package/dist/assessment/scoring.d.ts +1 -1
  9. package/dist/assessment/scoring.js +1 -1
  10. package/dist/cache/content.d.ts +1 -1
  11. package/dist/cache/content.js +1 -1
  12. package/dist/content.d.ts +3 -2
  13. package/dist/graph/identity.d.ts +1 -1
  14. package/dist/graph/identity.js +1 -1
  15. package/dist/math/boundary.d.ts +9 -0
  16. package/dist/math/boundary.js +81 -0
  17. package/dist/math/bounds.d.ts +1 -1
  18. package/dist/math/collision.d.ts +1 -1
  19. package/dist/math/coordinate.d.ts +6 -5
  20. package/dist/math/coordinate.js +2 -2
  21. package/dist/math/curve.d.ts +1 -0
  22. package/dist/math/curve.js +4 -2
  23. package/dist/math/formula/affine.d.ts +22 -0
  24. package/dist/math/formula/affine.js +79 -0
  25. package/dist/math/formula/compile.d.ts +1 -1
  26. package/dist/math/formula/compile.js +1 -1
  27. package/dist/math/formula/contour.d.ts +1 -1
  28. package/dist/math/formula/contour.js +28 -13
  29. package/dist/math/formula/field.js +1 -1
  30. package/dist/math/formula/mesh.d.ts +1 -1
  31. package/dist/math/formula/mesh.js +1 -1
  32. package/dist/math/formula/names.d.ts +1 -1
  33. package/dist/math/formula/names.js +1 -1
  34. package/dist/math/formula/parse.d.ts +1 -1
  35. package/dist/math/formula/parse.js +1 -1
  36. package/dist/math/formula/plane.d.ts +2 -2
  37. package/dist/math/formula/plane.js +3 -3
  38. package/dist/math/formula/reader.d.ts +2 -1
  39. package/dist/math/formula/reader.js +1 -1
  40. package/dist/math/formula/region.d.ts +2 -2
  41. package/dist/math/formula/region.js +3 -3
  42. package/dist/math/formula/sample.d.ts +1 -1
  43. package/dist/math/formula/scan.d.ts +1 -1
  44. package/dist/math/formula/scan.js +1 -1
  45. package/dist/math/formula/slider.d.ts +2 -2
  46. package/dist/math/formula/slider.js +1 -1
  47. package/dist/math/formula/space.d.ts +1 -1
  48. package/dist/math/formula/space.js +1 -1
  49. package/dist/math/object.d.ts +12 -0
  50. package/dist/math/object.js +11 -0
  51. package/dist/math/plane.d.ts +10 -0
  52. package/dist/math/plane.js +7 -1
  53. package/dist/math/precision.d.ts +1 -1
  54. package/dist/math/precision.js +1 -1
  55. package/dist/math/resolution.js +1 -1
  56. package/dist/math/scene.d.ts +2 -2
  57. package/dist/math/space.d.ts +8 -0
  58. package/dist/math/space.js +5 -1
  59. package/dist/math/vector.d.ts +1 -1
  60. package/dist/math/visual.d.ts +239 -212
  61. package/dist/preview/spec.js +1 -1
  62. package/dist/program/curriculum.d.ts +1 -1
  63. package/dist/program/curriculum.js +1 -1
  64. package/dist/program/snapshot/digest.d.ts +1 -1
  65. package/dist/program/snapshot/digest.js +2 -2
  66. package/dist/program/snapshot/hash.d.ts +2 -2
  67. package/dist/projection/digest.d.ts +1 -1
  68. package/dist/projection/digest.js +1 -1
  69. package/dist/projection/hash.js +1 -1
  70. package/dist/projection/material.d.ts +1 -1
  71. package/dist/projection/material.js +1 -1
  72. package/dist/projection/verify.js +1 -1
  73. package/dist/quran/identity.d.ts +2 -1
  74. package/dist/quran/provenance.d.ts +2 -2
  75. package/dist/quran/provenance.js +1 -1
  76. package/dist/quran/snapshot/hash.d.ts +1 -1
  77. package/dist/quran/snapshot/row/hash.d.ts +1 -1
  78. package/dist/quran/snapshot/row/hash.js +1 -1
  79. package/dist/quran/snapshot/spec.js +1 -1
  80. package/dist/quran/source.d.ts +2 -2
  81. package/dist/release/current/evidence.d.ts +1 -1
  82. package/dist/release/current/evidence.js +1 -1
  83. package/dist/release/current/state.d.ts +1 -1
  84. package/dist/release/current/state.js +1 -1
  85. package/dist/release/head.js +1 -1
  86. package/dist/release/items.d.ts +1 -1
  87. package/dist/release/items.js +1 -1
  88. package/dist/release/policy.d.ts +1 -1
  89. package/dist/release/policy.js +1 -1
  90. package/dist/release/result/digest.d.ts +3 -3
  91. package/dist/release/result/digest.js +2 -2
  92. package/dist/release/rollback/digest.d.ts +1 -1
  93. package/dist/release/rollback/digest.js +1 -1
  94. package/dist/release/route/digest.d.ts +1 -1
  95. package/dist/release/route/digest.js +1 -1
  96. package/dist/release/snapshot/evidence/assessment.d.ts +1 -1
  97. package/dist/release/snapshot/evidence/assessment.js +1 -1
  98. package/dist/release/snapshot/evidence/program.d.ts +1 -1
  99. package/dist/release/snapshot/evidence/program.js +1 -1
  100. package/dist/release/snapshot/evidence/quran.d.ts +1 -1
  101. package/dist/release/snapshot/evidence/quran.js +1 -1
  102. package/dist/release/snapshot/evidence/requirement.d.ts +3 -2
  103. package/dist/release/snapshot/evidence/requirement.js +1 -1
  104. package/dist/release/snapshot/spec.d.ts +2 -2
  105. package/dist/release/snapshot/spec.js +1 -1
  106. package/dist/release/snapshot/verify.d.ts +1 -1
  107. package/dist/release/snapshot/verify.js +1 -1
  108. package/dist/release/spec.d.ts +1 -1
  109. package/dist/release/verify.d.ts +1 -1
  110. package/dist/release/verify.js +1 -1
  111. package/dist/renderer/compatibility.d.ts +1 -1
  112. package/dist/renderer/compatibility.js +2 -2
  113. package/dist/renderer/contract.d.ts +1 -1
  114. package/dist/renderer/contract.js +1 -1
  115. package/dist/runtime/spec.js +2 -2
  116. package/dist/signature/spec.d.ts +3 -2
  117. package/dist/signature/verify.d.ts +2 -1
  118. package/dist/transport/request.d.ts +1 -1
  119. package/dist/visual/base/math.d.ts +79 -1
  120. package/dist/visual/base/math.js +31 -3
  121. package/dist/visual/base/media.d.ts +68 -1
  122. package/dist/visual/biology/bacteria.d.ts +269 -1
  123. package/dist/visual/biology/bacteria.js +1 -1
  124. package/dist/visual/biology/cell.d.ts +202 -1
  125. package/dist/visual/biology/climate.d.ts +202 -1
  126. package/dist/visual/biology/climate.js +1 -1
  127. package/dist/visual/biology/ecology.d.ts +269 -1
  128. package/dist/visual/biology/physiology.d.ts +202 -1
  129. package/dist/visual/biology/physiology.js +1 -1
  130. package/dist/visual/biology/plant.d.ts +336 -1
  131. package/dist/visual/biology/plant.js +1 -1
  132. package/dist/visual/biology.d.ts +1 -1
  133. package/dist/visual/card.d.ts +79 -1
  134. package/dist/visual/card.js +18 -2
  135. package/dist/visual/catalog.d.ts +14164 -2
  136. package/dist/visual/catalog.js +4 -0
  137. package/dist/visual/chemistry/atom.d.ts +202 -1
  138. package/dist/visual/chemistry/atom.js +1 -1
  139. package/dist/visual/chemistry/balance.d.ts +336 -1
  140. package/dist/visual/chemistry/balance.js +1 -1
  141. package/dist/visual/chemistry/bonding.d.ts +336 -1
  142. package/dist/visual/chemistry/discovery.d.ts +470 -1
  143. package/dist/visual/chemistry/electrochemistry.d.ts +135 -1
  144. package/dist/visual/chemistry/electrochemistry.js +1 -1
  145. package/dist/visual/chemistry/electron.d.ts +135 -1
  146. package/dist/visual/chemistry/electron.js +1 -1
  147. package/dist/visual/chemistry/laws.d.ts +269 -1
  148. package/dist/visual/chemistry/laws.js +1 -1
  149. package/dist/visual/chemistry/particles.d.ts +336 -1
  150. package/dist/visual/chemistry/periodic.d.ts +135 -1
  151. package/dist/visual/chemistry/periodic.js +1 -1
  152. package/dist/visual/chemistry/rate.d.ts +68 -1
  153. package/dist/visual/chemistry/rate.js +1 -1
  154. package/dist/visual/chemistry/reaction.d.ts +202 -1
  155. package/dist/visual/chemistry/reaction.js +1 -1
  156. package/dist/visual/chemistry/titration.d.ts +68 -1
  157. package/dist/visual/chemistry/titration.js +1 -1
  158. package/dist/visual/length.d.ts +79 -0
  159. package/dist/visual/length.js +37 -0
  160. package/dist/visual/mathematics/chance.d.ts +258 -0
  161. package/dist/visual/mathematics/chance.js +117 -0
  162. package/dist/visual/mathematics/chart.d.ts +68 -1
  163. package/dist/visual/mathematics/charts.d.ts +336 -1
  164. package/dist/visual/mathematics/function.d.ts +202 -1
  165. package/dist/visual/mathematics/numeral.d.ts +170 -0
  166. package/dist/visual/mathematics/numeral.js +85 -0
  167. package/dist/visual/physics/braking.d.ts +269 -1
  168. package/dist/visual/physics/braking.js +1 -1
  169. package/dist/visual/physics/circuit.d.ts +269 -1
  170. package/dist/visual/physics/circular.d.ts +135 -1
  171. package/dist/visual/physics/circular.js +1 -1
  172. package/dist/visual/physics/dynamics.d.ts +470 -1
  173. package/dist/visual/physics/dynamics.js +1 -1
  174. package/dist/visual/physics/efficiency.d.ts +403 -1
  175. package/dist/visual/physics/efficiency.js +1 -1
  176. package/dist/visual/physics/electronics.d.ts +202 -1
  177. package/dist/visual/physics/falling.d.ts +269 -1
  178. package/dist/visual/physics/falling.js +1 -1
  179. package/dist/visual/physics/field.d.ts +202 -1
  180. package/dist/visual/physics/fluid.d.ts +269 -1
  181. package/dist/visual/physics/fluid.js +1 -1
  182. package/dist/visual/physics/force.d.ts +336 -1
  183. package/dist/visual/physics/gravity.d.ts +135 -1
  184. package/dist/visual/physics/heat.d.ts +202 -1
  185. package/dist/visual/physics/heat.js +1 -1
  186. package/dist/visual/physics/instrument.d.ts +470 -1
  187. package/dist/visual/physics/light.d.ts +269 -1
  188. package/dist/visual/physics/light.js +1 -1
  189. package/dist/visual/physics/measurement.d.ts +269 -1
  190. package/dist/visual/physics/measurement.js +1 -1
  191. package/dist/visual/physics/motion.d.ts +403 -1
  192. package/dist/visual/physics/nuclear.d.ts +202 -1
  193. package/dist/visual/physics/parabolic.d.ts +68 -1
  194. package/dist/visual/physics/position.d.ts +403 -1
  195. package/dist/visual/physics/position.js +1 -1
  196. package/dist/visual/physics/power.d.ts +537 -1
  197. package/dist/visual/physics/power.js +1 -1
  198. package/dist/visual/physics/precision.d.ts +470 -1
  199. package/dist/visual/physics/precision.js +1 -1
  200. package/dist/visual/physics/product.d.ts +269 -1
  201. package/dist/visual/physics/reading.d.ts +202 -1
  202. package/dist/visual/physics/reading.js +1 -1
  203. package/dist/visual/physics/record.d.ts +135 -1
  204. package/dist/visual/physics/record.js +1 -1
  205. package/dist/visual/physics/relative.d.ts +202 -1
  206. package/dist/visual/physics/relative.js +1 -1
  207. package/dist/visual/physics/solar.d.ts +403 -1
  208. package/dist/visual/physics/solar.js +1 -1
  209. package/dist/visual/physics/vector.d.ts +336 -1
  210. package/dist/visual/physics/vector.js +1 -1
  211. package/dist/visual/physics/velocity.d.ts +470 -1
  212. package/dist/visual/physics/wave.d.ts +269 -1
  213. package/dist/visual/politics.d.ts +403 -1
  214. package/package.json +2 -2
@@ -22,9 +22,11 @@ import { periodicVisuals } from "#contracts/visual/chemistry/periodic";
22
22
  import { rateVisuals } from "#contracts/visual/chemistry/rate";
23
23
  import { reactionVisuals } from "#contracts/visual/chemistry/reaction";
24
24
  import { titrationVisuals } from "#contracts/visual/chemistry/titration";
25
+ import { chanceVisuals } from "#contracts/visual/mathematics/chance";
25
26
  import { chartVisuals } from "#contracts/visual/mathematics/charts";
26
27
  import { functionVisuals } from "#contracts/visual/mathematics/function";
27
28
  import { geometryVisuals } from "#contracts/visual/mathematics/geometry";
29
+ import { numeralVisuals } from "#contracts/visual/mathematics/numeral";
28
30
  import { brakingVisuals } from "#contracts/visual/physics/braking";
29
31
  import { circuitVisuals } from "#contracts/visual/physics/circuit";
30
32
  import { circularVisuals } from "#contracts/visual/physics/circular";
@@ -79,9 +81,11 @@ export function visualCatalog(rich) {
79
81
  ...particleVisuals(rich),
80
82
  ...periodicVisuals(rich),
81
83
  ...reactionVisuals(rich),
84
+ ...chanceVisuals(rich),
82
85
  ...chartVisuals(rich),
83
86
  ...functionVisuals(rich),
84
87
  ...geometryVisuals(rich),
88
+ ...numeralVisuals(rich),
85
89
  ...measurementVisuals(rich),
86
90
  ...motionVisuals(rich),
87
91
  ...parabolicVisuals(rich),
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { type RichSlot } from "#contracts/visual/card";
2
+ import type { RichSlot } from "#contracts/visual/card";
3
3
  /** The atoms the shell model lab can show. */
4
4
  export declare const SHELL_SAMPLES: readonly ["neon", "magnesium", "chlorine", "argon", "potassium", "calcium"];
5
5
  /**
@@ -10,6 +10,73 @@ export declare const SHELL_SAMPLES: readonly ["neon", "magnesium", "chlorine", "
10
10
  export declare function atomVisuals<E>(rich: RichSlot<E>): {
11
11
  AncientAtomLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
12
12
  readonly description: RichSlot<E>;
13
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
14
+ readonly attrs: {
15
+ readonly latex: string;
16
+ };
17
+ readonly type: "mathInline";
18
+ } | {
19
+ readonly marks?: readonly [{
20
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
21
+ } | {
22
+ readonly attrs: {
23
+ readonly href: string;
24
+ };
25
+ readonly type: "link";
26
+ } | {
27
+ readonly attrs: {
28
+ readonly variant: "success" | "warning" | null;
29
+ };
30
+ readonly type: "highlight";
31
+ }, ...({
32
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
33
+ } | {
34
+ readonly attrs: {
35
+ readonly href: string;
36
+ };
37
+ readonly type: "link";
38
+ } | {
39
+ readonly attrs: {
40
+ readonly variant: "success" | "warning" | null;
41
+ };
42
+ readonly type: "highlight";
43
+ })[]];
44
+ readonly text: string;
45
+ readonly type: "text";
46
+ }, ...({
47
+ readonly attrs: {
48
+ readonly latex: string;
49
+ };
50
+ readonly type: "mathInline";
51
+ } | {
52
+ readonly marks?: readonly [{
53
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
54
+ } | {
55
+ readonly attrs: {
56
+ readonly href: string;
57
+ };
58
+ readonly type: "link";
59
+ } | {
60
+ readonly attrs: {
61
+ readonly variant: "success" | "warning" | null;
62
+ };
63
+ readonly type: "highlight";
64
+ }, ...({
65
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
66
+ } | {
67
+ readonly attrs: {
68
+ readonly href: string;
69
+ };
70
+ readonly type: "link";
71
+ } | {
72
+ readonly attrs: {
73
+ readonly variant: "success" | "warning" | null;
74
+ };
75
+ readonly type: "highlight";
76
+ })[]];
77
+ readonly text: string;
78
+ readonly type: "text";
79
+ })[]], E, never, never>>;
13
80
  readonly title: RichSlot<E>;
14
81
  readonly labels: Schema.Struct<{
15
82
  readonly aristotleBody: RichSlot<E>;
@@ -42,6 +109,73 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
42
109
  }>, "figure">;
43
110
  AtomSymbolLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
44
111
  readonly description: RichSlot<E>;
112
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
113
+ readonly attrs: {
114
+ readonly latex: string;
115
+ };
116
+ readonly type: "mathInline";
117
+ } | {
118
+ readonly marks?: readonly [{
119
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
120
+ } | {
121
+ readonly attrs: {
122
+ readonly href: string;
123
+ };
124
+ readonly type: "link";
125
+ } | {
126
+ readonly attrs: {
127
+ readonly variant: "success" | "warning" | null;
128
+ };
129
+ readonly type: "highlight";
130
+ }, ...({
131
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
132
+ } | {
133
+ readonly attrs: {
134
+ readonly href: string;
135
+ };
136
+ readonly type: "link";
137
+ } | {
138
+ readonly attrs: {
139
+ readonly variant: "success" | "warning" | null;
140
+ };
141
+ readonly type: "highlight";
142
+ })[]];
143
+ readonly text: string;
144
+ readonly type: "text";
145
+ }, ...({
146
+ readonly attrs: {
147
+ readonly latex: string;
148
+ };
149
+ readonly type: "mathInline";
150
+ } | {
151
+ readonly marks?: readonly [{
152
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
153
+ } | {
154
+ readonly attrs: {
155
+ readonly href: string;
156
+ };
157
+ readonly type: "link";
158
+ } | {
159
+ readonly attrs: {
160
+ readonly variant: "success" | "warning" | null;
161
+ };
162
+ readonly type: "highlight";
163
+ }, ...({
164
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
165
+ } | {
166
+ readonly attrs: {
167
+ readonly href: string;
168
+ };
169
+ readonly type: "link";
170
+ } | {
171
+ readonly attrs: {
172
+ readonly variant: "success" | "warning" | null;
173
+ };
174
+ readonly type: "highlight";
175
+ })[]];
176
+ readonly text: string;
177
+ readonly type: "text";
178
+ })[]], E, never, never>>;
45
179
  readonly title: RichSlot<E>;
46
180
  readonly labels: Schema.Struct<{
47
181
  readonly atomicNumber: Schema.Trimmed;
@@ -61,6 +195,73 @@ export declare function atomVisuals<E>(rich: RichSlot<E>): {
61
195
  }>, "figure">;
62
196
  DaltonEvidenceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
63
197
  readonly description: RichSlot<E>;
198
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
199
+ readonly attrs: {
200
+ readonly latex: string;
201
+ };
202
+ readonly type: "mathInline";
203
+ } | {
204
+ readonly marks?: readonly [{
205
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
206
+ } | {
207
+ readonly attrs: {
208
+ readonly href: string;
209
+ };
210
+ readonly type: "link";
211
+ } | {
212
+ readonly attrs: {
213
+ readonly variant: "success" | "warning" | null;
214
+ };
215
+ readonly type: "highlight";
216
+ }, ...({
217
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
218
+ } | {
219
+ readonly attrs: {
220
+ readonly href: string;
221
+ };
222
+ readonly type: "link";
223
+ } | {
224
+ readonly attrs: {
225
+ readonly variant: "success" | "warning" | null;
226
+ };
227
+ readonly type: "highlight";
228
+ })[]];
229
+ readonly text: string;
230
+ readonly type: "text";
231
+ }, ...({
232
+ readonly attrs: {
233
+ readonly latex: string;
234
+ };
235
+ readonly type: "mathInline";
236
+ } | {
237
+ readonly marks?: readonly [{
238
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
239
+ } | {
240
+ readonly attrs: {
241
+ readonly href: string;
242
+ };
243
+ readonly type: "link";
244
+ } | {
245
+ readonly attrs: {
246
+ readonly variant: "success" | "warning" | null;
247
+ };
248
+ readonly type: "highlight";
249
+ }, ...({
250
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
251
+ } | {
252
+ readonly attrs: {
253
+ readonly href: string;
254
+ };
255
+ readonly type: "link";
256
+ } | {
257
+ readonly attrs: {
258
+ readonly variant: "success" | "warning" | null;
259
+ };
260
+ readonly type: "highlight";
261
+ })[]];
262
+ readonly text: string;
263
+ readonly type: "text";
264
+ })[]], E, never, never>>;
64
265
  readonly title: RichSlot<E>;
65
266
  readonly labels: Schema.Struct<{
66
267
  readonly chooseMode: Schema.Trimmed;
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { byIds, cardFields, TextSchema, } from "#contracts/visual/card";
2
+ import { byIds, cardFields, TextSchema } from "#contracts/visual/card";
3
3
  import { answerAt, figure } from "#contracts/visual/entry";
4
4
  /** The cutting stages of the ancient atom thought experiment. */
5
5
  const ANCIENT_LEVELS = [
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { type RichSlot } from "#contracts/visual/card";
2
+ import type { RichSlot } from "#contracts/visual/card";
3
3
  /**
4
4
  * The props of the mass conservation and equation balancing labs. No prop
5
5
  * states the conclusion a lab leads to, so none holds answer state.
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
7
7
  export declare function balanceVisuals<E>(rich: RichSlot<E>): {
8
8
  FizzBalanceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
9
  readonly description: RichSlot<E>;
10
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
11
+ readonly attrs: {
12
+ readonly latex: string;
13
+ };
14
+ readonly type: "mathInline";
15
+ } | {
16
+ readonly marks?: readonly [{
17
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
18
+ } | {
19
+ readonly attrs: {
20
+ readonly href: string;
21
+ };
22
+ readonly type: "link";
23
+ } | {
24
+ readonly attrs: {
25
+ readonly variant: "success" | "warning" | null;
26
+ };
27
+ readonly type: "highlight";
28
+ }, ...({
29
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
30
+ } | {
31
+ readonly attrs: {
32
+ readonly href: string;
33
+ };
34
+ readonly type: "link";
35
+ } | {
36
+ readonly attrs: {
37
+ readonly variant: "success" | "warning" | null;
38
+ };
39
+ readonly type: "highlight";
40
+ })[]];
41
+ readonly text: string;
42
+ readonly type: "text";
43
+ }, ...({
44
+ readonly attrs: {
45
+ readonly latex: string;
46
+ };
47
+ readonly type: "mathInline";
48
+ } | {
49
+ readonly marks?: readonly [{
50
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
51
+ } | {
52
+ readonly attrs: {
53
+ readonly href: string;
54
+ };
55
+ readonly type: "link";
56
+ } | {
57
+ readonly attrs: {
58
+ readonly variant: "success" | "warning" | null;
59
+ };
60
+ readonly type: "highlight";
61
+ }, ...({
62
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
63
+ } | {
64
+ readonly attrs: {
65
+ readonly href: string;
66
+ };
67
+ readonly type: "link";
68
+ } | {
69
+ readonly attrs: {
70
+ readonly variant: "success" | "warning" | null;
71
+ };
72
+ readonly type: "highlight";
73
+ })[]];
74
+ readonly text: string;
75
+ readonly type: "text";
76
+ })[]], E, never, never>>;
10
77
  readonly title: RichSlot<E>;
11
78
  readonly labels: Schema.Struct<{
12
79
  readonly chooseSeal: Schema.Trimmed;
@@ -20,6 +87,73 @@ export declare function balanceVisuals<E>(rich: RichSlot<E>): {
20
87
  }>, "figure">;
21
88
  LavoisierCalxLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
22
89
  readonly description: RichSlot<E>;
90
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
91
+ readonly attrs: {
92
+ readonly latex: string;
93
+ };
94
+ readonly type: "mathInline";
95
+ } | {
96
+ readonly marks?: readonly [{
97
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
98
+ } | {
99
+ readonly attrs: {
100
+ readonly href: string;
101
+ };
102
+ readonly type: "link";
103
+ } | {
104
+ readonly attrs: {
105
+ readonly variant: "success" | "warning" | null;
106
+ };
107
+ readonly type: "highlight";
108
+ }, ...({
109
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
110
+ } | {
111
+ readonly attrs: {
112
+ readonly href: string;
113
+ };
114
+ readonly type: "link";
115
+ } | {
116
+ readonly attrs: {
117
+ readonly variant: "success" | "warning" | null;
118
+ };
119
+ readonly type: "highlight";
120
+ })[]];
121
+ readonly text: string;
122
+ readonly type: "text";
123
+ }, ...({
124
+ readonly attrs: {
125
+ readonly latex: string;
126
+ };
127
+ readonly type: "mathInline";
128
+ } | {
129
+ readonly marks?: readonly [{
130
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
131
+ } | {
132
+ readonly attrs: {
133
+ readonly href: string;
134
+ };
135
+ readonly type: "link";
136
+ } | {
137
+ readonly attrs: {
138
+ readonly variant: "success" | "warning" | null;
139
+ };
140
+ readonly type: "highlight";
141
+ }, ...({
142
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
143
+ } | {
144
+ readonly attrs: {
145
+ readonly href: string;
146
+ };
147
+ readonly type: "link";
148
+ } | {
149
+ readonly attrs: {
150
+ readonly variant: "success" | "warning" | null;
151
+ };
152
+ readonly type: "highlight";
153
+ })[]];
154
+ readonly text: string;
155
+ readonly type: "text";
156
+ })[]], E, never, never>>;
23
157
  readonly title: RichSlot<E>;
24
158
  readonly labels: Schema.Struct<{
25
159
  readonly air: RichSlot<E>;
@@ -34,6 +168,73 @@ export declare function balanceVisuals<E>(rich: RichSlot<E>): {
34
168
  }>, "figure">;
35
169
  PrecipitateLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
36
170
  readonly description: RichSlot<E>;
171
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
172
+ readonly attrs: {
173
+ readonly latex: string;
174
+ };
175
+ readonly type: "mathInline";
176
+ } | {
177
+ readonly marks?: readonly [{
178
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
179
+ } | {
180
+ readonly attrs: {
181
+ readonly href: string;
182
+ };
183
+ readonly type: "link";
184
+ } | {
185
+ readonly attrs: {
186
+ readonly variant: "success" | "warning" | null;
187
+ };
188
+ readonly type: "highlight";
189
+ }, ...({
190
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
191
+ } | {
192
+ readonly attrs: {
193
+ readonly href: string;
194
+ };
195
+ readonly type: "link";
196
+ } | {
197
+ readonly attrs: {
198
+ readonly variant: "success" | "warning" | null;
199
+ };
200
+ readonly type: "highlight";
201
+ })[]];
202
+ readonly text: string;
203
+ readonly type: "text";
204
+ }, ...({
205
+ readonly attrs: {
206
+ readonly latex: string;
207
+ };
208
+ readonly type: "mathInline";
209
+ } | {
210
+ readonly marks?: readonly [{
211
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
212
+ } | {
213
+ readonly attrs: {
214
+ readonly href: string;
215
+ };
216
+ readonly type: "link";
217
+ } | {
218
+ readonly attrs: {
219
+ readonly variant: "success" | "warning" | null;
220
+ };
221
+ readonly type: "highlight";
222
+ }, ...({
223
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
224
+ } | {
225
+ readonly attrs: {
226
+ readonly href: string;
227
+ };
228
+ readonly type: "link";
229
+ } | {
230
+ readonly attrs: {
231
+ readonly variant: "success" | "warning" | null;
232
+ };
233
+ readonly type: "highlight";
234
+ })[]];
235
+ readonly text: string;
236
+ readonly type: "text";
237
+ })[]], E, never, never>>;
37
238
  readonly title: RichSlot<E>;
38
239
  readonly labels: Schema.Struct<{
39
240
  readonly precipitate: RichSlot<E>;
@@ -44,6 +245,73 @@ export declare function balanceVisuals<E>(rich: RichSlot<E>): {
44
245
  }>, "figure">;
45
246
  SteelWoolLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
46
247
  readonly description: RichSlot<E>;
248
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
249
+ readonly attrs: {
250
+ readonly latex: string;
251
+ };
252
+ readonly type: "mathInline";
253
+ } | {
254
+ readonly marks?: readonly [{
255
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
256
+ } | {
257
+ readonly attrs: {
258
+ readonly href: string;
259
+ };
260
+ readonly type: "link";
261
+ } | {
262
+ readonly attrs: {
263
+ readonly variant: "success" | "warning" | null;
264
+ };
265
+ readonly type: "highlight";
266
+ }, ...({
267
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
268
+ } | {
269
+ readonly attrs: {
270
+ readonly href: string;
271
+ };
272
+ readonly type: "link";
273
+ } | {
274
+ readonly attrs: {
275
+ readonly variant: "success" | "warning" | null;
276
+ };
277
+ readonly type: "highlight";
278
+ })[]];
279
+ readonly text: string;
280
+ readonly type: "text";
281
+ }, ...({
282
+ readonly attrs: {
283
+ readonly latex: string;
284
+ };
285
+ readonly type: "mathInline";
286
+ } | {
287
+ readonly marks?: readonly [{
288
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
289
+ } | {
290
+ readonly attrs: {
291
+ readonly href: string;
292
+ };
293
+ readonly type: "link";
294
+ } | {
295
+ readonly attrs: {
296
+ readonly variant: "success" | "warning" | null;
297
+ };
298
+ readonly type: "highlight";
299
+ }, ...({
300
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
301
+ } | {
302
+ readonly attrs: {
303
+ readonly href: string;
304
+ };
305
+ readonly type: "link";
306
+ } | {
307
+ readonly attrs: {
308
+ readonly variant: "success" | "warning" | null;
309
+ };
310
+ readonly type: "highlight";
311
+ })[]];
312
+ readonly text: string;
313
+ readonly type: "text";
314
+ })[]], E, never, never>>;
47
315
  readonly title: RichSlot<E>;
48
316
  readonly labels: Schema.Struct<{
49
317
  readonly chooseSeal: Schema.Trimmed;
@@ -56,6 +324,73 @@ export declare function balanceVisuals<E>(rich: RichSlot<E>): {
56
324
  }>, "figure">;
57
325
  ReactionBalanceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
58
326
  readonly description: RichSlot<E>;
327
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
328
+ readonly attrs: {
329
+ readonly latex: string;
330
+ };
331
+ readonly type: "mathInline";
332
+ } | {
333
+ readonly marks?: readonly [{
334
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
335
+ } | {
336
+ readonly attrs: {
337
+ readonly href: string;
338
+ };
339
+ readonly type: "link";
340
+ } | {
341
+ readonly attrs: {
342
+ readonly variant: "success" | "warning" | null;
343
+ };
344
+ readonly type: "highlight";
345
+ }, ...({
346
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
347
+ } | {
348
+ readonly attrs: {
349
+ readonly href: string;
350
+ };
351
+ readonly type: "link";
352
+ } | {
353
+ readonly attrs: {
354
+ readonly variant: "success" | "warning" | null;
355
+ };
356
+ readonly type: "highlight";
357
+ })[]];
358
+ readonly text: string;
359
+ readonly type: "text";
360
+ }, ...({
361
+ readonly attrs: {
362
+ readonly latex: string;
363
+ };
364
+ readonly type: "mathInline";
365
+ } | {
366
+ readonly marks?: readonly [{
367
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
368
+ } | {
369
+ readonly attrs: {
370
+ readonly href: string;
371
+ };
372
+ readonly type: "link";
373
+ } | {
374
+ readonly attrs: {
375
+ readonly variant: "success" | "warning" | null;
376
+ };
377
+ readonly type: "highlight";
378
+ }, ...({
379
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
380
+ } | {
381
+ readonly attrs: {
382
+ readonly href: string;
383
+ };
384
+ readonly type: "link";
385
+ } | {
386
+ readonly attrs: {
387
+ readonly variant: "success" | "warning" | null;
388
+ };
389
+ readonly type: "highlight";
390
+ })[]];
391
+ readonly text: string;
392
+ readonly type: "text";
393
+ })[]], E, never, never>>;
59
394
  readonly title: RichSlot<E>;
60
395
  readonly labels: Schema.Struct<{
61
396
  readonly atoms: RichSlot<E>;
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { byIds, cardFields, TextSchema, } from "#contracts/visual/card";
2
+ import { byIds, cardFields, TextSchema } from "#contracts/visual/card";
3
3
  import { figure } from "#contracts/visual/entry";
4
4
  /**
5
5
  * Props of `FizzBalanceLab`: baking soda drops into vinegar in a flask that