@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.
@@ -1406,10 +1406,18 @@
1406
1406
  },
1407
1407
  "text": {
1408
1408
  "type": "string"
1409
+ },
1410
+ "blockId": {
1411
+ "type": "string"
1412
+ },
1413
+ "start": {
1414
+ "type": "number"
1415
+ },
1416
+ "end": {
1417
+ "type": "number"
1409
1418
  }
1410
1419
  },
1411
1420
  "required": [
1412
- "target",
1413
1421
  "text"
1414
1422
  ],
1415
1423
  "additionalProperties": false
@@ -1730,11 +1738,17 @@
1730
1738
  "blockId",
1731
1739
  "range"
1732
1740
  ]
1741
+ },
1742
+ "blockId": {
1743
+ "type": "string"
1744
+ },
1745
+ "start": {
1746
+ "type": "number"
1747
+ },
1748
+ "end": {
1749
+ "type": "number"
1733
1750
  }
1734
1751
  },
1735
- "required": [
1736
- "target"
1737
- ],
1738
1752
  "additionalProperties": false
1739
1753
  },
1740
1754
  "returns": {
@@ -2053,11 +2067,17 @@
2053
2067
  "blockId",
2054
2068
  "range"
2055
2069
  ]
2070
+ },
2071
+ "blockId": {
2072
+ "type": "string"
2073
+ },
2074
+ "start": {
2075
+ "type": "number"
2076
+ },
2077
+ "end": {
2078
+ "type": "number"
2056
2079
  }
2057
2080
  },
2058
- "required": [
2059
- "target"
2060
- ],
2061
2081
  "additionalProperties": false
2062
2082
  },
2063
2083
  "returns": {
@@ -2377,11 +2397,17 @@
2377
2397
  "blockId",
2378
2398
  "range"
2379
2399
  ]
2400
+ },
2401
+ "blockId": {
2402
+ "type": "string"
2403
+ },
2404
+ "start": {
2405
+ "type": "number"
2406
+ },
2407
+ "end": {
2408
+ "type": "number"
2380
2409
  }
2381
2410
  },
2382
- "required": [
2383
- "target"
2384
- ],
2385
2411
  "additionalProperties": false
2386
2412
  },
2387
2413
  "returns": {
@@ -2701,11 +2727,17 @@
2701
2727
  "blockId",
2702
2728
  "range"
2703
2729
  ]
2730
+ },
2731
+ "blockId": {
2732
+ "type": "string"
2733
+ },
2734
+ "start": {
2735
+ "type": "number"
2736
+ },
2737
+ "end": {
2738
+ "type": "number"
2704
2739
  }
2705
2740
  },
2706
- "required": [
2707
- "target"
2708
- ],
2709
2741
  "additionalProperties": false
2710
2742
  },
2711
2743
  "returns": {
@@ -3025,11 +3057,17 @@
3025
3057
  "blockId",
3026
3058
  "range"
3027
3059
  ]
3060
+ },
3061
+ "blockId": {
3062
+ "type": "string"
3063
+ },
3064
+ "start": {
3065
+ "type": "number"
3066
+ },
3067
+ "end": {
3068
+ "type": "number"
3028
3069
  }
3029
3070
  },
3030
- "required": [
3031
- "target"
3032
- ],
3033
3071
  "additionalProperties": false
3034
3072
  },
3035
3073
  "returns": {
@@ -3344,115 +3382,23 @@
3344
3382
  ]
3345
3383
  },
