@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.
@@ -365,10 +365,18 @@
365
365
  },
366
366
  "text": {
367
367
  "type": "string"
368
+ },
369
+ "blockId": {
370
+ "type": "string"
371
+ },
372
+ "start": {
373
+ "type": "number"
374
+ },
375
+ "end": {
376
+ "type": "number"
368
377
  }
369
378
  },
370
379
  "required": [
371
- "target",
372
380
  "text"
373
381
  ],
374
382
  "additionalProperties": false
@@ -422,11 +430,17 @@
422
430
  "blockId",
423
431
  "range"
424
432
  ]
433
+ },
434
+ "blockId": {
435
+ "type": "string"
436
+ },
437
+ "start": {
438
+ "type": "number"
439
+ },
440
+ "end": {
441
+ "type": "number"
425
442
  }
426
443
  },
427
- "required": [
428
- "target"
429
- ],
430
444
  "additionalProperties": false
431
445
  }
432
446
  }
@@ -478,11 +492,17 @@
478
492
  "blockId",
479
493
  "range"
480
494
  ]
495
+ },
496
+ "blockId": {
497
+ "type": "string"
498
+ },
499
+ "start": {
500
+ "type": "number"
501
+ },
502
+ "end": {
503
+ "type": "number"
481
504
  }
482
505
  },
483
- "required": [
484
- "target"
485
- ],
486
506
  "additionalProperties": false
487
507
  }
488
508
  }
@@ -534,11 +554,17 @@
534
554
  "blockId",
535
555
  "range"
536
556
  ]
557
+ },
558
+ "blockId": {
559
+ "type": "string"
560
+ },
561
+ "start": {
562
+ "type": "number"
563
+ },
564
+ "end": {
565
+ "type": "number"
537
566
  }
538
567
  },
539
- "required": [
540
- "target"
541
- ],
542
568
  "additionalProperties": false
543
569
  }
544
570
  }
@@ -590,11 +616,17 @@
590
616
  "blockId",
591
617
  "range"
592
618
  ]
619
+ },
620
+ "blockId": {
621
+ "type": "string"
622
+ },
623
+ "start": {
624
+ "type": "number"
625
+ },
626
+ "end": {
627
+ "type": "number"
593
628
  }
594
629
  },
595
- "required": [
596
- "target"
597
- ],
598
630
  "additionalProperties": false
599
631
  }
600
632
  }
@@ -646,11 +678,17 @@
646
678
  "blockId",
647
679
  "range"
648
680
  ]
681
+ },
682
+ "blockId": {
683
+ "type": "string"
684
+ },
685
+ "start": {
686
+ "type": "number"
687
+ },
688
+ "end": {
689
+ "type": "number"
649
690
  }
650
691
  },
651
- "required": [
652
- "target"
653
- ],
654
692
  "additionalProperties": false
655
693
  }
656
694
  }
@@ -697,115 +735,23 @@
697
735
  ]
698
736
  },
