@valbuild/shared 0.91.4 → 0.92.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.
@@ -1,447 +1,99 @@
1
1
  import { z } from "zod";
2
2
  export declare const RemirrorTextMark: z.ZodObject<{
3
- type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
4
- }, "strip", z.ZodTypeAny, {
5
- type: "italic" | "bold" | "strike";
6
- }, {
7
- type: "italic" | "bold" | "strike";
8
- }>;
3
+ type: z.ZodUnion<readonly [z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
4
+ }, z.core.$strip>;
9
5
  export type RemirrorTextMark = z.infer<typeof RemirrorTextMark>;
10
6
  export declare const RemirrorLinkMark: z.ZodObject<{
11
7
  type: z.ZodLiteral<"link">;
12
8
  attrs: z.ZodObject<{
13
9
  href: z.ZodString;
14
- target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
10
+ target: z.ZodUnion<readonly [z.ZodLiteral<"_blank">, z.ZodNull]>;
15
11
  auto: z.ZodBoolean;
16
- }, "strip", z.ZodTypeAny, {
17
- href: string;
18
- target: "_blank" | null;
19
- auto: boolean;
20
- }, {
21
- href: string;
22
- target: "_blank" | null;
23
- auto: boolean;
24
- }>;
25
- }, "strip", z.ZodTypeAny, {
26
- type: "link";
27
- attrs: {
28
- href: string;
29
- target: "_blank" | null;
30
- auto: boolean;
31
- };
32
- }, {
33
- type: "link";
34
- attrs: {
35
- href: string;
36
- target: "_blank" | null;
37
- auto: boolean;
38
- };
39
- }>;
12
+ }, z.core.$strip>;
13
+ }, z.core.$strip>;
40
14
  export type RemirrorLinkMark = z.infer<typeof RemirrorLinkMark>;
41
15
  export declare const RemirrorText: z.ZodIntersection<z.ZodObject<{
42
16
  type: z.ZodLiteral<"text">;
43
17
  text: z.ZodString;
44
- }, "strip", z.ZodTypeAny, {
45
- type: "text";
46
- text: string;
47
- }, {
48
- type: "text";
49
- text: string;
50
- }>, z.ZodObject<{
51
- marks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
52
- type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
53
- }, "strip", z.ZodTypeAny, {
54
- type: "italic" | "bold" | "strike";
55
- }, {
56
- type: "italic" | "bold" | "strike";
57
- }>, z.ZodObject<{
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ marks: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
20
+ type: z.ZodUnion<readonly [z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
21
+ }, z.core.$strip>, z.ZodObject<{
58
22
  type: z.ZodLiteral<"link">;
59
23
  attrs: z.ZodObject<{
60
24
  href: z.ZodString;
61
- target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
25
+ target: z.ZodUnion<readonly [z.ZodLiteral<"_blank">, z.ZodNull]>;
62
26
  auto: z.ZodBoolean;
63
- }, "strip", z.ZodTypeAny, {
64
- href: string;
65
- target: "_blank" | null;
66
- auto: boolean;
67
- }, {
68
- href: string;
69
- target: "_blank" | null;
70
- auto: boolean;
71
- }>;
72
- }, "strip", z.ZodTypeAny, {
73
- type: "link";
74
- attrs: {
75
- href: string;
76
- target: "_blank" | null;
77
- auto: boolean;
78
- };
79
- }, {
80
- type: "link";
81
- attrs: {
82
- href: string;
83
- target: "_blank" | null;
84
- auto: boolean;
85
- };
86
- }>]>, "many">>;
87
- }, "strip", z.ZodTypeAny, {
88
- marks?: ({
89
- type: "italic" | "bold" | "strike";
90
- } | {
91
- type: "link";
92
- attrs: {
93
- href: string;
94
- target: "_blank" | null;
95
- auto: boolean;
96
- };
97
- })[] | undefined;
98
- }, {
99
- marks?: ({
100
- type: "italic" | "bold" | "strike";
101
- } | {
102
- type: "link";
103
- attrs: {
104
- href: string;
105
- target: "_blank" | null;
106
- auto: boolean;
107
- };
108
- })[] | undefined;
109
- }>>;
27
+ }, z.core.$strip>;
28
+ }, z.core.$strip>]>>>;
29
+ }, z.core.$strip>>;
110
30
  export type RemirrorText = z.infer<typeof RemirrorText>;
111
31
  export declare const RemirrorBr: z.ZodIntersection<z.ZodObject<{
112
32
  type: z.ZodLiteral<"hardBreak">;
113
- }, "strip", z.ZodTypeAny, {
114
- type: "hardBreak";
115
- }, {
116
- type: "hardBreak";
117
- }>, z.ZodObject<{
33
+ }, z.core.$strip>, z.ZodObject<{
118
34
  marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
119
- type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
120
- }, "strip", z.ZodTypeAny, {
121
- type: "italic" | "bold" | "strike";
122
- }, {
123
- type: "italic" | "bold" | "strike";
124
- }>, "many">>;
125
- }, "strip", z.ZodTypeAny, {
126
- marks?: {
127
- type: "italic" | "bold" | "strike";
128
- }[] | undefined;
129
- }, {
130
- marks?: {
131
- type: "italic" | "bold" | "strike";
132
- }[] | undefined;
133
- }>>;
35
+ type: z.ZodUnion<readonly [z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
36
+ }, z.core.$strip>>>;
37
+ }, z.core.$strip>>;
134
38
  export type RemirrorBr = z.infer<typeof RemirrorBr>;
