@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 ecology and disease labs. No prop states the conclusion a
|
|
5
5
|
* lab leads to, so none holds answer state.
|
|
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
7
7
|
export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
|
|
8
8
|
PredatorPreyLab: 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 capacity: Schema.optionalKey<Schema.Finite>;
|
|
12
79
|
readonly labels: Schema.Struct<{
|
|
@@ -20,6 +87,73 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
20
87
|
}>, "figure">;
|
|
21
88
|
EpidemicSpreadLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
22
89
|
readonly description: RichSlot<E>;
|
|
90
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
91
|
+
readonly attrs: {
|
|
92
|
+
readonly latex: string;
|
|
93
|
+
};
|
|
94
|
+
readonly type: "mathInline";
|
|
95
|
+
} | {
|
|
96
|
+
readonly marks?: readonly [{
|
|
97
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
98
|
+
} | {
|
|
99
|
+
readonly attrs: {
|
|
100
|
+
readonly href: string;
|
|
101
|
+
};
|
|
102
|
+
readonly type: "link";
|
|
103
|
+
} | {
|
|
104
|
+
readonly attrs: {
|
|
105
|
+
readonly variant: "success" | "warning" | null;
|
|
106
|
+
};
|
|
107
|
+
readonly type: "highlight";
|
|
108
|
+
}, ...({
|
|
109
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
110
|
+
} | {
|
|
111
|
+
readonly attrs: {
|
|
112
|
+
readonly href: string;
|
|
113
|
+
};
|
|
114
|
+
readonly type: "link";
|
|
115
|
+
} | {
|
|
116
|
+
readonly attrs: {
|
|
117
|
+
readonly variant: "success" | "warning" | null;
|
|
118
|
+
};
|
|
119
|
+
readonly type: "highlight";
|
|
120
|
+
})[]];
|
|
121
|
+
readonly text: string;
|
|
122
|
+
readonly type: "text";
|
|
123
|
+
}, ...({
|
|
124
|
+
readonly attrs: {
|
|
125
|
+
readonly latex: string;
|
|
126
|
+
};
|
|
127
|
+
readonly type: "mathInline";
|
|
128
|
+
} | {
|
|
129
|
+
readonly marks?: readonly [{
|
|
130
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
131
|
+
} | {
|
|
132
|
+
readonly attrs: {
|
|
133
|
+
readonly href: string;
|
|
134
|
+
};
|
|
135
|
+
readonly type: "link";
|
|
136
|
+
} | {
|
|
137
|
+
readonly attrs: {
|
|
138
|
+
readonly variant: "success" | "warning" | null;
|
|
139
|
+
};
|
|
140
|
+
readonly type: "highlight";
|
|
141
|
+
}, ...({
|
|
142
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
143
|
+
} | {
|
|
144
|
+
readonly attrs: {
|
|
145
|
+
readonly href: string;
|
|
146
|
+
};
|
|
147
|
+
readonly type: "link";
|
|
148
|
+
} | {
|
|
149
|
+
readonly attrs: {
|
|
150
|
+
readonly variant: "success" | "warning" | null;
|
|
151
|
+
};
|
|
152
|
+
readonly type: "highlight";
|
|
153
|
+
})[]];
|
|
154
|
+
readonly text: string;
|
|
155
|
+
readonly type: "text";
|
|
156
|
+
})[]], E, never, never>>;
|
|
23
157
|
readonly title: RichSlot<E>;
|
|
24
158
|
readonly labels: Schema.Struct<{
|
|
25
159
|
readonly chooseRoute: Schema.optionalKey<Schema.Trimmed>;
|
|
@@ -44,6 +178,73 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
44
178
|
}>, "figure">;
|
|
45
179
|
HyphaeDecayLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
46
180
|
readonly description: RichSlot<E>;
|
|
181
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
182
|
+
readonly attrs: {
|
|
183
|
+
readonly latex: string;
|
|
184
|
+
};
|
|
185
|
+
readonly type: "mathInline";
|
|
186
|
+
} | {
|
|
187
|
+
readonly marks?: readonly [{
|
|
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
201
|
+
} | {
|
|
202
|
+
readonly attrs: {
|
|
203
|
+
readonly href: string;
|
|
204
|
+
};
|
|
205
|
+
readonly type: "link";
|
|
206
|
+
} | {
|
|
207
|
+
readonly attrs: {
|
|
208
|
+
readonly variant: "success" | "warning" | null;
|
|
209
|
+
};
|
|
210
|
+
readonly type: "highlight";
|
|
211
|
+
})[]];
|
|
212
|
+
readonly text: string;
|
|
213
|
+
readonly type: "text";
|
|
214
|
+
}, ...({
|
|
215
|
+
readonly attrs: {
|
|
216
|
+
readonly latex: string;
|
|
217
|
+
};
|
|
218
|
+
readonly type: "mathInline";
|
|
219
|
+
} | {
|
|
220
|
+
readonly marks?: readonly [{
|
|
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 type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
234
|
+
} | {
|
|
235
|
+
readonly attrs: {
|
|
236
|
+
readonly href: string;
|
|
237
|
+
};
|
|
238
|
+
readonly type: "link";
|
|
239
|
+
} | {
|
|
240
|
+
readonly attrs: {
|
|
241
|
+
readonly variant: "success" | "warning" | null;
|
|
242
|
+
};
|
|
243
|
+
readonly type: "highlight";
|
|
244
|
+
})[]];
|
|
245
|
+
readonly text: string;
|
|
246
|
+
readonly type: "text";
|
|
247
|
+
})[]], E, never, never>>;
|
|
47
248
|
readonly title: RichSlot<E>;
|
|
48
249
|
readonly labels: Schema.Struct<{
|
|
49
250
|
readonly cover: RichSlot<E>;
|
|
@@ -56,6 +257,73 @@ export declare function ecologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
56
257
|
}>, "figure">;
|
|
57
258
|
AntibodyNeutralizeLab: 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 labels: Schema.Struct<{
|
|
61
329
|
readonly blocked: RichSlot<E>;
|
|
@@ -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 physiology labs. Each prop sets up an instrument or names
|
|
5
5
|
* its words; none states the conclusion the lab leads to, so none holds answer
|
|
@@ -8,6 +8,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
8
8
|
export declare function physiologyVisuals<E>(rich: RichSlot<E>): {
|
|
9
9
|
MicroscopeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
10
10
|
readonly description: RichSlot<E>;
|
|
11
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
12
|
+
readonly attrs: {
|
|
13
|
+
readonly latex: string;
|
|
14
|
+
};
|
|
15
|
+
readonly type: "mathInline";
|
|
16
|
+
} | {
|
|
17
|
+
readonly marks?: readonly [{
|
|
18
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
19
|
+
} | {
|
|
20
|
+
readonly attrs: {
|
|
21
|
+
readonly href: string;
|
|
22
|
+
};
|
|
23
|
+
readonly type: "link";
|
|
24
|
+
} | {
|
|
25
|
+
readonly attrs: {
|
|
26
|
+
readonly variant: "success" | "warning" | null;
|
|
27
|
+
};
|
|
28
|
+
readonly type: "highlight";
|
|
29
|
+
}, ...({
|
|
30
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
31
|
+
} | {
|
|
32
|
+
readonly attrs: {
|
|
33
|
+
readonly href: string;
|
|
34
|
+
};
|
|
35
|
+
readonly type: "link";
|
|
36
|
+
} | {
|
|
37
|
+
readonly attrs: {
|
|
38
|
+
readonly variant: "success" | "warning" | null;
|
|
39
|
+
};
|
|
40
|
+
readonly type: "highlight";
|
|
41
|
+
})[]];
|
|
42
|
+
readonly text: string;
|
|
43
|
+
readonly type: "text";
|
|
44
|
+
}, ...({
|
|
45
|
+
readonly attrs: {
|
|
46
|
+
readonly latex: string;
|
|
47
|
+
};
|
|
48
|
+
readonly type: "mathInline";
|
|
49
|
+
} | {
|
|
50
|
+
readonly marks?: readonly [{
|
|
51
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
52
|
+
} | {
|
|
53
|
+
readonly attrs: {
|
|
54
|
+
readonly href: string;
|
|
55
|
+
};
|
|
56
|
+
readonly type: "link";
|
|
57
|
+
} | {
|
|
58
|
+
readonly attrs: {
|
|
59
|
+
readonly variant: "success" | "warning" | null;
|
|
60
|
+
};
|
|
61
|
+
readonly type: "highlight";
|
|
62
|
+
}, ...({
|
|
63
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
64
|
+
} | {
|
|
65
|
+
readonly attrs: {
|
|
66
|
+
readonly href: string;
|
|
67
|
+
};
|
|
68
|
+
readonly type: "link";
|
|
69
|
+
} | {
|
|
70
|
+
readonly attrs: {
|
|
71
|
+
readonly variant: "success" | "warning" | null;
|
|
72
|
+
};
|
|
73
|
+
readonly type: "highlight";
|
|
74
|
+
})[]];
|
|
75
|
+
readonly text: string;
|
|
76
|
+
readonly type: "text";
|
|
77
|
+
})[]], E, never, never>>;
|
|
11
78
|
readonly title: RichSlot<E>;
|
|
12
79
|
readonly cell: Schema.optionalKey<Schema.Finite>;
|
|
13
80
|
readonly eyepiece: Schema.Finite;
|
|
@@ -38,6 +105,73 @@ export declare function physiologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
38
105
|
}>, "figure">;
|
|
39
106
|
NephronLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
40
107
|
readonly description: RichSlot<E>;
|
|
108
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
109
|
+
readonly attrs: {
|
|
110
|
+
readonly latex: string;
|
|
111
|
+
};
|
|
112
|
+
readonly type: "mathInline";
|
|
113
|
+
} | {
|
|
114
|
+
readonly marks?: readonly [{
|
|
115
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
116
|
+
} | {
|
|
117
|
+
readonly attrs: {
|
|
118
|
+
readonly href: string;
|
|
119
|
+
};
|
|
120
|
+
readonly type: "link";
|
|
121
|
+
} | {
|
|
122
|
+
readonly attrs: {
|
|
123
|
+
readonly variant: "success" | "warning" | null;
|
|
124
|
+
};
|
|
125
|
+
readonly type: "highlight";
|
|
126
|
+
}, ...({
|
|
127
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
128
|
+
} | {
|
|
129
|
+
readonly attrs: {
|
|
130
|
+
readonly href: string;
|
|
131
|
+
};
|
|
132
|
+
readonly type: "link";
|
|
133
|
+
} | {
|
|
134
|
+
readonly attrs: {
|
|
135
|
+
readonly variant: "success" | "warning" | null;
|
|
136
|
+
};
|
|
137
|
+
readonly type: "highlight";
|
|
138
|
+
})[]];
|
|
139
|
+
readonly text: string;
|
|
140
|
+
readonly type: "text";
|
|
141
|
+
}, ...({
|
|
142
|
+
readonly attrs: {
|
|
143
|
+
readonly latex: string;
|
|
144
|
+
};
|
|
145
|
+
readonly type: "mathInline";
|
|
146
|
+
} | {
|
|
147
|
+
readonly marks?: readonly [{
|
|
148
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
149
|
+
} | {
|
|
150
|
+
readonly attrs: {
|
|
151
|
+
readonly href: string;
|
|
152
|
+
};
|
|
153
|
+
readonly type: "link";
|
|
154
|
+
} | {
|
|
155
|
+
readonly attrs: {
|
|
156
|
+
readonly variant: "success" | "warning" | null;
|
|
157
|
+
};
|
|
158
|
+
readonly type: "highlight";
|
|
159
|
+
}, ...({
|
|
160
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
161
|
+
} | {
|
|
162
|
+
readonly attrs: {
|
|
163
|
+
readonly href: string;
|
|
164
|
+
};
|
|
165
|
+
readonly type: "link";
|
|
166
|
+
} | {
|
|
167
|
+
readonly attrs: {
|
|
168
|
+
readonly variant: "success" | "warning" | null;
|
|
169
|
+
};
|
|
170
|
+
readonly type: "highlight";
|
|
171
|
+
})[]];
|
|
172
|
+
readonly text: string;
|
|
173
|
+
readonly type: "text";
|
|
174
|
+
})[]], E, never, never>>;
|
|
41
175
|
readonly title: RichSlot<E>;
|
|
42
176
|
readonly filtration: Schema.Finite;
|
|
43
177
|
readonly glucose: Schema.optionalKey<Schema.Struct<{
|
|
@@ -68,6 +202,73 @@ export declare function physiologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
68
202
|
}>, "figure">;
|
|
69
203
|
RespirometerLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
70
204
|
readonly description: RichSlot<E>;
|
|
205
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
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
|
+
}, ...({
|
|
239
|
+
readonly attrs: {
|
|
240
|
+
readonly latex: string;
|
|
241
|
+
};
|
|
242
|
+
readonly type: "mathInline";
|
|
243
|
+
} | {
|
|
244
|
+
readonly marks?: readonly [{
|
|
245
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
246
|
+
} | {
|
|
247
|
+
readonly attrs: {
|
|
248
|
+
readonly href: string;
|
|
249
|
+
};
|
|
250
|
+
readonly type: "link";
|
|
251
|
+
} | {
|
|
252
|
+
readonly attrs: {
|
|
253
|
+
readonly variant: "success" | "warning" | null;
|
|
254
|
+
};
|
|
255
|
+
readonly type: "highlight";
|
|
256
|
+
}, ...({
|
|
257
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
258
|
+
} | {
|
|
259
|
+
readonly attrs: {
|
|
260
|
+
readonly href: string;
|
|
261
|
+
};
|
|
262
|
+
readonly type: "link";
|
|
263
|
+
} | {
|
|
264
|
+
readonly attrs: {
|
|
265
|
+
readonly variant: "success" | "warning" | null;
|
|
266
|
+
};
|
|
267
|
+
readonly type: "highlight";
|
|
268
|
+
})[]];
|
|
269
|
+
readonly text: string;
|
|
270
|
+
readonly type: "text";
|
|
271
|
+
})[]], E, never, never>>;
|
|
71
272
|
readonly title: RichSlot<E>;
|
|
72
273
|
readonly carbonDioxide: Schema.Finite;
|
|
73
274
|
readonly labels: Schema.Struct<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import { byIds, cardFields, TextSchema
|
|
2
|
+
import { byIds, cardFields, TextSchema } from "#contracts/visual/card";
|
|
3
3
|
import { figure } from "#contracts/visual/entry";
|
|
4
4
|
/** A measure the lab divides by: a finite number above zero. */
|
|
5
5
|
const PositiveSchema = Schema.Finite.check(Schema.isGreaterThan(0));
|