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_with_units.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "a",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ description: Result of parsing array_range_with_units.kcl
"endElement": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3cm",
"start": 0,
"type": "Literal",
@ -33,10 +35,12 @@ description: Result of parsing array_range_with_units.kcl
}
},
"endInclusive": true,
"moduleId": 0,
"start": 0,
"startElement": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1cm",
"start": 0,
"type": "Literal",
@ -49,11 +53,13 @@ description: Result of parsing array_range_with_units.kcl
"type": "ArrayRangeExpression",
"type": "ArrayRangeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -68,6 +74,7 @@ description: Result of parsing array_range_with_units.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -75,6 +82,7 @@ description: Result of parsing array_range_with_units.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1cm",
"start": 0,
"type": "Literal",
@ -90,9 +98,11 @@ description: Result of parsing array_range_with_units.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -103,6 +113,7 @@ description: Result of parsing array_range_with_units.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -110,13 +121,16 @@ description: Result of parsing array_range_with_units.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": "a",
"start": 0,
"type": "Identifier"
@ -129,6 +143,7 @@ description: Result of parsing array_range_with_units.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -143,6 +158,7 @@ description: Result of parsing array_range_with_units.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -157,6 +173,7 @@ description: Result of parsing array_range_with_units.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -164,6 +181,7 @@ description: Result of parsing array_range_with_units.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2cm",
"start": 0,
"type": "Literal",
@ -179,9 +197,11 @@ description: Result of parsing array_range_with_units.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -192,6 +212,7 @@ description: Result of parsing array_range_with_units.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -199,13 +220,16 @@ description: Result of parsing array_range_with_units.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": "a",
"start": 0,
"type": "Identifier"
@ -218,6 +242,7 @@ description: Result of parsing array_range_with_units.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -232,6 +257,7 @@ description: Result of parsing array_range_with_units.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -246,6 +272,7 @@ description: Result of parsing array_range_with_units.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -253,6 +280,7 @@ description: Result of parsing array_range_with_units.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3cm",
"start": 0,
"type": "Literal",
@ -268,9 +296,11 @@ description: Result of parsing array_range_with_units.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -281,6 +311,7 @@ description: Result of parsing array_range_with_units.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -288,13 +319,16 @@ description: Result of parsing array_range_with_units.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": "a",
"start": 0,
"type": "Identifier"
@ -307,6 +341,7 @@ description: Result of parsing array_range_with_units.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -321,6 +356,7 @@ description: Result of parsing array_range_with_units.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -328,6 +364,7 @@ description: Result of parsing array_range_with_units.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}