@tscircuit/props 0.0.485 → 0.0.487
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 +6 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/lib/platformConfig.ts +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1881,9 +1881,15 @@ export interface PlatformConfig {
|
|
|
1881
1881
|
|
|
1882
1882
|
defaultSpiceEngine?: AutocompleteString<"spicey" | "ngspice">;
|
|
1883
1883
|
|
|
1884
|
+
unitPreference?: "mm" | "in" | "mil";
|
|
1885
|
+
|
|
1884
1886
|
pcbDisabled?: boolean;
|
|
1887
|
+
routingDisabled?: boolean;
|
|
1885
1888
|
schematicDisabled?: boolean;
|
|
1886
1889
|
partsEngineDisabled?: boolean;
|
|
1890
|
+
netlistDrcChecksDisabled?: boolean;
|
|
1891
|
+
routingDrcChecksDisabled?: boolean;
|
|
1892
|
+
placementDrcChecksDisabled?: boolean;
|
|
1887
1893
|
|
|
1888
1894
|
spiceEngineMap?: Record<string, SpiceEngine>;
|
|
1889
1895
|
|
package/dist/index.d.ts
CHANGED
|
@@ -172779,10 +172779,14 @@ interface PlatformConfig {
|
|
|
172779
172779
|
includeBoardFiles?: string[];
|
|
172780
172780
|
snapshotsDir?: string;
|
|
172781
172781
|
defaultSpiceEngine?: AutocompleteString<"spicey" | "ngspice">;
|
|
172782
|
+
unitPreference?: "mm" | "in" | "mil";
|
|
172782
172783
|
pcbDisabled?: boolean;
|
|
172783
172784
|
routingDisabled?: boolean;
|
|
172784
172785
|
schematicDisabled?: boolean;
|
|
172785
172786
|
partsEngineDisabled?: boolean;
|
|
172787
|
+
netlistDrcChecksDisabled?: boolean;
|
|
172788
|
+
routingDrcChecksDisabled?: boolean;
|
|
172789
|
+
placementDrcChecksDisabled?: boolean;
|
|
172786
172790
|
spiceEngineMap?: Record<string, SpiceEngine>;
|
|
172787
172791
|
footprintLibraryMap?: Record<string, ((path: string, options?: {
|
|
172788
172792
|
resolvedPcbStyle?: PcbStyle;
|
package/dist/index.js
CHANGED
|
@@ -2849,11 +2849,15 @@ var platformConfig = z122.object({
|
|
|
2849
2849
|
'The directory where snapshots are stored for "tsci snapshot", defaults to "tests/__snapshots__"'
|
|
2850
2850
|
).optional(),
|
|
2851
2851
|
defaultSpiceEngine: defaultSpiceEngine.optional(),
|
|
2852
|
+
unitPreference: z122.enum(["mm", "in", "mil"]).optional(),
|
|
2852
2853
|
localCacheEngine: z122.any().optional(),
|
|
2853
2854
|
pcbDisabled: z122.boolean().optional(),
|
|
2854
2855
|
routingDisabled: z122.boolean().optional(),
|
|
2855
2856
|
schematicDisabled: z122.boolean().optional(),
|
|
2856
2857
|
partsEngineDisabled: z122.boolean().optional(),
|
|
2858
|
+
netlistDrcChecksDisabled: z122.boolean().optional(),
|
|
2859
|
+
routingDrcChecksDisabled: z122.boolean().optional(),
|
|
2860
|
+
placementDrcChecksDisabled: z122.boolean().optional(),
|
|
2857
2861
|
spiceEngineMap: z122.record(z122.string(), spiceEngineZod).optional(),
|
|
2858
2862
|
footprintLibraryMap: z122.record(
|
|
2859
2863
|
z122.string(),
|