@tscircuit/eval 0.0.532 → 0.0.534
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 +36 -0
- package/dist/lib/index.d.ts +36 -0
- package/dist/webworker/entrypoint.js +178 -178
- package/package.json +4 -4
package/dist/eval/index.d.ts
CHANGED
|
@@ -155,6 +155,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
155
155
|
source_group_id?: string | undefined;
|
|
156
156
|
pin_number?: number | undefined;
|
|
157
157
|
must_be_connected?: boolean | undefined;
|
|
158
|
+
} | {
|
|
159
|
+
type: "source_component_internal_connection";
|
|
160
|
+
source_component_id: string;
|
|
161
|
+
source_component_internal_connection_id: string;
|
|
162
|
+
source_port_ids: string[];
|
|
158
163
|
} | {
|
|
159
164
|
type: "source_component";
|
|
160
165
|
name: string;
|
|
@@ -438,6 +443,18 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
438
443
|
display_value?: string | undefined;
|
|
439
444
|
are_pins_interchangeable?: boolean | undefined;
|
|
440
445
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
446
|
+
} | {
|
|
447
|
+
type: "source_component";
|
|
448
|
+
name: string;
|
|
449
|
+
source_component_id: string;
|
|
450
|
+
ftype: "interconnect";
|
|
451
|
+
subcircuit_id?: string | undefined;
|
|
452
|
+
source_group_id?: string | undefined;
|
|
453
|
+
manufacturer_part_number?: string | undefined;
|
|
454
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
455
|
+
display_value?: string | undefined;
|
|
456
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
457
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
441
458
|
} | {
|
|
442
459
|
type: "source_project_metadata";
|
|
443
460
|
name?: string | undefined;
|
|
@@ -943,6 +960,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
943
960
|
pcb_component_id?: string | undefined;
|
|
944
961
|
subcircuit_id?: string | undefined;
|
|
945
962
|
pcb_group_id?: string | undefined;
|
|
963
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
946
964
|
soldermask_margin?: number | undefined;
|
|
947
965
|
port_hints?: string[] | undefined;
|
|
948
966
|
pcb_port_id?: string | undefined;
|
|
@@ -2440,6 +2458,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2440
2458
|
source_group_id?: string | undefined;
|
|
2441
2459
|
pin_number?: number | undefined;
|
|
2442
2460
|
must_be_connected?: boolean | undefined;
|
|
2461
|
+
} | {
|
|
2462
|
+
type: "source_component_internal_connection";
|
|
2463
|
+
source_component_id: string;
|
|
2464
|
+
source_component_internal_connection_id: string;
|
|
2465
|
+
source_port_ids: string[];
|
|
2443
2466
|
} | {
|
|
2444
2467
|
type: "source_component";
|
|
2445
2468
|
name: string;
|
|
@@ -2723,6 +2746,18 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2723
2746
|
display_value?: string | undefined;
|
|
2724
2747
|
are_pins_interchangeable?: boolean | undefined;
|
|
2725
2748
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2749
|
+
} | {
|
|
2750
|
+
type: "source_component";
|
|
2751
|
+
name: string;
|
|
2752
|
+
source_component_id: string;
|
|
2753
|
+
ftype: "interconnect";
|
|
2754
|
+
subcircuit_id?: string | undefined;
|
|
2755
|
+
source_group_id?: string | undefined;
|
|
2756
|
+
manufacturer_part_number?: string | undefined;
|
|
2757
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2758
|
+
display_value?: string | undefined;
|
|
2759
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
2760
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2726
2761
|
} | {
|
|
2727
2762
|
type: "source_project_metadata";
|
|
2728
2763
|
name?: string | undefined;
|
|
@@ -3228,6 +3263,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3228
3263
|
pcb_component_id?: string | undefined;
|
|
3229
3264
|
subcircuit_id?: string | undefined;
|
|
3230
3265
|
pcb_group_id?: string | undefined;
|
|
3266
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
3231
3267
|
soldermask_margin?: number | undefined;
|
|
3232
3268
|
port_hints?: string[] | undefined;
|
|
3233
3269
|
pcb_port_id?: string | undefined;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -171,6 +171,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
171
171
|
source_group_id?: string | undefined;
|
|
172
172
|
pin_number?: number | undefined;
|
|
173
173
|
must_be_connected?: boolean | undefined;
|
|
174
|
+
} | {
|
|
175
|
+
type: "source_component_internal_connection";
|
|
176
|
+
source_component_id: string;
|
|
177
|
+
source_component_internal_connection_id: string;
|
|
178
|
+
source_port_ids: string[];
|
|
174
179
|
} | {
|
|
175
180
|
type: "source_component";
|
|
176
181
|
name: string;
|
|
@@ -454,6 +459,18 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
454
459
|
display_value?: string | undefined;
|
|
455
460
|
are_pins_interchangeable?: boolean | undefined;
|
|
456
461
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
462
|
+
} | {
|
|
463
|
+
type: "source_component";
|
|
464
|
+
name: string;
|
|
465
|
+
source_component_id: string;
|
|
466
|
+
ftype: "interconnect";
|
|
467
|
+
subcircuit_id?: string | undefined;
|
|
468
|
+
source_group_id?: string | undefined;
|
|
469
|
+
manufacturer_part_number?: string | undefined;
|
|
470
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
471
|
+
display_value?: string | undefined;
|
|
472
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
473
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
457
474
|
} | {
|
|
458
475
|
type: "source_project_metadata";
|
|
459
476
|
name?: string | undefined;
|
|
@@ -959,6 +976,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
959
976
|
pcb_component_id?: string | undefined;
|
|
960
977
|
subcircuit_id?: string | undefined;
|
|
961
978
|
pcb_group_id?: string | undefined;
|
|
979
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
962
980
|
soldermask_margin?: number | undefined;
|
|
963
981
|
port_hints?: string[] | undefined;
|
|
964
982
|
pcb_port_id?: string | undefined;
|
|
@@ -2456,6 +2474,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2456
2474
|
source_group_id?: string | undefined;
|
|
2457
2475
|
pin_number?: number | undefined;
|
|
2458
2476
|
must_be_connected?: boolean | undefined;
|
|
2477
|
+
} | {
|
|
2478
|
+
type: "source_component_internal_connection";
|
|
2479
|
+
source_component_id: string;
|
|
2480
|
+
source_component_internal_connection_id: string;
|
|
2481
|
+
source_port_ids: string[];
|
|
2459
2482
|
} | {
|
|
2460
2483
|
type: "source_component";
|
|
2461
2484
|
name: string;
|
|
@@ -2739,6 +2762,18 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2739
2762
|
display_value?: string | undefined;
|
|
2740
2763
|
are_pins_interchangeable?: boolean | undefined;
|
|
2741
2764
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2765
|
+
} | {
|
|
2766
|
+
type: "source_component";
|
|
2767
|
+
name: string;
|
|
2768
|
+
source_component_id: string;
|
|
2769
|
+
ftype: "interconnect";
|
|
2770
|
+
subcircuit_id?: string | undefined;
|
|
2771
|
+
source_group_id?: string | undefined;
|
|
2772
|
+
manufacturer_part_number?: string | undefined;
|
|
2773
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2774
|
+
display_value?: string | undefined;
|
|
2775
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
2776
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2742
2777
|
} | {
|
|
2743
2778
|
type: "source_project_metadata";
|
|
2744
2779
|
name?: string | undefined;
|
|
@@ -3244,6 +3279,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3244
3279
|
pcb_component_id?: string | undefined;
|
|
3245
3280
|
subcircuit_id?: string | undefined;
|
|
3246
3281
|
pcb_group_id?: string | undefined;
|
|
3282
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
3247
3283
|
soldermask_margin?: number | undefined;
|
|
3248
3284
|
port_hints?: string[] | undefined;
|
|
3249
3285
|
pcb_port_id?: string | undefined;
|