@tscircuit/eval 0.0.606 → 0.0.608
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 +44 -0
- package/dist/lib/index.d.ts +44 -0
- package/dist/webworker/entrypoint.js +5 -5
- package/package.json +5 -5
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;
|
|
@@ -2319,6 +2340,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2319
2340
|
}[];
|
|
2320
2341
|
schematic_component_id: string;
|
|
2321
2342
|
subcircuit_id?: string | undefined;
|
|
2343
|
+
stroke_width?: number | null | undefined;
|
|
2322
2344
|
is_filled?: boolean | undefined;
|
|
2323
2345
|
fill_color?: "red" | "blue" | undefined;
|
|
2324
2346
|
} | {
|
|
@@ -2748,6 +2770,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2748
2770
|
display_name?: string | undefined;
|
|
2749
2771
|
are_pins_interchangeable?: boolean | undefined;
|
|
2750
2772
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2773
|
+
} | {
|
|
2774
|
+
type: "source_component";
|
|
2775
|
+
name: string;
|
|
2776
|
+
source_component_id: string;
|
|
2777
|
+
wave_shape: "square" | "triangle" | "sawtooth" | "sine" | "dc";
|
|
2778
|
+
current: number;
|
|
2779
|
+
ftype: "simple_current_source";
|
|
2780
|
+
subcircuit_id?: string | undefined;
|
|
2781
|
+
source_group_id?: string | undefined;
|
|
2782
|
+
frequency?: number | undefined;
|
|
2783
|
+
phase?: number | undefined;
|
|
2784
|
+
duty_cycle?: number | undefined;
|
|
2785
|
+
peak_to_peak_current?: number | undefined;
|
|
2786
|
+
manufacturer_part_number?: string | undefined;
|
|
2787
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2788
|
+
display_value?: string | undefined;
|
|
2789
|
+
display_name?: string | undefined;
|
|
2790
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
2791
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2751
2792
|
} | {
|
|
2752
2793
|
type: "source_component";
|
|
2753
2794
|
name: string;
|
|
@@ -2819,6 +2860,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2819
2860
|
are_pins_interchangeable?: boolean | undefined;
|
|
2820
2861
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2821
2862
|
load_capacitance?: number | undefined;
|
|
2863
|
+
pin_variant?: "two_pin" | "four_pin" | undefined;
|
|
2822
2864
|
} | {
|
|
2823
2865
|
type: "source_component";
|
|
2824
2866
|
name: string;
|
|
@@ -4752,6 +4794,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4752
4794
|
is_connected?: boolean | undefined;
|
|
4753
4795
|
has_input_arrow?: boolean | undefined;
|
|
4754
4796
|
has_output_arrow?: boolean | undefined;
|
|
4797
|
+
is_drawn_with_inversion_circle?: boolean | undefined;
|
|
4755
4798
|
} | {
|
|
4756
4799
|
type: "schematic_trace";
|
|
4757
4800
|
schematic_trace_id: string;
|
|
@@ -4783,6 +4826,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4783
4826
|
}[];
|
|
4784
4827
|
schematic_component_id: string;
|
|
4785
4828
|
subcircuit_id?: string | undefined;
|
|
4829
|
+
stroke_width?: number | null | undefined;
|
|
4786
4830
|
is_filled?: boolean | undefined;
|
|
4787
4831
|
fill_color?: "red" | "blue" | undefined;
|
|
4788
4832
|
} | {
|
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;
|
|
@@ -2335,6 +2356,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2335
2356
|
}[];
|
|
2336
2357
|
schematic_component_id: string;
|
|
2337
2358
|
subcircuit_id?: string | undefined;
|
|
2359
|
+
stroke_width?: number | null | undefined;
|
|
2338
2360
|
is_filled?: boolean | undefined;
|
|
2339
2361
|
fill_color?: "red" | "blue" | undefined;
|
|
2340
2362
|
} | {
|
|
@@ -2764,6 +2786,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2764
2786
|
display_name?: string | undefined;
|
|
2765
2787
|
are_pins_interchangeable?: boolean | undefined;
|
|
2766
2788
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2789
|
+
} | {
|
|
2790
|
+
type: "source_component";
|
|
2791
|
+
name: string;
|
|
2792
|
+
source_component_id: string;
|
|
2793
|
+
wave_shape: "square" | "triangle" | "sawtooth" | "sine" | "dc";
|
|
2794
|
+
current: number;
|
|
2795
|
+
ftype: "simple_current_source";
|
|
2796
|
+
subcircuit_id?: string | undefined;
|
|
2797
|
+
source_group_id?: string | undefined;
|
|
2798
|
+
frequency?: number | undefined;
|
|
2799
|
+
phase?: number | undefined;
|
|
2800
|
+
duty_cycle?: number | undefined;
|
|
2801
|
+
peak_to_peak_current?: number | undefined;
|
|
2802
|
+
manufacturer_part_number?: string | undefined;
|
|
2803
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2804
|
+
display_value?: string | undefined;
|
|
2805
|
+
display_name?: string | undefined;
|
|
2806
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
2807
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2767
2808
|
} | {
|
|
2768
2809
|
type: "source_component";
|
|
2769
2810
|
name: string;
|
|
@@ -2835,6 +2876,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2835
2876
|
are_pins_interchangeable?: boolean | undefined;
|
|
2836
2877
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2837
2878
|
load_capacitance?: number | undefined;
|
|
2879
|
+
pin_variant?: "two_pin" | "four_pin" | undefined;
|
|
2838
2880
|
} | {
|
|
2839
2881
|
type: "source_component";
|
|
2840
2882
|
name: string;
|
|
@@ -4768,6 +4810,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4768
4810
|
is_connected?: boolean | undefined;
|
|
4769
4811
|
has_input_arrow?: boolean | undefined;
|
|
4770
4812
|
has_output_arrow?: boolean | undefined;
|
|
4813
|
+
is_drawn_with_inversion_circle?: boolean | undefined;
|
|
4771
4814
|
} | {
|
|
4772
4815
|
type: "schematic_trace";
|
|
4773
4816
|
schematic_trace_id: string;
|
|
@@ -4799,6 +4842,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4799
4842
|
}[];
|
|
4800
4843
|
schematic_component_id: string;
|
|
4801
4844
|
subcircuit_id?: string | undefined;
|
|
4845
|
+
stroke_width?: number | null | undefined;
|
|
4802
4846
|
is_filled?: boolean | undefined;
|
|
4803
4847
|
fill_color?: "red" | "blue" | undefined;
|
|
4804
4848
|
} | {
|