135
39
  export declare const RemirrorImage: z.ZodIntersection<z.ZodObject<{
136
40
  type: z.ZodLiteral<"image">;
137
- }, "strip", z.ZodTypeAny, {
138
- type: "image";
139
- }, {
140
- type: "image";
141
- }>, z.ZodObject<{
41
+ }, z.core.$strip>, z.ZodObject<{
142
42
  attrs: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
143
43
  src: z.ZodString;
144
- }, "strip", z.ZodTypeAny, {
145
- src: string;
146
- }, {
147
- src: string;
148
- }>, z.ZodObject<{
149
- align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
150
- alt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
151
- height: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
152
- width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
153
- rotate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
154
- title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
155
- fileName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
156
- }, "strip", z.ZodTypeAny, {
157
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
158
- alt?: string | null | undefined;
159
- height?: string | number | null | undefined;
160
- width?: string | number | null | undefined;
161
- rotate?: string | null | undefined;
162
- title?: string | null | undefined;
163
- fileName?: string | null | undefined;
164
- }, {
165
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
166
- alt?: string | null | undefined;
167
- height?: string | number | null | undefined;
168
- width?: string | number | null | undefined;
169
- rotate?: string | null | undefined;
170
- title?: string | null | undefined;
171
- fileName?: string | null | undefined;
172
- }>>>;
173
- }, "strip", z.ZodTypeAny, {
174
- attrs?: ({
175
- src: string;
176
- } & {
177
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
178
- alt?: string | null | undefined;
179
- height?: string | number | null | undefined;
180
- width?: string | number | null | undefined;
181
- rotate?: string | null | undefined;
182
- title?: string | null | undefined;
183
- fileName?: string | null | undefined;
184
- }) | undefined;
185
- }, {
186
- attrs?: ({
187
- src: string;
188
- } & {
189
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
190
- alt?: string | null | undefined;
191
- height?: string | number | null | undefined;
192
- width?: string | number | null | undefined;
193
- rotate?: string | null | undefined;
194
- title?: string | null | undefined;
195
- fileName?: string | null | undefined;
196
- }) | undefined;
197
- }>>;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ align: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
46
+ alt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
47
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
48
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
49
+ rotate: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
50
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
51
+ fileName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
52
+ }, z.core.$strip>>>;
53
+ }, z.core.$strip>>;
198
54
  export type RemirrorImage = z.infer<typeof RemirrorImage>;
199
55
  export declare const RemirrorHeading: z.ZodIntersection<z.ZodObject<{
200
56
  type: z.ZodLiteral<"heading">;
201
- }, "strip", z.ZodTypeAny, {
202
- type: "heading";
203
- }, {
204
- type: "heading";
205
- }>, z.ZodObject<{
57
+ }, z.core.$strip>, z.ZodObject<{
206
58
  attrs: z.ZodOptional<z.ZodObject<{
207
59
  level: z.ZodNumber;
208
- }, "strip", z.ZodTypeAny, {
209
- level: number;
210
- }, {
211
- level: number;
212
- }>>;
213
- content: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
60
+ }, z.core.$strip>>;
61
+ content: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
214
62
  type: z.ZodLiteral<"text">;
215
63
  text: z.ZodString;
216
- }, "strip", z.ZodTypeAny, {
217
- type: "text";
218
- text: string;
219
- }, {
220
- type: "text";
221
- text: string;
222
- }>, z.ZodObject<{
223
- marks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
224
- type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
225
- }, "strip", z.ZodTypeAny, {
226
- type: "italic" | "bold" | "strike";
227
- }, {
228
- type: "italic" | "bold" | "strike";
229
- }>, z.ZodObject<{
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ marks: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
66
+ type: z.ZodUnion<readonly [z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
67
+ }, z.core.$strip>, z.ZodObject<{
230
68
  type: z.ZodLiteral<"link">;
231
69
  attrs: z.ZodObject<{
232
70
  href: z.ZodString;
233
- target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
71
+ target: z.ZodUnion<readonly [z.ZodLiteral<"_blank">, z.ZodNull]>;
234
72
  auto: z.ZodBoolean;
235
- }, "strip", z.ZodTypeAny, {
236
- href: string;
237
- target: "_blank" | null;
238
- auto: boolean;
239
- }, {
240
- href: string;
241
- target: "_blank" | null;
242
- auto: boolean;
243
- }>;
244
- }, "strip", z.ZodTypeAny, {
245
- type: "link";
246
- attrs: {
247
- href: string;
248
- target: "_blank" | null;
249
- auto: boolean;
250
- };
251
- }, {
252
- type: "link";
253
- attrs: {
254
- href: string;
255
- target: "_blank" | null;
256
- auto: boolean;
257
- };
258
- }>]>, "many">>;
259
- }, "strip", z.ZodTypeAny, {
260
- marks?: ({
261
- type: "italic" | "bold" | "strike";
262
- } | {
263
- type: "link";
264
- attrs: {
265
- href: string;
266
- target: "_blank" | null;
267
- auto: boolean;
268
- };
269
- })[] | undefined;
270
- }, {
271
- marks?: ({
272
- type: "italic" | "bold" | "strike";
273
- } | {
274
- type: "link";
275
- attrs: {
276
- href: string;
277
- target: "_blank" | null;
278
- auto: boolean;
279
- };
280
- })[] | undefined;
281
- }>>, z.ZodIntersection<z.ZodObject<{
73
+ }, z.core.$strip>;
74
+ }, z.core.$strip>]>>>;
75
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
282
76
  type: z.ZodLiteral<"image">;
