@tscircuit/core 0.0.1378 → 0.0.1380
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/index.d.ts +5 -2
- package/dist/index.js +2326 -2193
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -33,10 +33,11 @@ declare const SOLVERS: {
|
|
|
33
33
|
};
|
|
34
34
|
type SolverName = keyof typeof SOLVERS;
|
|
35
35
|
|
|
36
|
-
type SimplifiedPcbTrace = Omit<SimplifiedPcbTrace$1, "connection_name" | "route"> & {
|
|
36
|
+
type SimplifiedPcbTrace = Omit<SimplifiedPcbTrace$1, "connection_name" | "connectedTo" | "route"> & {
|
|
37
37
|
type: "pcb_trace";
|
|
38
38
|
pcb_trace_id: string;
|
|
39
39
|
connection_name?: string;
|
|
40
|
+
connectedTo?: string[];
|
|
40
41
|
route: Array<{
|
|
41
42
|
route_type: "wire";
|
|
42
43
|
x: number;
|
|
@@ -461,6 +462,7 @@ interface IGroup extends PrimitiveComponent {
|
|
|
461
462
|
interface TraceI extends PrimitiveComponent<typeof traceProps> {
|
|
462
463
|
source_trace_id: string | null;
|
|
463
464
|
subcircuit_connectivity_map_key: string | null;
|
|
465
|
+
_exposesSubcircuitConnection: boolean;
|
|
464
466
|
}
|
|
465
467
|
|
|
466
468
|
declare class Trace extends PrimitiveComponent<typeof traceProps> implements TraceI {
|
|
@@ -471,6 +473,7 @@ declare class Trace extends PrimitiveComponent<typeof traceProps> implements Tra
|
|
|
471
473
|
_inflatedPcbVias?: PcbVia$1[];
|
|
472
474
|
_portsRoutedOnPcb: Port[];
|
|
473
475
|
subcircuit_connectivity_map_key: string | null;
|
|
476
|
+
_exposesSubcircuitConnection: boolean;
|
|
474
477
|
_traceConnectionHash: string | null;
|
|
475
478
|
_couldNotFindPort?: boolean;
|
|
476
479
|
constructor(props: z.input<typeof traceProps>);
|
|
@@ -4028,7 +4031,7 @@ declare class Subcircuit extends Group<typeof subcircuitProps> implements Subcir
|
|
|
4028
4031
|
*/
|
|
4029
4032
|
doInitialRenderIsolatedSubcircuits(): void;
|
|
4030
4033
|
doInitialCreateNetsFromProps(): void;
|
|
4031
|
-
private
|
|
4034
|
+
private _createTracesForExposedConnections;
|
|
4032
4035
|
private _getNetNamesToExpose;
|
|
4033
4036
|
/**
|
|
4034
4037
|
* During this phase, we inflate the subcircuit circuit json into class
|