@tscircuit/props 0.0.486 → 0.0.488
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 +3 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/lib/common/pcbSx.ts +3 -0
- package/lib/platformConfig.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1887,6 +1887,9 @@ export interface PlatformConfig {
|
|
|
1887
1887
|
routingDisabled?: boolean;
|
|
1888
1888
|
schematicDisabled?: boolean;
|
|
1889
1889
|
partsEngineDisabled?: boolean;
|
|
1890
|
+
netlistDrcChecksDisabled?: boolean;
|
|
1891
|
+
routingDrcChecksDisabled?: boolean;
|
|
1892
|
+
placementDrcChecksDisabled?: boolean;
|
|
1890
1893
|
|
|
1891
1894
|
spiceEngineMap?: Record<string, SpiceEngine>;
|
|
1892
1895
|
|
package/dist/index.d.ts
CHANGED
|
@@ -6003,11 +6003,12 @@ declare const pcbStyle: z.ZodObject<{
|
|
|
6003
6003
|
silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
6004
6004
|
}>;
|
|
6005
6005
|
|
|
6006
|
-
type PcbSxSelector = "& footprint[src^='kicad:'] silkscreentext" | "& silkscreentext";
|
|
6006
|
+
type PcbSxSelector = "& footprint[src^='kicad:'] silkscreentext" | "& silkscreentext" | "& fabricationnotetext";
|
|
6007
6007
|
interface PcbSxValue {
|
|
6008
6008
|
fontSize?: string | number;
|
|
6009
6009
|
pcbX?: string | number;
|
|
6010
6010
|
pcbY?: string | number;
|
|
6011
|
+
visible?: boolean;
|
|
6011
6012
|
}
|
|
6012
6013
|
type PcbSxBase = Record<string, PcbSxValue>;
|
|
6013
6014
|
type PcbSx = PcbSxBase & {
|
|
@@ -6017,11 +6018,14 @@ declare const pcbSxValue: z.ZodObject<{
|
|
|
6017
6018
|
fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6018
6019
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
6019
6020
|
pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
6021
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
6020
6022
|
}, "strip", z.ZodTypeAny, {
|
|
6023
|
+
visible?: boolean | undefined;
|
|
6021
6024
|
fontSize?: number | undefined;
|
|
6022
6025
|
pcbX?: string | number | undefined;
|
|
6023
6026
|
pcbY?: string | number | undefined;
|
|
6024
6027
|
}, {
|
|
6028
|
+
visible?: boolean | undefined;
|
|
6025
6029
|
fontSize?: string | number | undefined;
|
|
6026
6030
|
pcbX?: string | number | undefined;
|
|
6027
6031
|
pcbY?: string | number | undefined;
|
|
@@ -172784,6 +172788,9 @@ interface PlatformConfig {
|
|
|
172784
172788
|
routingDisabled?: boolean;
|
|
172785
172789
|
schematicDisabled?: boolean;
|
|
172786
172790
|
partsEngineDisabled?: boolean;
|
|
172791
|
+
netlistDrcChecksDisabled?: boolean;
|
|
172792
|
+
routingDrcChecksDisabled?: boolean;
|
|
172793
|
+
placementDrcChecksDisabled?: boolean;
|
|
172787
172794
|
spiceEngineMap?: Record<string, SpiceEngine>;
|
|
172788
172795
|
footprintLibraryMap?: Record<string, ((path: string, options?: {
|
|
172789
172796
|
resolvedPcbStyle?: PcbStyle;
|
package/dist/index.js
CHANGED
|
@@ -275,7 +275,8 @@ import { z as z12 } from "zod";
|
|
|
275
275
|
var pcbSxValue = z12.object({
|
|
276
276
|
fontSize: length2.optional(),
|
|
277
277
|
pcbX: pcbCoordinate.optional(),
|
|
278
|
-
pcbY: pcbCoordinate.optional()
|
|
278
|
+
pcbY: pcbCoordinate.optional(),
|
|
279
|
+
visible: z12.boolean().optional()
|
|
279
280
|
});
|
|
280
281
|
var pcbSx = z12.record(
|
|
281
282
|
z12.string(),
|
|
@@ -2855,6 +2856,9 @@ var platformConfig = z122.object({
|
|
|
2855
2856
|
routingDisabled: z122.boolean().optional(),
|
|
2856
2857
|
schematicDisabled: z122.boolean().optional(),
|
|
2857
2858
|
partsEngineDisabled: z122.boolean().optional(),
|
|
2859
|
+
netlistDrcChecksDisabled: z122.boolean().optional(),
|
|
2860
|
+
routingDrcChecksDisabled: z122.boolean().optional(),
|
|
2861
|
+
placementDrcChecksDisabled: z122.boolean().optional(),
|
|
2858
2862
|
spiceEngineMap: z122.record(z122.string(), spiceEngineZod).optional(),
|
|
2859
2863
|
footprintLibraryMap: z122.record(
|
|
2860
2864
|
z122.string(),
|