@tscircuit/props 0.0.472 → 0.0.473
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 +3 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/components/port.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -167644,6 +167644,7 @@ declare const portProps: z.ZodObject<{
|
|
|
167644
167644
|
} & {
|
|
167645
167645
|
name: z.ZodString;
|
|
167646
167646
|
pinNumber: z.ZodOptional<z.ZodNumber>;
|
|
167647
|
+
schStemLength: z.ZodOptional<z.ZodNumber>;
|
|
167647
167648
|
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
167648
167649
|
direction: z.ZodEnum<["up", "down", "left", "right"]>;
|
|
167649
167650
|
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -167719,6 +167720,7 @@ declare const portProps: z.ZodObject<{
|
|
|
167719
167720
|
schRelative?: boolean | undefined;
|
|
167720
167721
|
connectsTo?: string | string[] | undefined;
|
|
167721
167722
|
pinNumber?: number | undefined;
|
|
167723
|
+
schStemLength?: number | undefined;
|
|
167722
167724
|
aliases?: string[] | undefined;
|
|
167723
167725
|
kicadPinMetadata?: {
|
|
167724
167726
|
electricalType?: "input" | "output" | "bidirectional" | "tri_state" | "passive" | "free" | "unspecified" | "power_in" | "power_out" | "open_collector" | "open_emitter" | "no_connect" | undefined;
|
|
@@ -167782,6 +167784,7 @@ declare const portProps: z.ZodObject<{
|
|
|
167782
167784
|
schRelative?: boolean | undefined;
|
|
167783
167785
|
connectsTo?: string | string[] | undefined;
|
|
167784
167786
|
pinNumber?: number | undefined;
|
|
167787
|
+
schStemLength?: number | undefined;
|
|
167785
167788
|
aliases?: string[] | undefined;
|
|
167786
167789
|
kicadPinMetadata?: {
|
|
167787
167790
|
electricalType?: "input" | "output" | "bidirectional" | "tri_state" | "passive" | "free" | "unspecified" | "power_in" | "power_out" | "open_collector" | "open_emitter" | "no_connect" | undefined;
|
package/dist/index.js
CHANGED
|
@@ -2622,6 +2622,7 @@ import { z as z116 } from "zod";
|
|
|
2622
2622
|
var portProps = commonLayoutProps.extend({
|
|
2623
2623
|
name: z116.string(),
|
|
2624
2624
|
pinNumber: z116.number().optional(),
|
|
2625
|
+
schStemLength: z116.number().optional(),
|
|
2625
2626
|
aliases: z116.array(z116.string()).optional(),
|
|
2626
2627
|
direction,
|
|
2627
2628
|
connectsTo: z116.string().or(z116.array(z116.string())).optional(),
|