@nakafa/aksara-contracts 8.2.0 → 8.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assessment/document.d.ts +1 -1
- package/dist/assessment/document.js +1 -1
- package/dist/assessment/figure.d.ts +1 -1
- package/dist/assessment/figure.js +1 -1
- package/dist/assessment/fit.d.ts +3 -3
- package/dist/assessment/fit.js +3 -3
- package/dist/assessment/locales.d.ts +1 -1
- package/dist/assessment/scoring.d.ts +1 -1
- package/dist/assessment/scoring.js +1 -1
- package/dist/cache/content.d.ts +1 -1
- package/dist/cache/content.js +1 -1
- package/dist/content.d.ts +3 -2
- package/dist/graph/identity.d.ts +1 -1
- package/dist/graph/identity.js +1 -1
- package/dist/math/boundary.d.ts +9 -0
- package/dist/math/boundary.js +81 -0
- package/dist/math/bounds.d.ts +1 -1
- package/dist/math/collision.d.ts +1 -1
- package/dist/math/coordinate.d.ts +6 -5
- package/dist/math/coordinate.js +2 -2
- package/dist/math/curve.d.ts +1 -0
- package/dist/math/curve.js +4 -2
- package/dist/math/formula/affine.d.ts +22 -0
- package/dist/math/formula/affine.js +79 -0
- package/dist/math/formula/compile.d.ts +1 -1
- package/dist/math/formula/compile.js +1 -1
- package/dist/math/formula/contour.d.ts +1 -1
- package/dist/math/formula/contour.js +28 -13
- package/dist/math/formula/field.js +1 -1
- package/dist/math/formula/mesh.d.ts +1 -1
- package/dist/math/formula/mesh.js +1 -1
- package/dist/math/formula/names.d.ts +1 -1
- package/dist/math/formula/names.js +1 -1
- package/dist/math/formula/parse.d.ts +1 -1
- package/dist/math/formula/parse.js +1 -1
- package/dist/math/formula/plane.d.ts +2 -2
- package/dist/math/formula/plane.js +3 -3
- package/dist/math/formula/reader.d.ts +2 -1
- package/dist/math/formula/reader.js +1 -1
- package/dist/math/formula/region.d.ts +2 -2
- package/dist/math/formula/region.js +3 -3
- package/dist/math/formula/sample.d.ts +1 -1
- package/dist/math/formula/scan.d.ts +1 -1
- package/dist/math/formula/scan.js +1 -1
- package/dist/math/formula/slider.d.ts +2 -2
- package/dist/math/formula/slider.js +1 -1
- package/dist/math/formula/space.d.ts +1 -1
- package/dist/math/formula/space.js +1 -1
- package/dist/math/object.d.ts +12 -0
- package/dist/math/object.js +11 -0
- package/dist/math/plane.d.ts +10 -0
- package/dist/math/plane.js +7 -1
- package/dist/math/precision.d.ts +1 -1
- package/dist/math/precision.js +1 -1
- package/dist/math/resolution.js +1 -1
- package/dist/math/scene.d.ts +2 -2
- package/dist/math/space.d.ts +8 -0
- package/dist/math/space.js +5 -1
- package/dist/math/vector.d.ts +1 -1
- package/dist/math/visual.d.ts +239 -212
- package/dist/preview/spec.js +1 -1
- package/dist/program/curriculum.d.ts +1 -1
- package/dist/program/curriculum.js +1 -1
- package/dist/program/snapshot/digest.d.ts +1 -1
- package/dist/program/snapshot/digest.js +2 -2
- package/dist/program/snapshot/hash.d.ts +2 -2
- package/dist/projection/digest.d.ts +1 -1
- package/dist/projection/digest.js +1 -1
- package/dist/projection/hash.js +1 -1
- package/dist/projection/material.d.ts +1 -1
- package/dist/projection/material.js +1 -1
- package/dist/projection/verify.js +1 -1
- package/dist/quran/identity.d.ts +2 -1
- package/dist/quran/provenance.d.ts +2 -2
- package/dist/quran/provenance.js +1 -1
- package/dist/quran/snapshot/hash.d.ts +1 -1
- package/dist/quran/snapshot/row/hash.d.ts +1 -1
- package/dist/quran/snapshot/row/hash.js +1 -1
- package/dist/quran/snapshot/spec.js +1 -1
- package/dist/quran/source.d.ts +2 -2
- package/dist/release/current/evidence.d.ts +1 -1
- package/dist/release/current/evidence.js +1 -1
- package/dist/release/current/state.d.ts +1 -1
- package/dist/release/current/state.js +1 -1
- package/dist/release/head.js +1 -1
- package/dist/release/items.d.ts +1 -1
- package/dist/release/items.js +1 -1
- package/dist/release/policy.d.ts +1 -1
- package/dist/release/policy.js +1 -1
- package/dist/release/result/digest.d.ts +3 -3
- package/dist/release/result/digest.js +2 -2
- package/dist/release/rollback/digest.d.ts +1 -1
- package/dist/release/rollback/digest.js +1 -1
- package/dist/release/route/digest.d.ts +1 -1
- package/dist/release/route/digest.js +1 -1
- package/dist/release/snapshot/evidence/assessment.d.ts +1 -1
- package/dist/release/snapshot/evidence/assessment.js +1 -1
- package/dist/release/snapshot/evidence/program.d.ts +1 -1
- package/dist/release/snapshot/evidence/program.js +1 -1
- package/dist/release/snapshot/evidence/quran.d.ts +1 -1
- package/dist/release/snapshot/evidence/quran.js +1 -1
- package/dist/release/snapshot/evidence/requirement.d.ts +3 -2
- package/dist/release/snapshot/evidence/requirement.js +1 -1
- package/dist/release/snapshot/spec.d.ts +2 -2
- package/dist/release/snapshot/spec.js +1 -1
- package/dist/release/snapshot/verify.d.ts +1 -1
- package/dist/release/snapshot/verify.js +1 -1
- package/dist/release/spec.d.ts +1 -1
- package/dist/release/verify.d.ts +1 -1
- package/dist/release/verify.js +1 -1
- package/dist/renderer/compatibility.d.ts +1 -1
- package/dist/renderer/compatibility.js +2 -2
- package/dist/renderer/contract.d.ts +1 -1
- package/dist/renderer/contract.js +1 -1
- package/dist/runtime/spec.js +2 -2
- package/dist/signature/spec.d.ts +3 -2
- package/dist/signature/verify.d.ts +2 -1
- package/dist/transport/request.d.ts +1 -1
- package/dist/visual/base/math.d.ts +79 -1
- package/dist/visual/base/math.js +31 -3
- package/dist/visual/base/media.d.ts +68 -1
- package/dist/visual/biology/bacteria.d.ts +269 -1
- package/dist/visual/biology/bacteria.js +1 -1
- package/dist/visual/biology/cell.d.ts +202 -1
- package/dist/visual/biology/climate.d.ts +202 -1
- package/dist/visual/biology/climate.js +1 -1
- package/dist/visual/biology/ecology.d.ts +269 -1
- package/dist/visual/biology/physiology.d.ts +202 -1
- package/dist/visual/biology/physiology.js +1 -1
- package/dist/visual/biology/plant.d.ts +336 -1
- package/dist/visual/biology/plant.js +1 -1
- package/dist/visual/biology.d.ts +1 -1
- package/dist/visual/card.d.ts +79 -1
- package/dist/visual/card.js +18 -2
- package/dist/visual/catalog.d.ts +14164 -2
- package/dist/visual/catalog.js +4 -0
- package/dist/visual/chemistry/atom.d.ts +202 -1
- package/dist/visual/chemistry/atom.js +1 -1
- package/dist/visual/chemistry/balance.d.ts +336 -1
- package/dist/visual/chemistry/balance.js +1 -1
- package/dist/visual/chemistry/bonding.d.ts +336 -1
- package/dist/visual/chemistry/discovery.d.ts +470 -1
- package/dist/visual/chemistry/electrochemistry.d.ts +135 -1
- package/dist/visual/chemistry/electrochemistry.js +1 -1
- package/dist/visual/chemistry/electron.d.ts +135 -1
- package/dist/visual/chemistry/electron.js +1 -1
- package/dist/visual/chemistry/laws.d.ts +269 -1
- package/dist/visual/chemistry/laws.js +1 -1
- package/dist/visual/chemistry/particles.d.ts +336 -1
- package/dist/visual/chemistry/periodic.d.ts +135 -1
- package/dist/visual/chemistry/periodic.js +1 -1
- package/dist/visual/chemistry/rate.d.ts +68 -1
- package/dist/visual/chemistry/rate.js +1 -1
- package/dist/visual/chemistry/reaction.d.ts +202 -1
- package/dist/visual/chemistry/reaction.js +1 -1
- package/dist/visual/chemistry/titration.d.ts +68 -1
- package/dist/visual/chemistry/titration.js +1 -1
- package/dist/visual/length.d.ts +79 -0
- package/dist/visual/length.js +37 -0
- package/dist/visual/mathematics/chance.d.ts +258 -0
- package/dist/visual/mathematics/chance.js +117 -0
- package/dist/visual/mathematics/chart.d.ts +68 -1
- package/dist/visual/mathematics/charts.d.ts +336 -1
- package/dist/visual/mathematics/function.d.ts +202 -1
- package/dist/visual/mathematics/numeral.d.ts +170 -0
- package/dist/visual/mathematics/numeral.js +85 -0
- package/dist/visual/physics/braking.d.ts +269 -1
- package/dist/visual/physics/braking.js +1 -1
- package/dist/visual/physics/circuit.d.ts +269 -1
- package/dist/visual/physics/circular.d.ts +135 -1
- package/dist/visual/physics/circular.js +1 -1
- package/dist/visual/physics/dynamics.d.ts +470 -1
- package/dist/visual/physics/dynamics.js +1 -1
- package/dist/visual/physics/efficiency.d.ts +403 -1
- package/dist/visual/physics/efficiency.js +1 -1
- package/dist/visual/physics/electronics.d.ts +202 -1
- package/dist/visual/physics/falling.d.ts +269 -1
- package/dist/visual/physics/falling.js +1 -1
- package/dist/visual/physics/field.d.ts +202 -1
- package/dist/visual/physics/fluid.d.ts +269 -1
- package/dist/visual/physics/fluid.js +1 -1
- package/dist/visual/physics/force.d.ts +336 -1
- package/dist/visual/physics/gravity.d.ts +135 -1
- package/dist/visual/physics/heat.d.ts +202 -1
- package/dist/visual/physics/heat.js +1 -1
- package/dist/visual/physics/instrument.d.ts +470 -1
- package/dist/visual/physics/light.d.ts +269 -1
- package/dist/visual/physics/light.js +1 -1
- package/dist/visual/physics/measurement.d.ts +269 -1
- package/dist/visual/physics/measurement.js +1 -1
- package/dist/visual/physics/motion.d.ts +403 -1
- package/dist/visual/physics/nuclear.d.ts +202 -1
- package/dist/visual/physics/parabolic.d.ts +68 -1
- package/dist/visual/physics/position.d.ts +403 -1
- package/dist/visual/physics/position.js +1 -1
- package/dist/visual/physics/power.d.ts +537 -1
- package/dist/visual/physics/power.js +1 -1
- package/dist/visual/physics/precision.d.ts +470 -1
- package/dist/visual/physics/precision.js +1 -1
- package/dist/visual/physics/product.d.ts +269 -1
- package/dist/visual/physics/reading.d.ts +202 -1
- package/dist/visual/physics/reading.js +1 -1
- package/dist/visual/physics/record.d.ts +135 -1
- package/dist/visual/physics/record.js +1 -1
- package/dist/visual/physics/relative.d.ts +202 -1
- package/dist/visual/physics/relative.js +1 -1
- package/dist/visual/physics/solar.d.ts +403 -1
- package/dist/visual/physics/solar.js +1 -1
- package/dist/visual/physics/vector.d.ts +336 -1
- package/dist/visual/physics/vector.js +1 -1
- package/dist/visual/physics/velocity.d.ts +470 -1
- package/dist/visual/physics/wave.d.ts +269 -1
- package/dist/visual/politics.d.ts +403 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import {
|
|
2
|
+
import type { RichSlot } from "#contracts/visual/card";
|
|
3
3
|
/**
|
|
4
4
|
* The props of the labs that read a measuring instrument. No prop states the
|
|
5
5
|
* conclusion a lab leads to, so none holds answer state.
|
|
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
7
7
|
export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
8
8
|
MicrometerScrewLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
9
9
|
readonly description: RichSlot<E>;
|
|
10
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
11
|
+
readonly attrs: {
|
|
12
|
+
readonly latex: string;
|
|
13
|
+
};
|
|
14
|
+
readonly type: "mathInline";
|
|
15
|
+
} | {
|
|
16
|
+
readonly marks?: readonly [{
|
|
17
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
18
|
+
} | {
|
|
19
|
+
readonly attrs: {
|
|
20
|
+
readonly href: string;
|
|
21
|
+
};
|
|
22
|
+
readonly type: "link";
|
|
23
|
+
} | {
|
|
24
|
+
readonly attrs: {
|
|
25
|
+
readonly variant: "success" | "warning" | null;
|
|
26
|
+
};
|
|
27
|
+
readonly type: "highlight";
|
|
28
|
+
}, ...({
|
|
29
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
30
|
+
} | {
|
|
31
|
+
readonly attrs: {
|
|
32
|
+
readonly href: string;
|
|
33
|
+
};
|
|
34
|
+
readonly type: "link";
|
|
35
|
+
} | {
|
|
36
|
+
readonly attrs: {
|
|
37
|
+
readonly variant: "success" | "warning" | null;
|
|
38
|
+
};
|
|
39
|
+
readonly type: "highlight";
|
|
40
|
+
})[]];
|
|
41
|
+
readonly text: string;
|
|
42
|
+
readonly type: "text";
|
|
43
|
+
}, ...({
|
|
44
|
+
readonly attrs: {
|
|
45
|
+
readonly latex: string;
|
|
46
|
+
};
|
|
47
|
+
readonly type: "mathInline";
|
|
48
|
+
} | {
|
|
49
|
+
readonly marks?: readonly [{
|
|
50
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
51
|
+
} | {
|
|
52
|
+
readonly attrs: {
|
|
53
|
+
readonly href: string;
|
|
54
|
+
};
|
|
55
|
+
readonly type: "link";
|
|
56
|
+
} | {
|
|
57
|
+
readonly attrs: {
|
|
58
|
+
readonly variant: "success" | "warning" | null;
|
|
59
|
+
};
|
|
60
|
+
readonly type: "highlight";
|
|
61
|
+
}, ...({
|
|
62
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
63
|
+
} | {
|
|
64
|
+
readonly attrs: {
|
|
65
|
+
readonly href: string;
|
|
66
|
+
};
|
|
67
|
+
readonly type: "link";
|
|
68
|
+
} | {
|
|
69
|
+
readonly attrs: {
|
|
70
|
+
readonly variant: "success" | "warning" | null;
|
|
71
|
+
};
|
|
72
|
+
readonly type: "highlight";
|
|
73
|
+
})[]];
|
|
74
|
+
readonly text: string;
|
|
75
|
+
readonly type: "text";
|
|
76
|
+
})[]], E, never, never>>;
|
|
10
77
|
readonly title: RichSlot<E>;
|
|
11
78
|
readonly labels: Schema.Struct<{
|
|
12
79
|
readonly division: RichSlot<E>;
|
|
@@ -19,6 +86,73 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
19
86
|
}>, "figure">;
|
|
20
87
|
VernierCaliperLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
21
88
|
readonly description: RichSlot<E>;
|
|
89
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
90
|
+
readonly attrs: {
|
|
91
|
+
readonly latex: string;
|
|
92
|
+
};
|
|
93
|
+
readonly type: "mathInline";
|
|
94
|
+
} | {
|
|
95
|
+
readonly marks?: readonly [{
|
|
96
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
97
|
+
} | {
|
|
98
|
+
readonly attrs: {
|
|
99
|
+
readonly href: string;
|
|
100
|
+
};
|
|
101
|
+
readonly type: "link";
|
|
102
|
+
} | {
|
|
103
|
+
readonly attrs: {
|
|
104
|
+
readonly variant: "success" | "warning" | null;
|
|
105
|
+
};
|
|
106
|
+
readonly type: "highlight";
|
|
107
|
+
}, ...({
|
|
108
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
109
|
+
} | {
|
|
110
|
+
readonly attrs: {
|
|
111
|
+
readonly href: string;
|
|
112
|
+
};
|
|
113
|
+
readonly type: "link";
|
|
114
|
+
} | {
|
|
115
|
+
readonly attrs: {
|
|
116
|
+
readonly variant: "success" | "warning" | null;
|
|
117
|
+
};
|
|
118
|
+
readonly type: "highlight";
|
|
119
|
+
})[]];
|
|
120
|
+
readonly text: string;
|
|
121
|
+
readonly type: "text";
|
|
122
|
+
}, ...({
|
|
123
|
+
readonly attrs: {
|
|
124
|
+
readonly latex: string;
|
|
125
|
+
};
|
|
126
|
+
readonly type: "mathInline";
|
|
127
|
+
} | {
|
|
128
|
+
readonly marks?: readonly [{
|
|
129
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
130
|
+
} | {
|
|
131
|
+
readonly attrs: {
|
|
132
|
+
readonly href: string;
|
|
133
|
+
};
|
|
134
|
+
readonly type: "link";
|
|
135
|
+
} | {
|
|
136
|
+
readonly attrs: {
|
|
137
|
+
readonly variant: "success" | "warning" | null;
|
|
138
|
+
};
|
|
139
|
+
readonly type: "highlight";
|
|
140
|
+
}, ...({
|
|
141
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
142
|
+
} | {
|
|
143
|
+
readonly attrs: {
|
|
144
|
+
readonly href: string;
|
|
145
|
+
};
|
|
146
|
+
readonly type: "link";
|
|
147
|
+
} | {
|
|
148
|
+
readonly attrs: {
|
|
149
|
+
readonly variant: "success" | "warning" | null;
|
|
150
|
+
};
|
|
151
|
+
readonly type: "highlight";
|
|
152
|
+
})[]];
|
|
153
|
+
readonly text: string;
|
|
154
|
+
readonly type: "text";
|
|
155
|
+
})[]], E, never, never>>;
|
|
22
156
|
readonly title: RichSlot<E>;
|
|
23
157
|
readonly labels: Schema.Struct<{
|
|
24
158
|
readonly centimetres: RichSlot<E>;
|
|
@@ -32,6 +166,73 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
32
166
|
}>, "figure">;
|
|
33
167
|
MicroscopeScaleLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
34
168
|
readonly description: RichSlot<E>;
|
|
169
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
170
|
+
readonly attrs: {
|
|
171
|
+
readonly latex: string;
|
|
172
|
+
};
|
|
173
|
+
readonly type: "mathInline";
|
|
174
|
+
} | {
|
|
175
|
+
readonly marks?: readonly [{
|
|
176
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
177
|
+
} | {
|
|
178
|
+
readonly attrs: {
|
|
179
|
+
readonly href: string;
|
|
180
|
+
};
|
|
181
|
+
readonly type: "link";
|
|
182
|
+
} | {
|
|
183
|
+
readonly attrs: {
|
|
184
|
+
readonly variant: "success" | "warning" | null;
|
|
185
|
+
};
|
|
186
|
+
readonly type: "highlight";
|
|
187
|
+
}, ...({
|
|
188
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
189
|
+
} | {
|
|
190
|
+
readonly attrs: {
|
|
191
|
+
readonly href: string;
|
|
192
|
+
};
|
|
193
|
+
readonly type: "link";
|
|
194
|
+
} | {
|
|
195
|
+
readonly attrs: {
|
|
196
|
+
readonly variant: "success" | "warning" | null;
|
|
197
|
+
};
|
|
198
|
+
readonly type: "highlight";
|
|
199
|
+
})[]];
|
|
200
|
+
readonly text: string;
|
|
201
|
+
readonly type: "text";
|
|
202
|
+
}, ...({
|
|
203
|
+
readonly attrs: {
|
|
204
|
+
readonly latex: string;
|
|
205
|
+
};
|
|
206
|
+
readonly type: "mathInline";
|
|
207
|
+
} | {
|
|
208
|
+
readonly marks?: readonly [{
|
|
209
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
210
|
+
} | {
|
|
211
|
+
readonly attrs: {
|
|
212
|
+
readonly href: string;
|
|
213
|
+
};
|
|
214
|
+
readonly type: "link";
|
|
215
|
+
} | {
|
|
216
|
+
readonly attrs: {
|
|
217
|
+
readonly variant: "success" | "warning" | null;
|
|
218
|
+
};
|
|
219
|
+
readonly type: "highlight";
|
|
220
|
+
}, ...({
|
|
221
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
222
|
+
} | {
|
|
223
|
+
readonly attrs: {
|
|
224
|
+
readonly href: string;
|
|
225
|
+
};
|
|
226
|
+
readonly type: "link";
|
|
227
|
+
} | {
|
|
228
|
+
readonly attrs: {
|
|
229
|
+
readonly variant: "success" | "warning" | null;
|
|
230
|
+
};
|
|
231
|
+
readonly type: "highlight";
|
|
232
|
+
})[]];
|
|
233
|
+
readonly text: string;
|
|
234
|
+
readonly type: "text";
|
|
235
|
+
})[]], E, never, never>>;
|
|
35
236
|
readonly title: RichSlot<E>;
|
|
36
237
|
readonly labels: Schema.Struct<{
|
|
37
238
|
readonly chooseObjective: Schema.Trimmed;
|
|
@@ -44,6 +245,73 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
44
245
|
}>, "figure">;
|
|
45
246
|
ParallaxReadingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
46
247
|
readonly description: RichSlot<E>;
|
|
248
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
249
|
+
readonly attrs: {
|
|
250
|
+
readonly latex: string;
|
|
251
|
+
};
|
|
252
|
+
readonly type: "mathInline";
|
|
253
|
+
} | {
|
|
254
|
+
readonly marks?: readonly [{
|
|
255
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
256
|
+
} | {
|
|
257
|
+
readonly attrs: {
|
|
258
|
+
readonly href: string;
|
|
259
|
+
};
|
|
260
|
+
readonly type: "link";
|
|
261
|
+
} | {
|
|
262
|
+
readonly attrs: {
|
|
263
|
+
readonly variant: "success" | "warning" | null;
|
|
264
|
+
};
|
|
265
|
+
readonly type: "highlight";
|
|
266
|
+
}, ...({
|
|
267
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
268
|
+
} | {
|
|
269
|
+
readonly attrs: {
|
|
270
|
+
readonly href: string;
|
|
271
|
+
};
|
|
272
|
+
readonly type: "link";
|
|
273
|
+
} | {
|
|
274
|
+
readonly attrs: {
|
|
275
|
+
readonly variant: "success" | "warning" | null;
|
|
276
|
+
};
|
|
277
|
+
readonly type: "highlight";
|
|
278
|
+
})[]];
|
|
279
|
+
readonly text: string;
|
|
280
|
+
readonly type: "text";
|
|
281
|
+
}, ...({
|
|
282
|
+
readonly attrs: {
|
|
283
|
+
readonly latex: string;
|
|
284
|
+
};
|
|
285
|
+
readonly type: "mathInline";
|
|
286
|
+
} | {
|
|
287
|
+
readonly marks?: readonly [{
|
|
288
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
289
|
+
} | {
|
|
290
|
+
readonly attrs: {
|
|
291
|
+
readonly href: string;
|
|
292
|
+
};
|
|
293
|
+
readonly type: "link";
|
|
294
|
+
} | {
|
|
295
|
+
readonly attrs: {
|
|
296
|
+
readonly variant: "success" | "warning" | null;
|
|
297
|
+
};
|
|
298
|
+
readonly type: "highlight";
|
|
299
|
+
}, ...({
|
|
300
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
301
|
+
} | {
|
|
302
|
+
readonly attrs: {
|
|
303
|
+
readonly href: string;
|
|
304
|
+
};
|
|
305
|
+
readonly type: "link";
|
|
306
|
+
} | {
|
|
307
|
+
readonly attrs: {
|
|
308
|
+
readonly variant: "success" | "warning" | null;
|
|
309
|
+
};
|
|
310
|
+
readonly type: "highlight";
|
|
311
|
+
})[]];
|
|
312
|
+
readonly text: string;
|
|
313
|
+
readonly type: "text";
|
|
314
|
+
})[]], E, never, never>>;
|
|
47
315
|
readonly title: RichSlot<E>;
|
|
48
316
|
readonly labels: Schema.Struct<{
|
|
49
317
|
readonly error: RichSlot<E>;
|
|
@@ -56,6 +324,73 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
56
324
|
}>, "figure">;
|
|
57
325
|
LightGateSpeedLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
58
326
|
readonly description: RichSlot<E>;
|
|
327
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
328
|
+
readonly attrs: {
|
|
329
|
+
readonly latex: string;
|
|
330
|
+
};
|
|
331
|
+
readonly type: "mathInline";
|
|
332
|
+
} | {
|
|
333
|
+
readonly marks?: readonly [{
|
|
334
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
335
|
+
} | {
|
|
336
|
+
readonly attrs: {
|
|
337
|
+
readonly href: string;
|
|
338
|
+
};
|
|
339
|
+
readonly type: "link";
|
|
340
|
+
} | {
|
|
341
|
+
readonly attrs: {
|
|
342
|
+
readonly variant: "success" | "warning" | null;
|
|
343
|
+
};
|
|
344
|
+
readonly type: "highlight";
|
|
345
|
+
}, ...({
|
|
346
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
347
|
+
} | {
|
|
348
|
+
readonly attrs: {
|
|
349
|
+
readonly href: string;
|
|
350
|
+
};
|
|
351
|
+
readonly type: "link";
|
|
352
|
+
} | {
|
|
353
|
+
readonly attrs: {
|
|
354
|
+
readonly variant: "success" | "warning" | null;
|
|
355
|
+
};
|
|
356
|
+
readonly type: "highlight";
|
|
357
|
+
})[]];
|
|
358
|
+
readonly text: string;
|
|
359
|
+
readonly type: "text";
|
|
360
|
+
}, ...({
|
|
361
|
+
readonly attrs: {
|
|
362
|
+
readonly latex: string;
|
|
363
|
+
};
|
|
364
|
+
readonly type: "mathInline";
|
|
365
|
+
} | {
|
|
366
|
+
readonly marks?: readonly [{
|
|
367
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
368
|
+
} | {
|
|
369
|
+
readonly attrs: {
|
|
370
|
+
readonly href: string;
|
|
371
|
+
};
|
|
372
|
+
readonly type: "link";
|
|
373
|
+
} | {
|
|
374
|
+
readonly attrs: {
|
|
375
|
+
readonly variant: "success" | "warning" | null;
|
|
376
|
+
};
|
|
377
|
+
readonly type: "highlight";
|
|
378
|
+
}, ...({
|
|
379
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
380
|
+
} | {
|
|
381
|
+
readonly attrs: {
|
|
382
|
+
readonly href: string;
|
|
383
|
+
};
|
|
384
|
+
readonly type: "link";
|
|
385
|
+
} | {
|
|
386
|
+
readonly attrs: {
|
|
387
|
+
readonly variant: "success" | "warning" | null;
|
|
388
|
+
};
|
|
389
|
+
readonly type: "highlight";
|
|
390
|
+
})[]];
|
|
391
|
+
readonly text: string;
|
|
392
|
+
readonly type: "text";
|
|
393
|
+
})[]], E, never, never>>;
|
|
59
394
|
readonly title: RichSlot<E>;
|
|
60
395
|
readonly distance: Schema.optionalKey<Schema.Finite>;
|
|
61
396
|
readonly labels: Schema.Struct<{
|
|
@@ -67,6 +402,73 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
67
402
|
}>, "figure">;
|
|
68
403
|
StopwatchSpreadLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
69
404
|
readonly description: RichSlot<E>;
|
|
405
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
406
|
+
readonly attrs: {
|
|
407
|
+
readonly latex: string;
|
|
408
|
+
};
|
|
409
|
+
readonly type: "mathInline";
|
|
410
|
+
} | {
|
|
411
|
+
readonly marks?: readonly [{
|
|
412
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
413
|
+
} | {
|
|
414
|
+
readonly attrs: {
|
|
415
|
+
readonly href: string;
|
|
416
|
+
};
|
|
417
|
+
readonly type: "link";
|
|
418
|
+
} | {
|
|
419
|
+
readonly attrs: {
|
|
420
|
+
readonly variant: "success" | "warning" | null;
|
|
421
|
+
};
|
|
422
|
+
readonly type: "highlight";
|
|
423
|
+
}, ...({
|
|
424
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
425
|
+
} | {
|
|
426
|
+
readonly attrs: {
|
|
427
|
+
readonly href: string;
|
|
428
|
+
};
|
|
429
|
+
readonly type: "link";
|
|
430
|
+
} | {
|
|
431
|
+
readonly attrs: {
|
|
432
|
+
readonly variant: "success" | "warning" | null;
|
|
433
|
+
};
|
|
434
|
+
readonly type: "highlight";
|
|
435
|
+
})[]];
|
|
436
|
+
readonly text: string;
|
|
437
|
+
readonly type: "text";
|
|
438
|
+
}, ...({
|
|
439
|
+
readonly attrs: {
|
|
440
|
+
readonly latex: string;
|
|
441
|
+
};
|
|
442
|
+
readonly type: "mathInline";
|
|
443
|
+
} | {
|
|
444
|
+
readonly marks?: readonly [{
|
|
445
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
446
|
+
} | {
|
|
447
|
+
readonly attrs: {
|
|
448
|
+
readonly href: string;
|
|
449
|
+
};
|
|
450
|
+
readonly type: "link";
|
|
451
|
+
} | {
|
|
452
|
+
readonly attrs: {
|
|
453
|
+
readonly variant: "success" | "warning" | null;
|
|
454
|
+
};
|
|
455
|
+
readonly type: "highlight";
|
|
456
|
+
}, ...({
|
|
457
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
458
|
+
} | {
|
|
459
|
+
readonly attrs: {
|
|
460
|
+
readonly href: string;
|
|
461
|
+
};
|
|
462
|
+
readonly type: "link";
|
|
463
|
+
} | {
|
|
464
|
+
readonly attrs: {
|
|
465
|
+
readonly variant: "success" | "warning" | null;
|
|
466
|
+
};
|
|
467
|
+
readonly type: "highlight";
|
|
468
|
+
})[]];
|
|
469
|
+
readonly text: string;
|
|
470
|
+
readonly type: "text";
|
|
471
|
+
})[]], E, never, never>>;
|
|
70
472
|
readonly title: RichSlot<E>;
|
|
71
473
|
readonly count: Schema.optionalKey<Schema.Finite>;
|
|
72
474
|
readonly labels: Schema.Struct<{
|
|
@@ -79,6 +481,73 @@ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
|
|
|
79
481
|
}>, "figure">;
|
|
80
482
|
PendulumPeriodLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
81
483
|
readonly description: RichSlot<E>;
|
|
484
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
485
|
+
readonly attrs: {
|
|
486
|
+
readonly latex: string;
|
|
487
|
+
};
|
|
488
|
+
readonly type: "mathInline";
|
|
489
|
+
} | {
|
|
490
|
+
readonly marks?: readonly [{
|
|
491
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
492
|
+
} | {
|
|
493
|
+
readonly attrs: {
|
|
494
|
+
readonly href: string;
|
|
495
|
+
};
|
|
496
|
+
readonly type: "link";
|
|
497
|
+
} | {
|
|
498
|
+
readonly attrs: {
|
|
499
|
+
readonly variant: "success" | "warning" | null;
|
|
500
|
+
};
|
|
501
|
+
readonly type: "highlight";
|
|
502
|
+
}, ...({
|
|
503
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
504
|
+
} | {
|
|
505
|
+
readonly attrs: {
|
|
506
|
+
readonly href: string;
|
|
507
|
+
};
|
|
508
|
+
readonly type: "link";
|
|
509
|
+
} | {
|
|
510
|
+
readonly attrs: {
|
|
511
|
+
readonly variant: "success" | "warning" | null;
|
|
512
|
+
};
|
|
513
|
+
readonly type: "highlight";
|
|
514
|
+
})[]];
|
|
515
|
+
readonly text: string;
|
|
516
|
+
readonly type: "text";
|
|
517
|
+
}, ...({
|
|
518
|
+
readonly attrs: {
|
|
519
|
+
readonly latex: string;
|
|
520
|
+
};
|
|
521
|
+
readonly type: "mathInline";
|
|
522
|
+
} | {
|
|
523
|
+
readonly marks?: readonly [{
|
|
524
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
525
|
+
} | {
|
|
526
|
+
readonly attrs: {
|
|
527
|
+
readonly href: string;
|
|
528
|
+
};
|
|
529
|
+
readonly type: "link";
|
|
530
|
+
} | {
|
|
531
|
+
readonly attrs: {
|
|
532
|
+
readonly variant: "success" | "warning" | null;
|
|
533
|
+
};
|
|
534
|
+
readonly type: "highlight";
|
|
535
|
+
}, ...({
|
|
536
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
537
|
+
} | {
|
|
538
|
+
readonly attrs: {
|
|
539
|
+
readonly href: string;
|
|
540
|
+
};
|
|
541
|
+
readonly type: "link";
|
|
542
|
+
} | {
|
|
543
|
+
readonly attrs: {
|
|
544
|
+
readonly variant: "success" | "warning" | null;
|
|
545
|
+
};
|
|
546
|
+
readonly type: "highlight";
|
|
547
|
+
})[]];
|
|
548
|
+
readonly text: string;
|
|
549
|
+
readonly type: "text";
|
|
550
|
+
})[]], E, never, never>>;
|
|
82
551
|
readonly title: RichSlot<E>;
|
|
83
552
|
readonly labels: Schema.Struct<{
|
|
84
553
|
readonly check: RichSlot<E>;
|