@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.
@@ -1443,10 +1443,18 @@
1443
1443
  },
1444
1444
  "text": {
1445
1445
  "type": "string"
1446
+ },
1447
+ "blockId": {
1448
+ "type": "string"
1449
+ },
1450
+ "start": {
1451
+ "type": "number"
1452
+ },
1453
+ "end": {
1454
+ "type": "number"
1446
1455
  }
1447
1456
  },
1448
1457
  "required": [
1449
- "target",
1450
1458
  "text"
1451
1459
  ],
1452
1460
  "additionalProperties": false
@@ -1775,11 +1783,17 @@
1775
1783
  "blockId",
1776
1784
  "range"
1777
1785
  ]
1786
+ },
1787
+ "blockId": {
1788
+ "type": "string"
1789
+ },
1790
+ "start": {
1791
+ "type": "number"
1792
+ },
1793
+ "end": {
1794
+ "type": "number"
1778
1795
  }
1779
1796
  },
1780
- "required": [
1781
- "target"
1782
- ],
1783
1797
  "additionalProperties": false
1784
1798
  },
1785
1799
  "outputSchema": {
@@ -2105,11 +2119,17 @@
2105
2119
  "blockId",
2106
2120
  "range"
2107
2121
  ]
2122
+ },
2123
+ "blockId": {
2124
+ "type": "string"
2125
+ },
2126
+ "start": {
2127
+ "type": "number"
2128
+ },
2129
+ "end": {
2130
+ "type": "number"
2108
2131
  }
2109
2132
  },
2110
- "required": [
2111
- "target"
2112
- ],
2113
2133
  "additionalProperties": false
2114
2134
  },
2115
2135
  "outputSchema": {
@@ -2436,11 +2456,17 @@
2436
2456
  "blockId",
2437
2457
  "range"
2438
2458
  ]
2459
+ },
2460
+ "blockId": {
2461
+ "type": "string"
2462
+ },
2463
+ "start": {
2464
+ "type": "number"
2465
+ },
2466
+ "end": {
2467
+ "type": "number"
2439
2468
  }
2440
2469
  },
2441
- "required": [
2442
- "target"
2443
- ],
2444
2470
  "additionalProperties": false
2445
2471
  },
2446
2472
  "outputSchema": {
@@ -2767,11 +2793,17 @@
2767
2793
  "blockId",
2768
2794
  "range"
2769
2795
  ]
2796
+ },
2797
+ "blockId": {
2798
+ "type": "string"
2799
+ },
2800
+ "start": {
2801
+ "type": "number"
2802
+ },
2803
+ "end": {
2804
+ "type": "number"
2770
2805
  }
2771
2806
  },
2772
- "required": [
2773
- "target"
2774
- ],
2775
2807
  "additionalProperties": false
2776
2808
  },
2777
2809
  "outputSchema": {
@@ -3098,11 +3130,17 @@
3098
3130
  "blockId",
3099
3131
  "range"
3100
3132
  ]
3133
+ },
3134
+ "blockId": {
3135
+ "type": "string"
3136
+ },
3137
+ "start": {
3138
+ "type": "number"
3139
+ },
3140
+ "end": {
3141
+ "type": "number"
3101
3142
  }
3102
3143
  },
3103
- "required": [
3104
- "target"
3105
- ],
3106
3144
  "additionalProperties": false
3107
3145
  },
3108
3146
  "outputSchema": {
@@ -3424,115 +3462,23 @@
3424
3462
  ]
3425
3463
  },
