circuit-json 0.0.213 → 0.0.214
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 +214 -82
- 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/dist/index.d.mts
CHANGED
|
@@ -4671,6 +4671,7 @@ interface SchematicPort {
|
|
|
4671
4671
|
pin_number?: number;
|
|
4672
4672
|
display_pin_label?: string;
|
|
4673
4673
|
subcircuit_id?: string;
|
|
4674
|
+
is_connected?: boolean;
|
|
4674
4675
|
}
|
|
4675
4676
|
declare const schematic_port: z.ZodObject<{
|
|
4676
4677
|
type: z.ZodLiteral<"schematic_port">;
|
|
@@ -4694,6 +4695,7 @@ declare const schematic_port: z.ZodObject<{
|
|
|
4694
4695
|
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
4695
4696
|
display_pin_label: z.ZodOptional<z.ZodString>;
|
|
4696
4697
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4698
|
+
is_connected: z.ZodOptional<z.ZodBoolean>;
|
|
4697
4699
|
}, "strip", z.ZodTypeAny, {
|
|
4698
4700
|
type: "schematic_port";
|
|
4699
4701
|
center: {
|
|
@@ -4710,6 +4712,7 @@ declare const schematic_port: z.ZodObject<{
|
|
|
4710
4712
|
true_ccw_index?: number | undefined;
|
|
4711
4713
|
pin_number?: number | undefined;
|
|
4712
4714
|
display_pin_label?: string | undefined;
|
|
4715
|
+
is_connected?: boolean | undefined;
|
|
4713
4716
|
}, {
|
|
4714
4717
|
type: "schematic_port";
|
|
4715
4718
|
center: {
|
|
@@ -4726,6 +4729,7 @@ declare const schematic_port: z.ZodObject<{
|
|
|
4726
4729
|
true_ccw_index?: number | undefined;
|
|
4727
4730
|
pin_number?: number | undefined;
|
|
4728
4731
|
display_pin_label?: string | undefined;
|
|
4732
|
+
is_connected?: boolean | undefined;
|
|
4729
4733
|
}>;
|
|
4730
4734
|
type SchematicPortInput = z.input<typeof schematic_port>;
|
|
4731
4735
|
|
|
@@ -12091,6 +12095,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12091
12095
|
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
12092
12096
|
display_pin_label: z.ZodOptional<z.ZodString>;
|
|
12093
12097
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
12098
|
+
is_connected: z.ZodOptional<z.ZodBoolean>;
|
|
12094
12099
|
}, "strip", z.ZodTypeAny, {
|
|
12095
12100
|
type: "schematic_port";
|
|
12096
12101
|
center: {
|
|
@@ -12107,6 +12112,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12107
12112
|
true_ccw_index?: number | undefined;
|
|
12108
12113
|
pin_number?: number | undefined;
|
|
12109
12114
|
display_pin_label?: string | undefined;
|
|
12115
|
+
is_connected?: boolean | undefined;
|
|
12110
12116
|
}, {
|
|
12111
12117
|
type: "schematic_port";
|
|
12112
12118
|
center: {
|
|
@@ -12123,6 +12129,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12123
12129
|
true_ccw_index?: number | undefined;
|
|
12124
12130
|
pin_number?: number | undefined;
|
|
12125
12131
|
display_pin_label?: string | undefined;
|
|
12132
|
+
is_connected?: boolean | undefined;
|
|
12126
12133
|
}>, z.ZodObject<{
|
|
12127
12134
|
type: z.ZodLiteral<"schematic_trace">;
|
|
12128
12135
|
schematic_trace_id: z.ZodString;
|
|
@@ -17083,6 +17090,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17083
17090
|
pin_number: z.ZodOptional<z.ZodNumber>;
|
|
17084
17091
|
display_pin_label: z.ZodOptional<z.ZodString>;
|
|
17085
17092
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
17093
|
+
is_connected: z.ZodOptional<z.ZodBoolean>;
|
|
17086
17094
|
}, "strip", z.ZodTypeAny, {
|
|
17087
17095
|
type: "schematic_port";
|
|
17088
17096
|
center: {
|
|
@@ -17099,6 +17107,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17099
17107
|
true_ccw_index?: number | undefined;
|
|
17100
17108
|
pin_number?: number | undefined;
|
|
17101
17109
|
display_pin_label?: string | undefined;
|
|
17110
|
+
is_connected?: boolean | undefined;
|
|
17102
17111
|
}, {
|
|
17103
17112
|
type: "schematic_port";
|
|
17104
17113
|
center: {
|
|
@@ -17115,6 +17124,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17115
17124
|
true_ccw_index?: number | undefined;
|
|
17116
17125
|
pin_number?: number | undefined;
|
|
17117
17126
|
display_pin_label?: string | undefined;
|
|
17127
|
+
is_connected?: boolean | undefined;
|
|
17118
17128
|
}>, z.ZodObject<{
|
|
17119
17129
|
type: z.ZodLiteral<"schematic_trace">;
|
|
17120
17130
|
schematic_trace_id: z.ZodString;
|
package/dist/index.mjs
CHANGED
|
@@ -823,7 +823,8 @@ var schematic_port = z44.object({
|
|
|
823
823
|
true_ccw_index: z44.number().optional(),
|
|
824
824
|
pin_number: z44.number().optional(),
|
|
825
825
|
display_pin_label: z44.string().optional(),
|
|
826
|
-
subcircuit_id: z44.string().optional()
|
|
826
|
+
subcircuit_id: z44.string().optional(),
|
|
827
|
+
is_connected: z44.boolean().optional()
|
|
827
828
|
}).describe("Defines a port on a schematic component");
|
|
828
829
|
expectTypesMatch(true);
|
|
829
830
|
|