circuit-json 0.0.359 → 0.0.360

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/dist/index.d.mts CHANGED
@@ -11015,6 +11015,7 @@ declare const source_simple_crystal: z.ZodObject<{
11015
11015
  ftype: z.ZodLiteral<"simple_crystal">;
11016
11016
  frequency: z.ZodNumber;
11017
11017
  load_capacitance: z.ZodOptional<z.ZodNumber>;
11018
+ pin_variant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
11018
11019
  }, "strip", z.ZodTypeAny, {
11019
11020
  type: "source_component";
11020
11021
  name: string;
@@ -11030,6 +11031,7 @@ declare const source_simple_crystal: z.ZodObject<{
11030
11031
  are_pins_interchangeable?: boolean | undefined;
11031
11032
  internally_connected_source_port_ids?: string[][] | undefined;
11032
11033
  load_capacitance?: number | undefined;
11034
+ pin_variant?: "two_pin" | "four_pin" | undefined;
11033
11035
  }, {
11034
11036
  type: "source_component";
11035
11037
  name: string;
@@ -11045,6 +11047,7 @@ declare const source_simple_crystal: z.ZodObject<{
11045
11047
  are_pins_interchangeable?: boolean | undefined;
11046
11048
  internally_connected_source_port_ids?: string[][] | undefined;
11047
11049
  load_capacitance?: number | undefined;
11050
+ pin_variant?: "two_pin" | "four_pin" | undefined;
11048
11051
  }>;
11049
11052
  type SourceSimpleCrystalInput = z.input<typeof source_simple_crystal>;
11050
11053
  /**
@@ -11054,6 +11057,7 @@ interface SourceSimpleCrystal extends SourceComponentBase {
11054
11057
  ftype: "simple_crystal";
11055
11058
  frequency: number;
11056
11059
  load_capacitance?: number;
11060
+ pin_variant?: "two_pin" | "four_pin";
11057
11061
  }
11058
11062
 
11059
11063
  declare const source_simple_pin_header: z.ZodObject<{
@@ -12416,6 +12420,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
12416
12420
  ftype: z.ZodLiteral<"simple_crystal">;
12417
12421
  frequency: z.ZodNumber;
12418
12422
  load_capacitance: z.ZodOptional<z.ZodNumber>;
12423
+ pin_variant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
12419
12424
  }, "strip", z.ZodTypeAny, {
12420
12425
  type: "source_component";
12421
12426
  name: string;
@@ -12431,6 +12436,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
12431
12436
  are_pins_interchangeable?: boolean | undefined;
12432
12437
  internally_connected_source_port_ids?: string[][] | undefined;
12433
12438
  load_capacitance?: number | undefined;
12439
+ pin_variant?: "two_pin" | "four_pin" | undefined;
12434
12440
  }, {
12435
12441
  type: "source_component";
12436
12442
  name: string;
@@ -12446,6 +12452,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
12446
12452
  are_pins_interchangeable?: boolean | undefined;
12447
12453
  internally_connected_source_port_ids?: string[][] | undefined;
12448
12454
  load_capacitance?: number | undefined;
12455
+ pin_variant?: "two_pin" | "four_pin" | undefined;
12449
12456
  }>, z.ZodObject<{
12450
12457
  type: z.ZodLiteral<"source_component">;
12451
12458
  source_component_id: z.ZodString;
@@ -14290,6 +14297,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
14290
14297
  ftype: z.ZodLiteral<"simple_crystal">;
14291
14298
  frequency: z.ZodNumber;
14292
14299
  load_capacitance: z.ZodOptional<z.ZodNumber>;
14300
+ pin_variant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
14293
14301
  }, "strip", z.ZodTypeAny, {
14294
14302
  type: "source_component";
14295
14303
  name: string;
@@ -14305,6 +14313,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
14305
14313
  are_pins_interchangeable?: boolean | undefined;
14306
14314
  internally_connected_source_port_ids?: string[][] | undefined;
14307
14315
  load_capacitance?: number | undefined;
14316
+ pin_variant?: "two_pin" | "four_pin" | undefined;
14308
14317
  }, {
14309
14318
  type: "source_component";
14310
14319
  name: string;
@@ -14320,6 +14329,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
14320
14329
  are_pins_interchangeable?: boolean | undefined;
14321
14330
  internally_connected_source_port_ids?: string[][] | undefined;
14322
14331
  load_capacitance?: number | undefined;
14332
+ pin_variant?: "two_pin" | "four_pin" | undefined;
14323
14333
  }>, z.ZodObject<{
14324
14334
  type: z.ZodLiteral<"source_component">;
14325
14335
  source_component_id: z.ZodString;
@@ -22800,6 +22810,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
22800
22810
  ftype: z.ZodLiteral<"simple_crystal">;
22801
22811
  frequency: z.ZodNumber;
22802
22812
  load_capacitance: z.ZodOptional<z.ZodNumber>;
22813
+ pin_variant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
22803
22814
  }, "strip", z.ZodTypeAny, {
22804
22815
  type: "source_component";
22805
22816
  name: string;
@@ -22815,6 +22826,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
22815
22826
  are_pins_interchangeable?: boolean | undefined;
22816
22827
  internally_connected_source_port_ids?: string[][] | undefined;
22817
22828
  load_capacitance?: number | undefined;
22829
+ pin_variant?: "two_pin" | "four_pin" | undefined;
22818
22830
  }, {
22819
22831
  type: "source_component";
22820
22832
  name: string;
@@ -22830,6 +22842,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
22830
22842
  are_pins_interchangeable?: boolean | undefined;
22831
22843
  internally_connected_source_port_ids?: string[][] | undefined;
22832
22844
  load_capacitance?: number | undefined;
22845
+ pin_variant?: "two_pin" | "four_pin" | undefined;
22833
22846
  }>, z.ZodObject<{
22834
22847
  type: z.ZodLiteral<"source_component">;
22835
22848
  source_component_id: z.ZodString;
package/dist/index.mjs CHANGED
@@ -492,7 +492,8 @@ import { z as z23 } from "zod";
492
492
  var source_simple_crystal = source_component_base.extend({
493
493
  ftype: z23.literal("simple_crystal"),
494
494
  frequency: z23.number().describe("Frequency in Hz"),
495
- load_capacitance: z23.number().optional().describe("Load capacitance in pF")
495
+ load_capacitance: z23.number().optional().describe("Load capacitance in pF"),
496
+ pin_variant: z23.enum(["two_pin", "four_pin"]).optional()
496
497
  });
497
498
  expectTypesMatch(true);
498
499