circuit-json 0.0.230 → 0.0.232

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
@@ -1815,17 +1815,38 @@ interface SchematicVoltageProbe {
1815
1815
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_voltage_source.ts)
1816
1816
 
1817
1817
  ```typescript
1818
- /** Defines a voltage source for simulation purposes. It applies a voltage
1818
+ type SimulationVoltageSource =
1819
+ | SimulationDcVoltageSource
1820
+ | SimulationAcVoltageSource
1821
+
1822
+ /** Defines a DC voltage source for simulation purposes. It applies a voltage
1819
1823
  * difference between two source ports. */
1820
- interface SimulationVoltageSource {
1824
+ interface SimulationDcVoltageSource {
1821
1825
  type: "simulation_voltage_source"
1822
1826
  simulation_voltage_source_id: string
1823
- positive_source_port_id: string
1824
- positive_source_net_id: string
1825
- negative_source_port_id: string
1826
- negative_source_net_id: string
1827
+ is_dc_source: true
1828
+ positive_source_port_id?: string
1829
+ positive_source_net_id?: string
1830
+ negative_source_port_id?: string
1831
+ negative_source_net_id?: string
1827
1832
  voltage: number
1828
1833
  }
1834
+
1835
+ /** Defines an AC voltage source for simulation purposes. */
1836
+ interface SimulationAcVoltageSource {
1837
+ type: "simulation_voltage_source"
1838
+ simulation_voltage_source_id: string
1839
+ is_dc_source: false
1840
+ terminal1_source_port_id?: string
1841
+ terminal2_source_port_id?: string
1842
+ terminal1_source_net_id?: string
1843
+ terminal2_source_net_id?: string
1844
+ voltage?: number
1845
+ frequency?: number
1846
+ peak_to_peak_voltage?: number
1847
+ wave_shape?: WaveShape
1848
+ phase?: number
1849
+ }
1829
1850
  ```
1830
1851
 
1831
1852
  <!-- circuit-json-docs:end -->
package/dist/index.d.mts CHANGED
@@ -8333,45 +8333,176 @@ interface CadComponent {
8333
8333
  model_jscad?: any;
8334
8334
  }
8335
8335
 
