@olenbetong/synergi-course 2.0.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/chrome/CategoryHeader.css +28 -0
- package/es/completion/CourseCompletion.css +53 -0
- package/es/completion/CourseCompletion.d.ts +32 -0
- package/es/completion/CourseCompletion.js +60 -0
- package/es/document/cues.d.ts +51 -6
- package/es/document/cues.js +117 -14
- package/es/document/effects.d.ts +30 -0
- package/es/document/effects.js +76 -0
- package/es/document/schema.d.ts +2722 -346
- package/es/document/schema.js +172 -5
- package/es/document/validate.d.ts +2 -1
- package/es/document/validate.js +83 -16
- package/es/index.d.ts +8 -3
- package/es/index.js +6 -2
- package/es/media/Media.css +16 -0
- package/es/media/icons.d.ts +1 -0
- package/es/media/icons.js +3 -0
- package/es/player/CoursePlayer.css +76 -0
- package/es/player/CoursePlayer.js +28 -13
- package/es/player/PlayerBars.d.ts +32 -0
- package/es/player/PlayerBars.js +14 -0
- package/es/player/useFullScreen.d.ts +17 -0
- package/es/player/useFullScreen.js +83 -0
- package/es/player/useMediaQuery.d.ts +7 -0
- package/es/player/useMediaQuery.js +16 -0
- package/es/steps/Blocks.d.ts +43 -3
- package/es/steps/Blocks.js +114 -26
- package/es/steps/Markdown.d.ts +7 -1
- package/es/steps/Markdown.js +31 -4
- package/es/steps/QuizStepView.d.ts +2 -1
- package/es/steps/QuizStepView.js +20 -10
- package/es/steps/RevealMotion.d.ts +29 -0
- package/es/steps/RevealMotion.js +55 -0
- package/es/steps/SlideStepView.d.ts +5 -3
- package/es/steps/SlideStepView.js +43 -10
- package/es/steps/StepBodyProps.d.ts +16 -1
- package/es/steps/StepView.css +390 -16
- package/es/steps/StepView.d.ts +36 -4
- package/es/steps/StepView.js +21 -5
- package/es/steps/motion.d.ts +59 -0
- package/es/steps/motion.js +136 -0
- package/es/transitions/Transitions.css +114 -0
- package/es/transitions/plan.d.ts +66 -0
- package/es/transitions/plan.js +185 -0
- package/es/transitions/playStepTransition.d.ts +23 -0
- package/es/transitions/playStepTransition.js +131 -0
- package/es/types.d.ts +16 -3
- package/package.json +4 -4
- package/src/chrome/CategoryHeader.css +28 -0
- package/src/completion/CourseCompletion.css +53 -0
- package/src/completion/CourseCompletion.test.tsx +45 -0
- package/src/completion/CourseCompletion.tsx +98 -0
- package/src/document/box.test.ts +234 -0
- package/src/document/cues.ts +143 -13
- package/src/document/document.test.ts +1 -1
- package/src/document/effects.ts +106 -0
- package/src/document/reveal.test.ts +263 -0
- package/src/document/schema.ts +203 -5
- package/src/document/validate.ts +88 -18
- package/src/index.ts +46 -1
- package/src/media/Media.css +16 -0
- package/src/media/icons.tsx +8 -0
- package/src/player/CoursePlayer.css +76 -0
- package/src/player/CoursePlayer.test.tsx +70 -6
- package/src/player/CoursePlayer.tsx +91 -60
- package/src/player/PlayerBars.tsx +106 -0
- package/src/player/fullScreen.test.tsx +70 -0
- package/src/player/useFullScreen.ts +91 -0
- package/src/player/useMediaQuery.ts +21 -0
- package/src/steps/Blocks.test.ts +34 -0
- package/src/steps/Blocks.tsx +219 -32
- package/src/steps/Box.test.tsx +95 -0
- package/src/steps/Markdown.test.tsx +46 -0
- package/src/steps/Markdown.tsx +42 -4
- package/src/steps/Presence.test.tsx +82 -0
- package/src/steps/QuizStepView.test.tsx +79 -0
- package/src/steps/QuizStepView.tsx +34 -12
- package/src/steps/RevealMotion.ts +66 -0
- package/src/steps/SlideStepView.tsx +74 -12
- package/src/steps/StepBodyProps.ts +16 -1
- package/src/steps/StepView.css +390 -16
- package/src/steps/StepView.test.tsx +157 -0
- package/src/steps/StepView.tsx +108 -19
- package/src/steps/motion.test.ts +98 -0
- package/src/steps/motion.ts +178 -0
- package/src/steps/visibility.test.ts +24 -0
- package/src/transitions/Transitions.css +114 -0
- package/src/transitions/plan.ts +258 -0
- package/src/transitions/playStepTransition.ts +162 -0
- package/src/transitions/transitions.test.ts +274 -0
- package/src/types.ts +16 -3
- package/es/Transitions.css +0 -55
- package/es/Transitions.d.ts +0 -10
- package/es/Transitions.js +0 -24
- package/src/Transitions.css +0 -55
- package/src/Transitions.ts +0 -35
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
|
|
@@ -48,49 +50,64 @@ export declare const narrationSchema: import("valibot").StrictObjectSchema<{
|
|
|
48
50
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
49
51
|
}, undefined>;
|
|
50
52
|
export declare const headingBlockSchema: import("valibot").StrictObjectSchema<{
|
|
51
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
53
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
52
54
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
53
55
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
56
|
+
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>;
|
|
57
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
58
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
54
59
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
55
60
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
61
|
+
/** One line of Markdown. */
|
|
56
62
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
57
63
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
58
64
|
}, undefined>;
|
|
59
65
|
export declare const textBlockSchema: import("valibot").StrictObjectSchema<{
|
|
60
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
66
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
61
67
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
62
68
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
69
|
+
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>;
|
|
70
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
71
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
63
72
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
64
73
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
65
74
|
/** Markdown. */
|
|
66
75
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
67
76
|
}, undefined>;
|
|
68
77
|
export declare const listItemSchema: import("valibot").StrictObjectSchema<{
|
|
69
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
78
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
70
79
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
71
80
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
81
|
+
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>;
|
|
72
82
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
73
83
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
84
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
85
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
74
86
|
}, undefined>;
|
|
75
87
|
export declare const listBlockSchema: import("valibot").StrictObjectSchema<{
|
|
76
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
88
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
77
89
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
78
90
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
91
|
+
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>;
|
|
79
92
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
80
93
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
81
94
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
82
95
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
83
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
96
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
84
97
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
85
98
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
99
|
+
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>;
|
|
86
100
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
87
101
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
102
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
103
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
88
104
|
}, undefined>, undefined>;
|
|
89
105
|
}, undefined>;
|
|
90
106
|
export declare const imageBlockSchema: import("valibot").StrictObjectSchema<{
|
|
91
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
107
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
92
108
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
93
109
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
110
|
+
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>;
|
|
94
111
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
95
112
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
96
113
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -100,9 +117,10 @@ export declare const imageBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
100
117
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
101
118
|
}, undefined>;
|
|
102
119
|
export declare const quoteBlockSchema: import("valibot").StrictObjectSchema<{
|
|
103
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
120
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
104
121
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
105
122
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
123
|
+
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>;
|
|
106
124
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
107
125
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
108
126
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
@@ -110,21 +128,24 @@ export declare const quoteBlockSchema: import("valibot").StrictObjectSchema<{
|
|
|
110
128
|
}, undefined>;
|
|
111
129
|
/** Text in a coloured box, for an instruction or a warning that must stand out. */
|
|
112
130
|
export declare const calloutBlockSchema: import("valibot").StrictObjectSchema<{
|
|
113
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
131
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
114
132
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
115
133
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
134
|
+
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>;
|
|
116
135
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
117
136
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
118
137
|
/** Markdown. */
|
|
119
138
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
120
139
|
/** The colour of the box. Default `neutral`. */
|
|
121
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], 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>;
|
|
122
142
|
}, undefined>;
|
|
123
143
|
/** A link that plays a video in a dialog on top of the slide. */
|
|
124
144
|
export declare const videoLinkBlockSchema: import("valibot").StrictObjectSchema<{
|
|
125
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
145
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
126
146
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
127
147
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
148
|
+
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>;
|
|
128
149
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
129
150
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
130
151
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -138,41 +159,78 @@ export declare const videoLinkBlockSchema: import("valibot").StrictObjectSchema<
|
|
|
138
159
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
139
160
|
}, undefined>;
|
|
140
161
|
}, undefined>;
|
|
141
|
-
/**
|
|
142
|
-
|
|
143
|
-
|
|
162
|
+
/**
|
|
163
|
+
* A block that shows nothing and acts on other parts while it is shown (by its timing, like any
|
|
164
|
+
* part): it moves, scales or fades its targets, and they go back when it stops. `move` is in the
|
|
165
|
+
* slide's text size (1 is about the height of a letter of the ordinary text), or for an item on a
|
|
166
|
+
* canvas in percent of the canvas's width (`x`) and height (`y`). Several effects on one part
|
|
167
|
+
* combine: moves add up, scales multiply, and the last opacity in the document wins.
|
|
168
|
+
*/
|
|
169
|
+
export declare const effectBlockSchema: import("valibot").StrictObjectSchema<{
|
|
170
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
171
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
172
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
173
|
+
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>;
|
|
174
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
175
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
176
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
177
|
+
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>;
|
|
178
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
179
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
180
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
181
|
+
}, undefined>, undefined>;
|
|
182
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
183
|
+
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>;
|
|
184
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
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>;
|
|
186
|
+
}, undefined>;
|
|
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<{
|
|
189
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
144
190
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
145
191
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
192
|
+
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>;
|
|
193
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
194
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
146
195
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
147
196
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
197
|
+
/** One line of Markdown. */
|
|
148
198
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
149
199
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
150
200
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
151
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
201
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
152
202
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
153
203
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
204
|
+
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>;
|
|
205
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
206
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
154
207
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
155
208
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
156
209
|
/** Markdown. */
|
|
157
210
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
158
211
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
159
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
212
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
160
213
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
161
214
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
215
|
+
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>;
|
|
162
216
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
163
217
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
164
218
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
165
219
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
166
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
220
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
167
221
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
168
222
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
223
|
+
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>;
|
|
169
224
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
170
225
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
226
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
227
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
171
228
|
}, undefined>, undefined>;
|
|
172
229
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
173
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
230
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
174
231
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
175
232
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
233
|
+
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>;
|
|
176
234
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
177
235
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
178
236
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -181,27 +239,19 @@ export declare const contentBlockSchema: import("valibot").VariantSchema<"type",
|
|
|
181
239
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
182
240
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
183
241
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
184
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
242
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
185
243
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
186
244
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
245
|
+
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>;
|
|
187
246
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
188
247
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
189
248
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
190
249
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
191
250
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
192
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
193
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
194
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
195
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
196
|
-
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
197
|
-
/** Markdown. */
|
|
198
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
199
|
-
/** The colour of the box. Default `neutral`. */
|
|
200
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
201
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
202
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"step", undefined>, undefined>;
|
|
251
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
203
252
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
204
253
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
254
|
+
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>;
|
|
205
255
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
206
256
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
207
257
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -214,43 +264,82 @@ export declare const contentBlockSchema: import("valibot").VariantSchema<"type",
|
|
|
214
264
|
/** Seconds into the file where the media counts as ended. */
|
|
215
265
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
216
266
|
}, undefined>;
|
|
267
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
268
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
269
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
270
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
271
|
+
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>;
|
|
272
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
273
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
274
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
275
|
+
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>;
|
|
276
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
277
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
278
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
279
|
+
}, undefined>, undefined>;
|
|
280
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
281
|
+
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>;
|
|
282
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
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>;
|
|
217
284
|
}, undefined>], undefined>;
|
|
218
|
-
|
|
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>;
|
|
219
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. */
|
|
220
297
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
221
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
298
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
222
299
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
223
300
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
301
|
+
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>;
|
|
302
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
303
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
224
304
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
225
305
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
306
|
+
/** One line of Markdown. */
|
|
226
307
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
227
308
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
228
309
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
229
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
310
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
230
311
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
231
312
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
313
|
+
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>;
|
|
314
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
315
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
232
316
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
233
317
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
234
318
|
/** Markdown. */
|
|
235
319
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
236
320
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
237
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
321
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
238
322
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
239
323
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
324
|
+
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>;
|
|
240
325
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
241
326
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
242
327
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
243
328
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
244
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
329
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
245
330
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
246
331
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
332
|
+
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>;
|
|
247
333
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
248
334
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
335
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
336
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
249
337
|
}, undefined>, undefined>;
|
|
250
338
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
251
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
339
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
252
340
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
253
341
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
342
|
+
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>;
|
|
254
343
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
255
344
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
256
345
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -259,27 +348,19 @@ export declare const columnSchema: import("valibot").StrictObjectSchema<{
|
|
|
259
348
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
260
349
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
261
350
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
262
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
351
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
263
352
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
264
353
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
354
|
+
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>;
|
|
265
355
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
266
356
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
267
357
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
268
358
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
269
359
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
270
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
271
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
272
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
273
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
274
|
-
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
275
|
-
/** Markdown. */
|
|
276
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
277
|
-
/** The colour of the box. Default `neutral`. */
|
|
278
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
279
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
280
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"step", undefined>, undefined>;
|
|
360
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
281
361
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
282
362
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
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>;
|
|
283
364
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
284
365
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
285
366
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -292,199 +373,72 @@ export declare const columnSchema: import("valibot").StrictObjectSchema<{
|
|
|
292
373
|
/** Seconds into the file where the media counts as ended. */
|
|
293
374
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
294
375
|
}, undefined>;
|
|
295
|
-
}, undefined
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
301
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
302
|
-
readonly type: import("valibot").LiteralSchema<"columns", undefined>;
|
|
303
|
-
readonly columns: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
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>;
|
|
304
381
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
305
|
-
readonly
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
readonly
|
|
310
|
-
readonly
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
318
|
-
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
319
|
-
/** Markdown. */
|
|
320
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
321
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
322
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"step", undefined>, undefined>;
|
|
323
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
324
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
325
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
326
|
-
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
327
|
-
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
328
|
-
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
329
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"step", undefined>, undefined>;
|
|
330
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
331
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
332
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
333
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
334
|
-
}, undefined>, undefined>;
|
|
335
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
336
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"step", undefined>, undefined>;
|
|
337
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
338
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
339
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
340
|
-
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
341
|
-
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
342
|
-
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
343
|
-
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
344
|
-
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
345
|
-
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
346
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
347
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"step", undefined>, undefined>;
|
|
348
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
349
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
350
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
351
|
-
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
352
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
353
|
-
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
354
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
355
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"step", undefined>, undefined>;
|
|
356
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
357
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
358
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
359
|
-
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
360
|
-
/** Markdown. */
|
|
361
|
-
readonly text: import("valibot").StringSchema<undefined>;
|
|
362
|
-
/** The colour of the box. Default `neutral`. */
|
|
363
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
364
|
-
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
365
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"step", undefined>, undefined>;
|
|
366
|
-
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
367
|
-
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
368
|
-
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
369
|
-
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
370
|
-
readonly label: import("valibot").StringSchema<undefined>;
|
|
371
|
-
readonly media: import("valibot").StrictObjectSchema<{
|
|
372
|
-
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
373
|
-
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
374
|
-
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
375
|
-
/** Seconds into the file where playback begins. */
|
|
376
|
-
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
377
|
-
/** Seconds into the file where the media counts as ended. */
|
|
378
|
-
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
379
|
-
}, undefined>;
|
|
380
|
-
}, undefined>], undefined>, undefined>;
|
|
381
|
-
}, undefined>, undefined>, import("valibot").MinLengthAction<{
|
|
382
|
-
id: string;
|
|
383
|
-
blocks: ({
|
|
384
|
-
reveal?: "step" | undefined;
|
|
385
|
-
revealAt?: string | undefined;
|
|
386
|
-
hideAt?: string | undefined;
|
|
387
|
-
id: string;
|
|
388
|
-
type: "heading";
|
|
389
|
-
text: string;
|
|
390
|
-
level?: 1 | 2 | 3 | undefined;
|
|
391
|
-
} | {
|
|
392
|
-
reveal?: "step" | undefined;
|
|
393
|
-
revealAt?: string | undefined;
|
|
394
|
-
hideAt?: string | undefined;
|
|
395
|
-
id: string;
|
|
396
|
-
type: "text";
|
|
397
|
-
text: string;
|
|
398
|
-
} | {
|
|
399
|
-
reveal?: "step" | undefined;
|
|
400
|
-
revealAt?: string | undefined;
|
|
401
|
-
hideAt?: string | undefined;
|
|
402
|
-
id: string;
|
|
403
|
-
type: "list";
|
|
404
|
-
ordered?: boolean | undefined;
|
|
405
|
-
items: {
|
|
406
|
-
reveal?: "step" | undefined;
|
|
407
|
-
revealAt?: string | undefined;
|
|
408
|
-
hideAt?: string | undefined;
|
|
409
|
-
id: string;
|
|
410
|
-
text: string;
|
|
411
|
-
}[];
|
|
412
|
-
} | {
|
|
413
|
-
reveal?: "step" | undefined;
|
|
414
|
-
revealAt?: string | undefined;
|
|
415
|
-
hideAt?: string | undefined;
|
|
416
|
-
id: string;
|
|
417
|
-
type: "image";
|
|
418
|
-
src: string;
|
|
419
|
-
alt?: string | undefined;
|
|
420
|
-
caption?: string | undefined;
|
|
421
|
-
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
422
|
-
} | {
|
|
423
|
-
reveal?: "step" | undefined;
|
|
424
|
-
revealAt?: string | undefined;
|
|
425
|
-
hideAt?: string | undefined;
|
|
426
|
-
id: string;
|
|
427
|
-
type: "quote";
|
|
428
|
-
text: string;
|
|
429
|
-
cite?: string | undefined;
|
|
430
|
-
} | {
|
|
431
|
-
reveal?: "step" | undefined;
|
|
432
|
-
revealAt?: string | undefined;
|
|
433
|
-
hideAt?: string | undefined;
|
|
434
|
-
id: string;
|
|
435
|
-
type: "callout";
|
|
436
|
-
text: string;
|
|
437
|
-
tone?: "info" | "neutral" | "success" | "warning" | undefined;
|
|
438
|
-
} | {
|
|
439
|
-
reveal?: "step" | undefined;
|
|
440
|
-
revealAt?: string | undefined;
|
|
441
|
-
hideAt?: string | undefined;
|
|
442
|
-
id: string;
|
|
443
|
-
type: "video-link";
|
|
444
|
-
label: string;
|
|
445
|
-
media: {
|
|
446
|
-
src: string;
|
|
447
|
-
type?: string | undefined;
|
|
448
|
-
start?: number | undefined;
|
|
449
|
-
end?: number | undefined;
|
|
450
|
-
};
|
|
451
|
-
})[];
|
|
452
|
-
}[], 2, 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>;
|
|
453
394
|
}, undefined>;
|
|
454
|
-
|
|
455
|
-
|
|
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>;
|
|
456
398
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
457
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>;
|
|
458
403
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
459
404
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
405
|
+
/** One line of Markdown. */
|
|
460
406
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
461
407
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
462
408
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
463
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
409
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
464
410
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
465
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>;
|
|
466
415
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
467
416
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
468
417
|
/** Markdown. */
|
|
469
418
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
470
419
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
471
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
420
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
472
421
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
473
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>;
|
|
474
424
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
475
425
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
476
426
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
477
427
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
478
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
428
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
479
429
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
480
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>;
|
|
481
432
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
482
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>;
|
|
483
436
|
}, undefined>, undefined>;
|
|
484
437
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
485
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
438
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
486
439
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
487
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>;
|
|
488
442
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
489
443
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
490
444
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -493,27 +447,139 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
493
447
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
494
448
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
495
449
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
496
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
450
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
497
451
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
498
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>;
|
|
499
454
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
500
455
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
501
456
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
502
457
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
503
458
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
504
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
459
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
505
460
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
506
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>;
|
|
507
463
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
508
464
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
509
465
|
/** Markdown. */
|
|
510
466
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
511
467
|
/** The colour of the box. Default `neutral`. */
|
|
512
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, undefined>;
|
|
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>;
|
|
502
|
+
/** Markdown. */
|
|
503
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
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>;
|
|
543
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
544
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
545
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
546
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
547
|
+
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>;
|
|
548
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
549
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
550
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
551
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
552
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
553
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
554
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
555
|
+
/** Seconds into the file where playback begins. */
|
|
556
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
557
|
+
/** Seconds into the file where the media counts as ended. */
|
|
558
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
559
|
+
}, undefined>;
|
|
560
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
561
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
562
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
563
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
564
|
+
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>;
|
|
565
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
566
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
567
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
568
|
+
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>;
|
|
569
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
570
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
571
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
572
|
+
}, undefined>, undefined>;
|
|
573
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
574
|
+
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>;
|
|
575
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
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>;
|
|
577
|
+
}, undefined>], undefined>, undefined>;
|
|
513
578
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
514
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
579
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
515
580
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
516
581
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
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>;
|
|
517
583
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
518
584
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
519
585
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -527,76 +593,1171 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
527
593
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
528
594
|
}, undefined>;
|
|
529
595
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
530
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
596
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
531
597
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
532
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>;
|
|
533
600
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
534
|
-
readonly type: import("valibot").LiteralSchema<"
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
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>;
|
|
622
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
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>;
|
|
865
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
866
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
867
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
868
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
869
|
+
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>;
|
|
870
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
871
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
872
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
873
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
874
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
875
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
876
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
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>;
|
|
878
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, 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>;
|
|
1024
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1025
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1026
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1027
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1028
|
+
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>;
|
|
1029
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1030
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
1031
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
1032
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
1033
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1034
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
1035
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1036
|
+
/** Seconds into the file where playback begins. */
|
|
1037
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1038
|
+
/** Seconds into the file where the media counts as ended. */
|
|
1039
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1040
|
+
}, undefined>;
|
|
1041
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1042
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1043
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1044
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1045
|
+
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>;
|
|
1046
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1047
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1048
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1049
|
+
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>;
|
|
1050
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1051
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1052
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1053
|
+
}, undefined>, undefined>;
|
|
1054
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1055
|
+
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>;
|
|
1056
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1057
|
+
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>;
|
|
1058
|
+
}, undefined>], undefined>, undefined>;
|
|
1059
|
+
}, undefined>, undefined>, import("valibot").MinLengthAction<{
|
|
1060
|
+
id: string;
|
|
1061
|
+
blocks: ({
|
|
1062
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1063
|
+
revealAt?: string | undefined;
|
|
1064
|
+
hideAt?: string | undefined;
|
|
1065
|
+
delay?: number | undefined;
|
|
1066
|
+
caps?: boolean | undefined;
|
|
1067
|
+
shadow?: boolean | undefined;
|
|
1068
|
+
id: string;
|
|
1069
|
+
type: "heading";
|
|
1070
|
+
text: string;
|
|
1071
|
+
level?: 1 | 2 | 3 | undefined;
|
|
1072
|
+
} | {
|
|
1073
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1074
|
+
revealAt?: string | undefined;
|
|
1075
|
+
hideAt?: string | undefined;
|
|
1076
|
+
delay?: number | undefined;
|
|
1077
|
+
caps?: boolean | undefined;
|
|
1078
|
+
shadow?: boolean | undefined;
|
|
1079
|
+
id: string;
|
|
1080
|
+
type: "text";
|
|
1081
|
+
text: string;
|
|
1082
|
+
} | {
|
|
1083
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1084
|
+
revealAt?: string | undefined;
|
|
1085
|
+
hideAt?: string | undefined;
|
|
1086
|
+
delay?: number | undefined;
|
|
1087
|
+
id: string;
|
|
1088
|
+
type: "list";
|
|
1089
|
+
ordered?: boolean | undefined;
|
|
1090
|
+
items: {
|
|
1091
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1092
|
+
revealAt?: string | undefined;
|
|
1093
|
+
hideAt?: string | undefined;
|
|
1094
|
+
delay?: number | undefined;
|
|
1095
|
+
id: string;
|
|
1096
|
+
text: string;
|
|
1097
|
+
indent?: 1 | 2 | undefined;
|
|
1098
|
+
}[];
|
|
1099
|
+
} | {
|
|
1100
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1101
|
+
revealAt?: string | undefined;
|
|
1102
|
+
hideAt?: string | undefined;
|
|
1103
|
+
delay?: number | undefined;
|
|
1104
|
+
id: string;
|
|
1105
|
+
type: "image";
|
|
1106
|
+
src: string;
|
|
1107
|
+
alt?: string | undefined;
|
|
1108
|
+
caption?: string | undefined;
|
|
1109
|
+
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
1110
|
+
} | {
|
|
1111
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1112
|
+
revealAt?: string | undefined;
|
|
1113
|
+
hideAt?: string | undefined;
|
|
1114
|
+
delay?: number | undefined;
|
|
1115
|
+
id: string;
|
|
1116
|
+
type: "quote";
|
|
1117
|
+
text: string;
|
|
1118
|
+
cite?: string | undefined;
|
|
1119
|
+
} | {
|
|
1120
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1121
|
+
revealAt?: string | undefined;
|
|
1122
|
+
hideAt?: string | undefined;
|
|
1123
|
+
delay?: number | undefined;
|
|
1124
|
+
id: string;
|
|
1125
|
+
type: "video-link";
|
|
1126
|
+
label: string;
|
|
1127
|
+
media: {
|
|
1128
|
+
src: string;
|
|
1129
|
+
type?: string | undefined;
|
|
1130
|
+
start?: number | undefined;
|
|
1131
|
+
end?: number | undefined;
|
|
1132
|
+
};
|
|
1133
|
+
} | {
|
|
1134
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1135
|
+
revealAt?: string | undefined;
|
|
1136
|
+
hideAt?: string | undefined;
|
|
1137
|
+
delay?: number | undefined;
|
|
1138
|
+
id: string;
|
|
1139
|
+
type: "effect";
|
|
1140
|
+
target: string | string[];
|
|
1141
|
+
move?: {
|
|
1142
|
+
x?: number | undefined;
|
|
1143
|
+
y?: number | undefined;
|
|
1144
|
+
} | undefined;
|
|
1145
|
+
scale?: number | undefined;
|
|
1146
|
+
opacity?: number | undefined;
|
|
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
|
+
})[];
|
|
1255
|
+
})[];
|
|
1256
|
+
}[], 2, undefined>]>;
|
|
1257
|
+
}, undefined>;
|
|
1258
|
+
export declare const canvasTextSchema: import("valibot").StrictObjectSchema<{
|
|
1259
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1260
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1261
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1262
|
+
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>;
|
|
1263
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1264
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1265
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1266
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1267
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1268
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1269
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1270
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1271
|
+
/** Markdown. */
|
|
1272
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1273
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
1274
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
1275
|
+
/** The colour of the frame. Default `neutral`. */
|
|
1276
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
1277
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
1278
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
1279
|
+
}, undefined>;
|
|
1280
|
+
export declare const canvasImageSchema: import("valibot").StrictObjectSchema<{
|
|
1281
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1282
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1283
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1284
|
+
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>;
|
|
1285
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1286
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1287
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1288
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1289
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1290
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1291
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1292
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1293
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1294
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1295
|
+
}, undefined>;
|
|
1296
|
+
/**
|
|
1297
|
+
* A figure with a coordinate system of its own: images and texts placed by percent on an area of
|
|
1298
|
+
* fixed proportions, later items on top of earlier ones. Everything scales with the canvas, the
|
|
1299
|
+
* text included, so the parts keep their places at any size. Always light, like a sheet of paper,
|
|
1300
|
+
* so a surface can cover a part of a picture. Does not stand in a column.
|
|
1301
|
+
*/
|
|
1302
|
+
export declare const canvasBlockSchema: import("valibot").StrictObjectSchema<{
|
|
1303
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1304
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1305
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1306
|
+
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>;
|
|
1307
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1308
|
+
readonly type: import("valibot").LiteralSchema<"canvas", undefined>;
|
|
1309
|
+
/** Width to height, e.g. `16/9` (the default) or `4/3`. */
|
|
1310
|
+
readonly aspect: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
|
|
1311
|
+
readonly items: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1312
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1313
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1314
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1315
|
+
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>;
|
|
1316
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1317
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1318
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1319
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1320
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1321
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1322
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1323
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1324
|
+
/** Markdown. */
|
|
1325
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1326
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
1327
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
1328
|
+
/** The colour of the frame. Default `neutral`. */
|
|
1329
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
1330
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
1331
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
1332
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1333
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1334
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1335
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1336
|
+
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>;
|
|
1337
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1338
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1339
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1340
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1341
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1342
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1343
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1344
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1345
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1346
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1347
|
+
}, undefined>], undefined>, undefined>;
|
|
1348
|
+
}, undefined>;
|
|
1349
|
+
export declare const blockSchema: import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1350
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1351
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1352
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1353
|
+
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>;
|
|
1354
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1355
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1356
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1357
|
+
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
1358
|
+
/** One line of Markdown. */
|
|
1359
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1360
|
+
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
1361
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1362
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1363
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1364
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1365
|
+
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>;
|
|
1366
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1367
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1368
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1369
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1370
|
+
/** Markdown. */
|
|
1371
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1372
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1373
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1374
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1375
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1376
|
+
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>;
|
|
1377
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1378
|
+
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
1379
|
+
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1380
|
+
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1381
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1382
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1383
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
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>;
|
|
1385
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1386
|
+
readonly text: import("valibot").StringSchema<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>;
|
|
1531
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1532
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1533
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1534
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1535
|
+
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>;
|
|
1536
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1537
|
+
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
1538
|
+
readonly label: import("valibot").StringSchema<undefined>;
|
|
1539
|
+
readonly media: import("valibot").StrictObjectSchema<{
|
|
1540
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1541
|
+
/** MIME type for a file, e.g. `audio/mp4`. Left out for Vimeo. */
|
|
1542
|
+
readonly type: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1543
|
+
/** Seconds into the file where playback begins. */
|
|
1544
|
+
readonly start: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1545
|
+
/** Seconds into the file where the media counts as ended. */
|
|
1546
|
+
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1547
|
+
}, undefined>;
|
|
1548
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1549
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1550
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1551
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1552
|
+
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>;
|
|
1553
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1554
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1555
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1556
|
+
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>;
|
|
1557
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1558
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1559
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1560
|
+
}, undefined>, undefined>;
|
|
1561
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1562
|
+
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>;
|
|
1563
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1564
|
+
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>;
|
|
1565
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1566
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1567
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1568
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1569
|
+
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>;
|
|
1570
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1571
|
+
readonly type: import("valibot").LiteralSchema<"columns", undefined>;
|
|
1572
|
+
readonly columns: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1573
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1574
|
+
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1575
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1576
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1577
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1578
|
+
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>;
|
|
1579
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1580
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1581
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
542
1582
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
1583
|
+
/** One line of Markdown. */
|
|
543
1584
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
544
1585
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
545
1586
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
546
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1587
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
547
1588
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
548
1589
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1590
|
+
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>;
|
|
1591
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1592
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
549
1593
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
550
1594
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
551
1595
|
/** Markdown. */
|
|
552
1596
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
553
1597
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
554
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1598
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
555
1599
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
556
1600
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1601
|
+
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>;
|
|
557
1602
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
558
1603
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
559
1604
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
560
1605
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
561
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1606
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1607
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1608
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1609
|
+
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>;
|
|
1610
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1611
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1612
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
1613
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
1614
|
+
}, undefined>, undefined>;
|
|
1615
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1616
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1617
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1618
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1619
|
+
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>;
|
|
1620
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1621
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1622
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1623
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1624
|
+
readonly caption: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1625
|
+
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
1626
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
1627
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1628
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1629
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1630
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1631
|
+
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>;
|
|
1632
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1633
|
+
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
1634
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1635
|
+
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1636
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1637
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1638
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1639
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1640
|
+
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>;
|
|
1641
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1642
|
+
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
1643
|
+
/** Markdown. */
|
|
1644
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
1645
|
+
/** The colour of the box. Default `neutral`. */
|
|
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>;
|
|
562
1723
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
563
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>;
|
|
564
1726
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
565
|
-
readonly
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
/** The colour of the box. Default `neutral`. */
|
|
595
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], undefined>, 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>;
|
|
596
1756
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
597
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
1757
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
598
1758
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
599
1759
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1760
|
+
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
1761
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
601
1762
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
602
1763
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -609,42 +1770,69 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
609
1770
|
/** Seconds into the file where the media counts as ended. */
|
|
610
1771
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
611
1772
|
}, undefined>;
|
|
1773
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1774
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1775
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1776
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1777
|
+
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>;
|
|
1778
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1779
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
1780
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
1781
|
+
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>;
|
|
1782
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1783
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1784
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
1785
|
+
}, undefined>, undefined>;
|
|
1786
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1787
|
+
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>;
|
|
1788
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
1789
|
+
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
1790
|
}, undefined>], undefined>, undefined>;
|
|
613
1791
|
}, undefined>, undefined>, import("valibot").MinLengthAction<{
|
|
614
1792
|
id: string;
|
|
615
1793
|
blocks: ({
|
|
616
|
-
reveal?: "step" | undefined;
|
|
1794
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
617
1795
|
revealAt?: string | undefined;
|
|
618
1796
|
hideAt?: string | undefined;
|
|
1797
|
+
delay?: number | undefined;
|
|
1798
|
+
caps?: boolean | undefined;
|
|
1799
|
+
shadow?: boolean | undefined;
|
|
619
1800
|
id: string;
|
|
620
1801
|
type: "heading";
|
|
621
1802
|
text: string;
|
|
622
1803
|
level?: 1 | 2 | 3 | undefined;
|
|
623
1804
|
} | {
|
|
624
|
-
reveal?: "step" | undefined;
|
|
1805
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
625
1806
|
revealAt?: string | undefined;
|
|
626
1807
|
hideAt?: string | undefined;
|
|
1808
|
+
delay?: number | undefined;
|
|
1809
|
+
caps?: boolean | undefined;
|
|
1810
|
+
shadow?: boolean | undefined;
|
|
627
1811
|
id: string;
|
|
628
1812
|
type: "text";
|
|
629
1813
|
text: string;
|
|
630
1814
|
} | {
|
|
631
|
-
reveal?: "step" | undefined;
|
|
1815
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
632
1816
|
revealAt?: string | undefined;
|
|
633
1817
|
hideAt?: string | undefined;
|
|
1818
|
+
delay?: number | undefined;
|
|
634
1819
|
id: string;
|
|
635
1820
|
type: "list";
|
|
636
1821
|
ordered?: boolean | undefined;
|
|
637
1822
|
items: {
|
|
638
|
-
reveal?: "step" | undefined;
|
|
1823
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
639
1824
|
revealAt?: string | undefined;
|
|
640
1825
|
hideAt?: string | undefined;
|
|
1826
|
+
delay?: number | undefined;
|
|
641
1827
|
id: string;
|
|
642
1828
|
text: string;
|
|
1829
|
+
indent?: 1 | 2 | undefined;
|
|
643
1830
|
}[];
|
|
644
1831
|
} | {
|
|
645
|
-
reveal?: "step" | undefined;
|
|
1832
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
646
1833
|
revealAt?: string | undefined;
|
|
647
1834
|
hideAt?: string | undefined;
|
|
1835
|
+
delay?: number | undefined;
|
|
648
1836
|
id: string;
|
|
649
1837
|
type: "image";
|
|
650
1838
|
src: string;
|
|
@@ -652,25 +1840,19 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
652
1840
|
caption?: string | undefined;
|
|
653
1841
|
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
654
1842
|
} | {
|
|
655
|
-
reveal?: "step" | undefined;
|
|
1843
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
656
1844
|
revealAt?: string | undefined;
|
|
657
1845
|
hideAt?: string | undefined;
|
|
1846
|
+
delay?: number | undefined;
|
|
658
1847
|
id: string;
|
|
659
1848
|
type: "quote";
|
|
660
1849
|
text: string;
|
|
661
1850
|
cite?: string | undefined;
|
|
662
1851
|
} | {
|
|
663
|
-
reveal?: "step" | undefined;
|
|
664
|
-
revealAt?: string | undefined;
|
|
665
|
-
hideAt?: string | undefined;
|
|
666
|
-
id: string;
|
|
667
|
-
type: "callout";
|
|
668
|
-
text: string;
|
|
669
|
-
tone?: "info" | "neutral" | "success" | "warning" | undefined;
|
|
670
|
-
} | {
|
|
671
|
-
reveal?: "step" | undefined;
|
|
1852
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
672
1853
|
revealAt?: string | undefined;
|
|
673
1854
|
hideAt?: string | undefined;
|
|
1855
|
+
delay?: number | undefined;
|
|
674
1856
|
id: string;
|
|
675
1857
|
type: "video-link";
|
|
676
1858
|
label: string;
|
|
@@ -680,17 +1862,214 @@ export declare const blockSchema: import("valibot").VariantSchema<"type", [impor
|
|
|
680
1862
|
start?: number | undefined;
|
|
681
1863
|
end?: number | undefined;
|
|
682
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;
|
|
1880
|
+
} | {
|
|
1881
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1882
|
+
revealAt?: string | undefined;
|
|
1883
|
+
hideAt?: string | undefined;
|
|
1884
|
+
delay?: number | undefined;
|
|
1885
|
+
id: string;
|
|
1886
|
+
type: "callout";
|
|
1887
|
+
text: string;
|
|
1888
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
1889
|
+
variant?: "bordered" | "filled" | undefined;
|
|
1890
|
+
} | {
|
|
1891
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1892
|
+
revealAt?: string | undefined;
|
|
1893
|
+
hideAt?: string | undefined;
|
|
1894
|
+
delay?: number | undefined;
|
|
1895
|
+
id: string;
|
|
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";
|
|
1944
|
+
src: string;
|
|
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
|
+
})[];
|
|
683
1987
|
})[];
|
|
684
1988
|
}[], 2, undefined>]>;
|
|
1989
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1990
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1991
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1992
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1993
|
+
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>;
|
|
1994
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1995
|
+
readonly type: import("valibot").LiteralSchema<"canvas", undefined>;
|
|
1996
|
+
/** Width to height, e.g. `16/9` (the default) or `4/3`. */
|
|
1997
|
+
readonly aspect: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
|
|
1998
|
+
readonly items: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1999
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2000
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2001
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2002
|
+
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>;
|
|
2003
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2004
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2005
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2006
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2007
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2008
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2009
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2010
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
2011
|
+
/** Markdown. */
|
|
2012
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2013
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
2014
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
2015
|
+
/** The colour of the frame. Default `neutral`. */
|
|
2016
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
2017
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
2018
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
2019
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2020
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2021
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2022
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2023
|
+
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>;
|
|
2024
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2025
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2026
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2027
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2028
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2029
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2030
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2031
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
2032
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2033
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2034
|
+
}, undefined>], undefined>, undefined>;
|
|
685
2035
|
}, undefined>], undefined>;
|
|
2036
|
+
/**
|
|
2037
|
+
* One animation of a step change. `on: "enter"` runs as the step comes in, `on: "exit"` as it
|
|
2038
|
+
* leaves. `target` is `step` (the default: the whole step box), `content` or `background` (a
|
|
2039
|
+
* slide's blocks or its background image) or the id of a part of the step. `slide` comes from
|
|
2040
|
+
* (or leaves to) `from`: right on enter and left on exit by default, mirrored when the learner
|
|
2041
|
+
* goes back. Several items on one target run together, each with its own delay and duration.
|
|
2042
|
+
*/
|
|
2043
|
+
export declare const transitionSchema: import("valibot").StrictObjectSchema<{
|
|
2044
|
+
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>;
|
|
2045
|
+
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>;
|
|
2046
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
2047
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
2048
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
2049
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2050
|
+
}, undefined>;
|
|
686
2051
|
/** Blocks on a page, optionally narrated. */
|
|
687
2052
|
export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
688
2053
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
689
2054
|
readonly type: import("valibot").LiteralSchema<"slide", undefined>;
|
|
690
|
-
/**
|
|
691
|
-
|
|
2055
|
+
/**
|
|
2056
|
+
* `title`: a title page, the first heading large and centred, typically over a background image.
|
|
2057
|
+
* `banner`: a title page whose background image is a band across the step, in its own
|
|
2058
|
+
* proportions and with a coloured border above and below, with the blocks on top of it.
|
|
2059
|
+
*/
|
|
2060
|
+
readonly layout: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["default", "centered", "title", "banner"], undefined>, undefined>;
|
|
692
2061
|
/** A background image behind the blocks. */
|
|
693
2062
|
readonly background: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2063
|
+
/**
|
|
2064
|
+
* How wide the blocks may get: `narrow` for a few lines or a single callout, `medium`, or
|
|
2065
|
+
* `wide`, the default. The slide is never wider than the step it is shown in.
|
|
2066
|
+
*/
|
|
2067
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["narrow", "medium", "wide"], undefined>, undefined>;
|
|
2068
|
+
/**
|
|
2069
|
+
* Over a background image the blocks sit on a panel so they stay readable. `false` leaves the
|
|
2070
|
+
* panel out, for blocks that bring a surface of their own (callouts). No effect without a background.
|
|
2071
|
+
*/
|
|
2072
|
+
readonly panel: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
694
2073
|
readonly narration: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
695
2074
|
readonly media: import("valibot").StrictObjectSchema<{
|
|
696
2075
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -716,40 +2095,60 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
716
2095
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
717
2096
|
}, undefined>, undefined>;
|
|
718
2097
|
readonly advance: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"auto", undefined>, undefined>;
|
|
2098
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2099
|
+
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>;
|
|
2100
|
+
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>;
|
|
2101
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
2102
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
2103
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
2104
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2105
|
+
}, undefined>, undefined>, undefined>;
|
|
719
2106
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
720
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2107
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
721
2108
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
722
2109
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2110
|
+
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>;
|
|
2111
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2112
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
723
2113
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
724
2114
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
2115
|
+
/** One line of Markdown. */
|
|
725
2116
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
726
2117
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
727
2118
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
728
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2119
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
729
2120
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
730
2121
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2122
|
+
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>;
|
|
2123
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2124
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
731
2125
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
732
2126
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
733
2127
|
/** Markdown. */
|
|
734
2128
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
735
2129
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
736
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2130
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
737
2131
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
738
2132
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2133
|
+
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>;
|
|
739
2134
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
740
2135
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
741
2136
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
742
2137
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
743
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2138
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
744
2139
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
745
2140
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2141
|
+
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
2142
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
747
2143
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
2144
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
2145
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
748
2146
|
}, undefined>, undefined>;
|
|
749
2147
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
750
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2148
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
751
2149
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
752
2150
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2151
|
+
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>;
|
|
753
2152
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
754
2153
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
755
2154
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -758,27 +2157,139 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
758
2157
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
759
2158
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
760
2159
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
761
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2160
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
762
2161
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
763
2162
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2163
|
+
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>;
|
|
764
2164
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
765
2165
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
766
2166
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
767
2167
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
768
2168
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
769
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2169
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
770
2170
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
771
2171
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2172
|
+
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>;
|
|
772
2173
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
773
2174
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
774
2175
|
/** Markdown. */
|
|
775
2176
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
776
2177
|
/** The colour of the box. Default `neutral`. */
|
|
777
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], 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>;
|
|
778
2288
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
779
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2289
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
780
2290
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
781
2291
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2292
|
+
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>;
|
|
782
2293
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
783
2294
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
784
2295
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -792,47 +2303,77 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
792
2303
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
793
2304
|
}, undefined>;
|
|
794
2305
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
795
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2306
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
796
2307
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
797
2308
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2309
|
+
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>;
|
|
2310
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2311
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
2312
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
2313
|
+
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>;
|
|
2314
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
2315
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2316
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2317
|
+
}, undefined>, undefined>;
|
|
2318
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2319
|
+
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>;
|
|
2320
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
2321
|
+
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>;
|
|
2322
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2323
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2324
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2325
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2326
|
+
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>;
|
|
798
2327
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
799
2328
|
readonly type: import("valibot").LiteralSchema<"columns", undefined>;
|
|
800
2329
|
readonly columns: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
801
2330
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
802
2331
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
803
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2332
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
804
2333
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
805
2334
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2335
|
+
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>;
|
|
2336
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2337
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
806
2338
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
807
2339
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
2340
|
+
/** One line of Markdown. */
|
|
808
2341
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
809
2342
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
810
2343
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
811
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2344
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
812
2345
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
813
2346
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2347
|
+
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>;
|
|
2348
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2349
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
814
2350
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
815
2351
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
816
2352
|
/** Markdown. */
|
|
817
2353
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
818
2354
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
819
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2355
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
820
2356
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
821
2357
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2358
|
+
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>;
|
|
822
2359
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
823
2360
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
824
2361
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
825
2362
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
826
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2363
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
827
2364
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
828
2365
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2366
|
+
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>;
|
|
829
2367
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
830
2368
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
2369
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
2370
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
831
2371
|
}, undefined>, undefined>;
|
|
832
2372
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
833
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2373
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
834
2374
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
835
2375
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2376
|
+
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>;
|
|
836
2377
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
837
2378
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
838
2379
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -841,27 +2382,139 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
841
2382
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
842
2383
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
843
2384
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
844
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2385
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
845
2386
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
846
2387
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2388
|
+
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
2389
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
848
2390
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
849
2391
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
850
2392
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
851
2393
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
852
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2394
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
853
2395
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
854
2396
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2397
|
+
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>;
|
|
855
2398
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
856
2399
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
857
2400
|
/** Markdown. */
|
|
858
2401
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
859
2402
|
/** The colour of the box. Default `neutral`. */
|
|
860
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], 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>;
|
|
861
2513
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
862
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2514
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
863
2515
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
864
2516
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2517
|
+
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>;
|
|
865
2518
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
866
2519
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
867
2520
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -874,42 +2527,69 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
874
2527
|
/** Seconds into the file where the media counts as ended. */
|
|
875
2528
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
876
2529
|
}, undefined>;
|
|
2530
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2531
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2532
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2533
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2534
|
+
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>;
|
|
2535
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2536
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
2537
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
2538
|
+
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>;
|
|
2539
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
2540
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2541
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2542
|
+
}, undefined>, undefined>;
|
|
2543
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2544
|
+
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>;
|
|
2545
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
2546
|
+
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>;
|
|
877
2547
|
}, undefined>], undefined>, undefined>;
|
|
878
2548
|
}, undefined>, undefined>, import("valibot").MinLengthAction<{
|
|
879
2549
|
id: string;
|
|
880
2550
|
blocks: ({
|
|
881
|
-
reveal?: "step" | undefined;
|
|
2551
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
882
2552
|
revealAt?: string | undefined;
|
|
883
2553
|
hideAt?: string | undefined;
|
|
2554
|
+
delay?: number | undefined;
|
|
2555
|
+
caps?: boolean | undefined;
|
|
2556
|
+
shadow?: boolean | undefined;
|
|
884
2557
|
id: string;
|
|
885
2558
|
type: "heading";
|
|
886
2559
|
text: string;
|
|
887
2560
|
level?: 1 | 2 | 3 | undefined;
|
|
888
2561
|
} | {
|
|
889
|
-
reveal?: "step" | undefined;
|
|
2562
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
890
2563
|
revealAt?: string | undefined;
|
|
891
2564
|
hideAt?: string | undefined;
|
|
2565
|
+
delay?: number | undefined;
|
|
2566
|
+
caps?: boolean | undefined;
|
|
2567
|
+
shadow?: boolean | undefined;
|
|
892
2568
|
id: string;
|
|
893
2569
|
type: "text";
|
|
894
2570
|
text: string;
|
|
895
2571
|
} | {
|
|
896
|
-
reveal?: "step" | undefined;
|
|
2572
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
897
2573
|
revealAt?: string | undefined;
|
|
898
2574
|
hideAt?: string | undefined;
|
|
2575
|
+
delay?: number | undefined;
|
|
899
2576
|
id: string;
|
|
900
2577
|
type: "list";
|
|
901
2578
|
ordered?: boolean | undefined;
|
|
902
2579
|
items: {
|
|
903
|
-
reveal?: "step" | undefined;
|
|
2580
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
904
2581
|
revealAt?: string | undefined;
|
|
905
2582
|
hideAt?: string | undefined;
|
|
2583
|
+
delay?: number | undefined;
|
|
906
2584
|
id: string;
|
|
907
2585
|
text: string;
|
|
2586
|
+
indent?: 1 | 2 | undefined;
|
|
908
2587
|
}[];
|
|
909
2588
|
} | {
|
|
910
|
-
reveal?: "step" | undefined;
|
|
2589
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
911
2590
|
revealAt?: string | undefined;
|
|
912
2591
|
hideAt?: string | undefined;
|
|
2592
|
+
delay?: number | undefined;
|
|
913
2593
|
id: string;
|
|
914
2594
|
type: "image";
|
|
915
2595
|
src: string;
|
|
@@ -917,25 +2597,19 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
917
2597
|
caption?: string | undefined;
|
|
918
2598
|
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
919
2599
|
} | {
|
|
920
|
-
reveal?: "step" | undefined;
|
|
2600
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
921
2601
|
revealAt?: string | undefined;
|
|
922
2602
|
hideAt?: string | undefined;
|
|
2603
|
+
delay?: number | undefined;
|
|
923
2604
|
id: string;
|
|
924
2605
|
type: "quote";
|
|
925
2606
|
text: string;
|
|
926
2607
|
cite?: string | undefined;
|
|
927
2608
|
} | {
|
|
928
|
-
reveal?: "step" | undefined;
|
|
929
|
-
revealAt?: string | undefined;
|
|
930
|
-
hideAt?: string | undefined;
|
|
931
|
-
id: string;
|
|
932
|
-
type: "callout";
|
|
933
|
-
text: string;
|
|
934
|
-
tone?: "info" | "neutral" | "success" | "warning" | undefined;
|
|
935
|
-
} | {
|
|
936
|
-
reveal?: "step" | undefined;
|
|
2609
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
937
2610
|
revealAt?: string | undefined;
|
|
938
2611
|
hideAt?: string | undefined;
|
|
2612
|
+
delay?: number | undefined;
|
|
939
2613
|
id: string;
|
|
940
2614
|
type: "video-link";
|
|
941
2615
|
label: string;
|
|
@@ -945,8 +2619,176 @@ export declare const slideStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
945
2619
|
start?: number | undefined;
|
|
946
2620
|
end?: number | undefined;
|
|
947
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;
|
|
2637
|
+
} | {
|
|
2638
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2639
|
+
revealAt?: string | undefined;
|
|
2640
|
+
hideAt?: string | undefined;
|
|
2641
|
+
delay?: number | undefined;
|
|
2642
|
+
id: string;
|
|
2643
|
+
type: "callout";
|
|
2644
|
+
text: string;
|
|
2645
|
+
tone?: "brand" | "danger" | "info" | "neutral" | "success" | "warning" | undefined;
|
|
2646
|
+
variant?: "bordered" | "filled" | undefined;
|
|
2647
|
+
} | {
|
|
2648
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
2649
|
+
revealAt?: string | undefined;
|
|
2650
|
+
hideAt?: string | undefined;
|
|
2651
|
+
delay?: number | undefined;
|
|
2652
|
+
id: string;
|
|
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";
|
|
2701
|
+
src: string;
|
|
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
|
+
})[];
|
|
948
2744
|
})[];
|
|
949
2745
|
}[], 2, undefined>]>;
|
|
2746
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2747
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2748
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2749
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2750
|
+
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>;
|
|
2751
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2752
|
+
readonly type: import("valibot").LiteralSchema<"canvas", undefined>;
|
|
2753
|
+
/** Width to height, e.g. `16/9` (the default) or `4/3`. */
|
|
2754
|
+
readonly aspect: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
|
|
2755
|
+
readonly items: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
2756
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2757
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2758
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2759
|
+
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>;
|
|
2760
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2761
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2762
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2763
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2764
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2765
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2766
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2767
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
2768
|
+
/** Markdown. */
|
|
2769
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
2770
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
2771
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
2772
|
+
/** The colour of the frame. Default `neutral`. */
|
|
2773
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
2774
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
2775
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
2776
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
2777
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
2778
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2779
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2780
|
+
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>;
|
|
2781
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2782
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2783
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2784
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2785
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2786
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
2787
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2788
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
2789
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
2790
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
2791
|
+
}, undefined>], undefined>, undefined>;
|
|
950
2792
|
}, undefined>], undefined>, undefined>;
|
|
951
2793
|
}, undefined>;
|
|
952
2794
|
/** One video, with its subtitles as cues. Done when the video has played to the end. */
|
|
@@ -973,6 +2815,14 @@ export declare const videoStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
973
2815
|
/** An image shown behind and around the video. */
|
|
974
2816
|
readonly background: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
975
2817
|
readonly advance: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"auto", undefined>, undefined>;
|
|
2818
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2819
|
+
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>;
|
|
2820
|
+
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>;
|
|
2821
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
2822
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
2823
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
2824
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2825
|
+
}, undefined>, undefined>, undefined>;
|
|
976
2826
|
}, undefined>;
|
|
977
2827
|
/** A document the learner opens and then confirms having read. */
|
|
978
2828
|
export declare const pdfStepSchema: import("valibot").StrictObjectSchema<{
|
|
@@ -984,6 +2834,14 @@ export declare const pdfStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
984
2834
|
readonly file: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
985
2835
|
/** The wording of the confirmation, e.g. "Jeg har lest og forstått". */
|
|
986
2836
|
readonly confirm: import("valibot").StringSchema<undefined>;
|
|
2837
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2838
|
+
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>;
|
|
2839
|
+
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>;
|
|
2840
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
2841
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
2842
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
2843
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2844
|
+
}, undefined>, undefined>, undefined>;
|
|
987
2845
|
}, undefined>;
|
|
988
2846
|
/**
|
|
989
2847
|
* A quiz. The questions, options and pass rules are data of their own, so the document only
|
|
@@ -1020,14 +2878,36 @@ export declare const quizStepSchema: import("valibot").StrictObjectSchema<{
|
|
|
1020
2878
|
*/
|
|
1021
2879
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1022
2880
|
}, undefined>, undefined>;
|
|
2881
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2882
|
+
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>;
|
|
2883
|
+
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>;
|
|
2884
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
2885
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
2886
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
2887
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2888
|
+
}, undefined>, undefined>, undefined>;
|
|
1023
2889
|
}, undefined>;
|
|
1024
2890
|
export declare const stepSchema: import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1025
2891
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
1026
2892
|
readonly type: import("valibot").LiteralSchema<"slide", undefined>;
|
|
1027
|
-
/**
|
|
1028
|
-
|
|
2893
|
+
/**
|
|
2894
|
+
* `title`: a title page, the first heading large and centred, typically over a background image.
|
|
2895
|
+
* `banner`: a title page whose background image is a band across the step, in its own
|
|
2896
|
+
* proportions and with a coloured border above and below, with the blocks on top of it.
|
|
2897
|
+
*/
|
|
2898
|
+
readonly layout: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["default", "centered", "title", "banner"], undefined>, undefined>;
|
|
1029
2899
|
/** A background image behind the blocks. */
|
|
1030
2900
|
readonly background: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2901
|
+
/**
|
|
2902
|
+
* How wide the blocks may get: `narrow` for a few lines or a single callout, `medium`, or
|
|
2903
|
+
* `wide`, the default. The slide is never wider than the step it is shown in.
|
|
2904
|
+
*/
|
|
2905
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["narrow", "medium", "wide"], undefined>, undefined>;
|
|
2906
|
+
/**
|
|
2907
|
+
* Over a background image the blocks sit on a panel so they stay readable. `false` leaves the
|
|
2908
|
+
* panel out, for blocks that bring a surface of their own (callouts). No effect without a background.
|
|
2909
|
+
*/
|
|
2910
|
+
readonly panel: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1031
2911
|
readonly narration: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
1032
2912
|
readonly media: import("valibot").StrictObjectSchema<{
|
|
1033
2913
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -1053,40 +2933,60 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1053
2933
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1054
2934
|
}, undefined>, undefined>;
|
|
1055
2935
|
readonly advance: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"auto", undefined>, undefined>;
|
|
2936
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
2937
|
+
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>;
|
|
2938
|
+
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>;
|
|
2939
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
2940
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
2941
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
2942
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2943
|
+
}, undefined>, undefined>, undefined>;
|
|
1056
2944
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1057
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2945
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1058
2946
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1059
2947
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2948
|
+
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>;
|
|
2949
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2950
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1060
2951
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1061
2952
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
2953
|
+
/** One line of Markdown. */
|
|
1062
2954
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1063
2955
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
1064
2956
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1065
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2957
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1066
2958
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1067
2959
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2960
|
+
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>;
|
|
2961
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
2962
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1068
2963
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1069
2964
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1070
2965
|
/** Markdown. */
|
|
1071
2966
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1072
2967
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1073
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2968
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1074
2969
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1075
2970
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2971
|
+
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>;
|
|
1076
2972
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1077
2973
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
1078
2974
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1079
2975
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1080
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2976
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1081
2977
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1082
2978
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2979
|
+
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>;
|
|
1083
2980
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1084
2981
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
2982
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
2983
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
1085
2984
|
}, undefined>, undefined>;
|
|
1086
2985
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1087
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2986
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1088
2987
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1089
2988
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
2989
|
+
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>;
|
|
1090
2990
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1091
2991
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1092
2992
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -1095,27 +2995,139 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1095
2995
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
1096
2996
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
1097
2997
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1098
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
2998
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1099
2999
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1100
3000
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3001
|
+
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>;
|
|
1101
3002
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1102
3003
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
1103
3004
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1104
3005
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1105
3006
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1106
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3007
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1107
3008
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1108
3009
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3010
|
+
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>;
|
|
1109
3011
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1110
3012
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
1111
3013
|
/** Markdown. */
|
|
1112
3014
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1113
3015
|
/** The colour of the box. Default `neutral`. */
|
|
1114
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], 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>;
|
|
1115
3126
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1116
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3127
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1117
3128
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1118
3129
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3130
|
+
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>;
|
|
1119
3131
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1120
3132
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
1121
3133
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -1129,47 +3141,77 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1129
3141
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1130
3142
|
}, undefined>;
|
|
1131
3143
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1132
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3144
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3145
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3146
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3147
|
+
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>;
|
|
3148
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3149
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
3150
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
3151
|
+
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>;
|
|
3152
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
3153
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3154
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3155
|
+
}, undefined>, undefined>;
|
|
3156
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
3157
|
+
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>;
|
|
3158
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
3159
|
+
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>;
|
|
3160
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3161
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1133
3162
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1134
3163
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3164
|
+
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>;
|
|
1135
3165
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1136
3166
|
readonly type: import("valibot").LiteralSchema<"columns", undefined>;
|
|
1137
3167
|
readonly columns: import("valibot").SchemaWithPipe<readonly [import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1138
3168
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1139
3169
|
readonly blocks: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
1140
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3170
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1141
3171
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1142
3172
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3173
|
+
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>;
|
|
3174
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3175
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1143
3176
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1144
3177
|
readonly type: import("valibot").LiteralSchema<"heading", undefined>;
|
|
3178
|
+
/** One line of Markdown. */
|
|
1145
3179
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1146
3180
|
readonly level: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2, 3], undefined>, undefined>;
|
|
1147
3181
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1148
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3182
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1149
3183
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1150
3184
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3185
|
+
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>;
|
|
3186
|
+
readonly caps: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
3187
|
+
readonly shadow: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1151
3188
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1152
3189
|
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
1153
3190
|
/** Markdown. */
|
|
1154
3191
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1155
3192
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1156
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3193
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1157
3194
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1158
3195
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3196
|
+
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>;
|
|
1159
3197
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1160
3198
|
readonly type: import("valibot").LiteralSchema<"list", undefined>;
|
|
1161
3199
|
readonly ordered: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1162
3200
|
readonly items: import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
1163
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3201
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1164
3202
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1165
3203
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3204
|
+
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>;
|
|
1166
3205
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1167
3206
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
3207
|
+
/** A point under the point above it: 1 for a sub-point, 2 for a point under a sub-point. */
|
|
3208
|
+
readonly indent: import("valibot").OptionalSchema<import("valibot").PicklistSchema<[1, 2], undefined>, undefined>;
|
|
1168
3209
|
}, undefined>, undefined>;
|
|
1169
3210
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1170
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3211
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1171
3212
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1172
3213
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3214
|
+
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>;
|
|
1173
3215
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1174
3216
|
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
1175
3217
|
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
@@ -1178,27 +3220,139 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1178
3220
|
/** How wide the image may get. Left out: as wide as it fits, up to its own size. */
|
|
1179
3221
|
readonly size: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["small", "medium", "large", "full"], undefined>, undefined>;
|
|
1180
3222
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1181
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3223
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1182
3224
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1183
3225
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3226
|
+
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>;
|
|
1184
3227
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1185
3228
|
readonly type: import("valibot").LiteralSchema<"quote", undefined>;
|
|
1186
3229
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1187
3230
|
readonly cite: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
1188
3231
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1189
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3232
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1190
3233
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1191
3234
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3235
|
+
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>;
|
|
1192
3236
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1193
3237
|
readonly type: import("valibot").LiteralSchema<"callout", undefined>;
|
|
1194
3238
|
/** Markdown. */
|
|
1195
3239
|
readonly text: import("valibot").StringSchema<undefined>;
|
|
1196
3240
|
/** The colour of the box. Default `neutral`. */
|
|
1197
|
-
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["neutral", "info", "success", "warning"], 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>;
|
|
1198
3351
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1199
|
-
readonly reveal: import("valibot").OptionalSchema<import("valibot").
|
|
3352
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
1200
3353
|
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1201
3354
|
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3355
|
+
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>;
|
|
1202
3356
|
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1203
3357
|
readonly type: import("valibot").LiteralSchema<"video-link", undefined>;
|
|
1204
3358
|
readonly label: import("valibot").StringSchema<undefined>;
|
|
@@ -1211,42 +3365,69 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1211
3365
|
/** Seconds into the file where the media counts as ended. */
|
|
1212
3366
|
readonly end: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1213
3367
|
}, undefined>;
|
|
3368
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3369
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3370
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3371
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3372
|
+
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>;
|
|
3373
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3374
|
+
readonly type: import("valibot").LiteralSchema<"effect", undefined>;
|
|
3375
|
+
/** The id of a part of the slide, or several. Not an effect. */
|
|
3376
|
+
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>;
|
|
3377
|
+
readonly move: import("valibot").OptionalSchema<import("valibot").StrictObjectSchema<{
|
|
3378
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3379
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3380
|
+
}, undefined>, undefined>;
|
|
3381
|
+
readonly scale: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
3382
|
+
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>;
|
|
3383
|
+
/** Milliseconds the change takes, 50 to 3000. Default 300. `delay` holds it back after it is due. */
|
|
3384
|
+
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>;
|
|
1214
3385
|
}, undefined>], undefined>, undefined>;
|
|
1215
3386
|
}, undefined>, undefined>, import("valibot").MinLengthAction<{
|
|
1216
3387
|
id: string;
|
|
1217
3388
|
blocks: ({
|
|
1218
|
-
reveal?: "step" | undefined;
|
|
3389
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1219
3390
|
revealAt?: string | undefined;
|
|
1220
3391
|
hideAt?: string | undefined;
|
|
3392
|
+
delay?: number | undefined;
|
|
3393
|
+
caps?: boolean | undefined;
|
|
3394
|
+
shadow?: boolean | undefined;
|
|
1221
3395
|
id: string;
|
|
1222
3396
|
type: "heading";
|
|
1223
3397
|
text: string;
|
|
1224
3398
|
level?: 1 | 2 | 3 | undefined;
|
|
1225
3399
|
} | {
|
|
1226
|
-
reveal?: "step" | undefined;
|
|
3400
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1227
3401
|
revealAt?: string | undefined;
|
|
1228
3402
|
hideAt?: string | undefined;
|
|
3403
|
+
delay?: number | undefined;
|
|
3404
|
+
caps?: boolean | undefined;
|
|
3405
|
+
shadow?: boolean | undefined;
|
|
1229
3406
|
id: string;
|
|
1230
3407
|
type: "text";
|
|
1231
3408
|
text: string;
|
|
1232
3409
|
} | {
|
|
1233
|
-
reveal?: "step" | undefined;
|
|
3410
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1234
3411
|
revealAt?: string | undefined;
|
|
1235
3412
|
hideAt?: string | undefined;
|
|
3413
|
+
delay?: number | undefined;
|
|
1236
3414
|
id: string;
|
|
1237
3415
|
type: "list";
|
|
1238
3416
|
ordered?: boolean | undefined;
|
|
1239
3417
|
items: {
|
|
1240
|
-
reveal?: "step" | undefined;
|
|
3418
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1241
3419
|
revealAt?: string | undefined;
|
|
1242
3420
|
hideAt?: string | undefined;
|
|
3421
|
+
delay?: number | undefined;
|
|
1243
3422
|
id: string;
|
|
1244
3423
|
text: string;
|
|
3424
|
+
indent?: 1 | 2 | undefined;
|
|
1245
3425
|
}[];
|
|
1246
3426
|
} | {
|
|
1247
|
-
reveal?: "step" | undefined;
|
|
3427
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1248
3428
|
revealAt?: string | undefined;
|
|
1249
3429
|
hideAt?: string | undefined;
|
|
3430
|
+
delay?: number | undefined;
|
|
1250
3431
|
id: string;
|
|
1251
3432
|
type: "image";
|
|
1252
3433
|
src: string;
|
|
@@ -1254,25 +3435,19 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1254
3435
|
caption?: string | undefined;
|
|
1255
3436
|
size?: "full" | "large" | "medium" | "small" | undefined;
|
|
1256
3437
|
} | {
|
|
1257
|
-
reveal?: "step" | undefined;
|
|
3438
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1258
3439
|
revealAt?: string | undefined;
|
|
1259
3440
|
hideAt?: string | undefined;
|
|
3441
|
+
delay?: number | undefined;
|
|
1260
3442
|
id: string;
|
|
1261
3443
|
type: "quote";
|
|
1262
3444
|
text: string;
|
|
1263
3445
|
cite?: string | undefined;
|
|
1264
3446
|
} | {
|
|
1265
|
-
reveal?: "step" | undefined;
|
|
1266
|
-
revealAt?: string | undefined;
|
|
1267
|
-
hideAt?: string | undefined;
|
|
1268
|
-
id: string;
|
|
1269
|
-
type: "callout";
|
|
1270
|
-
text: string;
|
|
1271
|
-
tone?: "info" | "neutral" | "success" | "warning" | undefined;
|
|
1272
|
-
} | {
|
|
1273
|
-
reveal?: "step" | undefined;
|
|
3447
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
1274
3448
|
revealAt?: string | undefined;
|
|
1275
3449
|
hideAt?: string | undefined;
|
|
3450
|
+
delay?: number | undefined;
|
|
1276
3451
|
id: string;
|
|
1277
3452
|
type: "video-link";
|
|
1278
3453
|
label: string;
|
|
@@ -1282,8 +3457,176 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1282
3457
|
start?: number | undefined;
|
|
1283
3458
|
end?: number | undefined;
|
|
1284
3459
|
};
|
|
3460
|
+
} | {
|
|
3461
|
+
reveal?: "step" | "with-previous" | undefined;
|
|
3462
|
+
revealAt?: string | undefined;
|
|
3463
|
+
hideAt?: string | undefined;
|
|
3464
|
+
delay?: number | undefined;
|
|
3465
|
+
id: string;
|
|
3466
|
+
type: "effect";
|
|
3467
|
+
target: string | string[];
|
|
3468
|
+
move?: {
|
|
3469
|
+
x?: number | undefined;
|
|
3470
|
+
y?: number | undefined;
|
|
3471
|
+
} | undefined;
|
|
3472
|
+
scale?: number | undefined;
|
|
3473
|
+
opacity?: number | undefined;
|
|
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
|
+
})[];
|
|
1285
3582
|
})[];
|
|
1286
3583
|
}[], 2, undefined>]>;
|
|
3584
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3585
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3586
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3587
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3588
|
+
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>;
|
|
3589
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3590
|
+
readonly type: import("valibot").LiteralSchema<"canvas", undefined>;
|
|
3591
|
+
/** Width to height, e.g. `16/9` (the default) or `4/3`. */
|
|
3592
|
+
readonly aspect: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>]>, undefined>;
|
|
3593
|
+
readonly items: import("valibot").ArraySchema<import("valibot").VariantSchema<"type", [import("valibot").StrictObjectSchema<{
|
|
3594
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3595
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3596
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3597
|
+
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>;
|
|
3598
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3599
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3600
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3601
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3602
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3603
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3604
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3605
|
+
readonly type: import("valibot").LiteralSchema<"text", undefined>;
|
|
3606
|
+
/** Markdown. */
|
|
3607
|
+
readonly text: import("valibot").StringSchema<undefined>;
|
|
3608
|
+
/** `solid`: on a white surface that covers what is under it. `frame`: the same with a coloured frame. */
|
|
3609
|
+
readonly surface: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["none", "solid", "frame"], undefined>, undefined>;
|
|
3610
|
+
/** The colour of the frame. Default `neutral`. */
|
|
3611
|
+
readonly tone: import("valibot").OptionalSchema<import("valibot").PicklistSchema<readonly ["neutral", "info", "success", "warning", "danger", "brand"], undefined>, undefined>;
|
|
3612
|
+
/** The text size, as a factor of the canvas's normal size. Default 1. */
|
|
3613
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0.1, undefined>]>, undefined>;
|
|
3614
|
+
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
3615
|
+
readonly reveal: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["step", "with-previous"], undefined>, undefined>;
|
|
3616
|
+
readonly revealAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3617
|
+
readonly hideAt: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3618
|
+
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>;
|
|
3619
|
+
readonly x: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3620
|
+
readonly y: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3621
|
+
readonly right: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3622
|
+
readonly bottom: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3623
|
+
readonly width: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3624
|
+
readonly height: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
3625
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3626
|
+
readonly type: import("valibot").LiteralSchema<"image", undefined>;
|
|
3627
|
+
readonly src: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
3628
|
+
readonly alt: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
3629
|
+
}, undefined>], undefined>, undefined>;
|
|
1287
3630
|
}, undefined>], undefined>, undefined>;
|
|
1288
3631
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1289
3632
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
@@ -1308,6 +3651,14 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1308
3651
|
/** An image shown behind and around the video. */
|
|
1309
3652
|
readonly background: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1310
3653
|
readonly advance: import("valibot").OptionalSchema<import("valibot").LiteralSchema<"auto", undefined>, undefined>;
|
|
3654
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
3655
|
+
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>;
|
|
3656
|
+
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>;
|
|
3657
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
3658
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
3659
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
3660
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3661
|
+
}, undefined>, undefined>, undefined>;
|
|
1311
3662
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1312
3663
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
1313
3664
|
readonly type: import("valibot").LiteralSchema<"pdf", undefined>;
|
|
@@ -1317,6 +3668,14 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1317
3668
|
readonly file: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>;
|
|
1318
3669
|
/** The wording of the confirmation, e.g. "Jeg har lest og forstått". */
|
|
1319
3670
|
readonly confirm: import("valibot").StringSchema<undefined>;
|
|
3671
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
3672
|
+
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>;
|
|
3673
|
+
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>;
|
|
3674
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
3675
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
3676
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
3677
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3678
|
+
}, undefined>, undefined>, undefined>;
|
|
1320
3679
|
}, undefined>, import("valibot").StrictObjectSchema<{
|
|
1321
3680
|
readonly schemaVersion: import("valibot").LiteralSchema<2, undefined>;
|
|
1322
3681
|
readonly type: import("valibot").LiteralSchema<"quiz", undefined>;
|
|
@@ -1348,15 +3707,31 @@ export declare const stepSchema: import("valibot").VariantSchema<"type", [import
|
|
|
1348
3707
|
*/
|
|
1349
3708
|
readonly required: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
1350
3709
|
}, undefined>, undefined>;
|
|
3710
|
+
readonly transitions: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StrictObjectSchema<{
|
|
3711
|
+
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>;
|
|
3712
|
+
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>;
|
|
3713
|
+
readonly on: import("valibot").PicklistSchema<["enter", "exit"], undefined>;
|
|
3714
|
+
readonly effect: import("valibot").PicklistSchema<["fade", "slide", "zoom", "none"], undefined>;
|
|
3715
|
+
readonly from: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["left", "right", "top", "bottom"], undefined>, undefined>;
|
|
3716
|
+
readonly target: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
3717
|
+
}, undefined>, undefined>, undefined>;
|
|
1351
3718
|
}, undefined>], undefined>;
|
|
1352
3719
|
export type Cue = InferOutput<typeof cueSchema>;
|
|
3720
|
+
export type StepTransition = InferOutput<typeof transitionSchema>;
|
|
1353
3721
|
export type Media = InferOutput<typeof mediaSchema>;
|
|
1354
3722
|
export type Narration = InferOutput<typeof narrationSchema>;
|
|
3723
|
+
export type Tone = (typeof TONES)[number];
|
|
3724
|
+
export type SurfaceVariant = NonNullable<InferOutput<typeof calloutBlockSchema>["variant"]>;
|
|
1355
3725
|
export type CalloutBlock = InferOutput<typeof calloutBlockSchema>;
|
|
3726
|
+
export type BoxBlock = InferOutput<typeof boxBlockSchema>;
|
|
3727
|
+
export type BoxContentBlock = InferOutput<typeof boxContentSchema>;
|
|
3728
|
+
export type EffectBlock = InferOutput<typeof effectBlockSchema>;
|
|
1356
3729
|
export type ImageSize = NonNullable<InferOutput<typeof imageBlockSchema>["size"]>;
|
|
1357
3730
|
export type ListItem = InferOutput<typeof listItemSchema>;
|
|
1358
3731
|
export type ContentBlock = InferOutput<typeof contentBlockSchema>;
|
|
1359
3732
|
export type ColumnsBlock = InferOutput<typeof columnsBlockSchema>;
|
|
3733
|
+
export type CanvasBlock = InferOutput<typeof canvasBlockSchema>;
|
|
3734
|
+
export type CanvasItem = CanvasBlock["items"][number];
|
|
1360
3735
|
export type Block = InferOutput<typeof blockSchema>;
|
|
1361
3736
|
export type SlideStep = InferOutput<typeof slideStepSchema>;
|
|
1362
3737
|
export type VideoStep = InferOutput<typeof videoStepSchema>;
|
|
@@ -1367,7 +3742,8 @@ export type StepType = Step["type"];
|
|
|
1367
3742
|
/** What can carry `reveal`, `revealAt` and `hideAt`: a block, or an item of a list. */
|
|
1368
3743
|
export type Timed = {
|
|
1369
3744
|
id: string;
|
|
1370
|
-
reveal?: "step";
|
|
3745
|
+
reveal?: "step" | "with-previous";
|
|
1371
3746
|
revealAt?: string;
|
|
1372
3747
|
hideAt?: string;
|
|
3748
|
+
delay?: number;
|
|
1373
3749
|
};
|