@tscircuit/props 0.0.388 → 0.0.389
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 +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/via.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -49771,6 +49771,7 @@ interface ViaProps extends CommonLayoutProps {
|
|
|
49771
49771
|
holeDiameter: number | string;
|
|
49772
49772
|
outerDiameter: number | string;
|
|
49773
49773
|
connectsTo?: string | string[];
|
|
49774
|
+
netIsAssignable?: boolean;
|
|
49774
49775
|
}
|
|
49775
49776
|
declare const viaProps: z.ZodObject<{
|
|
49776
49777
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -49860,6 +49861,7 @@ declare const viaProps: z.ZodObject<{
|
|
|
49860
49861
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
49861
49862
|
outerDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
49862
49863
|
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
49864
|
+
netIsAssignable: z.ZodOptional<z.ZodBoolean>;
|
|
49863
49865
|
}, "strip", z.ZodTypeAny, {
|
|
49864
49866
|
holeDiameter: number;
|
|
49865
49867
|
outerDiameter: number;
|
|
@@ -49903,6 +49905,7 @@ declare const viaProps: z.ZodObject<{
|
|
|
49903
49905
|
schRelative?: boolean | undefined;
|
|
49904
49906
|
name?: string | undefined;
|
|
49905
49907
|
connectsTo?: string | string[] | undefined;
|
|
49908
|
+
netIsAssignable?: boolean | undefined;
|
|
49906
49909
|
}, {
|
|
49907
49910
|
holeDiameter: string | number;
|
|
49908
49911
|
outerDiameter: string | number;
|
|
@@ -49952,6 +49955,7 @@ declare const viaProps: z.ZodObject<{
|
|
|
49952
49955
|
schRelative?: boolean | undefined;
|
|
49953
49956
|
name?: string | undefined;
|
|
49954
49957
|
connectsTo?: string | string[] | undefined;
|
|
49958
|
+
netIsAssignable?: boolean | undefined;
|
|
49955
49959
|
}>;
|
|
49956
49960
|
type InferredViaProps = z.input<typeof viaProps>;
|
|
49957
49961
|
|
package/dist/index.js
CHANGED
|
@@ -1648,7 +1648,8 @@ var viaProps = commonLayoutProps.extend({
|
|
|
1648
1648
|
toLayer: layer_ref5,
|
|
1649
1649
|
holeDiameter: distance19,
|
|
1650
1650
|
outerDiameter: distance19,
|
|
1651
|
-
connectsTo: z72.string().or(z72.array(z72.string())).optional()
|
|
1651
|
+
connectsTo: z72.string().or(z72.array(z72.string())).optional(),
|
|
1652
|
+
netIsAssignable: z72.boolean().optional()
|
|
1652
1653
|
});
|
|
1653
1654
|
expectTypesMatch(true);
|
|
1654
1655
|
|