circuit-json 0.0.240 → 0.0.241

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.d.mts CHANGED
@@ -4182,7 +4182,403 @@ interface PcbThermalSpoke {
4182
4182
  subcircuit_id?: string;
4183
4183
  }
4184
4184
 
4185
- type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke;
4185
+ declare const pcb_copper_pour_rect: z.ZodObject<{
4186
+ type: z.ZodLiteral<"pcb_copper_pour">;
4187
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4188
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4189
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4190
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4191
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4192
+ }, "strip", z.ZodTypeAny, {
4193
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4194
+ }, {
4195
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4196
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4197
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4198
+ }>;
4199
+ source_net_id: z.ZodOptional<z.ZodString>;
4200
+ } & {
4201
+ shape: z.ZodLiteral<"rect">;
4202
+ center: z.ZodObject<{
4203
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4204
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4205
+ }, "strip", z.ZodTypeAny, {
4206
+ x: number;
4207
+ y: number;
4208
+ }, {
4209
+ x: string | number;
4210
+ y: string | number;
4211
+ }>;
4212
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4213
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4214
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4215
+ }, "strip", z.ZodTypeAny, {
4216
+ type: "pcb_copper_pour";
4217
+ width: number;
4218
+ height: number;
4219
+ center: {
4220
+ x: number;
4221
+ y: number;
4222
+ };
4223
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4224
+ shape: "rect";
4225
+ pcb_copper_pour_id: string;
4226
+ rotation?: number | undefined;
4227
+ subcircuit_id?: string | undefined;
4228
+ pcb_group_id?: string | undefined;
4229
+ source_net_id?: string | undefined;
4230
+ }, {
4231
+ type: "pcb_copper_pour";
4232
+ width: string | number;
4233
+ height: string | number;
4234
+ center: {
4235
+ x: string | number;
4236
+ y: string | number;
4237
+ };
4238
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4239
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4240
+ };
4241
+ shape: "rect";
4242
+ rotation?: string | number | undefined;
4243
+ subcircuit_id?: string | undefined;
4244
+ pcb_group_id?: string | undefined;
4245
+ source_net_id?: string | undefined;
4246
+ pcb_copper_pour_id?: string | undefined;
4247
+ }>;
4248
+ type PcbCopperPourRectInput = z.input<typeof pcb_copper_pour_rect>;
4249
+ /**
4250
+ * Defines a rectangular copper pour on the PCB.
4251
+ */
4252
+ interface PcbCopperPourRect {
4253
+ type: "pcb_copper_pour";
4254
+ pcb_copper_pour_id: string;
4255
+ pcb_group_id?: string;
4256
+ subcircuit_id?: string;
4257
+ layer: LayerRef;
4258
+ source_net_id?: string;
4259
+ shape: "rect";
4260
+ center: Point;
4261
+ width: Length;
4262
+ height: Length;
4263
+ rotation?: Rotation;
4264
+ }
4265
+ declare const pcb_copper_pour_circle: z.ZodObject<{
4266
+ type: z.ZodLiteral<"pcb_copper_pour">;
4267
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4268
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4269
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4270
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4271
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4272
+ }, "strip", z.ZodTypeAny, {
4273
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4274
+ }, {
4275
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4276
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4277
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4278
+ }>;
4279
+ source_net_id: z.ZodOptional<z.ZodString>;
4280
+ } & {
4281
+ shape: z.ZodLiteral<"circle">;
4282
+ center: z.ZodObject<{
4283
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4284
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4285
+ }, "strip", z.ZodTypeAny, {
4286
+ x: number;
4287
+ y: number;
4288
+ }, {
4289
+ x: string | number;
4290
+ y: string | number;
4291
+ }>;
4292
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4293
+ }, "strip", z.ZodTypeAny, {
4294
+ type: "pcb_copper_pour";
4295
+ center: {
4296
+ x: number;
4297
+ y: number;
4298
+ };
4299
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4300
+ shape: "circle";
4301
+ radius: number;
4302
+ pcb_copper_pour_id: string;
4303
+ subcircuit_id?: string | undefined;
4304
+ pcb_group_id?: string | undefined;
4305
+ source_net_id?: string | undefined;
4306
+ }, {
4307
+ type: "pcb_copper_pour";
4308
+ center: {
4309
+ x: string | number;
4310
+ y: string | number;
4311
+ };
4312
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4313
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4314
+ };
4315
+ shape: "circle";
4316
+ radius: string | number;
4317
+ subcircuit_id?: string | undefined;
4318
+ pcb_group_id?: string | undefined;
4319
+ source_net_id?: string | undefined;
4320
+ pcb_copper_pour_id?: string | undefined;
4321
+ }>;
4322
+ type PcbCopperPourCircleInput = z.input<typeof pcb_copper_pour_circle>;
4323
+ /**
4324
+ * Defines a circular copper pour on the PCB.
4325
+ */
4326
+ interface PcbCopperPourCircle {
4327
+ type: "pcb_copper_pour";
4328
+ pcb_copper_pour_id: string;
4329
+ pcb_group_id?: string;
4330
+ subcircuit_id?: string;
4331
+ layer: LayerRef;
4332
+ source_net_id?: string;
4333
+ shape: "circle";
4334
+ center: Point;
4335
+ radius: Length;
4336
+ }
4337
+ declare const pcb_copper_pour_polygon: z.ZodObject<{
4338
+ type: z.ZodLiteral<"pcb_copper_pour">;
4339
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4340
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4341
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4342
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4343
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4344
+ }, "strip", z.ZodTypeAny, {
4345
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4346
+ }, {
4347
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4348
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4349
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4350
+ }>;
4351
+ source_net_id: z.ZodOptional<z.ZodString>;
4352
+ } & {
4353
+ shape: z.ZodLiteral<"polygon">;
4354
+ points: z.ZodArray<z.ZodObject<{
4355
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4356
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4357
+ }, "strip", z.ZodTypeAny, {
4358
+ x: number;
4359
+ y: number;
4360
+ }, {
4361
+ x: string | number;
4362
+ y: string | number;
4363
+ }>, "many">;
4364
+ }, "strip", z.ZodTypeAny, {
4365
+ type: "pcb_copper_pour";
4366
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4367
+ shape: "polygon";
4368
+ points: {
4369
+ x: number;
4370
+ y: number;
4371
+ }[];
4372
+ pcb_copper_pour_id: string;
4373
+ subcircuit_id?: string | undefined;
4374
+ pcb_group_id?: string | undefined;
4375
+ source_net_id?: string | undefined;
4376
+ }, {
4377
+ type: "pcb_copper_pour";
4378
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4379
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4380
+ };
4381
+ shape: "polygon";
4382
+ points: {
4383
+ x: string | number;
4384
+ y: string | number;
4385
+ }[];
4386
+ subcircuit_id?: string | undefined;
4387
+ pcb_group_id?: string | undefined;
4388
+ source_net_id?: string | undefined;
4389
+ pcb_copper_pour_id?: string | undefined;
4390
+ }>;
4391
+ type PcbCopperPourPolygonInput = z.input<typeof pcb_copper_pour_polygon>;
4392
+ /**
4393
+ * Defines a polygonal copper pour on the PCB, specified by a list of points.
4394
+ * The polygon should be closed (the last point implicitly connects to the first).
4395
+ */
4396
+ interface PcbCopperPourPolygon {
4397
+ type: "pcb_copper_pour";
4398
+ pcb_copper_pour_id: string;
4399
+ pcb_group_id?: string;
4400
+ subcircuit_id?: string;
4401
+ layer: LayerRef;
4402
+ source_net_id?: string;
4403
+ shape: "polygon";
4404
+ points: Point[];
4405
+ }
4406
+ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
4407
+ type: z.ZodLiteral<"pcb_copper_pour">;
4408
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4409
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4410
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4411
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4412
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4413
+ }, "strip", z.ZodTypeAny, {
4414
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4415
+ }, {
4416
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4417
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4418
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4419
+ }>;
4420
+ source_net_id: z.ZodOptional<z.ZodString>;
4421
+ } & {
4422
+ shape: z.ZodLiteral<"rect">;
4423
+ center: z.ZodObject<{
4424
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4425
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4426
+ }, "strip", z.ZodTypeAny, {
4427
+ x: number;
4428
+ y: number;
4429
+ }, {
4430
+ x: string | number;
4431
+ y: string | number;
4432
+ }>;
4433
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4434
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4435
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4436
+ }, "strip", z.ZodTypeAny, {
4437
+ type: "pcb_copper_pour";
4438
+ width: number;
4439
+ height: number;
4440
+ center: {
4441
+ x: number;
4442
+ y: number;
4443
+ };
4444
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4445
+ shape: "rect";
4446
+ pcb_copper_pour_id: string;
4447
+ rotation?: number | undefined;
4448
+ subcircuit_id?: string | undefined;
4449
+ pcb_group_id?: string | undefined;
4450
+ source_net_id?: string | undefined;
4451
+ }, {
4452
+ type: "pcb_copper_pour";
4453
+ width: string | number;
4454
+ height: string | number;
4455
+ center: {
4456
+ x: string | number;
4457
+ y: string | number;
4458
+ };
4459
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4460
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4461
+ };
4462
+ shape: "rect";
4463
+ rotation?: string | number | undefined;
4464
+ subcircuit_id?: string | undefined;
4465
+ pcb_group_id?: string | undefined;
4466
+ source_net_id?: string | undefined;
4467
+ pcb_copper_pour_id?: string | undefined;
4468
+ }>, z.ZodObject<{
4469
+ type: z.ZodLiteral<"pcb_copper_pour">;
4470
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4471
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4472
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4473
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4474
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4475
+ }, "strip", z.ZodTypeAny, {
4476
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4477
+ }, {
4478
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4479
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4480
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4481
+ }>;
4482
+ source_net_id: z.ZodOptional<z.ZodString>;
4483
+ } & {
4484
+ shape: z.ZodLiteral<"circle">;
4485
+ center: z.ZodObject<{
4486
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4487
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4488
+ }, "strip", z.ZodTypeAny, {
4489
+ x: number;
4490
+ y: number;
4491
+ }, {
4492
+ x: string | number;
4493
+ y: string | number;
4494
+ }>;
4495
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4496
+ }, "strip", z.ZodTypeAny, {
4497
+ type: "pcb_copper_pour";
4498
+ center: {
4499
+ x: number;
4500
+ y: number;
4501
+ };
4502
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4503
+ shape: "circle";
4504
+ radius: number;
4505
+ pcb_copper_pour_id: string;
4506
+ subcircuit_id?: string | undefined;
4507
+ pcb_group_id?: string | undefined;
4508
+ source_net_id?: string | undefined;
4509
+ }, {
4510
+ type: "pcb_copper_pour";
4511
+ center: {
4512
+ x: string | number;
4513
+ y: string | number;
4514
+ };
4515
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4516
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4517
+ };
4518
+ shape: "circle";
4519
+ radius: string | number;
4520
+ subcircuit_id?: string | undefined;
4521
+ pcb_group_id?: string | undefined;
4522
+ source_net_id?: string | undefined;
4523
+ pcb_copper_pour_id?: string | undefined;
4524
+ }>, z.ZodObject<{
4525
+ type: z.ZodLiteral<"pcb_copper_pour">;
4526
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4527
+ pcb_group_id: z.ZodOptional<z.ZodString>;
4528
+ subcircuit_id: z.ZodOptional<z.ZodString>;
4529
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4530
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4531
+ }, "strip", z.ZodTypeAny, {
4532
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4533
+ }, {
4534
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4535
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4536
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4537
+ }>;
4538
+ source_net_id: z.ZodOptional<z.ZodString>;
4539
+ } & {
4540
+ shape: z.ZodLiteral<"polygon">;
4541
+ points: z.ZodArray<z.ZodObject<{
4542
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4543
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4544
+ }, "strip", z.ZodTypeAny, {
4545
+ x: number;
4546
+ y: number;
4547
+ }, {
4548
+ x: string | number;
4549
+ y: string | number;
4550
+ }>, "many">;
4551
+ }, "strip", z.ZodTypeAny, {
4552
+ type: "pcb_copper_pour";
4553
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4554
+ shape: "polygon";
4555
+ points: {
4556
+ x: number;
4557
+ y: number;
4558
+ }[];
4559
+ pcb_copper_pour_id: string;
4560
+ subcircuit_id?: string | undefined;
4561
+ pcb_group_id?: string | undefined;
4562
+ source_net_id?: string | undefined;
4563
+ }, {
4564
+ type: "pcb_copper_pour";
4565
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4566
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4567
+ };
4568
+ shape: "polygon";
4569
+ points: {
4570
+ x: string | number;
4571
+ y: string | number;
4572
+ }[];
4573
+ subcircuit_id?: string | undefined;
4574
+ pcb_group_id?: string | undefined;
4575
+ source_net_id?: string | undefined;
4576
+ pcb_copper_pour_id?: string | undefined;
4577
+ }>]>;
4578
+ type PcbCopperPourInput = z.input<typeof pcb_copper_pour>;
4579
+ type PcbCopperPour = PcbCopperPourRect | PcbCopperPourCircle | PcbCopperPourPolygon;
4580
+
4581
+ type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour;
4186
4582
 