3346
3384
  {
3347
- "type": "object",
3348
- "properties": {
3349
- "kind": {
3350
- "const": "before"
3385
+ "oneOf": [
3386
+ {
3387
+ "type": "json"
3351
3388
  },
3352
- "target": {
3353
- "type": "object",
3354
- "properties": {
3355
- "kind": {
3356
- "const": "block"
3357
- },
3358
- "nodeType": {
3359
- "oneOf": [
3360
- {
3361
- "const": "paragraph"
3362
- },
3363
- {
3364
- "const": "heading"
3365
- },
3366
- {
3367
- "const": "listItem"
3368
- },
3369
- {
3370
- "const": "table"
3371
- },
3372
- {
3373
- "const": "tableRow"
3374
- },
3375
- {
3376
- "const": "tableCell"
3377
- },
3378
- {
3379
- "const": "image"
3380
- },
3381
- {
3382
- "const": "sdt"
3383
- }
3384
- ]
3385
- },
3386
- "nodeId": {
3387
- "type": "string"
3388
- }
3389
- },
3390
- "required": [
3391
- "kind",
3392
- "nodeType",
3393
- "nodeId"
3394
- ]
3389
+ {
3390
+ "type": "json"
3395
3391
  }
3396
- },
3397
- "required": [
3398
- "kind",
3399
- "target"
3400
3392
  ]
3401
3393
  },
3402
3394
  {
3403
- "type": "object",
3404
- "properties": {
3405
- "kind": {
3406
- "const": "after"
3395
+ "oneOf": [
3396
+ {
3397
+ "type": "json"
3407
3398
  },
3408
- "target": {
3409
- "type": "object",
3410
- "properties": {
3411
- "kind": {
3412
- "const": "block"
3413
- },
3414
- "nodeType": {
3415
- "oneOf": [
3416
- {
3417
- "const": "paragraph"
3418
- },
3419
- {
3420
- "const": "heading"
3421
- },
3422
- {
3423
- "const": "listItem"
3424
- },
3425
- {
3426
- "const": "table"
3427
- },
3428
- {
3429
- "const": "tableRow"
3430
- },
3431
- {
3432
- "const": "tableCell"
3433
- },
3434
- {
3435
- "const": "image"
3436
- },
3437
- {
3438
- "const": "sdt"
3439
- }
3440
- ]
3441
- },
3442
- "nodeId": {
3443
- "type": "string"
3444
- }
3445
- },
3446
- "required": [
3447
- "kind",
3448
- "nodeType",
3449
- "nodeId"
3450
- ]
3399
+ {
3400
+ "type": "json"
3451
3401
  }
3452
- },
3453
- "required": [
3454
- "kind",
3455
- "target"
3456
3402
  ]
3457
3403
  }
3458
3404
  ]
@@ -3937,6 +3883,9 @@
3937
3883
  "nodeId"
3938
3884
  ]
3939
3885
  },
3886
+ "nodeId": {
3887
+ "type": "string"
3888
+ },
3940
3889
  "position": {
3941
3890
  "type": "string"
3942
3891
  },
@@ -4095,6 +4044,9 @@
4095
4044
  "nodeId"
4096
4045
  ]
4097
4046
  },
4047
+ "nodeId": {
4048
+ "type": "string"
4049
+ },
4098
4050
  "kind": {
4099
4051
  "type": "string"
4100
4052
  },
@@ -4193,6 +4145,9 @@
4193
4145
  "nodeId"
4194
4146
  ]
4195
4147
  },
4148
+ "nodeId": {
4149
+ "type": "string"
4150
+ },
4196
4151
  "input": {}
4197
4152
  },
4198
4153
  "additionalProperties": false
@@ -4288,6 +4243,9 @@
4288
4243
  "nodeId"
4289
4244
  ]
4290
4245
  },
4246
+ "nodeId": {
4247
+ "type": "string"
4248
+ },
4291
4249
  "input": {}
4292
4250
  },
4293
4251
  "additionalProperties": false
@@ -4383,6 +4341,9 @@
4383
4341
  "nodeId"
4384
4342
  ]
4385
4343
  },
4344
+ "nodeId": {
4345
+ "type": "string"
4346
+ },
4386
4347
  "input": {}
4387
4348
  },
4388
4349
  "additionalProperties": false
@@ -4478,6 +4439,9 @@
4478
4439
  "nodeId"
4479
4440
  ]
4480
4441
  },
4442
+ "nodeId": {
4443
+ "type": "string"
4444
+ },
4481
4445
  "input": {}
4482
4446
  },
4483
4447
  "additionalProperties": false
@@ -4587,10 +4551,18 @@
4587
4551
  },
4588
4552
  "text": {
4589
4553
  "type": "string"
4554
+ },
4555
+ "blockId": {
4556
+ "type": "string"
4557
+ },
4558
+ "start": {
4559
+ "type": "number"
4560
+ },
4561
+ "end": {
4562
+ "type": "number"
4590
4563
  }
4591
4564
  },
4592
4565
  "required": [
4593
- "target",
4594
4566
  "text"
4595
4567
  ],
4596
4568
  "additionalProperties": false
@@ -5230,11 +5202,19 @@
5230
5202
  "blockId",
5231
5203
  "range"
5232
5204
  ]
5205
+ },
5206
+ "blockId": {
5207
+ "type": "string"
5208
+ },
5209
+ "start": {
5210
+ "type": "number"
5211
+ },
5212
+ "end": {
5213
+ "type": "number"
5233
5214
  }
5234
5215
  },
5235
5216
  "required": [
5236
- "id",
5237
- "target"
5217
+ "id"
5238
5218
  ],
5239
5219
  "additionalProperties": false
5240
5220
  },
