circuit-json 0.0.310 → 0.0.311

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
@@ -2594,7 +2594,6 @@ interface SchematicVoltageProbe {
2594
2594
  position: Point
2595
2595
  schematic_trace_id: string
2596
2596
  voltage?: number
2597
- name?: string
2598
2597
  subcircuit_id?: string
2599
2598
  }
2600
2599
  ```
@@ -2644,8 +2643,7 @@ interface SimulationTransientVoltageGraph {
2644
2643
  simulation_experiment_id: string
2645
2644
  timestamps_ms?: number[]
2646
2645
  voltage_levels: number[]
2647
- schematic_voltage_probe_id?: string
2648
- simulation_voltage_probe_id?: string
2646
+ source_component_id?: string
2649
2647
  subcircuit_connectivity_map_key?: string
2650
2648
  time_per_step: number
2651
2649
  start_time_ms: number
@@ -2686,7 +2684,6 @@ interface SimulationVoltageProbe {
2686
2684
  source_component_id?: string
2687
2685
  source_port_id?: string
2688
2686
  source_net_id?: string
2689
- name?: string
2690
2687
  subcircuit_id?: string
2691
2688
  }
2692
2689
  ```
package/dist/index.d.mts CHANGED
@@ -8675,7 +8675,6 @@ interface SchematicVoltageProbe {
8675
8675
  position: Point;
8676
8676
  schematic_trace_id: string;
8677
8677
  voltage?: number;
8678
- name?: string;
8679
8678
  subcircuit_id?: string;
8680
8679
  }
8681
8680
  declare const schematic_voltage_probe: z.ZodObject<{
@@ -8694,7 +8693,6 @@ declare const schematic_voltage_probe: z.ZodObject<{
8694
8693
  }>;
8695
8694
  schematic_trace_id: z.ZodString;
8696
8695
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8697
- name: z.ZodOptional<z.ZodString>;
8698
8696
  subcircuit_id: z.ZodOptional<z.ZodString>;
8699
8697
  }, "strip", z.ZodTypeAny, {
8700
8698
  type: "schematic_voltage_probe";
@@ -8704,7 +8702,6 @@ declare const schematic_voltage_probe: z.ZodObject<{
8704
8702
  y: number;
8705
8703
  };
8706
8704
  schematic_voltage_probe_id: string;
8707
- name?: string | undefined;
8708
8705
  source_component_id?: string | undefined;
8709
8706
  subcircuit_id?: string | undefined;
8710
8707
  voltage?: number | undefined;
@@ -8716,7 +8713,6 @@ declare const schematic_voltage_probe: z.ZodObject<{
8716
8713
  y: string | number;
8717
8714
  };
8718
8715
  schematic_voltage_probe_id: string;
8719
- name?: string | undefined;
8720
8716
  source_component_id?: string | undefined;
8721
8717
  subcircuit_id?: string | undefined;
8722
8718
  voltage?: string | number | undefined;
@@ -9242,8 +9238,7 @@ interface SimulationTransientVoltageGraph {
9242
9238
  simulation_experiment_id: string;
9243
9239
  timestamps_ms?: number[];
9244
9240
  voltage_levels: number[];
9245
- schematic_voltage_probe_id?: string;
9246
- simulation_voltage_probe_id?: string;
9241
+ source_component_id?: string;
9247
9242
  subcircuit_connectivity_map_key?: string;
9248
9243
  time_per_step: number;
9249
9244
  start_time_ms: number;
@@ -9256,8 +9251,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
9256
9251
  simulation_experiment_id: z.ZodString;
9257
9252
  timestamps_ms: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
9258
9253
  voltage_levels: z.ZodArray<z.ZodNumber, "many">;
9259
- schematic_voltage_probe_id: z.ZodOptional<z.ZodString>;
9260
- simulation_voltage_probe_id: z.ZodOptional<z.ZodString>;
9254
+ source_component_id: z.ZodOptional<z.ZodString>;
9261
9255
  subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
9262
9256
  time_per_step: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9263
9257
  start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -9272,10 +9266,9 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
9272
9266
  simulation_transient_voltage_graph_id: string;
9273
9267
  voltage_levels: number[];
9274
9268
  name?: string | undefined;
9269
+ source_component_id?: string | undefined;
9275
9270
  subcircuit_connectivity_map_key?: string | undefined;
9276
- schematic_voltage_probe_id?: string | undefined;
9277
9271
  timestamps_ms?: number[] | undefined;
9278
- simulation_voltage_probe_id?: string | undefined;
9279
9272
  }, {
9280
9273
  type: "simulation_transient_voltage_graph";
9281
9274
  simulation_experiment_id: string;
@@ -9284,11 +9277,10 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
9284
9277
  end_time_ms: string | number;
9285
9278
  voltage_levels: number[];
9286
9279
  name?: string | undefined;
9280
+ source_component_id?: string | undefined;
9287
9281
  subcircuit_connectivity_map_key?: string | undefined;
9288
- schematic_voltage_probe_id?: string | undefined;
9289
9282
  simulation_transient_voltage_graph_id?: string | undefined;
9290
9283
  timestamps_ms?: number[] | undefined;
9291
- simulation_voltage_probe_id?: string | undefined;
9292
9284
  }>;
9293
9285
  type SimulationTransientVoltageGraphInput = z.input<typeof simulation_transient_voltage_graph>;
9294
9286
 
@@ -9334,19 +9326,16 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9334
9326
  source_component_id: z.ZodOptional<z.ZodString>;
9335
9327
  source_port_id: z.ZodOptional<z.ZodString>;
9336
9328
  source_net_id: z.ZodOptional<z.ZodString>;
9337
- name: z.ZodOptional<z.ZodString>;
9338
9329
  subcircuit_id: z.ZodOptional<z.ZodString>;
9339
9330
  }, "strip", z.ZodTypeAny, {
9340
9331
  type: "simulation_voltage_probe";
9341
9332
  simulation_voltage_probe_id: string;
9342
- name?: string | undefined;
9343
9333
  source_component_id?: string | undefined;
9344
9334
  subcircuit_id?: string | undefined;
9345
9335
  source_port_id?: string | undefined;
9346
9336
  source_net_id?: string | undefined;
9347
9337
  }, {
9348
9338
  type: "simulation_voltage_probe";
9349
- name?: string | undefined;
9350
9339
  source_component_id?: string | undefined;
9351
9340
  subcircuit_id?: string | undefined;
9352
9341
  source_port_id?: string | undefined;
@@ -9355,14 +9344,12 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9355
9344
  }>, {
9356
9345
  type: "simulation_voltage_probe";
9357
9346
  simulation_voltage_probe_id: string;
9358
- name?: string | undefined;
9359
9347
  source_component_id?: string | undefined;
9360
9348
  subcircuit_id?: string | undefined;
9361
9349
  source_port_id?: string | undefined;
9362
9350
  source_net_id?: string | undefined;
9363
9351
  }, {
9364
9352
  type: "simulation_voltage_probe";
9365
- name?: string | undefined;
9366
9353
  source_component_id?: string | undefined;
9367
9354
  subcircuit_id?: string | undefined;
9368
9355
  source_port_id?: string | undefined;
@@ -9379,7 +9366,6 @@ interface SimulationVoltageProbe {
9379
9366
  source_component_id?: string;
9380
9367
  source_port_id?: string;
9381
9368
  source_net_id?: string;
9382
- name?: string;
9383
9369
  subcircuit_id?: string;
9384
9370
  }
9385
9371
 
@@ -19472,7 +19458,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19472
19458
  }>;
