@tscircuit/props 0.0.641 → 0.0.643
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 +7 -1
- package/dist/index.d.ts +8 -3
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/lib/components/bus.ts +3 -3
- package/lib/platformConfig.ts +6 -0
- package/lib/projectConfig.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -483,7 +483,7 @@ export interface BreakoutPointProps extends Omit<
|
|
|
483
483
|
```ts
|
|
484
484
|
export interface BusProps {
|
|
485
485
|
name?: string;
|
|
486
|
-
/**
|
|
486
|
+
/** One or more trace names or port selectors for the connections in the bus. */
|
|
487
487
|
connections: string[];
|
|
488
488
|
/** If set, every trace in this bus is assigned to this autorouting phase. */
|
|
489
489
|
routingPhaseIndex?: number | null;
|
|
@@ -2424,6 +2424,11 @@ export interface PlatformConfig {
|
|
|
2424
2424
|
routingDisabled?: boolean;
|
|
2425
2425
|
schematicDisabled?: boolean;
|
|
2426
2426
|
partsEngineDisabled?: boolean;
|
|
2427
|
+
/**
|
|
2428
|
+
* Disables analog simulation model processing and simulator execution.
|
|
2429
|
+
* Defaults to false.
|
|
2430
|
+
*/
|
|
2431
|
+
analogSimulationDisabled?: boolean;
|
|
2427
2432
|
drcChecksDisabled?: boolean;
|
|
2428
2433
|
netlistDrcChecksDisabled?: boolean;
|
|
2429
2434
|
routingDrcChecksDisabled?: boolean;
|
|
@@ -2483,6 +2488,7 @@ export interface ProjectConfig extends Pick<
|
|
|
2483
2488
|
| "defaultSpiceEngine"
|
|
2484
2489
|
| "pcbDisabled"
|
|
2485
2490
|
| "schematicDisabled"
|
|
2491
|
+
| "analogSimulationDisabled"
|
|
2486
2492
|
> {}
|
|
2487
2493
|
```
|
|
2488
2494
|
|
package/dist/index.d.ts
CHANGED
|
@@ -31526,12 +31526,12 @@ declare const subpanelProps: z.ZodObject<Omit<{
|
|
|
31526
31526
|
|
|
31527
31527
|
type BusName = string;
|
|
31528
31528
|
/**
|
|
31529
|
-
* Declares
|
|
31529
|
+
* Declares one or more connections that an autorouter should route as a group.
|
|
31530
31530
|
* Each connection may be a trace name or a port selector.
|
|
31531
31531
|
*/
|
|
31532
31532
|
interface BusProps {
|
|
31533
31533
|
name?: string;
|
|
31534
|
-
/**
|
|
31534
|
+
/** One or more trace names or port selectors for the connections in the bus. */
|
|
31535
31535
|
connections: string[];
|
|
31536
31536
|
/** If set, every trace in this bus is assigned to this autorouting phase. */
|
|
31537
31537
|
routingPhaseIndex?: number | null;
|
|
@@ -225952,6 +225952,11 @@ interface PlatformConfig {
|
|
|
225952
225952
|
routingDisabled?: boolean;
|
|
225953
225953
|
schematicDisabled?: boolean;
|
|
225954
225954
|
partsEngineDisabled?: boolean;
|
|
225955
|
+
/**
|
|
225956
|
+
* Disables analog simulation model processing and simulator execution.
|
|
225957
|
+
* Defaults to false.
|
|
225958
|
+
*/
|
|
225959
|
+
analogSimulationDisabled?: boolean;
|
|
225955
225960
|
drcChecksDisabled?: boolean;
|
|
225956
225961
|
netlistDrcChecksDisabled?: boolean;
|
|
225957
225962
|
routingDrcChecksDisabled?: boolean;
|
|
@@ -225971,7 +225976,7 @@ interface PlatformConfig {
|
|
|
225971
225976
|
}
|
|
225972
225977
|
declare const platformConfig: z.ZodType<PlatformConfig>;
|
|
225973
225978
|
|
|
225974
|
-
interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBaseUrl" | "version" | "url" | "printBoardInformationToSilkscreen" | "includeBoardFiles" | "snapshotsDir" | "defaultSpiceEngine" | "pcbDisabled" | "schematicDisabled"> {
|
|
225979
|
+
interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBaseUrl" | "version" | "url" | "printBoardInformationToSilkscreen" | "includeBoardFiles" | "snapshotsDir" | "defaultSpiceEngine" | "pcbDisabled" | "schematicDisabled" | "analogSimulationDisabled"> {
|
|
225975
225980
|
}
|
|
225976
225981
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
225977
225982
|
|
package/dist/index.js
CHANGED
|
@@ -17536,7 +17536,7 @@ import {
|
|
|
17536
17536
|
import { z as z73 } from "zod";
|
|
17537
17537
|
var busProps = z73.object({
|
|
17538
17538
|
name: z73.string().optional(),
|
|
17539
|
-
connections: z73.array(z73.string()).min(
|
|
17539
|
+
connections: z73.array(z73.string()).min(1),
|
|
17540
17540
|
routingPhaseIndex: z73.number().nullable().optional(),
|
|
17541
17541
|
maxLengthSkew: distance20.pipe(z73.number().min(0).finite()).optional(),
|
|
17542
17542
|
targetImpedance: resistance3.pipe(z73.number().positive().finite()).optional(),
|
|
@@ -19196,6 +19196,7 @@ var platformConfig = z149.object({
|
|
|
19196
19196
|
routingDisabled: z149.boolean().optional(),
|
|
19197
19197
|
schematicDisabled: z149.boolean().optional(),
|
|
19198
19198
|
partsEngineDisabled: z149.boolean().optional(),
|
|
19199
|
+
analogSimulationDisabled: z149.boolean().optional(),
|
|
19199
19200
|
drcChecksDisabled: z149.boolean().optional(),
|
|
19200
19201
|
netlistDrcChecksDisabled: z149.boolean().optional(),
|
|
19201
19202
|
routingDrcChecksDisabled: z149.boolean().optional(),
|
|
@@ -19233,7 +19234,8 @@ var projectConfig = platformConfigObject.pick({
|
|
|
19233
19234
|
snapshotsDir: true,
|
|
19234
19235
|
defaultSpiceEngine: true,
|
|
19235
19236
|
pcbDisabled: true,
|
|
19236
|
-
schematicDisabled: true
|
|
19237
|
+
schematicDisabled: true,
|
|
19238
|
+
analogSimulationDisabled: true
|
|
19237
19239
|
});
|
|
19238
19240
|
expectTypesMatch(true);
|
|
19239
19241
|
export {
|