circuit-json 0.0.477 → 0.0.478
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 +20 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -26740,6 +26740,8 @@ declare const schematic_sheet: z.ZodObject<{
|
|
|
26740
26740
|
name: z.ZodOptional<z.ZodString>;
|
|
26741
26741
|
sheet_index: z.ZodOptional<z.ZodNumber>;
|
|
26742
26742
|
sheet_size: z.ZodOptional<z.ZodEnum<["a4", "ansi_b"]>>;
|
|
26743
|
+
sheet_width: z.ZodOptional<z.ZodNumber>;
|
|
26744
|
+
sheet_height: z.ZodOptional<z.ZodNumber>;
|
|
26743
26745
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
26744
26746
|
outline_color: z.ZodOptional<z.ZodString>;
|
|
26745
26747
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -26749,6 +26751,8 @@ declare const schematic_sheet: z.ZodObject<{
|
|
|
26749
26751
|
subcircuit_id?: string | undefined;
|
|
26750
26752
|
sheet_index?: number | undefined;
|
|
26751
26753
|
sheet_size?: "a4" | "ansi_b" | undefined;
|
|
26754
|
+
sheet_width?: number | undefined;
|
|
26755
|
+
sheet_height?: number | undefined;
|
|
26752
26756
|
outline_color?: string | undefined;
|
|
26753
26757
|
}, {
|
|
26754
26758
|
type: "schematic_sheet";
|
|
@@ -26757,6 +26761,8 @@ declare const schematic_sheet: z.ZodObject<{
|
|
|
26757
26761
|
schematic_sheet_id?: string | undefined;
|
|
26758
26762
|
sheet_index?: number | undefined;
|
|
26759
26763
|
sheet_size?: "a4" | "ansi_b" | undefined;
|
|
26764
|
+
sheet_width?: number | undefined;
|
|
26765
|
+
sheet_height?: number | undefined;
|
|
26760
26766
|
outline_color?: string | undefined;
|
|
26761
26767
|
}>;
|
|
26762
26768
|
type SchematicSheetInput = z.input<typeof schematic_sheet>;
|
|
@@ -26769,6 +26775,8 @@ interface SchematicSheet {
|
|
|
26769
26775
|
name?: string;
|
|
26770
26776
|
sheet_index?: number;
|
|
26771
26777
|
sheet_size?: SchematicSheetSize;
|
|
26778
|
+
sheet_width?: number;
|
|
26779
|
+
sheet_height?: number;
|
|
26772
26780
|
subcircuit_id?: string;
|
|
26773
26781
|
outline_color?: string;
|
|
26774
26782
|
}
|
|
@@ -54881,6 +54889,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
54881
54889
|
name: z.ZodOptional<z.ZodString>;
|
|
54882
54890
|
sheet_index: z.ZodOptional<z.ZodNumber>;
|
|
54883
54891
|
sheet_size: z.ZodOptional<z.ZodEnum<["a4", "ansi_b"]>>;
|
|
54892
|
+
sheet_width: z.ZodOptional<z.ZodNumber>;
|
|
54893
|
+
sheet_height: z.ZodOptional<z.ZodNumber>;
|
|
54884
54894
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
54885
54895
|
outline_color: z.ZodOptional<z.ZodString>;
|
|
54886
54896
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -54890,6 +54900,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
54890
54900
|
subcircuit_id?: string | undefined;
|
|
54891
54901
|
sheet_index?: number | undefined;
|
|
54892
54902
|
sheet_size?: "a4" | "ansi_b" | undefined;
|
|
54903
|
+
sheet_width?: number | undefined;
|
|
54904
|
+
sheet_height?: number | undefined;
|
|
54893
54905
|
outline_color?: string | undefined;
|
|
54894
54906
|
}, {
|
|
54895
54907
|
type: "schematic_sheet";
|
|
@@ -54898,6 +54910,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
54898
54910
|
schematic_sheet_id?: string | undefined;
|
|
54899
54911
|
sheet_index?: number | undefined;
|
|
54900
54912
|
sheet_size?: "a4" | "ansi_b" | undefined;
|
|
54913
|
+
sheet_width?: number | undefined;
|
|
54914
|
+
sheet_height?: number | undefined;
|
|
54901
54915
|
outline_color?: string | undefined;
|
|
54902
54916
|
}>, z.ZodObject<{
|
|
54903
54917
|
type: z.ZodLiteral<"schematic_table">;
|
|
@@ -75146,6 +75160,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
75146
75160
|
name: z.ZodOptional<z.ZodString>;
|
|
75147
75161
|
sheet_index: z.ZodOptional<z.ZodNumber>;
|
|
75148
75162
|
sheet_size: z.ZodOptional<z.ZodEnum<["a4", "ansi_b"]>>;
|
|
75163
|
+
sheet_width: z.ZodOptional<z.ZodNumber>;
|
|
75164
|
+
sheet_height: z.ZodOptional<z.ZodNumber>;
|
|
75149
75165
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
75150
75166
|
outline_color: z.ZodOptional<z.ZodString>;
|
|
75151
75167
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -75155,6 +75171,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
75155
75171
|
subcircuit_id?: string | undefined;
|
|
75156
75172
|
sheet_index?: number | undefined;
|
|
75157
75173
|
sheet_size?: "a4" | "ansi_b" | undefined;
|
|
75174
|
+
sheet_width?: number | undefined;
|
|
75175
|
+
sheet_height?: number | undefined;
|
|
75158
75176
|
outline_color?: string | undefined;
|
|
75159
75177
|
}, {
|
|
75160
75178
|
type: "schematic_sheet";
|
|
@@ -75163,6 +75181,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
75163
75181
|
schematic_sheet_id?: string | undefined;
|
|
75164
75182
|
sheet_index?: number | undefined;
|
|
75165
75183
|
sheet_size?: "a4" | "ansi_b" | undefined;
|
|
75184
|
+
sheet_width?: number | undefined;
|
|
75185
|
+
sheet_height?: number | undefined;
|
|
75166
75186
|
outline_color?: string | undefined;
|
|
75167
75187
|
}>, z.ZodObject<{
|
|
75168
75188
|
type: z.ZodLiteral<"schematic_table">;
|
package/dist/index.mjs
CHANGED
|
@@ -1653,6 +1653,8 @@ var schematic_sheet = z96.object({
|
|
|
1653
1653
|
name: z96.string().optional(),
|
|
1654
1654
|
sheet_index: z96.number().optional(),
|
|
1655
1655
|
sheet_size: schematic_sheet_size.optional(),
|
|
1656
|
+
sheet_width: z96.number().positive().optional(),
|
|
1657
|
+
sheet_height: z96.number().positive().optional(),
|
|
1656
1658
|
subcircuit_id: z96.string().optional(),
|
|
1657
1659
|
outline_color: z96.string().optional()
|
|
1658
1660
|
}).describe(
|