circuit-json 0.0.483 → 0.0.484
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 +14 -3
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3527,6 +3527,8 @@ interface SchematicText {
|
|
|
3527
3527
|
schematic_symbol_id?: string
|
|
3528
3528
|
schematic_text_id: string
|
|
3529
3529
|
text: string
|
|
3530
|
+
/** Display-only superscript suffix, e.g. "1" in GND¹ for an inline net label. */
|
|
3531
|
+
display_superscript?: string
|
|
3530
3532
|
font_size: number
|
|
3531
3533
|
position: {
|
|
3532
3534
|
x: number
|
package/dist/index.d.mts
CHANGED
|
@@ -25747,6 +25747,8 @@ interface SchematicText {
|
|
|
25747
25747
|
*/
|
|
25748
25748
|
source_trace_id?: string;
|
|
25749
25749
|
text: string;
|
|
25750
|
+
/** Display-only superscript suffix, e.g. "1" in GND¹ for an inline net label. */
|
|
25751
|
+
display_superscript?: string;
|
|
25750
25752
|
font_size: number;
|
|
25751
25753
|
position: {
|
|
25752
25754
|
x: number;
|
|
@@ -25765,6 +25767,7 @@ declare const schematic_text: z.ZodObject<{
|
|
|
25765
25767
|
schematic_text_id: z.ZodString;
|
|
25766
25768
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
25767
25769
|
text: z.ZodString;
|
|
25770
|
+
display_superscript: z.ZodOptional<z.ZodString>;
|
|
25768
25771
|
font_size: z.ZodDefault<z.ZodNumber>;
|
|
25769
25772
|
position: z.ZodObject<{
|
|
25770
25773
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -25797,6 +25800,7 @@ declare const schematic_text: z.ZodObject<{
|
|
|
25797
25800
|
schematic_sheet_id?: string | undefined;
|
|
25798
25801
|
schematic_component_id?: string | undefined;
|
|
25799
25802
|
schematic_symbol_id?: string | undefined;
|
|
25803
|
+
display_superscript?: string | undefined;
|
|
25800
25804
|
}, {
|
|
25801
25805
|
type: "schematic_text";
|
|
25802
25806
|
text: string;
|
|
@@ -25814,6 +25818,7 @@ declare const schematic_text: z.ZodObject<{
|
|
|
25814
25818
|
schematic_sheet_id?: string | undefined;
|
|
25815
25819
|
schematic_component_id?: string | undefined;
|
|
25816
25820
|
schematic_symbol_id?: string | undefined;
|
|
25821
|
+
display_superscript?: string | undefined;
|
|
25817
25822
|
}>;
|
|
25818
25823
|
type SchematicTextInput = z.input<typeof schematic_text>;
|
|
25819
25824
|
|
|
@@ -26013,8 +26018,8 @@ declare const schematic_net_label: z.ZodObject<{
|
|
|
26013
26018
|
schematic_sheet_id?: string | undefined;
|
|
26014
26019
|
symbol_name?: string | undefined;
|
|
26015
26020
|
schematic_trace_id?: string | undefined;
|
|
26016
|
-
schematic_net_label_id?: string | undefined;
|
|
26017
26021
|
display_superscript?: string | undefined;
|
|
26022
|
+
schematic_net_label_id?: string | undefined;
|
|
26018
26023
|
is_movable?: boolean | undefined;
|
|
26019
26024
|
}>;
|
|
26020
26025
|
type SchematicNetLabelInput = z.input<typeof schematic_net_label>;
|
|
@@ -47184,6 +47189,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
47184
47189
|
schematic_text_id: z.ZodString;
|
|
47185
47190
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
47186
47191
|
text: z.ZodString;
|
|
47192
|
+
display_superscript: z.ZodOptional<z.ZodString>;
|
|
47187
47193
|
font_size: z.ZodDefault<z.ZodNumber>;
|
|
47188
47194
|
position: z.ZodObject<{
|
|
47189
47195
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -47216,6 +47222,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
47216
47222
|
schematic_sheet_id?: string | undefined;
|
|
47217
47223
|
schematic_component_id?: string | undefined;
|
|
47218
47224
|
schematic_symbol_id?: string | undefined;
|
|
47225
|
+
display_superscript?: string | undefined;
|
|
47219
47226
|
}, {
|
|
47220
47227
|
type: "schematic_text";
|
|
47221
47228
|
text: string;
|
|
@@ -47233,6 +47240,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
47233
47240
|
schematic_sheet_id?: string | undefined;
|
|
47234
47241
|
schematic_component_id?: string | undefined;
|
|
47235
47242
|
schematic_symbol_id?: string | undefined;
|
|
47243
|
+
display_superscript?: string | undefined;
|
|
47236
47244
|
}>, z.ZodObject<{
|
|
47237
47245
|
type: z.ZodLiteral<"schematic_line">;
|
|
47238
47246
|
schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -54884,8 +54892,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
54884
54892
|
schematic_sheet_id?: string | undefined;
|
|
54885
54893
|
symbol_name?: string | undefined;
|
|
54886
54894
|
schematic_trace_id?: string | undefined;
|
|
54887
|
-
schematic_net_label_id?: string | undefined;
|
|
54888
54895
|
display_superscript?: string | undefined;
|
|
54896
|
+
schematic_net_label_id?: string | undefined;
|
|
54889
54897
|
is_movable?: boolean | undefined;
|
|
54890
54898
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
54891
54899
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
@@ -67610,6 +67618,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
67610
67618
|
schematic_text_id: z.ZodString;
|
|
67611
67619
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
67612
67620
|
text: z.ZodString;
|
|
67621
|
+
display_superscript: z.ZodOptional<z.ZodString>;
|
|
67613
67622
|
font_size: z.ZodDefault<z.ZodNumber>;
|
|
67614
67623
|
position: z.ZodObject<{
|
|
67615
67624
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -67642,6 +67651,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
67642
67651
|
schematic_sheet_id?: string | undefined;
|
|
67643
67652
|
schematic_component_id?: string | undefined;
|
|
67644
67653
|
schematic_symbol_id?: string | undefined;
|
|
67654
|
+
display_superscript?: string | undefined;
|
|
67645
67655
|
}, {
|
|
67646
67656
|
type: "schematic_text";
|
|
67647
67657
|
text: string;
|
|
@@ -67659,6 +67669,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
67659
67669
|
schematic_sheet_id?: string | undefined;
|
|
67660
67670
|
schematic_component_id?: string | undefined;
|
|
67661
67671
|
schematic_symbol_id?: string | undefined;
|
|
67672
|
+
display_superscript?: string | undefined;
|
|
67662
67673
|
}>, z.ZodObject<{
|
|
67663
67674
|
type: z.ZodLiteral<"schematic_line">;
|
|
67664
67675
|
schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -75310,8 +75321,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
75310
75321
|
schematic_sheet_id?: string | undefined;
|
|
75311
75322
|
symbol_name?: string | undefined;
|
|
75312
75323
|
schematic_trace_id?: string | undefined;
|
|
75313
|
-
schematic_net_label_id?: string | undefined;
|
|
75314
75324
|
display_superscript?: string | undefined;
|
|
75325
|
+
schematic_net_label_id?: string | undefined;
|
|
75315
75326
|
is_movable?: boolean | undefined;
|
|
75316
75327
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
75317
75328
|
type: z.ZodLiteral<"schematic_debug_object">;
|
package/dist/index.mjs
CHANGED
|
@@ -1399,6 +1399,7 @@ var schematic_text = z83.object({
|
|
|
1399
1399
|
schematic_text_id: z83.string(),
|
|
1400
1400
|
source_trace_id: z83.string().optional(),
|
|
1401
1401
|
text: z83.string(),
|
|
1402
|
+
display_superscript: z83.string().optional(),
|
|
1402
1403
|
font_size: z83.number().default(0.18),
|
|
1403
1404
|
position: z83.object({
|
|
1404
1405
|
x: distance,
|