@tscircuit/props 0.0.636 → 0.0.637

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
@@ -412,6 +412,11 @@ export interface BoardProps extends Omit<
412
412
  doubleSidedAssembly?: boolean;
413
413
  /** Whether vias may be placed inside PCB pads */
414
414
  isViaInPadAllowed?: boolean;
415
+ /**
416
+ * Whether implicit copper pours should be generated automatically. Defaults
417
+ * to false.
418
+ */
419
+ automaticPoursEnabled?: boolean;
415
420
  /** Whether this board should be omitted from the schematic view */
416
421
  schematicDisabled?: boolean;
417
422
  }
package/dist/index.d.ts CHANGED
@@ -27575,6 +27575,11 @@ interface BoardProps extends Omit<SubcircuitGroupProps, "subcircuit" | "connecti
27575
27575
  doubleSidedAssembly?: boolean;
27576
27576
  /** Whether vias may be placed inside PCB pads */
27577
27577
  isViaInPadAllowed?: boolean;
27578
+ /**
27579
+ * Whether implicit copper pours should be generated automatically. Defaults
27580
+ * to false.
27581
+ */
27582
+ automaticPoursEnabled?: boolean;
27578
27583
  /** Whether this board should be omitted from the schematic view */
27579
27584
  schematicDisabled?: boolean;
27580
27585
  }
@@ -28395,12 +28400,14 @@ declare const boardProps: z.ZodObject<{
28395
28400
  bottomSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
28396
28401
  doubleSidedAssembly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
28397
28402
  isViaInPadAllowed: z.ZodOptional<z.ZodBoolean>;
28403
+ automaticPoursEnabled: z.ZodDefault<z.ZodBoolean>;
28398
28404
  schematicDisabled: z.ZodOptional<z.ZodBoolean>;
28399
28405
  }, "strip", z.ZodTypeAny, {
28400
28406
  layers: 1 | 2 | 4 | 6 | 8 | 10;
28401
28407
  material: "flex" | "fr4" | "fr1";
28402
28408
  allowBlindAndBuriedVias: boolean;
28403
28409
  doubleSidedAssembly: boolean;
28410
+ automaticPoursEnabled: boolean;
28404
28411
  symbol?: SymbolProp | undefined;
28405
28412
  width?: number | undefined;
28406
28413
  height?: number | undefined;
@@ -29085,6 +29092,7 @@ declare const boardProps: z.ZodObject<{
29085
29092
  bottomSilkscreenColor?: BoardColor | undefined;
29086
29093
  doubleSidedAssembly?: boolean | undefined;
29087
29094
  isViaInPadAllowed?: boolean | undefined;
29095
+ automaticPoursEnabled?: boolean | undefined;
29088
29096
  schematicDisabled?: boolean | undefined;
29089
29097
  }>;
29090
29098
 
@@ -101429,6 +101437,7 @@ declare const stampboardProps: z.ZodObject<{
101429
101437
  bottomSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
101430
101438
  doubleSidedAssembly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
101431
101439
  isViaInPadAllowed: z.ZodOptional<z.ZodBoolean>;
101440
+ automaticPoursEnabled: z.ZodDefault<z.ZodBoolean>;
101432
101441
  schematicDisabled: z.ZodOptional<z.ZodBoolean>;
101433
101442
  } & {
101434
101443
  leftPinCount: z.ZodOptional<z.ZodNumber>;
@@ -101446,6 +101455,7 @@ declare const stampboardProps: z.ZodObject<{
101446
101455
  material: "flex" | "fr4" | "fr1";
101447
101456
  allowBlindAndBuriedVias: boolean;
101448
101457
  doubleSidedAssembly: boolean;
101458
+ automaticPoursEnabled: boolean;
101449
101459
  symbol?: SymbolProp | undefined;
101450
101460
  width?: number | undefined;
101451
101461
  height?: number | undefined;
@@ -102144,6 +102154,7 @@ declare const stampboardProps: z.ZodObject<{
102144
102154
  bottomSilkscreenColor?: BoardColor | undefined;
102145
102155
  doubleSidedAssembly?: boolean | undefined;
102146
102156
  isViaInPadAllowed?: boolean | undefined;
102157
+ automaticPoursEnabled?: boolean | undefined;
102147
102158
  schematicDisabled?: boolean | undefined;
102148
102159
  leftPins?: string[] | undefined;
102149
102160
  rightPins?: string[] | undefined;
package/dist/index.js CHANGED
@@ -16641,6 +16641,9 @@ var boardProps = subcircuitGroupProps.omit({ connections: true }).extend({
16641
16641
  isViaInPadAllowed: z42.boolean().optional().describe(
16642
16642
  "Allows intentional via-in-pad designs to pass DRC. Omitted or false keeps via-in-pad disallowed."
16643
16643
  ),
16644
+ automaticPoursEnabled: z42.boolean().default(false).describe(
16645
+ "Whether implicit copper pours should be generated automatically. Defaults to false."
16646
+ ),
16644
16647
  schematicDisabled: z42.boolean().optional()
16645
16648
  });
16646
16649
  expectTypesMatch(true);