@nakafa/aksara-contracts 8.2.0 → 8.4.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 (79) hide show
  1. package/dist/math/boundary.d.ts +9 -0
  2. package/dist/math/boundary.js +81 -0
  3. package/dist/math/curve.d.ts +1 -0
  4. package/dist/math/curve.js +4 -2
  5. package/dist/math/formula/affine.d.ts +22 -0
  6. package/dist/math/formula/affine.js +79 -0
  7. package/dist/math/formula/contour.js +27 -12
  8. package/dist/math/object.d.ts +12 -0
  9. package/dist/math/object.js +11 -0
  10. package/dist/math/plane.d.ts +10 -0
  11. package/dist/math/plane.js +7 -1
  12. package/dist/math/space.d.ts +8 -0
  13. package/dist/math/space.js +5 -1
  14. package/dist/math/visual.d.ts +239 -212
  15. package/dist/visual/base/math.d.ts +78 -0
  16. package/dist/visual/base/math.js +31 -3
  17. package/dist/visual/base/media.d.ts +67 -0
  18. package/dist/visual/biology/bacteria.d.ts +268 -0
  19. package/dist/visual/biology/cell.d.ts +201 -0
  20. package/dist/visual/biology/climate.d.ts +201 -0
  21. package/dist/visual/biology/ecology.d.ts +268 -0
  22. package/dist/visual/biology/physiology.d.ts +201 -0
  23. package/dist/visual/biology/plant.d.ts +335 -0
  24. package/dist/visual/card.d.ts +79 -1
  25. package/dist/visual/card.js +18 -2
  26. package/dist/visual/catalog.d.ts +14164 -2
  27. package/dist/visual/catalog.js +4 -0
  28. package/dist/visual/chemistry/atom.d.ts +201 -0
  29. package/dist/visual/chemistry/balance.d.ts +335 -0
  30. package/dist/visual/chemistry/bonding.d.ts +335 -0
  31. package/dist/visual/chemistry/discovery.d.ts +469 -0
  32. package/dist/visual/chemistry/electrochemistry.d.ts +134 -0
  33. package/dist/visual/chemistry/electron.d.ts +134 -0
  34. package/dist/visual/chemistry/laws.d.ts +268 -0
  35. package/dist/visual/chemistry/particles.d.ts +335 -0
  36. package/dist/visual/chemistry/periodic.d.ts +134 -0
  37. package/dist/visual/chemistry/rate.d.ts +67 -0
  38. package/dist/visual/chemistry/reaction.d.ts +201 -0
  39. package/dist/visual/chemistry/titration.d.ts +67 -0
  40. package/dist/visual/length.d.ts +79 -0
  41. package/dist/visual/length.js +37 -0
  42. package/dist/visual/mathematics/chance.d.ts +258 -0
  43. package/dist/visual/mathematics/chance.js +117 -0
  44. package/dist/visual/mathematics/chart.d.ts +67 -0
  45. package/dist/visual/mathematics/charts.d.ts +335 -0
  46. package/dist/visual/mathematics/function.d.ts +201 -0
  47. package/dist/visual/mathematics/numeral.d.ts +170 -0
  48. package/dist/visual/mathematics/numeral.js +85 -0
  49. package/dist/visual/physics/braking.d.ts +268 -0
  50. package/dist/visual/physics/circuit.d.ts +268 -0
  51. package/dist/visual/physics/circular.d.ts +134 -0
  52. package/dist/visual/physics/dynamics.d.ts +469 -0
  53. package/dist/visual/physics/efficiency.d.ts +402 -0
  54. package/dist/visual/physics/electronics.d.ts +201 -0
  55. package/dist/visual/physics/falling.d.ts +268 -0
  56. package/dist/visual/physics/field.d.ts +201 -0
  57. package/dist/visual/physics/fluid.d.ts +268 -0
  58. package/dist/visual/physics/force.d.ts +335 -0
  59. package/dist/visual/physics/gravity.d.ts +134 -0
  60. package/dist/visual/physics/heat.d.ts +201 -0
  61. package/dist/visual/physics/instrument.d.ts +469 -0
  62. package/dist/visual/physics/light.d.ts +268 -0
  63. package/dist/visual/physics/measurement.d.ts +268 -0
  64. package/dist/visual/physics/motion.d.ts +402 -0
  65. package/dist/visual/physics/nuclear.d.ts +201 -0
  66. package/dist/visual/physics/parabolic.d.ts +67 -0
  67. package/dist/visual/physics/position.d.ts +402 -0
  68. package/dist/visual/physics/power.d.ts +536 -0
  69. package/dist/visual/physics/precision.d.ts +469 -0
  70. package/dist/visual/physics/product.d.ts +268 -0
  71. package/dist/visual/physics/reading.d.ts +201 -0
  72. package/dist/visual/physics/record.d.ts +134 -0
  73. package/dist/visual/physics/relative.d.ts +201 -0
  74. package/dist/visual/physics/solar.d.ts +402 -0
  75. package/dist/visual/physics/vector.d.ts +335 -0
  76. package/dist/visual/physics/velocity.d.ts +469 -0
  77. package/dist/visual/physics/wave.d.ts +268 -0
  78. package/dist/visual/politics.d.ts +402 -0
  79. package/package.json +1 -1
