@nakafa/aksara-contracts 6.5.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/assessment/catalog.d.ts +18 -5
  2. package/dist/assessment/catalog.js +18 -8
  3. package/dist/assessment/choice.d.ts +10 -0
  4. package/dist/assessment/closure.d.ts +2 -1
  5. package/dist/assessment/closure.js +43 -62
  6. package/dist/assessment/document.d.ts +18 -0
  7. package/dist/assessment/document.js +10 -0
  8. package/dist/assessment/figure.d.ts +25 -2676
  9. package/dist/assessment/figure.js +17 -216
  10. package/dist/assessment/hash.d.ts +274 -4
  11. package/dist/assessment/inline.d.ts +25 -0
  12. package/dist/assessment/inline.js +22 -3
  13. package/dist/assessment/interaction.d.ts +10 -0
  14. package/dist/assessment/item.d.ts +864 -0
  15. package/dist/assessment/item.js +10 -2
  16. package/dist/assessment/locales.d.ts +10 -0
  17. package/dist/assessment/locales.js +58 -0
  18. package/dist/assessment/paper.d.ts +1349 -12
  19. package/dist/assessment/paper.js +93 -9
  20. package/dist/assessment/part.d.ts +5 -0
  21. package/dist/assessment/profile.d.ts +4 -4
  22. package/dist/assessment/rows.d.ts +1409 -0
  23. package/dist/assessment/rows.js +44 -0
  24. package/dist/assessment/scalar.d.ts +1 -1
  25. package/dist/assessment/scoring.d.ts +1 -1
  26. package/dist/assessment/snapshot.d.ts +372 -20
  27. package/dist/assessment/structure.d.ts +6 -0
  28. package/dist/assessment/structure.js +22 -2
  29. package/dist/locale.d.ts +9 -9
  30. package/dist/locale.js +4 -3
  31. package/dist/program/snapshot/hash.d.ts +2 -2
  32. package/dist/program/snapshot/spec.d.ts +2 -2
  33. package/dist/projection/material.d.ts +10 -0
  34. package/dist/projection/material.js +1 -1
  35. package/dist/quran/attribution.d.ts +2 -2
  36. package/dist/quran/identity.d.ts +31 -10
  37. package/dist/quran/identity.js +15 -3
  38. package/dist/quran/provenance.d.ts +16 -16
  39. package/dist/quran/provenance.js +4 -1
  40. package/dist/quran/snapshot/hash.d.ts +2 -2
  41. package/dist/quran/snapshot/row/hash.d.ts +48 -15
  42. package/dist/quran/snapshot/row.d.ts +18 -8
  43. package/dist/quran/snapshot/spec.d.ts +2 -2
  44. package/dist/quran/source.d.ts +17 -7
  45. package/dist/quran/source.js +13 -1
  46. package/dist/quran/spec.d.ts +4 -4
  47. package/dist/quran/spec.js +2 -1
  48. package/dist/release/current/evidence.d.ts +9 -9
  49. package/dist/release/current/state.d.ts +11 -11
  50. package/dist/release/hash.d.ts +2 -2
  51. package/dist/release/identity.d.ts +1 -1
  52. package/dist/release/lifecycle.d.ts +7 -7
  53. package/dist/release/policy.d.ts +1 -1
  54. package/dist/release/snapshot/data.d.ts +36 -11
  55. package/dist/release/snapshot/evidence/assessment.d.ts +1 -1
  56. package/dist/release/snapshot/evidence/program.d.ts +1 -1
  57. package/dist/release/snapshot/evidence/quran.d.ts +1 -1
  58. package/dist/release/snapshot/evidence.d.ts +3 -3
  59. package/dist/release/snapshot/verify.d.ts +179 -12
  60. package/dist/release/spec.d.ts +13 -13
  61. package/dist/release/verify.d.ts +2 -2
  62. package/dist/runtime/spec.d.ts +6 -6
  63. package/dist/runtime/verify.d.ts +4 -4
  64. package/dist/transport/group.d.ts +108 -33
  65. package/dist/transport/request.d.ts +1166 -114
  66. package/dist/transport/response.d.ts +64 -64
  67. package/dist/transport/snapshot.d.ts +72 -22
  68. package/dist/visual/base/layout.d.ts +27 -0
  69. package/dist/visual/base/layout.js +35 -0
  70. package/dist/visual/base/math.d.ts +523 -0
  71. package/dist/visual/base/math.js +72 -0
  72. package/dist/visual/base/media.d.ts +13 -0
  73. package/dist/visual/base/media.js +25 -0
  74. package/dist/visual/biology/bacteria.d.ts +55 -0
  75. package/dist/visual/biology/bacteria.js +79 -0
  76. package/dist/visual/biology/cell.d.ts +89 -0
  77. package/dist/visual/biology/cell.js +95 -0
  78. package/dist/visual/biology/climate.d.ts +75 -0
  79. package/dist/visual/biology/climate.js +94 -0
  80. package/dist/visual/biology/ecology.d.ts +75 -0
  81. package/dist/visual/biology/ecology.js +94 -0
  82. package/dist/visual/biology.d.ts +203 -0
  83. package/dist/visual/biology.js +108 -0
  84. package/dist/visual/card.d.ts +32 -0
  85. package/dist/visual/card.js +30 -0
  86. package/dist/visual/catalog.d.ts +3372 -0
  87. package/dist/visual/catalog.js +119 -0
  88. package/dist/visual/chemistry/atom.d.ts +79 -0
  89. package/dist/visual/chemistry/atom.js +109 -0
  90. package/dist/visual/chemistry/balance.d.ts +79 -0
  91. package/dist/visual/chemistry/balance.js +128 -0
  92. package/dist/visual/chemistry/bonding.d.ts +80 -0
  93. package/dist/visual/chemistry/bonding.js +147 -0
  94. package/dist/visual/chemistry/discovery.d.ts +96 -0
  95. package/dist/visual/chemistry/discovery.js +137 -0
  96. package/dist/visual/chemistry/electron.d.ts +41 -0
  97. package/dist/visual/chemistry/electron.js +69 -0
  98. package/dist/visual/chemistry/laws.d.ts +86 -0
  99. package/dist/visual/chemistry/laws.js +117 -0
  100. package/dist/visual/chemistry/particles.d.ts +114 -0
  101. package/dist/visual/chemistry/particles.js +149 -0
  102. package/dist/visual/chemistry/periodic.d.ts +52 -0
  103. package/dist/visual/chemistry/periodic.js +85 -0
  104. package/dist/visual/chemistry/reaction.d.ts +60 -0
  105. package/dist/visual/chemistry/reaction.js +76 -0
  106. package/dist/visual/entry.d.ts +42 -0
  107. package/dist/visual/entry.js +48 -0
  108. package/dist/visual/mathematics/chart.d.ts +30 -0
  109. package/dist/{assessment → visual/mathematics}/chart.js +26 -18
  110. package/dist/visual/mathematics/charts.d.ts +118 -0
  111. package/dist/visual/mathematics/charts.js +100 -0
  112. package/dist/visual/mathematics/function.d.ts +82 -0
  113. package/dist/visual/mathematics/function.js +102 -0
  114. package/dist/visual/mathematics/geometry.d.ts +222 -0
  115. package/dist/visual/mathematics/geometry.js +81 -0
  116. package/dist/visual/mathematics/line.d.ts +179 -0
  117. package/dist/visual/mathematics/line.js +156 -0
  118. package/dist/visual/mathematics/number.d.ts +21 -0
  119. package/dist/visual/mathematics/number.js +53 -0
  120. package/dist/visual/physics/braking.d.ts +62 -0
  121. package/dist/visual/physics/braking.js +83 -0
  122. package/dist/visual/physics/circular.d.ts +36 -0
  123. package/dist/visual/physics/circular.js +51 -0
  124. package/dist/visual/physics/efficiency.d.ts +93 -0
  125. package/dist/visual/physics/efficiency.js +129 -0
  126. package/dist/visual/physics/falling.d.ts +56 -0
  127. package/dist/visual/physics/falling.js +77 -0
  128. package/dist/visual/physics/force.d.ts +88 -0
  129. package/dist/visual/physics/force.js +115 -0
  130. package/dist/visual/physics/instrument.d.ts +93 -0
  131. package/dist/visual/physics/instrument.js +135 -0
  132. package/dist/visual/physics/measurement.d.ts +66 -0
  133. package/dist/visual/physics/measurement.js +85 -0
  134. package/dist/visual/physics/motion.d.ts +85 -0
  135. package/dist/visual/physics/motion.js +110 -0
  136. package/dist/visual/physics/parabolic.d.ts +42 -0
  137. package/dist/visual/physics/parabolic.js +56 -0
  138. package/dist/visual/physics/position.d.ts +87 -0
  139. package/dist/visual/physics/position.js +123 -0
  140. package/dist/visual/physics/power.d.ts +121 -0
  141. package/dist/visual/physics/power.js +162 -0
  142. package/dist/visual/physics/precision.d.ts +96 -0
  143. package/dist/visual/physics/precision.js +137 -0
  144. package/dist/visual/physics/product.d.ts +73 -0
  145. package/dist/visual/physics/product.js +96 -0
  146. package/dist/visual/physics/record.d.ts +34 -0
  147. package/dist/visual/physics/record.js +46 -0
  148. package/dist/visual/physics/relative.d.ts +55 -0
  149. package/dist/visual/physics/relative.js +76 -0
  150. package/dist/visual/physics/solar.d.ts +91 -0
  151. package/dist/visual/physics/solar.js +126 -0
  152. package/dist/visual/physics/vector.d.ts +103 -0
  153. package/dist/visual/physics/vector.js +123 -0
  154. package/dist/visual/physics/velocity.d.ts +112 -0
  155. package/dist/visual/physics/velocity.js +144 -0
  156. package/dist/visual/politics.d.ts +92 -0
  157. package/dist/visual/politics.js +76 -0
  158. package/package.json +13 -5
  159. package/dist/assessment/chart.d.ts +0 -62
@@ -1,4 +1,5 @@
1
1
  import { Schema } from "effect";
2
+ import { type AssessmentVisuals, type VisualName } from "#contracts/visual/catalog";
2
3
  /**
3
4
  * One uploaded image. The text alternative is required, and the pixel size is
4
5
  * required so a page can reserve the space before the file loads.
@@ -10,45 +11,21 @@ export declare const ImageSchema: Schema.Struct<{
10
11
  readonly width: Schema.Int;
11
12
  }>;
12
13
  export type Image = typeof ImageSchema.Type;
13
- /** Props of `MathVisual`: a plane or space scene and the rich labels it anchors. */
14
- export declare const MathVisualPropsSchema: Schema.Struct<{
15
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
16
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
17
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
18
- }>, Schema.Struct<{
19
- readonly attrs: Schema.Struct<{
20
- readonly href: Schema.String;
21
- }>;
22
- readonly type: Schema.Literal<"link">;
23
- }>]>>>;
24
- readonly text: Schema.String;
25
- readonly type: Schema.Literal<"text">;
26
- }>, Schema.Struct<{
27
- readonly attrs: Schema.Struct<{
28
- readonly latex: Schema.Trimmed;
29
- }>;
30
- readonly type: Schema.Literal<"mathInline">;
31
- }>]>>;
32
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
14
+ /**
15
+ * What every figure carries besides its props. The text alternative is
16
+ * required, because a figure must say in words what it shows, and the caption
17
+ * is rich text or null, as ProseMirror writes an unset attribute.
18
+ */
19
+ declare const FigureFields: {
20
+ alt: Schema.Trimmed;
21
+ caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
33
22
  readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
34
23
  readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
35
24
  }>, Schema.Struct<{
36
25
  readonly attrs: Schema.Struct<{
37
- readonly href: Schema.String;
26
+ readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
38
27
  }>;
39
- readonly type: Schema.Literal<"link">;
40
- }>]>>>;
41
- readonly text: Schema.String;
42
- readonly type: Schema.Literal<"text">;
43
- }>, Schema.Struct<{
44
- readonly attrs: Schema.Struct<{
45
- readonly latex: Schema.Trimmed;
46
- }>;
47
- readonly type: Schema.Literal<"mathInline">;
48
- }>]>>;
49
- readonly labels: Schema.$Record<Schema.String, Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
50
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
51
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
28
+ readonly type: Schema.Literal<"highlight">;
52
29
  }>, Schema.Struct<{
53
30
  readonly attrs: Schema.Struct<{
54
31
  readonly href: Schema.String;
@@ -63,2654 +40,26 @@ export declare const MathVisualPropsSchema: Schema.Struct<{
63
40
  }>;
64
41
  readonly type: Schema.Literal<"mathInline">;
65
42
  }>]>>>;
