@tscircuit/circuit-json-util 0.0.50 → 0.0.51
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 +7 -1
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5586,4 +5586,10 @@ declare const findBoundsAndCenter: (elements: AnyCircuitElement[]) => {
|
|
|
5586
5586
|
|
|
5587
5587
|
declare const getPrimaryId: (element: AnyCircuitElement) => string;
|
|
5588
5588
|
|
|
5589
|
-
|
|
5589
|
+
type SubtreeOptions = {
|
|
5590
|
+
subcircuit_id?: string;
|
|
5591
|
+
source_group_id?: string;
|
|
5592
|
+
};
|
|
5593
|
+
declare function buildSubtree(soup: AnyCircuitElement[], opts: SubtreeOptions): AnyCircuitElement[];
|
|
5594
|
+
|
|
5595
|
+
export { type CircuitJsonInputUtilObjects, type CircuitJsonOps, type CircuitJsonUtilObjects, type CircuitJsonUtilOptions, type GetCircuitJsonUtilFn, type GetIndexedCircuitJsonUtilFn, type IndexedCircuitJsonUtilOptions, type SubtreeOptions, applySelector, applySelectorAST, buildSubtree, cju, cjuIndexed, directionToVec, findBoundsAndCenter, getBoundsOfPcbElements, getElementById, getElementId, getPrimaryId, getReadableNameForElement, getReadableNameForPcbPort, getReadableNameForPcbSmtpad, getReadableNameForPcbTrace, oppositeDirection, oppositeSide, rotateClockwise, rotateCounterClockwise, rotateDirection, su, transformPCBElement, transformPCBElements, transformSchematicElement, transformSchematicElements, vecToDirection };
|
package/dist/index.js
CHANGED