3426
3464
  {
3427
- "type": "object",
3428
- "properties": {
3429
- "kind": {
3430
- "const": "before"
3465
+ "oneOf": [
3466
+ {
3467
+ "type": "json"
3431
3468
  },
3432
- "target": {
3433
- "type": "object",
3434
- "properties": {
3435
- "kind": {
3436
- "const": "block"
3437
- },
3438
- "nodeType": {
3439
- "oneOf": [
3440
- {
3441
- "const": "paragraph"
3442
- },
3443
- {
3444
- "const": "heading"
3445
- },
3446
- {
3447
- "const": "listItem"
3448
- },
3449
- {
3450
- "const": "table"
3451
- },
3452
- {
3453
- "const": "tableRow"
3454
- },
3455
- {
3456
- "const": "tableCell"
3457
- },
3458
- {
3459
- "const": "image"
3460
- },
3461
- {
3462
- "const": "sdt"
3463
- }
3464
- ]
3465
- },
3466
- "nodeId": {
3467
- "type": "string"
3468
- }
3469
- },
3470
- "required": [
3471
- "kind",
3472
- "nodeType",
3473
- "nodeId"
3474
- ]
3469
+ {
3470
+ "type": "json"
3475
3471
  }
3476
- },
3477
- "required": [
3478
- "kind",
3479
- "target"
3480
3472
  ]
3481
3473
  },
3482
3474
  {
3483
- "type": "object",
3484
- "properties": {
3485
- "kind": {
3486
- "const": "after"
3475
+ "oneOf": [
3476
+ {
3477
+ "type": "json"
3487
3478
  },
3488
- "target": {
3489
- "type": "object",
3490
- "properties": {
3491
- "kind": {
3492
- "const": "block"
3493
- },
3494
- "nodeType": {
3495
- "oneOf": [
3496
- {
3497
- "const": "paragraph"
3498
- },
3499
- {
3500
- "const": "heading"
3501
- },
3502
- {
3503
- "const": "listItem"
3504
- },
3505
- {
3506
- "const": "table"
3507
- },
3508
- {
3509
- "const": "tableRow"
3510
- },
3511
- {
3512
- "const": "tableCell"
3513
- },
3514
- {
3515
- "const": "image"
3516
- },
3517
- {
3518
- "const": "sdt"
3519
- }
3520
- ]
3521
- },
3522
- "nodeId": {
3523
- "type": "string"
3524
- }
3525
- },
3526
- "required": [
3527
- "kind",
3528
- "nodeType",
3529
- "nodeId"
3530
- ]
3479
+ {
3480
+ "type": "json"
3531
3481
  }
3532
- },
3533
- "required": [
3534
- "kind",
3535
- "target"
3536
3482
  ]
3537
3483
  }
3538
3484
  ]
@@ -4034,6 +3980,9 @@
4034
3980
  "nodeId"
4035
3981
  ]
4036
3982
  },
3983
+ "nodeId": {
3984
+ "type": "string"
3985
+ },
4037
3986
  "position": {
4038
3987
  "type": "string"
4039
3988
  },
@@ -4199,6 +4148,9 @@
4199
4148
  "nodeId"
4200
4149
  ]
4201
4150
  },
4151
+ "nodeId": {
4152
+ "type": "string"
4153
+ },
4202
4154
  "kind": {
4203
4155
  "type": "string"
4204
4156
  },
@@ -4305,6 +4257,9 @@
4305
4257
  "nodeId"
4306
4258
  ]
4307
4259
  },
4260
+ "nodeId": {
4261
+ "type": "string"
4262
+ },
4308
4263
  "input": {}
4309
4264
  },
4310
4265
  "additionalProperties": false
@@ -4408,6 +4363,9 @@
4408
4363
  "nodeId"
4409
4364
  ]
4410
4365
  },
4366
+ "nodeId": {
4367
+ "type": "string"
4368
+ },
4411
4369
  "input": {}
4412
4370
  },
4413
4371
  "additionalProperties": false
@@ -4511,6 +4469,9 @@
4511
4469
  "nodeId"
4512
4470
  ]
4513
4471
  },
4472
+ "nodeId": {
4473
+ "type": "string"
4474
+ },
4514
4475
  "input": {}
4515
4476
  },
4516
4477
  "additionalProperties": false
@@ -4614,6 +4575,9 @@
4614
4575
  "nodeId"
4615
4576
  ]
4616
4577
  },
4578
+ "nodeId": {
4579
+ "type": "string"
4580
+ },
4617
4581
  "input": {}
4618
4582
  },
4619
4583
  "additionalProperties": false
@@ -4730,10 +4694,18 @@
4730
4694
  },
4731
4695
  "text": {
4732
4696
  "type": "string"
4697
+ },
4698
+ "blockId": {
4699
+ "type": "string"
4700
+ },
4701
+ "start": {
4702
+ "type": "number"
4703
+ },
4704
+ "end": {
4705
+ "type": "number"
4733
4706
  }
4734
4707
  },
4735
4708
  "required": [
4736
- "target",
4737
4709
  "text"
4738
4710
  ],
4739
4711
  "additionalProperties": false
@@ -5395,11 +5367,19 @@
5395
5367
  "blockId",
5396
5368
  "range"
5397
5369
  ]
5370
+ },
5371
+ "blockId": {
5372
+ "type": "string"
5373
+ },
5374
+ "start": {
5375
+ "type": "number"
5376
+ },
5377
+ "end": {
5378
+ "type": "number"
5398
5379
  }
5399
5380
  },
5400
5381
  "required": [
5401
- "id",
5402
- "target"
5382
+ "id"
5403
5383
  ],
5404
5384
  "additionalProperties": false
5405
5385
  },
@@ -10168,10 +10148,18 @@
10168
10148
  },
