circuit-json 0.0.287 → 0.0.288
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 +1 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -11359,6 +11359,7 @@ type SimulationTransientVoltageGraphInput = z.input<typeof simulation_transient_
|
|
|
11359
11359
|
declare const simulation_switch: z.ZodObject<{
|
|
11360
11360
|
type: z.ZodLiteral<"simulation_switch">;
|
|
11361
11361
|
simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11362
|
+
source_component_id: z.ZodOptional<z.ZodString>;
|
|
11362
11363
|
closes_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11363
11364
|
opens_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11364
11365
|
starts_closed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11366,12 +11367,14 @@ declare const simulation_switch: z.ZodObject<{
|
|
|
11366
11367
|
}, "strip", z.ZodTypeAny, {
|
|
11367
11368
|
type: "simulation_switch";
|
|
11368
11369
|
simulation_switch_id: string;
|
|
11370
|
+
source_component_id?: string | undefined;
|
|
11369
11371
|
closes_at?: number | undefined;
|
|
11370
11372
|
opens_at?: number | undefined;
|
|
11371
11373
|
starts_closed?: boolean | undefined;
|
|
11372
11374
|
switching_frequency?: number | undefined;
|
|
11373
11375
|
}, {
|
|
11374
11376
|
type: "simulation_switch";
|
|
11377
|
+
source_component_id?: string | undefined;
|
|
11375
11378
|
simulation_switch_id?: string | undefined;
|
|
11376
11379
|
closes_at?: string | number | undefined;
|
|
11377
11380
|
opens_at?: string | number | undefined;
|
|
@@ -11382,6 +11385,7 @@ type SimulationSwitchInput = z.input<typeof simulation_switch>;
|
|
|
11382
11385
|
interface SimulationSwitch {
|
|
11383
11386
|
type: "simulation_switch";
|
|
11384
11387
|
simulation_switch_id: string;
|
|
11388
|
+
source_component_id?: string;
|
|
11385
11389
|
closes_at?: number;
|
|
11386
11390
|
opens_at?: number;
|
|
11387
11391
|
starts_closed?: boolean;
|
|
@@ -18597,6 +18601,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18597
18601
|
}>, z.ZodObject<{
|
|
18598
18602
|
type: z.ZodLiteral<"simulation_switch">;
|
|
18599
18603
|
simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
18604
|
+
source_component_id: z.ZodOptional<z.ZodString>;
|
|
18600
18605
|
closes_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18601
18606
|
opens_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18602
18607
|
starts_closed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -18604,12 +18609,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18604
18609
|
}, "strip", z.ZodTypeAny, {
|
|
18605
18610
|
type: "simulation_switch";
|
|
18606
18611
|
simulation_switch_id: string;
|
|
18612
|
+
source_component_id?: string | undefined;
|
|
18607
18613
|
closes_at?: number | undefined;
|
|
18608
18614
|
opens_at?: number | undefined;
|
|
18609
18615
|
starts_closed?: boolean | undefined;
|
|
18610
18616
|
switching_frequency?: number | undefined;
|
|
18611
18617
|
}, {
|
|
18612
18618
|
type: "simulation_switch";
|
|
18619
|
+
source_component_id?: string | undefined;
|
|
18613
18620
|
simulation_switch_id?: string | undefined;
|
|
18614
18621
|
closes_at?: string | number | undefined;
|
|
18615
18622
|
opens_at?: string | number | undefined;
|
|
@@ -25814,6 +25821,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25814
25821
|
}>, z.ZodObject<{
|
|
25815
25822
|
type: z.ZodLiteral<"simulation_switch">;
|
|
25816
25823
|
simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25824
|
+
source_component_id: z.ZodOptional<z.ZodString>;
|
|
25817
25825
|
closes_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25818
25826
|
opens_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25819
25827
|
starts_closed: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -25821,12 +25829,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25821
25829
|
}, "strip", z.ZodTypeAny, {
|
|
25822
25830
|
type: "simulation_switch";
|
|
25823
25831
|
simulation_switch_id: string;
|
|
25832
|
+
source_component_id?: string | undefined;
|
|
25824
25833
|
closes_at?: number | undefined;
|
|
25825
25834
|
opens_at?: number | undefined;
|
|
25826
25835
|
starts_closed?: boolean | undefined;
|
|
25827
25836
|
switching_frequency?: number | undefined;
|
|
25828
25837
|
}, {
|
|
25829
25838
|
type: "simulation_switch";
|
|
25839
|
+
source_component_id?: string | undefined;
|
|
25830
25840
|
simulation_switch_id?: string | undefined;
|
|
25831
25841
|
closes_at?: string | number | undefined;
|
|
25832
25842
|
opens_at?: string | number | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -2636,6 +2636,7 @@ import { z as z123 } from "zod";
|
|
|
2636
2636
|
var simulation_switch = z123.object({
|
|
2637
2637
|
type: z123.literal("simulation_switch"),
|
|
2638
2638
|
simulation_switch_id: getZodPrefixedIdWithDefault("simulation_switch"),
|
|
2639
|
+
source_component_id: z123.string().optional(),
|
|
2639
2640
|
closes_at: ms.optional(),
|
|
2640
2641
|
opens_at: ms.optional(),
|
|
2641
2642
|
starts_closed: z123.boolean().optional(),
|