Upgrade to ts-rs 11.0 for TS type fixes (#7581)

* Bump ts-rs from 10.1.0 to 11.0.1

* Fix breaking changes

* Fix tsc errors

* Update output

* Upgrade to kittycad-modeling-cmds 0.2.124 for ts-rs update

* Update parser snaps

* Update output of gridfinity_bins_stacking_lip sample

* Fix missing field in TS unit tests

* Fix tsc type error with fixed_size_grid project setting
This commit is contained in:
Jonathan Tran
2025-06-24 14:38:43 -04:00
committed by GitHub
parent e4941cb524
commit c7f0a6c2a0
387 changed files with 74834 additions and 24 deletions

View File

@ -13,6 +13,7 @@ description: Result of parsing array_range_negative_expr.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "xs",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ description: Result of parsing array_range_negative_expr.kcl
"endElement": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -33,11 +35,13 @@ description: Result of parsing array_range_negative_expr.kcl
}
},
"endInclusive": true,
"moduleId": 0,
"start": 0,
"startElement": {
"argument": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -49,6 +53,7 @@ description: Result of parsing array_range_negative_expr.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
@ -57,11 +62,13 @@ description: Result of parsing array_range_negative_expr.kcl
"type": "ArrayRangeExpression",
"type": "ArrayRangeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -76,6 +83,7 @@ description: Result of parsing array_range_negative_expr.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -84,6 +92,7 @@ description: Result of parsing array_range_negative_expr.kcl
"argument": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -95,6 +104,7 @@ description: Result of parsing array_range_negative_expr.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
@ -106,6 +116,7 @@ description: Result of parsing array_range_negative_expr.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -113,6 +124,7 @@ description: Result of parsing array_range_negative_expr.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"first element is -5\"",
"start": 0,
"type": "Literal",
@ -125,9 +137,11 @@ description: Result of parsing array_range_negative_expr.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -138,6 +152,7 @@ description: Result of parsing array_range_negative_expr.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -145,13 +160,16 @@ description: Result of parsing array_range_negative_expr.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "xs",
"start": 0,
"type": "Identifier"
@ -164,6 +182,7 @@ description: Result of parsing array_range_negative_expr.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -178,6 +197,7 @@ description: Result of parsing array_range_negative_expr.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -185,6 +205,7 @@ description: Result of parsing array_range_negative_expr.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}