@nakafa/aksara-contracts 7.0.0 → 8.0.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.
Files changed (74) hide show
  1. package/dist/assessment/figure.d.ts +24 -48725
  2. package/dist/assessment/figure.js +10 -6
  3. package/dist/visual/base/layout.d.ts +6 -6
  4. package/dist/visual/base/math.d.ts +4 -4
  5. package/dist/visual/base/media.d.ts +2 -2
  6. package/dist/visual/biology/bacteria.d.ts +55 -0
  7. package/dist/visual/biology/bacteria.js +79 -0
  8. package/dist/visual/biology/cell.d.ts +89 -0
  9. package/dist/visual/biology/cell.js +95 -0
  10. package/dist/visual/biology/climate.d.ts +75 -0
  11. package/dist/visual/biology/climate.js +94 -0
  12. package/dist/visual/biology/ecology.d.ts +75 -0
  13. package/dist/visual/biology/ecology.js +94 -0
  14. package/dist/visual/biology.d.ts +9 -9
  15. package/dist/visual/card.d.ts +0 -2
  16. package/dist/visual/card.js +0 -6
  17. package/dist/visual/catalog.d.ts +1610 -27079
  18. package/dist/visual/catalog.js +47 -1
  19. package/dist/visual/chemistry/atom.d.ts +4 -4
  20. package/dist/visual/chemistry/balance.d.ts +79 -0
  21. package/dist/visual/chemistry/balance.js +128 -0
  22. package/dist/visual/chemistry/bonding.d.ts +80 -0
  23. package/dist/visual/chemistry/bonding.js +147 -0
  24. package/dist/visual/chemistry/discovery.d.ts +96 -0
  25. package/dist/visual/chemistry/discovery.js +137 -0
  26. package/dist/visual/chemistry/electron.d.ts +2 -2
  27. package/dist/visual/chemistry/laws.d.ts +4 -4
  28. package/dist/visual/chemistry/particles.d.ts +5 -5
  29. package/dist/visual/chemistry/periodic.d.ts +2 -2
  30. package/dist/visual/chemistry/reaction.d.ts +3 -3
  31. package/dist/visual/entry.d.ts +4 -4
  32. package/dist/visual/mathematics/chart.d.ts +1 -1
  33. package/dist/visual/mathematics/charts.d.ts +5 -5
  34. package/dist/visual/mathematics/function.d.ts +7 -7
  35. package/dist/visual/mathematics/geometry.d.ts +4 -213
  36. package/dist/visual/mathematics/geometry.js +3 -65
  37. package/dist/visual/physics/braking.d.ts +62 -0
  38. package/dist/visual/physics/braking.js +83 -0
  39. package/dist/visual/physics/circular.d.ts +36 -0
  40. package/dist/visual/physics/circular.js +51 -0
  41. package/dist/visual/physics/efficiency.d.ts +93 -0
  42. package/dist/visual/physics/efficiency.js +129 -0
  43. package/dist/visual/physics/falling.d.ts +56 -0
  44. package/dist/visual/physics/falling.js +77 -0
  45. package/dist/visual/physics/force.d.ts +88 -0
  46. package/dist/visual/physics/force.js +115 -0
  47. package/dist/visual/physics/instrument.d.ts +93 -0
  48. package/dist/visual/physics/instrument.js +135 -0
  49. package/dist/visual/physics/measurement.d.ts +4 -4
  50. package/dist/visual/physics/motion.d.ts +6 -6
  51. package/dist/visual/physics/parabolic.d.ts +2 -2
  52. package/dist/visual/physics/position.d.ts +87 -0
  53. package/dist/visual/physics/position.js +123 -0
  54. package/dist/visual/physics/power.d.ts +121 -0
  55. package/dist/visual/physics/power.js +162 -0
  56. package/dist/visual/physics/precision.d.ts +96 -0
  57. package/dist/visual/physics/precision.js +137 -0
  58. package/dist/visual/physics/product.d.ts +73 -0
  59. package/dist/visual/physics/product.js +96 -0
  60. package/dist/visual/physics/record.d.ts +34 -0
  61. package/dist/visual/physics/record.js +46 -0
  62. package/dist/visual/physics/relative.d.ts +55 -0
  63. package/dist/visual/physics/relative.js +76 -0
  64. package/dist/visual/physics/solar.d.ts +91 -0
  65. package/dist/visual/physics/solar.js +126 -0
  66. package/dist/visual/physics/vector.d.ts +103 -0
  67. package/dist/visual/physics/vector.js +123 -0
  68. package/dist/visual/physics/velocity.d.ts +7 -7
  69. package/dist/visual/politics.d.ts +8 -8
  70. package/package.json +1 -1
  71. package/dist/visual/mathematics/line.d.ts +0 -179
  72. package/dist/visual/mathematics/line.js +0 -156
  73. package/dist/visual/mathematics/number.d.ts +0 -21
  74. package/dist/visual/mathematics/number.js +0 -53