19473
19459
  schematic_trace_id: z.ZodString;
19474
19460
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19475
- name: z.ZodOptional<z.ZodString>;
19476
19461
  subcircuit_id: z.ZodOptional<z.ZodString>;
19477
19462
  }, "strip", z.ZodTypeAny, {
19478
19463
  type: "schematic_voltage_probe";
@@ -19482,7 +19467,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19482
19467
  y: number;
19483
19468
  };
19484
19469
  schematic_voltage_probe_id: string;
19485
- name?: string | undefined;
19486
19470
  source_component_id?: string | undefined;
19487
19471
  subcircuit_id?: string | undefined;
19488
19472
  voltage?: number | undefined;
@@ -19494,7 +19478,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19494
19478
  y: string | number;
19495
19479
  };
19496
19480
  schematic_voltage_probe_id: string;
19497
- name?: string | undefined;
19498
19481
  source_component_id?: string | undefined;
19499
19482
  subcircuit_id?: string | undefined;
19500
19483
  voltage?: string | number | undefined;
@@ -19934,8 +19917,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19934
19917
  simulation_experiment_id: z.ZodString;
19935
19918
  timestamps_ms: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
19936
19919
  voltage_levels: z.ZodArray<z.ZodNumber, "many">;
19937
- schematic_voltage_probe_id: z.ZodOptional<z.ZodString>;
19938
- simulation_voltage_probe_id: z.ZodOptional<z.ZodString>;
19920
+ source_component_id: z.ZodOptional<z.ZodString>;
19939
19921
  subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
19940
19922
  time_per_step: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19941
19923
  start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -19950,10 +19932,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19950
19932
  simulation_transient_voltage_graph_id: string;
19951
19933
  voltage_levels: number[];
19952
19934
  name?: string | undefined;
