circuit-json 0.0.402 → 0.0.403
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 +10 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -11380,6 +11380,7 @@ declare const pcb_courtyard_rect: z.ZodObject<{
|
|
|
11380
11380
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11381
11381
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11382
11382
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
11383
|
+
ccw_rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11383
11384
|
color: z.ZodOptional<z.ZodString>;
|
|
11384
11385
|
}, "strip", z.ZodTypeAny, {
|
|
11385
11386
|
type: "pcb_courtyard_rect";
|
|
@@ -11394,6 +11395,7 @@ declare const pcb_courtyard_rect: z.ZodObject<{
|
|
|
11394
11395
|
pcb_courtyard_rect_id: string;
|
|
11395
11396
|
subcircuit_id?: string | undefined;
|
|
11396
11397
|
pcb_group_id?: string | undefined;
|
|
11398
|
+
ccw_rotation?: number | undefined;
|
|
11397
11399
|
color?: string | undefined;
|
|
11398
11400
|
}, {
|
|
11399
11401
|
type: "pcb_courtyard_rect";
|
|
@@ -11407,6 +11409,7 @@ declare const pcb_courtyard_rect: z.ZodObject<{
|
|
|
11407
11409
|
pcb_component_id: string;
|
|
11408
11410
|
subcircuit_id?: string | undefined;
|
|
11409
11411
|
pcb_group_id?: string | undefined;
|
|
11412
|
+
ccw_rotation?: string | number | undefined;
|
|
11410
11413
|
color?: string | undefined;
|
|
11411
11414
|
pcb_courtyard_rect_id?: string | undefined;
|
|
11412
11415
|
}>;
|
|
@@ -11424,6 +11427,7 @@ interface PcbCourtyardRect {
|
|
|
11424
11427
|
width: Length;
|
|
11425
11428
|
height: Length;
|
|
11426
11429
|
layer: VisibleLayer;
|
|
11430
|
+
ccw_rotation?: Rotation;
|
|
11427
11431
|
color?: string;
|
|
11428
11432
|
}
|
|
11429
11433
|
/**
|
|
@@ -41177,6 +41181,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41177
41181
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
41178
41182
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
41179
41183
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
41184
|
+
ccw_rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
41180
41185
|
color: z.ZodOptional<z.ZodString>;
|
|
41181
41186
|
}, "strip", z.ZodTypeAny, {
|
|
41182
41187
|
type: "pcb_courtyard_rect";
|
|
@@ -41191,6 +41196,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41191
41196
|
pcb_courtyard_rect_id: string;
|
|
41192
41197
|
subcircuit_id?: string | undefined;
|
|
41193
41198
|
pcb_group_id?: string | undefined;
|
|
41199
|
+
ccw_rotation?: number | undefined;
|
|
41194
41200
|
color?: string | undefined;
|
|
41195
41201
|
}, {
|
|
41196
41202
|
type: "pcb_courtyard_rect";
|
|
@@ -41204,6 +41210,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
41204
41210
|
pcb_component_id: string;
|
|
41205
41211
|
subcircuit_id?: string | undefined;
|
|
41206
41212
|
pcb_group_id?: string | undefined;
|
|
41213
|
+
ccw_rotation?: string | number | undefined;
|
|
41207
41214
|
color?: string | undefined;
|
|
41208
41215
|
pcb_courtyard_rect_id?: string | undefined;
|
|
41209
41216
|
}>, z.ZodObject<{
|
|
@@ -58927,6 +58934,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
58927
58934
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
58928
58935
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
58929
58936
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
58937
|
+
ccw_rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
58930
58938
|
color: z.ZodOptional<z.ZodString>;
|
|
58931
58939
|
}, "strip", z.ZodTypeAny, {
|
|
58932
58940
|
type: "pcb_courtyard_rect";
|
|
@@ -58941,6 +58949,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
58941
58949
|
pcb_courtyard_rect_id: string;
|
|
58942
58950
|
subcircuit_id?: string | undefined;
|
|
58943
58951
|
pcb_group_id?: string | undefined;
|
|
58952
|
+
ccw_rotation?: number | undefined;
|
|
58944
58953
|
color?: string | undefined;
|
|
58945
58954
|
}, {
|
|
58946
58955
|
type: "pcb_courtyard_rect";
|
|
@@ -58954,6 +58963,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
58954
58963
|
pcb_component_id: string;
|
|
58955
58964
|
subcircuit_id?: string | undefined;
|
|
58956
58965
|
pcb_group_id?: string | undefined;
|
|
58966
|
+
ccw_rotation?: string | number | undefined;
|
|
58957
58967
|
color?: string | undefined;
|
|
58958
58968
|
pcb_courtyard_rect_id?: string | undefined;
|
|
58959
58969
|
}>, z.ZodObject<{
|
package/dist/index.mjs
CHANGED
|
@@ -3255,6 +3255,7 @@ var pcb_courtyard_rect = z147.object({
|
|
|
3255
3255
|
width: length,
|
|
3256
3256
|
height: length,
|
|
3257
3257
|
layer: visible_layer,
|
|
3258
|
+
ccw_rotation: rotation.optional(),
|
|
3258
3259
|
color: z147.string().optional()
|
|
3259
3260
|
}).describe("Defines a courtyard rectangle on the PCB");
|
|
3260
3261
|
expectTypesMatch(true);
|