@@ -0,0 +1,88 @@
1
+ import { Schema } from "effect";
2
+ import { type RichSlot } from "#contracts/visual/card";
3
+ /**
4
+ * The props of the labs that add and resolve forces. No prop states the
5
+ * conclusion a lab leads to, so none holds answer state.
6
+ */
7
+ export declare function forceVisuals<E>(rich: RichSlot<E>): {
8
+ ForceTableResultantLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
+ readonly description: RichSlot<E>;
10
+ readonly title: RichSlot<E>;
11
+ readonly labels: Schema.Struct<{
12
+ readonly angle: RichSlot<E>;
13
+ readonly angleName: Schema.Trimmed;
14
+ readonly direction: RichSlot<E>;
15
+ readonly resultant: RichSlot<E>;
16
+ readonly sumX: RichSlot<E>;
17
+ readonly sumY: RichSlot<E>;
18
+ readonly viewLabel: Schema.Trimmed;
19
+ }>;
20
+ readonly pulls: Schema.$Array<Schema.Struct<{
21
+ readonly angle: Schema.Finite;
22
+ readonly mass: Schema.Finite;
23
+ }>>;
24
+ }>, "figure">;
25
+ TugOfWarForceLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
26
+ readonly description: RichSlot<E>;
27
+ readonly title: RichSlot<E>;
28
+ readonly labels: Schema.Struct<{
29
+ readonly left: RichSlot<E>;
30
+ readonly leftCount: RichSlot<E>;
31
+ readonly leftName: Schema.Trimmed;
32
+ readonly net: RichSlot<E>;
33
+ readonly right: RichSlot<E>;
34
+ readonly rightCount: RichSlot<E>;
35
+ readonly rightName: Schema.Trimmed;
36
+ readonly viewLabel: Schema.Trimmed;
37
+ }>;
38
+ readonly left: Schema.Finite;
39
+ readonly pull: Schema.Finite;
40
+ readonly right: Schema.Finite;
41
+ }>, "figure">;
42
+ TugboatResultantLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
43
+ readonly description: RichSlot<E>;
44
+ readonly title: RichSlot<E>;
45
+ readonly between: Schema.Finite;
46
+ readonly first: Schema.Finite;
47
+ readonly labels: Schema.Struct<{
48
+ readonly between: RichSlot<E>;
49
+ readonly betweenName: Schema.Trimmed;
50
+ readonly fromFirst: RichSlot<E>;
51
+ readonly fromLine: RichSlot<E>;
52
+ readonly resultant: RichSlot<E>;
53
+ readonly viewLabel: Schema.Trimmed;
54
+ }>;
55
+ readonly second: Schema.Finite;
56
+ }>, "figure">;
57
+ RampBlockComponentLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
58
+ readonly description: RichSlot<E>;
59
+ readonly title: RichSlot<E>;
60
+ readonly angle: Schema.Finite;
61
+ readonly distance: Schema.optionalKey<Schema.Finite>;
62
+ readonly friction: Schema.Finite;
63
+ readonly labels: Schema.Struct<{
64
+ readonly along: RichSlot<E>;
65
+ readonly angle: RichSlot<E>;
66
+ readonly angleName: Schema.Trimmed;
67
+ readonly into: RichSlot<E>;
68
+ readonly viewLabel: Schema.Trimmed;
69
+ readonly weight: RichSlot<E>;
70
+ readonly work: Schema.optionalKey<RichSlot<E>>;
71
+ }>;
72
+ readonly mass: Schema.Finite;
73
+ }>, "figure">;
74
+ KiteStringTensionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
75
+ readonly description: RichSlot<E>;
76
+ readonly title: RichSlot<E>;
77
+ readonly angle: Schema.Finite;
78
+ readonly labels: Schema.Struct<{
79
+ readonly across: RichSlot<E>;
80
+ readonly angle: RichSlot<E>;
81
+ readonly angleName: Schema.Trimmed;
82
+ readonly up: RichSlot<E>;
83
+ readonly viewLabel: Schema.Trimmed;
84
+ }>;
85
+ readonly length: Schema.Finite;
86
+ readonly tension: Schema.Finite;
87
+ }>, "figure">;
88
+ };
@@ -0,0 +1,115 @@
1
+ import { Schema } from "effect";
2
+ import { cardFields, TextSchema } from "#contracts/visual/card";
3
+ import { figure } from "#contracts/visual/entry";
4
+ /** Props of `ForceTableResultantLab`: a force table on a lab bench. */
5
+ function forceTableResultantLab(rich) {
6
+ return figure(Schema.Struct({
7
+ ...cardFields(rich),
8
+ labels: Schema.Struct({
9
+ angle: rich,
10
+ angleName: TextSchema,
11
+ direction: rich,
12
+ resultant: rich,
13
+ sumX: rich,
14
+ sumY: rich,
15
+ viewLabel: TextSchema,
16
+ }),
17
+ pulls: Schema.Array(Schema.Struct({
18
+ angle: Schema.Finite,
19
+ mass: Schema.Finite.check(Schema.isGreaterThan(0)),
20
+ })),
21
+ }));
22
+ }
23
+ /** Props of `TugOfWarForceLab`: a tug of war at sunset. */
24
+ function tugOfWarForceLab(rich) {
25
+ return figure(Schema.Struct({
26
+ ...cardFields(rich),
27
+ labels: Schema.Struct({
28
+ left: rich,
29
+ leftCount: rich,
30
+ leftName: TextSchema,
31
+ net: rich,
32
+ right: rich,
33
+ rightCount: rich,
34
+ rightName: TextSchema,
35
+ viewLabel: TextSchema,
36
+ }),
37
+ left: Schema.Finite,
38
+ pull: Schema.Finite,
39
+ right: Schema.Finite,
40
+ }));
41
+ }
42
+ /**
43
+ * Props of `TugboatResultantLab`: two harbour tugs tow a bulk carrier, their
44
+ * cables opening at an angle.
45
+ */
46
+ function tugboatResultantLab(rich) {
47
+ return figure(Schema.Struct({
48
+ ...cardFields(rich),
49
+ between: Schema.Finite,
50
+ first: Schema.Finite,
51
+ labels: Schema.Struct({
52
+ between: rich,
53
+ betweenName: TextSchema,
54
+ fromFirst: rich,
55
+ fromLine: rich,
56
+ resultant: rich,
57
+ viewLabel: TextSchema,
58
+ }),
59
+ second: Schema.Finite,
60
+ }));
61
+ }
62
+ /**
63
+ * Props of `RampBlockComponentLab`: a wooden block on a pine plank hinged on a
64
+ * lab bench.
65
+ */
66
+ function rampBlockComponentLab(rich) {
67
+ return figure(Schema.Struct({
68
+ ...cardFields(rich),
69
+ angle: Schema.Finite,
70
+ distance: Schema.optionalKey(Schema.Finite),
71
+ friction: Schema.Finite,
72
+ labels: Schema.Struct({
73
+ along: rich,
74
+ angle: rich,
75
+ angleName: TextSchema,
76
+ into: rich,
77
+ viewLabel: TextSchema,
78
+ weight: rich,
79
+ work: Schema.optionalKey(rich),
80
+ }),
81
+ mass: Schema.Finite,
82
+ }));
83
+ }
84
+ /**
85
+ * Props of `KiteStringTensionLab`: a kite on a string tied to a stake, the wind
86
+ * carrying it downwind.
87
+ */
88
+ function kiteStringTensionLab(rich) {
89
+ return figure(Schema.Struct({
90
+ ...cardFields(rich),
91
+ angle: Schema.Finite,
92
+ labels: Schema.Struct({
93
+ across: rich,
94
+ angle: rich,
95
+ angleName: TextSchema,
96
+ up: rich,
97
+ viewLabel: TextSchema,
98
+ }),
99
+ length: Schema.Finite,
100
+ tension: Schema.Finite,
101
+ }));
102
+ }
103
+ /**
104
+ * The props of the labs that add and resolve forces. No prop states the
105
+ * conclusion a lab leads to, so none holds answer state.
106
+ */
107
+ export function forceVisuals(rich) {
108
+ return {
109
+ ForceTableResultantLab: forceTableResultantLab(rich),
110
+ TugOfWarForceLab: tugOfWarForceLab(rich),
111
+ TugboatResultantLab: tugboatResultantLab(rich),
112
+ RampBlockComponentLab: rampBlockComponentLab(rich),
113
+ KiteStringTensionLab: kiteStringTensionLab(rich),
114
+ };
115
+ }
@@ -0,0 +1,93 @@
1
+ import { Schema } from "effect";
2
+ import { type RichSlot } from "#contracts/visual/card";
3
+ /**
4
+ * The props of the labs that read a measuring instrument. No prop states the
5
+ * conclusion a lab leads to, so none holds answer state.
6
+ */
7
+ export declare function instrumentVisuals<E>(rich: RichSlot<E>): {
8
+ MicrometerScrewLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
+ readonly description: RichSlot<E>;
10
+ readonly title: RichSlot<E>;
11
+ readonly labels: Schema.Struct<{
12
+ readonly division: RichSlot<E>;
13
+ readonly reading: RichSlot<E>;
14
+ readonly size: Schema.Trimmed;
15
+ readonly sleeve: RichSlot<E>;
16
+ readonly viewLabel: Schema.Trimmed;
17
+ }>;
18
+ readonly thickness: Schema.optionalKey<Schema.Finite>;
19
+ }>, "figure">;
20
+ VernierCaliperLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
21
+ readonly description: RichSlot<E>;
22
+ readonly title: RichSlot<E>;
23
+ readonly labels: Schema.Struct<{
24
+ readonly centimetres: RichSlot<E>;
25
+ readonly line: RichSlot<E>;
26
+ readonly main: RichSlot<E>;
27
+ readonly reading: RichSlot<E>;
28
+ readonly viewLabel: Schema.Trimmed;
29
+ readonly width: Schema.Trimmed;
30
+ }>;
31
+ readonly width: Schema.optionalKey<Schema.Finite>;
32
+ }>, "figure">;
33
+ MicroscopeScaleLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
34
+ readonly description: RichSlot<E>;
35
+ readonly title: RichSlot<E>;
36
+ readonly labels: Schema.Struct<{
37
+ readonly chooseObjective: Schema.Trimmed;
38
+ readonly diameter: RichSlot<E>;
39
+ readonly divisions: RichSlot<E>;
40
+ readonly metres: RichSlot<E>;
41
+ readonly oneDivision: RichSlot<E>;
42
+ readonly viewLabel: Schema.Trimmed;
43
+ }>;
44
+ }>, "figure">;
45
+ ParallaxReadingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
46
+ readonly description: RichSlot<E>;
47
+ readonly title: RichSlot<E>;
48
+ readonly labels: Schema.Struct<{
49
+ readonly error: RichSlot<E>;
50
+ readonly eye: Schema.Trimmed;
51
+ readonly reading: RichSlot<E>;
52
+ readonly trueVolume: RichSlot<E>;
53
+ readonly viewLabel: Schema.Trimmed;
54
+ }>;
55
+ readonly offset: Schema.optionalKey<Schema.Finite>;
56
+ }>, "figure">;
57
+ LightGateSpeedLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
58
+ readonly description: RichSlot<E>;
59
+ readonly title: RichSlot<E>;
60
+ readonly distance: Schema.optionalKey<Schema.Finite>;
61
+ readonly labels: Schema.Struct<{
62
+ readonly distance: Schema.Trimmed;
63
+ readonly speed: RichSlot<E>;
64
+ readonly time: RichSlot<E>;
65
+ readonly viewLabel: Schema.Trimmed;
66
+ }>;
67
+ }>, "figure">;
68
+ StopwatchSpreadLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
69
+ readonly description: RichSlot<E>;
70
+ readonly title: RichSlot<E>;
71
+ readonly count: Schema.optionalKey<Schema.Finite>;
72
+ readonly labels: Schema.Struct<{
73
+ readonly mean: RichSlot<E>;
74
+ readonly spread: RichSlot<E>;
75
+ readonly trials: Schema.Trimmed;
76
+ readonly uncertainty: RichSlot<E>;
77
+ readonly viewLabel: Schema.Trimmed;
78
+ }>;
79
+ }>, "figure">;
80
+ PendulumPeriodLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
81
+ readonly description: RichSlot<E>;
82
+ readonly title: RichSlot<E>;
83
+ readonly labels: Schema.Struct<{
84
+ readonly check: RichSlot<E>;
85
+ readonly gravity: RichSlot<E>;
86
+ readonly length: Schema.Trimmed;
87
+ readonly masses: RichSlot<E>;
88
+ readonly period: RichSlot<E>;
89
+ readonly viewLabel: Schema.Trimmed;
90
+ }>;
91
+ readonly length: Schema.optionalKey<Schema.Finite>;
92
+ }>, "figure">;
93
+ };
@@ -0,0 +1,135 @@
1
+ import { Schema } from "effect";
2
+ import { cardFields, TextSchema } from "#contracts/visual/card";
3
+ import { figure } from "#contracts/visual/entry";
4
+ /**
5
+ * Props of `MicrometerScrewLab`: a micrometer screw gauge closed on a steel
6
+ * ball, with a magnifier on its sleeve and thimble.
7
+ */
8
+ function micrometerScrewLab(rich) {
9
+ return figure(Schema.Struct({
10
+ ...cardFields(rich),
11
+ labels: Schema.Struct({
12
+ division: rich,
13
+ reading: rich,
14
+ size: TextSchema,
15
+ sleeve: rich,
16
+ viewLabel: TextSchema,
17
+ }),
18
+ thickness: Schema.optionalKey(Schema.Finite),
19
+ }));
20
+ }
21
+ /**
22
+ * Props of `VernierCaliperLab`: a vernier caliper closed on a brass cylinder,
23
+ * with a magnifier on its scales.
24
+ */
25
+ function vernierCaliperLab(rich) {
26
+ return figure(Schema.Struct({
27
+ ...cardFields(rich),
28
+ labels: Schema.Struct({
29
+ centimetres: rich,
30
+ line: rich,
31
+ main: rich,
32
+ reading: rich,
33
+ viewLabel: TextSchema,
34
+ width: TextSchema,
35
+ }),
36
+ width: Schema.optionalKey(Schema.Finite),
37
+ }));
38
+ }
39
+ /**
40
+ * Props of `MicroscopeScaleLab`: a hair seen through a microscope with a scale
41
+ * in its eyepiece.
42
+ */
43
+ function microscopeScaleLab(rich) {
44
+ return figure(Schema.Struct({
45
+ ...cardFields(rich),
46
+ labels: Schema.Struct({
47
+ chooseObjective: TextSchema,
48
+ diameter: rich,
49
+ divisions: rich,
50
+ metres: rich,
51
+ oneDivision: rich,
52
+ viewLabel: TextSchema,
53
+ }),
54
+ }));
55
+ }
56
+ /**
57
+ * Props of `ParallaxReadingLab`: an eye reading the water in a measuring
58
+ * cylinder.
59
+ */
60
+ function parallaxReadingLab(rich) {
61
+ return figure(Schema.Struct({
62
+ ...cardFields(rich),
63
+ labels: Schema.Struct({
64
+ error: rich,
65
+ eye: TextSchema,
66
+ reading: rich,
67
+ trueVolume: rich,
68
+ viewLabel: TextSchema,
69
+ }),
70
+ offset: Schema.optionalKey(Schema.Finite),
71
+ }));
72
+ }
73
+ /** Props of `LightGateSpeedLab`: a trolley rolling through two light gates. */
74
+ function lightGateSpeedLab(rich) {
75
+ return figure(Schema.Struct({
76
+ ...cardFields(rich),
77
+ distance: Schema.optionalKey(Schema.Finite),
78
+ labels: Schema.Struct({
79
+ distance: TextSchema,
80
+ speed: rich,
81
+ time: rich,
82
+ viewLabel: TextSchema,
83
+ }),
84
+ }));
85
+ }
86
+ /**
87
+ * Props of `StopwatchSpreadLab`: ten swings of a pendulum timed by hand, trial
88
+ * after trial.
89
+ */
90
+ function stopwatchSpreadLab(rich) {
91
+ return figure(Schema.Struct({
92
+ ...cardFields(rich),
93
+ count: Schema.optionalKey(Schema.Finite),
94
+ labels: Schema.Struct({
95
+ mean: rich,
96
+ spread: rich,
97
+ trials: TextSchema,
98
+ uncertainty: rich,
99
+ viewLabel: TextSchema,
100
+ }),
101
+ }));
102
+ }
103
+ /**
104
+ * Props of `PendulumPeriodLab`: three pendulums of one length with a 50 g
105
+ * wooden bob, a 200 g brass bob and a 500 g lead bob.
106
+ */
107
+ function pendulumPeriodLab(rich) {
108
+ return figure(Schema.Struct({
109
+ ...cardFields(rich),
110
+ labels: Schema.Struct({
111
+ check: rich,
112
+ gravity: rich,
113
+ length: TextSchema,
114
+ masses: rich,
115
+ period: rich,
116
+ viewLabel: TextSchema,
117
+ }),
118
+ length: Schema.optionalKey(Schema.Finite),
119
+ }));
120
+ }
121
+ /**
122
+ * The props of the labs that read a measuring instrument. No prop states the
123
+ * conclusion a lab leads to, so none holds answer state.
124
+ */
125
+ export function instrumentVisuals(rich) {
126
+ return {
127
+ MicrometerScrewLab: micrometerScrewLab(rich),
128
+ VernierCaliperLab: vernierCaliperLab(rich),
129
+ MicroscopeScaleLab: microscopeScaleLab(rich),
130
+ ParallaxReadingLab: parallaxReadingLab(rich),
131
+ LightGateSpeedLab: lightGateSpeedLab(rich),
132
+ StopwatchSpreadLab: stopwatchSpreadLab(rich),
133
+ PendulumPeriodLab: pendulumPeriodLab(rich),
134
+ };
135
+ }
@@ -16,7 +16,7 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
16
16
  readonly modes: Schema.$Record<Schema.Literals<readonly ["length", "area", "volume"]>, Schema.Trimmed>;
