circuit-json 0.0.480 → 0.0.481
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 +1 -0
- package/dist/index.d.mts +52 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -11106,6 +11106,7 @@ type PCBKeepout = PCBKeepoutRect | PCBKeepoutCircle | PcbKeepoutOutline;
|
|
|
11106
11106
|
declare const pcb_cutout_rect: z.ZodObject<{
|
|
11107
11107
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
11108
11108
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11109
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
11109
11110
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11110
11111
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11111
11112
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11137,6 +11138,7 @@ declare const pcb_cutout_rect: z.ZodObject<{
|
|
|
11137
11138
|
};
|
|
11138
11139
|
pcb_cutout_id: string;
|
|
11139
11140
|
rotation?: number | undefined;
|
|
11141
|
+
pcb_component_id?: string | undefined;
|
|
11140
11142
|
subcircuit_id?: string | undefined;
|
|
11141
11143
|
pcb_group_id?: string | undefined;
|
|
11142
11144
|
corner_radius?: number | undefined;
|
|
@@ -11152,6 +11154,7 @@ declare const pcb_cutout_rect: z.ZodObject<{
|
|
|
11152
11154
|
y: string | number;
|
|
11153
11155
|
};
|
|
11154
11156
|
rotation?: string | number | undefined;
|
|
11157
|
+
pcb_component_id?: string | undefined;
|
|
11155
11158
|
subcircuit_id?: string | undefined;
|
|
11156
11159
|
pcb_group_id?: string | undefined;
|
|
11157
11160
|
corner_radius?: string | number | undefined;
|
|
@@ -11166,6 +11169,7 @@ type PcbCutoutRectInput = z.input<typeof pcb_cutout_rect>;
|
|
|
11166
11169
|
interface PcbCutoutRect {
|
|
11167
11170
|
type: "pcb_cutout";
|
|
11168
11171
|
pcb_cutout_id: string;
|
|
11172
|
+
pcb_component_id?: string;
|
|
11169
11173
|
pcb_group_id?: string;
|
|
11170
11174
|
subcircuit_id?: string;
|
|
11171
11175
|
pcb_board_id?: string;
|
|
@@ -11180,6 +11184,7 @@ interface PcbCutoutRect {
|
|
|
11180
11184
|
declare const pcb_cutout_circle: z.ZodObject<{
|
|
11181
11185
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
11182
11186
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11187
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
11183
11188
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11184
11189
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11185
11190
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11206,6 +11211,7 @@ declare const pcb_cutout_circle: z.ZodObject<{
|
|
|
11206
11211
|
};
|
|
11207
11212
|
radius: number;
|
|
11208
11213
|
pcb_cutout_id: string;
|
|
11214
|
+
pcb_component_id?: string | undefined;
|
|
11209
11215
|
subcircuit_id?: string | undefined;
|
|
11210
11216
|
pcb_group_id?: string | undefined;
|
|
11211
11217
|
pcb_board_id?: string | undefined;
|
|
@@ -11218,6 +11224,7 @@ declare const pcb_cutout_circle: z.ZodObject<{
|
|
|
11218
11224
|
y: string | number;
|
|
11219
11225
|
};
|
|
11220
11226
|
radius: string | number;
|
|
11227
|
+
pcb_component_id?: string | undefined;
|
|
11221
11228
|
subcircuit_id?: string | undefined;
|
|
11222
11229
|
pcb_group_id?: string | undefined;
|
|
11223
11230
|
pcb_board_id?: string | undefined;
|
|
@@ -11231,6 +11238,7 @@ type PcbCutoutCircleInput = z.input<typeof pcb_cutout_circle>;
|
|
|
11231
11238
|
interface PcbCutoutCircle {
|
|
11232
11239
|
type: "pcb_cutout";
|
|
11233
11240
|
pcb_cutout_id: string;
|
|
11241
|
+
pcb_component_id?: string;
|
|
11234
11242
|
pcb_group_id?: string;
|
|
11235
11243
|
subcircuit_id?: string;
|
|
11236
11244
|
pcb_board_id?: string;
|
|
@@ -11242,6 +11250,7 @@ interface PcbCutoutCircle {
|
|
|
11242
11250
|
declare const pcb_cutout_polygon: z.ZodObject<{
|
|
11243
11251
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
11244
11252
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11253
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
11245
11254
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11246
11255
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11247
11256
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11266,6 +11275,7 @@ declare const pcb_cutout_polygon: z.ZodObject<{
|
|
|
11266
11275
|
y: number;
|
|
11267
11276
|
}[];
|
|
11268
11277
|
pcb_cutout_id: string;
|
|
11278
|
+
pcb_component_id?: string | undefined;
|
|
11269
11279
|
subcircuit_id?: string | undefined;
|
|
11270
11280
|
pcb_group_id?: string | undefined;
|
|
11271
11281
|
pcb_board_id?: string | undefined;
|
|
@@ -11277,6 +11287,7 @@ declare const pcb_cutout_polygon: z.ZodObject<{
|
|
|
11277
11287
|
x: string | number;
|
|
11278
11288
|
y: string | number;
|
|
11279
11289
|
}[];
|
|
11290
|
+
pcb_component_id?: string | undefined;
|
|
11280
11291
|
subcircuit_id?: string | undefined;
|
|
11281
11292
|
pcb_group_id?: string | undefined;
|
|
11282
11293
|
pcb_board_id?: string | undefined;
|
|
@@ -11291,6 +11302,7 @@ type PcbCutoutPolygonInput = z.input<typeof pcb_cutout_polygon>;
|
|
|
11291
11302
|
interface PcbCutoutPolygon {
|
|
11292
11303
|
type: "pcb_cutout";
|
|
11293
11304
|
pcb_cutout_id: string;
|
|
11305
|
+
pcb_component_id?: string;
|
|
11294
11306
|
pcb_group_id?: string;
|
|
11295
11307
|
subcircuit_id?: string;
|
|
11296
11308
|
pcb_board_id?: string;
|
|
@@ -11301,6 +11313,7 @@ interface PcbCutoutPolygon {
|
|
|
11301
11313
|
declare const pcb_cutout_path: z.ZodObject<{
|
|
11302
11314
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
11303
11315
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11316
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
11304
11317
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11305
11318
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11306
11319
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11330,6 +11343,7 @@ declare const pcb_cutout_path: z.ZodObject<{
|
|
|
11330
11343
|
}[];
|
|
11331
11344
|
pcb_cutout_id: string;
|
|
11332
11345
|
slot_width: number;
|
|
11346
|
+
pcb_component_id?: string | undefined;
|
|
11333
11347
|
subcircuit_id?: string | undefined;
|
|
11334
11348
|
pcb_group_id?: string | undefined;
|
|
11335
11349
|
pcb_board_id?: string | undefined;
|
|
@@ -11345,6 +11359,7 @@ declare const pcb_cutout_path: z.ZodObject<{
|
|
|
11345
11359
|
y: string | number;
|
|
11346
11360
|
}[];
|
|
11347
11361
|
slot_width: string | number;
|
|
11362
|
+
pcb_component_id?: string | undefined;
|
|
11348
11363
|
subcircuit_id?: string | undefined;
|
|
11349
11364
|
pcb_group_id?: string | undefined;
|
|
11350
11365
|
pcb_board_id?: string | undefined;
|
|
@@ -11364,6 +11379,7 @@ type PcbCutoutPathInput = z.input<typeof pcb_cutout_path>;
|
|
|
11364
11379
|
interface PcbCutoutPath {
|
|
11365
11380
|
type: "pcb_cutout";
|
|
11366
11381
|
pcb_cutout_id: string;
|
|
11382
|
+
pcb_component_id?: string;
|
|
11367
11383
|
pcb_group_id?: string;
|
|
11368
11384
|
subcircuit_id?: string;
|
|
11369
11385
|
pcb_board_id?: string;
|
|
@@ -11378,6 +11394,7 @@ interface PcbCutoutPath {
|
|
|
11378
11394
|
declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
11379
11395
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
11380
11396
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11397
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
11381
11398
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11382
11399
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11383
11400
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11409,6 +11426,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11409
11426
|
};
|
|
11410
11427
|
pcb_cutout_id: string;
|
|
11411
11428
|
rotation?: number | undefined;
|
|
11429
|
+
pcb_component_id?: string | undefined;
|
|
11412
11430
|
subcircuit_id?: string | undefined;
|
|
11413
11431
|
pcb_group_id?: string | undefined;
|
|
11414
11432
|
corner_radius?: number | undefined;
|
|
@@ -11424,6 +11442,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11424
11442
|
y: string | number;
|
|
11425
11443
|
};
|
|
11426
11444
|
rotation?: string | number | undefined;
|
|
11445
|
+
pcb_component_id?: string | undefined;
|
|
11427
11446
|
subcircuit_id?: string | undefined;
|
|
11428
11447
|
pcb_group_id?: string | undefined;
|
|
11429
11448
|
corner_radius?: string | number | undefined;
|
|
@@ -11433,6 +11452,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11433
11452
|
}>, z.ZodObject<{
|
|
11434
11453
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
11435
11454
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11455
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
11436
11456
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11437
11457
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11438
11458
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11459,6 +11479,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11459
11479
|
};
|
|
11460
11480
|
radius: number;
|
|
11461
11481
|
pcb_cutout_id: string;
|
|
11482
|
+
pcb_component_id?: string | undefined;
|
|
11462
11483
|
subcircuit_id?: string | undefined;
|
|
11463
11484
|
pcb_group_id?: string | undefined;
|
|
11464
11485
|
pcb_board_id?: string | undefined;
|
|
@@ -11471,6 +11492,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11471
11492
|
y: string | number;
|
|
11472
11493
|
};
|
|
11473
11494
|
radius: string | number;
|
|
11495
|
+
pcb_component_id?: string | undefined;
|
|
11474
11496
|
subcircuit_id?: string | undefined;
|
|
11475
11497
|
pcb_group_id?: string | undefined;
|
|
11476
11498
|
pcb_board_id?: string | undefined;
|
|
@@ -11479,6 +11501,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11479
11501
|
}>, z.ZodObject<{
|
|
11480
11502
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
11481
11503
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11504
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
11482
11505
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11483
11506
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11484
11507
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11503,6 +11526,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11503
11526
|
y: number;
|
|
11504
11527
|
}[];
|
|
11505
11528
|
pcb_cutout_id: string;
|
|
11529
|
+
pcb_component_id?: string | undefined;
|
|
11506
11530
|
subcircuit_id?: string | undefined;
|
|
11507
11531
|
pcb_group_id?: string | undefined;
|
|
11508
11532
|
pcb_board_id?: string | undefined;
|
|
@@ -11514,6 +11538,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11514
11538
|
x: string | number;
|
|
11515
11539
|
y: string | number;
|
|
11516
11540
|
}[];
|
|
11541
|
+
pcb_component_id?: string | undefined;
|
|
11517
11542
|
subcircuit_id?: string | undefined;
|
|
11518
11543
|
pcb_group_id?: string | undefined;
|
|
11519
11544
|
pcb_board_id?: string | undefined;
|
|
@@ -11522,6 +11547,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11522
11547
|
}>, z.ZodObject<{
|
|
11523
11548
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
11524
11549
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11550
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
11525
11551
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11526
11552
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11527
11553
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -11551,6 +11577,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11551
11577
|
}[];
|
|
11552
11578
|
pcb_cutout_id: string;
|
|
11553
11579
|
slot_width: number;
|
|
11580
|
+
pcb_component_id?: string | undefined;
|
|
11554
11581
|
subcircuit_id?: string | undefined;
|
|
11555
11582
|
pcb_group_id?: string | undefined;
|
|
11556
11583
|
pcb_board_id?: string | undefined;
|
|
@@ -11566,6 +11593,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
11566
11593
|
y: string | number;
|
|
11567
11594
|
}[];
|
|
11568
11595
|
slot_width: string | number;
|
|
11596
|
+
pcb_component_id?: string | undefined;
|
|
11569
11597
|
subcircuit_id?: string | undefined;
|
|
11570
11598
|
pcb_group_id?: string | undefined;
|
|
11571
11599
|
pcb_board_id?: string | undefined;
|
|
@@ -46061,6 +46089,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46061
46089
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
46062
46090
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
46063
46091
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
46092
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
46064
46093
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
46065
46094
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
46066
46095
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -46092,6 +46121,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46092
46121
|
};
|
|
46093
46122
|
pcb_cutout_id: string;
|
|
46094
46123
|
rotation?: number | undefined;
|
|
46124
|
+
pcb_component_id?: string | undefined;
|
|
46095
46125
|
subcircuit_id?: string | undefined;
|
|
46096
46126
|
pcb_group_id?: string | undefined;
|
|
46097
46127
|
corner_radius?: number | undefined;
|
|
@@ -46107,6 +46137,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46107
46137
|
y: string | number;
|
|
46108
46138
|
};
|
|
46109
46139
|
rotation?: string | number | undefined;
|
|
46140
|
+
pcb_component_id?: string | undefined;
|
|
46110
46141
|
subcircuit_id?: string | undefined;
|
|
46111
46142
|
pcb_group_id?: string | undefined;
|
|
46112
46143
|
corner_radius?: string | number | undefined;
|
|
@@ -46116,6 +46147,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46116
46147
|
}>, z.ZodObject<{
|
|
46117
46148
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
46118
46149
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
46150
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
46119
46151
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
46120
46152
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
46121
46153
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -46142,6 +46174,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46142
46174
|
};
|
|
46143
46175
|
radius: number;
|
|
46144
46176
|
pcb_cutout_id: string;
|
|
46177
|
+
pcb_component_id?: string | undefined;
|
|
46145
46178
|
subcircuit_id?: string | undefined;
|
|
46146
46179
|
pcb_group_id?: string | undefined;
|
|
46147
46180
|
pcb_board_id?: string | undefined;
|
|
@@ -46154,6 +46187,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46154
46187
|
y: string | number;
|
|
46155
46188
|
};
|
|
46156
46189
|
radius: string | number;
|
|
46190
|
+
pcb_component_id?: string | undefined;
|
|
46157
46191
|
subcircuit_id?: string | undefined;
|
|
46158
46192
|
pcb_group_id?: string | undefined;
|
|
46159
46193
|
pcb_board_id?: string | undefined;
|
|
@@ -46162,6 +46196,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46162
46196
|
}>, z.ZodObject<{
|
|
46163
46197
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
46164
46198
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
46199
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
46165
46200
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
46166
46201
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
46167
46202
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -46186,6 +46221,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46186
46221
|
y: number;
|
|
46187
46222
|
}[];
|
|
46188
46223
|
pcb_cutout_id: string;
|
|
46224
|
+
pcb_component_id?: string | undefined;
|
|
46189
46225
|
subcircuit_id?: string | undefined;
|
|
46190
46226
|
pcb_group_id?: string | undefined;
|
|
46191
46227
|
pcb_board_id?: string | undefined;
|
|
@@ -46197,6 +46233,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46197
46233
|
x: string | number;
|
|
46198
46234
|
y: string | number;
|
|
46199
46235
|
}[];
|
|
46236
|
+
pcb_component_id?: string | undefined;
|
|
46200
46237
|
subcircuit_id?: string | undefined;
|
|
46201
46238
|
pcb_group_id?: string | undefined;
|
|
46202
46239
|
pcb_board_id?: string | undefined;
|
|
@@ -46205,6 +46242,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46205
46242
|
}>, z.ZodObject<{
|
|
46206
46243
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
46207
46244
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
46245
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
46208
46246
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
46209
46247
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
46210
46248
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -46234,6 +46272,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46234
46272
|
}[];
|
|
46235
46273
|
pcb_cutout_id: string;
|
|
46236
46274
|
slot_width: number;
|
|
46275
|
+
pcb_component_id?: string | undefined;
|
|
46237
46276
|
subcircuit_id?: string | undefined;
|
|
46238
46277
|
pcb_group_id?: string | undefined;
|
|
46239
46278
|
pcb_board_id?: string | undefined;
|
|
@@ -46249,6 +46288,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46249
46288
|
y: string | number;
|
|
46250
46289
|
}[];
|
|
46251
46290
|
slot_width: string | number;
|
|
46291
|
+
pcb_component_id?: string | undefined;
|
|
46252
46292
|
subcircuit_id?: string | undefined;
|
|
46253
46293
|
pcb_group_id?: string | undefined;
|
|
46254
46294
|
pcb_board_id?: string | undefined;
|
|
@@ -66448,6 +66488,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66448
66488
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
66449
66489
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
66450
66490
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
66491
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
66451
66492
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
66452
66493
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
66453
66494
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -66479,6 +66520,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66479
66520
|
};
|
|
66480
66521
|
pcb_cutout_id: string;
|
|
66481
66522
|
rotation?: number | undefined;
|
|
66523
|
+
pcb_component_id?: string | undefined;
|
|
66482
66524
|
subcircuit_id?: string | undefined;
|
|
66483
66525
|
pcb_group_id?: string | undefined;
|
|
66484
66526
|
corner_radius?: number | undefined;
|
|
@@ -66494,6 +66536,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66494
66536
|
y: string | number;
|
|
66495
66537
|
};
|
|
66496
66538
|
rotation?: string | number | undefined;
|
|
66539
|
+
pcb_component_id?: string | undefined;
|
|
66497
66540
|
subcircuit_id?: string | undefined;
|
|
66498
66541
|
pcb_group_id?: string | undefined;
|
|
66499
66542
|
corner_radius?: string | number | undefined;
|
|
@@ -66503,6 +66546,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66503
66546
|
}>, z.ZodObject<{
|
|
66504
66547
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
66505
66548
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
66549
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
66506
66550
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
66507
66551
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
66508
66552
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -66529,6 +66573,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66529
66573
|
};
|
|
66530
66574
|
radius: number;
|
|
66531
66575
|
pcb_cutout_id: string;
|
|
66576
|
+
pcb_component_id?: string | undefined;
|
|
66532
66577
|
subcircuit_id?: string | undefined;
|
|
66533
66578
|
pcb_group_id?: string | undefined;
|
|
66534
66579
|
pcb_board_id?: string | undefined;
|
|
@@ -66541,6 +66586,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66541
66586
|
y: string | number;
|
|
66542
66587
|
};
|
|
66543
66588
|
radius: string | number;
|
|
66589
|
+
pcb_component_id?: string | undefined;
|
|
66544
66590
|
subcircuit_id?: string | undefined;
|
|
66545
66591
|
pcb_group_id?: string | undefined;
|
|
66546
66592
|
pcb_board_id?: string | undefined;
|
|
@@ -66549,6 +66595,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66549
66595
|
}>, z.ZodObject<{
|
|
66550
66596
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
66551
66597
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
66598
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
66552
66599
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
66553
66600
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
66554
66601
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -66573,6 +66620,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66573
66620
|
y: number;
|
|
66574
66621
|
}[];
|
|
66575
66622
|
pcb_cutout_id: string;
|
|
66623
|
+
pcb_component_id?: string | undefined;
|
|
66576
66624
|
subcircuit_id?: string | undefined;
|
|
66577
66625
|
pcb_group_id?: string | undefined;
|
|
66578
66626
|
pcb_board_id?: string | undefined;
|
|
@@ -66584,6 +66632,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66584
66632
|
x: string | number;
|
|
66585
66633
|
y: string | number;
|
|
66586
66634
|
}[];
|
|
66635
|
+
pcb_component_id?: string | undefined;
|
|
66587
66636
|
subcircuit_id?: string | undefined;
|
|
66588
66637
|
pcb_group_id?: string | undefined;
|
|
66589
66638
|
pcb_board_id?: string | undefined;
|
|
@@ -66592,6 +66641,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66592
66641
|
}>, z.ZodObject<{
|
|
66593
66642
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
66594
66643
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
66644
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
66595
66645
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
66596
66646
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
66597
66647
|
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
@@ -66621,6 +66671,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66621
66671
|
}[];
|
|
66622
66672
|
pcb_cutout_id: string;
|
|
66623
66673
|
slot_width: number;
|
|
66674
|
+
pcb_component_id?: string | undefined;
|
|
66624
66675
|
subcircuit_id?: string | undefined;
|
|
66625
66676
|
pcb_group_id?: string | undefined;
|
|
66626
66677
|
pcb_board_id?: string | undefined;
|
|
@@ -66636,6 +66687,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66636
66687
|
y: string | number;
|
|
66637
66688
|
}[];
|
|
66638
66689
|
slot_width: string | number;
|
|
66690
|
+
pcb_component_id?: string | undefined;
|
|
66639
66691
|
subcircuit_id?: string | undefined;
|
|
66640
66692
|
pcb_group_id?: string | undefined;
|
|
66641
66693
|
pcb_board_id?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -3228,6 +3228,7 @@ import { z as z149 } from "zod";
|
|
|
3228
3228
|
var pcb_cutout_base = z149.object({
|
|
3229
3229
|
type: z149.literal("pcb_cutout"),
|
|
3230
3230
|
pcb_cutout_id: getZodPrefixedIdWithDefault("pcb_cutout"),
|
|
3231
|
+
pcb_component_id: z149.string().optional(),
|
|
3231
3232
|
pcb_group_id: z149.string().optional(),
|
|
3232
3233
|
subcircuit_id: z149.string().optional(),
|
|
3233
3234
|
pcb_board_id: z149.string().optional(),
|