circuit-json 0.0.402 → 0.0.404

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
@@ -8189,6 +8189,7 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
8189
8189
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8190
8190
  layer: z.ZodEnum<["top", "bottom"]>;
8191
8191
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8192
+ is_filled: z.ZodOptional<z.ZodBoolean>;
8192
8193
  }, "strip", z.ZodTypeAny, {
8193
8194
  type: "pcb_silkscreen_circle";
8194
8195
  layer: "top" | "bottom";
@@ -8202,6 +8203,7 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
8202
8203
  pcb_silkscreen_circle_id: string;
8203
8204
  subcircuit_id?: string | undefined;
8204
8205
  pcb_group_id?: string | undefined;
8206
+ is_filled?: boolean | undefined;
8205
8207
  }, {
8206
8208
  type: "pcb_silkscreen_circle";
8207
8209
  layer: "top" | "bottom";
@@ -8214,6 +8216,7 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
8214
8216
  subcircuit_id?: string | undefined;
8215
8217
  pcb_group_id?: string | undefined;
8216
8218
  stroke_width?: string | number | undefined;
8219
+ is_filled?: boolean | undefined;
8217
8220
  pcb_silkscreen_circle_id?: string | undefined;
8218
8221
  }>;
8219
8222
  type PcbSilkscreenCircleInput = z.input<typeof pcb_silkscreen_circle>;
@@ -8230,6 +8233,7 @@ interface PcbSilkscreenCircle {
8230
8233
  radius: Length;
8231
8234
  layer: VisibleLayer;
8232
8235
  stroke_width: Length;
8236
+ is_filled?: boolean;
8233
8237
  }
8234
8238
 
