circuit-json 0.0.260 → 0.0.261
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 +10 -0
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -5401,6 +5401,7 @@ interface SchematicComponent {
|
|
|
5401
5401
|
schematic_group_id?: string;
|
|
5402
5402
|
is_schematic_group?: boolean;
|
|
5403
5403
|
source_group_id?: string;
|
|
5404
|
+
is_box_with_pins: boolean;
|
|
5404
5405
|
}
|
|
5405
5406
|
declare const schematic_component_port_arrangement_by_size: z.ZodObject<{
|
|
5406
5407
|
left_size: z.ZodNumber;
|
|
@@ -5725,6 +5726,7 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5725
5726
|
schematic_group_id: z.ZodOptional<z.ZodString>;
|
|
5726
5727
|
is_schematic_group: z.ZodOptional<z.ZodBoolean>;
|
|
5727
5728
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5729
|
+
is_box_with_pins: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5728
5730
|
}, "strip", z.ZodTypeAny, {
|
|
5729
5731
|
type: "schematic_component";
|
|
5730
5732
|
center: {
|
|
@@ -5736,6 +5738,7 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5736
5738
|
width: number;
|
|
5737
5739
|
height: number;
|
|
5738
5740
|
};
|
|
5741
|
+
is_box_with_pins: boolean;
|
|
5739
5742
|
source_component_id?: string | undefined;
|
|
5740
5743
|
subcircuit_id?: string | undefined;
|
|
5741
5744
|
source_group_id?: string | undefined;
|
|
@@ -5825,6 +5828,7 @@ declare const schematic_component: z.ZodObject<{
|
|
|
5825
5828
|
symbol_display_value?: string | undefined;
|
|
5826
5829
|
schematic_group_id?: string | undefined;
|
|
5827
5830
|
is_schematic_group?: boolean | undefined;
|
|
5831
|
+
is_box_with_pins?: boolean | undefined;
|
|
5828
5832
|
}>;
|
|
5829
5833
|
type SchematicComponentInput = z.input<typeof schematic_component>;
|
|
5830
5834
|
|
|
@@ -15482,6 +15486,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15482
15486
|
schematic_group_id: z.ZodOptional<z.ZodString>;
|
|
15483
15487
|
is_schematic_group: z.ZodOptional<z.ZodBoolean>;
|
|
15484
15488
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
15489
|
+
is_box_with_pins: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
15485
15490
|
}, "strip", z.ZodTypeAny, {
|
|
15486
15491
|
type: "schematic_component";
|
|
15487
15492
|
center: {
|
|
@@ -15493,6 +15498,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15493
15498
|
width: number;
|
|
15494
15499
|
height: number;
|
|
15495
15500
|
};
|
|
15501
|
+
is_box_with_pins: boolean;
|
|
15496
15502
|
source_component_id?: string | undefined;
|
|
15497
15503
|
subcircuit_id?: string | undefined;
|
|
15498
15504
|
source_group_id?: string | undefined;
|
|
@@ -15582,6 +15588,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15582
15588
|
symbol_display_value?: string | undefined;
|
|
15583
15589
|
schematic_group_id?: string | undefined;
|
|
15584
15590
|
is_schematic_group?: boolean | undefined;
|
|
15591
|
+
is_box_with_pins?: boolean | undefined;
|
|
15585
15592
|
}>, z.ZodObject<{
|
|
15586
15593
|
type: z.ZodLiteral<"schematic_port">;
|
|
15587
15594
|
schematic_port_id: z.ZodString;
|
|
@@ -21850,6 +21857,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21850
21857
|
schematic_group_id: z.ZodOptional<z.ZodString>;
|
|
21851
21858
|
is_schematic_group: z.ZodOptional<z.ZodBoolean>;
|
|
21852
21859
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
21860
|
+
is_box_with_pins: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
21853
21861
|
}, "strip", z.ZodTypeAny, {
|
|
21854
21862
|
type: "schematic_component";
|
|
21855
21863
|
center: {
|
|
@@ -21861,6 +21869,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21861
21869
|
width: number;
|
|
21862
21870
|
height: number;
|
|
21863
21871
|
};
|
|
21872
|
+
is_box_with_pins: boolean;
|
|
21864
21873
|
source_component_id?: string | undefined;
|
|
21865
21874
|
subcircuit_id?: string | undefined;
|
|
21866
21875
|
source_group_id?: string | undefined;
|
|
@@ -21950,6 +21959,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21950
21959
|
symbol_display_value?: string | undefined;
|
|
21951
21960
|
schematic_group_id?: string | undefined;
|
|
21952
21961
|
is_schematic_group?: boolean | undefined;
|
|
21962
|
+
is_box_with_pins?: boolean | undefined;
|
|
21953
21963
|
}>, z.ZodObject<{
|
|
21954
21964
|
type: z.ZodLiteral<"schematic_port">;
|
|
21955
21965
|
schematic_port_id: z.ZodString;
|
package/dist/index.mjs
CHANGED
|
@@ -840,7 +840,8 @@ var schematic_component = z45.object({
|
|
|
840
840
|
subcircuit_id: z45.string().optional(),
|
|
841
841
|
schematic_group_id: z45.string().optional(),
|
|
842
842
|
is_schematic_group: z45.boolean().optional(),
|
|
843
|
-
source_group_id: z45.string().optional()
|
|
843
|
+
source_group_id: z45.string().optional(),
|
|
844
|
+
is_box_with_pins: z45.boolean().optional().default(true)
|
|
844
845
|
});
|
|
845
846
|
expectTypesMatch(true);
|
|
846
847
|
|