@superdoc-dev/sdk 1.6.0-next.45 → 1.6.0-next.47

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.
@@ -2056,7 +2056,7 @@ const CONTRACT = {
2056
2056
  },
2057
2057
  "type": {
2058
2058
  "type": "string",
2059
- "description": "Block type: paragraph, heading, listItem, table, image, etc."
2059
+ "description": "Block type: paragraph, heading, listItem, image, tableOfContents."
2060
2060
  },
2061
2061
  "text": {
2062
2062
  "type": "string",
@@ -2065,6 +2065,51 @@ const CONTRACT = {
2065
2065
  "headingLevel": {
2066
2066
  "type": "integer",
2067
2067
  "description": "Heading level (1–6). Only present for headings."
2068
+ },
2069
+ "tableContext": {
2070
+ "type": "object",
2071
+ "properties": {
2072
+ "tableOrdinal": {
2073
+ "type": "integer",
2074
+ "description": "0-based table ordinal, unique within one extract() result."
2075
+ },
2076
+ "parentTableOrdinal": {
2077
+ "type": "integer",
2078
+ "description": "Ordinal of the parent table when the containing table is nested."
2079
+ },
2080
+ "parentRowIndex": {
2081
+ "type": "integer",
2082
+ "description": "Row index in the parent table. Set with parentTableOrdinal."
2083
+ },
2084
+ "parentColumnIndex": {
2085
+ "type": "integer",
2086
+ "description": "Column index in the parent table. Set with parentTableOrdinal."
2087
+ },
2088
+ "rowIndex": {
2089
+ "type": "integer",
2090
+ "description": "0-based row index of the containing cell."
2091
+ },
2092
+ "columnIndex": {
2093
+ "type": "integer",
2094
+ "description": "0-based logical grid column, not the row child order."
2095
+ },
2096
+ "rowspan": {
2097
+ "type": "integer",
2098
+ "description": "Number of rows the cell spans."
2099
+ },
2100
+ "colspan": {
2101
+ "type": "integer",
2102
+ "description": "Number of columns the cell spans."
2103
+ }
2104
+ },
2105
+ "additionalProperties": false,
2106
+ "required": [
2107
+ "tableOrdinal",
2108
+ "rowIndex",
2109
+ "columnIndex",
2110
+ "rowspan",
2111
+ "colspan"
2112
+ ]
2068
2113
  }
2069
2114
  },
2070
2115
  "additionalPro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AY,CAAC,CAAC,CAAC"}
@@ -3174,7 +3174,7 @@ export const CONTRACT = {
3174
3174
  },
3175
3175
  "type": {
3176
3176
  "type": "string",
3177
- "description": "Block type: paragraph, heading, listItem, table, image, etc."
3177
+ "description": "Block type: paragraph, heading, listItem, image, tableOfContents."
3178
3178
  },
3179
3179
  "text": {
3180
3180
  "type": "string",
@@ -3183,6 +3183,51 @@ export const CONTRACT = {
3183
3183
  "headingLevel": {
3184
3184
  "type": "integer",
3185
3185
  "description": "Heading level (1–6). Only present for headings."
3186
+ },
3187
+ "tableContext": {
3188
+ "type": "object",
3189
+ "properties": {
3190
+ "tableOrdinal": {
3191
+ "type": "integer",
3192
+ "description": "0-based table ordinal, unique within one extract() result."
3193
+ },
3194
+ "parentTableOrdinal": {
3195
+ "type": "integer",
3196
+ "description": "Ordinal of the parent table when the containing table is nested."
3197
+ },
3198
+ "parentRowIndex": {
3199
+ "type": "integer",
3200
+ "description": "Row index in the parent table. Set with parentTableOrdinal."
3201
+ },
3202
+ "parentColumnIndex": {
3203
+ "type": "integer",
3204
+ "description": "Column index in the parent table. Set with parentTableOrdinal."
3205
+ },
3206
+ "rowIndex": {
3207
+ "type": "integer",
3208
+ "description": "0-based row index of the containing cell."
3209
+ },
3210
+ "columnIndex": {
3211
+ "type": "integer",
3212
+ "description": "0-based logical grid column, not the row child order."
3213
+ },
3214
+ "rowspan": {
3215
+ "type": "integer",
3216
+ "description": "Number of rows the cell spans."
3217
+ },
3218
+ "colspan": {
3219
+ "type": "integer",
3220
+ "description": "Number of columns the cell spans."
3221
+ }
3222
+ },
3223
+ "additionalProperties": false,
3224
+ "required": [
3225
+ "tableOrdinal",
3226
+ "rowIndex",
3227
+ "columnIndex",
3228
+ "rowspan",
3229
+ "colspan"
3230
+ ]
3186
3231
  }
3187
3232
  },
3188
3233
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/sdk",
3
- "version": "1.6.0-next.45",
3
+ "version": "1.6.0-next.47",
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.6.0-next.45",
30
- "@superdoc-dev/sdk-darwin-x64": "1.6.0-next.45",
31
- "@superdoc-dev/sdk-linux-x64": "1.6.0-next.45",
32
- "@superdoc-dev/sdk-windows-x64": "1.6.0-next.45",
33
- "@superdoc-dev/sdk-linux-arm64": "1.6.0-next.45"
29
+ "@superdoc-dev/sdk-darwin-arm64": "1.6.0-next.47",
30
+ "@superdoc-dev/sdk-linux-x64": "1.6.0-next.47",
31
+ "@superdoc-dev/sdk-linux-arm64": "1.6.0-next.47",
32
+ "@superdoc-dev/sdk-darwin-x64": "1.6.0-next.47",
33
+ "@superdoc-dev/sdk-windows-x64": "1.6.0-next.47"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
@@ -39,5 +39,5 @@
39
39
  "mutates": true
40
40
  }
41
41
  ],
42
- "contractHash": "e74a36833ec8587b67447a79517de348cfc9b4bba1c564729c184f6d5464a018"
42
+ "contractHash": "c8670fb494b56c19fbd09a7bada35974fbb3c22d938f6a5e01eee6e8467961c0"
43
43
  }