circuit-json 0.0.311 → 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 CHANGED
@@ -1120,6 +1120,8 @@ interface PcbCutoutRect {
1120
1120
  pcb_cutout_id: string
1121
1121
  pcb_group_id?: string
1122
1122
  subcircuit_id?: string
1123
+ pcb_board_id?: string
1124
+ pcb_panel_id?: string
1123
1125
  shape: "rect"
1124
1126
  center: Point
1125
1127
  width: Length
@@ -2595,6 +2597,7 @@ interface SchematicVoltageProbe {
2595
2597
  schematic_trace_id: string
2596
2598
  voltage?: number
2597
2599
  subcircuit_id?: string
2600
+ color?: string
2598
2601
  }
2599
2602
  ```
2600
2603
 
@@ -2649,6 +2652,7 @@ interface SimulationTransientVoltageGraph {
2649
2652
  start_time_ms: number
2650
2653
  end_time_ms: number
2651
2654
  name?: string
2655
+ color?: string
2652
2656
  }
2653
2657
  ```
2654
2658
 
@@ -2685,6 +2689,7 @@ interface SimulationVoltageProbe {
2685
2689
  source_port_id?: string
2686
2690
  source_net_id?: string
2687
2691
  subcircuit_id?: string
2692
+ color?: string
2688
2693
  }
2689
2694
  ```
2690
2695
 
package/dist/index.d.mts CHANGED
@@ -5198,6 +5198,8 @@ declare const pcb_cutout_rect: z.ZodObject<{
5198
5198
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5199
5199
  pcb_group_id: z.ZodOptional<z.ZodString>;
5200
5200
  subcircuit_id: z.ZodOptional<z.ZodString>;
5201
+ pcb_board_id: z.ZodOptional<z.ZodString>;
5202
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
5201
5203
  } & {
5202
5204
  shape: z.ZodLiteral<"rect">;
5203
5205
  center: z.ZodObject<{
@@ -5226,6 +5228,8 @@ declare const pcb_cutout_rect: z.ZodObject<{
5226
5228
  rotation?: number | undefined;
5227
5229
  subcircuit_id?: string | undefined;
5228
5230
  pcb_group_id?: string | undefined;
5231
+ pcb_board_id?: string | undefined;
5232
+ pcb_panel_id?: string | undefined;
5229
5233
  }, {
5230
5234
  type: "pcb_cutout";
5231
5235
  width: string | number;
@@ -5238,6 +5242,8 @@ declare const pcb_cutout_rect: z.ZodObject<{
5238
5242
  rotation?: string | number | undefined;
5239
5243
  subcircuit_id?: string | undefined;
5240
5244
  pcb_group_id?: string | undefined;
5245
+ pcb_board_id?: string | undefined;
5246
+ pcb_panel_id?: string | undefined;
5241
5247
  pcb_cutout_id?: string | undefined;
5242
5248
  }>;
5243
5249
  type PcbCutoutRectInput = z.input<typeof pcb_cutout_rect>;
@@ -5249,6 +5255,8 @@ interface PcbCutoutRect {
5249
5255
  pcb_cutout_id: string;
5250
5256
  pcb_group_id?: string;
5251
5257
  subcircuit_id?: string;
5258
+ pcb_board_id?: string;
5259
+ pcb_panel_id?: string;
5252
5260
  shape: "rect";
5253
5261
  center: Point;
5254
5262
  width: Length;
@@ -5260,6 +5268,8 @@ declare const pcb_cutout_circle: z.ZodObject<{
5260
5268
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5261
5269
  pcb_group_id: z.ZodOptional<z.ZodString>;
5262
5270
  subcircuit_id: z.ZodOptional<z.ZodString>;
5271
+ pcb_board_id: z.ZodOptional<z.ZodString>;
5272
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
5263
5273
  } & {
5264
5274
  shape: z.ZodLiteral<"circle">;
5265
5275
  center: z.ZodObject<{
@@ -5284,6 +5294,8 @@ declare const pcb_cutout_circle: z.ZodObject<{
5284
5294
  pcb_cutout_id: string;
5285
5295
  subcircuit_id?: string | undefined;
5286
5296
  pcb_group_id?: string | undefined;
5297
+ pcb_board_id?: string | undefined;
5298
+ pcb_panel_id?: string | undefined;
5287
5299
  }, {
5288
5300
  type: "pcb_cutout";
5289
5301
  center: {
@@ -5294,6 +5306,8 @@ declare const pcb_cutout_circle: z.ZodObject<{
5294
5306
  radius: string | number;
5295
5307
  subcircuit_id?: string | undefined;
5296
5308
  pcb_group_id?: string | undefined;
5309
+ pcb_board_id?: string | undefined;
5310
+ pcb_panel_id?: string | undefined;
5297
5311
  pcb_cutout_id?: string | undefined;
5298
5312
  }>;
5299
5313
  type PcbCutoutCircleInput = z.input<typeof pcb_cutout_circle>;
@@ -5305,6 +5319,8 @@ interface PcbCutoutCircle {
5305
5319
  pcb_cutout_id: string;
5306
5320
  pcb_group_id?: string;
5307
5321
  subcircuit_id?: string;
5322
+ pcb_board_id?: string;
5323
+ pcb_panel_id?: string;
5308
5324
  shape: "circle";
5309
5325
  center: Point;
5310
5326
  radius: Length;
@@ -5314,6 +5330,8 @@ declare const pcb_cutout_polygon: z.ZodObject<{
5314
5330
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5315
5331
  pcb_group_id: z.ZodOptional<z.ZodString>;
5316
5332
  subcircuit_id: z.ZodOptional<z.ZodString>;
5333
+ pcb_board_id: z.ZodOptional<z.ZodString>;
5334
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
5317
5335
  } & {
5318
5336
  shape: z.ZodLiteral<"polygon">;
5319
5337
  points: z.ZodArray<z.ZodObject<{
@@ -5336,6 +5354,8 @@ declare const pcb_cutout_polygon: z.ZodObject<{
5336
5354
  pcb_cutout_id: string;
5337
5355
  subcircuit_id?: string | undefined;
5338
5356
  pcb_group_id?: string | undefined;
5357
+ pcb_board_id?: string | undefined;
5358
+ pcb_panel_id?: string | undefined;
5339
5359
  }, {
5340
5360
  type: "pcb_cutout";
5341
5361
  shape: "polygon";
@@ -5345,6 +5365,8 @@ declare const pcb_cutout_polygon: z.ZodObject<{
5345
5365
  }[];
5346
5366
  subcircuit_id?: string | undefined;
5347
5367
  pcb_group_id?: string | undefined;
5368
+ pcb_board_id?: string | undefined;
5369
+ pcb_panel_id?: string | undefined;
5348
5370
  pcb_cutout_id?: string | undefined;
5349
5371
  }>;
5350
5372
  type PcbCutoutPolygonInput = z.input<typeof pcb_cutout_polygon>;
@@ -5357,6 +5379,8 @@ interface PcbCutoutPolygon {
5357
5379
  pcb_cutout_id: string;
5358
5380
  pcb_group_id?: string;
5359
5381
  subcircuit_id?: string;
5382
+ pcb_board_id?: string;
5383
+ pcb_panel_id?: string;
5360
5384
  shape: "polygon";
5361
5385
  points: Point[];
5362
5386
  }
@@ -5365,6 +5389,8 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5365
5389
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5366
5390
  pcb_group_id: z.ZodOptional<z.ZodString>;
5367
5391
  subcircuit_id: z.ZodOptional<z.ZodString>;
5392
+ pcb_board_id: z.ZodOptional<z.ZodString>;
5393
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
5368
5394
  } & {
5369
5395
  shape: z.ZodLiteral<"rect">;
5370
5396
  center: z.ZodObject<{
@@ -5393,6 +5419,8 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5393
5419
  rotation?: number | undefined;
5394
5420
  subcircuit_id?: string | undefined;
5395
5421
  pcb_group_id?: string | undefined;
5422
+ pcb_board_id?: string | undefined;
5423
+ pcb_panel_id?: string | undefined;
5396
5424
  }, {
5397
5425
  type: "pcb_cutout";
5398
5426
  width: string | number;
@@ -5405,12 +5433,16 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5405
5433
  rotation?: string | number | undefined;
5406
5434
  subcircuit_id?: string | undefined;
5407
5435
  pcb_group_id?: string | undefined;
5436
+ pcb_board_id?: string | undefined;
5437
+ pcb_panel_id?: string | undefined;
5408
5438
  pcb_cutout_id?: string | undefined;
5409
5439
  }>, z.ZodObject<{
5410
5440
  type: z.ZodLiteral<"pcb_cutout">;
5411
5441
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5412
5442
  pcb_group_id: z.ZodOptional<z.ZodString>;
5413
5443
  subcircuit_id: z.ZodOptional<z.ZodString>;
5444
+ pcb_board_id: z.ZodOptional<z.ZodString>;
5445
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
5414
5446
  } & {
5415
5447
  shape: z.ZodLiteral<"circle">;
5416
5448
  center: z.ZodObject<{
@@ -5435,6 +5467,8 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5435
5467
  pcb_cutout_id: string;
5436
5468
  subcircuit_id?: string | undefined;
5437
5469
  pcb_group_id?: string | undefined;
5470
+ pcb_board_id?: string | undefined;
5471
+ pcb_panel_id?: string | undefined;
5438
5472
  }, {
5439
5473
  type: "pcb_cutout";
5440
5474
  center: {
@@ -5445,12 +5479,16 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5445
5479
  radius: string | number;
5446
5480
  subcircuit_id?: string | undefined;
5447
5481
  pcb_group_id?: string | undefined;
5482
+ pcb_board_id?: string | undefined;
5483
+ pcb_panel_id?: string | undefined;
5448
5484
  pcb_cutout_id?: string | undefined;
5449
5485
  }>, z.ZodObject<{
5450
5486
  type: z.ZodLiteral<"pcb_cutout">;
5451
5487
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5452
5488
  pcb_group_id: z.ZodOptional<z.ZodString>;
5453
5489
  subcircuit_id: z.ZodOptional<z.ZodString>;
5490
+ pcb_board_id: z.ZodOptional<z.ZodString>;
5491
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
5454
5492
  } & {
5455
5493
  shape: z.ZodLiteral<"polygon">;
5456
5494
  points: z.ZodArray<z.ZodObject<{
@@ -5473,6 +5511,8 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5473
5511
  pcb_cutout_id: string;
5474
5512
  subcircuit_id?: string | undefined;
5475
5513
  pcb_group_id?: string | undefined;
5514
+ pcb_board_id?: string | undefined;
5515
+ pcb_panel_id?: string | undefined;
5476
5516
  }, {
5477
5517
  type: "pcb_cutout";
5478
5518
  shape: "polygon";
@@ -5482,6 +5522,8 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5482
5522
  }[];
5483
5523
  subcircuit_id?: string | undefined;
5484
5524
  pcb_group_id?: string | undefined;
5525
+ pcb_board_id?: string | undefined;
5526
+ pcb_panel_id?: string | undefined;
5485
5527
  pcb_cutout_id?: string | undefined;
5486
5528
  }>]>;
5487
5529
  type PcbCutoutInput = z.input<typeof pcb_cutout>;
@@ -8676,6 +8718,7 @@ interface SchematicVoltageProbe {
8676
8718
  schematic_trace_id: string;
8677
8719
  voltage?: number;
8678
8720
  subcircuit_id?: string;
8721
+ color?: string;
8679
8722
  }
8680
8723
  declare const schematic_voltage_probe: z.ZodObject<{
8681
8724
  type: z.ZodLiteral<"schematic_voltage_probe">;
@@ -8694,6 +8737,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8694
8737
  schematic_trace_id: z.ZodString;
8695
8738
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8696
8739
  subcircuit_id: z.ZodOptional<z.ZodString>;
8740
+ color: z.ZodOptional<z.ZodString>;
8697
8741
  }, "strip", z.ZodTypeAny, {
8698
8742
  type: "schematic_voltage_probe";
8699
8743
  schematic_trace_id: string;
@@ -8704,6 +8748,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8704
8748
  schematic_voltage_probe_id: string;
8705
8749
  source_component_id?: string | undefined;
8706
8750
  subcircuit_id?: string | undefined;
8751
+ color?: string | undefined;
8707
8752
  voltage?: number | undefined;
8708
8753
  }, {
8709
8754
  type: "schematic_voltage_probe";
@@ -8715,6 +8760,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8715
8760
  schematic_voltage_probe_id: string;
8716
8761
  source_component_id?: string | undefined;
8717
8762
  subcircuit_id?: string | undefined;
8763
+ color?: string | undefined;
8718
8764
  voltage?: string | number | undefined;
8719
8765
  }>;
8720
8766
  type SchematicVoltageProbeInput = z.input<typeof schematic_voltage_probe>;
@@ -9244,6 +9290,7 @@ interface SimulationTransientVoltageGraph {
9244
9290
  start_time_ms: number;
9245
9291
  end_time_ms: number;
9246
9292
  name?: string;
9293
+ color?: string;
9247
9294
  }
9248
9295
  declare const simulation_transient_voltage_graph: z.ZodObject<{
9249
9296
  type: z.ZodLiteral<"simulation_transient_voltage_graph">;
@@ -9257,6 +9304,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
9257
9304
  start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9258
9305
  end_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9259
9306
  name: z.ZodOptional<z.ZodString>;
9307
+ color: z.ZodOptional<z.ZodString>;
9260
9308
  }, "strip", z.ZodTypeAny, {
9261
9309
  type: "simulation_transient_voltage_graph";
9262
9310
  simulation_experiment_id: string;
@@ -9268,6 +9316,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
9268
9316
  name?: string | undefined;
9269
9317
  source_component_id?: string | undefined;
9270
9318
  subcircuit_connectivity_map_key?: string | undefined;
9319
+ color?: string | undefined;
9271
9320
  timestamps_ms?: number[] | undefined;
9272
9321
  }, {
9273
9322
  type: "simulation_transient_voltage_graph";
@@ -9279,6 +9328,7 @@ declare const simulation_transient_voltage_graph: z.ZodObject<{
9279
9328
  name?: string | undefined;
9280
9329
  source_component_id?: string | undefined;
9281
9330
  subcircuit_connectivity_map_key?: string | undefined;
9331
+ color?: string | undefined;
9282
9332
  simulation_transient_voltage_graph_id?: string | undefined;
9283
9333
  timestamps_ms?: number[] | undefined;
9284
9334
  }>;
@@ -9327,6 +9377,7 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9327
9377
  source_port_id: z.ZodOptional<z.ZodString>;
9328
9378
  source_net_id: z.ZodOptional<z.ZodString>;
9329
9379
  subcircuit_id: z.ZodOptional<z.ZodString>;
9380
+ color: z.ZodOptional<z.ZodString>;
9330
9381
  }, "strip", z.ZodTypeAny, {
9331
9382
  type: "simulation_voltage_probe";
9332
9383
  simulation_voltage_probe_id: string;
@@ -9334,12 +9385,14 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9334
9385
  subcircuit_id?: string | undefined;
9335
9386
  source_port_id?: string | undefined;
9336
9387
  source_net_id?: string | undefined;
9388
+ color?: string | undefined;
9337
9389
  }, {
9338
9390
  type: "simulation_voltage_probe";
9339
9391
  source_component_id?: string | undefined;
9340
9392
  subcircuit_id?: string | undefined;
9341
9393
  source_port_id?: string | undefined;
9342
9394
  source_net_id?: string | undefined;
9395
+ color?: string | undefined;
9343
9396
  simulation_voltage_probe_id?: string | undefined;
9344
9397
  }>, {
9345
9398
  type: "simulation_voltage_probe";
@@ -9348,12 +9401,14 @@ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
9348
9401
  subcircuit_id?: string | undefined;
9349
9402
  source_port_id?: string | undefined;
9350
9403
  source_net_id?: string | undefined;
9404
+ color?: string | undefined;
9351
9405
  }, {
9352
9406
  type: "simulation_voltage_probe";
9353
9407
  source_component_id?: string | undefined;
9354
9408
  subcircuit_id?: string | undefined;
9355
9409
  source_port_id?: string | undefined;
9356
9410
  source_net_id?: string | undefined;
9411
+ color?: string | undefined;
9357
9412
  simulation_voltage_probe_id?: string | undefined;
9358
9413
  }>;
9359
9414
  type SimulationVoltageProbeInput = z.input<typeof simulation_voltage_probe>;
@@ -9367,6 +9422,7 @@ interface SimulationVoltageProbe {
9367
9422
  source_port_id?: string;
9368
9423
  source_net_id?: string;
9369
9424
  subcircuit_id?: string;
9425
+ color?: string;
9370
9426
  }
9371
9427
 
9372
9428
  declare const simulation_unknown_experiment_error: z.ZodObject<{
@@ -17718,6 +17774,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17718
17774
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
17719
17775
  pcb_group_id: z.ZodOptional<z.ZodString>;
17720
17776
  subcircuit_id: z.ZodOptional<z.ZodString>;
17777
+ pcb_board_id: z.ZodOptional<z.ZodString>;
17778
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
17721
17779
  } & {
17722
17780
  shape: z.ZodLiteral<"rect">;
17723
17781
  center: z.ZodObject<{
@@ -17746,6 +17804,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17746
17804
  rotation?: number | undefined;
17747
17805
  subcircuit_id?: string | undefined;
17748
17806
  pcb_group_id?: string | undefined;
17807
+ pcb_board_id?: string | undefined;
17808
+ pcb_panel_id?: string | undefined;
17749
17809
  }, {
17750
17810
  type: "pcb_cutout";
17751
17811
  width: string | number;
@@ -17758,12 +17818,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17758
17818
  rotation?: string | number | undefined;
17759
17819
  subcircuit_id?: string | undefined;
17760
17820
  pcb_group_id?: string | undefined;
17821
+ pcb_board_id?: string | undefined;
17822
+ pcb_panel_id?: string | undefined;
17761
17823
  pcb_cutout_id?: string | undefined;
17762
17824
  }>, z.ZodObject<{
17763
17825
  type: z.ZodLiteral<"pcb_cutout">;
17764
17826
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
17765
17827
  pcb_group_id: z.ZodOptional<z.ZodString>;
17766
17828
  subcircuit_id: z.ZodOptional<z.ZodString>;
17829
+ pcb_board_id: z.ZodOptional<z.ZodString>;
17830
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
17767
17831
  } & {
17768
17832
  shape: z.ZodLiteral<"circle">;
17769
17833
  center: z.ZodObject<{
@@ -17788,6 +17852,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17788
17852
  pcb_cutout_id: string;
17789
17853
  subcircuit_id?: string | undefined;
17790
17854
  pcb_group_id?: string | undefined;
17855
+ pcb_board_id?: string | undefined;
17856
+ pcb_panel_id?: string | undefined;
17791
17857
  }, {
17792
17858
  type: "pcb_cutout";
17793
17859
  center: {
@@ -17798,12 +17864,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17798
17864
  radius: string | number;
17799
17865
  subcircuit_id?: string | undefined;
17800
17866
  pcb_group_id?: string | undefined;
17867
+ pcb_board_id?: string | undefined;
17868
+ pcb_panel_id?: string | undefined;
17801
17869
  pcb_cutout_id?: string | undefined;
17802
17870
  }>, z.ZodObject<{
17803
17871
  type: z.ZodLiteral<"pcb_cutout">;
17804
17872
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
17805
17873
  pcb_group_id: z.ZodOptional<z.ZodString>;
17806
17874
  subcircuit_id: z.ZodOptional<z.ZodString>;
17875
+ pcb_board_id: z.ZodOptional<z.ZodString>;
17876
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
17807
17877
  } & {
17808
17878
  shape: z.ZodLiteral<"polygon">;
17809
17879
  points: z.ZodArray<z.ZodObject<{
@@ -17826,6 +17896,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17826
17896
  pcb_cutout_id: string;
17827
17897
  subcircuit_id?: string | undefined;
17828
17898
  pcb_group_id?: string | undefined;
17899
+ pcb_board_id?: string | undefined;
17900
+ pcb_panel_id?: string | undefined;
17829
17901
  }, {
17830
17902
  type: "pcb_cutout";
17831
17903
  shape: "polygon";
@@ -17835,6 +17907,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17835
17907
  }[];
17836
17908
  subcircuit_id?: string | undefined;
17837
17909
  pcb_group_id?: string | undefined;
17910
+ pcb_board_id?: string | undefined;
17911
+ pcb_panel_id?: string | undefined;
17838
17912
  pcb_cutout_id?: string | undefined;
17839
17913
  }>]>, z.ZodObject<{
17840
17914
  type: z.ZodLiteral<"pcb_ground_plane">;
@@ -19459,6 +19533,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19459
19533
  schematic_trace_id: z.ZodString;
19460
19534
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19461
19535
  subcircuit_id: z.ZodOptional<z.ZodString>;
19536
+ color: z.ZodOptional<z.ZodString>;
19462
19537
  }, "strip", z.ZodTypeAny, {
19463
19538
  type: "schematic_voltage_probe";
19464
19539
  schematic_trace_id: string;
@@ -19469,6 +19544,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19469
19544
  schematic_voltage_probe_id: string;
19470
19545
  source_component_id?: string | undefined;
19471
19546
  subcircuit_id?: string | undefined;
19547
+ color?: string | undefined;
19472
19548
  voltage?: number | undefined;
19473
19549
  }, {
19474
19550
  type: "schematic_voltage_probe";
@@ -19480,6 +19556,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19480
19556
  schematic_voltage_probe_id: string;
19481
19557
  source_component_id?: string | undefined;
19482
19558
  subcircuit_id?: string | undefined;
19559
+ color?: string | undefined;
19483
19560
  voltage?: string | number | undefined;
19484
19561
  }>, z.ZodObject<{
19485
19562
  type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
@@ -19923,6 +20000,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19923
20000
  start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19924
20001
  end_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19925
20002
  name: z.ZodOptional<z.ZodString>;
20003
+ color: z.ZodOptional<z.ZodString>;
19926
20004
  }, "strip", z.ZodTypeAny, {
19927
20005
  type: "simulation_transient_voltage_graph";
19928
20006
  simulation_experiment_id: string;
@@ -19934,6 +20012,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19934
20012
  name?: string | undefined;
19935
20013
  source_component_id?: string | undefined;
19936
20014
  subcircuit_connectivity_map_key?: string | undefined;
20015
+ color?: string | undefined;
19937
20016
  timestamps_ms?: number[] | undefined;
19938
20017
  }, {
19939
20018
  type: "simulation_transient_voltage_graph";
@@ -19945,6 +20024,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19945
20024
  name?: string | undefined;
19946
20025
  source_component_id?: string | undefined;
19947
20026
  subcircuit_connectivity_map_key?: string | undefined;
20027
+ color?: string | undefined;
19948
20028
  simulation_transient_voltage_graph_id?: string | undefined;
19949
20029
  timestamps_ms?: number[] | undefined;
19950
20030
  }>, z.ZodObject<{
@@ -19978,6 +20058,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19978
20058
  source_port_id: z.ZodOptional<z.ZodString>;
19979
20059
  source_net_id: z.ZodOptional<z.ZodString>;
19980
20060
  subcircuit_id: z.ZodOptional<z.ZodString>;
20061
+ color: z.ZodOptional<z.ZodString>;
19981
20062
  }, "strip", z.ZodTypeAny, {
19982
20063
  type: "simulation_voltage_probe";
19983
20064
  simulation_voltage_probe_id: string;
@@ -19985,12 +20066,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19985
20066
  subcircuit_id?: string | undefined;
19986
20067
  source_port_id?: string | undefined;
19987
20068
  source_net_id?: string | undefined;
20069
+ color?: string | undefined;
19988
20070
  }, {
19989
20071
  type: "simulation_voltage_probe";
19990
20072
  source_component_id?: string | undefined;
19991
20073
  subcircuit_id?: string | undefined;
19992
20074
  source_port_id?: string | undefined;
19993
20075
  source_net_id?: string | undefined;
20076
+ color?: string | undefined;
19994
20077
  simulation_voltage_probe_id?: string | undefined;
19995
20078
  }>, {
19996
20079
  type: "simulation_voltage_probe";
@@ -19999,12 +20082,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19999
20082
  subcircuit_id?: string | undefined;
20000
20083
  source_port_id?: string | undefined;
20001
20084
  source_net_id?: string | undefined;
20085
+ color?: string | undefined;
20002
20086
  }, {
20003
20087
  type: "simulation_voltage_probe";
20004
20088
  source_component_id?: string | undefined;
20005
20089
  subcircuit_id?: string | undefined;
20006
20090
  source_port_id?: string | undefined;
20007
20091
  source_net_id?: string | undefined;
20092
+ color?: string | undefined;
20008
20093
  simulation_voltage_probe_id?: string | undefined;
20009
20094
  }>, z.ZodObject<{
20010
20095
  type: z.ZodLiteral<"simulation_unknown_experiment_error">;
@@ -25443,6 +25528,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25443
25528
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
25444
25529
  pcb_group_id: z.ZodOptional<z.ZodString>;
25445
25530
  subcircuit_id: z.ZodOptional<z.ZodString>;
25531
+ pcb_board_id: z.ZodOptional<z.ZodString>;
25532
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
25446
25533
  } & {
25447
25534
  shape: z.ZodLiteral<"rect">;
25448
25535
  center: z.ZodObject<{
@@ -25471,6 +25558,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25471
25558
  rotation?: number | undefined;
25472
25559
  subcircuit_id?: string | undefined;
25473
25560
  pcb_group_id?: string | undefined;
25561
+ pcb_board_id?: string | undefined;
25562
+ pcb_panel_id?: string | undefined;
25474
25563
  }, {
25475
25564
  type: "pcb_cutout";
25476
25565
  width: string | number;
@@ -25483,12 +25572,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25483
25572
  rotation?: string | number | undefined;
25484
25573
  subcircuit_id?: string | undefined;
25485
25574
  pcb_group_id?: string | undefined;
25575
+ pcb_board_id?: string | undefined;
25576
+ pcb_panel_id?: string | undefined;
25486
25577
  pcb_cutout_id?: string | undefined;
25487
25578
  }>, z.ZodObject<{
25488
25579
  type: z.ZodLiteral<"pcb_cutout">;
25489
25580
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
25490
25581
  pcb_group_id: z.ZodOptional<z.ZodString>;
25491
25582
  subcircuit_id: z.ZodOptional<z.ZodString>;
25583
+ pcb_board_id: z.ZodOptional<z.ZodString>;
25584
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
25492
25585
  } & {
25493
25586
  shape: z.ZodLiteral<"circle">;
25494
25587
  center: z.ZodObject<{
@@ -25513,6 +25606,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25513
25606
  pcb_cutout_id: string;
25514
25607
  subcircuit_id?: string | undefined;
25515
25608
  pcb_group_id?: string | undefined;
25609
+ pcb_board_id?: string | undefined;
25610
+ pcb_panel_id?: string | undefined;
25516
25611
  }, {
25517
25612
  type: "pcb_cutout";
25518
25613
  center: {
@@ -25523,12 +25618,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25523
25618
  radius: string | number;
25524
25619
  subcircuit_id?: string | undefined;
25525
25620
  pcb_group_id?: string | undefined;
25621
+ pcb_board_id?: string | undefined;
25622
+ pcb_panel_id?: string | undefined;
25526
25623
  pcb_cutout_id?: string | undefined;
25527
25624
  }>, z.ZodObject<{
25528
25625
  type: z.ZodLiteral<"pcb_cutout">;
25529
25626
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
25530
25627
  pcb_group_id: z.ZodOptional<z.ZodString>;
25531
25628
  subcircuit_id: z.ZodOptional<z.ZodString>;
25629
+ pcb_board_id: z.ZodOptional<z.ZodString>;
25630
+ pcb_panel_id: z.ZodOptional<z.ZodString>;
25532
25631
  } & {
25533
25632
  shape: z.ZodLiteral<"polygon">;
25534
25633
  points: z.ZodArray<z.ZodObject<{
@@ -25551,6 +25650,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25551
25650
  pcb_cutout_id: string;
25552
25651
  subcircuit_id?: string | undefined;
25553
25652
  pcb_group_id?: string | undefined;
25653
+ pcb_board_id?: string | undefined;
25654
+ pcb_panel_id?: string | undefined;
25554
25655
  }, {
25555
25656
  type: "pcb_cutout";
25556
25657
  shape: "polygon";
@@ -25560,6 +25661,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25560
25661
  }[];
25561
25662
  subcircuit_id?: string | undefined;
25562
25663
  pcb_group_id?: string | undefined;
25664
+ pcb_board_id?: string | undefined;
25665
+ pcb_panel_id?: string | undefined;
25563
25666
  pcb_cutout_id?: string | undefined;
25564
25667
  }>]>, z.ZodObject<{
25565
25668
  type: z.ZodLiteral<"pcb_ground_plane">;
@@ -27184,6 +27287,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27184
27287
  schematic_trace_id: z.ZodString;
27185
27288
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27186
27289
  subcircuit_id: z.ZodOptional<z.ZodString>;
27290
+ color: z.ZodOptional<z.ZodString>;
27187
27291
  }, "strip", z.ZodTypeAny, {
27188
27292
  type: "schematic_voltage_probe";
27189
27293
  schematic_trace_id: string;
@@ -27194,6 +27298,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27194
27298
  schematic_voltage_probe_id: string;
27195
27299
  source_component_id?: string | undefined;
27196
27300
  subcircuit_id?: string | undefined;
27301
+ color?: string | undefined;
27197
27302
  voltage?: number | undefined;
27198
27303
  }, {
27199
27304
  type: "schematic_voltage_probe";
@@ -27205,6 +27310,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27205
27310
  schematic_voltage_probe_id: string;
27206
27311
  source_component_id?: string | undefined;
27207
27312
  subcircuit_id?: string | undefined;
27313
+ color?: string | undefined;
27208
27314
  voltage?: string | number | undefined;
27209
27315
  }>, z.ZodObject<{
27210
27316
  type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
@@ -27648,6 +27754,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27648
27754
  start_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27649
27755
  end_time_ms: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27650
27756
  name: z.ZodOptional<z.ZodString>;
27757
+ color: z.ZodOptional<z.ZodString>;
27651
27758
  }, "strip", z.ZodTypeAny, {
27652
27759
  type: "simulation_transient_voltage_graph";
27653
27760
  simulation_experiment_id: string;
@@ -27659,6 +27766,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27659
27766
  name?: string | undefined;
27660
27767
  source_component_id?: string | undefined;
27661
27768
  subcircuit_connectivity_map_key?: string | undefined;
27769
+ color?: string | undefined;
27662
27770
  timestamps_ms?: number[] | undefined;
27663
27771
  }, {
27664
27772
  type: "simulation_transient_voltage_graph";
@@ -27670,6 +27778,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27670
27778
  name?: string | undefined;
27671
27779
  source_component_id?: string | undefined;
27672
27780
  subcircuit_connectivity_map_key?: string | undefined;
27781
+ color?: string | undefined;
27673
27782
  simulation_transient_voltage_graph_id?: string | undefined;
27674
27783
  timestamps_ms?: number[] | undefined;
27675
27784
  }>, z.ZodObject<{
@@ -27703,6 +27812,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27703
27812
  source_port_id: z.ZodOptional<z.ZodString>;
27704
27813
  source_net_id: z.ZodOptional<z.ZodString>;
27705
27814
  subcircuit_id: z.ZodOptional<z.ZodString>;
27815
+ color: z.ZodOptional<z.ZodString>;
27706
27816
  }, "strip", z.ZodTypeAny, {
27707
27817
  type: "simulation_voltage_probe";
27708
27818
  simulation_voltage_probe_id: string;
@@ -27710,12 +27820,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27710
27820
  subcircuit_id?: string | undefined;
27711
27821
  source_port_id?: string | undefined;
27712
27822
  source_net_id?: string | undefined;
27823
+ color?: string | undefined;
27713
27824
  }, {
27714
27825
  type: "simulation_voltage_probe";
27715
27826
  source_component_id?: string | undefined;
27716
27827
  subcircuit_id?: string | undefined;
27717
27828
  source_port_id?: string | undefined;
27718
27829
  source_net_id?: string | undefined;
27830
+ color?: string | undefined;
27719
27831
  simulation_voltage_probe_id?: string | undefined;
27720
27832
  }>, {
27721
27833
  type: "simulation_voltage_probe";
@@ -27724,12 +27836,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27724
27836
  subcircuit_id?: string | undefined;
27725
27837
  source_port_id?: string | undefined;
27726
27838
  source_net_id?: string | undefined;
27839
+ color?: string | undefined;
27727
27840
  }, {
27728
27841
  type: "simulation_voltage_probe";
27729
27842
  source_component_id?: string | undefined;
27730
27843
  subcircuit_id?: string | undefined;
27731
27844
  source_port_id?: string | undefined;
27732
27845
  source_net_id?: string | undefined;
27846
+ color?: string | undefined;
27733
27847
  simulation_voltage_probe_id?: string | undefined;
27734
27848
  }>, z.ZodObject<{
27735
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
 
@@ -2349,7 +2350,9 @@ var pcb_cutout_base = z106.object({
2349
2350
  type: z106.literal("pcb_cutout"),
2350
2351
  pcb_cutout_id: getZodPrefixedIdWithDefault("pcb_cutout"),
2351
2352
  pcb_group_id: z106.string().optional(),
2352
- subcircuit_id: z106.string().optional()
2353
+ subcircuit_id: z106.string().optional(),
2354
+ pcb_board_id: z106.string().optional(),
2355
+ pcb_panel_id: z106.string().optional()
2353
2356
  });
2354
2357
  var pcb_cutout_rect = pcb_cutout_base.extend({
2355
2358
  shape: z106.literal("rect"),
@@ -2801,7 +2804,8 @@ var simulation_transient_voltage_graph = z127.object({
2801
2804
  time_per_step: duration_ms,
2802
2805
  start_time_ms: ms,
2803
2806
  end_time_ms: ms,
2804
- name: z127.string().optional()
2807
+ name: z127.string().optional(),
2808
+ color: z127.string().optional()
2805
2809
  }).describe("Stores voltage measurements over time for a simulation");
2806
2810
  expectTypesMatch(true);
2807
2811
 
@@ -2828,7 +2832,8 @@ var simulation_voltage_probe = z129.object({
2828
2832
  source_component_id: z129.string().optional(),
2829
2833
  source_port_id: z129.string().optional(),
2830
2834
  source_net_id: z129.string().optional(),
2831
- subcircuit_id: z129.string().optional()
2835
+ subcircuit_id: z129.string().optional(),
2836
+ color: z129.string().optional()
2832
2837
  }).describe(
2833
2838
  "Defines a voltage probe for simulation, connected to a port or a net"
2834
2839
  ).refine(