circuit-json 0.0.298 → 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 +3 -0
- package/dist/index.d.mts +59 -0
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
@@ -2060,6 +2061,8 @@ interface PcbVia {
|
|
|
2060
2061
|
to_layer?: LayerRef
|
|
2061
2062
|
layers: LayerRef[]
|
|
2062
2063
|
pcb_trace_id?: string
|
|
2064
|
+
net_is_assignable?: boolean
|
|
2065
|
+
net_assigned?: boolean
|
|
2063
2066
|
}
|
|
2064
2067
|
```
|
|
2065
2068
|
|
package/dist/index.d.mts
CHANGED
|
@@ -2973,6 +2973,8 @@ declare const pcb_via: z.ZodObject<{
|
|
|
2973
2973
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2974
2974
|
}>, "many">;
|
|
2975
2975
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
2976
|
+
net_is_assignable: z.ZodOptional<z.ZodBoolean>;
|
|
2977
|
+
net_assigned: z.ZodOptional<z.ZodBoolean>;
|
|
2976
2978
|
}, "strip", z.ZodTypeAny, {
|
|
2977
2979
|
x: number;
|
|
2978
2980
|
y: number;
|
|
@@ -2986,6 +2988,8 @@ declare const pcb_via: z.ZodObject<{
|
|
|
2986
2988
|
pcb_group_id?: string | undefined;
|
|
2987
2989
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2988
2990
|
pcb_trace_id?: string | undefined;
|
|
2991
|
+
net_is_assignable?: boolean | undefined;
|
|
2992
|
+
net_assigned?: boolean | undefined;
|
|
2989
2993
|
}, {
|
|
2990
2994
|
x: string | number;
|
|
2991
2995
|
y: string | number;
|
|
@@ -3005,6 +3009,8 @@ declare const pcb_via: z.ZodObject<{
|
|
|
3005
3009
|
} | undefined;
|
|
3006
3010
|
pcb_trace_id?: string | undefined;
|
|
3007
3011
|
pcb_via_id?: string | undefined;
|
|
3012
|
+
net_is_assignable?: boolean | undefined;
|
|
3013
|
+
net_assigned?: boolean | undefined;
|
|
3008
3014
|
}>;
|
|
3009
3015
|
type PcbViaInput = z.input<typeof pcb_via>;
|
|
3010
3016
|
/**
|
|
@@ -3025,6 +3031,8 @@ interface PcbVia {
|
|
|
3025
3031
|
to_layer?: LayerRef;
|
|
3026
3032
|
layers: LayerRef[];
|
|
3027
3033
|
pcb_trace_id?: string;
|
|
3034
|
+
net_is_assignable?: boolean;
|
|
3035
|
+
net_assigned?: boolean;
|
|
3028
3036
|
}
|
|
3029
3037
|
/**
|
|
3030
3038
|
* @deprecated use PcbVia
|
|
@@ -5680,6 +5688,7 @@ declare const pcb_copper_pour_rect: z.ZodObject<{
|
|
|
5680
5688
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5681
5689
|
}>;
|
|
5682
5690
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
5691
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5683
5692
|
} & {
|
|
5684
5693
|
shape: z.ZodLiteral<"rect">;
|
|
5685
5694
|
center: z.ZodObject<{
|
|
@@ -5705,6 +5714,7 @@ declare const pcb_copper_pour_rect: z.ZodObject<{
|
|
|
5705
5714
|
};
|
|
5706
5715
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5707
5716
|
shape: "rect";
|
|
5717
|
+
covered_with_solder_mask: boolean;
|
|
5708
5718
|
pcb_copper_pour_id: string;
|
|
5709
5719
|
rotation?: number | undefined;
|
|
5710
5720
|
subcircuit_id?: string | undefined;
|
|
@@ -5726,6 +5736,7 @@ declare const pcb_copper_pour_rect: z.ZodObject<{
|
|
|
5726
5736
|
subcircuit_id?: string | undefined;
|
|
5727
5737
|
pcb_group_id?: string | undefined;
|
|
5728
5738
|
source_net_id?: string | undefined;
|
|
5739
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
5729
5740
|
pcb_copper_pour_id?: string | undefined;
|
|
5730
5741
|
}>;
|
|
5731
5742
|
type PcbCopperPourRectInput = z.input<typeof pcb_copper_pour_rect>;
|
|
@@ -5735,6 +5746,7 @@ type PcbCopperPourRectInput = z.input<typeof pcb_copper_pour_rect>;
|
|
|
5735
5746
|
interface PcbCopperPourRect {
|
|
5736
5747
|
type: "pcb_copper_pour";
|
|
5737
5748
|
pcb_copper_pour_id: string;
|
|
5749
|
+
covered_with_solder_mask: boolean;
|
|
5738
5750
|
pcb_group_id?: string;
|
|
5739
5751
|
subcircuit_id?: string;
|
|
5740
5752
|
layer: LayerRef;
|
|
@@ -5760,6 +5772,7 @@ declare const pcb_copper_pour_brep: z.ZodObject<{
|
|
|
5760
5772
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5761
5773
|
}>;
|
|
5762
5774
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
5775
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5763
5776
|
} & {
|
|
5764
5777
|
shape: z.ZodLiteral<"brep">;
|
|
5765
5778
|
brep_shape: z.ZodObject<{
|
|
@@ -5852,6 +5865,7 @@ declare const pcb_copper_pour_brep: z.ZodObject<{
|
|
|
5852
5865
|
type: "pcb_copper_pour";
|
|
5853
5866
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5854
5867
|
shape: "brep";
|
|
5868
|
+
covered_with_solder_mask: boolean;
|
|
5855
5869
|
pcb_copper_pour_id: string;
|
|
5856
5870
|
brep_shape: {
|
|
5857
5871
|
outer_ring: {
|
|
@@ -5897,6 +5911,7 @@ declare const pcb_copper_pour_brep: z.ZodObject<{
|
|
|
5897
5911
|
subcircuit_id?: string | undefined;
|
|
5898
5912
|
pcb_group_id?: string | undefined;
|
|
5899
5913
|
source_net_id?: string | undefined;
|
|
5914
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
5900
5915
|
pcb_copper_pour_id?: string | undefined;
|
|
5901
5916
|
}>;
|
|
5902
5917
|
type PcbCopperPourBRepInput = z.input<typeof pcb_copper_pour_brep>;
|
|
@@ -5906,6 +5921,7 @@ type PcbCopperPourBRepInput = z.input<typeof pcb_copper_pour_brep>;
|
|
|
5906
5921
|
interface PcbCopperPourBRep {
|
|
5907
5922
|
type: "pcb_copper_pour";
|
|
5908
5923
|
pcb_copper_pour_id: string;
|
|
5924
|
+
covered_with_solder_mask: boolean;
|
|
5909
5925
|
pcb_group_id?: string;
|
|
5910
5926
|
subcircuit_id?: string;
|
|
5911
5927
|
layer: LayerRef;
|
|
@@ -5928,6 +5944,7 @@ declare const pcb_copper_pour_polygon: z.ZodObject<{
|
|
|
5928
5944
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5929
5945
|
}>;
|
|
5930
5946
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
5947
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5931
5948
|
} & {
|
|
5932
5949
|
shape: z.ZodLiteral<"polygon">;
|
|
5933
5950
|
points: z.ZodArray<z.ZodObject<{
|
|
@@ -5948,6 +5965,7 @@ declare const pcb_copper_pour_polygon: z.ZodObject<{
|
|
|
5948
5965
|
x: number;
|
|
5949
5966
|
y: number;
|
|
5950
5967
|
}[];
|
|
5968
|
+
covered_with_solder_mask: boolean;
|
|
5951
5969
|
pcb_copper_pour_id: string;
|
|
5952
5970
|
subcircuit_id?: string | undefined;
|
|
5953
5971
|
pcb_group_id?: string | undefined;
|
|
@@ -5965,6 +5983,7 @@ declare const pcb_copper_pour_polygon: z.ZodObject<{
|
|
|
5965
5983
|
subcircuit_id?: string | undefined;
|
|
5966
5984
|
pcb_group_id?: string | undefined;
|
|
5967
5985
|
source_net_id?: string | undefined;
|
|
5986
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
5968
5987
|
pcb_copper_pour_id?: string | undefined;
|
|
5969
5988
|
}>;
|
|
5970
5989
|
type PcbCopperPourPolygonInput = z.input<typeof pcb_copper_pour_polygon>;
|
|
@@ -5975,6 +5994,7 @@ type PcbCopperPourPolygonInput = z.input<typeof pcb_copper_pour_polygon>;
|
|
|
5975
5994
|
interface PcbCopperPourPolygon {
|
|
5976
5995
|
type: "pcb_copper_pour";
|
|
5977
5996
|
pcb_copper_pour_id: string;
|
|
5997
|
+
covered_with_solder_mask: boolean;
|
|
5978
5998
|
pcb_group_id?: string;
|
|
5979
5999
|
subcircuit_id?: string;
|
|
5980
6000
|
layer: LayerRef;
|
|
@@ -5997,6 +6017,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5997
6017
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5998
6018
|
}>;
|
|
5999
6019
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
6020
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6000
6021
|
} & {
|
|
6001
6022
|
shape: z.ZodLiteral<"rect">;
|
|
6002
6023
|
center: z.ZodObject<{
|
|
@@ -6022,6 +6043,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6022
6043
|
};
|
|
6023
6044
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6024
6045
|
shape: "rect";
|
|
6046
|
+
covered_with_solder_mask: boolean;
|
|
6025
6047
|
pcb_copper_pour_id: string;
|
|
6026
6048
|
rotation?: number | undefined;
|
|
6027
6049
|
subcircuit_id?: string | undefined;
|
|
@@ -6043,6 +6065,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6043
6065
|
subcircuit_id?: string | undefined;
|
|
6044
6066
|
pcb_group_id?: string | undefined;
|
|
6045
6067
|
source_net_id?: string | undefined;
|
|
6068
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
6046
6069
|
pcb_copper_pour_id?: string | undefined;
|
|
6047
6070
|
}>, z.ZodObject<{
|
|
6048
6071
|
type: z.ZodLiteral<"pcb_copper_pour">;
|
|
@@ -6059,6 +6082,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6059
6082
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6060
6083
|
}>;
|
|
6061
6084
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
6085
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6062
6086
|
} & {
|
|
6063
6087
|
shape: z.ZodLiteral<"brep">;
|
|
6064
6088
|
brep_shape: z.ZodObject<{
|
|
@@ -6151,6 +6175,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6151
6175
|
type: "pcb_copper_pour";
|
|
6152
6176
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6153
6177
|
shape: "brep";
|
|
6178
|
+
covered_with_solder_mask: boolean;
|
|
6154
6179
|
pcb_copper_pour_id: string;
|
|
6155
6180
|
brep_shape: {
|
|
6156
6181
|
outer_ring: {
|
|
@@ -6196,6 +6221,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6196
6221
|
subcircuit_id?: string | undefined;
|
|
6197
6222
|
pcb_group_id?: string | undefined;
|
|
6198
6223
|
source_net_id?: string | undefined;
|
|
6224
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
6199
6225
|
pcb_copper_pour_id?: string | undefined;
|
|
6200
6226
|
}>, z.ZodObject<{
|
|
6201
6227
|
type: z.ZodLiteral<"pcb_copper_pour">;
|
|
@@ -6212,6 +6238,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6212
6238
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6213
6239
|
}>;
|
|
6214
6240
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
6241
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6215
6242
|
} & {
|
|
6216
6243
|
shape: z.ZodLiteral<"polygon">;
|
|
6217
6244
|
points: z.ZodArray<z.ZodObject<{
|
|
@@ -6232,6 +6259,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6232
6259
|
x: number;
|
|
6233
6260
|
y: number;
|
|
6234
6261
|
}[];
|
|
6262
|
+
covered_with_solder_mask: boolean;
|
|
6235
6263
|
pcb_copper_pour_id: string;
|
|
6236
6264
|
subcircuit_id?: string | undefined;
|
|
6237
6265
|
pcb_group_id?: string | undefined;
|
|
@@ -6249,6 +6277,7 @@ declare const pcb_copper_pour: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
6249
6277
|
subcircuit_id?: string | undefined;
|
|
6250
6278
|
pcb_group_id?: string | undefined;
|
|
6251
6279
|
source_net_id?: string | undefined;
|
|
6280
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
6252
6281
|
pcb_copper_pour_id?: string | undefined;
|
|
6253
6282
|
}>]>;
|
|
6254
6283
|
type PcbCopperPourInput = z.input<typeof pcb_copper_pour>;
|
|
@@ -14849,6 +14878,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14849
14878
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14850
14879
|
}>, "many">;
|
|
14851
14880
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
14881
|
+
net_is_assignable: z.ZodOptional<z.ZodBoolean>;
|
|
14882
|
+
net_assigned: z.ZodOptional<z.ZodBoolean>;
|
|
14852
14883
|
}, "strip", z.ZodTypeAny, {
|
|
14853
14884
|
x: number;
|
|
14854
14885
|
y: number;
|
|
@@ -14862,6 +14893,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14862
14893
|
pcb_group_id?: string | undefined;
|
|
14863
14894
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
14864
14895
|
pcb_trace_id?: string | undefined;
|
|
14896
|
+
net_is_assignable?: boolean | undefined;
|
|
14897
|
+
net_assigned?: boolean | undefined;
|
|
14865
14898
|
}, {
|
|
14866
14899
|
x: string | number;
|
|
14867
14900
|
y: string | number;
|
|
@@ -14881,6 +14914,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14881
14914
|
} | undefined;
|
|
14882
14915
|
pcb_trace_id?: string | undefined;
|
|
14883
14916
|
pcb_via_id?: string | undefined;
|
|
14917
|
+
net_is_assignable?: boolean | undefined;
|
|
14918
|
+
net_assigned?: boolean | undefined;
|
|
14884
14919
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
14885
14920
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
14886
14921
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -17273,6 +17308,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17273
17308
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17274
17309
|
}>;
|
|
17275
17310
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
17311
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17276
17312
|
} & {
|
|
17277
17313
|
shape: z.ZodLiteral<"rect">;
|
|
17278
17314
|
center: z.ZodObject<{
|
|
@@ -17298,6 +17334,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17298
17334
|
};
|
|
17299
17335
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17300
17336
|
shape: "rect";
|
|
17337
|
+
covered_with_solder_mask: boolean;
|
|
17301
17338
|
pcb_copper_pour_id: string;
|
|
17302
17339
|
rotation?: number | undefined;
|
|
17303
17340
|
subcircuit_id?: string | undefined;
|
|
@@ -17319,6 +17356,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17319
17356
|
subcircuit_id?: string | undefined;
|
|
17320
17357
|
pcb_group_id?: string | undefined;
|
|
17321
17358
|
source_net_id?: string | undefined;
|
|
17359
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
17322
17360
|
pcb_copper_pour_id?: string | undefined;
|
|
17323
17361
|
}>, z.ZodObject<{
|
|
17324
17362
|
type: z.ZodLiteral<"pcb_copper_pour">;
|
|
@@ -17335,6 +17373,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17335
17373
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17336
17374
|
}>;
|
|
17337
17375
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
17376
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17338
17377
|
} & {
|
|
17339
17378
|
shape: z.ZodLiteral<"brep">;
|
|
17340
17379
|
brep_shape: z.ZodObject<{
|
|
@@ -17427,6 +17466,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17427
17466
|
type: "pcb_copper_pour";
|
|
17428
17467
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17429
17468
|
shape: "brep";
|
|
17469
|
+
covered_with_solder_mask: boolean;
|
|
17430
17470
|
pcb_copper_pour_id: string;
|
|
17431
17471
|
brep_shape: {
|
|
17432
17472
|
outer_ring: {
|
|
@@ -17472,6 +17512,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17472
17512
|
subcircuit_id?: string | undefined;
|
|
17473
17513
|
pcb_group_id?: string | undefined;
|
|
17474
17514
|
source_net_id?: string | undefined;
|
|
17515
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
17475
17516
|
pcb_copper_pour_id?: string | undefined;
|
|
17476
17517
|
}>, z.ZodObject<{
|
|
17477
17518
|
type: z.ZodLiteral<"pcb_copper_pour">;
|
|
@@ -17488,6 +17529,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17488
17529
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
17489
17530
|
}>;
|
|
17490
17531
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
17532
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
17491
17533
|
} & {
|
|
17492
17534
|
shape: z.ZodLiteral<"polygon">;
|
|
17493
17535
|
points: z.ZodArray<z.ZodObject<{
|
|
@@ -17508,6 +17550,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17508
17550
|
x: number;
|
|
17509
17551
|
y: number;
|
|
17510
17552
|
}[];
|
|
17553
|
+
covered_with_solder_mask: boolean;
|
|
17511
17554
|
pcb_copper_pour_id: string;
|
|
17512
17555
|
subcircuit_id?: string | undefined;
|
|
17513
17556
|
pcb_group_id?: string | undefined;
|
|
@@ -17525,6 +17568,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17525
17568
|
subcircuit_id?: string | undefined;
|
|
17526
17569
|
pcb_group_id?: string | undefined;
|
|
17527
17570
|
source_net_id?: string | undefined;
|
|
17571
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
17528
17572
|
pcb_copper_pour_id?: string | undefined;
|
|
17529
17573
|
}>]>, z.ZodObject<{
|
|
17530
17574
|
type: z.ZodLiteral<"pcb_component_outside_board_error">;
|
|
@@ -22350,6 +22394,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22350
22394
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
22351
22395
|
}>, "many">;
|
|
22352
22396
|
pcb_trace_id: z.ZodOptional<z.ZodString>;
|
|
22397
|
+
net_is_assignable: z.ZodOptional<z.ZodBoolean>;
|
|
22398
|
+
net_assigned: z.ZodOptional<z.ZodBoolean>;
|
|
22353
22399
|
}, "strip", z.ZodTypeAny, {
|
|
22354
22400
|
x: number;
|
|
22355
22401
|
y: number;
|
|
@@ -22363,6 +22409,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22363
22409
|
pcb_group_id?: string | undefined;
|
|
22364
22410
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
22365
22411
|
pcb_trace_id?: string | undefined;
|
|
22412
|
+
net_is_assignable?: boolean | undefined;
|
|
22413
|
+
net_assigned?: boolean | undefined;
|
|
22366
22414
|
}, {
|
|
22367
22415
|
x: string | number;
|
|
22368
22416
|
y: string | number;
|
|
@@ -22382,6 +22430,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22382
22430
|
} | undefined;
|
|
22383
22431
|
pcb_trace_id?: string | undefined;
|
|
22384
22432
|
pcb_via_id?: string | undefined;
|
|
22433
|
+
net_is_assignable?: boolean | undefined;
|
|
22434
|
+
net_assigned?: boolean | undefined;
|
|
22385
22435
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
22386
22436
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
22387
22437
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -24774,6 +24824,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24774
24824
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
24775
24825
|
}>;
|
|
24776
24826
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
24827
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
24777
24828
|
} & {
|
|
24778
24829
|
shape: z.ZodLiteral<"rect">;
|
|
24779
24830
|
center: z.ZodObject<{
|
|
@@ -24799,6 +24850,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24799
24850
|
};
|
|
24800
24851
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
24801
24852
|
shape: "rect";
|
|
24853
|
+
covered_with_solder_mask: boolean;
|
|
24802
24854
|
pcb_copper_pour_id: string;
|
|
24803
24855
|
rotation?: number | undefined;
|
|
24804
24856
|
subcircuit_id?: string | undefined;
|
|
@@ -24820,6 +24872,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24820
24872
|
subcircuit_id?: string | undefined;
|
|
24821
24873
|
pcb_group_id?: string | undefined;
|
|
24822
24874
|
source_net_id?: string | undefined;
|
|
24875
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
24823
24876
|
pcb_copper_pour_id?: string | undefined;
|
|
24824
24877
|
}>, z.ZodObject<{
|
|
24825
24878
|
type: z.ZodLiteral<"pcb_copper_pour">;
|
|
@@ -24836,6 +24889,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24836
24889
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
24837
24890
|
}>;
|
|
24838
24891
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
24892
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
24839
24893
|
} & {
|
|
24840
24894
|
shape: z.ZodLiteral<"brep">;
|
|
24841
24895
|
brep_shape: z.ZodObject<{
|
|
@@ -24928,6 +24982,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24928
24982
|
type: "pcb_copper_pour";
|
|
24929
24983
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
24930
24984
|
shape: "brep";
|
|
24985
|
+
covered_with_solder_mask: boolean;
|
|
24931
24986
|
pcb_copper_pour_id: string;
|
|
24932
24987
|
brep_shape: {
|
|
24933
24988
|
outer_ring: {
|
|
@@ -24973,6 +25028,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24973
25028
|
subcircuit_id?: string | undefined;
|
|
24974
25029
|
pcb_group_id?: string | undefined;
|
|
24975
25030
|
source_net_id?: string | undefined;
|
|
25031
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
24976
25032
|
pcb_copper_pour_id?: string | undefined;
|
|
24977
25033
|
}>, z.ZodObject<{
|
|
24978
25034
|
type: z.ZodLiteral<"pcb_copper_pour">;
|
|
@@ -24989,6 +25045,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24989
25045
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
24990
25046
|
}>;
|
|
24991
25047
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
25048
|
+
covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
24992
25049
|
} & {
|
|
24993
25050
|
shape: z.ZodLiteral<"polygon">;
|
|
24994
25051
|
points: z.ZodArray<z.ZodObject<{
|
|
@@ -25009,6 +25066,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25009
25066
|
x: number;
|
|
25010
25067
|
y: number;
|
|
25011
25068
|
}[];
|
|
25069
|
+
covered_with_solder_mask: boolean;
|
|
25012
25070
|
pcb_copper_pour_id: string;
|
|
25013
25071
|
subcircuit_id?: string | undefined;
|
|
25014
25072
|
pcb_group_id?: string | undefined;
|
|
@@ -25026,6 +25084,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25026
25084
|
subcircuit_id?: string | undefined;
|
|
25027
25085
|
pcb_group_id?: string | undefined;
|
|
25028
25086
|
source_net_id?: string | undefined;
|
|
25087
|
+
covered_with_solder_mask?: boolean | undefined;
|
|
25029
25088
|
pcb_copper_pour_id?: string | undefined;
|
|
25030
25089
|
}>]>, z.ZodObject<{
|
|
25031
25090
|
type: z.ZodLiteral<"pcb_component_outside_board_error">;
|
package/dist/index.mjs
CHANGED
|
@@ -1828,7 +1828,9 @@ var pcb_via = z82.object({
|
|
|
1828
1828
|
/** @deprecated */
|
|
1829
1829
|
to_layer: layer_ref.optional(),
|
|
1830
1830
|
layers: z82.array(layer_ref),
|
|
1831
|
-
pcb_trace_id: z82.string().optional()
|
|
1831
|
+
pcb_trace_id: z82.string().optional(),
|
|
1832
|
+
net_is_assignable: z82.boolean().optional(),
|
|
1833
|
+
net_assigned: z82.boolean().optional()
|
|
1832
1834
|
}).describe("Defines a via on the PCB");
|
|
1833
1835
|
expectTypesMatch(true);
|
|
1834
1836
|
|
|
@@ -2476,7 +2478,8 @@ var pcb_copper_pour_base = z116.object({
|
|
|
2476
2478
|
pcb_group_id: z116.string().optional(),
|
|
2477
2479
|
subcircuit_id: z116.string().optional(),
|
|
2478
2480
|
layer: layer_ref,
|
|
2479
|
-
source_net_id: z116.string().optional()
|
|
2481
|
+
source_net_id: z116.string().optional(),
|
|
2482
|
+
covered_with_solder_mask: z116.boolean().optional().default(true)
|
|
2480
2483
|
});
|
|
2481
2484
|
var pcb_copper_pour_rect = pcb_copper_pour_base.extend({
|
|
2482
2485
|
shape: z116.literal("rect"),
|