@tscircuit/props 0.0.510 → 0.0.511
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 +5 -5
- package/dist/index.js +1 -5
- package/dist/index.js.map +1 -1
- package/lib/components/footprint.ts +0 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -103794,8 +103794,8 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
103794
103794
|
}>]>;
|
|
103795
103795
|
type TraceProps = z.input<typeof traceProps>;
|
|
103796
103796
|
|
|
103797
|
-
type FootprintInsertionDirection = "from_above" | "from_left" | "from_right" | "from_front" | "from_back"
|
|
103798
|
-
declare const footprintInsertionDirection: z.ZodEnum<["from_above", "from_left", "from_right", "from_front", "from_back"
|
|
103797
|
+
type FootprintInsertionDirection = "from_above" | "from_left" | "from_right" | "from_front" | "from_back";
|
|
103798
|
+
declare const footprintInsertionDirection: z.ZodEnum<["from_above", "from_left", "from_right", "from_front", "from_back"]>;
|
|
103799
103799
|
interface FootprintProps {
|
|
103800
103800
|
children?: any;
|
|
103801
103801
|
/**
|
|
@@ -103836,13 +103836,13 @@ declare const footprintProps: z.ZodObject<{
|
|
|
103836
103836
|
}>>>;
|
|
103837
103837
|
circuitJson: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
103838
103838
|
src: z.ZodOptional<z.ZodType<FootprintProp, z.ZodTypeDef, FootprintProp>>;
|
|
103839
|
-
insertionDirection: z.ZodOptional<z.ZodEnum<["from_above", "from_left", "from_right", "from_front", "from_back"
|
|
103839
|
+
insertionDirection: z.ZodOptional<z.ZodEnum<["from_above", "from_left", "from_right", "from_front", "from_back"]>>;
|
|
103840
103840
|
}, "strip", z.ZodTypeAny, {
|
|
103841
103841
|
children?: any;
|
|
103842
103842
|
circuitJson?: any[] | undefined;
|
|
103843
103843
|
originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
103844
103844
|
src?: FootprintProp | undefined;
|
|
103845
|
-
insertionDirection?: "
|
|
103845
|
+
insertionDirection?: "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
103846
103846
|
}, {
|
|
103847
103847
|
children?: any;
|
|
103848
103848
|
circuitJson?: any[] | undefined;
|
|
@@ -103850,7 +103850,7 @@ declare const footprintProps: z.ZodObject<{
|
|
|
103850
103850
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
103851
103851
|
} | undefined;
|
|
103852
103852
|
src?: FootprintProp | undefined;
|
|
103853
|
-
insertionDirection?: "
|
|
103853
|
+
insertionDirection?: "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
103854
103854
|
}>;
|
|
103855
103855
|
type FootprintPropsInput = z.input<typeof footprintProps>;
|
|
103856
103856
|
|
package/dist/index.js
CHANGED
|
@@ -17189,11 +17189,7 @@ var footprintInsertionDirection = z63.enum([
|
|
|
17189
17189
|
"from_left",
|
|
17190
17190
|
"from_right",
|
|
17191
17191
|
"from_front",
|
|
17192
|
-
"from_back"
|
|
17193
|
-
"x+",
|
|
17194
|
-
"x-",
|
|
17195
|
-
"y+",
|
|
17196
|
-
"y-"
|
|
17192
|
+
"from_back"
|
|
17197
17193
|
]);
|
|
17198
17194
|
expectTypesMatch(true);
|
|
17199
17195
|
var footprintProps = z63.object({
|