circuit-json 0.0.314 → 0.0.315

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
@@ -2593,6 +2593,7 @@ interface SchematicVoltageProbe {
2593
2593
  type: "schematic_voltage_probe"
2594
2594
  schematic_voltage_probe_id: string
2595
2595
  source_component_id?: string
2596
+ name?: string
2596
2597
  position: Point
2597
2598
  schematic_trace_id: string
2598
2599
  voltage?: number
@@ -2686,6 +2687,7 @@ interface SimulationVoltageProbe {
2686
2687
  type: "simulation_voltage_probe"
2687
2688
  simulation_voltage_probe_id: string
2688
2689
  source_component_id?: string
2690
+ name?: string
2689
2691
  source_port_id?: string
2690
2692
  source_net_id?: string
2691
2693
  subcircuit_id?: string
package/dist/index.d.mts CHANGED
@@ -8846,6 +8846,7 @@ interface SchematicVoltageProbe {
8846
8846
  type: "schematic_voltage_probe";
8847
8847
  schematic_voltage_probe_id: string;
8848
8848
  source_component_id?: string;
8849
+ name?: string;
8849
8850
  position: Point;
8850
8851
  schematic_trace_id: string;
8851
8852
  voltage?: number;
@@ -8856,6 +8857,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8856
8857
  type: z.ZodLiteral<"schematic_voltage_probe">;
8857
8858
  schematic_voltage_probe_id: z.ZodString;
8858
8859
  source_component_id: z.ZodOptional<z.ZodString>;
8860
+ name: z.ZodOptional<z.ZodString>;
8859
8861
  position: z.ZodObject<{
8860
8862
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8861
8863
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -8878,6 +8880,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8878
8880
  y: number;
8879
8881
  };
8880
8882
  schematic_voltage_probe_id: string;
8883
+ name?: string | undefined;
8881
8884
  source_component_id?: string | undefined;
8882
8885
  subcircuit_id?: string | undefined;
8883
8886
  color?: string | undefined;
@@ -8890,6 +8893,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8890
8893
  y: string | number;
8891
8894
  };
8892
8895
  schematic_voltage_probe_id: string;
8896
+ name?: string | undefined;
8893
8897
  source_component_id?: string | undefined;
8894
8898
  subcircuit_id?: string | undefined;
8895
8899
  color?: string | undefined;
@@ -9506,6 +9510,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9506
9510
  type: z.ZodLiteral<"simulation_voltage_probe">;
9507
9511
  simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9508
9512
  source_component_id: z.ZodOptional<z.ZodString>;
9513
+ name: z.ZodOptional<z.ZodString>;
9509
9514
  source_port_id: z.ZodOptional<z.ZodString>;
9510
9515
  source_net_id: z.ZodOptional<z.ZodString>;
9511
9516
  subcircuit_id: z.ZodOptional<z.ZodString>;
@@ -9513,6 +9518,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9513
9518
  }, "strip", z.ZodTypeAny, {
9514
9519
  type: "simulation_voltage_probe";
9515
9520
  simulation_voltage_probe_id: string;
9521
+ name?: string | undefined;
9516
9522
  source_component_id?: string | undefined;
9517
9523
  subcircuit_id?: string | undefined;
9518
9524
  source_port_id?: string | undefined;
@@ -9520,6 +9526,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9520
9526
  color?: string | undefined;
9521
9527
  }, {
9522
9528
  type: "simulation_voltage_probe";
9529
+ name?: string | undefined;
9523
9530
  source_component_id?: string | undefined;
9524
9531
  subcircuit_id?: string | undefined;
9525
9532
  source_port_id?: string | undefined;
@@ -9529,6 +9536,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9529
9536
  }>, {
9530
9537
  type: "simulation_voltage_probe";
9531
9538
  simulation_voltage_probe_id: string;
9539
+ name?: string | undefined;
9532
9540
  source_component_id?: string | undefined;
9533
9541
  subcircuit_id?: string | undefined;
9534
9542
  source_port_id?: string | undefined;
@@ -9536,6 +9544,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9536
9544
  color?: string | undefined;
9537
9545
  }, {
9538
9546
  type: "simulation_voltage_probe";
9547
+ name?: string | undefined;
9539
9548
  source_component_id?: string | undefined;
9540
9549
  subcircuit_id?: string | undefined;
9541
9550
  source_port_id?: string | undefined;
@@ -9551,6 +9560,7 @@ interface SimulationVoltageProbe {
9551
9560
  type: "simulation_voltage_probe";
9552
9561
  simulation_voltage_probe_id: string;
9553
9562
  source_component_id?: string;
9563
+ name?: string;
9554
9564
  source_port_id?: string;
9555
9565
  source_net_id?: string;
9556
9566
  subcircuit_id?: string;
@@ -19707,6 +19717,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19707
19717
  type: z.ZodLiteral<"schematic_voltage_probe">;
19708
19718
  schematic_voltage_probe_id: z.ZodString;
19709
19719
  source_component_id: z.ZodOptional<z.ZodString>;
19720
+ name: z.ZodOptional<z.ZodString>;
19710
19721
  position: z.ZodObject<{
19711
19722
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19712
19723
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -19729,6 +19740,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19729
19740
  y: number;
19730
19741
  };
19731
19742
  schematic_voltage_probe_id: string;
19743
+ name?: string | undefined;
19732
19744
  source_component_id?: string | undefined;
19733
19745
  subcircuit_id?: string | undefined;
19734
19746
  color?: string | undefined;
@@ -19741,6 +19753,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19741
19753
  y: string | number;
19742
19754
  };
19743
19755
  schematic_voltage_probe_id: string;
19756
+ name?: string | undefined;
19744
19757
  source_component_id?: string | undefined;
19745
19758
  subcircuit_id?: string | undefined;
19746
19759
  color?: string | undefined;
@@ -20242,6 +20255,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20242
20255
  type: z.ZodLiteral<"simulation_voltage_probe">;
20243
20256
  simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
20244
20257
  source_component_id: z.ZodOptional<z.ZodString>;
20258
+ name: z.ZodOptional<z.ZodString>;
20245
20259
  source_port_id: z.ZodOptional<z.ZodString>;
20246
20260
  source_net_id: z.ZodOptional<z.ZodString>;
20247
20261
  subcircuit_id: z.ZodOptional<z.ZodString>;
@@ -20249,6 +20263,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20249
20263
  }, "strip", z.ZodTypeAny, {
20250
20264
  type: "simulation_voltage_probe";
20251
20265
  simulation_voltage_probe_id: string;
20266
+ name?: string | undefined;
20252
20267
  source_component_id?: string | undefined;
20253
20268
  subcircuit_id?: string | undefined;
20254
20269
  source_port_id?: string | undefined;
@@ -20256,6 +20271,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20256
20271
  color?: string | undefined;
20257
20272
  }, {
20258
20273
  type: "simulation_voltage_probe";
20274
+ name?: string | undefined;
20259
20275
  source_component_id?: string | undefined;
20260
20276
  subcircuit_id?: string | undefined;
20261
20277
  source_port_id?: string | undefined;
@@ -20265,6 +20281,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20265
20281
  }>, {
20266
20282
  type: "simulation_voltage_probe";
20267
20283
  simulation_voltage_probe_id: string;
20284
+ name?: string | undefined;
20268
20285
  source_component_id?: string | undefined;
20269
20286
  subcircuit_id?: string | undefined;
20270
20287
  source_port_id?: string | undefined;
@@ -20272,6 +20289,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20272
20289
  color?: string | undefined;
20273
20290
  }, {
20274
20291
  type: "simulation_voltage_probe";
20292
+ name?: string | undefined;
20275
20293
  source_component_id?: string | undefined;
20276
20294
  subcircuit_id?: string | undefined;
20277
20295
  source_port_id?: string | undefined;
@@ -27516,6 +27534,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27516
27534
  type: z.ZodLiteral<"schematic_voltage_probe">;
27517
27535
  schematic_voltage_probe_id: z.ZodString;
27518
27536
  source_component_id: z.ZodOptional<z.ZodString>;
27537
+ name: z.ZodOptional<z.ZodString>;
27519
27538
  position: z.ZodObject<{
27520
27539
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27521
27540
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -27538,6 +27557,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27538
27557
  y: number;
27539
27558
  };
27540
27559
  schematic_voltage_probe_id: string;
27560
+ name?: string | undefined;
27541
27561
  source_component_id?: string | undefined;
27542
27562
  subcircuit_id?: string | undefined;
27543
27563
  color?: string | undefined;
@@ -27550,6 +27570,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27550
27570
  y: string | number;
27551
27571
  };
27552
27572
  schematic_voltage_probe_id: string;
27573
+ name?: string | undefined;
27553
27574
  source_component_id?: string | undefined;
27554
27575
  subcircuit_id?: string | undefined;
27555
27576
  color?: string | undefined;
@@ -28051,6 +28072,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28051
28072
  type: z.ZodLiteral<"simulation_voltage_probe">;
28052
28073
  simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
28053
28074
  source_component_id: z.ZodOptional<z.ZodString>;
28075
+ name: z.ZodOptional<z.ZodString>;
28054
28076
  source_port_id: z.ZodOptional<z.ZodString>;
28055
28077
  source_net_id: z.ZodOptional<z.ZodString>;
28056
28078
  subcircuit_id: z.ZodOptional<z.ZodString>;
@@ -28058,6 +28080,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28058
28080
  }, "strip", z.ZodTypeAny, {
28059
28081
  type: "simulation_voltage_probe";
28060
28082
  simulation_voltage_probe_id: string;
28083
+ name?: string | undefined;
28061
28084
  source_component_id?: string | undefined;
28062
28085
  subcircuit_id?: string | undefined;
28063
28086
  source_port_id?: string | undefined;
@@ -28065,6 +28088,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28065
28088
  color?: string | undefined;
28066
28089
  }, {
28067
28090
  type: "simulation_voltage_probe";
28091
+ name?: string | undefined;
28068
28092
  source_component_id?: string | undefined;
28069
28093
  subcircuit_id?: string | undefined;
28070
28094
  source_port_id?: string | undefined;
@@ -28074,6 +28098,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28074
28098
  }>, {
28075
28099
  type: "simulation_voltage_probe";
28076
28100
  simulation_voltage_probe_id: string;
28101
+ name?: string | undefined;
28077
28102
  source_component_id?: string | undefined;
28078
28103
  subcircuit_id?: string | undefined;
28079
28104
  source_port_id?: string | undefined;
@@ -28081,6 +28106,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28081
28106
  color?: string | undefined;
28082
28107
  }, {
28083
28108
  type: "simulation_voltage_probe";
28109
+ name?: string | undefined;
28084
28110
  source_component_id?: string | undefined;
28085
28111
  subcircuit_id?: string | undefined;
28086
28112
  source_port_id?: string | undefined;
package/dist/index.mjs CHANGED
@@ -1133,6 +1133,7 @@ var schematic_voltage_probe = z61.object({
1133
1133
  type: z61.literal("schematic_voltage_probe"),
1134
1134
  schematic_voltage_probe_id: z61.string(),
1135
1135
  source_component_id: z61.string().optional(),
1136
+ name: z61.string().optional(),
1136
1137
  position: point,
1137
1138
  schematic_trace_id: z61.string(),
1138
1139
  voltage: voltage.optional(),
@@ -2840,6 +2841,7 @@ var simulation_voltage_probe = z129.object({
2840
2841
  "simulation_voltage_probe"
2841
2842
  ),
2842
2843
  source_component_id: z129.string().optional(),
2844
+ name: z129.string().optional(),
2843
2845
  source_port_id: z129.string().optional(),
2844
2846
  source_net_id: z129.string().optional(),
2845
2847
  subcircuit_id: z129.string().optional(),