@superdoc-dev/sdk 1.0.0-alpha.6 → 1.0.0-alpha.7

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.
@@ -348,10 +348,18 @@
348
348
  },
349
349
  "text": {
350
350
  "type": "string"
351
+ },
352
+ "blockId": {
353
+ "type": "string"
354
+ },
355
+ "start": {
356
+ "type": "number"
357
+ },
358
+ "end": {
359
+ "type": "number"
351
360
  }
352
361
  },
353
362
  "required": [
354
- "target",
355
363
  "text"
356
364
  ],
357
365
  "additionalProperties": false
@@ -402,11 +410,17 @@
402
410
  "blockId",
403
411
  "range"
404
412
  ]
413
+ },
414
+ "blockId": {
415
+ "type": "string"
416
+ },
417
+ "start": {
418
+ "type": "number"
419
+ },
420
+ "end": {
421
+ "type": "number"
405
422
  }
406
423
  },
407
- "required": [
408
- "target"
409
- ],
410
424
  "additionalProperties": false
411
425
  }
412
426
  },
@@ -455,11 +469,17 @@
455
469
  "blockId",
456
470
  "range"
457
471
  ]
472
+ },
473
+ "blockId": {
474
+ "type": "string"
475
+ },
476
+ "start": {
477
+ "type": "number"
478
+ },
479
+ "end": {
480
+ "type": "number"
458
481
  }
459
482
  },
460
- "required": [
461
- "target"
462
- ],
463
483
  "additionalProperties": false
464
484
  }
465
485
  },
@@ -508,11 +528,17 @@
508
528
  "blockId",
509
529
  "range"
510
530
  ]
531
+ },
532
+ "blockId": {
533
+ "type": "string"
534
+ },
535
+ "start": {
536
+ "type": "number"
537
+ },
538
+ "end": {
539
+ "type": "number"
511
540
  }
512
541
  },
513
- "required": [
514
- "target"
515
- ],
516
542
  "additionalProperties": false
517
543
  }
518
544
  },
@@ -561,11 +587,17 @@
561
587
  "blockId",
562
588
  "range"
563
589
  ]
590
+ },
591
+ "blockId": {
592
+ "type": "string"
593
+ },
594
+ "start": {
595
+ "type": "number"
596
+ },
597
+ "end": {
598
+ "type": "number"
564
599
  }
565
600
  },
566
- "required": [
567
- "target"
568
- ],
569
601
  "additionalProperties": false
570
602
  }
571
603
  },
@@ -614,11 +646,17 @@
614
646
  "blockId",
615
647
  "range"
616
648
  ]
649
+ },
650
+ "blockId": {
651
+ "type": "string"
652
+ },
653
+ "start": {
654
+ "type": "number"
655
+ },
656
+ "end": {
657
+ "type": "number"
617
658
  }
618
659
  },
619
- "required": [
620
- "target"
621
- ],
622
660
  "additionalProperties": false
623
661
  }
624
662
  },
@@ -662,115 +700,23 @@
662
700
  ]
663
701
  },