66
- readonly scene: Schema.Union<readonly [Schema.Struct<{
67
- readonly frame: Schema.Struct<{
68
- readonly kind: Schema.Literal<"cartesian">;
69
- readonly x: Schema.Struct<{
70
- readonly max: Schema.Finite;
71
- readonly min: Schema.Finite;
72
- }>;
73
- readonly y: Schema.Struct<{
74
- readonly max: Schema.Finite;
75
- readonly min: Schema.Finite;
76
- }>;
77
- }>;
78
- readonly labels: Schema.optionalKey<Schema.$Array<Schema.Struct<{
79
- readonly at: Schema.Union<readonly [Schema.Struct<{
80
- readonly x: Schema.Finite;
81
- readonly y: Schema.Finite;
82
- }>, Schema.Struct<{
83
- readonly x: Schema.String;
84
- readonly y: Schema.String;
85
- }>]>;
86
- readonly key: Schema.String;
87
- readonly objectId: Schema.String;
88
- readonly placement: Schema.optionalKey<Schema.Literals<readonly ["above", "above-left", "above-right", "below", "below-left", "below-right", "center", "left", "right"]>>;
89
- }>>>;
90
- readonly objects: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
91
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
92
- readonly id: Schema.String;
93
- readonly domain: Schema.optionalKey<Schema.Struct<{
94
- readonly max: Schema.Finite;
95
- readonly min: Schema.Finite;
96
- }>>;
97
- readonly formula: Schema.String;
98
- readonly inputAxis: Schema.optionalKey<Schema.Literals<readonly ["x", "y"]>>;
99
- readonly kind: Schema.Literal<"function">;
100
- }>, Schema.Struct<{
101
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
102
- readonly id: Schema.String;
103
- readonly equation: Schema.String;
104
- readonly kind: Schema.Literal<"implicit">;
105
- }>, Schema.Struct<{
106
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
107
- readonly id: Schema.String;
108
- readonly kind: Schema.Literal<"loop">;
109
- readonly points: Schema.$Array<Schema.Struct<{
110
- readonly x: Schema.String;
111
- readonly y: Schema.String;
112
- }>>;
113
- }>, Schema.Struct<{
114
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
115
- readonly id: Schema.String;
116
- readonly kind: Schema.Literal<"marker">;
117
- readonly x: Schema.String;
118
- readonly y: Schema.String;
119
- }>, Schema.Struct<{
120
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
121
- readonly id: Schema.String;
122
- readonly kind: Schema.Literal<"parametric">;
123
- readonly parameter: Schema.Struct<{
124
- readonly max: Schema.Finite;
125
- readonly min: Schema.Finite;
126
- }>;
127
- readonly x: Schema.String;
128
- readonly y: Schema.String;
129
- }>, Schema.Struct<{
130
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
131
- readonly id: Schema.String;
132
- readonly kind: Schema.Literal<"path">;
133
- readonly points: Schema.$Array<Schema.Struct<{
134
- readonly x: Schema.String;
135
- readonly y: Schema.String;
136
- }>>;
137
- }>, Schema.Struct<{
138
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
139
- readonly id: Schema.String;
140
- readonly angle: Schema.Struct<{
141
- readonly max: Schema.Finite;
142
- readonly min: Schema.Finite;
143
- }>;
144
- readonly kind: Schema.Literal<"polar">;
145
- readonly radius: Schema.String;
146
- }>, Schema.Struct<{
147
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
148
- readonly id: Schema.String;
149
- readonly inequalities: Schema.NonEmptyArray<Schema.String>;
150
- readonly kind: Schema.Literal<"region">;
151
- }>, Schema.Struct<{
152
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
153
- readonly id: Schema.String;
154
- readonly center: Schema.Struct<{
155
- readonly x: Schema.Finite;
156
- readonly y: Schema.Finite;
157
- }>;
158
- readonly kind: Schema.Literal<"arc">;
159
- readonly radius: Schema.Finite;
160
- readonly startDegrees: Schema.Finite;
161
- readonly sweepDegrees: Schema.Finite;
162
- }>, Schema.Struct<{
163
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
164
- readonly id: Schema.String;
165
- readonly center: Schema.Struct<{
166
- readonly x: Schema.Finite;
167
- readonly y: Schema.Finite;
168
- }>;
169
- readonly kind: Schema.Literal<"circle">;
170
- readonly radius: Schema.Finite;
171
- }>, Schema.Struct<{
172
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
173
- readonly id: Schema.String;
174
- readonly kind: Schema.Literal<"line">;
175
- readonly through: Schema.Tuple<readonly [Schema.Struct<{
176
- readonly x: Schema.Finite;
177
- readonly y: Schema.Finite;
178
- }>, Schema.Struct<{
179
- readonly x: Schema.Finite;
180
- readonly y: Schema.Finite;
181
- }>]>;
182
- }>, Schema.Struct<{
183
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
184
- readonly id: Schema.String;
185
- readonly at: Schema.Struct<{
186
- readonly x: Schema.Finite;
187
- readonly y: Schema.Finite;
188
- }>;
189
- readonly kind: Schema.Literal<"point">;
190
- }>, Schema.Struct<{
191
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
192
- readonly id: Schema.String;
193
- readonly kind: Schema.Literal<"polygon">;
194
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
195
- readonly x: Schema.Finite;
196
- readonly y: Schema.Finite;
197
- }>, Schema.Struct<{
198
- readonly x: Schema.Finite;
199
- readonly y: Schema.Finite;
200
- }>, Schema.Struct<{
201
- readonly x: Schema.Finite;
202
- readonly y: Schema.Finite;
203
- }>]>, readonly [Schema.Struct<{
204
- readonly x: Schema.Finite;
205
- readonly y: Schema.Finite;
206
- }>]>;
207
- }>, Schema.Struct<{
208
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
209
- readonly id: Schema.String;
210
- readonly kind: Schema.Literal<"polyline">;
211
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
212
- readonly x: Schema.Finite;
213
- readonly y: Schema.Finite;
214
- }>, Schema.Struct<{
215
- readonly x: Schema.Finite;
216
- readonly y: Schema.Finite;
217
- }>]>, readonly [Schema.Struct<{
218
- readonly x: Schema.Finite;
219
- readonly y: Schema.Finite;
220
- }>]>;
221
- }>, Schema.Struct<{
222
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
223
- readonly id: Schema.String;
224
- readonly coefficients: Schema.Struct<{
225
- readonly a: Schema.Finite;
226
- readonly b: Schema.Finite;
227
- readonly c: Schema.Finite;
228
- }>;
229
- readonly domain: Schema.Struct<{
230
- readonly max: Schema.Finite;
231
- readonly min: Schema.Finite;
232
- }>;
233
- readonly inputAxis: Schema.Literals<readonly ["x", "y"]>;
234
- readonly kind: Schema.Literal<"quadratic">;
235
- }>, Schema.Struct<{
236
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
237
- readonly id: Schema.String;
238
- readonly from: Schema.Struct<{
239
- readonly x: Schema.Finite;
240
- readonly y: Schema.Finite;
241
- }>;
242
- readonly kind: Schema.Literal<"ray">;
243
- readonly through: Schema.Struct<{
244
- readonly x: Schema.Finite;
245
- readonly y: Schema.Finite;
246
- }>;
247
- }>, Schema.Struct<{
248
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
249
- readonly id: Schema.String;
250
- readonly from: Schema.Struct<{
251
- readonly x: Schema.Finite;
252
- readonly y: Schema.Finite;
253
- }>;
254
- readonly kind: Schema.Literal<"segment">;
255
- readonly to: Schema.Struct<{
256
- readonly x: Schema.Finite;
257
- readonly y: Schema.Finite;
258
- }>;
259
- }>, Schema.Struct<{
260
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
261
- readonly id: Schema.String;
262
- readonly from: Schema.Struct<{
263
- readonly x: Schema.Finite;
264
- readonly y: Schema.Finite;
265
- }>;
266
- readonly kind: Schema.Literal<"vector">;
267
- readonly to: Schema.Struct<{
268
- readonly x: Schema.Finite;
269
- readonly y: Schema.Finite;
270
- }>;
271
- }>]>>;
272
- readonly parameters: Schema.optionalKey<Schema.$Array<Schema.Struct<{
273
- readonly label: Schema.optionalKey<Schema.String>;
274
- readonly max: Schema.Finite;
275
- readonly min: Schema.Finite;
276
- readonly name: Schema.String;
277
- readonly step: Schema.optionalKey<Schema.Finite>;
278
- readonly value: Schema.Finite;
279
- }>>>;
280
- readonly readouts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
281
- readonly formula: Schema.String;
282
- readonly key: Schema.String;
283
- }>>>;
284
- readonly space: Schema.Literal<"plane">;
285
- readonly view: Schema.Struct<{
286
- readonly kind: Schema.Literal<"fit">;
287
- readonly padding: Schema.optionalKey<Schema.Finite>;
288
- }>;
289
- }>, Schema.Struct<{
290
- readonly frame: Schema.Struct<{
291
- readonly kind: Schema.Literal<"cartesian">;
292
- readonly x: Schema.Struct<{
293
- readonly max: Schema.Finite;
294
- readonly min: Schema.Finite;
295
- }>;
296
- readonly y: Schema.Struct<{
297
- readonly max: Schema.Finite;
298
- readonly min: Schema.Finite;
299
- }>;
300
- readonly z: Schema.Struct<{
301
- readonly max: Schema.Finite;
302
- readonly min: Schema.Finite;
303
- }>;
304
- }>;
305
- readonly labels: Schema.optionalKey<Schema.$Array<Schema.Struct<{
306
- readonly at: Schema.Struct<{
307
- readonly x: Schema.Finite;
308
- readonly y: Schema.Finite;
309
- readonly z: Schema.Finite;
310
- }>;
311
- readonly key: Schema.String;
312
- readonly objectId: Schema.String;
313
- readonly placement: Schema.optionalKey<Schema.Literals<readonly ["above", "above-left", "above-right", "below", "below-left", "below-right", "center", "left", "right"]>>;
314
- }>>>;
315
- readonly objects: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
316
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
317
- readonly id: Schema.String;
318
- readonly domain: Schema.optionalKey<Schema.Struct<{
319
- readonly x: Schema.Struct<{
320
- readonly max: Schema.Finite;
321
- readonly min: Schema.Finite;
322
- }>;
323
- readonly y: Schema.Struct<{
324
- readonly max: Schema.Finite;
325
- readonly min: Schema.Finite;
326
- }>;
327
- }>>;
328
- readonly formula: Schema.String;
329
- readonly kind: Schema.Literal<"function">;
330
- }>, Schema.Struct<{
331
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
332
- readonly id: Schema.String;
333
- readonly kind: Schema.Literal<"parametric">;
334
- readonly parameter: Schema.Struct<{
335
- readonly max: Schema.Finite;
336
- readonly min: Schema.Finite;
337
- }>;
338
- readonly x: Schema.String;
339
- readonly y: Schema.String;
340
- readonly z: Schema.String;
341
- }>, Schema.Struct<{
342
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
343
- readonly id: Schema.String;
344
- readonly base: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
345
- readonly x: Schema.Finite;
346
- readonly y: Schema.Finite;
347
- readonly z: Schema.Finite;
348
- }>, Schema.Struct<{
349
- readonly x: Schema.Finite;
350
- readonly y: Schema.Finite;
351
- readonly z: Schema.Finite;
352
- }>, Schema.Struct<{
353
- readonly x: Schema.Finite;
354
- readonly y: Schema.Finite;
355
- readonly z: Schema.Finite;
356
- }>]>, readonly [Schema.Struct<{
357
- readonly x: Schema.Finite;
358
- readonly y: Schema.Finite;
359
- readonly z: Schema.Finite;
360
- }>]>;
361
- readonly kind: Schema.Literal<"prism">;
362
- readonly offset: Schema.Struct<{
363
- readonly x: Schema.Finite;
364
- readonly y: Schema.Finite;
365
- readonly z: Schema.Finite;
366
- }>;
367
- }>, Schema.Struct<{
368
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
369
- readonly id: Schema.String;
370
- readonly apex: Schema.Struct<{
371
- readonly x: Schema.Finite;
372
- readonly y: Schema.Finite;
373
- readonly z: Schema.Finite;
374
- }>;
375
- readonly base: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
376
- readonly x: Schema.Finite;
377
- readonly y: Schema.Finite;
378
- readonly z: Schema.Finite;
379
- }>, Schema.Struct<{
380
- readonly x: Schema.Finite;
381
- readonly y: Schema.Finite;
382
- readonly z: Schema.Finite;
383
- }>, Schema.Struct<{
384
- readonly x: Schema.Finite;
385
- readonly y: Schema.Finite;
386
- readonly z: Schema.Finite;
387
- }>]>, readonly [Schema.Struct<{
388
- readonly x: Schema.Finite;
389
- readonly y: Schema.Finite;
390
- readonly z: Schema.Finite;
391
- }>]>;
392
- readonly kind: Schema.Literal<"pyramid">;
393
- }>, Schema.Struct<{
394
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
395
- readonly id: Schema.String;
396
- readonly axis: Schema.Literals<readonly ["x", "y", "z"]>;
397
- readonly domain: Schema.Struct<{
398
- readonly max: Schema.Finite;
399
- readonly min: Schema.Finite;
400
- }>;
401
- readonly formula: Schema.String;
402
- readonly kind: Schema.Literal<"revolution">;
403
- }>, Schema.Struct<{
404
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
405
- readonly id: Schema.String;
406
- readonly kind: Schema.Literal<"surface">;
407
- readonly u: Schema.Struct<{
408
- readonly max: Schema.Finite;
409
- readonly min: Schema.Finite;
410
- }>;
411
- readonly v: Schema.Struct<{
412
- readonly max: Schema.Finite;
413
- readonly min: Schema.Finite;
414
- }>;
415
- readonly x: Schema.String;
416
- readonly y: Schema.String;
417
- readonly z: Schema.String;
418
- }>, Schema.Struct<{
419
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
420
- readonly id: Schema.String;
421
- readonly center: Schema.Struct<{
422
- readonly x: Schema.Finite;
423
- readonly y: Schema.Finite;
424
- readonly z: Schema.Finite;
425
- }>;
426
- readonly kind: Schema.Literal<"cuboid">;
427
- readonly size: Schema.Struct<{
428
- readonly height: Schema.Finite;
429
- readonly length: Schema.Finite;
430
- readonly width: Schema.Finite;
431
- }>;
432
- }>, Schema.Struct<{
433
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
434
- readonly id: Schema.String;
435
- readonly kind: Schema.Literal<"line">;
436
- readonly through: Schema.Tuple<readonly [Schema.Struct<{
437
- readonly x: Schema.Finite;
438
- readonly y: Schema.Finite;
439
- readonly z: Schema.Finite;
440
- }>, Schema.Struct<{
441
- readonly x: Schema.Finite;
442
- readonly y: Schema.Finite;
443
- readonly z: Schema.Finite;
444
- }>]>;
445
- }>, Schema.Struct<{
446
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
447
- readonly id: Schema.String;
448
- readonly at: Schema.Struct<{
449
- readonly x: Schema.Finite;
450
- readonly y: Schema.Finite;
451
- readonly z: Schema.Finite;
452
- }>;
453
- readonly kind: Schema.Literal<"point">;
454
- }>, Schema.Struct<{
455
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
456
- readonly id: Schema.String;
457
- readonly kind: Schema.Literal<"polygon">;
458
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
459
- readonly x: Schema.Finite;
460
- readonly y: Schema.Finite;
461
- readonly z: Schema.Finite;
462
- }>, Schema.Struct<{
463
- readonly x: Schema.Finite;
464
- readonly y: Schema.Finite;
465
- readonly z: Schema.Finite;
466
- }>, Schema.Struct<{
467
- readonly x: Schema.Finite;
468
- readonly y: Schema.Finite;
469
- readonly z: Schema.Finite;
470
- }>]>, readonly [Schema.Struct<{
471
- readonly x: Schema.Finite;
472
- readonly y: Schema.Finite;
473
- readonly z: Schema.Finite;
474
- }>]>;
475
- }>, Schema.Struct<{
476
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
477
- readonly id: Schema.String;
478
- readonly kind: Schema.Literal<"polyline">;
479
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
480
- readonly x: Schema.Finite;
481
- readonly y: Schema.Finite;
482
- readonly z: Schema.Finite;
483
- }>, Schema.Struct<{
484
- readonly x: Schema.Finite;
485
- readonly y: Schema.Finite;
486
- readonly z: Schema.Finite;
487
- }>]>, readonly [Schema.Struct<{
488
- readonly x: Schema.Finite;
489
- readonly y: Schema.Finite;
490
- readonly z: Schema.Finite;
491
- }>]>;
492
- }>, Schema.Struct<{
493
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
494
- readonly id: Schema.String;
495
- readonly from: Schema.Struct<{
496
- readonly x: Schema.Finite;
497
- readonly y: Schema.Finite;
498
- readonly z: Schema.Finite;
499
- }>;
500
- readonly kind: Schema.Literal<"ray">;
501
- readonly through: Schema.Struct<{
502
- readonly x: Schema.Finite;
503
- readonly y: Schema.Finite;
504
- readonly z: Schema.Finite;
505
- }>;
506
- }>, Schema.Struct<{
507
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
508
- readonly id: Schema.String;
509
- readonly from: Schema.Struct<{
510
- readonly x: Schema.Finite;
511
- readonly y: Schema.Finite;
512
- readonly z: Schema.Finite;
513
- }>;
514
- readonly kind: Schema.Literal<"segment">;
515
- readonly to: Schema.Struct<{
516
- readonly x: Schema.Finite;
517
- readonly y: Schema.Finite;
518
- readonly z: Schema.Finite;
519
- }>;
520
- }>, Schema.Struct<{
521
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
522
- readonly id: Schema.String;
523
- readonly from: Schema.Struct<{
524
- readonly x: Schema.Finite;
525
- readonly y: Schema.Finite;
526
- readonly z: Schema.Finite;
527
- }>;
528
- readonly kind: Schema.Literal<"vector">;
529
- readonly to: Schema.Struct<{
530
- readonly x: Schema.Finite;
531
- readonly y: Schema.Finite;
532
- readonly z: Schema.Finite;
533
- }>;
534
- }>]>>;
535
- readonly parameters: Schema.optionalKey<Schema.$Array<Schema.Struct<{
536
- readonly label: Schema.optionalKey<Schema.String>;
537
- readonly max: Schema.Finite;
538
- readonly min: Schema.Finite;
539
- readonly name: Schema.String;
540
- readonly step: Schema.optionalKey<Schema.Finite>;
541
- readonly value: Schema.Finite;
542
- }>>>;
543
- readonly space: Schema.Literal<"space">;
544
- readonly view: Schema.Union<readonly [Schema.Struct<{
545
- readonly kind: Schema.Literal<"camera">;
546
- readonly position: Schema.Struct<{
547
- readonly x: Schema.Finite;
548
- readonly y: Schema.Finite;
549
- readonly z: Schema.Finite;
550
- }>;
551
- readonly target: Schema.Struct<{
552
- readonly x: Schema.Finite;
553
- readonly y: Schema.Finite;
554
- readonly z: Schema.Finite;
555
- }>;
556
- }>, Schema.Struct<{
557
- readonly kind: Schema.Literal<"fit">;
558
- readonly padding: Schema.optionalKey<Schema.Finite>;
559
- }>, Schema.Struct<{
560
- readonly kind: Schema.Literal<"isometric">;
561
- readonly target: Schema.optionalKey<Schema.Struct<{
562
- readonly x: Schema.Finite;
563
- readonly y: Schema.Finite;
564
- readonly z: Schema.Finite;
565
- }>>;
566
- }>]>;
567
- }>]>;
568
- }>;
569
- /** Props of `NumberLine`: segments on a line, with an optional visible range. */
570
- export declare const NumberLinePropsSchema: Schema.Struct<{
571
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
572
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
573
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
574
- }>, Schema.Struct<{
575
- readonly attrs: Schema.Struct<{
576
- readonly href: Schema.String;
577
- }>;
578
- readonly type: Schema.Literal<"link">;
579
- }>]>>>;
580
- readonly text: Schema.String;
581
- readonly type: Schema.Literal<"text">;
582
- }>, Schema.Struct<{
583
- readonly attrs: Schema.Struct<{
584
- readonly latex: Schema.Trimmed;
585
- }>;
586
- readonly type: Schema.Literal<"mathInline">;
587
- }>]>>;
588
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
589
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
590
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
591
- }>, Schema.Struct<{
592
- readonly attrs: Schema.Struct<{
593
- readonly href: Schema.String;
594
- }>;
595
- readonly type: Schema.Literal<"link">;
596
- }>]>>>;
597
- readonly text: Schema.String;
598
- readonly type: Schema.Literal<"text">;
599
- }>, Schema.Struct<{
600
- readonly attrs: Schema.Struct<{
601
- readonly latex: Schema.Trimmed;
602
- }>;
603
- readonly type: Schema.Literal<"mathInline">;
604
- }>]>>;
605
- readonly max: Schema.optionalKey<Schema.Finite>;
606
- readonly min: Schema.optionalKey<Schema.Finite>;
607
- readonly segments: Schema.NonEmptyArray<Schema.Struct<{
608
- readonly backgroundColor: Schema.optionalKey<Schema.Literal<"transparent">>;
609
- readonly end: Schema.Union<readonly [Schema.Finite, Schema.Literal<"infinity">]>;
610
- readonly endInclusive: Schema.optionalKey<Schema.Boolean>;
611
- readonly endLabel: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
612
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
613
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
614
- }>, Schema.Struct<{
615
- readonly attrs: Schema.Struct<{
616
- readonly href: Schema.String;
617
- }>;
618
- readonly type: Schema.Literal<"link">;
619
- }>]>>>;
620
- readonly text: Schema.String;
621
- readonly type: Schema.Literal<"text">;
622
- }>, Schema.Struct<{
623
- readonly attrs: Schema.Struct<{
624
- readonly latex: Schema.Trimmed;
625
- }>;
626
- readonly type: Schema.Literal<"mathInline">;
627
- }>]>>>;
628
- readonly label: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
629
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
630
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
631
- }>, Schema.Struct<{
632
- readonly attrs: Schema.Struct<{
633
- readonly href: Schema.String;
634
- }>;
635
- readonly type: Schema.Literal<"link">;
636
- }>]>>>;
637
- readonly text: Schema.String;
638
- readonly type: Schema.Literal<"text">;
639
- }>, Schema.Struct<{
640
- readonly attrs: Schema.Struct<{
641
- readonly latex: Schema.Trimmed;
642
- }>;
643
- readonly type: Schema.Literal<"mathInline">;
644
- }>]>>>;
645
- readonly shaded: Schema.optionalKey<Schema.Boolean>;
646
- readonly showPoints: Schema.optionalKey<Schema.Boolean>;
647
- readonly start: Schema.Union<readonly [Schema.Finite, Schema.Literal<"-infinity">]>;
648
- readonly startInclusive: Schema.optionalKey<Schema.Boolean>;
649
- readonly startLabel: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
650
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
651
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
652
- }>, Schema.Struct<{
653
- readonly attrs: Schema.Struct<{
654
- readonly href: Schema.String;
655
- }>;
656
- readonly type: Schema.Literal<"link">;
657
- }>]>>>;
658
- readonly text: Schema.String;
659
- readonly type: Schema.Literal<"text">;
660
- }>, Schema.Struct<{
661
- readonly attrs: Schema.Struct<{
662
- readonly latex: Schema.Trimmed;
663
- }>;
664
- readonly type: Schema.Literal<"mathInline">;
665
- }>]>>>;
666
- }>>;
667
- }>;
43
+ };
668
44
  /**
669
- * Props of `LineEquation`: lines in three dimensions, as the question bank uses
670
- * them. Lessons also draw circle shapes (`kind` set to `circle-arc`,
671
- * `circle-chord`, `circle-outline`, `circle-radius`, or `circle-segment`); no
672
- * item uses one, so they are not part of this contract.
45
+ * The schema of one member of the figure union: a catalog component and the
46
+ * props its schema takes. It is named through the catalog's named type, so a
47
+ * declaration refers to it instead of writing out the props schema of every
48
+ * catalog component.
673
49
  */
