@tscircuit/eval 0.0.294 → 0.0.296

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.
@@ -413,6 +413,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
413
413
  property_name: string;
414
414
  source_property_ignored_warning_id: string;
415
415
  subcircuit_id?: string | undefined;
416
+ } | {
417
+ message: string;
418
+ type: "source_pin_missing_trace_warning";
419
+ source_component_id: string;
420
+ source_port_id: string;
421
+ warning_type: "source_pin_missing_trace_warning";
422
+ source_pin_missing_trace_warning_id: string;
423
+ subcircuit_id?: string | undefined;
416
424
  } | {
417
425
  type: "source_net";
418
426
  name: string;
@@ -674,6 +682,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
674
682
  source_group_id?: string | undefined;
675
683
  connected_source_port_ids?: string[] | undefined;
676
684
  selectors_not_found?: string[] | undefined;
685
+ } | {
686
+ message: string;
687
+ type: "source_pin_missing_trace_warning";
688
+ source_component_id: string;
689
+ source_port_id: string;
690
+ warning_type: "source_pin_missing_trace_warning";
691
+ source_pin_missing_trace_warning_id: string;
692
+ subcircuit_id?: string | undefined;
677
693
  } | {
678
694
  type: "pcb_component";
679
695
  width: number;
@@ -1450,6 +1466,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1450
1466
  pin_number?: number | undefined;
1451
1467
  display_pin_label?: string | undefined;
1452
1468
  is_connected?: boolean | undefined;
1469
+ has_input_arrow?: boolean | undefined;
1470
+ has_output_arrow?: boolean | undefined;
1453
1471
  } | {
1454
1472
  type: "schematic_trace";
1455
1473
  source_trace_id: string;
@@ -1666,6 +1684,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1666
1684
  peak_to_peak_voltage?: number | undefined;
1667
1685
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
1668
1686
  phase?: number | undefined;
1687
+ duty_cycle?: number | undefined;
1669
1688
  })[]>;
1670
1689
 
