circuit-json 0.0.299 → 0.0.300

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
@@ -980,6 +980,7 @@ Defines a rectangular copper pour on the PCB.
980
980
  interface PcbCopperPourRect {
981
981
  type: "pcb_copper_pour"
982
982
  pcb_copper_pour_id: string
983
+ covered_with_solder_mask: boolean
983
984
  pcb_group_id?: string
984
985
  subcircuit_id?: string
985
986
  layer: LayerRef
package/dist/index.d.mts CHANGED
@@ -5688,6 +5688,7 @@ declare const pcb_copper_pour_rect: z.ZodObject<{
5688
5688
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
5689
5689
  }>;
5690
5690
  source_net_id: z.ZodOptional<z.ZodString>;
5691
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5691
5692
  } & {
5692
5693
  shape: z.ZodLiteral<"rect">;
5693
5694
  center: z.ZodObject<{
@@ -5713,6 +5714,7 @@ declare const pcb_copper_pour_rect: z.ZodObject<{
5713
5714
  };
5714
5715
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
5715
5716
  shape: "rect";
5717
+ covered_with_solder_mask: boolean;
5716
5718
  pcb_copper_pour_id: string;
5717
5719
  rotation?: number | undefined;
5718
5720
  subcircuit_id?: string | undefined;
@@ -5734,6 +5736,7 @@ declare const pcb_copper_pour_rect: z.ZodObject<{
5734
5736
  subcircuit_id?: string | undefined;
5735
5737
  pcb_group_id?: string | undefined;
5736
5738
  source_net_id?: string | undefined;
5739
+ covered_with_solder_mask?: boolean | undefined;
5737
5740
  pcb_copper_pour_id?: string | undefined;
5738
5741
  }>;
5739
5742
  type PcbCopperPourRectInput = z.input<typeof pcb_copper_pour_rect>;
@@ -5743,6 +5746,7 @@ type PcbCopperPourRectInput = z.input<typeof pcb_copper_pour_rect>;
5743
5746
  interface PcbCopperPourRect {
5744
5747
  type: "pcb_copper_pour";
5745
5748
  pcb_copper_pour_id: string;
5749
+ covered_with_solder_mask: boolean;
5746
5750
  pcb_group_id?: string;
5747
5751
  subcircuit_id?: string;
5748
5752
  layer: LayerRef;
@@ -5768,6 +5772,7 @@ declare const pcb_copper_pour_brep: z.ZodObject<{
5768
5772
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
5769
5773
  }>;
5770
5774
  source_net_id: z.ZodOptional<z.ZodString>;
5775
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5771
5776
  } & {
5772
5777
  shape: z.ZodLiteral<"brep">;
5773
5778
  brep_shape: z.ZodObject<{
@@ -5860,6 +5865,7 @@ declare const pcb_copper_pour_brep: z.ZodObject<{
5860
5865
  type: "pcb_copper_pour";
5861
5866
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
5862
5867
  shape: "brep";
5868
+ covered_with_solder_mask: boolean;
5863
5869
  pcb_copper_pour_id: string;
5864
5870
  brep_shape: {
5865
5871
  outer_ring: {
@@ -5905,6 +5911,7 @@ declare const pcb_copper_pour_brep: z.ZodObject<{
5905
5911
  subcircuit_id?: string | undefined;
5906
5912
  pcb_group_id?: string | undefined;
5907
5913
  source_net_id?: string | undefined;
5914
+ covered_with_solder_mask?: boolean | undefined;
5908
5915
  pcb_copper_pour_id?: string | undefined;
5909
5916
  }>;
5910
5917
  type PcbCopperPourBRepInput = z.input<typeof pcb_copper_pour_brep>;
@@ -5914,6 +5921,7 @@ type PcbCopperPourBRepInput = z.input<typeof pcb_copper_pour_brep>;
5914
5921
  interface PcbCopperPourBRep {
5915
5922
  type: "pcb_copper_pour";
5916
5923
  pcb_copper_pour_id: string;
5924
+ covered_with_solder_mask: boolean;
5917
5925
  pcb_group_id?: string;
5918
5926
  subcircuit_id?: string;
5919
5927
  layer: LayerRef;
@@ -5936,6 +5944,7 @@ declare const pcb_copper_pour_polygon: z.ZodObject<{
5936
5944
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
5937
5945
  }>;
5938
5946
  source_net_id: z.ZodOptional<z.ZodString>;
5947
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5939
5948
  } & {
5940
5949
  shape: z.ZodLiteral<"polygon">;
5941
5950
  points: z.ZodArray<z.ZodObject<{
@@ -5956,6 +5965,7 @@ declare const pcb_copper_pour_polygon: z.ZodObject<{
5956
5965
  x: number;
5957
5966
  y: number;
5958
5967
  }[];
5968
+ covered_with_solder_mask: boolean;
5959
5969
  pcb_copper_pour_id: string;
5960
5970
  subcircuit_id?: string | undefined;
5961
5971
  pcb_group_id?: string | undefined;
@@ -5973,6 +5983,7 @@ declare const pcb_copper_pour_polygon: z.ZodObject<{
5973
5983
  subcircuit_id?: string | undefined;
5974
5984
  pcb_group_id?: string | undefined;
5975
5985
  source_net_id?: string | undefined;
5986
+ covered_with_solder_mask?: boolean | undefined;
5976
5987
  pcb_copper_pour_id?: string | undefined;
5977
5988
  }>;
5978
5989
  type PcbCopperPourPolygonInput = z.input<typeof pcb_copper_pour_polygon>;
@@ -5983,6 +5994,7 @@ type PcbCopperPourPolygonInput = z.input<typeof pcb_copper_pour_polygon>;
5983
5994
  interface PcbCopperPourPolygon {
5984
5995
  type: "pcb_copper_pour";
5985
5996
  pcb_copper_pour_id: string;
5997
+ covered_with_solder_mask: boolean;
5986
5998
  pcb_group_id?: string;
5987
5999
  subcircuit_id?: string;
5988
6000
  layer: LayerRef;
@@ -6005,6 +6017,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6005
6017
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6006
6018
  }>;
6007
6019
  source_net_id: z.ZodOptional<z.ZodString>;
6020
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6008
6021
  } & {
6009
6022
  shape: z.ZodLiteral<"rect">;
6010
6023
  center: z.ZodObject<{
@@ -6030,6 +6043,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6030
6043
  };
6031
6044
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6032
6045
  shape: "rect";
6046
+ covered_with_solder_mask: boolean;
6033
6047
  pcb_copper_pour_id: string;
6034
6048
  rotation?: number | undefined;
6035
6049
  subcircuit_id?: string | undefined;
@@ -6051,6 +6065,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6051
6065
  subcircuit_id?: string | undefined;
6052
6066
  pcb_group_id?: string | undefined;
6053
6067
  source_net_id?: string | undefined;
6068
+ covered_with_solder_mask?: boolean | undefined;
6054
6069
  pcb_copper_pour_id?: string | undefined;
6055
6070
  }>, z.ZodObject<{
6056
6071
  type: z.ZodLiteral<"pcb_copper_pour">;
@@ -6067,6 +6082,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6067
6082
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6068
6083
  }>;
6069
6084
  source_net_id: z.ZodOptional<z.ZodString>;
6085
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6070
6086
  } & {
6071
6087
  shape: z.ZodLiteral<"brep">;
6072
6088
  brep_shape: z.ZodObject<{
@@ -6159,6 +6175,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6159
6175
  type: "pcb_copper_pour";
6160
6176
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6161
6177
  shape: "brep";
6178
+ covered_with_solder_mask: boolean;
6162
6179
  pcb_copper_pour_id: string;
6163
6180
  brep_shape: {
6164
6181
  outer_ring: {
@@ -6204,6 +6221,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6204
6221
  subcircuit_id?: string | undefined;
6205
6222
  pcb_group_id?: string | undefined;
6206
6223
  source_net_id?: string | undefined;
6224
+ covered_with_solder_mask?: boolean | undefined;
6207
6225
  pcb_copper_pour_id?: string | undefined;
6208
6226
  }>, z.ZodObject<{
6209
6227
  type: z.ZodLiteral<"pcb_copper_pour">;
@@ -6220,6 +6238,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6220
6238
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6221
6239
  }>;
6222
6240
  source_net_id: z.ZodOptional<z.ZodString>;
6241
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6223
6242
  } & {
6224
6243
  shape: z.ZodLiteral<"polygon">;
6225
6244
  points: z.ZodArray<z.ZodObject<{
@@ -6240,6 +6259,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6240
6259
  x: number;
6241
6260
  y: number;
6242
6261
  }[];
6262
+ covered_with_solder_mask: boolean;
6243
6263
  pcb_copper_pour_id: string;
6244
6264
  subcircuit_id?: string | undefined;
6245
6265
  pcb_group_id?: string | undefined;
@@ -6257,6 +6277,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
6257
6277
  subcircuit_id?: string | undefined;
6258
6278
  pcb_group_id?: string | undefined;
6259
6279
  source_net_id?: string | undefined;
6280
+ covered_with_solder_mask?: boolean | undefined;
6260
6281
  pcb_copper_pour_id?: string | undefined;
6261
6282
  }>]>;
6262
6283
  type PcbCopperPourInput = z.input<typeof pcb_copper_pour>;
@@ -17287,6 +17308,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17287
17308
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
17288
17309
  }>;
17289
17310
  source_net_id: z.ZodOptional<z.ZodString>;
17311
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
17290
17312
  } & {
17291
17313
  shape: z.ZodLiteral<"rect">;
17292
17314
  center: z.ZodObject<{
@@ -17312,6 +17334,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17312
17334
  };
17313
17335
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
17314
17336
  shape: "rect";
17337
+ covered_with_solder_mask: boolean;
17315
17338
  pcb_copper_pour_id: string;
17316
17339
  rotation?: number | undefined;
17317
17340
  subcircuit_id?: string | undefined;
@@ -17333,6 +17356,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17333
17356
  subcircuit_id?: string | undefined;
17334
17357
  pcb_group_id?: string | undefined;
17335
17358
  source_net_id?: string | undefined;
17359
+ covered_with_solder_mask?: boolean | undefined;
17336
17360
  pcb_copper_pour_id?: string | undefined;
17337
17361
  }>, z.ZodObject<{
17338
17362
  type: z.ZodLiteral<"pcb_copper_pour">;
@@ -17349,6 +17373,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17349
17373
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
17350
17374
  }>;
17351
17375
  source_net_id: z.ZodOptional<z.ZodString>;
17376
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
17352
17377
  } & {
17353
17378
  shape: z.ZodLiteral<"brep">;
17354
17379
  brep_shape: z.ZodObject<{
@@ -17441,6 +17466,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17441
17466
  type: "pcb_copper_pour";
17442
17467
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
17443
17468
  shape: "brep";
17469
+ covered_with_solder_mask: boolean;
17444
17470
  pcb_copper_pour_id: string;
17445
17471
  brep_shape: {
17446
17472
  outer_ring: {
@@ -17486,6 +17512,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17486
17512
  subcircuit_id?: string | undefined;
17487
17513
  pcb_group_id?: string | undefined;
17488
17514
  source_net_id?: string | undefined;
17515
+ covered_with_solder_mask?: boolean | undefined;
17489
17516
  pcb_copper_pour_id?: string | undefined;
17490
17517
  }>, z.ZodObject<{
17491
17518
  type: z.ZodLiteral<"pcb_copper_pour">;
@@ -17502,6 +17529,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17502
17529
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
17503
17530
  }>;
17504
17531
  source_net_id: z.ZodOptional<z.ZodString>;
17532
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
17505
17533
  } & {
17506
17534
  shape: z.ZodLiteral<"polygon">;
17507
17535
  points: z.ZodArray<z.ZodObject<{
@@ -17522,6 +17550,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17522
17550
  x: number;
17523
17551
  y: number;
17524
17552
  }[];
17553
+ covered_with_solder_mask: boolean;
17525
17554
  pcb_copper_pour_id: string;
17526
17555
  subcircuit_id?: string | undefined;
17527
17556
  pcb_group_id?: string | undefined;
@@ -17539,6 +17568,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17539
17568
  subcircuit_id?: string | undefined;
17540
17569
  pcb_group_id?: string | undefined;
17541
17570
  source_net_id?: string | undefined;
17571
+ covered_with_solder_mask?: boolean | undefined;
17542
17572
  pcb_copper_pour_id?: string | undefined;
17543
17573
  }>]>, z.ZodObject<{
17544
17574
  type: z.ZodLiteral<"pcb_component_outside_board_error">;
@@ -24794,6 +24824,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24794
24824
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
24795
24825
  }>;
24796
24826
  source_net_id: z.ZodOptional<z.ZodString>;
24827
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
24797
24828
  } & {
24798
24829
  shape: z.ZodLiteral<"rect">;
24799
24830
  center: z.ZodObject<{
@@ -24819,6 +24850,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24819
24850
  };
24820
24851
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
24821
24852
  shape: "rect";
24853
+ covered_with_solder_mask: boolean;
24822
24854
  pcb_copper_pour_id: string;
24823
24855
  rotation?: number | undefined;
24824
24856
  subcircuit_id?: string | undefined;
@@ -24840,6 +24872,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24840
24872
  subcircuit_id?: string | undefined;
24841
24873
  pcb_group_id?: string | undefined;
24842
24874
  source_net_id?: string | undefined;
24875
+ covered_with_solder_mask?: boolean | undefined;
24843
24876
  pcb_copper_pour_id?: string | undefined;
24844
24877
  }>, z.ZodObject<{
24845
24878
  type: z.ZodLiteral<"pcb_copper_pour">;
@@ -24856,6 +24889,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24856
24889
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
24857
24890
  }>;
24858
24891
  source_net_id: z.ZodOptional<z.ZodString>;
24892
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
24859
24893
  } & {
24860
24894
  shape: z.ZodLiteral<"brep">;
24861
24895
  brep_shape: z.ZodObject<{
@@ -24948,6 +24982,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24948
24982
  type: "pcb_copper_pour";
24949
24983
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
24950
24984
  shape: "brep";
24985
+ covered_with_solder_mask: boolean;
24951
24986
  pcb_copper_pour_id: string;
24952
24987
  brep_shape: {
24953
24988
  outer_ring: {
@@ -24993,6 +25028,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
24993
25028
  subcircuit_id?: string | undefined;
24994
25029
  pcb_group_id?: string | undefined;
24995
25030
  source_net_id?: string | undefined;
25031
+ covered_with_solder_mask?: boolean | undefined;
24996
25032
  pcb_copper_pour_id?: string | undefined;
24997
25033
  }>, z.ZodObject<{
24998
25034
  type: z.ZodLiteral<"pcb_copper_pour">;
@@ -25009,6 +25045,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25009
25045
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
25010
25046
  }>;
25011
25047
  source_net_id: z.ZodOptional<z.ZodString>;
25048
+ covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
25012
25049
  } & {
25013
25050
  shape: z.ZodLiteral<"polygon">;
25014
25051
  points: z.ZodArray<z.ZodObject<{
@@ -25029,6 +25066,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25029
25066
  x: number;
25030
25067
  y: number;
25031
25068
  }[];
25069
+ covered_with_solder_mask: boolean;
25032
25070
  pcb_copper_pour_id: string;
25033
25071
  subcircuit_id?: string | undefined;
25034
25072
  pcb_group_id?: string | undefined;
@@ -25046,6 +25084,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25046
25084
  subcircuit_id?: string | undefined;
25047
25085
  pcb_group_id?: string | undefined;
25048
25086
  source_net_id?: string | undefined;
25087
+ covered_with_solder_mask?: boolean | undefined;
25049
25088
  pcb_copper_pour_id?: string | undefined;
25050
25089
  }>]>, z.ZodObject<{
25051
25090
  type: z.ZodLiteral<"pcb_component_outside_board_error">;
package/dist/index.mjs CHANGED
@@ -2478,7 +2478,8 @@ var pcb_copper_pour_base = z116.object({
2478
2478
  pcb_group_id: z116.string().optional(),
2479
2479
  subcircuit_id: z116.string().optional(),
2480
2480
  layer: layer_ref,
2481
- source_net_id: z116.string().optional()
2481
+ source_net_id: z116.string().optional(),
2482
+ covered_with_solder_mask: z116.boolean().optional().default(true)
2482
2483
  });
2483
2484
  var pcb_copper_pour_rect = pcb_copper_pour_base.extend({
2484
2485
  shape: z116.literal("rect"),