@superdoc-dev/sdk 1.15.0-next.30 → 1.15.0-next.31

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.
@@ -2218,7 +2218,8 @@ const CONTRACT = {
2218
2218
  "insert",
2219
2219
  "delete",
2220
2220
  "replacement",
2221
- "format"
2221
+ "format",
2222
+ "structural"
2222
2223
  ],
2223
2224
  "description": "Entity-level type. In paired replacement mode, a delete+insert pair shares one entity with type 'replacement'; per-half type lives on block.textSpans[].trackedChanges[]."
2224
2225
  },
@@ -65915,7 +65916,8 @@ const CONTRACT = {
65915
65916
  "insert",
65916
65917
  "delete",
65917
65918
  "replacement",
65918
- "format"
65919
+ "format",
65920
+ "structural"
65919
65921
  ]
65920
65922
  },
65921
65923
  "trackedChangeDisplayType": {
@@ -66108,7 +66110,8 @@ const CONTRACT = {
66108
66110
  "insert",
66109
66111
  "delete",
66110
66112
  "replacement",
66111
- "format"
66113
+ "format",
66114
+ "structural"
66112
66115
  ]
66113
66116
  },
66114
66117
  "trackedChangeDisplayType": {
@@ -66236,11 +66239,14 @@ const CONTRACT = {
66236
66239
  },
66237
66240
  {
66238
66241
  "const": "format"
66242
+ },
66243
+ {
66244
+ "const": "structural"
66239
66245
  }
66240
66246
  ],
66241
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'."
66247
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'."
66242
66248
  },
66243
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'."
66249
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'."
66244
66250
  },
66245
66251
  {
66246
66252
  "name": "in",
@@ -66436,9 +66442,10 @@ const CONTRACT = {
66436
66442
  "insert",
66437
66443
  "delete",
66438
66444
  "replacement",
66439
- "format"
66445
+ "format",
66446
+ "structural"
66440
66447
  ],
66441
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'."
66448
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'."
66442
66449
  },
66443
66450
  "in": {
66444
66451
  "oneOf": [
@@ -66483,9 +66490,17 @@ const CONTRACT = {
66483
66490
  "insert",
66484
66491
  "delete",
66485
66492
  "replacement",
66486
- "format"
66493
+ "format",
66494
+ "structural"
66487
66495
  ]
66488
66496
  },
66497
+ "subtype": {
66498
+ "enum": [
66499
+ "table-insert",
66500
+ "table-delete"
66501
+ ],
66502
+ "description": "Finer classification for structural changes (type === 'structural')."
66503
+ },
66489
66504
  "grouping": {
66490
66505
  "enum": [
66491
66506
  "standalone",
@@ -66795,9 +66810,17 @@ const CONTRACT = {
66795
66810
  "insert",
66796
66811
  "delete",
66797
66812
  "replacement",
66798
- "format"
66813
+ "format",
66814
+ "structural"
66799
66815
  ]
66800
66816
  },
66817
+ "subtype": {
66818
+ "enum": [
66819
+ "table-insert",
66820
+ "table-delete"
66821
+ ],
66822
+ "description": "Finer classification for structural changes (type === 'structural')."
66823
+ },
66801
66824
  "grouping": {
66802
66825
  "enum": [
66803
66826
  "standalone",
@@ -67105,6 +67128,11 @@ const CONTRACT = {
67105
67128
  }
67106
67129
  ],
67107
67130
  "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
67131
+ },
67132
+ "range": {
67133
+ "type": "object",
67134
+ "properties": {},
67135
+ "description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
67108
67136
  }
67109
67137
  },
67110
67138
  "required": [
@@ -67688,6 +67716,10 @@ const CONTRACT = {
67688
67716
  },
67689
67717
  "story": {
67690
67718
  "$ref": "#/$defs/StoryLocator"
67719
+ },
67720
+ "range": {
67721
+ "type": "object",
67722
+ "description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
67691
67723
  }
67692
67724
  },
67693
67725
  "additionalProperties": false,
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceR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T = {
258
258
  "insert",
259
259
  "delete",
260
260
  "replacement",
261
- "format"
261
+ "format",
262
+ "structural"
262
263
  ]
263
264
  },
264
265
  "trackedChangeDisplayType": {
@@ -3442,7 +3443,8 @@ export const CONTRACT = {
3442
3443
  "insert",
3443
3444
  "delete",
3444
3445
  "replacement",
3445
- "format"
3446
+ "format",
3447
+ "structural"
3446
3448
  ],
3447
3449
  "description": "Entity-level type. In paired replacement mode, a delete+insert pair shares one entity with type 'replacement'; per-half type lives on block.textSpans[].trackedChanges[]."
3448
3450
  },