1671
1690
  declare const runTscircuitModule: (module: string, opts?: {
@@ -1997,6 +2016,14 @@ declare const runTscircuitModule: (module: string, opts?: {
1997
2016
  property_name: string;
1998
2017
  source_property_ignored_warning_id: string;
1999
2018
  subcircuit_id?: string | undefined;
2019
+ } | {
2020
+ message: string;
2021
+ type: "source_pin_missing_trace_warning";
2022
+ source_component_id: string;
2023
+ source_port_id: string;
2024
+ warning_type: "source_pin_missing_trace_warning";
2025
+ source_pin_missing_trace_warning_id: string;
2026
+ subcircuit_id?: string | undefined;
2000
2027
  } | {
2001
2028
  type: "source_net";
2002
2029
  name: string;
@@ -2258,6 +2285,14 @@ declare const runTscircuitModule: (module: string, opts?: {
2258
2285
  source_group_id?: string | undefined;
2259
2286
  connected_source_port_ids?: string[] | undefined;
2260
2287
  selectors_not_found?: string[] | undefined;
2288
+ } | {
2289
+ message: string;
2290
+ type: "source_pin_missing_trace_warning";
2291
+ source_component_id: string;
2292
+ source_port_id: string;
2293
+ warning_type: "source_pin_missing_trace_warning";
2294
+ source_pin_missing_trace_warning_id: string;
2295
+ subcircuit_id?: string | undefined;
2261
2296
  } | {
2262
2297
  type: "pcb_component";
2263
2298
  width: number;
@@ -3034,6 +3069,8 @@ declare const runTscircuitModule: (module: string, opts?: {
3034
3069
  pin_number?: number | undefined;
3035
3070
  display_pin_label?: string | undefined;
3036
3071
  is_connected?: boolean | undefined;
3072
+ has_input_arrow?: boolean | undefined;
3073
+ has_output_arrow?: boolean | undefined;
3037
3074
  } | {
3038
3075
  type: "schematic_trace";
3039
3076
  source_trace_id: string;
@@ -3250,6 +3287,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3250
3287
  peak_to_peak_voltage?: number | undefined;
3251
3288
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
3252
3289
  phase?: number | undefined;
3290
+ duty_cycle?: number | undefined;
3253
3291
  })[]>;
3254
3292
 
3255
3293
  export { CircuitRunner, runTscircuitCode, runTscircuitModule };
@@ -428,6 +428,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
428
428
  property_name: string;
429
429
  source_property_ignored_warning_id: string;
430
430
  subcircuit_id?: string | undefined;
431
+ } | {
432
+ message: string;
433
+ type: "source_pin_missing_trace_warning";
434
+ source_component_id: string;
435
+ source_port_id: string;
436
+ warning_type: "source_pin_missing_trace_warning";
437
+ source_pin_missing_trace_warning_id: string;
438
+ subcircuit_id?: string | undefined;
431
439
  } | {
432
440
  type: "source_net";
433
441
  name: string;
@@ -689,6 +697,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
689
697
  source_group_id?: string | undefined;
690
698
  connected_source_port_ids?: string[] | undefined;
691
699
  selectors_not_found?: string[] | undefined;
700
+ } | {
701
+ message: string;
702
+ type: "source_pin_missing_trace_warning";
703
+ source_component_id: string;
704
+ source_port_id: string;
705
+ warning_type: "source_pin_missing_trace_warning";
706
+ source_pin_missing_trace_warning_id: string;
707
+ subcircuit_id?: string | undefined;
692
708
  } | {
693
709
  type: "pcb_component";
694
710
  width: number;
@@ -1465,6 +1481,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1465
1481
  pin_number?: number | undefined;
1466
1482
  display_pin_label?: string | undefined;
1467
1483
  is_connected?: boolean | undefined;
1484
+ has_input_arrow?: boolean | undefined;
1485
+ has_output_arrow?: boolean | undefined;
1468
1486
  } | {
1469
1487
  type: "schematic_trace";
1470
1488
  source_trace_id: string;
@@ -1681,6 +1699,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1681
1699
  peak_to_peak_voltage?: number | undefined;
1682
1700
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
1683
1701
  phase?: number | undefined;
1702
+ duty_cycle?: number | undefined;
1684
1703
  })[]>;
1685
1704
 
1686
1705
  declare const runTscircuitModule: (module: string, opts?: {
@@ -2012,6 +2031,14 @@ declare const runTscircuitModule: (module: string, opts?: {
2012
2031
  property_name: string;
2013
2032
  source_property_ignored_warning_id: string;
2014
2033
  subcircuit_id?: string | undefined;
2034
+ } | {
2035
+ message: string;
2036
+ type: "source_pin_missing_trace_warning";
2037
+ source_component_id: string;
2038
+ source_port_id: string;
2039
+ warning_type: "source_pin_missing_trace_warning";
2040
+ source_pin_missing_trace_warning_id: string;
2041
+ subcircuit_id?: string | undefined;
2015
2042
  } | {
2016
2043
  type: "source_net";
2017
2044
  name: string;
@@ -2273,6 +2300,14 @@ declare const runTscircuitModule: (module: string, opts?: {
2273
2300
  source_group_id?: string | undefined;
2274
2301
  connected_source_port_ids?: string[] | undefined;
2275
2302
  selectors_not_found?: string[] | undefined;
2303
+ } | {
2304
+ message: string;
2305
+ type: "source_pin_missing_trace_warning";
2306
+ source_component_id: string;
2307
+ source_port_id: string;
2308
+ warning_type: "source_pin_missing_trace_warning";
2309
+ source_pin_missing_trace_warning_id: string;
2310
+ subcircuit_id?: string | undefined;
2276
2311
  } | {
2277
2312
  type: "pcb_component";
2278
2313
  width: number;
@@ -3049,6 +3084,8 @@ declare const runTscircuitModule: (module: string, opts?: {
3049
3084
  pin_number?: number | undefined;
3050
3085
  display_pin_label?: string | undefined;
3051
3086
  is_connected?: boolean | undefined;
3087
+ has_input_arrow?: boolean | undefined;
3088
+ has_output_arrow?: boolean | undefined;
3052
3089
  } | {
3053
3090
  type: "schematic_trace";
3054
3091
  source_trace_id: string;
@@ -3265,6 +3302,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3265
3302
  peak_to_peak_voltage?: number | undefined;
3266
3303
  wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
3267
3304
  phase?: number | undefined;
3305
+ duty_cycle?: number | undefined;
3268
3306
  })[]>;
3269
3307
 
3270
3308
  declare const getImportsFromCode: (code: string) => string[];