4187
4583
  interface SchematicBox {
4188
4584
  type: "schematic_box";
@@ -13135,8 +13531,220 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13135
13531
  pcb_group_id: z.ZodOptional<z.ZodString>;
13136
13532
  subcircuit_id: z.ZodOptional<z.ZodString>;
13137
13533
  } & {
13138
- shape: z.ZodLiteral<"polygon">;
13139
- points: z.ZodArray<z.ZodObject<{
13534
+ shape: z.ZodLiteral<"polygon">;
13535
+ points: z.ZodArray<z.ZodObject<{
13536
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13537
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13538
+ }, "strip", z.ZodTypeAny, {
13539
+ x: number;
13540
+ y: number;
13541
+ }, {
13542
+ x: string | number;
13543
+ y: string | number;
13544
+ }>, "many">;
13545
+ }, "strip", z.ZodTypeAny, {
13546
+ type: "pcb_cutout";
13547
+ shape: "polygon";
13548
+ points: {
13549
+ x: number;
13550
+ y: number;
13551
+ }[];
13552
+ pcb_cutout_id: string;
13553
+ subcircuit_id?: string | undefined;
13554
+ pcb_group_id?: string | undefined;
13555
+ }, {
13556
+ type: "pcb_cutout";
13557
+ shape: "polygon";
13558
+ points: {
13559
+ x: string | number;
13560
+ y: string | number;
13561
+ }[];
13562
+ subcircuit_id?: string | undefined;
13563
+ pcb_group_id?: string | undefined;
13564
+ pcb_cutout_id?: string | undefined;
13565
+ }>]>, z.ZodObject<{
13566
+ type: z.ZodLiteral<"pcb_ground_plane">;
13567
+ pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13568
+ source_pcb_ground_plane_id: z.ZodString;
13569
+ source_net_id: z.ZodString;
13570
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13571
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13572
+ }, "strip", z.ZodTypeAny, {
13573
+ type: "pcb_ground_plane";
13574
+ source_net_id: string;
13575
+ pcb_ground_plane_id: string;
13576
+ source_pcb_ground_plane_id: string;
13577
+ subcircuit_id?: string | undefined;
13578
+ pcb_group_id?: string | undefined;
13579
+ }, {
13580
+ type: "pcb_ground_plane";
13581
+ source_net_id: string;
13582
+ source_pcb_ground_plane_id: string;
13583
+ subcircuit_id?: string | undefined;
13584
+ pcb_group_id?: string | undefined;
13585
+ pcb_ground_plane_id?: string | undefined;
13586
+ }>, z.ZodObject<{
13587
+ type: z.ZodLiteral<"pcb_ground_plane_region">;
13588
+ pcb_ground_plane_region_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13589
+ pcb_ground_plane_id: z.ZodString;
13590
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13591
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13592
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
13593
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
13594
+ }, "strip", z.ZodTypeAny, {
13595
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13596
+ }, {
13597
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13598
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13599
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13600
+ }>;
13601
+ points: z.ZodArray<z.ZodObject<{
13602
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13603
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13604
+ }, "strip", z.ZodTypeAny, {
13605
+ x: number;
13606
+ y: number;
13607
+ }, {
13608
+ x: string | number;
13609
+ y: string | number;
13610
+ }>, "many">;
13611
+ }, "strip", z.ZodTypeAny, {
13612
+ type: "pcb_ground_plane_region";
13613
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13614
+ points: {
13615
+ x: number;
13616
+ y: number;
13617
+ }[];
13618
+ pcb_ground_plane_id: string;
13619
+ pcb_ground_plane_region_id: string;
13620
+ subcircuit_id?: string | undefined;
13621
+ pcb_group_id?: string | undefined;
13622
+ }, {
13623
+ type: "pcb_ground_plane_region";
13624
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13625
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13626
+ };
13627
+ points: {
13628
+ x: string | number;
13629
+ y: string | number;
13630
+ }[];
13631
+ pcb_ground_plane_id: string;
13632
+ subcircuit_id?: string | undefined;
13633
+ pcb_group_id?: string | undefined;
13634
+ pcb_ground_plane_region_id?: string | undefined;
13635
+ }>, z.ZodObject<{
13636
+ type: z.ZodLiteral<"pcb_thermal_spoke">;
13637
+ pcb_thermal_spoke_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13638
+ pcb_ground_plane_id: z.ZodString;
13639
+ shape: z.ZodString;
13640
+ spoke_count: z.ZodNumber;
13641
+ spoke_thickness: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13642
+ spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13643
+ spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13644
+ pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
13645
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13646
+ }, "strip", z.ZodTypeAny, {
13647
+ type: "pcb_thermal_spoke";
13648
+ shape: string;
13649
+ pcb_ground_plane_id: string;
13650
+ pcb_thermal_spoke_id: string;
13651
+ spoke_count: number;
13652
+ spoke_thickness: number;
13653
+ spoke_inner_diameter: number;
13654
+ spoke_outer_diameter: number;
13655
+ subcircuit_id?: string | undefined;
13656
+ pcb_plated_hole_id?: string | undefined;
13657
+ }, {
13658
+ type: "pcb_thermal_spoke";
13659
+ shape: string;
13660
+ pcb_ground_plane_id: string;
13661
+ spoke_count: number;
13662
+ spoke_thickness: string | number;
13663
+ spoke_inner_diameter: string | number;
13664
+ spoke_outer_diameter: string | number;
13665
+ subcircuit_id?: string | undefined;
13666
+ pcb_plated_hole_id?: string | undefined;
13667
+ pcb_thermal_spoke_id?: string | undefined;
13668
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
13669
+ type: z.ZodLiteral<"pcb_copper_pour">;
13670
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13671
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13672
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13673
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
13674
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
13675
+ }, "strip", z.ZodTypeAny, {
13676
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13677
+ }, {
13678
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13679
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13680
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13681
+ }>;
13682
+ source_net_id: z.ZodOptional<z.ZodString>;
13683
+ } & {
13684
+ shape: z.ZodLiteral<"rect">;
13685
+ center: z.ZodObject<{
13686
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13687
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13688
+ }, "strip", z.ZodTypeAny, {
13689
+ x: number;
13690
+ y: number;
13691
+ }, {
13692
+ x: string | number;
13693
+ y: string | number;
13694
+ }>;
13695
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13696
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13697
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
13698
+ }, "strip", z.ZodTypeAny, {
13699
+ type: "pcb_copper_pour";
13700
+ width: number;
13701
+ height: number;
13702
+ center: {
13703
+ x: number;
13704
+ y: number;
13705
+ };
13706
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13707
+ shape: "rect";
13708
+ pcb_copper_pour_id: string;
13709
+ rotation?: number | undefined;
13710
+ subcircuit_id?: string | undefined;
13711
+ pcb_group_id?: string | undefined;
13712
+ source_net_id?: string | undefined;
13713
+ }, {
13714
+ type: "pcb_copper_pour";
13715
+ width: string | number;
13716
+ height: string | number;
13717
+ center: {
13718
+ x: string | number;
13719
+ y: string | number;
13720
+ };
13721
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13722
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13723
+ };
13724
+ shape: "rect";
13725
+ rotation?: string | number | undefined;
13726
+ subcircuit_id?: string | undefined;
13727
+ pcb_group_id?: string | undefined;
13728
+ source_net_id?: string | undefined;
13729
+ pcb_copper_pour_id?: string | undefined;
13730
+ }>, z.ZodObject<{
13731
+ type: z.ZodLiteral<"pcb_copper_pour">;
13732
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13733
+ pcb_group_id: z.ZodOptional<z.ZodString>;
13734
+ subcircuit_id: z.ZodOptional<z.ZodString>;
13735
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
13736
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
13737
+ }, "strip", z.ZodTypeAny, {
13738
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13739
+ }, {
13740
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13741
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13742
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13743
+ }>;
13744
+ source_net_id: z.ZodOptional<z.ZodString>;
13745
+ } & {
13746
+ shape: z.ZodLiteral<"circle">;
13747
+ center: z.ZodObject<{
13140
13748
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13141
13749
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13142
13750
  }, "strip", z.ZodTypeAny, {
@@ -13145,52 +13753,39 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13145
13753
  }, {
13146
13754
  x: string | number;
13147
13755
  y: string | number;
13148
- }>, "many">;
13756
+ }>;
13757
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13149
13758
  }, "strip", z.ZodTypeAny, {
13150
- type: "pcb_cutout";
13151
- shape: "polygon";
13152
- points: {
13759
+ type: "pcb_copper_pour";
13760
+ center: {
13153
13761
  x: number;
13154
13762
  y: number;
13155
- }[];
13156
- pcb_cutout_id: string;
13763
+ };
13764
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13765
+ shape: "circle";
13766
+ radius: number;
13767
+ pcb_copper_pour_id: string;
13157
13768
  subcircuit_id?: string | undefined;
13158
13769
  pcb_group_id?: string | undefined;
13770
+ source_net_id?: string | undefined;
13159
13771
  }, {
13160
- type: "pcb_cutout";
13161
- shape: "polygon";
13162
- points: {
13772
+ type: "pcb_copper_pour";
13773
+ center: {
13163
13774
  x: string | number;
13164
13775
  y: string | number;
13165
- }[];
13166
- subcircuit_id?: string | undefined;
13167
- pcb_group_id?: string | undefined;
13168
- pcb_cutout_id?: string | undefined;
13169
- }>]>, z.ZodObject<{
13170
- type: z.ZodLiteral<"pcb_ground_plane">;
13171
- pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13172
- source_pcb_ground_plane_id: z.ZodString;
13173
- source_net_id: z.ZodString;
13174
- pcb_group_id: z.ZodOptional<z.ZodString>;
13175
- subcircuit_id: z.ZodOptional<z.ZodString>;
13176
- }, "strip", z.ZodTypeAny, {
13177
- type: "pcb_ground_plane";
13178
- source_net_id: string;
13179
- pcb_ground_plane_id: string;
13180
- source_pcb_ground_plane_id: string;
13181
- subcircuit_id?: string | undefined;
13182
- pcb_group_id?: string | undefined;
13183
- }, {
13184
- type: "pcb_ground_plane";
13185
- source_net_id: string;
13186
- source_pcb_ground_plane_id: string;
13776
+ };
13777
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13778
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13779
+ };
13780
+ shape: "circle";
13781
+ radius: string | number;
13187
13782
  subcircuit_id?: string | undefined;
