circuit-json 0.0.308 → 0.0.309

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
@@ -2579,6 +2579,7 @@ interface SchematicVoltageProbe {
2579
2579
  position: Point
2580
2580
  schematic_trace_id: string
2581
2581
  voltage?: number
2582
+ name?: string
2582
2583
  subcircuit_id?: string
2583
2584
  }
2584
2585
  ```
package/dist/index.d.mts CHANGED
@@ -8674,6 +8674,7 @@ interface SchematicVoltageProbe {
8674
8674
  position: Point;
8675
8675
  schematic_trace_id: string;
8676
8676
  voltage?: number;
8677
+ name?: string;
8677
8678
  subcircuit_id?: string;
8678
8679
  }
8679
8680
  declare const schematic_voltage_probe: z.ZodObject<{
@@ -8691,6 +8692,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8691
8692
  }>;
8692
8693
  schematic_trace_id: z.ZodString;
8693
8694
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8695
+ name: z.ZodOptional<z.ZodString>;
8694
8696
  subcircuit_id: z.ZodOptional<z.ZodString>;
8695
8697
  }, "strip", z.ZodTypeAny, {
8696
8698
  type: "schematic_voltage_probe";
@@ -8700,6 +8702,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8700
8702
  y: number;
8701
8703
  };
8702
8704
  schematic_voltage_probe_id: string;
8705
+ name?: string | undefined;
8703
8706
  subcircuit_id?: string | undefined;
8704
8707
  voltage?: number | undefined;
8705
8708
  }, {
@@ -8710,6 +8713,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8710
8713
  y: string | number;
8711
8714
  };
8712
8715
  schematic_voltage_probe_id: string;
8716
+ name?: string | undefined;
8713
8717
  subcircuit_id?: string | undefined;
8714
8718
  voltage?: string | number | undefined;
8715
8719
  }>;
@@ -19337,6 +19341,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19337
19341
  }>;
19338
19342
  schematic_trace_id: z.ZodString;
19339
19343
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19344
+ name: z.ZodOptional<z.ZodString>;
19340
19345
  subcircuit_id: z.ZodOptional<z.ZodString>;
19341
19346
  }, "strip", z.ZodTypeAny, {
19342
19347
  type: "schematic_voltage_probe";
@@ -19346,6 +19351,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19346
19351
  y: number;
19347
19352
  };
19348
19353
  schematic_voltage_probe_id: string;
19354
+ name?: string | undefined;
19349
19355
  subcircuit_id?: string | undefined;
19350
19356
  voltage?: number | undefined;
19351
19357
  }, {
@@ -19356,6 +19362,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19356
19362
  y: string | number;
19357
19363
  };
19358
19364
  schematic_voltage_probe_id: string;
19365
+ name?: string | undefined;
19359
19366
  subcircuit_id?: string | undefined;
19360
19367
  voltage?: string | number | undefined;
19361
19368
  }>, z.ZodObject<{
@@ -27025,6 +27032,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27025
27032
  }>;
27026
27033
  schematic_trace_id: z.ZodString;
27027
27034
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27035
+ name: z.ZodOptional<z.ZodString>;
27028
27036
  subcircuit_id: z.ZodOptional<z.ZodString>;
27029
27037
  }, "strip", z.ZodTypeAny, {
27030
27038
  type: "schematic_voltage_probe";
@@ -27034,6 +27042,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27034
27042
  y: number;
27035
27043
  };
27036
27044
  schematic_voltage_probe_id: string;
27045
+ name?: string | undefined;
27037
27046
  subcircuit_id?: string | undefined;
27038
27047
  voltage?: number | undefined;
27039
27048
  }, {
@@ -27044,6 +27053,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
27044
27053
  y: string | number;
27045
27054
  };
27046
27055
  schematic_voltage_probe_id: string;
27056
+ name?: string | undefined;
27047
27057
  subcircuit_id?: string | undefined;
27048
27058
  voltage?: string | number | undefined;
27049
27059
  }>, z.ZodObject<{
package/dist/index.mjs CHANGED
@@ -1125,6 +1125,7 @@ var schematic_voltage_probe = z60.object({
1125
1125
  position: point,
1126
1126
  schematic_trace_id: z60.string(),
1127
1127
  voltage: voltage.optional(),
1128
+ name: z60.string().optional(),
1128
1129
  subcircuit_id: z60.string().optional()
1129
1130
  }).describe("Defines a voltage probe measurement point on a schematic trace");
1130
1131
  expectTypesMatch(true);