19935
+ source_component_id?: string | undefined;
19953
19936
  subcircuit_connectivity_map_key?: string | undefined;
19954
- schematic_voltage_probe_id?: string | undefined;
19955
19937
  timestamps_ms?: number[] | undefined;
19956
- simulation_voltage_probe_id?: string | undefined;
19957
19938
  }, {
19958
19939
  type: "simulation_transient_voltage_graph";
19959
19940
  simulation_experiment_id: string;
@@ -19962,11 +19943,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19962
19943
  end_time_ms: string | number;
19963
19944
  voltage_levels: number[];
19964
19945
  name?: string | undefined;
19946
+ source_component_id?: string | undefined;
19965
19947
  subcircuit_connectivity_map_key?: string | undefined;
19966
- schematic_voltage_probe_id?: string | undefined;
19967
19948
  simulation_transient_voltage_graph_id?: string | undefined;
19968
19949
  timestamps_ms?: number[] | undefined;
19969
- simulation_voltage_probe_id?: string | undefined;
19970
19950
  }>, z.ZodObject<{
19971
19951
  type: z.ZodLiteral<"simulation_switch">;
19972
19952
  simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -19997,19 +19977,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19997
19977
  source_component_id: z.ZodOptional<z.ZodString>;
19998
19978
  source_port_id: z.ZodOptional<z.ZodString>;
19999
19979
  source_net_id: z.ZodOptional<z.ZodString>;
20000
- name: z.ZodOptional<z.ZodString>;
20001
19980
  subcircuit_id: z.ZodOptional<z.ZodString>;
20002
19981
  }, "strip", z.ZodTypeAny, {
20003
19982
  type: "simulation_voltage_probe";
20004
19983
  simulation_voltage_probe_id: string;
20005
- name?: string | undefined;
20006
19984
  source_component_id?: string | undefined;
20007
19985
  subcircuit_id?: string | undefined;
20008
19986
  source_port_id?: string | undefined;
20009
19987
  source_net_id?: string | undefined;
20010
19988
  }, {
20011
19989
  type: "simulation_voltage_probe";
20012
- name?: string | undefined;
20013
19990
  source_component_id?: string | undefined;
20014
19991
  subcircuit_id?: string | undefined;
20015
19992
  source_port_id?: string | undefined;
@@ -20018,14 +19995,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20018
19995
  }>, {
20019
19996
  type: "simulation_voltage_probe";
20020
19997
  simulation_voltage_probe_id: string;
20021
- name?: string | undefined;
20022
19998
  source_component_id?: string | undefined;
20023
19999
  subcircuit_id?: string | undefined;
20024
20000
  source_port_id?: string | undefined;
20025
20001
  source_net_id?: string | undefined;
20026
20002
  }, {
20027
20003
  type: "simulation_voltage_probe";
20028
- name?: string | undefined;
20029
20004
  source_component_id?: string | undefined;
20030
20005
  subcircuit_id?: string | undefined;
20031
20006
  source_port_id?: string | undefined;
@@ -27208,7 +27183,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27208
27183
  }>;
27209
27184
  schematic_trace_id: z.ZodString;
27210
27185
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27211
- name: z.ZodOptional<z.ZodString>;
27212
27186
  subcircuit_id: z.ZodOptional<z.ZodString>;
27213
27187
  }, "strip", z.ZodTypeAny, {
27214
27188
  type: "schematic_voltage_probe";
@@ -27218,7 +27192,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27218
27192
  y: number;
27219
27193
  };
27220
27194
  schematic_voltage_probe_id: string;
27221
- name?: string | undefined;
27222
27195
  source_component_id?: string | undefined;
27223
27196
  subcircuit_id?: string | undefined;
27224
27197
  voltage?: number | undefined;
@@ -27230,7 +27203,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27230
27203
  y: string | number;
27231
27204
  };
27232
27205
  schematic_voltage_probe_id: string;
27233
- name?: string | undefined;
27234
27206
  source_component_id?: string | undefined;
27235
27207
  subcircuit_id?: string | undefined;
27236
27208
  voltage?: string | number | undefined;
@@ -27670,8 +27642,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27670
27642
  simulation_experiment_id: z.ZodString;
27671
27643
  timestamps_ms: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
27672
27644
  voltage_levels: z.ZodArray<z.ZodNumber, "many">;
27673
- schematic_voltage_probe_id: z.ZodOptional<z.ZodString>;
27674
- simulation_voltage_probe_id: z.ZodOptional<z.ZodString>;
27645
+ source_component_id: z.ZodOptional<z.ZodString>;
27675
27646
  subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
27676
27647
  time_per_step: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27677
27648
  start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -27686,10 +27657,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27686
27657
  simulation_transient_voltage_graph_id: string;
