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 invalid_member_object_using_string.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "p",
"start": 0,
"type": "Identifier"
@ -20,17 +21,20 @@ description: Result of parsing invalid_member_object_using_string.kcl
"init": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"foo\"",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": "foo"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -43,6 +47,7 @@ description: Result of parsing invalid_member_object_using_string.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -50,6 +55,7 @@ description: Result of parsing invalid_member_object_using_string.kcl
"init": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"properties": [
{
"commentStart": 0,
@ -57,15 +63,18 @@ description: Result of parsing invalid_member_object_using_string.kcl
"key": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "foo",
"start": 0,
"type": "Identifier"
},
"moduleId": 0,
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -82,15 +91,18 @@ description: Result of parsing invalid_member_object_using_string.kcl
"key": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "bar",
"start": 0,
"type": "Identifier"
},
"moduleId": 0,
"start": 0,
"type": "ObjectProperty",
"value": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -106,11 +118,13 @@ description: Result of parsing invalid_member_object_using_string.kcl
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -123,6 +137,7 @@ description: Result of parsing invalid_member_object_using_string.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "one",
"start": 0,
"type": "Identifier"
@ -131,13 +146,16 @@ description: Result of parsing invalid_member_object_using_string.kcl
"commentStart": 0,
"computed": true,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -150,6 +168,7 @@ description: Result of parsing invalid_member_object_using_string.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "p",
"start": 0,
"type": "Identifier",
@ -159,11 +178,13 @@ description: Result of parsing invalid_member_object_using_string.kcl
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"preComments": [
"// Try to index with a string."
],
@ -174,12 +195,14 @@ description: Result of parsing invalid_member_object_using_string.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {},
"startNodes": [
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "NonCodeNode",
"value": {
@ -191,6 +214,7 @@ description: Result of parsing invalid_member_object_using_string.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "NonCodeNode",
"value": {