foldkit-richtext 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -173,7 +173,7 @@ export declare const NodeBlock: Schema.Struct<{
173
173
  } | {
174
174
  readonly type: "Heading";
175
175
  readonly id: string;
176
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
176
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
177
177
  readonly children: readonly {
178
178
  readonly type: "Text";
179
179
  readonly id: string;
@@ -272,7 +272,7 @@ export declare const NodeBlock: Schema.Struct<{
272
272
  } | {
273
273
  readonly type: "Heading";
274
274
  readonly id: string;
275
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
275
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
276
276
  readonly children: readonly {
277
277
  readonly type: "Text";
278
278
  readonly id: string;
@@ -490,7 +490,7 @@ export declare const Block: Schema.Union<readonly [Schema.Struct<{
490
490
  } | {
491
491
  readonly type: "Heading";
492
492
  readonly id: string;
493
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
493
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
494
494
  readonly children: readonly {
495
495
  readonly type: "Text";
496
496
  readonly id: string;
@@ -589,7 +589,7 @@ export declare const Block: Schema.Union<readonly [Schema.Struct<{
589
589
  } | {
590
590
  readonly type: "Heading";
591
591
  readonly id: string;
592
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
592
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
593
593
  readonly children: readonly {
594
594
  readonly type: "Text";
595
595
  readonly id: string;
@@ -823,7 +823,7 @@ export declare const Document: Schema.Struct<{
823
823
  } | {
824
824
  readonly type: "Heading";
825
825
  readonly id: string;
826
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
826
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
827
827
  readonly children: readonly {
828
828
  readonly type: "Text";
829
829
  readonly id: string;
@@ -922,7 +922,7 @@ export declare const Document: Schema.Struct<{
922
922
  } | {
923
923
  readonly type: "Heading";
924
924
  readonly id: string;
925
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
925
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
926
926
  readonly children: readonly {
927
927
  readonly type: "Text";
928
928
  readonly id: string;
@@ -1288,7 +1288,7 @@ export declare const EditorState: Schema.Struct<{
1288
1288
  } | {
1289
1289
  readonly type: "Heading";
1290
1290
  readonly id: string;
1291
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
1291
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
1292
1292
  readonly children: readonly {
1293
1293
  readonly type: "Text";
1294
1294
  readonly id: string;
@@ -1387,7 +1387,7 @@ export declare const EditorState: Schema.Struct<{
1387
1387
  } | {
1388
1388
  readonly type: "Heading";
1389
1389
  readonly id: string;
1390
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
1390
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
1391
1391
  readonly children: readonly {
1392
1392
  readonly type: "Text";
1393
1393
  readonly id: string;
@@ -1732,7 +1732,7 @@ export declare const Slice: Schema.Struct<{
1732
1732
  } | {
1733
1733
  readonly type: "Heading";
1734
1734
  readonly id: string;
1735
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
1735
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
1736
1736
  readonly children: readonly {
1737
1737
  readonly type: "Text";
1738
1738
  readonly id: string;
@@ -1831,7 +1831,7 @@ export declare const Slice: Schema.Struct<{
1831
1831
  } | {
1832
1832
  readonly type: "Heading";
1833
1833
  readonly id: string;
1834
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
1834
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
1835
1835
  readonly children: readonly {
1836
1836
  readonly type: "Text";
1837
1837
  readonly id: string;
@@ -2400,7 +2400,7 @@ export declare const Operation: Schema.Union<readonly [Schema.Struct<{
2400
2400
  } | {
2401
2401
  readonly type: "Heading";
2402
2402
  readonly id: string;
2403
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
2403
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
2404
2404
  readonly children: readonly {
2405
2405
  readonly type: "Text";
2406
2406
  readonly id: string;
@@ -2499,7 +2499,7 @@ export declare const Operation: Schema.Union<readonly [Schema.Struct<{
2499
2499
  } | {
2500
2500
  readonly type: "Heading";
2501
2501
  readonly id: string;
2502
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
2502
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
2503
2503
  readonly children: readonly {
2504
2504
  readonly type: "Text";
2505
2505
  readonly id: string;
@@ -2821,7 +2821,7 @@ export declare const Transaction: Schema.$Array<Schema.Union<readonly [Schema.St
2821
2821
  } | {
2822
2822
  readonly type: "Heading";
2823
2823
  readonly id: string;
2824
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
2824
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
2825
2825
  readonly children: readonly {
2826
2826
  readonly type: "Text";
2827
2827
  readonly id: string;
@@ -2920,7 +2920,7 @@ export declare const Transaction: Schema.$Array<Schema.Union<readonly [Schema.St
2920
2920
  } | {
2921
2921
  readonly type: "Heading";
2922
2922
  readonly id: string;
2923
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
2923
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
2924
2924
  readonly children: readonly {
2925
2925
  readonly type: "Text";
2926
2926
  readonly id: string;
@@ -3531,7 +3531,7 @@ export declare const History: Schema.Struct<{
3531
3531
  } | {
3532
3532
  readonly type: "Heading";
3533
3533
  readonly id: string;
3534
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
3534
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
3535
3535
  readonly children: readonly {
3536
3536
  readonly type: "Text";
3537
3537
  readonly id: string;
@@ -3630,7 +3630,7 @@ export declare const History: Schema.Struct<{
3630
3630
  } | {
3631
3631
  readonly type: "Heading";
3632
3632
  readonly id: string;
3633
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
3633
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
3634
3634
  readonly children: readonly {
3635
3635
  readonly type: "Text";
3636
3636
  readonly id: string;
@@ -3883,7 +3883,7 @@ export declare const History: Schema.Struct<{
3883
3883
  } | {
3884
3884
  readonly type: "Heading";
3885
3885
  readonly id: string;
3886
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
3886
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
3887
3887
  readonly children: readonly {
3888
3888
  readonly type: "Text";
3889
3889
  readonly id: string;
@@ -3982,7 +3982,7 @@ export declare const History: Schema.Struct<{
3982
3982
  } | {
3983
3983
  readonly type: "Heading";
3984
3984
  readonly id: string;
3985
- readonly level: 1 | 3 | 2 | 4 | 5 | 6;
3985
+ readonly level: 1 | 2 | 3 | 4 | 5 | 6;
3986
3986
  readonly children: readonly {
3987
3987
  readonly type: "Text";
3988
3988
  readonly id: string;