27687
27658
  voltage_levels: number[];
27688
27659
  name?: string | undefined;
27660
+ source_component_id?: string | undefined;
27689
27661
  subcircuit_connectivity_map_key?: string | undefined;
27690
- schematic_voltage_probe_id?: string | undefined;
27691
27662
  timestamps_ms?: number[] | undefined;
27692
- simulation_voltage_probe_id?: string | undefined;
27693
27663
  }, {
27694
27664
  type: "simulation_transient_voltage_graph";
27695
27665
  simulation_experiment_id: string;
@@ -27698,11 +27668,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27698
27668
  end_time_ms: string | number;
27699
27669
  voltage_levels: number[];
27700
27670
  name?: string | undefined;
27671
+ source_component_id?: string | undefined;
27701
27672
  subcircuit_connectivity_map_key?: string | undefined;
27702
- schematic_voltage_probe_id?: string | undefined;
27703
27673
  simulation_transient_voltage_graph_id?: string | undefined;
27704
27674
  timestamps_ms?: number[] | undefined;
27705
- simulation_voltage_probe_id?: string | undefined;
27706
27675
  }>, z.ZodObject<{
27707
27676
  type: z.ZodLiteral<"simulation_switch">;
27708
27677
  simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -27733,19 +27702,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27733
27702
  source_component_id: z.ZodOptional<z.ZodString>;
27734
27703
  source_port_id: z.ZodOptional<z.ZodString>;
27735
27704
  source_net_id: z.ZodOptional<z.ZodString>;
27736
- name: z.ZodOptional<z.ZodString>;
27737
27705
  subcircuit_id: z.ZodOptional<z.ZodString>;
27738
27706
  }, "strip", z.ZodTypeAny, {
27739
27707
  type: "simulation_voltage_probe";
27740
27708
  simulation_voltage_probe_id: string;
27741
- name?: string | undefined;
27742
27709
  source_component_id?: string | undefined;
27743
27710
  subcircuit_id?: string | undefined;
27744
27711
  source_port_id?: string | undefined;
27745
27712
  source_net_id?: string | undefined;
27746
27713
  }, {
27747
27714
  type: "simulation_voltage_probe";
27748
- name?: string | undefined;
27749
27715
  source_component_id?: string | undefined;
27750
27716
  subcircuit_id?: string | undefined;
27751
27717
  source_port_id?: string | undefined;
@@ -27754,14 +27720,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27754
27720
  }>, {
27755
27721
  type: "simulation_voltage_probe";
27756
27722
  simulation_voltage_probe_id: string;
27757
- name?: string | undefined;
27758
27723
  source_component_id?: string | undefined;
27759
27724
  subcircuit_id?: string | undefined;
27760
27725
  source_port_id?: string | undefined;
27761
27726
  source_net_id?: string | undefined;
27762
27727
  }, {
27763
27728
  type: "simulation_voltage_probe";
27764
- name?: string | undefined;
27765
27729
  source_component_id?: string | undefined;
27766
27730
  subcircuit_id?: string | undefined;
27767
27731
  source_port_id?: string | undefined;
package/dist/index.mjs CHANGED
@@ -1136,7 +1136,6 @@ var schematic_voltage_probe = z61.object({
1136
1136
  position: point,
1137
1137
  schematic_trace_id: z61.string(),
1138
1138
  voltage: voltage.optional(),
1139
- name: z61.string().optional(),
1140
1139
  subcircuit_id: z61.string().optional()
1141
1140
  }).describe("Defines a voltage probe measurement point on a schematic trace");
1142
1141
  expectTypesMatch(true);
@@ -2797,8 +2796,7 @@ var simulation_transient_voltage_graph = z127.object({
2797
2796
  simulation_experiment_id: z127.string(),
2798
2797
  timestamps_ms: z127.array(z127.number()).optional(),
2799
2798
  voltage_levels: z127.array(z127.number()),
2800
- schematic_voltage_probe_id: z127.string().optional(),
2801
- simulation_voltage_probe_id: z127.string().optional(),
2799
+ source_component_id: z127.string().optional(),
2802
2800
  subcircuit_connectivity_map_key: z127.string().optional(),
2803
2801
  time_per_step: duration_ms,
2804
2802
  start_time_ms: ms,
@@ -2830,7 +2828,6 @@ var simulation_voltage_probe = z129.object({
2830
2828
  source_component_id: z129.string().optional(),
2831
2829
  source_port_id: z129.string().optional(),
2832
2830
  source_net_id: z129.string().optional(),
2833
- name: z129.string().optional(),
2834
2831
  subcircuit_id: z129.string().optional()
2835
2832
  }).describe(
2836
2833
  "Defines a voltage probe for simulation, connected to a port or a net"