10169
10149
  "text": {
10170
10150
  "type": "string"
10151
+ },
10152
+ "blockId": {
10153
+ "type": "string"
10154
+ },
10155
+ "start": {
10156
+ "type": "number"
10157
+ },
10158
+ "end": {
10159
+ "type": "number"
10171
10160
  }
10172
10161
  },
10173
10162
  "required": [
10174
- "target",
10175
10163
  "text"
10176
10164
  ],
10177
10165
  "additionalProperties": false
@@ -10499,11 +10487,17 @@
10499
10487
  "blockId",
10500
10488
  "range"
10501
10489
  ]
10490
+ },
10491
+ "blockId": {
10492
+ "type": "string"
10493
+ },
10494
+ "start": {
10495
+ "type": "number"
10496
+ },
10497
+ "end": {
10498
+ "type": "number"
10502
10499
  }
10503
10500
  },
10504
- "required": [
10505
- "target"
10506
- ],
10507
10501
  "additionalProperties": false
10508
10502
  },
10509
10503
  "outputSchema": {
@@ -10828,11 +10822,17 @@
10828
10822
  "blockId",
10829
10823
  "range"
10830
10824
  ]
10825
+ },
10826
+ "blockId": {
10827
+ "type": "string"
10828
+ },
10829
+ "start": {
10830
+ "type": "number"
10831
+ },
10832
+ "end": {
10833
+ "type": "number"
10831
10834
  }
10832
10835
  },
10833
- "required": [
10834
- "target"
10835
- ],
10836
10836
  "additionalProperties": false
10837
10837
  },
10838
10838
  "outputSchema": {
@@ -11158,11 +11158,17 @@
11158
11158
  "blockId",
11159
11159
  "range"
11160
11160
  ]
11161
+ },
11162
+ "blockId": {
11163
+ "type": "string"
11164
+ },
11165
+ "start": {
11166
+ "type": "number"
11167
+ },
11168
+ "end": {
11169
+ "type": "number"
11161
11170
  }
11162
11171
  },
11163
- "required": [
11164
- "target"
11165
- ],
11166
11172
  "additionalProperties": false
11167
11173
  },
11168
11174
  "outputSchema": {
@@ -11488,11 +11494,17 @@
11488
11494
  "blockId",
11489
11495
  "range"
11490
11496
  ]
11497
+ },
11498
+ "blockId": {
11499
+ "type": "string"
11500
+ },
11501
+ "start": {
11502
+ "type": "number"
11503
+ },
11504
+ "end": {
11505
+ "type": "number"
11491
11506
  }
11492
11507
  },
11493
- "required": [
11494
- "target"
11495
- ],
11496
11508
  "additionalProperties": false
11497
11509
  },
11498
11510
  "outputSchema": {
@@ -11818,11 +11830,17 @@
11818
11830
  "blockId",
11819
11831
  "range"
11820
11832
  ]
11833
+ },
11834
+ "blockId": {
11835
+ "type": "string"
11836
+ },
11837
+ "start": {
11838
+ "type": "number"
11839
+ },
11840
+ "end": {
11841
+ "type": "number"
11821
11842
  }
11822
11843
  },
11823
- "required": [
11824
- "target"
11825
- ],
11826
11844
  "additionalProperties": false
11827
11845
  },
11828
11846
  "outputSchema": {
@@ -12143,115 +12161,23 @@
12143
12161
  ]
12144
12162
  },