@@ -7,6 +7,73 @@ import { type RichSlot } from "#contracts/visual/card";
7
7
  export declare function lightVisuals<E>(rich: RichSlot<E>): {
8
8
  GlassBlockLab: 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 incidence: Schema.Finite;
12
79
  readonly index: Schema.Finite;
@@ -24,6 +91,73 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
24
91
  }>, "figure">;
25
92
  ApparentDepthLab: 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 labels: Schema.Struct<{
29
163
  readonly apparent: RichSlot<E>;
@@ -41,6 +175,73 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
41
175
  }>, "figure">;
42
176
  ConvexLensLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
43
177
  readonly description: RichSlot<E>;
178
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
179
+ readonly attrs: {
180
+ readonly latex: string;
181
+ };
182
+ readonly type: "mathInline";
183
+ } | {
184
+ readonly marks?: readonly [{
185
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
186
+ } | {
187
+ readonly attrs: {
188
+ readonly href: string;
189
+ };
190
+ readonly type: "link";
191
+ } | {
192
+ readonly attrs: {
193
+ readonly variant: "success" | "warning" | null;
194
+ };
195
+ readonly type: "highlight";
196
+ }, ...({
197
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
198
+ } | {
199
+ readonly attrs: {
200
+ readonly href: string;
201
+ };
202
+ readonly type: "link";
203
+ } | {
204
+ readonly attrs: {
205
+ readonly variant: "success" | "warning" | null;
206
+ };
207
+ readonly type: "highlight";
208
+ })[]];
209
+ readonly text: string;
210
+ readonly type: "text";
211
+ }, ...({
212
+ readonly attrs: {
213
+ readonly latex: string;
214
+ };
215
+ readonly type: "mathInline";
216
+ } | {
217
+ readonly marks?: readonly [{
218
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
219
+ } | {
220
+ readonly attrs: {
221
+ readonly href: string;
222
+ };
223
+ readonly type: "link";
224
+ } | {
225
+ readonly attrs: {
226
+ readonly variant: "success" | "warning" | null;
227
+ };
228
+ readonly type: "highlight";
229
+ }, ...({
230
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
231
+ } | {
232
+ readonly attrs: {
233
+ readonly href: string;
234
+ };
235
+ readonly type: "link";
236
+ } | {
237
+ readonly attrs: {
238
+ readonly variant: "success" | "warning" | null;
239
+ };
240
+ readonly type: "highlight";
241
+ })[]];
242
+ readonly text: string;
243
+ readonly type: "text";
244
+ })[]], E, never, never>>;
44
245
  readonly title: RichSlot<E>;
45
246
  readonly focal: Schema.Finite;
46
247
  readonly labels: Schema.Struct<{
@@ -60,6 +261,73 @@ export declare function lightVisuals<E>(rich: RichSlot<E>): {
60
261
  }>, "figure">;
61
262
  TelescopeLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
62
263
  readonly description: RichSlot<E>;
264
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
265
+ readonly attrs: {
266
+ readonly latex: string;
267
+ };
268
+ readonly type: "mathInline";
269
+ } | {
270
+ readonly marks?: readonly [{
271
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
272
+ } | {
273
+ readonly attrs: {
274
+ readonly href: string;
275
+ };
276
+ readonly type: "link";
277
+ } | {
278
+ readonly attrs: {
279
+ readonly variant: "success" | "warning" | null;
280
+ };
281
+ readonly type: "highlight";
282
+ }, ...({
283
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
284
+ } | {
285
+ readonly attrs: {
286
+ readonly href: string;
287
+ };
288
+ readonly type: "link";
289
+ } | {
290
+ readonly attrs: {
291
+ readonly variant: "success" | "warning" | null;
292
+ };
293
+ readonly type: "highlight";
294
+ })[]];
295
+ readonly text: string;
296
+ readonly type: "text";
297
+ }, ...({
298
+ readonly attrs: {
299
+ readonly latex: string;
300
+ };
301
+ readonly type: "mathInline";
302
+ } | {
303
+ readonly marks?: readonly [{
304
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
305
+ } | {
306
+ readonly attrs: {
307
+ readonly href: string;
308
+ };
309
+ readonly type: "link";
310
+ } | {
311
+ readonly attrs: {
312
+ readonly variant: "success" | "warning" | null;
313
+ };
314
+ readonly type: "highlight";
315
+ }, ...({
316
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
317
+ } | {
318
+ readonly attrs: {
319
+ readonly href: string;
320
+ };
321
+ readonly type: "link";
322
+ } | {
323
+ readonly attrs: {
324
+ readonly variant: "success" | "warning" | null;
325
+ };
326
+ readonly type: "highlight";
327
+ })[]];
328
+ readonly text: string;
329
+ readonly type: "text";
330
+ })[]], E, never, never>>;
63
331
  readonly title: RichSlot<E>;