664
702
  {
665
- "type": "object",
666
- "properties": {
667
- "kind": {
668
- "const": "before"
703
+ "oneOf": [
704
+ {
705
+ "type": "json"
669
706
  },
670
- "target": {
671
- "type": "object",
672
- "properties": {
673
- "kind": {
674
- "const": "block"
675
- },
676
- "nodeType": {
677
- "oneOf": [
678
- {
679
- "const": "paragraph"
680
- },
681
- {
682
- "const": "heading"
683
- },
684
- {
685
- "const": "listItem"
686
- },
687
- {
688
- "const": "table"
689
- },
690
- {
691
- "const": "tableRow"
692
- },
693
- {
694
- "const": "tableCell"
695
- },
696
- {
697
- "const": "image"
698
- },
699
- {
700
- "const": "sdt"
701
- }
702
- ]
703
- },
704
- "nodeId": {
705
- "type": "string"
706
- }
707
- },
708
- "required": [
709
- "kind",
710
- "nodeType",
711
- "nodeId"
712
- ]
707
+ {
708
+ "type": "json"
713
709
  }
714
- },
715
- "required": [
716
- "kind",
717
- "target"
718
710
  ]
719
711
  },
720
712
  {
721
- "type": "object",
722
- "properties": {
723
- "kind": {
724
- "const": "after"
713
+ "oneOf": [
714
+ {
715
+ "type": "json"
725
716
  },
726
- "target": {
727
- "type": "object",
728
- "properties": {
729
- "kind": {
730
- "const": "block"
731
- },
732
- "nodeType": {
733
- "oneOf": [
734
- {
735
- "const": "paragraph"
736
- },
737
- {
738
- "const": "heading"
739
- },
740
- {
741
- "const": "listItem"
742
- },
743
- {
744
- "const": "table"
745
- },
746
- {
747
- "const": "tableRow"
748
- },
749
- {
750
- "const": "tableCell"
751
- },
752
- {
753
- "const": "image"
754
- },
755
- {
756
- "const": "sdt"
757
- }
758
- ]
759
- },
760
- "nodeId": {
761
- "type": "string"
762
- }
763
- },
764
- "required": [
765
- "kind",
766
- "nodeType",
767
- "nodeId"
768
- ]
717
+ {
718
+ "type": "json"
769
719
  }
770
- },
771
- "required": [
772
- "kind",
773
- "target"
774
720
  ]
775
721
  }
776
722
  ]
@@ -931,6 +877,9 @@
931
877
  "nodeId"
932
878
  ]
933
879
  },
880
+ "nodeId": {
881
+ "type": "string"
882
+ },
934
883
  "position": {
935
884
  "type": "string"
936
885
  },
@@ -976,6 +925,9 @@
976
925
  "nodeId"
977
926
  ]
978
927
  },
928
+ "nodeId": {
929
+ "type": "string"
930
+ },
979
931
  "kind": {
980
932
  "type": "string"
981
933
  },
@@ -1018,6 +970,9 @@
1018
970
  "nodeId"
1019
971
  ]
1020
972
  },
973
+ "nodeId": {
974
+ "type": "string"
975
+ },
1021
976
  "input": {}
1022
977
  },
1023
978
  "additionalProperties": false
@@ -1057,6 +1012,9 @@
1057
1012
  "nodeId"
1058
1013
  ]
1059
1014
  },
1015
+ "nodeId": {
1016
+ "type": "string"
1017
+ },
1060
1018
  "input": {}
1061
1019
  },
1062
1020
  "additionalProperties": false
@@ -1096,6 +1054,9 @@
1096
1054
  "nodeId"
1097
1055
  ]
1098
1056
  },
1057
+ "nodeId": {
1058
+ "type": "string"
1059
+ },
1099
1060
  "input": {}
1100
1061
  },
1101
1062
  "additionalProperties": false
@@ -1135,6 +1096,9 @@
1135
1096
  "nodeId"
1136
1097
  ]
1137
1098
  },
1099
+ "nodeId": {
1100
+ "type": "string"
1101
+ },
1138
1102
  "input": {}
1139
1103
  },
1140
1104
  "additionalProperties": false
@@ -1188,10 +1152,18 @@
1188
1152
  },
1189
1153
  "text": {
1190
1154
  "type": "string"
1155
+ },
1156
+ "blockId": {
1157
+ "type": "string"
1158
+ },
1159
+ "start": {
1160
+ "type": "number"
1161
+ },
1162
+ "end": {
1163
+ "type": "number"
1191
1164
  }
1192
1165
  },
1193
1166
  "required": [
1194
- "target",
1195
1167
  "text"
1196
1168
  ],
1197
1169
  "additionalProperties": false
@@ -1303,11 +1275,19 @@
1303
1275
  "blockId",
1304
1276
  "range"
1305
1277
  ]
1278
+ },
1279
+ "blockId": {
1280
+ "type": "string"
1281
+ },
1282
+ "start": {
1283
+ "type": "number"
1284
+ },
1285
+ "end": {
1286
+ "type": "number"
1306
1287
  }
1307
1288
  },
1308
1289
  "required": [
1309
- "id",
1310
- "target"
1290
+ "id"
1311
1291
  ],
1312
1292
  "additionalProperties": false
1313
1293
  }
@@ -2130,10 +2110,18 @@
2130
2110
  },
2131
2111
  "text": {
2132
2112
  "type": "string"
2113
+ },
2114
+ "blockId": {
2115
+ "type": "string"
2116
+ },
2117
+ "start": {
2118
+ "type": "number"
2119
+ },
2120
+ "end": {
2121
+ "type": "number"
2133
2122
  }
2134
2123
  },
