@nakafa/aksara-contracts 8.1.0 → 8.2.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/visual/biology.d.ts +16 -16
- package/dist/visual/biology.js +2 -2
- package/dist/visual/catalog.d.ts +646 -28
- package/dist/visual/catalog.js +22 -0
- package/dist/visual/chemistry/atom.d.ts +2 -2
- package/dist/visual/chemistry/atom.js +2 -2
- package/dist/visual/mathematics/function.d.ts +4 -4
- package/dist/visual/mathematics/function.js +4 -4
- package/dist/visual/mathematics/geometry.d.ts +1 -1
- package/dist/visual/mathematics/geometry.js +1 -1
- package/dist/visual/physics/circuit.d.ts +75 -0
- package/dist/visual/physics/circuit.js +86 -0
- package/dist/visual/physics/dynamics.d.ts +110 -0
- package/dist/visual/physics/dynamics.js +134 -0
- package/dist/visual/physics/electronics.d.ts +59 -0
- package/dist/visual/physics/electronics.js +71 -0
- package/dist/visual/physics/field.d.ts +48 -0
- package/dist/visual/physics/field.js +60 -0
- package/dist/visual/physics/fluid.d.ts +68 -0
- package/dist/visual/physics/fluid.js +83 -0
- package/dist/visual/physics/gravity.d.ts +38 -0
- package/dist/visual/physics/gravity.js +47 -0
- package/dist/visual/physics/heat.d.ts +54 -0
- package/dist/visual/physics/heat.js +66 -0
- package/dist/visual/physics/light.d.ts +75 -0
- package/dist/visual/physics/light.js +90 -0
- package/dist/visual/physics/nuclear.d.ts +57 -0
- package/dist/visual/physics/nuclear.js +69 -0
- package/dist/visual/physics/parabolic.d.ts +2 -2
- package/dist/visual/physics/parabolic.js +2 -2
- package/dist/visual/physics/reading.d.ts +52 -0
- package/dist/visual/physics/reading.js +61 -0
- package/dist/visual/physics/wave.d.ts +70 -0
- package/dist/visual/physics/wave.js +85 -0
- package/dist/visual/politics.d.ts +1 -1
- package/dist/visual/politics.js +1 -1
- package/package.json +1 -1
package/dist/visual/biology.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { type RichSlot } from "#contracts/visual/card";
|
|
|
8
8
|
export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
9
9
|
BacteriaStructureLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
10
10
|
defaultItemIndex: Schema.optionalKey<Schema.Int>;
|
|
11
|
-
description:
|
|
11
|
+
description: RichSlot<E>;
|
|
12
12
|
labels: Schema.Struct<{
|
|
13
13
|
readonly chooseMode: Schema.Trimmed;
|
|
14
14
|
readonly focusLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
@@ -38,11 +38,11 @@ export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
38
38
|
readonly takeawayLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
39
39
|
readonly viewLabel: Schema.Trimmed;
|
|
40
40
|
}>;
|
|
41
|
-
title:
|
|
41
|
+
title: RichSlot<E>;
|
|
42
42
|
}>, "figure">;
|
|
43
43
|
ClimateObservationLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
44
44
|
defaultItemIndex: Schema.optionalKey<Schema.Int>;
|
|
45
|
-
description:
|
|
45
|
+
description: RichSlot<E>;
|
|
46
46
|
labels: Schema.Struct<{
|
|
47
47
|
readonly chooseMode: Schema.Trimmed;
|
|
48
48
|
readonly focusLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
@@ -59,11 +59,11 @@ export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
59
59
|
readonly takeawayLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
60
60
|
readonly viewLabel: Schema.Trimmed;
|
|
61
61
|
}>;
|
|
62
|
-
title:
|
|
62
|
+
title: RichSlot<E>;
|
|
63
63
|
}>, "figure">;
|
|
64
64
|
FungiMyceliumLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
65
65
|
defaultItemIndex: Schema.optionalKey<Schema.Int>;
|
|
66
|
-
description:
|
|
66
|
+
description: RichSlot<E>;
|
|
67
67
|
labels: Schema.Struct<{
|
|
68
68
|
readonly chooseMode: Schema.Trimmed;
|
|
69
69
|
readonly focusLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
@@ -80,7 +80,7 @@ export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
80
80
|
readonly takeawayLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
81
81
|
readonly viewLabel: Schema.Trimmed;
|
|
82
82
|
}>;
|
|
83
|
-
title:
|
|
83
|
+
title: RichSlot<E>;
|
|
84
84
|
}>, "figure">;
|
|
85
85
|
GreenhouseEffectLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
86
86
|
readonly description: RichSlot<E>;
|
|
@@ -96,7 +96,7 @@ export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
96
96
|
}>, "figure">;
|
|
97
97
|
SarsCov2VirionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
98
98
|
defaultItemIndex: Schema.optionalKey<Schema.Int>;
|
|
99
|
-
description:
|
|
99
|
+
description: RichSlot<E>;
|
|
100
100
|
labels: Schema.Struct<{
|
|
101
101
|
readonly chooseMode: Schema.Trimmed;
|
|
102
102
|
readonly focusLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
@@ -113,11 +113,11 @@ export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
113
113
|
readonly takeawayLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
114
114
|
readonly viewLabel: Schema.Trimmed;
|
|
115
115
|
}>;
|
|
116
|
-
title:
|
|
116
|
+
title: RichSlot<E>;
|
|
117
117
|
}>, "figure">;
|
|
118
118
|
VirusMorphologyLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
119
119
|
defaultItemIndex: Schema.optionalKey<Schema.Int>;
|
|
120
|
-
description:
|
|
120
|
+
description: RichSlot<E>;
|
|
121
121
|
labels: Schema.Struct<{
|
|
122
122
|
readonly chooseMode: Schema.Trimmed;
|
|
123
123
|
readonly focusLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
@@ -134,11 +134,11 @@ export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
134
134
|
readonly takeawayLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
135
135
|
readonly viewLabel: Schema.Trimmed;
|
|
136
136
|
}>;
|
|
137
|
-
title:
|
|
137
|
+
title: RichSlot<E>;
|
|
138
138
|
}>, "figure">;
|
|
139
139
|
VirusReplicationLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
140
140
|
readonly defaultItemIndex: Schema.optionalKey<Schema.Int>;
|
|
141
|
-
readonly description:
|
|
141
|
+
readonly description: RichSlot<E>;
|
|
142
142
|
readonly labels: Schema.Struct<{
|
|
143
143
|
readonly chooseMode: Schema.Trimmed;
|
|
144
144
|
readonly focusLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
@@ -155,12 +155,12 @@ export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
155
155
|
readonly takeawayLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
156
156
|
readonly viewLabel: Schema.Trimmed;
|
|
157
157
|
}>;
|
|
158
|
-
readonly title:
|
|
158
|
+
readonly title: RichSlot<E>;
|
|
159
159
|
readonly mode: Schema.optionalKey<Schema.Literals<readonly ["both", "lytic", "lysogenic"]>>;
|
|
160
160
|
}>, "figure">;
|
|
161
161
|
VirusRoleLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
162
162
|
defaultItemIndex: Schema.optionalKey<Schema.Int>;
|
|
163
|
-
description:
|
|
163
|
+
description: RichSlot<E>;
|
|
164
164
|
labels: Schema.Struct<{
|
|
165
165
|
readonly chooseMode: Schema.Trimmed;
|
|
166
166
|
readonly focusLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
@@ -177,11 +177,11 @@ export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
177
177
|
readonly takeawayLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
178
178
|
readonly viewLabel: Schema.Trimmed;
|
|
179
179
|
}>;
|
|
180
|
-
title:
|
|
180
|
+
title: RichSlot<E>;
|
|
181
181
|
}>, "figure">;
|
|
182
182
|
VirusStructureLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
183
183
|
defaultItemIndex: Schema.optionalKey<Schema.Int>;
|
|
184
|
-
description:
|
|
184
|
+
description: RichSlot<E>;
|
|
185
185
|
labels: Schema.Struct<{
|
|
186
186
|
readonly chooseMode: Schema.Trimmed;
|
|
187
187
|
readonly focusLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
@@ -198,6 +198,6 @@ export declare function biologyVisuals<E>(rich: RichSlot<E>): {
|
|
|
198
198
|
readonly takeawayLabel: Schema.optionalKey<Schema.Trimmed>;
|
|
199
199
|
readonly viewLabel: Schema.Trimmed;
|
|
200
200
|
}>;
|
|
201
|
-
title:
|
|
201
|
+
title: RichSlot<E>;
|
|
202
202
|
}>, "figure">;
|
|
203
203
|
};
|
package/dist/visual/biology.js
CHANGED
|
@@ -21,7 +21,7 @@ function itemFields(rich) {
|
|
|
21
21
|
function biologyFields(item, rich) {
|
|
22
22
|
return {
|
|
23
23
|
defaultItemIndex: Schema.optionalKey(Schema.Int.check(Schema.isGreaterThanOrEqualTo(0))),
|
|
24
|
-
description:
|
|
24
|
+
description: rich,
|
|
25
25
|
labels: Schema.Struct({
|
|
26
26
|
chooseMode: TextSchema,
|
|
27
27
|
focusLabel: Schema.optionalKey(TextSchema),
|
|
@@ -29,7 +29,7 @@ function biologyFields(item, rich) {
|
|
|
29
29
|
takeawayLabel: Schema.optionalKey(TextSchema),
|
|
30
30
|
viewLabel: TextSchema,
|
|
31
31
|
}),
|
|
32
|
-
title:
|
|
32
|
+
title: rich,
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
/** Props of a biology lab whose items need nothing but their words. */
|