8336
- declare const simulation_voltage_source: z.ZodObject<{
8336
+ declare const wave_shape: z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>;
8337
+ type WaveShape = z.infer<typeof wave_shape>;
8338
+ declare const simulation_dc_voltage_source: z.ZodObject<{
8337
8339
  type: z.ZodLiteral<"simulation_voltage_source">;
8338
8340
  simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8339
- positive_source_port_id: z.ZodString;
8340
- negative_source_port_id: z.ZodString;
8341
- positive_source_net_id: z.ZodString;
8342
- negative_source_net_id: z.ZodString;
8341
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
8342
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
8343
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
8344
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
8345
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
8343
8346
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8344
8347
  }, "strip", z.ZodTypeAny, {
8345
8348
  type: "simulation_voltage_source";
8346
8349
  voltage: number;
8347
8350
  simulation_voltage_source_id: string;
8348
- positive_source_port_id: string;
8349
- negative_source_port_id: string;
8350
- positive_source_net_id: string;
8351
- negative_source_net_id: string;
8351
+ is_dc_source: true;
8352
+ positive_source_port_id?: string | undefined;
8353
+ negative_source_port_id?: string | undefined;
8354
+ positive_source_net_id?: string | undefined;
8355
+ negative_source_net_id?: string | undefined;
8352
8356
  }, {
8353
8357
  type: "simulation_voltage_source";
8354
8358
  voltage: string | number;
8355
- positive_source_port_id: string;
8356
- negative_source_port_id: string;
8357
- positive_source_net_id: string;
8358
- negative_source_net_id: string;
8359
8359
  simulation_voltage_source_id?: string | undefined;
8360
+ is_dc_source?: true | undefined;
8361
+ positive_source_port_id?: string | undefined;
8362
+ negative_source_port_id?: string | undefined;
8363
+ positive_source_net_id?: string | undefined;
8364
+ negative_source_net_id?: string | undefined;
8360
8365
  }>;
8366
+ declare const simulation_ac_voltage_source: z.ZodObject<{
8367
+ type: z.ZodLiteral<"simulation_voltage_source">;
8368
+ simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8369
+ is_dc_source: z.ZodLiteral<false>;
8370
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
8371
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
8372
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
8373
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
8374
+ voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8375
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8376
+ peak_to_peak_voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8377
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
8378
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8379
+ }, "strip", z.ZodTypeAny, {
8380
+ type: "simulation_voltage_source";
8381
+ simulation_voltage_source_id: string;
8382
+ is_dc_source: false;
8383
+ voltage?: number | undefined;
8384
+ frequency?: number | undefined;
8385
+ terminal1_source_port_id?: string | undefined;
8386
+ terminal2_source_port_id?: string | undefined;
8387
+ terminal1_source_net_id?: string | undefined;
8388
+ terminal2_source_net_id?: string | undefined;
8389
+ peak_to_peak_voltage?: number | undefined;
8390
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
8391
+ phase?: number | undefined;
8392
+ }, {
8393
+ type: "simulation_voltage_source";
8394
+ is_dc_source: false;
8395
+ voltage?: string | number | undefined;
8396
+ frequency?: string | number | undefined;
8397
+ simulation_voltage_source_id?: string | undefined;
8398
+ terminal1_source_port_id?: string | undefined;
8399
+ terminal2_source_port_id?: string | undefined;
8400
+ terminal1_source_net_id?: string | undefined;
8401
+ terminal2_source_net_id?: string | undefined;
8402
+ peak_to_peak_voltage?: string | number | undefined;
8403
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
8404
+ phase?: string | number | undefined;
8405
+ }>;
8406
+ declare const simulation_voltage_source: z.ZodUnion<[z.ZodObject<{
8407
+ type: z.ZodLiteral<"simulation_voltage_source">;
8408
+ simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8409
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
8410
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
8411
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
8412
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
8413
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
8414
+ voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8415
+ }, "strip", z.ZodTypeAny, {
8416
+ type: "simulation_voltage_source";
8417
+ voltage: number;
8418
+ simulation_voltage_source_id: string;
8419
+ is_dc_source: true;
8420
+ positive_source_port_id?: string | undefined;
8421
+ negative_source_port_id?: string | undefined;
8422
+ positive_source_net_id?: string | undefined;
8423
+ negative_source_net_id?: string | undefined;
8424
+ }, {
8425
+ type: "simulation_voltage_source";
8426
+ voltage: string | number;
8427
+ simulation_voltage_source_id?: string | undefined;
8428
+ is_dc_source?: true | undefined;
8429
+ positive_source_port_id?: string | undefined;
8430
+ negative_source_port_id?: string | undefined;
8431
+ positive_source_net_id?: string | undefined;
8432
+ negative_source_net_id?: string | undefined;
8433
+ }>, z.ZodObject<{
8434
+ type: z.ZodLiteral<"simulation_voltage_source">;
8435
+ simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
8436
+ is_dc_source: z.ZodLiteral<false>;
8437
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
8438
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
8439
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
8440
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
8441
+ voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8442
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8443
+ peak_to_peak_voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8444
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
8445
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8446
+ }, "strip", z.ZodTypeAny, {
8447
+ type: "simulation_voltage_source";
8448
+ simulation_voltage_source_id: string;
8449
+ is_dc_source: false;
8450
+ voltage?: number | undefined;
8451
+ frequency?: number | undefined;
8452
+ terminal1_source_port_id?: string | undefined;
8453
+ terminal2_source_port_id?: string | undefined;
8454
+ terminal1_source_net_id?: string | undefined;
8455
+ terminal2_source_net_id?: string | undefined;
8456
+ peak_to_peak_voltage?: number | undefined;
8457
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
8458
+ phase?: number | undefined;
8459
+ }, {
8460
+ type: "simulation_voltage_source";
8461
+ is_dc_source: false;
8462
+ voltage?: string | number | undefined;
8463
+ frequency?: string | number | undefined;
8464
+ simulation_voltage_source_id?: string | undefined;
8465
+ terminal1_source_port_id?: string | undefined;
8466
+ terminal2_source_port_id?: string | undefined;
8467
+ terminal1_source_net_id?: string | undefined;
8468
+ terminal2_source_net_id?: string | undefined;
8469
+ peak_to_peak_voltage?: string | number | undefined;
8470
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
8471
+ phase?: string | number | undefined;
8472
+ }>]>;
8361
8473
  type SimulationVoltageSourceInput = z.input<typeof simulation_voltage_source>;
8362
8474
  /**
8363
- * Defines a voltage source for simulation purposes. It applies a voltage
8475
+ * Defines a DC voltage source for simulation purposes. It applies a voltage
8364
8476
  * difference between two source ports.
8365
8477
  */
8366
- interface SimulationVoltageSource {
8478
+ interface SimulationDcVoltageSource {
8367
8479
  type: "simulation_voltage_source";
8368
8480
  simulation_voltage_source_id: string;
8369
- positive_source_port_id: string;
8370
- positive_source_net_id: string;
8371
- negative_source_port_id: string;
8372
- negative_source_net_id: string;
8481
+ is_dc_source: true;
8482
+ positive_source_port_id?: string;
8483
+ positive_source_net_id?: string;
8484
+ negative_source_port_id?: string;
8485
+ negative_source_net_id?: string;
8373
8486
  voltage: number;
8374
8487
  }
8488
+ /**
8489
+ * Defines an AC voltage source for simulation purposes.
8490
+ */
8491
+ interface SimulationAcVoltageSource {
8492
+ type: "simulation_voltage_source";
8493
+ simulation_voltage_source_id: string;
8494
+ is_dc_source: false;
8495
+ terminal1_source_port_id?: string;
8496
+ terminal2_source_port_id?: string;
8497
+ terminal1_source_net_id?: string;
8498
+ terminal2_source_net_id?: string;
8499
+ voltage?: number;
8500
+ frequency?: number;
8501
+ peak_to_peak_voltage?: number;
8502
+ wave_shape?: WaveShape;
8503
+ phase?: number;
8504
+ }
8505
+ type SimulationVoltageSource = SimulationDcVoltageSource | SimulationAcVoltageSource;
8375
8506
 
8376
8507
  declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8377
8508
  type: z.ZodLiteral<"source_trace">;
@@ -13781,31 +13912,73 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13781
13912
  model_stl_url?: string | undefined;
13782
13913
  model_3mf_url?: string | undefined;
13783
13914
  model_jscad?: any;
13784
- }>, z.ZodObject<{
13915
+ }>, z.ZodUnion<[z.ZodObject<{
13785
13916
  type: z.ZodLiteral<"simulation_voltage_source">;
13786
13917
  simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13787
- positive_source_port_id: z.ZodString;
13788
- negative_source_port_id: z.ZodString;
13789
- positive_source_net_id: z.ZodString;
13790
- negative_source_net_id: z.ZodString;
13918
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
13919
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
13920
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
13921
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
13922
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
13791
13923
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13792
13924
  }, "strip", z.ZodTypeAny, {
13793
13925
  type: "simulation_voltage_source";
13794
13926
  voltage: number;
13795
13927
  simulation_voltage_source_id: string;
13796
- positive_source_port_id: string;
13797
- negative_source_port_id: string;
13798
- positive_source_net_id: string;
13799
- negative_source_net_id: string;
13928
+ is_dc_source: true;
13929
+ positive_source_port_id?: string | undefined;
13930
+ negative_source_port_id?: string | undefined;
13931
+ positive_source_net_id?: string | undefined;
13932
+ negative_source_net_id?: string | undefined;
13800
13933
  }, {
13801
13934
  type: "simulation_voltage_source";
13802
13935
  voltage: string | number;
13803
- positive_source_port_id: string;
13804
- negative_source_port_id: string;
13805
- positive_source_net_id: string;
13806
- negative_source_net_id: string;
13807
13936
  simulation_voltage_source_id?: string | undefined;
13808
- }>]>;
13937
+ is_dc_source?: true | undefined;
13938
+ positive_source_port_id?: string | undefined;
13939
+ negative_source_port_id?: string | undefined;
13940
+ positive_source_net_id?: string | undefined;
13941
+ negative_source_net_id?: string | undefined;
13942
+ }>, z.ZodObject<{
13943
+ type: z.ZodLiteral<"simulation_voltage_source">;
13944
+ simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
13945
+ is_dc_source: z.ZodLiteral<false>;
13946
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
13947
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
13948
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
13949
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
13950
+ voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
13951
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
13952
+ peak_to_peak_voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
13953
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
13954
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
13955
+ }, "strip", z.ZodTypeAny, {
13956
+ type: "simulation_voltage_source";
13957
+ simulation_voltage_source_id: string;
13958
+ is_dc_source: false;
13959
+ voltage?: number | undefined;
13960
+ frequency?: number | undefined;
13961
+ terminal1_source_port_id?: string | undefined;
13962
+ terminal2_source_port_id?: string | undefined;
13963
+ terminal1_source_net_id?: string | undefined;
13964
+ terminal2_source_net_id?: string | undefined;
13965
+ peak_to_peak_voltage?: number | undefined;
13966
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
13967
+ phase?: number | undefined;
13968
+ }, {
13969
+ type: "simulation_voltage_source";
13970
+ is_dc_source: false;
13971
+ voltage?: string | number | undefined;
13972
+ frequency?: string | number | undefined;
13973
+ simulation_voltage_source_id?: string | undefined;
13974
+ terminal1_source_port_id?: string | undefined;
13975
+ terminal2_source_port_id?: string | undefined;
13976
+ terminal1_source_net_id?: string | undefined;
13977
+ terminal2_source_net_id?: string | undefined;
13978
+ peak_to_peak_voltage?: string | number | undefined;
13979
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
13980
+ phase?: string | number | undefined;
13981
+ }>]>]>;
13809
13982
  /**
13810
13983
  * @deprecated use any_circuit_element instead
13811
13984
  */
