circuit-json 0.0.511 → 0.0.513

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -719,8 +719,8 @@ interface SourcePinAttributes {
719
719
  requires_power?: boolean
720
720
  provides_ground?: boolean
721
721
  requires_ground?: boolean
722
- provides_voltage?: string | number
723
- requires_voltage?: string | number
722
+ provides_voltage?: number
723
+ requires_voltage?: number
724
724
  do_not_connect?: boolean
725
725
  include_in_board_pinout?: boolean
726
726
  can_use_internal_pullup?: boolean
package/dist/index.d.mts CHANGED
@@ -7232,6 +7232,92 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
7232
7232
  pcb_group_id?: string | undefined;
7233
7233
  pcb_smtpad_id?: string | undefined;
7234
7234
  pcb_solder_paste_id?: string | undefined;
7235
+ }>, z.ZodObject<{
7236
+ shape: z.ZodLiteral<"polygon">;
7237
+ points: z.ZodEffects<z.ZodArray<z.ZodObject<{} & {
7238
+ x: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
7239
+ y: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
7240
+ }, "strip", z.ZodTypeAny, {
7241
+ x: number;
7242
+ y: number;
7243
+ }, {
7244
+ x: string | number;
7245
+ y: string | number;
7246
+ }>, "many">, {
7247
+ x: number;
7248
+ y: number;
7249
+ }[], {
7250
+ x: string | number;
7251
+ y: string | number;
7252
+ }[]>;
7253
+ } & {
7254
+ type: z.ZodLiteral<"pcb_solder_paste">;
7255
+ pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
7256
+ pcb_group_id: z.ZodOptional<z.ZodString>;
7257
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7258
+ holes: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodObject<{} & {
7259
+ x: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
7260
+ y: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
7261
+ }, "strip", z.ZodTypeAny, {
7262
+ x: number;
7263
+ y: number;
7264
+ }, {
7265
+ x: string | number;
7266
+ y: string | number;
7267
+ }>, "many">, {
7268
+ x: number;
7269
+ y: number;
7270
+ }[], {
7271
+ x: string | number;
7272
+ y: string | number;
7273
+ }[]>, "many">>;
7274
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
7275
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
7276
+ }, "strip", z.ZodTypeAny, {
7277
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
7278
+ }, {
7279
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
7280
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
7281
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
7282
+ }>;
7283
+ pcb_component_id: z.ZodOptional<z.ZodString>;
7284
+ pcb_smtpad_id: z.ZodOptional<z.ZodString>;
7285
+ }, "strict", z.ZodTypeAny, {
7286
+ type: "pcb_solder_paste";
7287
+ shape: "polygon";
7288
+ points: {
7289
+ x: number;
7290
+ y: number;
7291
+ }[];
7292
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
7293
+ pcb_solder_paste_id: string;
7294
+ pcb_component_id?: string | undefined;
7295
+ subcircuit_id?: string | undefined;
7296
+ pcb_group_id?: string | undefined;
7297
+ pcb_smtpad_id?: string | undefined;
7298
+ holes?: {
7299
+ x: number;
7300
+ y: number;
7301
+ }[][] | undefined;
7302
+ }, {
7303
+ type: "pcb_solder_paste";
7304
+ shape: "polygon";
7305
+ points: {
7306
+ x: string | number;
7307
+ y: string | number;
7308
+ }[];
7309
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
7310
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
7311
+ };
7312
+ pcb_component_id?: string | undefined;
7313
+ subcircuit_id?: string | undefined;
7314
+ pcb_group_id?: string | undefined;
7315
+ pcb_smtpad_id?: string | undefined;
7316
+ pcb_solder_paste_id?: string | undefined;
7317
+ holes?: {
7318
+ x: string | number;
7319
+ y: string | number;
7320
+ }[][] | undefined;
7235
7321
  }>]>;
7236
7322
  type PCBSolderPasteInput = z.input<typeof pcb_solder_paste>;
7237
7323
  /**
@@ -7339,7 +7425,23 @@ interface PcbSolderPasteOval {
7339
7425
  pcb_component_id?: string;
7340
7426
  pcb_smtpad_id?: string;
7341
7427
  }
7342
- type PcbSolderPaste = PcbSolderPasteCircle | PcbSolderPasteRect | PcbSolderPastePill | PcbSolderPasteRotatedRect | PcbSolderPasteRotatedPill | PcbSolderPasteOval;
7428
+ /**
7429
+ * A closed solder-paste contour in board-world mm: +X right, +Y up,
7430
+ * right-handed with +Z above the board. Points include placement translation;
7431
+ * top/bottom identifies the PCB layer, not the Y direction.
7432
+ */
7433
+ interface PcbSolderPastePolygon extends PolygonShape {
7434
+ type: "pcb_solder_paste";
7435
+ pcb_solder_paste_id: string;
7436
+ pcb_group_id?: string;
7437
+ subcircuit_id?: string;
7438
+ /** Closed inner contours remove paste from this aperture. */
7439
+ holes?: Point[][];
7440
+ layer: LayerRef;
7441
+ pcb_component_id?: string;
7442
+ pcb_smtpad_id?: string;
7443
+ }
7444
+ type PcbSolderPaste = PcbSolderPasteCircle | PcbSolderPasteRect | PcbSolderPastePill | PcbSolderPasteRotatedRect | PcbSolderPasteRotatedPill | PcbSolderPasteOval | PcbSolderPastePolygon;
7343
7445
 
7344
7446
  declare const pcb_soldermask_opening: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
7345
7447
  shape: z.ZodLiteral<"circle">;
