circuit-json 0.0.482 → 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 CHANGED
@@ -3340,6 +3340,8 @@ interface SchematicNetLabel {
3340
3340
  anchor_position?: Point | undefined
3341
3341
  anchor_side: "top" | "bottom" | "left" | "right"
3342
3342
  text: string
3343
+ /** Display-only superscript suffix, e.g. "1" in GND¹. Does not change net identity. */
3344
+ display_superscript?: string
3343
3345
  symbol_name?: string | undefined
3344
3346
  /** When true the net label can be repositioned. When false the label's
3345
3347
  * position is fixed by the element it is attached to. */
@@ -3525,6 +3527,8 @@ interface SchematicText {
3525
3527
  schematic_symbol_id?: string
3526
3528
  schematic_text_id: string
3527
3529
  text: string
3530
+ /** Display-only superscript suffix, e.g. "1" in GND¹ for an inline net label. */
3531
+ display_superscript?: string
3528
3532
  font_size: number
3529
3533
  position: {
3530
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
 
@@ -25931,6 +25936,8 @@ interface SchematicNetLabel {
25931
25936
  anchor_position?: Point | undefined;
25932
25937
  anchor_side: "top" | "bottom" | "left" | "right";
25933
25938
  text: string;
25939
+ /** Display-only superscript suffix, e.g. "1" in GND¹. Does not change net identity. */
25940
+ display_superscript?: string;
25934
25941
  symbol_name?: string | undefined;
25935
25942
  /**
25936
25943
  * When true the net label can be repositioned. When false the label's
@@ -25968,6 +25975,7 @@ declare const schematic_net_label: z.ZodObject<{
25968
25975
  }>>;
25969
25976
  anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
25970
25977
  text: z.ZodString;
25978
+ display_superscript: z.ZodOptional<z.ZodString>;
25971
25979
  symbol_name: z.ZodOptional<z.ZodString>;
25972
25980
  is_movable: z.ZodOptional<z.ZodBoolean>;
25973
25981
  subcircuit_id: z.ZodOptional<z.ZodString>;
@@ -25990,6 +25998,7 @@ declare const schematic_net_label: z.ZodObject<{
25990
25998
  schematic_sheet_id?: string | undefined;
25991
25999
  symbol_name?: string | undefined;
25992
26000
  schematic_trace_id?: string | undefined;
26001
+ display_superscript?: string | undefined;
25993
26002
  is_movable?: boolean | undefined;
25994
26003
  }, {
25995
26004
  type: "schematic_net_label";
@@ -26009,6 +26018,7 @@ declare const schematic_net_label: z.ZodObject<{
26009
26018
  schematic_sheet_id?: string | undefined;
26010
26019
  symbol_name?: string | undefined;
26011
26020
  schematic_trace_id?: string | undefined;
26021
+ display_superscript?: string | undefined;
26012
26022
  schematic_net_label_id?: string | undefined;
26013
26023
  is_movable?: boolean | undefined;
26014
26024
  }>;
@@ -47179,6 +47189,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
47179
47189
  schematic_text_id: z.ZodString;
47180
47190
  source_trace_id: z.ZodOptional<z.ZodString>;
47181
47191
  text: z.ZodString;
47192
+ display_superscript: z.ZodOptional<z.ZodString>;
47182
47193
  font_size: z.ZodDefault<z.ZodNumber>;
47183
47194
  position: z.ZodObject<{
47184
47195
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -47211,6 +47222,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
47211
47222
  schematic_sheet_id?: string | undefined;
47212
47223
  schematic_component_id?: string | undefined;
47213
47224
  schematic_symbol_id?: string | undefined;
47225
+ display_superscript?: string | undefined;
47214
47226
  }, {
47215
47227
  type: "schematic_text";
47216
47228
  text: string;
@@ -47228,6 +47240,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
47228
47240
  schematic_sheet_id?: string | undefined;
47229
47241
  schematic_component_id?: string | undefined;
47230
47242
  schematic_symbol_id?: string | undefined;
47243
+ display_superscript?: string | undefined;
47231
47244
  }>, z.ZodObject<{
47232
47245
  type: z.ZodLiteral<"schematic_line">;
47233
47246
  schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -54836,6 +54849,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
54836
54849
  }>>;
54837
54850
  anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
54838
54851
  text: z.ZodString;
54852
+ display_superscript: z.ZodOptional<z.ZodString>;
54839
54853
  symbol_name: z.ZodOptional<z.ZodString>;
54840
54854
  is_movable: z.ZodOptional<z.ZodBoolean>;
54841
54855
  subcircuit_id: z.ZodOptional<z.ZodString>;
@@ -54858,6 +54872,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
54858
54872
  schematic_sheet_id?: string | undefined;
54859
54873
  symbol_name?: string | undefined;
54860
54874
  schematic_trace_id?: string | undefined;
54875
+ display_superscript?: string | undefined;
54861
54876
  is_movable?: boolean | undefined;
54862
54877
  }, {
54863
54878
  type: "schematic_net_label";
@@ -54877,6 +54892,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
54877
54892
  schematic_sheet_id?: string | undefined;
54878
54893
  symbol_name?: string | undefined;
54879
54894
  schematic_trace_id?: string | undefined;
54895
+ display_superscript?: string | undefined;
54880
54896
  schematic_net_label_id?: string | undefined;
54881
54897
  is_movable?: boolean | undefined;
54882
54898
  }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
@@ -67602,6 +67618,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
67602
67618
  schematic_text_id: z.ZodString;
67603
67619
  source_trace_id: z.ZodOptional<z.ZodString>;
67604
67620
  text: z.ZodString;
67621
+ display_superscript: z.ZodOptional<z.ZodString>;
67605
67622
  font_size: z.ZodDefault<z.ZodNumber>;
67606
67623
  position: z.ZodObject<{
67607
67624
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -67634,6 +67651,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
67634
67651
  schematic_sheet_id?: string | undefined;
67635
67652
  schematic_component_id?: string | undefined;
67636
67653
  schematic_symbol_id?: string | undefined;
67654
+ display_superscript?: string | undefined;
67637
67655
  }, {
67638
67656
  type: "schematic_text";
67639
67657
  text: string;
@@ -67651,6 +67669,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
67651
67669
  schematic_sheet_id?: string | undefined;
67652
67670
  schematic_component_id?: string | undefined;
67653
67671
  schematic_symbol_id?: string | undefined;
67672
+ display_superscript?: string | undefined;
67654
67673
  }>, z.ZodObject<{
67655
67674
  type: z.ZodLiteral<"schematic_line">;
67656
67675
  schematic_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -75259,6 +75278,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
75259
75278
  }>>;
75260
75279
  anchor_side: z.ZodEnum<["top", "bottom", "left", "right"]>;
75261
75280
  text: z.ZodString;
75281
+ display_superscript: z.ZodOptional<z.ZodString>;
75262
75282
  symbol_name: z.ZodOptional<z.ZodString>;
75263
75283
  is_movable: z.ZodOptional<z.ZodBoolean>;
75264
75284
  subcircuit_id: z.ZodOptional<z.ZodString>;
@@ -75281,6 +75301,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
75281
75301
  schematic_sheet_id?: string | undefined;
75282
75302
  symbol_name?: string | undefined;
75283
75303
  schematic_trace_id?: string | undefined;
75304
+ display_superscript?: string | undefined;
75284
75305
  is_movable?: boolean | undefined;
75285
75306
  }, {
75286
75307
  type: "schematic_net_label";
@@ -75300,6 +75321,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
75300
75321
  schematic_sheet_id?: string | undefined;
75301
75322
  symbol_name?: string | undefined;
75302
75323
  schematic_trace_id?: string | undefined;
75324
+ display_superscript?: string | undefined;
75303
75325
  schematic_net_label_id?: string | undefined;
75304
75326
  is_movable?: boolean | undefined;
75305
75327
  }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
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,
@@ -1450,6 +1451,7 @@ var schematic_net_label = z85.object({
1450
1451
  anchor_position: point.optional(),
1451
1452
  anchor_side: z85.enum(["top", "bottom", "left", "right"]),
1452
1453
  text: z85.string(),
1454
+ display_superscript: z85.string().optional(),
1453
1455
  symbol_name: z85.string().optional(),
1454
1456
  is_movable: z85.boolean().optional(),
1455
1457
  subcircuit_id: z85.string().optional()