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 tangential_arc.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "boxSketch",
"start": 0,
"type": "Identifier"
@ -20,13 +21,16 @@ description: Result of parsing tangential_arc.kcl
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "startSketchOn",
"start": 0,
"type": "Identifier"
@ -37,6 +41,7 @@ description: Result of parsing tangential_arc.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -44,9 +49,11 @@ description: Result of parsing tangential_arc.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "XY",
"start": 0,
"type": "Identifier"
@ -64,6 +71,7 @@ description: Result of parsing tangential_arc.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "at",
"start": 0,
"type": "Identifier"
@ -74,6 +82,7 @@ description: Result of parsing tangential_arc.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -86,6 +95,7 @@ description: Result of parsing tangential_arc.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -97,6 +107,7 @@ description: Result of parsing tangential_arc.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -107,9 +118,11 @@ description: Result of parsing tangential_arc.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "startProfile",
"start": 0,
"type": "Identifier"
@ -120,6 +133,7 @@ description: Result of parsing tangential_arc.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -132,6 +146,7 @@ description: Result of parsing tangential_arc.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "end",
"start": 0,
"type": "Identifier"
@ -142,6 +157,7 @@ description: Result of parsing tangential_arc.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -154,6 +170,7 @@ description: Result of parsing tangential_arc.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "10",
"start": 0,
"type": "Literal",
@ -165,6 +182,7 @@ description: Result of parsing tangential_arc.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -175,9 +193,11 @@ description: Result of parsing tangential_arc.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "line",
"start": 0,
"type": "Identifier"
@ -188,6 +208,7 @@ description: Result of parsing tangential_arc.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -200,6 +221,7 @@ description: Result of parsing tangential_arc.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "radius",
"start": 0,
"type": "Identifier"
@ -207,6 +229,7 @@ description: Result of parsing tangential_arc.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -222,6 +245,7 @@ description: Result of parsing tangential_arc.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "angle",
"start": 0,
"type": "Identifier"
@ -229,6 +253,7 @@ description: Result of parsing tangential_arc.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "90",
"start": 0,
"type": "Literal",
@ -244,9 +269,11 @@ description: Result of parsing tangential_arc.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "tangentialArc",
"start": 0,
"type": "Identifier"
@ -257,6 +284,7 @@ description: Result of parsing tangential_arc.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -269,6 +297,7 @@ description: Result of parsing tangential_arc.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "end",
"start": 0,
"type": "Identifier"
@ -279,6 +308,7 @@ description: Result of parsing tangential_arc.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -292,6 +322,7 @@ description: Result of parsing tangential_arc.kcl
"argument": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "15",
"start": 0,
"type": "Literal",
@ -303,6 +334,7 @@ description: Result of parsing tangential_arc.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
@ -310,6 +342,7 @@ description: Result of parsing tangential_arc.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -320,9 +353,11 @@ description: Result of parsing tangential_arc.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "line",
"start": 0,
"type": "Identifier"
@ -333,6 +368,7 @@ description: Result of parsing tangential_arc.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -345,6 +381,7 @@ description: Result of parsing tangential_arc.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "length",
"start": 0,
"type": "Identifier"
@ -352,6 +389,7 @@ description: Result of parsing tangential_arc.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "10",
"start": 0,
"type": "Literal",
@ -367,9 +405,11 @@ description: Result of parsing tangential_arc.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "extrude",
"start": 0,
"type": "Identifier"
@ -380,6 +420,7 @@ description: Result of parsing tangential_arc.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -388,15 +429,18 @@ description: Result of parsing tangential_arc.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -404,6 +448,7 @@ description: Result of parsing tangential_arc.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}