@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 { byIds, cardFields, TextSchema
|
|
2
|
+
import { byIds, cardFields, TextSchema } from "#contracts/visual/card";
|
|
3
3
|
import { figure } from "#contracts/visual/entry";
|
|
4
4
|
/**
|
|
5
5
|
* Props of `SolarPanelAngleLab`: a solar panel on a stand under parallel rays
|
|
@@ -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 labs that add and resolve displacement vectors. No prop
|
|
5
5
|
* states the conclusion a lab leads to, so none holds answer state.
|
|
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
7
7
|
export declare function vectorVisuals<E>(rich: RichSlot<E>): {
|
|
8
8
|
AircraftCrosswindLab: 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 airspeed: Schema.Finite;
|
|
12
79
|
readonly heading: Schema.optionalKey<Schema.Finite>;
|
|
@@ -24,6 +91,73 @@ export declare function vectorVisuals<E>(rich: RichSlot<E>): {
|
|
|
24
91
|
}>, "figure">;
|
|
25
92
|
DroneDisplacementLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
26
93
|
readonly description: RichSlot<E>;
|
|
94
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
95
|
+
readonly attrs: {
|
|
96
|
+
readonly latex: string;
|
|
97
|
+
};
|
|
98
|
+
readonly type: "mathInline";
|
|
99
|
+
} | {
|
|
100
|
+
readonly marks?: readonly [{
|
|
101
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
102
|
+
} | {
|
|
103
|
+
readonly attrs: {
|
|
104
|
+
readonly href: string;
|
|
105
|
+
};
|
|
106
|
+
readonly type: "link";
|
|
107
|
+
} | {
|
|
108
|
+
readonly attrs: {
|
|
109
|
+
readonly variant: "success" | "warning" | null;
|
|
110
|
+
};
|
|
111
|
+
readonly type: "highlight";
|
|
112
|
+
}, ...({
|
|
113
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
114
|
+
} | {
|
|
115
|
+
readonly attrs: {
|
|
116
|
+
readonly href: string;
|
|
117
|
+
};
|
|
118
|
+
readonly type: "link";
|
|
119
|
+
} | {
|
|
120
|
+
readonly attrs: {
|
|
121
|
+
readonly variant: "success" | "warning" | null;
|
|
122
|
+
};
|
|
123
|
+
readonly type: "highlight";
|
|
124
|
+
})[]];
|
|
125
|
+
readonly text: string;
|
|
126
|
+
readonly type: "text";
|
|
127
|
+
}, ...({
|
|
128
|
+
readonly attrs: {
|
|
129
|
+
readonly latex: string;
|
|
130
|
+
};
|
|
131
|
+
readonly type: "mathInline";
|
|
132
|
+
} | {
|
|
133
|
+
readonly marks?: readonly [{
|
|
134
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
135
|
+
} | {
|
|
136
|
+
readonly attrs: {
|
|
137
|
+
readonly href: string;
|
|
138
|
+
};
|
|
139
|
+
readonly type: "link";
|
|
140
|
+
} | {
|
|
141
|
+
readonly attrs: {
|
|
142
|
+
readonly variant: "success" | "warning" | null;
|
|
143
|
+
};
|
|
144
|
+
readonly type: "highlight";
|
|
145
|
+
}, ...({
|
|
146
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
147
|
+
} | {
|
|
148
|
+
readonly attrs: {
|
|
149
|
+
readonly href: string;
|
|
150
|
+
};
|
|
151
|
+
readonly type: "link";
|
|
152
|
+
} | {
|
|
153
|
+
readonly attrs: {
|
|
154
|
+
readonly variant: "success" | "warning" | null;
|
|
155
|
+
};
|
|
156
|
+
readonly type: "highlight";
|
|
157
|
+
})[]];
|
|
158
|
+
readonly text: string;
|
|
159
|
+
readonly type: "text";
|
|
160
|
+
})[]], E, never, never>>;
|
|
27
161
|
readonly title: RichSlot<E>;
|
|
28
162
|
readonly factors: Schema.optionalKey<Schema.$Array<Schema.Finite>>;
|
|
29
163
|
readonly hops: Schema.NonEmptyArray<Schema.Struct<{
|
|
@@ -42,6 +176,73 @@ export declare function vectorVisuals<E>(rich: RichSlot<E>): {
|
|
|
42
176
|
}>, "figure">;
|
|
43
177
|
OrienteeringMapVectorLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
44
178
|
readonly description: RichSlot<E>;
|
|
179
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
180
|
+
readonly attrs: {
|
|
181
|
+
readonly latex: string;
|
|
182
|
+
};
|
|
183
|
+
readonly type: "mathInline";
|
|
184
|
+
} | {
|
|
185
|
+
readonly marks?: readonly [{
|
|
186
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
187
|
+
} | {
|
|
188
|
+
readonly attrs: {
|
|
189
|
+
readonly href: string;
|
|
190
|
+
};
|
|
191
|
+
readonly type: "link";
|
|
192
|
+
} | {
|
|
193
|
+
readonly attrs: {
|
|
194
|
+
readonly variant: "success" | "warning" | null;
|
|
195
|
+
};
|
|
196
|
+
readonly type: "highlight";
|
|
197
|
+
}, ...({
|
|
198
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
199
|
+
} | {
|
|
200
|
+
readonly attrs: {
|
|
201
|
+
readonly href: string;
|
|
202
|
+
};
|
|
203
|
+
readonly type: "link";
|
|
204
|
+
} | {
|
|
205
|
+
readonly attrs: {
|
|
206
|
+
readonly variant: "success" | "warning" | null;
|
|
207
|
+
};
|
|
208
|
+
readonly type: "highlight";
|
|
209
|
+
})[]];
|
|
210
|
+
readonly text: string;
|
|
211
|
+
readonly type: "text";
|
|
212
|
+
}, ...({
|
|
213
|
+
readonly attrs: {
|
|
214
|
+
readonly latex: string;
|
|
215
|
+
};
|
|
216
|
+
readonly type: "mathInline";
|
|
217
|
+
} | {
|
|
218
|
+
readonly marks?: readonly [{
|
|
219
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
220
|
+
} | {
|
|
221
|
+
readonly attrs: {
|
|
222
|
+
readonly href: string;
|
|
223
|
+
};
|
|
224
|
+
readonly type: "link";
|
|
225
|
+
} | {
|
|
226
|
+
readonly attrs: {
|
|
227
|
+
readonly variant: "success" | "warning" | null;
|
|
228
|
+
};
|
|
229
|
+
readonly type: "highlight";
|
|
230
|
+
}, ...({
|
|
231
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
232
|
+
} | {
|
|
233
|
+
readonly attrs: {
|
|
234
|
+
readonly href: string;
|
|
235
|
+
};
|
|
236
|
+
readonly type: "link";
|
|
237
|
+
} | {
|
|
238
|
+
readonly attrs: {
|
|
239
|
+
readonly variant: "success" | "warning" | null;
|
|
240
|
+
};
|
|
241
|
+
readonly type: "highlight";
|
|
242
|
+
})[]];
|
|
243
|
+
readonly text: string;
|
|
244
|
+
readonly type: "text";
|
|
245
|
+
})[]], E, never, never>>;
|
|
45
246
|
readonly title: RichSlot<E>;
|
|
46
247
|
readonly labels: Schema.Struct<{
|
|
47
248
|
readonly angle: RichSlot<E>;
|
|
@@ -70,6 +271,73 @@ export declare function vectorVisuals<E>(rich: RichSlot<E>): {
|
|
|
70
271
|
}>, "figure">;
|
|
71
272
|
ShipBearingComponentLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
72
273
|
readonly description: RichSlot<E>;
|
|
274
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
275
|
+
readonly attrs: {
|
|
276
|
+
readonly latex: string;
|
|
277
|
+
};
|
|
278
|
+
readonly type: "mathInline";
|
|
279
|
+
} | {
|
|
280
|
+
readonly marks?: readonly [{
|
|
281
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
282
|
+
} | {
|
|
283
|
+
readonly attrs: {
|
|
284
|
+
readonly href: string;
|
|
285
|
+
};
|
|
286
|
+
readonly type: "link";
|
|
287
|
+
} | {
|
|
288
|
+
readonly attrs: {
|
|
289
|
+
readonly variant: "success" | "warning" | null;
|
|
290
|
+
};
|
|
291
|
+
readonly type: "highlight";
|
|
292
|
+
}, ...({
|
|
293
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
294
|
+
} | {
|
|
295
|
+
readonly attrs: {
|
|
296
|
+
readonly href: string;
|
|
297
|
+
};
|
|
298
|
+
readonly type: "link";
|
|
299
|
+
} | {
|
|
300
|
+
readonly attrs: {
|
|
301
|
+
readonly variant: "success" | "warning" | null;
|
|
302
|
+
};
|
|
303
|
+
readonly type: "highlight";
|
|
304
|
+
})[]];
|
|
305
|
+
readonly text: string;
|
|
306
|
+
readonly type: "text";
|
|
307
|
+
}, ...({
|
|
308
|
+
readonly attrs: {
|
|
309
|
+
readonly latex: string;
|
|
310
|
+
};
|
|
311
|
+
readonly type: "mathInline";
|
|
312
|
+
} | {
|
|
313
|
+
readonly marks?: readonly [{
|
|
314
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
315
|
+
} | {
|
|
316
|
+
readonly attrs: {
|
|
317
|
+
readonly href: string;
|
|
318
|
+
};
|
|
319
|
+
readonly type: "link";
|
|
320
|
+
} | {
|
|
321
|
+
readonly attrs: {
|
|
322
|
+
readonly variant: "success" | "warning" | null;
|
|
323
|
+
};
|
|
324
|
+
readonly type: "highlight";
|
|
325
|
+
}, ...({
|
|
326
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
327
|
+
} | {
|
|
328
|
+
readonly attrs: {
|
|
329
|
+
readonly href: string;
|
|
330
|
+
};
|
|
331
|
+
readonly type: "link";
|
|
332
|
+
} | {
|
|
333
|
+
readonly attrs: {
|
|
334
|
+
readonly variant: "success" | "warning" | null;
|
|
335
|
+
};
|
|
336
|
+
readonly type: "highlight";
|
|
337
|
+
})[]];
|
|
338
|
+
readonly text: string;
|
|
339
|
+
readonly type: "text";
|
|
340
|
+
})[]], E, never, never>>;
|
|
73
341
|
readonly title: RichSlot<E>;
|
|
74
342
|
readonly courses: Schema.NonEmptyArray<Schema.Struct<{
|
|
75
343
|
readonly bearing: Schema.Finite;
|
|
@@ -87,6 +355,73 @@ export declare function vectorVisuals<E>(rich: RichSlot<E>): {
|
|
|
87
355
|
}>, "figure">;
|
|
88
356
|
WindMapVectorLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
89
357
|
readonly description: RichSlot<E>;
|
|
358
|
+
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
359
|
+
readonly attrs: {
|
|
360
|
+
readonly latex: string;
|
|
361
|
+
};
|
|
362
|
+
readonly type: "mathInline";
|
|
363
|
+
} | {
|
|
364
|
+
readonly marks?: readonly [{
|
|
365
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
366
|
+
} | {
|
|
367
|
+
readonly attrs: {
|
|
368
|
+
readonly href: string;
|
|
369
|
+
};
|
|
370
|
+
readonly type: "link";
|
|
371
|
+
} | {
|
|
372
|
+
readonly attrs: {
|
|
373
|
+
readonly variant: "success" | "warning" | null;
|
|
374
|
+
};
|
|
375
|
+
readonly type: "highlight";
|
|
376
|
+
}, ...({
|
|
377
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
378
|
+
} | {
|
|
379
|
+
readonly attrs: {
|
|
380
|
+
readonly href: string;
|
|
381
|
+
};
|
|
382
|
+
readonly type: "link";
|
|
383
|
+
} | {
|
|
384
|
+
readonly attrs: {
|
|
385
|
+
readonly variant: "success" | "warning" | null;
|
|
386
|
+
};
|
|
387
|
+
readonly type: "highlight";
|
|
388
|
+
})[]];
|
|
389
|
+
readonly text: string;
|
|
390
|
+
readonly type: "text";
|
|
391
|
+
}, ...({
|
|
392
|
+
readonly attrs: {
|
|
393
|
+
readonly latex: string;
|
|
394
|
+
};
|
|
395
|
+
readonly type: "mathInline";
|
|
396
|
+
} | {
|
|
397
|
+
readonly marks?: readonly [{
|
|
398
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
399
|
+
} | {
|
|
400
|
+
readonly attrs: {
|
|
401
|
+
readonly href: string;
|
|
402
|
+
};
|
|
403
|
+
readonly type: "link";
|
|
404
|
+
} | {
|
|
405
|
+
readonly attrs: {
|
|
406
|
+
readonly variant: "success" | "warning" | null;
|
|
407
|
+
};
|
|
408
|
+
readonly type: "highlight";
|
|
409
|
+
}, ...({
|
|
410
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
411
|
+
} | {
|
|
412
|
+
readonly attrs: {
|
|
413
|
+
readonly href: string;
|
|
414
|
+
};
|
|
415
|
+
readonly type: "link";
|
|
416
|
+
} | {
|
|
417
|
+
readonly attrs: {
|
|
418
|
+
readonly variant: "success" | "warning" | null;
|
|
419
|
+
};
|
|
420
|
+
readonly type: "highlight";
|
|
421
|
+
})[]];
|
|
422
|
+
readonly text: string;
|
|
423
|
+
readonly type: "text";
|
|
424
|
+
})[]], E, never, never>>;
|
|
90
425
|
readonly title: RichSlot<E>;
|
|
91
426
|
readonly angle: Schema.Finite;
|
|
92
427
|
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 point on the orienteering map: metres east and north of the start. */
|
|
5
5
|
const MARK = Schema.Struct({ east: Schema.Finite, north: Schema.Finite });
|