@olenbetong/synergi-course 2.1.0 → 2.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/es/document/cues.d.ts +1 -1
- package/es/document/cues.js +3 -1
- package/es/document/effects.d.ts +3 -3
- package/es/document/effects.js +3 -1
- package/es/document/schema.d.ts +1778 -190
- package/es/document/schema.js +35 -2
- package/es/document/validate.js +14 -18
- package/es/index.d.ts +3 -2
- package/es/index.js +1 -1
- package/es/player/CoursePlayer.css +18 -0
- package/es/player/CoursePlayer.js +3 -2
- package/es/player/PlayerBars.d.ts +32 -0
- package/es/player/PlayerBars.js +14 -0
- package/es/steps/Blocks.d.ts +24 -3
- package/es/steps/Blocks.js +14 -7
- package/es/steps/Markdown.js +1 -1
- package/es/steps/QuizStepView.d.ts +2 -1
- package/es/steps/QuizStepView.js +20 -10
- package/es/steps/SlideStepView.d.ts +1 -1
- package/es/steps/SlideStepView.js +14 -4
- package/es/steps/StepBodyProps.d.ts +9 -0
- package/es/steps/StepView.css +65 -7
- package/es/steps/StepView.d.ts +29 -3
- package/es/steps/StepView.js +21 -5
- package/es/types.d.ts +13 -2
- package/package.json +1 -1
- package/src/document/box.test.ts +234 -0
- package/src/document/cues.ts +2 -1
- package/src/document/effects.ts +4 -3
- package/src/document/schema.ts +44 -2
- package/src/document/validate.ts +15 -19
- package/src/index.ts +11 -1
- package/src/player/CoursePlayer.css +18 -0
- package/src/player/CoursePlayer.tsx +38 -58
- package/src/player/PlayerBars.tsx +106 -0
- package/src/steps/Blocks.tsx +55 -8
- package/src/steps/Box.test.tsx +95 -0
- package/src/steps/Markdown.test.tsx +3 -0
- package/src/steps/Markdown.tsx +1 -1
- package/src/steps/QuizStepView.test.tsx +79 -0
- package/src/steps/QuizStepView.tsx +34 -12
- package/src/steps/SlideStepView.tsx +15 -3
- package/src/steps/StepBodyProps.ts +9 -0
- package/src/steps/StepView.css +65 -7
- package/src/steps/StepView.test.tsx +116 -0
- package/src/steps/StepView.tsx +100 -19
- package/src/types.ts +13 -2
package/es/document/schema.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type InferOutput } from "valibot";
|
|
2
2
|
export declare const STEP_SCHEMA_VERSION = 2;
|
|
3
|
+
/** The colour scales a box, a callout or a framed canvas text can take. `brand` is the company theme's own. */
|
|
4
|
+
export declare const TONES: readonly ["neutral", "info", "success", "warning", "danger", "brand"];
|
|
3
5
|
/**
|
|
4
6
|
* A stretch of narration or video: what is said, and when. The text is also the subtitle. A cue
|
|
5
7
|
* without text is a marker: something on the slide can show or go away at it, but no subtitle is
|
|
@@ -135,7 +137,8 @@ export declare const calloutBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
135
137
|
/** Markdown. */
|
|
136
138
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
137
139
|
/** The colour of the box. Default `neutral`. */
|
|
138
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
140
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
141
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
139
142
|
}, undefined>;
|
|
140
143
|
/** A link that plays a video in a dialog on top of the slide. */
|
|
141
144
|
export declare const videoLinkBlockSchema: import("valibot").StrictObjectSchema<{
|
|
@@ -181,8 +184,8 @@ export declare const effectBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
181
184
|
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
182
185
|
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
183
186
|
}, undefined>;
|
|
184
|
-
/** Every block that can stand inside a
|
|
185
|
-
export declare const
|
|
187
|
+
/** Every block that can stand inside a box. A box holds no box, callout, columns or canvas. */
|
|
188
|
+
export declare const boxContentSchema: import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
186
189
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
187
190
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
188
191
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -244,17 +247,6 @@ export declare const contentBlockSchema: import("valibot").VariantSchema<"type",
|
|
|
244
247
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
245
248
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
246
249
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
247
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
248
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
249
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
250
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
251
|
-
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
252
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
253
|
-
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
254
|
-
/** Markdown. */
|
|
255
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
256
|
-
/** The colour of the box. Default `neutral`. */
|
|
257
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
258
250
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
259
251
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
260
252
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -290,8 +282,18 @@ export declare const contentBlockSchema: import("valibot").VariantSchema<"type",
|
|
|
290
282
|
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
291
283
|
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
292
284
|
}, undefined>], undefined>;
|
|
293
|
-
|
|
285
|
+
/** A coloured box around other blocks, e.g. a heading and a list of steps. */
|
|
286
|
+
export declare const boxBlockSchema: import("valibot").StrictObjectSchema<{
|
|
287
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
288
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
289
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
290
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
294
291
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
292
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
293
|
+
/** The colour of the box. Default `neutral`. */
|
|
294
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
295
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
296
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
295
297
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
296
298
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
297
299
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -360,11 +362,184 @@ export declare const columnSchema: import("valibot").StrictObjectSchema<{
|
|
|
360
362
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
361
363
|
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
362
364
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
363
|
-
readonly type: import("valibot").LiteralSchema<"
|
|
365
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
366
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
367
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
368
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
369
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
370
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
371
|
+
/** Seconds into the file where playback begins. */
|
|
372
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
373
|
+
/** Seconds into the file where the media counts as ended. */
|
|
374
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
375
|
+
}, undefined>;
|
|
376
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
377
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
378
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
379
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
380
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
381
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
382
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
383
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
384
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
385
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
386
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
387
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
388
|
+
}, undefined>, undefined>;
|
|
389
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
390
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
391
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
392
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
393
|
+
}, undefined>], undefined>, undefined>;
|
|
394
|
+
}, undefined>;
|
|
395
|
+
/** Every block that can stand inside a column. Columns do not nest. */
|
|
396
|
+
export declare const contentBlockSchema: import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
397
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
398
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
399
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
400
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
401
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
402
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
403
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
404
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
405
|
+
/** One line of Markdown. */
|
|
406
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
407
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
408
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
409
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
410
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
411
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
412
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
413
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
414
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
415
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
416
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
417
|
+
/** Markdown. */
|
|
418
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
419
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
420
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
421
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
422
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
423
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
424
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
425
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
426
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
427
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
428
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
429
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
430
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
431
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
432
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
433
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
434
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
435
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
436
|
+
}, undefined>, undefined>;
|
|
437
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
438
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
439
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
440
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
441
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
442
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
443
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
444
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
445
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
446
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
447
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
448
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
449
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
450
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
451
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
452
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
453
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
454
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
455
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
456
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
457
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
458
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
459
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
460
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
461
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
462
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
463
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
464
|
+
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
465
|
+
/** Markdown. */
|
|
466
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
467
|
+
/** The colour of the box. Default `neutral`. */
|
|
468
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
469
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
470
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
471
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
472
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
473
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
474
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
475
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
476
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
477
|
+
/** The colour of the box. Default `neutral`. */
|
|
478
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
479
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
480
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
481
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
482
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
483
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
484
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
485
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
486
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
487
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
488
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
489
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
490
|
+
/** One line of Markdown. */
|
|
491
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
492
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
493
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
494
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
495
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
496
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
497
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
498
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
499
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
500
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
501
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
364
502
|
/** Markdown. */
|
|
365
503
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
366
|
-
|
|
367
|
-
readonly
|
|
504
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
505
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
506
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
507
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
508
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
509
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
510
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
511
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
512
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
513
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
514
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
515
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
516
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
517
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
518
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
519
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
520
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
521
|
+
}, undefined>, undefined>;
|
|
522
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
523
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
524
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
525
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
526
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
527
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
528
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
529
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
530
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
531
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
532
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
533
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
534
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
535
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
536
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
537
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
538
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
539
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
540
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
541
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
542
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
368
543
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
369
544
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
370
545
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -400,39 +575,293 @@ export declare const columnSchema: import("valibot").StrictObjectSchema<{
|
|
|
400
575
|
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
401
576
|
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
402
577
|
}, undefined>], undefined>, undefined>;
|
|
403
|
-
}, undefined
|
|
404
|
-
export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
578
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
405
579
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
406
580
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
407
581
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
408
582
|
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
409
583
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
410
|
-
readonly type: import("valibot").LiteralSchema<"
|
|
411
|
-
readonly
|
|
584
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
585
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
586
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
587
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
588
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
589
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
590
|
+
/** Seconds into the file where playback begins. */
|
|
591
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
592
|
+
/** Seconds into the file where the media counts as ended. */
|
|
593
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
594
|
+
}, undefined>;
|
|
595
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
596
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
597
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
598
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
599
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
600
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
601
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
602
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
603
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
604
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
605
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
606
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
607
|
+
}, undefined>, undefined>;
|
|
608
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
609
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
610
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
611
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
612
|
+
}, undefined>], undefined>;
|
|
613
|
+
export declare const columnSchema: import("valibot").StrictObjectSchema<{
|
|
614
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
615
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
616
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
617
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
618
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
619
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
620
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
621
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
412
622
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
413
|
-
readonly
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
623
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
624
|
+
/** One line of Markdown. */
|
|
625
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
626
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
627
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
628
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
629
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
630
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
631
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
632
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
633
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
634
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
635
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
636
|
+
/** Markdown. */
|
|
637
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
638
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
639
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
640
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
641
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
642
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
643
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
644
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
645
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
646
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
647
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
648
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
649
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
650
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
651
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
652
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
653
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
654
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
655
|
+
}, undefined>, undefined>;
|
|
656
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
657
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
658
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
659
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
660
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
661
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
662
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
663
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
664
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
665
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
666
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
667
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
668
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
669
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
670
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
671
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
672
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
673
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
674
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
675
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
676
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
677
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
678
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
679
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
680
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
681
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
682
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
683
|
+
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
684
|
+
/** Markdown. */
|
|
685
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
686
|
+
/** The colour of the box. Default `neutral`. */
|
|
687
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
688
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
689
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
690
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
691
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
692
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
693
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
694
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
695
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
696
|
+
/** The colour of the box. Default `neutral`. */
|
|
697
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
698
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
699
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
700
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
701
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
702
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
703
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
704
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
705
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
706
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
707
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
708
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
709
|
+
/** One line of Markdown. */
|
|
710
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
711
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
712
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
713
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
714
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
715
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
716
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
717
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
718
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
719
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
720
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
721
|
+
/** Markdown. */
|
|
722
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
723
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
724
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
725
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
726
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
727
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
728
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
729
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
730
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
731
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
732
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
733
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
734
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
735
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
736
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
737
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
738
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
739
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
740
|
+
}, undefined>, undefined>;
|
|
741
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
742
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
743
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
744
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
745
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
746
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
747
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
748
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
749
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
750
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
751
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
752
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
753
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
754
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
755
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
756
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
757
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
758
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
759
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
760
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
761
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
762
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
763
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
764
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
765
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
766
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
767
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
768
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
769
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
770
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
771
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
772
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
773
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
774
|
+
/** Seconds into the file where playback begins. */
|
|
775
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
776
|
+
/** Seconds into the file where the media counts as ended. */
|
|
777
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
778
|
+
}, undefined>;
|
|
779
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
780
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
781
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
782
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
783
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
784
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
785
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
786
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
787
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
788
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
789
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
790
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
791
|
+
}, undefined>, undefined>;
|
|
792
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
793
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
794
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
795
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
796
|
+
}, undefined>], undefined>, undefined>;
|
|
797
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
798
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
799
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
800
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
801
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
802
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
803
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
804
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
805
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
806
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
807
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
808
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
809
|
+
/** Seconds into the file where playback begins. */
|
|
810
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
811
|
+
/** Seconds into the file where the media counts as ended. */
|
|
812
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
813
|
+
}, undefined>;
|
|
814
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
815
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
816
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
817
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
818
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
819
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
820
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
821
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
822
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
823
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
824
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
825
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
826
|
+
}, undefined>, undefined>;
|
|
827
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
828
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
829
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
830
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
831
|
+
}, undefined>], undefined>, undefined>;
|
|
832
|
+
}, undefined>;
|
|
833
|
+
export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
834
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
835
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
836
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
837
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
838
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
839
|
+
readonly type: import("valibot").LiteralSchema<"columns", undefined>;
|
|
840
|
+
readonly columns: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
841
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
842
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
843
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
844
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
845
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
846
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
847
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
848
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
849
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
850
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
851
|
+
/** One line of Markdown. */
|
|
852
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
853
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
854
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
855
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
856
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
857
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
858
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
859
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
860
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
861
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
862
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
863
|
+
/** Markdown. */
|
|
864
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
436
865
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
437
866
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
438
867
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -447,42 +876,151 @@ export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
447
876
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
448
877
|
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
449
878
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
450
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
451
|
-
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
452
|
-
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
453
|
-
}, undefined>, undefined>;
|
|
454
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
455
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
456
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
457
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
458
|
-
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
459
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
460
|
-
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
461
|
-
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
462
|
-
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
463
|
-
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
464
|
-
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
465
|
-
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
466
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
467
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
468
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
469
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
470
|
-
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
471
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
472
|
-
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
473
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
474
|
-
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
475
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
476
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
477
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
478
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
479
|
-
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
480
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
481
|
-
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
482
|
-
/** Markdown. */
|
|
483
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
484
|
-
/** The colour of the box. Default `neutral`. */
|
|
485
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
879
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
880
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
881
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
882
|
+
}, undefined>, undefined>;
|
|
883
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
884
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
885
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
886
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
887
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
888
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
889
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
890
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
891
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
892
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
893
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
894
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
895
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
896
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
897
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
898
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
899
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
900
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
901
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
902
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
903
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
904
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
905
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
906
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
907
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
908
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
909
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
910
|
+
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
911
|
+
/** Markdown. */
|
|
912
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
913
|
+
/** The colour of the box. Default `neutral`. */
|
|
914
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
915
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
916
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
917
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
918
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
919
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
920
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
921
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
922
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
923
|
+
/** The colour of the box. Default `neutral`. */
|
|
924
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
925
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
926
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
927
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
928
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
929
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
930
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
931
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
932
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
933
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
934
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
935
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
936
|
+
/** One line of Markdown. */
|
|
937
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
938
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
939
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
940
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
941
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
942
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
943
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
944
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
945
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
946
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
947
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
948
|
+
/** Markdown. */
|
|
949
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
950
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
951
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
952
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
953
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
954
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
955
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
956
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
957
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
958
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
959
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
960
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
961
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
962
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
963
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
964
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
965
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
966
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
967
|
+
}, undefined>, undefined>;
|
|
968
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
969
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
970
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
971
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
972
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
973
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
974
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
975
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
976
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
977
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
978
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
979
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
980
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
981
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
982
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
983
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
984
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
985
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
986
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
987
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
988
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
989
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
990
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
991
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
992
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
993
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
994
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
995
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
996
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
997
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
998
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
999
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
1000
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1001
|
+
/** Seconds into the file where playback begins. */
|
|
1002
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1003
|
+
/** Seconds into the file where the media counts as ended. */
|
|
1004
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1005
|
+
}, undefined>;
|
|
1006
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1007
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1008
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1009
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1010
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1011
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1012
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1013
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1014
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
1015
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1016
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1017
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1018
|
+
}, undefined>, undefined>;
|
|
1019
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1020
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1021
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1022
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1023
|
+
}, undefined>], undefined>, undefined>;
|
|
486
1024
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
487
1025
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
488
1026
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -578,15 +1116,6 @@ export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
578
1116
|
type: "quote";
|
|
579
1117
|
text: string;
|
|
580
1118
|
cite?: string | undefined;
|
|
581
|
-
} | {
|
|
582
|
-
reveal?: "step" | "with-previous" | undefined;
|
|
583
|
-
revealAt?: string | undefined;
|
|
584
|
-
hideAt?: string | undefined;
|
|
585
|
-
delay?: number | undefined;
|
|
586
|
-
id: string;
|
|
587
|
-
type: "callout";
|
|
588
|
-
text: string;
|
|
589
|
-
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
590
1119
|
} | {
|
|
591
1120
|
reveal?: "step" | "with-previous" | undefined;
|
|
592
1121
|
revealAt?: string | undefined;
|
|
@@ -616,6 +1145,113 @@ export declare const columnsBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
616
1145
|
scale?: number | undefined;
|
|
617
1146
|
opacity?: number | undefined;
|
|
618
1147
|
duration?: number | undefined;
|
|
1148
|
+
} | {
|
|
1149
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1150
|
+
revealAt?: string | undefined;
|
|
1151
|
+
hideAt?: string | undefined;
|
|
1152
|
+
delay?: number | undefined;
|
|
1153
|
+
id: string;
|
|
1154
|
+
type: "callout";
|
|
1155
|
+
text: string;
|
|
1156
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1157
|
+
variant?: "bordered" | "filled" | undefined;
|
|
1158
|
+
} | {
|
|
1159
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1160
|
+
revealAt?: string | undefined;
|
|
1161
|
+
hideAt?: string | undefined;
|
|
1162
|
+
delay?: number | undefined;
|
|
1163
|
+
id: string;
|
|
1164
|
+
type: "box";
|
|
1165
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1166
|
+
variant?: "bordered" | "filled" | undefined;
|
|
1167
|
+
blocks: ({
|
|
1168
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1169
|
+
revealAt?: string | undefined;
|
|
1170
|
+
hideAt?: string | undefined;
|
|
1171
|
+
delay?: number | undefined;
|
|
1172
|
+
caps?: boolean | undefined;
|
|
1173
|
+
shadow?: boolean | undefined;
|
|
1174
|
+
id: string;
|
|
1175
|
+
type: "heading";
|
|
1176
|
+
text: string;
|
|
1177
|
+
level?: 1 | 2 | 3 | undefined;
|
|
1178
|
+
} | {
|
|
1179
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1180
|
+
revealAt?: string | undefined;
|
|
1181
|
+
hideAt?: string | undefined;
|
|
1182
|
+
delay?: number | undefined;
|
|
1183
|
+
caps?: boolean | undefined;
|
|
1184
|
+
shadow?: boolean | undefined;
|
|
1185
|
+
id: string;
|
|
1186
|
+
type: "text";
|
|
1187
|
+
text: string;
|
|
1188
|
+
} | {
|
|
1189
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1190
|
+
revealAt?: string | undefined;
|
|
1191
|
+
hideAt?: string | undefined;
|
|
1192
|
+
delay?: number | undefined;
|
|
1193
|
+
id: string;
|
|
1194
|
+
type: "list";
|
|
1195
|
+
ordered?: boolean | undefined;
|
|
1196
|
+
items: {
|
|
1197
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1198
|
+
revealAt?: string | undefined;
|
|
1199
|
+
hideAt?: string | undefined;
|
|
1200
|
+
delay?: number | undefined;
|
|
1201
|
+
id: string;
|
|
1202
|
+
text: string;
|
|
1203
|
+
indent?: 1 | 2 | undefined;
|
|
1204
|
+
}[];
|
|
1205
|
+
} | {
|
|
1206
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1207
|
+
revealAt?: string | undefined;
|
|
1208
|
+
hideAt?: string | undefined;
|
|
1209
|
+
delay?: number | undefined;
|
|
1210
|
+
id: string;
|
|
1211
|
+
type: "image";
|
|
1212
|
+
src: string;
|
|
1213
|
+
alt?: string | undefined;
|
|
1214
|
+
caption?: string | undefined;
|
|
1215
|
+
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
1216
|
+
} | {
|
|
1217
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1218
|
+
revealAt?: string | undefined;
|
|
1219
|
+
hideAt?: string | undefined;
|
|
1220
|
+
delay?: number | undefined;
|
|
1221
|
+
id: string;
|
|
1222
|
+
type: "quote";
|
|
1223
|
+
text: string;
|
|
1224
|
+
cite?: string | undefined;
|
|
1225
|
+
} | {
|
|
1226
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1227
|
+
revealAt?: string | undefined;
|
|
1228
|
+
hideAt?: string | undefined;
|
|
1229
|
+
delay?: number | undefined;
|
|
1230
|
+
id: string;
|
|
1231
|
+
type: "video-link";
|
|
1232
|
+
label: string;
|
|
1233
|
+
media: {
|
|
1234
|
+
src: string;
|
|
1235
|
+
type?: string | undefined;
|
|
1236
|
+
start?: number | undefined;
|
|
1237
|
+
end?: number | undefined;
|
|
1238
|
+
};
|
|
1239
|
+
} | {
|
|
1240
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1241
|
+
revealAt?: string | undefined;
|
|
1242
|
+
hideAt?: string | undefined;
|
|
1243
|
+
delay?: number | undefined;
|
|
1244
|
+
id: string;
|
|
1245
|
+
type: "effect";
|
|
1246
|
+
target: string | string[];
|
|
1247
|
+
move?: {
|
|
1248
|
+
x?: number | undefined;
|
|
1249
|
+
y?: number | undefined;
|
|
1250
|
+
} | undefined;
|
|
1251
|
+
scale?: number | undefined;
|
|
1252
|
+
opacity?: number | undefined;
|
|
1253
|
+
duration?: number | undefined;
|
|
1254
|
+
})[];
|
|
619
1255
|
})[];
|
|
620
1256
|
}[], 2, undefined>]>;
|
|
621
1257
|
}, undefined>;
|
|
@@ -637,7 +1273,7 @@ export declare const canvasTextSchema: import("valibot").StrictObjectSchema<{
|
|
|
637
1273
|
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
638
1274
|
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
639
1275
|
/** The colour of the frame. Default `neutral`. */
|
|
640
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
1276
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
641
1277
|
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
642
1278
|
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
643
1279
|
}, undefined>;
|
|
@@ -690,7 +1326,7 @@ export declare const canvasBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
690
1326
|
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
691
1327
|
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
692
1328
|
/** The colour of the frame. Default `neutral`. */
|
|
693
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
1329
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
694
1330
|
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
695
1331
|
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
696
1332
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
@@ -748,41 +1384,150 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
748
1384
|
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
749
1385
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
750
1386
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
751
|
-
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
752
|
-
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
753
|
-
}, undefined>, undefined>;
|
|
754
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
755
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
756
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
757
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
758
|
-
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
759
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
760
|
-
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
761
|
-
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
762
|
-
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
763
|
-
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
764
|
-
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
765
|
-
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
766
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
767
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
768
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
769
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
770
|
-
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
771
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
772
|
-
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
773
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
774
|
-
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
775
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
776
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
777
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
778
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
779
|
-
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
780
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
781
|
-
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
782
|
-
/** Markdown. */
|
|
783
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
784
|
-
/** The colour of the box. Default `neutral`. */
|
|
785
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
1387
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
1388
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
1389
|
+
}, undefined>, undefined>;
|
|
1390
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1391
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1392
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1393
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1394
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1395
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1396
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1397
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1398
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1399
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1400
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
1401
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
1402
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1403
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1404
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1405
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1406
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1407
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1408
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
1409
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1410
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1411
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1412
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1413
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1414
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1415
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1416
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1417
|
+
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
1418
|
+
/** Markdown. */
|
|
1419
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1420
|
+
/** The colour of the box. Default `neutral`. */
|
|
1421
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
1422
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
1423
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1424
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1425
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1426
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1427
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1428
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1429
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
1430
|
+
/** The colour of the box. Default `neutral`. */
|
|
1431
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
1432
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
1433
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
1434
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1435
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1436
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1437
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1438
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1439
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1440
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1441
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1442
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
1443
|
+
/** One line of Markdown. */
|
|
1444
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1445
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
1446
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1447
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1448
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1449
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1450
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1451
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1452
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1453
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1454
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1455
|
+
/** Markdown. */
|
|
1456
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1457
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1458
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1459
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1460
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1461
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1462
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1463
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
1464
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1465
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1466
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1467
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1468
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1469
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1470
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1471
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1472
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
1473
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
1474
|
+
}, undefined>, undefined>;
|
|
1475
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1476
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1477
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1478
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1479
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1480
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1481
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1482
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1483
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1484
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1485
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
1486
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
1487
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1488
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1489
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1490
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1491
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1492
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1493
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
1494
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1495
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1496
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1497
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1498
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1499
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1500
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1501
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1502
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
1503
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
1504
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
1505
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1506
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
1507
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1508
|
+
/** Seconds into the file where playback begins. */
|
|
1509
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1510
|
+
/** Seconds into the file where the media counts as ended. */
|
|
1511
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1512
|
+
}, undefined>;
|
|
1513
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1514
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1515
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1516
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1517
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1518
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1519
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1520
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1521
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
1522
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1523
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1524
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1525
|
+
}, undefined>, undefined>;
|
|
1526
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1527
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1528
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1529
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1530
|
+
}, undefined>], undefined>, undefined>;
|
|
786
1531
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
787
1532
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
788
1533
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -898,7 +1643,116 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
898
1643
|
/** Markdown. */
|
|
899
1644
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
900
1645
|
/** The colour of the box. Default `neutral`. */
|
|
901
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
1646
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
1647
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
1648
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1649
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1650
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1651
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1652
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1653
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1654
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
1655
|
+
/** The colour of the box. Default `neutral`. */
|
|
1656
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
1657
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
1658
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
1659
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1660
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1661
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1662
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1663
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1664
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1665
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1666
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1667
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
1668
|
+
/** One line of Markdown. */
|
|
1669
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1670
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
1671
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1672
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1673
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1674
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1675
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1676
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1677
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1678
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1679
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1680
|
+
/** Markdown. */
|
|
1681
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1682
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1683
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1684
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1685
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1686
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1687
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1688
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
1689
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1690
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1691
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1692
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1693
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1694
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1695
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1696
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1697
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
1698
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
1699
|
+
}, undefined>, undefined>;
|
|
1700
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1701
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1702
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1703
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1704
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1705
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1706
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1707
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1708
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1709
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1710
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
1711
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
1712
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1713
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1714
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1715
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1716
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1717
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1718
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
1719
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1720
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1721
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1722
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1723
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1724
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1725
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1726
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1727
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
1728
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
1729
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
1730
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1731
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
1732
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1733
|
+
/** Seconds into the file where playback begins. */
|
|
1734
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1735
|
+
/** Seconds into the file where the media counts as ended. */
|
|
1736
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1737
|
+
}, undefined>;
|
|
1738
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1739
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1740
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1741
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1742
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
1743
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1744
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1745
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1746
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
1747
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1748
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1749
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1750
|
+
}, undefined>, undefined>;
|
|
1751
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1752
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1753
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1754
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
1755
|
+
}, undefined>], undefined>, undefined>;
|
|
902
1756
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
903
1757
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
904
1758
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -994,6 +1848,35 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
994
1848
|
type: "quote";
|
|
995
1849
|
text: string;
|
|
996
1850
|
cite?: string | undefined;
|
|
1851
|
+
} | {
|
|
1852
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1853
|
+
revealAt?: string | undefined;
|
|
1854
|
+
hideAt?: string | undefined;
|
|
1855
|
+
delay?: number | undefined;
|
|
1856
|
+
id: string;
|
|
1857
|
+
type: "video-link";
|
|
1858
|
+
label: string;
|
|
1859
|
+
media: {
|
|
1860
|
+
src: string;
|
|
1861
|
+
type?: string | undefined;
|
|
1862
|
+
start?: number | undefined;
|
|
1863
|
+
end?: number | undefined;
|
|
1864
|
+
};
|
|
1865
|
+
} | {
|
|
1866
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1867
|
+
revealAt?: string | undefined;
|
|
1868
|
+
hideAt?: string | undefined;
|
|
1869
|
+
delay?: number | undefined;
|
|
1870
|
+
id: string;
|
|
1871
|
+
type: "effect";
|
|
1872
|
+
target: string | string[];
|
|
1873
|
+
move?: {
|
|
1874
|
+
x?: number | undefined;
|
|
1875
|
+
y?: number | undefined;
|
|
1876
|
+
} | undefined;
|
|
1877
|
+
scale?: number | undefined;
|
|
1878
|
+
opacity?: number | undefined;
|
|
1879
|
+
duration?: number | undefined;
|
|
997
1880
|
} | {
|
|
998
1881
|
reveal?: "step" | "with-previous" | undefined;
|
|
999
1882
|
revealAt?: string | undefined;
|
|
@@ -1002,36 +1885,105 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
1002
1885
|
id: string;
|
|
1003
1886
|
type: "callout";
|
|
1004
1887
|
text: string;
|
|
1005
|
-
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1888
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1889
|
+
variant?: "bordered" | "filled" | undefined;
|
|
1006
1890
|
} | {
|
|
1007
1891
|
reveal?: "step" | "with-previous" | undefined;
|
|
1008
1892
|
revealAt?: string | undefined;
|
|
1009
1893
|
hideAt?: string | undefined;
|
|
1010
1894
|
delay?: number | undefined;
|
|
1011
1895
|
id: string;
|
|
1012
|
-
type: "
|
|
1013
|
-
|
|
1014
|
-
|
|
1896
|
+
type: "box";
|
|
1897
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1898
|
+
variant?: "bordered" | "filled" | undefined;
|
|
1899
|
+
blocks: ({
|
|
1900
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1901
|
+
revealAt?: string | undefined;
|
|
1902
|
+
hideAt?: string | undefined;
|
|
1903
|
+
delay?: number | undefined;
|
|
1904
|
+
caps?: boolean | undefined;
|
|
1905
|
+
shadow?: boolean | undefined;
|
|
1906
|
+
id: string;
|
|
1907
|
+
type: "heading";
|
|
1908
|
+
text: string;
|
|
1909
|
+
level?: 1 | 2 | 3 | undefined;
|
|
1910
|
+
} | {
|
|
1911
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1912
|
+
revealAt?: string | undefined;
|
|
1913
|
+
hideAt?: string | undefined;
|
|
1914
|
+
delay?: number | undefined;
|
|
1915
|
+
caps?: boolean | undefined;
|
|
1916
|
+
shadow?: boolean | undefined;
|
|
1917
|
+
id: string;
|
|
1918
|
+
type: "text";
|
|
1919
|
+
text: string;
|
|
1920
|
+
} | {
|
|
1921
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1922
|
+
revealAt?: string | undefined;
|
|
1923
|
+
hideAt?: string | undefined;
|
|
1924
|
+
delay?: number | undefined;
|
|
1925
|
+
id: string;
|
|
1926
|
+
type: "list";
|
|
1927
|
+
ordered?: boolean | undefined;
|
|
1928
|
+
items: {
|
|
1929
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1930
|
+
revealAt?: string | undefined;
|
|
1931
|
+
hideAt?: string | undefined;
|
|
1932
|
+
delay?: number | undefined;
|
|
1933
|
+
id: string;
|
|
1934
|
+
text: string;
|
|
1935
|
+
indent?: 1 | 2 | undefined;
|
|
1936
|
+
}[];
|
|
1937
|
+
} | {
|
|
1938
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1939
|
+
revealAt?: string | undefined;
|
|
1940
|
+
hideAt?: string | undefined;
|
|
1941
|
+
delay?: number | undefined;
|
|
1942
|
+
id: string;
|
|
1943
|
+
type: "image";
|
|
1015
1944
|
src: string;
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1945
|
+
alt?: string | undefined;
|
|
1946
|
+
caption?: string | undefined;
|
|
1947
|
+
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
1948
|
+
} | {
|
|
1949
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1950
|
+
revealAt?: string | undefined;
|
|
1951
|
+
hideAt?: string | undefined;
|
|
1952
|
+
delay?: number | undefined;
|
|
1953
|
+
id: string;
|
|
1954
|
+
type: "quote";
|
|
1955
|
+
text: string;
|
|
1956
|
+
cite?: string | undefined;
|
|
1957
|
+
} | {
|
|
1958
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1959
|
+
revealAt?: string | undefined;
|
|
1960
|
+
hideAt?: string | undefined;
|
|
1961
|
+
delay?: number | undefined;
|
|
1962
|
+
id: string;
|
|
1963
|
+
type: "video-link";
|
|
1964
|
+
label: string;
|
|
1965
|
+
media: {
|
|
1966
|
+
src: string;
|
|
1967
|
+
type?: string | undefined;
|
|
1968
|
+
start?: number | undefined;
|
|
1969
|
+
end?: number | undefined;
|
|
1970
|
+
};
|
|
1971
|
+
} | {
|
|
1972
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1973
|
+
revealAt?: string | undefined;
|
|
1974
|
+
hideAt?: string | undefined;
|
|
1975
|
+
delay?: number | undefined;
|
|
1976
|
+
id: string;
|
|
1977
|
+
type: "effect";
|
|
1978
|
+
target: string | string[];
|
|
1979
|
+
move?: {
|
|
1980
|
+
x?: number | undefined;
|
|
1981
|
+
y?: number | undefined;
|
|
1982
|
+
} | undefined;
|
|
1983
|
+
scale?: number | undefined;
|
|
1984
|
+
opacity?: number | undefined;
|
|
1985
|
+
duration?: number | undefined;
|
|
1986
|
+
})[];
|
|
1035
1987
|
})[];
|
|
1036
1988
|
}[], 2, undefined>]>;
|
|
1037
1989
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
@@ -1061,7 +2013,7 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
1061
2013
|
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
1062
2014
|
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
1063
2015
|
/** The colour of the frame. Default `neutral`. */
|
|
1064
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
2016
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
1065
2017
|
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
1066
2018
|
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
1067
2019
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
@@ -1223,7 +2175,116 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
1223
2175
|
/** Markdown. */
|
|
1224
2176
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1225
2177
|
/** The colour of the box. Default `neutral`. */
|
|
1226
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
2178
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
2179
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
2180
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2181
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2182
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2183
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2184
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2185
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2186
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
2187
|
+
/** The colour of the box. Default `neutral`. */
|
|
2188
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
2189
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
2190
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
2191
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
2192
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2193
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2194
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2195
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2196
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2197
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2198
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2199
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
2200
|
+
/** One line of Markdown. */
|
|
2201
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2202
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
2203
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2204
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2205
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2206
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2207
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2208
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2209
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2210
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2211
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
2212
|
+
/** Markdown. */
|
|
2213
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2214
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2215
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2216
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2217
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2218
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2219
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2220
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
2221
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2222
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2223
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2224
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2225
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2226
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2227
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2228
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2229
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
2230
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
2231
|
+
}, undefined>, undefined>;
|
|
2232
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2233
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2234
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2235
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2236
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2237
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2238
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
2239
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2240
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2241
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2242
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
2243
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
2244
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2245
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2246
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2247
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2248
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2249
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2250
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
2251
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2252
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2253
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2254
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2255
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2256
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2257
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2258
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2259
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
2260
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
2261
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
2262
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2263
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
2264
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2265
|
+
/** Seconds into the file where playback begins. */
|
|
2266
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2267
|
+
/** Seconds into the file where the media counts as ended. */
|
|
2268
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2269
|
+
}, undefined>;
|
|
2270
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2271
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2272
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2273
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2274
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2275
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2276
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
2277
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
2278
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
2279
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
2280
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2281
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2282
|
+
}, undefined>, undefined>;
|
|
2283
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2284
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
2285
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
2286
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
2287
|
+
}, undefined>], undefined>, undefined>;
|
|
1227
2288
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1228
2289
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1229
2290
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -1339,7 +2400,116 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
1339
2400
|
/** Markdown. */
|
|
1340
2401
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1341
2402
|
/** The colour of the box. Default `neutral`. */
|
|
1342
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
2403
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
2404
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
2405
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2406
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2407
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2408
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2409
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2410
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2411
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
2412
|
+
/** The colour of the box. Default `neutral`. */
|
|
2413
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
2414
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
2415
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
2416
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
2417
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2418
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2419
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2420
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2421
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2422
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2423
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2424
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
2425
|
+
/** One line of Markdown. */
|
|
2426
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2427
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
2428
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2429
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2430
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2431
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2432
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2433
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2434
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2435
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2436
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
2437
|
+
/** Markdown. */
|
|
2438
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2439
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2440
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2441
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2442
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2443
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2444
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2445
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
2446
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2447
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2448
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2449
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2450
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2451
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2452
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2453
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2454
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
2455
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
2456
|
+
}, undefined>, undefined>;
|
|
2457
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2458
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2459
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2460
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2461
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2462
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2463
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
2464
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2465
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2466
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2467
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
2468
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
2469
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2470
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2471
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2472
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2473
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2474
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2475
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
2476
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2477
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2478
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2479
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2480
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2481
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2482
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2483
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2484
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
2485
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
2486
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
2487
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2488
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
2489
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2490
|
+
/** Seconds into the file where playback begins. */
|
|
2491
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2492
|
+
/** Seconds into the file where the media counts as ended. */
|
|
2493
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2494
|
+
}, undefined>;
|
|
2495
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2496
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2497
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2498
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2499
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
2500
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2501
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
2502
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
2503
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
2504
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
2505
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2506
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2507
|
+
}, undefined>, undefined>;
|
|
2508
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2509
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
2510
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
2511
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
2512
|
+
}, undefined>], undefined>, undefined>;
|
|
1343
2513
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1344
2514
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1345
2515
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -1435,6 +2605,35 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
1435
2605
|
type: "quote";
|
|
1436
2606
|
text: string;
|
|
1437
2607
|
cite?: string | undefined;
|
|
2608
|
+
} | {
|
|
2609
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2610
|
+
revealAt?: string | undefined;
|
|
2611
|
+
hideAt?: string | undefined;
|
|
2612
|
+
delay?: number | undefined;
|
|
2613
|
+
id: string;
|
|
2614
|
+
type: "video-link";
|
|
2615
|
+
label: string;
|
|
2616
|
+
media: {
|
|
2617
|
+
src: string;
|
|
2618
|
+
type?: string | undefined;
|
|
2619
|
+
start?: number | undefined;
|
|
2620
|
+
end?: number | undefined;
|
|
2621
|
+
};
|
|
2622
|
+
} | {
|
|
2623
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2624
|
+
revealAt?: string | undefined;
|
|
2625
|
+
hideAt?: string | undefined;
|
|
2626
|
+
delay?: number | undefined;
|
|
2627
|
+
id: string;
|
|
2628
|
+
type: "effect";
|
|
2629
|
+
target: string | string[];
|
|
2630
|
+
move?: {
|
|
2631
|
+
x?: number | undefined;
|
|
2632
|
+
y?: number | undefined;
|
|
2633
|
+
} | undefined;
|
|
2634
|
+
scale?: number | undefined;
|
|
2635
|
+
opacity?: number | undefined;
|
|
2636
|
+
duration?: number | undefined;
|
|
1438
2637
|
} | {
|
|
1439
2638
|
reveal?: "step" | "with-previous" | undefined;
|
|
1440
2639
|
revealAt?: string | undefined;
|
|
@@ -1443,36 +2642,105 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
1443
2642
|
id: string;
|
|
1444
2643
|
type: "callout";
|
|
1445
2644
|
text: string;
|
|
1446
|
-
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2645
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2646
|
+
variant?: "bordered" | "filled" | undefined;
|
|
1447
2647
|
} | {
|
|
1448
2648
|
reveal?: "step" | "with-previous" | undefined;
|
|
1449
2649
|
revealAt?: string | undefined;
|
|
1450
2650
|
hideAt?: string | undefined;
|
|
1451
2651
|
delay?: number | undefined;
|
|
1452
2652
|
id: string;
|
|
1453
|
-
type: "
|
|
1454
|
-
|
|
1455
|
-
|
|
2653
|
+
type: "box";
|
|
2654
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2655
|
+
variant?: "bordered" | "filled" | undefined;
|
|
2656
|
+
blocks: ({
|
|
2657
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2658
|
+
revealAt?: string | undefined;
|
|
2659
|
+
hideAt?: string | undefined;
|
|
2660
|
+
delay?: number | undefined;
|
|
2661
|
+
caps?: boolean | undefined;
|
|
2662
|
+
shadow?: boolean | undefined;
|
|
2663
|
+
id: string;
|
|
2664
|
+
type: "heading";
|
|
2665
|
+
text: string;
|
|
2666
|
+
level?: 1 | 2 | 3 | undefined;
|
|
2667
|
+
} | {
|
|
2668
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2669
|
+
revealAt?: string | undefined;
|
|
2670
|
+
hideAt?: string | undefined;
|
|
2671
|
+
delay?: number | undefined;
|
|
2672
|
+
caps?: boolean | undefined;
|
|
2673
|
+
shadow?: boolean | undefined;
|
|
2674
|
+
id: string;
|
|
2675
|
+
type: "text";
|
|
2676
|
+
text: string;
|
|
2677
|
+
} | {
|
|
2678
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2679
|
+
revealAt?: string | undefined;
|
|
2680
|
+
hideAt?: string | undefined;
|
|
2681
|
+
delay?: number | undefined;
|
|
2682
|
+
id: string;
|
|
2683
|
+
type: "list";
|
|
2684
|
+
ordered?: boolean | undefined;
|
|
2685
|
+
items: {
|
|
2686
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2687
|
+
revealAt?: string | undefined;
|
|
2688
|
+
hideAt?: string | undefined;
|
|
2689
|
+
delay?: number | undefined;
|
|
2690
|
+
id: string;
|
|
2691
|
+
text: string;
|
|
2692
|
+
indent?: 1 | 2 | undefined;
|
|
2693
|
+
}[];
|
|
2694
|
+
} | {
|
|
2695
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2696
|
+
revealAt?: string | undefined;
|
|
2697
|
+
hideAt?: string | undefined;
|
|
2698
|
+
delay?: number | undefined;
|
|
2699
|
+
id: string;
|
|
2700
|
+
type: "image";
|
|
1456
2701
|
src: string;
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
}
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
2702
|
+
alt?: string | undefined;
|
|
2703
|
+
caption?: string | undefined;
|
|
2704
|
+
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
2705
|
+
} | {
|
|
2706
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2707
|
+
revealAt?: string | undefined;
|
|
2708
|
+
hideAt?: string | undefined;
|
|
2709
|
+
delay?: number | undefined;
|
|
2710
|
+
id: string;
|
|
2711
|
+
type: "quote";
|
|
2712
|
+
text: string;
|
|
2713
|
+
cite?: string | undefined;
|
|
2714
|
+
} | {
|
|
2715
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2716
|
+
revealAt?: string | undefined;
|
|
2717
|
+
hideAt?: string | undefined;
|
|
2718
|
+
delay?: number | undefined;
|
|
2719
|
+
id: string;
|
|
2720
|
+
type: "video-link";
|
|
2721
|
+
label: string;
|
|
2722
|
+
media: {
|
|
2723
|
+
src: string;
|
|
2724
|
+
type?: string | undefined;
|
|
2725
|
+
start?: number | undefined;
|
|
2726
|
+
end?: number | undefined;
|
|
2727
|
+
};
|
|
2728
|
+
} | {
|
|
2729
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2730
|
+
revealAt?: string | undefined;
|
|
2731
|
+
hideAt?: string | undefined;
|
|
2732
|
+
delay?: number | undefined;
|
|
2733
|
+
id: string;
|
|
2734
|
+
type: "effect";
|
|
2735
|
+
target: string | string[];
|
|
2736
|
+
move?: {
|
|
2737
|
+
x?: number | undefined;
|
|
2738
|
+
y?: number | undefined;
|
|
2739
|
+
} | undefined;
|
|
2740
|
+
scale?: number | undefined;
|
|
2741
|
+
opacity?: number | undefined;
|
|
2742
|
+
duration?: number | undefined;
|
|
2743
|
+
})[];
|
|
1476
2744
|
})[];
|
|
1477
2745
|
}[], 2, undefined>]>;
|
|
1478
2746
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
@@ -1502,7 +2770,7 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
1502
2770
|
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
1503
2771
|
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
1504
2772
|
/** The colour of the frame. Default `neutral`. */
|
|
1505
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
2773
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
1506
2774
|
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
1507
2775
|
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
1508
2776
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
@@ -1745,7 +3013,116 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1745
3013
|
/** Markdown. */
|
|
1746
3014
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1747
3015
|
/** The colour of the box. Default `neutral`. */
|
|
1748
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
3016
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
3017
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
3018
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3019
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3020
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3021
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3022
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3023
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3024
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
3025
|
+
/** The colour of the box. Default `neutral`. */
|
|
3026
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
3027
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
3028
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
3029
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
3030
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3031
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3032
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3033
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3034
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3035
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3036
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3037
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
3038
|
+
/** One line of Markdown. */
|
|
3039
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
3040
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
3041
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3042
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3043
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3044
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3045
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3046
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3047
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3048
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3049
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
3050
|
+
/** Markdown. */
|
|
3051
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
3052
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3053
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3054
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3055
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3056
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3057
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3058
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
3059
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3060
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
3061
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3062
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3063
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3064
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3065
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3066
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
3067
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
3068
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
3069
|
+
}, undefined>, undefined>;
|
|
3070
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3071
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3072
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3073
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3074
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3075
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3076
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
3077
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3078
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3079
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3080
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
3081
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
3082
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3083
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3084
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3085
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3086
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3087
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3088
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
3089
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
3090
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3091
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3092
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3093
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3094
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3095
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3096
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3097
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
3098
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
3099
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
3100
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3101
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
3102
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3103
|
+
/** Seconds into the file where playback begins. */
|
|
3104
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
3105
|
+
/** Seconds into the file where the media counts as ended. */
|
|
3106
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
3107
|
+
}, undefined>;
|
|
3108
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3109
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3110
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3111
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3112
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3113
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3114
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
3115
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
3116
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
3117
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
3118
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3119
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3120
|
+
}, undefined>, undefined>;
|
|
3121
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
3122
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
3123
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
3124
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
3125
|
+
}, undefined>], undefined>, undefined>;
|
|
1749
3126
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1750
3127
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1751
3128
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -1861,7 +3238,116 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1861
3238
|
/** Markdown. */
|
|
1862
3239
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1863
3240
|
/** The colour of the box. Default `neutral`. */
|
|
1864
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
3241
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
3242
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
3243
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3244
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3245
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3246
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3247
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3248
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3249
|
+
readonly type: import("valibot").LiteralSchema<"box", undefined>;
|
|
3250
|
+
/** The colour of the box. Default `neutral`. */
|
|
3251
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
3252
|
+
readonly variant: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["bordered", "filled"], undefined>, undefined>;
|
|
3253
|
+
/** Headings, texts, lists, images, quotes and video links, and effects. No box, callout, columns or canvas. */
|
|
3254
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
3255
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3256
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3257
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3258
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3259
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3260
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3261
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3262
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
3263
|
+
/** One line of Markdown. */
|
|
3264
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
3265
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
3266
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3267
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3268
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3269
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3270
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3271
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3272
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3273
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3274
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
3275
|
+
/** Markdown. */
|
|
3276
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
3277
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3278
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3279
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3280
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3281
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3282
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3283
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
3284
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3285
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
3286
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3287
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3288
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3289
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3290
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3291
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
3292
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
3293
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
3294
|
+
}, undefined>, undefined>;
|
|
3295
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3296
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3297
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3298
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3299
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3300
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3301
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
3302
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3303
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3304
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3305
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
3306
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
3307
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3308
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3309
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3310
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3311
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3312
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3313
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
3314
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
3315
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3316
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3317
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3318
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3319
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3320
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3321
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3322
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
3323
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
3324
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
3325
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3326
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
3327
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3328
|
+
/** Seconds into the file where playback begins. */
|
|
3329
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
3330
|
+
/** Seconds into the file where the media counts as ended. */
|
|
3331
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
3332
|
+
}, undefined>;
|
|
3333
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3334
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3335
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3336
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3337
|
+
readonly delay: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 5000, undefined>]>, undefined>;
|
|
3338
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3339
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
3340
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
3341
|
+
readonly target: import("valibot").UnionSchema<[import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>, import("valibot").MinLengthAction<string[], 1, undefined>]>], undefined>;
|
|
3342
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
3343
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3344
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3345
|
+
}, undefined>, undefined>;
|
|
3346
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
3347
|
+
readonly opacity: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
3348
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
3349
|
+
readonly duration: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 50, undefined>, import("valibot").MaxValueAction<number, 3000, undefined>]>, undefined>;
|
|
3350
|
+
}, undefined>], undefined>, undefined>;
|
|
1865
3351
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1866
3352
|
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1867
3353
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
@@ -1957,15 +3443,6 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1957
3443
|
type: "quote";
|
|
1958
3444
|
text: string;
|
|
1959
3445
|
cite?: string | undefined;
|
|
1960
|
-
} | {
|
|
1961
|
-
reveal?: "step" | "with-previous" | undefined;
|
|
1962
|
-
revealAt?: string | undefined;
|
|
1963
|
-
hideAt?: string | undefined;
|
|
1964
|
-
delay?: number | undefined;
|
|
1965
|
-
id: string;
|
|
1966
|
-
type: "callout";
|
|
1967
|
-
text: string;
|
|
1968
|
-
tone?: "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1969
3446
|
} | {
|
|
1970
3447
|
reveal?: "step" | "with-previous" | undefined;
|
|
1971
3448
|
revealAt?: string | undefined;
|
|
@@ -1995,6 +3472,113 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1995
3472
|
scale?: number | undefined;
|
|
1996
3473
|
opacity?: number | undefined;
|
|
1997
3474
|
duration?: number | undefined;
|
|
3475
|
+
} | {
|
|
3476
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3477
|
+
revealAt?: string | undefined;
|
|
3478
|
+
hideAt?: string | undefined;
|
|
3479
|
+
delay?: number | undefined;
|
|
3480
|
+
id: string;
|
|
3481
|
+
type: "callout";
|
|
3482
|
+
text: string;
|
|
3483
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
3484
|
+
variant?: "bordered" | "filled" | undefined;
|
|
3485
|
+
} | {
|
|
3486
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3487
|
+
revealAt?: string | undefined;
|
|
3488
|
+
hideAt?: string | undefined;
|
|
3489
|
+
delay?: number | undefined;
|
|
3490
|
+
id: string;
|
|
3491
|
+
type: "box";
|
|
3492
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
3493
|
+
variant?: "bordered" | "filled" | undefined;
|
|
3494
|
+
blocks: ({
|
|
3495
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3496
|
+
revealAt?: string | undefined;
|
|
3497
|
+
hideAt?: string | undefined;
|
|
3498
|
+
delay?: number | undefined;
|
|
3499
|
+
caps?: boolean | undefined;
|
|
3500
|
+
shadow?: boolean | undefined;
|
|
3501
|
+
id: string;
|
|
3502
|
+
type: "heading";
|
|
3503
|
+
text: string;
|
|
3504
|
+
level?: 1 | 2 | 3 | undefined;
|
|
3505
|
+
} | {
|
|
3506
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3507
|
+
revealAt?: string | undefined;
|
|
3508
|
+
hideAt?: string | undefined;
|
|
3509
|
+
delay?: number | undefined;
|
|
3510
|
+
caps?: boolean | undefined;
|
|
3511
|
+
shadow?: boolean | undefined;
|
|
3512
|
+
id: string;
|
|
3513
|
+
type: "text";
|
|
3514
|
+
text: string;
|
|
3515
|
+
} | {
|
|
3516
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3517
|
+
revealAt?: string | undefined;
|
|
3518
|
+
hideAt?: string | undefined;
|
|
3519
|
+
delay?: number | undefined;
|
|
3520
|
+
id: string;
|
|
3521
|
+
type: "list";
|
|
3522
|
+
ordered?: boolean | undefined;
|
|
3523
|
+
items: {
|
|
3524
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3525
|
+
revealAt?: string | undefined;
|
|
3526
|
+
hideAt?: string | undefined;
|
|
3527
|
+
delay?: number | undefined;
|
|
3528
|
+
id: string;
|
|
3529
|
+
text: string;
|
|
3530
|
+
indent?: 1 | 2 | undefined;
|
|
3531
|
+
}[];
|
|
3532
|
+
} | {
|
|
3533
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3534
|
+
revealAt?: string | undefined;
|
|
3535
|
+
hideAt?: string | undefined;
|
|
3536
|
+
delay?: number | undefined;
|
|
3537
|
+
id: string;
|
|
3538
|
+
type: "image";
|
|
3539
|
+
src: string;
|
|
3540
|
+
alt?: string | undefined;
|
|
3541
|
+
caption?: string | undefined;
|
|
3542
|
+
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
3543
|
+
} | {
|
|
3544
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3545
|
+
revealAt?: string | undefined;
|
|
3546
|
+
hideAt?: string | undefined;
|
|
3547
|
+
delay?: number | undefined;
|
|
3548
|
+
id: string;
|
|
3549
|
+
type: "quote";
|
|
3550
|
+
text: string;
|
|
3551
|
+
cite?: string | undefined;
|
|
3552
|
+
} | {
|
|
3553
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3554
|
+
revealAt?: string | undefined;
|
|
3555
|
+
hideAt?: string | undefined;
|
|
3556
|
+
delay?: number | undefined;
|
|
3557
|
+
id: string;
|
|
3558
|
+
type: "video-link";
|
|
3559
|
+
label: string;
|
|
3560
|
+
media: {
|
|
3561
|
+
src: string;
|
|
3562
|
+
type?: string | undefined;
|
|
3563
|
+
start?: number | undefined;
|
|
3564
|
+
end?: number | undefined;
|
|
3565
|
+
};
|
|
3566
|
+
} | {
|
|
3567
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3568
|
+
revealAt?: string | undefined;
|
|
3569
|
+
hideAt?: string | undefined;
|
|
3570
|
+
delay?: number | undefined;
|
|
3571
|
+
id: string;
|
|
3572
|
+
type: "effect";
|
|
3573
|
+
target: string | string[];
|
|
3574
|
+
move?: {
|
|
3575
|
+
x?: number | undefined;
|
|
3576
|
+
y?: number | undefined;
|
|
3577
|
+
} | undefined;
|
|
3578
|
+
scale?: number | undefined;
|
|
3579
|
+
opacity?: number | undefined;
|
|
3580
|
+
duration?: number | undefined;
|
|
3581
|
+
})[];
|
|
1998
3582
|
})[];
|
|
1999
3583
|
}[], 2, undefined>]>;
|
|
2000
3584
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
@@ -2024,7 +3608,7 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
2024
3608
|
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
2025
3609
|
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
2026
3610
|
/** The colour of the frame. Default `neutral`. */
|
|
2027
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning", "danger"], undefined>, undefined>;
|
|
3611
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
2028
3612
|
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
2029
3613
|
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
2030
3614
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
@@ -2136,7 +3720,11 @@ export type Cue = InferOutput<typeof cueSchema>;
|
|
|
2136
3720
|
export type StepTransition = InferOutput<typeof transitionSchema>;
|
|
2137
3721
|
export type Media = InferOutput<typeof mediaSchema>;
|
|
2138
3722
|
export type Narration = InferOutput<typeof narrationSchema>;
|
|
3723
|
+
export type Tone = (typeof TONES)[number];
|
|
3724
|
+
export type SurfaceVariant = NonNullable<InferOutput<typeof calloutBlockSchema>["variant"]>;
|
|
2139
3725
|
export type CalloutBlock = InferOutput<typeof calloutBlockSchema>;
|
|
3726
|
+
export type BoxBlock = InferOutput<typeof boxBlockSchema>;
|
|
3727
|
+
export type BoxContentBlock = InferOutput<typeof boxContentSchema>;
|
|
2140
3728
|
export type EffectBlock = InferOutput<typeof effectBlockSchema>;
|
|
2141
3729
|
export type ImageSize = NonNullable<InferOutput<typeof imageBlockSchema>["size"]>;
|
|
2142
3730
|
export type ListItem = InferOutput<typeof listItemSchema>;
|