674
- export declare const LineEquationPropsSchema: Schema.Struct<{
675
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
676
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
677
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
678
- }>, Schema.Struct<{
679
- readonly attrs: Schema.Struct<{
680
- readonly href: Schema.String;
681
- }>;
682
- readonly type: Schema.Literal<"link">;
683
- }>]>>>;
684
- readonly text: Schema.String;
685
- readonly type: Schema.Literal<"text">;
686
- }>, Schema.Struct<{
687
- readonly attrs: Schema.Struct<{
688
- readonly latex: Schema.Trimmed;
689
- }>;
690
- readonly type: Schema.Literal<"mathInline">;
691
- }>]>>;
692
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
693
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
694
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
695
- }>, Schema.Struct<{
696
- readonly attrs: Schema.Struct<{
697
- readonly href: Schema.String;
698
- }>;
699
- readonly type: Schema.Literal<"link">;
700
- }>]>>>;
701
- readonly text: Schema.String;
702
- readonly type: Schema.Literal<"text">;
703
- }>, Schema.Struct<{
704
- readonly attrs: Schema.Struct<{
705
- readonly latex: Schema.Trimmed;
706
- }>;
707
- readonly type: Schema.Literal<"mathInline">;
708
- }>]>>;
709
- readonly cameraPosition: Schema.optionalKey<Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>>;
710
- readonly cameraTarget: Schema.optionalKey<Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>>;
711
- readonly data: Schema.NonEmptyArray<Schema.Struct<{
712
- readonly color: Schema.Trimmed;
713
- readonly cone: Schema.optionalKey<Schema.Struct<{
714
- readonly position: Schema.Literals<readonly ["start", "end", "both"]>;
715
- readonly size: Schema.optionalKey<Schema.Finite>;
716
- }>>;
717
- readonly endpoints: Schema.optionalKey<Schema.Struct<{
718
- readonly end: Schema.optionalKey<Schema.Literals<readonly ["open", "closed"]>>;
719
- readonly start: Schema.optionalKey<Schema.Literals<readonly ["open", "closed"]>>;
720
- }>>;
721
- readonly labels: Schema.optionalKey<Schema.NonEmptyArray<Schema.Struct<{
722
- readonly anchorX: Schema.optionalKey<Schema.Literals<readonly ["center", "left", "right"]>>;
723
- readonly at: Schema.optionalKey<Schema.Int>;
724
- readonly fontSize: Schema.optionalKey<Schema.Finite>;
725
- readonly offset: Schema.optionalKey<Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>>;
726
- readonly text: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
727
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
728
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
729
- }>, Schema.Struct<{
730
- readonly attrs: Schema.Struct<{
731
- readonly href: Schema.String;
732
- }>;
733
- readonly type: Schema.Literal<"link">;
734
- }>]>>>;
735
- readonly text: Schema.String;
736
- readonly type: Schema.Literal<"text">;
737
- }>, Schema.Struct<{
738
- readonly attrs: Schema.Struct<{
739
- readonly latex: Schema.Trimmed;
740
- }>;
741
- readonly type: Schema.Literal<"mathInline">;
742
- }>]>>;
743
- }>>>;
744
- readonly lineWidth: Schema.optionalKey<Schema.Finite>;
745
- readonly pointIndices: Schema.optionalKey<Schema.NonEmptyArray<Schema.Int>>;
746
- readonly points: Schema.NonEmptyArray<Schema.Struct<{
747
- readonly x: Schema.Finite;
748
- readonly y: Schema.Finite;
749
- readonly z: Schema.Finite;
750
- }>>;
751
- readonly showPoints: Schema.optionalKey<Schema.Boolean>;
752
- readonly smooth: Schema.optionalKey<Schema.Boolean>;
753
- }>>;
754
- readonly showZAxis: Schema.optionalKey<Schema.Boolean>;
755
- }>;
756
- /** Props of `UnitCircle`: the angle in degrees and its exact values in LaTeX. */
757
- export declare const UnitCirclePropsSchema: Schema.Struct<{
758
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
759
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
760
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
761
- }>, Schema.Struct<{
762
- readonly attrs: Schema.Struct<{
763
- readonly href: Schema.String;
764
- }>;
765
- readonly type: Schema.Literal<"link">;
766
- }>]>>>;
767
- readonly text: Schema.String;
768
- readonly type: Schema.Literal<"text">;
769
- }>, Schema.Struct<{
770
- readonly attrs: Schema.Struct<{
771
- readonly latex: Schema.Trimmed;
772
- }>;
773
- readonly type: Schema.Literal<"mathInline">;
774
- }>]>>;
775
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
776
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
777
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
778
- }>, Schema.Struct<{
779
- readonly attrs: Schema.Struct<{
780
- readonly href: Schema.String;
781
- }>;
782
- readonly type: Schema.Literal<"link">;
783
- }>]>>>;
784
- readonly text: Schema.String;
785
- readonly type: Schema.Literal<"text">;
786
- }>, Schema.Struct<{
787
- readonly attrs: Schema.Struct<{
788
- readonly latex: Schema.Trimmed;
789
- }>;
790
- readonly type: Schema.Literal<"mathInline">;
791
- }>]>>;
792
- readonly angle: Schema.optionalKey<Schema.Finite>;
793
- readonly trigValues: Schema.optionalKey<Schema.Struct<{
794
- readonly cos: Schema.optionalKey<Schema.Trimmed>;
795
- readonly sin: Schema.optionalKey<Schema.Trimmed>;
796
- readonly tan: Schema.optionalKey<Schema.Trimmed>;
797
- }>>;
798
- }>;
799
- /** Props of `Mermaid`: a diagram source with a plain title and description. */
800
- export declare const MermaidPropsSchema: Schema.Struct<{
801
- readonly chart: Schema.String;
802
- readonly description: Schema.Trimmed;
803
- readonly title: Schema.Trimmed;
804
- }>;
50
+ export type FigureMember = Schema.Struct<typeof FigureFields & Record<"component", Schema.Literal<VisualName>> & Record<"props", AssessmentVisuals[VisualName]["props"]>>;
805
51
  /**
806
- * The attributes of a figure node: one of the six renderer components and the
807
- * typed props that component takes.
52
+ * The attributes of a figure node: any figure component of the Visual
53
+ * Catalog and the props its catalog schema takes, so a figure is checked,
54
+ * edited, and exported through the schema of its component. The catalog is
55
+ * the one list of visuals: a lesson and an assessment draw the same ones.
808
56
  */