@@ -31397,8 +31499,8 @@ declare const source_pin_attributes: z.ZodObject<{
31397
31499
  requires_power: z.ZodOptional<z.ZodBoolean>;
31398
31500
  provides_ground: z.ZodOptional<z.ZodBoolean>;
31399
31501
  requires_ground: z.ZodOptional<z.ZodBoolean>;
31400
- provides_voltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
31401
- requires_voltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
31502
+ provides_voltage: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, string | number>>;
31503
+ requires_voltage: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, string | number>>;
31402
31504
  do_not_connect: z.ZodOptional<z.ZodBoolean>;
31403
31505
  include_in_board_pinout: z.ZodOptional<z.ZodBoolean>;
31404
31506
  can_use_internal_pullup: z.ZodOptional<z.ZodBoolean>;
@@ -31447,8 +31549,8 @@ declare const source_pin_attributes: z.ZodObject<{
31447
31549
  requires_power?: boolean | undefined;
31448
31550
  provides_ground?: boolean | undefined;
31449
31551
  requires_ground?: boolean | undefined;
31450
- provides_voltage?: string | number | undefined;
31451
- requires_voltage?: string | number | undefined;
31552
+ provides_voltage?: number | undefined;
31553
+ requires_voltage?: number | undefined;
31452
31554
  do_not_connect?: boolean | undefined;
31453
31555
  include_in_board_pinout?: boolean | undefined;
31454
31556
  can_use_internal_pullup?: boolean | undefined;
@@ -31530,6 +31632,7 @@ declare const source_pin_attributes: z.ZodObject<{
31530
31632
  supports_uart_tx?: boolean | undefined;
31531
31633
  supports_uart_rx?: boolean | undefined;
31532
31634
  }>;
31635
+ type SourcePinAttributesInput = z.input<typeof source_pin_attributes>;
31533
31636
  interface SourcePinAttributes {
31534
31637
  is_input?: boolean;
31535
31638
  is_output?: boolean;
@@ -31548,8 +31651,8 @@ interface SourcePinAttributes {
31548
31651
  requires_power?: boolean;
31549
31652
  provides_ground?: boolean;
31550
31653
  requires_ground?: boolean;
31551
- provides_voltage?: string | number;
31552
- requires_voltage?: string | number;
31654
+ provides_voltage?: number;
31655
+ requires_voltage?: number;
31553
31656
  do_not_connect?: boolean;
31554
31657
  include_in_board_pinout?: boolean;
31555
31658
  can_use_internal_pullup?: boolean;
@@ -34712,8 +34815,8 @@ declare const source_port: z.ZodObject<{
34712
34815
  requires_power: z.ZodOptional<z.ZodBoolean>;
34713
34816
  provides_ground: z.ZodOptional<z.ZodBoolean>;
34714
34817
  requires_ground: z.ZodOptional<z.ZodBoolean>;
34715
- provides_voltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
34716
- requires_voltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
34818
+ provides_voltage: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, string | number>>;
34819
+ requires_voltage: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, string | number>>;
34717
34820
  do_not_connect: z.ZodOptional<z.ZodBoolean>;
34718
34821
  include_in_board_pinout: z.ZodOptional<z.ZodBoolean>;
34719
34822
  can_use_internal_pullup: z.ZodOptional<z.ZodBoolean>;
@@ -34771,8 +34874,8 @@ declare const source_port: z.ZodObject<{
34771
34874
  requires_power?: boolean | undefined;
34772
34875
  provides_ground?: boolean | undefined;
34773
34876
  requires_ground?: boolean | undefined;
34774
- provides_voltage?: string | number | undefined;
34775
- requires_voltage?: string | number | undefined;
34877
+ provides_voltage?: number | undefined;
34878
+ requires_voltage?: number | undefined;
34776
34879
  do_not_connect?: boolean | undefined;
34777
34880
  include_in_board_pinout?: boolean | undefined;
34778
34881
  can_use_internal_pullup?: boolean | undefined;
@@ -38593,8 +38696,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38593
38696
  requires_power: z.ZodOptional<z.ZodBoolean>;
38594
38697
  provides_ground: z.ZodOptional<z.ZodBoolean>;
38595
38698
  requires_ground: z.ZodOptional<z.ZodBoolean>;
38596
- provides_voltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
38597
- requires_voltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
38699
+ provides_voltage: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, string | number>>;
38700
+ requires_voltage: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, string | number>>;
38598
38701
  do_not_connect: z.ZodOptional<z.ZodBoolean>;
38599
38702
  include_in_board_pinout: z.ZodOptional<z.ZodBoolean>;
38600
38703
  can_use_internal_pullup: z.ZodOptional<z.ZodBoolean>;
@@ -38652,8 +38755,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38652
38755
  requires_power?: boolean | undefined;
38653
38756
  provides_ground?: boolean | undefined;
38654
38757
  requires_ground?: boolean | undefined;
38655
- provides_voltage?: string | number | undefined;
38656
- requires_voltage?: string | number | undefined;
38758
+ provides_voltage?: number | undefined;
38759
+ requires_voltage?: number | undefined;
38657
38760
  do_not_connect?: boolean | undefined;
38658
38761
  include_in_board_pinout?: boolean | undefined;
38659
38762
  can_use_internal_pullup?: boolean | undefined;
@@ -46363,6 +46466,92 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
46363
46466
  pcb_group_id?: string | undefined;
46364
46467
  pcb_smtpad_id?: string | undefined;
46365
46468
  pcb_solder_paste_id?: string | undefined;
46469
+ }>, z.ZodObject<{
46470
+ shape: z.ZodLiteral<"polygon">;
46471
+ points: z.ZodEffects<z.ZodArray<z.ZodObject<{} & {
46472
+ x: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
46473
+ y: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
46474
+ }, "strip", z.ZodTypeAny, {
46475
+ x: number;
46476
+ y: number;
46477
+ }, {
46478
+ x: string | number;
46479
+ y: string | number;
46480
+ }>, "many">, {
46481
+ x: number;
46482
+ y: number;
46483
+ }[], {
46484
+ x: string | number;
46485
+ y: string | number;
46486
+ }[]>;
46487
+ } & {
46488
+ type: z.ZodLiteral<"pcb_solder_paste">;
46489
+ pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
46490
+ pcb_group_id: z.ZodOptional<z.ZodString>;
46491
+ subcircuit_id: z.ZodOptional<z.ZodString>;
46492
+ holes: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodObject<{} & {
46493
+ x: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
46494
+ y: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
46495
+ }, "strip", z.ZodTypeAny, {
46496
+ x: number;
46497
+ y: number;
46498
+ }, {
46499
+ x: string | number;
46500
+ y: string | number;
46501
+ }>, "many">, {
46502
+ x: number;
46503
+ y: number;
46504
+ }[], {
46505
+ x: string | number;
46506
+ y: string | number;
46507
+ }[]>, "many">>;
46508
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
46509
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
46510
+ }, "strip", z.ZodTypeAny, {
46511
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
46512
+ }, {
46513
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
46514
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
46515
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
46516
+ }>;
46517
+ pcb_component_id: z.ZodOptional<z.ZodString>;
46518
+ pcb_smtpad_id: z.ZodOptional<z.ZodString>;
46519
+ }, "strict", z.ZodTypeAny, {
46520
+ type: "pcb_solder_paste";
46521
+ shape: "polygon";
46522
+ points: {
46523
+ x: number;
46524
+ y: number;
46525
+ }[];
46526
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
46527
+ pcb_solder_paste_id: string;
46528
+ pcb_component_id?: string | undefined;
46529
+ subcircuit_id?: string | undefined;
46530
+ pcb_group_id?: string | undefined;
46531
+ pcb_smtpad_id?: string | undefined;
46532
+ holes?: {
46533
+ x: number;
46534
+ y: number;
46535
+ }[][] | undefined;
46536
+ }, {
46537
+ type: "pcb_solder_paste";
46538
+ shape: "polygon";
46539
+ points: {
46540
+ x: string | number;
46541
+ y: string | number;
46542
+ }[];
46543
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
46544
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
46545
+ };
46546
+ pcb_component_id?: string | undefined;
46547
+ subcircuit_id?: string | undefined;
46548
+ pcb_group_id?: string | undefined;
46549
+ pcb_smtpad_id?: string | undefined;
46550
+ pcb_solder_paste_id?: string | undefined;
46551
+ holes?: {
46552
+ x: string | number;
46553
+ y: string | number;
46554
+ }[][] | undefined;
46366
46555
  }>]>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
46367
46556
  shape: z.ZodLiteral<"circle">;
46368
46557
  x: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
@@ -60111,8 +60300,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
60111
60300
  requires_power: z.ZodOptional<z.ZodBoolean>;
60112
60301
  provides_ground: z.ZodOptional<z.ZodBoolean>;
60113
60302
  requires_ground: z.ZodOptional<z.ZodBoolean>;
60114
- provides_voltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
60115
- requires_voltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
60303
+ provides_voltage: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, string | number>>;
60304
+ requires_voltage: z.ZodOptional<z.ZodType<number, z.ZodTypeDef, string | number>>;
60116
60305
  do_not_connect: z.ZodOptional<z.ZodBoolean>;
60117
60306
  include_in_board_pinout: z.ZodOptional<z.ZodBoolean>;
60118
60307
  can_use_internal_pullup: z.ZodOptional<z.ZodBoolean>;
@@ -60170,8 +60359,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
60170
60359
  requires_power?: boolean | undefined;
60171
60360
  provides_ground?: boolean | undefined;
60172
60361
  requires_ground?: boolean | undefined;
60173
- provides_voltage?: string | number | undefined;
60174
- requires_voltage?: string | number | undefined;
60362
+ provides_voltage?: number | undefined;
60363
+ requires_voltage?: number | undefined;
60175
60364
  do_not_connect?: boolean | undefined;
60176
60365
  include_in_board_pinout?: boolean | undefined;
60177
60366
  can_use_internal_pullup?: boolean | undefined;
@@ -67881,6 +68070,92 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
67881
68070
  pcb_group_id?: string | undefined;
67882
68071
  pcb_smtpad_id?: string | undefined;
67883
68072
  pcb_solder_paste_id?: string | undefined;
68073
+ }>, z.ZodObject<{
68074
+ shape: z.ZodLiteral<"polygon">;
68075
+ points: z.ZodEffects<z.ZodArray<z.ZodObject<{} & {
68076
+ x: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
68077
+ y: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
68078
+ }, "strip", z.ZodTypeAny, {
68079
+ x: number;
68080
+ y: number;
68081
+ }, {
68082
+ x: string | number;
68083
+ y: string | number;
68084
+ }>, "many">, {
68085
+ x: number;
68086
+ y: number;
68087
+ }[], {
68088
+ x: string | number;
68089
+ y: string | number;
68090
+ }[]>;
68091
+ } & {
68092
+ type: z.ZodLiteral<"pcb_solder_paste">;
68093
+ pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
68094
+ pcb_group_id: z.ZodOptional<z.ZodString>;
68095
+ subcircuit_id: z.ZodOptional<z.ZodString>;
68096
+ holes: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodObject<{} & {
68097
+ x: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
68098
+ y: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
68099
+ }, "strip", z.ZodTypeAny, {
68100
+ x: number;
68101
+ y: number;
68102
+ }, {
68103
+ x: string | number;
68104
+ y: string | number;
68105
+ }>, "many">, {
68106
+ x: number;
68107
+ y: number;
68108
+ }[], {
68109
+ x: string | number;
68110
+ y: string | number;
68111
+ }[]>, "many">>;
68112
+ layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
68113
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
68114
+ }, "strip", z.ZodTypeAny, {
68115
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
68116
+ }, {
68117
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
68118
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
68119
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
68120
+ }>;
68121
+ pcb_component_id: z.ZodOptional<z.ZodString>;
68122
+ pcb_smtpad_id: z.ZodOptional<z.ZodString>;
68123
+ }, "strict", z.ZodTypeAny, {
68124
+ type: "pcb_solder_paste";
68125
+ shape: "polygon";
68126
+ points: {
68127
+ x: number;
68128
+ y: number;
68129
+ }[];
68130
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
68131
+ pcb_solder_paste_id: string;
68132
+ pcb_component_id?: string | undefined;
68133
+ subcircuit_id?: string | undefined;
68134
+ pcb_group_id?: string | undefined;
68135
+ pcb_smtpad_id?: string | undefined;
68136
+ holes?: {
68137
+ x: number;
68138
+ y: number;
68139
+ }[][] | undefined;
68140
+ }, {
68141
+ type: "pcb_solder_paste";
68142
+ shape: "polygon";
68143
+ points: {
68144
+ x: string | number;
68145
+ y: string | number;
68146
+ }[];
68147
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
68148
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
68149
+ };
68150
+ pcb_component_id?: string | undefined;
68151
+ subcircuit_id?: string | undefined;
68152
+ pcb_group_id?: string | undefined;
68153
+ pcb_smtpad_id?: string | undefined;
68154
+ pcb_solder_paste_id?: string | undefined;
68155
+ holes?: {
68156
+ x: string | number;
68157
+ y: string | number;
68158
+ }[][] | undefined;
67884
68159
  }>]>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