17
17
  readonly unit: Schema.Trimmed;
18
18
  }>;
19
- }>>;
19
+ }>, "figure">;
20
20
  MeasurementToolsLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
21
21
  readonly description: RichSlot<E>;
22
22
  readonly title: RichSlot<E>;
@@ -33,7 +33,7 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
33
33
  readonly tab: Schema.Trimmed;
34
34
  }>>;
35
35
  }>;
36
- }>>;
36
+ }>, "figure">;
37
37
  VectorConceptLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
38
38
  readonly description: RichSlot<E>;
39
39
  readonly title: RichSlot<E>;
@@ -49,7 +49,7 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
49
49
  readonly netIdeaValue: Schema.Trimmed;
50
50
  readonly rightCable: RichSlot<E>;
51
51
  }>;
52
- }>>;
52
+ }>, "figure">;
53
53
  WindEnergyConversionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
54
54
  readonly description: RichSlot<E>;
55
55
  readonly title: RichSlot<E>;
@@ -62,5 +62,5 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
62
62
  readonly speedUnit: Schema.Trimmed;
63
63
  readonly viewLabel: Schema.Trimmed;
64
64
  }>;
65
- }>>;
65
+ }>, "figure">;
66
66
  };
@@ -16,7 +16,7 @@ export declare function motionVisuals<E>(rich: RichSlot<E>): {
16
16
  readonly timeAxis: Schema.Trimmed;
17
17
  readonly velocityAxis: Schema.Trimmed;
18
18
  }>;