@@ -19217,31 +19390,73 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
19217
19390
  model_stl_url?: string | undefined;
19218
19391
  model_3mf_url?: string | undefined;
19219
19392
  model_jscad?: any;
19220
- }>, z.ZodObject<{
19393
+ }>, z.ZodUnion<[z.ZodObject<{
19221
19394
  type: z.ZodLiteral<"simulation_voltage_source">;
19222
19395
  simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19223
- positive_source_port_id: z.ZodString;
19224
- negative_source_port_id: z.ZodString;
19225
- positive_source_net_id: z.ZodString;
19226
- negative_source_net_id: z.ZodString;
19396
+ is_dc_source: z.ZodDefault<z.ZodOptional<z.ZodLiteral<true>>>;
19397
+ positive_source_port_id: z.ZodOptional<z.ZodString>;
19398
+ negative_source_port_id: z.ZodOptional<z.ZodString>;
19399
+ positive_source_net_id: z.ZodOptional<z.ZodString>;
19400
+ negative_source_net_id: z.ZodOptional<z.ZodString>;
19227
19401
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19228
19402
  }, "strip", z.ZodTypeAny, {
19229
19403
  type: "simulation_voltage_source";
19230
19404
  voltage: number;
19231
19405
  simulation_voltage_source_id: string;
19232
- positive_source_port_id: string;
19233
- negative_source_port_id: string;
19234
- positive_source_net_id: string;
19235
- negative_source_net_id: string;
19406
+ is_dc_source: true;
19407
+ positive_source_port_id?: string | undefined;
19408
+ negative_source_port_id?: string | undefined;
19409
+ positive_source_net_id?: string | undefined;
19410
+ negative_source_net_id?: string | undefined;
19236
19411
  }, {
19237
19412
  type: "simulation_voltage_source";
19238
19413
  voltage: string | number;
19239
- positive_source_port_id: string;
19240
- negative_source_port_id: string;
19241
- positive_source_net_id: string;
19242
- negative_source_net_id: string;
19243
19414
  simulation_voltage_source_id?: string | undefined;
19244
- }>]>;
19415
+ is_dc_source?: true | undefined;
19416
+ positive_source_port_id?: string | undefined;
19417
+ negative_source_port_id?: string | undefined;
19418
+ positive_source_net_id?: string | undefined;
19419
+ negative_source_net_id?: string | undefined;
19420
+ }>, z.ZodObject<{
19421
+ type: z.ZodLiteral<"simulation_voltage_source">;
19422
+ simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
19423
+ is_dc_source: z.ZodLiteral<false>;
19424
+ terminal1_source_port_id: z.ZodOptional<z.ZodString>;
19425
+ terminal2_source_port_id: z.ZodOptional<z.ZodString>;
19426
+ terminal1_source_net_id: z.ZodOptional<z.ZodString>;
19427
+ terminal2_source_net_id: z.ZodOptional<z.ZodString>;
19428
+ voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19429
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19430
+ peak_to_peak_voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19431
+ wave_shape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
19432
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19433
+ }, "strip", z.ZodTypeAny, {
19434
+ type: "simulation_voltage_source";
19435
+ simulation_voltage_source_id: string;
19436
+ is_dc_source: false;
19437
+ voltage?: number | undefined;
19438
+ frequency?: number | undefined;
19439
+ terminal1_source_port_id?: string | undefined;
19440
+ terminal2_source_port_id?: string | undefined;
19441
+ terminal1_source_net_id?: string | undefined;
19442
+ terminal2_source_net_id?: string | undefined;
19443
+ peak_to_peak_voltage?: number | undefined;
19444
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
19445
+ phase?: number | undefined;
19446
+ }, {
19447
+ type: "simulation_voltage_source";
19448
+ is_dc_source: false;
19449
+ voltage?: string | number | undefined;
19450
+ frequency?: string | number | undefined;
19451
+ simulation_voltage_source_id?: string | undefined;
19452
+ terminal1_source_port_id?: string | undefined;
19453
+ terminal2_source_port_id?: string | undefined;
19454
+ terminal1_source_net_id?: string | undefined;
19455
+ terminal2_source_net_id?: string | undefined;
19456
+ peak_to_peak_voltage?: string | number | undefined;
19457
+ wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
19458
+ phase?: string | number | undefined;
19459
+ }>]>]>;
19245
19460
  type AnyCircuitElement = z.infer<typeof any_circuit_element>;