64
332
  readonly eyepiecePower: Schema.Finite;
65
333
  readonly labels: Schema.Struct<{
@@ -8,6 +8,73 @@ import { type RichSlot } from "#contracts/visual/card";
8
8
  export declare function measurementVisuals<E>(rich: RichSlot<E>): {
9
9
  DimensionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
10
10
  readonly description: RichSlot<E>;
11
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
12
+ readonly attrs: {
13
+ readonly latex: string;
14
+ };
15
+ readonly type: "mathInline";
16
+ } | {
17
+ readonly marks?: readonly [{
18
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
19
+ } | {
20
+ readonly attrs: {
21
+ readonly href: string;
22
+ };
23
+ readonly type: "link";
24
+ } | {
25
+ readonly attrs: {
26
+ readonly variant: "success" | "warning" | null;
27
+ };
28
+ readonly type: "highlight";
29
+ }, ...({
30
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
31
+ } | {
32
+ readonly attrs: {
33
+ readonly href: string;
34
+ };
35
+ readonly type: "link";
36
+ } | {
37
+ readonly attrs: {
38
+ readonly variant: "success" | "warning" | null;
39
+ };
40
+ readonly type: "highlight";
41
+ })[]];
42
+ readonly text: string;
43
+ readonly type: "text";
44
+ }, ...({
45
+ readonly attrs: {
46
+ readonly latex: string;
47
+ };
48
+ readonly type: "mathInline";
49
+ } | {
50
+ readonly marks?: readonly [{
51
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
52
+ } | {
53
+ readonly attrs: {
54
+ readonly href: string;
55
+ };
56
+ readonly type: "link";
57
+ } | {
58
+ readonly attrs: {
59
+ readonly variant: "success" | "warning" | null;
60
+ };
61
+ readonly type: "highlight";
62
+ }, ...({
63
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
64
+ } | {
65
+ readonly attrs: {
66
+ readonly href: string;
67
+ };
68
+ readonly type: "link";
69
+ } | {
70
+ readonly attrs: {
71
+ readonly variant: "success" | "warning" | null;
72
+ };
73
+ readonly type: "highlight";
74
+ })[]];
75
+ readonly text: string;
76
+ readonly type: "text";
77
+ })[]], E, never, never>>;
11
78
  readonly title: RichSlot<E>;
12
79
  readonly labels: Schema.Struct<{
13
80
  readonly chooseMode: Schema.Trimmed;
@@ -19,6 +86,73 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
19
86
  }>, "figure">;
20
87
  MeasurementToolsLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
21
88
  readonly description: RichSlot<E>;
89
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
90
+ readonly attrs: {
91
+ readonly latex: string;
92
+ };
93
+ readonly type: "mathInline";
94
+ } | {
95
+ readonly marks?: readonly [{
96
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
97
+ } | {
98
+ readonly attrs: {
99
+ readonly href: string;
100
+ };
101
+ readonly type: "link";
102
+ } | {
103
+ readonly attrs: {
104
+ readonly variant: "success" | "warning" | null;
105
+ };
106
+ readonly type: "highlight";
107
+ }, ...({
108
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
109
+ } | {
110
+ readonly attrs: {
111
+ readonly href: string;
112
+ };
113
+ readonly type: "link";
114
+ } | {
115
+ readonly attrs: {
116
+ readonly variant: "success" | "warning" | null;
117
+ };
118
+ readonly type: "highlight";
119
+ })[]];
120
+ readonly text: string;
121
+ readonly type: "text";
122
+ }, ...({
123
+ readonly attrs: {
124
+ readonly latex: string;
125
+ };
126
+ readonly type: "mathInline";
127
+ } | {
128
+ readonly marks?: readonly [{
129
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
130
+ } | {
131
+ readonly attrs: {
132
+ readonly href: string;
133
+ };
134
+ readonly type: "link";
135
+ } | {
136
+ readonly attrs: {
137
+ readonly variant: "success" | "warning" | null;
138
+ };
139
+ readonly type: "highlight";
140
+ }, ...({
141
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
142
+ } | {
143
+ readonly attrs: {
144
+ readonly href: string;
145
+ };
146
+ readonly type: "link";
147
+ } | {
148
+ readonly attrs: {
149
+ readonly variant: "success" | "warning" | null;
150
+ };
151
+ readonly type: "highlight";
152
+ })[]];
153
+ readonly text: string;
154
+ readonly type: "text";
155
+ })[]], E, never, never>>;
22
156
  readonly title: RichSlot<E>;
