@tscircuit/props 0.0.399 → 0.0.400
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 +4 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/footprint.ts +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -36340,6 +36340,10 @@ interface FootprintProps {
|
|
|
36340
36340
|
* "top" and this is most intuitive.
|
|
36341
36341
|
*/
|
|
36342
36342
|
originalLayer?: LayerRef;
|
|
36343
|
+
/**
|
|
36344
|
+
* Serialized circuit JSON describing a precompiled footprint
|
|
36345
|
+
*/
|
|
36346
|
+
circuitJson?: any[];
|
|
36343
36347
|
}
|
|
36344
36348
|
declare const footprintProps: z.ZodObject<{
|
|
36345
36349
|
children: z.ZodOptional<z.ZodAny>;
|
|
@@ -36352,11 +36356,14 @@ declare const footprintProps: z.ZodObject<{
|
|
|
36352
36356
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
36353
36357
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
36354
36358
|
}>>>;
|
|
36359
|
+
circuitJson: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
36355
36360
|
}, "strip", z.ZodTypeAny, {
|
|
36356
36361
|
children?: any;
|
|
36362
|
+
circuitJson?: any[] | undefined;
|
|
36357
36363
|
originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
36358
36364
|
}, {
|
|
36359
36365
|
children?: any;
|
|
36366
|
+
circuitJson?: any[] | undefined;
|
|
36360
36367
|
originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
36361
36368
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
36362
36369
|
} | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1254,7 +1254,8 @@ import { layer_ref as layer_ref4 } from "circuit-json";
|
|
|
1254
1254
|
import { z as z52 } from "zod";
|
|
1255
1255
|
var footprintProps = z52.object({
|
|
1256
1256
|
children: z52.any().optional(),
|
|
1257
|
-
originalLayer: layer_ref4.default("top").optional()
|
|
1257
|
+
originalLayer: layer_ref4.default("top").optional(),
|
|
1258
|
+
circuitJson: z52.array(z52.any()).optional()
|
|
1258
1259
|
});
|
|
1259
1260
|
expectTypesMatch(true);
|
|
1260
1261
|
|