@tscircuit/props 0.0.478 → 0.0.479
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 +12 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/lib/components/platedhole.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -63350,7 +63350,7 @@ interface PillPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
|
|
|
63350
63350
|
solderMaskMargin?: Distance;
|
|
63351
63351
|
coveredWithSolderMask?: boolean;
|
|
63352
63352
|
}
|
|
63353
|
-
interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "
|
|
63353
|
+
interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "layer"> {
|
|
63354
63354
|
name?: string;
|
|
63355
63355
|
connectsTo?: string | string[];
|
|
63356
63356
|
shape: "circular_hole_with_rect_pad";
|
|
@@ -63366,7 +63366,7 @@ interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "pcbRotat
|
|
|
63366
63366
|
solderMaskMargin?: Distance;
|
|
63367
63367
|
coveredWithSolderMask?: boolean;
|
|
63368
63368
|
}
|
|
63369
|
-
interface PillWithRectPadPlatedHoleProps extends Omit<PcbLayoutProps, "
|
|
63369
|
+
interface PillWithRectPadPlatedHoleProps extends Omit<PcbLayoutProps, "layer"> {
|
|
63370
63370
|
name?: string;
|
|
63371
63371
|
connectsTo?: string | string[];
|
|
63372
63372
|
shape: "pill_hole_with_rect_pad";
|
|
@@ -63949,7 +63949,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
63949
63949
|
pcbSx: z.ZodOptional<z.ZodType<PcbSx, z.ZodTypeDef, PcbSx>>;
|
|
63950
63950
|
pcbRelative: z.ZodOptional<z.ZodBoolean>;
|
|
63951
63951
|
relative: z.ZodOptional<z.ZodBoolean>;
|
|
63952
|
-
}, "layer"
|
|
63952
|
+
}, "layer"> & {
|
|
63953
63953
|
name: z.ZodOptional<z.ZodString>;
|
|
63954
63954
|
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
63955
63955
|
shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
|
|
@@ -63978,6 +63978,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
63978
63978
|
pcbBottomEdgeY?: string | number | undefined;
|
|
63979
63979
|
pcbOffsetX?: number | undefined;
|
|
63980
63980
|
pcbOffsetY?: number | undefined;
|
|
63981
|
+
pcbRotation?: number | undefined;
|
|
63981
63982
|
pcbPositionAnchor?: string | undefined;
|
|
63982
63983
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
63983
63984
|
pcbMarginTop?: number | undefined;
|
|
@@ -64022,6 +64023,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
64022
64023
|
pcbBottomEdgeY?: string | number | undefined;
|
|
64023
64024
|
pcbOffsetX?: string | number | undefined;
|
|
64024
64025
|
pcbOffsetY?: string | number | undefined;
|
|
64026
|
+
pcbRotation?: string | number | undefined;
|
|
64025
64027
|
pcbPositionAnchor?: string | undefined;
|
|
64026
64028
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
64027
64029
|
pcbMarginTop?: string | number | undefined;
|
|
@@ -64116,7 +64118,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
64116
64118
|
pcbSx: z.ZodOptional<z.ZodType<PcbSx, z.ZodTypeDef, PcbSx>>;
|
|
64117
64119
|
pcbRelative: z.ZodOptional<z.ZodBoolean>;
|
|
64118
64120
|
relative: z.ZodOptional<z.ZodBoolean>;
|
|
64119
|
-
}, "layer"
|
|
64121
|
+
}, "layer"> & {
|
|
64120
64122
|
name: z.ZodOptional<z.ZodString>;
|
|
64121
64123
|
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
64122
64124
|
shape: z.ZodLiteral<"pill_hole_with_rect_pad">;
|
|
@@ -64146,6 +64148,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
64146
64148
|
pcbBottomEdgeY?: string | number | undefined;
|
|
64147
64149
|
pcbOffsetX?: number | undefined;
|
|
64148
64150
|
pcbOffsetY?: number | undefined;
|
|
64151
|
+
pcbRotation?: number | undefined;
|
|
64149
64152
|
pcbPositionAnchor?: string | undefined;
|
|
64150
64153
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
64151
64154
|
pcbMarginTop?: number | undefined;
|
|
@@ -64190,6 +64193,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
64190
64193
|
pcbBottomEdgeY?: string | number | undefined;
|
|
64191
64194
|
pcbOffsetX?: string | number | undefined;
|
|
64192
64195
|
pcbOffsetY?: string | number | undefined;
|
|
64196
|
+
pcbRotation?: string | number | undefined;
|
|
64193
64197
|
pcbPositionAnchor?: string | undefined;
|
|
64194
64198
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
64195
64199
|
pcbMarginTop?: string | number | undefined;
|
|
@@ -64540,6 +64544,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
64540
64544
|
pcbBottomEdgeY?: string | number | undefined;
|
|
64541
64545
|
pcbOffsetX?: number | undefined;
|
|
64542
64546
|
pcbOffsetY?: number | undefined;
|
|
64547
|
+
pcbRotation?: number | undefined;
|
|
64543
64548
|
pcbPositionAnchor?: string | undefined;
|
|
64544
64549
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
64545
64550
|
pcbMarginTop?: number | undefined;
|
|
@@ -64585,6 +64590,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
64585
64590
|
pcbBottomEdgeY?: string | number | undefined;
|
|
64586
64591
|
pcbOffsetX?: number | undefined;
|
|
64587
64592
|
pcbOffsetY?: number | undefined;
|
|
64593
|
+
pcbRotation?: number | undefined;
|
|
64588
64594
|
pcbPositionAnchor?: string | undefined;
|
|
64589
64595
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
64590
64596
|
pcbMarginTop?: number | undefined;
|
|
@@ -64802,6 +64808,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
64802
64808
|
pcbBottomEdgeY?: string | number | undefined;
|
|
64803
64809
|
pcbOffsetX?: string | number | undefined;
|
|
64804
64810
|
pcbOffsetY?: string | number | undefined;
|
|
64811
|
+
pcbRotation?: string | number | undefined;
|
|
64805
64812
|
pcbPositionAnchor?: string | undefined;
|
|
64806
64813
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
64807
64814
|
pcbMarginTop?: string | number | undefined;
|
|
@@ -64847,6 +64854,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
64847
64854
|
pcbBottomEdgeY?: string | number | undefined;
|
|
64848
64855
|
pcbOffsetX?: string | number | undefined;
|
|
64849
64856
|
pcbOffsetY?: string | number | undefined;
|
|
64857
|
+
pcbRotation?: string | number | undefined;
|
|
64850
64858
|
pcbPositionAnchor?: string | undefined;
|
|
64851
64859
|
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
64852
64860
|
pcbMarginTop?: string | number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1197,7 +1197,7 @@ var platedHoleProps = z46.discriminatedUnion("shape", [
|
|
|
1197
1197
|
solderMaskMargin: distance16.optional(),
|
|
1198
1198
|
coveredWithSolderMask: z46.boolean().optional()
|
|
1199
1199
|
}),
|
|
1200
|
-
pcbLayoutProps.omit({
|
|
1200
|
+
pcbLayoutProps.omit({ layer: true }).extend({
|
|
1201
1201
|
name: z46.string().optional(),
|
|
1202
1202
|
connectsTo: z46.string().or(z46.array(z46.string())).optional(),
|
|
1203
1203
|
shape: z46.literal("circular_hole_with_rect_pad"),
|
|
@@ -1213,7 +1213,7 @@ var platedHoleProps = z46.discriminatedUnion("shape", [
|
|
|
1213
1213
|
solderMaskMargin: distance16.optional(),
|
|
1214
1214
|
coveredWithSolderMask: z46.boolean().optional()
|
|
1215
1215
|
}),
|
|
1216
|
-
pcbLayoutProps.omit({
|
|
1216
|
+
pcbLayoutProps.omit({ layer: true }).extend({
|
|
1217
1217
|
name: z46.string().optional(),
|
|
1218
1218
|
connectsTo: z46.string().or(z46.array(z46.string())).optional(),
|
|
1219
1219
|
shape: z46.literal("pill_hole_with_rect_pad"),
|