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

@ -96,7 +96,7 @@ pub struct AppSettings {
pub show_debug_panel: bool,
/// If true, the grid cells will be fixed-size, where the width is your default length unit.
/// If false, the grid will get larger as you zoom out, and smaller as you zoom in.
#[serde(default = "make_it_so")]
#[serde(default = "make_it_so", skip_serializing_if = "is_true")]
pub fixed_size_grid: bool,
}
@ -105,6 +105,10 @@ fn make_it_so() -> bool {
true
}
fn is_true(b: &bool) -> bool {
*b
}
impl Default for AppSettings {
fn default() -> Self {
Self {
@ -691,7 +695,6 @@ text_wrapping = true"#;
serialized,
r#"[settings.app]
onboarding_status = "dismissed"
fixed_size_grid = true
[settings.app.appearance]
theme = "dark"