circuit-json 0.0.329 → 0.0.330

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
@@ -986,6 +986,7 @@ interface PcbComponent {
986
986
  pcb_group_id?: string
987
987
  position_mode?: "packed" | "relative_to_group_anchor" | "none"
988
988
  positioned_relative_to_pcb_group_id?: string
989
+ positioned_relative_to_pcb_board_id?: string
989
990
  obstructs_within_bounds: boolean
990
991
  }
991
992
  ```
package/dist/index.d.mts CHANGED
@@ -408,6 +408,7 @@ declare const pcb_component: z.ZodObject<{
408
408
  pcb_group_id: z.ZodOptional<z.ZodString>;
409
409
  position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "none"]>>;
410
410
  positioned_relative_to_pcb_group_id: z.ZodOptional<z.ZodString>;
411
+ positioned_relative_to_pcb_board_id: z.ZodOptional<z.ZodString>;
411
412
  obstructs_within_bounds: z.ZodDefault<z.ZodBoolean>;
412
413
  }, "strip", z.ZodTypeAny, {
413
414
  type: "pcb_component";
@@ -427,6 +428,7 @@ declare const pcb_component: z.ZodObject<{
427
428
  pcb_group_id?: string | undefined;
428
429
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
429
430
  positioned_relative_to_pcb_group_id?: string | undefined;
431
+ positioned_relative_to_pcb_board_id?: string | undefined;
430
432
  }, {
431
433
  type: "pcb_component";
432
434
  width: string | number;
@@ -446,6 +448,7 @@ declare const pcb_component: z.ZodObject<{
446
448
  pcb_group_id?: string | undefined;
447
449
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
448
450
  positioned_relative_to_pcb_group_id?: string | undefined;
451
+ positioned_relative_to_pcb_board_id?: string | undefined;
449
452
  obstructs_within_bounds?: boolean | undefined;
450
453
  }>;
451
454
  type PcbComponentInput = z.input<typeof pcb_component>;
@@ -466,6 +469,7 @@ interface PcbComponent {
466
469
  pcb_group_id?: string;
467
470
  position_mode?: "packed" | "relative_to_group_anchor" | "none";
468
471
  positioned_relative_to_pcb_group_id?: string;
472
+ positioned_relative_to_pcb_board_id?: string;
469
473
  obstructs_within_bounds: boolean;
470
474
  }
471
475
  /**
@@ -15030,6 +15034,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
15030
15034
  pcb_group_id: z.ZodOptional<z.ZodString>;
15031
15035
  position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "none"]>>;
15032
15036
  positioned_relative_to_pcb_group_id: z.ZodOptional<z.ZodString>;
15037
+ positioned_relative_to_pcb_board_id: z.ZodOptional<z.ZodString>;
15033
15038
  obstructs_within_bounds: z.ZodDefault<z.ZodBoolean>;
15034
15039
  }, "strip", z.ZodTypeAny, {
15035
15040
  type: "pcb_component";
@@ -15049,6 +15054,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
15049
15054
  pcb_group_id?: string | undefined;
15050
15055
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
15051
15056
  positioned_relative_to_pcb_group_id?: string | undefined;
15057
+ positioned_relative_to_pcb_board_id?: string | undefined;
15052
15058
  }, {
15053
15059
  type: "pcb_component";
15054
15060
  width: string | number;
@@ -15068,6 +15074,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
15068
15074
  pcb_group_id?: string | undefined;
15069
15075
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
15070
15076
  positioned_relative_to_pcb_group_id?: string | undefined;
15077
+ positioned_relative_to_pcb_board_id?: string | undefined;
15071
15078
  obstructs_within_bounds?: boolean | undefined;
15072
15079
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
15073
15080
  type: z.ZodLiteral<"pcb_hole">;
@@ -23038,6 +23045,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23038
23045
  pcb_group_id: z.ZodOptional<z.ZodString>;
23039
23046
  position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "none"]>>;
23040
23047
  positioned_relative_to_pcb_group_id: z.ZodOptional<z.ZodString>;
23048
+ positioned_relative_to_pcb_board_id: z.ZodOptional<z.ZodString>;
23041
23049
  obstructs_within_bounds: z.ZodDefault<z.ZodBoolean>;
23042
23050
  }, "strip", z.ZodTypeAny, {
23043
23051
  type: "pcb_component";
@@ -23057,6 +23065,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23057
23065
  pcb_group_id?: string | undefined;
23058
23066
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
23059
23067
  positioned_relative_to_pcb_group_id?: string | undefined;
23068
+ positioned_relative_to_pcb_board_id?: string | undefined;
23060
23069
  }, {
23061
23070
  type: "pcb_component";
23062
23071
  width: string | number;
@@ -23076,6 +23085,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23076
23085
  pcb_group_id?: string | undefined;
23077
23086
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
23078
23087
  positioned_relative_to_pcb_group_id?: string | undefined;
23088
+ positioned_relative_to_pcb_board_id?: string | undefined;
23079
23089
  obstructs_within_bounds?: boolean | undefined;
23080
23090
  }>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
23081
23091
  type: z.ZodLiteral<"pcb_hole">;
package/dist/index.mjs CHANGED
@@ -1323,6 +1323,7 @@ var pcb_component = z73.object({
1323
1323
  pcb_group_id: z73.string().optional(),
1324
1324
  position_mode: z73.enum(["packed", "relative_to_group_anchor", "none"]).optional(),
1325
1325
  positioned_relative_to_pcb_group_id: z73.string().optional(),
1326
+ positioned_relative_to_pcb_board_id: z73.string().optional(),
1326
1327
  obstructs_within_bounds: z73.boolean().default(true).describe(
1327
1328
  "Does this component take up all the space within its bounds on a layer. This is generally true except for when separated pin headers are being represented by a single component (in which case, chips can be placed between the pin headers) or for tall modules where chips fit underneath"
1328
1329
  )