19246
19461
  type AnyCircuitElementInput = z.input<typeof any_circuit_element>;
19247
19462
  /**
@@ -19258,4 +19473,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
19258
19473
  */
19259
19474
  type CircuitJson = AnyCircuitElement[];
19260
19475
 
19261
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_port, source_project_metadata, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage };
19476
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_port, source_project_metadata, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
package/dist/index.mjs CHANGED
@@ -280,9 +280,15 @@ expectTypesMatch(true);
280
280
 
281
281
  // src/common/getZodPrefixedIdWithDefault.ts
282
282
  import { z as z5 } from "zod";
283
- import { nanoid } from "nanoid";
283
+ var randomId = (length4) => {
284
+ const chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
285
+ return Array.from(
286
+ { length: length4 },
287
+ () => chars[Math.floor(Math.random() * chars.length)]
288
+ ).join("");
289
+ };
284
290
  var getZodPrefixedIdWithDefault = (prefix) => {
285
- return z5.string().optional().default(() => `${prefix}_${nanoid(10)}`);
291
+ return z5.string().optional().default(() => `${prefix}_${randomId(10)}`);
286
292
  };
287
293
 
288
294
  // src/common/NinePointAnchor.ts
@@ -1977,17 +1983,38 @@ expectTypesMatch(true);
1977
1983
 