283
- }, "strip", z.ZodTypeAny, {
284
- type: "image";
285
- }, {
286
- type: "image";
287
- }>, z.ZodObject<{
77
+ }, z.core.$strip>, z.ZodObject<{
288
78
  attrs: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
289
79
  src: z.ZodString;
290
- }, "strip", z.ZodTypeAny, {
291
- src: string;
292
- }, {
293
- src: string;
294
- }>, z.ZodObject<{
295
- align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
296
- alt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
297
- height: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
298
- width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
299
- rotate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
300
- title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
301
- fileName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
302
- }, "strip", z.ZodTypeAny, {
303
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
304
- alt?: string | null | undefined;
305
- height?: string | number | null | undefined;
306
- width?: string | number | null | undefined;
307
- rotate?: string | null | undefined;
308
- title?: string | null | undefined;
309
- fileName?: string | null | undefined;
310
- }, {
311
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
312
- alt?: string | null | undefined;
313
- height?: string | number | null | undefined;
314
- width?: string | number | null | undefined;
315
- rotate?: string | null | undefined;
316
- title?: string | null | undefined;
317
- fileName?: string | null | undefined;
318
- }>>>;
319
- }, "strip", z.ZodTypeAny, {
320
- attrs?: ({
321
- src: string;
322
- } & {
323
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
324
- alt?: string | null | undefined;
325
- height?: string | number | null | undefined;
326
- width?: string | number | null | undefined;
327
- rotate?: string | null | undefined;
328
- title?: string | null | undefined;
329
- fileName?: string | null | undefined;
330
- }) | undefined;
331
- }, {
332
- attrs?: ({
333
- src: string;
334
- } & {
335
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
336
- alt?: string | null | undefined;
337
- height?: string | number | null | undefined;
338
- width?: string | number | null | undefined;
339
- rotate?: string | null | undefined;
340
- title?: string | null | undefined;
341
- fileName?: string | null | undefined;
342
- }) | undefined;
343
- }>>, z.ZodIntersection<z.ZodObject<{
80
+ }, z.core.$strip>, z.ZodObject<{
81
+ align: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
82
+ alt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
83
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
84
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
85
+ rotate: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
86
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
87
+ fileName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
88
+ }, z.core.$strip>>>;
89
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
344
90
  type: z.ZodLiteral<"hardBreak">;
345
- }, "strip", z.ZodTypeAny, {
346
- type: "hardBreak";
347
- }, {
348
- type: "hardBreak";
349
- }>, z.ZodObject<{
91
+ }, z.core.$strip>, z.ZodObject<{
350
92
  marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
351
- type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
352
- }, "strip", z.ZodTypeAny, {
353
- type: "italic" | "bold" | "strike";
354
- }, {
355
- type: "italic" | "bold" | "strike";
356
- }>, "many">>;
357
- }, "strip", z.ZodTypeAny, {
358
- marks?: {
359
- type: "italic" | "bold" | "strike";
360
- }[] | undefined;
361
- }, {
362
- marks?: {
363
- type: "italic" | "bold" | "strike";
364
- }[] | undefined;
365
- }>>]>, "many">>;
366
- }, "strip", z.ZodTypeAny, {
367
- content?: (({
368
- type: "text";
369
- text: string;
370
- } & {
371
- marks?: ({
372
- type: "italic" | "bold" | "strike";
373
- } | {
374
- type: "link";
375
- attrs: {
376
- href: string;
377
- target: "_blank" | null;
378
- auto: boolean;
379
- };
380
- })[] | undefined;
381
- }) | ({
382
- type: "image";
383
- } & {
384
- attrs?: ({
385
- src: string;
386
- } & {
387
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
388
- alt?: string | null | undefined;
389
- height?: string | number | null | undefined;
390
- width?: string | number | null | undefined;
391
- rotate?: string | null | undefined;
392
- title?: string | null | undefined;
393
- fileName?: string | null | undefined;
394
- }) | undefined;
395
- }) | ({
396
- type: "hardBreak";
397
- } & {
398
- marks?: {
399
- type: "italic" | "bold" | "strike";
400
- }[] | undefined;
401
- }))[] | undefined;
402
- attrs?: {
403
- level: number;
404
- } | undefined;
405
- }, {
406
- content?: (({
407
- type: "text";
408
- text: string;
409
- } & {
410
- marks?: ({
411
- type: "italic" | "bold" | "strike";
412
- } | {
413
- type: "link";
414
- attrs: {
415
- href: string;
416
- target: "_blank" | null;
417
- auto: boolean;
418
- };
419
- })[] | undefined;
420
- }) | ({
421
- type: "image";
422
- } & {
423
- attrs?: ({
424
- src: string;
425
- } & {
426
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
427
- alt?: string | null | undefined;
428
- height?: string | number | null | undefined;
429
- width?: string | number | null | undefined;
430
- rotate?: string | null | undefined;
431
- title?: string | null | undefined;
432
- fileName?: string | null | undefined;
433
- }) | undefined;
434
- }) | ({
435
- type: "hardBreak";
436
- } & {
437
- marks?: {
438
- type: "italic" | "bold" | "strike";
439
- }[] | undefined;
440
- }))[] | undefined;
441
- attrs?: {
442
- level: number;
443
- } | undefined;
444
- }>>;
93
+ type: z.ZodUnion<readonly [z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
94
+ }, z.core.$strip>>>;
95
+ }, z.core.$strip>>]>>>;
96
+ }, z.core.$strip>>;
445
97
  export type RemirrorHeading = z.infer<typeof RemirrorHeading>;
