circuit-json 0.0.527 → 0.0.528
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +33 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -13204,6 +13204,7 @@ interface PcbCourtyardOverlapError extends BaseCircuitJsonError {
|
|
|
13204
13204
|
declare const pcb_keepout_outline: z.ZodObject<{
|
|
13205
13205
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
13206
13206
|
shape: z.ZodLiteral<"outline">;
|
|
13207
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
13207
13208
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
13208
13209
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13209
13210
|
outline: z.ZodArray<z.ZodObject<{
|
|
@@ -13235,6 +13236,7 @@ declare const pcb_keepout_outline: z.ZodObject<{
|
|
|
13235
13236
|
stroke_width: number;
|
|
13236
13237
|
pcb_keepout_id: string;
|
|
13237
13238
|
description?: string | undefined;
|
|
13239
|
+
pcb_component_id?: string | undefined;
|
|
13238
13240
|
subcircuit_id?: string | undefined;
|
|
13239
13241
|
pcb_group_id?: string | undefined;
|
|
13240
13242
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -13252,6 +13254,7 @@ declare const pcb_keepout_outline: z.ZodObject<{
|
|
|
13252
13254
|
stroke_width: string | number;
|
|
13253
13255
|
pcb_keepout_id: string;
|
|
13254
13256
|
description?: string | undefined;
|
|
13257
|
+
pcb_component_id?: string | undefined;
|
|
13255
13258
|
subcircuit_id?: string | undefined;
|
|
13256
13259
|
pcb_group_id?: string | undefined;
|
|
13257
13260
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -13263,6 +13266,7 @@ type PcbKeepoutOutlineInput = z.input<typeof pcb_keepout_outline>;
|
|
|
13263
13266
|
declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
13264
13267
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
13265
13268
|
shape: z.ZodLiteral<"rect">;
|
|
13269
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
13266
13270
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
13267
13271
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13268
13272
|
center: z.ZodObject<{
|
|
@@ -13296,6 +13300,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
13296
13300
|
};
|
|
13297
13301
|
pcb_keepout_id: string;
|
|
13298
13302
|
description?: string | undefined;
|
|
13303
|
+
pcb_component_id?: string | undefined;
|
|
13299
13304
|
subcircuit_id?: string | undefined;
|
|
13300
13305
|
pcb_group_id?: string | undefined;
|
|
13301
13306
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -13314,6 +13319,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
13314
13319
|
};
|
|
13315
13320
|
pcb_keepout_id: string;
|
|
13316
13321
|
description?: string | undefined;
|
|
13322
|
+
pcb_component_id?: string | undefined;
|
|
13317
13323
|
subcircuit_id?: string | undefined;
|
|
13318
13324
|
pcb_group_id?: string | undefined;
|
|
13319
13325
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -13323,6 +13329,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
13323
13329
|
}>, z.ZodObject<{
|
|
13324
13330
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
13325
13331
|
shape: z.ZodLiteral<"circle">;
|
|
13332
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
13326
13333
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
13327
13334
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13328
13335
|
center: z.ZodObject<{
|
|
@@ -13354,6 +13361,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
13354
13361
|
};
|
|
13355
13362
|
pcb_keepout_id: string;
|
|
13356
13363
|
description?: string | undefined;
|
|
13364
|
+
pcb_component_id?: string | undefined;
|
|
13357
13365
|
subcircuit_id?: string | undefined;
|
|
13358
13366
|
pcb_group_id?: string | undefined;
|
|
13359
13367
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -13371,6 +13379,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
13371
13379
|
};
|
|
13372
13380
|
pcb_keepout_id: string;
|
|
13373
13381
|
description?: string | undefined;
|
|
13382
|
+
pcb_component_id?: string | undefined;
|
|
13374
13383
|
subcircuit_id?: string | undefined;
|
|
13375
13384
|
pcb_group_id?: string | undefined;
|
|
13376
13385
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -13380,6 +13389,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
13380
13389
|
}>]>, z.ZodObject<{
|
|
13381
13390
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
13382
13391
|
shape: z.ZodLiteral<"outline">;
|
|
13392
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
13383
13393
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
13384
13394
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
13385
13395
|
outline: z.ZodArray<z.ZodObject<{
|
|
@@ -13411,6 +13421,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
13411
13421
|
stroke_width: number;
|
|
13412
13422
|
pcb_keepout_id: string;
|
|
13413
13423
|
description?: string | undefined;
|
|
13424
|
+
pcb_component_id?: string | undefined;
|
|
13414
13425
|
subcircuit_id?: string | undefined;
|
|
13415
13426
|
pcb_group_id?: string | undefined;
|
|
13416
13427
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -13428,6 +13439,7 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
13428
13439
|
stroke_width: string | number;
|
|
13429
13440
|
pcb_keepout_id: string;
|
|
13430
13441
|
description?: string | undefined;
|
|
13442
|
+
pcb_component_id?: string | undefined;
|
|
13431
13443
|
subcircuit_id?: string | undefined;
|
|
13432
13444
|
pcb_group_id?: string | undefined;
|
|
13433
13445
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -13439,6 +13451,7 @@ type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
|
13439
13451
|
interface PCBKeepoutRect {
|
|
13440
13452
|
type: "pcb_keepout";
|
|
13441
13453
|
shape: "rect";
|
|
13454
|
+
pcb_component_id?: string;
|
|
13442
13455
|
pcb_group_id?: string;
|
|
13443
13456
|
subcircuit_id?: string;
|
|
13444
13457
|
center: Point;
|
|
@@ -13463,6 +13476,7 @@ interface PCBKeepoutRect {
|
|
|
13463
13476
|
interface PCBKeepoutCircle {
|
|
13464
13477
|
type: "pcb_keepout";
|
|
13465
13478
|
shape: "circle";
|
|
13479
|
+
pcb_component_id?: string;
|
|
13466
13480
|
pcb_group_id?: string;
|
|
13467
13481
|
subcircuit_id?: string;
|
|
13468
13482
|
center: Point;
|
|
@@ -13486,6 +13500,7 @@ interface PCBKeepoutCircle {
|
|
|
13486
13500
|
interface PcbKeepoutOutline {
|
|
13487
13501
|
type: "pcb_keepout";
|
|
13488
13502
|
shape: "outline";
|
|
13503
|
+
pcb_component_id?: string;
|
|
13489
13504
|
pcb_group_id?: string;
|
|
13490
13505
|
subcircuit_id?: string;
|
|
13491
13506
|
outline: Point[];
|
|
@@ -47990,6 +48005,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
47990
48005
|
}>]>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
47991
48006
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
47992
48007
|
shape: z.ZodLiteral<"rect">;
|
|
48008
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
47993
48009
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
47994
48010
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
47995
48011
|
center: z.ZodObject<{
|
|
@@ -48023,6 +48039,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
48023
48039
|
};
|
|
48024
48040
|
pcb_keepout_id: string;
|
|
48025
48041
|
description?: string | undefined;
|
|
48042
|
+
pcb_component_id?: string | undefined;
|
|
48026
48043
|
subcircuit_id?: string | undefined;
|
|
48027
48044
|
pcb_group_id?: string | undefined;
|
|
48028
48045
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -48041,6 +48058,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
48041
48058
|
};
|
|
48042
48059
|
pcb_keepout_id: string;
|
|
48043
48060
|
description?: string | undefined;
|
|
48061
|
+
pcb_component_id?: string | undefined;
|
|
48044
48062
|
subcircuit_id?: string | undefined;
|
|
48045
48063
|
pcb_group_id?: string | undefined;
|
|
48046
48064
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -48050,6 +48068,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
48050
48068
|
}>, z.ZodObject<{
|
|
48051
48069
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
48052
48070
|
shape: z.ZodLiteral<"circle">;
|
|
48071
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
48053
48072
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
48054
48073
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
48055
48074
|
center: z.ZodObject<{
|
|
@@ -48081,6 +48100,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
48081
48100
|
};
|
|
48082
48101
|
pcb_keepout_id: string;
|
|
48083
48102
|
description?: string | undefined;
|
|
48103
|
+
pcb_component_id?: string | undefined;
|
|
48084
48104
|
subcircuit_id?: string | undefined;
|
|
48085
48105
|
pcb_group_id?: string | undefined;
|
|
48086
48106
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -48098,6 +48118,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
48098
48118
|
};
|
|
48099
48119
|
pcb_keepout_id: string;
|
|
48100
48120
|
description?: string | undefined;
|
|
48121
|
+
pcb_component_id?: string | undefined;
|
|
48101
48122
|
subcircuit_id?: string | undefined;
|
|
48102
48123
|
pcb_group_id?: string | undefined;
|
|
48103
48124
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -48107,6 +48128,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
48107
48128
|
}>]>, z.ZodObject<{
|
|
48108
48129
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
48109
48130
|
shape: z.ZodLiteral<"outline">;
|
|
48131
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
48110
48132
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
48111
48133
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
48112
48134
|
outline: z.ZodArray<z.ZodObject<{
|
|
@@ -48138,6 +48160,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
48138
48160
|
stroke_width: number;
|
|
48139
48161
|
pcb_keepout_id: string;
|
|
48140
48162
|
description?: string | undefined;
|
|
48163
|
+
pcb_component_id?: string | undefined;
|
|
48141
48164
|
subcircuit_id?: string | undefined;
|
|
48142
48165
|
pcb_group_id?: string | undefined;
|
|
48143
48166
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -48155,6 +48178,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
48155
48178
|
stroke_width: string | number;
|
|
48156
48179
|
pcb_keepout_id: string;
|
|
48157
48180
|
description?: string | undefined;
|
|
48181
|
+
pcb_component_id?: string | undefined;
|
|
48158
48182
|
subcircuit_id?: string | undefined;
|
|
48159
48183
|
pcb_group_id?: string | undefined;
|
|
48160
48184
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -71819,6 +71843,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
71819
71843
|
}>]>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
71820
71844
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
71821
71845
|
shape: z.ZodLiteral<"rect">;
|
|
71846
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
71822
71847
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
71823
71848
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
71824
71849
|
center: z.ZodObject<{
|
|
@@ -71852,6 +71877,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
71852
71877
|
};
|
|
71853
71878
|
pcb_keepout_id: string;
|
|
71854
71879
|
description?: string | undefined;
|
|
71880
|
+
pcb_component_id?: string | undefined;
|
|
71855
71881
|
subcircuit_id?: string | undefined;
|
|
71856
71882
|
pcb_group_id?: string | undefined;
|
|
71857
71883
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -71870,6 +71896,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
71870
71896
|
};
|
|
71871
71897
|
pcb_keepout_id: string;
|
|
71872
71898
|
description?: string | undefined;
|
|
71899
|
+
pcb_component_id?: string | undefined;
|
|
71873
71900
|
subcircuit_id?: string | undefined;
|
|
71874
71901
|
pcb_group_id?: string | undefined;
|
|
71875
71902
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -71879,6 +71906,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
71879
71906
|
}>, z.ZodObject<{
|
|
71880
71907
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
71881
71908
|
shape: z.ZodLiteral<"circle">;
|
|
71909
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
71882
71910
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
71883
71911
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
71884
71912
|
center: z.ZodObject<{
|
|
@@ -71910,6 +71938,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
71910
71938
|
};
|
|
71911
71939
|
pcb_keepout_id: string;
|
|
71912
71940
|
description?: string | undefined;
|
|
71941
|
+
pcb_component_id?: string | undefined;
|
|
71913
71942
|
subcircuit_id?: string | undefined;
|
|
71914
71943
|
pcb_group_id?: string | undefined;
|
|
71915
71944
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -71927,6 +71956,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
71927
71956
|
};
|
|
71928
71957
|
pcb_keepout_id: string;
|
|
71929
71958
|
description?: string | undefined;
|
|
71959
|
+
pcb_component_id?: string | undefined;
|
|
71930
71960
|
subcircuit_id?: string | undefined;
|
|
71931
71961
|
pcb_group_id?: string | undefined;
|
|
71932
71962
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -71936,6 +71966,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
71936
71966
|
}>]>, z.ZodObject<{
|
|
71937
71967
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
71938
71968
|
shape: z.ZodLiteral<"outline">;
|
|
71969
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
71939
71970
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
71940
71971
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
71941
71972
|
outline: z.ZodArray<z.ZodObject<{
|
|
@@ -71967,6 +71998,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
71967
71998
|
stroke_width: number;
|
|
71968
71999
|
pcb_keepout_id: string;
|
|
71969
72000
|
description?: string | undefined;
|
|
72001
|
+
pcb_component_id?: string | undefined;
|
|
71970
72002
|
subcircuit_id?: string | undefined;
|
|
71971
72003
|
pcb_group_id?: string | undefined;
|
|
71972
72004
|
excluded_pcb_component_ids?: string[] | undefined;
|
|
@@ -71984,6 +72016,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
71984
72016
|
stroke_width: string | number;
|
|
71985
72017
|
pcb_keepout_id: string;
|
|
71986
72018
|
description?: string | undefined;
|
|
72019
|
+
pcb_component_id?: string | undefined;
|
|
71987
72020
|
subcircuit_id?: string | undefined;
|
|
71988
72021
|
pcb_group_id?: string | undefined;
|
|
71989
72022
|
excluded_pcb_component_ids?: string[] | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -3769,6 +3769,7 @@ import { z as z168 } from "zod";
|
|
|
3769
3769
|
var pcb_keepout_outline = z168.object({
|
|
3770
3770
|
type: z168.literal("pcb_keepout"),
|
|
3771
3771
|
shape: z168.literal("outline"),
|
|
3772
|
+
pcb_component_id: z168.string().optional(),
|
|
3772
3773
|
pcb_group_id: z168.string().optional(),
|
|
3773
3774
|
subcircuit_id: z168.string().optional(),
|
|
3774
3775
|
outline: z168.array(point).min(2),
|
|
@@ -3784,6 +3785,7 @@ var pcb_keepout_outline = z168.object({
|
|
|
3784
3785
|
var pcb_keepout = z168.object({
|
|
3785
3786
|
type: z168.literal("pcb_keepout"),
|
|
3786
3787
|
shape: z168.literal("rect"),
|
|
3788
|
+
pcb_component_id: z168.string().optional(),
|
|
3787
3789
|
pcb_group_id: z168.string().optional(),
|
|
3788
3790
|
subcircuit_id: z168.string().optional(),
|
|
3789
3791
|
center: point,
|
|
@@ -3802,6 +3804,7 @@ var pcb_keepout = z168.object({
|
|
|
3802
3804
|
z168.object({
|
|
3803
3805
|
type: z168.literal("pcb_keepout"),
|
|
3804
3806
|
shape: z168.literal("circle"),
|
|
3807
|
+
pcb_component_id: z168.string().optional(),
|
|
3805
3808
|
pcb_group_id: z168.string().optional(),
|
|
3806
3809
|
subcircuit_id: z168.string().optional(),
|
|
3807
3810
|
center: point,
|