1978
1984
  // src/simulation/simulation_voltage_source.ts
1979
1985
  import { z as z94 } from "zod";
1980
- var simulation_voltage_source = z94.object({
1986
+ var wave_shape = z94.enum(["sinewave", "square", "triangle", "sawtooth"]);
1987
+ var simulation_dc_voltage_source = z94.object({
1981
1988
  type: z94.literal("simulation_voltage_source"),
1982
1989
  simulation_voltage_source_id: getZodPrefixedIdWithDefault(
1983
1990
  "simulation_voltage_source"
1984
1991
  ),
1985
- positive_source_port_id: z94.string(),
1986
- negative_source_port_id: z94.string(),
1987
- positive_source_net_id: z94.string(),
1988
- negative_source_net_id: z94.string(),
1992
+ is_dc_source: z94.literal(true).optional().default(true),
1993
+ positive_source_port_id: z94.string().optional(),
1994
+ negative_source_port_id: z94.string().optional(),
1995
+ positive_source_net_id: z94.string().optional(),
1996
+ negative_source_net_id: z94.string().optional(),
1989
1997
  voltage
1990
- }).describe("Defines a voltage source for simulation");
1998
+ }).describe("Defines a DC voltage source for simulation");
1999
+ var simulation_ac_voltage_source = z94.object({
2000
+ type: z94.literal("simulation_voltage_source"),
2001
+ simulation_voltage_source_id: getZodPrefixedIdWithDefault(
2002
+ "simulation_voltage_source"
2003
+ ),
2004
+ is_dc_source: z94.literal(false),
2005
+ terminal1_source_port_id: z94.string().optional(),
2006
+ terminal2_source_port_id: z94.string().optional(),
2007
+ terminal1_source_net_id: z94.string().optional(),
2008
+ terminal2_source_net_id: z94.string().optional(),
2009
+ voltage: voltage.optional(),
2010
+ frequency: frequency.optional(),
2011
+ peak_to_peak_voltage: voltage.optional(),
2012
+ wave_shape: wave_shape.optional(),
2013
+ phase: rotation.optional()
2014
+ }).describe("Defines an AC voltage source for simulation");
2015
+ var simulation_voltage_source = z94.union([simulation_dc_voltage_source, simulation_ac_voltage_source]).describe("Defines a voltage source for simulation");
2016
+ expectTypesMatch(true);
2017
+ expectTypesMatch(true);
1991
2018
  expectTypesMatch(true);
1992
2019
 
1993
2020
  // src/any_circuit_element.ts
@@ -2168,6 +2195,8 @@ export {
2168
2195
  schematic_text,
2169
2196
  schematic_trace,
2170
2197
  schematic_voltage_probe,
2198
+ simulation_ac_voltage_source,
2199
+ simulation_dc_voltage_source,
2171
2200
  simulation_voltage_source,
2172
2201
  size,
2173
2202
  source_component_base,
@@ -2201,6 +2230,7 @@ export {
2201
2230
  supplier_name,
2202
2231
  time,
2203
2232
  visible_layer,
2204
- voltage
2233
+ voltage,
2234
+ wave_shape
2205
2235
  };
2206
2236
  //# sourceMappingURL=index.mjs.map