@nakafa/aksara-contracts 8.9.1 → 8.12.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/assessment/choice.d.ts +26 -0
- package/dist/assessment/document.d.ts +39 -0
- package/dist/assessment/figure.d.ts +13 -0
- package/dist/assessment/hash.d.ts +711 -111
- package/dist/assessment/inline.d.ts +53 -0
- package/dist/assessment/inline.js +1 -0
- package/dist/assessment/interaction.d.ts +26 -0
- package/dist/assessment/item.d.ts +414 -36
- package/dist/assessment/paper.d.ts +731 -131
- package/dist/assessment/part.d.ts +13 -0
- package/dist/assessment/rows.d.ts +336 -36
- package/dist/assessment/snapshot.d.ts +773 -121
- package/dist/release/snapshot/data.d.ts +26 -0
- package/dist/release/snapshot/verify.d.ts +336 -36
- package/dist/transport/group.d.ts +78 -0
- package/dist/transport/request.d.ts +2195 -343
- package/dist/transport/snapshot.d.ts +52 -0
- package/dist/visual/base/math.d.ts +56 -6
- package/dist/visual/base/media.d.ts +56 -6
- package/dist/visual/biology/bacteria.d.ts +224 -24
- package/dist/visual/biology/binomial.d.ts +139 -0
- package/dist/visual/biology/binomial.js +46 -0
- package/dist/visual/biology/blood.d.ts +56 -6
- package/dist/visual/biology/bone.d.ts +141 -0
- package/dist/visual/biology/bone.js +46 -0
- package/dist/visual/biology/cell.d.ts +168 -18
- package/dist/visual/biology/chromosome.d.ts +139 -0
- package/dist/visual/biology/chromosome.js +42 -0
- package/dist/visual/biology/climate.d.ts +168 -18
- package/dist/visual/biology/control.d.ts +17 -0
- package/dist/visual/biology/control.js +21 -0
- package/dist/visual/biology/denature.d.ts +159 -0
- package/dist/visual/biology/denature.js +74 -0
- package/dist/visual/biology/drawing.d.ts +151 -0
- package/dist/visual/biology/drawing.js +69 -0
- package/dist/visual/biology/ecology.d.ts +224 -24
- package/dist/visual/biology/enzyme.d.ts +145 -0
- package/dist/visual/biology/enzyme.js +54 -0
- package/dist/visual/biology/equipment.d.ts +140 -0
- package/dist/visual/biology/equipment.js +64 -0
- package/dist/visual/biology/gametogenesis.d.ts +145 -0
- package/dist/visual/biology/gametogenesis.js +83 -0
- package/dist/visual/biology/heart.d.ts +56 -6
- package/dist/visual/biology/implantation.d.ts +138 -0
- package/dist/visual/biology/implantation.js +44 -0
- package/dist/visual/biology/joint.d.ts +140 -0
- package/dist/visual/biology/joint.js +47 -0
- package/dist/visual/biology/key.d.ts +141 -0
- package/dist/visual/biology/key.js +58 -0
- package/dist/visual/biology/kingdom.d.ts +142 -0
- package/dist/visual/biology/kingdom.js +82 -0
- package/dist/visual/biology/lactase.d.ts +147 -0
- package/dist/visual/biology/lactase.js +48 -0
- package/dist/visual/biology/limb.d.ts +139 -0
- package/dist/visual/biology/limb.js +44 -0
- package/dist/visual/biology/lipid.d.ts +144 -0
- package/dist/visual/biology/lipid.js +43 -0
- package/dist/visual/biology/locomotion.d.ts +141 -0
- package/dist/visual/biology/locomotion.js +48 -0
- package/dist/visual/biology/menstrual.d.ts +148 -0
- package/dist/visual/biology/menstrual.js +65 -0
- package/dist/visual/biology/metamorphosis.d.ts +140 -0
- package/dist/visual/biology/metamorphosis.js +34 -0
- package/dist/visual/biology/mitochondrion.d.ts +56 -6
- package/dist/visual/biology/muscle.d.ts +56 -6
- package/dist/visual/biology/neuron.d.ts +56 -6
- package/dist/visual/biology/paddy.d.ts +56 -6
- package/dist/visual/biology/physiology.d.ts +168 -18
- package/dist/visual/biology/placenta.d.ts +139 -0
- package/dist/visual/biology/placenta.js +52 -0
- package/dist/visual/biology/planes.d.ts +145 -0
- package/dist/visual/biology/planes.js +62 -0
- package/dist/visual/biology/plant.d.ts +280 -30
- package/dist/visual/biology/protein.d.ts +142 -0
- package/dist/visual/biology/protein.js +41 -0
- package/dist/visual/biology/saturation.d.ts +149 -0
- package/dist/visual/biology/saturation.js +40 -0
- package/dist/visual/biology/secretion.d.ts +149 -0
- package/dist/visual/biology/secretion.js +79 -0
- package/dist/visual/biology/spill.d.ts +165 -0
- package/dist/visual/biology/spill.js +58 -0
- package/dist/visual/biology/sugar.d.ts +152 -0
- package/dist/visual/biology/sugar.js +59 -0
- package/dist/visual/biology/synapse.d.ts +56 -6
- package/dist/visual/biology/taxon.d.ts +138 -0
- package/dist/visual/biology/taxon.js +50 -0
- package/dist/visual/biology/twins.d.ts +144 -0
- package/dist/visual/biology/twins.js +60 -0
- package/dist/visual/biology/vernacular.d.ts +141 -0
- package/dist/visual/biology/vernacular.js +57 -0
- package/dist/visual/biology/vertebra.d.ts +141 -0
- package/dist/visual/biology/vertebra.js +59 -0
- package/dist/visual/biology/vessel.d.ts +56 -6
- package/dist/visual/biology/waste.d.ts +140 -0
- package/dist/visual/biology/waste.js +57 -0
- package/dist/visual/biology/water.d.ts +152 -0
- package/dist/visual/biology/water.js +54 -0
- package/dist/visual/biology/yeast.d.ts +56 -6
- package/dist/visual/card.d.ts +67 -6
- package/dist/visual/card.js +17 -1
- package/dist/visual/catalog.d.ts +21584 -5487
- package/dist/visual/catalog.js +66 -0
- package/dist/visual/chemistry/atom.d.ts +168 -18
- package/dist/visual/chemistry/balance.d.ts +280 -30
- package/dist/visual/chemistry/bonding.d.ts +280 -30
- package/dist/visual/chemistry/discovery.d.ts +392 -42
- package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
- package/dist/visual/chemistry/electron.d.ts +112 -12
- package/dist/visual/chemistry/laws.d.ts +224 -24
- package/dist/visual/chemistry/particles.d.ts +280 -30
- package/dist/visual/chemistry/periodic.d.ts +112 -12
- package/dist/visual/chemistry/rate.d.ts +56 -6
- package/dist/visual/chemistry/reaction.d.ts +168 -18
- package/dist/visual/chemistry/titration.d.ts +56 -6
- package/dist/visual/length.d.ts +56 -6
- package/dist/visual/mathematics/argument.d.ts +226 -0
- package/dist/visual/mathematics/argument.js +150 -0
- package/dist/visual/mathematics/chance.d.ts +168 -18
- package/dist/visual/mathematics/chart.d.ts +56 -6
- package/dist/visual/mathematics/charts.d.ts +280 -30
- package/dist/visual/mathematics/counterexample.d.ts +340 -0
- package/dist/visual/mathematics/counterexample.js +157 -0
- package/dist/visual/mathematics/function.d.ts +168 -18
- package/dist/visual/mathematics/journey.d.ts +56 -6
- package/dist/visual/mathematics/logic.d.ts +56 -6
- package/dist/visual/mathematics/network.d.ts +56 -6
- package/dist/visual/mathematics/numeral.d.ts +168 -18
- package/dist/visual/mathematics/sets.d.ts +56 -6
- package/dist/visual/physics/braking.d.ts +224 -24
- package/dist/visual/physics/circuit.d.ts +224 -24
- package/dist/visual/physics/circular.d.ts +112 -12
- package/dist/visual/physics/dynamics.d.ts +392 -42
- package/dist/visual/physics/efficiency.d.ts +336 -36
- package/dist/visual/physics/electronics.d.ts +168 -18
- package/dist/visual/physics/falling.d.ts +224 -24
- package/dist/visual/physics/field.d.ts +168 -18
- package/dist/visual/physics/fluid.d.ts +224 -24
- package/dist/visual/physics/force.d.ts +280 -30
- package/dist/visual/physics/gravity.d.ts +112 -12
- package/dist/visual/physics/heat.d.ts +168 -18
- package/dist/visual/physics/instrument.d.ts +392 -42
- package/dist/visual/physics/light.d.ts +224 -24
- package/dist/visual/physics/measurement.d.ts +224 -24
- package/dist/visual/physics/motion.d.ts +336 -36
- package/dist/visual/physics/nuclear.d.ts +168 -18
- package/dist/visual/physics/parabolic.d.ts +56 -6
- package/dist/visual/physics/position.d.ts +336 -36
- package/dist/visual/physics/power.d.ts +448 -48
- package/dist/visual/physics/precision.d.ts +392 -42
- package/dist/visual/physics/product.d.ts +224 -24
- package/dist/visual/physics/reading.d.ts +168 -18
- package/dist/visual/physics/record.d.ts +112 -12
- package/dist/visual/physics/relative.d.ts +168 -18
- package/dist/visual/physics/solar.d.ts +336 -36
- package/dist/visual/physics/thermodynamics.d.ts +56 -6
- package/dist/visual/physics/vector.d.ts +280 -30
- package/dist/visual/physics/velocity.d.ts +392 -42
- package/dist/visual/physics/wave.d.ts +224 -24
- package/dist/visual/politics.d.ts +336 -36
- package/package.json +1 -1
|
@@ -8,11 +8,64 @@ 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
10
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
11
|
+
readonly marks?: readonly [{
|
|
12
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
13
|
+
} | {
|
|
14
|
+
readonly attrs: {
|
|
15
|
+
readonly href: string;
|
|
16
|
+
};
|
|
17
|
+
readonly type: "link";
|
|
18
|
+
} | {
|
|
19
|
+
readonly attrs: {
|
|
20
|
+
readonly variant: "success" | "warning" | null;
|
|
21
|
+
};
|
|
22
|
+
readonly type: "highlight";
|
|
23
|
+
}, ...({
|
|
24
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
25
|
+
} | {
|
|
26
|
+
readonly attrs: {
|
|
27
|
+
readonly href: string;
|
|
28
|
+
};
|
|
29
|
+
readonly type: "link";
|
|
30
|
+
} | {
|
|
31
|
+
readonly attrs: {
|
|
32
|
+
readonly variant: "success" | "warning" | null;
|
|
33
|
+
};
|
|
34
|
+
readonly type: "highlight";
|
|
35
|
+
})[]];
|
|
36
|
+
readonly text: string;
|
|
37
|
+
readonly type: "text";
|
|
38
|
+
} | {
|
|
11
39
|
readonly attrs: {
|
|
12
40
|
readonly latex: string;
|
|
13
41
|
};
|
|
42
|
+
readonly marks?: readonly [{
|
|
43
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
44
|
+
} | {
|
|
45
|
+
readonly attrs: {
|
|
46
|
+
readonly href: string;
|
|
47
|
+
};
|
|
48
|
+
readonly type: "link";
|
|
49
|
+
} | {
|
|
50
|
+
readonly attrs: {
|
|
51
|
+
readonly variant: "success" | "warning" | null;
|
|
52
|
+
};
|
|
53
|
+
readonly type: "highlight";
|
|
54
|
+
}, ...({
|
|
55
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
56
|
+
} | {
|
|
57
|
+
readonly attrs: {
|
|
58
|
+
readonly href: string;
|
|
59
|
+
};
|
|
60
|
+
readonly type: "link";
|
|
61
|
+
} | {
|
|
62
|
+
readonly attrs: {
|
|
63
|
+
readonly variant: "success" | "warning" | null;
|
|
64
|
+
};
|
|
65
|
+
readonly type: "highlight";
|
|
66
|
+
})[]];
|
|
14
67
|
readonly type: "mathInline";
|
|
15
|
-
}
|
|
68
|
+
}, ...({
|
|
16
69
|
readonly marks?: readonly [{
|
|
17
70
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
18
71
|
} | {
|
|
@@ -40,12 +93,10 @@ export declare function recordVisuals<E>(rich: RichSlot<E>): {
|
|
|
40
93
|
})[]];
|
|
41
94
|
readonly text: string;
|
|
42
95
|
readonly type: "text";
|
|
43
|
-
}
|
|
96
|
+
} | {
|
|
44
97
|
readonly attrs: {
|
|
45
98
|
readonly latex: string;
|
|
46
99
|
};
|
|
47
|
-
readonly type: "mathInline";
|
|
48
|
-
} | {
|
|
49
100
|
readonly marks?: readonly [{
|
|
50
101
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
51
102
|
} | {
|
|
@@ -71,8 +122,7 @@ export declare function recordVisuals<E>(rich: RichSlot<E>): {
|
|
|
71
122
|
};
|
|
72
123
|
readonly type: "highlight";
|
|
73
124
|
})[]];
|
|
74
|
-
readonly
|
|
75
|
-
readonly type: "text";
|
|
125
|
+
readonly type: "mathInline";
|
|
76
126
|
})[]], E, never, never>>;
|
|
77
127
|
readonly title: RichSlot<E>;
|
|
78
128
|
readonly labels: Schema.Struct<{
|
|
@@ -89,11 +139,64 @@ export declare function recordVisuals<E>(rich: RichSlot<E>): {
|
|
|
89
139
|
StrobePhotoMotionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
90
140
|
readonly description: RichSlot<E>;
|
|
91
141
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
142
|
+
readonly marks?: readonly [{
|
|
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
156
|
+
} | {
|
|
157
|
+
readonly attrs: {
|
|
158
|
+
readonly href: string;
|
|
159
|
+
};
|
|
160
|
+
readonly type: "link";
|
|
161
|
+
} | {
|
|
162
|
+
readonly attrs: {
|
|
163
|
+
readonly variant: "success" | "warning" | null;
|
|
164
|
+
};
|
|
165
|
+
readonly type: "highlight";
|
|
166
|
+
})[]];
|
|
167
|
+
readonly text: string;
|
|
168
|
+
readonly type: "text";
|
|
169
|
+
} | {
|
|
92
170
|
readonly attrs: {
|
|
93
171
|
readonly latex: string;
|
|
94
172
|
};
|
|
173
|
+
readonly marks?: readonly [{
|
|
174
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
175
|
+
} | {
|
|
176
|
+
readonly attrs: {
|
|
177
|
+
readonly href: string;
|
|
178
|
+
};
|
|
179
|
+
readonly type: "link";
|
|
180
|
+
} | {
|
|
181
|
+
readonly attrs: {
|
|
182
|
+
readonly variant: "success" | "warning" | null;
|
|
183
|
+
};
|
|
184
|
+
readonly type: "highlight";
|
|
185
|
+
}, ...({
|
|
186
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
187
|
+
} | {
|
|
188
|
+
readonly attrs: {
|
|
189
|
+
readonly href: string;
|
|
190
|
+
};
|
|
191
|
+
readonly type: "link";
|
|
192
|
+
} | {
|
|
193
|
+
readonly attrs: {
|
|
194
|
+
readonly variant: "success" | "warning" | null;
|
|
195
|
+
};
|
|
196
|
+
readonly type: "highlight";
|
|
197
|
+
})[]];
|
|
95
198
|
readonly type: "mathInline";
|
|
96
|
-
}
|
|
199
|
+
}, ...({
|
|
97
200
|
readonly marks?: readonly [{
|
|
98
201
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
99
202
|
} | {
|
|
@@ -121,12 +224,10 @@ export declare function recordVisuals<E>(rich: RichSlot<E>): {
|
|
|
121
224
|
})[]];
|
|
122
225
|
readonly text: string;
|
|
123
226
|
readonly type: "text";
|
|
124
|
-
}
|
|
227
|
+
} | {
|
|
125
228
|
readonly attrs: {
|
|
126
229
|
readonly latex: string;
|
|
127
230
|
};
|
|
128
|
-
readonly type: "mathInline";
|
|
129
|
-
} | {
|
|
130
231
|
readonly marks?: readonly [{
|
|
131
232
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
132
233
|
} | {
|
|
@@ -152,8 +253,7 @@ export declare function recordVisuals<E>(rich: RichSlot<E>): {
|
|
|
152
253
|
};
|
|
153
254
|
readonly type: "highlight";
|
|
154
255
|
})[]];
|
|
155
|
-
readonly
|
|
156
|
-
readonly type: "text";
|
|
256
|
+
readonly type: "mathInline";
|
|
157
257
|
})[]], E, never, never>>;
|
|
158
258
|
readonly title: RichSlot<E>;
|
|
159
259
|
readonly labels: Schema.Struct<{
|
|
@@ -8,11 +8,64 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
RainDriveRelativeVelocityLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
9
9
|
readonly description: RichSlot<E>;
|
|
10
10
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
11
|
+
readonly marks?: readonly [{
|
|
12
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
13
|
+
} | {
|
|
14
|
+
readonly attrs: {
|
|
15
|
+
readonly href: string;
|
|
16
|
+
};
|
|
17
|
+
readonly type: "link";
|
|
18
|
+
} | {
|
|
19
|
+
readonly attrs: {
|
|
20
|
+
readonly variant: "success" | "warning" | null;
|
|
21
|
+
};
|
|
22
|
+
readonly type: "highlight";
|
|
23
|
+
}, ...({
|
|
24
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
25
|
+
} | {
|
|
26
|
+
readonly attrs: {
|
|
27
|
+
readonly href: string;
|
|
28
|
+
};
|
|
29
|
+
readonly type: "link";
|
|
30
|
+
} | {
|
|
31
|
+
readonly attrs: {
|
|
32
|
+
readonly variant: "success" | "warning" | null;
|
|
33
|
+
};
|
|
34
|
+
readonly type: "highlight";
|
|
35
|
+
})[]];
|
|
36
|
+
readonly text: string;
|
|
37
|
+
readonly type: "text";
|
|
38
|
+
} | {
|
|
11
39
|
readonly attrs: {
|
|
12
40
|
readonly latex: string;
|
|
13
41
|
};
|
|
42
|
+
readonly marks?: readonly [{
|
|
43
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
44
|
+
} | {
|
|
45
|
+
readonly attrs: {
|
|
46
|
+
readonly href: string;
|
|
47
|
+
};
|
|
48
|
+
readonly type: "link";
|
|
49
|
+
} | {
|
|
50
|
+
readonly attrs: {
|
|
51
|
+
readonly variant: "success" | "warning" | null;
|
|
52
|
+
};
|
|
53
|
+
readonly type: "highlight";
|
|
54
|
+
}, ...({
|
|
55
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
56
|
+
} | {
|
|
57
|
+
readonly attrs: {
|
|
58
|
+
readonly href: string;
|
|
59
|
+
};
|
|
60
|
+
readonly type: "link";
|
|
61
|
+
} | {
|
|
62
|
+
readonly attrs: {
|
|
63
|
+
readonly variant: "success" | "warning" | null;
|
|
64
|
+
};
|
|
65
|
+
readonly type: "highlight";
|
|
66
|
+
})[]];
|
|
14
67
|
readonly type: "mathInline";
|
|
15
|
-
}
|
|
68
|
+
}, ...({
|
|
16
69
|
readonly marks?: readonly [{
|
|
17
70
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
18
71
|
} | {
|
|
@@ -40,12 +93,10 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
|
|
|
40
93
|
})[]];
|
|
41
94
|
readonly text: string;
|
|
42
95
|
readonly type: "text";
|
|
43
|
-
}
|
|
96
|
+
} | {
|
|
44
97
|
readonly attrs: {
|
|
45
98
|
readonly latex: string;
|
|
46
99
|
};
|
|
47
|
-
readonly type: "mathInline";
|
|
48
|
-
} | {
|
|
49
100
|
readonly marks?: readonly [{
|
|
50
101
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
51
102
|
} | {
|
|
@@ -71,8 +122,7 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
|
|
|
71
122
|
};
|
|
72
123
|
readonly type: "highlight";
|
|
73
124
|
})[]];
|
|
74
|
-
readonly
|
|
75
|
-
readonly type: "text";
|
|
125
|
+
readonly type: "mathInline";
|
|
76
126
|
})[]], E, never, never>>;
|
|
77
127
|
readonly title: RichSlot<E>;
|
|
78
128
|
readonly car: Schema.optionalKey<Schema.Finite>;
|
|
@@ -91,11 +141,64 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
|
|
|
91
141
|
RiverBoatCrossingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
92
142
|
readonly description: RichSlot<E>;
|
|
93
143
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
144
|
+
readonly marks?: readonly [{
|
|
145
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
146
|
+
} | {
|
|
147
|
+
readonly attrs: {
|
|
148
|
+
readonly href: string;
|
|
149
|
+
};
|
|
150
|
+
readonly type: "link";
|
|
151
|
+
} | {
|
|
152
|
+
readonly attrs: {
|
|
153
|
+
readonly variant: "success" | "warning" | null;
|
|
154
|
+
};
|
|
155
|
+
readonly type: "highlight";
|
|
156
|
+
}, ...({
|
|
157
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
158
|
+
} | {
|
|
159
|
+
readonly attrs: {
|
|
160
|
+
readonly href: string;
|
|
161
|
+
};
|
|
162
|
+
readonly type: "link";
|
|
163
|
+
} | {
|
|
164
|
+
readonly attrs: {
|
|
165
|
+
readonly variant: "success" | "warning" | null;
|
|
166
|
+
};
|
|
167
|
+
readonly type: "highlight";
|
|
168
|
+
})[]];
|
|
169
|
+
readonly text: string;
|
|
170
|
+
readonly type: "text";
|
|
171
|
+
} | {
|
|
94
172
|
readonly attrs: {
|
|
95
173
|
readonly latex: string;
|
|
96
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
|
+
})[]];
|
|
97
200
|
readonly type: "mathInline";
|
|
98
|
-
}
|
|
201
|
+
}, ...({
|
|
99
202
|
readonly marks?: readonly [{
|
|
100
203
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
101
204
|
} | {
|
|
@@ -123,12 +226,10 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
|
|
|
123
226
|
})[]];
|
|
124
227
|
readonly text: string;
|
|
125
228
|
readonly type: "text";
|
|
126
|
-
}
|
|
229
|
+
} | {
|
|
127
230
|
readonly attrs: {
|
|
128
231
|
readonly latex: string;
|
|
129
232
|
};
|
|
130
|
-
readonly type: "mathInline";
|
|
131
|
-
} | {
|
|
132
233
|
readonly marks?: readonly [{
|
|
133
234
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
134
235
|
} | {
|
|
@@ -154,8 +255,7 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
|
|
|
154
255
|
};
|
|
155
256
|
readonly type: "highlight";
|
|
156
257
|
})[]];
|
|
157
|
-
readonly
|
|
158
|
-
readonly type: "text";
|
|
258
|
+
readonly type: "mathInline";
|
|
159
259
|
})[]], E, never, never>>;
|
|
160
260
|
readonly title: RichSlot<E>;
|
|
161
261
|
readonly boatSpeed: Schema.Finite;
|
|
@@ -175,11 +275,64 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
|
|
|
175
275
|
TrainPassengerRelativeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
176
276
|
readonly description: RichSlot<E>;
|
|
177
277
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
278
|
+
readonly marks?: readonly [{
|
|
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
292
|
+
} | {
|
|
293
|
+
readonly attrs: {
|
|
294
|
+
readonly href: string;
|
|
295
|
+
};
|
|
296
|
+
readonly type: "link";
|
|
297
|
+
} | {
|
|
298
|
+
readonly attrs: {
|
|
299
|
+
readonly variant: "success" | "warning" | null;
|
|
300
|
+
};
|
|
301
|
+
readonly type: "highlight";
|
|
302
|
+
})[]];
|
|
303
|
+
readonly text: string;
|
|
304
|
+
readonly type: "text";
|
|
305
|
+
} | {
|
|
178
306
|
readonly attrs: {
|
|
179
307
|
readonly latex: string;
|
|
180
308
|
};
|
|
309
|
+
readonly marks?: readonly [{
|
|
310
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
311
|
+
} | {
|
|
312
|
+
readonly attrs: {
|
|
313
|
+
readonly href: string;
|
|
314
|
+
};
|
|
315
|
+
readonly type: "link";
|
|
316
|
+
} | {
|
|
317
|
+
readonly attrs: {
|
|
318
|
+
readonly variant: "success" | "warning" | null;
|
|
319
|
+
};
|
|
320
|
+
readonly type: "highlight";
|
|
321
|
+
}, ...({
|
|
322
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
323
|
+
} | {
|
|
324
|
+
readonly attrs: {
|
|
325
|
+
readonly href: string;
|
|
326
|
+
};
|
|
327
|
+
readonly type: "link";
|
|
328
|
+
} | {
|
|
329
|
+
readonly attrs: {
|
|
330
|
+
readonly variant: "success" | "warning" | null;
|
|
331
|
+
};
|
|
332
|
+
readonly type: "highlight";
|
|
333
|
+
})[]];
|
|
181
334
|
readonly type: "mathInline";
|
|
182
|
-
}
|
|
335
|
+
}, ...({
|
|
183
336
|
readonly marks?: readonly [{
|
|
184
337
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
185
338
|
} | {
|
|
@@ -207,12 +360,10 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
|
|
|
207
360
|
})[]];
|
|
208
361
|
readonly text: string;
|
|
209
362
|
readonly type: "text";
|
|
210
|
-
}
|
|
363
|
+
} | {
|
|
211
364
|
readonly attrs: {
|
|
212
365
|
readonly latex: string;
|
|
213
366
|
};
|
|
214
|
-
readonly type: "mathInline";
|
|
215
|
-
} | {
|
|
216
367
|
readonly marks?: readonly [{
|
|
217
368
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
218
369
|
} | {
|
|
@@ -238,8 +389,7 @@ export declare function relativeVisuals<E>(rich: RichSlot<E>): {
|
|
|
238
389
|
};
|
|
239
390
|
readonly type: "highlight";
|
|
240
391
|
})[]];
|
|
241
|
-
readonly
|
|
242
|
-
readonly type: "text";
|
|
392
|
+
readonly type: "mathInline";
|
|
243
393
|
})[]], E, never, never>>;
|
|
244
394
|
readonly title: RichSlot<E>;
|
|
245
395
|
readonly labels: Schema.Struct<{
|