@tscircuit/props 0.0.615 → 0.0.617

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/dist/index.js CHANGED
@@ -17030,7 +17030,7 @@ var stampboardProps = boardProps.extend({
17030
17030
  expectTypesMatch(true);
17031
17031
 
17032
17032
  // lib/components/capacitor.ts
17033
- import { capacitance as capacitance3, voltage } from "circuit-json";
17033
+ import { capacitance as capacitance3, distance as distance17, voltage } from "circuit-json";
17034
17034
  import { z as z60 } from "zod";
17035
17035
  var capacitorPinLabels = [
17036
17036
  "pin1",
@@ -17049,7 +17049,7 @@ var capacitorProps = commonComponentProps.extend({
17049
17049
  decouplingTo: z60.string().optional(),
17050
17050
  bypassFor: z60.string().optional(),
17051
17051
  bypassTo: z60.string().optional(),
17052
- maxDecouplingTraceLength: z60.number().optional(),
17052
+ maxDecouplingTraceLength: distance17.optional(),
17053
17053
  schOrientation: schematicOrientation.optional(),
17054
17054
  schSize: schematicSymbolSize.optional(),
17055
17055
  connections: createConnectionsProp(capacitorPinLabels).optional()
@@ -17058,7 +17058,7 @@ var capacitorPins = lrPolarPins;
17058
17058
  expectTypesMatch(true);
17059
17059
 
17060
17060
  // lib/components/net.ts
17061
- import { distance as distance17 } from "circuit-json";
17061
+ import { distance as distance18 } from "circuit-json";
17062
17062
  import { z as z61 } from "zod";
17063
17063
  var netProps = z61.object({
17064
17064
  name: z61.string(),
@@ -17067,7 +17067,7 @@ var netProps = z61.object({
17067
17067
  highlightColor: z61.string().optional(),
17068
17068
  isPowerNet: z61.boolean().optional(),
17069
17069
  isGroundNet: z61.boolean().optional(),
17070
- nominalTraceWidth: distance17.optional()
17070
+ nominalTraceWidth: distance18.optional()
17071
17071
  });
17072
17072
  expectTypesMatch(true);
17073
17073
 
@@ -17337,7 +17337,7 @@ var holeProps = z69.union([
17337
17337
  expectTypesMatch(true);
17338
17338
 
17339
17339
  // lib/components/trace.ts
17340
- import { distance as distance18, layer_ref as layer_ref5, route_hint_point as route_hint_point2 } from "circuit-json";
17340
+ import { distance as distance19, layer_ref as layer_ref5, route_hint_point as route_hint_point2 } from "circuit-json";
17341
17341
  import { z as z70 } from "zod";
17342
17342
  var portRef = z70.union([
17343
17343
  z70.string(),
@@ -17371,8 +17371,8 @@ var baseTraceProps = z70.object({
17371
17371
  key: z70.string().optional(),
17372
17372
  name: z70.string().optional(),
17373
17373
  displayName: z70.string().optional(),
17374
- thickness: distance18.optional(),
17375
- width: distance18.optional().describe("Alias for trace thickness"),
17374
+ thickness: distance19.optional(),
17375
+ width: distance19.optional().describe("Alias for trace thickness"),
17376
17376
  schematicRouteHints: z70.array(point).optional(),
17377
17377
  pcbRouteHints: z70.array(route_hint_point2).optional(),
17378
17378
  pcbPathRelativeTo: z70.string().optional(),
@@ -17383,7 +17383,7 @@ var baseTraceProps = z70.object({
17383
17383
  schDisplayLabel: z70.string().optional(),
17384
17384
  schStroke: z70.string().optional(),
17385
17385
  highlightColor: z70.string().optional(),
17386
- maxLength: distance18.optional(),
17386
+ maxLength: distance19.optional(),
17387
17387
  maxViaCount: z70.number().int().nonnegative().optional().describe("Maximum number of vias allowed in the PCB trace route"),
17388
17388
  connectsTo: z70.string().or(z70.array(z70.string())).optional()
17389
17389
  });
@@ -17403,7 +17403,7 @@ var traceProps = z70.union([
17403
17403
 
17404
17404
  // lib/components/bus.ts
17405
17405
  import {
17406
- distance as distance19,
17406
+ distance as distance20,
17407
17407
  layer_ref as layer_ref6,
17408
17408
  resistance as resistance3
17409
17409
  } from "circuit-json";
@@ -17412,24 +17412,24 @@ var busProps = z71.object({
17412
17412
  name: z71.string().optional(),
17413
17413
  connections: z71.array(z71.string()).min(2),
17414
17414
  routingPhaseIndex: z71.number().nullable().optional(),
17415
- maxLengthSkew: distance19.pipe(z71.number().min(0).finite()).optional(),
17415
+ maxLengthSkew: distance20.pipe(z71.number().min(0).finite()).optional(),
17416
17416
  targetImpedance: resistance3.pipe(z71.number().positive().finite()).optional(),
17417
- pcbTraceWidth: distance19.pipe(z71.number().positive().finite()).optional(),
17417
+ pcbTraceWidth: distance20.pipe(z71.number().positive().finite()).optional(),
17418
17418
  pcbAllowedLayers: z71.array(layer_ref6).min(1).optional()
17419
17419
  });
17420
17420
  expectTypesMatch(true);
17421
17421
 
17422
17422
  // lib/components/differentialpair.ts
17423
- import { distance as distance20, resistance as resistance4 } from "circuit-json";
17423
+ import { distance as distance21, resistance as resistance4 } from "circuit-json";
17424
17424
  import { z as z72 } from "zod";
17425
17425
  var differentialPairProps = z72.object({
17426
17426
  name: z72.string().optional(),
17427
17427
  positiveConnection: z72.string(),
17428
17428
  negativeConnection: z72.string(),
17429
- maxLengthSkew: distance20.pipe(z72.number().min(0).finite()).optional(),
17429
+ maxLengthSkew: distance21.pipe(z72.number().min(0).finite()).optional(),
17430
17430
  targetDifferentialImpedance: resistance4.pipe(z72.number().positive().finite()).optional(),
17431
- pcbTraceGap: distance20.pipe(z72.number().positive().finite()).optional(),
17432
- maxUncoupledLength: distance20.pipe(z72.number().min(0).finite()).optional()
17431
+ pcbTraceGap: distance21.pipe(z72.number().positive().finite()).optional(),
17432
+ maxUncoupledLength: distance21.pipe(z72.number().min(0).finite()).optional()
17433
17433
  });
17434
17434
  expectTypesMatch(true);
17435
17435
 
@@ -17520,7 +17520,7 @@ var mountedboardProps = subcircuitGroupProps.extend({
17520
17520
  expectTypesMatch(true);
17521
17521
 
17522
17522
  // lib/components/pin-header.ts
17523
- import { distance as distance21 } from "circuit-json";
17523
+ import { distance as distance22 } from "circuit-json";
17524
17524
 
17525
17525
  // lib/common/pcbOrientation.ts
17526
17526
  import { z as z77 } from "zod";
@@ -17533,7 +17533,7 @@ expectTypesMatch(true);
17533
17533
  import { z as z78 } from "zod";
17534
17534
  var pinHeaderProps = commonComponentProps.extend({
17535
17535
  pinCount: z78.number(),
17536
- pitch: distance21.optional(),
17536
+ pitch: distance22.optional(),
17537
17537
  schFacingDirection: z78.enum(["up", "down", "left", "right"]).optional(),
17538
17538
  gender: z78.enum(["male", "female", "unpopulated"]).optional().default("male"),
17539
17539
  showSilkscreenPinLabels: z78.boolean().optional(),
@@ -17541,16 +17541,16 @@ var pinHeaderProps = commonComponentProps.extend({
17541
17541
  doubleRow: z78.boolean().optional(),
17542
17542
  rightAngle: z78.boolean().optional(),
17543
17543
  pcbOrientation: pcbOrientation.optional(),
17544
- holeDiameter: distance21.optional(),
17545
- platedDiameter: distance21.optional(),
17544
+ holeDiameter: distance22.optional(),
17545
+ platedDiameter: distance22.optional(),
17546
17546
  pinLabels: z78.record(z78.string(), schematicPinLabel).or(z78.array(schematicPinLabel)).optional(),
17547
17547
  connections: z78.custom().pipe(z78.record(z78.string(), connectionTarget)).optional(),
17548
17548
  facingDirection: z78.enum(["left", "right"]).optional(),
17549
17549
  schPinArrangement: schematicPinArrangement.optional(),
17550
17550
  schPinStyle: schematicPinStyle.optional(),
17551
- schPinSpacing: distance21.optional(),
17552
- schWidth: distance21.optional(),
17553
- schHeight: distance21.optional()
17551
+ schPinSpacing: distance22.optional(),
17552
+ schWidth: distance22.optional(),
17553
+ schHeight: distance22.optional()
17554
17554
  });
17555
17555
  expectTypesMatch(true);
17556
17556
 
@@ -18130,17 +18130,17 @@ var fabricationNoteTextProps = pcbLayoutProps.extend({
18130
18130
  expectTypesMatch(true);
18131
18131
 
18132
18132
  // lib/components/fabrication-note-rect.ts
18133
- import { distance as distance22 } from "circuit-json";
18133
+ import { distance as distance23 } from "circuit-json";
18134
18134
  import { z as z99 } from "zod";
18135
18135
  var fabricationNoteRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
18136
- width: distance22,
18137
- height: distance22,
18138
- strokeWidth: distance22.optional(),
18136
+ width: distance23,
18137
+ height: distance23,
18138
+ strokeWidth: distance23.optional(),
18139
18139
  isFilled: z99.boolean().optional(),
18140
18140
  hasStroke: z99.boolean().optional(),
18141
18141
  isStrokeDashed: z99.boolean().optional(),
18142
18142
  color: z99.string().optional(),
18143
- cornerRadius: distance22.optional()
18143
+ cornerRadius: distance23.optional()
18144
18144
  });
18145
18145
 
18146
18146
  // lib/components/fabrication-note-path.ts
@@ -18163,7 +18163,7 @@ var fabricationNotePathProps = pcbLayoutProps.omit({
18163
18163
  });
18164
18164
 
18165
18165
  // lib/components/fabrication-note-dimension.ts
18166
- import { distance as distance23, length as length6 } from "circuit-json";
18166
+ import { distance as distance24, length as length6 } from "circuit-json";
18167
18167
  import { z as z101 } from "zod";
18168
18168
  var dimensionTarget = z101.union([z101.string(), point]);
18169
18169
  var fabricationNoteDimensionProps = pcbLayoutProps.omit({
@@ -18180,11 +18180,11 @@ var fabricationNoteDimensionProps = pcbLayoutProps.omit({
18180
18180
  from: dimensionTarget,
18181
18181
  to: dimensionTarget,
18182
18182
  text: z101.string().optional(),
18183
- offset: distance23.optional(),
18183
+ offset: distance24.optional(),
18184
18184
  font: z101.enum(["tscircuit2024"]).optional(),
18185
18185
  fontSize: length6.optional(),
18186
18186
  color: z101.string().optional(),
18187
- arrowSize: distance23.optional(),
18187
+ arrowSize: distance24.optional(),
18188
18188
  units: z101.enum(["in", "mm"]).optional(),
18189
18189
  outerEdgeToEdge: z101.literal(true).optional(),
18190
18190
  centerToCenter: z101.literal(true).optional(),
@@ -18193,23 +18193,23 @@ var fabricationNoteDimensionProps = pcbLayoutProps.omit({
18193
18193
  expectTypesMatch(true);
18194
18194
 
18195
18195
  // lib/components/pcb-trace.ts
18196
- import { distance as distance24, route_hint_point as route_hint_point4 } from "circuit-json";
18196
+ import { distance as distance25, route_hint_point as route_hint_point4 } from "circuit-json";
18197
18197
  import { z as z102 } from "zod";
18198
18198
  var pcbTraceProps = z102.object({
18199
18199
  layer: z102.string().optional(),
18200
- thickness: distance24.optional(),
18200
+ thickness: distance25.optional(),
18201
18201
  route: z102.array(route_hint_point4)
18202
18202
  });
18203
18203
 
18204
18204
  // lib/components/via.ts
18205
- import { distance as distance25, layer_ref as layer_ref8 } from "circuit-json";
18205
+ import { distance as distance26, layer_ref as layer_ref8 } from "circuit-json";
18206
18206
  import { z as z103 } from "zod";
18207
18207
  var viaProps = commonLayoutProps.extend({
18208
18208
  name: z103.string().optional(),
18209
18209
  fromLayer: layer_ref8.optional(),
18210
18210
  toLayer: layer_ref8.optional(),
18211
- holeDiameter: distance25.optional(),
18212
- outerDiameter: distance25.optional(),
18211
+ holeDiameter: distance26.optional(),
18212
+ outerDiameter: distance26.optional(),
18213
18213
  layers: z103.array(layer_ref8).optional(),
18214
18214
  connectsTo: z103.string().or(z103.array(z103.string())).optional(),
18215
18215
  netIsAssignable: z103.boolean().optional()
@@ -18217,7 +18217,7 @@ var viaProps = commonLayoutProps.extend({
18217
18217
  expectTypesMatch(true);
18218
18218
 
18219
18219
  // lib/components/testpoint.ts
18220
- import { distance as distance26 } from "circuit-json";
18220
+ import { distance as distance27 } from "circuit-json";
18221
18221
  import { z as z104 } from "zod";
18222
18222
  var testpointPins = ["pin1"];
18223
18223
  var testpointConnectionsProp = z104.object({
@@ -18227,10 +18227,10 @@ var testpointProps = commonComponentProps.extend({
18227
18227
  connections: testpointConnectionsProp.optional(),
18228
18228
  footprintVariant: z104.enum(["pad", "through_hole"]).optional(),
18229
18229
  padShape: z104.enum(["rect", "circle"]).optional().default("circle"),
18230
- padDiameter: distance26.optional(),
18231
- holeDiameter: distance26.optional(),
18232
- width: distance26.optional(),
18233
- height: distance26.optional()
18230
+ padDiameter: distance27.optional(),
18231
+ holeDiameter: distance27.optional(),
18232
+ width: distance27.optional(),
18233
+ height: distance27.optional()
18234
18234
  }).refine(
18235
18235
  (props) => props.footprintVariant !== "through_hole" || props.holeDiameter !== void 0,
18236
18236
  { message: "holeDiameter is required for through_hole testpoints" }
@@ -18245,12 +18245,12 @@ var breakoutPointProps = pcbLayoutProps.omit({ pcbRotation: true, layer: true })
18245
18245
  expectTypesMatch(true);
18246
18246
 
18247
18247
  // lib/components/pcb-keepout.ts
18248
- import { distance as distance27, layer_ref as layer_ref9 } from "circuit-json";
18248
+ import { distance as distance28, layer_ref as layer_ref9 } from "circuit-json";
18249
18249
  import { z as z106 } from "zod";
18250
18250
  var pcbKeepoutProps = z106.union([
18251
18251
  pcbLayoutProps.omit({ pcbRotation: true }).extend({
18252
18252
  shape: z106.literal("circle"),
18253
- radius: distance27,
18253
+ radius: distance28,
18254
18254
  layers: z106.array(layer_ref9).optional(),
18255
18255
  excludeRefs: z106.array(z106.string()).optional().describe(
18256
18256
  'Component selectors excluded from the keepout, such as ".ANT1"'
@@ -18258,8 +18258,8 @@ var pcbKeepoutProps = z106.union([
18258
18258
  }),
18259
18259
  pcbLayoutProps.extend({
18260
18260
  shape: z106.literal("rect"),
18261
- width: distance27,
18262
- height: distance27,
18261
+ width: distance28,
18262
+ height: distance28,
18263
18263
  layers: z106.array(layer_ref9).optional(),
18264
18264
  excludeRefs: z106.array(z106.string()).optional().describe(
18265
18265
  'Component selectors excluded from the keepout, such as ".ANT1"'
@@ -18268,12 +18268,12 @@ var pcbKeepoutProps = z106.union([
18268
18268
  ]);
18269
18269
 
18270
18270
  // lib/components/courtyard-rect.ts
18271
- import { distance as distance28 } from "circuit-json";
18271
+ import { distance as distance29 } from "circuit-json";
18272
18272
  import { z as z107 } from "zod";
18273
18273
  var courtyardRectProps = pcbLayoutProps.extend({
18274
- width: distance28,
18275
- height: distance28,
18276
- strokeWidth: distance28.optional(),
18274
+ width: distance29,
18275
+ height: distance29,
18276
+ strokeWidth: distance29.optional(),
18277
18277
  isFilled: z107.boolean().optional(),
18278
18278
  hasStroke: z107.boolean().optional(),
18279
18279
  isStrokeDashed: z107.boolean().optional(),
@@ -18302,19 +18302,19 @@ var courtyardOutlineProps = pcbLayoutProps.omit({
18302
18302
  });
18303
18303
 
18304
18304
  // lib/components/courtyard-circle.ts
18305
- import { distance as distance29 } from "circuit-json";
18305
+ import { distance as distance30 } from "circuit-json";
18306
18306
  import "zod";
18307
18307
  var courtyardCircleProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
18308
- radius: distance29
18308
+ radius: distance30
18309
18309
  });
18310
18310
 
18311
18311
  // lib/components/courtyard-pill.ts
18312
- import { distance as distance30 } from "circuit-json";
18312
+ import { distance as distance31 } from "circuit-json";
18313
18313
  import "zod";
18314
18314
  var courtyardPillProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
18315
- width: distance30,
18316
- height: distance30,
18317
- radius: distance30
18315
+ width: distance31,
18316
+ height: distance31,
18317
+ radius: distance31
18318
18318
  });
18319
18319
 
18320
18320
  // lib/components/copper-pour.ts
@@ -18469,15 +18469,15 @@ var ammeterPins = ammeterPinLabels;
18469
18469
  expectTypesMatch(true);
18470
18470
 
18471
18471
  // lib/components/schematic-arc.ts
18472
- import { distance as distance31, point as point5, rotation as rotation7 } from "circuit-json";
18472
+ import { distance as distance32, point as point5, rotation as rotation7 } from "circuit-json";
18473
18473
  import { z as z118 } from "zod";
18474
18474
  var schematicArcProps = z118.object({
18475
18475
  center: point5,
18476
- radius: distance31,
18476
+ radius: distance32,
18477
18477
  startAngleDegrees: rotation7,
18478
18478
  endAngleDegrees: rotation7,
18479
18479
  direction: z118.enum(["clockwise", "counterclockwise"]).default("counterclockwise"),
18480
- strokeWidth: distance31.optional(),
18480
+ strokeWidth: distance32.optional(),
18481
18481
  color: z118.string().optional(),
18482
18482
  isDashed: z118.boolean().optional().default(false)
18483
18483
  });
@@ -18491,29 +18491,29 @@ var toolingrailProps = z119.object({
18491
18491
  expectTypesMatch(true);
18492
18492
 
18493
18493
  // lib/components/schematic-box.ts
18494
- import { distance as distance32 } from "circuit-json";
18494
+ import { distance as distance33 } from "circuit-json";
18495
18495
  import { z as z120 } from "zod";
18496
18496
  var schematicBoxProps = z120.object({
18497
18497
  name: z120.string().optional(),
18498
18498
  chipRef: z120.string().optional(),
18499
18499
  pinLabels: pinLabelsProp.optional(),
18500
18500
  schPinArrangement: schematicPinArrangement.optional(),
18501
- schX: distance32.optional(),
18502
- schY: distance32.optional(),
18501
+ schX: distance33.optional(),
18502
+ schY: distance33.optional(),
18503
18503
  schSectionName: z120.string().optional(),
18504
18504
  schSheetName: z120.string().optional(),
18505
- width: distance32.optional(),
18506
- height: distance32.optional(),
18505
+ width: distance33.optional(),
18506
+ height: distance33.optional(),
18507
18507
  overlay: z120.array(z120.string()).optional(),
18508
- padding: distance32.optional(),
18509
- paddingLeft: distance32.optional(),
18510
- paddingRight: distance32.optional(),
18511
- paddingTop: distance32.optional(),
18512
- paddingBottom: distance32.optional(),
18508
+ padding: distance33.optional(),
18509
+ paddingLeft: distance33.optional(),
18510
+ paddingRight: distance33.optional(),
18511
+ paddingTop: distance33.optional(),
18512
+ paddingBottom: distance33.optional(),
18513
18513
  title: z120.string().optional(),
18514
18514
  titleAlignment: ninePointAnchor.default("top_left"),
18515
18515
  titleColor: z120.string().optional(),
18516
- titleFontSize: distance32.optional(),
18516
+ titleFontSize: distance33.optional(),
18517
18517
  titleInside: z120.boolean().default(false),
18518
18518
  strokeStyle: z120.enum(["solid", "dashed"]).default("solid")
18519
18519
  }).refine(
@@ -18552,12 +18552,12 @@ expectTypesMatch(
18552
18552
  );
18553
18553
 
18554
18554
  // lib/components/schematic-circle.ts
18555
- import { distance as distance33, point as point6 } from "circuit-json";
18555
+ import { distance as distance34, point as point6 } from "circuit-json";
18556
18556
  import { z as z122 } from "zod";
18557
18557
  var schematicCircleProps = z122.object({
18558
18558
  center: point6,
18559
- radius: distance33,
18560
- strokeWidth: distance33.optional(),
18559
+ radius: distance34,
18560
+ strokeWidth: distance34.optional(),
18561
18561
  color: z122.string().optional(),
18562
18562
  isFilled: z122.boolean().optional().default(false),
18563
18563
  fillColor: z122.string().optional(),
@@ -18568,15 +18568,15 @@ expectTypesMatch(
18568
18568
  );
18569
18569
 
18570
18570
  // lib/components/schematic-rect.ts
18571
- import { distance as distance34, rotation as rotation9 } from "circuit-json";
18571
+ import { distance as distance35, rotation as rotation9 } from "circuit-json";
18572
18572
  import { z as z123 } from "zod";
18573
18573
  var schematicRectProps = z123.object({
18574
- schX: distance34.optional(),
18575
- schY: distance34.optional(),
18576
- width: distance34,
18577
- height: distance34,
18574
+ schX: distance35.optional(),
18575
+ schY: distance35.optional(),
18576
+ width: distance35,
18577
+ height: distance35,
18578
18578
  rotation: rotation9.default(0),
18579
- strokeWidth: distance34.optional(),
18579
+ strokeWidth: distance35.optional(),
18580
18580
  color: z123.string().optional(),
18581
18581
  isFilled: z123.boolean().optional().default(false),
18582
18582
  fillColor: z123.string().optional(),
@@ -18585,23 +18585,23 @@ var schematicRectProps = z123.object({
18585
18585
  expectTypesMatch(true);
18586
18586
 
18587
18587
  // lib/components/schematic-line.ts
18588
- import { distance as distance35 } from "circuit-json";
18588
+ import { distance as distance36 } from "circuit-json";
18589
18589
  import { z as z124 } from "zod";
18590
18590
  var schematicLineProps = z124.object({
18591
- x1: distance35,
18592
- y1: distance35,
18593
- x2: distance35,
18594
- y2: distance35,
18595
- strokeWidth: distance35.optional(),
18591
+ x1: distance36,
18592
+ y1: distance36,
18593
+ x2: distance36,
18594
+ y2: distance36,
18595
+ strokeWidth: distance36.optional(),
18596
18596
  color: z124.string().optional(),
18597
18597
  isDashed: z124.boolean().optional().default(false),
18598
- dashLength: distance35.optional(),
18599
- dashGap: distance35.optional()
18598
+ dashLength: distance36.optional(),
18599
+ dashGap: distance36.optional()
18600
18600
  });
18601
18601
  expectTypesMatch(true);
18602
18602
 
18603
18603
  // lib/components/schematic-text.ts
18604
- import { distance as distance36, rotation as rotation10 } from "circuit-json";
18604
+ import { distance as distance37, rotation as rotation10 } from "circuit-json";
18605
18605
  import { z as z126 } from "zod";
18606
18606
 
18607
18607
  // lib/common/fivePointAnchor.ts
@@ -18616,8 +18616,8 @@ var fivePointAnchor = z125.enum([
18616
18616
 
18617
18617
  // lib/components/schematic-text.ts
18618
18618
  var schematicTextProps = z126.object({
18619
- schX: distance36.optional(),
18620
- schY: distance36.optional(),
18619
+ schX: distance37.optional(),
18620
+ schY: distance37.optional(),
18621
18621
  text: z126.string(),
18622
18622
  fontSize: z126.number().default(1),
18623
18623
  anchor: z126.union([fivePointAnchor.describe("legacy"), ninePointAnchor]).default("center"),
@@ -18627,65 +18627,65 @@ var schematicTextProps = z126.object({
18627
18627
  expectTypesMatch(true);
18628
18628
 
18629
18629
  // lib/components/schematic-path.ts
18630
- import { distance as distance37, point as point7 } from "circuit-json";
18630
+ import { distance as distance38, point as point7 } from "circuit-json";
18631
18631
  import { z as z127 } from "zod";
18632
18632
  var schematicPathProps = z127.object({
18633
18633
  points: z127.array(point7).optional(),
18634
18634
  svgPath: z127.string().optional(),
18635
- strokeWidth: distance37.optional(),
18635
+ strokeWidth: distance38.optional(),
18636
18636
  strokeColor: z127.string().optional(),
18637
- dashLength: distance37.optional(),
18638
- dashGap: distance37.optional(),
18637
+ dashLength: distance38.optional(),
18638
+ dashGap: distance38.optional(),
18639
18639
  isFilled: z127.boolean().optional().default(false),
18640
18640
  fillColor: z127.string().optional()
18641
18641
  });
18642
18642
  expectTypesMatch(true);
18643
18643
 
18644
18644
  // lib/components/schematic-table.ts
18645
- import { distance as distance38 } from "circuit-json";
18645
+ import { distance as distance39 } from "circuit-json";
18646
18646
  import { z as z128 } from "zod";
18647
18647
  var schematicTableProps = z128.object({
18648
- schX: distance38.optional(),
18649
- schY: distance38.optional(),
18648
+ schX: distance39.optional(),
18649
+ schY: distance39.optional(),
18650
18650
  children: z128.any().optional(),
18651
- cellPadding: distance38.optional(),
18652
- borderWidth: distance38.optional(),
18651
+ cellPadding: distance39.optional(),
18652
+ borderWidth: distance39.optional(),
18653
18653
  anchor: ninePointAnchor.optional(),
18654
- fontSize: distance38.optional()
18654
+ fontSize: distance39.optional()
18655
18655
  });
18656
18656
  expectTypesMatch(true);
18657
18657
 
18658
18658
  // lib/components/schematic-row.ts
18659
- import { distance as distance39 } from "circuit-json";
18659
+ import { distance as distance40 } from "circuit-json";
18660
18660
  import { z as z129 } from "zod";
18661
18661
  var schematicRowProps = z129.object({
18662
18662
  children: z129.any().optional(),
18663
- height: distance39.optional()
18663
+ height: distance40.optional()
18664
18664
  });
18665
18665
  expectTypesMatch(true);
18666
18666
 
18667
18667
  // lib/components/schematic-cell.ts
18668
- import { distance as distance40 } from "circuit-json";
18668
+ import { distance as distance41 } from "circuit-json";
18669
18669
  import { z as z130 } from "zod";
18670
18670
  var schematicCellProps = z130.object({
18671
18671
  children: z130.string().optional(),
18672
18672
  horizontalAlign: z130.enum(["left", "center", "right"]).optional(),
18673
18673
  verticalAlign: z130.enum(["top", "middle", "bottom"]).optional(),
18674
- fontSize: distance40.optional(),
18674
+ fontSize: distance41.optional(),
18675
18675
  rowSpan: z130.number().optional(),
18676
18676
  colSpan: z130.number().optional(),
18677
- width: distance40.optional(),
18677
+ width: distance41.optional(),
18678
18678
  text: z130.string().optional()
18679
18679
  });
18680
18680
  expectTypesMatch(true);
18681
18681
 
18682
18682
  // lib/components/schematic-section.ts
18683
- import { distance as distance41 } from "circuit-json";
18683
+ import { distance as distance42 } from "circuit-json";
18684
18684
  import { z as z131 } from "zod";
18685
18685
  var schematicSectionProps = z131.object({
18686
18686
  displayName: z131.string().optional(),
18687
18687
  name: z131.string(),
18688
- sectionTitleFontSize: distance41.optional()
18688
+ sectionTitleFontSize: distance42.optional()
18689
18689
  });
18690
18690
  expectTypesMatch(
18691
18691
  true
@@ -18753,7 +18753,7 @@ var silkscreenPathProps = pcbLayoutProps.omit({
18753
18753
  });
18754
18754
 
18755
18755
  // lib/components/silkscreen-line.ts
18756
- import { distance as distance42 } from "circuit-json";
18756
+ import { distance as distance43 } from "circuit-json";
18757
18757
  var silkscreenLineProps = pcbLayoutProps.omit({
18758
18758
  pcbX: true,
18759
18759
  pcbY: true,
@@ -18761,33 +18761,33 @@ var silkscreenLineProps = pcbLayoutProps.omit({
18761
18761
  pcbOffsetY: true,
18762
18762
  pcbRotation: true
18763
18763
  }).extend({
18764
- strokeWidth: distance42,
18765
- x1: distance42,
18766
- y1: distance42,
18767
- x2: distance42,
18768
- y2: distance42
18764
+ strokeWidth: distance43,
18765
+ x1: distance43,
18766
+ y1: distance43,
18767
+ x2: distance43,
18768
+ y2: distance43
18769
18769
  });
18770
18770
 
18771
18771
  // lib/components/silkscreen-rect.ts
18772
- import { distance as distance43 } from "circuit-json";
18772
+ import { distance as distance44 } from "circuit-json";
18773
18773
  import { z as z136 } from "zod";
18774
18774
  var silkscreenRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
18775
18775
  filled: z136.boolean().default(true).optional(),
18776
18776
  stroke: z136.enum(["dashed", "solid", "none"]).optional(),
18777
- strokeWidth: distance43.optional(),
18778
- width: distance43,
18779
- height: distance43,
18780
- cornerRadius: distance43.optional()
18777
+ strokeWidth: distance44.optional(),
18778
+ width: distance44,
18779
+ height: distance44,
18780
+ cornerRadius: distance44.optional()
18781
18781
  });
18782
18782
 
18783
18783
  // lib/components/silkscreen-circle.ts
18784
- import { distance as distance44 } from "circuit-json";
18784
+ import { distance as distance45 } from "circuit-json";
18785
18785
  import { z as z137 } from "zod";
18786
18786
  var silkscreenCircleProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
18787
18787
  isFilled: z137.boolean().optional(),
18788
18788
  isOutline: z137.boolean().optional(),
18789
- strokeWidth: distance44.optional(),
18790
- radius: distance44
18789
+ strokeWidth: distance45.optional(),
18790
+ radius: distance45
18791
18791
  });
18792
18792
 
18793
18793
  // lib/components/silkscreen-graphic.ts
@@ -18802,11 +18802,11 @@ var silkscreenGraphicProps = pcbLayoutProps.omit({ layer: true, pcbStyle: true,
18802
18802
  expectTypesMatch(true);
18803
18803
 
18804
18804
  // lib/components/trace-hint.ts
18805
- import { distance as distance45, layer_ref as layer_ref14, route_hint_point as route_hint_point6 } from "circuit-json";
18805
+ import { distance as distance46, layer_ref as layer_ref14, route_hint_point as route_hint_point6 } from "circuit-json";
18806
18806
  import { z as z139 } from "zod";
18807
18807
  var routeHintPointProps = z139.object({
18808
- x: distance45,
18809
- y: distance45,
18808
+ x: distance46,
18809
+ y: distance46,
18810
18810
  via: z139.boolean().optional(),
18811
18811
  toLayer: layer_ref14.optional()
18812
18812
  });
@@ -18850,17 +18850,17 @@ var pcbNoteTextProps = pcbLayoutProps.extend({
18850
18850
  expectTypesMatch(true);
18851
18851
 
18852
18852
  // lib/components/pcb-note-rect.ts
18853
- import { distance as distance46 } from "circuit-json";
18853
+ import { distance as distance47 } from "circuit-json";
18854
18854
  import { z as z142 } from "zod";
18855
18855
  var pcbNoteRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
18856
- width: distance46,
18857
- height: distance46,
18858
- strokeWidth: distance46.optional(),
18856
+ width: distance47,
18857
+ height: distance47,
18858
+ strokeWidth: distance47.optional(),
18859
18859
  isFilled: z142.boolean().optional(),
18860
18860
  hasStroke: z142.boolean().optional(),
18861
18861
  isStrokeDashed: z142.boolean().optional(),
18862
18862
  color: z142.string().optional(),
18863
- cornerRadius: distance46.optional()
18863
+ cornerRadius: distance47.optional()
18864
18864
  });
18865
18865
  expectTypesMatch(true);
18866
18866
 
@@ -18888,7 +18888,7 @@ var pcbNotePathProps = pcbLayoutProps.omit({
18888
18888
  expectTypesMatch(true);
18889
18889
 
18890
18890
  // lib/components/pcb-note-line.ts
18891
- import { distance as distance47 } from "circuit-json";
18891
+ import { distance as distance48 } from "circuit-json";
18892
18892
  import { z as z144 } from "zod";
18893
18893
  var pcbNoteLineProps = pcbLayoutProps.omit({
18894
18894
  pcbLeftEdgeX: true,
@@ -18901,18 +18901,18 @@ var pcbNoteLineProps = pcbLayoutProps.omit({
18901
18901
  pcbOffsetY: true,
18902
18902
  pcbRotation: true
18903
18903
  }).extend({
18904
- x1: distance47,
18905
- y1: distance47,
18906
- x2: distance47,
18907
- y2: distance47,
18908
- strokeWidth: distance47.optional(),
18904
+ x1: distance48,
18905
+ y1: distance48,
18906
+ x2: distance48,
18907
+ y2: distance48,
18908
+ strokeWidth: distance48.optional(),
18909
18909
  color: z144.string().optional(),
18910
18910
  isDashed: z144.boolean().optional()
18911
18911
  });
18912
18912
  expectTypesMatch(true);
18913
18913
 
18914
18914
  // lib/components/pcb-note-dimension.ts
18915
- import { distance as distance48, length as length13 } from "circuit-json";
18915
+ import { distance as distance49, length as length13 } from "circuit-json";
18916
18916
  import { z as z145 } from "zod";
18917
18917
  var dimensionTarget2 = z145.union([z145.string(), point]);
18918
18918
  var pcbNoteDimensionProps = pcbLayoutProps.omit({
@@ -18929,11 +18929,11 @@ var pcbNoteDimensionProps = pcbLayoutProps.omit({
18929
18929
  from: dimensionTarget2,
18930
18930
  to: dimensionTarget2,
18931
18931
  text: z145.string().optional(),
18932
- offset: distance48.optional(),
18932
+ offset: distance49.optional(),
18933
18933
  font: z145.enum(["tscircuit2024"]).optional(),
18934
18934
  fontSize: length13.optional(),
18935
18935
  color: z145.string().optional(),
18936
- arrowSize: distance48.optional(),
18936
+ arrowSize: distance49.optional(),
18937
18937
  units: z145.enum(["in", "mm"]).optional(),
18938
18938
  outerEdgeToEdge: z145.literal(true).optional(),
18939
18939
  centerToCenter: z145.literal(true).optional(),
@@ -19006,6 +19006,7 @@ var platformConfig = z146.object({
19006
19006
  unitPreference: z146.enum(["mm", "in", "mil"]).optional(),
19007
19007
  localCacheEngine: localCacheEngine.optional(),
19008
19008
  enablePartOrientationAnalysis: z146.boolean().optional(),
19009
+ pcbPackSolverTimeoutMs: z146.number().finite().positive().optional(),
19009
19010
  pcbDisabled: z146.boolean().optional(),
19010
19011
  routingDisabled: z146.boolean().optional(),
19011
19012
  schematicDisabled: z146.boolean().optional(),