@tscircuit/eval 0.0.460 → 0.0.462
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 -2
- package/dist/lib/index.d.ts +44 -2
- package/dist/webworker/entrypoint.js +136 -136
- package/package.json +6 -6
package/dist/eval/index.d.ts
CHANGED
|
@@ -142,8 +142,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
142
142
|
source_component_id?: string | undefined;
|
|
143
143
|
subcircuit_id?: string | undefined;
|
|
144
144
|
port_hints?: string[] | undefined;
|
|
145
|
-
source_group_id?: string | undefined;
|
|
146
145
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
146
|
+
source_group_id?: string | undefined;
|
|
147
147
|
pin_number?: number | undefined;
|
|
148
148
|
} | {
|
|
149
149
|
type: "source_component";
|
|
@@ -833,6 +833,25 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
833
833
|
ccw_rotation: number;
|
|
834
834
|
subcircuit_id?: string | undefined;
|
|
835
835
|
pcb_group_id?: string | undefined;
|
|
836
|
+
} | {
|
|
837
|
+
x: number;
|
|
838
|
+
y: number;
|
|
839
|
+
type: "pcb_hole";
|
|
840
|
+
pcb_hole_id: string;
|
|
841
|
+
hole_shape: "circle";
|
|
842
|
+
hole_diameter: number;
|
|
843
|
+
subcircuit_id?: string | undefined;
|
|
844
|
+
pcb_group_id?: string | undefined;
|
|
845
|
+
} | {
|
|
846
|
+
x: number;
|
|
847
|
+
y: number;
|
|
848
|
+
type: "pcb_hole";
|
|
849
|
+
pcb_hole_id: string;
|
|
850
|
+
hole_shape: "rect";
|
|
851
|
+
hole_width: number;
|
|
852
|
+
hole_height: number;
|
|
853
|
+
subcircuit_id?: string | undefined;
|
|
854
|
+
pcb_group_id?: string | undefined;
|
|
836
855
|
} | {
|
|
837
856
|
message: string;
|
|
838
857
|
type: "pcb_missing_footprint_error";
|
|
@@ -1065,6 +1084,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1065
1084
|
pcb_group_id?: string | undefined;
|
|
1066
1085
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1067
1086
|
pcb_trace_id?: string | undefined;
|
|
1087
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
1068
1088
|
net_is_assignable?: boolean | undefined;
|
|
1069
1089
|
net_assigned?: boolean | undefined;
|
|
1070
1090
|
} | {
|
|
@@ -1243,6 +1263,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1243
1263
|
width?: number | undefined;
|
|
1244
1264
|
height?: number | undefined;
|
|
1245
1265
|
subcircuit_id?: string | undefined;
|
|
1266
|
+
shape?: "rect" | "polygon" | undefined;
|
|
1246
1267
|
pcb_panel_id?: string | undefined;
|
|
1247
1268
|
is_subcircuit?: boolean | undefined;
|
|
1248
1269
|
outline?: {
|
|
@@ -2298,8 +2319,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2298
2319
|
source_component_id?: string | undefined;
|
|
2299
2320
|
subcircuit_id?: string | undefined;
|
|
2300
2321
|
port_hints?: string[] | undefined;
|
|
2301
|
-
source_group_id?: string | undefined;
|
|
2302
2322
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
2323
|
+
source_group_id?: string | undefined;
|
|
2303
2324
|
pin_number?: number | undefined;
|
|
2304
2325
|
} | {
|
|
2305
2326
|
type: "source_component";
|
|
@@ -2989,6 +3010,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2989
3010
|
ccw_rotation: number;
|
|
2990
3011
|
subcircuit_id?: string | undefined;
|
|
2991
3012
|
pcb_group_id?: string | undefined;
|
|
3013
|
+
} | {
|
|
3014
|
+
x: number;
|
|
3015
|
+
y: number;
|
|
3016
|
+
type: "pcb_hole";
|
|
3017
|
+
pcb_hole_id: string;
|
|
3018
|
+
hole_shape: "circle";
|
|
3019
|
+
hole_diameter: number;
|
|
3020
|
+
subcircuit_id?: string | undefined;
|
|
3021
|
+
pcb_group_id?: string | undefined;
|
|
3022
|
+
} | {
|
|
3023
|
+
x: number;
|
|
3024
|
+
y: number;
|
|
3025
|
+
type: "pcb_hole";
|
|
3026
|
+
pcb_hole_id: string;
|
|
3027
|
+
hole_shape: "rect";
|
|
3028
|
+
hole_width: number;
|
|
3029
|
+
hole_height: number;
|
|
3030
|
+
subcircuit_id?: string | undefined;
|
|
3031
|
+
pcb_group_id?: string | undefined;
|
|
2992
3032
|
} | {
|
|
2993
3033
|
message: string;
|
|
2994
3034
|
type: "pcb_missing_footprint_error";
|
|
@@ -3221,6 +3261,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3221
3261
|
pcb_group_id?: string | undefined;
|
|
3222
3262
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3223
3263
|
pcb_trace_id?: string | undefined;
|
|
3264
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
3224
3265
|
net_is_assignable?: boolean | undefined;
|
|
3225
3266
|
net_assigned?: boolean | undefined;
|
|
3226
3267
|
} | {
|
|
@@ -3399,6 +3440,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3399
3440
|
width?: number | undefined;
|
|
3400
3441
|
height?: number | undefined;
|
|
3401
3442
|
subcircuit_id?: string | undefined;
|
|
3443
|
+
shape?: "rect" | "polygon" | undefined;
|
|
3402
3444
|
pcb_panel_id?: string | undefined;
|
|
3403
3445
|
is_subcircuit?: boolean | undefined;
|
|
3404
3446
|
outline?: {
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -158,8 +158,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
158
158
|
source_component_id?: string | undefined;
|
|
159
159
|
subcircuit_id?: string | undefined;
|
|
160
160
|
port_hints?: string[] | undefined;
|
|
161
|
-
source_group_id?: string | undefined;
|
|
162
161
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
162
|
+
source_group_id?: string | undefined;
|
|
163
163
|
pin_number?: number | undefined;
|
|
164
164
|
} | {
|
|
165
165
|
type: "source_component";
|
|
@@ -849,6 +849,25 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
849
849
|
ccw_rotation: number;
|
|
850
850
|
subcircuit_id?: string | undefined;
|
|
851
851
|
pcb_group_id?: string | undefined;
|
|
852
|
+
} | {
|
|
853
|
+
x: number;
|
|
854
|
+
y: number;
|
|
855
|
+
type: "pcb_hole";
|
|
856
|
+
pcb_hole_id: string;
|
|
857
|
+
hole_shape: "circle";
|
|
858
|
+
hole_diameter: number;
|
|
859
|
+
subcircuit_id?: string | undefined;
|
|
860
|
+
pcb_group_id?: string | undefined;
|
|
861
|
+
} | {
|
|
862
|
+
x: number;
|
|
863
|
+
y: number;
|
|
864
|
+
type: "pcb_hole";
|
|
865
|
+
pcb_hole_id: string;
|
|
866
|
+
hole_shape: "rect";
|
|
867
|
+
hole_width: number;
|
|
868
|
+
hole_height: number;
|
|
869
|
+
subcircuit_id?: string | undefined;
|
|
870
|
+
pcb_group_id?: string | undefined;
|
|
852
871
|
} | {
|
|
853
872
|
message: string;
|
|
854
873
|
type: "pcb_missing_footprint_error";
|
|
@@ -1081,6 +1100,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1081
1100
|
pcb_group_id?: string | undefined;
|
|
1082
1101
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1083
1102
|
pcb_trace_id?: string | undefined;
|
|
1103
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
1084
1104
|
net_is_assignable?: boolean | undefined;
|
|
1085
1105
|
net_assigned?: boolean | undefined;
|
|
1086
1106
|
} | {
|
|
@@ -1259,6 +1279,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1259
1279
|
width?: number | undefined;
|
|
1260
1280
|
height?: number | undefined;
|
|
1261
1281
|
subcircuit_id?: string | undefined;
|
|
1282
|
+
shape?: "rect" | "polygon" | undefined;
|
|
1262
1283
|
pcb_panel_id?: string | undefined;
|
|
1263
1284
|
is_subcircuit?: boolean | undefined;
|
|
1264
1285
|
outline?: {
|
|
@@ -2314,8 +2335,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2314
2335
|
source_component_id?: string | undefined;
|
|
2315
2336
|
subcircuit_id?: string | undefined;
|
|
2316
2337
|
port_hints?: string[] | undefined;
|
|
2317
|
-
source_group_id?: string | undefined;
|
|
2318
2338
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
2339
|
+
source_group_id?: string | undefined;
|
|
2319
2340
|
pin_number?: number | undefined;
|
|
2320
2341
|
} | {
|
|
2321
2342
|
type: "source_component";
|
|
@@ -3005,6 +3026,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3005
3026
|
ccw_rotation: number;
|
|
3006
3027
|
subcircuit_id?: string | undefined;
|
|
3007
3028
|
pcb_group_id?: string | undefined;
|
|
3029
|
+
} | {
|
|
3030
|
+
x: number;
|
|
3031
|
+
y: number;
|
|
3032
|
+
type: "pcb_hole";
|
|
3033
|
+
pcb_hole_id: string;
|
|
3034
|
+
hole_shape: "circle";
|
|
3035
|
+
hole_diameter: number;
|
|
3036
|
+
subcircuit_id?: string | undefined;
|
|
3037
|
+
pcb_group_id?: string | undefined;
|
|
3038
|
+
} | {
|
|
3039
|
+
x: number;
|
|
3040
|
+
y: number;
|
|
3041
|
+
type: "pcb_hole";
|
|
3042
|
+
pcb_hole_id: string;
|
|
3043
|
+
hole_shape: "rect";
|
|
3044
|
+
hole_width: number;
|
|
3045
|
+
hole_height: number;
|
|
3046
|
+
subcircuit_id?: string | undefined;
|
|
3047
|
+
pcb_group_id?: string | undefined;
|
|
3008
3048
|
} | {
|
|
3009
3049
|
message: string;
|
|
3010
3050
|
type: "pcb_missing_footprint_error";
|
|
@@ -3237,6 +3277,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3237
3277
|
pcb_group_id?: string | undefined;
|
|
3238
3278
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3239
3279
|
pcb_trace_id?: string | undefined;
|
|
3280
|
+
subcircuit_connectivity_map_key?: string | undefined;
|
|
3240
3281
|
net_is_assignable?: boolean | undefined;
|
|
3241
3282
|
net_assigned?: boolean | undefined;
|
|
3242
3283
|
} | {
|
|
@@ -3415,6 +3456,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3415
3456
|
width?: number | undefined;
|
|
3416
3457
|
height?: number | undefined;
|
|
3417
3458
|
subcircuit_id?: string | undefined;
|
|
3459
|
+
shape?: "rect" | "polygon" | undefined;
|
|
3418
3460
|
pcb_panel_id?: string | undefined;
|
|
3419
3461
|
is_subcircuit?: boolean | undefined;
|
|
3420
3462
|
outline?: {
|