@tscircuit/props 0.0.389 → 0.0.390

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
@@ -847,6 +847,8 @@ export interface NetProps {
847
847
  name: string;
848
848
  connectsTo?: string | string[];
849
849
  highlightColor?: string;
850
+ isPowerNet?: boolean;
851
+ isGroundNet?: boolean;
850
852
  }
851
853
  ```
852
854
 
package/dist/index.d.ts CHANGED
@@ -32852,19 +32852,27 @@ interface NetProps {
32852
32852
  name: string;
32853
32853
  connectsTo?: string | string[];
32854
32854
  highlightColor?: string;
32855
+ isPowerNet?: boolean;
32856
+ isGroundNet?: boolean;
32855
32857
  }
32856
32858
  declare const netProps: z.ZodObject<{
32857
32859
  name: z.ZodString;
32858
32860
  connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
32859
32861
  highlightColor: z.ZodOptional<z.ZodString>;
32862
+ isPowerNet: z.ZodOptional<z.ZodBoolean>;
32863
+ isGroundNet: z.ZodOptional<z.ZodBoolean>;
32860
32864
  }, "strip", z.ZodTypeAny, {
32861
32865
  name: string;
32862
32866
  highlightColor?: string | undefined;
32863
32867
  connectsTo?: string | string[] | undefined;
32868
+ isPowerNet?: boolean | undefined;
32869
+ isGroundNet?: boolean | undefined;
32864
32870
  }, {
32865
32871
  name: string;
32866
32872
  highlightColor?: string | undefined;
32867
32873
  connectsTo?: string | string[] | undefined;
32874
+ isPowerNet?: boolean | undefined;
32875
+ isGroundNet?: boolean | undefined;
32868
32876
  }>;
32869
32877
 
32870
32878
  interface ConstrainedLayoutProps {
package/dist/index.js CHANGED
@@ -1007,7 +1007,9 @@ import { z as z44 } from "zod";
1007
1007
  var netProps = z44.object({
1008
1008
  name: z44.string(),
1009
1009
  connectsTo: z44.string().or(z44.array(z44.string())).optional(),
1010
- highlightColor: z44.string().optional()
1010
+ highlightColor: z44.string().optional(),
1011
+ isPowerNet: z44.boolean().optional(),
1012
+ isGroundNet: z44.boolean().optional()
1011
1013
  });
1012
1014
  expectTypesMatch(true);
1013
1015