@nakafa/aksara-contracts 6.5.0 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assessment/catalog.d.ts +18 -5
- package/dist/assessment/catalog.js +18 -8
- package/dist/assessment/choice.d.ts +10 -0
- package/dist/assessment/closure.d.ts +2 -1
- package/dist/assessment/closure.js +43 -62
- package/dist/assessment/document.d.ts +18 -0
- package/dist/assessment/document.js +10 -0
- package/dist/assessment/figure.d.ts +25 -2676
- package/dist/assessment/figure.js +17 -216
- package/dist/assessment/hash.d.ts +274 -4
- package/dist/assessment/inline.d.ts +25 -0
- package/dist/assessment/inline.js +22 -3
- package/dist/assessment/interaction.d.ts +10 -0
- package/dist/assessment/item.d.ts +864 -0
- package/dist/assessment/item.js +10 -2
- package/dist/assessment/locales.d.ts +10 -0
- package/dist/assessment/locales.js +58 -0
- package/dist/assessment/paper.d.ts +1349 -12
- package/dist/assessment/paper.js +93 -9
- package/dist/assessment/part.d.ts +5 -0
- package/dist/assessment/profile.d.ts +4 -4
- package/dist/assessment/rows.d.ts +1409 -0
- package/dist/assessment/rows.js +44 -0
- package/dist/assessment/scalar.d.ts +1 -1
- package/dist/assessment/scoring.d.ts +1 -1
- package/dist/assessment/snapshot.d.ts +372 -20
- package/dist/assessment/structure.d.ts +6 -0
- package/dist/assessment/structure.js +22 -2
- package/dist/locale.d.ts +9 -9
- package/dist/locale.js +4 -3
- package/dist/program/snapshot/hash.d.ts +2 -2
- package/dist/program/snapshot/spec.d.ts +2 -2
- package/dist/projection/material.d.ts +10 -0
- package/dist/projection/material.js +1 -1
- package/dist/quran/attribution.d.ts +2 -2
- package/dist/quran/identity.d.ts +31 -10
- package/dist/quran/identity.js +15 -3
- package/dist/quran/provenance.d.ts +16 -16
- package/dist/quran/provenance.js +4 -1
- package/dist/quran/snapshot/hash.d.ts +2 -2
- package/dist/quran/snapshot/row/hash.d.ts +48 -15
- package/dist/quran/snapshot/row.d.ts +18 -8
- package/dist/quran/snapshot/spec.d.ts +2 -2
- package/dist/quran/source.d.ts +17 -7
- package/dist/quran/source.js +13 -1
- package/dist/quran/spec.d.ts +4 -4
- package/dist/quran/spec.js +2 -1
- package/dist/release/current/evidence.d.ts +9 -9
- package/dist/release/current/state.d.ts +11 -11
- package/dist/release/hash.d.ts +2 -2
- package/dist/release/identity.d.ts +1 -1
- package/dist/release/lifecycle.d.ts +7 -7
- package/dist/release/policy.d.ts +1 -1
- package/dist/release/snapshot/data.d.ts +36 -11
- package/dist/release/snapshot/evidence/assessment.d.ts +1 -1
- package/dist/release/snapshot/evidence/program.d.ts +1 -1
- package/dist/release/snapshot/evidence/quran.d.ts +1 -1
- package/dist/release/snapshot/evidence.d.ts +3 -3
- package/dist/release/snapshot/verify.d.ts +179 -12
- package/dist/release/spec.d.ts +13 -13
- package/dist/release/verify.d.ts +2 -2
- package/dist/runtime/spec.d.ts +6 -6
- package/dist/runtime/verify.d.ts +4 -4
- package/dist/transport/group.d.ts +108 -33
- package/dist/transport/request.d.ts +1166 -114
- package/dist/transport/response.d.ts +64 -64
- package/dist/transport/snapshot.d.ts +72 -22
- package/dist/visual/base/layout.d.ts +27 -0
- package/dist/visual/base/layout.js +35 -0
- package/dist/visual/base/math.d.ts +523 -0
- package/dist/visual/base/math.js +72 -0
- package/dist/visual/base/media.d.ts +13 -0
- package/dist/visual/base/media.js +25 -0
- package/dist/visual/biology/bacteria.d.ts +55 -0
- package/dist/visual/biology/bacteria.js +79 -0
- package/dist/visual/biology/cell.d.ts +89 -0
- package/dist/visual/biology/cell.js +95 -0
- package/dist/visual/biology/climate.d.ts +75 -0
- package/dist/visual/biology/climate.js +94 -0
- package/dist/visual/biology/ecology.d.ts +75 -0
- package/dist/visual/biology/ecology.js +94 -0
- package/dist/visual/biology.d.ts +203 -0
- package/dist/visual/biology.js +108 -0
- package/dist/visual/card.d.ts +32 -0
- package/dist/visual/card.js +30 -0
- package/dist/visual/catalog.d.ts +3372 -0
- package/dist/visual/catalog.js +119 -0
- package/dist/visual/chemistry/atom.d.ts +79 -0
- package/dist/visual/chemistry/atom.js +109 -0
- package/dist/visual/chemistry/balance.d.ts +79 -0
- package/dist/visual/chemistry/balance.js +128 -0
- package/dist/visual/chemistry/bonding.d.ts +80 -0
- package/dist/visual/chemistry/bonding.js +147 -0
- package/dist/visual/chemistry/discovery.d.ts +96 -0
- package/dist/visual/chemistry/discovery.js +137 -0
- package/dist/visual/chemistry/electron.d.ts +41 -0
- package/dist/visual/chemistry/electron.js +69 -0
- package/dist/visual/chemistry/laws.d.ts +86 -0
- package/dist/visual/chemistry/laws.js +117 -0
- package/dist/visual/chemistry/particles.d.ts +114 -0
- package/dist/visual/chemistry/particles.js +149 -0
- package/dist/visual/chemistry/periodic.d.ts +52 -0
- package/dist/visual/chemistry/periodic.js +85 -0
- package/dist/visual/chemistry/reaction.d.ts +60 -0
- package/dist/visual/chemistry/reaction.js +76 -0
- package/dist/visual/entry.d.ts +42 -0
- package/dist/visual/entry.js +48 -0
- package/dist/visual/mathematics/chart.d.ts +30 -0
- package/dist/{assessment → visual/mathematics}/chart.js +26 -18
- package/dist/visual/mathematics/charts.d.ts +118 -0
- package/dist/visual/mathematics/charts.js +100 -0
- package/dist/visual/mathematics/function.d.ts +82 -0
- package/dist/visual/mathematics/function.js +102 -0
- package/dist/visual/mathematics/geometry.d.ts +222 -0
- package/dist/visual/mathematics/geometry.js +81 -0
- package/dist/visual/mathematics/line.d.ts +179 -0
- package/dist/visual/mathematics/line.js +156 -0
- package/dist/visual/mathematics/number.d.ts +21 -0
- package/dist/visual/mathematics/number.js +53 -0
- package/dist/visual/physics/braking.d.ts +62 -0
- package/dist/visual/physics/braking.js +83 -0
- package/dist/visual/physics/circular.d.ts +36 -0
- package/dist/visual/physics/circular.js +51 -0
- package/dist/visual/physics/efficiency.d.ts +93 -0
- package/dist/visual/physics/efficiency.js +129 -0
- package/dist/visual/physics/falling.d.ts +56 -0
- package/dist/visual/physics/falling.js +77 -0
- package/dist/visual/physics/force.d.ts +88 -0
- package/dist/visual/physics/force.js +115 -0
- package/dist/visual/physics/instrument.d.ts +93 -0
- package/dist/visual/physics/instrument.js +135 -0
- package/dist/visual/physics/measurement.d.ts +66 -0
- package/dist/visual/physics/measurement.js +85 -0
- package/dist/visual/physics/motion.d.ts +85 -0
- package/dist/visual/physics/motion.js +110 -0
- package/dist/visual/physics/parabolic.d.ts +42 -0
- package/dist/visual/physics/parabolic.js +56 -0
- package/dist/visual/physics/position.d.ts +87 -0
- package/dist/visual/physics/position.js +123 -0
- package/dist/visual/physics/power.d.ts +121 -0
- package/dist/visual/physics/power.js +162 -0
- package/dist/visual/physics/precision.d.ts +96 -0
- package/dist/visual/physics/precision.js +137 -0
- package/dist/visual/physics/product.d.ts +73 -0
- package/dist/visual/physics/product.js +96 -0
- package/dist/visual/physics/record.d.ts +34 -0
- package/dist/visual/physics/record.js +46 -0
- package/dist/visual/physics/relative.d.ts +55 -0
- package/dist/visual/physics/relative.js +76 -0
- package/dist/visual/physics/solar.d.ts +91 -0
- package/dist/visual/physics/solar.js +126 -0
- package/dist/visual/physics/vector.d.ts +103 -0
- package/dist/visual/physics/vector.js +123 -0
- package/dist/visual/physics/velocity.d.ts +112 -0
- package/dist/visual/physics/velocity.js +144 -0
- package/dist/visual/politics.d.ts +92 -0
- package/dist/visual/politics.js +76 -0
- package/package.json +13 -5
- package/dist/assessment/chart.d.ts +0 -62
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { type RichSlot } from "#contracts/visual/card";
|
|
3
|
+
/** Props of `NumberLine`: segments on a line, with an optional visible range. */
|
|
4
|
+
export declare function numberLine<E>(rich: RichSlot<E>): import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
5
|
+
readonly description: RichSlot<E>;
|
|
6
|
+
readonly title: RichSlot<E>;
|
|
7
|
+
readonly max: Schema.optionalKey<Schema.Finite>;
|
|
8
|
+
readonly min: Schema.optionalKey<Schema.Finite>;
|
|
9
|
+
readonly segments: Schema.NonEmptyArray<Schema.Struct<{
|
|
10
|
+
readonly backgroundColor: Schema.optionalKey<Schema.Literal<"transparent">>;
|
|
11
|
+
readonly end: Schema.optionalKey<Schema.Finite>;
|
|
12
|
+
readonly endInclusive: Schema.optionalKey<Schema.Boolean>;
|
|
13
|
+
readonly endLabel: Schema.optionalKey<RichSlot<E>>;
|
|
14
|
+
readonly label: Schema.optionalKey<RichSlot<E>>;
|
|
15
|
+
readonly shaded: Schema.optionalKey<Schema.Boolean>;
|
|
16
|
+
readonly showPoints: Schema.optionalKey<Schema.Boolean>;
|
|
17
|
+
readonly start: Schema.optionalKey<Schema.Finite>;
|
|
18
|
+
readonly startInclusive: Schema.optionalKey<Schema.Boolean>;
|
|
19
|
+
readonly startLabel: Schema.optionalKey<RichSlot<E>>;
|
|
20
|
+
}>>;
|
|
21
|
+
}>, "figure">;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { cardFields } from "#contracts/visual/card";
|
|
3
|
+
import { figure } from "#contracts/visual/entry";
|
|
4
|
+
/** The two ends of one segment; a missing end is a ray to the edge of the axis. */
|
|
5
|
+
const SegmentEndsSchema = Schema.Struct({
|
|
6
|
+
end: Schema.optionalKey(Schema.Finite),
|
|
7
|
+
start: Schema.optionalKey(Schema.Finite),
|
|
8
|
+
});
|
|
9
|
+
/** Checks that a segment that has two ends does not end before it starts. */
|
|
10
|
+
function isOrderedSegment({ end, start }) {
|
|
11
|
+
return start === undefined || end === undefined || start <= end;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* One segment of a number line. A segment without a start or an end is a ray
|
|
15
|
+
* to the edge of the axis, as the renderer draws it. The corpus sets a
|
|
16
|
+
* background only to transparent, and an arbitrary color is not part of this
|
|
17
|
+
* contract, because no meaning may ride on color.
|
|
18
|
+
*/
|
|
19
|
+
function segment(rich) {
|
|
20
|
+
return Schema.Struct({
|
|
21
|
+
backgroundColor: Schema.optionalKey(Schema.Literal("transparent")),
|
|
22
|
+
end: Schema.optionalKey(Schema.Finite),
|
|
23
|
+
endInclusive: Schema.optionalKey(Schema.Boolean),
|
|
24
|
+
endLabel: Schema.optionalKey(rich),
|
|
25
|
+
label: Schema.optionalKey(rich),
|
|
26
|
+
shaded: Schema.optionalKey(Schema.Boolean),
|
|
27
|
+
showPoints: Schema.optionalKey(Schema.Boolean),
|
|
28
|
+
start: Schema.optionalKey(Schema.Finite),
|
|
29
|
+
startInclusive: Schema.optionalKey(Schema.Boolean),
|
|
30
|
+
startLabel: Schema.optionalKey(rich),
|
|
31
|
+
}).check(Schema.makeFilter(isOrderedSegment, {
|
|
32
|
+
message: "Expected a segment that does not end before it starts.",
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
/** The visible range of a number line, each end optional. */
|
|
36
|
+
const VisibleRangeSchema = Schema.Struct({
|
|
37
|
+
max: Schema.optionalKey(Schema.Finite),
|
|
38
|
+
min: Schema.optionalKey(Schema.Finite),
|
|
39
|
+
});
|
|
40
|
+
/** Checks that the visible range of a number line runs upward. */
|
|
41
|
+
function isOrderedRange({ max, min }) {
|
|
42
|
+
return min === undefined || max === undefined || min < max;
|
|
43
|
+
}
|
|
44
|
+
/** Props of `NumberLine`: segments on a line, with an optional visible range. */
|
|
45
|
+
export function numberLine(rich) {
|
|
46
|
+
return figure(Schema.Struct({
|
|
47
|
+
...cardFields(rich),
|
|
48
|
+
...VisibleRangeSchema.fields,
|
|
49
|
+
segments: Schema.NonEmptyArray(segment(rich)),
|
|
50
|
+
}).check(Schema.makeFilter(isOrderedRange, {
|
|
51
|
+
message: "Expected a visible range whose minimum is below its maximum.",
|
|
52
|
+
})));
|
|
53
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { type RichSlot } from "#contracts/visual/card";
|
|
3
|
+
/**
|
|
4
|
+
* The props of the braking and stopping labs. No prop states the conclusion a
|
|
5
|
+
* lab leads to, so none holds answer state.
|
|
6
|
+
*/
|
|
7
|
+
export declare function brakingVisuals<E>(rich: RichSlot<E>): {
|
|
8
|
+
BrakeHeatLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
9
|
+
readonly description: RichSlot<E>;
|
|
10
|
+
readonly title: RichSlot<E>;
|
|
11
|
+
readonly labels: Schema.Struct<{
|
|
12
|
+
readonly chooseSpeed: Schema.Trimmed;
|
|
13
|
+
readonly discTemperature: RichSlot<E>;
|
|
14
|
+
readonly kineticEnergy: RichSlot<E>;
|
|
15
|
+
readonly temperatureRise: RichSlot<E>;
|
|
16
|
+
readonly thermal: Schema.Trimmed;
|
|
17
|
+
readonly viewLabel: Schema.Trimmed;
|
|
18
|
+
}>;
|
|
19
|
+
}>, "figure">;
|
|
20
|
+
BrakingSurfaceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
21
|
+
readonly description: RichSlot<E>;
|
|
22
|
+
readonly title: RichSlot<E>;
|
|
23
|
+
readonly labels: Schema.Struct<{
|
|
24
|
+
readonly brakingDistance: RichSlot<E>;
|
|
25
|
+
readonly brakingTime: RichSlot<E>;
|
|
26
|
+
readonly chooseSurface: Schema.Trimmed;
|
|
27
|
+
readonly deceleration: RichSlot<E>;
|
|
28
|
+
readonly friction: RichSlot<E>;
|
|
29
|
+
readonly surfaces: Schema.$Record<Schema.Literals<readonly ["dry", "wet", "gravel", "snow", "ice"]>, Schema.Trimmed>;
|
|
30
|
+
readonly viewLabel: Schema.Trimmed;
|
|
31
|
+
}>;
|
|
32
|
+
}>, "figure">;
|
|
33
|
+
FollowingDistanceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
34
|
+
readonly description: RichSlot<E>;
|
|
35
|
+
readonly title: RichSlot<E>;
|
|
36
|
+
readonly labels: Schema.Struct<{
|
|
37
|
+
readonly chooseHeadway: Schema.Trimmed;
|
|
38
|
+
readonly crash: RichSlot<E>;
|
|
39
|
+
readonly finalGap: RichSlot<E>;
|
|
40
|
+
readonly impactSpeed: RichSlot<E>;
|
|
41
|
+
readonly initialGap: RichSlot<E>;
|
|
42
|
+
readonly reactionDistance: RichSlot<E>;
|
|
43
|
+
readonly reactionTime: Schema.Trimmed;
|
|
44
|
+
readonly safe: RichSlot<E>;
|
|
45
|
+
readonly viewLabel: Schema.Trimmed;
|
|
46
|
+
}>;
|
|
47
|
+
}>, "figure">;
|
|
48
|
+
ReactionTimeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
49
|
+
readonly description: RichSlot<E>;
|
|
50
|
+
readonly title: RichSlot<E>;
|
|
51
|
+
readonly labels: Schema.Struct<{
|
|
52
|
+
readonly average: RichSlot<E>;
|
|
53
|
+
readonly best: RichSlot<E>;
|
|
54
|
+
readonly brake: Schema.Trimmed;
|
|
55
|
+
readonly early: RichSlot<E>;
|
|
56
|
+
readonly lastTime: RichSlot<E>;
|
|
57
|
+
readonly reactionDistance: RichSlot<E>;
|
|
58
|
+
readonly start: Schema.Trimmed;
|
|
59
|
+
readonly viewLabel: Schema.Trimmed;
|
|
60
|
+
}>;
|
|
61
|
+
}>, "figure">;
|
|
62
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { byIds, cardFields, TextSchema, } from "#contracts/visual/card";
|
|
3
|
+
import { figure } from "#contracts/visual/entry";
|
|
4
|
+
/**
|
|
5
|
+
* Props of `BrakeHeatLab`: a front wheel seen up close while the car brakes to
|
|
6
|
+
* rest.
|
|
7
|
+
*/
|
|
8
|
+
function brakeHeatLab(rich) {
|
|
9
|
+
return figure(Schema.Struct({
|
|
10
|
+
...cardFields(rich),
|
|
11
|
+
labels: Schema.Struct({
|
|
12
|
+
chooseSpeed: TextSchema,
|
|
13
|
+
discTemperature: rich,
|
|
14
|
+
kineticEnergy: rich,
|
|
15
|
+
temperatureRise: rich,
|
|
16
|
+
thermal: TextSchema,
|
|
17
|
+
viewLabel: TextSchema,
|
|
18
|
+
}),
|
|
19
|
+
}));
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Props of `BrakingSurfaceLab`: a car at 20 m/s locks its wheels at the white
|
|
23
|
+
* line on the road surface the learner picks.
|
|
24
|
+
*/
|
|
25
|
+
function brakingSurfaceLab(rich) {
|
|
26
|
+
return figure(Schema.Struct({
|
|
27
|
+
...cardFields(rich),
|
|
28
|
+
labels: Schema.Struct({
|
|
29
|
+
brakingDistance: rich,
|
|
30
|
+
brakingTime: rich,
|
|
31
|
+
chooseSurface: TextSchema,
|
|
32
|
+
deceleration: rich,
|
|
33
|
+
friction: rich,
|
|
34
|
+
surfaces: byIds(["dry", "wet", "gravel", "snow", "ice"], TextSchema),
|
|
35
|
+
viewLabel: TextSchema,
|
|
36
|
+
}),
|
|
37
|
+
}));
|
|
38
|
+
}
|
|
39
|
+
/** Props of `FollowingDistanceLab`: two cars at 90 km/h on one lane. */
|
|
40
|
+
function followingDistanceLab(rich) {
|
|
41
|
+
return figure(Schema.Struct({
|
|
42
|
+
...cardFields(rich),
|
|
43
|
+
labels: Schema.Struct({
|
|
44
|
+
chooseHeadway: TextSchema,
|
|
45
|
+
crash: rich,
|
|
46
|
+
finalGap: rich,
|
|
47
|
+
impactSpeed: rich,
|
|
48
|
+
initialGap: rich,
|
|
49
|
+
reactionDistance: rich,
|
|
50
|
+
reactionTime: TextSchema,
|
|
51
|
+
safe: rich,
|
|
52
|
+
viewLabel: TextSchema,
|
|
53
|
+
}),
|
|
54
|
+
}));
|
|
55
|
+
}
|
|
56
|
+
/** Props of `ReactionTimeLab`: a reaction test from the driver's seat. */
|
|
57
|
+
function reactionTimeLab(rich) {
|
|
58
|
+
return figure(Schema.Struct({
|
|
59
|
+
...cardFields(rich),
|
|
60
|
+
labels: Schema.Struct({
|
|
61
|
+
average: rich,
|
|
62
|
+
best: rich,
|
|
63
|
+
brake: TextSchema,
|
|
64
|
+
early: rich,
|
|
65
|
+
lastTime: rich,
|
|
66
|
+
reactionDistance: rich,
|
|
67
|
+
start: TextSchema,
|
|
68
|
+
viewLabel: TextSchema,
|
|
69
|
+
}),
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* The props of the braking and stopping labs. No prop states the conclusion a
|
|
74
|
+
* lab leads to, so none holds answer state.
|
|
75
|
+
*/
|
|
76
|
+
export function brakingVisuals(rich) {
|
|
77
|
+
return {
|
|
78
|
+
BrakeHeatLab: brakeHeatLab(rich),
|
|
79
|
+
BrakingSurfaceLab: brakingSurfaceLab(rich),
|
|
80
|
+
FollowingDistanceLab: followingDistanceLab(rich),
|
|
81
|
+
ReactionTimeLab: reactionTimeLab(rich),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { type RichSlot } from "#contracts/visual/card";
|
|
3
|
+
/**
|
|
4
|
+
* The props of the circular motion labs. No prop states the conclusion a lab
|
|
5
|
+
* leads to, so none holds answer state.
|
|
6
|
+
*/
|
|
7
|
+
export declare function circularVisuals<E>(rich: RichSlot<E>): {
|
|
8
|
+
SatelliteOrbitCircularLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
9
|
+
readonly description: RichSlot<E>;
|
|
10
|
+
readonly title: RichSlot<E>;
|
|
11
|
+
readonly labels: Schema.Struct<{
|
|
12
|
+
readonly acceleration: RichSlot<E>;
|
|
13
|
+
readonly chooseOrbit: Schema.Trimmed;
|
|
14
|
+
readonly orbits: Schema.$Record<Schema.Literals<readonly ["station", "gps", "geostationary"]>, RichSlot<E>>;
|
|
15
|
+
readonly period: RichSlot<E>;
|
|
16
|
+
readonly radius: RichSlot<E>;
|
|
17
|
+
readonly speed: RichSlot<E>;
|
|
18
|
+
readonly viewLabel: Schema.Trimmed;
|
|
19
|
+
}>;
|
|
20
|
+
}>, "figure">;
|
|
21
|
+
StringWhirlReleaseLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
22
|
+
readonly description: RichSlot<E>;
|
|
23
|
+
readonly title: RichSlot<E>;
|
|
24
|
+
readonly labels: Schema.Struct<{
|
|
25
|
+
readonly acceleration: RichSlot<E>;
|
|
26
|
+
readonly chooseRelease: Schema.Trimmed;
|
|
27
|
+
readonly period: RichSlot<E>;
|
|
28
|
+
readonly radius: RichSlot<E>;
|
|
29
|
+
readonly releases: Schema.$Record<Schema.Literals<readonly ["east", "north", "west", "south"]>, RichSlot<E>>;
|
|
30
|
+
readonly speed: RichSlot<E>;
|
|
31
|
+
readonly viewLabel: Schema.Trimmed;
|
|
32
|
+
}>;
|
|
33
|
+
readonly period: Schema.Finite;
|
|
34
|
+
readonly radius: Schema.Finite;
|
|
35
|
+
}>, "figure">;
|
|
36
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { byIds, cardFields, TextSchema, } from "#contracts/visual/card";
|
|
3
|
+
import { figure } from "#contracts/visual/entry";
|
|
4
|
+
/**
|
|
5
|
+
* Props of `SatelliteOrbitCircularLab`: three real satellites in circular
|
|
6
|
+
* orbits drawn to scale around the Earth.
|
|
7
|
+
*/
|
|
8
|
+
function satelliteOrbitCircularLab(rich) {
|
|
9
|
+
return figure(Schema.Struct({
|
|
10
|
+
...cardFields(rich),
|
|
11
|
+
labels: Schema.Struct({
|
|
12
|
+
acceleration: rich,
|
|
13
|
+
chooseOrbit: TextSchema,
|
|
14
|
+
orbits: byIds(["station", "gps", "geostationary"], rich),
|
|
15
|
+
period: rich,
|
|
16
|
+
radius: rich,
|
|
17
|
+
speed: rich,
|
|
18
|
+
viewLabel: TextSchema,
|
|
19
|
+
}),
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Props of `StringWhirlReleaseLab`: a ball whirled on a string, seen from
|
|
24
|
+
* above, let go at a point the learner picks.
|
|
25
|
+
*/
|
|
26
|
+
function stringWhirlReleaseLab(rich) {
|
|
27
|
+
return figure(Schema.Struct({
|
|
28
|
+
...cardFields(rich),
|
|
29
|
+
labels: Schema.Struct({
|
|
30
|
+
acceleration: rich,
|
|
31
|
+
chooseRelease: TextSchema,
|
|
32
|
+
period: rich,
|
|
33
|
+
radius: rich,
|
|
34
|
+
releases: byIds(["east", "north", "west", "south"], rich),
|
|
35
|
+
speed: rich,
|
|
36
|
+
viewLabel: TextSchema,
|
|
37
|
+
}),
|
|
38
|
+
period: Schema.Finite,
|
|
39
|
+
radius: Schema.Finite,
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The props of the circular motion labs. No prop states the conclusion a lab
|
|
44
|
+
* leads to, so none holds answer state.
|
|
45
|
+
*/
|
|
46
|
+
export function circularVisuals(rich) {
|
|
47
|
+
return {
|
|
48
|
+
SatelliteOrbitCircularLab: satelliteOrbitCircularLab(rich),
|
|
49
|
+
StringWhirlReleaseLab: stringWhirlReleaseLab(rich),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { type RichSlot } from "#contracts/visual/card";
|
|
3
|
+
/**
|
|
4
|
+
* The props of the energy conversion and efficiency labs. No prop states the
|
|
5
|
+
* conclusion a lab leads to, so none holds answer state.
|
|
6
|
+
*/
|
|
7
|
+
export declare function efficiencyVisuals<E>(rich: RichSlot<E>): {
|
|
8
|
+
HoistWorkLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
9
|
+
readonly description: RichSlot<E>;
|
|
10
|
+
readonly title: RichSlot<E>;
|
|
11
|
+
readonly labels: Schema.Struct<{
|
|
12
|
+
readonly chooseMotor: Schema.Trimmed;
|
|
13
|
+
readonly energy: RichSlot<E>;
|
|
14
|
+
readonly height: RichSlot<E>;
|
|
15
|
+
readonly speed: RichSlot<E>;
|
|
16
|
+
readonly time: RichSlot<E>;
|
|
17
|
+
readonly viewLabel: Schema.Trimmed;
|
|
18
|
+
readonly weight: RichSlot<E>;
|
|
19
|
+
}>;
|
|
20
|
+
readonly motor: Schema.optionalKey<Schema.Literals<readonly ["small", "medium", "large"]>>;
|
|
21
|
+
}>, "figure">;
|
|
22
|
+
KettleHeatingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
23
|
+
readonly description: RichSlot<E>;
|
|
24
|
+
readonly title: RichSlot<E>;
|
|
25
|
+
readonly fill: Schema.optionalKey<Schema.Literals<readonly ["half", "full", "brim"]>>;
|
|
26
|
+
readonly labels: Schema.Struct<{
|
|
27
|
+
readonly chooseFill: Schema.Trimmed;
|
|
28
|
+
readonly energy: RichSlot<E>;
|
|
29
|
+
readonly power: RichSlot<E>;
|
|
30
|
+
readonly rise: RichSlot<E>;
|
|
31
|
+
readonly time: RichSlot<E>;
|
|
32
|
+
readonly viewLabel: Schema.Trimmed;
|
|
33
|
+
}>;
|
|
34
|
+
}>, "figure">;
|
|
35
|
+
FlashlightEfficiencyLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
36
|
+
readonly description: RichSlot<E>;
|
|
37
|
+
readonly title: RichSlot<E>;
|
|
38
|
+
readonly bulb: Schema.optionalKey<Schema.Literals<readonly ["filament", "led"]>>;
|
|
39
|
+
readonly labels: Schema.Struct<{
|
|
40
|
+
readonly battery: RichSlot<E>;
|
|
41
|
+
readonly bulbs: Schema.$Record<Schema.Literals<readonly ["filament", "led"]>, RichSlot<E>>;
|
|
42
|
+
readonly chooseBulb: Schema.Trimmed;
|
|
43
|
+
readonly efficiency: RichSlot<E>;
|
|
44
|
+
readonly heat: RichSlot<E>;
|
|
45
|
+
readonly input: RichSlot<E>;
|
|
46
|
+
readonly light: RichSlot<E>;
|
|
47
|
+
readonly runTime: RichSlot<E>;
|
|
48
|
+
readonly viewLabel: Schema.Trimmed;
|
|
49
|
+
}>;
|
|
50
|
+
}>, "figure">;
|
|
51
|
+
PendulumEnergyLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
52
|
+
readonly description: RichSlot<E>;
|
|
53
|
+
readonly title: RichSlot<E>;
|
|
54
|
+
readonly drag: Schema.optionalKey<Schema.Literals<readonly ["none", "light", "strong"]>>;
|
|
55
|
+
readonly labels: Schema.Struct<{
|
|
56
|
+
readonly chooseDrag: Schema.Trimmed;
|
|
57
|
+
readonly drags: Schema.$Record<Schema.Literals<readonly ["none", "light", "strong"]>, RichSlot<E>>;
|
|
58
|
+
readonly heat: RichSlot<E>;
|
|
59
|
+
readonly kinetic: RichSlot<E>;
|
|
60
|
+
readonly potential: RichSlot<E>;
|
|
61
|
+
readonly start: RichSlot<E>;
|
|
62
|
+
readonly viewLabel: Schema.Trimmed;
|
|
63
|
+
}>;
|
|
64
|
+
}>, "figure">;
|
|
65
|
+
WeightLampEnergyLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
66
|
+
readonly description: RichSlot<E>;
|
|
67
|
+
readonly title: RichSlot<E>;
|
|
68
|
+
readonly descent: Schema.optionalKey<Schema.Literals<readonly ["fast", "steady", "slow"]>>;
|
|
69
|
+
readonly labels: Schema.Struct<{
|
|
70
|
+
readonly chooseDescent: Schema.Trimmed;
|
|
71
|
+
readonly drop: RichSlot<E>;
|
|
72
|
+
readonly energy: RichSlot<E>;
|
|
73
|
+
readonly mass: RichSlot<E>;
|
|
74
|
+
readonly power: RichSlot<E>;
|
|
75
|
+
readonly time: RichSlot<E>;
|
|
76
|
+
readonly viewLabel: Schema.Trimmed;
|
|
77
|
+
}>;
|
|
78
|
+
}>, "figure">;
|
|
79
|
+
EnergyFlowLossLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
80
|
+
readonly description: RichSlot<E>;
|
|
81
|
+
readonly title: RichSlot<E>;
|
|
82
|
+
readonly labels: Schema.Struct<{
|
|
83
|
+
readonly choosePlant: Schema.Trimmed;
|
|
84
|
+
readonly efficiency: RichSlot<E>;
|
|
85
|
+
readonly input: RichSlot<E>;
|
|
86
|
+
readonly lost: RichSlot<E>;
|
|
87
|
+
readonly plants: Schema.$Record<Schema.Literals<readonly ["solar", "wind", "hydro", "geothermal", "biogas"]>, RichSlot<E>>;
|
|
88
|
+
readonly useful: RichSlot<E>;
|
|
89
|
+
readonly viewLabel: Schema.Trimmed;
|
|
90
|
+
}>;
|
|
91
|
+
readonly plant: Schema.optionalKey<Schema.Literals<readonly ["solar", "wind", "hydro", "geothermal", "biogas"]>>;
|
|
92
|
+
}>, "figure">;
|
|
93
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { byIds, cardFields, TextSchema, } from "#contracts/visual/card";
|
|
3
|
+
import { figure } from "#contracts/visual/entry";
|
|
4
|
+
/**
|
|
5
|
+
* Props of `HoistWorkLab`: a motor hoist lifts a 20 kg crate 5 m onto a
|
|
6
|
+
* platform.
|
|
7
|
+
*/
|
|
8
|
+
function hoistWorkLab(rich) {
|
|
9
|
+
return figure(Schema.Struct({
|
|
10
|
+
...cardFields(rich),
|
|
11
|
+
labels: Schema.Struct({
|
|
12
|
+
chooseMotor: TextSchema,
|
|
13
|
+
energy: rich,
|
|
14
|
+
height: rich,
|
|
15
|
+
speed: rich,
|
|
16
|
+
time: rich,
|
|
17
|
+
viewLabel: TextSchema,
|
|
18
|
+
weight: rich,
|
|
19
|
+
}),
|
|
20
|
+
motor: Schema.optionalKey(Schema.Literals(["small", "medium", "large"])),
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Props of `KettleHeatingLab`: an electric kettle boils 0.5 kg, 1 kg or 1.5 kg
|
|
25
|
+
* of water from 25 °C.
|
|
26
|
+
*/
|
|
27
|
+
function kettleHeatingLab(rich) {
|
|
28
|
+
return figure(Schema.Struct({
|
|
29
|
+
...cardFields(rich),
|
|
30
|
+
fill: Schema.optionalKey(Schema.Literals(["half", "full", "brim"])),
|
|
31
|
+
labels: Schema.Struct({
|
|
32
|
+
chooseFill: TextSchema,
|
|
33
|
+
energy: rich,
|
|
34
|
+
power: rich,
|
|
35
|
+
rise: rich,
|
|
36
|
+
time: rich,
|
|
37
|
+
viewLabel: TextSchema,
|
|
38
|
+
}),
|
|
39
|
+
}));
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Props of `FlashlightEfficiencyLab`: a flashlight in a dark room, its cells
|
|
43
|
+
* drawn in cutaway.
|
|
44
|
+
*/
|
|
45
|
+
function flashlightEfficiencyLab(rich) {
|
|
46
|
+
return figure(Schema.Struct({
|
|
47
|
+
...cardFields(rich),
|
|
48
|
+
bulb: Schema.optionalKey(Schema.Literals(["filament", "led"])),
|
|
49
|
+
labels: Schema.Struct({
|
|
50
|
+
battery: rich,
|
|
51
|
+
bulbs: byIds(["filament", "led"], rich),
|
|
52
|
+
chooseBulb: TextSchema,
|
|
53
|
+
efficiency: rich,
|
|
54
|
+
heat: rich,
|
|
55
|
+
input: rich,
|
|
56
|
+
light: rich,
|
|
57
|
+
runTime: rich,
|
|
58
|
+
viewLabel: TextSchema,
|
|
59
|
+
}),
|
|
60
|
+
}));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Props of `PendulumEnergyLab`: a 1 kg bob on a 2 m string, let go from 40°,
|
|
64
|
+
* with its energy stores read 10 s after the release.
|
|
65
|
+
*/
|
|
66
|
+
function pendulumEnergyLab(rich) {
|
|
67
|
+
return figure(Schema.Struct({
|
|
68
|
+
...cardFields(rich),
|
|
69
|
+
drag: Schema.optionalKey(Schema.Literals(["none", "light", "strong"])),
|
|
70
|
+
labels: Schema.Struct({
|
|
71
|
+
chooseDrag: TextSchema,
|
|
72
|
+
drags: byIds(["none", "light", "strong"], rich),
|
|
73
|
+
heat: rich,
|
|
74
|
+
kinetic: rich,
|
|
75
|
+
potential: rich,
|
|
76
|
+
start: rich,
|
|
77
|
+
viewLabel: TextSchema,
|
|
78
|
+
}),
|
|
79
|
+
}));
|
|
80
|
+
}
|
|
81
|
+
/** Props of `WeightLampEnergyLab`: a gravity lamp in a dark room. */
|
|
82
|
+
function weightLampEnergyLab(rich) {
|
|
83
|
+
return figure(Schema.Struct({
|
|
84
|
+
...cardFields(rich),
|
|
85
|
+
descent: Schema.optionalKey(Schema.Literals(["fast", "steady", "slow"])),
|
|
86
|
+
labels: Schema.Struct({
|
|
87
|
+
chooseDescent: TextSchema,
|
|
88
|
+
drop: rich,
|
|
89
|
+
energy: rich,
|
|
90
|
+
mass: rich,
|
|
91
|
+
power: rich,
|
|
92
|
+
time: rich,
|
|
93
|
+
viewLabel: TextSchema,
|
|
94
|
+
}),
|
|
95
|
+
}));
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Props of `EnergyFlowLossLab`: 100 J entering five kinds of power plant, drawn
|
|
99
|
+
* as a band of light that every machine thins out.
|
|
100
|
+
*/
|
|
101
|
+
function energyFlowLossLab(rich) {
|
|
102
|
+
return figure(Schema.Struct({
|
|
103
|
+
...cardFields(rich),
|
|
104
|
+
labels: Schema.Struct({
|
|
105
|
+
choosePlant: TextSchema,
|
|
106
|
+
efficiency: rich,
|
|
107
|
+
input: rich,
|
|
108
|
+
lost: rich,
|
|
109
|
+
plants: byIds(["solar", "wind", "hydro", "geothermal", "biogas"], rich),
|
|
110
|
+
useful: rich,
|
|
111
|
+
viewLabel: TextSchema,
|
|
112
|
+
}),
|
|
113
|
+
plant: Schema.optionalKey(Schema.Literals(["solar", "wind", "hydro", "geothermal", "biogas"])),
|
|
114
|
+
}));
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The props of the energy conversion and efficiency labs. No prop states the
|
|
118
|
+
* conclusion a lab leads to, so none holds answer state.
|
|
119
|
+
*/
|
|
120
|
+
export function efficiencyVisuals(rich) {
|
|
121
|
+
return {
|
|
122
|
+
HoistWorkLab: hoistWorkLab(rich),
|
|
123
|
+
KettleHeatingLab: kettleHeatingLab(rich),
|
|
124
|
+
FlashlightEfficiencyLab: flashlightEfficiencyLab(rich),
|
|
125
|
+
PendulumEnergyLab: pendulumEnergyLab(rich),
|
|
126
|
+
WeightLampEnergyLab: weightLampEnergyLab(rich),
|
|
127
|
+
EnergyFlowLossLab: energyFlowLossLab(rich),
|
|
128
|
+
};
|
|
129
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { type RichSlot } from "#contracts/visual/card";
|
|
3
|
+
/**
|
|
4
|
+
* The props of the falling and projectile labs. No prop states the conclusion a
|
|
5
|
+
* lab leads to, so none holds answer state.
|
|
6
|
+
*/
|
|
7
|
+
export declare function fallingVisuals<E>(rich: RichSlot<E>): {
|
|
8
|
+
GalileoInclineBellsLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
9
|
+
readonly description: RichSlot<E>;
|
|
10
|
+
readonly title: RichSlot<E>;
|
|
11
|
+
readonly labels: Schema.Struct<{
|
|
12
|
+
readonly acceleration: RichSlot<E>;
|
|
13
|
+
readonly chooseAngle: Schema.Trimmed;
|
|
14
|
+
readonly firstSecond: RichSlot<E>;
|
|
15
|
+
readonly gaps: RichSlot<E>;
|
|
16
|
+
readonly viewLabel: Schema.Trimmed;
|
|
17
|
+
}>;
|
|
18
|
+
}>, "figure">;
|
|
19
|
+
FeatherCoinVacuumLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
20
|
+
readonly description: RichSlot<E>;
|
|
21
|
+
readonly title: RichSlot<E>;
|
|
22
|
+
readonly labels: Schema.Struct<{
|
|
23
|
+
readonly airs: Schema.$Record<Schema.Literals<readonly ["air", "vacuum"]>, RichSlot<E>>;
|
|
24
|
+
readonly chooseAir: Schema.Trimmed;
|
|
25
|
+
readonly coinTime: RichSlot<E>;
|
|
26
|
+
readonly drop: RichSlot<E>;
|
|
27
|
+
readonly featherTime: RichSlot<E>;
|
|
28
|
+
readonly viewLabel: Schema.Trimmed;
|
|
29
|
+
}>;
|
|
30
|
+
}>, "figure">;
|
|
31
|
+
FallingTargetAimLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
32
|
+
readonly description: RichSlot<E>;
|
|
33
|
+
readonly title: RichSlot<E>;
|
|
34
|
+
readonly labels: Schema.Struct<{
|
|
35
|
+
readonly drop: RichSlot<E>;
|
|
36
|
+
readonly meetTime: RichSlot<E>;
|
|
37
|
+
readonly speed: RichSlot<E>;
|
|
38
|
+
readonly speedName: Schema.Trimmed;
|
|
39
|
+
readonly viewLabel: Schema.Trimmed;
|
|
40
|
+
}>;
|
|
41
|
+
readonly speed: Schema.optionalKey<Schema.Finite>;
|
|
42
|
+
}>, "figure">;
|
|
43
|
+
HoseJetProjectileLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
44
|
+
readonly description: RichSlot<E>;
|
|
45
|
+
readonly title: RichSlot<E>;
|
|
46
|
+
readonly angle: Schema.optionalKey<Schema.Literals<readonly [15, 30, 45, 60, 75, 90]>>;
|
|
47
|
+
readonly labels: Schema.Struct<{
|
|
48
|
+
readonly chooseAngle: Schema.Trimmed;
|
|
49
|
+
readonly flight: RichSlot<E>;
|
|
50
|
+
readonly range: RichSlot<E>;
|
|
51
|
+
readonly top: RichSlot<E>;
|
|
52
|
+
readonly viewLabel: Schema.Trimmed;
|
|
53
|
+
}>;
|
|
54
|
+
readonly speed: Schema.Finite;
|
|
55
|
+
}>, "figure">;
|
|
56
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { byIds, cardFields, TextSchema, } from "#contracts/visual/card";
|
|
3
|
+
import { figure } from "#contracts/visual/entry";
|
|
4
|
+
/** Props of `GalileoInclineBellsLab`: Galileo's inclined plane. */
|
|
5
|
+
function galileoInclineBellsLab(rich) {
|
|
6
|
+
return figure(Schema.Struct({
|
|
7
|
+
...cardFields(rich),
|
|
8
|
+
labels: Schema.Struct({
|
|
9
|
+
acceleration: rich,
|
|
10
|
+
chooseAngle: TextSchema,
|
|
11
|
+
firstSecond: rich,
|
|
12
|
+
gaps: rich,
|
|
13
|
+
viewLabel: TextSchema,
|
|
14
|
+
}),
|
|
15
|
+
}));
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Props of `FeatherCoinVacuumLab`: a coin and a feather let go together inside
|
|
19
|
+
* a tall glass tube.
|
|
20
|
+
*/
|
|
21
|
+
function featherCoinVacuumLab(rich) {
|
|
22
|
+
return figure(Schema.Struct({
|
|
23
|
+
...cardFields(rich),
|
|
24
|
+
labels: Schema.Struct({
|
|
25
|
+
airs: byIds(["air", "vacuum"], rich),
|
|
26
|
+
chooseAir: TextSchema,
|
|
27
|
+
coinTime: rich,
|
|
28
|
+
drop: rich,
|
|
29
|
+
featherTime: rich,
|
|
30
|
+
viewLabel: TextSchema,
|
|
31
|
+
}),
|
|
32
|
+
}));
|
|
33
|
+
}
|
|
34
|
+
/** Props of `FallingTargetAimLab`: the falling-target demonstration. */
|
|
35
|
+
function fallingTargetAimLab(rich) {
|
|
36
|
+
return figure(Schema.Struct({
|
|
37
|
+
...cardFields(rich),
|
|
38
|
+
labels: Schema.Struct({
|
|
39
|
+
drop: rich,
|
|
40
|
+
meetTime: rich,
|
|
41
|
+
speed: rich,
|
|
42
|
+
speedName: TextSchema,
|
|
43
|
+
viewLabel: TextSchema,
|
|
44
|
+
}),
|
|
45
|
+
speed: Schema.optionalKey(Schema.Finite),
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Props of `HoseJetProjectileLab`: a garden hose held at the ground and tilted
|
|
50
|
+
* to six angles.
|
|
51
|
+
*/
|
|
52
|
+
function hoseJetProjectileLab(rich) {
|
|
53
|
+
return figure(Schema.Struct({
|
|
54
|
+
...cardFields(rich),
|
|
55
|
+
angle: Schema.optionalKey(Schema.Literals([15, 30, 45, 60, 75, 90])),
|
|
56
|
+
labels: Schema.Struct({
|
|
57
|
+
chooseAngle: TextSchema,
|
|
58
|
+
flight: rich,
|
|
59
|
+
range: rich,
|
|
60
|
+
top: rich,
|
|
61
|
+
viewLabel: TextSchema,
|
|
62
|
+
}),
|
|
63
|
+
speed: Schema.Finite,
|
|
64
|
+
}));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The props of the falling and projectile labs. No prop states the conclusion a
|
|
68
|
+
* lab leads to, so none holds answer state.
|
|
69
|
+
*/
|
|
70
|
+
export function fallingVisuals(rich) {
|
|
71
|
+
return {
|
|
72
|
+
GalileoInclineBellsLab: galileoInclineBellsLab(rich),
|
|
73
|
+
FeatherCoinVacuumLab: featherCoinVacuumLab(rich),
|
|
74
|
+
FallingTargetAimLab: fallingTargetAimLab(rich),
|
|
75
|
+
HoseJetProjectileLab: hoseJetProjectileLab(rich),
|
|
76
|
+
};
|
|
77
|
+
}
|