67885
68160
  shape: z.ZodLiteral<"circle">;
67886
68161
  x: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
@@ -81537,4 +81812,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
81537
81812
  */
81538
81813
  type CircuitJson = AnyCircuitElement[];
81539
81814
 
81540
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type Asset, type AssetInput, type BRepShape, type BaseCircuitJsonError, type BaseCircuitJsonErrorInput, type CadCollisionError, type CadCollisionErrorInput, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CadModelAxisDirection, type CadModelFormat, type CircleShape, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type InsertionDirection, type InsertionDirectionCartesian, type InsertionDirectionDeprecated, type InsertionDirectionInput, type KicadAt, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayerRef, type LayerRefInput, type Length, type ManufacturingDrcProperties, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPackingError, type PCBPanel, type PCBPanelizationPlacementError, 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 PcbBend, type PcbBendInput, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbBusLengthSkewError, type PcbBusLengthSkewErrorInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentMetadata, type PcbComponentMissingCourtyardWarning, type PcbComponentMissingCourtyardWarningInput, type PcbComponentNotOnBoardEdgeError, type PcbComponentNotOnBoardEdgeErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbConnectorNotInAccessibleOrientationWarning, type PcbConnectorNotInAccessibleOrientationWarningInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardCircle, type PcbCourtyardCircleInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardOverlapError, type PcbCourtyardOverlapErrorInput, type PcbCourtyardPill, type PcbCourtyardPillInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbDebugLine, type PcbDebugObject, type PcbDebugObjectInput, type PcbDebugPoint, type PcbDebugRect, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFabricatorExtraChargeWarning, type PcbFabricatorExtraChargeWarningInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbKeepoutOutline, type PcbKeepoutOutlineInput, type PcbKeepoutOverlapWarning, type PcbKeepoutOverlapWarningInput, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPackingError, type PcbPackingErrorInput, type PcbPadPadClearanceError, type PcbPadPadClearanceErrorInput, type PcbPadTraceClearanceError, type PcbPadTraceClearanceErrorInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, type PcbPin1Location, type PcbPin1LocationRotation, 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 PcbPreflightRoutingError, type PcbPreflightRoutingErrorInput, type PcbRenderLayer, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenGraphic, type PcbSilkscreenGraphicBRep, type PcbSilkscreenGraphicBRepInput, type PcbSilkscreenGraphicInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, 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 PcbSolderPasteRotatedPill, type PcbSolderPasteRotatedRect, type PcbSoldermaskOpening, type PcbSoldermaskOpeningBase, type PcbSoldermaskOpeningCircle, type PcbSoldermaskOpeningInput, type PcbSoldermaskOpeningPolygon, type PcbSoldermaskOpeningRect, type PcbSoldermaskOpeningRotatedRect, type PcbStiffener, type PcbStiffenerBase, type PcbStiffenerInput, type PcbStiffenerPolygon, type PcbStiffenerPolygonInput, type PcbStiffenerRect, type PcbStiffenerRectInput, 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 PcbTraceRoutePointThroughPad, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbTraceTooLongError, type PcbTraceTooLongErrorInput, type PcbTraceTooLongWarning, type PcbTraceTooLongWarningInput, type PcbTraceTooManyViasWarning, type PcbTraceTooManyViasWarningInput, type PcbTraceWarning, type PcbTraceWarningInput, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type PcbViaTraceClearanceError, type PcbViaTraceClearanceErrorInput, type Point, type Point3, type PointWithBulge, type PolygonShape, type Position, type RectShape, type Ring, type RotatedRectShape, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicComponentOverlapWarning, type SchematicComponentOverlapWarningInput, type SchematicComponentStylingWarning, type SchematicComponentStylingWarningInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicElementOutsideSheetWarning, type SchematicElementOutsideSheetWarningInput, type SchematicError, type SchematicErrorInput, type SchematicGraphic, type SchematicGraphicInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicMissingSheetWarning, type SchematicMissingSheetWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicSheetSize, type SchematicSymbol, type SchematicSymbolInput, type SchematicSymbolMetadata, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTextPart, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcSweepCurrentGraph, type SimulationAcSweepCurrentGraphInput, type SimulationAcSweepVoltageGraph, type SimulationAcSweepVoltageGraphInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationAnalysisResult, type SimulationAnalysisResultInput, type SimulationCapacitanceParameterSweep, type SimulationComplexSample, type SimulationCurrentAnalysisResult, type SimulationCurrentAnalysisResultInput, type SimulationCurrentParameterSweep, type SimulationCurrentProbe, type SimulationCurrentProbeInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcOperatingPointCurrent, type SimulationDcOperatingPointCurrentInput, type SimulationDcOperatingPointVoltage, type SimulationDcOperatingPointVoltageInput, type SimulationDcSweepCurrentGraph, type SimulationDcSweepCurrentGraphInput, type SimulationDcSweepUnit, type SimulationDcSweepVoltageGraph, type SimulationDcSweepVoltageGraphInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationInductanceParameterSweep, type SimulationNonTransientCurrentAnalysisResult, type SimulationNonTransientCurrentAnalysisResultInput, type SimulationNonTransientVoltageAnalysisResult, type SimulationNonTransientVoltageAnalysisResultInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationOscilloscopeTrace, type SimulationOscilloscopeTraceInput, type SimulationParameterSweep, type SimulationParameterSweepCoordinate, type SimulationParameterSweepInput, type SimulationParameterType, type SimulationParameterUnit, type SimulationResistanceParameterSweep, type SimulationSpiceSubcircuit, type SimulationSpiceSubcircuitInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientCurrentGraph, type SimulationTransientCurrentGraphInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageAnalysisResult, type SimulationVoltageAnalysisResultInput, type SimulationVoltageParameterSweep, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceAmbiguousPortReference, type SourceAmbiguousPortReferenceInput, type SourceBoard, type SourceBoardInput, type SourceBus, type SourceBusInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceComponentMisconfiguredError, type SourceComponentMisconfiguredErrorInput, type SourceComponentPinsUnderspecifiedWarning, type SourceComponentPinsUnderspecifiedWarningInput, type SourceConfusingNetNameWarning, type SourceConfusingNetNameWarningInput, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceI2cMisconfiguredError, type SourceI2cMisconfiguredErrorInput, type SourceInterconnect, type SourceInterconnectInput, type SourceInvalidComponentPropertyError, type SourceInvalidComponentPropertyErrorInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingManufacturerPartNumberWarning, type SourceMissingManufacturerPartNumberWarningInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourceNoGroundPinDefinedWarning, type SourceNoGroundPinDefinedWarningInput, type SourceNoPowerPinDefinedWarning, type SourceNoPowerPinDefinedWarningInput, type SourcePartNotFoundWarning, type SourcePartNotFoundWarningInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinAttributes, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceRefdesConventionWarning, type SourceRefdesConventionWarningInput, type SourceRuntimeError, type SourceRuntimeErrorInput, type SourceSimpleAmmeter, type SourceSimpleAmmeterInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleConnector, type SourceSimpleConnectorInput, type SourceSimpleConnectorStandard, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleFuse, type SourceSimpleFuseInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, 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 SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceSimpleVoltageSource, type SourceSimpleVoltageSourceInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SourceUnnamedTraceWarning, type SourceUnnamedTraceWarningInput, type SpiceSimulationOptions, type StandardShape, type StandardShapeInput, type SupplierFootprintMismatchWarning, type SupplierFootprintMismatchWarningInput, type SupplierName, type SupplierPin1LocationMap, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, asset, base_circuit_json_error, battery_capacity, brep_shape, cadModelDefaultDirectionMap, cad_collision_error, cad_component, cad_model_axis_directions, cad_model_formats, capacitance, circle_shape, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getRotationBetweenPcbPin1Locations, getZodPrefixedIdWithDefault, inductance, insertionDirectionToCanonical, insertionDirectionToVector, insertion_direction, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layer_ref, layer_string, length, manufacturing_drc_properties, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_bend, pcb_board, pcb_breakout_point, pcb_bus_length_skew_error, pcb_component, pcb_component_invalid_layer_error, pcb_component_missing_courtyard_warning, pcb_component_not_on_board_edge_error, pcb_component_outside_board_error, pcb_connector_not_in_accessible_orientation_warning, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_circle, pcb_courtyard_outline, pcb_courtyard_overlap_error, pcb_courtyard_pill, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_debug_line, pcb_debug_object, pcb_debug_object_base, pcb_debug_point, pcb_debug_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_fabricator_extra_charge_warning, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_keepout_outline, pcb_keepout_overlap_warning, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_packing_error, pcb_pad_pad_clearance_error, pcb_pad_trace_clearance_error, pcb_panel, pcb_panelization_placement_error, pcb_pin1_location, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_preflight_routing_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_graphic, pcb_silkscreen_graphic_brep, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_soldermask_opening, pcb_stiffener, pcb_stiffener_polygon, pcb_stiffener_rect, 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_through_pad, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_trace_too_long_error, pcb_trace_too_long_warning, pcb_trace_too_many_vias_warning, pcb_trace_warning, pcb_via, pcb_via_clearance_error, pcb_via_trace_clearance_error, point, point3, point_with_bulge, polygon_shape, port_arrangement, position, position3, rect_shape, resistance, ring, rotated_rect_shape, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_overlap_warning, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_component_styling_warning, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_element_outside_sheet_warning, schematic_error, schematic_graphic, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_missing_sheet_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_sheet_size, schematic_symbol, schematic_table, schematic_table_cell, schematic_text, schematic_text_part, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_sweep_current_graph, simulation_ac_sweep_voltage_graph, simulation_ac_voltage_source, simulation_complex_sample, simulation_current_probe, simulation_current_source, simulation_dc_current_source, simulation_dc_operating_point_current, simulation_dc_operating_point_voltage, simulation_dc_sweep_current_graph, simulation_dc_sweep_unit, simulation_dc_sweep_voltage_graph, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_oscilloscope_trace, simulation_parameter_sweep, simulation_parameter_sweep_coordinate, simulation_parameter_type, simulation_parameter_unit, simulation_spice_subcircuit, simulation_switch, simulation_transient_current_graph, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_ambiguous_port_reference, source_board, source_bus, source_component_base, source_component_internal_connection, source_component_misconfigured_error, source_component_pins_underspecified_warning, source_confusing_net_name_warning, source_failed_to_create_component_error, source_group, source_i2c_misconfigured_error, source_interconnect, source_invalid_component_property_error, source_manually_placed_via, source_missing_manufacturer_part_number_warning, source_missing_property_error, source_net, source_no_ground_pin_defined_warning, source_no_power_pin_defined_warning, source_part_not_found_warning, source_pcb_ground_plane, source_pin_attributes, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_refdes_convention_warning, source_runtime_error, source_simple_ammeter, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_connector, source_simple_connector_standards, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_fuse, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, 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_simple_voltage_probe, source_simple_voltage_source, source_trace, source_trace_not_connected_error, source_unnamed_trace_warning, spice_simulation_options, standard_shape, supplier_footprint_mismatch_warning, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
81815
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type Asset, type AssetInput, type BRepShape, type BaseCircuitJsonError, type BaseCircuitJsonErrorInput, type CadCollisionError, type CadCollisionErrorInput, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CadModelAxisDirection, type CadModelFormat, type CircleShape, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type InsertionDirection, type InsertionDirectionCartesian, type InsertionDirectionDeprecated, type InsertionDirectionInput, type KicadAt, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayerRef, type LayerRefInput, type Length, type ManufacturingDrcProperties, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPackingError, type PCBPanel, type PCBPanelizationPlacementError, 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 PcbBend, type PcbBendInput, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbBusLengthSkewError, type PcbBusLengthSkewErrorInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentMetadata, type PcbComponentMissingCourtyardWarning, type PcbComponentMissingCourtyardWarningInput, type PcbComponentNotOnBoardEdgeError, type PcbComponentNotOnBoardEdgeErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbConnectorNotInAccessibleOrientationWarning, type PcbConnectorNotInAccessibleOrientationWarningInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardCircle, type PcbCourtyardCircleInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardOverlapError, type PcbCourtyardOverlapErrorInput, type PcbCourtyardPill, type PcbCourtyardPillInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbDebugLine, type PcbDebugObject, type PcbDebugObjectInput, type PcbDebugPoint, type PcbDebugRect, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFabricatorExtraChargeWarning, type PcbFabricatorExtraChargeWarningInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbKeepoutOutline, type PcbKeepoutOutlineInput, type PcbKeepoutOverlapWarning, type PcbKeepoutOverlapWarningInput, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPackingError, type PcbPackingErrorInput, type PcbPadPadClearanceError, type PcbPadPadClearanceErrorInput, type PcbPadTraceClearanceError, type PcbPadTraceClearanceErrorInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, type PcbPin1Location, type PcbPin1LocationRotation, 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 PcbPreflightRoutingError, type PcbPreflightRoutingErrorInput, type PcbRenderLayer, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenGraphic, type PcbSilkscreenGraphicBRep, type PcbSilkscreenGraphicBRepInput, type PcbSilkscreenGraphicInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, 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 PcbSolderPastePolygon, type PcbSolderPasteRect, type PcbSolderPasteRotatedPill, type PcbSolderPasteRotatedRect, type PcbSoldermaskOpening, type PcbSoldermaskOpeningBase, type PcbSoldermaskOpeningCircle, type PcbSoldermaskOpeningInput, type PcbSoldermaskOpeningPolygon, type PcbSoldermaskOpeningRect, type PcbSoldermaskOpeningRotatedRect, type PcbStiffener, type PcbStiffenerBase, type PcbStiffenerInput, type PcbStiffenerPolygon, type PcbStiffenerPolygonInput, type PcbStiffenerRect, type PcbStiffenerRectInput, 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 PcbTraceRoutePointThroughPad, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbTraceTooLongError, type PcbTraceTooLongErrorInput, type PcbTraceTooLongWarning, type PcbTraceTooLongWarningInput, type PcbTraceTooManyViasWarning, type PcbTraceTooManyViasWarningInput, type PcbTraceWarning, type PcbTraceWarningInput, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type PcbViaTraceClearanceError, type PcbViaTraceClearanceErrorInput, type Point, type Point3, type PointWithBulge, type PolygonShape, type Position, type RectShape, type Ring, type RotatedRectShape, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicComponentOverlapWarning, type SchematicComponentOverlapWarningInput, type SchematicComponentStylingWarning, type SchematicComponentStylingWarningInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicElementOutsideSheetWarning, type SchematicElementOutsideSheetWarningInput, type SchematicError, type SchematicErrorInput, type SchematicGraphic, type SchematicGraphicInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicMissingSheetWarning, type SchematicMissingSheetWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicSheetSize, type SchematicSymbol, type SchematicSymbolInput, type SchematicSymbolMetadata, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTextPart, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcSweepCurrentGraph, type SimulationAcSweepCurrentGraphInput, type SimulationAcSweepVoltageGraph, type SimulationAcSweepVoltageGraphInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationAnalysisResult, type SimulationAnalysisResultInput, type SimulationCapacitanceParameterSweep, type SimulationComplexSample, type SimulationCurrentAnalysisResult, type SimulationCurrentAnalysisResultInput, type SimulationCurrentParameterSweep, type SimulationCurrentProbe, type SimulationCurrentProbeInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcOperatingPointCurrent, type SimulationDcOperatingPointCurrentInput, type SimulationDcOperatingPointVoltage, type SimulationDcOperatingPointVoltageInput, type SimulationDcSweepCurrentGraph, type SimulationDcSweepCurrentGraphInput, type SimulationDcSweepUnit, type SimulationDcSweepVoltageGraph, type SimulationDcSweepVoltageGraphInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationInductanceParameterSweep, type SimulationNonTransientCurrentAnalysisResult, type SimulationNonTransientCurrentAnalysisResultInput, type SimulationNonTransientVoltageAnalysisResult, type SimulationNonTransientVoltageAnalysisResultInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationOscilloscopeTrace, type SimulationOscilloscopeTraceInput, type SimulationParameterSweep, type SimulationParameterSweepCoordinate, type SimulationParameterSweepInput, type SimulationParameterType, type SimulationParameterUnit, type SimulationResistanceParameterSweep, type SimulationSpiceSubcircuit, type SimulationSpiceSubcircuitInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientCurrentGraph, type SimulationTransientCurrentGraphInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageAnalysisResult, type SimulationVoltageAnalysisResultInput, type SimulationVoltageParameterSweep, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceAmbiguousPortReference, type SourceAmbiguousPortReferenceInput, type SourceBoard, type SourceBoardInput, type SourceBus, type SourceBusInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceComponentMisconfiguredError, type SourceComponentMisconfiguredErrorInput, type SourceComponentPinsUnderspecifiedWarning, type SourceComponentPinsUnderspecifiedWarningInput, type SourceConfusingNetNameWarning, type SourceConfusingNetNameWarningInput, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceI2cMisconfiguredError, type SourceI2cMisconfiguredErrorInput, type SourceInterconnect, type SourceInterconnectInput, type SourceInvalidComponentPropertyError, type SourceInvalidComponentPropertyErrorInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingManufacturerPartNumberWarning, type SourceMissingManufacturerPartNumberWarningInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourceNoGroundPinDefinedWarning, type SourceNoGroundPinDefinedWarningInput, type SourceNoPowerPinDefinedWarning, type SourceNoPowerPinDefinedWarningInput, type SourcePartNotFoundWarning, type SourcePartNotFoundWarningInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinAttributes, type SourcePinAttributesInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceRefdesConventionWarning, type SourceRefdesConventionWarningInput, type SourceRuntimeError, type SourceRuntimeErrorInput, type SourceSimpleAmmeter, type SourceSimpleAmmeterInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleConnector, type SourceSimpleConnectorInput, type SourceSimpleConnectorStandard, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleFuse, type SourceSimpleFuseInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, 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 SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceSimpleVoltageSource, type SourceSimpleVoltageSourceInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SourceUnnamedTraceWarning, type SourceUnnamedTraceWarningInput, type SpiceSimulationOptions, type StandardShape, type StandardShapeInput, type SupplierFootprintMismatchWarning, type SupplierFootprintMismatchWarningInput, type SupplierName, type SupplierPin1LocationMap, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, asset, base_circuit_json_error, battery_capacity, brep_shape, cadModelDefaultDirectionMap, cad_collision_error, cad_component, cad_model_axis_directions, cad_model_formats, capacitance, circle_shape, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getRotationBetweenPcbPin1Locations, getZodPrefixedIdWithDefault, inductance, insertionDirectionToCanonical, insertionDirectionToVector, insertion_direction, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layer_ref, layer_string, length, manufacturing_drc_properties, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_bend, pcb_board, pcb_breakout_point, pcb_bus_length_skew_error, pcb_component, pcb_component_invalid_layer_error, pcb_component_missing_courtyard_warning, pcb_component_not_on_board_edge_error, pcb_component_outside_board_error, pcb_connector_not_in_accessible_orientation_warning, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_circle, pcb_courtyard_outline, pcb_courtyard_overlap_error, pcb_courtyard_pill, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_debug_line, pcb_debug_object, pcb_debug_object_base, pcb_debug_point, pcb_debug_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_fabricator_extra_charge_warning, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_keepout_outline, pcb_keepout_overlap_warning, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_packing_error, pcb_pad_pad_clearance_error, pcb_pad_trace_clearance_error, pcb_panel, pcb_panelization_placement_error, pcb_pin1_location, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_preflight_routing_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_graphic, pcb_silkscreen_graphic_brep, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_soldermask_opening, pcb_stiffener, pcb_stiffener_polygon, pcb_stiffener_rect, 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_through_pad, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_trace_too_long_error, pcb_trace_too_long_warning, pcb_trace_too_many_vias_warning, pcb_trace_warning, pcb_via, pcb_via_clearance_error, pcb_via_trace_clearance_error, point, point3, point_with_bulge, polygon_shape, port_arrangement, position, position3, rect_shape, resistance, ring, rotated_rect_shape, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_overlap_warning, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_component_styling_warning, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_element_outside_sheet_warning, schematic_error, schematic_graphic, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_missing_sheet_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_sheet_size, schematic_symbol, schematic_table, schematic_table_cell, schematic_text, schematic_text_part, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_sweep_current_graph, simulation_ac_sweep_voltage_graph, simulation_ac_voltage_source, simulation_complex_sample, simulation_current_probe, simulation_current_source, simulation_dc_current_source, simulation_dc_operating_point_current, simulation_dc_operating_point_voltage, simulation_dc_sweep_current_graph, simulation_dc_sweep_unit, simulation_dc_sweep_voltage_graph, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_oscilloscope_trace, simulation_parameter_sweep, simulation_parameter_sweep_coordinate, simulation_parameter_type, simulation_parameter_unit, simulation_spice_subcircuit, simulation_switch, simulation_transient_current_graph, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_ambiguous_port_reference, source_board, source_bus, source_component_base, source_component_internal_connection, source_component_misconfigured_error, source_component_pins_underspecified_warning, source_confusing_net_name_warning, source_failed_to_create_component_error, source_group, source_i2c_misconfigured_error, source_interconnect, source_invalid_component_property_error, source_manually_placed_via, source_missing_manufacturer_part_number_warning, source_missing_property_error, source_net, source_no_ground_pin_defined_warning, source_no_power_pin_defined_warning, source_part_not_found_warning, source_pcb_ground_plane, source_pin_attributes, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_refdes_convention_warning, source_runtime_error, source_simple_ammeter, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_connector, source_simple_connector_standards, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_fuse, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, 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_simple_voltage_probe, source_simple_voltage_source, source_trace, source_trace_not_connected_error, source_unnamed_trace_warning, spice_simulation_options, standard_shape, supplier_footprint_mismatch_warning, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
package/dist/index.mjs CHANGED
@@ -459,6 +459,13 @@ expectTypesMatch(true);
459
459
 