19
- }>>;
19
+ }>, "figure">;
20
20
  AccelerationLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
21
21
  readonly description: RichSlot<E>;
22
22
  readonly title: RichSlot<E>;
@@ -31,7 +31,7 @@ export declare function motionVisuals<E>(rich: RichSlot<E>): {
31
31
  readonly scenarioNames: Schema.$Record<Schema.Literals<readonly ["speed-up", "steady", "slow-down"]>, RichSlot<E>>;
32
32
  readonly viewLabel: Schema.Trimmed;
33
33
  }>;
34
- }>>;
34
+ }>, "figure">;
35
35
  NonUniformLinearMotionGraphCard: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
36
36
  readonly description: RichSlot<E>;
37
37
  readonly title: RichSlot<E>;
@@ -41,7 +41,7 @@ export declare function motionVisuals<E>(rich: RichSlot<E>): {
41
41
  readonly timeAxis: Schema.Trimmed;
42
42
  readonly velocityAxis: Schema.Trimmed;
43
43
  }>;
44
- }>>;
44
+ }>, "figure">;
45
45
  NonUniformLinearMotionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
46
46
  readonly description: RichSlot<E>;
47
47
  readonly title: RichSlot<E>;
@@ -56,7 +56,7 @@ export declare function motionVisuals<E>(rich: RichSlot<E>): {
56
56
  readonly scenarioNames: Schema.$Record<Schema.Literals<readonly ["from-rest", "speed-up", "brake"]>, RichSlot<E>>;
57
57
  readonly viewLabel: Schema.Trimmed;
58
58
  }>;
