circuit-json 0.0.180 → 0.0.181
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 -0
- package/dist/index.d.mts +359 -13
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -304,7 +304,8 @@ var source_component_base = z7.object({
|
|
|
304
304
|
supplier_part_numbers: z7.record(supplier_name, z7.array(z7.string())).optional(),
|
|
305
305
|
display_value: z7.string().optional(),
|
|
306
306
|
are_pins_interchangeable: z7.boolean().optional(),
|
|
307
|
-
internally_connected_source_port_ids: z7.array(z7.array(z7.string())).optional()
|
|
307
|
+
internally_connected_source_port_ids: z7.array(z7.array(z7.string())).optional(),
|
|
308
|
+
source_group_id: z7.string().optional()
|
|
308
309
|
});
|
|
309
310
|
expectTypesMatch(true);
|
|
310
311
|
|
|
@@ -657,7 +658,9 @@ var schematic_component = z36.object({
|
|
|
657
658
|
symbol_name: z36.string().optional(),
|
|
658
659
|
port_arrangement: port_arrangement.optional(),
|
|
659
660
|
port_labels: z36.record(z36.string()).optional(),
|
|
660
|
-
symbol_display_value: z36.string().optional()
|
|
661
|
+
symbol_display_value: z36.string().optional(),
|
|
662
|
+
subcircuit_id: z36.string().optional(),
|
|
663
|
+
schematic_group_id: z36.string().optional()
|
|
661
664
|
});
|
|
662
665
|
expectTypesMatch(true);
|
|
663
666
|
|
|
@@ -915,7 +918,8 @@ var pcb_component = z52.object({
|
|
|
915
918
|
rotation,
|
|
916
919
|
width: length,
|
|
917
920
|
height: length,
|
|
918
|
-
subcircuit_id: z52.string().optional()
|
|
921
|
+
subcircuit_id: z52.string().optional(),
|
|
922
|
+
pcb_group_id: z52.string().optional()
|
|
919
923
|
}).describe("Defines a component on the PCB");
|
|
920
924
|
expectTypesMatch(true);
|
|
921
925
|
|