2135
2124
  "required": [
2136
- "target",
2137
2125
  "text"
2138
2126
  ],
2139
2127
  "additionalProperties": false
@@ -2184,11 +2172,17 @@
2184
2172
  "blockId",
2185
2173
  "range"
2186
2174
  ]
2175
+ },
2176
+ "blockId": {
2177
+ "type": "string"
2178
+ },
2179
+ "start": {
2180
+ "type": "number"
2181
+ },
2182
+ "end": {
2183
+ "type": "number"
2187
2184
  }
2188
2185
  },
2189
- "required": [
2190
- "target"
2191
- ],
2192
2186
  "additionalProperties": false
2193
2187
  }
2194
2188
  },
@@ -2237,11 +2231,17 @@
2237
2231
  "blockId",
2238
2232
  "range"
2239
2233
  ]
2234
+ },
2235
+ "blockId": {
2236
+ "type": "string"
2237
+ },
2238
+ "start": {
2239
+ "type": "number"
2240
+ },
2241
+ "end": {
2242
+ "type": "number"
2240
2243
  }
2241
2244
  },
2242
- "required": [
2243
- "target"
2244
- ],
2245
2245
  "additionalProperties": false
2246
2246
  }
2247
2247
  },
@@ -2290,11 +2290,17 @@
2290
2290
  "blockId",
2291
2291
  "range"
2292
2292
  ]
2293
+ },
2294
+ "blockId": {
2295
+ "type": "string"
2296
+ },
2297
+ "start": {
2298
+ "type": "number"
2299
+ },
2300
+ "end": {
2301
+ "type": "number"
2293
2302
  }
2294
2303
  },
2295
- "required": [
2296
- "target"
2297
- ],
2298
2304
  "additionalProperties": false
2299
2305
  }
2300
2306
  },
@@ -2343,11 +2349,17 @@
2343
2349
  "blockId",
2344
2350
  "range"
2345
2351
  ]
2352
+ },
2353
+ "blockId": {
2354
+ "type": "string"
2355
+ },
2356
+ "start": {
2357
+ "type": "number"
2358
+ },
2359
+ "end": {
2360
+ "type": "number"
2346
2361
  }
2347
2362
  },
2348
- "required": [
2349
- "target"
2350
- ],
2351
2363
  "additionalProperties": false
2352
2364
  }
2353
2365
  },
@@ -2396,11 +2408,17 @@
2396
2408
  "blockId",
2397
2409
  "range"
2398
2410
  ]
2411
+ },
2412
+ "blockId": {
2413
+ "type": "string"
2414
+ },
2415
+ "start": {
2416
+ "type": "number"
2417
+ },
2418
+ "end": {
2419
+ "type": "number"
2399
2420
  }
2400
2421
  },
2401
- "required": [
2402
- "target"
2403
- ],
2404
2422
  "additionalProperties": false
2405
2423
  }
2406
2424
  },
@@ -2444,115 +2462,23 @@
2444
2462
  ]
2445
2463
  },