59
- }>>;
59
+ }>, "figure">;
60
60
  UniformCircularMotionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
61
61
  readonly description: RichSlot<E>;
62
62
  readonly title: RichSlot<E>;
@@ -69,7 +69,7 @@ export declare function motionVisuals<E>(rich: RichSlot<E>): {
69
69
  readonly speed: RichSlot<E>;
70
70
  readonly viewLabel: Schema.Trimmed;
71
71
  }>;
72
- }>>;
72
+ }>, "figure">;
73
73
  UniformLinearMotionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
74
74
  readonly description: RichSlot<E>;
75
75
  readonly title: RichSlot<E>;
@@ -81,5 +81,5 @@ export declare function motionVisuals<E>(rich: RichSlot<E>): {
81
81
  readonly stepDistance: RichSlot<E>;
82
82
  readonly viewLabel: Schema.Trimmed;
83
83
  }>;
84
- }>>;
84
+ }>, "figure">;
85
85
  };
@@ -22,7 +22,7 @@ export declare function parabolicVisuals<E>(rich: RichSlot<E>): {
22
22
  readonly scenarioNames: Schema.$Record<Schema.Literals<readonly ["sixty-degree", "long-drive", "high-arc"]>, RichSlot<E>>;
23
23
  readonly viewLabel: Schema.Trimmed;
24
24
  }>;