@@ -67139,7 +67141,8 @@ export const CONTRACT = {
67139
67141
  "insert",
67140
67142
  "delete",
67141
67143
  "replacement",
67142
- "format"
67144
+ "format",
67145
+ "structural"
67143
67146
  ]
67144
67147
  },
67145
67148
  "trackedChangeDisplayType": {
@@ -67332,7 +67335,8 @@ export const CONTRACT = {
67332
67335
  "insert",
67333
67336
  "delete",
67334
67337
  "replacement",
67335
- "format"
67338
+ "format",
67339
+ "structural"
67336
67340
  ]
67337
67341
  },
67338
67342
  "trackedChangeDisplayType": {
@@ -67460,11 +67464,14 @@ export const CONTRACT = {
67460
67464
  },
67461
67465
  {
67462
67466
  "const": "format"
67467
+ },
67468
+ {
67469
+ "const": "structural"
67463
67470
  }
67464
67471
  ],
67465
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'."
67472
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'."
67466
67473
  },
67467
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'."
67474
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'."
67468
67475
  },
67469
67476
  {
67470
67477
  "name": "in",
@@ -67660,9 +67667,10 @@ export const CONTRACT = {
67660
67667
  "insert",
67661
67668
  "delete",
67662
67669
  "replacement",
67663
- "format"
67670
+ "format",
67671
+ "structural"
67664
67672
  ],
67665
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'."
67673
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'."
67666
67674
  },
67667
67675
  "in": {
67668
67676
  "oneOf": [
@@ -67707,9 +67715,17 @@ export const CONTRACT = {
67707
67715
  "insert",
67708
67716
  "delete",
67709
67717
  "replacement",
67710
- "format"
67718
+ "format",
67719
+ "structural"
67711
67720
  ]
67712
67721
  },
67722
+ "subtype": {
67723
+ "enum": [
67724
+ "table-insert",
67725
+ "table-delete"
67726
+ ],
67727
+ "description": "Finer classification for structural changes (type === 'structural')."
67728
+ },
67713
67729
  "grouping": {
67714
67730
  "enum": [
67715
67731
  "standalone",
@@ -68019,9 +68035,17 @@ export const CONTRACT = {
68019
68035
  "insert",
68020
68036
  "delete",
68021
68037
  "replacement",
68022
- "format"
68038
+ "format",
68039
+ "structural"
68023
68040
  ]
68024
68041
  },
68042
+ "subtype": {
68043
+ "enum": [
68044
+ "table-insert",
68045
+ "table-delete"
68046
+ ],
68047
+ "description": "Finer classification for structural changes (type === 'structural')."
68048
+ },
68025
68049
  "grouping": {
68026
68050
  "enum": [
68027
68051
  "standalone",
@@ -68329,6 +68353,11 @@ export const CONTRACT = {
68329
68353
  }
68330
68354
  ],
68331
68355
  "description": "Story scope. Defaults to document body when omitted. Use {kind:'story', storyType:'body'} for body, or other storyType values for headers, footers, footnotes, endnotes."
68356
+ },
68357
+ "range": {
68358
+ "type": "object",
68359
+ "properties": {},
68360
+ "description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
68332
68361
  }
68333
68362
  },
68334
68363
  "required": [
@@ -68912,6 +68941,10 @@ export const CONTRACT = {
68912
68941
  },
68913
68942
  "story": {
68914
68943
  "$ref": "#/$defs/StoryLocator"
68944
+ },
68945
+ "range": {
68946
+ "type": "object",
68947
+ "description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
68915
68948
  }
68916
68949
  },
68917
68950
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/sdk",
3
- "version": "1.15.0-next.30",
3
+ "version": "1.15.0-next.31",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -26,11 +26,11 @@
26
26
  "typescript": "^5.9.2"
27
27
  },
28
28
  "optionalDependencies": {
29
- "@superdoc-dev/sdk-darwin-arm64": "1.15.0-next.30",
30
- "@superdoc-dev/sdk-linux-x64": "1.15.0-next.30",
31
- "@superdoc-dev/sdk-darwin-x64": "1.15.0-next.30",
32
- "@superdoc-dev/sdk-linux-arm64": "1.15.0-next.30",
33
- "@superdoc-dev/sdk-windows-x64": "1.15.0-next.30"
29
+ "@superdoc-dev/sdk-darwin-arm64": "1.15.0-next.31",
30
+ "@superdoc-dev/sdk-darwin-x64": "1.15.0-next.31",
31
+ "@superdoc-dev/sdk-linux-arm64": "1.15.0-next.31",
32
+ "@superdoc-dev/sdk-windows-x64": "1.15.0-next.31",
33
+ "@superdoc-dev/sdk-linux-x64": "1.15.0-next.31"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
@@ -2726,9 +2726,10 @@
2726
2726
  "insert",
2727
2727
  "delete",
2728
2728
  "replacement",
2729
- "format"
2729
+ "format",
2730
+ "structural"
2730
2731
  ],
