@nakafa/aksara-contracts 8.9.1 → 8.12.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/choice.d.ts +26 -0
- package/dist/assessment/document.d.ts +39 -0
- package/dist/assessment/figure.d.ts +13 -0
- package/dist/assessment/hash.d.ts +711 -111
- package/dist/assessment/inline.d.ts +53 -0
- package/dist/assessment/inline.js +1 -0
- package/dist/assessment/interaction.d.ts +26 -0
- package/dist/assessment/item.d.ts +414 -36
- package/dist/assessment/paper.d.ts +731 -131
- package/dist/assessment/part.d.ts +13 -0
- package/dist/assessment/rows.d.ts +336 -36
- package/dist/assessment/snapshot.d.ts +773 -121
- package/dist/release/snapshot/data.d.ts +26 -0
- package/dist/release/snapshot/verify.d.ts +336 -36
- package/dist/transport/group.d.ts +78 -0
- package/dist/transport/request.d.ts +2195 -343
- package/dist/transport/snapshot.d.ts +52 -0
- package/dist/visual/base/math.d.ts +56 -6
- package/dist/visual/base/media.d.ts +56 -6
- package/dist/visual/biology/bacteria.d.ts +224 -24
- package/dist/visual/biology/binomial.d.ts +139 -0
- package/dist/visual/biology/binomial.js +46 -0
- package/dist/visual/biology/blood.d.ts +56 -6
- package/dist/visual/biology/bone.d.ts +141 -0
- package/dist/visual/biology/bone.js +46 -0
- package/dist/visual/biology/cell.d.ts +168 -18
- package/dist/visual/biology/chromosome.d.ts +139 -0
- package/dist/visual/biology/chromosome.js +42 -0
- package/dist/visual/biology/climate.d.ts +168 -18
- package/dist/visual/biology/control.d.ts +17 -0
- package/dist/visual/biology/control.js +21 -0
- package/dist/visual/biology/denature.d.ts +159 -0
- package/dist/visual/biology/denature.js +74 -0
- package/dist/visual/biology/drawing.d.ts +151 -0
- package/dist/visual/biology/drawing.js +69 -0
- package/dist/visual/biology/ecology.d.ts +224 -24
- package/dist/visual/biology/enzyme.d.ts +145 -0
- package/dist/visual/biology/enzyme.js +54 -0
- package/dist/visual/biology/equipment.d.ts +140 -0
- package/dist/visual/biology/equipment.js +64 -0
- package/dist/visual/biology/gametogenesis.d.ts +145 -0
- package/dist/visual/biology/gametogenesis.js +83 -0
- package/dist/visual/biology/heart.d.ts +56 -6
- package/dist/visual/biology/implantation.d.ts +138 -0
- package/dist/visual/biology/implantation.js +44 -0
- package/dist/visual/biology/joint.d.ts +140 -0
- package/dist/visual/biology/joint.js +47 -0
- package/dist/visual/biology/key.d.ts +141 -0
- package/dist/visual/biology/key.js +58 -0
- package/dist/visual/biology/kingdom.d.ts +142 -0
- package/dist/visual/biology/kingdom.js +82 -0
- package/dist/visual/biology/lactase.d.ts +147 -0
- package/dist/visual/biology/lactase.js +48 -0
- package/dist/visual/biology/limb.d.ts +139 -0
- package/dist/visual/biology/limb.js +44 -0
- package/dist/visual/biology/lipid.d.ts +144 -0
- package/dist/visual/biology/lipid.js +43 -0
- package/dist/visual/biology/locomotion.d.ts +141 -0
- package/dist/visual/biology/locomotion.js +48 -0
- package/dist/visual/biology/menstrual.d.ts +148 -0
- package/dist/visual/biology/menstrual.js +65 -0
- package/dist/visual/biology/metamorphosis.d.ts +140 -0
- package/dist/visual/biology/metamorphosis.js +34 -0
- package/dist/visual/biology/mitochondrion.d.ts +56 -6
- package/dist/visual/biology/muscle.d.ts +56 -6
- package/dist/visual/biology/neuron.d.ts +56 -6
- package/dist/visual/biology/paddy.d.ts +56 -6
- package/dist/visual/biology/physiology.d.ts +168 -18
- package/dist/visual/biology/placenta.d.ts +139 -0
- package/dist/visual/biology/placenta.js +52 -0
- package/dist/visual/biology/planes.d.ts +145 -0
- package/dist/visual/biology/planes.js +62 -0
- package/dist/visual/biology/plant.d.ts +280 -30
- package/dist/visual/biology/protein.d.ts +142 -0
- package/dist/visual/biology/protein.js +41 -0
- package/dist/visual/biology/saturation.d.ts +149 -0
- package/dist/visual/biology/saturation.js +40 -0
- package/dist/visual/biology/secretion.d.ts +149 -0
- package/dist/visual/biology/secretion.js +79 -0
- package/dist/visual/biology/spill.d.ts +165 -0
- package/dist/visual/biology/spill.js +58 -0
- package/dist/visual/biology/sugar.d.ts +152 -0
- package/dist/visual/biology/sugar.js +59 -0
- package/dist/visual/biology/synapse.d.ts +56 -6
- package/dist/visual/biology/taxon.d.ts +138 -0
- package/dist/visual/biology/taxon.js +50 -0
- package/dist/visual/biology/twins.d.ts +144 -0
- package/dist/visual/biology/twins.js +60 -0
- package/dist/visual/biology/vernacular.d.ts +141 -0
- package/dist/visual/biology/vernacular.js +57 -0
- package/dist/visual/biology/vertebra.d.ts +141 -0
- package/dist/visual/biology/vertebra.js +59 -0
- package/dist/visual/biology/vessel.d.ts +56 -6
- package/dist/visual/biology/waste.d.ts +140 -0
- package/dist/visual/biology/waste.js +57 -0
- package/dist/visual/biology/water.d.ts +152 -0
- package/dist/visual/biology/water.js +54 -0
- package/dist/visual/biology/yeast.d.ts +56 -6
- package/dist/visual/card.d.ts +67 -6
- package/dist/visual/card.js +17 -1
- package/dist/visual/catalog.d.ts +21584 -5487
- package/dist/visual/catalog.js +66 -0
- package/dist/visual/chemistry/atom.d.ts +168 -18
- package/dist/visual/chemistry/balance.d.ts +280 -30
- package/dist/visual/chemistry/bonding.d.ts +280 -30
- package/dist/visual/chemistry/discovery.d.ts +392 -42
- package/dist/visual/chemistry/electrochemistry.d.ts +112 -12
- package/dist/visual/chemistry/electron.d.ts +112 -12
- package/dist/visual/chemistry/laws.d.ts +224 -24
- package/dist/visual/chemistry/particles.d.ts +280 -30
- package/dist/visual/chemistry/periodic.d.ts +112 -12
- package/dist/visual/chemistry/rate.d.ts +56 -6
- package/dist/visual/chemistry/reaction.d.ts +168 -18
- package/dist/visual/chemistry/titration.d.ts +56 -6
- package/dist/visual/length.d.ts +56 -6
- package/dist/visual/mathematics/argument.d.ts +226 -0
- package/dist/visual/mathematics/argument.js +150 -0
- package/dist/visual/mathematics/chance.d.ts +168 -18
- package/dist/visual/mathematics/chart.d.ts +56 -6
- package/dist/visual/mathematics/charts.d.ts +280 -30
- package/dist/visual/mathematics/counterexample.d.ts +340 -0
- package/dist/visual/mathematics/counterexample.js +157 -0
- package/dist/visual/mathematics/function.d.ts +168 -18
- package/dist/visual/mathematics/journey.d.ts +56 -6
- package/dist/visual/mathematics/logic.d.ts +56 -6
- package/dist/visual/mathematics/network.d.ts +56 -6
- package/dist/visual/mathematics/numeral.d.ts +168 -18
- package/dist/visual/mathematics/sets.d.ts +56 -6
- package/dist/visual/physics/braking.d.ts +224 -24
- package/dist/visual/physics/circuit.d.ts +224 -24
- package/dist/visual/physics/circular.d.ts +112 -12
- package/dist/visual/physics/dynamics.d.ts +392 -42
- package/dist/visual/physics/efficiency.d.ts +336 -36
- package/dist/visual/physics/electronics.d.ts +168 -18
- package/dist/visual/physics/falling.d.ts +224 -24
- package/dist/visual/physics/field.d.ts +168 -18
- package/dist/visual/physics/fluid.d.ts +224 -24
- package/dist/visual/physics/force.d.ts +280 -30
- package/dist/visual/physics/gravity.d.ts +112 -12
- package/dist/visual/physics/heat.d.ts +168 -18
- package/dist/visual/physics/instrument.d.ts +392 -42
- package/dist/visual/physics/light.d.ts +224 -24
- package/dist/visual/physics/measurement.d.ts +224 -24
- package/dist/visual/physics/motion.d.ts +336 -36
- package/dist/visual/physics/nuclear.d.ts +168 -18
- package/dist/visual/physics/parabolic.d.ts +56 -6
- package/dist/visual/physics/position.d.ts +336 -36
- package/dist/visual/physics/power.d.ts +448 -48
- package/dist/visual/physics/precision.d.ts +392 -42
- package/dist/visual/physics/product.d.ts +224 -24
- package/dist/visual/physics/reading.d.ts +168 -18
- package/dist/visual/physics/record.d.ts +112 -12
- package/dist/visual/physics/relative.d.ts +168 -18
- package/dist/visual/physics/solar.d.ts +336 -36
- package/dist/visual/physics/thermodynamics.d.ts +56 -6
- package/dist/visual/physics/vector.d.ts +280 -30
- package/dist/visual/physics/velocity.d.ts +392 -42
- package/dist/visual/physics/wave.d.ts +224 -24
- package/dist/visual/politics.d.ts +336 -36
- package/package.json +1 -1
|
@@ -468,6 +468,19 @@ export declare const StageSnapshotBatchInputSchema: Schema.Struct<{
|
|
|
468
468
|
readonly attrs: Schema.Struct<{
|
|
469
469
|
readonly latex: Schema.Trimmed;
|
|
470
470
|
}>;
|
|
471
|
+
readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
472
|
+
readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
|
|
473
|
+
}>, Schema.Struct<{
|
|
474
|
+
readonly attrs: Schema.Struct<{
|
|
475
|
+
readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
|
|
476
|
+
}>;
|
|
477
|
+
readonly type: Schema.Literal<"highlight">;
|
|
478
|
+
}>, Schema.Struct<{
|
|
479
|
+
readonly attrs: Schema.Struct<{
|
|
480
|
+
readonly href: Schema.String;
|
|
481
|
+
}>;
|
|
482
|
+
readonly type: Schema.Literal<"link">;
|
|
483
|
+
}>]>>>;
|
|
471
484
|
readonly type: Schema.Literal<"mathInline">;
|
|
472
485
|
}>]>>;
|
|
473
486
|
}>>;
|
|
@@ -549,6 +562,19 @@ export declare const StageSnapshotBatchInputSchema: Schema.Struct<{
|
|
|
549
562
|
readonly attrs: Schema.Struct<{
|
|
550
563
|
readonly latex: Schema.Trimmed;
|
|
551
564
|
}>;
|
|
565
|
+
readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
566
|
+
readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
|
|
567
|
+
}>, Schema.Struct<{
|
|
568
|
+
readonly attrs: Schema.Struct<{
|
|
569
|
+
readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
|
|
570
|
+
}>;
|
|
571
|
+
readonly type: Schema.Literal<"highlight">;
|
|
572
|
+
}>, Schema.Struct<{
|
|
573
|
+
readonly attrs: Schema.Struct<{
|
|
574
|
+
readonly href: Schema.String;
|
|
575
|
+
}>;
|
|
576
|
+
readonly type: Schema.Literal<"link">;
|
|
577
|
+
}>]>>>;
|
|
552
578
|
readonly type: Schema.Literal<"mathInline">;
|
|
553
579
|
}>]>>;
|
|
554
580
|
readonly maxMatches: Schema.Int;
|
|
@@ -1388,6 +1414,19 @@ export declare const StageSnapshotBatchRequestSchema: Schema.Struct<{
|
|
|
1388
1414
|
readonly attrs: Schema.Struct<{
|
|
1389
1415
|
readonly latex: Schema.Trimmed;
|
|
1390
1416
|
}>;
|
|
1417
|
+
readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1418
|
+
readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
|
|
1419
|
+
}>, Schema.Struct<{
|
|
1420
|
+
readonly attrs: Schema.Struct<{
|
|
1421
|
+
readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
|
|
1422
|
+
}>;
|
|
1423
|
+
readonly type: Schema.Literal<"highlight">;
|
|
1424
|
+
}>, Schema.Struct<{
|
|
1425
|
+
readonly attrs: Schema.Struct<{
|
|
1426
|
+
readonly href: Schema.String;
|
|
1427
|
+
}>;
|
|
1428
|
+
readonly type: Schema.Literal<"link">;
|
|
1429
|
+
}>]>>>;
|
|
1391
1430
|
readonly type: Schema.Literal<"mathInline">;
|
|
1392
1431
|
}>]>>;
|
|
1393
1432
|
}>>;
|
|
@@ -1469,6 +1508,19 @@ export declare const StageSnapshotBatchRequestSchema: Schema.Struct<{
|
|
|
1469
1508
|
readonly attrs: Schema.Struct<{
|
|
1470
1509
|
readonly latex: Schema.Trimmed;
|
|
1471
1510
|
}>;
|
|
1511
|
+
readonly marks: Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
1512
|
+
readonly type: Schema.Literals<readonly ["bold", "italic", "underline", "code", "subscript", "superscript"]>;
|
|
1513
|
+
}>, Schema.Struct<{
|
|
1514
|
+
readonly attrs: Schema.Struct<{
|
|
1515
|
+
readonly variant: Schema.NullOr<Schema.Literals<readonly ["success", "warning"]>>;
|
|
1516
|
+
}>;
|
|
1517
|
+
readonly type: Schema.Literal<"highlight">;
|
|
1518
|
+
}>, Schema.Struct<{
|
|
1519
|
+
readonly attrs: Schema.Struct<{
|
|
1520
|
+
readonly href: Schema.String;
|
|
1521
|
+
}>;
|
|
1522
|
+
readonly type: Schema.Literal<"link">;
|
|
1523
|
+
}>]>>>;
|
|
1472
1524
|
readonly type: Schema.Literal<"mathInline">;
|
|
1473
1525
|
}>]>>;
|
|
1474
1526
|
readonly maxMatches: Schema.Int;
|
|
@@ -18,11 +18,64 @@ export declare function mathVisuals<E>(rich: RichSlot<E>): {
|
|
|
18
18
|
MathVisual: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
19
19
|
readonly description: RichSlot<E>;
|
|
20
20
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
21
|
+
readonly marks?: readonly [{
|
|
22
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
23
|
+
} | {
|
|
24
|
+
readonly attrs: {
|
|
25
|
+
readonly href: string;
|
|
26
|
+
};
|
|
27
|
+
readonly type: "link";
|
|
28
|
+
} | {
|
|
29
|
+
readonly attrs: {
|
|
30
|
+
readonly variant: "success" | "warning" | null;
|
|
31
|
+
};
|
|
32
|
+
readonly type: "highlight";
|
|
33
|
+
}, ...({
|
|
34
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
35
|
+
} | {
|
|
36
|
+
readonly attrs: {
|
|
37
|
+
readonly href: string;
|
|
38
|
+
};
|
|
39
|
+
readonly type: "link";
|
|
40
|
+
} | {
|
|
41
|
+
readonly attrs: {
|
|
42
|
+
readonly variant: "success" | "warning" | null;
|
|
43
|
+
};
|
|
44
|
+
readonly type: "highlight";
|
|
45
|
+
})[]];
|
|
46
|
+
readonly text: string;
|
|
47
|
+
readonly type: "text";
|
|
48
|
+
} | {
|
|
21
49
|
readonly attrs: {
|
|
22
50
|
readonly latex: string;
|
|
23
51
|
};
|
|
52
|
+
readonly marks?: readonly [{
|
|
53
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
54
|
+
} | {
|
|
55
|
+
readonly attrs: {
|
|
56
|
+
readonly href: string;
|
|
57
|
+
};
|
|
58
|
+
readonly type: "link";
|
|
59
|
+
} | {
|
|
60
|
+
readonly attrs: {
|
|
61
|
+
readonly variant: "success" | "warning" | null;
|
|
62
|
+
};
|
|
63
|
+
readonly type: "highlight";
|
|
64
|
+
}, ...({
|
|
65
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
66
|
+
} | {
|
|
67
|
+
readonly attrs: {
|
|
68
|
+
readonly href: string;
|
|
69
|
+
};
|
|
70
|
+
readonly type: "link";
|
|
71
|
+
} | {
|
|
72
|
+
readonly attrs: {
|
|
73
|
+
readonly variant: "success" | "warning" | null;
|
|
74
|
+
};
|
|
75
|
+
readonly type: "highlight";
|
|
76
|
+
})[]];
|
|
24
77
|
readonly type: "mathInline";
|
|
25
|
-
}
|
|
78
|
+
}, ...({
|
|
26
79
|
readonly marks?: readonly [{
|
|
27
80
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
28
81
|
} | {
|
|
@@ -50,12 +103,10 @@ export declare function mathVisuals<E>(rich: RichSlot<E>): {
|
|
|
50
103
|
})[]];
|
|
51
104
|
readonly text: string;
|
|
52
105
|
readonly type: "text";
|
|
53
|
-
}
|
|
106
|
+
} | {
|
|
54
107
|
readonly attrs: {
|
|
55
108
|
readonly latex: string;
|
|
56
109
|
};
|
|
57
|
-
readonly type: "mathInline";
|
|
58
|
-
} | {
|
|
59
110
|
readonly marks?: readonly [{
|
|
60
111
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
61
112
|
} | {
|
|
@@ -81,8 +132,7 @@ export declare function mathVisuals<E>(rich: RichSlot<E>): {
|
|
|
81
132
|
};
|
|
82
133
|
readonly type: "highlight";
|
|
83
134
|
})[]];
|
|
84
|
-
readonly
|
|
85
|
-
readonly type: "text";
|
|
135
|
+
readonly type: "mathInline";
|
|
86
136
|
})[]], E, never, never>>;
|
|
87
137
|
readonly title: RichSlot<E>;
|
|
88
138
|
readonly labels: Schema.optionalKey<Schema.$Record<Schema.String, RichSlot<E>>>;
|
|
@@ -5,11 +5,64 @@ export declare function mediaVisuals<E>(rich: RichSlot<E>): {
|
|
|
5
5
|
Mermaid: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
6
6
|
readonly description: RichSlot<E>;
|
|
7
7
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
8
|
+
readonly marks?: readonly [{
|
|
9
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
10
|
+
} | {
|
|
11
|
+
readonly attrs: {
|
|
12
|
+
readonly href: string;
|
|
13
|
+
};
|
|
14
|
+
readonly type: "link";
|
|
15
|
+
} | {
|
|
16
|
+
readonly attrs: {
|
|
17
|
+
readonly variant: "success" | "warning" | null;
|
|
18
|
+
};
|
|
19
|
+
readonly type: "highlight";
|
|
20
|
+
}, ...({
|
|
21
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
22
|
+
} | {
|
|
23
|
+
readonly attrs: {
|
|
24
|
+
readonly href: string;
|
|
25
|
+
};
|
|
26
|
+
readonly type: "link";
|
|
27
|
+
} | {
|
|
28
|
+
readonly attrs: {
|
|
29
|
+
readonly variant: "success" | "warning" | null;
|
|
30
|
+
};
|
|
31
|
+
readonly type: "highlight";
|
|
32
|
+
})[]];
|
|
33
|
+
readonly text: string;
|
|
34
|
+
readonly type: "text";
|
|
35
|
+
} | {
|
|
8
36
|
readonly attrs: {
|
|
9
37
|
readonly latex: string;
|
|
10
38
|
};
|
|
39
|
+
readonly marks?: readonly [{
|
|
40
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
41
|
+
} | {
|
|
42
|
+
readonly attrs: {
|
|
43
|
+
readonly href: string;
|
|
44
|
+
};
|
|
45
|
+
readonly type: "link";
|
|
46
|
+
} | {
|
|
47
|
+
readonly attrs: {
|
|
48
|
+
readonly variant: "success" | "warning" | null;
|
|
49
|
+
};
|
|
50
|
+
readonly type: "highlight";
|
|
51
|
+
}, ...({
|
|
52
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
53
|
+
} | {
|
|
54
|
+
readonly attrs: {
|
|
55
|
+
readonly href: string;
|
|
56
|
+
};
|
|
57
|
+
readonly type: "link";
|
|
58
|
+
} | {
|
|
59
|
+
readonly attrs: {
|
|
60
|
+
readonly variant: "success" | "warning" | null;
|
|
61
|
+
};
|
|
62
|
+
readonly type: "highlight";
|
|
63
|
+
})[]];
|
|
11
64
|
readonly type: "mathInline";
|
|
12
|
-
}
|
|
65
|
+
}, ...({
|
|
13
66
|
readonly marks?: readonly [{
|
|
14
67
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
15
68
|
} | {
|
|
@@ -37,12 +90,10 @@ export declare function mediaVisuals<E>(rich: RichSlot<E>): {
|
|
|
37
90
|
})[]];
|
|
38
91
|
readonly text: string;
|
|
39
92
|
readonly type: "text";
|
|
40
|
-
}
|
|
93
|
+
} | {
|
|
41
94
|
readonly attrs: {
|
|
42
95
|
readonly latex: string;
|
|
43
96
|
};
|
|
44
|
-
readonly type: "mathInline";
|
|
45
|
-
} | {
|
|
46
97
|
readonly marks?: readonly [{
|
|
47
98
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
48
99
|
} | {
|
|
@@ -68,8 +119,7 @@ export declare function mediaVisuals<E>(rich: RichSlot<E>): {
|
|
|
68
119
|
};
|
|
69
120
|
readonly type: "highlight";
|
|
70
121
|
})[]];
|
|
71
|
-
readonly
|
|
72
|
-
readonly type: "text";
|
|
122
|
+
readonly type: "mathInline";
|
|
73
123
|
})[]], E, never, never>>;
|
|
74
124
|
readonly title: RichSlot<E>;
|
|
75
125
|
readonly chart: Schema.String;
|
|
@@ -8,11 +8,64 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
8
8
|
BinaryFissionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
9
9
|
readonly description: RichSlot<E>;
|
|
10
10
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
11
|
+
readonly marks?: readonly [{
|
|
12
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
13
|
+
} | {
|
|
14
|
+
readonly attrs: {
|
|
15
|
+
readonly href: string;
|
|
16
|
+
};
|
|
17
|
+
readonly type: "link";
|
|
18
|
+
} | {
|
|
19
|
+
readonly attrs: {
|
|
20
|
+
readonly variant: "success" | "warning" | null;
|
|
21
|
+
};
|
|
22
|
+
readonly type: "highlight";
|
|
23
|
+
}, ...({
|
|
24
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
25
|
+
} | {
|
|
26
|
+
readonly attrs: {
|
|
27
|
+
readonly href: string;
|
|
28
|
+
};
|
|
29
|
+
readonly type: "link";
|
|
30
|
+
} | {
|
|
31
|
+
readonly attrs: {
|
|
32
|
+
readonly variant: "success" | "warning" | null;
|
|
33
|
+
};
|
|
34
|
+
readonly type: "highlight";
|
|
35
|
+
})[]];
|
|
36
|
+
readonly text: string;
|
|
37
|
+
readonly type: "text";
|
|
38
|
+
} | {
|
|
11
39
|
readonly attrs: {
|
|
12
40
|
readonly latex: string;
|
|
13
41
|
};
|
|
42
|
+
readonly marks?: readonly [{
|
|
43
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
44
|
+
} | {
|
|
45
|
+
readonly attrs: {
|
|
46
|
+
readonly href: string;
|
|
47
|
+
};
|
|
48
|
+
readonly type: "link";
|
|
49
|
+
} | {
|
|
50
|
+
readonly attrs: {
|
|
51
|
+
readonly variant: "success" | "warning" | null;
|
|
52
|
+
};
|
|
53
|
+
readonly type: "highlight";
|
|
54
|
+
}, ...({
|
|
55
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
56
|
+
} | {
|
|
57
|
+
readonly attrs: {
|
|
58
|
+
readonly href: string;
|
|
59
|
+
};
|
|
60
|
+
readonly type: "link";
|
|
61
|
+
} | {
|
|
62
|
+
readonly attrs: {
|
|
63
|
+
readonly variant: "success" | "warning" | null;
|
|
64
|
+
};
|
|
65
|
+
readonly type: "highlight";
|
|
66
|
+
})[]];
|
|
14
67
|
readonly type: "mathInline";
|
|
15
|
-
}
|
|
68
|
+
}, ...({
|
|
16
69
|
readonly marks?: readonly [{
|
|
17
70
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
18
71
|
} | {
|
|
@@ -40,12 +93,10 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
40
93
|
})[]];
|
|
41
94
|
readonly text: string;
|
|
42
95
|
readonly type: "text";
|
|
43
|
-
}
|
|
96
|
+
} | {
|
|
44
97
|
readonly attrs: {
|
|
45
98
|
readonly latex: string;
|
|
46
99
|
};
|
|
47
|
-
readonly type: "mathInline";
|
|
48
|
-
} | {
|
|
49
100
|
readonly marks?: readonly [{
|
|
50
101
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
51
102
|
} | {
|
|
@@ -71,8 +122,7 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
71
122
|
};
|
|
72
123
|
readonly type: "highlight";
|
|
73
124
|
})[]];
|
|
74
|
-
readonly
|
|
75
|
-
readonly type: "text";
|
|
125
|
+
readonly type: "mathInline";
|
|
76
126
|
})[]], E, never, never>>;
|
|
77
127
|
readonly title: RichSlot<E>;
|
|
78
128
|
readonly labels: Schema.Struct<{
|
|
@@ -85,11 +135,64 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
85
135
|
ChemotaxisLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
86
136
|
readonly description: RichSlot<E>;
|
|
87
137
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
138
|
+
readonly marks?: readonly [{
|
|
139
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
140
|
+
} | {
|
|
141
|
+
readonly attrs: {
|
|
142
|
+
readonly href: string;
|
|
143
|
+
};
|
|
144
|
+
readonly type: "link";
|
|
145
|
+
} | {
|
|
146
|
+
readonly attrs: {
|
|
147
|
+
readonly variant: "success" | "warning" | null;
|
|
148
|
+
};
|
|
149
|
+
readonly type: "highlight";
|
|
150
|
+
}, ...({
|
|
151
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
152
|
+
} | {
|
|
153
|
+
readonly attrs: {
|
|
154
|
+
readonly href: string;
|
|
155
|
+
};
|
|
156
|
+
readonly type: "link";
|
|
157
|
+
} | {
|
|
158
|
+
readonly attrs: {
|
|
159
|
+
readonly variant: "success" | "warning" | null;
|
|
160
|
+
};
|
|
161
|
+
readonly type: "highlight";
|
|
162
|
+
})[]];
|
|
163
|
+
readonly text: string;
|
|
164
|
+
readonly type: "text";
|
|
165
|
+
} | {
|
|
88
166
|
readonly attrs: {
|
|
89
167
|
readonly latex: string;
|
|
90
168
|
};
|
|
169
|
+
readonly marks?: readonly [{
|
|
170
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
171
|
+
} | {
|
|
172
|
+
readonly attrs: {
|
|
173
|
+
readonly href: string;
|
|
174
|
+
};
|
|
175
|
+
readonly type: "link";
|
|
176
|
+
} | {
|
|
177
|
+
readonly attrs: {
|
|
178
|
+
readonly variant: "success" | "warning" | null;
|
|
179
|
+
};
|
|
180
|
+
readonly type: "highlight";
|
|
181
|
+
}, ...({
|
|
182
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
183
|
+
} | {
|
|
184
|
+
readonly attrs: {
|
|
185
|
+
readonly href: string;
|
|
186
|
+
};
|
|
187
|
+
readonly type: "link";
|
|
188
|
+
} | {
|
|
189
|
+
readonly attrs: {
|
|
190
|
+
readonly variant: "success" | "warning" | null;
|
|
191
|
+
};
|
|
192
|
+
readonly type: "highlight";
|
|
193
|
+
})[]];
|
|
91
194
|
readonly type: "mathInline";
|
|
92
|
-
}
|
|
195
|
+
}, ...({
|
|
93
196
|
readonly marks?: readonly [{
|
|
94
197
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
95
198
|
} | {
|
|
@@ -117,12 +220,10 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
117
220
|
})[]];
|
|
118
221
|
readonly text: string;
|
|
119
222
|
readonly type: "text";
|
|
120
|
-
}
|
|
223
|
+
} | {
|
|
121
224
|
readonly attrs: {
|
|
122
225
|
readonly latex: string;
|
|
123
226
|
};
|
|
124
|
-
readonly type: "mathInline";
|
|
125
|
-
} | {
|
|
126
227
|
readonly marks?: readonly [{
|
|
127
228
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
128
229
|
} | {
|
|
@@ -148,8 +249,7 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
148
249
|
};
|
|
149
250
|
readonly type: "highlight";
|
|
150
251
|
})[]];
|
|
151
|
-
readonly
|
|
152
|
-
readonly type: "text";
|
|
252
|
+
readonly type: "mathInline";
|
|
153
253
|
})[]], E, never, never>>;
|
|
154
254
|
readonly title: RichSlot<E>;
|
|
155
255
|
readonly labels: Schema.Struct<{
|
|
@@ -162,11 +262,64 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
162
262
|
GramStainLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
163
263
|
readonly description: RichSlot<E>;
|
|
164
264
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
265
|
+
readonly marks?: readonly [{
|
|
266
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
267
|
+
} | {
|
|
268
|
+
readonly attrs: {
|
|
269
|
+
readonly href: string;
|
|
270
|
+
};
|
|
271
|
+
readonly type: "link";
|
|
272
|
+
} | {
|
|
273
|
+
readonly attrs: {
|
|
274
|
+
readonly variant: "success" | "warning" | null;
|
|
275
|
+
};
|
|
276
|
+
readonly type: "highlight";
|
|
277
|
+
}, ...({
|
|
278
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
279
|
+
} | {
|
|
280
|
+
readonly attrs: {
|
|
281
|
+
readonly href: string;
|
|
282
|
+
};
|
|
283
|
+
readonly type: "link";
|
|
284
|
+
} | {
|
|
285
|
+
readonly attrs: {
|
|
286
|
+
readonly variant: "success" | "warning" | null;
|
|
287
|
+
};
|
|
288
|
+
readonly type: "highlight";
|
|
289
|
+
})[]];
|
|
290
|
+
readonly text: string;
|
|
291
|
+
readonly type: "text";
|
|
292
|
+
} | {
|
|
165
293
|
readonly attrs: {
|
|
166
294
|
readonly latex: string;
|
|
167
295
|
};
|
|
296
|
+
readonly marks?: readonly [{
|
|
297
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
298
|
+
} | {
|
|
299
|
+
readonly attrs: {
|
|
300
|
+
readonly href: string;
|
|
301
|
+
};
|
|
302
|
+
readonly type: "link";
|
|
303
|
+
} | {
|
|
304
|
+
readonly attrs: {
|
|
305
|
+
readonly variant: "success" | "warning" | null;
|
|
306
|
+
};
|
|
307
|
+
readonly type: "highlight";
|
|
308
|
+
}, ...({
|
|
309
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
310
|
+
} | {
|
|
311
|
+
readonly attrs: {
|
|
312
|
+
readonly href: string;
|
|
313
|
+
};
|
|
314
|
+
readonly type: "link";
|
|
315
|
+
} | {
|
|
316
|
+
readonly attrs: {
|
|
317
|
+
readonly variant: "success" | "warning" | null;
|
|
318
|
+
};
|
|
319
|
+
readonly type: "highlight";
|
|
320
|
+
})[]];
|
|
168
321
|
readonly type: "mathInline";
|
|
169
|
-
}
|
|
322
|
+
}, ...({
|
|
170
323
|
readonly marks?: readonly [{
|
|
171
324
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
172
325
|
} | {
|
|
@@ -194,12 +347,10 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
194
347
|
})[]];
|
|
195
348
|
readonly text: string;
|
|
196
349
|
readonly type: "text";
|
|
197
|
-
}
|
|
350
|
+
} | {
|
|
198
351
|
readonly attrs: {
|
|
199
352
|
readonly latex: string;
|
|
200
353
|
};
|
|
201
|
-
readonly type: "mathInline";
|
|
202
|
-
} | {
|
|
203
354
|
readonly marks?: readonly [{
|
|
204
355
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
205
356
|
} | {
|
|
@@ -225,8 +376,7 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
225
376
|
};
|
|
226
377
|
readonly type: "highlight";
|
|
227
378
|
})[]];
|
|
228
|
-
readonly
|
|
229
|
-
readonly type: "text";
|
|
379
|
+
readonly type: "mathInline";
|
|
230
380
|
})[]], E, never, never>>;
|
|
231
381
|
readonly title: RichSlot<E>;
|
|
232
382
|
readonly labels: Schema.Struct<{
|
|
@@ -241,11 +391,64 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
241
391
|
YogurtLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
|
|
242
392
|
readonly description: RichSlot<E>;
|
|
243
393
|
readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
|
|
394
|
+
readonly marks?: readonly [{
|
|
395
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
396
|
+
} | {
|
|
397
|
+
readonly attrs: {
|
|
398
|
+
readonly href: string;
|
|
399
|
+
};
|
|
400
|
+
readonly type: "link";
|
|
401
|
+
} | {
|
|
402
|
+
readonly attrs: {
|
|
403
|
+
readonly variant: "success" | "warning" | null;
|
|
404
|
+
};
|
|
405
|
+
readonly type: "highlight";
|
|
406
|
+
}, ...({
|
|
407
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
408
|
+
} | {
|
|
409
|
+
readonly attrs: {
|
|
410
|
+
readonly href: string;
|
|
411
|
+
};
|
|
412
|
+
readonly type: "link";
|
|
413
|
+
} | {
|
|
414
|
+
readonly attrs: {
|
|
415
|
+
readonly variant: "success" | "warning" | null;
|
|
416
|
+
};
|
|
417
|
+
readonly type: "highlight";
|
|
418
|
+
})[]];
|
|
419
|
+
readonly text: string;
|
|
420
|
+
readonly type: "text";
|
|
421
|
+
} | {
|
|
244
422
|
readonly attrs: {
|
|
245
423
|
readonly latex: string;
|
|
246
424
|
};
|
|
425
|
+
readonly marks?: readonly [{
|
|
426
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
427
|
+
} | {
|
|
428
|
+
readonly attrs: {
|
|
429
|
+
readonly href: string;
|
|
430
|
+
};
|
|
431
|
+
readonly type: "link";
|
|
432
|
+
} | {
|
|
433
|
+
readonly attrs: {
|
|
434
|
+
readonly variant: "success" | "warning" | null;
|
|
435
|
+
};
|
|
436
|
+
readonly type: "highlight";
|
|
437
|
+
}, ...({
|
|
438
|
+
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
439
|
+
} | {
|
|
440
|
+
readonly attrs: {
|
|
441
|
+
readonly href: string;
|
|
442
|
+
};
|
|
443
|
+
readonly type: "link";
|
|
444
|
+
} | {
|
|
445
|
+
readonly attrs: {
|
|
446
|
+
readonly variant: "success" | "warning" | null;
|
|
447
|
+
};
|
|
448
|
+
readonly type: "highlight";
|
|
449
|
+
})[]];
|
|
247
450
|
readonly type: "mathInline";
|
|
248
|
-
}
|
|
451
|
+
}, ...({
|
|
249
452
|
readonly marks?: readonly [{
|
|
250
453
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
251
454
|
} | {
|
|
@@ -273,12 +476,10 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
273
476
|
})[]];
|
|
274
477
|
readonly text: string;
|
|
275
478
|
readonly type: "text";
|
|
276
|
-
}
|
|
479
|
+
} | {
|
|
277
480
|
readonly attrs: {
|
|
278
481
|
readonly latex: string;
|
|
279
482
|
};
|
|
280
|
-
readonly type: "mathInline";
|
|
281
|
-
} | {
|
|
282
483
|
readonly marks?: readonly [{
|
|
283
484
|
readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
|
|
284
485
|
} | {
|
|
@@ -304,8 +505,7 @@ export declare function bacteriaVisuals<E>(rich: RichSlot<E>): {
|
|
|
304
505
|
};
|
|
305
506
|
readonly type: "highlight";
|
|
306
507
|
})[]];
|
|
307
|
-
readonly
|
|
308
|
-
readonly type: "text";
|
|
508
|
+
readonly type: "mathInline";
|
|
309
509
|
})[]], E, never, never>>;
|
|
310
510
|
readonly title: RichSlot<E>;
|
|
311
511
|
readonly labels: Schema.Struct<{
|