25
- }>>;
25
+ }>, "figure">;
26
26
  ParabolicMovementLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
27
27
  readonly decimalSeparator: Schema.optionalKey<Schema.Literals<readonly ["comma", "dot"]>>;
28
28
  readonly defaultLaunchId: Schema.optionalKey<Schema.Literals<readonly ["low-angle", "balanced-angle", "high-angle"]>>;
@@ -38,5 +38,5 @@ export declare function parabolicVisuals<E>(rich: RichSlot<E>): {
38
38
  readonly viewLabel: Schema.Trimmed;
39
39
  }>;
40
40
  readonly title: Schema.optionalKey<RichSlot<E>>;
41
- }>>;
41
+ }>, "figure">;
42
42
  };
@@ -0,0 +1,87 @@
1
+ import { Schema } from "effect";
2
+ import { type RichSlot } from "#contracts/visual/card";
3
+ /**
4
+ * The props of the position and speed labs. No prop states the conclusion a lab
5
+ * leads to, so none holds answer state.
6
+ */
7
+ export declare function positionVisuals<E>(rich: RichSlot<E>): {
8
+ StreetOriginPositionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
+ readonly description: RichSlot<E>;
10
+ readonly title: RichSlot<E>;
11
+ readonly labels: Schema.Struct<{
12
+ readonly change: RichSlot<E>;
13
+ readonly chooseOrigin: Schema.Trimmed;
14
+ readonly end: RichSlot<E>;
15
+ readonly origins: Schema.$Record<Schema.Literals<readonly ["store", "house", "pole"]>, RichSlot<E>>;
16
+ readonly start: RichSlot<E>;
17
+ readonly viewLabel: Schema.Trimmed;
18
+ }>;
19
+ }>, "figure">;
20
+ CityWalkDisplacementLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
21
+ readonly description: RichSlot<E>;
22
+ readonly title: RichSlot<E>;
23
+ readonly labels: Schema.Struct<{
24
+ readonly averageSpeed: RichSlot<E>;
25
+ readonly averageVelocity: RichSlot<E>;
26
+ readonly displacement: RichSlot<E>;
27
+ readonly distance: RichSlot<E>;
28
+ readonly time: RichSlot<E>;
29
+ readonly viewLabel: Schema.Trimmed;
30
+ }>;
31
+ readonly legs: Schema.NonEmptyArray<Schema.Struct<{
32
+ readonly east: Schema.Finite;
33
+ readonly north: Schema.Finite;
34
+ }>>;
35
+ readonly pace: Schema.Finite;
36
+ }>, "figure">;
37
+ RunningTrackDisplacementLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
38
+ readonly description: RichSlot<E>;
39
+ readonly title: RichSlot<E>;
40
+ readonly labels: Schema.Struct<{
41
+ readonly averageVelocity: RichSlot<E>;
42
+ readonly chooseDistance: Schema.Trimmed;
43
+ readonly displacement: RichSlot<E>;
44
+ readonly distance: RichSlot<E>;
45
+ readonly time: RichSlot<E>;
46
+ readonly viewLabel: Schema.Trimmed;
47
+ }>;
48
+ readonly speed: Schema.Finite;
49
+ }>, "figure">;
50
+ CarTripSecantSlopeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
51
+ readonly description: RichSlot<E>;
52
+ readonly title: RichSlot<E>;
53
+ readonly graph: Schema.optionalKey<Schema.Literals<readonly ["position", "velocity"]>>;
54
+ readonly labels: Schema.Struct<{
55
+ readonly change: RichSlot<E>;
56
+ readonly chooseInterval: Schema.Trimmed;
57
+ readonly elapsed: RichSlot<E>;
58
+ readonly rate: RichSlot<E>;
59
+ readonly viewLabel: Schema.Trimmed;
60
+ }>;
61
+ readonly trip: Schema.optionalKey<Schema.Literals<readonly ["commute", "cruise", "return"]>>;
62
+ }>, "figure">;
63
+ SpeedTrapInstantSpeedLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
64
+ readonly description: RichSlot<E>;
65
+ readonly title: RichSlot<E>;
66
+ readonly labels: Schema.Struct<{
67
+ readonly averageSpeed: RichSlot<E>;
68
+ readonly chooseGap: Schema.Trimmed;
69
+ readonly elapsed: RichSlot<E>;
70
+ readonly gap: RichSlot<E>;
71
+ readonly instantSpeed: RichSlot<E>;
72
+ readonly viewLabel: Schema.Trimmed;
73
+ }>;
74
+ }>, "figure">;
75
+ BicycleWheelSpeedLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
76
+ readonly description: RichSlot<E>;
77
+ readonly title: RichSlot<E>;
78
+ readonly labels: Schema.Struct<{
79
+ readonly angularSpeed: RichSlot<E>;
80
+ readonly choosePeriod: Schema.Trimmed;
81
+ readonly reflectorSpeed: RichSlot<E>;
82
+ readonly valveAcceleration: RichSlot<E>;
83
+ readonly valveSpeed: RichSlot<E>;
84
+ readonly viewLabel: Schema.Trimmed;
85
+ }>;
86
+ }>, "figure">;
87
+ };