809
- export declare const FigureAttrsSchema: Schema.Union<readonly [Schema.Struct<{
810
- readonly alt: Schema.Trimmed;
811
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
812
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
813
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
814
- }>, Schema.Struct<{
815
- readonly attrs: Schema.Struct<{
816
- readonly href: Schema.String;
817
- }>;
818
- readonly type: Schema.Literal<"link">;
819
- }>]>>>;
820
- readonly text: Schema.String;
821
- readonly type: Schema.Literal<"text">;
822
- }>, Schema.Struct<{
823
- readonly attrs: Schema.Struct<{
824
- readonly latex: Schema.Trimmed;
825
- }>;
826
- readonly type: Schema.Literal<"mathInline">;
827
- }>]>>>;
828
- readonly component: Schema.Literal<"Chart">;
829
- readonly props: Schema.Struct<{
830
- readonly bars: Schema.optionalKey<Schema.Literals<readonly ["apart", "touching"]>>;
831
- readonly categories: Schema.NonEmptyArray<Schema.Trimmed>;
832
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
833
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
834
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
835
- }>, Schema.Struct<{
836
- readonly attrs: Schema.Struct<{
837
- readonly href: Schema.String;
838
- }>;
839
- readonly type: Schema.Literal<"link">;
840
- }>]>>>;
841
- readonly text: Schema.String;
842
- readonly type: Schema.Literal<"text">;
843
- }>, Schema.Struct<{
844
- readonly attrs: Schema.Struct<{
845
- readonly latex: Schema.Trimmed;
846
- }>;
847
- readonly type: Schema.Literal<"mathInline">;
848
- }>]>>;
849
- readonly series: Schema.NonEmptyArray<Schema.Struct<{
850
- readonly label: Schema.Trimmed;
851
- readonly mark: Schema.Literals<readonly ["bar", "line"]>;
852
- readonly values: Schema.NonEmptyArray<Schema.NullOr<Schema.Finite>>;
853
- }>>;
854
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
855
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
856
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
857
- }>, Schema.Struct<{
858
- readonly attrs: Schema.Struct<{
859
- readonly href: Schema.String;
860
- }>;
861
- readonly type: Schema.Literal<"link">;
862
- }>]>>>;
863
- readonly text: Schema.String;
864
- readonly type: Schema.Literal<"text">;
865
- }>, Schema.Struct<{
866
- readonly attrs: Schema.Struct<{
867
- readonly latex: Schema.Trimmed;
868
- }>;
869
- readonly type: Schema.Literal<"mathInline">;
870
- }>]>>;
871
- readonly valueLabel: Schema.optionalKey<Schema.Trimmed>;
872
- readonly valueRange: Schema.optionalKey<Schema.Struct<{
873
- readonly max: Schema.Finite;
874
- readonly min: Schema.Finite;
875
- }>>;
876
- }>;
877
- }>, Schema.Struct<{
878
- readonly alt: Schema.Trimmed;
879
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
880
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
881
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
882
- }>, Schema.Struct<{
883
- readonly attrs: Schema.Struct<{
884
- readonly href: Schema.String;
885
- }>;
886
- readonly type: Schema.Literal<"link">;
887
- }>]>>>;
888
- readonly text: Schema.String;
889
- readonly type: Schema.Literal<"text">;
890
- }>, Schema.Struct<{
891
- readonly attrs: Schema.Struct<{
892
- readonly latex: Schema.Trimmed;
893
- }>;
894
- readonly type: Schema.Literal<"mathInline">;
895
- }>]>>>;
896
- readonly component: Schema.Literal<"MathVisual">;
897
- readonly props: Schema.Struct<{
898
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
899
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
900
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
901
- }>, Schema.Struct<{
902
- readonly attrs: Schema.Struct<{
903
- readonly href: Schema.String;
904
- }>;
905
- readonly type: Schema.Literal<"link">;
906
- }>]>>>;
907
- readonly text: Schema.String;
908
- readonly type: Schema.Literal<"text">;
909
- }>, Schema.Struct<{
910
- readonly attrs: Schema.Struct<{
911
- readonly latex: Schema.Trimmed;
912
- }>;
913
- readonly type: Schema.Literal<"mathInline">;
914
- }>]>>;
915
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
916
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
917
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
918
- }>, Schema.Struct<{
919
- readonly attrs: Schema.Struct<{
920
- readonly href: Schema.String;
921
- }>;
922
- readonly type: Schema.Literal<"link">;
923
- }>]>>>;
924
- readonly text: Schema.String;
925
- readonly type: Schema.Literal<"text">;
926
- }>, Schema.Struct<{
927
- readonly attrs: Schema.Struct<{
928
- readonly latex: Schema.Trimmed;
929
- }>;
930
- readonly type: Schema.Literal<"mathInline">;
931
- }>]>>;
932
- readonly labels: Schema.$Record<Schema.String, Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
933
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
934
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
935
- }>, Schema.Struct<{
936
- readonly attrs: Schema.Struct<{
937
- readonly href: Schema.String;
938
- }>;
939
- readonly type: Schema.Literal<"link">;
940
- }>]>>>;
941
- readonly text: Schema.String;
942
- readonly type: Schema.Literal<"text">;
943
- }>, Schema.Struct<{
944
- readonly attrs: Schema.Struct<{
945
- readonly latex: Schema.Trimmed;
946
- }>;
947
- readonly type: Schema.Literal<"mathInline">;
948
- }>]>>>;
949
- readonly scene: Schema.Union<readonly [Schema.Struct<{
950
- readonly frame: Schema.Struct<{
951
- readonly kind: Schema.Literal<"cartesian">;
952
- readonly x: Schema.Struct<{
953
- readonly max: Schema.Finite;
954
- readonly min: Schema.Finite;
955
- }>;
956
- readonly y: Schema.Struct<{
957
- readonly max: Schema.Finite;
958
- readonly min: Schema.Finite;
959
- }>;
960
- }>;
961
- readonly labels: Schema.optionalKey<Schema.$Array<Schema.Struct<{
962
- readonly at: Schema.Union<readonly [Schema.Struct<{
963
- readonly x: Schema.Finite;
964
- readonly y: Schema.Finite;
965
- }>, Schema.Struct<{
966
- readonly x: Schema.String;
967
- readonly y: Schema.String;
968
- }>]>;
969
- readonly key: Schema.String;
970
- readonly objectId: Schema.String;
971
- readonly placement: Schema.optionalKey<Schema.Literals<readonly ["above", "above-left", "above-right", "below", "below-left", "below-right", "center", "left", "right"]>>;
972
- }>>>;
973
- readonly objects: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
974
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
975
- readonly id: Schema.String;
976
- readonly domain: Schema.optionalKey<Schema.Struct<{
977
- readonly max: Schema.Finite;
978
- readonly min: Schema.Finite;
979
- }>>;
980
- readonly formula: Schema.String;
981
- readonly inputAxis: Schema.optionalKey<Schema.Literals<readonly ["x", "y"]>>;
982
- readonly kind: Schema.Literal<"function">;
983
- }>, Schema.Struct<{
984
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
985
- readonly id: Schema.String;
986
- readonly equation: Schema.String;
987
- readonly kind: Schema.Literal<"implicit">;
988
- }>, Schema.Struct<{
989
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
990
- readonly id: Schema.String;
991
- readonly kind: Schema.Literal<"loop">;
992
- readonly points: Schema.$Array<Schema.Struct<{
993
- readonly x: Schema.String;
994
- readonly y: Schema.String;
995
- }>>;
996
- }>, Schema.Struct<{
997
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
998
- readonly id: Schema.String;
999
- readonly kind: Schema.Literal<"marker">;
1000
- readonly x: Schema.String;
1001
- readonly y: Schema.String;
1002
- }>, Schema.Struct<{
1003
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1004
- readonly id: Schema.String;
1005
- readonly kind: Schema.Literal<"parametric">;
1006
- readonly parameter: Schema.Struct<{
1007
- readonly max: Schema.Finite;
1008
- readonly min: Schema.Finite;
1009
- }>;
1010
- readonly x: Schema.String;
1011
- readonly y: Schema.String;
1012
- }>, Schema.Struct<{
1013
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1014
- readonly id: Schema.String;
1015
- readonly kind: Schema.Literal<"path">;
1016
- readonly points: Schema.$Array<Schema.Struct<{
1017
- readonly x: Schema.String;
1018
- readonly y: Schema.String;
1019
- }>>;
1020
- }>, Schema.Struct<{
1021
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1022
- readonly id: Schema.String;
1023
- readonly angle: Schema.Struct<{
1024
- readonly max: Schema.Finite;
1025
- readonly min: Schema.Finite;
1026
- }>;
1027
- readonly kind: Schema.Literal<"polar">;
1028
- readonly radius: Schema.String;
1029
- }>, Schema.Struct<{
1030
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1031
- readonly id: Schema.String;
1032
- readonly inequalities: Schema.NonEmptyArray<Schema.String>;
1033
- readonly kind: Schema.Literal<"region">;
1034
- }>, Schema.Struct<{
1035
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1036
- readonly id: Schema.String;
1037
- readonly center: Schema.Struct<{
1038
- readonly x: Schema.Finite;
1039
- readonly y: Schema.Finite;
1040
- }>;
1041
- readonly kind: Schema.Literal<"arc">;
1042
- readonly radius: Schema.Finite;
1043
- readonly startDegrees: Schema.Finite;
1044
- readonly sweepDegrees: Schema.Finite;
1045
- }>, Schema.Struct<{
1046
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1047
- readonly id: Schema.String;
1048
- readonly center: Schema.Struct<{
1049
- readonly x: Schema.Finite;
1050
- readonly y: Schema.Finite;
1051
- }>;
1052
- readonly kind: Schema.Literal<"circle">;
1053
- readonly radius: Schema.Finite;
1054
- }>, Schema.Struct<{
1055
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1056
- readonly id: Schema.String;
1057
- readonly kind: Schema.Literal<"line">;
1058
- readonly through: Schema.Tuple<readonly [Schema.Struct<{
1059
- readonly x: Schema.Finite;
1060
- readonly y: Schema.Finite;
1061
- }>, Schema.Struct<{
1062
- readonly x: Schema.Finite;
1063
- readonly y: Schema.Finite;
1064
- }>]>;
1065
- }>, Schema.Struct<{
1066
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1067
- readonly id: Schema.String;
1068
- readonly at: Schema.Struct<{
1069
- readonly x: Schema.Finite;
1070
- readonly y: Schema.Finite;
1071
- }>;
1072
- readonly kind: Schema.Literal<"point">;
1073
- }>, Schema.Struct<{
1074
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1075
- readonly id: Schema.String;
1076
- readonly kind: Schema.Literal<"polygon">;
1077
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
1078
- readonly x: Schema.Finite;
1079
- readonly y: Schema.Finite;
1080
- }>, Schema.Struct<{
1081
- readonly x: Schema.Finite;
1082
- readonly y: Schema.Finite;
1083
- }>, Schema.Struct<{
1084
- readonly x: Schema.Finite;
1085
- readonly y: Schema.Finite;
1086
- }>]>, readonly [Schema.Struct<{
1087
- readonly x: Schema.Finite;
1088
- readonly y: Schema.Finite;
1089
- }>]>;
1090
- }>, Schema.Struct<{
1091
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1092
- readonly id: Schema.String;
1093
- readonly kind: Schema.Literal<"polyline">;
1094
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
1095
- readonly x: Schema.Finite;
1096
- readonly y: Schema.Finite;
1097
- }>, Schema.Struct<{
1098
- readonly x: Schema.Finite;
1099
- readonly y: Schema.Finite;
1100
- }>]>, readonly [Schema.Struct<{
1101
- readonly x: Schema.Finite;
1102
- readonly y: Schema.Finite;
1103
- }>]>;
1104
- }>, Schema.Struct<{
1105
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1106
- readonly id: Schema.String;
1107
- readonly coefficients: Schema.Struct<{
1108
- readonly a: Schema.Finite;
1109
- readonly b: Schema.Finite;
1110
- readonly c: Schema.Finite;
1111
- }>;
1112
- readonly domain: Schema.Struct<{
1113
- readonly max: Schema.Finite;
1114
- readonly min: Schema.Finite;
1115
- }>;
1116
- readonly inputAxis: Schema.Literals<readonly ["x", "y"]>;
1117
- readonly kind: Schema.Literal<"quadratic">;
1118
- }>, Schema.Struct<{
1119
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1120
- readonly id: Schema.String;
1121
- readonly from: Schema.Struct<{
1122
- readonly x: Schema.Finite;
1123
- readonly y: Schema.Finite;
1124
- }>;
1125
- readonly kind: Schema.Literal<"ray">;
1126
- readonly through: Schema.Struct<{
1127
- readonly x: Schema.Finite;
1128
- readonly y: Schema.Finite;
1129
- }>;
1130
- }>, Schema.Struct<{
1131
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1132
- readonly id: Schema.String;
1133
- readonly from: Schema.Struct<{
1134
- readonly x: Schema.Finite;
1135
- readonly y: Schema.Finite;
1136
- }>;
1137
- readonly kind: Schema.Literal<"segment">;
1138
- readonly to: Schema.Struct<{
1139
- readonly x: Schema.Finite;
1140
- readonly y: Schema.Finite;
1141
- }>;
1142
- }>, Schema.Struct<{
1143
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1144
- readonly id: Schema.String;
1145
- readonly from: Schema.Struct<{
1146
- readonly x: Schema.Finite;
1147
- readonly y: Schema.Finite;
1148
- }>;
1149
- readonly kind: Schema.Literal<"vector">;
1150
- readonly to: Schema.Struct<{
1151
- readonly x: Schema.Finite;
1152
- readonly y: Schema.Finite;
1153
- }>;
1154
- }>]>>;
1155
- readonly parameters: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1156
- readonly label: Schema.optionalKey<Schema.String>;
1157
- readonly max: Schema.Finite;
1158
- readonly min: Schema.Finite;
1159
- readonly name: Schema.String;
1160
- readonly step: Schema.optionalKey<Schema.Finite>;
1161
- readonly value: Schema.Finite;
1162
- }>>>;
1163
- readonly readouts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1164
- readonly formula: Schema.String;
1165
- readonly key: Schema.String;
1166
- }>>>;
1167
- readonly space: Schema.Literal<"plane">;
1168
- readonly view: Schema.Struct<{
1169
- readonly kind: Schema.Literal<"fit">;
1170
- readonly padding: Schema.optionalKey<Schema.Finite>;
1171
- }>;
1172
- }>, Schema.Struct<{
1173
- readonly frame: Schema.Struct<{
1174
- readonly kind: Schema.Literal<"cartesian">;
1175
- readonly x: Schema.Struct<{
1176
- readonly max: Schema.Finite;
1177
- readonly min: Schema.Finite;
1178
- }>;
1179
- readonly y: Schema.Struct<{
1180
- readonly max: Schema.Finite;
1181
- readonly min: Schema.Finite;
1182
- }>;
1183
- readonly z: Schema.Struct<{
1184
- readonly max: Schema.Finite;
1185
- readonly min: Schema.Finite;
1186
- }>;
1187
- }>;
1188
- readonly labels: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1189
- readonly at: Schema.Struct<{
1190
- readonly x: Schema.Finite;
1191
- readonly y: Schema.Finite;
1192
- readonly z: Schema.Finite;
1193
- }>;
1194
- readonly key: Schema.String;
1195
- readonly objectId: Schema.String;
1196
- readonly placement: Schema.optionalKey<Schema.Literals<readonly ["above", "above-left", "above-right", "below", "below-left", "below-right", "center", "left", "right"]>>;
1197
- }>>>;
1198
- readonly objects: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1199
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1200
- readonly id: Schema.String;
1201
- readonly domain: Schema.optionalKey<Schema.Struct<{
1202
- readonly x: Schema.Struct<{
1203
- readonly max: Schema.Finite;
1204
- readonly min: Schema.Finite;
1205
- }>;
1206
- readonly y: Schema.Struct<{
1207
- readonly max: Schema.Finite;
1208
- readonly min: Schema.Finite;
1209
- }>;
1210
- }>>;
1211
- readonly formula: Schema.String;
1212
- readonly kind: Schema.Literal<"function">;
1213
- }>, Schema.Struct<{
1214
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1215
- readonly id: Schema.String;
1216
- readonly kind: Schema.Literal<"parametric">;
1217
- readonly parameter: Schema.Struct<{
1218
- readonly max: Schema.Finite;
1219
- readonly min: Schema.Finite;
1220
- }>;
1221
- readonly x: Schema.String;
1222
- readonly y: Schema.String;
1223
- readonly z: Schema.String;
1224
- }>, Schema.Struct<{
1225
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1226
- readonly id: Schema.String;
1227
- readonly base: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
1228
- readonly x: Schema.Finite;
1229
- readonly y: Schema.Finite;
1230
- readonly z: Schema.Finite;
1231
- }>, Schema.Struct<{
1232
- readonly x: Schema.Finite;
1233
- readonly y: Schema.Finite;
1234
- readonly z: Schema.Finite;
1235
- }>, Schema.Struct<{
1236
- readonly x: Schema.Finite;
1237
- readonly y: Schema.Finite;
1238
- readonly z: Schema.Finite;
1239
- }>]>, readonly [Schema.Struct<{
1240
- readonly x: Schema.Finite;
1241
- readonly y: Schema.Finite;
1242
- readonly z: Schema.Finite;
1243
- }>]>;
1244
- readonly kind: Schema.Literal<"prism">;
1245
- readonly offset: Schema.Struct<{
1246
- readonly x: Schema.Finite;
1247
- readonly y: Schema.Finite;
1248
- readonly z: Schema.Finite;
1249
- }>;
1250
- }>, Schema.Struct<{
1251
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1252
- readonly id: Schema.String;
1253
- readonly apex: Schema.Struct<{
1254
- readonly x: Schema.Finite;
1255
- readonly y: Schema.Finite;
1256
- readonly z: Schema.Finite;
1257
- }>;
1258
- readonly base: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
1259
- readonly x: Schema.Finite;
1260
- readonly y: Schema.Finite;
1261
- readonly z: Schema.Finite;
1262
- }>, Schema.Struct<{
1263
- readonly x: Schema.Finite;
1264
- readonly y: Schema.Finite;
1265
- readonly z: Schema.Finite;
1266
- }>, Schema.Struct<{
1267
- readonly x: Schema.Finite;
1268
- readonly y: Schema.Finite;
1269
- readonly z: Schema.Finite;
1270
- }>]>, readonly [Schema.Struct<{
1271
- readonly x: Schema.Finite;
1272
- readonly y: Schema.Finite;
1273
- readonly z: Schema.Finite;
1274
- }>]>;
1275
- readonly kind: Schema.Literal<"pyramid">;
1276
- }>, Schema.Struct<{
1277
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1278
- readonly id: Schema.String;
1279
- readonly axis: Schema.Literals<readonly ["x", "y", "z"]>;
1280
- readonly domain: Schema.Struct<{
1281
- readonly max: Schema.Finite;
1282
- readonly min: Schema.Finite;
1283
- }>;
1284
- readonly formula: Schema.String;
1285
- readonly kind: Schema.Literal<"revolution">;
1286
- }>, Schema.Struct<{
1287
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1288
- readonly id: Schema.String;
1289
- readonly kind: Schema.Literal<"surface">;
1290
- readonly u: Schema.Struct<{
1291
- readonly max: Schema.Finite;
1292
- readonly min: Schema.Finite;
1293
- }>;
1294
- readonly v: Schema.Struct<{
1295
- readonly max: Schema.Finite;
1296
- readonly min: Schema.Finite;
1297
- }>;
1298
- readonly x: Schema.String;
1299
- readonly y: Schema.String;
1300
- readonly z: Schema.String;
1301
- }>, Schema.Struct<{
1302
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1303
- readonly id: Schema.String;
1304
- readonly center: Schema.Struct<{
1305
- readonly x: Schema.Finite;
1306
- readonly y: Schema.Finite;
1307
- readonly z: Schema.Finite;
1308
- }>;
1309
- readonly kind: Schema.Literal<"cuboid">;
1310
- readonly size: Schema.Struct<{
1311
- readonly height: Schema.Finite;
1312
- readonly length: Schema.Finite;
1313
- readonly width: Schema.Finite;
1314
- }>;
1315
- }>, Schema.Struct<{
1316
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1317
- readonly id: Schema.String;
1318
- readonly kind: Schema.Literal<"line">;
1319
- readonly through: Schema.Tuple<readonly [Schema.Struct<{
1320
- readonly x: Schema.Finite;
1321
- readonly y: Schema.Finite;
1322
- readonly z: Schema.Finite;
1323
- }>, Schema.Struct<{
1324
- readonly x: Schema.Finite;
1325
- readonly y: Schema.Finite;
1326
- readonly z: Schema.Finite;
1327
- }>]>;
1328
- }>, Schema.Struct<{
1329
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1330
- readonly id: Schema.String;
1331
- readonly at: Schema.Struct<{
1332
- readonly x: Schema.Finite;
1333
- readonly y: Schema.Finite;
1334
- readonly z: Schema.Finite;
1335
- }>;
1336
- readonly kind: Schema.Literal<"point">;
1337
- }>, Schema.Struct<{
1338
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1339
- readonly id: Schema.String;
1340
- readonly kind: Schema.Literal<"polygon">;
1341
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
1342
- readonly x: Schema.Finite;
1343
- readonly y: Schema.Finite;
1344
- readonly z: Schema.Finite;
1345
- }>, Schema.Struct<{
1346
- readonly x: Schema.Finite;
1347
- readonly y: Schema.Finite;
1348
- readonly z: Schema.Finite;
1349
- }>, Schema.Struct<{
1350
- readonly x: Schema.Finite;
1351
- readonly y: Schema.Finite;
1352
- readonly z: Schema.Finite;
1353
- }>]>, readonly [Schema.Struct<{
1354
- readonly x: Schema.Finite;
1355
- readonly y: Schema.Finite;
1356
- readonly z: Schema.Finite;
1357
- }>]>;
1358
- }>, Schema.Struct<{
1359
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1360
- readonly id: Schema.String;
1361
- readonly kind: Schema.Literal<"polyline">;
1362
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
1363
- readonly x: Schema.Finite;
1364
- readonly y: Schema.Finite;
1365
- readonly z: Schema.Finite;
1366
- }>, Schema.Struct<{
1367
- readonly x: Schema.Finite;
1368
- readonly y: Schema.Finite;
1369
- readonly z: Schema.Finite;
1370
- }>]>, readonly [Schema.Struct<{
1371
- readonly x: Schema.Finite;
1372
- readonly y: Schema.Finite;
1373
- readonly z: Schema.Finite;
1374
- }>]>;
1375
- }>, Schema.Struct<{
1376
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1377
- readonly id: Schema.String;
1378
- readonly from: Schema.Struct<{
1379
- readonly x: Schema.Finite;
1380
- readonly y: Schema.Finite;
1381
- readonly z: Schema.Finite;
1382
- }>;
1383
- readonly kind: Schema.Literal<"ray">;
1384
- readonly through: Schema.Struct<{
1385
- readonly x: Schema.Finite;
1386
- readonly y: Schema.Finite;
1387
- readonly z: Schema.Finite;
1388
- }>;
1389
- }>, Schema.Struct<{
1390
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1391
- readonly id: Schema.String;
1392
- readonly from: Schema.Struct<{
1393
- readonly x: Schema.Finite;
1394
- readonly y: Schema.Finite;
1395
- readonly z: Schema.Finite;
1396
- }>;
1397
- readonly kind: Schema.Literal<"segment">;
1398
- readonly to: Schema.Struct<{
1399
- readonly x: Schema.Finite;
1400
- readonly y: Schema.Finite;
1401
- readonly z: Schema.Finite;
1402
- }>;
1403
- }>, Schema.Struct<{
1404
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1405
- readonly id: Schema.String;
1406
- readonly from: Schema.Struct<{
1407
- readonly x: Schema.Finite;
1408
- readonly y: Schema.Finite;
1409
- readonly z: Schema.Finite;
1410
- }>;
1411
- readonly kind: Schema.Literal<"vector">;
1412
- readonly to: Schema.Struct<{
1413
- readonly x: Schema.Finite;
1414
- readonly y: Schema.Finite;
1415
- readonly z: Schema.Finite;
1416
- }>;
1417
- }>]>>;
1418
- readonly parameters: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1419
- readonly label: Schema.optionalKey<Schema.String>;
1420
- readonly max: Schema.Finite;
1421
- readonly min: Schema.Finite;
1422
- readonly name: Schema.String;
1423
- readonly step: Schema.optionalKey<Schema.Finite>;
1424
- readonly value: Schema.Finite;
1425
- }>>>;
1426
- readonly space: Schema.Literal<"space">;
1427
- readonly view: Schema.Union<readonly [Schema.Struct<{
1428
- readonly kind: Schema.Literal<"camera">;
1429
- readonly position: Schema.Struct<{
1430
- readonly x: Schema.Finite;
1431
- readonly y: Schema.Finite;
1432
- readonly z: Schema.Finite;
1433
- }>;
1434
- readonly target: Schema.Struct<{
1435
- readonly x: Schema.Finite;
1436
- readonly y: Schema.Finite;
1437
- readonly z: Schema.Finite;
1438
- }>;
1439
- }>, Schema.Struct<{
1440
- readonly kind: Schema.Literal<"fit">;
1441
- readonly padding: Schema.optionalKey<Schema.Finite>;
1442
- }>, Schema.Struct<{
1443
- readonly kind: Schema.Literal<"isometric">;
1444
- readonly target: Schema.optionalKey<Schema.Struct<{
1445
- readonly x: Schema.Finite;
1446
- readonly y: Schema.Finite;
1447
- readonly z: Schema.Finite;
1448
- }>>;
1449
- }>]>;
1450
- }>]>;
1451
- }>;
1452
- }>, Schema.Struct<{
1453
- readonly alt: Schema.Trimmed;
1454
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1455
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1456
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1457
- }>, Schema.Struct<{
1458
- readonly attrs: Schema.Struct<{
1459
- readonly href: Schema.String;
1460
- }>;
1461
- readonly type: Schema.Literal<"link">;
1462
- }>]>>>;
1463
- readonly text: Schema.String;
1464
- readonly type: Schema.Literal<"text">;
1465
- }>, Schema.Struct<{
1466
- readonly attrs: Schema.Struct<{
1467
- readonly latex: Schema.Trimmed;
1468
- }>;
1469
- readonly type: Schema.Literal<"mathInline">;
1470
- }>]>>>;
1471
- readonly component: Schema.Literal<"NumberLine">;
1472
- readonly props: Schema.Struct<{
1473
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1474
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1475
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1476
- }>, Schema.Struct<{
1477
- readonly attrs: Schema.Struct<{
1478
- readonly href: Schema.String;
1479
- }>;
1480
- readonly type: Schema.Literal<"link">;
1481
- }>]>>>;
1482
- readonly text: Schema.String;
1483
- readonly type: Schema.Literal<"text">;
1484
- }>, Schema.Struct<{
1485
- readonly attrs: Schema.Struct<{
1486
- readonly latex: Schema.Trimmed;
1487
- }>;
1488
- readonly type: Schema.Literal<"mathInline">;
1489
- }>]>>;
1490
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1491
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1492
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1493
- }>, Schema.Struct<{
1494
- readonly attrs: Schema.Struct<{
1495
- readonly href: Schema.String;
1496
- }>;
1497
- readonly type: Schema.Literal<"link">;
1498
- }>]>>>;
1499
- readonly text: Schema.String;
1500
- readonly type: Schema.Literal<"text">;
1501
- }>, Schema.Struct<{
1502
- readonly attrs: Schema.Struct<{
1503
- readonly latex: Schema.Trimmed;
1504
- }>;
1505
- readonly type: Schema.Literal<"mathInline">;
1506
- }>]>>;
1507
- readonly max: Schema.optionalKey<Schema.Finite>;
1508
- readonly min: Schema.optionalKey<Schema.Finite>;
1509
- readonly segments: Schema.NonEmptyArray<Schema.Struct<{
1510
- readonly backgroundColor: Schema.optionalKey<Schema.Literal<"transparent">>;
1511
- readonly end: Schema.Union<readonly [Schema.Finite, Schema.Literal<"infinity">]>;
1512
- readonly endInclusive: Schema.optionalKey<Schema.Boolean>;
1513
- readonly endLabel: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1514
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1515
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1516
- }>, Schema.Struct<{
1517
- readonly attrs: Schema.Struct<{
1518
- readonly href: Schema.String;
1519
- }>;
1520
- readonly type: Schema.Literal<"link">;
1521
- }>]>>>;
1522
- readonly text: Schema.String;
1523
- readonly type: Schema.Literal<"text">;
1524
- }>, Schema.Struct<{
1525
- readonly attrs: Schema.Struct<{
1526
- readonly latex: Schema.Trimmed;
1527
- }>;
1528
- readonly type: Schema.Literal<"mathInline">;
1529
- }>]>>>;
1530
- readonly label: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1531
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1532
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1533
- }>, Schema.Struct<{
1534
- readonly attrs: Schema.Struct<{
1535
- readonly href: Schema.String;
1536
- }>;
1537
- readonly type: Schema.Literal<"link">;
1538
- }>]>>>;
1539
- readonly text: Schema.String;
1540
- readonly type: Schema.Literal<"text">;
1541
- }>, Schema.Struct<{
1542
- readonly attrs: Schema.Struct<{
1543
- readonly latex: Schema.Trimmed;
1544
- }>;
1545
- readonly type: Schema.Literal<"mathInline">;
1546
- }>]>>>;
1547
- readonly shaded: Schema.optionalKey<Schema.Boolean>;
1548
- readonly showPoints: Schema.optionalKey<Schema.Boolean>;
1549
- readonly start: Schema.Union<readonly [Schema.Finite, Schema.Literal<"-infinity">]>;
1550
- readonly startInclusive: Schema.optionalKey<Schema.Boolean>;
1551
- readonly startLabel: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1552
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1553
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1554
- }>, Schema.Struct<{
1555
- readonly attrs: Schema.Struct<{
1556
- readonly href: Schema.String;
1557
- }>;
1558
- readonly type: Schema.Literal<"link">;
1559
- }>]>>>;
1560
- readonly text: Schema.String;
1561
- readonly type: Schema.Literal<"text">;
1562
- }>, Schema.Struct<{
1563
- readonly attrs: Schema.Struct<{
1564
- readonly latex: Schema.Trimmed;
1565
- }>;
1566
- readonly type: Schema.Literal<"mathInline">;
1567
- }>]>>>;
1568
- }>>;
1569
- }>;
1570
- }>, Schema.Struct<{
1571
- readonly alt: Schema.Trimmed;
1572
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1573
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1574
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1575
- }>, Schema.Struct<{
1576
- readonly attrs: Schema.Struct<{
1577
- readonly href: Schema.String;
1578
- }>;
1579
- readonly type: Schema.Literal<"link">;
1580
- }>]>>>;
1581
- readonly text: Schema.String;
1582
- readonly type: Schema.Literal<"text">;
1583
- }>, Schema.Struct<{
1584
- readonly attrs: Schema.Struct<{
1585
- readonly latex: Schema.Trimmed;
1586
- }>;
1587
- readonly type: Schema.Literal<"mathInline">;
1588
- }>]>>>;
1589
- readonly component: Schema.Literal<"LineEquation">;
1590
- readonly props: Schema.Struct<{
1591
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1592
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1593
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1594
- }>, Schema.Struct<{
1595
- readonly attrs: Schema.Struct<{
1596
- readonly href: Schema.String;
1597
- }>;
1598
- readonly type: Schema.Literal<"link">;
1599
- }>]>>>;
1600
- readonly text: Schema.String;
1601
- readonly type: Schema.Literal<"text">;
1602
- }>, Schema.Struct<{
1603
- readonly attrs: Schema.Struct<{
1604
- readonly latex: Schema.Trimmed;
1605
- }>;
1606
- readonly type: Schema.Literal<"mathInline">;
1607
- }>]>>;
1608
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1609
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1610
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1611
- }>, Schema.Struct<{
1612
- readonly attrs: Schema.Struct<{
1613
- readonly href: Schema.String;
1614
- }>;
1615
- readonly type: Schema.Literal<"link">;
1616
- }>]>>>;
1617
- readonly text: Schema.String;
1618
- readonly type: Schema.Literal<"text">;
1619
- }>, Schema.Struct<{
1620
- readonly attrs: Schema.Struct<{
1621
- readonly latex: Schema.Trimmed;
1622
- }>;
1623
- readonly type: Schema.Literal<"mathInline">;
1624
- }>]>>;
1625
- readonly cameraPosition: Schema.optionalKey<Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>>;
1626
- readonly cameraTarget: Schema.optionalKey<Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>>;
1627
- readonly data: Schema.NonEmptyArray<Schema.Struct<{
1628
- readonly color: Schema.Trimmed;
1629
- readonly cone: Schema.optionalKey<Schema.Struct<{
1630
- readonly position: Schema.Literals<readonly ["start", "end", "both"]>;
1631
- readonly size: Schema.optionalKey<Schema.Finite>;
1632
- }>>;
1633
- readonly endpoints: Schema.optionalKey<Schema.Struct<{
1634
- readonly end: Schema.optionalKey<Schema.Literals<readonly ["open", "closed"]>>;
1635
- readonly start: Schema.optionalKey<Schema.Literals<readonly ["open", "closed"]>>;
1636
- }>>;
1637
- readonly labels: Schema.optionalKey<Schema.NonEmptyArray<Schema.Struct<{
1638
- readonly anchorX: Schema.optionalKey<Schema.Literals<readonly ["center", "left", "right"]>>;
1639
- readonly at: Schema.optionalKey<Schema.Int>;
1640
- readonly fontSize: Schema.optionalKey<Schema.Finite>;
1641
- readonly offset: Schema.optionalKey<Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>>;
1642
- readonly text: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1643
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1644
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1645
- }>, Schema.Struct<{
1646
- readonly attrs: Schema.Struct<{
1647
- readonly href: Schema.String;
1648
- }>;
1649
- readonly type: Schema.Literal<"link">;
1650
- }>]>>>;
1651
- readonly text: Schema.String;
1652
- readonly type: Schema.Literal<"text">;
1653
- }>, Schema.Struct<{
1654
- readonly attrs: Schema.Struct<{
1655
- readonly latex: Schema.Trimmed;
1656
- }>;
1657
- readonly type: Schema.Literal<"mathInline">;
1658
- }>]>>;
1659
- }>>>;
1660
- readonly lineWidth: Schema.optionalKey<Schema.Finite>;
1661
- readonly pointIndices: Schema.optionalKey<Schema.NonEmptyArray<Schema.Int>>;
1662
- readonly points: Schema.NonEmptyArray<Schema.Struct<{
1663
- readonly x: Schema.Finite;
1664
- readonly y: Schema.Finite;
1665
- readonly z: Schema.Finite;
1666
- }>>;
1667
- readonly showPoints: Schema.optionalKey<Schema.Boolean>;
1668
- readonly smooth: Schema.optionalKey<Schema.Boolean>;
1669
- }>>;
1670
- readonly showZAxis: Schema.optionalKey<Schema.Boolean>;
1671
- }>;
1672
- }>, Schema.Struct<{
1673
- readonly alt: Schema.Trimmed;
1674
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1675
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1676
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1677
- }>, Schema.Struct<{
1678
- readonly attrs: Schema.Struct<{
1679
- readonly href: Schema.String;
1680
- }>;
1681
- readonly type: Schema.Literal<"link">;
1682
- }>]>>>;
1683
- readonly text: Schema.String;
1684
- readonly type: Schema.Literal<"text">;
1685
- }>, Schema.Struct<{
1686
- readonly attrs: Schema.Struct<{
1687
- readonly latex: Schema.Trimmed;
1688
- }>;
1689
- readonly type: Schema.Literal<"mathInline">;
1690
- }>]>>>;
1691
- readonly component: Schema.Literal<"Mermaid">;
1692
- readonly props: Schema.Struct<{
1693
- readonly chart: Schema.String;
1694
- readonly description: Schema.Trimmed;
1695
- readonly title: Schema.Trimmed;
1696
- }>;
1697
- }>, Schema.Struct<{
1698
- readonly alt: Schema.Trimmed;
1699
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1700
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1701
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1702
- }>, Schema.Struct<{
1703
- readonly attrs: Schema.Struct<{
1704
- readonly href: Schema.String;
1705
- }>;
1706
- readonly type: Schema.Literal<"link">;
1707
- }>]>>>;
1708
- readonly text: Schema.String;
1709
- readonly type: Schema.Literal<"text">;
1710
- }>, Schema.Struct<{
1711
- readonly attrs: Schema.Struct<{
1712
- readonly latex: Schema.Trimmed;
1713
- }>;
1714
- readonly type: Schema.Literal<"mathInline">;
1715
- }>]>>>;
1716
- readonly component: Schema.Literal<"UnitCircle">;
1717
- readonly props: Schema.Struct<{
1718
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1719
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1720
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1721
- }>, Schema.Struct<{
1722
- readonly attrs: Schema.Struct<{
1723
- readonly href: Schema.String;
1724
- }>;
1725
- readonly type: Schema.Literal<"link">;
1726
- }>]>>>;
1727
- readonly text: Schema.String;
1728
- readonly type: Schema.Literal<"text">;
1729
- }>, Schema.Struct<{
1730
- readonly attrs: Schema.Struct<{
1731
- readonly latex: Schema.Trimmed;
1732
- }>;
1733
- readonly type: Schema.Literal<"mathInline">;
1734
- }>]>>;
1735
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1736
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1737
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1738
- }>, Schema.Struct<{
1739
- readonly attrs: Schema.Struct<{
1740
- readonly href: Schema.String;
1741
- }>;
1742
- readonly type: Schema.Literal<"link">;
1743
- }>]>>>;
1744
- readonly text: Schema.String;
1745
- readonly type: Schema.Literal<"text">;
1746
- }>, Schema.Struct<{
1747
- readonly attrs: Schema.Struct<{
1748
- readonly latex: Schema.Trimmed;
1749
- }>;
1750
- readonly type: Schema.Literal<"mathInline">;
1751
- }>]>>;
1752
- readonly angle: Schema.optionalKey<Schema.Finite>;
1753
- readonly trigValues: Schema.optionalKey<Schema.Struct<{
1754
- readonly cos: Schema.optionalKey<Schema.Trimmed>;
1755
- readonly sin: Schema.optionalKey<Schema.Trimmed>;
1756
- readonly tan: Schema.optionalKey<Schema.Trimmed>;
1757
- }>>;
1758
- }>;
1759
- }>]>;
57
+ export declare const FigureAttrsSchema: Schema.Union<FigureMember[]>;
1760
58
  export type FigureAttrs = typeof FigureAttrsSchema.Type;