460
460
  // src/source/properties/source_pin_attributes.ts
461
461
  import { z as z26 } from "zod";
462
+ var pin_voltage = z26.union([
463
+ z26.number(),
464
+ z26.string().trim().regex(
465
+ /^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?\s*(?:[fpnumkKMGTµμ]?V?|V)?$/,
466
+ "Expected a scalar voltage, optionally with SI units"
467
+ )
468
+ ]).pipe(voltage).pipe(z26.number().finite());
462
469
  var source_pin_attributes = z26.object({
463
470
  is_input: z26.boolean().optional(),
464
471
  is_output: z26.boolean().optional(),
@@ -477,8 +484,8 @@ var source_pin_attributes = z26.object({
477
484
  requires_power: z26.boolean().optional(),
478
485
  provides_ground: z26.boolean().optional(),
479
486
  requires_ground: z26.boolean().optional(),
480
- provides_voltage: z26.union([z26.string(), z26.number()]).optional(),
481
- requires_voltage: z26.union([z26.string(), z26.number()]).optional(),
487
+ provides_voltage: pin_voltage.optional(),
488
+ requires_voltage: pin_voltage.optional(),
482
489
  do_not_connect: z26.boolean().optional(),
483
490
  include_in_board_pinout: z26.boolean().optional(),
484
491
  can_use_internal_pullup: z26.boolean().optional(),
@@ -2546,13 +2553,24 @@ var pcb_solder_paste_oval = z116.object({
2546
2553
  pcb_component_id: z116.string().optional(),
2547
2554
  pcb_smtpad_id: z116.string().optional()
2548
2555
  });
2556
+ var pcb_solder_paste_polygon = polygon_shape.extend({
2557
+ type: z116.literal("pcb_solder_paste"),
2558
+ pcb_solder_paste_id: getZodPrefixedIdWithDefault("pcb_solder_paste"),
2559
+ pcb_group_id: z116.string().optional(),
2560
+ subcircuit_id: z116.string().optional(),
2561
+ holes: z116.array(polygon_shape.shape.points).optional(),
2562
+ layer: layer_ref,
2563
+ pcb_component_id: z116.string().optional(),
2564
+ pcb_smtpad_id: z116.string().optional()
2565
+ });
2549
2566
  var pcb_solder_paste = z116.union([
2550
2567
  pcb_solder_paste_circle,
2551
2568
  pcb_solder_paste_rect,
2552
2569
  pcb_solder_paste_pill,
2553
2570
  pcb_solder_paste_rotated_rect,
2554
2571
  pcb_solder_paste_rotated_pill,
2555
- pcb_solder_paste_oval
2572
+ pcb_solder_paste_oval,
2573
+ pcb_solder_paste_polygon
2556
2574
  ]).describe("Defines solderpaste on the PCB");
2557
2575
  expectTypesMatch(true);
2558
2576
  expectTypesMatch(true);
@@ -2564,6 +2582,7 @@ expectTypesMatch(
2564
2582
  true
2565
2583
  );
2566
2584
  expectTypesMatch(true);
2585
+ expectTypesMatch(true);
2567
2586
 
2568
2587
  // src/pcb/pcb_soldermask_opening.ts
2569
2588
  import { z as z117 } from "zod";