@tscircuit/core 0.0.280 → 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 +247 -213
- package/dist/index.js +123 -63
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { Matrix } from 'transformation-matrix';
|
|
|
10
10
|
import { SoupUtilObjects } from '@tscircuit/soup-util';
|
|
11
11
|
import * as _tscircuit_layout from '@tscircuit/layout';
|
|
12
12
|
|
|
13
|
-
declare const orderedRenderPhases: readonly ["ReactSubtreesRender", "InitializePortsFromChildren", "CreateNetsFromProps", "CreateTracesFromProps", "CreateTraceHintsFromProps", "SourceRender", "SourceParentAttachment", "
|
|
13
|
+
declare const orderedRenderPhases: readonly ["ReactSubtreesRender", "InitializePortsFromChildren", "CreateNetsFromProps", "CreateTracesFromProps", "CreateTraceHintsFromProps", "SourceRender", "SourceParentAttachment", "PortMatching", "SourceTraceRender", "SourceAddConnectivityMapKey", "SchematicComponentRender", "SchematicPortRender", "SchematicLayout", "SchematicTraceRender", "PcbComponentRender", "PcbPrimitiveRender", "PcbFootprintLayout", "PcbPortRender", "PcbPortAttachment", "PcbLayout", "PcbComponentSizeCalculation", "PcbTraceRender", "PcbTraceHintRender", "PcbRouteNetIslands", "CadModelRender", "PartsEngineRender"];
|
|
14
14
|
type RenderPhase = (typeof orderedRenderPhases)[number];
|
|
15
15
|
type RenderPhaseFn<K extends RenderPhase = RenderPhase> = `doInitial${K}` | `update${K}` | `remove${K}`;
|
|
16
16
|
type RenderPhaseStates = Record<RenderPhase, {
|
|
@@ -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.
|
|
@@ -808,6 +832,7 @@ declare class NormalComponent<ZodProps extends ZodType = any, PortNames extends
|
|
|
808
832
|
*/
|
|
809
833
|
initPorts(opts?: {
|
|
810
834
|
additionalAliases?: Record<`pin${number}`, string[]>;
|
|
835
|
+
pinCount?: number;
|
|
811
836
|
}): void;
|
|
812
837
|
_getImpliedFootprintString(): string | null;
|
|
813
838
|
_addChildrenFromStringFootprint(): void;
|
|
@@ -823,6 +848,7 @@ declare class NormalComponent<ZodProps extends ZodType = any, PortNames extends
|
|
|
823
848
|
*/
|
|
824
849
|
doInitialSchematicComponentRender(): void;
|
|
825
850
|
_getSchematicSymbolDisplayValue(): string | undefined;
|
|
851
|
+
_getInternallyConnectedPorts(): Port[][];
|
|
826
852
|
_doInitialSchematicComponentRenderWithSymbol(): void;
|
|
827
853
|
_doInitialSchematicComponentRenderWithSchematicBoxDimensions(): void;
|
|
828
854
|
doInitialPcbComponentRender(): void;
|
|
@@ -836,19 +862,11 @@ declare class NormalComponent<ZodProps extends ZodType = any, PortNames extends
|
|
|
836
862
|
doInitialReactSubtreesRender(): void;
|
|
837
863
|
_hasExistingPortExactly(port1: Port): boolean;
|
|
838
864
|
add(componentOrElm: PrimitiveComponent | ReactElement): void;
|
|
839
|
-
getPortsFromFootprint(
|
|
865
|
+
getPortsFromFootprint(opts?: {
|
|
866
|
+
additionalAliases?: Record<string, string[]>;
|
|
867
|
+
}): Port[];
|
|
840
868
|
getPortsFromSchematicSymbol(): Port[];
|
|
841
869
|
_createNetsFromProps(propsWithConnections: (string | undefined | null)[]): void;
|
|
842
|
-
/**
|
|
843
|
-
* Use data from our props to create ports for this component.
|
|
844
|
-
*
|
|
845
|
-
* Generally, this is done by looking at the schematic and the footprint,
|
|
846
|
-
* reading the pins, making sure there aren't duplicates.
|
|
847
|
-
*
|
|
848
|
-
* Can probably be removed in favor of initPorts()
|
|
849
|
-
*
|
|
850
|
-
*/
|
|
851
|
-
doInitialPortDiscovery(): void;
|
|
852
870
|
_getPcbCircuitJsonBounds(): {
|
|
853
871
|
center: {
|
|
854
872
|
x: number;
|
|
@@ -863,6 +881,7 @@ declare class NormalComponent<ZodProps extends ZodType = any, PortNames extends
|
|
|
863
881
|
width: number;
|
|
864
882
|
height: number;
|
|
865
883
|
};
|
|
884
|
+
_getPinCountFromSchematicPortArrangement(): number;
|
|
866
885
|
_getPinCount(): number;
|
|
867
886
|
/**
|
|
868
887
|
* Override the schematic port arrangement if you want to customize where pins
|
|
@@ -1007,18 +1026,18 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1007
1026
|
y: string | number;
|
|
1008
1027
|
}>;
|
|
1009
1028
|
}, "strip", z.ZodTypeAny, {
|
|
1029
|
+
selector: string;
|
|
1030
|
+
relative_to: string;
|
|
1010
1031
|
center: {
|
|
1011
1032
|
x: number;
|
|
1012
1033
|
y: number;
|
|
1013
1034
|
};
|
|
1014
|
-
selector: string;
|
|
1015
|
-
relative_to: string;
|
|
1016
1035
|
}, {
|
|
1036
|
+
selector: string;
|
|
1017
1037
|
center: {
|
|
1018
1038
|
x: string | number;
|
|
1019
1039
|
y: string | number;
|
|
1020
1040
|
};
|
|
1021
|
-
selector: string;
|
|
1022
1041
|
relative_to?: string | undefined;
|
|
1023
1042
|
}>, "many">>;
|
|
1024
1043
|
manual_trace_hints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1053,6 +1072,7 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1053
1072
|
} | undefined;
|
|
1054
1073
|
}>, "many">;
|
|
1055
1074
|
}, "strip", z.ZodTypeAny, {
|
|
1075
|
+
pcb_port_selector: string;
|
|
1056
1076
|
offsets: {
|
|
1057
1077
|
x: number;
|
|
1058
1078
|
y: number;
|
|
@@ -1060,8 +1080,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1060
1080
|
via?: boolean | undefined;
|
|
1061
1081
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1062
1082
|
}[];
|
|
1063
|
-
pcb_port_selector: string;
|
|
1064
1083
|
}, {
|
|
1084
|
+
pcb_port_selector: string;
|
|
1065
1085
|
offsets: {
|
|
1066
1086
|
x: string | number;
|
|
1067
1087
|
y: string | number;
|
|
@@ -1071,7 +1091,6 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1071
1091
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1072
1092
|
} | undefined;
|
|
1073
1093
|
}[];
|
|
1074
|
-
pcb_port_selector: string;
|
|
1075
1094
|
}>, "many">>;
|
|
1076
1095
|
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1077
1096
|
selector: z.ZodString;
|
|
@@ -1087,30 +1106,31 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1087
1106
|
y: string | number;
|
|
1088
1107
|
}>;
|
|
1089
1108
|
}, "strip", z.ZodTypeAny, {
|
|
1109
|
+
selector: string;
|
|
1110
|
+
relative_to: string;
|
|
1090
1111
|
center: {
|
|
1091
1112
|
x: number;
|
|
1092
1113
|
y: number;
|
|
1093
1114
|
};
|
|
1094
|
-
selector: string;
|
|
1095
|
-
relative_to: string;
|
|
1096
1115
|
}, {
|
|
1116
|
+
selector: string;
|
|
1097
1117
|
center: {
|
|
1098
1118
|
x: string | number;
|
|
1099
1119
|
y: string | number;
|
|
1100
1120
|
};
|
|
1101
|
-
selector: string;
|
|
1102
1121
|
relative_to?: string | undefined;
|
|
1103
1122
|
}>, "many">>;
|
|
1104
1123
|
}, "strip", z.ZodTypeAny, {
|
|
1105
1124
|
pcb_placements?: {
|
|
1125
|
+
selector: string;
|
|
1126
|
+
relative_to: string;
|
|
1106
1127
|
center: {
|
|
1107
1128
|
x: number;
|
|
1108
1129
|
y: number;
|
|
1109
1130
|
};
|
|
1110
|
-
selector: string;
|
|
1111
|
-
relative_to: string;
|
|
1112
1131
|
}[] | undefined;
|
|
1113
1132
|
manual_trace_hints?: {
|
|
1133
|
+
pcb_port_selector: string;
|
|
1114
1134
|
offsets: {
|
|
1115
1135
|
x: number;
|
|
1116
1136
|
y: number;
|
|
@@ -1118,26 +1138,26 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1118
1138
|
via?: boolean | undefined;
|
|
1119
1139
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1120
1140
|
}[];
|
|
1121
|
-
pcb_port_selector: string;
|
|
1122
1141
|
}[] | undefined;
|
|
1123
1142
|
schematic_placements?: {
|
|
1143
|
+
selector: string;
|
|
1144
|
+
relative_to: string;
|
|
1124
1145
|
center: {
|
|
1125
1146
|
x: number;
|
|
1126
1147
|
y: number;
|
|
1127
1148
|
};
|
|
1128
|
-
selector: string;
|
|
1129
|
-
relative_to: string;
|
|
1130
1149
|
}[] | undefined;
|
|
1131
1150
|
}, {
|
|
1132
1151
|
pcb_placements?: {
|
|
1152
|
+
selector: string;
|
|
1133
1153
|
center: {
|
|
1134
1154
|
x: string | number;
|
|
1135
1155
|
y: string | number;
|
|
1136
1156
|
};
|
|
1137
|
-
selector: string;
|
|
1138
1157
|
relative_to?: string | undefined;
|
|
1139
1158
|
}[] | undefined;
|
|
1140
1159
|
manual_trace_hints?: {
|
|
1160
|
+
pcb_port_selector: string;
|
|
1141
1161
|
offsets: {
|
|
1142
1162
|
x: string | number;
|
|
1143
1163
|
y: string | number;
|
|
@@ -1147,14 +1167,13 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1147
1167
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1148
1168
|
} | undefined;
|
|
1149
1169
|
}[];
|
|
1150
|
-
pcb_port_selector: string;
|
|
1151
1170
|
}[] | undefined;
|
|
1152
1171
|
schematic_placements?: {
|
|
1172
|
+
selector: string;
|
|
1153
1173
|
center: {
|
|
1154
1174
|
x: string | number;
|
|
1155
1175
|
y: string | number;
|
|
1156
1176
|
};
|
|
1157
|
-
selector: string;
|
|
1158
1177
|
relative_to?: string | undefined;
|
|
1159
1178
|
}[] | undefined;
|
|
1160
1179
|
}>>;
|
|
@@ -1200,27 +1219,26 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1200
1219
|
pcbX?: number | undefined;
|
|
1201
1220
|
pcbY?: number | undefined;
|
|
1202
1221
|
pcbRotation?: number | undefined;
|
|
1222
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1203
1223
|
schX?: number | undefined;
|
|
1204
1224
|
schY?: number | undefined;
|
|
1205
1225
|
schRotation?: number | undefined;
|
|
1206
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1207
1226
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
1208
1227
|
key?: any;
|
|
1209
1228
|
name?: string | undefined;
|
|
1210
1229
|
children?: any;
|
|
1211
|
-
width?: number | undefined;
|
|
1212
|
-
height?: number | undefined;
|
|
1213
1230
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
1214
1231
|
manualEdits?: {
|
|
1215
1232
|
pcb_placements?: {
|
|
1233
|
+
selector: string;
|
|
1234
|
+
relative_to: string;
|
|
1216
1235
|
center: {
|
|
1217
1236
|
x: number;
|
|
1218
1237
|
y: number;
|
|
1219
1238
|
};
|
|
1220
|
-
selector: string;
|
|
1221
|
-
relative_to: string;
|
|
1222
1239
|
}[] | undefined;
|
|
1223
1240
|
manual_trace_hints?: {
|
|
1241
|
+
pcb_port_selector: string;
|
|
1224
1242
|
offsets: {
|
|
1225
1243
|
x: number;
|
|
1226
1244
|
y: number;
|
|
@@ -1228,15 +1246,14 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1228
1246
|
via?: boolean | undefined;
|
|
1229
1247
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1230
1248
|
}[];
|
|
1231
|
-
pcb_port_selector: string;
|
|
1232
1249
|
}[] | undefined;
|
|
1233
1250
|
schematic_placements?: {
|
|
1251
|
+
selector: string;
|
|
1252
|
+
relative_to: string;
|
|
1234
1253
|
center: {
|
|
1235
1254
|
x: number;
|
|
1236
1255
|
y: number;
|
|
1237
1256
|
};
|
|
1238
|
-
selector: string;
|
|
1239
|
-
relative_to: string;
|
|
1240
1257
|
}[] | undefined;
|
|
1241
1258
|
} | undefined;
|
|
1242
1259
|
routingDisabled?: boolean | undefined;
|
|
@@ -1252,6 +1269,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1252
1269
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
1253
1270
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
1254
1271
|
partsEngine?: _tscircuit_props.PartsEngine | undefined;
|
|
1272
|
+
width?: number | undefined;
|
|
1273
|
+
height?: number | undefined;
|
|
1255
1274
|
outline?: {
|
|
1256
1275
|
x: number;
|
|
1257
1276
|
y: number;
|
|
@@ -1262,29 +1281,28 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1262
1281
|
pcbX?: string | number | undefined;
|
|
1263
1282
|
pcbY?: string | number | undefined;
|
|
1264
1283
|
pcbRotation?: string | number | undefined;
|
|
1265
|
-
schX?: string | number | undefined;
|
|
1266
|
-
schY?: string | number | undefined;
|
|
1267
|
-
schRotation?: string | number | undefined;
|
|
1268
1284
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1269
1285
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1270
1286
|
} | undefined;
|
|
1287
|
+
schX?: string | number | undefined;
|
|
1288
|
+
schY?: string | number | undefined;
|
|
1289
|
+
schRotation?: string | number | undefined;
|
|
1271
1290
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
1272
1291
|
key?: any;
|
|
1273
1292
|
name?: string | undefined;
|
|
1274
1293
|
children?: any;
|
|
1275
|
-
width?: string | number | undefined;
|
|
1276
|
-
height?: string | number | undefined;
|
|
1277
1294
|
layout?: _tscircuit_layout.LayoutBuilder | undefined;
|
|
1278
1295
|
manualEdits?: {
|
|
1279
1296
|
pcb_placements?: {
|
|
1297
|
+
selector: string;
|
|
1280
1298
|
center: {
|
|
1281
1299
|
x: string | number;
|
|
1282
1300
|
y: string | number;
|
|
1283
1301
|
};
|
|
1284
|
-
selector: string;
|
|
1285
1302
|
relative_to?: string | undefined;
|
|
1286
1303
|
}[] | undefined;
|
|
1287
1304
|
manual_trace_hints?: {
|
|
1305
|
+
pcb_port_selector: string;
|
|
1288
1306
|
offsets: {
|
|
1289
1307
|
x: string | number;
|
|
1290
1308
|
y: string | number;
|
|
@@ -1294,14 +1312,13 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1294
1312
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1295
1313
|
} | undefined;
|
|
1296
1314
|
}[];
|
|
1297
|
-
pcb_port_selector: string;
|
|
1298
1315
|
}[] | undefined;
|
|
1299
1316
|
schematic_placements?: {
|
|
1317
|
+
selector: string;
|
|
1300
1318
|
center: {
|
|
1301
1319
|
x: string | number;
|
|
1302
1320
|
y: string | number;
|
|
1303
1321
|
};
|
|
1304
|
-
selector: string;
|
|
1305
1322
|
relative_to?: string | undefined;
|
|
1306
1323
|
}[] | undefined;
|
|
1307
1324
|
} | undefined;
|
|
@@ -1318,6 +1335,8 @@ declare class Board extends Group<typeof boardProps> {
|
|
|
1318
1335
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
1319
1336
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
1320
1337
|
partsEngine?: _tscircuit_props.PartsEngine | undefined;
|
|
1338
|
+
width?: string | number | undefined;
|
|
1339
|
+
height?: string | number | undefined;
|
|
1321
1340
|
outline?: {
|
|
1322
1341
|
x: string | number;
|
|
1323
1342
|
y: string | number;
|
|
@@ -1616,10 +1635,10 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, PassivePo
|
|
|
1616
1635
|
pcbX?: number | undefined;
|
|
1617
1636
|
pcbY?: number | undefined;
|
|
1618
1637
|
pcbRotation?: number | undefined;
|
|
1638
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1619
1639
|
schX?: number | undefined;
|
|
1620
1640
|
schY?: number | undefined;
|
|
1621
1641
|
schRotation?: number | undefined;
|
|
1622
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
1623
1642
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
1624
1643
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1625
1644
|
key?: any;
|
|
@@ -1689,12 +1708,12 @@ declare class Capacitor extends NormalComponent<typeof capacitorProps, PassivePo
|
|
|
1689
1708
|
pcbX?: string | number | undefined;
|
|
1690
1709
|
pcbY?: string | number | undefined;
|
|
1691
1710
|
pcbRotation?: string | number | undefined;
|
|
1692
|
-
schX?: string | number | undefined;
|
|
1693
|
-
schY?: string | number | undefined;
|
|
1694
|
-
schRotation?: string | number | undefined;
|
|
1695
1711
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1696
1712
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1697
1713
|
} | undefined;
|
|
1714
|
+
schX?: string | number | undefined;
|
|
1715
|
+
schY?: string | number | undefined;
|
|
1716
|
+
schRotation?: string | number | undefined;
|
|
1698
1717
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
1699
1718
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
1700
1719
|
key?: any;
|
|
@@ -2032,6 +2051,8 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2032
2051
|
}>, {
|
|
2033
2052
|
manufacturerPartNumber: zod.ZodOptional<zod.ZodString>;
|
|
2034
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">>;
|
|
2035
2056
|
schPortArrangement: zod.ZodOptional<zod.ZodObject<{
|
|
2036
2057
|
leftSize: zod.ZodOptional<zod.ZodNumber>;
|
|
2037
2058
|
topSize: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -2045,41 +2066,41 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2045
2066
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
2046
2067
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
2047
2068
|
}, "strip", zod.ZodTypeAny, {
|
|
2048
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2049
2069
|
pins: (string | number)[];
|
|
2050
|
-
}, {
|
|
2051
2070
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2071
|
+
}, {
|
|
2052
2072
|
pins: (string | number)[];
|
|
2073
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2053
2074
|
}>>;
|
|
2054
2075
|
rightSide: zod.ZodOptional<zod.ZodObject<{
|
|
2055
2076
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
2056
2077
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
2057
2078
|
}, "strip", zod.ZodTypeAny, {
|
|
2058
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2059
2079
|
pins: (string | number)[];
|
|
2060
|
-
}, {
|
|
2061
2080
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2081
|
+
}, {
|
|
2062
2082
|
pins: (string | number)[];
|
|
2083
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2063
2084
|
}>>;
|
|
2064
2085
|
topSide: zod.ZodOptional<zod.ZodObject<{
|
|
2065
2086
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
2066
2087
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
2067
2088
|
}, "strip", zod.ZodTypeAny, {
|
|
2068
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2069
2089
|
pins: (string | number)[];
|
|
2070
|
-
}, {
|
|
2071
2090
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2091
|
+
}, {
|
|
2072
2092
|
pins: (string | number)[];
|
|
2093
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2073
2094
|
}>>;
|
|
2074
2095
|
bottomSide: zod.ZodOptional<zod.ZodObject<{
|
|
2075
2096
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
2076
2097
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
2077
2098
|
}, "strip", zod.ZodTypeAny, {
|
|
2078
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2079
2099
|
pins: (string | number)[];
|
|
2080
|
-
}, {
|
|
2081
2100
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2101
|
+
}, {
|
|
2082
2102
|
pins: (string | number)[];
|
|
2103
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2083
2104
|
}>>;
|
|
2084
2105
|
}, "strip", zod.ZodTypeAny, {
|
|
2085
2106
|
leftSize?: number | undefined;
|
|
@@ -2087,20 +2108,20 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2087
2108
|
rightSize?: number | undefined;
|
|
2088
2109
|
bottomSize?: number | undefined;
|
|
2089
2110
|
leftSide?: {
|
|
2090
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2091
2111
|
pins: (string | number)[];
|
|
2112
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2092
2113
|
} | undefined;
|
|
2093
2114
|
topSide?: {
|
|
2094
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2095
2115
|
pins: (string | number)[];
|
|
2116
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2096
2117
|
} | undefined;
|
|
2097
2118
|
rightSide?: {
|
|
2098
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2099
2119
|
pins: (string | number)[];
|
|
2120
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2100
2121
|
} | undefined;
|
|
2101
2122
|
bottomSide?: {
|
|
2102
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2103
2123
|
pins: (string | number)[];
|
|
2124
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2104
2125
|
} | undefined;
|
|
2105
2126
|
leftPinCount?: number | undefined;
|
|
2106
2127
|
rightPinCount?: number | undefined;
|
|
@@ -2112,20 +2133,20 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2112
2133
|
rightSize?: number | undefined;
|
|
2113
2134
|
bottomSize?: number | undefined;
|
|
2114
2135
|
leftSide?: {
|
|
2115
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2116
2136
|
pins: (string | number)[];
|
|
2137
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2117
2138
|
} | undefined;
|
|
2118
2139
|
topSide?: {
|
|
2119
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2120
2140
|
pins: (string | number)[];
|
|
2141
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2121
2142
|
} | undefined;
|
|
2122
2143
|
rightSide?: {
|
|
2123
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2124
2144
|
pins: (string | number)[];
|
|
2145
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2125
2146
|
} | undefined;
|
|
2126
2147
|
bottomSide?: {
|
|
2127
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2128
2148
|
pins: (string | number)[];
|
|
2149
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2129
2150
|
} | undefined;
|
|
2130
2151
|
leftPinCount?: number | undefined;
|
|
2131
2152
|
rightPinCount?: number | undefined;
|
|
@@ -2157,10 +2178,10 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2157
2178
|
pcbX?: number | undefined;
|
|
2158
2179
|
pcbY?: number | undefined;
|
|
2159
2180
|
pcbRotation?: number | undefined;
|
|
2181
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2160
2182
|
schX?: number | undefined;
|
|
2161
2183
|
schY?: number | undefined;
|
|
2162
2184
|
schRotation?: number | undefined;
|
|
2163
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2164
2185
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
2165
2186
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2166
2187
|
key?: any;
|
|
@@ -2221,26 +2242,28 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2221
2242
|
symbolName?: string | undefined;
|
|
2222
2243
|
manufacturerPartNumber?: string | undefined;
|
|
2223
2244
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
2245
|
+
internallyConnectedPorts?: string[][] | undefined;
|
|
2246
|
+
externallyConnectedPorts?: string[][] | undefined;
|
|
2224
2247
|
schPortArrangement?: {
|
|
2225
2248
|
leftSize?: number | undefined;
|
|
2226
2249
|
topSize?: number | undefined;
|
|
2227
2250
|
rightSize?: number | undefined;
|
|
2228
2251
|
bottomSize?: number | undefined;
|
|
2229
2252
|
leftSide?: {
|
|
2230
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2231
2253
|
pins: (string | number)[];
|
|
2254
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2232
2255
|
} | undefined;
|
|
2233
2256
|
topSide?: {
|
|
2234
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2235
2257
|
pins: (string | number)[];
|
|
2258
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2236
2259
|
} | undefined;
|
|
2237
2260
|
rightSide?: {
|
|
2238
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2239
2261
|
pins: (string | number)[];
|
|
2262
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2240
2263
|
} | undefined;
|
|
2241
2264
|
bottomSide?: {
|
|
2242
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2243
2265
|
pins: (string | number)[];
|
|
2266
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2244
2267
|
} | undefined;
|
|
2245
2268
|
leftPinCount?: number | undefined;
|
|
2246
2269
|
rightPinCount?: number | undefined;
|
|
@@ -2262,12 +2285,12 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2262
2285
|
pcbX?: string | number | undefined;
|
|
2263
2286
|
pcbY?: string | number | undefined;
|
|
2264
2287
|
pcbRotation?: string | number | undefined;
|
|
2265
|
-
schX?: string | number | undefined;
|
|
2266
|
-
schY?: string | number | undefined;
|
|
2267
|
-
schRotation?: string | number | undefined;
|
|
2268
2288
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2269
2289
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2270
2290
|
} | undefined;
|
|
2291
|
+
schX?: string | number | undefined;
|
|
2292
|
+
schY?: string | number | undefined;
|
|
2293
|
+
schRotation?: string | number | undefined;
|
|
2271
2294
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
2272
2295
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2273
2296
|
key?: any;
|
|
@@ -2328,26 +2351,28 @@ declare class Chip<PinLabels extends string = never> extends NormalComponent<typ
|
|
|
2328
2351
|
symbolName?: string | undefined;
|
|
2329
2352
|
manufacturerPartNumber?: string | undefined;
|
|
2330
2353
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
2354
|
+
internallyConnectedPorts?: string[][] | undefined;
|
|
2355
|
+
externallyConnectedPorts?: string[][] | undefined;
|
|
2331
2356
|
schPortArrangement?: {
|
|
2332
2357
|
leftSize?: number | undefined;
|
|
2333
2358
|
topSize?: number | undefined;
|
|
2334
2359
|
rightSize?: number | undefined;
|
|
2335
2360
|
bottomSize?: number | undefined;
|
|
2336
2361
|
leftSide?: {
|
|
2337
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2338
2362
|
pins: (string | number)[];
|
|
2363
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2339
2364
|
} | undefined;
|
|
2340
2365
|
topSide?: {
|
|
2341
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2342
2366
|
pins: (string | number)[];
|
|
2367
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2343
2368
|
} | undefined;
|
|
2344
2369
|
rightSide?: {
|
|
2345
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2346
2370
|
pins: (string | number)[];
|
|
2371
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2347
2372
|
} | undefined;
|
|
2348
2373
|
bottomSide?: {
|
|
2349
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2350
2374
|
pins: (string | number)[];
|
|
2375
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
2351
2376
|
} | undefined;
|
|
2352
2377
|
leftPinCount?: number | undefined;
|
|
2353
2378
|
rightPinCount?: number | undefined;
|
|
@@ -2637,10 +2662,10 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
2637
2662
|
pcbX?: number | undefined;
|
|
2638
2663
|
pcbY?: number | undefined;
|
|
2639
2664
|
pcbRotation?: number | undefined;
|
|
2665
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2640
2666
|
schX?: number | undefined;
|
|
2641
2667
|
schY?: number | undefined;
|
|
2642
2668
|
schRotation?: number | undefined;
|
|
2643
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
2644
2669
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
2645
2670
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2646
2671
|
key?: any;
|
|
@@ -2704,12 +2729,12 @@ declare class Diode extends NormalComponent<typeof diodeProps, PolarizedPassiveP
|
|
|
2704
2729
|
pcbX?: string | number | undefined;
|
|
2705
2730
|
pcbY?: string | number | undefined;
|
|
2706
2731
|
pcbRotation?: string | number | undefined;
|
|
2707
|
-
schX?: string | number | undefined;
|
|
2708
|
-
schY?: string | number | undefined;
|
|
2709
|
-
schRotation?: string | number | undefined;
|
|
2710
2732
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2711
2733
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2712
2734
|
} | undefined;
|
|
2735
|
+
schX?: string | number | undefined;
|
|
2736
|
+
schY?: string | number | undefined;
|
|
2737
|
+
schRotation?: string | number | undefined;
|
|
2713
2738
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
2714
2739
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2715
2740
|
key?: any;
|
|
@@ -3074,41 +3099,41 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3074
3099
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
3075
3100
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
3076
3101
|
}, "strip", zod.ZodTypeAny, {
|
|
3077
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3078
3102
|
pins: (string | number)[];
|
|
3079
|
-
}, {
|
|
3080
3103
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3104
|
+
}, {
|
|
3081
3105
|
pins: (string | number)[];
|
|
3106
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3082
3107
|
}>>;
|
|
3083
3108
|
rightSide: zod.ZodOptional<zod.ZodObject<{
|
|
3084
3109
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
3085
3110
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
3086
3111
|
}, "strip", zod.ZodTypeAny, {
|
|
3087
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3088
3112
|
pins: (string | number)[];
|
|
3089
|
-
}, {
|
|
3090
3113
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3114
|
+
}, {
|
|
3091
3115
|
pins: (string | number)[];
|
|
3116
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3092
3117
|
}>>;
|
|
3093
3118
|
topSide: zod.ZodOptional<zod.ZodObject<{
|
|
3094
3119
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
3095
3120
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
3096
3121
|
}, "strip", zod.ZodTypeAny, {
|
|
3097
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3098
3122
|
pins: (string | number)[];
|
|
3099
|
-
}, {
|
|
3100
3123
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3124
|
+
}, {
|
|
3101
3125
|
pins: (string | number)[];
|
|
3126
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3102
3127
|
}>>;
|
|
3103
3128
|
bottomSide: zod.ZodOptional<zod.ZodObject<{
|
|
3104
3129
|
pins: zod.ZodArray<zod.ZodUnion<[zod.ZodNumber, zod.ZodString]>, "many">;
|
|
3105
3130
|
direction: zod.ZodUnion<[zod.ZodLiteral<"top-to-bottom">, zod.ZodLiteral<"left-to-right">, zod.ZodLiteral<"bottom-to-top">, zod.ZodLiteral<"right-to-left">]>;
|
|
3106
3131
|
}, "strip", zod.ZodTypeAny, {
|
|
3107
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3108
3132
|
pins: (string | number)[];
|
|
3109
|
-
}, {
|
|
3110
3133
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3134
|
+
}, {
|
|
3111
3135
|
pins: (string | number)[];
|
|
3136
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3112
3137
|
}>>;
|
|
3113
3138
|
}, "strip", zod.ZodTypeAny, {
|
|
3114
3139
|
leftSize?: number | undefined;
|
|
@@ -3116,20 +3141,20 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3116
3141
|
rightSize?: number | undefined;
|
|
3117
3142
|
bottomSize?: number | undefined;
|
|
3118
3143
|
leftSide?: {
|
|
3119
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3120
3144
|
pins: (string | number)[];
|
|
3145
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3121
3146
|
} | undefined;
|
|
3122
3147
|
topSide?: {
|
|
3123
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3124
3148
|
pins: (string | number)[];
|
|
3149
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3125
3150
|
} | undefined;
|
|
3126
3151
|
rightSide?: {
|
|
3127
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3128
3152
|
pins: (string | number)[];
|
|
3153
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3129
3154
|
} | undefined;
|
|
3130
3155
|
bottomSide?: {
|
|
3131
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3132
3156
|
pins: (string | number)[];
|
|
3157
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3133
3158
|
} | undefined;
|
|
3134
3159
|
leftPinCount?: number | undefined;
|
|
3135
3160
|
rightPinCount?: number | undefined;
|
|
@@ -3141,20 +3166,20 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3141
3166
|
rightSize?: number | undefined;
|
|
3142
3167
|
bottomSize?: number | undefined;
|
|
3143
3168
|
leftSide?: {
|
|
3144
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3145
3169
|
pins: (string | number)[];
|
|
3170
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3146
3171
|
} | undefined;
|
|
3147
3172
|
topSide?: {
|
|
3148
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3149
3173
|
pins: (string | number)[];
|
|
3174
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3150
3175
|
} | undefined;
|
|
3151
3176
|
rightSide?: {
|
|
3152
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3153
3177
|
pins: (string | number)[];
|
|
3178
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3154
3179
|
} | undefined;
|
|
3155
3180
|
bottomSide?: {
|
|
3156
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3157
3181
|
pins: (string | number)[];
|
|
3182
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3158
3183
|
} | undefined;
|
|
3159
3184
|
leftPinCount?: number | undefined;
|
|
3160
3185
|
rightPinCount?: number | undefined;
|
|
@@ -3166,10 +3191,10 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3166
3191
|
pcbX?: number | undefined;
|
|
3167
3192
|
pcbY?: number | undefined;
|
|
3168
3193
|
pcbRotation?: number | undefined;
|
|
3194
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3169
3195
|
schX?: number | undefined;
|
|
3170
3196
|
schY?: number | undefined;
|
|
3171
3197
|
schRotation?: number | undefined;
|
|
3172
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3173
3198
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
3174
3199
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3175
3200
|
key?: any;
|
|
@@ -3236,20 +3261,20 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3236
3261
|
rightSize?: number | undefined;
|
|
3237
3262
|
bottomSize?: number | undefined;
|
|
3238
3263
|
leftSide?: {
|
|
3239
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3240
3264
|
pins: (string | number)[];
|
|
3265
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3241
3266
|
} | undefined;
|
|
3242
3267
|
topSide?: {
|
|
3243
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3244
3268
|
pins: (string | number)[];
|
|
3269
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3245
3270
|
} | undefined;
|
|
3246
3271
|
rightSide?: {
|
|
3247
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3248
3272
|
pins: (string | number)[];
|
|
3273
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3249
3274
|
} | undefined;
|
|
3250
3275
|
bottomSide?: {
|
|
3251
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3252
3276
|
pins: (string | number)[];
|
|
3277
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3253
3278
|
} | undefined;
|
|
3254
3279
|
leftPinCount?: number | undefined;
|
|
3255
3280
|
rightPinCount?: number | undefined;
|
|
@@ -3271,12 +3296,12 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3271
3296
|
pcbX?: string | number | undefined;
|
|
3272
3297
|
pcbY?: string | number | undefined;
|
|
3273
3298
|
pcbRotation?: string | number | undefined;
|
|
3274
|
-
schX?: string | number | undefined;
|
|
3275
|
-
schY?: string | number | undefined;
|
|
3276
|
-
schRotation?: string | number | undefined;
|
|
3277
3299
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3278
3300
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3279
3301
|
} | undefined;
|
|
3302
|
+
schX?: string | number | undefined;
|
|
3303
|
+
schY?: string | number | undefined;
|
|
3304
|
+
schRotation?: string | number | undefined;
|
|
3280
3305
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
3281
3306
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3282
3307
|
key?: any;
|
|
@@ -3343,20 +3368,20 @@ declare class Jumper<PinLabels extends string = never> extends NormalComponent<t
|
|
|
3343
3368
|
rightSize?: number | undefined;
|
|
3344
3369
|
bottomSize?: number | undefined;
|
|
3345
3370
|
leftSide?: {
|
|
3346
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3347
3371
|
pins: (string | number)[];
|
|
3372
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3348
3373
|
} | undefined;
|
|
3349
3374
|
topSide?: {
|
|
3350
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3351
3375
|
pins: (string | number)[];
|
|
3376
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3352
3377
|
} | undefined;
|
|
3353
3378
|
rightSide?: {
|
|
3354
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3355
3379
|
pins: (string | number)[];
|
|
3380
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3356
3381
|
} | undefined;
|
|
3357
3382
|
bottomSide?: {
|
|
3358
|
-
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3359
3383
|
pins: (string | number)[];
|
|
3384
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
3360
3385
|
} | undefined;
|
|
3361
3386
|
leftPinCount?: number | undefined;
|
|
3362
3387
|
rightPinCount?: number | undefined;
|
|
@@ -3647,10 +3672,10 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
|
|
|
3647
3672
|
pcbX?: number | undefined;
|
|
3648
3673
|
pcbY?: number | undefined;
|
|
3649
3674
|
pcbRotation?: number | undefined;
|
|
3675
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3650
3676
|
schX?: number | undefined;
|
|
3651
3677
|
schY?: number | undefined;
|
|
3652
3678
|
schRotation?: number | undefined;
|
|
3653
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
3654
3679
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
3655
3680
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3656
3681
|
key?: any;
|
|
@@ -3715,12 +3740,12 @@ declare class Led extends NormalComponent<typeof ledProps, PolarizedPassivePorts
|
|
|
3715
3740
|
pcbX?: string | number | undefined;
|
|
3716
3741
|
pcbY?: string | number | undefined;
|
|
3717
3742
|
pcbRotation?: string | number | undefined;
|
|
3718
|
-
schX?: string | number | undefined;
|
|
3719
|
-
schY?: string | number | undefined;
|
|
3720
|
-
schRotation?: string | number | undefined;
|
|
3721
3743
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3722
3744
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3723
3745
|
} | undefined;
|
|
3746
|
+
schX?: string | number | undefined;
|
|
3747
|
+
schY?: string | number | undefined;
|
|
3748
|
+
schRotation?: string | number | undefined;
|
|
3724
3749
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
3725
3750
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3726
3751
|
key?: any;
|
|
@@ -4058,10 +4083,10 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
|
|
|
4058
4083
|
pcbX?: number | undefined;
|
|
4059
4084
|
pcbY?: number | undefined;
|
|
4060
4085
|
pcbRotation?: number | undefined;
|
|
4086
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4061
4087
|
schX?: number | undefined;
|
|
4062
4088
|
schY?: number | undefined;
|
|
4063
4089
|
schRotation?: number | undefined;
|
|
4064
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4065
4090
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
4066
4091
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4067
4092
|
key?: any;
|
|
@@ -4126,12 +4151,12 @@ declare class PowerSource extends NormalComponent<typeof powerSourceProps, Polar
|
|
|
4126
4151
|
pcbX?: string | number | undefined;
|
|
4127
4152
|
pcbY?: string | number | undefined;
|
|
4128
4153
|
pcbRotation?: string | number | undefined;
|
|
4129
|
-
schX?: string | number | undefined;
|
|
4130
|
-
schY?: string | number | undefined;
|
|
4131
|
-
schRotation?: string | number | undefined;
|
|
4132
4154
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4133
4155
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4134
4156
|
} | undefined;
|
|
4157
|
+
schX?: string | number | undefined;
|
|
4158
|
+
schY?: string | number | undefined;
|
|
4159
|
+
schRotation?: string | number | undefined;
|
|
4135
4160
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
4136
4161
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4137
4162
|
key?: any;
|
|
@@ -4472,10 +4497,10 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
4472
4497
|
pcbX?: number | undefined;
|
|
4473
4498
|
pcbY?: number | undefined;
|
|
4474
4499
|
pcbRotation?: number | undefined;
|
|
4500
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4475
4501
|
schX?: number | undefined;
|
|
4476
4502
|
schY?: number | undefined;
|
|
4477
4503
|
schRotation?: number | undefined;
|
|
4478
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4479
4504
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
4480
4505
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4481
4506
|
key?: any;
|
|
@@ -4544,12 +4569,12 @@ declare class Resistor extends NormalComponent<typeof resistorProps, PassivePort
|
|
|
4544
4569
|
pcbX?: string | number | undefined;
|
|
4545
4570
|
pcbY?: string | number | undefined;
|
|
4546
4571
|
pcbRotation?: string | number | undefined;
|
|
4547
|
-
schX?: string | number | undefined;
|
|
4548
|
-
schY?: string | number | undefined;
|
|
4549
|
-
schRotation?: string | number | undefined;
|
|
4550
4572
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4551
4573
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4552
4574
|
} | undefined;
|
|
4575
|
+
schX?: string | number | undefined;
|
|
4576
|
+
schY?: string | number | undefined;
|
|
4577
|
+
schRotation?: string | number | undefined;
|
|
4553
4578
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
4554
4579
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
4555
4580
|
key?: any;
|
|
@@ -5038,13 +5063,13 @@ declare class NetAlias extends PrimitiveComponent<typeof netAliasProps> {
|
|
|
5038
5063
|
schY?: number | undefined;
|
|
5039
5064
|
schRotation?: number | undefined;
|
|
5040
5065
|
net?: string | undefined;
|
|
5041
|
-
anchorSide?: "
|
|
5066
|
+
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
5042
5067
|
}, {
|
|
5043
5068
|
schX?: string | number | undefined;
|
|
5044
5069
|
schY?: string | number | undefined;
|
|
5045
5070
|
schRotation?: string | number | undefined;
|
|
5046
5071
|
net?: string | undefined;
|
|
5047
|
-
anchorSide?: "
|
|
5072
|
+
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
5048
5073
|
}>;
|
|
5049
5074
|
};
|
|
5050
5075
|
doInitialSchematicComponentRender(): void;
|
|
@@ -5230,8 +5255,8 @@ declare class SilkscreenCircle extends PrimitiveComponent<typeof silkscreenCircl
|
|
|
5230
5255
|
pcbX?: number | undefined;
|
|
5231
5256
|
pcbY?: number | undefined;
|
|
5232
5257
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5233
|
-
isFilled?: boolean | undefined;
|
|
5234
5258
|
strokeWidth?: number | undefined;
|
|
5259
|
+
isFilled?: boolean | undefined;
|
|
5235
5260
|
isOutline?: boolean | undefined;
|
|
5236
5261
|
}, {
|
|
5237
5262
|
radius: string | number;
|
|
@@ -5240,8 +5265,8 @@ declare class SilkscreenCircle extends PrimitiveComponent<typeof silkscreenCircl
|
|
|
5240
5265
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5241
5266
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5242
5267
|
} | undefined;
|
|
5243
|
-
isFilled?: boolean | undefined;
|
|
5244
5268
|
strokeWidth?: string | number | undefined;
|
|
5269
|
+
isFilled?: boolean | undefined;
|
|
5245
5270
|
isOutline?: boolean | undefined;
|
|
5246
5271
|
}>;
|
|
5247
5272
|
};
|
|
@@ -5354,8 +5379,8 @@ declare class SilkscreenRect extends PrimitiveComponent<typeof silkscreenRectPro
|
|
|
5354
5379
|
pcbX?: number | undefined;
|
|
5355
5380
|
pcbY?: number | undefined;
|
|
5356
5381
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5357
|
-
isFilled?: boolean | undefined;
|
|
5358
5382
|
strokeWidth?: number | undefined;
|
|
5383
|
+
isFilled?: boolean | undefined;
|
|
5359
5384
|
isOutline?: boolean | undefined;
|
|
5360
5385
|
}, {
|
|
5361
5386
|
width: string | number;
|
|
@@ -5365,8 +5390,8 @@ declare class SilkscreenRect extends PrimitiveComponent<typeof silkscreenRectPro
|
|
|
5365
5390
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5366
5391
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5367
5392
|
} | undefined;
|
|
5368
|
-
isFilled?: boolean | undefined;
|
|
5369
5393
|
strokeWidth?: string | number | undefined;
|
|
5394
|
+
isFilled?: boolean | undefined;
|
|
5370
5395
|
isOutline?: boolean | undefined;
|
|
5371
5396
|
}>;
|
|
5372
5397
|
};
|
|
@@ -5448,18 +5473,18 @@ declare class SilkscreenLine extends PrimitiveComponent<typeof silkscreenLinePro
|
|
|
5448
5473
|
x2: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
5449
5474
|
y2: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
5450
5475
|
}>, "strip", zod.ZodTypeAny, {
|
|
5476
|
+
strokeWidth: number;
|
|
5451
5477
|
x1: number;
|
|
5452
5478
|
y1: number;
|
|
5453
5479
|
x2: number;
|
|
5454
5480
|
y2: number;
|
|
5455
|
-
strokeWidth: number;
|
|
5456
5481
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5457
5482
|
}, {
|
|
5483
|
+
strokeWidth: string | number;
|
|
5458
5484
|
x1: string | number;
|
|
5459
5485
|
y1: string | number;
|
|
5460
5486
|
x2: string | number;
|
|
5461
5487
|
y2: string | number;
|
|
5462
|
-
strokeWidth: string | number;
|
|
5463
5488
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5464
5489
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5465
5490
|
} | undefined;
|
|
@@ -5662,15 +5687,15 @@ declare class TraceHint extends PrimitiveComponent<typeof traceHintProps> {
|
|
|
5662
5687
|
}, "strip", zod.ZodTypeAny, {
|
|
5663
5688
|
x: number;
|
|
5664
5689
|
y: number;
|
|
5665
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5666
5690
|
via?: boolean | undefined;
|
|
5691
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5667
5692
|
}, {
|
|
5668
5693
|
x: string | number;
|
|
5669
5694
|
y: string | number;
|
|
5695
|
+
via?: boolean | undefined;
|
|
5670
5696
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5671
5697
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5672
5698
|
} | undefined;
|
|
5673
|
-
via?: boolean | undefined;
|
|
5674
5699
|
}>]>>;
|
|
5675
5700
|
offsets: zod.ZodOptional<zod.ZodUnion<[zod.ZodArray<zod.ZodObject<{
|
|
5676
5701
|
x: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
@@ -5716,49 +5741,47 @@ declare class TraceHint extends PrimitiveComponent<typeof traceHintProps> {
|
|
|
5716
5741
|
}, "strip", zod.ZodTypeAny, {
|
|
5717
5742
|
x: number;
|
|
5718
5743
|
y: number;
|
|
5719
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5720
5744
|
via?: boolean | undefined;
|
|
5745
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5721
5746
|
}, {
|
|
5722
5747
|
x: string | number;
|
|
5723
5748
|
y: string | number;
|
|
5749
|
+
via?: boolean | undefined;
|
|
5724
5750
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5725
5751
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5726
5752
|
} | undefined;
|
|
5727
|
-
via?: boolean | undefined;
|
|
5728
5753
|
}>, "many">]>>;
|
|
5729
5754
|
traceWidth: zod.ZodOptional<zod.ZodNumber>;
|
|
5730
5755
|
}, "strip", zod.ZodTypeAny, {
|
|
5731
|
-
|
|
5732
|
-
order?: number | undefined;
|
|
5733
|
-
offset?: {
|
|
5756
|
+
offsets?: {
|
|
5734
5757
|
x: number;
|
|
5735
5758
|
y: number;
|
|
5736
5759
|
trace_width?: number | undefined;
|
|
5737
5760
|
via?: boolean | undefined;
|
|
5738
5761
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5739
|
-
} | {
|
|
5762
|
+
}[] | {
|
|
5740
5763
|
x: number;
|
|
5741
5764
|
y: number;
|
|
5742
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5743
5765
|
via?: boolean | undefined;
|
|
5744
|
-
|
|
5745
|
-
|
|
5766
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5767
|
+
}[] | undefined;
|
|
5768
|
+
for?: string | undefined;
|
|
5769
|
+
order?: number | undefined;
|
|
5770
|
+
offset?: {
|
|
5746
5771
|
x: number;
|
|
5747
5772
|
y: number;
|
|
5748
5773
|
trace_width?: number | undefined;
|
|
5749
5774
|
via?: boolean | undefined;
|
|
5750
5775
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5751
|
-
}
|
|
5776
|
+
} | {
|
|
5752
5777
|
x: number;
|
|
5753
5778
|
y: number;
|
|
5754
|
-
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5755
5779
|
via?: boolean | undefined;
|
|
5756
|
-
|
|
5780
|
+
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5781
|
+
} | undefined;
|
|
5757
5782
|
traceWidth?: number | undefined;
|
|
5758
5783
|
}, {
|
|
5759
|
-
|
|
5760
|
-
order?: number | undefined;
|
|
5761
|
-
offset?: {
|
|
5784
|
+
offsets?: {
|
|
5762
5785
|
x: string | number;
|
|
5763
5786
|
y: string | number;
|
|
5764
5787
|
trace_width?: string | number | undefined;
|
|
@@ -5766,15 +5789,17 @@ declare class TraceHint extends PrimitiveComponent<typeof traceHintProps> {
|
|
|
5766
5789
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5767
5790
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5768
5791
|
} | undefined;
|
|
5769
|
-
} | {
|
|
5792
|
+
}[] | {
|
|
5770
5793
|
x: string | number;
|
|
5771
5794
|
y: string | number;
|
|
5795
|
+
via?: boolean | undefined;
|
|
5772
5796
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5773
5797
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5774
5798
|
} | undefined;
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5799
|
+
}[] | undefined;
|
|
5800
|
+
for?: string | undefined;
|
|
5801
|
+
order?: number | undefined;
|
|
5802
|
+
offset?: {
|
|
5778
5803
|
x: string | number;
|
|
5779
5804
|
y: string | number;
|
|
5780
5805
|
trace_width?: string | number | undefined;
|
|
@@ -5782,14 +5807,14 @@ declare class TraceHint extends PrimitiveComponent<typeof traceHintProps> {
|
|
|
5782
5807
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5783
5808
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5784
5809
|
} | undefined;
|
|
5785
|
-
}
|
|
5810
|
+
} | {
|
|
5786
5811
|
x: string | number;
|
|
5787
5812
|
y: string | number;
|
|
5813
|
+
via?: boolean | undefined;
|
|
5788
5814
|
toLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5789
5815
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5790
5816
|
} | undefined;
|
|
5791
|
-
|
|
5792
|
-
}[] | undefined;
|
|
5817
|
+
} | undefined;
|
|
5793
5818
|
traceWidth?: number | undefined;
|
|
5794
5819
|
}>;
|
|
5795
5820
|
};
|
|
@@ -5843,36 +5868,36 @@ declare class Via extends PrimitiveComponent<typeof viaProps> {
|
|
|
5843
5868
|
holeDiameter: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
5844
5869
|
outerDiameter: zod.ZodEffects<zod.ZodUnion<[zod.ZodString, zod.ZodNumber]>, number, string | number>;
|
|
5845
5870
|
}>, "strip", zod.ZodTypeAny, {
|
|
5846
|
-
fromLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5847
|
-
toLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5848
5871
|
holeDiameter: number;
|
|
5849
5872
|
outerDiameter: number;
|
|
5873
|
+
fromLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5874
|
+
toLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5850
5875
|
pcbX?: number | undefined;
|
|
5851
5876
|
pcbY?: number | undefined;
|
|
5852
5877
|
pcbRotation?: number | undefined;
|
|
5878
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5853
5879
|
schX?: number | undefined;
|
|
5854
5880
|
schY?: number | undefined;
|
|
5855
5881
|
schRotation?: number | undefined;
|
|
5856
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5857
5882
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
5858
5883
|
}, {
|
|
5884
|
+
holeDiameter: string | number;
|
|
5885
|
+
outerDiameter: string | number;
|
|
5859
5886
|
fromLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5860
5887
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5861
5888
|
};
|
|
5862
5889
|
toLayer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5863
5890
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5864
5891
|
};
|
|
5865
|
-
holeDiameter: string | number;
|
|
5866
|
-
outerDiameter: string | number;
|
|
5867
5892
|
pcbX?: string | number | undefined;
|
|
5868
5893
|
pcbY?: string | number | undefined;
|
|
5869
5894
|
pcbRotation?: string | number | undefined;
|
|
5870
|
-
schX?: string | number | undefined;
|
|
5871
|
-
schY?: string | number | undefined;
|
|
5872
|
-
schRotation?: string | number | undefined;
|
|
5873
5895
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5874
5896
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5875
5897
|
} | undefined;
|
|
5898
|
+
schX?: string | number | undefined;
|
|
5899
|
+
schY?: string | number | undefined;
|
|
5900
|
+
schRotation?: string | number | undefined;
|
|
5876
5901
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
5877
5902
|
}>;
|
|
5878
5903
|
};
|
|
@@ -6169,10 +6194,10 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
|
|
|
6169
6194
|
pcbX?: number | undefined;
|
|
6170
6195
|
pcbY?: number | undefined;
|
|
6171
6196
|
pcbRotation?: number | undefined;
|
|
6197
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6172
6198
|
schX?: number | undefined;
|
|
6173
6199
|
schY?: number | undefined;
|
|
6174
6200
|
schRotation?: number | undefined;
|
|
6175
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6176
6201
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
6177
6202
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6178
6203
|
key?: any;
|
|
@@ -6237,12 +6262,12 @@ declare class Battery extends NormalComponent<typeof batteryProps, PassivePorts>
|
|
|
6237
6262
|
pcbX?: string | number | undefined;
|
|
6238
6263
|
pcbY?: string | number | undefined;
|
|
6239
6264
|
pcbRotation?: string | number | undefined;
|
|
6240
|
-
schX?: string | number | undefined;
|
|
6241
|
-
schY?: string | number | undefined;
|
|
6242
|
-
schRotation?: string | number | undefined;
|
|
6243
6265
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6244
6266
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6245
6267
|
} | undefined;
|
|
6268
|
+
schX?: string | number | undefined;
|
|
6269
|
+
schY?: string | number | undefined;
|
|
6270
|
+
schRotation?: string | number | undefined;
|
|
6246
6271
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
6247
6272
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6248
6273
|
key?: any;
|
|
@@ -6585,10 +6610,10 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
6585
6610
|
pcbX?: number | undefined;
|
|
6586
6611
|
pcbY?: number | undefined;
|
|
6587
6612
|
pcbRotation?: number | undefined;
|
|
6613
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6588
6614
|
schX?: number | undefined;
|
|
6589
6615
|
schY?: number | undefined;
|
|
6590
6616
|
schRotation?: number | undefined;
|
|
6591
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6592
6617
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
6593
6618
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6594
6619
|
key?: any;
|
|
@@ -6647,8 +6672,8 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
6647
6672
|
} | undefined;
|
|
6648
6673
|
children?: any;
|
|
6649
6674
|
symbolName?: string | undefined;
|
|
6650
|
-
holeDiameter?: number | undefined;
|
|
6651
6675
|
pinLabels?: string[] | undefined;
|
|
6676
|
+
holeDiameter?: number | undefined;
|
|
6652
6677
|
pitch?: number | undefined;
|
|
6653
6678
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
6654
6679
|
doubleRow?: boolean | undefined;
|
|
@@ -6660,12 +6685,12 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
6660
6685
|
pcbX?: string | number | undefined;
|
|
6661
6686
|
pcbY?: string | number | undefined;
|
|
6662
6687
|
pcbRotation?: string | number | undefined;
|
|
6663
|
-
schX?: string | number | undefined;
|
|
6664
|
-
schY?: string | number | undefined;
|
|
6665
|
-
schRotation?: string | number | undefined;
|
|
6666
6688
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6667
6689
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6668
6690
|
} | undefined;
|
|
6691
|
+
schX?: string | number | undefined;
|
|
6692
|
+
schY?: string | number | undefined;
|
|
6693
|
+
schRotation?: string | number | undefined;
|
|
6669
6694
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
6670
6695
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6671
6696
|
key?: any;
|
|
@@ -6724,8 +6749,8 @@ declare class PinHeader extends NormalComponent<typeof pinHeaderProps> {
|
|
|
6724
6749
|
} | undefined;
|
|
6725
6750
|
children?: any;
|
|
6726
6751
|
symbolName?: string | undefined;
|
|
6727
|
-
holeDiameter?: string | number | undefined;
|
|
6728
6752
|
pinLabels?: string[] | undefined;
|
|
6753
|
+
holeDiameter?: string | number | undefined;
|
|
6729
6754
|
pitch?: string | number | undefined;
|
|
6730
6755
|
gender?: "male" | "female" | undefined;
|
|
6731
6756
|
showSilkscreenPinLabels?: boolean | undefined;
|
|
@@ -7012,10 +7037,10 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
|
|
|
7012
7037
|
pcbX?: number | undefined;
|
|
7013
7038
|
pcbY?: number | undefined;
|
|
7014
7039
|
pcbRotation?: number | undefined;
|
|
7040
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7015
7041
|
schX?: number | undefined;
|
|
7016
7042
|
schY?: number | undefined;
|
|
7017
7043
|
schRotation?: number | undefined;
|
|
7018
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7019
7044
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7020
7045
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7021
7046
|
key?: any;
|
|
@@ -7082,12 +7107,12 @@ declare class Resonator extends NormalComponent<typeof resonatorProps> {
|
|
|
7082
7107
|
pcbX?: string | number | undefined;
|
|
7083
7108
|
pcbY?: string | number | undefined;
|
|
7084
7109
|
pcbRotation?: string | number | undefined;
|
|
7085
|
-
schX?: string | number | undefined;
|
|
7086
|
-
schY?: string | number | undefined;
|
|
7087
|
-
schRotation?: string | number | undefined;
|
|
7088
7110
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7089
7111
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7090
7112
|
} | undefined;
|
|
7113
|
+
schX?: string | number | undefined;
|
|
7114
|
+
schY?: string | number | undefined;
|
|
7115
|
+
schRotation?: string | number | undefined;
|
|
7091
7116
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7092
7117
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7093
7118
|
key?: any;
|
|
@@ -7421,10 +7446,10 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
7421
7446
|
pcbX?: number | undefined;
|
|
7422
7447
|
pcbY?: number | undefined;
|
|
7423
7448
|
pcbRotation?: number | undefined;
|
|
7449
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7424
7450
|
schX?: number | undefined;
|
|
7425
7451
|
schY?: number | undefined;
|
|
7426
7452
|
schRotation?: number | undefined;
|
|
7427
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7428
7453
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7429
7454
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7430
7455
|
key?: any;
|
|
@@ -7489,12 +7514,12 @@ declare class Inductor extends NormalComponent<typeof inductorProps, PassivePort
|
|
|
7489
7514
|
pcbX?: string | number | undefined;
|
|
7490
7515
|
pcbY?: string | number | undefined;
|
|
7491
7516
|
pcbRotation?: string | number | undefined;
|
|
7492
|
-
schX?: string | number | undefined;
|
|
7493
|
-
schY?: string | number | undefined;
|
|
7494
|
-
schRotation?: string | number | undefined;
|
|
7495
7517
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7496
7518
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7497
7519
|
} | undefined;
|
|
7520
|
+
schX?: string | number | undefined;
|
|
7521
|
+
schY?: string | number | undefined;
|
|
7522
|
+
schRotation?: string | number | undefined;
|
|
7498
7523
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7499
7524
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7500
7525
|
key?: any;
|
|
@@ -7828,10 +7853,10 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps, P
|
|
|
7828
7853
|
pcbX?: number | undefined;
|
|
7829
7854
|
pcbY?: number | undefined;
|
|
7830
7855
|
pcbRotation?: number | undefined;
|
|
7856
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7831
7857
|
schX?: number | undefined;
|
|
7832
7858
|
schY?: number | undefined;
|
|
7833
7859
|
schRotation?: number | undefined;
|
|
7834
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7835
7860
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7836
7861
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7837
7862
|
key?: any;
|
|
@@ -7896,12 +7921,12 @@ declare class Potentiometer extends NormalComponent<typeof potentiometerProps, P
|
|
|
7896
7921
|
pcbX?: string | number | undefined;
|
|
7897
7922
|
pcbY?: string | number | undefined;
|
|
7898
7923
|
pcbRotation?: string | number | undefined;
|
|
7899
|
-
schX?: string | number | undefined;
|
|
7900
|
-
schY?: string | number | undefined;
|
|
7901
|
-
schRotation?: string | number | undefined;
|
|
7902
7924
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7903
7925
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7904
7926
|
} | undefined;
|
|
7927
|
+
schX?: string | number | undefined;
|
|
7928
|
+
schY?: string | number | undefined;
|
|
7929
|
+
schRotation?: string | number | undefined;
|
|
7905
7930
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
7906
7931
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7907
7932
|
key?: any;
|
|
@@ -8233,10 +8258,10 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
8233
8258
|
pcbX?: number | undefined;
|
|
8234
8259
|
pcbY?: number | undefined;
|
|
8235
8260
|
pcbRotation?: number | undefined;
|
|
8261
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8236
8262
|
schX?: number | undefined;
|
|
8237
8263
|
schY?: number | undefined;
|
|
8238
8264
|
schRotation?: number | undefined;
|
|
8239
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8240
8265
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
8241
8266
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8242
8267
|
key?: any;
|
|
@@ -8300,12 +8325,12 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
8300
8325
|
pcbX?: string | number | undefined;
|
|
8301
8326
|
pcbY?: string | number | undefined;
|
|
8302
8327
|
pcbRotation?: string | number | undefined;
|
|
8303
|
-
schX?: string | number | undefined;
|
|
8304
|
-
schY?: string | number | undefined;
|
|
8305
|
-
schRotation?: string | number | undefined;
|
|
8306
8328
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8307
8329
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8308
8330
|
} | undefined;
|
|
8331
|
+
schX?: string | number | undefined;
|
|
8332
|
+
schY?: string | number | undefined;
|
|
8333
|
+
schRotation?: string | number | undefined;
|
|
8309
8334
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
8310
8335
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8311
8336
|
key?: any;
|
|
@@ -8367,6 +8392,7 @@ declare class PushButton extends NormalComponent<typeof pushButtonProps, Passive
|
|
|
8367
8392
|
}>;
|
|
8368
8393
|
sourceFtype: "simple_push_button";
|
|
8369
8394
|
};
|
|
8395
|
+
get defaultInternallyConnectedPortNames(): string[][];
|
|
8370
8396
|
initPorts(): void;
|
|
8371
8397
|
doInitialSourceRender(): void;
|
|
8372
8398
|
}
|
|
@@ -8642,10 +8668,10 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
8642
8668
|
pcbX?: number | undefined;
|
|
8643
8669
|
pcbY?: number | undefined;
|
|
8644
8670
|
pcbRotation?: number | undefined;
|
|
8671
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8645
8672
|
schX?: number | undefined;
|
|
8646
8673
|
schY?: number | undefined;
|
|
8647
8674
|
schRotation?: number | undefined;
|
|
8648
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8649
8675
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
8650
8676
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8651
8677
|
key?: any;
|
|
@@ -8712,12 +8738,12 @@ declare class Crystal extends NormalComponent<typeof crystalProps, PolarizedPass
|
|
|
8712
8738
|
pcbX?: string | number | undefined;
|
|
8713
8739
|
pcbY?: string | number | undefined;
|
|
8714
8740
|
pcbRotation?: string | number | undefined;
|
|
8715
|
-
schX?: string | number | undefined;
|
|
8716
|
-
schY?: string | number | undefined;
|
|
8717
|
-
schRotation?: string | number | undefined;
|
|
8718
8741
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8719
8742
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8720
8743
|
} | undefined;
|
|
8744
|
+
schX?: string | number | undefined;
|
|
8745
|
+
schY?: string | number | undefined;
|
|
8746
|
+
schRotation?: string | number | undefined;
|
|
8721
8747
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
8722
8748
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
8723
8749
|
key?: any;
|
|
@@ -9053,10 +9079,10 @@ declare class Transistor extends NormalComponent<typeof transistorProps> {
|
|
|
9053
9079
|
pcbX?: number | undefined;
|
|
9054
9080
|
pcbY?: number | undefined;
|
|
9055
9081
|
pcbRotation?: number | undefined;
|
|
9082
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9056
9083
|
schX?: number | undefined;
|
|
9057
9084
|
schY?: number | undefined;
|
|
9058
9085
|
schRotation?: number | undefined;
|
|
9059
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9060
9086
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9061
9087
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9062
9088
|
key?: any;
|
|
@@ -9121,12 +9147,12 @@ declare class Transistor extends NormalComponent<typeof transistorProps> {
|
|
|
9121
9147
|
pcbX?: string | number | undefined;
|
|
9122
9148
|
pcbY?: string | number | undefined;
|
|
9123
9149
|
pcbRotation?: string | number | undefined;
|
|
9124
|
-
schX?: string | number | undefined;
|
|
9125
|
-
schY?: string | number | undefined;
|
|
9126
|
-
schRotation?: string | number | undefined;
|
|
9127
9150
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9128
9151
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9129
9152
|
} | undefined;
|
|
9153
|
+
schX?: string | number | undefined;
|
|
9154
|
+
schY?: string | number | undefined;
|
|
9155
|
+
schRotation?: string | number | undefined;
|
|
9130
9156
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9131
9157
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9132
9158
|
key?: any;
|
|
@@ -9461,10 +9487,10 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
|
|
|
9461
9487
|
pcbX?: number | undefined;
|
|
9462
9488
|
pcbY?: number | undefined;
|
|
9463
9489
|
pcbRotation?: number | undefined;
|
|
9490
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9464
9491
|
schX?: number | undefined;
|
|
9465
9492
|
schY?: number | undefined;
|
|
9466
9493
|
schRotation?: number | undefined;
|
|
9467
|
-
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
9468
9494
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9469
9495
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9470
9496
|
key?: any;
|
|
@@ -9530,12 +9556,12 @@ declare class Mosfet extends NormalComponent<typeof mosfetProps> {
|
|
|
9530
9556
|
pcbX?: string | number | undefined;
|
|
9531
9557
|
pcbY?: string | number | undefined;
|
|
9532
9558
|
pcbRotation?: string | number | undefined;
|
|
9533
|
-
schX?: string | number | undefined;
|
|
9534
|
-
schY?: string | number | undefined;
|
|
9535
|
-
schRotation?: string | number | undefined;
|
|
9536
9559
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9537
9560
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9538
9561
|
} | undefined;
|
|
9562
|
+
schX?: string | number | undefined;
|
|
9563
|
+
schY?: string | number | undefined;
|
|
9564
|
+
schRotation?: string | number | undefined;
|
|
9539
9565
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9540
9566
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9541
9567
|
key?: any;
|
|
@@ -9626,12 +9652,12 @@ declare const useDiode: <PropsFromHook extends Omit<{
|
|
|
9626
9652
|
pcbX?: string | number | undefined;
|
|
9627
9653
|
pcbY?: string | number | undefined;
|
|
9628
9654
|
pcbRotation?: string | number | undefined;
|
|
9629
|
-
schX?: string | number | undefined;
|
|
9630
|
-
schY?: string | number | undefined;
|
|
9631
|
-
schRotation?: string | number | undefined;
|
|
9632
9655
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9633
9656
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9634
9657
|
} | undefined;
|
|
9658
|
+
schX?: string | number | undefined;
|
|
9659
|
+
schY?: string | number | undefined;
|
|
9660
|
+
schRotation?: string | number | undefined;
|
|
9635
9661
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9636
9662
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9637
9663
|
key?: any;
|
|
@@ -9695,12 +9721,12 @@ declare const useDiode: <PropsFromHook extends Omit<{
|
|
|
9695
9721
|
pcbX?: string | number | undefined;
|
|
9696
9722
|
pcbY?: string | number | undefined;
|
|
9697
9723
|
pcbRotation?: string | number | undefined;
|
|
9698
|
-
schX?: string | number | undefined;
|
|
9699
|
-
schY?: string | number | undefined;
|
|
9700
|
-
schRotation?: string | number | undefined;
|
|
9701
9724
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9702
9725
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9703
9726
|
} | undefined;
|
|
9727
|
+
schX?: string | number | undefined;
|
|
9728
|
+
schY?: string | number | undefined;
|
|
9729
|
+
schRotation?: string | number | undefined;
|
|
9704
9730
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9705
9731
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9706
9732
|
key?: any;
|
|
@@ -9766,12 +9792,12 @@ declare const useLed: <PropsFromHook extends Omit<{
|
|
|
9766
9792
|
pcbX?: string | number | undefined;
|
|
9767
9793
|
pcbY?: string | number | undefined;
|
|
9768
9794
|
pcbRotation?: string | number | undefined;
|
|
9769
|
-
schX?: string | number | undefined;
|
|
9770
|
-
schY?: string | number | undefined;
|
|
9771
|
-
schRotation?: string | number | undefined;
|
|
9772
9795
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9773
9796
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9774
9797
|
} | undefined;
|
|
9798
|
+
schX?: string | number | undefined;
|
|
9799
|
+
schY?: string | number | undefined;
|
|
9800
|
+
schRotation?: string | number | undefined;
|
|
9775
9801
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9776
9802
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9777
9803
|
key?: any;
|
|
@@ -9836,12 +9862,12 @@ declare const useLed: <PropsFromHook extends Omit<{
|
|
|
9836
9862
|
pcbX?: string | number | undefined;
|
|
9837
9863
|
pcbY?: string | number | undefined;
|
|
9838
9864
|
pcbRotation?: string | number | undefined;
|
|
9839
|
-
schX?: string | number | undefined;
|
|
9840
|
-
schY?: string | number | undefined;
|
|
9841
|
-
schRotation?: string | number | undefined;
|
|
9842
9865
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9843
9866
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9844
9867
|
} | undefined;
|
|
9868
|
+
schX?: string | number | undefined;
|
|
9869
|
+
schY?: string | number | undefined;
|
|
9870
|
+
schRotation?: string | number | undefined;
|
|
9845
9871
|
footprint?: _tscircuit_props.Footprint | undefined;
|
|
9846
9872
|
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
9847
9873
|
key?: any;
|
|
@@ -9939,11 +9965,19 @@ type PinNumbers100 = "pin1" | "pin2" | "pin3" | "pin4" | "pin5" | "pin6" | "pin7
|
|
|
9939
9965
|
type CommonPinNames = "pos" | "neg" | "V5" | "V3_3" | "VCC" | "VDD" | "GND" | `D${Nums40}` | `GP${Nums40}` | `GPIO${Nums40}` | "DP" | "DN" | "VIN" | "VOUT" | "VREF" | "VIN" | "VOUT" | "VREF" | "VIN" | "VOUT" | "VREF" | `A${Nums40}` | `B${Nums40}` | PinNumbers100;
|
|
9940
9966
|
type TransistorPinNames = "base" | "collector" | "emitter";
|
|
9941
9967
|
|
|
9942
|
-
type NonPolarizedSel = Record<`R${Nums40}
|
|
9968
|
+
type NonPolarizedSel = Record<`R${Nums40}`, {
|
|
9969
|
+
pin1: string;
|
|
9970
|
+
pin2: string;
|
|
9971
|
+
pos: string;
|
|
9972
|
+
neg: string;
|
|
9973
|
+
}>;
|
|
9974
|
+
type SwSel = Record<`SW${Nums40}`, {
|
|
9943
9975
|
pin1: string;
|
|
9944
9976
|
pin2: string;
|
|
9945
9977
|
pos: string;
|
|
9946
9978
|
neg: string;
|
|
9979
|
+
side1: string;
|
|
9980
|
+
side2: string;
|
|
9947
9981
|
}>;
|
|
9948
9982
|
type PolarizedSel = Record<`C${Nums40}` | `L${Nums40}` | `LED${Nums40}` | `D${Nums40}` | `Y${Nums40}` | `B${Nums16}`, {
|
|
9949
9983
|
pin1: string;
|
|
@@ -9957,7 +9991,7 @@ type TransistorSel = Record<`Q${Nums40}`, Record<TransistorPinNames, string>>;
|
|
|
9957
9991
|
type JumperSel = Record<`J${Nums40}`, Record<PinNumbers100, string>>;
|
|
9958
9992
|
type ChipSel = Record<`U${Nums40}`, Record<CommonPinNames, string>>;
|
|
9959
9993
|
type NetSel = Record<"net", Record<"VCC" | "GND" | "VDD", string>>;
|
|
9960
|
-
type Sel = NonPolarizedSel & PolarizedSel & TransistorSel & JumperSel & ChipSel & NetSel;
|
|
9994
|
+
type Sel = NonPolarizedSel & PolarizedSel & TransistorSel & JumperSel & ChipSel & SwSel & NetSel;
|
|
9961
9995
|
declare const sel: Sel;
|
|
9962
9996
|
|
|
9963
9997
|
interface TscircuitElements {
|