@nakafa/aksara-contracts 8.2.0 → 8.4.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.
- package/dist/math/boundary.d.ts +9 -0
- package/dist/math/boundary.js +81 -0
- 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/contour.js +27 -12
- 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/space.d.ts +8 -0
- package/dist/math/space.js +5 -1
- package/dist/math/visual.d.ts +239 -212
- package/dist/visual/base/math.d.ts +78 -0
- package/dist/visual/base/math.js +31 -3
- package/dist/visual/base/media.d.ts +67 -0
- package/dist/visual/biology/bacteria.d.ts +268 -0
- package/dist/visual/biology/cell.d.ts +201 -0
- package/dist/visual/biology/climate.d.ts +201 -0
- package/dist/visual/biology/ecology.d.ts +268 -0
- package/dist/visual/biology/physiology.d.ts +201 -0
- package/dist/visual/biology/plant.d.ts +335 -0
- 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 +201 -0
- package/dist/visual/chemistry/balance.d.ts +335 -0
- package/dist/visual/chemistry/bonding.d.ts +335 -0
- package/dist/visual/chemistry/discovery.d.ts +469 -0
- package/dist/visual/chemistry/electrochemistry.d.ts +134 -0
- package/dist/visual/chemistry/electron.d.ts +134 -0
- package/dist/visual/chemistry/laws.d.ts +268 -0
- package/dist/visual/chemistry/particles.d.ts +335 -0
- package/dist/visual/chemistry/periodic.d.ts +134 -0
- package/dist/visual/chemistry/rate.d.ts +67 -0
- package/dist/visual/chemistry/reaction.d.ts +201 -0
- package/dist/visual/chemistry/titration.d.ts +67 -0
- 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 +67 -0
- package/dist/visual/mathematics/charts.d.ts +335 -0
- package/dist/visual/mathematics/function.d.ts +201 -0
- package/dist/visual/mathematics/numeral.d.ts +170 -0
- package/dist/visual/mathematics/numeral.js +85 -0
- package/dist/visual/physics/braking.d.ts +268 -0
- package/dist/visual/physics/circuit.d.ts +268 -0
- package/dist/visual/physics/circular.d.ts +134 -0
- package/dist/visual/physics/dynamics.d.ts +469 -0
- package/dist/visual/physics/efficiency.d.ts +402 -0
- package/dist/visual/physics/electronics.d.ts +201 -0
- package/dist/visual/physics/falling.d.ts +268 -0
- package/dist/visual/physics/field.d.ts +201 -0
- package/dist/visual/physics/fluid.d.ts +268 -0
- package/dist/visual/physics/force.d.ts +335 -0
- package/dist/visual/physics/gravity.d.ts +134 -0
- package/dist/visual/physics/heat.d.ts +201 -0
- package/dist/visual/physics/instrument.d.ts +469 -0
- package/dist/visual/physics/light.d.ts +268 -0
- package/dist/visual/physics/measurement.d.ts +268 -0
- package/dist/visual/physics/motion.d.ts +402 -0
- package/dist/visual/physics/nuclear.d.ts +201 -0
- package/dist/visual/physics/parabolic.d.ts +67 -0
- package/dist/visual/physics/position.d.ts +402 -0
- package/dist/visual/physics/power.d.ts +536 -0
- package/dist/visual/physics/precision.d.ts +469 -0
- package/dist/visual/physics/product.d.ts +268 -0
- package/dist/visual/physics/reading.d.ts +201 -0
- package/dist/visual/physics/record.d.ts +134 -0
- package/dist/visual/physics/relative.d.ts +201 -0
- package/dist/visual/physics/solar.d.ts +402 -0
- package/dist/visual/physics/vector.d.ts +335 -0
- package/dist/visual/physics/velocity.d.ts +469 -0
- package/dist/visual/physics/wave.d.ts +268 -0
- package/dist/visual/politics.d.ts +402 -0
- package/package.json +1 -1
|
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
7
7
|
export declare function productVisuals<E>(rich: RichSlot<E>): {
|
|
8
8
|
DoorHingeTorqueLab: 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 angle: Schema.Finite;
|
|
12
79
|
readonly arm: Schema.Finite;
|
|
@@ -25,6 +92,73 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
|
|
|
25
92
|
}>, "figure">;
|
|
26
93
|
WrenchTorqueLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
27
94
|
readonly description: RichSlot<E>;
|
|
95
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
96
|
+
readonly attrs: {
|
|
97
|
+
readonly latex: string;
|
|
98
|
+
};
|
|
99
|
+
readonly type: "mathInline";
|
|
100
|
+
} | {
|
|
101
|
+
readonly marks?: readonly [{
|
|
102
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
103
|
+
} | {
|
|
104
|
+
readonly attrs: {
|
|
105
|
+
readonly href: string;
|
|
106
|
+
};
|
|
107
|
+
readonly type: "link";
|
|
108
|
+
} | {
|
|
109
|
+
readonly attrs: {
|
|
110
|
+
readonly variant: "success" | "warning" | null;
|
|
111
|
+
};
|
|
112
|
+
readonly type: "highlight";
|
|
113
|
+
}, ...({
|
|
114
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
115
|
+
} | {
|
|
116
|
+
readonly attrs: {
|
|
117
|
+
readonly href: string;
|
|
118
|
+
};
|
|
119
|
+
readonly type: "link";
|
|
120
|
+
} | {
|
|
121
|
+
readonly attrs: {
|
|
122
|
+
readonly variant: "success" | "warning" | null;
|
|
123
|
+
};
|
|
124
|
+
readonly type: "highlight";
|
|
125
|
+
})[]];
|
|
126
|
+
readonly text: string;
|
|
127
|
+
readonly type: "text";
|
|
128
|
+
}, ...({
|
|
129
|
+
readonly attrs: {
|
|
130
|
+
readonly latex: string;
|
|
131
|
+
};
|
|
132
|
+
readonly type: "mathInline";
|
|
133
|
+
} | {
|
|
134
|
+
readonly marks?: readonly [{
|
|
135
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
136
|
+
} | {
|
|
137
|
+
readonly attrs: {
|
|
138
|
+
readonly href: string;
|
|
139
|
+
};
|
|
140
|
+
readonly type: "link";
|
|
141
|
+
} | {
|
|
142
|
+
readonly attrs: {
|
|
143
|
+
readonly variant: "success" | "warning" | null;
|
|
144
|
+
};
|
|
145
|
+
readonly type: "highlight";
|
|
146
|
+
}, ...({
|
|
147
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
148
|
+
} | {
|
|
149
|
+
readonly attrs: {
|
|
150
|
+
readonly href: string;
|
|
151
|
+
};
|
|
152
|
+
readonly type: "link";
|
|
153
|
+
} | {
|
|
154
|
+
readonly attrs: {
|
|
155
|
+
readonly variant: "success" | "warning" | null;
|
|
156
|
+
};
|
|
157
|
+
readonly type: "highlight";
|
|
158
|
+
})[]];
|
|
159
|
+
readonly text: string;
|
|
160
|
+
readonly type: "text";
|
|
161
|
+
})[]], E, never, never>>;
|
|
28
162
|
readonly title: RichSlot<E>;
|
|
29
163
|
readonly angle: Schema.Finite;
|
|
30
164
|
readonly arm: Schema.Finite;
|
|
@@ -39,6 +173,73 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
|
|
|
39
173
|
}>, "figure">;
|
|
40
174
|
SledPullWorkLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
41
175
|
readonly description: RichSlot<E>;
|
|
176
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
177
|
+
readonly attrs: {
|
|
178
|
+
readonly latex: string;
|
|
179
|
+
};
|
|
180
|
+
readonly type: "mathInline";
|
|
181
|
+
} | {
|
|
182
|
+
readonly marks?: readonly [{
|
|
183
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
184
|
+
} | {
|
|
185
|
+
readonly attrs: {
|
|
186
|
+
readonly href: string;
|
|
187
|
+
};
|
|
188
|
+
readonly type: "link";
|
|
189
|
+
} | {
|
|
190
|
+
readonly attrs: {
|
|
191
|
+
readonly variant: "success" | "warning" | null;
|
|
192
|
+
};
|
|
193
|
+
readonly type: "highlight";
|
|
194
|
+
}, ...({
|
|
195
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
196
|
+
} | {
|
|
197
|
+
readonly attrs: {
|
|
198
|
+
readonly href: string;
|
|
199
|
+
};
|
|
200
|
+
readonly type: "link";
|
|
201
|
+
} | {
|
|
202
|
+
readonly attrs: {
|
|
203
|
+
readonly variant: "success" | "warning" | null;
|
|
204
|
+
};
|
|
205
|
+
readonly type: "highlight";
|
|
206
|
+
})[]];
|
|
207
|
+
readonly text: string;
|
|
208
|
+
readonly type: "text";
|
|
209
|
+
}, ...({
|
|
210
|
+
readonly attrs: {
|
|
211
|
+
readonly latex: string;
|
|
212
|
+
};
|
|
213
|
+
readonly type: "mathInline";
|
|
214
|
+
} | {
|
|
215
|
+
readonly marks?: readonly [{
|
|
216
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
217
|
+
} | {
|
|
218
|
+
readonly attrs: {
|
|
219
|
+
readonly href: string;
|
|
220
|
+
};
|
|
221
|
+
readonly type: "link";
|
|
222
|
+
} | {
|
|
223
|
+
readonly attrs: {
|
|
224
|
+
readonly variant: "success" | "warning" | null;
|
|
225
|
+
};
|
|
226
|
+
readonly type: "highlight";
|
|
227
|
+
}, ...({
|
|
228
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
229
|
+
} | {
|
|
230
|
+
readonly attrs: {
|
|
231
|
+
readonly href: string;
|
|
232
|
+
};
|
|
233
|
+
readonly type: "link";
|
|
234
|
+
} | {
|
|
235
|
+
readonly attrs: {
|
|
236
|
+
readonly variant: "success" | "warning" | null;
|
|
237
|
+
};
|
|
238
|
+
readonly type: "highlight";
|
|
239
|
+
})[]];
|
|
240
|
+
readonly text: string;
|
|
241
|
+
readonly type: "text";
|
|
242
|
+
})[]], E, never, never>>;
|
|
42
243
|
readonly title: RichSlot<E>;
|
|
43
244
|
readonly angle: Schema.Finite;
|
|
44
245
|
readonly distance: Schema.Finite;
|
|
@@ -56,6 +257,73 @@ export declare function productVisuals<E>(rich: RichSlot<E>): {
|
|
|
56
257
|
}>, "figure">;
|
|
57
258
|
SolarPanelFluxLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
58
259
|
readonly description: RichSlot<E>;
|
|
260
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
261
|
+
readonly attrs: {
|
|
262
|
+
readonly latex: string;
|
|
263
|
+
};
|
|
264
|
+
readonly type: "mathInline";
|
|
265
|
+
} | {
|
|
266
|
+
readonly marks?: readonly [{
|
|
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
280
|
+
} | {
|
|
281
|
+
readonly attrs: {
|
|
282
|
+
readonly href: string;
|
|
283
|
+
};
|
|
284
|
+
readonly type: "link";
|
|
285
|
+
} | {
|
|
286
|
+
readonly attrs: {
|
|
287
|
+
readonly variant: "success" | "warning" | null;
|
|
288
|
+
};
|
|
289
|
+
readonly type: "highlight";
|
|
290
|
+
})[]];
|
|
291
|
+
readonly text: string;
|
|
292
|
+
readonly type: "text";
|
|
293
|
+
}, ...({
|
|
294
|
+
readonly attrs: {
|
|
295
|
+
readonly latex: string;
|
|
296
|
+
};
|
|
297
|
+
readonly type: "mathInline";
|
|
298
|
+
} | {
|
|
299
|
+
readonly marks?: readonly [{
|
|
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
313
|
+
} | {
|
|
314
|
+
readonly attrs: {
|
|
315
|
+
readonly href: string;
|
|
316
|
+
};
|
|
317
|
+
readonly type: "link";
|
|
318
|
+
} | {
|
|
319
|
+
readonly attrs: {
|
|
320
|
+
readonly variant: "success" | "warning" | null;
|
|
321
|
+
};
|
|
322
|
+
readonly type: "highlight";
|
|
323
|
+
})[]];
|
|
324
|
+
readonly text: string;
|
|
325
|
+
readonly type: "text";
|
|
326
|
+
})[]], E, never, never>>;
|
|
59
327
|
readonly title: RichSlot<E>;
|
|
60
328
|
readonly area: Schema.Finite;
|
|
61
329
|
readonly elevation: Schema.Finite;
|
|
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
7
7
|
export declare function readingVisuals<E>(rich: RichSlot<E>): {
|
|
8
8
|
MotionAreaLab: 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 displacement: RichSlot<E>;
|
|
@@ -21,6 +88,73 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
|
|
|
21
88
|
}>, "figure">;
|
|
22
89
|
PendulumGraphLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
23
90
|
readonly description: RichSlot<E>;
|
|
91
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
92
|
+
readonly attrs: {
|
|
93
|
+
readonly latex: string;
|
|
94
|
+
};
|
|
95
|
+
readonly type: "mathInline";
|
|
96
|
+
} | {
|
|
97
|
+
readonly marks?: readonly [{
|
|
98
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
99
|
+
} | {
|
|
100
|
+
readonly attrs: {
|
|
101
|
+
readonly href: string;
|
|
102
|
+
};
|
|
103
|
+
readonly type: "link";
|
|
104
|
+
} | {
|
|
105
|
+
readonly attrs: {
|
|
106
|
+
readonly variant: "success" | "warning" | null;
|
|
107
|
+
};
|
|
108
|
+
readonly type: "highlight";
|
|
109
|
+
}, ...({
|
|
110
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
111
|
+
} | {
|
|
112
|
+
readonly attrs: {
|
|
113
|
+
readonly href: string;
|
|
114
|
+
};
|
|
115
|
+
readonly type: "link";
|
|
116
|
+
} | {
|
|
117
|
+
readonly attrs: {
|
|
118
|
+
readonly variant: "success" | "warning" | null;
|
|
119
|
+
};
|
|
120
|
+
readonly type: "highlight";
|
|
121
|
+
})[]];
|
|
122
|
+
readonly text: string;
|
|
123
|
+
readonly type: "text";
|
|
124
|
+
}, ...({
|
|
125
|
+
readonly attrs: {
|
|
126
|
+
readonly latex: string;
|
|
127
|
+
};
|
|
128
|
+
readonly type: "mathInline";
|
|
129
|
+
} | {
|
|
130
|
+
readonly marks?: readonly [{
|
|
131
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
132
|
+
} | {
|
|
133
|
+
readonly attrs: {
|
|
134
|
+
readonly href: string;
|
|
135
|
+
};
|
|
136
|
+
readonly type: "link";
|
|
137
|
+
} | {
|
|
138
|
+
readonly attrs: {
|
|
139
|
+
readonly variant: "success" | "warning" | null;
|
|
140
|
+
};
|
|
141
|
+
readonly type: "highlight";
|
|
142
|
+
}, ...({
|
|
143
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
144
|
+
} | {
|
|
145
|
+
readonly attrs: {
|
|
146
|
+
readonly href: string;
|
|
147
|
+
};
|
|
148
|
+
readonly type: "link";
|
|
149
|
+
} | {
|
|
150
|
+
readonly attrs: {
|
|
151
|
+
readonly variant: "success" | "warning" | null;
|
|
152
|
+
};
|
|
153
|
+
readonly type: "highlight";
|
|
154
|
+
})[]];
|
|
155
|
+
readonly text: string;
|
|
156
|
+
readonly type: "text";
|
|
157
|
+
})[]], E, never, never>>;
|
|
24
158
|
readonly title: RichSlot<E>;
|
|
25
159
|
readonly gradient: Schema.Finite;
|
|
26
160
|
readonly labels: Schema.Struct<{
|
|
@@ -35,6 +169,73 @@ export declare function readingVisuals<E>(rich: RichSlot<E>): {
|
|
|
35
169
|
}>, "figure">;
|
|
36
170
|
ReadingSpreadLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
37
171
|
readonly description: RichSlot<E>;
|
|
172
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
173
|
+
readonly attrs: {
|
|
174
|
+
readonly latex: string;
|
|
175
|
+
};
|
|
176
|
+
readonly type: "mathInline";
|
|
177
|
+
} | {
|
|
178
|
+
readonly marks?: readonly [{
|
|
179
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
180
|
+
} | {
|
|
181
|
+
readonly attrs: {
|
|
182
|
+
readonly href: string;
|
|
183
|
+
};
|
|
184
|
+
readonly type: "link";
|
|
185
|
+
} | {
|
|
186
|
+
readonly attrs: {
|
|
187
|
+
readonly variant: "success" | "warning" | null;
|
|
188
|
+
};
|
|
189
|
+
readonly type: "highlight";
|
|
190
|
+
}, ...({
|
|
191
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
192
|
+
} | {
|
|
193
|
+
readonly attrs: {
|
|
194
|
+
readonly href: string;
|
|
195
|
+
};
|
|
196
|
+
readonly type: "link";
|
|
197
|
+
} | {
|
|
198
|
+
readonly attrs: {
|
|
199
|
+
readonly variant: "success" | "warning" | null;
|
|
200
|
+
};
|
|
201
|
+
readonly type: "highlight";
|
|
202
|
+
})[]];
|
|
203
|
+
readonly text: string;
|
|
204
|
+
readonly type: "text";
|
|
205
|
+
}, ...({
|
|
206
|
+
readonly attrs: {
|
|
207
|
+
readonly latex: string;
|
|
208
|
+
};
|
|
209
|
+
readonly type: "mathInline";
|
|
210
|
+
} | {
|
|
211
|
+
readonly marks?: readonly [{
|
|
212
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
213
|
+
} | {
|
|
214
|
+
readonly attrs: {
|
|
215
|
+
readonly href: string;
|
|
216
|
+
};
|
|
217
|
+
readonly type: "link";
|
|
218
|
+
} | {
|
|
219
|
+
readonly attrs: {
|
|
220
|
+
readonly variant: "success" | "warning" | null;
|
|
221
|
+
};
|
|
222
|
+
readonly type: "highlight";
|
|
223
|
+
}, ...({
|
|
224
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
225
|
+
} | {
|
|
226
|
+
readonly attrs: {
|
|
227
|
+
readonly href: string;
|
|
228
|
+
};
|
|
229
|
+
readonly type: "link";
|
|
230
|
+
} | {
|
|
231
|
+
readonly attrs: {
|
|
232
|
+
readonly variant: "success" | "warning" | null;
|
|
233
|
+
};
|
|
234
|
+
readonly type: "highlight";
|
|
235
|
+
})[]];
|
|
236
|
+
readonly text: string;
|
|
237
|
+
readonly type: "text";
|
|
238
|
+
})[]], E, never, never>>;
|
|
38
239
|
readonly title: RichSlot<E>;
|
|
39
240
|
readonly actual: Schema.Finite;
|
|
40
241
|
readonly labels: Schema.Struct<{
|
|
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
7
7
|
export declare function recordVisuals<E>(rich: RichSlot<E>): {
|
|
8
8
|
TickerTapeMotionLab: 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 acceleration: RichSlot<E>;
|
|
@@ -21,6 +88,73 @@ export declare function recordVisuals<E>(rich: RichSlot<E>): {
|
|
|
21
88
|
}>, "figure">;
|
|
22
89
|
StrobePhotoMotionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
23
90
|
readonly description: RichSlot<E>;
|
|
91
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
92
|
+
readonly attrs: {
|
|
93
|
+
readonly latex: string;
|
|
94
|
+
};
|
|
95
|
+
readonly type: "mathInline";
|
|
96
|
+
} | {
|
|
97
|
+
readonly marks?: readonly [{
|
|
98
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
99
|
+
} | {
|
|
100
|
+
readonly attrs: {
|
|
101
|
+
readonly href: string;
|
|
102
|
+
};
|
|
103
|
+
readonly type: "link";
|
|
104
|
+
} | {
|
|
105
|
+
readonly attrs: {
|
|
106
|
+
readonly variant: "success" | "warning" | null;
|
|
107
|
+
};
|
|
108
|
+
readonly type: "highlight";
|
|
109
|
+
}, ...({
|
|
110
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
111
|
+
} | {
|
|
112
|
+
readonly attrs: {
|
|
113
|
+
readonly href: string;
|
|
114
|
+
};
|
|
115
|
+
readonly type: "link";
|
|
116
|
+
} | {
|
|
117
|
+
readonly attrs: {
|
|
118
|
+
readonly variant: "success" | "warning" | null;
|
|
119
|
+
};
|
|
120
|
+
readonly type: "highlight";
|
|
121
|
+
})[]];
|
|
122
|
+
readonly text: string;
|
|
123
|
+
readonly type: "text";
|
|
124
|
+
}, ...({
|
|
125
|
+
readonly attrs: {
|
|
126
|
+
readonly latex: string;
|
|
127
|
+
};
|
|
128
|
+
readonly type: "mathInline";
|
|
129
|
+
} | {
|
|
130
|
+
readonly marks?: readonly [{
|
|
131
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
132
|
+
} | {
|
|
133
|
+
readonly attrs: {
|
|
134
|
+
readonly href: string;
|
|
135
|
+
};
|
|
136
|
+
readonly type: "link";
|
|
137
|
+
} | {
|
|
138
|
+
readonly attrs: {
|
|
139
|
+
readonly variant: "success" | "warning" | null;
|
|
140
|
+
};
|
|
141
|
+
readonly type: "highlight";
|
|
142
|
+
}, ...({
|
|
143
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
144
|
+
} | {
|
|
145
|
+
readonly attrs: {
|
|
146
|
+
readonly href: string;
|
|
147
|
+
};
|
|
148
|
+
readonly type: "link";
|
|
149
|
+
} | {
|
|
150
|
+
readonly attrs: {
|
|
151
|
+
readonly variant: "success" | "warning" | null;
|
|
152
|
+
};
|
|
153
|
+
readonly type: "highlight";
|
|
154
|
+
})[]];
|
|
155
|
+
readonly text: string;
|
|
156
|
+
readonly type: "text";
|
|
157
|
+
})[]], E, never, never>>;
|
|
24
158
|
readonly title: RichSlot<E>;
|
|
25
159
|
readonly labels: Schema.Struct<{
|
|
26
160
|
readonly airTime: RichSlot<E>;
|