circuit-json 0.0.285 → 0.0.286
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 +2 -2
- package/dist/index.d.mts +20 -20
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1210,8 +1210,8 @@ interface PcbGroup {
|
|
|
1210
1210
|
source_group_id: string
|
|
1211
1211
|
is_subcircuit?: boolean
|
|
1212
1212
|
subcircuit_id?: string
|
|
1213
|
-
width
|
|
1214
|
-
height
|
|
1213
|
+
width?: Length
|
|
1214
|
+
height?: Length
|
|
1215
1215
|
center: Point
|
|
1216
1216
|
outline?: Point[]
|
|
1217
1217
|
anchor_position?: Point
|
package/dist/index.d.mts
CHANGED
|
@@ -5032,8 +5032,8 @@ declare const pcb_group: z.ZodObject<{
|
|
|
5032
5032
|
source_group_id: z.ZodString;
|
|
5033
5033
|
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
5034
5034
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5035
|
-
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number
|
|
5036
|
-
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number
|
|
5035
|
+
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5036
|
+
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5037
5037
|
center: z.ZodObject<{
|
|
5038
5038
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5039
5039
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -5079,8 +5079,6 @@ declare const pcb_group: z.ZodObject<{
|
|
|
5079
5079
|
autorouter_used_string: z.ZodOptional<z.ZodString>;
|
|
5080
5080
|
}, "strip", z.ZodTypeAny, {
|
|
5081
5081
|
type: "pcb_group";
|
|
5082
|
-
width: number;
|
|
5083
|
-
height: number;
|
|
5084
5082
|
center: {
|
|
5085
5083
|
x: number;
|
|
5086
5084
|
y: number;
|
|
@@ -5089,6 +5087,8 @@ declare const pcb_group: z.ZodObject<{
|
|
|
5089
5087
|
pcb_component_ids: string[];
|
|
5090
5088
|
source_group_id: string;
|
|
5091
5089
|
description?: string | undefined;
|
|
5090
|
+
width?: number | undefined;
|
|
5091
|
+
height?: number | undefined;
|
|
5092
5092
|
name?: string | undefined;
|
|
5093
5093
|
subcircuit_id?: string | undefined;
|
|
5094
5094
|
is_subcircuit?: boolean | undefined;
|
|
@@ -5108,8 +5108,6 @@ declare const pcb_group: z.ZodObject<{
|
|
|
5108
5108
|
autorouter_used_string?: string | undefined;
|
|
5109
5109
|
}, {
|
|
5110
5110
|
type: "pcb_group";
|
|
5111
|
-
width: string | number;
|
|
5112
|
-
height: string | number;
|
|
5113
5111
|
center: {
|
|
5114
5112
|
x: string | number;
|
|
5115
5113
|
y: string | number;
|
|
@@ -5117,6 +5115,8 @@ declare const pcb_group: z.ZodObject<{
|
|
|
5117
5115
|
pcb_component_ids: string[];
|
|
5118
5116
|
source_group_id: string;
|
|
5119
5117
|
description?: string | undefined;
|
|
5118
|
+
width?: string | number | undefined;
|
|
5119
|
+
height?: string | number | undefined;
|
|
5120
5120
|
name?: string | undefined;
|
|
5121
5121
|
subcircuit_id?: string | undefined;
|
|
5122
5122
|
pcb_group_id?: string | undefined;
|
|
@@ -5146,8 +5146,8 @@ interface PcbGroup {
|
|
|
5146
5146
|
source_group_id: string;
|
|
5147
5147
|
is_subcircuit?: boolean;
|
|
5148
5148
|
subcircuit_id?: string;
|
|
5149
|
-
width
|
|
5150
|
-
height
|
|
5149
|
+
width?: Length;
|
|
5150
|
+
height?: Length;
|
|
5151
5151
|
center: Point;
|
|
5152
5152
|
outline?: Point[];
|
|
5153
5153
|
anchor_position?: Point;
|
|
@@ -15168,8 +15168,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15168
15168
|
source_group_id: z.ZodString;
|
|
15169
15169
|
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
15170
15170
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15171
|
-
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number
|
|
15172
|
-
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number
|
|
15171
|
+
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15172
|
+
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15173
15173
|
center: z.ZodObject<{
|
|
15174
15174
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15175
15175
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15215,8 +15215,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15215
15215
|
autorouter_used_string: z.ZodOptional<z.ZodString>;
|
|
15216
15216
|
}, "strip", z.ZodTypeAny, {
|
|
15217
15217
|
type: "pcb_group";
|
|
15218
|
-
width: number;
|
|
15219
|
-
height: number;
|
|
15220
15218
|
center: {
|
|
15221
15219
|
x: number;
|
|
15222
15220
|
y: number;
|
|
@@ -15225,6 +15223,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15225
15223
|
pcb_component_ids: string[];
|
|
15226
15224
|
source_group_id: string;
|
|
15227
15225
|
description?: string | undefined;
|
|
15226
|
+
width?: number | undefined;
|
|
15227
|
+
height?: number | undefined;
|
|
15228
15228
|
name?: string | undefined;
|
|
15229
15229
|
subcircuit_id?: string | undefined;
|
|
15230
15230
|
is_subcircuit?: boolean | undefined;
|
|
@@ -15244,8 +15244,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15244
15244
|
autorouter_used_string?: string | undefined;
|
|
15245
15245
|
}, {
|
|
15246
15246
|
type: "pcb_group";
|
|
15247
|
-
width: string | number;
|
|
15248
|
-
height: string | number;
|
|
15249
15247
|
center: {
|
|
15250
15248
|
x: string | number;
|
|
15251
15249
|
y: string | number;
|
|
@@ -15253,6 +15251,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15253
15251
|
pcb_component_ids: string[];
|
|
15254
15252
|
source_group_id: string;
|
|
15255
15253
|
description?: string | undefined;
|
|
15254
|
+
width?: string | number | undefined;
|
|
15255
|
+
height?: string | number | undefined;
|
|
15256
15256
|
name?: string | undefined;
|
|
15257
15257
|
subcircuit_id?: string | undefined;
|
|
15258
15258
|
pcb_group_id?: string | undefined;
|
|
@@ -22397,8 +22397,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22397
22397
|
source_group_id: z.ZodString;
|
|
22398
22398
|
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
22399
22399
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22400
|
-
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number
|
|
22401
|
-
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number
|
|
22400
|
+
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22401
|
+
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22402
22402
|
center: z.ZodObject<{
|
|
22403
22403
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22404
22404
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -22444,8 +22444,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22444
22444
|
autorouter_used_string: z.ZodOptional<z.ZodString>;
|
|
22445
22445
|
}, "strip", z.ZodTypeAny, {
|
|
22446
22446
|
type: "pcb_group";
|
|
22447
|
-
width: number;
|
|
22448
|
-
height: number;
|
|
22449
22447
|
center: {
|
|
22450
22448
|
x: number;
|
|
22451
22449
|
y: number;
|
|
@@ -22454,6 +22452,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22454
22452
|
pcb_component_ids: string[];
|
|
22455
22453
|
source_group_id: string;
|
|
22456
22454
|
description?: string | undefined;
|
|
22455
|
+
width?: number | undefined;
|
|
22456
|
+
height?: number | undefined;
|
|
22457
22457
|
name?: string | undefined;
|
|
22458
22458
|
subcircuit_id?: string | undefined;
|
|
22459
22459
|
is_subcircuit?: boolean | undefined;
|
|
@@ -22473,8 +22473,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22473
22473
|
autorouter_used_string?: string | undefined;
|
|
22474
22474
|
}, {
|
|
22475
22475
|
type: "pcb_group";
|
|
22476
|
-
width: string | number;
|
|
22477
|
-
height: string | number;
|
|
22478
22476
|
center: {
|
|
22479
22477
|
x: string | number;
|
|
22480
22478
|
y: string | number;
|
|
@@ -22482,6 +22480,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22482
22480
|
pcb_component_ids: string[];
|
|
22483
22481
|
source_group_id: string;
|
|
22484
22482
|
description?: string | undefined;
|
|
22483
|
+
width?: string | number | undefined;
|
|
22484
|
+
height?: string | number | undefined;
|
|
22485
22485
|
name?: string | undefined;
|
|
22486
22486
|
subcircuit_id?: string | undefined;
|
|
22487
22487
|
pcb_group_id?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -2279,8 +2279,8 @@ var pcb_group = z106.object({
|
|
|
2279
2279
|
source_group_id: z106.string(),
|
|
2280
2280
|
is_subcircuit: z106.boolean().optional(),
|
|
2281
2281
|
subcircuit_id: z106.string().optional(),
|
|
2282
|
-
width: length,
|
|
2283
|
-
height: length,
|
|
2282
|
+
width: length.optional(),
|
|
2283
|
+
height: length.optional(),
|
|
2284
2284
|
center: point,
|
|
2285
2285
|
outline: z106.array(point).optional(),
|
|
2286
2286
|
anchor_position: point.optional(),
|