23
157
  readonly labels: Schema.Struct<{
24
158
  readonly chooseTool: Schema.Trimmed;
@@ -36,6 +170,73 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
36
170
  }>, "figure">;
37
171
  VectorConceptLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
38
172
  readonly description: RichSlot<E>;
173
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
174
+ readonly attrs: {
175
+ readonly latex: string;
176
+ };
177
+ readonly type: "mathInline";
178
+ } | {
179
+ readonly marks?: readonly [{
180
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
181
+ } | {
182
+ readonly attrs: {
183
+ readonly href: string;
184
+ };
185
+ readonly type: "link";
186
+ } | {
187
+ readonly attrs: {
188
+ readonly variant: "success" | "warning" | null;
189
+ };
190
+ readonly type: "highlight";
191
+ }, ...({
192
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
193
+ } | {
194
+ readonly attrs: {
195
+ readonly href: string;
196
+ };
197
+ readonly type: "link";
198
+ } | {
199
+ readonly attrs: {
200
+ readonly variant: "success" | "warning" | null;
201
+ };
202
+ readonly type: "highlight";
203
+ })[]];
204
+ readonly text: string;
205
+ readonly type: "text";
206
+ }, ...({
207
+ readonly attrs: {
208
+ readonly latex: string;
209
+ };
210
+ readonly type: "mathInline";
211
+ } | {
212
+ readonly marks?: readonly [{
213
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
214
+ } | {
215
+ readonly attrs: {
216
+ readonly href: string;
217
+ };
218
+ readonly type: "link";
219
+ } | {
220
+ readonly attrs: {
221
+ readonly variant: "success" | "warning" | null;
222
+ };
223
+ readonly type: "highlight";
224
+ }, ...({
225
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
226
+ } | {
227
+ readonly attrs: {
228
+ readonly href: string;
229
+ };
230
+ readonly type: "link";
231
+ } | {
232
+ readonly attrs: {
233
+ readonly variant: "success" | "warning" | null;
234
+ };
235
+ readonly type: "highlight";
236
+ })[]];
237
+ readonly text: string;
238
+ readonly type: "text";
239
+ })[]], E, never, never>>;
39
240
  readonly title: RichSlot<E>;
40
241
  readonly labels: Schema.Struct<{
41
242
  readonly bridgeView: Schema.Trimmed;
@@ -52,6 +253,73 @@ export declare function measurementVisuals<E>(rich: RichSlot<E>): {
52
253
  }>, "figure">;
53
254
  WindEnergyConversionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
54
255
  readonly description: RichSlot<E>;
256
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
257
+ readonly attrs: {
258
+ readonly latex: string;
259
+ };
260
+ readonly type: "mathInline";
261
+ } | {
262
+ readonly marks?: readonly [{
263
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
264
+ } | {
265
+ readonly attrs: {
266
+ readonly href: string;
267
+ };
268
+ readonly type: "link";
269
+ } | {
270
+ readonly attrs: {
271
+ readonly variant: "success" | "warning" | null;
272
+ };
273
+ readonly type: "highlight";
274
+ }, ...({
275
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
276
+ } | {
277
+ readonly attrs: {
278
+ readonly href: string;
279
+ };
280
+ readonly type: "link";
281
+ } | {
282
+ readonly attrs: {
283
+ readonly variant: "success" | "warning" | null;
284
+ };
285
+ readonly type: "highlight";
286
+ })[]];
287
+ readonly text: string;
288
+ readonly type: "text";
289
+ }, ...({
290
+ readonly attrs: {
291
+ readonly latex: string;
292
+ };
293
+ readonly type: "mathInline";
294
+ } | {
295
+ readonly marks?: readonly [{
296
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
297
+ } | {
298
+ readonly attrs: {
299
+ readonly href: string;
300
+ };
301
+ readonly type: "link";
302
+ } | {
303
+ readonly attrs: {
304
+ readonly variant: "success" | "warning" | null;
305
+ };
306
+ readonly type: "highlight";
307
+ }, ...({
308
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
309
+ } | {
310
+ readonly attrs: {
311
+ readonly href: string;
312
+ };
313
+ readonly type: "link";
314
+ } | {
315
+ readonly attrs: {
316
+ readonly variant: "success" | "warning" | null;
317
+ };
318
+ readonly type: "highlight";
319
+ })[]];
320
+ readonly text: string;
321
+ readonly type: "text";
322
+ })[]], E, never, never>>;
55
323
  readonly title: RichSlot<E>;
56
324
  readonly labels: Schema.Struct<{
57
325
  readonly flow: RichSlot<E>;