@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.
- package/dist/blob-url.js +1 -1
- package/dist/eval/index.d.ts +26 -10
- package/dist/eval/index.js +8 -4
- package/dist/lib/index.d.ts +26 -10
- package/dist/lib/index.js +8 -4
- package/dist/webworker/entrypoint.js +128 -128
- package/package.json +8 -8
package/dist/eval/index.d.ts
CHANGED
|
@@ -1227,15 +1227,20 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1227
1227
|
num_layers: number;
|
|
1228
1228
|
material: "fr4" | "fr1";
|
|
1229
1229
|
subcircuit_id?: string | undefined;
|
|
1230
|
+
pcb_panel_id?: string | undefined;
|
|
1230
1231
|
is_subcircuit?: boolean | undefined;
|
|
1231
1232
|
outline?: {
|
|
1232
1233
|
x: number;
|
|
1233
1234
|
y: number;
|
|
1234
1235
|
}[] | undefined;
|
|
1235
1236
|
} | {
|
|
1236
|
-
type: "
|
|
1237
|
+
type: "pcb_panel";
|
|
1237
1238
|
width: number;
|
|
1238
1239
|
height: number;
|
|
1240
|
+
pcb_panel_id: string;
|
|
1241
|
+
covered_with_solder_mask: boolean;
|
|
1242
|
+
} | {
|
|
1243
|
+
type: "pcb_group";
|
|
1239
1244
|
center: {
|
|
1240
1245
|
x: number;
|
|
1241
1246
|
y: number;
|
|
@@ -1244,9 +1249,15 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1244
1249
|
pcb_component_ids: string[];
|
|
1245
1250
|
source_group_id: string;
|
|
1246
1251
|
description?: string | undefined;
|
|
1252
|
+
width?: number | undefined;
|
|
1253
|
+
height?: number | undefined;
|
|
1247
1254
|
name?: string | undefined;
|
|
1248
1255
|
subcircuit_id?: string | undefined;
|
|
1249
1256
|
is_subcircuit?: boolean | undefined;
|
|
1257
|
+
outline?: {
|
|
1258
|
+
x: number;
|
|
1259
|
+
y: number;
|
|
1260
|
+
}[] | undefined;
|
|
1250
1261
|
anchor_position?: {
|
|
1251
1262
|
x: number;
|
|
1252
1263
|
y: number;
|
|
@@ -1742,13 +1753,9 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1742
1753
|
y: number;
|
|
1743
1754
|
};
|
|
1744
1755
|
layer: "top" | "bottom";
|
|
1745
|
-
stroke_width: number;
|
|
1746
1756
|
pcb_courtyard_rect_id: string;
|
|
1747
1757
|
subcircuit_id?: string | undefined;
|
|
1748
1758
|
pcb_group_id?: string | undefined;
|
|
1749
|
-
is_filled?: boolean | undefined;
|
|
1750
|
-
has_stroke?: boolean | undefined;
|
|
1751
|
-
is_stroke_dashed?: boolean | undefined;
|
|
1752
1759
|
color?: string | undefined;
|
|
1753
1760
|
} | {
|
|
1754
1761
|
type: "pcb_courtyard_outline";
|
|
@@ -2166,6 +2173,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2166
2173
|
} | {
|
|
2167
2174
|
type: "simulation_switch";
|
|
2168
2175
|
simulation_switch_id: string;
|
|
2176
|
+
source_component_id?: string | undefined;
|
|
2169
2177
|
closes_at?: number | undefined;
|
|
2170
2178
|
opens_at?: number | undefined;
|
|
2171
2179
|
starts_closed?: boolean | undefined;
|
|
@@ -3288,15 +3296,20 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3288
3296
|
num_layers: number;
|
|
3289
3297
|
material: "fr4" | "fr1";
|
|
3290
3298
|
subcircuit_id?: string | undefined;
|
|
3299
|
+
pcb_panel_id?: string | undefined;
|
|
3291
3300
|
is_subcircuit?: boolean | undefined;
|
|
3292
3301
|
outline?: {
|
|
3293
3302
|
x: number;
|
|
3294
3303
|
y: number;
|
|
3295
3304
|
}[] | undefined;
|
|
3296
3305
|
} | {
|
|
3297
|
-
type: "
|
|
3306
|
+
type: "pcb_panel";
|
|
3298
3307
|
width: number;
|
|
3299
3308
|
height: number;
|
|
3309
|
+
pcb_panel_id: string;
|
|
3310
|
+
covered_with_solder_mask: boolean;
|
|
3311
|
+
} | {
|
|
3312
|
+
type: "pcb_group";
|
|
3300
3313
|
center: {
|
|
3301
3314
|
x: number;
|
|
3302
3315
|
y: number;
|
|
@@ -3305,9 +3318,15 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3305
3318
|
pcb_component_ids: string[];
|
|
3306
3319
|
source_group_id: string;
|
|
3307
3320
|
description?: string | undefined;
|
|
3321
|
+
width?: number | undefined;
|
|
3322
|
+
height?: number | undefined;
|
|
3308
3323
|
name?: string | undefined;
|
|
3309
3324
|
subcircuit_id?: string | undefined;
|
|
3310
3325
|
is_subcircuit?: boolean | undefined;
|
|
3326
|
+
outline?: {
|
|
3327
|
+
x: number;
|
|
3328
|
+
y: number;
|
|
3329
|
+
}[] | undefined;
|
|
3311
3330
|
anchor_position?: {
|
|
3312
3331
|
x: number;
|
|
3313
3332
|
y: number;
|
|
@@ -3803,13 +3822,9 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3803
3822
|
y: number;
|
|
3804
3823
|
};
|
|
3805
3824
|
layer: "top" | "bottom";
|
|
3806
|
-
stroke_width: number;
|
|
3807
3825
|
pcb_courtyard_rect_id: string;
|
|
3808
3826
|
subcircuit_id?: string | undefined;
|
|
3809
3827
|
pcb_group_id?: string | undefined;
|
|
3810
|
-
is_filled?: boolean | undefined;
|
|
3811
|
-
has_stroke?: boolean | undefined;
|
|
3812
|
-
is_stroke_dashed?: boolean | undefined;
|
|
3813
3828
|
color?: string | undefined;
|
|
3814
3829
|
} | {
|
|
3815
3830
|
type: "pcb_courtyard_outline";
|
|
@@ -4227,6 +4242,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4227
4242
|
} | {
|
|
4228
4243
|
type: "simulation_switch";
|
|
4229
4244
|
simulation_switch_id: string;
|
|
4245
|
+
source_component_id?: string | undefined;
|
|
4230
4246
|
closes_at?: number | undefined;
|
|
4231
4247
|
opens_at?: number | undefined;
|
|
4232
4248
|
starts_closed?: boolean | undefined;
|