2731
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'. Only for action 'list'. Omit for other actions."
2732
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'. Only for action 'list'. Omit for other actions."
2732
2733
  },
2733
2734
  "force": {
2734
2735
  "type": "boolean",
@@ -2759,6 +2760,10 @@
2759
2760
  },
2760
2761
  "story": {
2761
2762
  "$ref": "#/$defs/StoryLocator"
2763
+ },
2764
+ "range": {
2765
+ "type": "object",
2766
+ "description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
2762
2767
  }
2763
2768
  },
2764
2769
  "additionalProperties": false,
@@ -43,5 +43,5 @@
43
43
  "mutates": true
44
44
  }
45
45
  ],
46
- "contractHash": "17987fcd5f1b183fe39e797dcda5108cf64efb4eab9fac59861813a4cbe3d612"
46
+ "contractHash": "2e3e47b8df74df6d5012419a46d3d38c436f4186f136a101035e5ce90dfdc11c"
47
47
  }
@@ -2405,9 +2405,10 @@
2405
2405
  "insert",
2406
2406
  "delete",
2407
2407
  "replacement",
2408
- "format"
2408
+ "format",
2409
+ "structural"
2409
2410
  ],
2410
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'. Only for action 'list'. Omit for other actions."
2411
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'. Only for action 'list'. Omit for other actions."
2411
2412
  },
2412
2413
  "force": {
2413
2414
  "type": "boolean",
@@ -2438,6 +2439,10 @@
2438
2439
  },
2439
2440
  "story": {
2440
2441
  "$ref": "#/$defs/StoryLocator"
2442
+ },
2443
+ "range": {
2444
+ "type": "object",
2445
+ "description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
2441
2446
  }
2442
2447
  },
2443
2448
  "additionalProperties": false,
@@ -2534,9 +2534,10 @@
2534
2534
  "insert",
2535
2535
  "delete",
2536
2536
  "replacement",
2537
- "format"
2537
+ "format",
2538
+ "structural"
2538
2539
  ],
2539
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'. Only for action 'list'. Omit for other actions."
2540
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'. Only for action 'list'. Omit for other actions."
2540
2541
  },
2541
2542
  "force": {
2542
2543
  "type": "boolean",
@@ -2567,6 +2568,10 @@
2567
2568
  },
2568
2569
  "story": {
2569
2570
  "$ref": "#/$defs/StoryLocator"
2571
+ },
2572
+ "range": {
2573
+ "type": "object",
2574
+ "description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
2570
2575
  }
2571
2576
  },
2572
2577
  "additionalProperties": false,
@@ -2425,9 +2425,10 @@
2425
2425
  "insert",
2426
2426
  "delete",
2427
2427
  "replacement",
2428
- "format"
2428
+ "format",
2429
+ "structural"
2429
2430
  ],
2430
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'. Only for action 'list'. Omit for other actions."
2431
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'. Only for action 'list'. Omit for other actions."
2431
2432
  },
2432
2433
  "force": {
2433
2434
  "type": "boolean",
@@ -2458,6 +2459,10 @@
2458
2459
  },
2459
2460
  "story": {
2460
2461
  "$ref": "#/$defs/StoryLocator"
2462
+ },
2463
+ "range": {
2464
+ "type": "object",
2465
+ "description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
2461
2466
  }
2462
2467
  },
2463
2468
  "additionalProperties": false,
@@ -2425,9 +2425,10 @@
2425
2425
  "insert",
2426
2426
  "delete",
2427
2427
  "replacement",
2428
- "format"
2428
+ "format",
2429
+ "structural"
2429
2430
  ],
2430
- "description": "Filter by change type: 'insert', 'delete', 'replacement', or 'format'. Only for action 'list'. Omit for other actions."
2431
+ "description": "Filter by change type: 'insert', 'delete', 'replacement', 'format', or 'structural'. Only for action 'list'. Omit for other actions."
2431
2432
  },
2432
2433
  "force": {
2433
2434
  "type": "boolean",
@@ -2458,6 +2459,10 @@
2458
2459
  },
2459
2460
  "story": {
2460
2461
  "$ref": "#/$defs/StoryLocator"
2462
+ },
2463
+ "range": {
2464
+ "type": "object",
2465
+ "description": "Partial-range qualifier on an id target. Rejected with INVALID_INPUT for indivisible (e.g. structural) revisions."
2461
2466
  }
2462
2467
  },
2463
2468
  "additionalProperties": false,