13188
13783
  pcb_group_id?: string | undefined;
13189
- pcb_ground_plane_id?: string | undefined;
13784
+ source_net_id?: string | undefined;
13785
+ pcb_copper_pour_id?: string | undefined;
13190
13786
  }>, z.ZodObject<{
13191
- type: z.ZodLiteral<"pcb_ground_plane_region">;
13192
- pcb_ground_plane_region_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13193
- pcb_ground_plane_id: z.ZodString;
13787
+ type: z.ZodLiteral<"pcb_copper_pour">;
13788
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13194
13789
  pcb_group_id: z.ZodOptional<z.ZodString>;
13195
13790
  subcircuit_id: z.ZodOptional<z.ZodString>;
13196
13791
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
@@ -13202,6 +13797,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13202
13797
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13203
13798
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13204
13799
  }>;
13800
+ source_net_id: z.ZodOptional<z.ZodString>;
13801
+ } & {
13802
+ shape: z.ZodLiteral<"polygon">;
13205
13803
  points: z.ZodArray<z.ZodObject<{
13206
13804
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13207
13805
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -13213,63 +13811,32 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13213
13811
  y: string | number;
13214
13812
  }>, "many">;
13215
13813
  }, "strip", z.ZodTypeAny, {
13216
- type: "pcb_ground_plane_region";
13814
+ type: "pcb_copper_pour";
13217
13815
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13816
+ shape: "polygon";
13218
13817
  points: {
13219
13818
  x: number;
13220
13819
  y: number;
13221
13820
  }[];
13222
- pcb_ground_plane_id: string;
13223
- pcb_ground_plane_region_id: string;
13821
+ pcb_copper_pour_id: string;
13224
13822
  subcircuit_id?: string | undefined;
13225
13823
  pcb_group_id?: string | undefined;
13824
+ source_net_id?: string | undefined;
13226
13825
  }, {
13227
- type: "pcb_ground_plane_region";
13826
+ type: "pcb_copper_pour";
13228
13827
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
13229
13828
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
13230
13829
  };
