@tscircuit/core 0.0.281 → 0.0.282
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 +231 -199
- package/dist/index.js +92 -7
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -732,6 +732,21 @@ declare class Port extends PrimitiveComponent<typeof portProps> {
|
|
|
732
732
|
x: number;
|
|
733
733
|
y: number;
|
|
734
734
|
};
|
|
735
|
+
_getPortsInternallyConnectedToThisPort(): Port[];
|
|
736
|
+
/**
|
|
737
|
+
* Return true if this port has a schematic representation and can be rendered
|
|
738
|
+
* to the schematic.
|
|
739
|
+
*
|
|
740
|
+
* Sometimes things like mounting holes don't have a schematic representation
|
|
741
|
+
* and aren't rendered to the schematic.
|
|
742
|
+
*
|
|
743
|
+
* It's common for a schematic symbol to not have a representation for all of
|
|
744
|
+
* the pins on a footprint, e.g. a pushbutton has 4 pins but is typically
|
|
745
|
+
* represented by a two-pin symbol. In these cases, it's best to use
|
|
746
|
+
* internallyConnectedPorts or externallyConnectedPorts to ensure the things
|
|
747
|
+
* are rendered properly.
|
|
748
|
+
*/
|
|
749
|
+
_hasSchematicPort(): boolean;
|
|
735
750
|
_getGlobalSchematicPositionBeforeLayout(): {
|
|
736
751
|
x: number;
|
|
737
752
|
y: number;
|
|
@@ -765,6 +780,10 @@ declare class Port extends PrimitiveComponent<typeof portProps> {
|
|
|
765
780
|
_hasMatchedPcbPrimitive(): boolean;
|
|
766
781
|
}
|
|
767
782
|
|
|
783
|
+
interface INormalComponent {
|
|
784
|
+
_getInternallyConnectedPorts(): Port[][];
|
|
785
|
+
}
|
|
786
|
+
|
|
768
787
|
type PortMap<T extends string> = {
|
|
769
788
|
[K in T]: Port;
|
|
770
789
|
};
|
|
@@ -785,12 +804,17 @@ type PortMap<T extends string> = {
|
|
|
785
804
|
* }
|
|
786
805
|
* }
|
|
787
806
|
*/
|
|
788
|
-
declare class NormalComponent<ZodProps extends ZodType = any, PortNames extends string = never> extends PrimitiveComponent<ZodProps> {
|
|
807
|
+
declare class NormalComponent<ZodProps extends ZodType = any, PortNames extends string = never> extends PrimitiveComponent<ZodProps> implements INormalComponent {
|
|
789
808
|
reactSubtrees: Array<ReactSubtree>;
|
|
790
809
|
_impliedFootprint?: string | undefined;
|
|
791
810
|
isPrimitiveContainer: boolean;
|
|
792
811
|
_asyncSupplierPartNumbers?: SupplierPartNumbers;
|
|
793
812
|
pcb_missing_footprint_error_id?: string;
|
|
813
|
+
/**
|
|
814
|
+
* Override this property for component defaults
|
|
815
|
+
*/
|
|
816
|
+
get defaultInternallyConnectedPortNames(): string[][];
|
|
817
|
+
get internallyConnectedPortNames(): string[][];
|
|
794
818
|
constructor(props: z.input<ZodProps>);
|
|
795
819
|
/**
|
|
796
820
|
* Override this method for better control over the auto-discovery of ports.
|
|
@@ -824,6 +848,7 @@ declare class NormalComponent<ZodProps extends ZodType = any, PortNames extends
|
|
|
824
848
|
*/
|
|
825
849
|
doInitialSchematicComponentRender(): void;
|
|
826
850
|
_getSchematicSymbolDisplayValue(): string | undefined;
|
|
851
|
+
_getInternallyConnectedPorts(): Port[][];
|
|
827
852
|
_doInitialSchematicComponentRenderWithSymbol(): void;
|
|
828
853
|
_doInitialSchematicComponentRenderWithSchematicBoxDimensions(): void;
|
|
829
854
|
doInitialPcbComponentRender(): void;
|
|
@@ -1001,18 +1026,18 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1001
1026
|
y: string | number;
|
|
1002
1027
|
}>;
|
|
1003
1028
|
}, "strip", z.ZodTypeAny, {
|
|
1029
|
+
selector: string;
|
|
1030
|
+
relative_to: string;
|
|
1004
1031
|
center: {
|
|
1005
1032
|
x: number;
|
|
1006
1033
|
y: number;
|
|
1007
1034
|
};
|
|
1008
|
-
selector: string;
|
|
1009
|
-
relative_to: string;
|
|
1010
1035
|
}, {
|
|
1036
|
+
selector: string;
|
|
1011
1037
|
center: {
|
|
1012
1038
|
x: string | number;
|
|
1013
1039
|
y: string | number;
|
|
1014
1040
|
};
|
|
1015
|
-
selector: string;
|
|
1016
1041
|
relative_to?: string | undefined;
|
|
1017
1042
|
}>, "many">>;
|
|
1018
1043
|
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1047,6 +1072,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1047
1072
|
} | undefined;
|
|
1048
1073
|
}>, "many">;
|
|
1049
1074
|
}, "strip", z.ZodTypeAny, {
|
|
1075
|
+
pcb_port_selector: string;
|
|
1050
1076
|
offsets: {
|
|
1051
1077
|
x: number;
|
|
1052
1078
|
y: number;
|
|
@@ -1054,8 +1080,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1054
1080
|
via?: boolean | undefined;
|
|
1055
1081
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1056
1082
|
}[];
|
|
1057
|
-
pcb_port_selector: string;
|
|
1058
1083
|
}, {
|
|
1084
|
+
pcb_port_selector: string;
|
|
1059
1085
|
offsets: {
|
|
1060
1086
|
x: string | number;
|
|
1061
1087
|
y: string | number;
|
|
@@ -1065,7 +1091,6 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1065
1091
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1066
1092
|
} | undefined;
|
|
1067
1093
|
}[];
|
|
1068
|
-
pcb_port_selector: string;
|
|
1069
1094
|
}>, "many">>;
|
|
1070
1095
|
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1071
1096
|
selector: z.ZodString;
|
|
@@ -1081,30 +1106,31 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1081
1106
|
y: string | number;
|
|
1082
1107
|
}>;
|
|
1083
1108
|
}, "strip", z.ZodTypeAny, {
|
|
1109
|
+
selector: string;
|
|
1110
|
+
relative_to: string;
|
|
1084
1111
|
center: {
|
|
1085
1112
|
x: number;
|
|
1086
1113
|
y: number;
|
|
1087
1114
|
};
|
|
1088
|
-
selector: string;
|
|
1089
|
-
relative_to: string;
|
|
1090
1115
|
}, {
|
|
1116
|
+
selector: string;
|
|
1091
1117
|
center: {
|
|
1092
1118
|
x: string | number;
|
|
1093
1119
|
y: string | number;
|
|
1094
1120
|
};
|
|
1095
|
-
selector: string;
|
|
1096
1121
|
relative_to?: string | undefined;
|
|
1097
1122
|
}>, "many">>;
|
|
1098
1123
|
}, "strip", z.ZodTypeAny, {
|
|
1099
1124
|
pcb_placements?: {
|
|
1125
|
+
selector: string;
|
|
1126
|
+
relative_to: string;
|
|
1100
1127
|
center: {
|
|
1101
1128
|
x: number;
|
|
1102
1129
|
y: number;
|
|
1103
1130
|
};
|
|
1104
|
-
selector: string;
|
|
1105
|
-
relative_to: string;
|
|
1106
1131
|
}[] | undefined;
|
|
1107
1132
|
manual_trace_hints?: {
|
|
1133
|
+
pcb_port_selector: string;
|
|
1108
1134
|
offsets: {
|
|
1109
1135
|
x: number;
|
|
1110
1136
|
y: number;
|
|
@@ -1112,26 +1138,26 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1112
1138
|
via?: boolean | undefined;
|
|
1113
1139
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1114
1140
|
}[];
|
|
1115
|
-
pcb_port_selector: string;
|
|
1116
1141
|
}[] | undefined;
|
|
1117
1142
|
schematic_placements?: {
|
|
1143
|
+
selector: string;
|
|
1144
|
+
relative_to: string;
|
|
1118
1145
|
center: {
|
|
1119
1146
|
x: number;
|
|
1120
1147
|
y: number;
|
|
1121
1148
|
};
|
|
1122
|
-
selector: string;
|
|
1123
|
-
relative_to: string;
|
|
1124
1149
|
}[] | undefined;
|
|
1125
1150
|
}, {
|
|
1126
1151
|
pcb_placements?: {
|
|
1152
|
+
selector: string;
|
|
1127
1153
|
center: {
|
|
1128
1154
|
x: string | number;
|
|
1129
1155
|
y: string | number;
|
|
1130
1156
|
};
|
|
1131
|
-
selector: string;
|
|
1132
1157
|
relative_to?: string | undefined;
|
|
1133
1158
|
}[] | undefined;
|
|
1134
1159
|
manual_trace_hints?: {
|
|
1160
|
+
pcb_port_selector: string;
|
|
1135
1161
|
offsets: {
|
|
1136
1162
|
x: string | number;
|
|
1137
1163
|
y: string | number;
|
|
@@ -1141,14 +1167,13 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1141
1167
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1142
1168
|
} | undefined;
|
|
1143
1169
|
}[];
|
|
1144
|
-
pcb_port_selector: string;
|
|
1145
1170
|
}[] | undefined;
|
|
1146
1171
|
schematic_placements?: {
|
|
1172
|
+
selector: string;
|
|
1147
1173
|
center: {
|
|
1148
1174
|
x: string | number;
|
|
1149
1175
|
y: string | number;
|
|
1150
1176
|
};
|
|
1151
|
-
selector: string;
|
|
1152
1177
|
relative_to?: string | undefined;
|
|
1153
1178
|
}[] | undefined;
|
|
1154
1179
|
}>>;
|
|
@@ -1194,27 +1219,26 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1194
1219
|
pcbX?: number | undefined;
|
|
1195
1220
|
pcbY?: number | undefined;
|
|
1196
1221
|
pcbRotation?: number | undefined;
|
|
1222
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1197
1223
|
schX?: number | undefined;
|
|
1198
1224
|
schY?: number | undefined;
|
|
1199
1225
|
schRotation?: number | undefined;
|
|
1200
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1201
1226
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
1202
1227
|
key?: any;
|
|
1203
1228
|
name?: string | undefined;
|
|
1204
1229
|
children?: any;
|
|
1205
|
-
width?: number | undefined;
|
|
1206
|
-
height?: number | undefined;
|
|
1207
1230
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
1208
1231
|
manualEdits?: {
|
|
1209
1232
|
pcb_placements?: {
|
|
1233
|
+
selector: string;
|
|
1234
|
+
relative_to: string;
|
|
1210
1235
|
center: {
|
|
1211
1236
|
x: number;
|
|
1212
1237
|
y: number;
|
|
1213
1238
|
};
|
|
1214
|
-
selector: string;
|
|
1215
|
-
relative_to: string;
|
|
1216
1239
|
}[] | undefined;
|
|
1217
1240
|
manual_trace_hints?: {
|
|
1241
|
+
pcb_port_selector: string;
|
|
1218
1242
|
offsets: {
|
|
1219
1243
|
x: number;
|
|
1220
1244
|
y: number;
|
|
@@ -1222,15 +1246,14 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1222
1246
|
via?: boolean | undefined;
|
|
1223
1247
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1224
1248
|
}[];
|
|
1225
|
-
pcb_port_selector: string;
|
|
1226
1249
|
}[] | undefined;
|
|
1227
1250
|
schematic_placements?: {
|
|
1251
|
+
selector: string;
|
|
1252
|
+
relative_to: string;
|
|
1228
1253
|
center: {
|
|
1229
1254
|
x: number;
|
|
1230
1255
|
y: number;
|
|
1231
1256
|
};
|
|
1232
|
-
selector: string;
|
|
1233
|
-
relative_to: string;
|
|
1234
1257
|
}[] | undefined;
|
|
1235
1258
|
} | undefined;
|
|
1236
1259
|
routingDisabled?: boolean | undefined;
|
|
@@ -1246,6 +1269,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1246
1269
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
1247
1270
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
1248
1271
|
partsEngine?: _tscircuit_props.PartsEngine | undefined;
|
|
1272
|
+
width?: number | undefined;
|
|
1273
|
+
height?: number | undefined;
|
|
1249
1274
|
outline?: {
|
|
1250
1275
|
x: number;
|
|
1251
1276
|
y: number;
|
|
@@ -1256,29 +1281,28 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1256
1281
|
pcbX?: string | number | undefined;
|
|
1257
1282
|
pcbY?: string | number | undefined;
|
|
1258
1283
|
pcbRotation?: string | number | undefined;
|
|
1259
|
-
schX?: string | number | undefined;
|
|
1260
|
-
schY?: string | number | undefined;
|
|
1261
|
-
schRotation?: string | number | undefined;
|
|
1262
1284
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1263
1285
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1264
1286
|
} | undefined;
|
|
1287
|
+
schX?: string | number | undefined;
|
|
1288
|
+
schY?: string | number | undefined;
|
|
1289
|
+
schRotation?: string | number | undefined;
|
|
1265
1290
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
1266
1291
|
key?: any;
|
|
1267
1292
|
name?: string | undefined;
|
|
1268
1293
|
children?: any;
|
|
1269
|
-
width?: string | number | undefined;
|
|
1270
|
-
height?: string | number | undefined;
|
|
1271
1294
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
1272
1295
|
manualEdits?: {
|
|
1273
1296
|
pcb_placements?: {
|
|
1297
|
+
selector: string;
|
|
1274
1298
|
center: {
|
|
1275
1299
|
x: string | number;
|
|
1276
1300
|
y: string | number;
|
|
1277
1301
|
};
|
|
1278
|
-
selector: string;
|
|
1279
1302
|
relative_to?: string | undefined;
|
|
1280
1303
|
}[] | undefined;
|
|
1281
1304
|
manual_trace_hints?: {
|
|
1305
|
+
pcb_port_selector: string;
|
|
1282
1306
|
offsets: {
|
|
1283
1307
|
x: string | number;
|
|
1284
1308
|
y: string | number;
|
|
@@ -1288,14 +1312,13 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1288
1312
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1289
1313
|
} | undefined;
|
|
1290
1314
|
}[];
|
|
1291
|
-
pcb_port_selector: string;
|
|
1292
1315
|
}[] | undefined;
|
|
1293
1316
|
schematic_placements?: {
|
|
1317
|
+
selector: string;
|
|
1294
1318
|
center: {
|
|
1295
1319
|
x: string | number;
|
|
1296
1320
|
y: string | number;
|
|
1297
1321
|
};
|
|
1298
|
-
selector: string;
|
|
1299
1322
|
relative_to?: string | undefined;
|
|
1300
1323
|
}[] | undefined;
|
|
1301
1324
|
} | undefined;
|
|
@@ -1312,6 +1335,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1312
1335
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
1313
1336
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
1314
1337
|
partsEngine?: _tscircuit_props.PartsEngine | undefined;
|
|
1338
|
+
width?: string | number | undefined;
|
|
1339
|
+
height?: string | number | undefined;
|
|
1315
1340
|
outline?: {
|
|
1316
1341
|
x: string | number;
|
|
1317
1342
|
y: string | number;
|
|
@@ -1610,10 +1635,10 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, PassivePo
|
|
|
1610
1635
|
pcbX?: number | undefined;
|
|
1611
1636
|
pcbY?: number | undefined;
|
|
1612
1637
|
pcbRotation?: number | undefined;
|
|
1638
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1613
1639
|
schX?: number | undefined;
|
|
1614
1640
|
schY?: number | undefined;
|
|
1615
1641
|
schRotation?: number | undefined;
|
|
1616
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1617
1642
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
1618
1643
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1619
1644
|
key?: any;
|
|
@@ -1683,12 +1708,12 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, PassivePo
|
|
|
1683
1708
|
pcbX?: string | number | undefined;
|
|
1684
1709
|
pcbY?: string | number | undefined;
|
|
1685
1710
|
pcbRotation?: string | number | undefined;
|
|
1686
|
-
schX?: string | number | undefined;
|
|
1687
|
-
schY?: string | number | undefined;
|
|
1688
|
-
schRotation?: string | number | undefined;
|
|
1689
1711
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1690
1712
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1691
1713
|
} | undefined;
|
|
1714
|
+
schX?: string | number | undefined;
|
|
1715
|
+
schY?: string | number | undefined;
|
|
1716
|
+
schRotation?: string | number | undefined;
|
|
1692
1717
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
1693
1718
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1694
1719
|
key?: any;
|
|
@@ -2026,6 +2051,8 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2026
2051
|
}>, {
|
|
2027
2052
|
manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
|
|
2028
2053
|
pinLabels: zod.ZodOptional<zod.ZodRecord<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, zod.ZodUnion<[zod.ZodString, zod.ZodReadonly<zod.ZodArray<zod.ZodString, "many">>]>>>;
|
|
2054
|
+
internallyConnectedPorts: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
2055
|
+
externallyConnectedPorts: zod.ZodOptional<zod.ZodArray<zod.ZodArray<zod.ZodString, "many">, "many">>;
|
|
2029
2056
|
schPortArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
2030
2057
|
leftSize: zod.ZodOptional<zod.ZodNumber>;
|
|
2031
2058
|
topSize: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -2039,41 +2066,41 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2039
2066
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
2040
2067
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
2041
2068
|
}, "strip", zod.ZodTypeAny, {
|
|
2042
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2043
2069
|
pins: (string | number)[];
|
|
2044
|
-
}, {
|
|
2045
2070
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2071
|
+
}, {
|
|
2046
2072
|
pins: (string | number)[];
|
|
2073
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2047
2074
|
}>>;
|
|
2048
2075
|
rightSide: zod.ZodOptional<zod.ZodObject<{
|
|
2049
2076
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
2050
2077
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
2051
2078
|
}, "strip", zod.ZodTypeAny, {
|
|
2052
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2053
2079
|
pins: (string | number)[];
|
|
2054
|
-
}, {
|
|
2055
2080
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2081
|
+
}, {
|
|
2056
2082
|
pins: (string | number)[];
|
|
2083
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2057
2084
|
}>>;
|
|
2058
2085
|
topSide: zod.ZodOptional<zod.ZodObject<{
|
|
2059
2086
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
2060
2087
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
2061
2088
|
}, "strip", zod.ZodTypeAny, {
|
|
2062
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2063
2089
|
pins: (string | number)[];
|
|
2064
|
-
}, {
|
|
2065
2090
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2091
|
+
}, {
|
|
2066
2092
|
pins: (string | number)[];
|
|
2093
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2067
2094
|
}>>;
|
|
2068
2095
|
bottomSide: zod.ZodOptional<zod.ZodObject<{
|
|
2069
2096
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
2070
2097
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
2071
2098
|
}, "strip", zod.ZodTypeAny, {
|
|
2072
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2073
2099
|
pins: (string | number)[];
|
|
2074
|
-
}, {
|
|
2075
2100
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2101
|
+
}, {
|
|
2076
2102
|
pins: (string | number)[];
|
|
2103
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2077
2104
|
}>>;
|
|
2078
2105
|
}, "strip", zod.ZodTypeAny, {
|
|
2079
2106
|
leftSize?: number | undefined;
|
|
@@ -2081,20 +2108,20 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2081
2108
|
rightSize?: number | undefined;
|
|
2082
2109
|
bottomSize?: number | undefined;
|
|
2083
2110
|
leftSide?: {
|
|
2084
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2085
2111
|
pins: (string | number)[];
|
|
2112
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2086
2113
|
} | undefined;
|
|
2087
2114
|
topSide?: {
|
|
2088
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2089
2115
|
pins: (string | number)[];
|
|
2116
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2090
2117
|
} | undefined;
|
|
2091
2118
|
rightSide?: {
|
|
2092
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2093
2119
|
pins: (string | number)[];
|
|
2120
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2094
2121
|
} | undefined;
|
|
2095
2122
|
bottomSide?: {
|
|
2096
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2097
2123
|
pins: (string | number)[];
|
|
2124
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2098
2125
|
} | undefined;
|
|
2099
2126
|
leftPinCount?: number | undefined;
|
|
2100
2127
|
rightPinCount?: number | undefined;
|
|
@@ -2106,20 +2133,20 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2106
2133
|
rightSize?: number | undefined;
|
|
2107
2134
|
bottomSize?: number | undefined;
|
|
2108
2135
|
leftSide?: {
|
|
2109
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2110
2136
|
pins: (string | number)[];
|
|
2137
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2111
2138
|
} | undefined;
|
|
2112
2139
|
topSide?: {
|
|
2113
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2114
2140
|
pins: (string | number)[];
|
|
2141
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2115
2142
|
} | undefined;
|
|
2116
2143
|
rightSide?: {
|
|
2117
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2118
2144
|
pins: (string | number)[];
|
|
2145
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2119
2146
|
} | undefined;
|
|
2120
2147
|
bottomSide?: {
|
|
2121
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2122
2148
|
pins: (string | number)[];
|
|
2149
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2123
2150
|
} | undefined;
|
|
2124
2151
|
leftPinCount?: number | undefined;
|
|
2125
2152
|
rightPinCount?: number | undefined;
|
|
@@ -2151,10 +2178,10 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2151
2178
|
pcbX?: number | undefined;
|
|
2152
2179
|
pcbY?: number | undefined;
|
|
2153
2180
|
pcbRotation?: number | undefined;
|
|
2181
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2154
2182
|
schX?: number | undefined;
|
|
2155
2183
|
schY?: number | undefined;
|
|
2156
2184
|
schRotation?: number | undefined;
|
|
2157
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2158
2185
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
2159
2186
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2160
2187
|
key?: any;
|
|
@@ -2215,26 +2242,28 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2215
2242
|
symbolName?: string | undefined;
|
|
2216
2243
|
manufacturerPartNumber?: string | undefined;
|
|
2217
2244
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
2245
|
+
internallyConnectedPorts?: string[][] | undefined;
|
|
2246
|
+
externallyConnectedPorts?: string[][] | undefined;
|
|
2218
2247
|
schPortArrangement?: {
|
|
2219
2248
|
leftSize?: number | undefined;
|
|
2220
2249
|
topSize?: number | undefined;
|
|
2221
2250
|
rightSize?: number | undefined;
|
|
2222
2251
|
bottomSize?: number | undefined;
|
|
2223
2252
|
leftSide?: {
|
|
2224
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2225
2253
|
pins: (string | number)[];
|
|
2254
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2226
2255
|
} | undefined;
|
|
2227
2256
|
topSide?: {
|
|
2228
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2229
2257
|
pins: (string | number)[];
|
|
2258
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2230
2259
|
} | undefined;
|
|
2231
2260
|
rightSide?: {
|
|
2232
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2233
2261
|
pins: (string | number)[];
|
|
2262
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2234
2263
|
} | undefined;
|
|
2235
2264
|
bottomSide?: {
|
|
2236
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2237
2265
|
pins: (string | number)[];
|
|
2266
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2238
2267
|
} | undefined;
|
|
2239
2268
|
leftPinCount?: number | undefined;
|
|
2240
2269
|
rightPinCount?: number | undefined;
|
|
@@ -2256,12 +2285,12 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2256
2285
|
pcbX?: string | number | undefined;
|
|
2257
2286
|
pcbY?: string | number | undefined;
|
|
2258
2287
|
pcbRotation?: string | number | undefined;
|
|
2259
|
-
schX?: string | number | undefined;
|
|
2260
|
-
schY?: string | number | undefined;
|
|
2261
|
-
schRotation?: string | number | undefined;
|
|
2262
2288
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2263
2289
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2264
2290
|
} | undefined;
|
|
2291
|
+
schX?: string | number | undefined;
|
|
2292
|
+
schY?: string | number | undefined;
|
|
2293
|
+
schRotation?: string | number | undefined;
|
|
2265
2294
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
2266
2295
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2267
2296
|
key?: any;
|
|
@@ -2322,26 +2351,28 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2322
2351
|
symbolName?: string | undefined;
|
|
2323
2352
|
manufacturerPartNumber?: string | undefined;
|
|
2324
2353
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
2354
|
+
internallyConnectedPorts?: string[][] | undefined;
|
|
2355
|
+
externallyConnectedPorts?: string[][] | undefined;
|
|
2325
2356
|
schPortArrangement?: {
|
|
2326
2357
|
leftSize?: number | undefined;
|
|
2327
2358
|
topSize?: number | undefined;
|
|
2328
2359
|
rightSize?: number | undefined;
|
|
2329
2360
|
bottomSize?: number | undefined;
|
|
2330
2361
|
leftSide?: {
|
|
2331
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2332
2362
|
pins: (string | number)[];
|
|
2363
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2333
2364
|
} | undefined;
|
|
2334
2365
|
topSide?: {
|
|
2335
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2336
2366
|
pins: (string | number)[];
|
|
2367
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2337
2368
|
} | undefined;
|
|
2338
2369
|
rightSide?: {
|
|
2339
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2340
2370
|
pins: (string | number)[];
|
|
2371
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2341
2372
|
} | undefined;
|
|
2342
2373
|
bottomSide?: {
|
|
2343
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2344
2374
|
pins: (string | number)[];
|
|
2375
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2345
2376
|
} | undefined;
|
|
2346
2377
|
leftPinCount?: number | undefined;
|
|
2347
2378
|
rightPinCount?: number | undefined;
|
|
@@ -2631,10 +2662,10 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
2631
2662
|
pcbX?: number | undefined;
|
|
2632
2663
|
pcbY?: number | undefined;
|
|
2633
2664
|
pcbRotation?: number | undefined;
|
|
2665
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2634
2666
|
schX?: number | undefined;
|
|
2635
2667
|
schY?: number | undefined;
|
|
2636
2668
|
schRotation?: number | undefined;
|
|
2637
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2638
2669
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
2639
2670
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2640
2671
|
key?: any;
|
|
@@ -2698,12 +2729,12 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
2698
2729
|
pcbX?: string | number | undefined;
|
|
2699
2730
|
pcbY?: string | number | undefined;
|
|
2700
2731
|
pcbRotation?: string | number | undefined;
|
|
2701
|
-
schX?: string | number | undefined;
|
|
2702
|
-
schY?: string | number | undefined;
|
|
2703
|
-
schRotation?: string | number | undefined;
|
|
2704
2732
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2705
2733
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2706
2734
|
} | undefined;
|
|
2735
|
+
schX?: string | number | undefined;
|
|
2736
|
+
schY?: string | number | undefined;
|
|
2737
|
+
schRotation?: string | number | undefined;
|
|
2707
2738
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
2708
2739
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2709
2740
|
key?: any;
|
|
@@ -3068,41 +3099,41 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3068
3099
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
3069
3100
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
3070
3101
|
}, "strip", zod.ZodTypeAny, {
|
|
3071
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3072
3102
|
pins: (string | number)[];
|
|
3073
|
-
}, {
|
|
3074
3103
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3104
|
+
}, {
|
|
3075
3105
|
pins: (string | number)[];
|
|
3106
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3076
3107
|
}>>;
|
|
3077
3108
|
rightSide: zod.ZodOptional<zod.ZodObject<{
|
|
3078
3109
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
3079
3110
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
3080
3111
|
}, "strip", zod.ZodTypeAny, {
|
|
3081
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3082
3112
|
pins: (string | number)[];
|
|
3083
|
-
}, {
|
|
3084
3113
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3114
|
+
}, {
|
|
3085
3115
|
pins: (string | number)[];
|
|
3116
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3086
3117
|
}>>;
|
|
3087
3118
|
topSide: zod.ZodOptional<zod.ZodObject<{
|
|
3088
3119
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
3089
3120
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
3090
3121
|
}, "strip", zod.ZodTypeAny, {
|
|
3091
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3092
3122
|
pins: (string | number)[];
|
|
3093
|
-
}, {
|
|
3094
3123
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3124
|
+
}, {
|
|
3095
3125
|
pins: (string | number)[];
|
|
3126
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3096
3127
|
}>>;
|
|
3097
3128
|
bottomSide: zod.ZodOptional<zod.ZodObject<{
|
|
3098
3129
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
3099
3130
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
3100
3131
|
}, "strip", zod.ZodTypeAny, {
|
|
3101
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3102
3132
|
pins: (string | number)[];
|
|
3103
|
-
}, {
|
|
3104
3133
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3134
|
+
}, {
|
|
3105
3135
|
pins: (string | number)[];
|
|
3136
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3106
3137
|
}>>;
|
|
3107
3138
|
}, "strip", zod.ZodTypeAny, {
|
|
3108
3139
|
leftSize?: number | undefined;
|
|
@@ -3110,20 +3141,20 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3110
3141
|
rightSize?: number | undefined;
|
|
3111
3142
|
bottomSize?: number | undefined;
|
|
3112
3143
|
leftSide?: {
|
|
3113
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3114
3144
|
pins: (string | number)[];
|
|
3145
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3115
3146
|
} | undefined;
|
|
3116
3147
|
topSide?: {
|
|
3117
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3118
3148
|
pins: (string | number)[];
|
|
3149
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3119
3150
|
} | undefined;
|
|
3120
3151
|
rightSide?: {
|
|
3121
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3122
3152
|
pins: (string | number)[];
|
|
3153
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3123
3154
|
} | undefined;
|
|
3124
3155
|
bottomSide?: {
|
|
3125
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3126
3156
|
pins: (string | number)[];
|
|
3157
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3127
3158
|
} | undefined;
|
|
3128
3159
|
leftPinCount?: number | undefined;
|
|
3129
3160
|
rightPinCount?: number | undefined;
|
|
@@ -3135,20 +3166,20 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3135
3166
|
rightSize?: number | undefined;
|
|
3136
3167
|
bottomSize?: number | undefined;
|
|
3137
3168
|
leftSide?: {
|
|
3138
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3139
3169
|
pins: (string | number)[];
|
|
3170
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3140
3171
|
} | undefined;
|
|
3141
3172
|
topSide?: {
|
|
3142
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3143
3173
|
pins: (string | number)[];
|
|
3174
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3144
3175
|
} | undefined;
|
|
3145
3176
|
rightSide?: {
|
|
3146
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3147
3177
|
pins: (string | number)[];
|
|
3178
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3148
3179
|
} | undefined;
|
|
3149
3180
|
bottomSide?: {
|
|
3150
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3151
3181
|
pins: (string | number)[];
|
|
3182
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3152
3183
|
} | undefined;
|
|
3153
3184
|
leftPinCount?: number | undefined;
|
|
3154
3185
|
rightPinCount?: number | undefined;
|
|
@@ -3160,10 +3191,10 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3160
3191
|
pcbX?: number | undefined;
|
|
3161
3192
|
pcbY?: number | undefined;
|
|
3162
3193
|
pcbRotation?: number | undefined;
|
|
3194
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3163
3195
|
schX?: number | undefined;
|
|
3164
3196
|
schY?: number | undefined;
|
|
3165
3197
|
schRotation?: number | undefined;
|
|
3166
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3167
3198
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
3168
3199
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3169
3200
|
key?: any;
|
|
@@ -3230,20 +3261,20 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3230
3261
|
rightSize?: number | undefined;
|
|
3231
3262
|
bottomSize?: number | undefined;
|
|
3232
3263
|
leftSide?: {
|
|
3233
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3234
3264
|
pins: (string | number)[];
|
|
3265
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3235
3266
|
} | undefined;
|
|
3236
3267
|
topSide?: {
|
|
3237
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3238
3268
|
pins: (string | number)[];
|
|
3269
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3239
3270
|
} | undefined;
|
|
3240
3271
|
rightSide?: {
|
|
3241
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3242
3272
|
pins: (string | number)[];
|
|
3273
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3243
3274
|
} | undefined;
|
|
3244
3275
|
bottomSide?: {
|
|
3245
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3246
3276
|
pins: (string | number)[];
|
|
3277
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3247
3278
|
} | undefined;
|
|
3248
3279
|
leftPinCount?: number | undefined;
|
|
3249
3280
|
rightPinCount?: number | undefined;
|
|
@@ -3265,12 +3296,12 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3265
3296
|
pcbX?: string | number | undefined;
|
|
3266
3297
|
pcbY?: string | number | undefined;
|
|
3267
3298
|
pcbRotation?: string | number | undefined;
|
|
3268
|
-
schX?: string | number | undefined;
|
|
3269
|
-
schY?: string | number | undefined;
|
|
3270
|
-
schRotation?: string | number | undefined;
|
|
3271
3299
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3272
3300
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3273
3301
|
} | undefined;
|
|
3302
|
+
schX?: string | number | undefined;
|
|
3303
|
+
schY?: string | number | undefined;
|
|
3304
|
+
schRotation?: string | number | undefined;
|
|
3274
3305
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
3275
3306
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3276
3307
|
key?: any;
|
|
@@ -3337,20 +3368,20 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3337
3368
|
rightSize?: number | undefined;
|
|
3338
3369
|
bottomSize?: number | undefined;
|
|
3339
3370
|
leftSide?: {
|
|
3340
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3341
3371
|
pins: (string | number)[];
|
|
3372
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3342
3373
|
} | undefined;
|
|
3343
3374
|
topSide?: {
|
|
3344
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3345
3375
|
pins: (string | number)[];
|
|
3376
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3346
3377
|
} | undefined;
|
|
3347
3378
|
rightSide?: {
|
|
3348
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3349
3379
|
pins: (string | number)[];
|
|
3380
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3350
3381
|
} | undefined;
|
|
3351
3382
|
bottomSide?: {
|
|
3352
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3353
3383
|
pins: (string | number)[];
|
|
3384
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3354
3385
|
} | undefined;
|
|
3355
3386
|
leftPinCount?: number | undefined;
|
|
3356
3387
|
rightPinCount?: number | undefined;
|
|
@@ -3641,10 +3672,10 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
|
|
|
3641
3672
|
pcbX?: number | undefined;
|
|
3642
3673
|
pcbY?: number | undefined;
|
|
3643
3674
|
pcbRotation?: number | undefined;
|
|
3675
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3644
3676
|
schX?: number | undefined;
|
|
3645
3677
|
schY?: number | undefined;
|
|
3646
3678
|
schRotation?: number | undefined;
|
|
3647
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3648
3679
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
3649
3680
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3650
3681
|
key?: any;
|
|
@@ -3709,12 +3740,12 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
|
|
|
3709
3740
|
pcbX?: string | number | undefined;
|
|
3710
3741
|
pcbY?: string | number | undefined;
|
|
3711
3742
|
pcbRotation?: string | number | undefined;
|
|
3712
|
-
schX?: string | number | undefined;
|
|
3713
|
-
schY?: string | number | undefined;
|
|
3714
|
-
schRotation?: string | number | undefined;
|
|
3715
3743
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3716
3744
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3717
3745
|
} | undefined;
|
|
3746
|
+
schX?: string | number | undefined;
|
|
3747
|
+
schY?: string | number | undefined;
|
|
3748
|
+
schRotation?: string | number | undefined;
|
|
3718
3749
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
3719
3750
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3720
3751
|
key?: any;
|
|
@@ -4052,10 +4083,10 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
|
|
|
4052
4083
|
pcbX?: number | undefined;
|
|
4053
4084
|
pcbY?: number | undefined;
|
|
4054
4085
|
pcbRotation?: number | undefined;
|
|
4086
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4055
4087
|
schX?: number | undefined;
|
|
4056
4088
|
schY?: number | undefined;
|
|
4057
4089
|
schRotation?: number | undefined;
|
|
4058
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4059
4090
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
4060
4091
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4061
4092
|
key?: any;
|
|
@@ -4120,12 +4151,12 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
|
|
|
4120
4151
|
pcbX?: string | number | undefined;
|
|
4121
4152
|
pcbY?: string | number | undefined;
|
|
4122
4153
|
pcbRotation?: string | number | undefined;
|
|
4123
|
-
schX?: string | number | undefined;
|
|
4124
|
-
schY?: string | number | undefined;
|
|
4125
|
-
schRotation?: string | number | undefined;
|
|
4126
4154
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4127
4155
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4128
4156
|
} | undefined;
|
|
4157
|
+
schX?: string | number | undefined;
|
|
4158
|
+
schY?: string | number | undefined;
|
|
4159
|
+
schRotation?: string | number | undefined;
|
|
4129
4160
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
4130
4161
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4131
4162
|
key?: any;
|
|
@@ -4466,10 +4497,10 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
4466
4497
|
pcbX?: number | undefined;
|
|
4467
4498
|
pcbY?: number | undefined;
|
|
4468
4499
|
pcbRotation?: number | undefined;
|
|
4500
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4469
4501
|
schX?: number | undefined;
|
|
4470
4502
|
schY?: number | undefined;
|
|
4471
4503
|
schRotation?: number | undefined;
|
|
4472
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4473
4504
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
4474
4505
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4475
4506
|
key?: any;
|
|
@@ -4538,12 +4569,12 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
4538
4569
|
pcbX?: string | number | undefined;
|
|
4539
4570
|
pcbY?: string | number | undefined;
|
|
4540
4571
|
pcbRotation?: string | number | undefined;
|
|
4541
|
-
schX?: string | number | undefined;
|
|
4542
|
-
schY?: string | number | undefined;
|
|
4543
|
-
schRotation?: string | number | undefined;
|
|
4544
4572
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4545
4573
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4546
4574
|
} | undefined;
|
|
4575
|
+
schX?: string | number | undefined;
|
|
4576
|
+
schY?: string | number | undefined;
|
|
4577
|
+
schRotation?: string | number | undefined;
|
|
4547
4578
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
4548
4579
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4549
4580
|
key?: any;
|
|
@@ -5032,13 +5063,13 @@ declare class NetAlias extends PrimitiveComponent<typeof netAliasProps> {
|
|
|
5032
5063
|
schY?: number | undefined;
|
|
5033
5064
|
schRotation?: number | undefined;
|
|
5034
5065
|
net?: string | undefined;
|
|
5035
|
-
anchorSide?: "
|
|
5066
|
+
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
5036
5067
|
}, {
|
|
5037
5068
|
schX?: string | number | undefined;
|
|
5038
5069
|
schY?: string | number | undefined;
|
|
5039
5070
|
schRotation?: string | number | undefined;
|
|
5040
5071
|
net?: string | undefined;
|
|
5041
|
-
anchorSide?: "
|
|
5072
|
+
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
5042
5073
|
}>;
|
|
5043
5074
|
};
|
|
5044
5075
|
doInitialSchematicComponentRender(): void;
|
|
@@ -5224,8 +5255,8 @@ declare class SilkscreenCircle extends PrimitiveComponent<typeof silkscreenCircl
|
|
|
5224
5255
|
pcbX?: number | undefined;
|
|
5225
5256
|
pcbY?: number | undefined;
|
|
5226
5257
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5227
|
-
isFilled?: boolean | undefined;
|
|
5228
5258
|
strokeWidth?: number | undefined;
|
|
5259
|
+
isFilled?: boolean | undefined;
|
|
5229
5260
|
isOutline?: boolean | undefined;
|
|
5230
5261
|
}, {
|
|
5231
5262
|
radius: string | number;
|
|
@@ -5234,8 +5265,8 @@ declare class SilkscreenCircle extends PrimitiveComponent<typeof silkscreenCircl
|
|
|
5234
5265
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5235
5266
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5236
5267
|
} | undefined;
|
|
5237
|
-
isFilled?: boolean | undefined;
|
|
5238
5268
|
strokeWidth?: string | number | undefined;
|
|
5269
|
+
isFilled?: boolean | undefined;
|
|
5239
5270
|
isOutline?: boolean | undefined;
|
|
5240
5271
|
}>;
|
|
5241
5272
|
};
|
|
@@ -5348,8 +5379,8 @@ declare class SilkscreenRect extends PrimitiveComponent<typeof silkscreenRectPro
|
|
|
5348
5379
|
pcbX?: number | undefined;
|
|
5349
5380
|
pcbY?: number | undefined;
|
|
5350
5381
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5351
|
-
isFilled?: boolean | undefined;
|
|
5352
5382
|
strokeWidth?: number | undefined;
|
|
5383
|
+
isFilled?: boolean | undefined;
|
|
5353
5384
|
isOutline?: boolean | undefined;
|
|
5354
5385
|
}, {
|
|
5355
5386
|
width: string | number;
|
|
@@ -5359,8 +5390,8 @@ declare class SilkscreenRect extends PrimitiveComponent<typeof silkscreenRectPro
|
|
|
5359
5390
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5360
5391
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5361
5392
|
} | undefined;
|
|
5362
|
-
isFilled?: boolean | undefined;
|
|
5363
5393
|
strokeWidth?: string | number | undefined;
|
|
5394
|
+
isFilled?: boolean | undefined;
|
|
5364
5395
|
isOutline?: boolean | undefined;
|
|
5365
5396
|
}>;
|
|
5366
5397
|
};
|
|
@@ -5442,18 +5473,18 @@ declare class SilkscreenLine extends PrimitiveComponent<typeof silkscreenLinePro
|
|
|
5442
5473
|
x2: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
5443
5474
|
y2: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
5444
5475
|
}>, "strip", zod.ZodTypeAny, {
|
|
5476
|
+
strokeWidth: number;
|
|
5445
5477
|
x1: number;
|
|
5446
5478
|
y1: number;
|
|
5447
5479
|
x2: number;
|
|
5448
5480
|
y2: number;
|
|
5449
|
-
strokeWidth: number;
|
|
5450
5481
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5451
5482
|
}, {
|
|
5483
|
+
strokeWidth: string | number;
|
|
5452
5484
|
x1: string | number;
|
|
5453
5485
|
y1: string | number;
|
|
5454
5486
|
x2: string | number;
|
|
5455
5487
|
y2: string | number;
|
|
5456
|
-
strokeWidth: string | number;
|
|
5457
5488
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5458
5489
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5459
5490
|
} | undefined;
|
|
@@ -5656,15 +5687,15 @@ declare class TraceHint extends PrimitiveComponent<typeof traceHintProps> {
|
|
|
5656
5687
|
}, "strip", zod.ZodTypeAny, {
|
|
5657
5688
|
x: number;
|
|
5658
5689
|
y: number;
|
|
5659
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5660
5690
|
via?: boolean | undefined;
|
|
5691
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5661
5692
|
}, {
|
|
5662
5693
|
x: string | number;
|
|
5663
5694
|
y: string | number;
|
|
5695
|
+
via?: boolean | undefined;
|
|
5664
5696
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5665
5697
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5666
5698
|
} | undefined;
|
|
5667
|
-
via?: boolean | undefined;
|
|
5668
5699
|
}>]>>;
|
|
5669
5700
|
offsets: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
5670
5701
|
x: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
@@ -5710,49 +5741,47 @@ declare class TraceHint extends PrimitiveComponent<typeof traceHintProps> {
|
|
|
5710
5741
|
}, "strip", zod.ZodTypeAny, {
|
|
5711
5742
|
x: number;
|
|
5712
5743
|
y: number;
|
|
5713
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5714
5744
|
via?: boolean | undefined;
|
|
5745
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5715
5746
|
}, {
|
|
5716
5747
|
x: string | number;
|
|
5717
5748
|
y: string | number;
|
|
5749
|
+
via?: boolean | undefined;
|
|
5718
5750
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5719
5751
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5720
5752
|
} | undefined;
|
|
5721
|
-
via?: boolean | undefined;
|
|
5722
5753
|
}>, "many">]>>;
|
|
5723
5754
|
traceWidth: zod.ZodOptional<zod.ZodNumber>;
|
|
5724
5755
|
}, "strip", zod.ZodTypeAny, {
|
|
5725
|
-
|
|
5726
|
-
order?: number | undefined;
|
|
5727
|
-
offset?: {
|
|
5756
|
+
offsets?: {
|
|
5728
5757
|
x: number;
|
|
5729
5758
|
y: number;
|
|
5730
5759
|
trace_width?: number | undefined;
|
|
5731
5760
|
via?: boolean | undefined;
|
|
5732
5761
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5733
|
-
} | {
|
|
5762
|
+
}[] | {
|
|
5734
5763
|
x: number;
|
|
5735
5764
|
y: number;
|
|
5736
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5737
5765
|
via?: boolean | undefined;
|
|
5738
|
-
|
|
5739
|
-
|
|
5766
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5767
|
+
}[] | undefined;
|
|
5768
|
+
for?: string | undefined;
|
|
5769
|
+
order?: number | undefined;
|
|
5770
|
+
offset?: {
|
|
5740
5771
|
x: number;
|
|
5741
5772
|
y: number;
|
|
5742
5773
|
trace_width?: number | undefined;
|
|
5743
5774
|
via?: boolean | undefined;
|
|
5744
5775
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5745
|
-
}
|
|
5776
|
+
} | {
|
|
5746
5777
|
x: number;
|
|
5747
5778
|
y: number;
|
|
5748
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5749
5779
|
via?: boolean | undefined;
|
|
5750
|
-
|
|
5780
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5781
|
+
} | undefined;
|
|
5751
5782
|
traceWidth?: number | undefined;
|
|
5752
5783
|
}, {
|
|
5753
|
-
|
|
5754
|
-
order?: number | undefined;
|
|
5755
|
-
offset?: {
|
|
5784
|
+
offsets?: {
|
|
5756
5785
|
x: string | number;
|
|
5757
5786
|
y: string | number;
|
|
5758
5787
|
trace_width?: string | number | undefined;
|
|
@@ -5760,15 +5789,17 @@ declare class TraceHint extends PrimitiveComponent<typeof traceHintProps> {
|
|
|
5760
5789
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5761
5790
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5762
5791
|
} | undefined;
|
|
5763
|
-
} | {
|
|
5792
|
+
}[] | {
|
|
5764
5793
|
x: string | number;
|
|
5765
5794
|
y: string | number;
|
|
5795
|
+
via?: boolean | undefined;
|
|
5766
5796
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5767
5797
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5768
5798
|
} | undefined;
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5799
|
+
}[] | undefined;
|
|
5800
|
+
for?: string | undefined;
|
|
5801
|
+
order?: number | undefined;
|
|
5802
|
+
offset?: {
|
|
5772
5803
|
x: string | number;
|
|
5773
5804
|
y: string | number;
|
|
5774
5805
|
trace_width?: string | number | undefined;
|
|
@@ -5776,14 +5807,14 @@ declare class TraceHint extends PrimitiveComponent<typeof traceHintProps> {
|
|
|
5776
5807
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5777
5808
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5778
5809
|
} | undefined;
|
|
5779
|
-
}
|
|
5810
|
+
} | {
|
|
5780
5811
|
x: string | number;
|
|
5781
5812
|
y: string | number;
|
|
5813
|
+
via?: boolean | undefined;
|
|
5782
5814
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5783
5815
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5784
5816
|
} | undefined;
|
|
5785
|
-
|
|
5786
|
-
}[] | undefined;
|
|
5817
|
+
} | undefined;
|
|
5787
5818
|
traceWidth?: number | undefined;
|
|
5788
5819
|
}>;
|
|
5789
5820
|
};
|
|
@@ -5837,36 +5868,36 @@ declare class Via extends PrimitiveComponent<typeof viaProps> {
|
|
|
5837
5868
|
holeDiameter: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
5838
5869
|
outerDiameter: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
5839
5870
|
}>, "strip", zod.ZodTypeAny, {
|
|
5840
|
-
fromLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5841
|
-
toLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5842
5871
|
holeDiameter: number;
|
|
5843
5872
|
outerDiameter: number;
|
|
5873
|
+
fromLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5874
|
+
toLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5844
5875
|
pcbX?: number | undefined;
|
|
5845
5876
|
pcbY?: number | undefined;
|
|
5846
5877
|
pcbRotation?: number | undefined;
|
|
5878
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5847
5879
|
schX?: number | undefined;
|
|
5848
5880
|
schY?: number | undefined;
|
|
5849
5881
|
schRotation?: number | undefined;
|
|
5850
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5851
5882
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
5852
5883
|
}, {
|
|
5884
|
+
holeDiameter: string | number;
|
|
5885
|
+
outerDiameter: string | number;
|
|
5853
5886
|
fromLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5854
5887
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5855
5888
|
};
|
|
5856
5889
|
toLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5857
5890
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5858
5891
|
};
|
|
5859
|
-
holeDiameter: string | number;
|
|
5860
|
-
outerDiameter: string | number;
|
|
5861
5892
|
pcbX?: string | number | undefined;
|
|
5862
5893
|
pcbY?: string | number | undefined;
|
|
5863
5894
|
pcbRotation?: string | number | undefined;
|
|
5864
|
-
schX?: string | number | undefined;
|
|
5865
|
-
schY?: string | number | undefined;
|
|
5866
|
-
schRotation?: string | number | undefined;
|
|
5867
5895
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5868
5896
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5869
5897
|
} | undefined;
|
|
5898
|
+
schX?: string | number | undefined;
|
|
5899
|
+
schY?: string | number | undefined;
|
|
5900
|
+
schRotation?: string | number | undefined;
|
|
5870
5901
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
5871
5902
|
}>;
|
|
5872
5903
|
};
|
|
@@ -6163,10 +6194,10 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
|
|
|
6163
6194
|
pcbX?: number | undefined;
|
|
6164
6195
|
pcbY?: number | undefined;
|
|
6165
6196
|
pcbRotation?: number | undefined;
|
|
6197
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6166
6198
|
schX?: number | undefined;
|
|
6167
6199
|
schY?: number | undefined;
|
|
6168
6200
|
schRotation?: number | undefined;
|
|
6169
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6170
6201
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
6171
6202
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6172
6203
|
key?: any;
|
|
@@ -6231,12 +6262,12 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
|
|
|
6231
6262
|
pcbX?: string | number | undefined;
|
|
6232
6263
|
pcbY?: string | number | undefined;
|
|
6233
6264
|
pcbRotation?: string | number | undefined;
|
|
6234
|
-
schX?: string | number | undefined;
|
|
6235
|
-
schY?: string | number | undefined;
|
|
6236
|
-
schRotation?: string | number | undefined;
|
|
6237
6265
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6238
6266
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6239
6267
|
} | undefined;
|
|
6268
|
+
schX?: string | number | undefined;
|
|
6269
|
+
schY?: string | number | undefined;
|
|
6270
|
+
schRotation?: string | number | undefined;
|
|
6240
6271
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
6241
6272
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6242
6273
|
key?: any;
|
|
@@ -6579,10 +6610,10 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
6579
6610
|
pcbX?: number | undefined;
|
|
6580
6611
|
pcbY?: number | undefined;
|
|
6581
6612
|
pcbRotation?: number | undefined;
|
|
6613
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6582
6614
|
schX?: number | undefined;
|
|
6583
6615
|
schY?: number | undefined;
|
|
6584
6616
|
schRotation?: number | undefined;
|
|
6585
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6586
6617
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
6587
6618
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6588
6619
|
key?: any;
|
|
@@ -6641,8 +6672,8 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
6641
6672
|
} | undefined;
|
|
6642
6673
|
children?: any;
|
|
6643
6674
|
symbolName?: string | undefined;
|
|
6644
|
-
holeDiameter?: number | undefined;
|
|
6645
6675
|
pinLabels?: string[] | undefined;
|
|
6676
|
+
holeDiameter?: number | undefined;
|
|
6646
6677
|
pitch?: number | undefined;
|
|
6647
6678
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
6648
6679
|
doubleRow?: boolean | undefined;
|
|
@@ -6654,12 +6685,12 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
6654
6685
|
pcbX?: string | number | undefined;
|
|
6655
6686
|
pcbY?: string | number | undefined;
|
|
6656
6687
|
pcbRotation?: string | number | undefined;
|
|
6657
|
-
schX?: string | number | undefined;
|
|
6658
|
-
schY?: string | number | undefined;
|
|
6659
|
-
schRotation?: string | number | undefined;
|
|
6660
6688
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6661
6689
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6662
6690
|
} | undefined;
|
|
6691
|
+
schX?: string | number | undefined;
|
|
6692
|
+
schY?: string | number | undefined;
|
|
6693
|
+
schRotation?: string | number | undefined;
|
|
6663
6694
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
6664
6695
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6665
6696
|
key?: any;
|
|
@@ -6718,8 +6749,8 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
6718
6749
|
} | undefined;
|
|
6719
6750
|
children?: any;
|
|
6720
6751
|
symbolName?: string | undefined;
|
|
6721
|
-
holeDiameter?: string | number | undefined;
|
|
6722
6752
|
pinLabels?: string[] | undefined;
|
|
6753
|
+
holeDiameter?: string | number | undefined;
|
|
6723
6754
|
pitch?: string | number | undefined;
|
|
6724
6755
|
gender?: "male" | "female" | undefined;
|
|
6725
6756
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
@@ -7006,10 +7037,10 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
|
|
|
7006
7037
|
pcbX?: number | undefined;
|
|
7007
7038
|
pcbY?: number | undefined;
|
|
7008
7039
|
pcbRotation?: number | undefined;
|
|
7040
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7009
7041
|
schX?: number | undefined;
|
|
7010
7042
|
schY?: number | undefined;
|
|
7011
7043
|
schRotation?: number | undefined;
|
|
7012
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7013
7044
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7014
7045
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7015
7046
|
key?: any;
|
|
@@ -7076,12 +7107,12 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
|
|
|
7076
7107
|
pcbX?: string | number | undefined;
|
|
7077
7108
|
pcbY?: string | number | undefined;
|
|
7078
7109
|
pcbRotation?: string | number | undefined;
|
|
7079
|
-
schX?: string | number | undefined;
|
|
7080
|
-
schY?: string | number | undefined;
|
|
7081
|
-
schRotation?: string | number | undefined;
|
|
7082
7110
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7083
7111
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7084
7112
|
} | undefined;
|
|
7113
|
+
schX?: string | number | undefined;
|
|
7114
|
+
schY?: string | number | undefined;
|
|
7115
|
+
schRotation?: string | number | undefined;
|
|
7085
7116
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7086
7117
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7087
7118
|
key?: any;
|
|
@@ -7415,10 +7446,10 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
7415
7446
|
pcbX?: number | undefined;
|
|
7416
7447
|
pcbY?: number | undefined;
|
|
7417
7448
|
pcbRotation?: number | undefined;
|
|
7449
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7418
7450
|
schX?: number | undefined;
|
|
7419
7451
|
schY?: number | undefined;
|
|
7420
7452
|
schRotation?: number | undefined;
|
|
7421
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7422
7453
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7423
7454
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7424
7455
|
key?: any;
|
|
@@ -7483,12 +7514,12 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
7483
7514
|
pcbX?: string | number | undefined;
|
|
7484
7515
|
pcbY?: string | number | undefined;
|
|
7485
7516
|
pcbRotation?: string | number | undefined;
|
|
7486
|
-
schX?: string | number | undefined;
|
|
7487
|
-
schY?: string | number | undefined;
|
|
7488
|
-
schRotation?: string | number | undefined;
|
|
7489
7517
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7490
7518
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7491
7519
|
} | undefined;
|
|
7520
|
+
schX?: string | number | undefined;
|
|
7521
|
+
schY?: string | number | undefined;
|
|
7522
|
+
schRotation?: string | number | undefined;
|
|
7492
7523
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7493
7524
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7494
7525
|
key?: any;
|
|
@@ -7822,10 +7853,10 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps, P
|
|
|
7822
7853
|
pcbX?: number | undefined;
|
|
7823
7854
|
pcbY?: number | undefined;
|
|
7824
7855
|
pcbRotation?: number | undefined;
|
|
7856
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7825
7857
|
schX?: number | undefined;
|
|
7826
7858
|
schY?: number | undefined;
|
|
7827
7859
|
schRotation?: number | undefined;
|
|
7828
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7829
7860
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7830
7861
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7831
7862
|
key?: any;
|
|
@@ -7890,12 +7921,12 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps, P
|
|
|
7890
7921
|
pcbX?: string | number | undefined;
|
|
7891
7922
|
pcbY?: string | number | undefined;
|
|
7892
7923
|
pcbRotation?: string | number | undefined;
|
|
7893
|
-
schX?: string | number | undefined;
|
|
7894
|
-
schY?: string | number | undefined;
|
|
7895
|
-
schRotation?: string | number | undefined;
|
|
7896
7924
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7897
7925
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7898
7926
|
} | undefined;
|
|
7927
|
+
schX?: string | number | undefined;
|
|
7928
|
+
schY?: string | number | undefined;
|
|
7929
|
+
schRotation?: string | number | undefined;
|
|
7899
7930
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7900
7931
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7901
7932
|
key?: any;
|
|
@@ -8227,10 +8258,10 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
8227
8258
|
pcbX?: number | undefined;
|
|
8228
8259
|
pcbY?: number | undefined;
|
|
8229
8260
|
pcbRotation?: number | undefined;
|
|
8261
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8230
8262
|
schX?: number | undefined;
|
|
8231
8263
|
schY?: number | undefined;
|
|
8232
8264
|
schRotation?: number | undefined;
|
|
8233
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8234
8265
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
8235
8266
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8236
8267
|
key?: any;
|
|
@@ -8294,12 +8325,12 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
8294
8325
|
pcbX?: string | number | undefined;
|
|
8295
8326
|
pcbY?: string | number | undefined;
|
|
8296
8327
|
pcbRotation?: string | number | undefined;
|
|
8297
|
-
schX?: string | number | undefined;
|
|
8298
|
-
schY?: string | number | undefined;
|
|
8299
|
-
schRotation?: string | number | undefined;
|
|
8300
8328
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8301
8329
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8302
8330
|
} | undefined;
|
|
8331
|
+
schX?: string | number | undefined;
|
|
8332
|
+
schY?: string | number | undefined;
|
|
8333
|
+
schRotation?: string | number | undefined;
|
|
8303
8334
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
8304
8335
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8305
8336
|
key?: any;
|
|
@@ -8361,6 +8392,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
8361
8392
|
}>;
|
|
8362
8393
|
sourceFtype: "simple_push_button";
|
|
8363
8394
|
};
|
|
8395
|
+
get defaultInternallyConnectedPortNames(): string[][];
|
|
8364
8396
|
initPorts(): void;
|
|
8365
8397
|
doInitialSourceRender(): void;
|
|
8366
8398
|
}
|
|
@@ -8636,10 +8668,10 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
8636
8668
|
pcbX?: number | undefined;
|
|
8637
8669
|
pcbY?: number | undefined;
|
|
8638
8670
|
pcbRotation?: number | undefined;
|
|
8671
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8639
8672
|
schX?: number | undefined;
|
|
8640
8673
|
schY?: number | undefined;
|
|
8641
8674
|
schRotation?: number | undefined;
|
|
8642
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8643
8675
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
8644
8676
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8645
8677
|
key?: any;
|
|
@@ -8706,12 +8738,12 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
8706
8738
|
pcbX?: string | number | undefined;
|
|
8707
8739
|
pcbY?: string | number | undefined;
|
|
8708
8740
|
pcbRotation?: string | number | undefined;
|
|
8709
|
-
schX?: string | number | undefined;
|
|
8710
|
-
schY?: string | number | undefined;
|
|
8711
|
-
schRotation?: string | number | undefined;
|
|
8712
8741
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8713
8742
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8714
8743
|
} | undefined;
|
|
8744
|
+
schX?: string | number | undefined;
|
|
8745
|
+
schY?: string | number | undefined;
|
|
8746
|
+
schRotation?: string | number | undefined;
|
|
8715
8747
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
8716
8748
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8717
8749
|
key?: any;
|
|
@@ -9047,10 +9079,10 @@ declare class Transistor extends NormalComponent<typeof transistorProps> {
|
|
|
9047
9079
|
pcbX?: number | undefined;
|
|
9048
9080
|
pcbY?: number | undefined;
|
|
9049
9081
|
pcbRotation?: number | undefined;
|
|
9082
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9050
9083
|
schX?: number | undefined;
|
|
9051
9084
|
schY?: number | undefined;
|
|
9052
9085
|
schRotation?: number | undefined;
|
|
9053
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9054
9086
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9055
9087
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9056
9088
|
key?: any;
|
|
@@ -9115,12 +9147,12 @@ declare class Transistor extends NormalComponent<typeof transistorProps> {
|
|
|
9115
9147
|
pcbX?: string | number | undefined;
|
|
9116
9148
|
pcbY?: string | number | undefined;
|
|
9117
9149
|
pcbRotation?: string | number | undefined;
|
|
9118
|
-
schX?: string | number | undefined;
|
|
9119
|
-
schY?: string | number | undefined;
|
|
9120
|
-
schRotation?: string | number | undefined;
|
|
9121
9150
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9122
9151
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9123
9152
|
} | undefined;
|
|
9153
|
+
schX?: string | number | undefined;
|
|
9154
|
+
schY?: string | number | undefined;
|
|
9155
|
+
schRotation?: string | number | undefined;
|
|
9124
9156
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9125
9157
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9126
9158
|
key?: any;
|
|
@@ -9455,10 +9487,10 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
|
|
|
9455
9487
|
pcbX?: number | undefined;
|
|
9456
9488
|
pcbY?: number | undefined;
|
|
9457
9489
|
pcbRotation?: number | undefined;
|
|
9490
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9458
9491
|
schX?: number | undefined;
|
|
9459
9492
|
schY?: number | undefined;
|
|
9460
9493
|
schRotation?: number | undefined;
|
|
9461
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9462
9494
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9463
9495
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9464
9496
|
key?: any;
|
|
@@ -9524,12 +9556,12 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
|
|
|
9524
9556
|
pcbX?: string | number | undefined;
|
|
9525
9557
|
pcbY?: string | number | undefined;
|
|
9526
9558
|
pcbRotation?: string | number | undefined;
|
|
9527
|
-
schX?: string | number | undefined;
|
|
9528
|
-
schY?: string | number | undefined;
|
|
9529
|
-
schRotation?: string | number | undefined;
|
|
9530
9559
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9531
9560
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9532
9561
|
} | undefined;
|
|
9562
|
+
schX?: string | number | undefined;
|
|
9563
|
+
schY?: string | number | undefined;
|
|
9564
|
+
schRotation?: string | number | undefined;
|
|
9533
9565
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9534
9566
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9535
9567
|
key?: any;
|
|
@@ -9620,12 +9652,12 @@ declare const useDiode: <PropsFromHook extends Omit<{
|
|
|
9620
9652
|
pcbX?: string | number | undefined;
|
|
9621
9653
|
pcbY?: string | number | undefined;
|
|
9622
9654
|
pcbRotation?: string | number | undefined;
|
|
9623
|
-
schX?: string | number | undefined;
|
|
9624
|
-
schY?: string | number | undefined;
|
|
9625
|
-
schRotation?: string | number | undefined;
|
|
9626
9655
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9627
9656
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9628
9657
|
} | undefined;
|
|
9658
|
+
schX?: string | number | undefined;
|
|
9659
|
+
schY?: string | number | undefined;
|
|
9660
|
+
schRotation?: string | number | undefined;
|
|
9629
9661
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9630
9662
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9631
9663
|
key?: any;
|
|
@@ -9689,12 +9721,12 @@ declare const useDiode: <PropsFromHook extends Omit<{
|
|
|
9689
9721
|
pcbX?: string | number | undefined;
|
|
9690
9722
|
pcbY?: string | number | undefined;
|
|
9691
9723
|
pcbRotation?: string | number | undefined;
|
|
9692
|
-
schX?: string | number | undefined;
|
|
9693
|
-
schY?: string | number | undefined;
|
|
9694
|
-
schRotation?: string | number | undefined;
|
|
9695
9724
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9696
9725
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9697
9726
|
} | undefined;
|
|
9727
|
+
schX?: string | number | undefined;
|
|
9728
|
+
schY?: string | number | undefined;
|
|
9729
|
+
schRotation?: string | number | undefined;
|
|
9698
9730
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9699
9731
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9700
9732
|
key?: any;
|
|
@@ -9760,12 +9792,12 @@ declare const useLed: <PropsFromHook extends Omit<{
|
|
|
9760
9792
|
pcbX?: string | number | undefined;
|
|
9761
9793
|
pcbY?: string | number | undefined;
|
|
9762
9794
|
pcbRotation?: string | number | undefined;
|
|
9763
|
-
schX?: string | number | undefined;
|
|
9764
|
-
schY?: string | number | undefined;
|
|
9765
|
-
schRotation?: string | number | undefined;
|
|
9766
9795
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9767
9796
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9768
9797
|
} | undefined;
|
|
9798
|
+
schX?: string | number | undefined;
|
|
9799
|
+
schY?: string | number | undefined;
|
|
9800
|
+
schRotation?: string | number | undefined;
|
|
9769
9801
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9770
9802
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9771
9803
|
key?: any;
|
|
@@ -9830,12 +9862,12 @@ declare const useLed: <PropsFromHook extends Omit<{
|
|
|
9830
9862
|
pcbX?: string | number | undefined;
|
|
9831
9863
|
pcbY?: string | number | undefined;
|
|
9832
9864
|
pcbRotation?: string | number | undefined;
|
|
9833
|
-
schX?: string | number | undefined;
|
|
9834
|
-
schY?: string | number | undefined;
|
|
9835
|
-
schRotation?: string | number | undefined;
|
|
9836
9865
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9837
9866
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9838
9867
|
} | undefined;
|
|
9868
|
+
schX?: string | number | undefined;
|
|
9869
|
+
schY?: string | number | undefined;
|
|
9870
|
+
schRotation?: string | number | undefined;
|
|
9839
9871
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9840
9872
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9841
9873
|
key?: any;
|