@tscircuit/props 0.0.129 → 0.0.131
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.ts +1257 -1215
- package/dist/index.js +165 -104
- package/dist/index.js.map +1 -1
- package/lib/common/layout.ts +3 -0
- package/lib/components/diode.ts +6 -0
- package/lib/components/fabrication-note-path.ts +12 -0
- package/lib/components/fabrication-note-text.ts +14 -0
- package/lib/components/group.ts +2 -0
- package/lib/components/inductor.ts +9 -0
- package/lib/components/led.ts +8 -0
- package/lib/components/pcb-keepout.ts +16 -0
- package/lib/components/pcb-trace.ts +9 -0
- package/lib/components/port.ts +11 -0
- package/lib/components/power-source.ts +8 -0
- package/lib/components/schematic-box.ts +10 -0
- package/lib/components/schematic-line.ts +10 -0
- package/lib/components/schematic-path.ts +9 -0
- package/lib/components/schematic-text.ts +9 -0
- package/lib/components/silkscreen-circle.ts +13 -0
- package/lib/components/silkscreen-line.ts +14 -0
- package/lib/components/silkscreen-path.ts +11 -0
- package/lib/components/silkscreen-rect.ts +14 -0
- package/lib/components/silkscreen-text.ts +13 -0
- package/lib/components/switch.ts +9 -0
- package/lib/components/trace-hint.ts +27 -0
- package/lib/components/via.ts +11 -0
- package/lib/index.ts +21 -232
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -675,21 +675,21 @@ declare const commonLayoutProps: z.ZodObject<{
|
|
|
675
675
|
pcbX?: number | undefined;
|
|
676
676
|
pcbY?: number | undefined;
|
|
677
677
|
pcbRotation?: number | undefined;
|
|
678
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
678
679
|
schX?: number | undefined;
|
|
679
680
|
schY?: number | undefined;
|
|
680
681
|
schRotation?: number | undefined;
|
|
681
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
682
682
|
footprint?: Footprint | undefined;
|
|
683
683
|
}, {
|
|
684
684
|
pcbX?: string | number | undefined;
|
|
685
685
|
pcbY?: string | number | undefined;
|
|
686
686
|
pcbRotation?: string | number | undefined;
|
|
687
|
-
schX?: string | number | undefined;
|
|
688
|
-
schY?: string | number | undefined;
|
|
689
|
-
schRotation?: string | number | undefined;
|
|
690
687
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
691
688
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
692
689
|
} | undefined;
|
|
690
|
+
schX?: string | number | undefined;
|
|
691
|
+
schY?: string | number | undefined;
|
|
692
|
+
schRotation?: string | number | undefined;
|
|
693
693
|
footprint?: Footprint | undefined;
|
|
694
694
|
}>;
|
|
695
695
|
type SupplierName = "jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc";
|
|
@@ -975,10 +975,10 @@ declare const commonComponentProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
975
975
|
pcbX?: number | undefined;
|
|
976
976
|
pcbY?: number | undefined;
|
|
977
977
|
pcbRotation?: number | undefined;
|
|
978
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
978
979
|
schX?: number | undefined;
|
|
979
980
|
schY?: number | undefined;
|
|
980
981
|
schRotation?: number | undefined;
|
|
981
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
982
982
|
footprint?: Footprint | undefined;
|
|
983
983
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
984
984
|
key?: any;
|
|
@@ -1042,12 +1042,12 @@ declare const commonComponentProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1042
1042
|
pcbX?: string | number | undefined;
|
|
1043
1043
|
pcbY?: string | number | undefined;
|
|
1044
1044
|
pcbRotation?: string | number | undefined;
|
|
1045
|
-
schX?: string | number | undefined;
|
|
1046
|
-
schY?: string | number | undefined;
|
|
1047
|
-
schRotation?: string | number | undefined;
|
|
1048
1045
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1049
1046
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1050
1047
|
} | undefined;
|
|
1048
|
+
schX?: string | number | undefined;
|
|
1049
|
+
schY?: string | number | undefined;
|
|
1050
|
+
schRotation?: string | number | undefined;
|
|
1051
1051
|
footprint?: Footprint | undefined;
|
|
1052
1052
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1053
1053
|
key?: any;
|
|
@@ -1107,132 +1107,527 @@ declare const commonComponentProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
1107
1107
|
children?: any;
|
|
1108
1108
|
symbolName?: string | undefined;
|
|
1109
1109
|
}>;
|
|
1110
|
-
declare const
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
y: number;
|
|
1120
|
-
z: number;
|
|
1121
|
-
}, {
|
|
1122
|
-
x: string | number;
|
|
1123
|
-
y: string | number;
|
|
1124
|
-
z: string | number;
|
|
1125
|
-
}>;
|
|
1126
|
-
|
|
1127
|
-
/**
|
|
1128
|
-
* @deprecated Use SchematicPortArrangementWithPinCounts instead.
|
|
1129
|
-
*/
|
|
1130
|
-
interface SchematicPortArrangementWithSizes {
|
|
1131
|
-
leftSize?: number;
|
|
1132
|
-
topSize?: number;
|
|
1133
|
-
rightSize?: number;
|
|
1134
|
-
bottomSize?: number;
|
|
1135
|
-
}
|
|
1136
|
-
/**
|
|
1137
|
-
* Specifies the number of pins on each side of the schematic box component.
|
|
1138
|
-
*/
|
|
1139
|
-
interface SchematicPortArrangementWithPinCounts {
|
|
1140
|
-
leftPinCount?: number;
|
|
1141
|
-
topPinCount?: number;
|
|
1142
|
-
rightPinCount?: number;
|
|
1143
|
-
bottomPinCount?: number;
|
|
1144
|
-
}
|
|
1145
|
-
interface PinSideDefinition {
|
|
1146
|
-
pins: Array<number | string>;
|
|
1147
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1148
|
-
}
|
|
1149
|
-
interface SchematicPortArrangementWithSides {
|
|
1150
|
-
leftSide?: PinSideDefinition;
|
|
1151
|
-
topSide?: PinSideDefinition;
|
|
1152
|
-
rightSide?: PinSideDefinition;
|
|
1153
|
-
bottomSide?: PinSideDefinition;
|
|
1154
|
-
}
|
|
1155
|
-
interface SchematicPortArrangement extends SchematicPortArrangementWithSizes, SchematicPortArrangementWithSides, SchematicPortArrangementWithPinCounts {
|
|
1156
|
-
}
|
|
1157
|
-
declare const explicitPinSideDefinition: z.ZodObject<{
|
|
1158
|
-
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1159
|
-
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1160
|
-
}, "strip", z.ZodTypeAny, {
|
|
1161
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1162
|
-
pins: (string | number)[];
|
|
1163
|
-
}, {
|
|
1164
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1165
|
-
pins: (string | number)[];
|
|
1166
|
-
}>;
|
|
1167
|
-
declare const schematicPortArrangement: z.ZodObject<{
|
|
1168
|
-
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
1169
|
-
topSize: z.ZodOptional<z.ZodNumber>;
|
|
1170
|
-
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
1171
|
-
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
1172
|
-
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1173
|
-
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1174
|
-
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1175
|
-
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1176
|
-
leftSide: z.ZodOptional<z.ZodObject<{
|
|
1177
|
-
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1178
|
-
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1110
|
+
declare const componentProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1111
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1112
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1113
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1114
|
+
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1115
|
+
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1116
|
+
schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1117
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1118
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
1179
1119
|
}, "strip", z.ZodTypeAny, {
|
|
1180
|
-
|
|
1181
|
-
pins: (string | number)[];
|
|
1120
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1182
1121
|
}, {
|
|
1183
|
-
|
|
1184
|
-
|
|
1122
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1123
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1124
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1185
1125
|
}>>;
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1126
|
+
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
1127
|
+
}, {
|
|
1128
|
+
supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
1129
|
+
}>, {
|
|
1130
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
1131
|
+
name: z.ZodString;
|
|
1132
|
+
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
1133
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
1134
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1135
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1136
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1137
|
+
}, "strip", z.ZodTypeAny, {
|
|
1138
|
+
x: string | number;
|
|
1139
|
+
y: string | number;
|
|
1140
|
+
z: string | number;
|
|
1141
|
+
}, {
|
|
1142
|
+
x: string | number;
|
|
1143
|
+
y: string | number;
|
|
1144
|
+
z: string | number;
|
|
1145
|
+
}>]>>;
|
|
1146
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
1147
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1148
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1149
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1150
|
+
}, "strip", z.ZodTypeAny, {
|
|
1151
|
+
x: number;
|
|
1152
|
+
y: number;
|
|
1153
|
+
z: number;
|
|
1154
|
+
}, {
|
|
1155
|
+
x: string | number;
|
|
1156
|
+
y: string | number;
|
|
1157
|
+
z: string | number;
|
|
1158
|
+
}>>;
|
|
1159
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
1160
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1161
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1162
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1163
|
+
}, "strip", z.ZodTypeAny, {
|
|
1164
|
+
x: number;
|
|
1165
|
+
y: number;
|
|
1166
|
+
z: number;
|
|
1167
|
+
}, {
|
|
1168
|
+
x: string | number;
|
|
1169
|
+
y: string | number;
|
|
1170
|
+
z: string | number;
|
|
1171
|
+
}>>;
|
|
1192
1172
|
}, {
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1173
|
+
stlUrl: z.ZodString;
|
|
1174
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1175
|
+
stlUrl: string;
|
|
1176
|
+
rotationOffset?: number | {
|
|
1177
|
+
x: string | number;
|
|
1178
|
+
y: string | number;
|
|
1179
|
+
z: string | number;
|
|
1180
|
+
} | undefined;
|
|
1181
|
+
positionOffset?: {
|
|
1182
|
+
x: number;
|
|
1183
|
+
y: number;
|
|
1184
|
+
z: number;
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
size?: {
|
|
1187
|
+
x: number;
|
|
1188
|
+
y: number;
|
|
1189
|
+
z: number;
|
|
1190
|
+
} | undefined;
|
|
1202
1191
|
}, {
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1192
|
+
stlUrl: string;
|
|
1193
|
+
rotationOffset?: number | {
|
|
1194
|
+
x: string | number;
|
|
1195
|
+
y: string | number;
|
|
1196
|
+
z: string | number;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
positionOffset?: {
|
|
1199
|
+
x: string | number;
|
|
1200
|
+
y: string | number;
|
|
1201
|
+
z: string | number;
|
|
1202
|
+
} | undefined;
|
|
1203
|
+
size?: {
|
|
1204
|
+
x: string | number;
|
|
1205
|
+
y: string | number;
|
|
1206
|
+
z: string | number;
|
|
1207
|
+
} | undefined;
|
|
1208
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1209
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
1210
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1211
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1212
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1213
|
+
}, "strip", z.ZodTypeAny, {
|
|
1214
|
+
x: string | number;
|
|
1215
|
+
y: string | number;
|
|
1216
|
+
z: string | number;
|
|
1217
|
+
}, {
|
|
1218
|
+
x: string | number;
|
|
1219
|
+
y: string | number;
|
|
1220
|
+
z: string | number;
|
|
1221
|
+
}>]>>;
|
|
1222
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
1223
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1224
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1225
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1226
|
+
}, "strip", z.ZodTypeAny, {
|
|
1227
|
+
x: number;
|
|
1228
|
+
y: number;
|
|
1229
|
+
z: number;
|
|
1230
|
+
}, {
|
|
1231
|
+
x: string | number;
|
|
1232
|
+
y: string | number;
|
|
1233
|
+
z: string | number;
|
|
1234
|
+
}>>;
|
|
1235
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
1236
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1237
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1238
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1239
|
+
}, "strip", z.ZodTypeAny, {
|
|
1240
|
+
x: number;
|
|
1241
|
+
y: number;
|
|
1242
|
+
z: number;
|
|
1243
|
+
}, {
|
|
1244
|
+
x: string | number;
|
|
1245
|
+
y: string | number;
|
|
1246
|
+
z: string | number;
|
|
1247
|
+
}>>;
|
|
1212
1248
|
}, {
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1249
|
+
objUrl: z.ZodString;
|
|
1250
|
+
mtlUrl: z.ZodOptional<z.ZodString>;
|
|
1251
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1252
|
+
objUrl: string;
|
|
1253
|
+
rotationOffset?: number | {
|
|
1254
|
+
x: string | number;
|
|
1255
|
+
y: string | number;
|
|
1256
|
+
z: string | number;
|
|
1257
|
+
} | undefined;
|
|
1258
|
+
positionOffset?: {
|
|
1259
|
+
x: number;
|
|
1260
|
+
y: number;
|
|
1261
|
+
z: number;
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
size?: {
|
|
1264
|
+
x: number;
|
|
1265
|
+
y: number;
|
|
1266
|
+
z: number;
|
|
1267
|
+
} | undefined;
|
|
1268
|
+
mtlUrl?: string | undefined;
|
|
1269
|
+
}, {
|
|
1270
|
+
objUrl: string;
|
|
1271
|
+
rotationOffset?: number | {
|
|
1272
|
+
x: string | number;
|
|
1273
|
+
y: string | number;
|
|
1274
|
+
z: string | number;
|
|
1275
|
+
} | undefined;
|
|
1276
|
+
positionOffset?: {
|
|
1277
|
+
x: string | number;
|
|
1278
|
+
y: string | number;
|
|
1279
|
+
z: string | number;
|
|
1280
|
+
} | undefined;
|
|
1281
|
+
size?: {
|
|
1282
|
+
x: string | number;
|
|
1283
|
+
y: string | number;
|
|
1284
|
+
z: string | number;
|
|
1285
|
+
} | undefined;
|
|
1286
|
+
mtlUrl?: string | undefined;
|
|
1287
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1288
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
1289
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1290
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1291
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1292
|
+
}, "strip", z.ZodTypeAny, {
|
|
1293
|
+
x: string | number;
|
|
1294
|
+
y: string | number;
|
|
1295
|
+
z: string | number;
|
|
1296
|
+
}, {
|
|
1297
|
+
x: string | number;
|
|
1298
|
+
y: string | number;
|
|
1299
|
+
z: string | number;
|
|
1300
|
+
}>]>>;
|
|
1301
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
1302
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1303
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1304
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1305
|
+
}, "strip", z.ZodTypeAny, {
|
|
1306
|
+
x: number;
|
|
1307
|
+
y: number;
|
|
1308
|
+
z: number;
|
|
1309
|
+
}, {
|
|
1310
|
+
x: string | number;
|
|
1311
|
+
y: string | number;
|
|
1312
|
+
z: string | number;
|
|
1313
|
+
}>>;
|
|
1314
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
1315
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1316
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1317
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1318
|
+
}, "strip", z.ZodTypeAny, {
|
|
1319
|
+
x: number;
|
|
1320
|
+
y: number;
|
|
1321
|
+
z: number;
|
|
1322
|
+
}, {
|
|
1323
|
+
x: string | number;
|
|
1324
|
+
y: string | number;
|
|
1325
|
+
z: string | number;
|
|
1326
|
+
}>>;
|
|
1327
|
+
}, {
|
|
1328
|
+
jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
1329
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1330
|
+
jscad: Record<string, any>;
|
|
1331
|
+
rotationOffset?: number | {
|
|
1332
|
+
x: string | number;
|
|
1333
|
+
y: string | number;
|
|
1334
|
+
z: string | number;
|
|
1335
|
+
} | undefined;
|
|
1336
|
+
positionOffset?: {
|
|
1337
|
+
x: number;
|
|
1338
|
+
y: number;
|
|
1339
|
+
z: number;
|
|
1340
|
+
} | undefined;
|
|
1341
|
+
size?: {
|
|
1342
|
+
x: number;
|
|
1343
|
+
y: number;
|
|
1344
|
+
z: number;
|
|
1345
|
+
} | undefined;
|
|
1346
|
+
}, {
|
|
1347
|
+
jscad: Record<string, any>;
|
|
1348
|
+
rotationOffset?: number | {
|
|
1349
|
+
x: string | number;
|
|
1350
|
+
y: string | number;
|
|
1351
|
+
z: string | number;
|
|
1352
|
+
} | undefined;
|
|
1353
|
+
positionOffset?: {
|
|
1354
|
+
x: string | number;
|
|
1355
|
+
y: string | number;
|
|
1356
|
+
z: string | number;
|
|
1357
|
+
} | undefined;
|
|
1358
|
+
size?: {
|
|
1359
|
+
x: string | number;
|
|
1360
|
+
y: string | number;
|
|
1361
|
+
z: string | number;
|
|
1362
|
+
} | undefined;
|
|
1363
|
+
}>]>>;
|
|
1364
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
1365
|
+
symbolName: z.ZodOptional<z.ZodString>;
|
|
1366
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1367
|
+
name: string;
|
|
1368
|
+
pcbX?: number | undefined;
|
|
1369
|
+
pcbY?: number | undefined;
|
|
1370
|
+
pcbRotation?: number | undefined;
|
|
1371
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1372
|
+
schX?: number | undefined;
|
|
1373
|
+
schY?: number | undefined;
|
|
1374
|
+
schRotation?: number | undefined;
|
|
1375
|
+
footprint?: Footprint | undefined;
|
|
1376
|
+
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1377
|
+
key?: any;
|
|
1378
|
+
cadModel?: string | {
|
|
1379
|
+
stlUrl: string;
|
|
1380
|
+
rotationOffset?: number | {
|
|
1381
|
+
x: string | number;
|
|
1382
|
+
y: string | number;
|
|
1383
|
+
z: string | number;
|
|
1384
|
+
} | undefined;
|
|
1385
|
+
positionOffset?: {
|
|
1386
|
+
x: number;
|
|
1387
|
+
y: number;
|
|
1388
|
+
z: number;
|
|
1389
|
+
} | undefined;
|
|
1390
|
+
size?: {
|
|
1391
|
+
x: number;
|
|
1392
|
+
y: number;
|
|
1393
|
+
z: number;
|
|
1394
|
+
} | undefined;
|
|
1395
|
+
} | {
|
|
1396
|
+
objUrl: string;
|
|
1397
|
+
rotationOffset?: number | {
|
|
1398
|
+
x: string | number;
|
|
1399
|
+
y: string | number;
|
|
1400
|
+
z: string | number;
|
|
1401
|
+
} | undefined;
|
|
1402
|
+
positionOffset?: {
|
|
1403
|
+
x: number;
|
|
1404
|
+
y: number;
|
|
1405
|
+
z: number;
|
|
1406
|
+
} | undefined;
|
|
1407
|
+
size?: {
|
|
1408
|
+
x: number;
|
|
1409
|
+
y: number;
|
|
1410
|
+
z: number;
|
|
1411
|
+
} | undefined;
|
|
1412
|
+
mtlUrl?: string | undefined;
|
|
1413
|
+
} | {
|
|
1414
|
+
jscad: Record<string, any>;
|
|
1415
|
+
rotationOffset?: number | {
|
|
1416
|
+
x: string | number;
|
|
1417
|
+
y: string | number;
|
|
1418
|
+
z: string | number;
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
positionOffset?: {
|
|
1421
|
+
x: number;
|
|
1422
|
+
y: number;
|
|
1423
|
+
z: number;
|
|
1424
|
+
} | undefined;
|
|
1425
|
+
size?: {
|
|
1426
|
+
x: number;
|
|
1427
|
+
y: number;
|
|
1428
|
+
z: number;
|
|
1429
|
+
} | undefined;
|
|
1430
|
+
} | undefined;
|
|
1431
|
+
children?: any;
|
|
1432
|
+
symbolName?: string | undefined;
|
|
1433
|
+
}, {
|
|
1434
|
+
name: string;
|
|
1435
|
+
pcbX?: string | number | undefined;
|
|
1436
|
+
pcbY?: string | number | undefined;
|
|
1437
|
+
pcbRotation?: string | number | undefined;
|
|
1438
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1439
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1440
|
+
} | undefined;
|
|
1441
|
+
schX?: string | number | undefined;
|
|
1442
|
+
schY?: string | number | undefined;
|
|
1443
|
+
schRotation?: string | number | undefined;
|
|
1444
|
+
footprint?: Footprint | undefined;
|
|
1445
|
+
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1446
|
+
key?: any;
|
|
1447
|
+
cadModel?: string | {
|
|
1448
|
+
stlUrl: string;
|
|
1449
|
+
rotationOffset?: number | {
|
|
1450
|
+
x: string | number;
|
|
1451
|
+
y: string | number;
|
|
1452
|
+
z: string | number;
|
|
1453
|
+
} | undefined;
|
|
1454
|
+
positionOffset?: {
|
|
1455
|
+
x: string | number;
|
|
1456
|
+
y: string | number;
|
|
1457
|
+
z: string | number;
|
|
1458
|
+
} | undefined;
|
|
1459
|
+
size?: {
|
|
1460
|
+
x: string | number;
|
|
1461
|
+
y: string | number;
|
|
1462
|
+
z: string | number;
|
|
1463
|
+
} | undefined;
|
|
1464
|
+
} | {
|
|
1465
|
+
objUrl: string;
|
|
1466
|
+
rotationOffset?: number | {
|
|
1467
|
+
x: string | number;
|
|
1468
|
+
y: string | number;
|
|
1469
|
+
z: string | number;
|
|
1470
|
+
} | undefined;
|
|
1471
|
+
positionOffset?: {
|
|
1472
|
+
x: string | number;
|
|
1473
|
+
y: string | number;
|
|
1474
|
+
z: string | number;
|
|
1475
|
+
} | undefined;
|
|
1476
|
+
size?: {
|
|
1477
|
+
x: string | number;
|
|
1478
|
+
y: string | number;
|
|
1479
|
+
z: string | number;
|
|
1480
|
+
} | undefined;
|
|
1481
|
+
mtlUrl?: string | undefined;
|
|
1482
|
+
} | {
|
|
1483
|
+
jscad: Record<string, any>;
|
|
1484
|
+
rotationOffset?: number | {
|
|
1485
|
+
x: string | number;
|
|
1486
|
+
y: string | number;
|
|
1487
|
+
z: string | number;
|
|
1488
|
+
} | undefined;
|
|
1489
|
+
positionOffset?: {
|
|
1490
|
+
x: string | number;
|
|
1491
|
+
y: string | number;
|
|
1492
|
+
z: string | number;
|
|
1493
|
+
} | undefined;
|
|
1494
|
+
size?: {
|
|
1495
|
+
x: string | number;
|
|
1496
|
+
y: string | number;
|
|
1497
|
+
z: string | number;
|
|
1498
|
+
} | undefined;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
children?: any;
|
|
1501
|
+
symbolName?: string | undefined;
|
|
1502
|
+
}>;
|
|
1503
|
+
type ComponentProps = z.input<typeof componentProps>;
|
|
1504
|
+
declare const lrPins: readonly ["pin1", "left", "pin2", "right"];
|
|
1505
|
+
declare const lrPolarPins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
|
|
1506
|
+
declare const distanceOrMultiplier: z.ZodUnion<[z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodEnum<["2x", "3x", "4x"]>]>;
|
|
1507
|
+
|
|
1508
|
+
declare const point3: z.ZodObject<{
|
|
1509
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1510
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1511
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1512
|
+
}, "strip", z.ZodTypeAny, {
|
|
1513
|
+
x: number;
|
|
1514
|
+
y: number;
|
|
1515
|
+
z: number;
|
|
1516
|
+
}, {
|
|
1517
|
+
x: string | number;
|
|
1518
|
+
y: string | number;
|
|
1519
|
+
z: string | number;
|
|
1520
|
+
}>;
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* @deprecated Use SchematicPortArrangementWithPinCounts instead.
|
|
1524
|
+
*/
|
|
1525
|
+
interface SchematicPortArrangementWithSizes {
|
|
1526
|
+
leftSize?: number;
|
|
1527
|
+
topSize?: number;
|
|
1528
|
+
rightSize?: number;
|
|
1529
|
+
bottomSize?: number;
|
|
1530
|
+
}
|
|
1531
|
+
/**
|
|
1532
|
+
* Specifies the number of pins on each side of the schematic box component.
|
|
1533
|
+
*/
|
|
1534
|
+
interface SchematicPortArrangementWithPinCounts {
|
|
1535
|
+
leftPinCount?: number;
|
|
1536
|
+
topPinCount?: number;
|
|
1537
|
+
rightPinCount?: number;
|
|
1538
|
+
bottomPinCount?: number;
|
|
1539
|
+
}
|
|
1540
|
+
interface PinSideDefinition {
|
|
1541
|
+
pins: Array<number | string>;
|
|
1542
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1543
|
+
}
|
|
1544
|
+
interface SchematicPortArrangementWithSides {
|
|
1545
|
+
leftSide?: PinSideDefinition;
|
|
1546
|
+
topSide?: PinSideDefinition;
|
|
1547
|
+
rightSide?: PinSideDefinition;
|
|
1548
|
+
bottomSide?: PinSideDefinition;
|
|
1549
|
+
}
|
|
1550
|
+
interface SchematicPortArrangement extends SchematicPortArrangementWithSizes, SchematicPortArrangementWithSides, SchematicPortArrangementWithPinCounts {
|
|
1551
|
+
}
|
|
1552
|
+
declare const explicitPinSideDefinition: z.ZodObject<{
|
|
1553
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1554
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1555
|
+
}, "strip", z.ZodTypeAny, {
|
|
1556
|
+
pins: (string | number)[];
|
|
1557
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1558
|
+
}, {
|
|
1559
|
+
pins: (string | number)[];
|
|
1560
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1561
|
+
}>;
|
|
1562
|
+
declare const schematicPortArrangement: z.ZodObject<{
|
|
1563
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
1564
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
1565
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
1566
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
1567
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1568
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1569
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1570
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1571
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
1572
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1573
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1574
|
+
}, "strip", z.ZodTypeAny, {
|
|
1575
|
+
pins: (string | number)[];
|
|
1576
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1577
|
+
}, {
|
|
1578
|
+
pins: (string | number)[];
|
|
1579
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1580
|
+
}>>;
|
|
1581
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
1582
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1583
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1584
|
+
}, "strip", z.ZodTypeAny, {
|
|
1585
|
+
pins: (string | number)[];
|
|
1586
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1587
|
+
}, {
|
|
1588
|
+
pins: (string | number)[];
|
|
1589
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1590
|
+
}>>;
|
|
1591
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
1592
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1593
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1594
|
+
}, "strip", z.ZodTypeAny, {
|
|
1595
|
+
pins: (string | number)[];
|
|
1596
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1597
|
+
}, {
|
|
1598
|
+
pins: (string | number)[];
|
|
1599
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1600
|
+
}>>;
|
|
1601
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
1602
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1603
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1604
|
+
}, "strip", z.ZodTypeAny, {
|
|
1605
|
+
pins: (string | number)[];
|
|
1606
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1607
|
+
}, {
|
|
1608
|
+
pins: (string | number)[];
|
|
1609
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1610
|
+
}>>;
|
|
1611
|
+
}, "strip", z.ZodTypeAny, {
|
|
1612
|
+
leftSize?: number | undefined;
|
|
1613
|
+
topSize?: number | undefined;
|
|
1614
|
+
rightSize?: number | undefined;
|
|
1615
|
+
bottomSize?: number | undefined;
|
|
1616
|
+
leftSide?: {
|
|
1223
1617
|
pins: (string | number)[];
|
|
1618
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1224
1619
|
} | undefined;
|
|
1225
1620
|
topSide?: {
|
|
1226
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1227
1621
|
pins: (string | number)[];
|
|
1622
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1228
1623
|
} | undefined;
|
|
1229
1624
|
rightSide?: {
|
|
1230
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1231
1625
|
pins: (string | number)[];
|
|
1626
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1232
1627
|
} | undefined;
|
|
1233
1628
|
bottomSide?: {
|
|
1234
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1235
1629
|
pins: (string | number)[];
|
|
1630
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1236
1631
|
} | undefined;
|
|
1237
1632
|
leftPinCount?: number | undefined;
|
|
1238
1633
|
rightPinCount?: number | undefined;
|
|
@@ -1244,20 +1639,20 @@ declare const schematicPortArrangement: z.ZodObject<{
|
|
|
1244
1639
|
rightSize?: number | undefined;
|
|
1245
1640
|
bottomSize?: number | undefined;
|
|
1246
1641
|
leftSide?: {
|
|
1247
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1248
1642
|
pins: (string | number)[];
|
|
1643
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1249
1644
|
} | undefined;
|
|
1250
1645
|
topSide?: {
|
|
1251
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1252
1646
|
pins: (string | number)[];
|
|
1647
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1253
1648
|
} | undefined;
|
|
1254
1649
|
rightSide?: {
|
|
1255
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1256
1650
|
pins: (string | number)[];
|
|
1651
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1257
1652
|
} | undefined;
|
|
1258
1653
|
bottomSide?: {
|
|
1259
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1260
1654
|
pins: (string | number)[];
|
|
1655
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1261
1656
|
} | undefined;
|
|
1262
1657
|
leftPinCount?: number | undefined;
|
|
1263
1658
|
rightPinCount?: number | undefined;
|
|
@@ -1468,28 +1863,28 @@ declare const edit_trace_hint_event: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1468
1863
|
via?: boolean | undefined;
|
|
1469
1864
|
}>, "many">;
|
|
1470
1865
|
}>, "strip", z.ZodTypeAny, {
|
|
1866
|
+
edit_event_id: string;
|
|
1867
|
+
created_at: number;
|
|
1868
|
+
pcb_edit_event_type: "edit_trace_hint";
|
|
1869
|
+
pcb_port_id: string;
|
|
1471
1870
|
route: {
|
|
1472
1871
|
x: number;
|
|
1473
1872
|
y: number;
|
|
1474
1873
|
via?: boolean | undefined;
|
|
1475
1874
|
}[];
|
|
1476
|
-
edit_event_id: string;
|
|
1477
|
-
created_at: number;
|
|
1478
|
-
pcb_edit_event_type: "edit_trace_hint";
|
|
1479
|
-
pcb_port_id: string;
|
|
1480
1875
|
in_progress?: boolean | undefined;
|
|
1481
1876
|
edit_event_type?: "edit_pcb_trace_hint" | undefined;
|
|
1482
1877
|
pcb_trace_hint_id?: string | undefined;
|
|
1483
1878
|
}, {
|
|
1879
|
+
edit_event_id: string;
|
|
1880
|
+
created_at: number;
|
|
1881
|
+
pcb_edit_event_type: "edit_trace_hint";
|
|
1882
|
+
pcb_port_id: string;
|
|
1484
1883
|
route: {
|
|
1485
1884
|
x: number;
|
|
1486
1885
|
y: number;
|
|
1487
1886
|
via?: boolean | undefined;
|
|
1488
1887
|
}[];
|
|
1489
|
-
edit_event_id: string;
|
|
1490
|
-
created_at: number;
|
|
1491
|
-
pcb_edit_event_type: "edit_trace_hint";
|
|
1492
|
-
pcb_port_id: string;
|
|
1493
1888
|
in_progress?: boolean | undefined;
|
|
1494
1889
|
edit_event_type?: "edit_pcb_trace_hint" | undefined;
|
|
1495
1890
|
pcb_trace_hint_id?: string | undefined;
|
|
@@ -1660,28 +2055,28 @@ declare const manual_edit_event: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShap
|
|
|
1660
2055
|
via?: boolean | undefined;
|
|
1661
2056
|
}>, "many">;
|
|
1662
2057
|
}>, "strip", z.ZodTypeAny, {
|
|
2058
|
+
edit_event_id: string;
|
|
2059
|
+
created_at: number;
|
|
2060
|
+
pcb_edit_event_type: "edit_trace_hint";
|
|
2061
|
+
pcb_port_id: string;
|
|
1663
2062
|
route: {
|
|
1664
2063
|
x: number;
|
|
1665
2064
|
y: number;
|
|
1666
2065
|
via?: boolean | undefined;
|
|
1667
2066
|
}[];
|
|
1668
|
-
edit_event_id: string;
|
|
1669
|
-
created_at: number;
|
|
1670
|
-
pcb_edit_event_type: "edit_trace_hint";
|
|
1671
|
-
pcb_port_id: string;
|
|
1672
2067
|
in_progress?: boolean | undefined;
|
|
1673
2068
|
edit_event_type?: "edit_pcb_trace_hint" | undefined;
|
|
1674
2069
|
pcb_trace_hint_id?: string | undefined;
|
|
1675
2070
|
}, {
|
|
2071
|
+
edit_event_id: string;
|
|
2072
|
+
created_at: number;
|
|
2073
|
+
pcb_edit_event_type: "edit_trace_hint";
|
|
2074
|
+
pcb_port_id: string;
|
|
1676
2075
|
route: {
|
|
1677
2076
|
x: number;
|
|
1678
2077
|
y: number;
|
|
1679
2078
|
via?: boolean | undefined;
|
|
1680
2079
|
}[];
|
|
1681
|
-
edit_event_id: string;
|
|
1682
|
-
created_at: number;
|
|
1683
|
-
pcb_edit_event_type: "edit_trace_hint";
|
|
1684
|
-
pcb_port_id: string;
|
|
1685
2080
|
in_progress?: boolean | undefined;
|
|
1686
2081
|
edit_event_type?: "edit_pcb_trace_hint" | undefined;
|
|
1687
2082
|
pcb_trace_hint_id?: string | undefined;
|
|
@@ -1757,18 +2152,18 @@ declare const manual_pcb_placement: z.ZodObject<{
|
|
|
1757
2152
|
y: string | number;
|
|
1758
2153
|
}>;
|
|
1759
2154
|
}, "strip", z.ZodTypeAny, {
|
|
2155
|
+
selector: string;
|
|
2156
|
+
relative_to: string;
|
|
1760
2157
|
center: {
|
|
1761
2158
|
x: number;
|
|
1762
2159
|
y: number;
|
|
1763
2160
|
};
|
|
1764
|
-
selector: string;
|
|
1765
|
-
relative_to: string;
|
|
1766
2161
|
}, {
|
|
2162
|
+
selector: string;
|
|
1767
2163
|
center: {
|
|
1768
2164
|
x: string | number;
|
|
1769
2165
|
y: string | number;
|
|
1770
2166
|
};
|
|
1771
|
-
selector: string;
|
|
1772
2167
|
relative_to?: string | undefined;
|
|
1773
2168
|
}>;
|
|
1774
2169
|
interface ManualPcbPlacement {
|
|
@@ -1810,6 +2205,7 @@ declare const manual_trace_hint: z.ZodObject<{
|
|
|
1810
2205
|
} | undefined;
|
|
1811
2206
|
}>, "many">;
|
|
1812
2207
|
}, "strip", z.ZodTypeAny, {
|
|
2208
|
+
pcb_port_selector: string;
|
|
1813
2209
|
offsets: {
|
|
1814
2210
|
x: number;
|
|
1815
2211
|
y: number;
|
|
@@ -1817,8 +2213,8 @@ declare const manual_trace_hint: z.ZodObject<{
|
|
|
1817
2213
|
via?: boolean | undefined;
|
|
1818
2214
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1819
2215
|
}[];
|
|
1820
|
-
pcb_port_selector: string;
|
|
1821
2216
|
}, {
|
|
2217
|
+
pcb_port_selector: string;
|
|
1822
2218
|
offsets: {
|
|
1823
2219
|
x: string | number;
|
|
1824
2220
|
y: string | number;
|
|
@@ -1828,7 +2224,6 @@ declare const manual_trace_hint: z.ZodObject<{
|
|
|
1828
2224
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1829
2225
|
} | undefined;
|
|
1830
2226
|
}[];
|
|
1831
|
-
pcb_port_selector: string;
|
|
1832
2227
|
}>;
|
|
1833
2228
|
interface ManualTraceHint {
|
|
1834
2229
|
pcb_port_selector: string;
|
|
@@ -1850,18 +2245,18 @@ declare const manual_schematic_placement: z.ZodObject<{
|
|
|
1850
2245
|
y: string | number;
|
|
1851
2246
|
}>;
|
|
1852
2247
|
}, "strip", z.ZodTypeAny, {
|
|
2248
|
+
selector: string;
|
|
2249
|
+
relative_to: string;
|
|
1853
2250
|
center: {
|
|
1854
2251
|
x: number;
|
|
1855
2252
|
y: number;
|
|
1856
2253
|
};
|
|
1857
|
-
selector: string;
|
|
1858
|
-
relative_to: string;
|
|
1859
2254
|
}, {
|
|
2255
|
+
selector: string;
|
|
1860
2256
|
center: {
|
|
1861
2257
|
x: string | number;
|
|
1862
2258
|
y: string | number;
|
|
1863
2259
|
};
|
|
1864
|
-
selector: string;
|
|
1865
2260
|
relative_to?: string | undefined;
|
|
1866
2261
|
}>;
|
|
1867
2262
|
interface ManualSchematicPlacement {
|
|
@@ -1886,18 +2281,18 @@ declare const manual_edits_file: z.ZodObject<{
|
|
|
1886
2281
|
y: string | number;
|
|
1887
2282
|
}>;
|
|
1888
2283
|
}, "strip", z.ZodTypeAny, {
|
|
2284
|
+
selector: string;
|
|
2285
|
+
relative_to: string;
|
|
1889
2286
|
center: {
|
|
1890
2287
|
x: number;
|
|
1891
2288
|
y: number;
|
|
1892
2289
|
};
|
|
1893
|
-
selector: string;
|
|
1894
|
-
relative_to: string;
|
|
1895
2290
|
}, {
|
|
2291
|
+
selector: string;
|
|
1896
2292
|
center: {
|
|
1897
2293
|
x: string | number;
|
|
1898
2294
|
y: string | number;
|
|
1899
2295
|
};
|
|
1900
|
-
selector: string;
|
|
1901
2296
|
relative_to?: string | undefined;
|
|
1902
2297
|
}>, "many">>;
|
|
1903
2298
|
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1932,6 +2327,7 @@ declare const manual_edits_file: z.ZodObject<{
|
|
|
1932
2327
|
} | undefined;
|
|
1933
2328
|
}>, "many">;
|
|
1934
2329
|
}, "strip", z.ZodTypeAny, {
|
|
2330
|
+
pcb_port_selector: string;
|
|
1935
2331
|
offsets: {
|
|
1936
2332
|
x: number;
|
|
1937
2333
|
y: number;
|
|
@@ -1939,8 +2335,8 @@ declare const manual_edits_file: z.ZodObject<{
|
|
|
1939
2335
|
via?: boolean | undefined;
|
|
1940
2336
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1941
2337
|
}[];
|
|
1942
|
-
pcb_port_selector: string;
|
|
1943
2338
|
}, {
|
|
2339
|
+
pcb_port_selector: string;
|
|
1944
2340
|
offsets: {
|
|
1945
2341
|
x: string | number;
|
|
1946
2342
|
y: string | number;
|
|
@@ -1950,7 +2346,6 @@ declare const manual_edits_file: z.ZodObject<{
|
|
|
1950
2346
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1951
2347
|
} | undefined;
|
|
1952
2348
|
}[];
|
|
1953
|
-
pcb_port_selector: string;
|
|
1954
2349
|
}>, "many">>;
|
|
1955
2350
|
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1956
2351
|
selector: z.ZodString;
|
|
@@ -1966,30 +2361,31 @@ declare const manual_edits_file: z.ZodObject<{
|
|
|
1966
2361
|
y: string | number;
|
|
1967
2362
|
}>;
|
|
1968
2363
|
}, "strip", z.ZodTypeAny, {
|
|
2364
|
+
selector: string;
|
|
2365
|
+
relative_to: string;
|
|
1969
2366
|
center: {
|
|
1970
2367
|
x: number;
|
|
1971
2368
|
y: number;
|
|
1972
2369
|
};
|
|
1973
|
-
selector: string;
|
|
1974
|
-
relative_to: string;
|
|
1975
2370
|
}, {
|
|
2371
|
+
selector: string;
|
|
1976
2372
|
center: {
|
|
1977
2373
|
x: string | number;
|
|
1978
2374
|
y: string | number;
|
|
1979
2375
|
};
|
|
1980
|
-
selector: string;
|
|
1981
2376
|
relative_to?: string | undefined;
|
|
1982
2377
|
}>, "many">>;
|
|
1983
2378
|
}, "strip", z.ZodTypeAny, {
|
|
1984
2379
|
pcb_placements?: {
|
|
2380
|
+
selector: string;
|
|
2381
|
+
relative_to: string;
|
|
1985
2382
|
center: {
|
|
1986
2383
|
x: number;
|
|
1987
2384
|
y: number;
|
|
1988
2385
|
};
|
|
1989
|
-
selector: string;
|
|
1990
|
-
relative_to: string;
|
|
1991
2386
|
}[] | undefined;
|
|
1992
2387
|
manual_trace_hints?: {
|
|
2388
|
+
pcb_port_selector: string;
|
|
1993
2389
|
offsets: {
|
|
1994
2390
|
x: number;
|
|
1995
2391
|
y: number;
|
|
@@ -1997,26 +2393,26 @@ declare const manual_edits_file: z.ZodObject<{
|
|
|
1997
2393
|
via?: boolean | undefined;
|
|
1998
2394
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1999
2395
|
}[];
|
|
2000
|
-
pcb_port_selector: string;
|
|
2001
2396
|
}[] | undefined;
|
|
2002
2397
|
schematic_placements?: {
|
|
2398
|
+
selector: string;
|
|
2399
|
+
relative_to: string;
|
|
2003
2400
|
center: {
|
|
2004
2401
|
x: number;
|
|
2005
2402
|
y: number;
|
|
2006
2403
|
};
|
|
2007
|
-
selector: string;
|
|
2008
|
-
relative_to: string;
|
|
2009
2404
|
}[] | undefined;
|
|
2010
2405
|
}, {
|
|
2011
2406
|
pcb_placements?: {
|
|
2407
|
+
selector: string;
|
|
2012
2408
|
center: {
|
|
2013
2409
|
x: string | number;
|
|
2014
2410
|
y: string | number;
|
|
2015
2411
|
};
|
|
2016
|
-
selector: string;
|
|
2017
2412
|
relative_to?: string | undefined;
|
|
2018
2413
|
}[] | undefined;
|
|
2019
2414
|
manual_trace_hints?: {
|
|
2415
|
+
pcb_port_selector: string;
|
|
2020
2416
|
offsets: {
|
|
2021
2417
|
x: string | number;
|
|
2022
2418
|
y: string | number;
|
|
@@ -2026,14 +2422,13 @@ declare const manual_edits_file: z.ZodObject<{
|
|
|
2026
2422
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2027
2423
|
} | undefined;
|
|
2028
2424
|
}[];
|
|
2029
|
-
pcb_port_selector: string;
|
|
2030
2425
|
}[] | undefined;
|
|
2031
2426
|
schematic_placements?: {
|
|
2427
|
+
selector: string;
|
|
2032
2428
|
center: {
|
|
2033
2429
|
x: string | number;
|
|
2034
2430
|
y: string | number;
|
|
2035
2431
|
};
|
|
2036
|
-
selector: string;
|
|
2037
2432
|
relative_to?: string | undefined;
|
|
2038
2433
|
}[] | undefined;
|
|
2039
2434
|
}>;
|
|
@@ -2046,6 +2441,7 @@ type ManualEditsFileInput = z.input<typeof manual_edits_file>;
|
|
|
2046
2441
|
|
|
2047
2442
|
interface BaseGroupProps extends CommonLayoutProps {
|
|
2048
2443
|
name?: string;
|
|
2444
|
+
key?: any;
|
|
2049
2445
|
children?: any;
|
|
2050
2446
|
}
|
|
2051
2447
|
type PartsEngine = {
|
|
@@ -2144,28 +2540,31 @@ declare const baseGroupProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2144
2540
|
}, {
|
|
2145
2541
|
name: z.ZodOptional<z.ZodString>;
|
|
2146
2542
|
children: z.ZodOptional<z.ZodAny>;
|
|
2543
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
2147
2544
|
}>, "strip", z.ZodTypeAny, {
|
|
2148
2545
|
pcbX?: number | undefined;
|
|
2149
2546
|
pcbY?: number | undefined;
|
|
2150
2547
|
pcbRotation?: number | undefined;
|
|
2548
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2151
2549
|
schX?: number | undefined;
|
|
2152
2550
|
schY?: number | undefined;
|
|
2153
2551
|
schRotation?: number | undefined;
|
|
2154
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2155
2552
|
footprint?: Footprint | undefined;
|
|
2553
|
+
key?: any;
|
|
2156
2554
|
name?: string | undefined;
|
|
2157
2555
|
children?: any;
|
|
2158
2556
|
}, {
|
|
2159
2557
|
pcbX?: string | number | undefined;
|
|
2160
2558
|
pcbY?: string | number | undefined;
|
|
2161
2559
|
pcbRotation?: string | number | undefined;
|
|
2162
|
-
schX?: string | number | undefined;
|
|
2163
|
-
schY?: string | number | undefined;
|
|
2164
|
-
schRotation?: string | number | undefined;
|
|
2165
2560
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2166
2561
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2167
2562
|
} | undefined;
|
|
2563
|
+
schX?: string | number | undefined;
|
|
2564
|
+
schY?: string | number | undefined;
|
|
2565
|
+
schRotation?: string | number | undefined;
|
|
2168
2566
|
footprint?: Footprint | undefined;
|
|
2567
|
+
key?: any;
|
|
2169
2568
|
name?: string | undefined;
|
|
2170
2569
|
children?: any;
|
|
2171
2570
|
}>;
|
|
@@ -2189,6 +2588,7 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2189
2588
|
}, {
|
|
2190
2589
|
name: z.ZodOptional<z.ZodString>;
|
|
2191
2590
|
children: z.ZodOptional<z.ZodAny>;
|
|
2591
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
2192
2592
|
}>, {
|
|
2193
2593
|
layout: z.ZodOptional<z.ZodType<LayoutBuilder, z.ZodTypeDef, LayoutBuilder>>;
|
|
2194
2594
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
@@ -2206,18 +2606,18 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2206
2606
|
y: string | number;
|
|
2207
2607
|
}>;
|
|
2208
2608
|
}, "strip", z.ZodTypeAny, {
|
|
2609
|
+
selector: string;
|
|
2610
|
+
relative_to: string;
|
|
2209
2611
|
center: {
|
|
2210
2612
|
x: number;
|
|
2211
2613
|
y: number;
|
|
2212
2614
|
};
|
|
2213
|
-
selector: string;
|
|
2214
|
-
relative_to: string;
|
|
2215
2615
|
}, {
|
|
2616
|
+
selector: string;
|
|
2216
2617
|
center: {
|
|
2217
2618
|
x: string | number;
|
|
2218
2619
|
y: string | number;
|
|
2219
2620
|
};
|
|
2220
|
-
selector: string;
|
|
2221
2621
|
relative_to?: string | undefined;
|
|
2222
2622
|
}>, "many">>;
|
|
2223
2623
|
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2252,6 +2652,7 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2252
2652
|
} | undefined;
|
|
2253
2653
|
}>, "many">;
|
|
2254
2654
|
}, "strip", z.ZodTypeAny, {
|
|
2655
|
+
pcb_port_selector: string;
|
|
2255
2656
|
offsets: {
|
|
2256
2657
|
x: number;
|
|
2257
2658
|
y: number;
|
|
@@ -2259,8 +2660,8 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2259
2660
|
via?: boolean | undefined;
|
|
2260
2661
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2261
2662
|
}[];
|
|
2262
|
-
pcb_port_selector: string;
|
|
2263
2663
|
}, {
|
|
2664
|
+
pcb_port_selector: string;
|
|
2264
2665
|
offsets: {
|
|
2265
2666
|
x: string | number;
|
|
2266
2667
|
y: string | number;
|
|
@@ -2270,7 +2671,6 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2270
2671
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2271
2672
|
} | undefined;
|
|
2272
2673
|
}[];
|
|
2273
|
-
pcb_port_selector: string;
|
|
2274
2674
|
}>, "many">>;
|
|
2275
2675
|
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2276
2676
|
selector: z.ZodString;
|
|
@@ -2286,30 +2686,31 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2286
2686
|
y: string | number;
|
|
2287
2687
|
}>;
|
|
2288
2688
|
}, "strip", z.ZodTypeAny, {
|
|
2689
|
+
selector: string;
|
|
2690
|
+
relative_to: string;
|
|
2289
2691
|
center: {
|
|
2290
2692
|
x: number;
|
|
2291
2693
|
y: number;
|
|
2292
2694
|
};
|
|
2293
|
-
selector: string;
|
|
2294
|
-
relative_to: string;
|
|
2295
2695
|
}, {
|
|
2696
|
+
selector: string;
|
|
2296
2697
|
center: {
|
|
2297
2698
|
x: string | number;
|
|
2298
2699
|
y: string | number;
|
|
2299
2700
|
};
|
|
2300
|
-
selector: string;
|
|
2301
2701
|
relative_to?: string | undefined;
|
|
2302
2702
|
}>, "many">>;
|
|
2303
2703
|
}, "strip", z.ZodTypeAny, {
|
|
2304
2704
|
pcb_placements?: {
|
|
2705
|
+
selector: string;
|
|
2706
|
+
relative_to: string;
|
|
2305
2707
|
center: {
|
|
2306
2708
|
x: number;
|
|
2307
2709
|
y: number;
|
|
2308
2710
|
};
|
|
2309
|
-
selector: string;
|
|
2310
|
-
relative_to: string;
|
|
2311
2711
|
}[] | undefined;
|
|
2312
2712
|
manual_trace_hints?: {
|
|
2713
|
+
pcb_port_selector: string;
|
|
2313
2714
|
offsets: {
|
|
2314
2715
|
x: number;
|
|
2315
2716
|
y: number;
|
|
@@ -2317,26 +2718,26 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2317
2718
|
via?: boolean | undefined;
|
|
2318
2719
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2319
2720
|
}[];
|
|
2320
|
-
pcb_port_selector: string;
|
|
2321
2721
|
}[] | undefined;
|
|
2322
2722
|
schematic_placements?: {
|
|
2723
|
+
selector: string;
|
|
2724
|
+
relative_to: string;
|
|
2323
2725
|
center: {
|
|
2324
2726
|
x: number;
|
|
2325
2727
|
y: number;
|
|
2326
2728
|
};
|
|
2327
|
-
selector: string;
|
|
2328
|
-
relative_to: string;
|
|
2329
2729
|
}[] | undefined;
|
|
2330
2730
|
}, {
|
|
2331
2731
|
pcb_placements?: {
|
|
2732
|
+
selector: string;
|
|
2332
2733
|
center: {
|
|
2333
2734
|
x: string | number;
|
|
2334
2735
|
y: string | number;
|
|
2335
2736
|
};
|
|
2336
|
-
selector: string;
|
|
2337
2737
|
relative_to?: string | undefined;
|
|
2338
2738
|
}[] | undefined;
|
|
2339
2739
|
manual_trace_hints?: {
|
|
2740
|
+
pcb_port_selector: string;
|
|
2340
2741
|
offsets: {
|
|
2341
2742
|
x: string | number;
|
|
2342
2743
|
y: string | number;
|
|
@@ -2346,14 +2747,13 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2346
2747
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2347
2748
|
} | undefined;
|
|
2348
2749
|
}[];
|
|
2349
|
-
pcb_port_selector: string;
|
|
2350
2750
|
}[] | undefined;
|
|
2351
2751
|
schematic_placements?: {
|
|
2752
|
+
selector: string;
|
|
2352
2753
|
center: {
|
|
2353
2754
|
x: string | number;
|
|
2354
2755
|
y: string | number;
|
|
2355
2756
|
};
|
|
2356
|
-
selector: string;
|
|
2357
2757
|
relative_to?: string | undefined;
|
|
2358
2758
|
}[] | undefined;
|
|
2359
2759
|
}>>;
|
|
@@ -2384,24 +2784,26 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2384
2784
|
pcbX?: number | undefined;
|
|
2385
2785
|
pcbY?: number | undefined;
|
|
2386
2786
|
pcbRotation?: number | undefined;
|
|
2787
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2387
2788
|
schX?: number | undefined;
|
|
2388
2789
|
schY?: number | undefined;
|
|
2389
2790
|
schRotation?: number | undefined;
|
|
2390
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2391
2791
|
footprint?: Footprint | undefined;
|
|
2792
|
+
key?: any;
|
|
2392
2793
|
name?: string | undefined;
|
|
2393
2794
|
children?: any;
|
|
2394
2795
|
layout?: LayoutBuilder | undefined;
|
|
2395
2796
|
manualEdits?: {
|
|
2396
2797
|
pcb_placements?: {
|
|
2798
|
+
selector: string;
|
|
2799
|
+
relative_to: string;
|
|
2397
2800
|
center: {
|
|
2398
2801
|
x: number;
|
|
2399
2802
|
y: number;
|
|
2400
2803
|
};
|
|
2401
|
-
selector: string;
|
|
2402
|
-
relative_to: string;
|
|
2403
2804
|
}[] | undefined;
|
|
2404
2805
|
manual_trace_hints?: {
|
|
2806
|
+
pcb_port_selector: string;
|
|
2405
2807
|
offsets: {
|
|
2406
2808
|
x: number;
|
|
2407
2809
|
y: number;
|
|
@@ -2409,15 +2811,14 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2409
2811
|
via?: boolean | undefined;
|
|
2410
2812
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2411
2813
|
}[];
|
|
2412
|
-
pcb_port_selector: string;
|
|
2413
2814
|
}[] | undefined;
|
|
2414
2815
|
schematic_placements?: {
|
|
2816
|
+
selector: string;
|
|
2817
|
+
relative_to: string;
|
|
2415
2818
|
center: {
|
|
2416
2819
|
x: number;
|
|
2417
2820
|
y: number;
|
|
2418
2821
|
};
|
|
2419
|
-
selector: string;
|
|
2420
|
-
relative_to: string;
|
|
2421
2822
|
}[] | undefined;
|
|
2422
2823
|
} | undefined;
|
|
2423
2824
|
routingDisabled?: boolean | undefined;
|
|
@@ -2437,26 +2838,28 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2437
2838
|
pcbX?: string | number | undefined;
|
|
2438
2839
|
pcbY?: string | number | undefined;
|
|
2439
2840
|
pcbRotation?: string | number | undefined;
|
|
2440
|
-
schX?: string | number | undefined;
|
|
2441
|
-
schY?: string | number | undefined;
|
|
2442
|
-
schRotation?: string | number | undefined;
|
|
2443
2841
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2444
2842
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2445
2843
|
} | undefined;
|
|
2844
|
+
schX?: string | number | undefined;
|
|
2845
|
+
schY?: string | number | undefined;
|
|
2846
|
+
schRotation?: string | number | undefined;
|
|
2446
2847
|
footprint?: Footprint | undefined;
|
|
2848
|
+
key?: any;
|
|
2447
2849
|
name?: string | undefined;
|
|
2448
2850
|
children?: any;
|
|
2449
2851
|
layout?: LayoutBuilder | undefined;
|
|
2450
2852
|
manualEdits?: {
|
|
2451
2853
|
pcb_placements?: {
|
|
2854
|
+
selector: string;
|
|
2452
2855
|
center: {
|
|
2453
2856
|
x: string | number;
|
|
2454
2857
|
y: string | number;
|
|
2455
2858
|
};
|
|
2456
|
-
selector: string;
|
|
2457
2859
|
relative_to?: string | undefined;
|
|
2458
2860
|
}[] | undefined;
|
|
2459
2861
|
manual_trace_hints?: {
|
|
2862
|
+
pcb_port_selector: string;
|
|
2460
2863
|
offsets: {
|
|
2461
2864
|
x: string | number;
|
|
2462
2865
|
y: string | number;
|
|
@@ -2466,14 +2869,13 @@ declare const subcircuitGroupProps: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
2466
2869
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2467
2870
|
} | undefined;
|
|
2468
2871
|
}[];
|
|
2469
|
-
pcb_port_selector: string;
|
|
2470
2872
|
}[] | undefined;
|
|
2471
2873
|
schematic_placements?: {
|
|
2874
|
+
selector: string;
|
|
2472
2875
|
center: {
|
|
2473
2876
|
x: string | number;
|
|
2474
2877
|
y: string | number;
|
|
2475
2878
|
};
|
|
2476
|
-
selector: string;
|
|
2477
2879
|
relative_to?: string | undefined;
|
|
2478
2880
|
}[] | undefined;
|
|
2479
2881
|
} | undefined;
|
|
@@ -2511,6 +2913,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2511
2913
|
}, {
|
|
2512
2914
|
name: z.ZodOptional<z.ZodString>;
|
|
2513
2915
|
children: z.ZodOptional<z.ZodAny>;
|
|
2916
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
2514
2917
|
}>, {
|
|
2515
2918
|
layout: z.ZodOptional<z.ZodType<LayoutBuilder, z.ZodTypeDef, LayoutBuilder>>;
|
|
2516
2919
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
@@ -2528,18 +2931,18 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2528
2931
|
y: string | number;
|
|
2529
2932
|
}>;
|
|
2530
2933
|
}, "strip", z.ZodTypeAny, {
|
|
2934
|
+
selector: string;
|
|
2935
|
+
relative_to: string;
|
|
2531
2936
|
center: {
|
|
2532
2937
|
x: number;
|
|
2533
2938
|
y: number;
|
|
2534
2939
|
};
|
|
2535
|
-
selector: string;
|
|
2536
|
-
relative_to: string;
|
|
2537
2940
|
}, {
|
|
2941
|
+
selector: string;
|
|
2538
2942
|
center: {
|
|
2539
2943
|
x: string | number;
|
|
2540
2944
|
y: string | number;
|
|
2541
2945
|
};
|
|
2542
|
-
selector: string;
|
|
2543
2946
|
relative_to?: string | undefined;
|
|
2544
2947
|
}>, "many">>;
|
|
2545
2948
|
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2574,6 +2977,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2574
2977
|
} | undefined;
|
|
2575
2978
|
}>, "many">;
|
|
2576
2979
|
}, "strip", z.ZodTypeAny, {
|
|
2980
|
+
pcb_port_selector: string;
|
|
2577
2981
|
offsets: {
|
|
2578
2982
|
x: number;
|
|
2579
2983
|
y: number;
|
|
@@ -2581,8 +2985,8 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2581
2985
|
via?: boolean | undefined;
|
|
2582
2986
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2583
2987
|
}[];
|
|
2584
|
-
pcb_port_selector: string;
|
|
2585
2988
|
}, {
|
|
2989
|
+
pcb_port_selector: string;
|
|
2586
2990
|
offsets: {
|
|
2587
2991
|
x: string | number;
|
|
2588
2992
|
y: string | number;
|
|
@@ -2592,7 +2996,6 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2592
2996
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2593
2997
|
} | undefined;
|
|
2594
2998
|
}[];
|
|
2595
|
-
pcb_port_selector: string;
|
|
2596
2999
|
}>, "many">>;
|
|
2597
3000
|
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2598
3001
|
selector: z.ZodString;
|
|
@@ -2608,30 +3011,31 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2608
3011
|
y: string | number;
|
|
2609
3012
|
}>;
|
|
2610
3013
|
}, "strip", z.ZodTypeAny, {
|
|
3014
|
+
selector: string;
|
|
3015
|
+
relative_to: string;
|
|
2611
3016
|
center: {
|
|
2612
3017
|
x: number;
|
|
2613
3018
|
y: number;
|
|
2614
3019
|
};
|
|
2615
|
-
selector: string;
|
|
2616
|
-
relative_to: string;
|
|
2617
3020
|
}, {
|
|
3021
|
+
selector: string;
|
|
2618
3022
|
center: {
|
|
2619
3023
|
x: string | number;
|
|
2620
3024
|
y: string | number;
|
|
2621
3025
|
};
|
|
2622
|
-
selector: string;
|
|
2623
3026
|
relative_to?: string | undefined;
|
|
2624
3027
|
}>, "many">>;
|
|
2625
3028
|
}, "strip", z.ZodTypeAny, {
|
|
2626
3029
|
pcb_placements?: {
|
|
3030
|
+
selector: string;
|
|
3031
|
+
relative_to: string;
|
|
2627
3032
|
center: {
|
|
2628
3033
|
x: number;
|
|
2629
3034
|
y: number;
|
|
2630
3035
|
};
|
|
2631
|
-
selector: string;
|
|
2632
|
-
relative_to: string;
|
|
2633
3036
|
}[] | undefined;
|
|
2634
3037
|
manual_trace_hints?: {
|
|
3038
|
+
pcb_port_selector: string;
|
|
2635
3039
|
offsets: {
|
|
2636
3040
|
x: number;
|
|
2637
3041
|
y: number;
|
|
@@ -2639,26 +3043,26 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2639
3043
|
via?: boolean | undefined;
|
|
2640
3044
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2641
3045
|
}[];
|
|
2642
|
-
pcb_port_selector: string;
|
|
2643
3046
|
}[] | undefined;
|
|
2644
3047
|
schematic_placements?: {
|
|
3048
|
+
selector: string;
|
|
3049
|
+
relative_to: string;
|
|
2645
3050
|
center: {
|
|
2646
3051
|
x: number;
|
|
2647
3052
|
y: number;
|
|
2648
3053
|
};
|
|
2649
|
-
selector: string;
|
|
2650
|
-
relative_to: string;
|
|
2651
3054
|
}[] | undefined;
|
|
2652
3055
|
}, {
|
|
2653
3056
|
pcb_placements?: {
|
|
3057
|
+
selector: string;
|
|
2654
3058
|
center: {
|
|
2655
3059
|
x: string | number;
|
|
2656
3060
|
y: string | number;
|
|
2657
3061
|
};
|
|
2658
|
-
selector: string;
|
|
2659
3062
|
relative_to?: string | undefined;
|
|
2660
3063
|
}[] | undefined;
|
|
2661
3064
|
manual_trace_hints?: {
|
|
3065
|
+
pcb_port_selector: string;
|
|
2662
3066
|
offsets: {
|
|
2663
3067
|
x: string | number;
|
|
2664
3068
|
y: string | number;
|
|
@@ -2668,14 +3072,13 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2668
3072
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2669
3073
|
} | undefined;
|
|
2670
3074
|
}[];
|
|
2671
|
-
pcb_port_selector: string;
|
|
2672
3075
|
}[] | undefined;
|
|
2673
3076
|
schematic_placements?: {
|
|
3077
|
+
selector: string;
|
|
2674
3078
|
center: {
|
|
2675
3079
|
x: string | number;
|
|
2676
3080
|
y: string | number;
|
|
2677
3081
|
};
|
|
2678
|
-
selector: string;
|
|
2679
3082
|
relative_to?: string | undefined;
|
|
2680
3083
|
}[] | undefined;
|
|
2681
3084
|
}>>;
|
|
@@ -2709,24 +3112,26 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2709
3112
|
pcbX?: number | undefined;
|
|
2710
3113
|
pcbY?: number | undefined;
|
|
2711
3114
|
pcbRotation?: number | undefined;
|
|
3115
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2712
3116
|
schX?: number | undefined;
|
|
2713
3117
|
schY?: number | undefined;
|
|
2714
3118
|
schRotation?: number | undefined;
|
|
2715
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2716
3119
|
footprint?: Footprint | undefined;
|
|
3120
|
+
key?: any;
|
|
2717
3121
|
name?: string | undefined;
|
|
2718
3122
|
children?: any;
|
|
2719
3123
|
layout?: LayoutBuilder | undefined;
|
|
2720
3124
|
manualEdits?: {
|
|
2721
3125
|
pcb_placements?: {
|
|
3126
|
+
selector: string;
|
|
3127
|
+
relative_to: string;
|
|
2722
3128
|
center: {
|
|
2723
3129
|
x: number;
|
|
2724
3130
|
y: number;
|
|
2725
3131
|
};
|
|
2726
|
-
selector: string;
|
|
2727
|
-
relative_to: string;
|
|
2728
3132
|
}[] | undefined;
|
|
2729
3133
|
manual_trace_hints?: {
|
|
3134
|
+
pcb_port_selector: string;
|
|
2730
3135
|
offsets: {
|
|
2731
3136
|
x: number;
|
|
2732
3137
|
y: number;
|
|
@@ -2734,15 +3139,14 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2734
3139
|
via?: boolean | undefined;
|
|
2735
3140
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2736
3141
|
}[];
|
|
2737
|
-
pcb_port_selector: string;
|
|
2738
3142
|
}[] | undefined;
|
|
2739
3143
|
schematic_placements?: {
|
|
3144
|
+
selector: string;
|
|
3145
|
+
relative_to: string;
|
|
2740
3146
|
center: {
|
|
2741
3147
|
x: number;
|
|
2742
3148
|
y: number;
|
|
2743
3149
|
};
|
|
2744
|
-
selector: string;
|
|
2745
|
-
relative_to: string;
|
|
2746
3150
|
}[] | undefined;
|
|
2747
3151
|
} | undefined;
|
|
2748
3152
|
routingDisabled?: boolean | undefined;
|
|
@@ -2763,26 +3167,28 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2763
3167
|
pcbX?: string | number | undefined;
|
|
2764
3168
|
pcbY?: string | number | undefined;
|
|
2765
3169
|
pcbRotation?: string | number | undefined;
|
|
2766
|
-
schX?: string | number | undefined;
|
|
2767
|
-
schY?: string | number | undefined;
|
|
2768
|
-
schRotation?: string | number | undefined;
|
|
2769
3170
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2770
3171
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2771
3172
|
} | undefined;
|
|
3173
|
+
schX?: string | number | undefined;
|
|
3174
|
+
schY?: string | number | undefined;
|
|
3175
|
+
schRotation?: string | number | undefined;
|
|
2772
3176
|
footprint?: Footprint | undefined;
|
|
3177
|
+
key?: any;
|
|
2773
3178
|
name?: string | undefined;
|
|
2774
3179
|
children?: any;
|
|
2775
3180
|
layout?: LayoutBuilder | undefined;
|
|
2776
3181
|
manualEdits?: {
|
|
2777
3182
|
pcb_placements?: {
|
|
3183
|
+
selector: string;
|
|
2778
3184
|
center: {
|
|
2779
3185
|
x: string | number;
|
|
2780
3186
|
y: string | number;
|
|
2781
3187
|
};
|
|
2782
|
-
selector: string;
|
|
2783
3188
|
relative_to?: string | undefined;
|
|
2784
3189
|
}[] | undefined;
|
|
2785
3190
|
manual_trace_hints?: {
|
|
3191
|
+
pcb_port_selector: string;
|
|
2786
3192
|
offsets: {
|
|
2787
3193
|
x: string | number;
|
|
2788
3194
|
y: string | number;
|
|
@@ -2792,14 +3198,13 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<z.objectUtil.extendShape
|
|
|
2792
3198
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2793
3199
|
} | undefined;
|
|
2794
3200
|
}[];
|
|
2795
|
-
pcb_port_selector: string;
|
|
2796
3201
|
}[] | undefined;
|
|
2797
3202
|
schematic_placements?: {
|
|
3203
|
+
selector: string;
|
|
2798
3204
|
center: {
|
|
2799
3205
|
x: string | number;
|
|
2800
3206
|
y: string | number;
|
|
2801
3207
|
};
|
|
2802
|
-
selector: string;
|
|
2803
3208
|
relative_to?: string | undefined;
|
|
2804
3209
|
}[] | undefined;
|
|
2805
3210
|
} | undefined;
|
|
@@ -2837,17 +3242,19 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
2837
3242
|
}, {
|
|
2838
3243
|
name: z.ZodOptional<z.ZodString>;
|
|
2839
3244
|
children: z.ZodOptional<z.ZodAny>;
|
|
3245
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
2840
3246
|
}>, {
|
|
2841
3247
|
subcircuit: z.ZodOptional<z.ZodLiteral<false>>;
|
|
2842
3248
|
}>, "strip", z.ZodTypeAny, {
|
|
2843
3249
|
pcbX?: number | undefined;
|
|
2844
3250
|
pcbY?: number | undefined;
|
|
2845
3251
|
pcbRotation?: number | undefined;
|
|
3252
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2846
3253
|
schX?: number | undefined;
|
|
2847
3254
|
schY?: number | undefined;
|
|
2848
3255
|
schRotation?: number | undefined;
|
|
2849
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2850
3256
|
footprint?: Footprint | undefined;
|
|
3257
|
+
key?: any;
|
|
2851
3258
|
name?: string | undefined;
|
|
2852
3259
|
children?: any;
|
|
2853
3260
|
subcircuit?: false | undefined;
|
|
@@ -2855,13 +3262,14 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
2855
3262
|
pcbX?: string | number | undefined;
|
|
2856
3263
|
pcbY?: string | number | undefined;
|
|
2857
3264
|
pcbRotation?: string | number | undefined;
|
|
2858
|
-
schX?: string | number | undefined;
|
|
2859
|
-
schY?: string | number | undefined;
|
|
2860
|
-
schRotation?: string | number | undefined;
|
|
2861
3265
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2862
3266
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2863
3267
|
} | undefined;
|
|
3268
|
+
schX?: string | number | undefined;
|
|
3269
|
+
schY?: string | number | undefined;
|
|
3270
|
+
schRotation?: string | number | undefined;
|
|
2864
3271
|
footprint?: Footprint | undefined;
|
|
3272
|
+
key?: any;
|
|
2865
3273
|
name?: string | undefined;
|
|
2866
3274
|
children?: any;
|
|
2867
3275
|
subcircuit?: false | undefined;
|
|
@@ -2885,6 +3293,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
2885
3293
|
}, {
|
|
2886
3294
|
name: z.ZodOptional<z.ZodString>;
|
|
2887
3295
|
children: z.ZodOptional<z.ZodAny>;
|
|
3296
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
2888
3297
|
}>, {
|
|
2889
3298
|
layout: z.ZodOptional<z.ZodType<LayoutBuilder, z.ZodTypeDef, LayoutBuilder>>;
|
|
2890
3299
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
@@ -2902,18 +3311,18 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
2902
3311
|
y: string | number;
|
|
2903
3312
|
}>;
|
|
2904
3313
|
}, "strip", z.ZodTypeAny, {
|
|
3314
|
+
selector: string;
|
|
3315
|
+
relative_to: string;
|
|
2905
3316
|
center: {
|
|
2906
3317
|
x: number;
|
|
2907
3318
|
y: number;
|
|
2908
3319
|
};
|
|
2909
|
-
selector: string;
|
|
2910
|
-
relative_to: string;
|
|
2911
3320
|
}, {
|
|
3321
|
+
selector: string;
|
|
2912
3322
|
center: {
|
|
2913
3323
|
x: string | number;
|
|
2914
3324
|
y: string | number;
|
|
2915
3325
|
};
|
|
2916
|
-
selector: string;
|
|
2917
3326
|
relative_to?: string | undefined;
|
|
2918
3327
|
}>, "many">>;
|
|
2919
3328
|
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2948,6 +3357,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
2948
3357
|
} | undefined;
|
|
2949
3358
|
}>, "many">;
|
|
2950
3359
|
}, "strip", z.ZodTypeAny, {
|
|
3360
|
+
pcb_port_selector: string;
|
|
2951
3361
|
offsets: {
|
|
2952
3362
|
x: number;
|
|
2953
3363
|
y: number;
|
|
@@ -2955,8 +3365,8 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
2955
3365
|
via?: boolean | undefined;
|
|
2956
3366
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2957
3367
|
}[];
|
|
2958
|
-
pcb_port_selector: string;
|
|
2959
3368
|
}, {
|
|
3369
|
+
pcb_port_selector: string;
|
|
2960
3370
|
offsets: {
|
|
2961
3371
|
x: string | number;
|
|
2962
3372
|
y: string | number;
|
|
@@ -2966,7 +3376,6 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
2966
3376
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2967
3377
|
} | undefined;
|
|
2968
3378
|
}[];
|
|
2969
|
-
pcb_port_selector: string;
|
|
2970
3379
|
}>, "many">>;
|
|
2971
3380
|
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2972
3381
|
selector: z.ZodString;
|
|
@@ -2982,30 +3391,31 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
2982
3391
|
y: string | number;
|
|
2983
3392
|
}>;
|
|
2984
3393
|
}, "strip", z.ZodTypeAny, {
|
|
3394
|
+
selector: string;
|
|
3395
|
+
relative_to: string;
|
|
2985
3396
|
center: {
|
|
2986
3397
|
x: number;
|
|
2987
3398
|
y: number;
|
|
2988
3399
|
};
|
|
2989
|
-
selector: string;
|
|
2990
|
-
relative_to: string;
|
|
2991
3400
|
}, {
|
|
3401
|
+
selector: string;
|
|
2992
3402
|
center: {
|
|
2993
3403
|
x: string | number;
|
|
2994
3404
|
y: string | number;
|
|
2995
3405
|
};
|
|
2996
|
-
selector: string;
|
|
2997
3406
|
relative_to?: string | undefined;
|
|
2998
3407
|
}>, "many">>;
|
|
2999
3408
|
}, "strip", z.ZodTypeAny, {
|
|
3000
3409
|
pcb_placements?: {
|
|
3410
|
+
selector: string;
|
|
3411
|
+
relative_to: string;
|
|
3001
3412
|
center: {
|
|
3002
3413
|
x: number;
|
|
3003
3414
|
y: number;
|
|
3004
3415
|
};
|
|
3005
|
-
selector: string;
|
|
3006
|
-
relative_to: string;
|
|
3007
3416
|
}[] | undefined;
|
|
3008
3417
|
manual_trace_hints?: {
|
|
3418
|
+
pcb_port_selector: string;
|
|
3009
3419
|
offsets: {
|
|
3010
3420
|
x: number;
|
|
3011
3421
|
y: number;
|
|
@@ -3013,26 +3423,26 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3013
3423
|
via?: boolean | undefined;
|
|
3014
3424
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3015
3425
|
}[];
|
|
3016
|
-
pcb_port_selector: string;
|
|
3017
3426
|
}[] | undefined;
|
|
3018
3427
|
schematic_placements?: {
|
|
3428
|
+
selector: string;
|
|
3429
|
+
relative_to: string;
|
|
3019
3430
|
center: {
|
|
3020
3431
|
x: number;
|
|
3021
3432
|
y: number;
|
|
3022
3433
|
};
|
|
3023
|
-
selector: string;
|
|
3024
|
-
relative_to: string;
|
|
3025
3434
|
}[] | undefined;
|
|
3026
3435
|
}, {
|
|
3027
3436
|
pcb_placements?: {
|
|
3437
|
+
selector: string;
|
|
3028
3438
|
center: {
|
|
3029
3439
|
x: string | number;
|
|
3030
3440
|
y: string | number;
|
|
3031
3441
|
};
|
|
3032
|
-
selector: string;
|
|
3033
3442
|
relative_to?: string | undefined;
|
|
3034
3443
|
}[] | undefined;
|
|
3035
3444
|
manual_trace_hints?: {
|
|
3445
|
+
pcb_port_selector: string;
|
|
3036
3446
|
offsets: {
|
|
3037
3447
|
x: string | number;
|
|
3038
3448
|
y: string | number;
|
|
@@ -3042,14 +3452,13 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3042
3452
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3043
3453
|
} | undefined;
|
|
3044
3454
|
}[];
|
|
3045
|
-
pcb_port_selector: string;
|
|
3046
3455
|
}[] | undefined;
|
|
3047
3456
|
schematic_placements?: {
|
|
3457
|
+
selector: string;
|
|
3048
3458
|
center: {
|
|
3049
3459
|
x: string | number;
|
|
3050
3460
|
y: string | number;
|
|
3051
3461
|
};
|
|
3052
|
-
selector: string;
|
|
3053
3462
|
relative_to?: string | undefined;
|
|
3054
3463
|
}[] | undefined;
|
|
3055
3464
|
}>>;
|
|
@@ -3083,24 +3492,26 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3083
3492
|
pcbX?: number | undefined;
|
|
3084
3493
|
pcbY?: number | undefined;
|
|
3085
3494
|
pcbRotation?: number | undefined;
|
|
3495
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3086
3496
|
schX?: number | undefined;
|
|
3087
3497
|
schY?: number | undefined;
|
|
3088
3498
|
schRotation?: number | undefined;
|
|
3089
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3090
3499
|
footprint?: Footprint | undefined;
|
|
3500
|
+
key?: any;
|
|
3091
3501
|
name?: string | undefined;
|
|
3092
3502
|
children?: any;
|
|
3093
3503
|
layout?: LayoutBuilder | undefined;
|
|
3094
3504
|
manualEdits?: {
|
|
3095
3505
|
pcb_placements?: {
|
|
3506
|
+
selector: string;
|
|
3507
|
+
relative_to: string;
|
|
3096
3508
|
center: {
|
|
3097
3509
|
x: number;
|
|
3098
3510
|
y: number;
|
|
3099
3511
|
};
|
|
3100
|
-
selector: string;
|
|
3101
|
-
relative_to: string;
|
|
3102
3512
|
}[] | undefined;
|
|
3103
3513
|
manual_trace_hints?: {
|
|
3514
|
+
pcb_port_selector: string;
|
|
3104
3515
|
offsets: {
|
|
3105
3516
|
x: number;
|
|
3106
3517
|
y: number;
|
|
@@ -3108,15 +3519,14 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3108
3519
|
via?: boolean | undefined;
|
|
3109
3520
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3110
3521
|
}[];
|
|
3111
|
-
pcb_port_selector: string;
|
|
3112
3522
|
}[] | undefined;
|
|
3113
3523
|
schematic_placements?: {
|
|
3524
|
+
selector: string;
|
|
3525
|
+
relative_to: string;
|
|
3114
3526
|
center: {
|
|
3115
3527
|
x: number;
|
|
3116
3528
|
y: number;
|
|
3117
3529
|
};
|
|
3118
|
-
selector: string;
|
|
3119
|
-
relative_to: string;
|
|
3120
3530
|
}[] | undefined;
|
|
3121
3531
|
} | undefined;
|
|
3122
3532
|
routingDisabled?: boolean | undefined;
|
|
@@ -3137,26 +3547,28 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3137
3547
|
pcbX?: string | number | undefined;
|
|
3138
3548
|
pcbY?: string | number | undefined;
|
|
3139
3549
|
pcbRotation?: string | number | undefined;
|
|
3140
|
-
schX?: string | number | undefined;
|
|
3141
|
-
schY?: string | number | undefined;
|
|
3142
|
-
schRotation?: string | number | undefined;
|
|
3143
3550
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3144
3551
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3145
3552
|
} | undefined;
|
|
3553
|
+
schX?: string | number | undefined;
|
|
3554
|
+
schY?: string | number | undefined;
|
|
3555
|
+
schRotation?: string | number | undefined;
|
|
3146
3556
|
footprint?: Footprint | undefined;
|
|
3557
|
+
key?: any;
|
|
3147
3558
|
name?: string | undefined;
|
|
3148
3559
|
children?: any;
|
|
3149
3560
|
layout?: LayoutBuilder | undefined;
|
|
3150
3561
|
manualEdits?: {
|
|
3151
3562
|
pcb_placements?: {
|
|
3563
|
+
selector: string;
|
|
3152
3564
|
center: {
|
|
3153
3565
|
x: string | number;
|
|
3154
3566
|
y: string | number;
|
|
3155
3567
|
};
|
|
3156
|
-
selector: string;
|
|
3157
3568
|
relative_to?: string | undefined;
|
|
3158
3569
|
}[] | undefined;
|
|
3159
3570
|
manual_trace_hints?: {
|
|
3571
|
+
pcb_port_selector: string;
|
|
3160
3572
|
offsets: {
|
|
3161
3573
|
x: string | number;
|
|
3162
3574
|
y: string | number;
|
|
@@ -3166,14 +3578,13 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<z.o
|
|
|
3166
3578
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3167
3579
|
} | undefined;
|
|
3168
3580
|
}[];
|
|
3169
|
-
pcb_port_selector: string;
|
|
3170
3581
|
}[] | undefined;
|
|
3171
3582
|
schematic_placements?: {
|
|
3583
|
+
selector: string;
|
|
3172
3584
|
center: {
|
|
3173
3585
|
x: string | number;
|
|
3174
3586
|
y: string | number;
|
|
3175
3587
|
};
|
|
3176
|
-
selector: string;
|
|
3177
3588
|
relative_to?: string | undefined;
|
|
3178
3589
|
}[] | undefined;
|
|
3179
3590
|
} | undefined;
|
|
@@ -3224,6 +3635,7 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3224
3635
|
}, {
|
|
3225
3636
|
name: z.ZodOptional<z.ZodString>;
|
|
3226
3637
|
children: z.ZodOptional<z.ZodAny>;
|
|
3638
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
3227
3639
|
}>, {
|
|
3228
3640
|
layout: z.ZodOptional<z.ZodType<LayoutBuilder, z.ZodTypeDef, LayoutBuilder>>;
|
|
3229
3641
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
@@ -3241,18 +3653,18 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3241
3653
|
y: string | number;
|
|
3242
3654
|
}>;
|
|
3243
3655
|
}, "strip", z.ZodTypeAny, {
|
|
3656
|
+
selector: string;
|
|
3657
|
+
relative_to: string;
|
|
3244
3658
|
center: {
|
|
3245
3659
|
x: number;
|
|
3246
3660
|
y: number;
|
|
3247
3661
|
};
|
|
3248
|
-
selector: string;
|
|
3249
|
-
relative_to: string;
|
|
3250
3662
|
}, {
|
|
3663
|
+
selector: string;
|
|
3251
3664
|
center: {
|
|
3252
3665
|
x: string | number;
|
|
3253
3666
|
y: string | number;
|
|
3254
3667
|
};
|
|
3255
|
-
selector: string;
|
|
3256
3668
|
relative_to?: string | undefined;
|
|
3257
3669
|
}>, "many">>;
|
|
3258
3670
|
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -3287,6 +3699,7 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3287
3699
|
} | undefined;
|
|
3288
3700
|
}>, "many">;
|
|
3289
3701
|
}, "strip", z.ZodTypeAny, {
|
|
3702
|
+
pcb_port_selector: string;
|
|
3290
3703
|
offsets: {
|
|
3291
3704
|
x: number;
|
|
3292
3705
|
y: number;
|
|
@@ -3294,8 +3707,8 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3294
3707
|
via?: boolean | undefined;
|
|
3295
3708
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3296
3709
|
}[];
|
|
3297
|
-
pcb_port_selector: string;
|
|
3298
3710
|
}, {
|
|
3711
|
+
pcb_port_selector: string;
|
|
3299
3712
|
offsets: {
|
|
3300
3713
|
x: string | number;
|
|
3301
3714
|
y: string | number;
|
|
@@ -3305,7 +3718,6 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3305
3718
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3306
3719
|
} | undefined;
|
|
3307
3720
|
}[];
|
|
3308
|
-
pcb_port_selector: string;
|
|
3309
3721
|
}>, "many">>;
|
|
3310
3722
|
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3311
3723
|
selector: z.ZodString;
|
|
@@ -3321,30 +3733,31 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3321
3733
|
y: string | number;
|
|
3322
3734
|
}>;
|
|
3323
3735
|
}, "strip", z.ZodTypeAny, {
|
|
3736
|
+
selector: string;
|
|
3737
|
+
relative_to: string;
|
|
3324
3738
|
center: {
|
|
3325
3739
|
x: number;
|
|
3326
3740
|
y: number;
|
|
3327
3741
|
};
|
|
3328
|
-
selector: string;
|
|
3329
|
-
relative_to: string;
|
|
3330
3742
|
}, {
|
|
3743
|
+
selector: string;
|
|
3331
3744
|
center: {
|
|
3332
3745
|
x: string | number;
|
|
3333
3746
|
y: string | number;
|
|
3334
3747
|
};
|
|
3335
|
-
selector: string;
|
|
3336
3748
|
relative_to?: string | undefined;
|
|
3337
3749
|
}>, "many">>;
|
|
3338
3750
|
}, "strip", z.ZodTypeAny, {
|
|
3339
3751
|
pcb_placements?: {
|
|
3752
|
+
selector: string;
|
|
3753
|
+
relative_to: string;
|
|
3340
3754
|
center: {
|
|
3341
3755
|
x: number;
|
|
3342
3756
|
y: number;
|
|
3343
3757
|
};
|
|
3344
|
-
selector: string;
|
|
3345
|
-
relative_to: string;
|
|
3346
3758
|
}[] | undefined;
|
|
3347
3759
|
manual_trace_hints?: {
|
|
3760
|
+
pcb_port_selector: string;
|
|
3348
3761
|
offsets: {
|
|
3349
3762
|
x: number;
|
|
3350
3763
|
y: number;
|
|
@@ -3352,26 +3765,26 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3352
3765
|
via?: boolean | undefined;
|
|
3353
3766
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3354
3767
|
}[];
|
|
3355
|
-
pcb_port_selector: string;
|
|
3356
3768
|
}[] | undefined;
|
|
3357
3769
|
schematic_placements?: {
|
|
3770
|
+
selector: string;
|
|
3771
|
+
relative_to: string;
|
|
3358
3772
|
center: {
|
|
3359
3773
|
x: number;
|
|
3360
3774
|
y: number;
|
|
3361
3775
|
};
|
|
3362
|
-
selector: string;
|
|
3363
|
-
relative_to: string;
|
|
3364
3776
|
}[] | undefined;
|
|
3365
3777
|
}, {
|
|
3366
3778
|
pcb_placements?: {
|
|
3779
|
+
selector: string;
|
|
3367
3780
|
center: {
|
|
3368
3781
|
x: string | number;
|
|
3369
3782
|
y: string | number;
|
|
3370
3783
|
};
|
|
3371
|
-
selector: string;
|
|
3372
3784
|
relative_to?: string | undefined;
|
|
3373
3785
|
}[] | undefined;
|
|
3374
3786
|
manual_trace_hints?: {
|
|
3787
|
+
pcb_port_selector: string;
|
|
3375
3788
|
offsets: {
|
|
3376
3789
|
x: string | number;
|
|
3377
3790
|
y: string | number;
|
|
@@ -3381,14 +3794,13 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3381
3794
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3382
3795
|
} | undefined;
|
|
3383
3796
|
}[];
|
|
3384
|
-
pcb_port_selector: string;
|
|
3385
3797
|
}[] | undefined;
|
|
3386
3798
|
schematic_placements?: {
|
|
3799
|
+
selector: string;
|
|
3387
3800
|
center: {
|
|
3388
3801
|
x: string | number;
|
|
3389
3802
|
y: string | number;
|
|
3390
3803
|
};
|
|
3391
|
-
selector: string;
|
|
3392
3804
|
relative_to?: string | undefined;
|
|
3393
3805
|
}[] | undefined;
|
|
3394
3806
|
}>>;
|
|
@@ -3434,26 +3846,26 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3434
3846
|
pcbX?: number | undefined;
|
|
3435
3847
|
pcbY?: number | undefined;
|
|
3436
3848
|
pcbRotation?: number | undefined;
|
|
3849
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3437
3850
|
schX?: number | undefined;
|
|
3438
3851
|
schY?: number | undefined;
|
|
3439
3852
|
schRotation?: number | undefined;
|
|
3440
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3441
3853
|
footprint?: Footprint | undefined;
|
|
3854
|
+
key?: any;
|
|
3442
3855
|
name?: string | undefined;
|
|
3443
3856
|
children?: any;
|
|
3444
|
-
width?: number | undefined;
|
|
3445
|
-
height?: number | undefined;
|
|
3446
3857
|
layout?: LayoutBuilder | undefined;
|
|
3447
3858
|
manualEdits?: {
|
|
3448
3859
|
pcb_placements?: {
|
|
3860
|
+
selector: string;
|
|
3861
|
+
relative_to: string;
|
|
3449
3862
|
center: {
|
|
3450
3863
|
x: number;
|
|
3451
3864
|
y: number;
|
|
3452
3865
|
};
|
|
3453
|
-
selector: string;
|
|
3454
|
-
relative_to: string;
|
|
3455
3866
|
}[] | undefined;
|
|
3456
3867
|
manual_trace_hints?: {
|
|
3868
|
+
pcb_port_selector: string;
|
|
3457
3869
|
offsets: {
|
|
3458
3870
|
x: number;
|
|
3459
3871
|
y: number;
|
|
@@ -3461,15 +3873,14 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3461
3873
|
via?: boolean | undefined;
|
|
3462
3874
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3463
3875
|
}[];
|
|
3464
|
-
pcb_port_selector: string;
|
|
3465
3876
|
}[] | undefined;
|
|
3466
3877
|
schematic_placements?: {
|
|
3878
|
+
selector: string;
|
|
3879
|
+
relative_to: string;
|
|
3467
3880
|
center: {
|
|
3468
3881
|
x: number;
|
|
3469
3882
|
y: number;
|
|
3470
3883
|
};
|
|
3471
|
-
selector: string;
|
|
3472
|
-
relative_to: string;
|
|
3473
3884
|
}[] | undefined;
|
|
3474
3885
|
} | undefined;
|
|
3475
3886
|
routingDisabled?: boolean | undefined;
|
|
@@ -3485,6 +3896,8 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3485
3896
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
3486
3897
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
3487
3898
|
partsEngine?: PartsEngine | undefined;
|
|
3899
|
+
width?: number | undefined;
|
|
3900
|
+
height?: number | undefined;
|
|
3488
3901
|
outline?: {
|
|
3489
3902
|
x: number;
|
|
3490
3903
|
y: number;
|
|
@@ -3495,28 +3908,28 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3495
3908
|
pcbX?: string | number | undefined;
|
|
3496
3909
|
pcbY?: string | number | undefined;
|
|
3497
3910
|
pcbRotation?: string | number | undefined;
|
|
3498
|
-
schX?: string | number | undefined;
|
|
3499
|
-
schY?: string | number | undefined;
|
|
3500
|
-
schRotation?: string | number | undefined;
|
|
3501
3911
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3502
3912
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3503
3913
|
} | undefined;
|
|
3914
|
+
schX?: string | number | undefined;
|
|
3915
|
+
schY?: string | number | undefined;
|
|
3916
|
+
schRotation?: string | number | undefined;
|
|
3504
3917
|
footprint?: Footprint | undefined;
|
|
3918
|
+
key?: any;
|
|
3505
3919
|
name?: string | undefined;
|
|
3506
3920
|
children?: any;
|
|
3507
|
-
width?: string | number | undefined;
|
|
3508
|
-
height?: string | number | undefined;
|
|
3509
3921
|
layout?: LayoutBuilder | undefined;
|
|
3510
3922
|
manualEdits?: {
|
|
3511
3923
|
pcb_placements?: {
|
|
3924
|
+
selector: string;
|
|
3512
3925
|
center: {
|
|
3513
3926
|
x: string | number;
|
|
3514
3927
|
y: string | number;
|
|
3515
3928
|
};
|
|
3516
|
-
selector: string;
|
|
3517
3929
|
relative_to?: string | undefined;
|
|
3518
3930
|
}[] | undefined;
|
|
3519
3931
|
manual_trace_hints?: {
|
|
3932
|
+
pcb_port_selector: string;
|
|
3520
3933
|
offsets: {
|
|
3521
3934
|
x: string | number;
|
|
3522
3935
|
y: string | number;
|
|
@@ -3526,14 +3939,13 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3526
3939
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3527
3940
|
} | undefined;
|
|
3528
3941
|
}[];
|
|
3529
|
-
pcb_port_selector: string;
|
|
3530
3942
|
}[] | undefined;
|
|
3531
3943
|
schematic_placements?: {
|
|
3944
|
+
selector: string;
|
|
3532
3945
|
center: {
|
|
3533
3946
|
x: string | number;
|
|
3534
3947
|
y: string | number;
|
|
3535
3948
|
};
|
|
3536
|
-
selector: string;
|
|
3537
3949
|
relative_to?: string | undefined;
|
|
3538
3950
|
}[] | undefined;
|
|
3539
3951
|
} | undefined;
|
|
@@ -3550,6 +3962,8 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3550
3962
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
3551
3963
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
3552
3964
|
partsEngine?: PartsEngine | undefined;
|
|
3965
|
+
width?: string | number | undefined;
|
|
3966
|
+
height?: string | number | undefined;
|
|
3553
3967
|
outline?: {
|
|
3554
3968
|
x: string | number;
|
|
3555
3969
|
y: string | number;
|
|
@@ -3842,41 +4256,41 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
3842
4256
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3843
4257
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3844
4258
|
}, "strip", z.ZodTypeAny, {
|
|
3845
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3846
4259
|
pins: (string | number)[];
|
|
3847
|
-
}, {
|
|
3848
4260
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4261
|
+
}, {
|
|
3849
4262
|
pins: (string | number)[];
|
|
4263
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3850
4264
|
}>>;
|
|
3851
4265
|
rightSide: z.ZodOptional<z.ZodObject<{
|
|
3852
4266
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3853
4267
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3854
4268
|
}, "strip", z.ZodTypeAny, {
|
|
3855
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3856
4269
|
pins: (string | number)[];
|
|
3857
|
-
}, {
|
|
3858
4270
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4271
|
+
}, {
|
|
3859
4272
|
pins: (string | number)[];
|
|
4273
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3860
4274
|
}>>;
|
|
3861
4275
|
topSide: z.ZodOptional<z.ZodObject<{
|
|
3862
4276
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3863
4277
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3864
4278
|
}, "strip", z.ZodTypeAny, {
|
|
3865
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3866
4279
|
pins: (string | number)[];
|
|
3867
|
-
}, {
|
|
3868
4280
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4281
|
+
}, {
|
|
3869
4282
|
pins: (string | number)[];
|
|
4283
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3870
4284
|
}>>;
|
|
3871
4285
|
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
3872
4286
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3873
4287
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
3874
4288
|
}, "strip", z.ZodTypeAny, {
|
|
3875
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3876
4289
|
pins: (string | number)[];
|
|
3877
|
-
}, {
|
|
3878
4290
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4291
|
+
}, {
|
|
3879
4292
|
pins: (string | number)[];
|
|
4293
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3880
4294
|
}>>;
|
|
3881
4295
|
}, "strip", z.ZodTypeAny, {
|
|
3882
4296
|
leftSize?: number | undefined;
|
|
@@ -3884,20 +4298,20 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
3884
4298
|
rightSize?: number | undefined;
|
|
3885
4299
|
bottomSize?: number | undefined;
|
|
3886
4300
|
leftSide?: {
|
|
3887
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3888
4301
|
pins: (string | number)[];
|
|
4302
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3889
4303
|
} | undefined;
|
|
3890
4304
|
topSide?: {
|
|
3891
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3892
4305
|
pins: (string | number)[];
|
|
4306
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3893
4307
|
} | undefined;
|
|
3894
4308
|
rightSide?: {
|
|
3895
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3896
4309
|
pins: (string | number)[];
|
|
4310
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3897
4311
|
} | undefined;
|
|
3898
4312
|
bottomSide?: {
|
|
3899
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3900
4313
|
pins: (string | number)[];
|
|
4314
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3901
4315
|
} | undefined;
|
|
3902
4316
|
leftPinCount?: number | undefined;
|
|
3903
4317
|
rightPinCount?: number | undefined;
|
|
@@ -3909,20 +4323,20 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
3909
4323
|
rightSize?: number | undefined;
|
|
3910
4324
|
bottomSize?: number | undefined;
|
|
3911
4325
|
leftSide?: {
|
|
3912
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3913
4326
|
pins: (string | number)[];
|
|
4327
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3914
4328
|
} | undefined;
|
|
3915
4329
|
topSide?: {
|
|
3916
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3917
4330
|
pins: (string | number)[];
|
|
4331
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3918
4332
|
} | undefined;
|
|
3919
4333
|
rightSide?: {
|
|
3920
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3921
4334
|
pins: (string | number)[];
|
|
4335
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3922
4336
|
} | undefined;
|
|
3923
4337
|
bottomSide?: {
|
|
3924
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3925
4338
|
pins: (string | number)[];
|
|
4339
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3926
4340
|
} | undefined;
|
|
3927
4341
|
leftPinCount?: number | undefined;
|
|
3928
4342
|
rightPinCount?: number | undefined;
|
|
@@ -3954,10 +4368,10 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
3954
4368
|
pcbX?: number | undefined;
|
|
3955
4369
|
pcbY?: number | undefined;
|
|
3956
4370
|
pcbRotation?: number | undefined;
|
|
4371
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3957
4372
|
schX?: number | undefined;
|
|
3958
4373
|
schY?: number | undefined;
|
|
3959
4374
|
schRotation?: number | undefined;
|
|
3960
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3961
4375
|
footprint?: Footprint | undefined;
|
|
3962
4376
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3963
4377
|
key?: any;
|
|
@@ -4024,20 +4438,20 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4024
4438
|
rightSize?: number | undefined;
|
|
4025
4439
|
bottomSize?: number | undefined;
|
|
4026
4440
|
leftSide?: {
|
|
4027
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4028
4441
|
pins: (string | number)[];
|
|
4442
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4029
4443
|
} | undefined;
|
|
4030
4444
|
topSide?: {
|
|
4031
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4032
4445
|
pins: (string | number)[];
|
|
4446
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4033
4447
|
} | undefined;
|
|
4034
4448
|
rightSide?: {
|
|
4035
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4036
4449
|
pins: (string | number)[];
|
|
4450
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4037
4451
|
} | undefined;
|
|
4038
4452
|
bottomSide?: {
|
|
4039
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4040
4453
|
pins: (string | number)[];
|
|
4454
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4041
4455
|
} | undefined;
|
|
4042
4456
|
leftPinCount?: number | undefined;
|
|
4043
4457
|
rightPinCount?: number | undefined;
|
|
@@ -4059,12 +4473,12 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4059
4473
|
pcbX?: string | number | undefined;
|
|
4060
4474
|
pcbY?: string | number | undefined;
|
|
4061
4475
|
pcbRotation?: string | number | undefined;
|
|
4062
|
-
schX?: string | number | undefined;
|
|
4063
|
-
schY?: string | number | undefined;
|
|
4064
|
-
schRotation?: string | number | undefined;
|
|
4065
4476
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4066
4477
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4067
4478
|
} | undefined;
|
|
4479
|
+
schX?: string | number | undefined;
|
|
4480
|
+
schY?: string | number | undefined;
|
|
4481
|
+
schRotation?: string | number | undefined;
|
|
4068
4482
|
footprint?: Footprint | undefined;
|
|
4069
4483
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4070
4484
|
key?: any;
|
|
@@ -4131,20 +4545,20 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4131
4545
|
rightSize?: number | undefined;
|
|
4132
4546
|
bottomSize?: number | undefined;
|
|
4133
4547
|
leftSide?: {
|
|
4134
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4135
4548
|
pins: (string | number)[];
|
|
4549
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4136
4550
|
} | undefined;
|
|
4137
4551
|
topSide?: {
|
|
4138
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4139
4552
|
pins: (string | number)[];
|
|
4553
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4140
4554
|
} | undefined;
|
|
4141
4555
|
rightSide?: {
|
|
4142
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4143
4556
|
pins: (string | number)[];
|
|
4557
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4144
4558
|
} | undefined;
|
|
4145
4559
|
bottomSide?: {
|
|
4146
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4147
4560
|
pins: (string | number)[];
|
|
4561
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4148
4562
|
} | undefined;
|
|
4149
4563
|
leftPinCount?: number | undefined;
|
|
4150
4564
|
rightPinCount?: number | undefined;
|
|
@@ -4437,41 +4851,41 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
4437
4851
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
4438
4852
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
4439
4853
|
}, "strip", z.ZodTypeAny, {
|
|
4440
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4441
4854
|
pins: (string | number)[];
|
|
4442
|
-
}, {
|
|
4443
4855
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4856
|
+
}, {
|
|
4444
4857
|
pins: (string | number)[];
|
|
4858
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4445
4859
|
}>>;
|
|
4446
4860
|
rightSide: z.ZodOptional<z.ZodObject<{
|
|
4447
4861
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
4448
4862
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
4449
4863
|
}, "strip", z.ZodTypeAny, {
|
|
4450
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4451
4864
|
pins: (string | number)[];
|
|
4452
|
-
}, {
|
|
4453
4865
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4866
|
+
}, {
|
|
4454
4867
|
pins: (string | number)[];
|
|
4868
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4455
4869
|
}>>;
|
|
4456
4870
|
topSide: z.ZodOptional<z.ZodObject<{
|
|
4457
4871
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
4458
4872
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
4459
4873
|
}, "strip", z.ZodTypeAny, {
|
|
4460
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4461
4874
|
pins: (string | number)[];
|
|
4462
|
-
}, {
|
|
4463
4875
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4876
|
+
}, {
|
|
4464
4877
|
pins: (string | number)[];
|
|
4878
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4465
4879
|
}>>;
|
|
4466
4880
|
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
4467
4881
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
4468
4882
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
4469
4883
|
}, "strip", z.ZodTypeAny, {
|
|
4470
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4471
4884
|
pins: (string | number)[];
|
|
4472
|
-
}, {
|
|
4473
4885
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4886
|
+
}, {
|
|
4474
4887
|
pins: (string | number)[];
|
|
4888
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4475
4889
|
}>>;
|
|
4476
4890
|
}, "strip", z.ZodTypeAny, {
|
|
4477
4891
|
leftSize?: number | undefined;
|
|
@@ -4479,20 +4893,20 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
4479
4893
|
rightSize?: number | undefined;
|
|
4480
4894
|
bottomSize?: number | undefined;
|
|
4481
4895
|
leftSide?: {
|
|
4482
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4483
4896
|
pins: (string | number)[];
|
|
4897
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4484
4898
|
} | undefined;
|
|
4485
4899
|
topSide?: {
|
|
4486
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4487
4900
|
pins: (string | number)[];
|
|
4901
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4488
4902
|
} | undefined;
|
|
4489
4903
|
rightSide?: {
|
|
4490
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4491
4904
|
pins: (string | number)[];
|
|
4905
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4492
4906
|
} | undefined;
|
|
4493
4907
|
bottomSide?: {
|
|
4494
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4495
4908
|
pins: (string | number)[];
|
|
4909
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4496
4910
|
} | undefined;
|
|
4497
4911
|
leftPinCount?: number | undefined;
|
|
4498
4912
|
rightPinCount?: number | undefined;
|
|
@@ -4504,20 +4918,20 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
4504
4918
|
rightSize?: number | undefined;
|
|
4505
4919
|
bottomSize?: number | undefined;
|
|
4506
4920
|
leftSide?: {
|
|
4507
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4508
4921
|
pins: (string | number)[];
|
|
4922
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4509
4923
|
} | undefined;
|
|
4510
4924
|
topSide?: {
|
|
4511
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4512
4925
|
pins: (string | number)[];
|
|
4926
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4513
4927
|
} | undefined;
|
|
4514
4928
|
rightSide?: {
|
|
4515
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4516
4929
|
pins: (string | number)[];
|
|
4930
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4517
4931
|
} | undefined;
|
|
4518
4932
|
bottomSide?: {
|
|
4519
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4520
4933
|
pins: (string | number)[];
|
|
4934
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4521
4935
|
} | undefined;
|
|
4522
4936
|
leftPinCount?: number | undefined;
|
|
4523
4937
|
rightPinCount?: number | undefined;
|
|
@@ -4549,10 +4963,10 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
4549
4963
|
pcbX?: number | undefined;
|
|
4550
4964
|
pcbY?: number | undefined;
|
|
4551
4965
|
pcbRotation?: number | undefined;
|
|
4966
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4552
4967
|
schX?: number | undefined;
|
|
4553
4968
|
schY?: number | undefined;
|
|
4554
4969
|
schRotation?: number | undefined;
|
|
4555
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4556
4970
|
footprint?: Footprint | undefined;
|
|
4557
4971
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4558
4972
|
key?: any;
|
|
@@ -4619,20 +5033,20 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
4619
5033
|
rightSize?: number | undefined;
|
|
4620
5034
|
bottomSize?: number | undefined;
|
|
4621
5035
|
leftSide?: {
|
|
4622
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4623
5036
|
pins: (string | number)[];
|
|
5037
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4624
5038
|
} | undefined;
|
|
4625
5039
|
topSide?: {
|
|
4626
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4627
5040
|
pins: (string | number)[];
|
|
5041
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4628
5042
|
} | undefined;
|
|
4629
5043
|
rightSide?: {
|
|
4630
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4631
5044
|
pins: (string | number)[];
|
|
5045
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4632
5046
|
} | undefined;
|
|
4633
5047
|
bottomSide?: {
|
|
4634
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4635
5048
|
pins: (string | number)[];
|
|
5049
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4636
5050
|
} | undefined;
|
|
4637
5051
|
leftPinCount?: number | undefined;
|
|
4638
5052
|
rightPinCount?: number | undefined;
|
|
@@ -4654,12 +5068,12 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
4654
5068
|
pcbX?: string | number | undefined;
|
|
4655
5069
|
pcbY?: string | number | undefined;
|
|
4656
5070
|
pcbRotation?: string | number | undefined;
|
|
4657
|
-
schX?: string | number | undefined;
|
|
4658
|
-
schY?: string | number | undefined;
|
|
4659
|
-
schRotation?: string | number | undefined;
|
|
4660
5071
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4661
5072
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4662
5073
|
} | undefined;
|
|
5074
|
+
schX?: string | number | undefined;
|
|
5075
|
+
schY?: string | number | undefined;
|
|
5076
|
+
schRotation?: string | number | undefined;
|
|
4663
5077
|
footprint?: Footprint | undefined;
|
|
4664
5078
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4665
5079
|
key?: any;
|
|
@@ -4726,20 +5140,20 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
4726
5140
|
rightSize?: number | undefined;
|
|
4727
5141
|
bottomSize?: number | undefined;
|
|
4728
5142
|
leftSide?: {
|
|
4729
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4730
5143
|
pins: (string | number)[];
|
|
5144
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4731
5145
|
} | undefined;
|
|
4732
5146
|
topSide?: {
|
|
4733
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4734
5147
|
pins: (string | number)[];
|
|
5148
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4735
5149
|
} | undefined;
|
|
4736
5150
|
rightSide?: {
|
|
4737
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4738
5151
|
pins: (string | number)[];
|
|
5152
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4739
5153
|
} | undefined;
|
|
4740
5154
|
bottomSide?: {
|
|
4741
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4742
5155
|
pins: (string | number)[];
|
|
5156
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4743
5157
|
} | undefined;
|
|
4744
5158
|
leftPinCount?: number | undefined;
|
|
4745
5159
|
rightPinCount?: number | undefined;
|
|
@@ -5061,41 +5475,41 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
5061
5475
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5062
5476
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5063
5477
|
}, "strip", z.ZodTypeAny, {
|
|
5064
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5065
5478
|
pins: (string | number)[];
|
|
5066
|
-
}, {
|
|
5067
5479
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5480
|
+
}, {
|
|
5068
5481
|
pins: (string | number)[];
|
|
5482
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5069
5483
|
}>>;
|
|
5070
5484
|
rightSide: z.ZodOptional<z.ZodObject<{
|
|
5071
5485
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5072
5486
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5073
5487
|
}, "strip", z.ZodTypeAny, {
|
|
5074
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5075
5488
|
pins: (string | number)[];
|
|
5076
|
-
}, {
|
|
5077
5489
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5490
|
+
}, {
|
|
5078
5491
|
pins: (string | number)[];
|
|
5492
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5079
5493
|
}>>;
|
|
5080
5494
|
topSide: z.ZodOptional<z.ZodObject<{
|
|
5081
5495
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5082
5496
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5083
5497
|
}, "strip", z.ZodTypeAny, {
|
|
5084
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5085
5498
|
pins: (string | number)[];
|
|
5086
|
-
}, {
|
|
5087
5499
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5500
|
+
}, {
|
|
5088
5501
|
pins: (string | number)[];
|
|
5502
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5089
5503
|
}>>;
|
|
5090
5504
|
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
5091
5505
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5092
5506
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5093
5507
|
}, "strip", z.ZodTypeAny, {
|
|
5094
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5095
5508
|
pins: (string | number)[];
|
|
5096
|
-
}, {
|
|
5097
5509
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5510
|
+
}, {
|
|
5098
5511
|
pins: (string | number)[];
|
|
5512
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5099
5513
|
}>>;
|
|
5100
5514
|
}, "strip", z.ZodTypeAny, {
|
|
5101
5515
|
leftSize?: number | undefined;
|
|
@@ -5103,20 +5517,20 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
5103
5517
|
rightSize?: number | undefined;
|
|
5104
5518
|
bottomSize?: number | undefined;
|
|
5105
5519
|
leftSide?: {
|
|
5106
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5107
5520
|
pins: (string | number)[];
|
|
5521
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5108
5522
|
} | undefined;
|
|
5109
5523
|
topSide?: {
|
|
5110
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5111
5524
|
pins: (string | number)[];
|
|
5525
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5112
5526
|
} | undefined;
|
|
5113
5527
|
rightSide?: {
|
|
5114
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5115
5528
|
pins: (string | number)[];
|
|
5529
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5116
5530
|
} | undefined;
|
|
5117
5531
|
bottomSide?: {
|
|
5118
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5119
5532
|
pins: (string | number)[];
|
|
5533
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5120
5534
|
} | undefined;
|
|
5121
5535
|
leftPinCount?: number | undefined;
|
|
5122
5536
|
rightPinCount?: number | undefined;
|
|
@@ -5128,20 +5542,20 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
5128
5542
|
rightSize?: number | undefined;
|
|
5129
5543
|
bottomSize?: number | undefined;
|
|
5130
5544
|
leftSide?: {
|
|
5131
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5132
5545
|
pins: (string | number)[];
|
|
5546
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5133
5547
|
} | undefined;
|
|
5134
5548
|
topSide?: {
|
|
5135
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5136
5549
|
pins: (string | number)[];
|
|
5550
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5137
5551
|
} | undefined;
|
|
5138
5552
|
rightSide?: {
|
|
5139
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5140
5553
|
pins: (string | number)[];
|
|
5554
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5141
5555
|
} | undefined;
|
|
5142
5556
|
bottomSide?: {
|
|
5143
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5144
5557
|
pins: (string | number)[];
|
|
5558
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5145
5559
|
} | undefined;
|
|
5146
5560
|
leftPinCount?: number | undefined;
|
|
5147
5561
|
rightPinCount?: number | undefined;
|
|
@@ -5153,10 +5567,10 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
5153
5567
|
pcbX?: number | undefined;
|
|
5154
5568
|
pcbY?: number | undefined;
|
|
5155
5569
|
pcbRotation?: number | undefined;
|
|
5570
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5156
5571
|
schX?: number | undefined;
|
|
5157
5572
|
schY?: number | undefined;
|
|
5158
5573
|
schRotation?: number | undefined;
|
|
5159
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5160
5574
|
footprint?: Footprint | undefined;
|
|
5161
5575
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5162
5576
|
key?: any;
|
|
@@ -5223,20 +5637,20 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
5223
5637
|
rightSize?: number | undefined;
|
|
5224
5638
|
bottomSize?: number | undefined;
|
|
5225
5639
|
leftSide?: {
|
|
5226
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5227
5640
|
pins: (string | number)[];
|
|
5641
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5228
5642
|
} | undefined;
|
|
5229
5643
|
topSide?: {
|
|
5230
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5231
5644
|
pins: (string | number)[];
|
|
5645
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5232
5646
|
} | undefined;
|
|
5233
5647
|
rightSide?: {
|
|
5234
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5235
5648
|
pins: (string | number)[];
|
|
5649
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5236
5650
|
} | undefined;
|
|
5237
5651
|
bottomSide?: {
|
|
5238
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5239
5652
|
pins: (string | number)[];
|
|
5653
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5240
5654
|
} | undefined;
|
|
5241
5655
|
leftPinCount?: number | undefined;
|
|
5242
5656
|
rightPinCount?: number | undefined;
|
|
@@ -5258,12 +5672,12 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
5258
5672
|
pcbX?: string | number | undefined;
|
|
5259
5673
|
pcbY?: string | number | undefined;
|
|
5260
5674
|
pcbRotation?: string | number | undefined;
|
|
5261
|
-
schX?: string | number | undefined;
|
|
5262
|
-
schY?: string | number | undefined;
|
|
5263
|
-
schRotation?: string | number | undefined;
|
|
5264
5675
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5265
5676
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5266
5677
|
} | undefined;
|
|
5678
|
+
schX?: string | number | undefined;
|
|
5679
|
+
schY?: string | number | undefined;
|
|
5680
|
+
schRotation?: string | number | undefined;
|
|
5267
5681
|
footprint?: Footprint | undefined;
|
|
5268
5682
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5269
5683
|
key?: any;
|
|
@@ -5330,20 +5744,20 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
5330
5744
|
rightSize?: number | undefined;
|
|
5331
5745
|
bottomSize?: number | undefined;
|
|
5332
5746
|
leftSide?: {
|
|
5333
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5334
5747
|
pins: (string | number)[];
|
|
5748
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5335
5749
|
} | undefined;
|
|
5336
5750
|
topSide?: {
|
|
5337
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5338
5751
|
pins: (string | number)[];
|
|
5752
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5339
5753
|
} | undefined;
|
|
5340
5754
|
rightSide?: {
|
|
5341
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5342
5755
|
pins: (string | number)[];
|
|
5756
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5343
5757
|
} | undefined;
|
|
5344
5758
|
bottomSide?: {
|
|
5345
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5346
5759
|
pins: (string | number)[];
|
|
5760
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5347
5761
|
} | undefined;
|
|
5348
5762
|
leftPinCount?: number | undefined;
|
|
5349
5763
|
rightPinCount?: number | undefined;
|
|
@@ -5782,10 +6196,10 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
5782
6196
|
pcbX?: number | undefined;
|
|
5783
6197
|
pcbY?: number | undefined;
|
|
5784
6198
|
pcbRotation?: number | undefined;
|
|
6199
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5785
6200
|
schX?: number | undefined;
|
|
5786
6201
|
schY?: number | undefined;
|
|
5787
6202
|
schRotation?: number | undefined;
|
|
5788
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5789
6203
|
footprint?: Footprint | undefined;
|
|
5790
6204
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5791
6205
|
key?: any;
|
|
@@ -5854,12 +6268,12 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
5854
6268
|
pcbX?: string | number | undefined;
|
|
5855
6269
|
pcbY?: string | number | undefined;
|
|
5856
6270
|
pcbRotation?: string | number | undefined;
|
|
5857
|
-
schX?: string | number | undefined;
|
|
5858
|
-
schY?: string | number | undefined;
|
|
5859
|
-
schRotation?: string | number | undefined;
|
|
5860
6271
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5861
6272
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5862
6273
|
} | undefined;
|
|
6274
|
+
schX?: string | number | undefined;
|
|
6275
|
+
schY?: string | number | undefined;
|
|
6276
|
+
schRotation?: string | number | undefined;
|
|
5863
6277
|
footprint?: Footprint | undefined;
|
|
5864
6278
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5865
6279
|
key?: any;
|
|
@@ -6192,10 +6606,10 @@ declare const potentiometerProps: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
6192
6606
|
pcbX?: number | undefined;
|
|
6193
6607
|
pcbY?: number | undefined;
|
|
6194
6608
|
pcbRotation?: number | undefined;
|
|
6609
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6195
6610
|
schX?: number | undefined;
|
|
6196
6611
|
schY?: number | undefined;
|
|
6197
6612
|
schRotation?: number | undefined;
|
|
6198
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6199
6613
|
footprint?: Footprint | undefined;
|
|
6200
6614
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6201
6615
|
key?: any;
|
|
@@ -6260,12 +6674,12 @@ declare const potentiometerProps: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
6260
6674
|
pcbX?: string | number | undefined;
|
|
6261
6675
|
pcbY?: string | number | undefined;
|
|
6262
6676
|
pcbRotation?: string | number | undefined;
|
|
6263
|
-
schX?: string | number | undefined;
|
|
6264
|
-
schY?: string | number | undefined;
|
|
6265
|
-
schRotation?: string | number | undefined;
|
|
6266
6677
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6267
6678
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6268
6679
|
} | undefined;
|
|
6680
|
+
schX?: string | number | undefined;
|
|
6681
|
+
schY?: string | number | undefined;
|
|
6682
|
+
schRotation?: string | number | undefined;
|
|
6269
6683
|
footprint?: Footprint | undefined;
|
|
6270
6684
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6271
6685
|
key?: any;
|
|
@@ -6600,10 +7014,10 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
6600
7014
|
pcbX?: number | undefined;
|
|
6601
7015
|
pcbY?: number | undefined;
|
|
6602
7016
|
pcbRotation?: number | undefined;
|
|
7017
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6603
7018
|
schX?: number | undefined;
|
|
6604
7019
|
schY?: number | undefined;
|
|
6605
7020
|
schRotation?: number | undefined;
|
|
6606
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6607
7021
|
footprint?: Footprint | undefined;
|
|
6608
7022
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6609
7023
|
key?: any;
|
|
@@ -6670,12 +7084,12 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
6670
7084
|
pcbX?: string | number | undefined;
|
|
6671
7085
|
pcbY?: string | number | undefined;
|
|
6672
7086
|
pcbRotation?: string | number | undefined;
|
|
6673
|
-
schX?: string | number | undefined;
|
|
6674
|
-
schY?: string | number | undefined;
|
|
6675
|
-
schRotation?: string | number | undefined;
|
|
6676
7087
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6677
7088
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6678
7089
|
} | undefined;
|
|
7090
|
+
schX?: string | number | undefined;
|
|
7091
|
+
schY?: string | number | undefined;
|
|
7092
|
+
schRotation?: string | number | undefined;
|
|
6679
7093
|
footprint?: Footprint | undefined;
|
|
6680
7094
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6681
7095
|
key?: any;
|
|
@@ -7011,10 +7425,10 @@ declare const resonatorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
7011
7425
|
pcbX?: number | undefined;
|
|
7012
7426
|
pcbY?: number | undefined;
|
|
7013
7427
|
pcbRotation?: number | undefined;
|
|
7428
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7014
7429
|
schX?: number | undefined;
|
|
7015
7430
|
schY?: number | undefined;
|
|
7016
7431
|
schRotation?: number | undefined;
|
|
7017
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7018
7432
|
footprint?: Footprint | undefined;
|
|
7019
7433
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7020
7434
|
key?: any;
|
|
@@ -7080,13 +7494,13 @@ declare const resonatorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
7080
7494
|
loadCapacitance: string | number;
|
|
7081
7495
|
pcbX?: string | number | undefined;
|
|
7082
7496
|
pcbY?: string | number | undefined;
|
|
7083
|
-
pcbRotation?: string | number | undefined;
|
|
7084
|
-
schX?: string | number | undefined;
|
|
7085
|
-
schY?: string | number | undefined;
|
|
7086
|
-
schRotation?: string | number | undefined;
|
|
7497
|
+
pcbRotation?: string | number | undefined;
|
|
7087
7498
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7088
7499
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7089
7500
|
} | undefined;
|
|
7501
|
+
schX?: string | number | undefined;
|
|
7502
|
+
schY?: string | number | undefined;
|
|
7503
|
+
schRotation?: string | number | undefined;
|
|
7090
7504
|
footprint?: Footprint | undefined;
|
|
7091
7505
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7092
7506
|
key?: any;
|
|
@@ -7428,10 +7842,10 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
7428
7842
|
pcbX?: number | undefined;
|
|
7429
7843
|
pcbY?: number | undefined;
|
|
7430
7844
|
pcbRotation?: number | undefined;
|
|
7845
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7431
7846
|
schX?: number | undefined;
|
|
7432
7847
|
schY?: number | undefined;
|
|
7433
7848
|
schRotation?: number | undefined;
|
|
7434
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7435
7849
|
footprint?: Footprint | undefined;
|
|
7436
7850
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7437
7851
|
key?: any;
|
|
@@ -7501,12 +7915,12 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
7501
7915
|
pcbX?: string | number | undefined;
|
|
7502
7916
|
pcbY?: string | number | undefined;
|
|
7503
7917
|
pcbRotation?: string | number | undefined;
|
|
7504
|
-
schX?: string | number | undefined;
|
|
7505
|
-
schY?: string | number | undefined;
|
|
7506
|
-
schRotation?: string | number | undefined;
|
|
7507
7918
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7508
7919
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7509
7920
|
} | undefined;
|
|
7921
|
+
schX?: string | number | undefined;
|
|
7922
|
+
schY?: string | number | undefined;
|
|
7923
|
+
schRotation?: string | number | undefined;
|
|
7510
7924
|
footprint?: Footprint | undefined;
|
|
7511
7925
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7512
7926
|
key?: any;
|
|
@@ -8738,10 +9152,10 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
8738
9152
|
pcbX?: number | undefined;
|
|
8739
9153
|
pcbY?: number | undefined;
|
|
8740
9154
|
pcbRotation?: number | undefined;
|
|
9155
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8741
9156
|
schX?: number | undefined;
|
|
8742
9157
|
schY?: number | undefined;
|
|
8743
9158
|
schRotation?: number | undefined;
|
|
8744
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8745
9159
|
footprint?: Footprint | undefined;
|
|
8746
9160
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8747
9161
|
key?: any;
|
|
@@ -8806,12 +9220,12 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
8806
9220
|
pcbX?: string | number | undefined;
|
|
8807
9221
|
pcbY?: string | number | undefined;
|
|
8808
9222
|
pcbRotation?: string | number | undefined;
|
|
8809
|
-
schX?: string | number | undefined;
|
|
8810
|
-
schY?: string | number | undefined;
|
|
8811
|
-
schRotation?: string | number | undefined;
|
|
8812
9223
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8813
9224
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8814
9225
|
} | undefined;
|
|
9226
|
+
schX?: string | number | undefined;
|
|
9227
|
+
schY?: string | number | undefined;
|
|
9228
|
+
schRotation?: string | number | undefined;
|
|
8815
9229
|
footprint?: Footprint | undefined;
|
|
8816
9230
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8817
9231
|
key?: any;
|
|
@@ -9185,10 +9599,10 @@ declare const pinHeaderProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
9185
9599
|
pcbX?: number | undefined;
|
|
9186
9600
|
pcbY?: number | undefined;
|
|
9187
9601
|
pcbRotation?: number | undefined;
|
|
9602
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9188
9603
|
schX?: number | undefined;
|
|
9189
9604
|
schY?: number | undefined;
|
|
9190
9605
|
schRotation?: number | undefined;
|
|
9191
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9192
9606
|
footprint?: Footprint | undefined;
|
|
9193
9607
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9194
9608
|
key?: any;
|
|
@@ -9247,8 +9661,8 @@ declare const pinHeaderProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
9247
9661
|
} | undefined;
|
|
9248
9662
|
children?: any;
|
|
9249
9663
|
symbolName?: string | undefined;
|
|
9250
|
-
holeDiameter?: number | undefined;
|
|
9251
9664
|
pinLabels?: string[] | undefined;
|
|
9665
|
+
holeDiameter?: number | undefined;
|
|
9252
9666
|
pitch?: number | undefined;
|
|
9253
9667
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
9254
9668
|
doubleRow?: boolean | undefined;
|
|
@@ -9260,12 +9674,12 @@ declare const pinHeaderProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
9260
9674
|
pcbX?: string | number | undefined;
|
|
9261
9675
|
pcbY?: string | number | undefined;
|
|
9262
9676
|
pcbRotation?: string | number | undefined;
|
|
9263
|
-
schX?: string | number | undefined;
|
|
9264
|
-
schY?: string | number | undefined;
|
|
9265
|
-
schRotation?: string | number | undefined;
|
|
9266
9677
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9267
9678
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9268
9679
|
} | undefined;
|
|
9680
|
+
schX?: string | number | undefined;
|
|
9681
|
+
schY?: string | number | undefined;
|
|
9682
|
+
schRotation?: string | number | undefined;
|
|
9269
9683
|
footprint?: Footprint | undefined;
|
|
9270
9684
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9271
9685
|
key?: any;
|
|
@@ -9324,8 +9738,8 @@ declare const pinHeaderProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
9324
9738
|
} | undefined;
|
|
9325
9739
|
children?: any;
|
|
9326
9740
|
symbolName?: string | undefined;
|
|
9327
|
-
holeDiameter?: string | number | undefined;
|
|
9328
9741
|
pinLabels?: string[] | undefined;
|
|
9742
|
+
holeDiameter?: string | number | undefined;
|
|
9329
9743
|
pitch?: string | number | undefined;
|
|
9330
9744
|
gender?: "male" | "female" | undefined;
|
|
9331
9745
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
@@ -9352,13 +9766,13 @@ declare const netAliasProps: z.ZodObject<{
|
|
|
9352
9766
|
schY?: number | undefined;
|
|
9353
9767
|
schRotation?: number | undefined;
|
|
9354
9768
|
net?: string | undefined;
|
|
9355
|
-
anchorSide?: "
|
|
9769
|
+
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
9356
9770
|
}, {
|
|
9357
9771
|
schX?: string | number | undefined;
|
|
9358
9772
|
schY?: string | number | undefined;
|
|
9359
9773
|
schRotation?: string | number | undefined;
|
|
9360
9774
|
net?: string | undefined;
|
|
9361
|
-
anchorSide?: "
|
|
9775
|
+
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
9362
9776
|
}>;
|
|
9363
9777
|
|
|
9364
9778
|
declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -9622,10 +10036,10 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9622
10036
|
pcbX?: number | undefined;
|
|
9623
10037
|
pcbY?: number | undefined;
|
|
9624
10038
|
pcbRotation?: number | undefined;
|
|
10039
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9625
10040
|
schX?: number | undefined;
|
|
9626
10041
|
schY?: number | undefined;
|
|
9627
10042
|
schRotation?: number | undefined;
|
|
9628
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9629
10043
|
footprint?: Footprint | undefined;
|
|
9630
10044
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9631
10045
|
key?: any;
|
|
@@ -9689,12 +10103,12 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9689
10103
|
pcbX?: string | number | undefined;
|
|
9690
10104
|
pcbY?: string | number | undefined;
|
|
9691
10105
|
pcbRotation?: string | number | undefined;
|
|
9692
|
-
schX?: string | number | undefined;
|
|
9693
|
-
schY?: string | number | undefined;
|
|
9694
|
-
schRotation?: string | number | undefined;
|
|
9695
10106
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9696
10107
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9697
10108
|
} | undefined;
|
|
10109
|
+
schX?: string | number | undefined;
|
|
10110
|
+
schY?: string | number | undefined;
|
|
10111
|
+
schRotation?: string | number | undefined;
|
|
9698
10112
|
footprint?: Footprint | undefined;
|
|
9699
10113
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9700
10114
|
key?: any;
|
|
@@ -9777,6 +10191,7 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9777
10191
|
}, {
|
|
9778
10192
|
name: z.ZodOptional<z.ZodString>;
|
|
9779
10193
|
children: z.ZodOptional<z.ZodAny>;
|
|
10194
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
9780
10195
|
}>, {
|
|
9781
10196
|
layout: z.ZodOptional<z.ZodType<_tscircuit_layout.LayoutBuilder, z.ZodTypeDef, _tscircuit_layout.LayoutBuilder>>;
|
|
9782
10197
|
manualEdits: z.ZodOptional<z.ZodObject<{
|
|
@@ -9794,18 +10209,18 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9794
10209
|
y: string | number;
|
|
9795
10210
|
}>;
|
|
9796
10211
|
}, "strip", z.ZodTypeAny, {
|
|
10212
|
+
selector: string;
|
|
10213
|
+
relative_to: string;
|
|
9797
10214
|
center: {
|
|
9798
10215
|
x: number;
|
|
9799
10216
|
y: number;
|
|
9800
10217
|
};
|
|
9801
|
-
selector: string;
|
|
9802
|
-
relative_to: string;
|
|
9803
10218
|
}, {
|
|
10219
|
+
selector: string;
|
|
9804
10220
|
center: {
|
|
9805
10221
|
x: string | number;
|
|
9806
10222
|
y: string | number;
|
|
9807
10223
|
};
|
|
9808
|
-
selector: string;
|
|
9809
10224
|
relative_to?: string | undefined;
|
|
9810
10225
|
}>, "many">>;
|
|
9811
10226
|
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -9840,6 +10255,7 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9840
10255
|
} | undefined;
|
|
9841
10256
|
}>, "many">;
|
|
9842
10257
|
}, "strip", z.ZodTypeAny, {
|
|
10258
|
+
pcb_port_selector: string;
|
|
9843
10259
|
offsets: {
|
|
9844
10260
|
x: number;
|
|
9845
10261
|
y: number;
|
|
@@ -9847,8 +10263,8 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9847
10263
|
via?: boolean | undefined;
|
|
9848
10264
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9849
10265
|
}[];
|
|
9850
|
-
pcb_port_selector: string;
|
|
9851
10266
|
}, {
|
|
10267
|
+
pcb_port_selector: string;
|
|
9852
10268
|
offsets: {
|
|
9853
10269
|
x: string | number;
|
|
9854
10270
|
y: string | number;
|
|
@@ -9858,7 +10274,6 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9858
10274
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9859
10275
|
} | undefined;
|
|
9860
10276
|
}[];
|
|
9861
|
-
pcb_port_selector: string;
|
|
9862
10277
|
}>, "many">>;
|
|
9863
10278
|
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9864
10279
|
selector: z.ZodString;
|
|
@@ -9874,30 +10289,31 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9874
10289
|
y: string | number;
|
|
9875
10290
|
}>;
|
|
9876
10291
|
}, "strip", z.ZodTypeAny, {
|
|
10292
|
+
selector: string;
|
|
10293
|
+
relative_to: string;
|
|
9877
10294
|
center: {
|
|
9878
10295
|
x: number;
|
|
9879
10296
|
y: number;
|
|
9880
10297
|
};
|
|
9881
|
-
selector: string;
|
|
9882
|
-
relative_to: string;
|
|
9883
10298
|
}, {
|
|
10299
|
+
selector: string;
|
|
9884
10300
|
center: {
|
|
9885
10301
|
x: string | number;
|
|
9886
10302
|
y: string | number;
|
|
9887
10303
|
};
|
|
9888
|
-
selector: string;
|
|
9889
10304
|
relative_to?: string | undefined;
|
|
9890
10305
|
}>, "many">>;
|
|
9891
10306
|
}, "strip", z.ZodTypeAny, {
|
|
9892
10307
|
pcb_placements?: {
|
|
10308
|
+
selector: string;
|
|
10309
|
+
relative_to: string;
|
|
9893
10310
|
center: {
|
|
9894
10311
|
x: number;
|
|
9895
10312
|
y: number;
|
|
9896
10313
|
};
|
|
9897
|
-
selector: string;
|
|
9898
|
-
relative_to: string;
|
|
9899
10314
|
}[] | undefined;
|
|
9900
10315
|
manual_trace_hints?: {
|
|
10316
|
+
pcb_port_selector: string;
|
|
9901
10317
|
offsets: {
|
|
9902
10318
|
x: number;
|
|
9903
10319
|
y: number;
|
|
@@ -9905,26 +10321,26 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9905
10321
|
via?: boolean | undefined;
|
|
9906
10322
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9907
10323
|
}[];
|
|
9908
|
-
pcb_port_selector: string;
|
|
9909
10324
|
}[] | undefined;
|
|
9910
10325
|
schematic_placements?: {
|
|
10326
|
+
selector: string;
|
|
10327
|
+
relative_to: string;
|
|
9911
10328
|
center: {
|
|
9912
10329
|
x: number;
|
|
9913
10330
|
y: number;
|
|
9914
10331
|
};
|
|
9915
|
-
selector: string;
|
|
9916
|
-
relative_to: string;
|
|
9917
10332
|
}[] | undefined;
|
|
9918
10333
|
}, {
|
|
9919
10334
|
pcb_placements?: {
|
|
10335
|
+
selector: string;
|
|
9920
10336
|
center: {
|
|
9921
10337
|
x: string | number;
|
|
9922
10338
|
y: string | number;
|
|
9923
10339
|
};
|
|
9924
|
-
selector: string;
|
|
9925
10340
|
relative_to?: string | undefined;
|
|
9926
10341
|
}[] | undefined;
|
|
9927
10342
|
manual_trace_hints?: {
|
|
10343
|
+
pcb_port_selector: string;
|
|
9928
10344
|
offsets: {
|
|
9929
10345
|
x: string | number;
|
|
9930
10346
|
y: string | number;
|
|
@@ -9934,14 +10350,13 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9934
10350
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9935
10351
|
} | undefined;
|
|
9936
10352
|
}[];
|
|
9937
|
-
pcb_port_selector: string;
|
|
9938
10353
|
}[] | undefined;
|
|
9939
10354
|
schematic_placements?: {
|
|
10355
|
+
selector: string;
|
|
9940
10356
|
center: {
|
|
9941
10357
|
x: string | number;
|
|
9942
10358
|
y: string | number;
|
|
9943
10359
|
};
|
|
9944
|
-
selector: string;
|
|
9945
10360
|
relative_to?: string | undefined;
|
|
9946
10361
|
}[] | undefined;
|
|
9947
10362
|
}>>;
|
|
@@ -9972,24 +10387,26 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9972
10387
|
pcbX?: number | undefined;
|
|
9973
10388
|
pcbY?: number | undefined;
|
|
9974
10389
|
pcbRotation?: number | undefined;
|
|
10390
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9975
10391
|
schX?: number | undefined;
|
|
9976
10392
|
schY?: number | undefined;
|
|
9977
10393
|
schRotation?: number | undefined;
|
|
9978
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9979
10394
|
footprint?: Footprint | undefined;
|
|
10395
|
+
key?: any;
|
|
9980
10396
|
name?: string | undefined;
|
|
9981
10397
|
children?: any;
|
|
9982
10398
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
9983
10399
|
manualEdits?: {
|
|
9984
10400
|
pcb_placements?: {
|
|
10401
|
+
selector: string;
|
|
10402
|
+
relative_to: string;
|
|
9985
10403
|
center: {
|
|
9986
10404
|
x: number;
|
|
9987
10405
|
y: number;
|
|
9988
10406
|
};
|
|
9989
|
-
selector: string;
|
|
9990
|
-
relative_to: string;
|
|
9991
10407
|
}[] | undefined;
|
|
9992
10408
|
manual_trace_hints?: {
|
|
10409
|
+
pcb_port_selector: string;
|
|
9993
10410
|
offsets: {
|
|
9994
10411
|
x: number;
|
|
9995
10412
|
y: number;
|
|
@@ -9997,15 +10414,14 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
9997
10414
|
via?: boolean | undefined;
|
|
9998
10415
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9999
10416
|
}[];
|
|
10000
|
-
pcb_port_selector: string;
|
|
10001
10417
|
}[] | undefined;
|
|
10002
10418
|
schematic_placements?: {
|
|
10419
|
+
selector: string;
|
|
10420
|
+
relative_to: string;
|
|
10003
10421
|
center: {
|
|
10004
10422
|
x: number;
|
|
10005
10423
|
y: number;
|
|
10006
10424
|
};
|
|
10007
|
-
selector: string;
|
|
10008
|
-
relative_to: string;
|
|
10009
10425
|
}[] | undefined;
|
|
10010
10426
|
} | undefined;
|
|
10011
10427
|
routingDisabled?: boolean | undefined;
|
|
@@ -10025,26 +10441,28 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10025
10441
|
pcbX?: string | number | undefined;
|
|
10026
10442
|
pcbY?: string | number | undefined;
|
|
10027
10443
|
pcbRotation?: string | number | undefined;
|
|
10028
|
-
schX?: string | number | undefined;
|
|
10029
|
-
schY?: string | number | undefined;
|
|
10030
|
-
schRotation?: string | number | undefined;
|
|
10031
10444
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10032
10445
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10033
10446
|
} | undefined;
|
|
10447
|
+
schX?: string | number | undefined;
|
|
10448
|
+
schY?: string | number | undefined;
|
|
10449
|
+
schRotation?: string | number | undefined;
|
|
10034
10450
|
footprint?: Footprint | undefined;
|
|
10451
|
+
key?: any;
|
|
10035
10452
|
name?: string | undefined;
|
|
10036
10453
|
children?: any;
|
|
10037
10454
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
10038
10455
|
manualEdits?: {
|
|
10039
10456
|
pcb_placements?: {
|
|
10457
|
+
selector: string;
|
|
10040
10458
|
center: {
|
|
10041
10459
|
x: string | number;
|
|
10042
10460
|
y: string | number;
|
|
10043
10461
|
};
|
|
10044
|
-
selector: string;
|
|
10045
10462
|
relative_to?: string | undefined;
|
|
10046
10463
|
}[] | undefined;
|
|
10047
10464
|
manual_trace_hints?: {
|
|
10465
|
+
pcb_port_selector: string;
|
|
10048
10466
|
offsets: {
|
|
10049
10467
|
x: string | number;
|
|
10050
10468
|
y: string | number;
|
|
@@ -10054,14 +10472,13 @@ declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10054
10472
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10055
10473
|
} | undefined;
|
|
10056
10474
|
}[];
|
|
10057
|
-
pcb_port_selector: string;
|
|
10058
10475
|
}[] | undefined;
|
|
10059
10476
|
schematic_placements?: {
|
|
10477
|
+
selector: string;
|
|
10060
10478
|
center: {
|
|
10061
10479
|
x: string | number;
|
|
10062
10480
|
y: string | number;
|
|
10063
10481
|
};
|
|
10064
|
-
selector: string;
|
|
10065
10482
|
relative_to?: string | undefined;
|
|
10066
10483
|
}[] | undefined;
|
|
10067
10484
|
} | undefined;
|
|
@@ -10347,10 +10764,10 @@ declare const transistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10347
10764
|
pcbX?: number | undefined;
|
|
10348
10765
|
pcbY?: number | undefined;
|
|
10349
10766
|
pcbRotation?: number | undefined;
|
|
10767
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
10350
10768
|
schX?: number | undefined;
|
|
10351
10769
|
schY?: number | undefined;
|
|
10352
10770
|
schRotation?: number | undefined;
|
|
10353
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
10354
10771
|
footprint?: Footprint | undefined;
|
|
10355
10772
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
10356
10773
|
key?: any;
|
|
@@ -10415,12 +10832,12 @@ declare const transistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10415
10832
|
pcbX?: string | number | undefined;
|
|
10416
10833
|
pcbY?: string | number | undefined;
|
|
10417
10834
|
pcbRotation?: string | number | undefined;
|
|
10418
|
-
schX?: string | number | undefined;
|
|
10419
|
-
schY?: string | number | undefined;
|
|
10420
|
-
schRotation?: string | number | undefined;
|
|
10421
10835
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10422
10836
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10423
10837
|
} | undefined;
|
|
10838
|
+
schX?: string | number | undefined;
|
|
10839
|
+
schY?: string | number | undefined;
|
|
10840
|
+
schRotation?: string | number | undefined;
|
|
10424
10841
|
footprint?: Footprint | undefined;
|
|
10425
10842
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
10426
10843
|
key?: any;
|
|
@@ -10752,10 +11169,10 @@ declare const mosfetProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
10752
11169
|
pcbX?: number | undefined;
|
|
10753
11170
|
pcbY?: number | undefined;
|
|
10754
11171
|
pcbRotation?: number | undefined;
|
|
11172
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
10755
11173
|
schX?: number | undefined;
|
|
10756
11174
|
schY?: number | undefined;
|
|
10757
11175
|
schRotation?: number | undefined;
|
|
10758
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
10759
11176
|
footprint?: Footprint | undefined;
|
|
10760
11177
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
10761
11178
|
key?: any;
|
|
@@ -10821,12 +11238,12 @@ declare const mosfetProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
10821
11238
|
pcbX?: string | number | undefined;
|
|
10822
11239
|
pcbY?: string | number | undefined;
|
|
10823
11240
|
pcbRotation?: string | number | undefined;
|
|
10824
|
-
schX?: string | number | undefined;
|
|
10825
|
-
schY?: string | number | undefined;
|
|
10826
|
-
schRotation?: string | number | undefined;
|
|
10827
11241
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10828
11242
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10829
11243
|
} | undefined;
|
|
11244
|
+
schX?: string | number | undefined;
|
|
11245
|
+
schY?: string | number | undefined;
|
|
11246
|
+
schRotation?: string | number | undefined;
|
|
10830
11247
|
footprint?: Footprint | undefined;
|
|
10831
11248
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
10832
11249
|
key?: any;
|
|
@@ -11152,10 +11569,10 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
11152
11569
|
pcbX?: number | undefined;
|
|
11153
11570
|
pcbY?: number | undefined;
|
|
11154
11571
|
pcbRotation?: number | undefined;
|
|
11572
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
11155
11573
|
schX?: number | undefined;
|
|
11156
11574
|
schY?: number | undefined;
|
|
11157
11575
|
schRotation?: number | undefined;
|
|
11158
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
11159
11576
|
footprint?: Footprint | undefined;
|
|
11160
11577
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
11161
11578
|
key?: any;
|
|
@@ -11220,12 +11637,12 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
11220
11637
|
pcbX?: string | number | undefined;
|
|
11221
11638
|
pcbY?: string | number | undefined;
|
|
11222
11639
|
pcbRotation?: string | number | undefined;
|
|
11223
|
-
schX?: string | number | undefined;
|
|
11224
|
-
schY?: string | number | undefined;
|
|
11225
|
-
schRotation?: string | number | undefined;
|
|
11226
11640
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
11227
11641
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11228
11642
|
} | undefined;
|
|
11643
|
+
schX?: string | number | undefined;
|
|
11644
|
+
schY?: string | number | undefined;
|
|
11645
|
+
schRotation?: string | number | undefined;
|
|
11229
11646
|
footprint?: Footprint | undefined;
|
|
11230
11647
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
11231
11648
|
key?: any;
|
|
@@ -11287,6 +11704,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
11287
11704
|
}>;
|
|
11288
11705
|
declare const inductorPins: readonly ["pin1", "left", "pin2", "right"];
|
|
11289
11706
|
type InductorProps = z.input<typeof inductorProps>;
|
|
11707
|
+
|
|
11290
11708
|
declare const diodeProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
11291
11709
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11292
11710
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -11548,10 +11966,10 @@ declare const diodeProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
11548
11966
|
pcbX?: number | undefined;
|
|
11549
11967
|
pcbY?: number | undefined;
|
|
11550
11968
|
pcbRotation?: number | undefined;
|
|
11969
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
11551
11970
|
schX?: number | undefined;
|
|
11552
11971
|
schY?: number | undefined;
|
|
11553
11972
|
schRotation?: number | undefined;
|
|
11554
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
11555
11973
|
footprint?: Footprint | undefined;
|
|
11556
11974
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
11557
11975
|
key?: any;
|
|
@@ -11615,12 +12033,12 @@ declare const diodeProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
11615
12033
|
pcbX?: string | number | undefined;
|
|
11616
12034
|
pcbY?: string | number | undefined;
|
|
11617
12035
|
pcbRotation?: string | number | undefined;
|
|
11618
|
-
schX?: string | number | undefined;
|
|
11619
|
-
schY?: string | number | undefined;
|
|
11620
|
-
schRotation?: string | number | undefined;
|
|
11621
12036
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
11622
12037
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11623
12038
|
} | undefined;
|
|
12039
|
+
schX?: string | number | undefined;
|
|
12040
|
+
schY?: string | number | undefined;
|
|
12041
|
+
schRotation?: string | number | undefined;
|
|
11624
12042
|
footprint?: Footprint | undefined;
|
|
11625
12043
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
11626
12044
|
key?: any;
|
|
@@ -11682,6 +12100,7 @@ declare const diodeProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
11682
12100
|
}>;
|
|
11683
12101
|
declare const diodePins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
|
|
11684
12102
|
type DiodeProps = z.input<typeof diodeProps>;
|
|
12103
|
+
|
|
11685
12104
|
declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
11686
12105
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11687
12106
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -11945,10 +12364,10 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
11945
12364
|
pcbX?: number | undefined;
|
|
11946
12365
|
pcbY?: number | undefined;
|
|
11947
12366
|
pcbRotation?: number | undefined;
|
|
12367
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
11948
12368
|
schX?: number | undefined;
|
|
11949
12369
|
schY?: number | undefined;
|
|
11950
12370
|
schRotation?: number | undefined;
|
|
11951
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
11952
12371
|
footprint?: Footprint | undefined;
|
|
11953
12372
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
11954
12373
|
key?: any;
|
|
@@ -12013,12 +12432,12 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
12013
12432
|
pcbX?: string | number | undefined;
|
|
12014
12433
|
pcbY?: string | number | undefined;
|
|
12015
12434
|
pcbRotation?: string | number | undefined;
|
|
12016
|
-
schX?: string | number | undefined;
|
|
12017
|
-
schY?: string | number | undefined;
|
|
12018
|
-
schRotation?: string | number | undefined;
|
|
12019
12435
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12020
12436
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12021
12437
|
} | undefined;
|
|
12438
|
+
schX?: string | number | undefined;
|
|
12439
|
+
schY?: string | number | undefined;
|
|
12440
|
+
schRotation?: string | number | undefined;
|
|
12022
12441
|
footprint?: Footprint | undefined;
|
|
12023
12442
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12024
12443
|
key?: any;
|
|
@@ -12081,6 +12500,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
12081
12500
|
}>;
|
|
12082
12501
|
declare const ledPins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
|
|
12083
12502
|
type LedProps = z.input<typeof ledProps>;
|
|
12503
|
+
|
|
12084
12504
|
declare const switchProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
12085
12505
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12086
12506
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -12349,10 +12769,10 @@ declare const switchProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
12349
12769
|
pcbX?: number | undefined;
|
|
12350
12770
|
pcbY?: number | undefined;
|
|
12351
12771
|
pcbRotation?: number | undefined;
|
|
12772
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
12352
12773
|
schX?: number | undefined;
|
|
12353
12774
|
schY?: number | undefined;
|
|
12354
12775
|
schRotation?: number | undefined;
|
|
12355
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
12356
12776
|
footprint?: Footprint | undefined;
|
|
12357
12777
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12358
12778
|
key?: any;
|
|
@@ -12417,12 +12837,12 @@ declare const switchProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
12417
12837
|
pcbX?: string | number | undefined;
|
|
12418
12838
|
pcbY?: string | number | undefined;
|
|
12419
12839
|
pcbRotation?: string | number | undefined;
|
|
12420
|
-
schX?: string | number | undefined;
|
|
12421
|
-
schY?: string | number | undefined;
|
|
12422
|
-
schRotation?: string | number | undefined;
|
|
12423
12840
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12424
12841
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12425
12842
|
} | undefined;
|
|
12843
|
+
schX?: string | number | undefined;
|
|
12844
|
+
schY?: string | number | undefined;
|
|
12845
|
+
schRotation?: string | number | undefined;
|
|
12426
12846
|
footprint?: Footprint | undefined;
|
|
12427
12847
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12428
12848
|
key?: any;
|
|
@@ -12460,32 +12880,207 @@ declare const switchProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
|
|
|
12460
12880
|
y: string | number;
|
|
12461
12881
|
z: string | number;
|
|
12462
12882
|
} | undefined;
|
|
12463
|
-
mtlUrl?: string | undefined;
|
|
12464
|
-
} | {
|
|
12465
|
-
jscad: Record<string, any>;
|
|
12466
|
-
rotationOffset?: number | {
|
|
12467
|
-
x: string | number;
|
|
12468
|
-
y: string | number;
|
|
12469
|
-
z: string | number;
|
|
12883
|
+
mtlUrl?: string | undefined;
|
|
12884
|
+
} | {
|
|
12885
|
+
jscad: Record<string, any>;
|
|
12886
|
+
rotationOffset?: number | {
|
|
12887
|
+
x: string | number;
|
|
12888
|
+
y: string | number;
|
|
12889
|
+
z: string | number;
|
|
12890
|
+
} | undefined;
|
|
12891
|
+
positionOffset?: {
|
|
12892
|
+
x: string | number;
|
|
12893
|
+
y: string | number;
|
|
12894
|
+
z: string | number;
|
|
12895
|
+
} | undefined;
|
|
12896
|
+
size?: {
|
|
12897
|
+
x: string | number;
|
|
12898
|
+
y: string | number;
|
|
12899
|
+
z: string | number;
|
|
12900
|
+
} | undefined;
|
|
12901
|
+
} | undefined;
|
|
12902
|
+
children?: any;
|
|
12903
|
+
symbolName?: string | undefined;
|
|
12904
|
+
switchType?: "spst" | undefined;
|
|
12905
|
+
isNormallyClosed?: boolean | undefined;
|
|
12906
|
+
}>;
|
|
12907
|
+
type SwitchProps = z.input<typeof switchProps>;
|
|
12908
|
+
|
|
12909
|
+
declare const fabricationNoteTextProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
12910
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12911
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12912
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12913
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12914
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
12915
|
+
}, "strip", z.ZodTypeAny, {
|
|
12916
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12917
|
+
}, {
|
|
12918
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12919
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12920
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12921
|
+
}>>;
|
|
12922
|
+
}, {
|
|
12923
|
+
text: z.ZodString;
|
|
12924
|
+
anchorAlignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
12925
|
+
font: z.ZodOptional<z.ZodEnum<["tscircuit2024"]>>;
|
|
12926
|
+
fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12927
|
+
color: z.ZodOptional<z.ZodString>;
|
|
12928
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12929
|
+
text: string;
|
|
12930
|
+
anchorAlignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
12931
|
+
pcbX?: number | undefined;
|
|
12932
|
+
pcbY?: number | undefined;
|
|
12933
|
+
pcbRotation?: number | undefined;
|
|
12934
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
12935
|
+
color?: string | undefined;
|
|
12936
|
+
font?: "tscircuit2024" | undefined;
|
|
12937
|
+
fontSize?: number | undefined;
|
|
12938
|
+
}, {
|
|
12939
|
+
text: string;
|
|
12940
|
+
pcbX?: string | number | undefined;
|
|
12941
|
+
pcbY?: string | number | undefined;
|
|
12942
|
+
pcbRotation?: string | number | undefined;
|
|
12943
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12944
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12945
|
+
} | undefined;
|
|
12946
|
+
color?: string | undefined;
|
|
12947
|
+
anchorAlignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
12948
|
+
font?: "tscircuit2024" | undefined;
|
|
12949
|
+
fontSize?: string | number | undefined;
|
|
12950
|
+
}>;
|
|
12951
|
+
type FabricationNoteTextProps = z.input<typeof fabricationNoteTextProps>;
|
|
12952
|
+
|
|
12953
|
+
declare const fabricationNotePathProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
12954
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12955
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12956
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12957
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12958
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
12959
|
+
}, "strip", z.ZodTypeAny, {
|
|
12960
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12961
|
+
}, {
|
|
12962
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12963
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12964
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12965
|
+
}>>;
|
|
12966
|
+
}, "pcbX" | "pcbY" | "pcbRotation">, {
|
|
12967
|
+
route: z.ZodArray<z.ZodObject<{
|
|
12968
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12969
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12970
|
+
via: z.ZodOptional<z.ZodBoolean>;
|
|
12971
|
+
to_layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12972
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
12973
|
+
}, "strip", z.ZodTypeAny, {
|
|
12974
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12975
|
+
}, {
|
|
12976
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12977
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12978
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12979
|
+
}>>;
|
|
12980
|
+
trace_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12981
|
+
}, "strip", z.ZodTypeAny, {
|
|
12982
|
+
x: number;
|
|
12983
|
+
y: number;
|
|
12984
|
+
trace_width?: number | undefined;
|
|
12985
|
+
via?: boolean | undefined;
|
|
12986
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
12987
|
+
}, {
|
|
12988
|
+
x: string | number;
|
|
12989
|
+
y: string | number;
|
|
12990
|
+
trace_width?: string | number | undefined;
|
|
12991
|
+
via?: boolean | undefined;
|
|
12992
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12993
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12994
|
+
} | undefined;
|
|
12995
|
+
}>, "many">;
|
|
12996
|
+
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12997
|
+
color: z.ZodOptional<z.ZodString>;
|
|
12998
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12999
|
+
route: {
|
|
13000
|
+
x: number;
|
|
13001
|
+
y: number;
|
|
13002
|
+
trace_width?: number | undefined;
|
|
13003
|
+
via?: boolean | undefined;
|
|
13004
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13005
|
+
}[];
|
|
13006
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13007
|
+
color?: string | undefined;
|
|
13008
|
+
strokeWidth?: number | undefined;
|
|
13009
|
+
}, {
|
|
13010
|
+
route: {
|
|
13011
|
+
x: string | number;
|
|
13012
|
+
y: string | number;
|
|
13013
|
+
trace_width?: string | number | undefined;
|
|
13014
|
+
via?: boolean | undefined;
|
|
13015
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13016
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12470
13017
|
} | undefined;
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
13018
|
+
}[];
|
|
13019
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13020
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13021
|
+
} | undefined;
|
|
13022
|
+
color?: string | undefined;
|
|
13023
|
+
strokeWidth?: string | number | undefined;
|
|
13024
|
+
}>;
|
|
13025
|
+
type FabricationNotePathProps = z.input<typeof fabricationNotePathProps>;
|
|
13026
|
+
|
|
13027
|
+
declare const pcbTraceProps: z.ZodObject<{
|
|
13028
|
+
layer: z.ZodOptional<z.ZodString>;
|
|
13029
|
+
thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13030
|
+
route: z.ZodArray<z.ZodObject<{
|
|
13031
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13032
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13033
|
+
via: z.ZodOptional<z.ZodBoolean>;
|
|
13034
|
+
to_layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
13035
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
13036
|
+
}, "strip", z.ZodTypeAny, {
|
|
13037
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13038
|
+
}, {
|
|
13039
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13040
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13041
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13042
|
+
}>>;
|
|
13043
|
+
trace_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13044
|
+
}, "strip", z.ZodTypeAny, {
|
|
13045
|
+
x: number;
|
|
13046
|
+
y: number;
|
|
13047
|
+
trace_width?: number | undefined;
|
|
13048
|
+
via?: boolean | undefined;
|
|
13049
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13050
|
+
}, {
|
|
13051
|
+
x: string | number;
|
|
13052
|
+
y: string | number;
|
|
13053
|
+
trace_width?: string | number | undefined;
|
|
13054
|
+
via?: boolean | undefined;
|
|
13055
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13056
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12475
13057
|
} | undefined;
|
|
12476
|
-
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
-
|
|
13058
|
+
}>, "many">;
|
|
13059
|
+
}, "strip", z.ZodTypeAny, {
|
|
13060
|
+
route: {
|
|
13061
|
+
x: number;
|
|
13062
|
+
y: number;
|
|
13063
|
+
trace_width?: number | undefined;
|
|
13064
|
+
via?: boolean | undefined;
|
|
13065
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13066
|
+
}[];
|
|
13067
|
+
layer?: string | undefined;
|
|
13068
|
+
thickness?: number | undefined;
|
|
13069
|
+
}, {
|
|
13070
|
+
route: {
|
|
13071
|
+
x: string | number;
|
|
13072
|
+
y: string | number;
|
|
13073
|
+
trace_width?: string | number | undefined;
|
|
13074
|
+
via?: boolean | undefined;
|
|
13075
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13076
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12480
13077
|
} | undefined;
|
|
12481
|
-
}
|
|
12482
|
-
|
|
12483
|
-
|
|
12484
|
-
switchType?: "spst" | undefined;
|
|
12485
|
-
isNormallyClosed?: boolean | undefined;
|
|
13078
|
+
}[];
|
|
13079
|
+
layer?: string | undefined;
|
|
13080
|
+
thickness?: string | number | undefined;
|
|
12486
13081
|
}>;
|
|
12487
|
-
type
|
|
12488
|
-
|
|
13082
|
+
type PcbTraceProps = z.input<typeof pcbTraceProps>;
|
|
13083
|
+
|
|
12489
13084
|
declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
12490
13085
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12491
13086
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -12525,39 +13120,40 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
12525
13120
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12526
13121
|
outerDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12527
13122
|
}>, "strip", z.ZodTypeAny, {
|
|
12528
|
-
fromLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12529
|
-
toLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12530
13123
|
holeDiameter: number;
|
|
12531
13124
|
outerDiameter: number;
|
|
13125
|
+
fromLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13126
|
+
toLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12532
13127
|
pcbX?: number | undefined;
|
|
12533
13128
|
pcbY?: number | undefined;
|
|
12534
13129
|
pcbRotation?: number | undefined;
|
|
13130
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
12535
13131
|
schX?: number | undefined;
|
|
12536
13132
|
schY?: number | undefined;
|
|
12537
13133
|
schRotation?: number | undefined;
|
|
12538
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
12539
13134
|
footprint?: Footprint | undefined;
|
|
12540
13135
|
}, {
|
|
13136
|
+
holeDiameter: string | number;
|
|
13137
|
+
outerDiameter: string | number;
|
|
12541
13138
|
fromLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12542
13139
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12543
13140
|
};
|
|
12544
13141
|
toLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12545
13142
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12546
13143
|
};
|
|
12547
|
-
holeDiameter: string | number;
|
|
12548
|
-
outerDiameter: string | number;
|
|
12549
13144
|
pcbX?: string | number | undefined;
|
|
12550
13145
|
pcbY?: string | number | undefined;
|
|
12551
13146
|
pcbRotation?: string | number | undefined;
|
|
12552
|
-
schX?: string | number | undefined;
|
|
12553
|
-
schY?: string | number | undefined;
|
|
12554
|
-
schRotation?: string | number | undefined;
|
|
12555
13147
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12556
13148
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12557
13149
|
} | undefined;
|
|
13150
|
+
schX?: string | number | undefined;
|
|
13151
|
+
schY?: string | number | undefined;
|
|
13152
|
+
schRotation?: string | number | undefined;
|
|
12558
13153
|
footprint?: Footprint | undefined;
|
|
12559
13154
|
}>;
|
|
12560
13155
|
type ViaProps = z.input<typeof viaProps>;
|
|
13156
|
+
|
|
12561
13157
|
declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
12562
13158
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12563
13159
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -12577,138 +13173,21 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<
|
|
|
12577
13173
|
}>, "strip", z.ZodTypeAny, {
|
|
12578
13174
|
shape: "circle";
|
|
12579
13175
|
radius: number;
|
|
12580
|
-
pcbX?: number | undefined;
|
|
12581
|
-
pcbY?: number | undefined;
|
|
12582
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
12583
|
-
}, {
|
|
12584
|
-
shape: "circle";
|
|
12585
|
-
radius: string | number;
|
|
12586
|
-
pcbX?: string | number | undefined;
|
|
12587
|
-
pcbY?: string | number | undefined;
|
|
12588
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12589
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12590
|
-
} | undefined;
|
|
12591
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12592
|
-
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12593
|
-
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12594
|
-
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12595
|
-
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12596
|
-
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
12597
|
-
}, "strip", z.ZodTypeAny, {
|
|
12598
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12599
|
-
}, {
|
|
12600
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12601
|
-
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12602
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12603
|
-
}>>;
|
|
12604
|
-
}, {
|
|
12605
|
-
shape: z.ZodLiteral<"rect">;
|
|
12606
|
-
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12607
|
-
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12608
|
-
}>, "strip", z.ZodTypeAny, {
|
|
12609
|
-
shape: "rect";
|
|
12610
|
-
width: number;
|
|
12611
|
-
height: number;
|
|
12612
|
-
pcbX?: number | undefined;
|
|
12613
|
-
pcbY?: number | undefined;
|
|
12614
|
-
pcbRotation?: number | undefined;
|
|
12615
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
12616
|
-
}, {
|
|
12617
|
-
shape: "rect";
|
|
12618
|
-
width: string | number;
|
|
12619
|
-
height: string | number;
|
|
12620
|
-
pcbX?: string | number | undefined;
|
|
12621
|
-
pcbY?: string | number | undefined;
|
|
12622
|
-
pcbRotation?: string | number | undefined;
|
|
12623
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12624
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12625
|
-
} | undefined;
|
|
12626
|
-
}>]>;
|
|
12627
|
-
type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
|
|
12628
|
-
declare const schematicBoxProps: z.ZodObject<{
|
|
12629
|
-
schX: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12630
|
-
schY: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12631
|
-
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12632
|
-
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12633
|
-
}, "strip", z.ZodTypeAny, {
|
|
12634
|
-
schX: number;
|
|
12635
|
-
schY: number;
|
|
12636
|
-
width: number;
|
|
12637
|
-
height: number;
|
|
12638
|
-
}, {
|
|
12639
|
-
schX: string | number;
|
|
12640
|
-
schY: string | number;
|
|
12641
|
-
width: string | number;
|
|
12642
|
-
height: string | number;
|
|
12643
|
-
}>;
|
|
12644
|
-
type SchematicBoxProps = z.input<typeof schematicBoxProps>;
|
|
12645
|
-
declare const schematicTextProps: z.ZodObject<{
|
|
12646
|
-
schX: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12647
|
-
schY: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12648
|
-
text: z.ZodString;
|
|
12649
|
-
}, "strip", z.ZodTypeAny, {
|
|
12650
|
-
schX: number;
|
|
12651
|
-
schY: number;
|
|
12652
|
-
text: string;
|
|
12653
|
-
}, {
|
|
12654
|
-
schX: string | number;
|
|
12655
|
-
schY: string | number;
|
|
12656
|
-
text: string;
|
|
12657
|
-
}>;
|
|
12658
|
-
type SchematicTextProps = z.input<typeof schematicTextProps>;
|
|
12659
|
-
declare const schematicLineProps: z.ZodObject<{
|
|
12660
|
-
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12661
|
-
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12662
|
-
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12663
|
-
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12664
|
-
}, "strip", z.ZodTypeAny, {
|
|
12665
|
-
x1: number;
|
|
12666
|
-
y1: number;
|
|
12667
|
-
x2: number;
|
|
12668
|
-
y2: number;
|
|
12669
|
-
}, {
|
|
12670
|
-
x1: string | number;
|
|
12671
|
-
y1: string | number;
|
|
12672
|
-
x2: string | number;
|
|
12673
|
-
y2: string | number;
|
|
12674
|
-
}>;
|
|
12675
|
-
type SchematicLineProps = z.input<typeof schematicLineProps>;
|
|
12676
|
-
declare const schematicPathProps: z.ZodObject<{
|
|
12677
|
-
points: z.ZodArray<z.ZodObject<{
|
|
12678
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12679
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12680
|
-
}, "strip", z.ZodTypeAny, {
|
|
12681
|
-
x: number;
|
|
12682
|
-
y: number;
|
|
12683
|
-
}, {
|
|
12684
|
-
x: string | number;
|
|
12685
|
-
y: string | number;
|
|
12686
|
-
}>, "many">;
|
|
12687
|
-
isFilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
12688
|
-
fillColor: z.ZodOptional<z.ZodEnum<["red", "blue"]>>;
|
|
12689
|
-
}, "strip", z.ZodTypeAny, {
|
|
12690
|
-
points: {
|
|
12691
|
-
x: number;
|
|
12692
|
-
y: number;
|
|
12693
|
-
}[];
|
|
12694
|
-
isFilled: boolean;
|
|
12695
|
-
fillColor?: "red" | "blue" | undefined;
|
|
12696
|
-
}, {
|
|
12697
|
-
points: {
|
|
12698
|
-
x: string | number;
|
|
12699
|
-
y: string | number;
|
|
12700
|
-
}[];
|
|
12701
|
-
isFilled?: boolean | undefined;
|
|
12702
|
-
fillColor?: "red" | "blue" | undefined;
|
|
12703
|
-
}>;
|
|
12704
|
-
type SchematicPathProps = z.input<typeof schematicPathProps>;
|
|
12705
|
-
declare const componentProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
13176
|
+
pcbX?: number | undefined;
|
|
13177
|
+
pcbY?: number | undefined;
|
|
13178
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13179
|
+
}, {
|
|
13180
|
+
shape: "circle";
|
|
13181
|
+
radius: string | number;
|
|
13182
|
+
pcbX?: string | number | undefined;
|
|
13183
|
+
pcbY?: string | number | undefined;
|
|
13184
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13185
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13186
|
+
} | undefined;
|
|
13187
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12706
13188
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12707
13189
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12708
13190
|
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12709
|
-
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12710
|
-
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12711
|
-
schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12712
13191
|
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12713
13192
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
12714
13193
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12717,385 +13196,32 @@ declare const componentProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
12717
13196
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12718
13197
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
12719
13198
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
12720
|
-
}>>;
|
|
12721
|
-
|
|
12722
|
-
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
key: z.ZodOptional<z.ZodAny>;
|
|
12726
|
-
name: z.ZodString;
|
|
12727
|
-
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
12728
|
-
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
12729
|
-
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
12730
|
-
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
12731
|
-
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
12732
|
-
}, "strip", z.ZodTypeAny, {
|
|
12733
|
-
x: string | number;
|
|
12734
|
-
y: string | number;
|
|
12735
|
-
z: string | number;
|
|
12736
|
-
}, {
|
|
12737
|
-
x: string | number;
|
|
12738
|
-
y: string | number;
|
|
12739
|
-
z: string | number;
|
|
12740
|
-
}>]>>;
|
|
12741
|
-
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
12742
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12743
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12744
|
-
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12745
|
-
}, "strip", z.ZodTypeAny, {
|
|
12746
|
-
x: number;
|
|
12747
|
-
y: number;
|
|
12748
|
-
z: number;
|
|
12749
|
-
}, {
|
|
12750
|
-
x: string | number;
|
|
12751
|
-
y: string | number;
|
|
12752
|
-
z: string | number;
|
|
12753
|
-
}>>;
|
|
12754
|
-
size: z.ZodOptional<z.ZodObject<{
|
|
12755
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12756
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12757
|
-
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12758
|
-
}, "strip", z.ZodTypeAny, {
|
|
12759
|
-
x: number;
|
|
12760
|
-
y: number;
|
|
12761
|
-
z: number;
|
|
12762
|
-
}, {
|
|
12763
|
-
x: string | number;
|
|
12764
|
-
y: string | number;
|
|
12765
|
-
z: string | number;
|
|
12766
|
-
}>>;
|
|
12767
|
-
}, {
|
|
12768
|
-
stlUrl: z.ZodString;
|
|
12769
|
-
}>, "strip", z.ZodTypeAny, {
|
|
12770
|
-
stlUrl: string;
|
|
12771
|
-
rotationOffset?: number | {
|
|
12772
|
-
x: string | number;
|
|
12773
|
-
y: string | number;
|
|
12774
|
-
z: string | number;
|
|
12775
|
-
} | undefined;
|
|
12776
|
-
positionOffset?: {
|
|
12777
|
-
x: number;
|
|
12778
|
-
y: number;
|
|
12779
|
-
z: number;
|
|
12780
|
-
} | undefined;
|
|
12781
|
-
size?: {
|
|
12782
|
-
x: number;
|
|
12783
|
-
y: number;
|
|
12784
|
-
z: number;
|
|
12785
|
-
} | undefined;
|
|
12786
|
-
}, {
|
|
12787
|
-
stlUrl: string;
|
|
12788
|
-
rotationOffset?: number | {
|
|
12789
|
-
x: string | number;
|
|
12790
|
-
y: string | number;
|
|
12791
|
-
z: string | number;
|
|
12792
|
-
} | undefined;
|
|
12793
|
-
positionOffset?: {
|
|
12794
|
-
x: string | number;
|
|
12795
|
-
y: string | number;
|
|
12796
|
-
z: string | number;
|
|
12797
|
-
} | undefined;
|
|
12798
|
-
size?: {
|
|
12799
|
-
x: string | number;
|
|
12800
|
-
y: string | number;
|
|
12801
|
-
z: string | number;
|
|
12802
|
-
} | undefined;
|
|
12803
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12804
|
-
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
12805
|
-
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
12806
|
-
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
12807
|
-
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
12808
|
-
}, "strip", z.ZodTypeAny, {
|
|
12809
|
-
x: string | number;
|
|
12810
|
-
y: string | number;
|
|
12811
|
-
z: string | number;
|
|
12812
|
-
}, {
|
|
12813
|
-
x: string | number;
|
|
12814
|
-
y: string | number;
|
|
12815
|
-
z: string | number;
|
|
12816
|
-
}>]>>;
|
|
12817
|
-
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
12818
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12819
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12820
|
-
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12821
|
-
}, "strip", z.ZodTypeAny, {
|
|
12822
|
-
x: number;
|
|
12823
|
-
y: number;
|
|
12824
|
-
z: number;
|
|
12825
|
-
}, {
|
|
12826
|
-
x: string | number;
|
|
12827
|
-
y: string | number;
|
|
12828
|
-
z: string | number;
|
|
12829
|
-
}>>;
|
|
12830
|
-
size: z.ZodOptional<z.ZodObject<{
|
|
12831
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12832
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12833
|
-
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12834
|
-
}, "strip", z.ZodTypeAny, {
|
|
12835
|
-
x: number;
|
|
12836
|
-
y: number;
|
|
12837
|
-
z: number;
|
|
12838
|
-
}, {
|
|
12839
|
-
x: string | number;
|
|
12840
|
-
y: string | number;
|
|
12841
|
-
z: string | number;
|
|
12842
|
-
}>>;
|
|
12843
|
-
}, {
|
|
12844
|
-
objUrl: z.ZodString;
|
|
12845
|
-
mtlUrl: z.ZodOptional<z.ZodString>;
|
|
12846
|
-
}>, "strip", z.ZodTypeAny, {
|
|
12847
|
-
objUrl: string;
|
|
12848
|
-
rotationOffset?: number | {
|
|
12849
|
-
x: string | number;
|
|
12850
|
-
y: string | number;
|
|
12851
|
-
z: string | number;
|
|
12852
|
-
} | undefined;
|
|
12853
|
-
positionOffset?: {
|
|
12854
|
-
x: number;
|
|
12855
|
-
y: number;
|
|
12856
|
-
z: number;
|
|
12857
|
-
} | undefined;
|
|
12858
|
-
size?: {
|
|
12859
|
-
x: number;
|
|
12860
|
-
y: number;
|
|
12861
|
-
z: number;
|
|
12862
|
-
} | undefined;
|
|
12863
|
-
mtlUrl?: string | undefined;
|
|
12864
|
-
}, {
|
|
12865
|
-
objUrl: string;
|
|
12866
|
-
rotationOffset?: number | {
|
|
12867
|
-
x: string | number;
|
|
12868
|
-
y: string | number;
|
|
12869
|
-
z: string | number;
|
|
12870
|
-
} | undefined;
|
|
12871
|
-
positionOffset?: {
|
|
12872
|
-
x: string | number;
|
|
12873
|
-
y: string | number;
|
|
12874
|
-
z: string | number;
|
|
12875
|
-
} | undefined;
|
|
12876
|
-
size?: {
|
|
12877
|
-
x: string | number;
|
|
12878
|
-
y: string | number;
|
|
12879
|
-
z: string | number;
|
|
12880
|
-
} | undefined;
|
|
12881
|
-
mtlUrl?: string | undefined;
|
|
12882
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12883
|
-
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
12884
|
-
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
12885
|
-
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
12886
|
-
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
12887
|
-
}, "strip", z.ZodTypeAny, {
|
|
12888
|
-
x: string | number;
|
|
12889
|
-
y: string | number;
|
|
12890
|
-
z: string | number;
|
|
12891
|
-
}, {
|
|
12892
|
-
x: string | number;
|
|
12893
|
-
y: string | number;
|
|
12894
|
-
z: string | number;
|
|
12895
|
-
}>]>>;
|
|
12896
|
-
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
12897
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12898
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12899
|
-
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12900
|
-
}, "strip", z.ZodTypeAny, {
|
|
12901
|
-
x: number;
|
|
12902
|
-
y: number;
|
|
12903
|
-
z: number;
|
|
12904
|
-
}, {
|
|
12905
|
-
x: string | number;
|
|
12906
|
-
y: string | number;
|
|
12907
|
-
z: string | number;
|
|
12908
|
-
}>>;
|
|
12909
|
-
size: z.ZodOptional<z.ZodObject<{
|
|
12910
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12911
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12912
|
-
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12913
|
-
}, "strip", z.ZodTypeAny, {
|
|
12914
|
-
x: number;
|
|
12915
|
-
y: number;
|
|
12916
|
-
z: number;
|
|
12917
|
-
}, {
|
|
12918
|
-
x: string | number;
|
|
12919
|
-
y: string | number;
|
|
12920
|
-
z: string | number;
|
|
12921
|
-
}>>;
|
|
12922
|
-
}, {
|
|
12923
|
-
jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
12924
|
-
}>, "strip", z.ZodTypeAny, {
|
|
12925
|
-
jscad: Record<string, any>;
|
|
12926
|
-
rotationOffset?: number | {
|
|
12927
|
-
x: string | number;
|
|
12928
|
-
y: string | number;
|
|
12929
|
-
z: string | number;
|
|
12930
|
-
} | undefined;
|
|
12931
|
-
positionOffset?: {
|
|
12932
|
-
x: number;
|
|
12933
|
-
y: number;
|
|
12934
|
-
z: number;
|
|
12935
|
-
} | undefined;
|
|
12936
|
-
size?: {
|
|
12937
|
-
x: number;
|
|
12938
|
-
y: number;
|
|
12939
|
-
z: number;
|
|
12940
|
-
} | undefined;
|
|
12941
|
-
}, {
|
|
12942
|
-
jscad: Record<string, any>;
|
|
12943
|
-
rotationOffset?: number | {
|
|
12944
|
-
x: string | number;
|
|
12945
|
-
y: string | number;
|
|
12946
|
-
z: string | number;
|
|
12947
|
-
} | undefined;
|
|
12948
|
-
positionOffset?: {
|
|
12949
|
-
x: string | number;
|
|
12950
|
-
y: string | number;
|
|
12951
|
-
z: string | number;
|
|
12952
|
-
} | undefined;
|
|
12953
|
-
size?: {
|
|
12954
|
-
x: string | number;
|
|
12955
|
-
y: string | number;
|
|
12956
|
-
z: string | number;
|
|
12957
|
-
} | undefined;
|
|
12958
|
-
}>]>>;
|
|
12959
|
-
children: z.ZodOptional<z.ZodAny>;
|
|
12960
|
-
symbolName: z.ZodOptional<z.ZodString>;
|
|
13199
|
+
}>>;
|
|
13200
|
+
}, {
|
|
13201
|
+
shape: z.ZodLiteral<"rect">;
|
|
13202
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13203
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12961
13204
|
}>, "strip", z.ZodTypeAny, {
|
|
12962
|
-
|
|
13205
|
+
shape: "rect";
|
|
13206
|
+
width: number;
|
|
13207
|
+
height: number;
|
|
12963
13208
|
pcbX?: number | undefined;
|
|
12964
13209
|
pcbY?: number | undefined;
|
|
12965
13210
|
pcbRotation?: number | undefined;
|
|
12966
|
-
schX?: number | undefined;
|
|
12967
|
-
schY?: number | undefined;
|
|
12968
|
-
schRotation?: number | undefined;
|
|
12969
13211
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
12970
|
-
footprint?: Footprint | undefined;
|
|
12971
|
-
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12972
|
-
key?: any;
|
|
12973
|
-
cadModel?: string | {
|
|
12974
|
-
stlUrl: string;
|
|
12975
|
-
rotationOffset?: number | {
|
|
12976
|
-
x: string | number;
|
|
12977
|
-
y: string | number;
|
|
12978
|
-
z: string | number;
|
|
12979
|
-
} | undefined;
|
|
12980
|
-
positionOffset?: {
|
|
12981
|
-
x: number;
|
|
12982
|
-
y: number;
|
|
12983
|
-
z: number;
|
|
12984
|
-
} | undefined;
|
|
12985
|
-
size?: {
|
|
12986
|
-
x: number;
|
|
12987
|
-
y: number;
|
|
12988
|
-
z: number;
|
|
12989
|
-
} | undefined;
|
|
12990
|
-
} | {
|
|
12991
|
-
objUrl: string;
|
|
12992
|
-
rotationOffset?: number | {
|
|
12993
|
-
x: string | number;
|
|
12994
|
-
y: string | number;
|
|
12995
|
-
z: string | number;
|
|
12996
|
-
} | undefined;
|
|
12997
|
-
positionOffset?: {
|
|
12998
|
-
x: number;
|
|
12999
|
-
y: number;
|
|
13000
|
-
z: number;
|
|
13001
|
-
} | undefined;
|
|
13002
|
-
size?: {
|
|
13003
|
-
x: number;
|
|
13004
|
-
y: number;
|
|
13005
|
-
z: number;
|
|
13006
|
-
} | undefined;
|
|
13007
|
-
mtlUrl?: string | undefined;
|
|
13008
|
-
} | {
|
|
13009
|
-
jscad: Record<string, any>;
|
|
13010
|
-
rotationOffset?: number | {
|
|
13011
|
-
x: string | number;
|
|
13012
|
-
y: string | number;
|
|
13013
|
-
z: string | number;
|
|
13014
|
-
} | undefined;
|
|
13015
|
-
positionOffset?: {
|
|
13016
|
-
x: number;
|
|
13017
|
-
y: number;
|
|
13018
|
-
z: number;
|
|
13019
|
-
} | undefined;
|
|
13020
|
-
size?: {
|
|
13021
|
-
x: number;
|
|
13022
|
-
y: number;
|
|
13023
|
-
z: number;
|
|
13024
|
-
} | undefined;
|
|
13025
|
-
} | undefined;
|
|
13026
|
-
children?: any;
|
|
13027
|
-
symbolName?: string | undefined;
|
|
13028
13212
|
}, {
|
|
13029
|
-
|
|
13213
|
+
shape: "rect";
|
|
13214
|
+
width: string | number;
|
|
13215
|
+
height: string | number;
|
|
13030
13216
|
pcbX?: string | number | undefined;
|
|
13031
13217
|
pcbY?: string | number | undefined;
|
|
13032
13218
|
pcbRotation?: string | number | undefined;
|
|
13033
|
-
schX?: string | number | undefined;
|
|
13034
|
-
schY?: string | number | undefined;
|
|
13035
|
-
schRotation?: string | number | undefined;
|
|
13036
13219
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13037
13220
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13038
13221
|
} | undefined;
|
|
13039
|
-
|
|
13040
|
-
|
|
13041
|
-
|
|
13042
|
-
cadModel?: string | {
|
|
13043
|
-
stlUrl: string;
|
|
13044
|
-
rotationOffset?: number | {
|
|
13045
|
-
x: string | number;
|
|
13046
|
-
y: string | number;
|
|
13047
|
-
z: string | number;
|
|
13048
|
-
} | undefined;
|
|
13049
|
-
positionOffset?: {
|
|
13050
|
-
x: string | number;
|
|
13051
|
-
y: string | number;
|
|
13052
|
-
z: string | number;
|
|
13053
|
-
} | undefined;
|
|
13054
|
-
size?: {
|
|
13055
|
-
x: string | number;
|
|
13056
|
-
y: string | number;
|
|
13057
|
-
z: string | number;
|
|
13058
|
-
} | undefined;
|
|
13059
|
-
} | {
|
|
13060
|
-
objUrl: string;
|
|
13061
|
-
rotationOffset?: number | {
|
|
13062
|
-
x: string | number;
|
|
13063
|
-
y: string | number;
|
|
13064
|
-
z: string | number;
|
|
13065
|
-
} | undefined;
|
|
13066
|
-
positionOffset?: {
|
|
13067
|
-
x: string | number;
|
|
13068
|
-
y: string | number;
|
|
13069
|
-
z: string | number;
|
|
13070
|
-
} | undefined;
|
|
13071
|
-
size?: {
|
|
13072
|
-
x: string | number;
|
|
13073
|
-
y: string | number;
|
|
13074
|
-
z: string | number;
|
|
13075
|
-
} | undefined;
|
|
13076
|
-
mtlUrl?: string | undefined;
|
|
13077
|
-
} | {
|
|
13078
|
-
jscad: Record<string, any>;
|
|
13079
|
-
rotationOffset?: number | {
|
|
13080
|
-
x: string | number;
|
|
13081
|
-
y: string | number;
|
|
13082
|
-
z: string | number;
|
|
13083
|
-
} | undefined;
|
|
13084
|
-
positionOffset?: {
|
|
13085
|
-
x: string | number;
|
|
13086
|
-
y: string | number;
|
|
13087
|
-
z: string | number;
|
|
13088
|
-
} | undefined;
|
|
13089
|
-
size?: {
|
|
13090
|
-
x: string | number;
|
|
13091
|
-
y: string | number;
|
|
13092
|
-
z: string | number;
|
|
13093
|
-
} | undefined;
|
|
13094
|
-
} | undefined;
|
|
13095
|
-
children?: any;
|
|
13096
|
-
symbolName?: string | undefined;
|
|
13097
|
-
}>;
|
|
13098
|
-
type ComponentProps = z.input<typeof componentProps>;
|
|
13222
|
+
}>]>;
|
|
13223
|
+
type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
|
|
13224
|
+
|
|
13099
13225
|
declare const powerSourceProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
13100
13226
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13101
13227
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -13360,10 +13486,10 @@ declare const powerSourceProps: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
13360
13486
|
pcbX?: number | undefined;
|
|
13361
13487
|
pcbY?: number | undefined;
|
|
13362
13488
|
pcbRotation?: number | undefined;
|
|
13489
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13363
13490
|
schX?: number | undefined;
|
|
13364
13491
|
schY?: number | undefined;
|
|
13365
13492
|
schRotation?: number | undefined;
|
|
13366
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13367
13493
|
footprint?: Footprint | undefined;
|
|
13368
13494
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13369
13495
|
key?: any;
|
|
@@ -13428,12 +13554,12 @@ declare const powerSourceProps: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
13428
13554
|
pcbX?: string | number | undefined;
|
|
13429
13555
|
pcbY?: string | number | undefined;
|
|
13430
13556
|
pcbRotation?: string | number | undefined;
|
|
13431
|
-
schX?: string | number | undefined;
|
|
13432
|
-
schY?: string | number | undefined;
|
|
13433
|
-
schRotation?: string | number | undefined;
|
|
13434
13557
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13435
13558
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13436
13559
|
} | undefined;
|
|
13560
|
+
schX?: string | number | undefined;
|
|
13561
|
+
schY?: string | number | undefined;
|
|
13562
|
+
schRotation?: string | number | undefined;
|
|
13437
13563
|
footprint?: Footprint | undefined;
|
|
13438
13564
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
13439
13565
|
key?: any;
|
|
@@ -13494,58 +13620,88 @@ declare const powerSourceProps: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
13494
13620
|
symbolName?: string | undefined;
|
|
13495
13621
|
}>;
|
|
13496
13622
|
type PowerSourceProps = z.input<typeof powerSourceProps>;
|
|
13497
|
-
|
|
13498
|
-
|
|
13499
|
-
|
|
13500
|
-
|
|
13501
|
-
|
|
13502
|
-
|
|
13503
|
-
|
|
13504
|
-
|
|
13505
|
-
|
|
13506
|
-
|
|
13507
|
-
|
|
13508
|
-
}, {
|
|
13509
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13510
|
-
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13511
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13512
|
-
}>>;
|
|
13513
|
-
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
13623
|
+
|
|
13624
|
+
declare const schematicBoxProps: z.ZodObject<{
|
|
13625
|
+
schX: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13626
|
+
schY: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13627
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13628
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13629
|
+
}, "strip", z.ZodTypeAny, {
|
|
13630
|
+
schX: number;
|
|
13631
|
+
schY: number;
|
|
13632
|
+
width: number;
|
|
13633
|
+
height: number;
|
|
13514
13634
|
}, {
|
|
13515
|
-
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
|
|
13519
|
-
}
|
|
13520
|
-
|
|
13521
|
-
|
|
13522
|
-
|
|
13523
|
-
|
|
13524
|
-
|
|
13525
|
-
|
|
13526
|
-
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
|
|
13530
|
-
|
|
13531
|
-
|
|
13635
|
+
schX: string | number;
|
|
13636
|
+
schY: string | number;
|
|
13637
|
+
width: string | number;
|
|
13638
|
+
height: string | number;
|
|
13639
|
+
}>;
|
|
13640
|
+
type SchematicBoxProps = z.input<typeof schematicBoxProps>;
|
|
13641
|
+
|
|
13642
|
+
declare const schematicLineProps: z.ZodObject<{
|
|
13643
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13644
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13645
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13646
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13647
|
+
}, "strip", z.ZodTypeAny, {
|
|
13648
|
+
x1: number;
|
|
13649
|
+
y1: number;
|
|
13650
|
+
x2: number;
|
|
13651
|
+
y2: number;
|
|
13532
13652
|
}, {
|
|
13533
|
-
|
|
13534
|
-
|
|
13535
|
-
|
|
13536
|
-
|
|
13537
|
-
|
|
13538
|
-
|
|
13539
|
-
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
-
|
|
13546
|
-
|
|
13653
|
+
x1: string | number;
|
|
13654
|
+
y1: string | number;
|
|
13655
|
+
x2: string | number;
|
|
13656
|
+
y2: string | number;
|
|
13657
|
+
}>;
|
|
13658
|
+
type SchematicLineProps = z.input<typeof schematicLineProps>;
|
|
13659
|
+
|
|
13660
|
+
declare const schematicTextProps: z.ZodObject<{
|
|
13661
|
+
schX: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13662
|
+
schY: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13663
|
+
text: z.ZodString;
|
|
13664
|
+
}, "strip", z.ZodTypeAny, {
|
|
13665
|
+
schX: number;
|
|
13666
|
+
schY: number;
|
|
13667
|
+
text: string;
|
|
13668
|
+
}, {
|
|
13669
|
+
schX: string | number;
|
|
13670
|
+
schY: string | number;
|
|
13671
|
+
text: string;
|
|
13672
|
+
}>;
|
|
13673
|
+
type SchematicTextProps = z.input<typeof schematicTextProps>;
|
|
13674
|
+
|
|
13675
|
+
declare const schematicPathProps: z.ZodObject<{
|
|
13676
|
+
points: z.ZodArray<z.ZodObject<{
|
|
13677
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13678
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13679
|
+
}, "strip", z.ZodTypeAny, {
|
|
13680
|
+
x: number;
|
|
13681
|
+
y: number;
|
|
13682
|
+
}, {
|
|
13683
|
+
x: string | number;
|
|
13684
|
+
y: string | number;
|
|
13685
|
+
}>, "many">;
|
|
13686
|
+
isFilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13687
|
+
fillColor: z.ZodOptional<z.ZodEnum<["red", "blue"]>>;
|
|
13688
|
+
}, "strip", z.ZodTypeAny, {
|
|
13689
|
+
points: {
|
|
13690
|
+
x: number;
|
|
13691
|
+
y: number;
|
|
13692
|
+
}[];
|
|
13693
|
+
isFilled: boolean;
|
|
13694
|
+
fillColor?: "red" | "blue" | undefined;
|
|
13695
|
+
}, {
|
|
13696
|
+
points: {
|
|
13697
|
+
x: string | number;
|
|
13698
|
+
y: string | number;
|
|
13699
|
+
}[];
|
|
13700
|
+
isFilled?: boolean | undefined;
|
|
13701
|
+
fillColor?: "red" | "blue" | undefined;
|
|
13547
13702
|
}>;
|
|
13548
|
-
type
|
|
13703
|
+
type SchematicPathProps = z.input<typeof schematicPathProps>;
|
|
13704
|
+
|
|
13549
13705
|
declare const silkscreenTextProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
13550
13706
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13551
13707
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -13586,6 +13742,7 @@ declare const silkscreenTextProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
13586
13742
|
fontSize?: string | number | undefined;
|
|
13587
13743
|
}>;
|
|
13588
13744
|
type SilkscreenTextProps = z.input<typeof silkscreenTextProps>;
|
|
13745
|
+
|
|
13589
13746
|
declare const silkscreenPathProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
13590
13747
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13591
13748
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -13656,6 +13813,7 @@ declare const silkscreenPathProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
13656
13813
|
strokeWidth?: string | number | undefined;
|
|
13657
13814
|
}>;
|
|
13658
13815
|
type SilkscreenPathProps = z.input<typeof silkscreenPathProps>;
|
|
13816
|
+
|
|
13659
13817
|
declare const silkscreenLineProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
13660
13818
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13661
13819
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -13676,23 +13834,24 @@ declare const silkscreenLineProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
13676
13834
|
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13677
13835
|
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13678
13836
|
}>, "strip", z.ZodTypeAny, {
|
|
13837
|
+
strokeWidth: number;
|
|
13679
13838
|
x1: number;
|
|
13680
13839
|
y1: number;
|
|
13681
13840
|
x2: number;
|
|
13682
13841
|
y2: number;
|
|
13683
|
-
strokeWidth: number;
|
|
13684
13842
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13685
13843
|
}, {
|
|
13844
|
+
strokeWidth: string | number;
|
|
13686
13845
|
x1: string | number;
|
|
13687
13846
|
y1: string | number;
|
|
13688
13847
|
x2: string | number;
|
|
13689
13848
|
y2: string | number;
|
|
13690
|
-
strokeWidth: string | number;
|
|
13691
13849
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13692
13850
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13693
13851
|
} | undefined;
|
|
13694
13852
|
}>;
|
|
13695
13853
|
type SilkscreenLineProps = z.input<typeof silkscreenLineProps>;
|
|
13854
|
+
|
|
13696
13855
|
declare const silkscreenRectProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
13697
13856
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13698
13857
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -13718,8 +13877,8 @@ declare const silkscreenRectProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
13718
13877
|
pcbX?: number | undefined;
|
|
13719
13878
|
pcbY?: number | undefined;
|
|
13720
13879
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13721
|
-
isFilled?: boolean | undefined;
|
|
13722
13880
|
strokeWidth?: number | undefined;
|
|
13881
|
+
isFilled?: boolean | undefined;
|
|
13723
13882
|
isOutline?: boolean | undefined;
|
|
13724
13883
|
}, {
|
|
13725
13884
|
width: string | number;
|
|
@@ -13729,11 +13888,12 @@ declare const silkscreenRectProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
13729
13888
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13730
13889
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13731
13890
|
} | undefined;
|
|
13732
|
-
isFilled?: boolean | undefined;
|
|
13733
13891
|
strokeWidth?: string | number | undefined;
|
|
13892
|
+
isFilled?: boolean | undefined;
|
|
13734
13893
|
isOutline?: boolean | undefined;
|
|
13735
13894
|
}>;
|
|
13736
13895
|
type SilkscreenRectProps = z.input<typeof silkscreenRectProps>;
|
|
13896
|
+
|
|
13737
13897
|
declare const silkscreenCircleProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
13738
13898
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13739
13899
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -13757,8 +13917,8 @@ declare const silkscreenCircleProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
13757
13917
|
pcbX?: number | undefined;
|
|
13758
13918
|
pcbY?: number | undefined;
|
|
13759
13919
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13760
|
-
isFilled?: boolean | undefined;
|
|
13761
13920
|
strokeWidth?: number | undefined;
|
|
13921
|
+
isFilled?: boolean | undefined;
|
|
13762
13922
|
isOutline?: boolean | undefined;
|
|
13763
13923
|
}, {
|
|
13764
13924
|
radius: string | number;
|
|
@@ -13767,11 +13927,12 @@ declare const silkscreenCircleProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
13767
13927
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13768
13928
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13769
13929
|
} | undefined;
|
|
13770
|
-
isFilled?: boolean | undefined;
|
|
13771
13930
|
strokeWidth?: string | number | undefined;
|
|
13931
|
+
isFilled?: boolean | undefined;
|
|
13772
13932
|
isOutline?: boolean | undefined;
|
|
13773
13933
|
}>;
|
|
13774
13934
|
type SilkscreenCircleProps = z.input<typeof silkscreenCircleProps>;
|
|
13935
|
+
|
|
13775
13936
|
declare const routeHintPointProps: z.ZodObject<{
|
|
13776
13937
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13777
13938
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13788,15 +13949,15 @@ declare const routeHintPointProps: z.ZodObject<{
|
|
|
13788
13949
|
}, "strip", z.ZodTypeAny, {
|
|
13789
13950
|
x: number;
|
|
13790
13951
|
y: number;
|
|
13791
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13792
13952
|
via?: boolean | undefined;
|
|
13953
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13793
13954
|
}, {
|
|
13794
13955
|
x: string | number;
|
|
13795
13956
|
y: string | number;
|
|
13957
|
+
via?: boolean | undefined;
|
|
13796
13958
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13797
13959
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13798
13960
|
} | undefined;
|
|
13799
|
-
via?: boolean | undefined;
|
|
13800
13961
|
}>;
|
|
13801
13962
|
declare const traceHintProps: z.ZodObject<{
|
|
13802
13963
|
for: z.ZodOptional<z.ZodString>;
|
|
@@ -13845,15 +14006,15 @@ declare const traceHintProps: z.ZodObject<{
|
|
|
13845
14006
|
}, "strip", z.ZodTypeAny, {
|
|
13846
14007
|
x: number;
|
|
13847
14008
|
y: number;
|
|
13848
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13849
14009
|
via?: boolean | undefined;
|
|
14010
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13850
14011
|
}, {
|
|
13851
14012
|
x: string | number;
|
|
13852
14013
|
y: string | number;
|
|
14014
|
+
via?: boolean | undefined;
|
|
13853
14015
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13854
14016
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13855
14017
|
} | undefined;
|
|
13856
|
-
via?: boolean | undefined;
|
|
13857
14018
|
}>]>>;
|
|
13858
14019
|
offsets: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
13859
14020
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -13899,32 +14060,18 @@ declare const traceHintProps: z.ZodObject<{
|
|
|
13899
14060
|
}, "strip", z.ZodTypeAny, {
|
|
13900
14061
|
x: number;
|
|
13901
14062
|
y: number;
|
|
13902
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13903
14063
|
via?: boolean | undefined;
|
|
14064
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13904
14065
|
}, {
|
|
13905
14066
|
x: string | number;
|
|
13906
14067
|
y: string | number;
|
|
14068
|
+
via?: boolean | undefined;
|
|
13907
14069
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13908
14070
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13909
14071
|
} | undefined;
|
|
13910
|
-
via?: boolean | undefined;
|
|
13911
14072
|
}>, "many">]>>;
|
|
13912
14073
|
traceWidth: z.ZodOptional<z.ZodNumber>;
|
|
13913
14074
|
}, "strip", z.ZodTypeAny, {
|
|
13914
|
-
for?: string | undefined;
|
|
13915
|
-
order?: number | undefined;
|
|
13916
|
-
offset?: {
|
|
13917
|
-
x: number;
|
|
13918
|
-
y: number;
|
|
13919
|
-
trace_width?: number | undefined;
|
|
13920
|
-
via?: boolean | undefined;
|
|
13921
|
-
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13922
|
-
} | {
|
|
13923
|
-
x: number;
|
|
13924
|
-
y: number;
|
|
13925
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13926
|
-
via?: boolean | undefined;
|
|
13927
|
-
} | undefined;
|
|
13928
14075
|
offsets?: {
|
|
13929
14076
|
x: number;
|
|
13930
14077
|
y: number;
|
|
@@ -13934,29 +14081,25 @@ declare const traceHintProps: z.ZodObject<{
|
|
|
13934
14081
|
}[] | {
|
|
13935
14082
|
x: number;
|
|
13936
14083
|
y: number;
|
|
13937
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13938
14084
|
via?: boolean | undefined;
|
|
14085
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13939
14086
|
}[] | undefined;
|
|
13940
|
-
traceWidth?: number | undefined;
|
|
13941
|
-
}, {
|
|
13942
14087
|
for?: string | undefined;
|
|
13943
14088
|
order?: number | undefined;
|
|
13944
14089
|
offset?: {
|
|
13945
|
-
x:
|
|
13946
|
-
y:
|
|
13947
|
-
trace_width?:
|
|
14090
|
+
x: number;
|
|
14091
|
+
y: number;
|
|
14092
|
+
trace_width?: number | undefined;
|
|
13948
14093
|
via?: boolean | undefined;
|
|
13949
|
-
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" |
|
|
13950
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13951
|
-
} | undefined;
|
|
14094
|
+
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13952
14095
|
} | {
|
|
13953
|
-
x:
|
|
13954
|
-
y:
|
|
13955
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13956
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13957
|
-
} | undefined;
|
|
14096
|
+
x: number;
|
|
14097
|
+
y: number;
|
|
13958
14098
|
via?: boolean | undefined;
|
|
14099
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
13959
14100
|
} | undefined;
|
|
14101
|
+
traceWidth?: number | undefined;
|
|
14102
|
+
}, {
|
|
13960
14103
|
offsets?: {
|
|
13961
14104
|
x: string | number;
|
|
13962
14105
|
y: string | number;
|
|
@@ -13968,38 +14111,14 @@ declare const traceHintProps: z.ZodObject<{
|
|
|
13968
14111
|
}[] | {
|
|
13969
14112
|
x: string | number;
|
|
13970
14113
|
y: string | number;
|
|
14114
|
+
via?: boolean | undefined;
|
|
13971
14115
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13972
14116
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13973
14117
|
} | undefined;
|
|
13974
|
-
via?: boolean | undefined;
|
|
13975
14118
|
}[] | undefined;
|
|
13976
|
-
|
|
13977
|
-
|
|
13978
|
-
|
|
13979
|
-
declare const pcbTraceProps: z.ZodObject<{
|
|
13980
|
-
layer: z.ZodOptional<z.ZodString>;
|
|
13981
|
-
thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13982
|
-
route: z.ZodArray<z.ZodObject<{
|
|
13983
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13984
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13985
|
-
via: z.ZodOptional<z.ZodBoolean>;
|
|
13986
|
-
to_layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
13987
|
-
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
13988
|
-
}, "strip", z.ZodTypeAny, {
|
|
13989
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13990
|
-
}, {
|
|
13991
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13992
|
-
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
13993
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
13994
|
-
}>>;
|
|
13995
|
-
trace_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13996
|
-
}, "strip", z.ZodTypeAny, {
|
|
13997
|
-
x: number;
|
|
13998
|
-
y: number;
|
|
13999
|
-
trace_width?: number | undefined;
|
|
14000
|
-
via?: boolean | undefined;
|
|
14001
|
-
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
14002
|
-
}, {
|
|
14119
|
+
for?: string | undefined;
|
|
14120
|
+
order?: number | undefined;
|
|
14121
|
+
offset?: {
|
|
14003
14122
|
x: string | number;
|
|
14004
14123
|
y: string | number;
|
|
14005
14124
|
trace_width?: string | number | undefined;
|
|
@@ -14007,35 +14126,25 @@ declare const pcbTraceProps: z.ZodObject<{
|
|
|
14007
14126
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14008
14127
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14009
14128
|
} | undefined;
|
|
14010
|
-
}
|
|
14011
|
-
}, "strip", z.ZodTypeAny, {
|
|
14012
|
-
route: {
|
|
14013
|
-
x: number;
|
|
14014
|
-
y: number;
|
|
14015
|
-
trace_width?: number | undefined;
|
|
14016
|
-
via?: boolean | undefined;
|
|
14017
|
-
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
14018
|
-
}[];
|
|
14019
|
-
layer?: string | undefined;
|
|
14020
|
-
thickness?: number | undefined;
|
|
14021
|
-
}, {
|
|
14022
|
-
route: {
|
|
14129
|
+
} | {
|
|
14023
14130
|
x: string | number;
|
|
14024
14131
|
y: string | number;
|
|
14025
|
-
trace_width?: string | number | undefined;
|
|
14026
14132
|
via?: boolean | undefined;
|
|
14027
|
-
|
|
14133
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14028
14134
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14029
14135
|
} | undefined;
|
|
14030
|
-
}
|
|
14031
|
-
|
|
14032
|
-
thickness?: string | number | undefined;
|
|
14136
|
+
} | undefined;
|
|
14137
|
+
traceWidth?: number | undefined;
|
|
14033
14138
|
}>;
|
|
14034
|
-
type
|
|
14035
|
-
|
|
14139
|
+
type TraceHintProps = z.input<typeof traceHintProps>;
|
|
14140
|
+
|
|
14141
|
+
declare const portProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
14036
14142
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14037
14143
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14038
14144
|
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14145
|
+
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14146
|
+
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14147
|
+
schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14039
14148
|
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
14040
14149
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
14041
14150
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14045,108 +14154,41 @@ declare const fabricationNoteTextProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14045
14154
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14046
14155
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14047
14156
|
}>>;
|
|
14157
|
+
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
14048
14158
|
}, {
|
|
14049
|
-
|
|
14050
|
-
|
|
14051
|
-
|
|
14052
|
-
|
|
14053
|
-
color: z.ZodOptional<z.ZodString>;
|
|
14159
|
+
name: z.ZodString;
|
|
14160
|
+
pinNumber: z.ZodOptional<z.ZodNumber>;
|
|
14161
|
+
aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
14162
|
+
direction: z.ZodEnum<["up", "down", "left", "right"]>;
|
|
14054
14163
|
}>, "strip", z.ZodTypeAny, {
|
|
14055
|
-
|
|
14056
|
-
|
|
14164
|
+
name: string;
|
|
14165
|
+
direction: "up" | "down" | "left" | "right";
|
|
14057
14166
|
pcbX?: number | undefined;
|
|
14058
14167
|
pcbY?: number | undefined;
|
|
14059
14168
|
pcbRotation?: number | undefined;
|
|
14060
14169
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
14061
|
-
|
|
14062
|
-
|
|
14063
|
-
|
|
14170
|
+
schX?: number | undefined;
|
|
14171
|
+
schY?: number | undefined;
|
|
14172
|
+
schRotation?: number | undefined;
|
|
14173
|
+
footprint?: Footprint | undefined;
|
|
14174
|
+
pinNumber?: number | undefined;
|
|
14175
|
+
aliases?: string[] | undefined;
|
|
14064
14176
|
}, {
|
|
14065
|
-
|
|
14177
|
+
name: string;
|
|
14178
|
+
direction: "up" | "down" | "left" | "right";
|
|
14066
14179
|
pcbX?: string | number | undefined;
|
|
14067
14180
|
pcbY?: string | number | undefined;
|
|
14068
14181
|
pcbRotation?: string | number | undefined;
|
|
14069
14182
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14070
14183
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14071
14184
|
} | undefined;
|
|
14072
|
-
|
|
14073
|
-
|
|
14074
|
-
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14078
|
-
declare const fabricationNotePathProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
14079
|
-
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14080
|
-
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14081
|
-
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14082
|
-
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
14083
|
-
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
14084
|
-
}, "strip", z.ZodTypeAny, {
|
|
14085
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14086
|
-
}, {
|
|
14087
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14088
|
-
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14089
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14090
|
-
}>>;
|
|
14091
|
-
}, "pcbX" | "pcbY" | "pcbRotation">, {
|
|
14092
|
-
route: z.ZodArray<z.ZodObject<{
|
|
14093
|
-
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14094
|
-
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14095
|
-
via: z.ZodOptional<z.ZodBoolean>;
|
|
14096
|
-
to_layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
14097
|
-
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
14098
|
-
}, "strip", z.ZodTypeAny, {
|
|
14099
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14100
|
-
}, {
|
|
14101
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14102
|
-
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14103
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14104
|
-
}>>;
|
|
14105
|
-
trace_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14106
|
-
}, "strip", z.ZodTypeAny, {
|
|
14107
|
-
x: number;
|
|
14108
|
-
y: number;
|
|
14109
|
-
trace_width?: number | undefined;
|
|
14110
|
-
via?: boolean | undefined;
|
|
14111
|
-
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
14112
|
-
}, {
|
|
14113
|
-
x: string | number;
|
|
14114
|
-
y: string | number;
|
|
14115
|
-
trace_width?: string | number | undefined;
|
|
14116
|
-
via?: boolean | undefined;
|
|
14117
|
-
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14118
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14119
|
-
} | undefined;
|
|
14120
|
-
}>, "many">;
|
|
14121
|
-
strokeWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14122
|
-
color: z.ZodOptional<z.ZodString>;
|
|
14123
|
-
}>, "strip", z.ZodTypeAny, {
|
|
14124
|
-
route: {
|
|
14125
|
-
x: number;
|
|
14126
|
-
y: number;
|
|
14127
|
-
trace_width?: number | undefined;
|
|
14128
|
-
via?: boolean | undefined;
|
|
14129
|
-
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
14130
|
-
}[];
|
|
14131
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
14132
|
-
color?: string | undefined;
|
|
14133
|
-
strokeWidth?: number | undefined;
|
|
14134
|
-
}, {
|
|
14135
|
-
route: {
|
|
14136
|
-
x: string | number;
|
|
14137
|
-
y: string | number;
|
|
14138
|
-
trace_width?: string | number | undefined;
|
|
14139
|
-
via?: boolean | undefined;
|
|
14140
|
-
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14141
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14142
|
-
} | undefined;
|
|
14143
|
-
}[];
|
|
14144
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
14145
|
-
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
14146
|
-
} | undefined;
|
|
14147
|
-
color?: string | undefined;
|
|
14148
|
-
strokeWidth?: string | number | undefined;
|
|
14185
|
+
schX?: string | number | undefined;
|
|
14186
|
+
schY?: string | number | undefined;
|
|
14187
|
+
schRotation?: string | number | undefined;
|
|
14188
|
+
footprint?: Footprint | undefined;
|
|
14189
|
+
pinNumber?: number | undefined;
|
|
14190
|
+
aliases?: string[] | undefined;
|
|
14149
14191
|
}>;
|
|
14150
|
-
type
|
|
14192
|
+
type PortProps = z.input<typeof portProps>;
|
|
14151
14193
|
|
|
14152
14194
|
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type JumperProps, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PortHints, type PortProps, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pinHeaderProps, pinLabelsProp, platedHoleProps, point3, portHints, portProps, portRef, potentiometerPins, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|