12145
12163
  {
12146
- "type": "object",
12147
- "properties": {
12148
- "kind": {
12149
- "const": "before"
12164
+ "oneOf": [
12165
+ {
12166
+ "type": "json"
12150
12167
  },
12151
- "target": {
12152
- "type": "object",
12153
- "properties": {
12154
- "kind": {
12155
- "const": "block"
12156
- },
12157
- "nodeType": {
12158
- "oneOf": [
12159
- {
12160
- "const": "paragraph"
12161
- },
12162
- {
12163
- "const": "heading"
12164
- },
12165
- {
12166
- "const": "listItem"
12167
- },
12168
- {
12169
- "const": "table"
12170
- },
12171
- {
12172
- "const": "tableRow"
12173
- },
12174
- {
12175
- "const": "tableCell"
12176
- },
12177
- {
12178
- "const": "image"
12179
- },
12180
- {
12181
- "const": "sdt"
12182
- }
12183
- ]
12184
- },
12185
- "nodeId": {
12186
- "type": "string"
12187
- }
12188
- },
12189
- "required": [
12190
- "kind",
12191
- "nodeType",
12192
- "nodeId"
12193
- ]
12168
+ {
12169
+ "type": "json"
12194
12170
  }
12195
- },
12196
- "required": [
12197
- "kind",
12198
- "target"
12199
12171
  ]
12200
12172
  },
12201
12173
  {
12202
- "type": "object",
12203
- "properties": {
12204
- "kind": {
12205
- "const": "after"
12174
+ "oneOf": [
12175
+ {
12176
+ "type": "json"
12206
12177
  },
12207
- "target": {
12208
- "type": "object",
12209
- "properties": {
12210
- "kind": {
12211
- "const": "block"
12212
- },
12213
- "nodeType": {
12214
- "oneOf": [
12215
- {
12216
- "const": "paragraph"
12217
- },
12218
- {
12219
- "const": "heading"
12220
- },
12221
- {
12222
- "const": "listItem"
12223
- },
12224
- {
12225
- "const": "table"
12226
- },
12227
- {
12228
- "const": "tableRow"
12229
- },
12230
- {
12231
- "const": "tableCell"
12232
- },
12233
- {
12234
- "const": "image"
12235
- },
12236
- {
12237
- "const": "sdt"
12238
- }
12239
- ]
12240
- },
12241
- "nodeId": {
12242
- "type": "string"
12243
- }
12244
- },
12245
- "required": [
12246
- "kind",
12247
- "nodeType",
12248
- "nodeId"
12249
- ]
12178
+ {
12179
+ "type": "json"
12250
12180
  }
12251
- },
12252
- "required": [
12253
- "kind",
12254
- "target"
12255
12181
  ]
12256
12182
  }
12257
12183
  ]
@@ -12750,6 +12676,9 @@
12750
12676
  "nodeId"
12751
12677
  ]
12752
12678
  },
12679
+ "nodeId": {
12680
+ "type": "string"
12681
+ },
12753
12682
  "position": {
12754
12683
  "type": "string"
12755
12684
  },
@@ -12914,6 +12843,9 @@
12914
12843
  "nodeId"
12915
12844
  ]
12916
12845
  },
12846
+ "nodeId": {
12847
+ "type": "string"
12848
+ },
12917
12849
  "kind": {
12918
12850
  "type": "string"
12919
12851
  },
@@ -13019,6 +12951,9 @@
13019
12951
  "nodeId"
13020
12952
  ]
13021
12953
  },
12954
+ "nodeId": {
12955
+ "type": "string"
12956
+ },
13022
12957
  "input": {}
13023
12958
  },
13024
12959
  "additionalProperties": false
@@ -13121,6 +13056,9 @@
13121
13056
  "nodeId"
13122
13057
  ]
13123
13058
  },
13059
+ "nodeId": {
13060
+ "type": "string"
13061
+ },
13124
13062
  "input": {}
13125
13063
  },
13126
13064
  "additionalProperties": false
@@ -13223,6 +13161,9 @@
13223
13161
  "nodeId"
13224
13162
  ]
13225
13163
  },
13164
+ "nodeId": {
13165
+ "type": "string"
13166
+ },
13226
13167
  "input": {}
13227
13168
  },
13228
13169
  "additionalProperties": false
@@ -13325,6 +13266,9 @@
13325
13266
  "nodeId"
13326
13267
  ]
13327
13268
  },
13269
+ "nodeId": {
13270
+ "type": "string"
13271
+ },
13328
13272
  "input": {}
13329
13273
  },
13330
13274
  "additionalProperties": false
@@ -13440,10 +13384,18 @@
13440
13384
  },
13441
13385
  "text": {
13442
13386
  "type": "string"
13387
+ },
13388
+ "blockId": {
13389
+ "type": "string"
13390
+ },
13391
+ "start": {
13392
+ "type": "number"
13393
+ },
13394
+ "end": {
13395
+ "type": "number"
13443
13396
  }
13444
13397
  },
13445
13398
  "required": [
13446
- "target",
13447
13399
  "text"
13448
13400
  ],
13449
13401
  "additionalProperties": false
@@ -14102,11 +14054,19 @@
14102
14054
  "blockId",
14103
14055
  "range"
14104
14056
  ]
14057
+ },
14058
+ "blockId": {
14059
+ "type": "string"
14060
+ },
14061
+ "start": {
14062
+ "type": "number"
14063
+ },
14064
+ "end": {
14065
+ "type": "number"
14105
14066
  }
14106
14067
  },
14107
14068
  "required": [
14108
- "id",
14109
- "target"
14069
+ "id"
14110
14070
  ],
14111
14071
  "additionalProperties": false
14112
14072
  },
@@ -96,5 +96,5 @@
96
96
  "hasLists"
97
97
  ]
98
98
  },
99
- "contractHash": "031e3c0adf129a76"
99
+ "contractHash": "516259a73d880f9e"
100
100
  }