@@ -9837,10 +9817,18 @@
9837
9817
  },
9838
9818
  "text": {
9839
9819
  "type": "string"
9820
+ },
9821
+ "blockId": {
9822
+ "type": "string"
9823
+ },
9824
+ "start": {
9825
+ "type": "number"
9826
+ },
9827
+ "end": {
9828
+ "type": "number"
9840
9829
  }
9841
9830
  },
9842
9831
  "required": [
9843
- "target",
9844
9832
  "text"
9845
9833
  ],
9846
9834
  "additionalProperties": false
@@ -10161,11 +10149,17 @@
10161
10149
  "blockId",
10162
10150
  "range"
10163
10151
  ]
10152
+ },
10153
+ "blockId": {
10154
+ "type": "string"
10155
+ },
10156
+ "start": {
10157
+ "type": "number"
10158
+ },
10159
+ "end": {
10160
+ "type": "number"
10164
10161
  }
10165
10162
  },
10166
- "required": [
10167
- "target"
10168
- ],
10169
10163
  "additionalProperties": false
10170
10164
  },
10171
10165
  "returns": {
@@ -10484,11 +10478,17 @@
10484
10478
  "blockId",
10485
10479
  "range"
10486
10480
  ]
10481
+ },
10482
+ "blockId": {
10483
+ "type": "string"
10484
+ },
10485
+ "start": {
10486
+ "type": "number"
10487
+ },
10488
+ "end": {
10489
+ "type": "number"
10487
10490
  }
10488
10491
  },
10489
- "required": [
10490
- "target"
10491
- ],
10492
10492
  "additionalProperties": false
10493
10493
  },
10494
10494
  "returns": {
@@ -10808,11 +10808,17 @@
10808
10808
  "blockId",
10809
10809
  "range"
10810
10810
  ]
10811
+ },
10812
+ "blockId": {
10813
+ "type": "string"
10814
+ },
10815
+ "start": {
10816
+ "type": "number"
10817
+ },
10818
+ "end": {
10819
+ "type": "number"
10811
10820
  }
10812
10821
  },
10813
- "required": [
10814
- "target"
10815
- ],
10816
10822
  "additionalProperties": false
10817
10823
  },
10818
10824
  "returns": {
@@ -11132,11 +11138,17 @@
11132
11138
  "blockId",
11133
11139
  "range"
11134
11140
  ]
11141
+ },
11142
+ "blockId": {
11143
+ "type": "string"
11144
+ },
11145
+ "start": {
11146
+ "type": "number"
11147
+ },
11148
+ "end": {
11149
+ "type": "number"
11135
11150
  }
11136
11151
  },
11137
- "required": [
11138
- "target"
11139
- ],
11140
11152
  "additionalProperties": false
11141
11153
  },
11142
11154
  "returns": {
@@ -11456,11 +11468,17 @@
11456
11468
  "blockId",
11457
11469
  "range"
11458
11470
  ]
11471
+ },
11472
+ "blockId": {
11473
+ "type": "string"
11474
+ },
11475
+ "start": {
11476
+ "type": "number"
11477
+ },
11478
+ "end": {
11479
+ "type": "number"
11459
11480
  }
11460
11481
  },
11461
- "required": [
11462
- "target"
11463
- ],
11464
11482
  "additionalProperties": false
11465
11483
  },
11466
11484
  "returns": {
@@ -11775,115 +11793,23 @@
11775
11793
  ]
11776
11794
  },
