circuit-json 0.0.332 → 0.0.333

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
@@ -2672,6 +2672,7 @@ interface SchematicVoltageProbe {
2672
2672
  voltage?: number
2673
2673
  subcircuit_id?: string
2674
2674
  color?: string
2675
+ label_alignment?: NinePointAnchor
2675
2676
  }
2676
2677
  ```
2677
2678
 
package/dist/index.d.mts CHANGED
@@ -9090,6 +9090,7 @@ interface SchematicVoltageProbe {
9090
9090
  voltage?: number;
9091
9091
  subcircuit_id?: string;
9092
9092
  color?: string;
9093
+ label_alignment?: NinePointAnchor;
9093
9094
  }
9094
9095
  declare const schematic_voltage_probe: z.ZodObject<{
9095
9096
  type: z.ZodLiteral<"schematic_voltage_probe">;
@@ -9110,6 +9111,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
9110
9111
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9111
9112
  subcircuit_id: z.ZodOptional<z.ZodString>;
9112
9113
  color: z.ZodOptional<z.ZodString>;
9114
+ label_alignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
9113
9115
  }, "strip", z.ZodTypeAny, {
9114
9116
  type: "schematic_voltage_probe";
9115
9117
  schematic_trace_id: string;
@@ -9123,6 +9125,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
9123
9125
  subcircuit_id?: string | undefined;
9124
9126
  color?: string | undefined;
9125
9127
  voltage?: number | undefined;
9128
+ label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
9126
9129
  }, {
9127
9130
  type: "schematic_voltage_probe";
9128
9131
  schematic_trace_id: string;
@@ -9136,6 +9139,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
9136
9139
  subcircuit_id?: string | undefined;
9137
9140
  color?: string | undefined;
9138
9141
  voltage?: string | number | undefined;
9142
+ label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
9139
9143
  }>;
9140
9144
  type SchematicVoltageProbeInput = z.input<typeof schematic_voltage_probe>;
9141
9145
 
@@ -20343,6 +20347,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20343
20347
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
20344
20348
  subcircuit_id: z.ZodOptional<z.ZodString>;
20345
20349
  color: z.ZodOptional<z.ZodString>;
20350
+ label_alignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
20346
20351
  }, "strip", z.ZodTypeAny, {
20347
20352
  type: "schematic_voltage_probe";
20348
20353
  schematic_trace_id: string;
@@ -20356,6 +20361,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20356
20361
  subcircuit_id?: string | undefined;
20357
20362
  color?: string | undefined;
20358
20363
  voltage?: number | undefined;
20364
+ label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
20359
20365
  }, {
20360
20366
  type: "schematic_voltage_probe";
20361
20367
  schematic_trace_id: string;
@@ -20369,6 +20375,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20369
20375
  subcircuit_id?: string | undefined;
20370
20376
  color?: string | undefined;
20371
20377
  voltage?: string | number | undefined;
20378
+ label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
20372
20379
  }>, z.ZodObject<{
20373
20380
  type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
20374
20381
  schematic_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -28375,6 +28382,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28375
28382
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
28376
28383
  subcircuit_id: z.ZodOptional<z.ZodString>;
28377
28384
  color: z.ZodOptional<z.ZodString>;
28385
+ label_alignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
28378
28386
  }, "strip", z.ZodTypeAny, {
28379
28387
  type: "schematic_voltage_probe";
28380
28388
  schematic_trace_id: string;
@@ -28388,6 +28396,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28388
28396
  subcircuit_id?: string | undefined;
28389
28397
  color?: string | undefined;
28390
28398
  voltage?: number | undefined;
28399
+ label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
28391
28400
  }, {
28392
28401
  type: "schematic_voltage_probe";
28393
28402
  schematic_trace_id: string;
@@ -28401,6 +28410,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28401
28410
  subcircuit_id?: string | undefined;
28402
28411
  color?: string | undefined;
28403
28412
  voltage?: string | number | undefined;
28413
+ label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
28404
28414
  }>, z.ZodObject<{
28405
28415
  type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
28406
28416
  schematic_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
package/dist/index.mjs CHANGED
@@ -1175,7 +1175,8 @@ var schematic_voltage_probe = z64.object({
1175
1175
  schematic_trace_id: z64.string(),
1176
1176
  voltage: voltage.optional(),
1177
1177
  subcircuit_id: z64.string().optional(),
1178
- color: z64.string().optional()
1178
+ color: z64.string().optional(),
1179
+ label_alignment: ninePointAnchor.optional()
1179
1180
  }).describe("Defines a voltage probe measurement point on a schematic trace");
1180
1181
  expectTypesMatch(true);
1181
1182