13830
+ shape: "polygon";
13231
13831
  points: {
13232
13832
  x: string | number;
13233
13833
  y: string | number;
13234
13834
  }[];
13235
- pcb_ground_plane_id: string;
13236
13835
  subcircuit_id?: string | undefined;
13237
13836
  pcb_group_id?: string | undefined;
13238
- pcb_ground_plane_region_id?: string | undefined;
13239
- }>, z.ZodObject<{
13240
- type: z.ZodLiteral<"pcb_thermal_spoke">;
13241
- pcb_thermal_spoke_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13242
- pcb_ground_plane_id: z.ZodString;
13243
- shape: z.ZodString;
13244
- spoke_count: z.ZodNumber;
13245
- spoke_thickness: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13246
- spoke_inner_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13247
- spoke_outer_diameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13248
- pcb_plated_hole_id: z.ZodOptional<z.ZodString>;
13249
- subcircuit_id: z.ZodOptional<z.ZodString>;
13250
- }, "strip", z.ZodTypeAny, {
13251
- type: "pcb_thermal_spoke";
13252
- shape: string;
13253
- pcb_ground_plane_id: string;
13254
- pcb_thermal_spoke_id: string;
13255
- spoke_count: number;
13256
- spoke_thickness: number;
13257
- spoke_inner_diameter: number;
13258
- spoke_outer_diameter: number;
13259
- subcircuit_id?: string | undefined;
13260
- pcb_plated_hole_id?: string | undefined;
13261
- }, {
13262
- type: "pcb_thermal_spoke";
13263
- shape: string;
13264
- pcb_ground_plane_id: string;
13265
- spoke_count: number;
13266
- spoke_thickness: string | number;
13267
- spoke_inner_diameter: string | number;
13268
- spoke_outer_diameter: string | number;
13269
- subcircuit_id?: string | undefined;
13270
- pcb_plated_hole_id?: string | undefined;
13271
- pcb_thermal_spoke_id?: string | undefined;
13272
- }>, z.ZodObject<{
13837
+ source_net_id?: string | undefined;
13838
+ pcb_copper_pour_id?: string | undefined;
13839
+ }>]>, z.ZodObject<{
13273
13840
  type: z.ZodLiteral<"schematic_box">;
13274
13841
  schematic_component_id: z.ZodOptional<z.ZodString>;
13275
13842
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -18948,7 +19515,178 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
18948
19515
  subcircuit_id?: string | undefined;
18949
19516
  pcb_plated_hole_id?: string | undefined;
18950
19517
  pcb_thermal_spoke_id?: string | undefined;
19518
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
19519
+ type: z.ZodLiteral<"pcb_copper_pour">;
19520
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19521
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19522
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19523
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19524
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19525
+ }, "strip", z.ZodTypeAny, {
19526
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19527
+ }, {
19528
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19529
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19530
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19531
+ }>;
19532
+ source_net_id: z.ZodOptional<z.ZodString>;
19533
+ } & {
19534
+ shape: z.ZodLiteral<"rect">;
19535
+ center: z.ZodObject<{
19536
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19537
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19538
+ }, "strip", z.ZodTypeAny, {
19539
+ x: number;
19540
+ y: number;
19541
+ }, {
19542
+ x: string | number;
19543
+ y: string | number;
19544
+ }>;
19545
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19546
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19547
+ rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19548
+ }, "strip", z.ZodTypeAny, {
19549
+ type: "pcb_copper_pour";
19550
+ width: number;
19551
+ height: number;
19552
+ center: {
19553
+ x: number;
19554
+ y: number;
19555
+ };
19556
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19557
+ shape: "rect";
19558
+ pcb_copper_pour_id: string;
19559
+ rotation?: number | undefined;
19560
+ subcircuit_id?: string | undefined;
19561
+ pcb_group_id?: string | undefined;
19562
+ source_net_id?: string | undefined;
19563
+ }, {
19564
+ type: "pcb_copper_pour";
19565
+ width: string | number;
19566
+ height: string | number;
19567
+ center: {
19568
+ x: string | number;
19569
+ y: string | number;
19570
+ };
19571
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19572
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19573
+ };
19574
+ shape: "rect";
19575
+ rotation?: string | number | undefined;
19576
+ subcircuit_id?: string | undefined;
19577
+ pcb_group_id?: string | undefined;
19578
+ source_net_id?: string | undefined;
19579
+ pcb_copper_pour_id?: string | undefined;
19580
+ }>, z.ZodObject<{
19581
+ type: z.ZodLiteral<"pcb_copper_pour">;
19582
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19583
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19584
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19585
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19586
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19587
+ }, "strip", z.ZodTypeAny, {
19588
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19589
+ }, {
19590
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19591
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19592
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19593
+ }>;
19594
+ source_net_id: z.ZodOptional<z.ZodString>;
19595
+ } & {
19596
+ shape: z.ZodLiteral<"circle">;
19597
+ center: z.ZodObject<{
19598
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19599
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19600
+ }, "strip", z.ZodTypeAny, {
19601
+ x: number;
19602
+ y: number;
19603
+ }, {
19604
+ x: string | number;
19605
+ y: string | number;
19606
+ }>;
19607
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19608
+ }, "strip", z.ZodTypeAny, {
19609
+ type: "pcb_copper_pour";
19610
+ center: {
19611
+ x: number;
19612
+ y: number;
19613
+ };
19614
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19615
+ shape: "circle";
19616
+ radius: number;
19617
+ pcb_copper_pour_id: string;
19618
+ subcircuit_id?: string | undefined;
19619
+ pcb_group_id?: string | undefined;
19620
+ source_net_id?: string | undefined;
19621
+ }, {
19622
+ type: "pcb_copper_pour";
19623
+ center: {
19624
+ x: string | number;
19625
+ y: string | number;
19626
+ };
19627
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19628
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19629
+ };
19630
+ shape: "circle";
19631
+ radius: string | number;
19632
+ subcircuit_id?: string | undefined;
19633
+ pcb_group_id?: string | undefined;
19634
+ source_net_id?: string | undefined;
19635
+ pcb_copper_pour_id?: string | undefined;
18951
19636
  }>, z.ZodObject<{
19637
+ type: z.ZodLiteral<"pcb_copper_pour">;
19638
+ pcb_copper_pour_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19639
+ pcb_group_id: z.ZodOptional<z.ZodString>;
19640
+ subcircuit_id: z.ZodOptional<z.ZodString>;
19641
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19642
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19643
+ }, "strip", z.ZodTypeAny, {
19644
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19645
+ }, {
19646
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19647
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19648
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19649
+ }>;
19650
+ source_net_id: z.ZodOptional<z.ZodString>;
19651
+ } & {
19652
+ shape: z.ZodLiteral<"polygon">;
19653
+ points: z.ZodArray<z.ZodObject<{
19654
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19655
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19656
+ }, "strip", z.ZodTypeAny, {
19657
+ x: number;
19658
+ y: number;
19659
+ }, {
19660
+ x: string | number;
19661
+ y: string | number;
19662
+ }>, "many">;
19663
+ }, "strip", z.ZodTypeAny, {
19664
+ type: "pcb_copper_pour";
19665
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19666
+ shape: "polygon";
19667
+ points: {
19668
+ x: number;
19669
+ y: number;
19670
+ }[];
19671
+ pcb_copper_pour_id: string;
19672
+ subcircuit_id?: string | undefined;
19673
+ pcb_group_id?: string | undefined;
19674
+ source_net_id?: string | undefined;
19675
+ }, {
19676
+ type: "pcb_copper_pour";
19677
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19678
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19679
+ };
19680
+ shape: "polygon";
19681
+ points: {
19682
+ x: string | number;
19683
+ y: string | number;
19684
+ }[];
19685
+ subcircuit_id?: string | undefined;
19686
+ pcb_group_id?: string | undefined;
19687
+ source_net_id?: string | undefined;
19688
+ pcb_copper_pour_id?: string | undefined;
19689
+ }>]>, z.ZodObject<{
18952
19690
  type: z.ZodLiteral<"schematic_box">;
18953
19691
  schematic_component_id: z.ZodOptional<z.ZodString>;
18954
19692
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -20166,4 +20904,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
20166
20904
  */
20167
20905
  type CircuitJson = AnyCircuitElement[];
20168
20906
 
20169
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
20907
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCopperPour, type PcbCopperPourCircle, type PcbCopperPourCircleInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_copper_pour, pcb_copper_pour_circle, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };