@tscircuit/props 0.0.649 → 0.0.651
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 +4 -0
- package/dist/index.d.ts +1826 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/lib/common/pinAttributeMap.ts +30 -0
- package/lib/components/board.ts +16 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -427,6 +427,16 @@ var pinCapability = z18.enum([
|
|
|
427
427
|
"uart_rx"
|
|
428
428
|
]);
|
|
429
429
|
var pinAttributeMap = z18.object({
|
|
430
|
+
isInput: z18.boolean().optional(),
|
|
431
|
+
isOutput: z18.boolean().optional(),
|
|
432
|
+
isBidirectional: z18.boolean().optional(),
|
|
433
|
+
isPassive: z18.boolean().optional(),
|
|
434
|
+
canUseTriState: z18.boolean().optional(),
|
|
435
|
+
isUsingTriState: z18.boolean().optional(),
|
|
436
|
+
canUseOpenCollector: z18.boolean().optional(),
|
|
437
|
+
isUsingOpenCollector: z18.boolean().optional(),
|
|
438
|
+
canUseOpenEmitter: z18.boolean().optional(),
|
|
439
|
+
isUsingOpenEmitter: z18.boolean().optional(),
|
|
430
440
|
capabilities: z18.array(pinCapability).optional(),
|
|
431
441
|
activeCapabilities: z18.array(pinCapability).optional(),
|
|
432
442
|
activeCapability: pinCapability.optional(),
|
|
@@ -16711,6 +16721,12 @@ var boardProps = subcircuitGroupProps.omit({ connections: true }).extend({
|
|
|
16711
16721
|
automaticPoursEnabled: z44.boolean().default(false).describe(
|
|
16712
16722
|
"Whether implicit copper pours should be generated automatically. Defaults to false."
|
|
16713
16723
|
),
|
|
16724
|
+
enableViaStitching: z44.boolean().default(false).describe(
|
|
16725
|
+
"Whether to stitch copper pours on the same net across layers with vias. Defaults to false."
|
|
16726
|
+
),
|
|
16727
|
+
viaStitchPitch: distance.pipe(z44.number().positive().finite()).optional().describe(
|
|
16728
|
+
"Positive center-to-center stitching via spacing in millimeters or a unit string, parsed to millimeters. Omitted uses the solver default. Does not enable stitching by itself."
|
|
16729
|
+
),
|
|
16714
16730
|
schematicDisabled: z44.boolean().optional()
|
|
16715
16731
|
});
|
|
16716
16732
|
expectTypesMatch(true);
|