8235
8239
  declare const pcb_silkscreen_oval: z.ZodObject<{
@@ -11380,6 +11384,7 @@ declare const pcb_courtyard_rect: z.ZodObject<{
11380
11384
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11381
11385
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
11382
11386
  layer: z.ZodEnum<["top", "bottom"]>;
11387
+ ccw_rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
11383
11388
  color: z.ZodOptional<z.ZodString>;
11384
11389
  }, "strip", z.ZodTypeAny, {
11385
11390
  type: "pcb_courtyard_rect";
@@ -11394,6 +11399,7 @@ declare const pcb_courtyard_rect: z.ZodObject<{
11394
11399
  pcb_courtyard_rect_id: string;
11395
11400
  subcircuit_id?: string | undefined;
11396
11401
  pcb_group_id?: string | undefined;
11402
+ ccw_rotation?: number | undefined;
11397
11403
  color?: string | undefined;
11398
11404
  }, {
11399
11405
  type: "pcb_courtyard_rect";
@@ -11407,6 +11413,7 @@ declare const pcb_courtyard_rect: z.ZodObject<{
11407
11413
  pcb_component_id: string;
11408
11414
  subcircuit_id?: string | undefined;
11409
11415
  pcb_group_id?: string | undefined;
11416
+ ccw_rotation?: string | number | undefined;
11410
11417
  color?: string | undefined;
11411
11418
  pcb_courtyard_rect_id?: string | undefined;
11412
11419
  }>;
@@ -11424,6 +11431,7 @@ interface PcbCourtyardRect {
11424
11431
  width: Length;
11425
11432
  height: Length;
11426
11433
  layer: VisibleLayer;
11434
+ ccw_rotation?: Rotation;
11427
11435
  color?: string;
11428
11436
  }
11429
11437
  /**
@@ -39400,6 +39408,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39400
39408
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
39401
39409
  layer: z.ZodEnum<["top", "bottom"]>;
39402
39410
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
39411
+ is_filled: z.ZodOptional<z.ZodBoolean>;
39403
39412
  }, "strip", z.ZodTypeAny, {
39404
39413
  type: "pcb_silkscreen_circle";
39405
39414
  layer: "top" | "bottom";
@@ -39413,6 +39422,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39413
39422
  pcb_silkscreen_circle_id: string;
39414
39423
  subcircuit_id?: string | undefined;
39415
39424
  pcb_group_id?: string | undefined;
39425
+ is_filled?: boolean | undefined;
39416
39426
  }, {
39417
39427
  type: "pcb_silkscreen_circle";
39418
39428
  layer: "top" | "bottom";
@@ -39425,6 +39435,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39425
39435
  subcircuit_id?: string | undefined;
39426
39436
  pcb_group_id?: string | undefined;
39427
39437
  stroke_width?: string | number | undefined;
39438
+ is_filled?: boolean | undefined;
39428
39439
  pcb_silkscreen_circle_id?: string | undefined;
39429
39440
  }>, z.ZodObject<{
39430
39441
  type: z.ZodLiteral<"pcb_silkscreen_oval">;
@@ -41177,6 +41188,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
41177
41188
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
41178
41189
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
41179
41190
  layer: z.ZodEnum<["top", "bottom"]>;
41191
+ ccw_rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
41180
41192
  color: z.ZodOptional<z.ZodString>;
41181
41193
  }, "strip", z.ZodTypeAny, {
41182
41194
  type: "pcb_courtyard_rect";
@@ -41191,6 +41203,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
41191
41203
  pcb_courtyard_rect_id: string;
41192
41204
  subcircuit_id?: string | undefined;
41193
41205
  pcb_group_id?: string | undefined;
41206
+ ccw_rotation?: number | undefined;
41194
41207
  color?: string | undefined;
41195
41208
  }, {
41196
41209
  type: "pcb_courtyard_rect";
@@ -41204,6 +41217,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
41204
41217
  pcb_component_id: string;
41205
41218
  subcircuit_id?: string | undefined;
41206
41219
  pcb_group_id?: string | undefined;
41220
+ ccw_rotation?: string | number | undefined;
41207
41221
  color?: string | undefined;
41208
41222
  pcb_courtyard_rect_id?: string | undefined;
41209
41223
  }>, z.ZodObject<{
@@ -57150,6 +57164,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
57150
57164
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
57151
57165
  layer: z.ZodEnum<["top", "bottom"]>;
57152
57166
  stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
57167
+ is_filled: z.ZodOptional<z.ZodBoolean>;
57153
57168
  }, "strip", z.ZodTypeAny, {
57154
57169
  type: "pcb_silkscreen_circle";
57155
57170
  layer: "top" | "bottom";
@@ -57163,6 +57178,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
57163
57178
  pcb_silkscreen_circle_id: string;
57164
57179
  subcircuit_id?: string | undefined;
57165
57180
  pcb_group_id?: string | undefined;
57181
+ is_filled?: boolean | undefined;
57166
57182
  }, {
57167
57183
  type: "pcb_silkscreen_circle";
57168
57184
  layer: "top" | "bottom";
@@ -57175,6 +57191,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
57175
57191
  subcircuit_id?: string | undefined;
57176
57192
  pcb_group_id?: string | undefined;
57177
57193
  stroke_width?: string | number | undefined;
57194
+ is_filled?: boolean | undefined;
57178
57195
  pcb_silkscreen_circle_id?: string | undefined;
57179
57196
  }>, z.ZodObject<{
57180
57197
  type: z.ZodLiteral<"pcb_silkscreen_oval">;
@@ -58927,6 +58944,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58927
58944
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
58928
58945
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
58929
58946
  layer: z.ZodEnum<["top", "bottom"]>;
58947
+ ccw_rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
58930
58948
  color: z.ZodOptional<z.ZodString>;
58931
58949
  }, "strip", z.ZodTypeAny, {
58932
58950
  type: "pcb_courtyard_rect";
@@ -58941,6 +58959,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58941
58959
  pcb_courtyard_rect_id: string;
58942
58960
  subcircuit_id?: string | undefined;
58943
58961
  pcb_group_id?: string | undefined;
58962
+ ccw_rotation?: number | undefined;
58944
58963
  color?: string | undefined;
58945
58964
  }, {
58946
58965
  type: "pcb_courtyard_rect";
@@ -58954,6 +58973,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58954
58973
  pcb_component_id: string;
58955
58974
  subcircuit_id?: string | undefined;
58956
58975
  pcb_group_id?: string | undefined;
58976
+ ccw_rotation?: string | number | undefined;
58957
58977
  color?: string | undefined;
58958
58978
  pcb_courtyard_rect_id?: string | undefined;
58959
58979
  }>, z.ZodObject<{
package/dist/index.mjs CHANGED
@@ -2602,7 +2602,8 @@ var pcb_silkscreen_circle = z115.object({
2602
2602
  center: point,
2603
2603
  radius: length,
2604
2604
  layer: visible_layer,
2605
- stroke_width: length.default("1mm")
2605
+ stroke_width: length.default("1mm"),
2606
+ is_filled: z115.boolean().optional()
2606
2607
  }).describe("Defines a silkscreen circle on the PCB");
2607
2608
  expectTypesMatch(true);
2608
2609
 
@@ -3255,6 +3256,7 @@ var pcb_courtyard_rect = z147.object({
3255
3256
  width: length,
3256
3257
  height: length,
3257
3258
  layer: visible_layer,
3259
+ ccw_rotation: rotation.optional(),
3258
3260
  color: z147.string().optional()
3259
3261
  }).describe("Defines a courtyard rectangle on the PCB");
3260
3262
  expectTypesMatch(true);