446
98
  export declare const RemirrorBulletList: z.ZodType<{
447
99
  type: "bulletList";
@@ -469,699 +121,65 @@ export declare const RemirrorParagraph: z.ZodType<{
469
121
  export type RemirrorParagraph = z.infer<typeof RemirrorParagraph>;
470
122
  export declare const RemirrorJSON: z.ZodObject<{
471
123
  type: z.ZodLiteral<"doc">;
472
- content: z.ZodArray<z.ZodUnion<[z.ZodType<{
124
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodType<{
473
125
  type: "paragraph";
474
- content?: (({
475
- type: "text";
476
- text: string;
477
- } & {
478
- marks?: ({
479
- type: "italic" | "bold" | "strike";
480
- } | {
481
- type: "link";
482
- attrs: {
483
- href: string;
484
- target: "_blank" | null;
485
- auto: boolean;
486
- };
487
- })[] | undefined;
488
- }) | ({
489
- type: "image";
490
- } & {
491
- attrs?: ({
492
- src: string;
493
- } & {
494
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
495
- alt?: string | null | undefined;
496
- height?: string | number | null | undefined;
497
- width?: string | number | null | undefined;
498
- rotate?: string | null | undefined;
499
- title?: string | null | undefined;
500
- fileName?: string | null | undefined;
501
- }) | undefined;
502
- }) | ({
503
- type: "hardBreak";
504
- } & {
505
- marks?: {
506
- type: "italic" | "bold" | "strike";
507
- }[] | undefined;
508
- }))[] | undefined;
509
- }, z.ZodTypeDef, {
126
+ content?: (RemirrorText | RemirrorImage | RemirrorBr)[];
127
+ }, unknown, z.core.$ZodTypeInternals<{
510
128
  type: "paragraph";
511
- content?: (({
512
- type: "text";
513
- text: string;
514
- } & {
515
- marks?: ({
516
- type: "italic" | "bold" | "strike";
517
- } | {
518
- type: "link";
519
- attrs: {
520
- href: string;
521
- target: "_blank" | null;
522
- auto: boolean;
523
- };
524
- })[] | undefined;
525
- }) | ({
526
- type: "image";
527
- } & {
528
- attrs?: ({
529
- src: string;
530
- } & {
531
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
532
- alt?: string | null | undefined;
533
- height?: string | number | null | undefined;
534
- width?: string | number | null | undefined;
535
- rotate?: string | null | undefined;
536
- title?: string | null | undefined;
537
- fileName?: string | null | undefined;
538
- }) | undefined;
539
- }) | ({
540
- type: "hardBreak";
541
- } & {
542
- marks?: {
543
- type: "italic" | "bold" | "strike";
544
- }[] | undefined;
545
- }))[] | undefined;
546
- }>, z.ZodIntersection<z.ZodObject<{
129
+ content?: (RemirrorText | RemirrorImage | RemirrorBr)[];
130
+ }, unknown>>, z.ZodIntersection<z.ZodObject<{
547
131
  type: z.ZodLiteral<"heading">;
548
- }, "strip", z.ZodTypeAny, {
549
- type: "heading";
550
- }, {
551
- type: "heading";
552
- }>, z.ZodObject<{
132
+ }, z.core.$strip>, z.ZodObject<{
553
133
  attrs: z.ZodOptional<z.ZodObject<{
554
134
  level: z.ZodNumber;
555
- }, "strip", z.ZodTypeAny, {
556
- level: number;
557
- }, {
558
- level: number;
559
- }>>;
560
- content: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
135
+ }, z.core.$strip>>;
136
+ content: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
561
137
  type: z.ZodLiteral<"text">;
562
138
  text: z.ZodString;
563
- }, "strip", z.ZodTypeAny, {
564
- type: "text";
565
- text: string;
566
- }, {
567
- type: "text";
568
- text: string;
569
- }>, z.ZodObject<{
570
- marks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
571
- type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
572
- }, "strip", z.ZodTypeAny, {
573
- type: "italic" | "bold" | "strike";
574
- }, {
575
- type: "italic" | "bold" | "strike";
576
- }>, z.ZodObject<{
139
+ }, z.core.$strip>, z.ZodObject<{
140
+ marks: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
141
+ type: z.ZodUnion<readonly [z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
142
+ }, z.core.$strip>, z.ZodObject<{
577
143
  type: z.ZodLiteral<"link">;
578
144
  attrs: z.ZodObject<{
579
145
  href: z.ZodString;
580
- target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodNull]>;
146
+ target: z.ZodUnion<readonly [z.ZodLiteral<"_blank">, z.ZodNull]>;
581
147
  auto: z.ZodBoolean;
582
- }, "strip", z.ZodTypeAny, {
583
- href: string;
584
- target: "_blank" | null;
585
- auto: boolean;
586
- }, {
587
- href: string;
588
- target: "_blank" | null;
589
- auto: boolean;
590
- }>;
591
- }, "strip", z.ZodTypeAny, {
592
- type: "link";
593
- attrs: {
594
- href: string;
595
- target: "_blank" | null;
596
- auto: boolean;
597
- };
598
- }, {
599
- type: "link";
600
- attrs: {
601
- href: string;
602
- target: "_blank" | null;
603
- auto: boolean;
604
- };
605
- }>]>, "many">>;
606
- }, "strip", z.ZodTypeAny, {
607
- marks?: ({
608
- type: "italic" | "bold" | "strike";
609
- } | {
610
- type: "link";
611
- attrs: {
612
- href: string;
613
- target: "_blank" | null;
614
- auto: boolean;
615
- };
616
- })[] | undefined;
617
- }, {
618
- marks?: ({
619
- type: "italic" | "bold" | "strike";
620
- } | {
621
- type: "link";
622
- attrs: {
623
- href: string;
624
- target: "_blank" | null;
625
- auto: boolean;
626
- };
627
- })[] | undefined;
628
- }>>, z.ZodIntersection<z.ZodObject<{
148
+ }, z.core.$strip>;
149
+ }, z.core.$strip>]>>>;
150
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
629
151
  type: z.ZodLiteral<"image">;