2446
2464
  {
2447
- "type": "object",
2448
- "properties": {
2449
- "kind": {
2450
- "const": "before"
2465
+ "oneOf": [
2466
+ {
2467
+ "type": "json"
2451
2468
  },
2452
- "target": {
2453
- "type": "object",
2454
- "properties": {
2455
- "kind": {
2456
- "const": "block"
2457
- },
2458
- "nodeType": {
2459
- "oneOf": [
2460
- {
2461
- "const": "paragraph"
2462
- },
2463
- {
2464
- "const": "heading"
2465
- },
2466
- {
2467
- "const": "listItem"
2468
- },
2469
- {
2470
- "const": "table"
2471
- },
2472
- {
2473
- "const": "tableRow"
2474
- },
2475
- {
2476
- "const": "tableCell"
2477
- },
2478
- {
2479
- "const": "image"
2480
- },
2481
- {
2482
- "const": "sdt"
2483
- }
2484
- ]
2485
- },
2486
- "nodeId": {
2487
- "type": "string"
2488
- }
2489
- },
2490
- "required": [
2491
- "kind",
2492
- "nodeType",
2493
- "nodeId"
2494
- ]
2469
+ {
2470
+ "type": "json"
2495
2471
  }
2496
- },
2497
- "required": [
2498
- "kind",
2499
- "target"
2500
2472
  ]
2501
2473
  },
2502
2474
  {
2503
- "type": "object",
2504
- "properties": {
2505
- "kind": {
2506
- "const": "after"
2475
+ "oneOf": [
2476
+ {
2477
+ "type": "json"
2507
2478
  },
2508
- "target": {
2509
- "type": "object",
2510
- "properties": {
2511
- "kind": {
2512
- "const": "block"
2513
- },
2514
- "nodeType": {
2515
- "oneOf": [
2516
- {
2517
- "const": "paragraph"
2518
- },
2519
- {
2520
- "const": "heading"
2521
- },
2522
- {
2523
- "const": "listItem"
2524
- },
2525
- {
2526
- "const": "table"
2527
- },
2528
- {
2529
- "const": "tableRow"
2530
- },
2531
- {
2532
- "const": "tableCell"
2533
- },
2534
- {
2535
- "const": "image"
2536
- },
2537
- {
2538
- "const": "sdt"
2539
- }
2540
- ]
2541
- },
2542
- "nodeId": {
2543
- "type": "string"
2544
- }
2545
- },
2546
- "required": [
2547
- "kind",
2548
- "nodeType",
2549
- "nodeId"
2550
- ]
2479
+ {
2480
+ "type": "json"
2551
2481
  }
2552
- },
2553
- "required": [
2554
- "kind",
2555
- "target"
2556
2482
  ]
2557
2483
  }
2558
2484
  ]
@@ -2713,6 +2639,9 @@
2713
2639
  "nodeId"
2714
2640
  ]
2715
2641
  },
2642
+ "nodeId": {
2643
+ "type": "string"
2644
+ },
2716
2645
  "position": {
2717
2646
  "type": "string"
2718
2647
  },
@@ -2758,6 +2687,9 @@
2758
2687
  "nodeId"
2759
2688
  ]
2760
2689
  },
2690
+ "nodeId": {
2691
+ "type": "string"
2692
+ },
2761
2693
  "kind": {
2762
2694
  "type": "string"
2763
2695
  },
@@ -2800,6 +2732,9 @@
2800
2732
  "nodeId"
2801
2733
  ]
2802
2734
  },
2735
+ "nodeId": {
2736
+ "type": "string"
2737
+ },
2803
2738
  "input": {}
2804
2739
  },
2805
2740
  "additionalProperties": false
@@ -2839,6 +2774,9 @@
2839
2774
  "nodeId"
2840
2775
  ]
2841
2776
  },
2777
+ "nodeId": {
2778
+ "type": "string"
2779
+ },
2842
2780
  "input": {}
2843
2781
  },
2844
2782
  "additionalProperties": false
@@ -2878,6 +2816,9 @@
2878
2816
  "nodeId"
2879
2817
  ]
2880
2818
  },
2819
+ "nodeId": {
2820
+ "type": "string"
2821
+ },
2881
2822
  "input": {}
2882
2823
  },
2883
2824
  "additionalProperties": false
@@ -2917,6 +2858,9 @@
2917
2858
  "nodeId"
2918
2859
  ]
2919
2860
  },
2861
+ "nodeId": {
2862
+ "type": "string"
2863
+ },
2920
2864
  "input": {}
2921
2865
  },
2922
2866
  "additionalProperties": false
@@ -2970,10 +2914,18 @@
2970
2914
  },
2971
2915
  "text": {
2972
2916
  "type": "string"
2917
+ },
2918
+ "blockId": {
2919
+ "type": "string"
2920
+ },
2921
+ "start": {
2922
+ "type": "number"
2923
+ },
2924
+ "end": {
2925
+ "type": "number"
2973
2926
  }
2974
2927
  },
2975
2928
  "required": [
2976
- "target",
2977
2929
  "text"
2978
2930
  ],
2979
2931
  "additionalProperties": false
@@ -3085,11 +3037,19 @@
3085
3037
  "blockId",
3086
3038
  "range"
3087
3039
  ]
3040
+ },
3041
+ "blockId": {
3042
+ "type": "string"
3043
+ },
3044
+ "start": {
3045
+ "type": "number"
3046
+ },
3047
+ "end": {
3048
+ "type": "number"
3088
3049
  }
3089
3050
  },
3090
3051
  "required": [
3091
- "id",
3092
- "target"
3052
+ "id"
3093
3053
  ],
3094
3054
  "additionalProperties": false
3095
3055
  }