@tscircuit/props 0.0.436 → 0.0.438
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/README.md +92 -7
- package/dist/index.d.ts +1179 -7
- package/dist/index.js +207 -172
- package/dist/index.js.map +1 -1
- package/lib/components/currentsource.ts +58 -0
- package/lib/components/group.ts +8 -0
- package/lib/index.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5669,9 +5669,9 @@ interface AutorouterConfig {
|
|
|
5669
5669
|
groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
|
|
5670
5670
|
local?: boolean;
|
|
5671
5671
|
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
5672
|
-
preset?: "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "freerouting" | "laser_prefab" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
5672
|
+
preset?: "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "tscircuit_beta" | "freerouting" | "laser_prefab" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
5673
5673
|
}
|
|
5674
|
-
type AutorouterPreset = "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "freerouting" | "laser_prefab" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
5674
|
+
type AutorouterPreset = "sequential_trace" | "subcircuit" | "auto" | "auto_local" | "auto_cloud" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
5675
5675
|
type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
|
|
5676
5676
|
declare const autorouterConfig: z.ZodObject<{
|
|
5677
5677
|
serverUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -5682,7 +5682,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5682
5682
|
traceClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5683
5683
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
5684
5684
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
5685
|
-
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "auto", "auto_local", "auto_cloud", "freerouting", "laser_prefab", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
5685
|
+
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "auto", "auto_local", "auto_cloud", "tscircuit_beta", "freerouting", "laser_prefab", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
5686
5686
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
5687
5687
|
}, "strip", z.ZodTypeAny, {
|
|
5688
5688
|
serverUrl?: string | undefined;
|
|
@@ -5693,7 +5693,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5693
5693
|
traceClearance?: number | undefined;
|
|
5694
5694
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
5695
5695
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5696
|
-
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "freerouting" | "laser_prefab" | "auto-local" | "auto-cloud" | undefined;
|
|
5696
|
+
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-local" | "auto-cloud" | undefined;
|
|
5697
5697
|
local?: boolean | undefined;
|
|
5698
5698
|
}, {
|
|
5699
5699
|
serverUrl?: string | undefined;
|
|
@@ -5704,11 +5704,12 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5704
5704
|
traceClearance?: string | number | undefined;
|
|
5705
5705
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
5706
5706
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
5707
|
-
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "freerouting" | "laser_prefab" | "auto-local" | "auto-cloud" | undefined;
|
|
5707
|
+
preset?: "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "tscircuit_beta" | "freerouting" | "laser_prefab" | "auto-local" | "auto-cloud" | undefined;
|
|
5708
5708
|
local?: boolean | undefined;
|
|
5709
5709
|
}>;
|
|
5710
|
-
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
5710
|
+
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
5711
5711
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
5712
|
+
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
5712
5713
|
interface SubcircuitGroupProps extends BaseGroupProps {
|
|
5713
5714
|
manualEdits?: ManualEditsFileInput;
|
|
5714
5715
|
routingDisabled?: boolean;
|
|
@@ -5717,6 +5718,7 @@ interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
5717
5718
|
minTraceWidth?: Distance;
|
|
5718
5719
|
pcbRouteCache?: PcbRouteCache;
|
|
5719
5720
|
autorouter?: AutorouterProp;
|
|
5721
|
+
autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x";
|
|
5720
5722
|
/**
|
|
5721
5723
|
* Serialized circuit JSON describing a precompiled subcircuit
|
|
5722
5724
|
*/
|
|
@@ -7504,6 +7506,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7504
7506
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
7505
7507
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
7506
7508
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
7509
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
7507
7510
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
7508
7511
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
7509
7512
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -7813,6 +7816,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7813
7816
|
partsEngine?: PartsEngine | undefined;
|
|
7814
7817
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
7815
7818
|
autorouter?: AutorouterProp | undefined;
|
|
7819
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
7816
7820
|
square?: boolean | undefined;
|
|
7817
7821
|
emptyArea?: string | undefined;
|
|
7818
7822
|
filledArea?: string | undefined;
|
|
@@ -8118,6 +8122,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
8118
8122
|
partsEngine?: PartsEngine | undefined;
|
|
8119
8123
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
8120
8124
|
autorouter?: AutorouterProp | undefined;
|
|
8125
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
8121
8126
|
square?: boolean | undefined;
|
|
8122
8127
|
emptyArea?: string | undefined;
|
|
8123
8128
|
filledArea?: string | undefined;
|
|
@@ -8835,6 +8840,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
8835
8840
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
8836
8841
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
8837
8842
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
8843
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
8838
8844
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
8839
8845
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
8840
8846
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -9147,6 +9153,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
9147
9153
|
partsEngine?: PartsEngine | undefined;
|
|
9148
9154
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
9149
9155
|
autorouter?: AutorouterProp | undefined;
|
|
9156
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
9150
9157
|
square?: boolean | undefined;
|
|
9151
9158
|
emptyArea?: string | undefined;
|
|
9152
9159
|
filledArea?: string | undefined;
|
|
@@ -9453,6 +9460,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
9453
9460
|
partsEngine?: PartsEngine | undefined;
|
|
9454
9461
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
9455
9462
|
autorouter?: AutorouterProp | undefined;
|
|
9463
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
9456
9464
|
square?: boolean | undefined;
|
|
9457
9465
|
emptyArea?: string | undefined;
|
|
9458
9466
|
filledArea?: string | undefined;
|
|
@@ -11217,6 +11225,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11217
11225
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
11218
11226
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
11219
11227
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
11228
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
11220
11229
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
11221
11230
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
11222
11231
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -11529,6 +11538,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11529
11538
|
partsEngine?: PartsEngine | undefined;
|
|
11530
11539
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
11531
11540
|
autorouter?: AutorouterProp | undefined;
|
|
11541
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
11532
11542
|
square?: boolean | undefined;
|
|
11533
11543
|
emptyArea?: string | undefined;
|
|
11534
11544
|
filledArea?: string | undefined;
|
|
@@ -11835,6 +11845,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11835
11845
|
partsEngine?: PartsEngine | undefined;
|
|
11836
11846
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
11837
11847
|
autorouter?: AutorouterProp | undefined;
|
|
11848
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
11838
11849
|
square?: boolean | undefined;
|
|
11839
11850
|
emptyArea?: string | undefined;
|
|
11840
11851
|
filledArea?: string | undefined;
|
|
@@ -12583,6 +12594,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12583
12594
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
12584
12595
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
12585
12596
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
12597
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
12586
12598
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
12587
12599
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
12588
12600
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -12920,6 +12932,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12920
12932
|
partsEngine?: PartsEngine | undefined;
|
|
12921
12933
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
12922
12934
|
autorouter?: AutorouterProp | undefined;
|
|
12935
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
12923
12936
|
square?: boolean | undefined;
|
|
12924
12937
|
emptyArea?: string | undefined;
|
|
12925
12938
|
filledArea?: string | undefined;
|
|
@@ -13240,6 +13253,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
13240
13253
|
partsEngine?: PartsEngine | undefined;
|
|
13241
13254
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
13242
13255
|
autorouter?: AutorouterProp | undefined;
|
|
13256
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
13243
13257
|
square?: boolean | undefined;
|
|
13244
13258
|
emptyArea?: string | undefined;
|
|
13245
13259
|
filledArea?: string | undefined;
|
|
@@ -16203,6 +16217,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16203
16217
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
16204
16218
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
16205
16219
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
16220
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
16206
16221
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
16207
16222
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
16208
16223
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -16518,6 +16533,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16518
16533
|
partsEngine?: PartsEngine | undefined;
|
|
16519
16534
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
16520
16535
|
autorouter?: AutorouterProp | undefined;
|
|
16536
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
16521
16537
|
square?: boolean | undefined;
|
|
16522
16538
|
emptyArea?: string | undefined;
|
|
16523
16539
|
filledArea?: string | undefined;
|
|
@@ -16823,6 +16839,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16823
16839
|
partsEngine?: PartsEngine | undefined;
|
|
16824
16840
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
16825
16841
|
autorouter?: AutorouterProp | undefined;
|
|
16842
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
16826
16843
|
square?: boolean | undefined;
|
|
16827
16844
|
emptyArea?: string | undefined;
|
|
16828
16845
|
filledArea?: string | undefined;
|
|
@@ -35032,6 +35049,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35032
35049
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
35033
35050
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
35034
35051
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
35052
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
35035
35053
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
35036
35054
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
35037
35055
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -35384,6 +35402,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35384
35402
|
partsEngine?: PartsEngine | undefined;
|
|
35385
35403
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
35386
35404
|
autorouter?: AutorouterProp | undefined;
|
|
35405
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
35387
35406
|
square?: boolean | undefined;
|
|
35388
35407
|
emptyArea?: string | undefined;
|
|
35389
35408
|
filledArea?: string | undefined;
|
|
@@ -35714,6 +35733,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35714
35733
|
partsEngine?: PartsEngine | undefined;
|
|
35715
35734
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
35716
35735
|
autorouter?: AutorouterProp | undefined;
|
|
35736
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
35717
35737
|
square?: boolean | undefined;
|
|
35718
35738
|
emptyArea?: string | undefined;
|
|
35719
35739
|
filledArea?: string | undefined;
|
|
@@ -47049,6 +47069,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47049
47069
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
47050
47070
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
47051
47071
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
47072
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
47052
47073
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
47053
47074
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
47054
47075
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -47358,6 +47379,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47358
47379
|
partsEngine?: PartsEngine | undefined;
|
|
47359
47380
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
47360
47381
|
autorouter?: AutorouterProp | undefined;
|
|
47382
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
47361
47383
|
square?: boolean | undefined;
|
|
47362
47384
|
emptyArea?: string | undefined;
|
|
47363
47385
|
filledArea?: string | undefined;
|
|
@@ -47663,6 +47685,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47663
47685
|
partsEngine?: PartsEngine | undefined;
|
|
47664
47686
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
47665
47687
|
autorouter?: AutorouterProp | undefined;
|
|
47688
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
47666
47689
|
square?: boolean | undefined;
|
|
47667
47690
|
emptyArea?: string | undefined;
|
|
47668
47691
|
filledArea?: string | undefined;
|
|
@@ -61372,6 +61395,1155 @@ declare const voltageSourceProps: z.ZodObject<{
|
|
|
61372
61395
|
}>;
|
|
61373
61396
|
declare const voltageSourcePins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
|
|
61374
61397
|
|
|
61398
|
+
declare const currentSourcePinLabels: readonly ["pin1", "pin2", "pos", "neg"];
|
|
61399
|
+
type CurrentSourcePinLabels = (typeof currentSourcePinLabels)[number];
|
|
61400
|
+
interface CurrentSourceProps<PinLabel extends string = string> extends CommonComponentProps<PinLabel> {
|
|
61401
|
+
current?: number | string;
|
|
61402
|
+
frequency?: number | string;
|
|
61403
|
+
peakToPeakCurrent?: number | string;
|
|
61404
|
+
waveShape?: WaveShape;
|
|
61405
|
+
phase?: number | string;
|
|
61406
|
+
dutyCycle?: number | string;
|
|
61407
|
+
connections?: Connections<CurrentSourcePinLabels>;
|
|
61408
|
+
}
|
|
61409
|
+
declare const currentSourceProps: z.ZodObject<{
|
|
61410
|
+
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
61411
|
+
pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
61412
|
+
pcbLeftEdgeX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
61413
|
+
pcbRightEdgeX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
61414
|
+
pcbTopEdgeY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
61415
|
+
pcbBottomEdgeY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
61416
|
+
pcbOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61417
|
+
pcbOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61418
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61419
|
+
pcbPositionAnchor: z.ZodOptional<z.ZodString>;
|
|
61420
|
+
pcbPositionMode: z.ZodOptional<z.ZodEnum<["relative_to_group_anchor", "auto", "relative_to_board_anchor", "relative_to_component_anchor"]>>;
|
|
61421
|
+
pcbMarginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61422
|
+
pcbMarginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61423
|
+
pcbMarginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61424
|
+
pcbMarginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61425
|
+
pcbMarginX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61426
|
+
pcbMarginY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61427
|
+
pcbStyle: z.ZodOptional<z.ZodObject<{
|
|
61428
|
+
silkscreenFontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61429
|
+
viaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61430
|
+
viaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61431
|
+
silkscreenTextPosition: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["centered", "outside", "none"]>, z.ZodObject<{
|
|
61432
|
+
offsetX: z.ZodNumber;
|
|
61433
|
+
offsetY: z.ZodNumber;
|
|
61434
|
+
}, "strip", z.ZodTypeAny, {
|
|
61435
|
+
offsetX: number;
|
|
61436
|
+
offsetY: number;
|
|
61437
|
+
}, {
|
|
61438
|
+
offsetX: number;
|
|
61439
|
+
offsetY: number;
|
|
61440
|
+
}>]>>;
|
|
61441
|
+
silkscreenTextVisibility: z.ZodOptional<z.ZodEnum<["hidden", "visible", "inherit"]>>;
|
|
61442
|
+
}, "strip", z.ZodTypeAny, {
|
|
61443
|
+
silkscreenFontSize?: number | undefined;
|
|
61444
|
+
viaPadDiameter?: number | undefined;
|
|
61445
|
+
viaHoleDiameter?: number | undefined;
|
|
61446
|
+
silkscreenTextPosition?: "centered" | "outside" | "none" | {
|
|
61447
|
+
offsetX: number;
|
|
61448
|
+
offsetY: number;
|
|
61449
|
+
} | undefined;
|
|
61450
|
+
silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
61451
|
+
}, {
|
|
61452
|
+
silkscreenFontSize?: string | number | undefined;
|
|
61453
|
+
viaPadDiameter?: string | number | undefined;
|
|
61454
|
+
viaHoleDiameter?: string | number | undefined;
|
|
61455
|
+
silkscreenTextPosition?: "centered" | "outside" | "none" | {
|
|
61456
|
+
offsetX: number;
|
|
61457
|
+
offsetY: number;
|
|
61458
|
+
} | undefined;
|
|
61459
|
+
silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
61460
|
+
}>>;
|
|
61461
|
+
schMarginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61462
|
+
schMarginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61463
|
+
schMarginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61464
|
+
schMarginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61465
|
+
schMarginX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61466
|
+
schMarginY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61467
|
+
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61468
|
+
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61469
|
+
schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61470
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
61471
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
61472
|
+
}, "strip", z.ZodTypeAny, {
|
|
61473
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
61474
|
+
}, {
|
|
61475
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
61476
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
61477
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
61478
|
+
}>>;
|
|
61479
|
+
footprint: z.ZodOptional<z.ZodType<FootprintProp, z.ZodTypeDef, FootprintProp>>;
|
|
61480
|
+
symbol: z.ZodOptional<z.ZodType<SymbolProp, z.ZodTypeDef, SymbolProp>>;
|
|
61481
|
+
schStyle: z.ZodOptional<z.ZodObject<{
|
|
61482
|
+
defaultPassiveSize: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["xs", "sm", "md"]>, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
61483
|
+
defaultCapacitorOrientation: z.ZodOptional<z.ZodEnum<["vertical", "none"]>>;
|
|
61484
|
+
}, "strip", z.ZodTypeAny, {
|
|
61485
|
+
defaultPassiveSize?: number | "xs" | "sm" | "md" | undefined;
|
|
61486
|
+
defaultCapacitorOrientation?: "none" | "vertical" | undefined;
|
|
61487
|
+
}, {
|
|
61488
|
+
defaultPassiveSize?: string | number | undefined;
|
|
61489
|
+
defaultCapacitorOrientation?: "none" | "vertical" | undefined;
|
|
61490
|
+
}>>;
|
|
61491
|
+
relative: z.ZodOptional<z.ZodBoolean>;
|
|
61492
|
+
schRelative: z.ZodOptional<z.ZodBoolean>;
|
|
61493
|
+
pcbRelative: z.ZodOptional<z.ZodBoolean>;
|
|
61494
|
+
} & {
|
|
61495
|
+
supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
61496
|
+
} & {
|
|
61497
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
61498
|
+
name: z.ZodString;
|
|
61499
|
+
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodType<react.ReactElement<any, string | react.JSXElementConstructor<any>>, z.ZodTypeDef, react.ReactElement<any, string | react.JSXElementConstructor<any>>>, z.ZodObject<{
|
|
61500
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
61501
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61502
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61503
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61504
|
+
}, "strip", z.ZodTypeAny, {
|
|
61505
|
+
x: string | number;
|
|
61506
|
+
y: string | number;
|
|
61507
|
+
z: string | number;
|
|
61508
|
+
}, {
|
|
61509
|
+
x: string | number;
|
|
61510
|
+
y: string | number;
|
|
61511
|
+
z: string | number;
|
|
61512
|
+
}>]>>;
|
|
61513
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
61514
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61515
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61516
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61517
|
+
}, "strip", z.ZodTypeAny, {
|
|
61518
|
+
x: number;
|
|
61519
|
+
y: number;
|
|
61520
|
+
z: number;
|
|
61521
|
+
}, {
|
|
61522
|
+
x: string | number;
|
|
61523
|
+
y: string | number;
|
|
61524
|
+
z: string | number;
|
|
61525
|
+
}>>;
|
|
61526
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
61527
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61528
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61529
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61530
|
+
}, "strip", z.ZodTypeAny, {
|
|
61531
|
+
x: number;
|
|
61532
|
+
y: number;
|
|
61533
|
+
z: number;
|
|
61534
|
+
}, {
|
|
61535
|
+
x: string | number;
|
|
61536
|
+
y: string | number;
|
|
61537
|
+
z: string | number;
|
|
61538
|
+
}>>;
|
|
61539
|
+
modelUnitToMmScale: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61540
|
+
zOffsetFromSurface: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61541
|
+
} & {
|
|
61542
|
+
stlUrl: z.ZodString;
|
|
61543
|
+
}, "strip", z.ZodTypeAny, {
|
|
61544
|
+
stlUrl: string;
|
|
61545
|
+
rotationOffset?: number | {
|
|
61546
|
+
x: string | number;
|
|
61547
|
+
y: string | number;
|
|
61548
|
+
z: string | number;
|
|
61549
|
+
} | undefined;
|
|
61550
|
+
positionOffset?: {
|
|
61551
|
+
x: number;
|
|
61552
|
+
y: number;
|
|
61553
|
+
z: number;
|
|
61554
|
+
} | undefined;
|
|
61555
|
+
size?: {
|
|
61556
|
+
x: number;
|
|
61557
|
+
y: number;
|
|
61558
|
+
z: number;
|
|
61559
|
+
} | undefined;
|
|
61560
|
+
modelUnitToMmScale?: number | undefined;
|
|
61561
|
+
zOffsetFromSurface?: number | undefined;
|
|
61562
|
+
}, {
|
|
61563
|
+
stlUrl: string;
|
|
61564
|
+
rotationOffset?: number | {
|
|
61565
|
+
x: string | number;
|
|
61566
|
+
y: string | number;
|
|
61567
|
+
z: string | number;
|
|
61568
|
+
} | undefined;
|
|
61569
|
+
positionOffset?: {
|
|
61570
|
+
x: string | number;
|
|
61571
|
+
y: string | number;
|
|
61572
|
+
z: string | number;
|
|
61573
|
+
} | undefined;
|
|
61574
|
+
size?: {
|
|
61575
|
+
x: string | number;
|
|
61576
|
+
y: string | number;
|
|
61577
|
+
z: string | number;
|
|
61578
|
+
} | undefined;
|
|
61579
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
61580
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
61581
|
+
}>, z.ZodObject<{
|
|
61582
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
61583
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61584
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61585
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61586
|
+
}, "strip", z.ZodTypeAny, {
|
|
61587
|
+
x: string | number;
|
|
61588
|
+
y: string | number;
|
|
61589
|
+
z: string | number;
|
|
61590
|
+
}, {
|
|
61591
|
+
x: string | number;
|
|
61592
|
+
y: string | number;
|
|
61593
|
+
z: string | number;
|
|
61594
|
+
}>]>>;
|
|
61595
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
61596
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61597
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61598
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61599
|
+
}, "strip", z.ZodTypeAny, {
|
|
61600
|
+
x: number;
|
|
61601
|
+
y: number;
|
|
61602
|
+
z: number;
|
|
61603
|
+
}, {
|
|
61604
|
+
x: string | number;
|
|
61605
|
+
y: string | number;
|
|
61606
|
+
z: string | number;
|
|
61607
|
+
}>>;
|
|
61608
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
61609
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61610
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61611
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61612
|
+
}, "strip", z.ZodTypeAny, {
|
|
61613
|
+
x: number;
|
|
61614
|
+
y: number;
|
|
61615
|
+
z: number;
|
|
61616
|
+
}, {
|
|
61617
|
+
x: string | number;
|
|
61618
|
+
y: string | number;
|
|
61619
|
+
z: string | number;
|
|
61620
|
+
}>>;
|
|
61621
|
+
modelUnitToMmScale: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61622
|
+
zOffsetFromSurface: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61623
|
+
} & {
|
|
61624
|
+
objUrl: z.ZodString;
|
|
61625
|
+
mtlUrl: z.ZodOptional<z.ZodString>;
|
|
61626
|
+
}, "strip", z.ZodTypeAny, {
|
|
61627
|
+
objUrl: string;
|
|
61628
|
+
rotationOffset?: number | {
|
|
61629
|
+
x: string | number;
|
|
61630
|
+
y: string | number;
|
|
61631
|
+
z: string | number;
|
|
61632
|
+
} | undefined;
|
|
61633
|
+
positionOffset?: {
|
|
61634
|
+
x: number;
|
|
61635
|
+
y: number;
|
|
61636
|
+
z: number;
|
|
61637
|
+
} | undefined;
|
|
61638
|
+
size?: {
|
|
61639
|
+
x: number;
|
|
61640
|
+
y: number;
|
|
61641
|
+
z: number;
|
|
61642
|
+
} | undefined;
|
|
61643
|
+
modelUnitToMmScale?: number | undefined;
|
|
61644
|
+
zOffsetFromSurface?: number | undefined;
|
|
61645
|
+
mtlUrl?: string | undefined;
|
|
61646
|
+
}, {
|
|
61647
|
+
objUrl: string;
|
|
61648
|
+
rotationOffset?: number | {
|
|
61649
|
+
x: string | number;
|
|
61650
|
+
y: string | number;
|
|
61651
|
+
z: string | number;
|
|
61652
|
+
} | undefined;
|
|
61653
|
+
positionOffset?: {
|
|
61654
|
+
x: string | number;
|
|
61655
|
+
y: string | number;
|
|
61656
|
+
z: string | number;
|
|
61657
|
+
} | undefined;
|
|
61658
|
+
size?: {
|
|
61659
|
+
x: string | number;
|
|
61660
|
+
y: string | number;
|
|
61661
|
+
z: string | number;
|
|
61662
|
+
} | undefined;
|
|
61663
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
61664
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
61665
|
+
mtlUrl?: string | undefined;
|
|
61666
|
+
}>, z.ZodObject<{
|
|
61667
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
61668
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61669
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61670
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61671
|
+
}, "strip", z.ZodTypeAny, {
|
|
61672
|
+
x: string | number;
|
|
61673
|
+
y: string | number;
|
|
61674
|
+
z: string | number;
|
|
61675
|
+
}, {
|
|
61676
|
+
x: string | number;
|
|
61677
|
+
y: string | number;
|
|
61678
|
+
z: string | number;
|
|
61679
|
+
}>]>>;
|
|
61680
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
61681
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61682
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61683
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61684
|
+
}, "strip", z.ZodTypeAny, {
|
|
61685
|
+
x: number;
|
|
61686
|
+
y: number;
|
|
61687
|
+
z: number;
|
|
61688
|
+
}, {
|
|
61689
|
+
x: string | number;
|
|
61690
|
+
y: string | number;
|
|
61691
|
+
z: string | number;
|
|
61692
|
+
}>>;
|
|
61693
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
61694
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61695
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61696
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61697
|
+
}, "strip", z.ZodTypeAny, {
|
|
61698
|
+
x: number;
|
|
61699
|
+
y: number;
|
|
61700
|
+
z: number;
|
|
61701
|
+
}, {
|
|
61702
|
+
x: string | number;
|
|
61703
|
+
y: string | number;
|
|
61704
|
+
z: string | number;
|
|
61705
|
+
}>>;
|
|
61706
|
+
modelUnitToMmScale: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61707
|
+
zOffsetFromSurface: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61708
|
+
} & {
|
|
61709
|
+
gltfUrl: z.ZodString;
|
|
61710
|
+
}, "strip", z.ZodTypeAny, {
|
|
61711
|
+
gltfUrl: string;
|
|
61712
|
+
rotationOffset?: number | {
|
|
61713
|
+
x: string | number;
|
|
61714
|
+
y: string | number;
|
|
61715
|
+
z: string | number;
|
|
61716
|
+
} | undefined;
|
|
61717
|
+
positionOffset?: {
|
|
61718
|
+
x: number;
|
|
61719
|
+
y: number;
|
|
61720
|
+
z: number;
|
|
61721
|
+
} | undefined;
|
|
61722
|
+
size?: {
|
|
61723
|
+
x: number;
|
|
61724
|
+
y: number;
|
|
61725
|
+
z: number;
|
|
61726
|
+
} | undefined;
|
|
61727
|
+
modelUnitToMmScale?: number | undefined;
|
|
61728
|
+
zOffsetFromSurface?: number | undefined;
|
|
61729
|
+
}, {
|
|
61730
|
+
gltfUrl: string;
|
|
61731
|
+
rotationOffset?: number | {
|
|
61732
|
+
x: string | number;
|
|
61733
|
+
y: string | number;
|
|
61734
|
+
z: string | number;
|
|
61735
|
+
} | undefined;
|
|
61736
|
+
positionOffset?: {
|
|
61737
|
+
x: string | number;
|
|
61738
|
+
y: string | number;
|
|
61739
|
+
z: string | number;
|
|
61740
|
+
} | undefined;
|
|
61741
|
+
size?: {
|
|
61742
|
+
x: string | number;
|
|
61743
|
+
y: string | number;
|
|
61744
|
+
z: string | number;
|
|
61745
|
+
} | undefined;
|
|
61746
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
61747
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
61748
|
+
}>, z.ZodObject<{
|
|
61749
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
61750
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61751
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61752
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61753
|
+
}, "strip", z.ZodTypeAny, {
|
|
61754
|
+
x: string | number;
|
|
61755
|
+
y: string | number;
|
|
61756
|
+
z: string | number;
|
|
61757
|
+
}, {
|
|
61758
|
+
x: string | number;
|
|
61759
|
+
y: string | number;
|
|
61760
|
+
z: string | number;
|
|
61761
|
+
}>]>>;
|
|
61762
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
61763
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61764
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61765
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61766
|
+
}, "strip", z.ZodTypeAny, {
|
|
61767
|
+
x: number;
|
|
61768
|
+
y: number;
|
|
61769
|
+
z: number;
|
|
61770
|
+
}, {
|
|
61771
|
+
x: string | number;
|
|
61772
|
+
y: string | number;
|
|
61773
|
+
z: string | number;
|
|
61774
|
+
}>>;
|
|
61775
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
61776
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61777
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61778
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61779
|
+
}, "strip", z.ZodTypeAny, {
|
|
61780
|
+
x: number;
|
|
61781
|
+
y: number;
|
|
61782
|
+
z: number;
|
|
61783
|
+
}, {
|
|
61784
|
+
x: string | number;
|
|
61785
|
+
y: string | number;
|
|
61786
|
+
z: string | number;
|
|
61787
|
+
}>>;
|
|
61788
|
+
modelUnitToMmScale: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61789
|
+
zOffsetFromSurface: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61790
|
+
} & {
|
|
61791
|
+
glbUrl: z.ZodString;
|
|
61792
|
+
}, "strip", z.ZodTypeAny, {
|
|
61793
|
+
glbUrl: string;
|
|
61794
|
+
rotationOffset?: number | {
|
|
61795
|
+
x: string | number;
|
|
61796
|
+
y: string | number;
|
|
61797
|
+
z: string | number;
|
|
61798
|
+
} | undefined;
|
|
61799
|
+
positionOffset?: {
|
|
61800
|
+
x: number;
|
|
61801
|
+
y: number;
|
|
61802
|
+
z: number;
|
|
61803
|
+
} | undefined;
|
|
61804
|
+
size?: {
|
|
61805
|
+
x: number;
|
|
61806
|
+
y: number;
|
|
61807
|
+
z: number;
|
|
61808
|
+
} | undefined;
|
|
61809
|
+
modelUnitToMmScale?: number | undefined;
|
|
61810
|
+
zOffsetFromSurface?: number | undefined;
|
|
61811
|
+
}, {
|
|
61812
|
+
glbUrl: string;
|
|
61813
|
+
rotationOffset?: number | {
|
|
61814
|
+
x: string | number;
|
|
61815
|
+
y: string | number;
|
|
61816
|
+
z: string | number;
|
|
61817
|
+
} | undefined;
|
|
61818
|
+
positionOffset?: {
|
|
61819
|
+
x: string | number;
|
|
61820
|
+
y: string | number;
|
|
61821
|
+
z: string | number;
|
|
61822
|
+
} | undefined;
|
|
61823
|
+
size?: {
|
|
61824
|
+
x: string | number;
|
|
61825
|
+
y: string | number;
|
|
61826
|
+
z: string | number;
|
|
61827
|
+
} | undefined;
|
|
61828
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
61829
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
61830
|
+
}>, z.ZodObject<{
|
|
61831
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
61832
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61833
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61834
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61835
|
+
}, "strip", z.ZodTypeAny, {
|
|
61836
|
+
x: string | number;
|
|
61837
|
+
y: string | number;
|
|
61838
|
+
z: string | number;
|
|
61839
|
+
}, {
|
|
61840
|
+
x: string | number;
|
|
61841
|
+
y: string | number;
|
|
61842
|
+
z: string | number;
|
|
61843
|
+
}>]>>;
|
|
61844
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
61845
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61846
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61847
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61848
|
+
}, "strip", z.ZodTypeAny, {
|
|
61849
|
+
x: number;
|
|
61850
|
+
y: number;
|
|
61851
|
+
z: number;
|
|
61852
|
+
}, {
|
|
61853
|
+
x: string | number;
|
|
61854
|
+
y: string | number;
|
|
61855
|
+
z: string | number;
|
|
61856
|
+
}>>;
|
|
61857
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
61858
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61859
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61860
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61861
|
+
}, "strip", z.ZodTypeAny, {
|
|
61862
|
+
x: number;
|
|
61863
|
+
y: number;
|
|
61864
|
+
z: number;
|
|
61865
|
+
}, {
|
|
61866
|
+
x: string | number;
|
|
61867
|
+
y: string | number;
|
|
61868
|
+
z: string | number;
|
|
61869
|
+
}>>;
|
|
61870
|
+
modelUnitToMmScale: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61871
|
+
zOffsetFromSurface: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61872
|
+
} & {
|
|
61873
|
+
stepUrl: z.ZodString;
|
|
61874
|
+
}, "strip", z.ZodTypeAny, {
|
|
61875
|
+
stepUrl: string;
|
|
61876
|
+
rotationOffset?: number | {
|
|
61877
|
+
x: string | number;
|
|
61878
|
+
y: string | number;
|
|
61879
|
+
z: string | number;
|
|
61880
|
+
} | undefined;
|
|
61881
|
+
positionOffset?: {
|
|
61882
|
+
x: number;
|
|
61883
|
+
y: number;
|
|
61884
|
+
z: number;
|
|
61885
|
+
} | undefined;
|
|
61886
|
+
size?: {
|
|
61887
|
+
x: number;
|
|
61888
|
+
y: number;
|
|
61889
|
+
z: number;
|
|
61890
|
+
} | undefined;
|
|
61891
|
+
modelUnitToMmScale?: number | undefined;
|
|
61892
|
+
zOffsetFromSurface?: number | undefined;
|
|
61893
|
+
}, {
|
|
61894
|
+
stepUrl: string;
|
|
61895
|
+
rotationOffset?: number | {
|
|
61896
|
+
x: string | number;
|
|
61897
|
+
y: string | number;
|
|
61898
|
+
z: string | number;
|
|
61899
|
+
} | undefined;
|
|
61900
|
+
positionOffset?: {
|
|
61901
|
+
x: string | number;
|
|
61902
|
+
y: string | number;
|
|
61903
|
+
z: string | number;
|
|
61904
|
+
} | undefined;
|
|
61905
|
+
size?: {
|
|
61906
|
+
x: string | number;
|
|
61907
|
+
y: string | number;
|
|
61908
|
+
z: string | number;
|
|
61909
|
+
} | undefined;
|
|
61910
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
61911
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
61912
|
+
}>, z.ZodObject<{
|
|
61913
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
61914
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61915
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61916
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61917
|
+
}, "strip", z.ZodTypeAny, {
|
|
61918
|
+
x: string | number;
|
|
61919
|
+
y: string | number;
|
|
61920
|
+
z: string | number;
|
|
61921
|
+
}, {
|
|
61922
|
+
x: string | number;
|
|
61923
|
+
y: string | number;
|
|
61924
|
+
z: string | number;
|
|
61925
|
+
}>]>>;
|
|
61926
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
61927
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61928
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61929
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61930
|
+
}, "strip", z.ZodTypeAny, {
|
|
61931
|
+
x: number;
|
|
61932
|
+
y: number;
|
|
61933
|
+
z: number;
|
|
61934
|
+
}, {
|
|
61935
|
+
x: string | number;
|
|
61936
|
+
y: string | number;
|
|
61937
|
+
z: string | number;
|
|
61938
|
+
}>>;
|
|
61939
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
61940
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61941
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61942
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
61943
|
+
}, "strip", z.ZodTypeAny, {
|
|
61944
|
+
x: number;
|
|
61945
|
+
y: number;
|
|
61946
|
+
z: number;
|
|
61947
|
+
}, {
|
|
61948
|
+
x: string | number;
|
|
61949
|
+
y: string | number;
|
|
61950
|
+
z: string | number;
|
|
61951
|
+
}>>;
|
|
61952
|
+
modelUnitToMmScale: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61953
|
+
zOffsetFromSurface: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
61954
|
+
} & {
|
|
61955
|
+
wrlUrl: z.ZodString;
|
|
61956
|
+
}, "strip", z.ZodTypeAny, {
|
|
61957
|
+
wrlUrl: string;
|
|
61958
|
+
rotationOffset?: number | {
|
|
61959
|
+
x: string | number;
|
|
61960
|
+
y: string | number;
|
|
61961
|
+
z: string | number;
|
|
61962
|
+
} | undefined;
|
|
61963
|
+
positionOffset?: {
|
|
61964
|
+
x: number;
|
|
61965
|
+
y: number;
|
|
61966
|
+
z: number;
|
|
61967
|
+
} | undefined;
|
|
61968
|
+
size?: {
|
|
61969
|
+
x: number;
|
|
61970
|
+
y: number;
|
|
61971
|
+
z: number;
|
|
61972
|
+
} | undefined;
|
|
61973
|
+
modelUnitToMmScale?: number | undefined;
|
|
61974
|
+
zOffsetFromSurface?: number | undefined;
|
|
61975
|
+
}, {
|
|
61976
|
+
wrlUrl: string;
|
|
61977
|
+
rotationOffset?: number | {
|
|
61978
|
+
x: string | number;
|
|
61979
|
+
y: string | number;
|
|
61980
|
+
z: string | number;
|
|
61981
|
+
} | undefined;
|
|
61982
|
+
positionOffset?: {
|
|
61983
|
+
x: string | number;
|
|
61984
|
+
y: string | number;
|
|
61985
|
+
z: string | number;
|
|
61986
|
+
} | undefined;
|
|
61987
|
+
size?: {
|
|
61988
|
+
x: string | number;
|
|
61989
|
+
y: string | number;
|
|
61990
|
+
z: string | number;
|
|
61991
|
+
} | undefined;
|
|
61992
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
61993
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
61994
|
+
}>, z.ZodObject<{
|
|
61995
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
61996
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61997
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61998
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
61999
|
+
}, "strip", z.ZodTypeAny, {
|
|
62000
|
+
x: string | number;
|
|
62001
|
+
y: string | number;
|
|
62002
|
+
z: string | number;
|
|
62003
|
+
}, {
|
|
62004
|
+
x: string | number;
|
|
62005
|
+
y: string | number;
|
|
62006
|
+
z: string | number;
|
|
62007
|
+
}>]>>;
|
|
62008
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
62009
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
62010
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
62011
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
62012
|
+
}, "strip", z.ZodTypeAny, {
|
|
62013
|
+
x: number;
|
|
62014
|
+
y: number;
|
|
62015
|
+
z: number;
|
|
62016
|
+
}, {
|
|
62017
|
+
x: string | number;
|
|
62018
|
+
y: string | number;
|
|
62019
|
+
z: string | number;
|
|
62020
|
+
}>>;
|
|
62021
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
62022
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
62023
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
62024
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
62025
|
+
}, "strip", z.ZodTypeAny, {
|
|
62026
|
+
x: number;
|
|
62027
|
+
y: number;
|
|
62028
|
+
z: number;
|
|
62029
|
+
}, {
|
|
62030
|
+
x: string | number;
|
|
62031
|
+
y: string | number;
|
|
62032
|
+
z: string | number;
|
|
62033
|
+
}>>;
|
|
62034
|
+
modelUnitToMmScale: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
62035
|
+
zOffsetFromSurface: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
62036
|
+
} & {
|
|
62037
|
+
jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
62038
|
+
}, "strip", z.ZodTypeAny, {
|
|
62039
|
+
jscad: Record<string, any>;
|
|
62040
|
+
rotationOffset?: number | {
|
|
62041
|
+
x: string | number;
|
|
62042
|
+
y: string | number;
|
|
62043
|
+
z: string | number;
|
|
62044
|
+
} | undefined;
|
|
62045
|
+
positionOffset?: {
|
|
62046
|
+
x: number;
|
|
62047
|
+
y: number;
|
|
62048
|
+
z: number;
|
|
62049
|
+
} | undefined;
|
|
62050
|
+
size?: {
|
|
62051
|
+
x: number;
|
|
62052
|
+
y: number;
|
|
62053
|
+
z: number;
|
|
62054
|
+
} | undefined;
|
|
62055
|
+
modelUnitToMmScale?: number | undefined;
|
|
62056
|
+
zOffsetFromSurface?: number | undefined;
|
|
62057
|
+
}, {
|
|
62058
|
+
jscad: Record<string, any>;
|
|
62059
|
+
rotationOffset?: number | {
|
|
62060
|
+
x: string | number;
|
|
62061
|
+
y: string | number;
|
|
62062
|
+
z: string | number;
|
|
62063
|
+
} | undefined;
|
|
62064
|
+
positionOffset?: {
|
|
62065
|
+
x: string | number;
|
|
62066
|
+
y: string | number;
|
|
62067
|
+
z: string | number;
|
|
62068
|
+
} | undefined;
|
|
62069
|
+
size?: {
|
|
62070
|
+
x: string | number;
|
|
62071
|
+
y: string | number;
|
|
62072
|
+
z: string | number;
|
|
62073
|
+
} | undefined;
|
|
62074
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
62075
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
62076
|
+
}>]>>;
|
|
62077
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
62078
|
+
symbolName: z.ZodOptional<z.ZodString>;
|
|
62079
|
+
doNotPlace: z.ZodOptional<z.ZodBoolean>;
|
|
62080
|
+
obstructsWithinBounds: z.ZodOptional<z.ZodBoolean>;
|
|
62081
|
+
showAsTranslucentModel: z.ZodOptional<z.ZodBoolean>;
|
|
62082
|
+
pinAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
62083
|
+
providesPower: z.ZodOptional<z.ZodBoolean>;
|
|
62084
|
+
requiresPower: z.ZodOptional<z.ZodBoolean>;
|
|
62085
|
+
providesGround: z.ZodOptional<z.ZodBoolean>;
|
|
62086
|
+
requiresGround: z.ZodOptional<z.ZodBoolean>;
|
|
62087
|
+
providesVoltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
62088
|
+
requiresVoltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
62089
|
+
doNotConnect: z.ZodOptional<z.ZodBoolean>;
|
|
62090
|
+
includeInBoardPinout: z.ZodOptional<z.ZodBoolean>;
|
|
62091
|
+
highlightColor: z.ZodOptional<z.ZodString>;
|
|
62092
|
+
mustBeConnected: z.ZodOptional<z.ZodBoolean>;
|
|
62093
|
+
}, "strip", z.ZodTypeAny, {
|
|
62094
|
+
providesPower?: boolean | undefined;
|
|
62095
|
+
requiresPower?: boolean | undefined;
|
|
62096
|
+
providesGround?: boolean | undefined;
|
|
62097
|
+
requiresGround?: boolean | undefined;
|
|
62098
|
+
providesVoltage?: string | number | undefined;
|
|
62099
|
+
requiresVoltage?: string | number | undefined;
|
|
62100
|
+
doNotConnect?: boolean | undefined;
|
|
62101
|
+
includeInBoardPinout?: boolean | undefined;
|
|
62102
|
+
highlightColor?: string | undefined;
|
|
62103
|
+
mustBeConnected?: boolean | undefined;
|
|
62104
|
+
}, {
|
|
62105
|
+
providesPower?: boolean | undefined;
|
|
62106
|
+
requiresPower?: boolean | undefined;
|
|
62107
|
+
providesGround?: boolean | undefined;
|
|
62108
|
+
requiresGround?: boolean | undefined;
|
|
62109
|
+
providesVoltage?: string | number | undefined;
|
|
62110
|
+
requiresVoltage?: string | number | undefined;
|
|
62111
|
+
doNotConnect?: boolean | undefined;
|
|
62112
|
+
includeInBoardPinout?: boolean | undefined;
|
|
62113
|
+
highlightColor?: string | undefined;
|
|
62114
|
+
mustBeConnected?: boolean | undefined;
|
|
62115
|
+
}>>>;
|
|
62116
|
+
} & {
|
|
62117
|
+
current: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
62118
|
+
frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
62119
|
+
peakToPeakCurrent: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
62120
|
+
waveShape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
|
|
62121
|
+
phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
62122
|
+
dutyCycle: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
|
|
62123
|
+
connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
62124
|
+
}, "strip", z.ZodTypeAny, {
|
|
62125
|
+
name: string;
|
|
62126
|
+
symbol?: SymbolProp | undefined;
|
|
62127
|
+
key?: any;
|
|
62128
|
+
pcbX?: string | number | undefined;
|
|
62129
|
+
pcbY?: string | number | undefined;
|
|
62130
|
+
pcbLeftEdgeX?: string | number | undefined;
|
|
62131
|
+
pcbRightEdgeX?: string | number | undefined;
|
|
62132
|
+
pcbTopEdgeY?: string | number | undefined;
|
|
62133
|
+
pcbBottomEdgeY?: string | number | undefined;
|
|
62134
|
+
pcbOffsetX?: number | undefined;
|
|
62135
|
+
pcbOffsetY?: number | undefined;
|
|
62136
|
+
pcbRotation?: number | undefined;
|
|
62137
|
+
pcbPositionAnchor?: string | undefined;
|
|
62138
|
+
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
62139
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
62140
|
+
pcbMarginTop?: number | undefined;
|
|
62141
|
+
pcbMarginRight?: number | undefined;
|
|
62142
|
+
pcbMarginBottom?: number | undefined;
|
|
62143
|
+
pcbMarginLeft?: number | undefined;
|
|
62144
|
+
pcbMarginX?: number | undefined;
|
|
62145
|
+
pcbMarginY?: number | undefined;
|
|
62146
|
+
pcbStyle?: {
|
|
62147
|
+
silkscreenFontSize?: number | undefined;
|
|
62148
|
+
viaPadDiameter?: number | undefined;
|
|
62149
|
+
viaHoleDiameter?: number | undefined;
|
|
62150
|
+
silkscreenTextPosition?: "centered" | "outside" | "none" | {
|
|
62151
|
+
offsetX: number;
|
|
62152
|
+
offsetY: number;
|
|
62153
|
+
} | undefined;
|
|
62154
|
+
silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
62155
|
+
} | undefined;
|
|
62156
|
+
pcbRelative?: boolean | undefined;
|
|
62157
|
+
relative?: boolean | undefined;
|
|
62158
|
+
schMarginTop?: number | undefined;
|
|
62159
|
+
schMarginRight?: number | undefined;
|
|
62160
|
+
schMarginBottom?: number | undefined;
|
|
62161
|
+
schMarginLeft?: number | undefined;
|
|
62162
|
+
schMarginX?: number | undefined;
|
|
62163
|
+
schMarginY?: number | undefined;
|
|
62164
|
+
schX?: number | undefined;
|
|
62165
|
+
schY?: number | undefined;
|
|
62166
|
+
schRotation?: number | undefined;
|
|
62167
|
+
footprint?: FootprintProp | undefined;
|
|
62168
|
+
schStyle?: {
|
|
62169
|
+
defaultPassiveSize?: number | "xs" | "sm" | "md" | undefined;
|
|
62170
|
+
defaultCapacitorOrientation?: "none" | "vertical" | undefined;
|
|
62171
|
+
} | undefined;
|
|
62172
|
+
schRelative?: boolean | undefined;
|
|
62173
|
+
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
62174
|
+
pinAttributes?: Record<string, {
|
|
62175
|
+
providesPower?: boolean | undefined;
|
|
62176
|
+
requiresPower?: boolean | undefined;
|
|
62177
|
+
providesGround?: boolean | undefined;
|
|
62178
|
+
requiresGround?: boolean | undefined;
|
|
62179
|
+
providesVoltage?: string | number | undefined;
|
|
62180
|
+
requiresVoltage?: string | number | undefined;
|
|
62181
|
+
doNotConnect?: boolean | undefined;
|
|
62182
|
+
includeInBoardPinout?: boolean | undefined;
|
|
62183
|
+
highlightColor?: string | undefined;
|
|
62184
|
+
mustBeConnected?: boolean | undefined;
|
|
62185
|
+
}> | undefined;
|
|
62186
|
+
cadModel?: string | {
|
|
62187
|
+
stlUrl: string;
|
|
62188
|
+
rotationOffset?: number | {
|
|
62189
|
+
x: string | number;
|
|
62190
|
+
y: string | number;
|
|
62191
|
+
z: string | number;
|
|
62192
|
+
} | undefined;
|
|
62193
|
+
positionOffset?: {
|
|
62194
|
+
x: number;
|
|
62195
|
+
y: number;
|
|
62196
|
+
z: number;
|
|
62197
|
+
} | undefined;
|
|
62198
|
+
size?: {
|
|
62199
|
+
x: number;
|
|
62200
|
+
y: number;
|
|
62201
|
+
z: number;
|
|
62202
|
+
} | undefined;
|
|
62203
|
+
modelUnitToMmScale?: number | undefined;
|
|
62204
|
+
zOffsetFromSurface?: number | undefined;
|
|
62205
|
+
} | {
|
|
62206
|
+
objUrl: string;
|
|
62207
|
+
rotationOffset?: number | {
|
|
62208
|
+
x: string | number;
|
|
62209
|
+
y: string | number;
|
|
62210
|
+
z: string | number;
|
|
62211
|
+
} | undefined;
|
|
62212
|
+
positionOffset?: {
|
|
62213
|
+
x: number;
|
|
62214
|
+
y: number;
|
|
62215
|
+
z: number;
|
|
62216
|
+
} | undefined;
|
|
62217
|
+
size?: {
|
|
62218
|
+
x: number;
|
|
62219
|
+
y: number;
|
|
62220
|
+
z: number;
|
|
62221
|
+
} | undefined;
|
|
62222
|
+
modelUnitToMmScale?: number | undefined;
|
|
62223
|
+
zOffsetFromSurface?: number | undefined;
|
|
62224
|
+
mtlUrl?: string | undefined;
|
|
62225
|
+
} | {
|
|
62226
|
+
gltfUrl: string;
|
|
62227
|
+
rotationOffset?: number | {
|
|
62228
|
+
x: string | number;
|
|
62229
|
+
y: string | number;
|
|
62230
|
+
z: string | number;
|
|
62231
|
+
} | undefined;
|
|
62232
|
+
positionOffset?: {
|
|
62233
|
+
x: number;
|
|
62234
|
+
y: number;
|
|
62235
|
+
z: number;
|
|
62236
|
+
} | undefined;
|
|
62237
|
+
size?: {
|
|
62238
|
+
x: number;
|
|
62239
|
+
y: number;
|
|
62240
|
+
z: number;
|
|
62241
|
+
} | undefined;
|
|
62242
|
+
modelUnitToMmScale?: number | undefined;
|
|
62243
|
+
zOffsetFromSurface?: number | undefined;
|
|
62244
|
+
} | {
|
|
62245
|
+
glbUrl: string;
|
|
62246
|
+
rotationOffset?: number | {
|
|
62247
|
+
x: string | number;
|
|
62248
|
+
y: string | number;
|
|
62249
|
+
z: string | number;
|
|
62250
|
+
} | undefined;
|
|
62251
|
+
positionOffset?: {
|
|
62252
|
+
x: number;
|
|
62253
|
+
y: number;
|
|
62254
|
+
z: number;
|
|
62255
|
+
} | undefined;
|
|
62256
|
+
size?: {
|
|
62257
|
+
x: number;
|
|
62258
|
+
y: number;
|
|
62259
|
+
z: number;
|
|
62260
|
+
} | undefined;
|
|
62261
|
+
modelUnitToMmScale?: number | undefined;
|
|
62262
|
+
zOffsetFromSurface?: number | undefined;
|
|
62263
|
+
} | {
|
|
62264
|
+
stepUrl: string;
|
|
62265
|
+
rotationOffset?: number | {
|
|
62266
|
+
x: string | number;
|
|
62267
|
+
y: string | number;
|
|
62268
|
+
z: string | number;
|
|
62269
|
+
} | undefined;
|
|
62270
|
+
positionOffset?: {
|
|
62271
|
+
x: number;
|
|
62272
|
+
y: number;
|
|
62273
|
+
z: number;
|
|
62274
|
+
} | undefined;
|
|
62275
|
+
size?: {
|
|
62276
|
+
x: number;
|
|
62277
|
+
y: number;
|
|
62278
|
+
z: number;
|
|
62279
|
+
} | undefined;
|
|
62280
|
+
modelUnitToMmScale?: number | undefined;
|
|
62281
|
+
zOffsetFromSurface?: number | undefined;
|
|
62282
|
+
} | {
|
|
62283
|
+
wrlUrl: string;
|
|
62284
|
+
rotationOffset?: number | {
|
|
62285
|
+
x: string | number;
|
|
62286
|
+
y: string | number;
|
|
62287
|
+
z: string | number;
|
|
62288
|
+
} | undefined;
|
|
62289
|
+
positionOffset?: {
|
|
62290
|
+
x: number;
|
|
62291
|
+
y: number;
|
|
62292
|
+
z: number;
|
|
62293
|
+
} | undefined;
|
|
62294
|
+
size?: {
|
|
62295
|
+
x: number;
|
|
62296
|
+
y: number;
|
|
62297
|
+
z: number;
|
|
62298
|
+
} | undefined;
|
|
62299
|
+
modelUnitToMmScale?: number | undefined;
|
|
62300
|
+
zOffsetFromSurface?: number | undefined;
|
|
62301
|
+
} | {
|
|
62302
|
+
jscad: Record<string, any>;
|
|
62303
|
+
rotationOffset?: number | {
|
|
62304
|
+
x: string | number;
|
|
62305
|
+
y: string | number;
|
|
62306
|
+
z: string | number;
|
|
62307
|
+
} | undefined;
|
|
62308
|
+
positionOffset?: {
|
|
62309
|
+
x: number;
|
|
62310
|
+
y: number;
|
|
62311
|
+
z: number;
|
|
62312
|
+
} | undefined;
|
|
62313
|
+
size?: {
|
|
62314
|
+
x: number;
|
|
62315
|
+
y: number;
|
|
62316
|
+
z: number;
|
|
62317
|
+
} | undefined;
|
|
62318
|
+
modelUnitToMmScale?: number | undefined;
|
|
62319
|
+
zOffsetFromSurface?: number | undefined;
|
|
62320
|
+
} | react.ReactElement<any, string | react.JSXElementConstructor<any>> | null | undefined;
|
|
62321
|
+
children?: any;
|
|
62322
|
+
symbolName?: string | undefined;
|
|
62323
|
+
doNotPlace?: boolean | undefined;
|
|
62324
|
+
obstructsWithinBounds?: boolean | undefined;
|
|
62325
|
+
showAsTranslucentModel?: boolean | undefined;
|
|
62326
|
+
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
62327
|
+
frequency?: number | undefined;
|
|
62328
|
+
waveShape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
62329
|
+
phase?: number | undefined;
|
|
62330
|
+
dutyCycle?: number | undefined;
|
|
62331
|
+
current?: number | undefined;
|
|
62332
|
+
peakToPeakCurrent?: number | undefined;
|
|
62333
|
+
}, {
|
|
62334
|
+
name: string;
|
|
62335
|
+
symbol?: SymbolProp | undefined;
|
|
62336
|
+
key?: any;
|
|
62337
|
+
pcbX?: string | number | undefined;
|
|
62338
|
+
pcbY?: string | number | undefined;
|
|
62339
|
+
pcbLeftEdgeX?: string | number | undefined;
|
|
62340
|
+
pcbRightEdgeX?: string | number | undefined;
|
|
62341
|
+
pcbTopEdgeY?: string | number | undefined;
|
|
62342
|
+
pcbBottomEdgeY?: string | number | undefined;
|
|
62343
|
+
pcbOffsetX?: string | number | undefined;
|
|
62344
|
+
pcbOffsetY?: string | number | undefined;
|
|
62345
|
+
pcbRotation?: string | number | undefined;
|
|
62346
|
+
pcbPositionAnchor?: string | undefined;
|
|
62347
|
+
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
62348
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
62349
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
62350
|
+
} | undefined;
|
|
62351
|
+
pcbMarginTop?: string | number | undefined;
|
|
62352
|
+
pcbMarginRight?: string | number | undefined;
|
|
62353
|
+
pcbMarginBottom?: string | number | undefined;
|
|
62354
|
+
pcbMarginLeft?: string | number | undefined;
|
|
62355
|
+
pcbMarginX?: string | number | undefined;
|
|
62356
|
+
pcbMarginY?: string | number | undefined;
|
|
62357
|
+
pcbStyle?: {
|
|
62358
|
+
silkscreenFontSize?: string | number | undefined;
|
|
62359
|
+
viaPadDiameter?: string | number | undefined;
|
|
62360
|
+
viaHoleDiameter?: string | number | undefined;
|
|
62361
|
+
silkscreenTextPosition?: "centered" | "outside" | "none" | {
|
|
62362
|
+
offsetX: number;
|
|
62363
|
+
offsetY: number;
|
|
62364
|
+
} | undefined;
|
|
62365
|
+
silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
62366
|
+
} | undefined;
|
|
62367
|
+
pcbRelative?: boolean | undefined;
|
|
62368
|
+
relative?: boolean | undefined;
|
|
62369
|
+
schMarginTop?: string | number | undefined;
|
|
62370
|
+
schMarginRight?: string | number | undefined;
|
|
62371
|
+
schMarginBottom?: string | number | undefined;
|
|
62372
|
+
schMarginLeft?: string | number | undefined;
|
|
62373
|
+
schMarginX?: string | number | undefined;
|
|
62374
|
+
schMarginY?: string | number | undefined;
|
|
62375
|
+
schX?: string | number | undefined;
|
|
62376
|
+
schY?: string | number | undefined;
|
|
62377
|
+
schRotation?: string | number | undefined;
|
|
62378
|
+
footprint?: FootprintProp | undefined;
|
|
62379
|
+
schStyle?: {
|
|
62380
|
+
defaultPassiveSize?: string | number | undefined;
|
|
62381
|
+
defaultCapacitorOrientation?: "none" | "vertical" | undefined;
|
|
62382
|
+
} | undefined;
|
|
62383
|
+
schRelative?: boolean | undefined;
|
|
62384
|
+
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
62385
|
+
pinAttributes?: Record<string, {
|
|
62386
|
+
providesPower?: boolean | undefined;
|
|
62387
|
+
requiresPower?: boolean | undefined;
|
|
62388
|
+
providesGround?: boolean | undefined;
|
|
62389
|
+
requiresGround?: boolean | undefined;
|
|
62390
|
+
providesVoltage?: string | number | undefined;
|
|
62391
|
+
requiresVoltage?: string | number | undefined;
|
|
62392
|
+
doNotConnect?: boolean | undefined;
|
|
62393
|
+
includeInBoardPinout?: boolean | undefined;
|
|
62394
|
+
highlightColor?: string | undefined;
|
|
62395
|
+
mustBeConnected?: boolean | undefined;
|
|
62396
|
+
}> | undefined;
|
|
62397
|
+
cadModel?: string | {
|
|
62398
|
+
stlUrl: string;
|
|
62399
|
+
rotationOffset?: number | {
|
|
62400
|
+
x: string | number;
|
|
62401
|
+
y: string | number;
|
|
62402
|
+
z: string | number;
|
|
62403
|
+
} | undefined;
|
|
62404
|
+
positionOffset?: {
|
|
62405
|
+
x: string | number;
|
|
62406
|
+
y: string | number;
|
|
62407
|
+
z: string | number;
|
|
62408
|
+
} | undefined;
|
|
62409
|
+
size?: {
|
|
62410
|
+
x: string | number;
|
|
62411
|
+
y: string | number;
|
|
62412
|
+
z: string | number;
|
|
62413
|
+
} | undefined;
|
|
62414
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
62415
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
62416
|
+
} | {
|
|
62417
|
+
objUrl: string;
|
|
62418
|
+
rotationOffset?: number | {
|
|
62419
|
+
x: string | number;
|
|
62420
|
+
y: string | number;
|
|
62421
|
+
z: string | number;
|
|
62422
|
+
} | undefined;
|
|
62423
|
+
positionOffset?: {
|
|
62424
|
+
x: string | number;
|
|
62425
|
+
y: string | number;
|
|
62426
|
+
z: string | number;
|
|
62427
|
+
} | undefined;
|
|
62428
|
+
size?: {
|
|
62429
|
+
x: string | number;
|
|
62430
|
+
y: string | number;
|
|
62431
|
+
z: string | number;
|
|
62432
|
+
} | undefined;
|
|
62433
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
62434
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
62435
|
+
mtlUrl?: string | undefined;
|
|
62436
|
+
} | {
|
|
62437
|
+
gltfUrl: string;
|
|
62438
|
+
rotationOffset?: number | {
|
|
62439
|
+
x: string | number;
|
|
62440
|
+
y: string | number;
|
|
62441
|
+
z: string | number;
|
|
62442
|
+
} | undefined;
|
|
62443
|
+
positionOffset?: {
|
|
62444
|
+
x: string | number;
|
|
62445
|
+
y: string | number;
|
|
62446
|
+
z: string | number;
|
|
62447
|
+
} | undefined;
|
|
62448
|
+
size?: {
|
|
62449
|
+
x: string | number;
|
|
62450
|
+
y: string | number;
|
|
62451
|
+
z: string | number;
|
|
62452
|
+
} | undefined;
|
|
62453
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
62454
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
62455
|
+
} | {
|
|
62456
|
+
glbUrl: string;
|
|
62457
|
+
rotationOffset?: number | {
|
|
62458
|
+
x: string | number;
|
|
62459
|
+
y: string | number;
|
|
62460
|
+
z: string | number;
|
|
62461
|
+
} | undefined;
|
|
62462
|
+
positionOffset?: {
|
|
62463
|
+
x: string | number;
|
|
62464
|
+
y: string | number;
|
|
62465
|
+
z: string | number;
|
|
62466
|
+
} | undefined;
|
|
62467
|
+
size?: {
|
|
62468
|
+
x: string | number;
|
|
62469
|
+
y: string | number;
|
|
62470
|
+
z: string | number;
|
|
62471
|
+
} | undefined;
|
|
62472
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
62473
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
62474
|
+
} | {
|
|
62475
|
+
stepUrl: string;
|
|
62476
|
+
rotationOffset?: number | {
|
|
62477
|
+
x: string | number;
|
|
62478
|
+
y: string | number;
|
|
62479
|
+
z: string | number;
|
|
62480
|
+
} | undefined;
|
|
62481
|
+
positionOffset?: {
|
|
62482
|
+
x: string | number;
|
|
62483
|
+
y: string | number;
|
|
62484
|
+
z: string | number;
|
|
62485
|
+
} | undefined;
|
|
62486
|
+
size?: {
|
|
62487
|
+
x: string | number;
|
|
62488
|
+
y: string | number;
|
|
62489
|
+
z: string | number;
|
|
62490
|
+
} | undefined;
|
|
62491
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
62492
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
62493
|
+
} | {
|
|
62494
|
+
wrlUrl: string;
|
|
62495
|
+
rotationOffset?: number | {
|
|
62496
|
+
x: string | number;
|
|
62497
|
+
y: string | number;
|
|
62498
|
+
z: string | number;
|
|
62499
|
+
} | undefined;
|
|
62500
|
+
positionOffset?: {
|
|
62501
|
+
x: string | number;
|
|
62502
|
+
y: string | number;
|
|
62503
|
+
z: string | number;
|
|
62504
|
+
} | undefined;
|
|
62505
|
+
size?: {
|
|
62506
|
+
x: string | number;
|
|
62507
|
+
y: string | number;
|
|
62508
|
+
z: string | number;
|
|
62509
|
+
} | undefined;
|
|
62510
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
62511
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
62512
|
+
} | {
|
|
62513
|
+
jscad: Record<string, any>;
|
|
62514
|
+
rotationOffset?: number | {
|
|
62515
|
+
x: string | number;
|
|
62516
|
+
y: string | number;
|
|
62517
|
+
z: string | number;
|
|
62518
|
+
} | undefined;
|
|
62519
|
+
positionOffset?: {
|
|
62520
|
+
x: string | number;
|
|
62521
|
+
y: string | number;
|
|
62522
|
+
z: string | number;
|
|
62523
|
+
} | undefined;
|
|
62524
|
+
size?: {
|
|
62525
|
+
x: string | number;
|
|
62526
|
+
y: string | number;
|
|
62527
|
+
z: string | number;
|
|
62528
|
+
} | undefined;
|
|
62529
|
+
modelUnitToMmScale?: string | number | undefined;
|
|
62530
|
+
zOffsetFromSurface?: string | number | undefined;
|
|
62531
|
+
} | react.ReactElement<any, string | react.JSXElementConstructor<any>> | null | undefined;
|
|
62532
|
+
children?: any;
|
|
62533
|
+
symbolName?: string | undefined;
|
|
62534
|
+
doNotPlace?: boolean | undefined;
|
|
62535
|
+
obstructsWithinBounds?: boolean | undefined;
|
|
62536
|
+
showAsTranslucentModel?: boolean | undefined;
|
|
62537
|
+
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
62538
|
+
frequency?: string | number | undefined;
|
|
62539
|
+
waveShape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
62540
|
+
phase?: string | number | undefined;
|
|
62541
|
+
dutyCycle?: string | number | undefined;
|
|
62542
|
+
current?: string | number | undefined;
|
|
62543
|
+
peakToPeakCurrent?: string | number | undefined;
|
|
62544
|
+
}>;
|
|
62545
|
+
declare const currentSourcePins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
|
|
62546
|
+
|
|
61375
62547
|
interface VoltageProbeProps extends Omit<CommonComponentProps, "name"> {
|
|
61376
62548
|
name?: string;
|
|
61377
62549
|
connectsTo: string;
|
|
@@ -65218,4 +66390,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
|
|
|
65218
66390
|
}
|
|
65219
66391
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
65220
66392
|
|
|
65221
|
-
export { type AnalogSimulationProps, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelBase, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardOutlineProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodePinLabels, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FootprinterAutocompleteString, type FootprinterStringExample, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type HoleWithPolygonPadPlatedHoleProps, type InductorPinLabels, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type JumperProps, type KicadAutocompleteStringPath, type KicadPath, type LayoutConfig, type LedPinLabels, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetPinLabels, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PanelProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbNoteDimensionProps, type PcbNoteDimensionPropsInput, type PcbNoteLineProps, type PcbNoteLinePropsInput, type PcbNotePathProps, type PcbNotePathPropsInput, type PcbNoteRectProps, type PcbNoteRectPropsInput, type PcbNoteTextProps, type PcbNoteTextPropsInput, type PcbPositionMode, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbStyle, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillHoleProps, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectHoleProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SubpanelProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, type ToolingrailProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, analogSimulationProps, autorouterConfig, autorouterPreset, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardOutlineProps, courtyardRectProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
|
66393
|
+
export { type AnalogSimulationProps, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelBase, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardOutlineProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CutoutProps, type CutoutPropsInput, type DiodePinLabels, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FootprinterAutocompleteString, type FootprinterStringExample, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type HoleWithPolygonPadPlatedHoleProps, type InductorPinLabels, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type JumperProps, type KicadAutocompleteStringPath, type KicadPath, type LayoutConfig, type LedPinLabels, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetPinLabels, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PanelProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbNoteDimensionProps, type PcbNoteDimensionPropsInput, type PcbNoteLineProps, type PcbNoteLinePropsInput, type PcbNotePathProps, type PcbNotePathPropsInput, type PcbNoteRectProps, type PcbNoteRectPropsInput, type PcbNoteTextProps, type PcbNoteTextPropsInput, type PcbPositionMode, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbStyle, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillHoleProps, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectHoleProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SubpanelProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, type ToolingrailProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, analogSimulationProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardOutlineProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|