630
- }, "strip", z.ZodTypeAny, {
631
- type: "image";
632
- }, {
633
- type: "image";
634
- }>, z.ZodObject<{
152
+ }, z.core.$strip>, z.ZodObject<{
635
153
  attrs: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
636
154
  src: z.ZodString;
637
- }, "strip", z.ZodTypeAny, {
638
- src: string;
639
- }, {
640
- src: string;
641
- }>, z.ZodObject<{
642
- align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
643
- alt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
644
- height: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
645
- width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>>;
646
- rotate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
647
- title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
648
- fileName: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
649
- }, "strip", z.ZodTypeAny, {
650
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
651
- alt?: string | null | undefined;
652
- height?: string | number | null | undefined;
653
- width?: string | number | null | undefined;
654
- rotate?: string | null | undefined;
655
- title?: string | null | undefined;
656
- fileName?: string | null | undefined;
657
- }, {
658
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
659
- alt?: string | null | undefined;
660
- height?: string | number | null | undefined;
661
- width?: string | number | null | undefined;
662
- rotate?: string | null | undefined;
663
- title?: string | null | undefined;
664
- fileName?: string | null | undefined;
665
- }>>>;
666
- }, "strip", z.ZodTypeAny, {
667
- attrs?: ({
668
- src: string;
669
- } & {
670
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
671
- alt?: string | null | undefined;
672
- height?: string | number | null | undefined;
673
- width?: string | number | null | undefined;
674
- rotate?: string | null | undefined;
675
- title?: string | null | undefined;
676
- fileName?: string | null | undefined;
677
- }) | undefined;
678
- }, {
679
- attrs?: ({
680
- src: string;
681
- } & {
682
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
683
- alt?: string | null | undefined;
684
- height?: string | number | null | undefined;
685
- width?: string | number | null | undefined;
686
- rotate?: string | null | undefined;
687
- title?: string | null | undefined;
688
- fileName?: string | null | undefined;
689
- }) | undefined;
690
- }>>, z.ZodIntersection<z.ZodObject<{
155
+ }, z.core.$strip>, z.ZodObject<{
156
+ align: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"center">, z.ZodLiteral<"end">, z.ZodLiteral<"justify">, z.ZodLiteral<"left">, z.ZodLiteral<"match-parent">, z.ZodLiteral<"right">, z.ZodLiteral<"start">, z.ZodNull]>>;
157
+ alt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
158
+ height: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
159
+ width: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNull]>>;
160
+ rotate: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
161
+ title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
162
+ fileName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
163
+ }, z.core.$strip>>>;
164
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
691
165
  type: z.ZodLiteral<"hardBreak">;
