circuit-json 0.0.159 → 0.0.161
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 +6286 -5772
- package/dist/index.mjs +56 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1068,9 +1068,64 @@ var pcb_solder_paste_rect = z52.object({
|
|
|
1068
1068
|
pcb_component_id: z52.string().optional(),
|
|
1069
1069
|
pcb_smtpad_id: z52.string().optional()
|
|
1070
1070
|
});
|
|
1071
|
-
var
|
|
1071
|
+
var pcb_solder_paste_pill = z52.object({
|
|
1072
|
+
type: z52.literal("pcb_solder_paste"),
|
|
1073
|
+
shape: z52.literal("pill"),
|
|
1074
|
+
pcb_solder_paste_id: getZodPrefixedIdWithDefault("pcb_solder_paste"),
|
|
1075
|
+
pcb_group_id: z52.string().optional(),
|
|
1076
|
+
subcircuit_id: z52.string().optional(),
|
|
1077
|
+
x: distance,
|
|
1078
|
+
y: distance,
|
|
1079
|
+
width: z52.number(),
|
|
1080
|
+
height: z52.number(),
|
|
1081
|
+
radius: z52.number(),
|
|
1082
|
+
layer: layer_ref,
|
|
1083
|
+
pcb_component_id: z52.string().optional(),
|
|
1084
|
+
pcb_smtpad_id: z52.string().optional()
|
|
1085
|
+
});
|
|
1086
|
+
var pcb_solder_paste_rotated_rect = z52.object({
|
|
1087
|
+
type: z52.literal("pcb_solder_paste"),
|
|
1088
|
+
shape: z52.literal("rotated_rect"),
|
|
1089
|
+
pcb_solder_paste_id: getZodPrefixedIdWithDefault("pcb_solder_paste"),
|
|
1090
|
+
pcb_group_id: z52.string().optional(),
|
|
1091
|
+
subcircuit_id: z52.string().optional(),
|
|
1092
|
+
x: distance,
|
|
1093
|
+
y: distance,
|
|
1094
|
+
width: z52.number(),
|
|
1095
|
+
height: z52.number(),
|
|
1096
|
+
ccw_rotation: distance,
|
|
1097
|
+
layer: layer_ref,
|
|
1098
|
+
pcb_component_id: z52.string().optional(),
|
|
1099
|
+
pcb_smtpad_id: z52.string().optional()
|
|
1100
|
+
});
|
|
1101
|
+
var pcb_solder_paste_oval = z52.object({
|
|
1102
|
+
type: z52.literal("pcb_solder_paste"),
|
|
1103
|
+
shape: z52.literal("oval"),
|
|
1104
|
+
pcb_solder_paste_id: getZodPrefixedIdWithDefault("pcb_solder_paste"),
|
|
1105
|
+
pcb_group_id: z52.string().optional(),
|
|
1106
|
+
subcircuit_id: z52.string().optional(),
|
|
1107
|
+
x: distance,
|
|
1108
|
+
y: distance,
|
|
1109
|
+
width: z52.number(),
|
|
1110
|
+
height: z52.number(),
|
|
1111
|
+
layer: layer_ref,
|
|
1112
|
+
pcb_component_id: z52.string().optional(),
|
|
1113
|
+
pcb_smtpad_id: z52.string().optional()
|
|
1114
|
+
});
|
|
1115
|
+
var pcb_solder_paste = z52.union([
|
|
1116
|
+
pcb_solder_paste_circle,
|
|
1117
|
+
pcb_solder_paste_rect,
|
|
1118
|
+
pcb_solder_paste_pill,
|
|
1119
|
+
pcb_solder_paste_rotated_rect,
|
|
1120
|
+
pcb_solder_paste_oval
|
|
1121
|
+
]).describe("Defines solderpaste on the PCB");
|
|
1072
1122
|
expectTypesMatch(true);
|
|
1073
1123
|
expectTypesMatch(true);
|
|
1124
|
+
expectTypesMatch(true);
|
|
1125
|
+
expectTypesMatch(
|
|
1126
|
+
true
|
|
1127
|
+
);
|
|
1128
|
+
expectTypesMatch(true);
|
|
1074
1129
|
|
|
1075
1130
|
// src/pcb/pcb_text.ts
|
|
1076
1131
|
import { z as z53 } from "zod";
|