@tscircuit/eval 0.0.606 → 0.0.607
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.
- package/dist/blob-url.js +1 -1
- package/dist/eval/index.d.ts +42 -0
- package/dist/lib/index.d.ts +42 -0
- package/dist/webworker/entrypoint.js +3 -3
- package/package.json +4 -4
package/dist/eval/index.d.ts
CHANGED
|
@@ -284,6 +284,25 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
284
284
|
display_name?: string | undefined;
|
|
285
285
|
are_pins_interchangeable?: boolean | undefined;
|
|
286
286
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
287
|
+
} | {
|
|
288
|
+
type: "source_component";
|
|
289
|
+
name: string;
|
|
290
|
+
source_component_id: string;
|
|
291
|
+
wave_shape: "square" | "triangle" | "sawtooth" | "sine" | "dc";
|
|
292
|
+
current: number;
|
|
293
|
+
ftype: "simple_current_source";
|
|
294
|
+
subcircuit_id?: string | undefined;
|
|
295
|
+
source_group_id?: string | undefined;
|
|
296
|
+
frequency?: number | undefined;
|
|
297
|
+
phase?: number | undefined;
|
|
298
|
+
duty_cycle?: number | undefined;
|
|
299
|
+
peak_to_peak_current?: number | undefined;
|
|
300
|
+
manufacturer_part_number?: string | undefined;
|
|
301
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
302
|
+
display_value?: string | undefined;
|
|
303
|
+
display_name?: string | undefined;
|
|
304
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
305
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
287
306
|
} | {
|
|
288
307
|
type: "source_component";
|
|
289
308
|
name: string;
|
|
@@ -355,6 +374,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
355
374
|
are_pins_interchangeable?: boolean | undefined;
|
|
356
375
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
357
376
|
load_capacitance?: number | undefined;
|
|
377
|
+
pin_variant?: "two_pin" | "four_pin" | undefined;
|
|
358
378
|
} | {
|
|
359
379
|
type: "source_component";
|
|
360
380
|
name: string;
|
|
@@ -2288,6 +2308,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2288
2308
|
is_connected?: boolean | undefined;
|
|
2289
2309
|
has_input_arrow?: boolean | undefined;
|
|
2290
2310
|
has_output_arrow?: boolean | undefined;
|
|
2311
|
+
is_drawn_with_inversion_circle?: boolean | undefined;
|
|
2291
2312
|
} | {
|
|
2292
2313
|
type: "schematic_trace";
|
|
2293
2314
|
schematic_trace_id: string;
|
|
@@ -2748,6 +2769,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2748
2769
|
display_name?: string | undefined;
|
|
2749
2770
|
are_pins_interchangeable?: boolean | undefined;
|
|
2750
2771
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2772
|
+
} | {
|
|
2773
|
+
type: "source_component";
|
|
2774
|
+
name: string;
|
|
2775
|
+
source_component_id: string;
|
|
2776
|
+
wave_shape: "square" | "triangle" | "sawtooth" | "sine" | "dc";
|
|
2777
|
+
current: number;
|
|
2778
|
+
ftype: "simple_current_source";
|
|
2779
|
+
subcircuit_id?: string | undefined;
|
|
2780
|
+
source_group_id?: string | undefined;
|
|
2781
|
+
frequency?: number | undefined;
|
|
2782
|
+
phase?: number | undefined;
|
|
2783
|
+
duty_cycle?: number | undefined;
|
|
2784
|
+
peak_to_peak_current?: number | undefined;
|
|
2785
|
+
manufacturer_part_number?: string | undefined;
|
|
2786
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2787
|
+
display_value?: string | undefined;
|
|
2788
|
+
display_name?: string | undefined;
|
|
2789
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
2790
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2751
2791
|
} | {
|
|
2752
2792
|
type: "source_component";
|
|
2753
2793
|
name: string;
|
|
@@ -2819,6 +2859,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2819
2859
|
are_pins_interchangeable?: boolean | undefined;
|
|
2820
2860
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2821
2861
|
load_capacitance?: number | undefined;
|
|
2862
|
+
pin_variant?: "two_pin" | "four_pin" | undefined;
|
|
2822
2863
|
} | {
|
|
2823
2864
|
type: "source_component";
|
|
2824
2865
|
name: string;
|
|
@@ -4752,6 +4793,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4752
4793
|
is_connected?: boolean | undefined;
|
|
4753
4794
|
has_input_arrow?: boolean | undefined;
|
|
4754
4795
|
has_output_arrow?: boolean | undefined;
|
|
4796
|
+
is_drawn_with_inversion_circle?: boolean | undefined;
|
|
4755
4797
|
} | {
|
|
4756
4798
|
type: "schematic_trace";
|
|
4757
4799
|
schematic_trace_id: string;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -300,6 +300,25 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
300
300
|
display_name?: string | undefined;
|
|
301
301
|
are_pins_interchangeable?: boolean | undefined;
|
|
302
302
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
303
|
+
} | {
|
|
304
|
+
type: "source_component";
|
|
305
|
+
name: string;
|
|
306
|
+
source_component_id: string;
|
|
307
|
+
wave_shape: "square" | "triangle" | "sawtooth" | "sine" | "dc";
|
|
308
|
+
current: number;
|
|
309
|
+
ftype: "simple_current_source";
|
|
310
|
+
subcircuit_id?: string | undefined;
|
|
311
|
+
source_group_id?: string | undefined;
|
|
312
|
+
frequency?: number | undefined;
|
|
313
|
+
phase?: number | undefined;
|
|
314
|
+
duty_cycle?: number | undefined;
|
|
315
|
+
peak_to_peak_current?: number | undefined;
|
|
316
|
+
manufacturer_part_number?: string | undefined;
|
|
317
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
318
|
+
display_value?: string | undefined;
|
|
319
|
+
display_name?: string | undefined;
|
|
320
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
321
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
303
322
|
} | {
|
|
304
323
|
type: "source_component";
|
|
305
324
|
name: string;
|
|
@@ -371,6 +390,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
371
390
|
are_pins_interchangeable?: boolean | undefined;
|
|
372
391
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
373
392
|
load_capacitance?: number | undefined;
|
|
393
|
+
pin_variant?: "two_pin" | "four_pin" | undefined;
|
|
374
394
|
} | {
|
|
375
395
|
type: "source_component";
|
|
376
396
|
name: string;
|
|
@@ -2304,6 +2324,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2304
2324
|
is_connected?: boolean | undefined;
|
|
2305
2325
|
has_input_arrow?: boolean | undefined;
|
|
2306
2326
|
has_output_arrow?: boolean | undefined;
|
|
2327
|
+
is_drawn_with_inversion_circle?: boolean | undefined;
|
|
2307
2328
|
} | {
|
|
2308
2329
|
type: "schematic_trace";
|
|
2309
2330
|
schematic_trace_id: string;
|
|
@@ -2764,6 +2785,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2764
2785
|
display_name?: string | undefined;
|
|
2765
2786
|
are_pins_interchangeable?: boolean | undefined;
|
|
2766
2787
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2788
|
+
} | {
|
|
2789
|
+
type: "source_component";
|
|
2790
|
+
name: string;
|
|
2791
|
+
source_component_id: string;
|
|
2792
|
+
wave_shape: "square" | "triangle" | "sawtooth" | "sine" | "dc";
|
|
2793
|
+
current: number;
|
|
2794
|
+
ftype: "simple_current_source";
|
|
2795
|
+
subcircuit_id?: string | undefined;
|
|
2796
|
+
source_group_id?: string | undefined;
|
|
2797
|
+
frequency?: number | undefined;
|
|
2798
|
+
phase?: number | undefined;
|
|
2799
|
+
duty_cycle?: number | undefined;
|
|
2800
|
+
peak_to_peak_current?: number | undefined;
|
|
2801
|
+
manufacturer_part_number?: string | undefined;
|
|
2802
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2803
|
+
display_value?: string | undefined;
|
|
2804
|
+
display_name?: string | undefined;
|
|
2805
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
2806
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2767
2807
|
} | {
|
|
2768
2808
|
type: "source_component";
|
|
2769
2809
|
name: string;
|
|
@@ -2835,6 +2875,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2835
2875
|
are_pins_interchangeable?: boolean | undefined;
|
|
2836
2876
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2837
2877
|
load_capacitance?: number | undefined;
|
|
2878
|
+
pin_variant?: "two_pin" | "four_pin" | undefined;
|
|
2838
2879
|
} | {
|
|
2839
2880
|
type: "source_component";
|
|
2840
2881
|
name: string;
|
|
@@ -4768,6 +4809,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4768
4809
|
is_connected?: boolean | undefined;
|
|
4769
4810
|
has_input_arrow?: boolean | undefined;
|
|
4770
4811
|
has_output_arrow?: boolean | undefined;
|
|
4812
|
+
is_drawn_with_inversion_circle?: boolean | undefined;
|
|
4771
4813
|
} | {
|
|
4772
4814
|
type: "schematic_trace";
|
|
4773
4815
|
schematic_trace_id: string;
|