692
- }, "strip", z.ZodTypeAny, {
693
- type: "hardBreak";
694
- }, {
695
- type: "hardBreak";
696
- }>, z.ZodObject<{
166
+ }, z.core.$strip>, z.ZodObject<{
697
167
  marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
698
- type: z.ZodUnion<[z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
699
- }, "strip", z.ZodTypeAny, {
700
- type: "italic" | "bold" | "strike";
701
- }, {
702
- type: "italic" | "bold" | "strike";
703
- }>, "many">>;
704
- }, "strip", z.ZodTypeAny, {
705
- marks?: {
706
- type: "italic" | "bold" | "strike";
707
- }[] | undefined;
708
- }, {
709
- marks?: {
710
- type: "italic" | "bold" | "strike";
711
- }[] | undefined;
712
- }>>]>, "many">>;
713
- }, "strip", z.ZodTypeAny, {
714
- content?: (({
715
- type: "text";
716
- text: string;
717
- } & {
718
- marks?: ({
719
- type: "italic" | "bold" | "strike";
720
- } | {
721
- type: "link";
722
- attrs: {
723
- href: string;
724
- target: "_blank" | null;
725
- auto: boolean;
726
- };
727
- })[] | undefined;
728
- }) | ({
729
- type: "image";
730
- } & {
731
- attrs?: ({
732
- src: string;
733
- } & {
734
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
735
- alt?: string | null | undefined;
736
- height?: string | number | null | undefined;
737
- width?: string | number | null | undefined;
738
- rotate?: string | null | undefined;
739
- title?: string | null | undefined;
740
- fileName?: string | null | undefined;
741
- }) | undefined;
742
- }) | ({
743
- type: "hardBreak";
744
- } & {
745
- marks?: {
746
- type: "italic" | "bold" | "strike";
747
- }[] | undefined;
748
- }))[] | undefined;
749
- attrs?: {
750
- level: number;
751
- } | undefined;
752
- }, {
753
- content?: (({
754
- type: "text";
755
- text: string;
756
- } & {
757
- marks?: ({
758
- type: "italic" | "bold" | "strike";
759
- } | {
760
- type: "link";
761
- attrs: {
762
- href: string;
763
- target: "_blank" | null;
764
- auto: boolean;
765
- };
766
- })[] | undefined;
767
- }) | ({
768
- type: "image";
769
- } & {
770
- attrs?: ({
771
- src: string;
772
- } & {
773
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
774
- alt?: string | null | undefined;
775
- height?: string | number | null | undefined;
776
- width?: string | number | null | undefined;
777
- rotate?: string | null | undefined;
778
- title?: string | null | undefined;
779
- fileName?: string | null | undefined;
780
- }) | undefined;
781
- }) | ({
782
- type: "hardBreak";
783
- } & {
784
- marks?: {
785
- type: "italic" | "bold" | "strike";
786
- }[] | undefined;
787
- }))[] | undefined;
788
- attrs?: {
789
- level: number;
790
- } | undefined;
791
- }>>, z.ZodType<{
168
+ type: z.ZodUnion<readonly [z.ZodLiteral<"bold">, z.ZodLiteral<"strike">, z.ZodLiteral<"italic">]>;
169
+ }, z.core.$strip>>>;
170
+ }, z.core.$strip>>]>>>;
171
+ }, z.core.$strip>>, z.ZodType<{
792
172
  type: "bulletList";
793
- content?: {
794
- type: "listItem";
795
- attrs?: {
796
- closed?: boolean | undefined;
797
- nested?: boolean | undefined;
798
- } | undefined;
799
- content?: ({
800
- type: "paragraph";
801
- content?: (({
802
- type: "text";
803
- text: string;
804
- } & {
805
- marks?: ({
806
- type: "italic" | "bold" | "strike";
807
- } | {
808
- type: "link";
809
- attrs: {
810
- href: string;
811
- target: "_blank" | null;
812
- auto: boolean;
813
- };
814
- })[] | undefined;
815
- }) | ({
816
- type: "image";
817
- } & {
818
- attrs?: ({
819
- src: string;
820
- } & {
821
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
822
- alt?: string | null | undefined;
823
- height?: string | number | null | undefined;
824
- width?: string | number | null | undefined;
825
- rotate?: string | null | undefined;
826
- title?: string | null | undefined;
827
- fileName?: string | null | undefined;
828
- }) | undefined;
829
- }) | ({
830
- type: "hardBreak";
831
- } & {
832
- marks?: {
833
- type: "italic" | "bold" | "strike";
834
- }[] | undefined;
835
- }))[] | undefined;
836
- } | any | {
837
- type: "orderedList";
838
- content?: any[] | undefined;
839
- })[] | undefined;
840
- }[] | undefined;
841
- }, z.ZodTypeDef, {
173
+ content?: RemirrorListItem[];
174
+ }, unknown, z.core.$ZodTypeInternals<{
842
175
  type: "bulletList";
843
- content?: {
844
- type: "listItem";
845
- attrs?: {
846
- closed?: boolean | undefined;
847
- nested?: boolean | undefined;
848
- } | undefined;
849
- content?: ({
850
- type: "paragraph";
851
- content?: (({
852
- type: "text";
853
- text: string;
854
- } & {
855
- marks?: ({
856
- type: "italic" | "bold" | "strike";
857
- } | {
858
- type: "link";
859
- attrs: {
860
- href: string;
861
- target: "_blank" | null;
862
- auto: boolean;
863
- };
864
- })[] | undefined;
865
- }) | ({
866
- type: "image";
867
- } & {
868
- attrs?: ({
869
- src: string;
870
- } & {
871
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
872
- alt?: string | null | undefined;
873
- height?: string | number | null | undefined;
874
- width?: string | number | null | undefined;
875
- rotate?: string | null | undefined;
876
- title?: string | null | undefined;
877
- fileName?: string | null | undefined;
878
- }) | undefined;
879
- }) | ({
880
- type: "hardBreak";
881
- } & {
882
- marks?: {
883
- type: "italic" | "bold" | "strike";
884
- }[] | undefined;
885
- }))[] | undefined;
886
- } | any | {
887
- type: "orderedList";
888
- content?: any[] | undefined;
889
- })[] | undefined;
890
- }[] | undefined;
891
- }>, z.ZodType<{
176
+ content?: RemirrorListItem[];
177
+ }, unknown>>, z.ZodType<{
892
178
  type: "orderedList";
893
- content?: any[] | undefined;
894
- }, z.ZodTypeDef, {
179
+ content?: RemirrorListItem[];
180
+ }, unknown, z.core.$ZodTypeInternals<{
895
181
  type: "orderedList";
896
- content?: any[] | undefined;
897
- }>]>, "many">;
898
- }, "strip", z.ZodTypeAny, {
899
- type: "doc";
900
- content: ({
901
- type: "paragraph";
902
- content?: (({
903
- type: "text";
904
- text: string;
905
- } & {
906
- marks?: ({
907
- type: "italic" | "bold" | "strike";
908
- } | {
909
- type: "link";
910
- attrs: {
911
- href: string;
912
- target: "_blank" | null;
913
- auto: boolean;
914
- };
915
- })[] | undefined;
916
- }) | ({
917
- type: "image";
918
- } & {
919
- attrs?: ({
920
- src: string;
921
- } & {
922
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
923
- alt?: string | null | undefined;
924
- height?: string | number | null | undefined;
925
- width?: string | number | null | undefined;
926
- rotate?: string | null | undefined;
927
- title?: string | null | undefined;
928
- fileName?: string | null | undefined;
929
- }) | undefined;
930
- }) | ({
931
- type: "hardBreak";
932
- } & {
933
- marks?: {
934
- type: "italic" | "bold" | "strike";
935
- }[] | undefined;
936
- }))[] | undefined;
937
- } | ({
938
- type: "heading";
939
- } & {
940
- content?: (({
941
- type: "text";
942
- text: string;
943
- } & {
944
- marks?: ({
945
- type: "italic" | "bold" | "strike";
946
- } | {
947
- type: "link";
948
- attrs: {
949
- href: string;
950
- target: "_blank" | null;
951
- auto: boolean;
952
- };
953
- })[] | undefined;
954
- }) | ({
955
- type: "image";
956
- } & {
957
- attrs?: ({
958
- src: string;
959
- } & {
960
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
961
- alt?: string | null | undefined;
962
- height?: string | number | null | undefined;
963
- width?: string | number | null | undefined;
964
- rotate?: string | null | undefined;
965
- title?: string | null | undefined;
966
- fileName?: string | null | undefined;
967
- }) | undefined;
968
- }) | ({
969
- type: "hardBreak";
970
- } & {
971
- marks?: {
972
- type: "italic" | "bold" | "strike";
973
- }[] | undefined;
974
- }))[] | undefined;
975
- attrs?: {
976
- level: number;
977
- } | undefined;
978
- }) | {
979
- type: "bulletList";
980
- content?: {
981
- type: "listItem";
982
- attrs?: {
983
- closed?: boolean | undefined;
984
- nested?: boolean | undefined;
985
- } | undefined;
986
- content?: ({
987
- type: "paragraph";
988
- content?: (({
989
- type: "text";
990
- text: string;
991
- } & {
992
- marks?: ({
993
- type: "italic" | "bold" | "strike";
994
- } | {
995
- type: "link";
996
- attrs: {
997
- href: string;
998
- target: "_blank" | null;
999
- auto: boolean;
1000
- };
1001
- })[] | undefined;
1002
- }) | ({
1003
- type: "image";
1004
- } & {
1005
- attrs?: ({
1006
- src: string;
1007
- } & {
1008
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1009
- alt?: string | null | undefined;
1010
- height?: string | number | null | undefined;
1011
- width?: string | number | null | undefined;
1012
- rotate?: string | null | undefined;
1013
- title?: string | null | undefined;
1014
- fileName?: string | null | undefined;
1015
- }) | undefined;
1016
- }) | ({
1017
- type: "hardBreak";
1018
- } & {
1019
- marks?: {
1020
- type: "italic" | "bold" | "strike";
1021
- }[] | undefined;
1022
- }))[] | undefined;
1023
- } | any | {
1024
- type: "orderedList";
1025
- content?: any[] | undefined;
1026
- })[] | undefined;
1027
- }[] | undefined;
1028
- } | {
1029
- type: "orderedList";
1030
- content?: any[] | undefined;
1031
- })[];
1032
- }, {
1033
- type: "doc";
1034
- content: ({
1035
- type: "paragraph";
1036
- content?: (({
1037
- type: "text";
1038
- text: string;
1039
- } & {
1040
- marks?: ({
1041
- type: "italic" | "bold" | "strike";
1042
- } | {
1043
- type: "link";
1044
- attrs: {
1045
- href: string;
1046
- target: "_blank" | null;
1047
- auto: boolean;
1048
- };
1049
- })[] | undefined;
1050
- }) | ({
1051
- type: "image";
1052
- } & {
1053
- attrs?: ({
1054
- src: string;
1055
- } & {
1056
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1057
- alt?: string | null | undefined;
1058
- height?: string | number | null | undefined;
1059
- width?: string | number | null | undefined;
1060
- rotate?: string | null | undefined;
1061
- title?: string | null | undefined;
1062
- fileName?: string | null | undefined;
1063
- }) | undefined;
1064
- }) | ({
1065
- type: "hardBreak";
1066
- } & {
1067
- marks?: {
1068
- type: "italic" | "bold" | "strike";
1069
- }[] | undefined;
1070
- }))[] | undefined;
1071
- } | ({
1072
- type: "heading";
1073
- } & {
1074
- content?: (({
1075
- type: "text";
1076
- text: string;
1077
- } & {
1078
- marks?: ({
1079
- type: "italic" | "bold" | "strike";
1080
- } | {
1081
- type: "link";
1082
- attrs: {
1083
- href: string;
1084
- target: "_blank" | null;
1085
- auto: boolean;
1086
- };
1087
- })[] | undefined;
1088
- }) | ({
1089
- type: "image";
1090
- } & {
1091
- attrs?: ({
1092
- src: string;
1093
- } & {
1094
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1095
- alt?: string | null | undefined;
1096
- height?: string | number | null | undefined;
1097
- width?: string | number | null | undefined;
1098
- rotate?: string | null | undefined;
1099
- title?: string | null | undefined;
1100
- fileName?: string | null | undefined;
1101
- }) | undefined;
1102
- }) | ({
1103
- type: "hardBreak";
1104
- } & {
1105
- marks?: {
1106
- type: "italic" | "bold" | "strike";
1107
- }[] | undefined;
1108
- }))[] | undefined;
1109
- attrs?: {
1110
- level: number;
1111
- } | undefined;
1112
- }) | {
1113
- type: "bulletList";
1114
- content?: {
1115
- type: "listItem";
1116
- attrs?: {
1117
- closed?: boolean | undefined;
1118
- nested?: boolean | undefined;
1119
- } | undefined;
1120
- content?: ({
1121
- type: "paragraph";
1122
- content?: (({
1123
- type: "text";
1124
- text: string;
1125
- } & {
1126
- marks?: ({
1127
- type: "italic" | "bold" | "strike";
1128
- } | {
1129
- type: "link";
1130
- attrs: {
1131
- href: string;
1132
- target: "_blank" | null;
1133
- auto: boolean;
1134
- };
1135
- })[] | undefined;
1136
- }) | ({
1137
- type: "image";
1138
- } & {
1139
- attrs?: ({
1140
- src: string;
1141
- } & {
1142
- align?: "center" | "end" | "justify" | "left" | "match-parent" | "right" | "start" | null | undefined;
1143
- alt?: string | null | undefined;
1144
- height?: string | number | null | undefined;
1145
- width?: string | number | null | undefined;
1146
- rotate?: string | null | undefined;
1147
- title?: string | null | undefined;
1148
- fileName?: string | null | undefined;
1149
- }) | undefined;
1150
- }) | ({
1151
- type: "hardBreak";
1152
- } & {
1153
- marks?: {
1154
- type: "italic" | "bold" | "strike";
1155
- }[] | undefined;
1156
- }))[] | undefined;
1157
- } | any | {
1158
- type: "orderedList";
1159
- content?: any[] | undefined;
1160
- })[] | undefined;
1161
- }[] | undefined;
1162
- } | {
1163
- type: "orderedList";
1164
- content?: any[] | undefined;
1165
- })[];
1166
- }>;
182
+ content?: RemirrorListItem[];
183
+ }, unknown>>]>>;
184
+ }, z.core.$strip>;
1167
185
  export type RemirrorJSON = z.infer<typeof RemirrorJSON>;