699
737
  {
700
- "type": "object",
701
- "properties": {
702
- "kind": {
703
- "const": "before"
738
+ "oneOf": [
739
+ {
740
+ "type": "json"
704
741
  },
705
- "target": {
706
- "type": "object",
707
- "properties": {
708
- "kind": {
709
- "const": "block"
710
- },
711
- "nodeType": {
712
- "oneOf": [
713
- {
714
- "const": "paragraph"
715
- },
716
- {
717
- "const": "heading"
718
- },
719
- {
720
- "const": "listItem"
721
- },
722
- {
723
- "const": "table"
724
- },
725
- {
726
- "const": "tableRow"
727
- },
728
- {
729
- "const": "tableCell"
730
- },
731
- {
732
- "const": "image"
733
- },
734
- {
735
- "const": "sdt"
736
- }
737
- ]
738
- },
739
- "nodeId": {
740
- "type": "string"
741
- }
742
- },
743
- "required": [
744
- "kind",
745
- "nodeType",
746
- "nodeId"
747
- ]
742
+ {
743
+ "type": "json"
748
744
  }
749
- },
750
- "required": [
751
- "kind",
752
- "target"
753
745
  ]
754
746
  },
755
747
  {
756
- "type": "object",
757
- "properties": {
758
- "kind": {
759
- "const": "after"
748
+ "oneOf": [
749
+ {
750
+ "type": "json"
760
751
  },
761
- "target": {
762
- "type": "object",
763
- "properties": {
764
- "kind": {
765
- "const": "block"
766
- },
767
- "nodeType": {
768
- "oneOf": [
769
- {
770
- "const": "paragraph"
771
- },
772
- {
773
- "const": "heading"
774
- },
775
- {
776
- "const": "listItem"
777
- },
778
- {
779
- "const": "table"
780
- },
781
- {
782
- "const": "tableRow"
783
- },
784
- {
785
- "const": "tableCell"
786
- },
787
- {
788
- "const": "image"
789
- },
790
- {
791
- "const": "sdt"
792
- }
793
- ]
794
- },
795
- "nodeId": {
796
- "type": "string"
797
- }
798
- },
799
- "required": [
800
- "kind",
801
- "nodeType",
802
- "nodeId"
803
- ]
752
+ {
753
+ "type": "json"
804
754
  }
805
- },
806
- "required": [
807
- "kind",
808
- "target"
809
755
  ]
810
756
  }
811
757
  ]
@@ -975,6 +921,9 @@
975
921
  "nodeId"
976
922
  ]
977
923
  },
924
+ "nodeId": {
925
+ "type": "string"
926
+ },
978
927
  "position": {
979
928
  "type": "string"
980
929
  },
@@ -1023,6 +972,9 @@
1023
972
  "nodeId"
1024
973
  ]
1025
974
  },
975
+ "nodeId": {
976
+ "type": "string"
977
+ },
1026
978
  "kind": {
1027
979
  "type": "string"
1028
980
  },
@@ -1068,6 +1020,9 @@
1068
1020
  "nodeId"
1069
1021
  ]
1070
1022
  },
1023
+ "nodeId": {
1024
+ "type": "string"
1025
+ },
1071
1026
  "input": {}
1072
1027
  },
1073
1028
  "additionalProperties": false
@@ -1110,6 +1065,9 @@
1110
1065
  "nodeId"
1111
1066
  ]
1112
1067
  },
1068
+ "nodeId": {
1069
+ "type": "string"
1070
+ },
1113
1071
  "input": {}
1114
1072
  },
1115
1073
  "additionalProperties": false
@@ -1152,6 +1110,9 @@
1152
1110
  "nodeId"
1153
1111
  ]
1154
1112
  },
1113
+ "nodeId": {
1114
+ "type": "string"
1115
+ },
1155
1116
  "input": {}
1156
1117
  },
1157
1118
  "additionalProperties": false
@@ -1194,6 +1155,9 @@
1194
1155
  "nodeId"
1195
1156
  ]
1196
1157
  },
1158
+ "nodeId": {
1159
+ "type": "string"
1160
+ },
1197
1161
  "input": {}
1198
1162
  },
1199
1163
  "additionalProperties": false
@@ -1250,10 +1214,18 @@
1250
1214
  },
1251
1215
  "text": {
1252
1216
  "type": "string"
1217
+ },
1218
+ "blockId": {
1219
+ "type": "string"
1220
+ },
1221
+ "start": {
1222
+ "type": "number"
1223
+ },
1224
+ "end": {
1225
+ "type": "number"
1253
1226
  }
1254
1227
  },
1255
1228
  "required": [
1256
- "target",
1257
1229
  "text"
1258
1230
  ],
1259
1231
  "additionalProperties": false
@@ -1374,11 +1346,19 @@
1374
1346
  "blockId",
1375
1347
  "range"
1376
1348
  ]
1349
+ },
1350
+ "blockId": {
1351
+ "type": "string"
1352
+ },
1353
+ "start": {
1354
+ "type": "number"
1355
+ },
1356
+ "end": {
1357
+ "type": "number"
1377
1358
  }
1378
1359
  },
1379
1360
  "required": [
1380
- "id",
1381
- "target"
1361
+ "id"
1382
1362
  ],
1383
1363
  "additionalProperties": false
1384
1364
  }
@@ -2288,10 +2268,18 @@
2288
2268
  },
2289
2269
  "text": {
2290
2270
  "type": "string"
2271
+ },
2272
+ "blockId": {
2273
+ "type": "string"
2274
+ },
2275
+ "start": {
2276
+ "type": "number"
2277
+ },
2278
+ "end": {
2279
+ "type": "number"
2291
2280
  }
2292
2281
  },