1761
- /** A figure block: an interactive visual with a required text alternative. */
59
+ /** A figure block: a catalog visual with a required text alternative. */
1762
60
  export declare const FigureNodeSchema: Schema.Struct<{
1763
- readonly attrs: Schema.Union<readonly [Schema.Struct<{
1764
- readonly alt: Schema.Trimmed;
1765
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1766
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1767
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1768
- }>, Schema.Struct<{
1769
- readonly attrs: Schema.Struct<{
1770
- readonly href: Schema.String;
1771
- }>;
1772
- readonly type: Schema.Literal<"link">;
1773
- }>]>>>;
1774
- readonly text: Schema.String;
1775
- readonly type: Schema.Literal<"text">;
1776
- }>, Schema.Struct<{
1777
- readonly attrs: Schema.Struct<{
1778
- readonly latex: Schema.Trimmed;
1779
- }>;
1780
- readonly type: Schema.Literal<"mathInline">;
1781
- }>]>>>;
1782
- readonly component: Schema.Literal<"Chart">;
1783
- readonly props: Schema.Struct<{
1784
- readonly bars: Schema.optionalKey<Schema.Literals<readonly ["apart", "touching"]>>;
1785
- readonly categories: Schema.NonEmptyArray<Schema.Trimmed>;
1786
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1787
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1788
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1789
- }>, Schema.Struct<{
1790
- readonly attrs: Schema.Struct<{
1791
- readonly href: Schema.String;
1792
- }>;
1793
- readonly type: Schema.Literal<"link">;
1794
- }>]>>>;
1795
- readonly text: Schema.String;
1796
- readonly type: Schema.Literal<"text">;
1797
- }>, Schema.Struct<{
1798
- readonly attrs: Schema.Struct<{
1799
- readonly latex: Schema.Trimmed;
1800
- }>;
1801
- readonly type: Schema.Literal<"mathInline">;
1802
- }>]>>;
1803
- readonly series: Schema.NonEmptyArray<Schema.Struct<{
1804
- readonly label: Schema.Trimmed;
1805
- readonly mark: Schema.Literals<readonly ["bar", "line"]>;
1806
- readonly values: Schema.NonEmptyArray<Schema.NullOr<Schema.Finite>>;
1807
- }>>;
1808
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1809
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1810
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1811
- }>, Schema.Struct<{
1812
- readonly attrs: Schema.Struct<{
1813
- readonly href: Schema.String;
1814
- }>;
1815
- readonly type: Schema.Literal<"link">;
1816
- }>]>>>;
1817
- readonly text: Schema.String;
1818
- readonly type: Schema.Literal<"text">;
1819
- }>, Schema.Struct<{
1820
- readonly attrs: Schema.Struct<{
1821
- readonly latex: Schema.Trimmed;
1822
- }>;
1823
- readonly type: Schema.Literal<"mathInline">;
1824
- }>]>>;
1825
- readonly valueLabel: Schema.optionalKey<Schema.Trimmed>;
1826
- readonly valueRange: Schema.optionalKey<Schema.Struct<{
1827
- readonly max: Schema.Finite;
1828
- readonly min: Schema.Finite;
1829
- }>>;
1830
- }>;
1831
- }>, Schema.Struct<{
1832
- readonly alt: Schema.Trimmed;
1833
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1834
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1835
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1836
- }>, Schema.Struct<{
1837
- readonly attrs: Schema.Struct<{
1838
- readonly href: Schema.String;
1839
- }>;
1840
- readonly type: Schema.Literal<"link">;
1841
- }>]>>>;
1842
- readonly text: Schema.String;
1843
- readonly type: Schema.Literal<"text">;
1844
- }>, Schema.Struct<{
1845
- readonly attrs: Schema.Struct<{
1846
- readonly latex: Schema.Trimmed;
1847
- }>;
1848
- readonly type: Schema.Literal<"mathInline">;
1849
- }>]>>>;
1850
- readonly component: Schema.Literal<"MathVisual">;
1851
- readonly props: Schema.Struct<{
1852
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1853
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1854
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1855
- }>, Schema.Struct<{
1856
- readonly attrs: Schema.Struct<{
1857
- readonly href: Schema.String;
1858
- }>;
1859
- readonly type: Schema.Literal<"link">;
1860
- }>]>>>;
1861
- readonly text: Schema.String;
1862
- readonly type: Schema.Literal<"text">;
1863
- }>, Schema.Struct<{
1864
- readonly attrs: Schema.Struct<{
1865
- readonly latex: Schema.Trimmed;
1866
- }>;
1867
- readonly type: Schema.Literal<"mathInline">;
1868
- }>]>>;
1869
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1870
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1871
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1872
- }>, Schema.Struct<{
1873
- readonly attrs: Schema.Struct<{
1874
- readonly href: Schema.String;
1875
- }>;
1876
- readonly type: Schema.Literal<"link">;
1877
- }>]>>>;
1878
- readonly text: Schema.String;
1879
- readonly type: Schema.Literal<"text">;
1880
- }>, Schema.Struct<{
1881
- readonly attrs: Schema.Struct<{
1882
- readonly latex: Schema.Trimmed;
1883
- }>;
1884
- readonly type: Schema.Literal<"mathInline">;
1885
- }>]>>;
1886
- readonly labels: Schema.$Record<Schema.String, Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1887
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1888
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
1889
- }>, Schema.Struct<{
1890
- readonly attrs: Schema.Struct<{
1891
- readonly href: Schema.String;
1892
- }>;
1893
- readonly type: Schema.Literal<"link">;
1894
- }>]>>>;
1895
- readonly text: Schema.String;
1896
- readonly type: Schema.Literal<"text">;
1897
- }>, Schema.Struct<{
1898
- readonly attrs: Schema.Struct<{
1899
- readonly latex: Schema.Trimmed;
1900
- }>;
1901
- readonly type: Schema.Literal<"mathInline">;
1902
- }>]>>>;
1903
- readonly scene: Schema.Union<readonly [Schema.Struct<{
1904
- readonly frame: Schema.Struct<{
1905
- readonly kind: Schema.Literal<"cartesian">;
1906
- readonly x: Schema.Struct<{
1907
- readonly max: Schema.Finite;
1908
- readonly min: Schema.Finite;
1909
- }>;
1910
- readonly y: Schema.Struct<{
1911
- readonly max: Schema.Finite;
1912
- readonly min: Schema.Finite;
1913
- }>;
1914
- }>;
1915
- readonly labels: Schema.optionalKey<Schema.$Array<Schema.Struct<{
1916
- readonly at: Schema.Union<readonly [Schema.Struct<{
1917
- readonly x: Schema.Finite;
1918
- readonly y: Schema.Finite;
1919
- }>, Schema.Struct<{
1920
- readonly x: Schema.String;
1921
- readonly y: Schema.String;
1922
- }>]>;
1923
- readonly key: Schema.String;
1924
- readonly objectId: Schema.String;
1925
- readonly placement: Schema.optionalKey<Schema.Literals<readonly ["above", "above-left", "above-right", "below", "below-left", "below-right", "center", "left", "right"]>>;
1926
- }>>>;
1927
- readonly objects: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
1928
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1929
- readonly id: Schema.String;
1930
- readonly domain: Schema.optionalKey<Schema.Struct<{
1931
- readonly max: Schema.Finite;
1932
- readonly min: Schema.Finite;
1933
- }>>;
1934
- readonly formula: Schema.String;
1935
- readonly inputAxis: Schema.optionalKey<Schema.Literals<readonly ["x", "y"]>>;
1936
- readonly kind: Schema.Literal<"function">;
1937
- }>, Schema.Struct<{
1938
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1939
- readonly id: Schema.String;
1940
- readonly equation: Schema.String;
1941
- readonly kind: Schema.Literal<"implicit">;
1942
- }>, Schema.Struct<{
1943
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1944
- readonly id: Schema.String;
1945
- readonly kind: Schema.Literal<"loop">;
1946
- readonly points: Schema.$Array<Schema.Struct<{
1947
- readonly x: Schema.String;
1948
- readonly y: Schema.String;
1949
- }>>;
1950
- }>, Schema.Struct<{
1951
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1952
- readonly id: Schema.String;
1953
- readonly kind: Schema.Literal<"marker">;
1954
- readonly x: Schema.String;
1955
- readonly y: Schema.String;
1956
- }>, Schema.Struct<{
1957
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1958
- readonly id: Schema.String;
1959
- readonly kind: Schema.Literal<"parametric">;
1960
- readonly parameter: Schema.Struct<{
1961
- readonly max: Schema.Finite;
1962
- readonly min: Schema.Finite;
1963
- }>;
1964
- readonly x: Schema.String;
1965
- readonly y: Schema.String;
1966
- }>, Schema.Struct<{
1967
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1968
- readonly id: Schema.String;
1969
- readonly kind: Schema.Literal<"path">;
1970
- readonly points: Schema.$Array<Schema.Struct<{
1971
- readonly x: Schema.String;
1972
- readonly y: Schema.String;
1973
- }>>;
1974
- }>, Schema.Struct<{
1975
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1976
- readonly id: Schema.String;
1977
- readonly angle: Schema.Struct<{
1978
- readonly max: Schema.Finite;
1979
- readonly min: Schema.Finite;
1980
- }>;
1981
- readonly kind: Schema.Literal<"polar">;
1982
- readonly radius: Schema.String;
1983
- }>, Schema.Struct<{
1984
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1985
- readonly id: Schema.String;
1986
- readonly inequalities: Schema.NonEmptyArray<Schema.String>;
1987
- readonly kind: Schema.Literal<"region">;
1988
- }>, Schema.Struct<{
1989
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
1990
- readonly id: Schema.String;
1991
- readonly center: Schema.Struct<{
1992
- readonly x: Schema.Finite;
1993
- readonly y: Schema.Finite;
1994
- }>;
1995
- readonly kind: Schema.Literal<"arc">;
1996
- readonly radius: Schema.Finite;
1997
- readonly startDegrees: Schema.Finite;
1998
- readonly sweepDegrees: Schema.Finite;
1999
- }>, Schema.Struct<{
2000
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2001
- readonly id: Schema.String;
2002
- readonly center: Schema.Struct<{
2003
- readonly x: Schema.Finite;
2004
- readonly y: Schema.Finite;
2005
- }>;
2006
- readonly kind: Schema.Literal<"circle">;
2007
- readonly radius: Schema.Finite;
2008
- }>, Schema.Struct<{
2009
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2010
- readonly id: Schema.String;
2011
- readonly kind: Schema.Literal<"line">;
2012
- readonly through: Schema.Tuple<readonly [Schema.Struct<{
2013
- readonly x: Schema.Finite;
2014
- readonly y: Schema.Finite;
2015
- }>, Schema.Struct<{
2016
- readonly x: Schema.Finite;
2017
- readonly y: Schema.Finite;
2018
- }>]>;
2019
- }>, Schema.Struct<{
2020
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2021
- readonly id: Schema.String;
2022
- readonly at: Schema.Struct<{
2023
- readonly x: Schema.Finite;
2024
- readonly y: Schema.Finite;
2025
- }>;
2026
- readonly kind: Schema.Literal<"point">;
2027
- }>, Schema.Struct<{
2028
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2029
- readonly id: Schema.String;
2030
- readonly kind: Schema.Literal<"polygon">;
2031
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
2032
- readonly x: Schema.Finite;
2033
- readonly y: Schema.Finite;
2034
- }>, Schema.Struct<{
2035
- readonly x: Schema.Finite;
2036
- readonly y: Schema.Finite;
2037
- }>, Schema.Struct<{
2038
- readonly x: Schema.Finite;
2039
- readonly y: Schema.Finite;
2040
- }>]>, readonly [Schema.Struct<{
2041
- readonly x: Schema.Finite;
2042
- readonly y: Schema.Finite;
2043
- }>]>;
2044
- }>, Schema.Struct<{
2045
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2046
- readonly id: Schema.String;
2047
- readonly kind: Schema.Literal<"polyline">;
2048
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
2049
- readonly x: Schema.Finite;
2050
- readonly y: Schema.Finite;
2051
- }>, Schema.Struct<{
2052
- readonly x: Schema.Finite;
2053
- readonly y: Schema.Finite;
2054
- }>]>, readonly [Schema.Struct<{
2055
- readonly x: Schema.Finite;
2056
- readonly y: Schema.Finite;
2057
- }>]>;
2058
- }>, Schema.Struct<{
2059
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2060
- readonly id: Schema.String;
2061
- readonly coefficients: Schema.Struct<{
2062
- readonly a: Schema.Finite;
2063
- readonly b: Schema.Finite;
2064
- readonly c: Schema.Finite;
2065
- }>;
2066
- readonly domain: Schema.Struct<{
2067
- readonly max: Schema.Finite;
2068
- readonly min: Schema.Finite;
2069
- }>;
2070
- readonly inputAxis: Schema.Literals<readonly ["x", "y"]>;
2071
- readonly kind: Schema.Literal<"quadratic">;
2072
- }>, Schema.Struct<{
2073
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2074
- readonly id: Schema.String;
2075
- readonly from: Schema.Struct<{
2076
- readonly x: Schema.Finite;
2077
- readonly y: Schema.Finite;
2078
- }>;
2079
- readonly kind: Schema.Literal<"ray">;
2080
- readonly through: Schema.Struct<{
2081
- readonly x: Schema.Finite;
2082
- readonly y: Schema.Finite;
2083
- }>;
2084
- }>, Schema.Struct<{
2085
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2086
- readonly id: Schema.String;
2087
- readonly from: Schema.Struct<{
2088
- readonly x: Schema.Finite;
2089
- readonly y: Schema.Finite;
2090
- }>;
2091
- readonly kind: Schema.Literal<"segment">;
2092
- readonly to: Schema.Struct<{
2093
- readonly x: Schema.Finite;
2094
- readonly y: Schema.Finite;
2095
- }>;
2096
- }>, Schema.Struct<{
2097
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2098
- readonly id: Schema.String;
2099
- readonly from: Schema.Struct<{
2100
- readonly x: Schema.Finite;
2101
- readonly y: Schema.Finite;
2102
- }>;
2103
- readonly kind: Schema.Literal<"vector">;
2104
- readonly to: Schema.Struct<{
2105
- readonly x: Schema.Finite;
2106
- readonly y: Schema.Finite;
2107
- }>;
2108
- }>]>>;
2109
- readonly parameters: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2110
- readonly label: Schema.optionalKey<Schema.String>;
2111
- readonly max: Schema.Finite;
2112
- readonly min: Schema.Finite;
2113
- readonly name: Schema.String;
2114
- readonly step: Schema.optionalKey<Schema.Finite>;
2115
- readonly value: Schema.Finite;
2116
- }>>>;
2117
- readonly readouts: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2118
- readonly formula: Schema.String;
2119
- readonly key: Schema.String;
2120
- }>>>;
2121
- readonly space: Schema.Literal<"plane">;
2122
- readonly view: Schema.Struct<{
2123
- readonly kind: Schema.Literal<"fit">;
2124
- readonly padding: Schema.optionalKey<Schema.Finite>;
2125
- }>;
2126
- }>, Schema.Struct<{
2127
- readonly frame: Schema.Struct<{
2128
- readonly kind: Schema.Literal<"cartesian">;
2129
- readonly x: Schema.Struct<{
2130
- readonly max: Schema.Finite;
2131
- readonly min: Schema.Finite;
2132
- }>;
2133
- readonly y: Schema.Struct<{
2134
- readonly max: Schema.Finite;
2135
- readonly min: Schema.Finite;
2136
- }>;
2137
- readonly z: Schema.Struct<{
2138
- readonly max: Schema.Finite;
2139
- readonly min: Schema.Finite;
2140
- }>;
2141
- }>;
2142
- readonly labels: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2143
- readonly at: Schema.Struct<{
2144
- readonly x: Schema.Finite;
2145
- readonly y: Schema.Finite;
2146
- readonly z: Schema.Finite;
2147
- }>;
2148
- readonly key: Schema.String;
2149
- readonly objectId: Schema.String;
2150
- readonly placement: Schema.optionalKey<Schema.Literals<readonly ["above", "above-left", "above-right", "below", "below-left", "below-right", "center", "left", "right"]>>;
2151
- }>>>;
2152
- readonly objects: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2153
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2154
- readonly id: Schema.String;
2155
- readonly domain: Schema.optionalKey<Schema.Struct<{
2156
- readonly x: Schema.Struct<{
2157
- readonly max: Schema.Finite;
2158
- readonly min: Schema.Finite;
2159
- }>;
2160
- readonly y: Schema.Struct<{
2161
- readonly max: Schema.Finite;
2162
- readonly min: Schema.Finite;
2163
- }>;
2164
- }>>;
2165
- readonly formula: Schema.String;
2166
- readonly kind: Schema.Literal<"function">;
2167
- }>, Schema.Struct<{
2168
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2169
- readonly id: Schema.String;
2170
- readonly kind: Schema.Literal<"parametric">;
2171
- readonly parameter: Schema.Struct<{
2172
- readonly max: Schema.Finite;
2173
- readonly min: Schema.Finite;
2174
- }>;
2175
- readonly x: Schema.String;
2176
- readonly y: Schema.String;
2177
- readonly z: Schema.String;
2178
- }>, Schema.Struct<{
2179
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2180
- readonly id: Schema.String;
2181
- readonly base: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
2182
- readonly x: Schema.Finite;
2183
- readonly y: Schema.Finite;
2184
- readonly z: Schema.Finite;
2185
- }>, Schema.Struct<{
2186
- readonly x: Schema.Finite;
2187
- readonly y: Schema.Finite;
2188
- readonly z: Schema.Finite;
2189
- }>, Schema.Struct<{
2190
- readonly x: Schema.Finite;
2191
- readonly y: Schema.Finite;
2192
- readonly z: Schema.Finite;
2193
- }>]>, readonly [Schema.Struct<{
2194
- readonly x: Schema.Finite;
2195
- readonly y: Schema.Finite;
2196
- readonly z: Schema.Finite;
2197
- }>]>;
2198
- readonly kind: Schema.Literal<"prism">;
2199
- readonly offset: Schema.Struct<{
2200
- readonly x: Schema.Finite;
2201
- readonly y: Schema.Finite;
2202
- readonly z: Schema.Finite;
2203
- }>;
2204
- }>, Schema.Struct<{
2205
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2206
- readonly id: Schema.String;
2207
- readonly apex: Schema.Struct<{
2208
- readonly x: Schema.Finite;
2209
- readonly y: Schema.Finite;
2210
- readonly z: Schema.Finite;
2211
- }>;
2212
- readonly base: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
2213
- readonly x: Schema.Finite;
2214
- readonly y: Schema.Finite;
2215
- readonly z: Schema.Finite;
2216
- }>, Schema.Struct<{
2217
- readonly x: Schema.Finite;
2218
- readonly y: Schema.Finite;
2219
- readonly z: Schema.Finite;
2220
- }>, Schema.Struct<{
2221
- readonly x: Schema.Finite;
2222
- readonly y: Schema.Finite;
2223
- readonly z: Schema.Finite;
2224
- }>]>, readonly [Schema.Struct<{
2225
- readonly x: Schema.Finite;
2226
- readonly y: Schema.Finite;
2227
- readonly z: Schema.Finite;
2228
- }>]>;
2229
- readonly kind: Schema.Literal<"pyramid">;
2230
- }>, Schema.Struct<{
2231
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2232
- readonly id: Schema.String;
2233
- readonly axis: Schema.Literals<readonly ["x", "y", "z"]>;
2234
- readonly domain: Schema.Struct<{
2235
- readonly max: Schema.Finite;
2236
- readonly min: Schema.Finite;
2237
- }>;
2238
- readonly formula: Schema.String;
2239
- readonly kind: Schema.Literal<"revolution">;
2240
- }>, Schema.Struct<{
2241
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2242
- readonly id: Schema.String;
2243
- readonly kind: Schema.Literal<"surface">;
2244
- readonly u: Schema.Struct<{
2245
- readonly max: Schema.Finite;
2246
- readonly min: Schema.Finite;
2247
- }>;
2248
- readonly v: Schema.Struct<{
2249
- readonly max: Schema.Finite;
2250
- readonly min: Schema.Finite;
2251
- }>;
2252
- readonly x: Schema.String;
2253
- readonly y: Schema.String;
2254
- readonly z: Schema.String;
2255
- }>, Schema.Struct<{
2256
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2257
- readonly id: Schema.String;
2258
- readonly center: Schema.Struct<{
2259
- readonly x: Schema.Finite;
2260
- readonly y: Schema.Finite;
2261
- readonly z: Schema.Finite;
2262
- }>;
2263
- readonly kind: Schema.Literal<"cuboid">;
2264
- readonly size: Schema.Struct<{
2265
- readonly height: Schema.Finite;
2266
- readonly length: Schema.Finite;
2267
- readonly width: Schema.Finite;
2268
- }>;
2269
- }>, Schema.Struct<{
2270
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2271
- readonly id: Schema.String;
2272
- readonly kind: Schema.Literal<"line">;
2273
- readonly through: Schema.Tuple<readonly [Schema.Struct<{
2274
- readonly x: Schema.Finite;
2275
- readonly y: Schema.Finite;
2276
- readonly z: Schema.Finite;
2277
- }>, Schema.Struct<{
2278
- readonly x: Schema.Finite;
2279
- readonly y: Schema.Finite;
2280
- readonly z: Schema.Finite;
2281
- }>]>;
2282
- }>, Schema.Struct<{
2283
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2284
- readonly id: Schema.String;
2285
- readonly at: Schema.Struct<{
2286
- readonly x: Schema.Finite;
2287
- readonly y: Schema.Finite;
2288
- readonly z: Schema.Finite;
2289
- }>;
2290
- readonly kind: Schema.Literal<"point">;
2291
- }>, Schema.Struct<{
2292
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2293
- readonly id: Schema.String;
2294
- readonly kind: Schema.Literal<"polygon">;
2295
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
2296
- readonly x: Schema.Finite;
2297
- readonly y: Schema.Finite;
2298
- readonly z: Schema.Finite;
2299
- }>, Schema.Struct<{
2300
- readonly x: Schema.Finite;
2301
- readonly y: Schema.Finite;
2302
- readonly z: Schema.Finite;
2303
- }>, Schema.Struct<{
2304
- readonly x: Schema.Finite;
2305
- readonly y: Schema.Finite;
2306
- readonly z: Schema.Finite;
2307
- }>]>, readonly [Schema.Struct<{
2308
- readonly x: Schema.Finite;
2309
- readonly y: Schema.Finite;
2310
- readonly z: Schema.Finite;
2311
- }>]>;
2312
- }>, Schema.Struct<{
2313
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2314
- readonly id: Schema.String;
2315
- readonly kind: Schema.Literal<"polyline">;
2316
- readonly vertices: Schema.TupleWithRest<Schema.Tuple<readonly [Schema.Struct<{
2317
- readonly x: Schema.Finite;
2318
- readonly y: Schema.Finite;
2319
- readonly z: Schema.Finite;
2320
- }>, Schema.Struct<{
2321
- readonly x: Schema.Finite;
2322
- readonly y: Schema.Finite;
2323
- readonly z: Schema.Finite;
2324
- }>]>, readonly [Schema.Struct<{
2325
- readonly x: Schema.Finite;
2326
- readonly y: Schema.Finite;
2327
- readonly z: Schema.Finite;
2328
- }>]>;
2329
- }>, Schema.Struct<{
2330
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2331
- readonly id: Schema.String;
2332
- readonly from: Schema.Struct<{
2333
- readonly x: Schema.Finite;
2334
- readonly y: Schema.Finite;
2335
- readonly z: Schema.Finite;
2336
- }>;
2337
- readonly kind: Schema.Literal<"ray">;
2338
- readonly through: Schema.Struct<{
2339
- readonly x: Schema.Finite;
2340
- readonly y: Schema.Finite;
2341
- readonly z: Schema.Finite;
2342
- }>;
2343
- }>, Schema.Struct<{
2344
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2345
- readonly id: Schema.String;
2346
- readonly from: Schema.Struct<{
2347
- readonly x: Schema.Finite;
2348
- readonly y: Schema.Finite;
2349
- readonly z: Schema.Finite;
2350
- }>;
2351
- readonly kind: Schema.Literal<"segment">;
2352
- readonly to: Schema.Struct<{
2353
- readonly x: Schema.Finite;
2354
- readonly y: Schema.Finite;
2355
- readonly z: Schema.Finite;
2356
- }>;
2357
- }>, Schema.Struct<{
2358
- readonly appearance: Schema.Literals<readonly ["answer", "construction", "highlight", "primary", "reference", "secondary", "warning"]>;
2359
- readonly id: Schema.String;
2360
- readonly from: Schema.Struct<{
2361
- readonly x: Schema.Finite;
2362
- readonly y: Schema.Finite;
2363
- readonly z: Schema.Finite;
2364
- }>;
2365
- readonly kind: Schema.Literal<"vector">;
2366
- readonly to: Schema.Struct<{
2367
- readonly x: Schema.Finite;
2368
- readonly y: Schema.Finite;
2369
- readonly z: Schema.Finite;
2370
- }>;
2371
- }>]>>;
2372
- readonly parameters: Schema.optionalKey<Schema.$Array<Schema.Struct<{
2373
- readonly label: Schema.optionalKey<Schema.String>;
2374
- readonly max: Schema.Finite;
2375
- readonly min: Schema.Finite;
2376
- readonly name: Schema.String;
2377
- readonly step: Schema.optionalKey<Schema.Finite>;
2378
- readonly value: Schema.Finite;
2379
- }>>>;
2380
- readonly space: Schema.Literal<"space">;
2381
- readonly view: Schema.Union<readonly [Schema.Struct<{
2382
- readonly kind: Schema.Literal<"camera">;
2383
- readonly position: Schema.Struct<{
2384
- readonly x: Schema.Finite;
2385
- readonly y: Schema.Finite;
2386
- readonly z: Schema.Finite;
2387
- }>;
2388
- readonly target: Schema.Struct<{
2389
- readonly x: Schema.Finite;
2390
- readonly y: Schema.Finite;
2391
- readonly z: Schema.Finite;
2392
- }>;
2393
- }>, Schema.Struct<{
2394
- readonly kind: Schema.Literal<"fit">;
2395
- readonly padding: Schema.optionalKey<Schema.Finite>;
2396
- }>, Schema.Struct<{
2397
- readonly kind: Schema.Literal<"isometric">;
2398
- readonly target: Schema.optionalKey<Schema.Struct<{
2399
- readonly x: Schema.Finite;
2400
- readonly y: Schema.Finite;
2401
- readonly z: Schema.Finite;
2402
- }>>;
2403
- }>]>;
2404
- }>]>;
2405
- }>;
2406
- }>, Schema.Struct<{
2407
- readonly alt: Schema.Trimmed;
2408
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2409
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2410
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2411
- }>, Schema.Struct<{
2412
- readonly attrs: Schema.Struct<{
2413
- readonly href: Schema.String;
2414
- }>;
2415
- readonly type: Schema.Literal<"link">;
2416
- }>]>>>;
2417
- readonly text: Schema.String;
2418
- readonly type: Schema.Literal<"text">;
2419
- }>, Schema.Struct<{
2420
- readonly attrs: Schema.Struct<{
2421
- readonly latex: Schema.Trimmed;
2422
- }>;
2423
- readonly type: Schema.Literal<"mathInline">;
2424
- }>]>>>;
2425
- readonly component: Schema.Literal<"NumberLine">;
2426
- readonly props: Schema.Struct<{
2427
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2428
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2429
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2430
- }>, Schema.Struct<{
2431
- readonly attrs: Schema.Struct<{
2432
- readonly href: Schema.String;
2433
- }>;
2434
- readonly type: Schema.Literal<"link">;
2435
- }>]>>>;
2436
- readonly text: Schema.String;
2437
- readonly type: Schema.Literal<"text">;
2438
- }>, Schema.Struct<{
2439
- readonly attrs: Schema.Struct<{
2440
- readonly latex: Schema.Trimmed;
2441
- }>;
2442
- readonly type: Schema.Literal<"mathInline">;
2443
- }>]>>;
2444
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2445
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2446
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2447
- }>, Schema.Struct<{
2448
- readonly attrs: Schema.Struct<{
2449
- readonly href: Schema.String;
2450
- }>;
2451
- readonly type: Schema.Literal<"link">;
2452
- }>]>>>;
2453
- readonly text: Schema.String;
2454
- readonly type: Schema.Literal<"text">;
2455
- }>, Schema.Struct<{
2456
- readonly attrs: Schema.Struct<{
2457
- readonly latex: Schema.Trimmed;
2458
- }>;
2459
- readonly type: Schema.Literal<"mathInline">;
2460
- }>]>>;
2461
- readonly max: Schema.optionalKey<Schema.Finite>;
2462
- readonly min: Schema.optionalKey<Schema.Finite>;
2463
- readonly segments: Schema.NonEmptyArray<Schema.Struct<{
2464
- readonly backgroundColor: Schema.optionalKey<Schema.Literal<"transparent">>;
2465
- readonly end: Schema.Union<readonly [Schema.Finite, Schema.Literal<"infinity">]>;
2466
- readonly endInclusive: Schema.optionalKey<Schema.Boolean>;
2467
- readonly endLabel: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2468
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2469
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2470
- }>, Schema.Struct<{
2471
- readonly attrs: Schema.Struct<{
2472
- readonly href: Schema.String;
2473
- }>;
2474
- readonly type: Schema.Literal<"link">;
2475
- }>]>>>;
2476
- readonly text: Schema.String;
2477
- readonly type: Schema.Literal<"text">;
2478
- }>, Schema.Struct<{
2479
- readonly attrs: Schema.Struct<{
2480
- readonly latex: Schema.Trimmed;
2481
- }>;
2482
- readonly type: Schema.Literal<"mathInline">;
2483
- }>]>>>;
2484
- readonly label: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2485
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2486
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2487
- }>, Schema.Struct<{
2488
- readonly attrs: Schema.Struct<{
2489
- readonly href: Schema.String;
2490
- }>;
2491
- readonly type: Schema.Literal<"link">;
2492
- }>]>>>;
2493
- readonly text: Schema.String;
2494
- readonly type: Schema.Literal<"text">;
2495
- }>, Schema.Struct<{
2496
- readonly attrs: Schema.Struct<{
2497
- readonly latex: Schema.Trimmed;
2498
- }>;
2499
- readonly type: Schema.Literal<"mathInline">;
2500
- }>]>>>;
2501
- readonly shaded: Schema.optionalKey<Schema.Boolean>;
2502
- readonly showPoints: Schema.optionalKey<Schema.Boolean>;
2503
- readonly start: Schema.Union<readonly [Schema.Finite, Schema.Literal<"-infinity">]>;
2504
- readonly startInclusive: Schema.optionalKey<Schema.Boolean>;
2505
- readonly startLabel: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2506
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2507
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2508
- }>, Schema.Struct<{
2509
- readonly attrs: Schema.Struct<{
2510
- readonly href: Schema.String;
2511
- }>;
2512
- readonly type: Schema.Literal<"link">;
2513
- }>]>>>;
2514
- readonly text: Schema.String;
2515
- readonly type: Schema.Literal<"text">;
2516
- }>, Schema.Struct<{
2517
- readonly attrs: Schema.Struct<{
2518
- readonly latex: Schema.Trimmed;
2519
- }>;
2520
- readonly type: Schema.Literal<"mathInline">;
2521
- }>]>>>;
2522
- }>>;
2523
- }>;
2524
- }>, Schema.Struct<{
2525
- readonly alt: Schema.Trimmed;
2526
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2527
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2528
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2529
- }>, Schema.Struct<{
2530
- readonly attrs: Schema.Struct<{
2531
- readonly href: Schema.String;
2532
- }>;
2533
- readonly type: Schema.Literal<"link">;
2534
- }>]>>>;
2535
- readonly text: Schema.String;
2536
- readonly type: Schema.Literal<"text">;
2537
- }>, Schema.Struct<{
2538
- readonly attrs: Schema.Struct<{
2539
- readonly latex: Schema.Trimmed;
2540
- }>;
2541
- readonly type: Schema.Literal<"mathInline">;
2542
- }>]>>>;
2543
- readonly component: Schema.Literal<"LineEquation">;
2544
- readonly props: Schema.Struct<{
2545
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2546
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2547
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2548
- }>, Schema.Struct<{
2549
- readonly attrs: Schema.Struct<{
2550
- readonly href: Schema.String;
2551
- }>;
2552
- readonly type: Schema.Literal<"link">;
2553
- }>]>>>;
2554
- readonly text: Schema.String;
2555
- readonly type: Schema.Literal<"text">;
2556
- }>, Schema.Struct<{
2557
- readonly attrs: Schema.Struct<{
2558
- readonly latex: Schema.Trimmed;
2559
- }>;
2560
- readonly type: Schema.Literal<"mathInline">;
2561
- }>]>>;
2562
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2563
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2564
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2565
- }>, Schema.Struct<{
2566
- readonly attrs: Schema.Struct<{
2567
- readonly href: Schema.String;
2568
- }>;
2569
- readonly type: Schema.Literal<"link">;
2570
- }>]>>>;
2571
- readonly text: Schema.String;
2572
- readonly type: Schema.Literal<"text">;
2573
- }>, Schema.Struct<{
2574
- readonly attrs: Schema.Struct<{
2575
- readonly latex: Schema.Trimmed;
2576
- }>;
2577
- readonly type: Schema.Literal<"mathInline">;
2578
- }>]>>;
2579
- readonly cameraPosition: Schema.optionalKey<Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>>;
2580
- readonly cameraTarget: Schema.optionalKey<Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>>;
2581
- readonly data: Schema.NonEmptyArray<Schema.Struct<{
2582
- readonly color: Schema.Trimmed;
2583
- readonly cone: Schema.optionalKey<Schema.Struct<{
2584
- readonly position: Schema.Literals<readonly ["start", "end", "both"]>;
2585
- readonly size: Schema.optionalKey<Schema.Finite>;
2586
- }>>;
2587
- readonly endpoints: Schema.optionalKey<Schema.Struct<{
2588
- readonly end: Schema.optionalKey<Schema.Literals<readonly ["open", "closed"]>>;
2589
- readonly start: Schema.optionalKey<Schema.Literals<readonly ["open", "closed"]>>;
2590
- }>>;
2591
- readonly labels: Schema.optionalKey<Schema.NonEmptyArray<Schema.Struct<{
2592
- readonly anchorX: Schema.optionalKey<Schema.Literals<readonly ["center", "left", "right"]>>;
2593
- readonly at: Schema.optionalKey<Schema.Int>;
2594
- readonly fontSize: Schema.optionalKey<Schema.Finite>;
2595
- readonly offset: Schema.optionalKey<Schema.Tuple<readonly [Schema.Finite, Schema.Finite, Schema.Finite]>>;
2596
- readonly text: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2597
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2598
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2599
- }>, Schema.Struct<{
2600
- readonly attrs: Schema.Struct<{
2601
- readonly href: Schema.String;
2602
- }>;
2603
- readonly type: Schema.Literal<"link">;
2604
- }>]>>>;
2605
- readonly text: Schema.String;
2606
- readonly type: Schema.Literal<"text">;
2607
- }>, Schema.Struct<{
2608
- readonly attrs: Schema.Struct<{
2609
- readonly latex: Schema.Trimmed;
2610
- }>;
2611
- readonly type: Schema.Literal<"mathInline">;
2612
- }>]>>;
2613
- }>>>;
2614
- readonly lineWidth: Schema.optionalKey<Schema.Finite>;
2615
- readonly pointIndices: Schema.optionalKey<Schema.NonEmptyArray<Schema.Int>>;
2616
- readonly points: Schema.NonEmptyArray<Schema.Struct<{
2617
- readonly x: Schema.Finite;
2618
- readonly y: Schema.Finite;
2619
- readonly z: Schema.Finite;
2620
- }>>;
2621
- readonly showPoints: Schema.optionalKey<Schema.Boolean>;
2622
- readonly smooth: Schema.optionalKey<Schema.Boolean>;
2623
- }>>;
2624
- readonly showZAxis: Schema.optionalKey<Schema.Boolean>;
2625
- }>;
2626
- }>, Schema.Struct<{
2627
- readonly alt: Schema.Trimmed;
2628
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2629
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2630
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2631
- }>, Schema.Struct<{
2632
- readonly attrs: Schema.Struct<{
2633
- readonly href: Schema.String;
2634
- }>;
2635
- readonly type: Schema.Literal<"link">;
2636
- }>]>>>;
2637
- readonly text: Schema.String;
2638
- readonly type: Schema.Literal<"text">;
2639
- }>, Schema.Struct<{
2640
- readonly attrs: Schema.Struct<{
2641
- readonly latex: Schema.Trimmed;
2642
- }>;
2643
- readonly type: Schema.Literal<"mathInline">;
2644
- }>]>>>;
2645
- readonly component: Schema.Literal<"Mermaid">;
2646
- readonly props: Schema.Struct<{
2647
- readonly chart: Schema.String;
2648
- readonly description: Schema.Trimmed;
2649
- readonly title: Schema.Trimmed;
2650
- }>;
2651
- }>, Schema.Struct<{
2652
- readonly alt: Schema.Trimmed;
2653
- readonly caption: Schema.NullOr<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2654
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2655
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2656
- }>, Schema.Struct<{
2657
- readonly attrs: Schema.Struct<{
2658
- readonly href: Schema.String;
2659
- }>;
2660
- readonly type: Schema.Literal<"link">;
2661
- }>]>>>;
2662
- readonly text: Schema.String;
2663
- readonly type: Schema.Literal<"text">;
2664
- }>, Schema.Struct<{
2665
- readonly attrs: Schema.Struct<{
2666
- readonly latex: Schema.Trimmed;
2667
- }>;
2668
- readonly type: Schema.Literal<"mathInline">;
2669
- }>]>>>;
2670
- readonly component: Schema.Literal<"UnitCircle">;
2671
- readonly props: Schema.Struct<{
2672
- readonly description: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2673
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2674
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2675
- }>, Schema.Struct<{
2676
- readonly attrs: Schema.Struct<{
2677
- readonly href: Schema.String;
2678
- }>;
2679
- readonly type: Schema.Literal<"link">;
2680
- }>]>>>;
2681
- readonly text: Schema.String;
2682
- readonly type: Schema.Literal<"text">;
2683
- }>, Schema.Struct<{
2684
- readonly attrs: Schema.Struct<{
2685
- readonly latex: Schema.Trimmed;
2686
- }>;
2687
- readonly type: Schema.Literal<"mathInline">;
2688
- }>]>>;
2689
- readonly title: Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2690
- readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
2691
- readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
2692
- }>, Schema.Struct<{
2693
- readonly attrs: Schema.Struct<{
2694
- readonly href: Schema.String;
2695
- }>;
2696
- readonly type: Schema.Literal<"link">;
2697
- }>]>>>;
2698
- readonly text: Schema.String;
2699
- readonly type: Schema.Literal<"text">;
2700
- }>, Schema.Struct<{
2701
- readonly attrs: Schema.Struct<{
2702
- readonly latex: Schema.Trimmed;
2703
- }>;
2704
- readonly type: Schema.Literal<"mathInline">;
2705
- }>]>>;
2706
- readonly angle: Schema.optionalKey<Schema.Finite>;
2707
- readonly trigValues: Schema.optionalKey<Schema.Struct<{
2708
- readonly cos: Schema.optionalKey<Schema.Trimmed>;
2709
- readonly sin: Schema.optionalKey<Schema.Trimmed>;
2710
- readonly tan: Schema.optionalKey<Schema.Trimmed>;
2711
- }>>;
2712
- }>;
2713
- }>]>;
61
+ readonly attrs: Schema.Union<FigureMember[]>;
2714
62
  readonly type: Schema.Literal<"figure">;
2715
63
  }>;
2716
64
  export type FigureNode = typeof FigureNodeSchema.Type;
65
+ export {};