@tscircuit/eval 0.0.405 → 0.0.407

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1243,15 +1243,20 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1243
1243
  num_layers: number;
1244
1244
  material: "fr4" | "fr1";
1245
1245
  subcircuit_id?: string | undefined;
1246
+ pcb_panel_id?: string | undefined;
1246
1247
  is_subcircuit?: boolean | undefined;
1247
1248
  outline?: {
1248
1249
  x: number;
1249
1250
  y: number;
1250
1251
  }[] | undefined;
1251
1252
  } | {
1252
- type: "pcb_group";
1253
+ type: "pcb_panel";
1253
1254
  width: number;
1254
1255
  height: number;
1256
+ pcb_panel_id: string;
1257
+ covered_with_solder_mask: boolean;
1258
+ } | {
1259
+ type: "pcb_group";
1255
1260
  center: {
1256
1261
  x: number;
1257
1262
  y: number;
@@ -1260,9 +1265,15 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1260
1265
  pcb_component_ids: string[];
1261
1266
  source_group_id: string;
1262
1267
  description?: string | undefined;
1268
+ width?: number | undefined;
1269
+ height?: number | undefined;
1263
1270
  name?: string | undefined;
1264
1271
  subcircuit_id?: string | undefined;
1265
1272
  is_subcircuit?: boolean | undefined;
1273
+ outline?: {
1274
+ x: number;
1275
+ y: number;
1276
+ }[] | undefined;
1266
1277
  anchor_position?: {
1267
1278
  x: number;
1268
1279
  y: number;
@@ -1758,13 +1769,9 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1758
1769
  y: number;
1759
1770
  };
1760
1771
  layer: "top" | "bottom";
1761
- stroke_width: number;
1762
1772
  pcb_courtyard_rect_id: string;
1763
1773
  subcircuit_id?: string | undefined;
1764
1774
  pcb_group_id?: string | undefined;
1765
- is_filled?: boolean | undefined;
1766
- has_stroke?: boolean | undefined;
1767
- is_stroke_dashed?: boolean | undefined;
1768
1775
  color?: string | undefined;
1769
1776
  } | {
1770
1777
  type: "pcb_courtyard_outline";
@@ -2182,6 +2189,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
2182
2189
  } | {
2183
2190
  type: "simulation_switch";
2184
2191
  simulation_switch_id: string;
2192
+ source_component_id?: string | undefined;
2185
2193
  closes_at?: number | undefined;
2186
2194
  opens_at?: number | undefined;
2187
2195
  starts_closed?: boolean | undefined;
@@ -3304,15 +3312,20 @@ declare const runTscircuitModule: (module: string, opts?: {
3304
3312
  num_layers: number;
3305
3313
  material: "fr4" | "fr1";
3306
3314
  subcircuit_id?: string | undefined;
3315
+ pcb_panel_id?: string | undefined;
3307
3316
  is_subcircuit?: boolean | undefined;
3308
3317
  outline?: {
3309
3318
  x: number;
3310
3319
  y: number;
3311
3320
  }[] | undefined;
3312
3321
  } | {
3313
- type: "pcb_group";
3322
+ type: "pcb_panel";
3314
3323
  width: number;
3315
3324
  height: number;
3325
+ pcb_panel_id: string;
3326
+ covered_with_solder_mask: boolean;
3327
+ } | {
3328
+ type: "pcb_group";
3316
3329
  center: {
3317
3330
  x: number;
3318
3331
  y: number;
@@ -3321,9 +3334,15 @@ declare const runTscircuitModule: (module: string, opts?: {
3321
3334
  pcb_component_ids: string[];
3322
3335
  source_group_id: string;
3323
3336
  description?: string | undefined;
3337
+ width?: number | undefined;
3338
+ height?: number | undefined;
3324
3339
  name?: string | undefined;
3325
3340
  subcircuit_id?: string | undefined;
3326
3341
  is_subcircuit?: boolean | undefined;
3342
+ outline?: {
3343
+ x: number;
3344
+ y: number;
3345
+ }[] | undefined;
3327
3346
  anchor_position?: {
3328
3347
  x: number;
3329
3348
  y: number;
@@ -3819,13 +3838,9 @@ declare const runTscircuitModule: (module: string, opts?: {
3819
3838
  y: number;
3820
3839
  };
3821
3840
  layer: "top" | "bottom";
3822
- stroke_width: number;
3823
3841
  pcb_courtyard_rect_id: string;
3824
3842
  subcircuit_id?: string | undefined;
3825
3843
  pcb_group_id?: string | undefined;
3826
- is_filled?: boolean | undefined;
3827
- has_stroke?: boolean | undefined;
3828
- is_stroke_dashed?: boolean | undefined;
3829
3844
  color?: string | undefined;
3830
3845
  } | {
3831
3846
  type: "pcb_courtyard_outline";
@@ -4243,6 +4258,7 @@ declare const runTscircuitModule: (module: string, opts?: {
4243
4258
  } | {
4244
4259
  type: "simulation_switch";
4245
4260
  simulation_switch_id: string;
4261
+ source_component_id?: string | undefined;
4246
4262
  closes_at?: number | undefined;
4247
4263
  opens_at?: number | undefined;
4248
4264
  starts_closed?: boolean | undefined;