2293
2282
  "required": [
2294
- "target",
2295
2283
  "text"
2296
2284
  ],
2297
2285
  "additionalProperties": false
@@ -2345,11 +2333,17 @@
2345
2333
  "blockId",
2346
2334
  "range"
2347
2335
  ]
2336
+ },
2337
+ "blockId": {
2338
+ "type": "string"
2339
+ },
2340
+ "start": {
2341
+ "type": "number"
2342
+ },
2343
+ "end": {
2344
+ "type": "number"
2348
2345
  }
2349
2346
  },
2350
- "required": [
2351
- "target"
2352
- ],
2353
2347
  "additionalProperties": false
2354
2348
  }
2355
2349
  }
@@ -2401,11 +2395,17 @@
2401
2395
  "blockId",
2402
2396
  "range"
2403
2397
  ]
2398
+ },
2399
+ "blockId": {
2400
+ "type": "string"
2401
+ },
2402
+ "start": {
2403
+ "type": "number"
2404
+ },
2405
+ "end": {
2406
+ "type": "number"
2404
2407
  }
2405
2408
  },
2406
- "required": [
2407
- "target"
2408
- ],
2409
2409
  "additionalProperties": false
2410
2410
  }
2411
2411
  }
@@ -2457,11 +2457,17 @@
2457
2457
  "blockId",
2458
2458
  "range"
2459
2459
  ]
2460
+ },
2461
+ "blockId": {
2462
+ "type": "string"
2463
+ },
2464
+ "start": {
2465
+ "type": "number"
2466
+ },
2467
+ "end": {
2468
+ "type": "number"
2460
2469
  }
2461
2470
  },
2462
- "required": [
2463
- "target"
2464
- ],
2465
2471
  "additionalProperties": false
2466
2472
  }
2467
2473
  }
@@ -2513,11 +2519,17 @@
2513
2519
  "blockId",
2514
2520
  "range"
2515
2521
  ]
2522
+ },
2523
+ "blockId": {
2524
+ "type": "string"
2525
+ },
2526
+ "start": {
2527
+ "type": "number"
2528
+ },
2529
+ "end": {
2530
+ "type": "number"
2516
2531
  }
2517
2532
  },
2518
- "required": [
2519
- "target"
2520
- ],
2521
2533
  "additionalProperties": false
2522
2534
  }
2523
2535
  }
@@ -2569,11 +2581,17 @@
2569
2581
  "blockId",
2570
2582
  "range"
2571
2583
  ]
2584
+ },
2585
+ "blockId": {
2586
+ "type": "string"
2587
+ },
2588
+ "start": {
2589
+ "type": "number"
2590
+ },
2591
+ "end": {
2592
+ "type": "number"
2572
2593
  }
2573
2594
  },
2574
- "required": [
2575
- "target"
2576
- ],
2577
2595
  "additionalProperties": false
2578
2596
  }
2579
2597
  }
@@ -2620,115 +2638,23 @@
2620
2638
  ]
2621
2639
  },
