@tscircuit/props 0.0.397 → 0.0.398

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 CHANGED
@@ -236,6 +236,8 @@ export interface BoardProps
236
236
  bottomSilkscreenColor?: BoardColor;
237
237
  /** Whether the board should be assembled on both sides */
238
238
  doubleSidedAssembly?: boolean;
239
+ /** Whether this board should be omitted from the schematic view */
240
+ schematicDisabled?: boolean;
239
241
  }
240
242
  ```
241
243
 
package/dist/index.d.ts CHANGED
@@ -11434,6 +11434,8 @@ interface BoardProps extends Omit<SubcircuitGroupProps, "subcircuit" | "connecti
11434
11434
  bottomSilkscreenColor?: BoardColor;
11435
11435
  /** Whether the board should be assembled on both sides */
11436
11436
  doubleSidedAssembly?: boolean;
11437
+ /** Whether this board should be omitted from the schematic view */
11438
+ schematicDisabled?: boolean;
11437
11439
  }
11438
11440
  declare const boardProps: z.ZodObject<Omit<{
11439
11441
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -12161,6 +12163,7 @@ declare const boardProps: z.ZodObject<Omit<{
12161
12163
  topSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
12162
12164
  bottomSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
12163
12165
  doubleSidedAssembly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12166
+ schematicDisabled: z.ZodOptional<z.ZodBoolean>;
12164
12167
  }, "strip", z.ZodTypeAny, {
12165
12168
  material: "fr4" | "fr1";
12166
12169
  layers: 2 | 4;
@@ -12466,6 +12469,7 @@ declare const boardProps: z.ZodObject<Omit<{
12466
12469
  silkscreenColor?: BoardColor | undefined;
12467
12470
  topSilkscreenColor?: BoardColor | undefined;
12468
12471
  bottomSilkscreenColor?: BoardColor | undefined;
12472
+ schematicDisabled?: boolean | undefined;
12469
12473
  }, {
12470
12474
  symbol?: SymbolProp | undefined;
12471
12475
  key?: any;
@@ -12775,6 +12779,7 @@ declare const boardProps: z.ZodObject<Omit<{
12775
12779
  topSilkscreenColor?: BoardColor | undefined;
12776
12780
  bottomSilkscreenColor?: BoardColor | undefined;
12777
12781
  doubleSidedAssembly?: boolean | undefined;
12782
+ schematicDisabled?: boolean | undefined;
12778
12783
  }>;
12779
12784
 
12780
12785
  interface PanelProps extends BaseGroupProps {
@@ -31122,6 +31127,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
31122
31127
  topSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
31123
31128
  bottomSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
31124
31129
  doubleSidedAssembly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
31130
+ schematicDisabled: z.ZodOptional<z.ZodBoolean>;
31125
31131
  } & {
31126
31132
  leftPinCount: z.ZodOptional<z.ZodNumber>;
31127
31133
  rightPinCount: z.ZodOptional<z.ZodNumber>;
@@ -31442,6 +31448,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
31442
31448
  silkscreenColor?: BoardColor | undefined;
31443
31449
  topSilkscreenColor?: BoardColor | undefined;
31444
31450
  bottomSilkscreenColor?: BoardColor | undefined;
31451
+ schematicDisabled?: boolean | undefined;
31445
31452
  leftPins?: string[] | undefined;
31446
31453
  rightPins?: string[] | undefined;
31447
31454
  topPins?: string[] | undefined;
@@ -31761,6 +31768,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
31761
31768
  topSilkscreenColor?: BoardColor | undefined;
31762
31769
  bottomSilkscreenColor?: BoardColor | undefined;
31763
31770
  doubleSidedAssembly?: boolean | undefined;
31771
+ schematicDisabled?: boolean | undefined;
31764
31772
  leftPins?: string[] | undefined;
31765
31773
  rightPins?: string[] | undefined;
31766
31774
  topPins?: string[] | undefined;
package/dist/index.js CHANGED
@@ -690,7 +690,8 @@ var boardProps = subcircuitGroupProps.omit({ connections: true }).extend({
690
690
  silkscreenColor: boardColor.optional(),
691
691
  topSilkscreenColor: boardColor.optional(),
692
692
  bottomSilkscreenColor: boardColor.optional(),
693
- doubleSidedAssembly: z29.boolean().optional().default(false)
693
+ doubleSidedAssembly: z29.boolean().optional().default(false),
694
+ schematicDisabled: z29.boolean().optional()
694
695
  });
695
696
  expectTypesMatch(true);
696
697