@tscircuit/props 0.0.431 → 0.0.432

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/README.md CHANGED
@@ -840,6 +840,11 @@ export interface InductorProps<
840
840
  ```ts
841
841
  export interface InterconnectProps extends CommonComponentProps {
842
842
  standard?: "TSC0001_36P_XALT_2025_11" | "0805" | "0603" | "1206";
843
+ /**
844
+ * Groups of pins that are internally connected
845
+ * e.g., [["1","2"], ["2","3"]]
846
+ */
847
+ internallyConnectedPins?: (string | number)[][];
843
848
  }
844
849
  ```
845
850
 
package/dist/index.d.ts CHANGED
@@ -25857,6 +25857,11 @@ declare const connectorProps: z.ZodObject<{
25857
25857
 
25858
25858
  interface InterconnectProps extends CommonComponentProps {
25859
25859
  standard?: "TSC0001_36P_XALT_2025_11" | "0805" | "0603" | "1206";
25860
+ /**
25861
+ * Groups of pins that are internally connected
25862
+ * e.g., [["1","2"], ["2","3"]]
25863
+ */
25864
+ internallyConnectedPins?: (string | number)[][];
25860
25865
  }
25861
25866
  declare const interconnectProps: z.ZodObject<{
25862
25867
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -26567,6 +26572,7 @@ declare const interconnectProps: z.ZodObject<{
26567
26572
  }>>>;
26568
26573
  } & {
26569
26574
  standard: z.ZodOptional<z.ZodEnum<["TSC0001_36P_XALT_2025_11", "0805", "0603", "1206"]>>;
26575
+ internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">, "many">>;
26570
26576
  }, "strip", z.ZodTypeAny, {
26571
26577
  name: string;
26572
26578
  symbol?: SymbolProp | undefined;
@@ -26769,6 +26775,7 @@ declare const interconnectProps: z.ZodObject<{
26769
26775
  doNotPlace?: boolean | undefined;
26770
26776
  obstructsWithinBounds?: boolean | undefined;
26771
26777
  showAsTranslucentModel?: boolean | undefined;
26778
+ internallyConnectedPins?: (string | number)[][] | undefined;
26772
26779
  standard?: "0603" | "0805" | "1206" | "TSC0001_36P_XALT_2025_11" | undefined;
26773
26780
  }, {
26774
26781
  name: string;
@@ -26974,6 +26981,7 @@ declare const interconnectProps: z.ZodObject<{
26974
26981
  doNotPlace?: boolean | undefined;
26975
26982
  obstructsWithinBounds?: boolean | undefined;
26976
26983
  showAsTranslucentModel?: boolean | undefined;
26984
+ internallyConnectedPins?: (string | number)[][] | undefined;
26977
26985
  standard?: "0603" | "0805" | "1206" | "TSC0001_36P_XALT_2025_11" | undefined;
26978
26986
  }>;
26979
26987
 
package/dist/index.js CHANGED
@@ -902,7 +902,8 @@ expectTypesMatch(true);
902
902
  // lib/components/interconnect.ts
903
903
  import { z as z39 } from "zod";
904
904
  var interconnectProps = commonComponentProps.extend({
905
- standard: z39.enum(["TSC0001_36P_XALT_2025_11", "0805", "0603", "1206"]).optional()
905
+ standard: z39.enum(["TSC0001_36P_XALT_2025_11", "0805", "0603", "1206"]).optional(),
906
+ internallyConnectedPins: z39.array(z39.array(z39.union([z39.string(), z39.number()]))).optional()
906
907
  });
907
908
  expectTypesMatch(true);
908
909