2622
2640
  {
2623
- "type": "object",
2624
- "properties": {
2625
- "kind": {
2626
- "const": "before"
2641
+ "oneOf": [
2642
+ {
2643
+ "type": "json"
2627
2644
  },
2628
- "target": {
2629
- "type": "object",
2630
- "properties": {
2631
- "kind": {
2632
- "const": "block"
2633
- },
2634
- "nodeType": {
2635
- "oneOf": [
2636
- {
2637
- "const": "paragraph"
2638
- },
2639
- {
2640
- "const": "heading"
2641
- },
2642
- {
2643
- "const": "listItem"
2644
- },
2645
- {
2646
- "const": "table"
2647
- },
2648
- {
2649
- "const": "tableRow"
2650
- },
2651
- {
2652
- "const": "tableCell"
2653
- },
2654
- {
2655
- "const": "image"
2656
- },
2657
- {
2658
- "const": "sdt"
2659
- }
2660
- ]
2661
- },
2662
- "nodeId": {
2663
- "type": "string"
2664
- }
2665
- },
2666
- "required": [
2667
- "kind",
2668
- "nodeType",
2669
- "nodeId"
2670
- ]
2645
+ {
2646
+ "type": "json"
2671
2647
  }
2672
- },
2673
- "required": [
2674
- "kind",
2675
- "target"
2676
2648
  ]
2677
2649
  },
2678
2650
  {
2679
- "type": "object",
2680
- "properties": {
2681
- "kind": {
2682
- "const": "after"
2651
+ "oneOf": [
2652
+ {
2653
+ "type": "json"
2683
2654
  },
2684
- "target": {
2685
- "type": "object",
2686
- "properties": {
2687
- "kind": {
2688
- "const": "block"
2689
- },
2690
- "nodeType": {
2691
- "oneOf": [
2692
- {
2693
- "const": "paragraph"
2694
- },
2695
- {
2696
- "const": "heading"
2697
- },
2698
- {
2699
- "const": "listItem"
2700
- },
2701
- {
2702
- "const": "table"
2703
- },
2704
- {
2705
- "const": "tableRow"
2706
- },
2707
- {
2708
- "const": "tableCell"
2709
- },
2710
- {
2711
- "const": "image"
2712
- },
2713
- {
2714
- "const": "sdt"
2715
- }
2716
- ]
2717
- },
2718
- "nodeId": {
2719
- "type": "string"
2720
- }
2721
- },
2722
- "required": [
2723
- "kind",
2724
- "nodeType",
2725
- "nodeId"
2726
- ]
2655
+ {
2656
+ "type": "json"
2727
2657
  }
2728
- },
2729
- "required": [
2730
- "kind",
2731
- "target"
2732
2658
  ]
2733
2659
  }
2734
2660
  ]
@@ -2898,6 +2824,9 @@
2898
2824
  "nodeId"
2899
2825
  ]
2900
2826
  },
2827
+ "nodeId": {
2828
+ "type": "string"
2829
+ },
2901
2830
  "position": {
2902
2831
  "type": "string"
2903
2832
  },
@@ -2946,6 +2875,9 @@
2946
2875
  "nodeId"
2947
2876
  ]
2948
2877
  },
2878
+ "nodeId": {
2879
+ "type": "string"
2880
+ },
2949
2881
  "kind": {
2950
2882
  "type": "string"
2951
2883
  },
@@ -2991,6 +2923,9 @@
2991
2923
  "nodeId"
2992
2924
  ]
2993
2925
  },
2926
+ "nodeId": {
2927
+ "type": "string"
2928
+ },
2994
2929
  "input": {}
2995
2930
  },
2996
2931
  "additionalProperties": false
@@ -3033,6 +2968,9 @@
3033
2968
  "nodeId"
3034
2969
  ]
3035
2970
  },
2971
+ "nodeId": {
2972
+ "type": "string"
2973
+ },
3036
2974
  "input": {}
3037
2975
  },
3038
2976
  "additionalProperties": false
@@ -3075,6 +3013,9 @@
3075
3013
  "nodeId"
3076
3014
  ]
3077
3015
  },
3016
+ "nodeId": {
3017
+ "type": "string"
3018
+ },
3078
3019
  "input": {}
3079
3020
  },
3080
3021
  "additionalProperties": false
@@ -3117,6 +3058,9 @@
3117
3058
  "nodeId"
3118
3059
  ]
3119
3060
  },
3061
+ "nodeId": {
3062
+ "type": "string"
3063
+ },
3120
3064
  "input": {}
3121
3065
  },
3122
3066
  "additionalProperties": false
@@ -3173,10 +3117,18 @@
3173
3117
  },
3174
3118
  "text": {
3175
3119
  "type": "string"
3120
+ },
3121
+ "blockId": {
3122
+ "type": "string"
3123
+ },
3124
+ "start": {
3125
+ "type": "number"
3126
+ },
3127
+ "end": {
3128
+ "type": "number"
3176
3129
  }
3177
3130
  },
3178
3131
  "required": [
3179
- "target",
3180
3132
  "text"
3181
3133
  ],
3182
3134
  "additionalProperties": false
@@ -3297,11 +3249,19 @@
3297
3249
  "blockId",
3298
3250
  "range"
3299
3251
  ]
3252
+ },
3253
+ "blockId": {
3254
+ "type": "string"
3255
+ },
3256
+ "start": {
3257
+ "type": "number"
3258
+ },
3259
+ "end": {
3260
+ "type": "number"
3300
3261
  }
3301
3262
  },
3302
3263
  "required": [
3303
- "id",
3304
- "target"
3264
+ "id"
3305
3265
  ],
3306
3266
  "additionalProperties": false
3307
3267
  }