11777
11795
  {
11778
- "type": "object",
11779
- "properties": {
11780
- "kind": {
11781
- "const": "before"
11796
+ "oneOf": [
11797
+ {
11798
+ "type": "json"
11782
11799
  },
11783
- "target": {
11784
- "type": "object",
11785
- "properties": {
11786
- "kind": {
11787
- "const": "block"
11788
- },
11789
- "nodeType": {
11790
- "oneOf": [
11791
- {
11792
- "const": "paragraph"
11793
- },
11794
- {
11795
- "const": "heading"
11796
- },
11797
- {
11798
- "const": "listItem"
11799
- },
11800
- {
11801
- "const": "table"
11802
- },
11803
- {
11804
- "const": "tableRow"
11805
- },
11806
- {
11807
- "const": "tableCell"
11808
- },
11809
- {
11810
- "const": "image"
11811
- },
11812
- {
11813
- "const": "sdt"
11814
- }
11815
- ]
11816
- },
11817
- "nodeId": {
11818
- "type": "string"
11819
- }
11820
- },
11821
- "required": [
11822
- "kind",
11823
- "nodeType",
11824
- "nodeId"
11825
- ]
11800
+ {
11801
+ "type": "json"
11826
11802
  }
11827
- },
11828
- "required": [
11829
- "kind",
11830
- "target"
11831
11803
  ]
11832
11804
  },
11833
11805
  {
11834
- "type": "object",
11835
- "properties": {
11836
- "kind": {
11837
- "const": "after"
11806
+ "oneOf": [
11807
+ {
11808
+ "type": "json"
11838
11809
  },
11839
- "target": {
11840
- "type": "object",
11841
- "properties": {
11842
- "kind": {
11843
- "const": "block"
11844
- },
11845
- "nodeType": {
11846
- "oneOf": [
11847
- {
11848
- "const": "paragraph"
11849
- },
11850
- {
11851
- "const": "heading"
11852
- },
11853
- {
11854
- "const": "listItem"
11855
- },
11856
- {
11857
- "const": "table"
11858
- },
11859
- {
11860
- "const": "tableRow"
11861
- },
11862
- {
11863
- "const": "tableCell"
11864
- },
11865
- {
11866
- "const": "image"
11867
- },
11868
- {
11869
- "const": "sdt"
11870
- }
11871
- ]
11872
- },
11873
- "nodeId": {
11874
- "type": "string"
11875
- }
11876
- },
11877
- "required": [
11878
- "kind",
11879
- "nodeType",
11880
- "nodeId"
11881
- ]
11810
+ {
11811
+ "type": "json"
11882
11812
  }
11883
- },
11884
- "required": [
11885
- "kind",
11886
- "target"
11887
11813
  ]
11888
11814
  }
11889
11815
  ]
@@ -12368,6 +12294,9 @@
12368
12294
  "nodeId"
12369
12295
  ]
12370
12296
  },
12297
+ "nodeId": {
12298
+ "type": "string"
12299
+ },
12371
12300
  "position": {
12372
12301
  "type": "string"
12373
12302
  },
@@ -12526,6 +12455,9 @@
12526
12455
  "nodeId"
12527
12456
  ]
12528
12457
  },
12458
+ "nodeId": {
12459
+ "type": "string"
12460
+ },
12529
12461
  "kind": {
12530
12462
  "type": "string"
12531
12463
  },
@@ -12624,6 +12556,9 @@
12624
12556
  "nodeId"
12625
12557
  ]
12626
12558
  },
12559
+ "nodeId": {
12560
+ "type": "string"
12561
+ },
12627
12562
  "input": {}
12628
12563
  },
12629
12564
  "additionalProperties": false
@@ -12719,6 +12654,9 @@
12719
12654
  "nodeId"
12720
12655
  ]
12721
12656
  },
12657
+ "nodeId": {
12658
+ "type": "string"
12659
+ },
12722
12660
  "input": {}
12723
12661
  },
12724
12662
  "additionalProperties": false
@@ -12814,6 +12752,9 @@
12814
12752
  "nodeId"
12815
12753
  ]
12816
12754
  },
12755
+ "nodeId": {
12756
+ "type": "string"
12757
+ },
12817
12758
  "input": {}
12818
12759
  },
12819
12760
  "additionalProperties": false
@@ -12909,6 +12850,9 @@
12909
12850
  "nodeId"
12910
12851
  ]
12911
12852
  },
12853
+ "nodeId": {
12854
+ "type": "string"
12855
+ },
12912
12856
  "input": {}
12913
12857
  },
12914
12858
  "additionalProperties": false
@@ -13018,10 +12962,18 @@
13018
12962
  },
13019
12963
  "text": {
13020
12964
  "type": "string"
12965
+ },
12966
+ "blockId": {
12967
+ "type": "string"
12968
+ },
12969
+ "start": {
12970
+ "type": "number"
12971
+ },
12972
+ "end": {
12973
+ "type": "number"
13021
12974
  }
13022
12975
  },
13023
12976
  "required": [
13024
- "target",
13025
12977
  "text"
13026
12978
  ],
13027
12979
  "additionalProperties": false
@@ -13661,11 +13613,19 @@
13661
13613
  "blockId",
13662
13614
  "range"
13663
13615
  ]
13616
+ },
13617
+ "blockId": {
13618
+ "type": "string"
13619
+ },
13620
+ "start": {
13621
+ "type": "number"
13622
+ },
13623
+ "end": {
13624
+ "type": "number"
13664
13625
  }
13665
13626
  },
13666
13627
  "required": [
13667
- "id",
13668
- "target"
13628
+ "id"
13669
13629
  ],
13670
13630
  "additionalProperties": false
13671
13631
  },