circuit-json 0.0.312 → 0.0.313
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 +3 -0
- package/dist/index.d.mts +36 -0
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2597,6 +2597,7 @@ interface SchematicVoltageProbe {
|
|
|
2597
2597
|
schematic_trace_id: string
|
|
2598
2598
|
voltage?: number
|
|
2599
2599
|
subcircuit_id?: string
|
|
2600
|
+
color?: string
|
|
2600
2601
|
}
|
|
2601
2602
|
```
|
|
2602
2603
|
|
|
@@ -2651,6 +2652,7 @@ interface SimulationTransientVoltageGraph {
|
|
|
2651
2652
|
start_time_ms: number
|
|
2652
2653
|
end_time_ms: number
|
|
2653
2654
|
name?: string
|
|
2655
|
+
color?: string
|
|
2654
2656
|
}
|
|
2655
2657
|
```
|
|
2656
2658
|
|
|
@@ -2687,6 +2689,7 @@ interface SimulationVoltageProbe {
|
|
|
2687
2689
|
source_port_id?: string
|
|
2688
2690
|
source_net_id?: string
|
|
2689
2691
|
subcircuit_id?: string
|
|
2692
|
+
color?: string
|
|
2690
2693
|
}
|
|
2691
2694
|
```
|
|
2692
2695
|
|
package/dist/index.d.mts
CHANGED
|
@@ -8718,6 +8718,7 @@ interface SchematicVoltageProbe {
|
|
|
8718
8718
|
schematic_trace_id: string;
|
|
8719
8719
|
voltage?: number;
|
|
8720
8720
|
subcircuit_id?: string;
|
|
8721
|
+
color?: string;
|
|
8721
8722
|
}
|
|
8722
8723
|
declare const schematic_voltage_probe: z.ZodObject<{
|
|
8723
8724
|
type: z.ZodLiteral<"schematic_voltage_probe">;
|
|
@@ -8736,6 +8737,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
8736
8737
|
schematic_trace_id: z.ZodString;
|
|
8737
8738
|
voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8738
8739
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8740
|
+
color: z.ZodOptional<z.ZodString>;
|
|
8739
8741
|
}, "strip", z.ZodTypeAny, {
|
|
8740
8742
|
type: "schematic_voltage_probe";
|
|
8741
8743
|
schematic_trace_id: string;
|
|
@@ -8746,6 +8748,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
8746
8748
|
schematic_voltage_probe_id: string;
|
|
8747
8749
|
source_component_id?: string | undefined;
|
|
8748
8750
|
subcircuit_id?: string | undefined;
|
|
8751
|
+
color?: string | undefined;
|
|
8749
8752
|
voltage?: number | undefined;
|
|
8750
8753
|
}, {
|
|
8751
8754
|
type: "schematic_voltage_probe";
|
|
@@ -8757,6 +8760,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
|
|
|
8757
8760
|
schematic_voltage_probe_id: string;
|
|
8758
8761
|
source_component_id?: string | undefined;
|
|
8759
8762
|
subcircuit_id?: string | undefined;
|
|
8763
|
+
color?: string | undefined;
|
|
8760
8764
|
voltage?: string | number | undefined;
|
|
8761
8765
|
}>;
|
|
8762
8766
|
type SchematicVoltageProbeInput = z.input<typeof schematic_voltage_probe>;
|
|
@@ -9286,6 +9290,7 @@ interface SimulationTransientVoltageGraph {
|
|
|
9286
9290
|
start_time_ms: number;
|
|
9287
9291
|
end_time_ms: number;
|
|
9288
9292
|
name?: string;
|
|
9293
|
+
color?: string;
|
|
9289
9294
|
}
|
|
9290
9295
|
declare const simulation_transient_voltage_graph: z.ZodObject<{
|
|
9291
9296
|
type: z.ZodLiteral<"simulation_transient_voltage_graph">;
|
|
@@ -9299,6 +9304,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
|
|
|
9299
9304
|
start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9300
9305
|
end_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9301
9306
|
name: z.ZodOptional<z.ZodString>;
|
|
9307
|
+
color: z.ZodOptional<z.ZodString>;
|
|
9302
9308
|
}, "strip", z.ZodTypeAny, {
|
|
9303
9309
|
type: "simulation_transient_voltage_graph";
|
|
9304
9310
|
simulation_experiment_id: string;
|
|
@@ -9310,6 +9316,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
|
|
|
9310
9316
|
name?: string | undefined;
|
|
9311
9317
|
source_component_id?: string | undefined;
|
|
9312
9318
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
9319
|
+
color?: string | undefined;
|
|
9313
9320
|
timestamps_ms?: number[] | undefined;
|
|
9314
9321
|
}, {
|
|
9315
9322
|
type: "simulation_transient_voltage_graph";
|
|
@@ -9321,6 +9328,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
|
|
|
9321
9328
|
name?: string | undefined;
|
|
9322
9329
|
source_component_id?: string | undefined;
|
|
9323
9330
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
9331
|
+
color?: string | undefined;
|
|
9324
9332
|
simulation_transient_voltage_graph_id?: string | undefined;
|
|
9325
9333
|
timestamps_ms?: number[] | undefined;
|
|
9326
9334
|
}>;
|
|
@@ -9369,6 +9377,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
|
|
|
9369
9377
|
source_port_id: z.ZodOptional<z.ZodString>;
|
|
9370
9378
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
9371
9379
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9380
|
+
color: z.ZodOptional<z.ZodString>;
|
|
9372
9381
|
}, "strip", z.ZodTypeAny, {
|
|
9373
9382
|
type: "simulation_voltage_probe";
|
|
9374
9383
|
simulation_voltage_probe_id: string;
|
|
@@ -9376,12 +9385,14 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
|
|
|
9376
9385
|
subcircuit_id?: string | undefined;
|
|
9377
9386
|
source_port_id?: string | undefined;
|
|
9378
9387
|
source_net_id?: string | undefined;
|
|
9388
|
+
color?: string | undefined;
|
|
9379
9389
|
}, {
|
|
9380
9390
|
type: "simulation_voltage_probe";
|
|
9381
9391
|
source_component_id?: string | undefined;
|
|
9382
9392
|
subcircuit_id?: string | undefined;
|
|
9383
9393
|
source_port_id?: string | undefined;
|
|
9384
9394
|
source_net_id?: string | undefined;
|
|
9395
|
+
color?: string | undefined;
|
|
9385
9396
|
simulation_voltage_probe_id?: string | undefined;
|
|
9386
9397
|
}>, {
|
|
9387
9398
|
type: "simulation_voltage_probe";
|
|
@@ -9390,12 +9401,14 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
|
|
|
9390
9401
|
subcircuit_id?: string | undefined;
|
|
9391
9402
|
source_port_id?: string | undefined;
|
|
9392
9403
|
source_net_id?: string | undefined;
|
|
9404
|
+
color?: string | undefined;
|
|
9393
9405
|
}, {
|
|
9394
9406
|
type: "simulation_voltage_probe";
|
|
9395
9407
|
source_component_id?: string | undefined;
|
|
9396
9408
|
subcircuit_id?: string | undefined;
|
|
9397
9409
|
source_port_id?: string | undefined;
|
|
9398
9410
|
source_net_id?: string | undefined;
|
|
9411
|
+
color?: string | undefined;
|
|
9399
9412
|
simulation_voltage_probe_id?: string | undefined;
|
|
9400
9413
|
}>;
|
|
9401
9414
|
type SimulationVoltageProbeInput = z.input<typeof simulation_voltage_probe>;
|
|
@@ -9409,6 +9422,7 @@ interface SimulationVoltageProbe {
|
|
|
9409
9422
|
source_port_id?: string;
|
|
9410
9423
|
source_net_id?: string;
|
|
9411
9424
|
subcircuit_id?: string;
|
|
9425
|
+
color?: string;
|
|
9412
9426
|
}
|
|
9413
9427
|
|
|
9414
9428
|
declare const simulation_unknown_experiment_error: z.ZodObject<{
|
|
@@ -19519,6 +19533,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19519
19533
|
schematic_trace_id: z.ZodString;
|
|
19520
19534
|
voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19521
19535
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
19536
|
+
color: z.ZodOptional<z.ZodString>;
|
|
19522
19537
|
}, "strip", z.ZodTypeAny, {
|
|
19523
19538
|
type: "schematic_voltage_probe";
|
|
19524
19539
|
schematic_trace_id: string;
|
|
@@ -19529,6 +19544,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19529
19544
|
schematic_voltage_probe_id: string;
|
|
19530
19545
|
source_component_id?: string | undefined;
|
|
19531
19546
|
subcircuit_id?: string | undefined;
|
|
19547
|
+
color?: string | undefined;
|
|
19532
19548
|
voltage?: number | undefined;
|
|
19533
19549
|
}, {
|
|
19534
19550
|
type: "schematic_voltage_probe";
|
|
@@ -19540,6 +19556,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19540
19556
|
schematic_voltage_probe_id: string;
|
|
19541
19557
|
source_component_id?: string | undefined;
|
|
19542
19558
|
subcircuit_id?: string | undefined;
|
|
19559
|
+
color?: string | undefined;
|
|
19543
19560
|
voltage?: string | number | undefined;
|
|
19544
19561
|
}>, z.ZodObject<{
|
|
19545
19562
|
type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
|
|
@@ -19983,6 +20000,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19983
20000
|
start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
19984
20001
|
end_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
19985
20002
|
name: z.ZodOptional<z.ZodString>;
|
|
20003
|
+
color: z.ZodOptional<z.ZodString>;
|
|
19986
20004
|
}, "strip", z.ZodTypeAny, {
|
|
19987
20005
|
type: "simulation_transient_voltage_graph";
|
|
19988
20006
|
simulation_experiment_id: string;
|
|
@@ -19994,6 +20012,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19994
20012
|
name?: string | undefined;
|
|
19995
20013
|
source_component_id?: string | undefined;
|
|
19996
20014
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
20015
|
+
color?: string | undefined;
|
|
19997
20016
|
timestamps_ms?: number[] | undefined;
|
|
19998
20017
|
}, {
|
|
19999
20018
|
type: "simulation_transient_voltage_graph";
|
|
@@ -20005,6 +20024,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20005
20024
|
name?: string | undefined;
|
|
20006
20025
|
source_component_id?: string | undefined;
|
|
20007
20026
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
20027
|
+
color?: string | undefined;
|
|
20008
20028
|
simulation_transient_voltage_graph_id?: string | undefined;
|
|
20009
20029
|
timestamps_ms?: number[] | undefined;
|
|
20010
20030
|
}>, z.ZodObject<{
|
|
@@ -20038,6 +20058,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20038
20058
|
source_port_id: z.ZodOptional<z.ZodString>;
|
|
20039
20059
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
20040
20060
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
20061
|
+
color: z.ZodOptional<z.ZodString>;
|
|
20041
20062
|
}, "strip", z.ZodTypeAny, {
|
|
20042
20063
|
type: "simulation_voltage_probe";
|
|
20043
20064
|
simulation_voltage_probe_id: string;
|
|
@@ -20045,12 +20066,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20045
20066
|
subcircuit_id?: string | undefined;
|
|
20046
20067
|
source_port_id?: string | undefined;
|
|
20047
20068
|
source_net_id?: string | undefined;
|
|
20069
|
+
color?: string | undefined;
|
|
20048
20070
|
}, {
|
|
20049
20071
|
type: "simulation_voltage_probe";
|
|
20050
20072
|
source_component_id?: string | undefined;
|
|
20051
20073
|
subcircuit_id?: string | undefined;
|
|
20052
20074
|
source_port_id?: string | undefined;
|
|
20053
20075
|
source_net_id?: string | undefined;
|
|
20076
|
+
color?: string | undefined;
|
|
20054
20077
|
simulation_voltage_probe_id?: string | undefined;
|
|
20055
20078
|
}>, {
|
|
20056
20079
|
type: "simulation_voltage_probe";
|
|
@@ -20059,12 +20082,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20059
20082
|
subcircuit_id?: string | undefined;
|
|
20060
20083
|
source_port_id?: string | undefined;
|
|
20061
20084
|
source_net_id?: string | undefined;
|
|
20085
|
+
color?: string | undefined;
|
|
20062
20086
|
}, {
|
|
20063
20087
|
type: "simulation_voltage_probe";
|
|
20064
20088
|
source_component_id?: string | undefined;
|
|
20065
20089
|
subcircuit_id?: string | undefined;
|
|
20066
20090
|
source_port_id?: string | undefined;
|
|
20067
20091
|
source_net_id?: string | undefined;
|
|
20092
|
+
color?: string | undefined;
|
|
20068
20093
|
simulation_voltage_probe_id?: string | undefined;
|
|
20069
20094
|
}>, z.ZodObject<{
|
|
20070
20095
|
type: z.ZodLiteral<"simulation_unknown_experiment_error">;
|
|
@@ -27262,6 +27287,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27262
27287
|
schematic_trace_id: z.ZodString;
|
|
27263
27288
|
voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
27264
27289
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
27290
|
+
color: z.ZodOptional<z.ZodString>;
|
|
27265
27291
|
}, "strip", z.ZodTypeAny, {
|
|
27266
27292
|
type: "schematic_voltage_probe";
|
|
27267
27293
|
schematic_trace_id: string;
|
|
@@ -27272,6 +27298,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27272
27298
|
schematic_voltage_probe_id: string;
|
|
27273
27299
|
source_component_id?: string | undefined;
|
|
27274
27300
|
subcircuit_id?: string | undefined;
|
|
27301
|
+
color?: string | undefined;
|
|
27275
27302
|
voltage?: number | undefined;
|
|
27276
27303
|
}, {
|
|
27277
27304
|
type: "schematic_voltage_probe";
|
|
@@ -27283,6 +27310,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27283
27310
|
schematic_voltage_probe_id: string;
|
|
27284
27311
|
source_component_id?: string | undefined;
|
|
27285
27312
|
subcircuit_id?: string | undefined;
|
|
27313
|
+
color?: string | undefined;
|
|
27286
27314
|
voltage?: string | number | undefined;
|
|
27287
27315
|
}>, z.ZodObject<{
|
|
27288
27316
|
type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
|
|
@@ -27726,6 +27754,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27726
27754
|
start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
27727
27755
|
end_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
27728
27756
|
name: z.ZodOptional<z.ZodString>;
|
|
27757
|
+
color: z.ZodOptional<z.ZodString>;
|
|
27729
27758
|
}, "strip", z.ZodTypeAny, {
|
|
27730
27759
|
type: "simulation_transient_voltage_graph";
|
|
27731
27760
|
simulation_experiment_id: string;
|
|
@@ -27737,6 +27766,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27737
27766
|
name?: string | undefined;
|
|
27738
27767
|
source_component_id?: string | undefined;
|
|
27739
27768
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
27769
|
+
color?: string | undefined;
|
|
27740
27770
|
timestamps_ms?: number[] | undefined;
|
|
27741
27771
|
}, {
|
|
27742
27772
|
type: "simulation_transient_voltage_graph";
|
|
@@ -27748,6 +27778,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27748
27778
|
name?: string | undefined;
|
|
27749
27779
|
source_component_id?: string | undefined;
|
|
27750
27780
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
27781
|
+
color?: string | undefined;
|
|
27751
27782
|
simulation_transient_voltage_graph_id?: string | undefined;
|
|
27752
27783
|
timestamps_ms?: number[] | undefined;
|
|
27753
27784
|
}>, z.ZodObject<{
|
|
@@ -27781,6 +27812,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27781
27812
|
source_port_id: z.ZodOptional<z.ZodString>;
|
|
27782
27813
|
source_net_id: z.ZodOptional<z.ZodString>;
|
|
27783
27814
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
27815
|
+
color: z.ZodOptional<z.ZodString>;
|
|
27784
27816
|
}, "strip", z.ZodTypeAny, {
|
|
27785
27817
|
type: "simulation_voltage_probe";
|
|
27786
27818
|
simulation_voltage_probe_id: string;
|
|
@@ -27788,12 +27820,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27788
27820
|
subcircuit_id?: string | undefined;
|
|
27789
27821
|
source_port_id?: string | undefined;
|
|
27790
27822
|
source_net_id?: string | undefined;
|
|
27823
|
+
color?: string | undefined;
|
|
27791
27824
|
}, {
|
|
27792
27825
|
type: "simulation_voltage_probe";
|
|
27793
27826
|
source_component_id?: string | undefined;
|
|
27794
27827
|
subcircuit_id?: string | undefined;
|
|
27795
27828
|
source_port_id?: string | undefined;
|
|
27796
27829
|
source_net_id?: string | undefined;
|
|
27830
|
+
color?: string | undefined;
|
|
27797
27831
|
simulation_voltage_probe_id?: string | undefined;
|
|
27798
27832
|
}>, {
|
|
27799
27833
|
type: "simulation_voltage_probe";
|
|
@@ -27802,12 +27836,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
27802
27836
|
subcircuit_id?: string | undefined;
|
|
27803
27837
|
source_port_id?: string | undefined;
|
|
27804
27838
|
source_net_id?: string | undefined;
|
|
27839
|
+
color?: string | undefined;
|
|
27805
27840
|
}, {
|
|
27806
27841
|
type: "simulation_voltage_probe";
|
|
27807
27842
|
source_component_id?: string | undefined;
|
|
27808
27843
|
subcircuit_id?: string | undefined;
|
|
27809
27844
|
source_port_id?: string | undefined;
|
|
27810
27845
|
source_net_id?: string | undefined;
|
|
27846
|
+
color?: string | undefined;
|
|
27811
27847
|
simulation_voltage_probe_id?: string | undefined;
|
|
27812
27848
|
}>, z.ZodObject<{
|
|
27813
27849
|
type: z.ZodLiteral<"simulation_unknown_experiment_error">;
|
package/dist/index.mjs
CHANGED
|
@@ -1136,7 +1136,8 @@ var schematic_voltage_probe = z61.object({
|
|
|
1136
1136
|
position: point,
|
|
1137
1137
|
schematic_trace_id: z61.string(),
|
|
1138
1138
|
voltage: voltage.optional(),
|
|
1139
|
-
subcircuit_id: z61.string().optional()
|
|
1139
|
+
subcircuit_id: z61.string().optional(),
|
|
1140
|
+
color: z61.string().optional()
|
|
1140
1141
|
}).describe("Defines a voltage probe measurement point on a schematic trace");
|
|
1141
1142
|
expectTypesMatch(true);
|
|
1142
1143
|
|
|
@@ -2803,7 +2804,8 @@ var simulation_transient_voltage_graph = z127.object({
|
|
|
2803
2804
|
time_per_step: duration_ms,
|
|
2804
2805
|
start_time_ms: ms,
|
|
2805
2806
|
end_time_ms: ms,
|
|
2806
|
-
name: z127.string().optional()
|
|
2807
|
+
name: z127.string().optional(),
|
|
2808
|
+
color: z127.string().optional()
|
|
2807
2809
|
}).describe("Stores voltage measurements over time for a simulation");
|
|
2808
2810
|
expectTypesMatch(true);
|
|
2809
2811
|
|
|
@@ -2830,7 +2832,8 @@ var simulation_voltage_probe = z129.object({
|
|
|
2830
2832
|
source_component_id: z129.string().optional(),
|
|
2831
2833
|
source_port_id: z129.string().optional(),
|
|
2832
2834
|
source_net_id: z129.string().optional(),
|
|
2833
|
-
subcircuit_id: z129.string().optional()
|
|
2835
|
+
subcircuit_id: z129.string().optional(),
|
|
2836
|
+
color: z129.string().optional()
|
|
2834
2837
|
}).describe(
|
|
2835
2838
|
"Defines a voltage probe for simulation, connected to a port or a net"
|
|
2836
2839
|
).refine(
|