@tscircuit/props 0.0.488 → 0.0.490
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 +1 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/common/pcbSx.ts +2 -2
- package/lib/platformConfig.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1887,6 +1887,7 @@ export interface PlatformConfig {
|
|
|
1887
1887
|
routingDisabled?: boolean;
|
|
1888
1888
|
schematicDisabled?: boolean;
|
|
1889
1889
|
partsEngineDisabled?: boolean;
|
|
1890
|
+
drcChecksDisabled?: boolean;
|
|
1890
1891
|
netlistDrcChecksDisabled?: boolean;
|
|
1891
1892
|
routingDrcChecksDisabled?: boolean;
|
|
1892
1893
|
placementDrcChecksDisabled?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -6008,7 +6008,7 @@ interface PcbSxValue {
|
|
|
6008
6008
|
fontSize?: string | number;
|
|
6009
6009
|
pcbX?: string | number;
|
|
6010
6010
|
pcbY?: string | number;
|
|
6011
|
-
|
|
6011
|
+
visibility?: "hidden" | "visible" | "inherit";
|
|
6012
6012
|
}
|
|
6013
6013
|
type PcbSxBase = Record<string, PcbSxValue>;
|
|
6014
6014
|
type PcbSx = PcbSxBase & {
|
|
@@ -6018,17 +6018,17 @@ declare const pcbSxValue: z.ZodObject<{
|
|
|
6018
6018
|
fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6019
6019
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
6020
6020
|
pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
6021
|
-
|
|
6021
|
+
visibility: z.ZodOptional<z.ZodEnum<["hidden", "visible", "inherit"]>>;
|
|
6022
6022
|
}, "strip", z.ZodTypeAny, {
|
|
6023
|
-
visible?: boolean | undefined;
|
|
6024
6023
|
fontSize?: number | undefined;
|
|
6025
6024
|
pcbX?: string | number | undefined;
|
|
6026
6025
|
pcbY?: string | number | undefined;
|
|
6026
|
+
visibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
6027
6027
|
}, {
|
|
6028
|
-
visible?: boolean | undefined;
|
|
6029
6028
|
fontSize?: string | number | undefined;
|
|
6030
6029
|
pcbX?: string | number | undefined;
|
|
6031
6030
|
pcbY?: string | number | undefined;
|
|
6031
|
+
visibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
6032
6032
|
}>;
|
|
6033
6033
|
declare const pcbSx: z.ZodType<PcbSx>;
|
|
6034
6034
|
|
|
@@ -172788,6 +172788,7 @@ interface PlatformConfig {
|
|
|
172788
172788
|
routingDisabled?: boolean;
|
|
172789
172789
|
schematicDisabled?: boolean;
|
|
172790
172790
|
partsEngineDisabled?: boolean;
|
|
172791
|
+
drcChecksDisabled?: boolean;
|
|
172791
172792
|
netlistDrcChecksDisabled?: boolean;
|
|
172792
172793
|
routingDrcChecksDisabled?: boolean;
|
|
172793
172794
|
placementDrcChecksDisabled?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -276,7 +276,7 @@ var pcbSxValue = z12.object({
|
|
|
276
276
|
fontSize: length2.optional(),
|
|
277
277
|
pcbX: pcbCoordinate.optional(),
|
|
278
278
|
pcbY: pcbCoordinate.optional(),
|
|
279
|
-
|
|
279
|
+
visibility: z12.enum(["hidden", "visible", "inherit"]).optional()
|
|
280
280
|
});
|
|
281
281
|
var pcbSx = z12.record(
|
|
282
282
|
z12.string(),
|
|
@@ -2856,6 +2856,7 @@ var platformConfig = z122.object({
|
|
|
2856
2856
|
routingDisabled: z122.boolean().optional(),
|
|
2857
2857
|
schematicDisabled: z122.boolean().optional(),
|
|
2858
2858
|
partsEngineDisabled: z122.boolean().optional(),
|
|
2859
|
+
drcChecksDisabled: z122.boolean().optional(),
|
|
2859
2860
|
netlistDrcChecksDisabled: z122.boolean().optional(),
|
|
2860
2861
|
routingDrcChecksDisabled: z122.boolean().optional(),
|
|
2861
2862
|
placementDrcChecksDisabled: z122.boolean().optional(),
|