@tscircuit/props 0.0.593 → 0.0.594
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 +5 -0
- package/dist/index.d.ts +43 -14
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/lib/common/ninePointAnchor.ts +2 -0
- package/lib/components/autoroutingphase.ts +22 -0
- package/lib/components/bus.ts +2 -0
- package/lib/components/group.ts +8 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -342,6 +342,11 @@ export interface AutoroutingPhaseProps extends RoutingTolerances {
|
|
|
342
342
|
connection?: string;
|
|
343
343
|
connections?: string[];
|
|
344
344
|
reroute?: boolean;
|
|
345
|
+
/**
|
|
346
|
+
* Fanout direction for each named bus in this phase. `center` leaves the
|
|
347
|
+
* direction unconstrained.
|
|
348
|
+
*/
|
|
349
|
+
busFanoutDirections?: Record<BusName, BusFanoutDirection>;
|
|
345
350
|
}
|
|
346
351
|
```
|
|
347
352
|
|
package/dist/index.d.ts
CHANGED
|
@@ -16883,6 +16883,7 @@ type CustomDrcCheckFn = (ctx: CustomDrcCheckContext) => MaybePromise<CustomDrcCh
|
|
|
16883
16883
|
declare const customDrcCheckFn: z.ZodType<CustomDrcCheckFn, z.ZodTypeDef, CustomDrcCheckFn>;
|
|
16884
16884
|
|
|
16885
16885
|
declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
|
|
16886
|
+
type NinePointAnchor = z.infer<typeof ninePointAnchor>;
|
|
16886
16887
|
|
|
16887
16888
|
type Point = {
|
|
16888
16889
|
x: number | string;
|
|
@@ -18145,9 +18146,9 @@ interface AutorouterConfig {
|
|
|
18145
18146
|
groupMode?: "sequential_trace" | "subcircuit" | /** @deprecated Use "sequential_trace" */ "sequential-trace";
|
|
18146
18147
|
local?: boolean;
|
|
18147
18148
|
algorithmFn?: (simpleRouteJson: any) => Promise<any>;
|
|
18148
|
-
preset?: "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | /** @deprecated Use "auto_jumper" */ "auto-jumper" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
18149
|
+
preset?: "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | /** @deprecated Use "auto_jumper" */ "auto-jumper" | /** @deprecated Use "sequential_trace" */ "sequential-trace" | /** @deprecated Use "auto_local" */ "auto-local" | /** @deprecated Use "auto_cloud" */ "auto-cloud";
|
|
18149
18150
|
}
|
|
18150
|
-
type AutorouterPreset = "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
18151
|
+
type AutorouterPreset = "sequential_trace" | "subcircuit" | "default" | "auto" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | "auto-jumper" | "sequential-trace" | "auto-local" | "auto-cloud";
|
|
18151
18152
|
type AutorouterProp = AutorouterConfig | AutocompleteString<AutorouterPreset>;
|
|
18152
18153
|
declare const routingTolerances: z.ZodObject<{
|
|
18153
18154
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -18190,7 +18191,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
18190
18191
|
availableJumperTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["1206x4", "0603"]>, "many">>;
|
|
18191
18192
|
groupMode: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "sequential-trace"]>>;
|
|
18192
18193
|
algorithmFn: z.ZodOptional<z.ZodType<(simpleRouteJson: any) => Promise<any>, z.ZodTypeDef, (simpleRouteJson: any) => Promise<any>>>;
|
|
18193
|
-
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "default", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "krt", "freerouting", "laser_prefab", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
18194
|
+
preset: z.ZodOptional<z.ZodEnum<["sequential_trace", "subcircuit", "default", "auto", "auto_local", "auto_cloud", "auto_jumper", "tscircuit_beta", "krt", "freerouting", "laser_prefab", "single_layer_fanout", "fanout", "auto-jumper", "sequential-trace", "auto-local", "auto-cloud"]>>;
|
|
18194
18195
|
local: z.ZodOptional<z.ZodBoolean>;
|
|
18195
18196
|
}, "strip", z.ZodTypeAny, {
|
|
18196
18197
|
serverUrl?: string | undefined;
|
|
@@ -18202,7 +18203,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
18202
18203
|
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
18203
18204
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
18204
18205
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
18205
|
-
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
18206
|
+
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
18206
18207
|
local?: boolean | undefined;
|
|
18207
18208
|
}, {
|
|
18208
18209
|
serverUrl?: string | undefined;
|
|
@@ -18214,10 +18215,10 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
18214
18215
|
availableJumperTypes?: ("0603" | "1206x4")[] | undefined;
|
|
18215
18216
|
groupMode?: "sequential_trace" | "subcircuit" | "sequential-trace" | undefined;
|
|
18216
18217
|
algorithmFn?: ((simpleRouteJson: any) => Promise<any>) | undefined;
|
|
18217
|
-
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
18218
|
+
preset?: "default" | "auto" | "sequential_trace" | "subcircuit" | "sequential-trace" | "auto_local" | "auto_cloud" | "auto_jumper" | "tscircuit_beta" | "krt" | "freerouting" | "laser_prefab" | "single_layer_fanout" | "fanout" | "auto-jumper" | "auto-local" | "auto-cloud" | undefined;
|
|
18218
18219
|
local?: boolean | undefined;
|
|
18219
18220
|
}>;
|
|
18220
|
-
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"auto_jumper">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"krt">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
18221
|
+
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"default">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"auto_jumper">, z.ZodLiteral<"tscircuit_beta">, z.ZodLiteral<"krt">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"single_layer_fanout">, z.ZodLiteral<"fanout">, z.ZodLiteral<"auto-jumper">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
18221
18222
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
18222
18223
|
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
18223
18224
|
interface SubcircuitGroupProps extends BaseGroupProps, RoutingTolerances {
|
|
@@ -93992,8 +93993,8 @@ declare const capacitorProps: z.ZodObject<{
|
|
|
93992
93993
|
connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
93993
93994
|
}, "strip", z.ZodTypeAny, {
|
|
93994
93995
|
name: string;
|
|
93995
|
-
schShowRatings: boolean;
|
|
93996
93996
|
capacitance: number;
|
|
93997
|
+
schShowRatings: boolean;
|
|
93997
93998
|
polarized: boolean;
|
|
93998
93999
|
symbol?: SymbolProp | undefined;
|
|
93999
94000
|
showAsTranslucentModel?: boolean | undefined;
|
|
@@ -104666,6 +104667,7 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
104666
104667
|
}>]>;
|
|
104667
104668
|
type TraceProps = z.input<typeof traceProps>;
|
|
104668
104669
|
|
|
104670
|
+
type BusName = string;
|
|
104669
104671
|
/**
|
|
104670
104672
|
* Declares a group of connections that an autorouter should keep together.
|
|
104671
104673
|
* Each connection may be a trace name or a port selector.
|
|
@@ -108763,10 +108765,10 @@ declare const batteryProps: z.ZodObject<{
|
|
|
108763
108765
|
schSectionName?: string | undefined;
|
|
108764
108766
|
schSheetName?: string | undefined;
|
|
108765
108767
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
108768
|
+
voltage?: number | undefined;
|
|
108766
108769
|
standard?: "AA" | "AAA" | "9V" | "CR2032" | "18650" | "C" | undefined;
|
|
108767
108770
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
108768
108771
|
capacity?: number | undefined;
|
|
108769
|
-
voltage?: number | undefined;
|
|
108770
108772
|
}, {
|
|
108771
108773
|
name: string;
|
|
108772
108774
|
symbol?: SymbolProp | undefined;
|
|
@@ -109348,10 +109350,10 @@ declare const batteryProps: z.ZodObject<{
|
|
|
109348
109350
|
schSectionName?: string | undefined;
|
|
109349
109351
|
schSheetName?: string | undefined;
|
|
109350
109352
|
connections?: Partial<Record<"left" | "right" | "pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
109353
|
+
voltage?: string | number | undefined;
|
|
109351
109354
|
standard?: "AA" | "AAA" | "9V" | "CR2032" | "18650" | "C" | undefined;
|
|
109352
109355
|
schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
|
|
109353
109356
|
capacity?: string | number | undefined;
|
|
109354
|
-
voltage?: string | number | undefined;
|
|
109355
109357
|
}>;
|
|
109356
109358
|
|
|
109357
109359
|
type MountedBoardChipProps = Pick<ChipPropsSU, "manufacturerPartNumber" | "pinLabels" | "showPinAliases" | "pcbPinLabels" | "schPortArrangement" | "pinCompatibleVariants" | "noSchematicRepresentation" | "internallyConnectedPins" | "externallyConnectedPins">;
|
|
@@ -123127,6 +123129,9 @@ declare const analogSweepParameterProps: z.ZodEffects<z.ZodDiscriminatedUnion<"p
|
|
|
123127
123129
|
step?: string | number | undefined;
|
|
123128
123130
|
}>;
|
|
123129
123131
|
|
|
123132
|
+
type BusFanoutDirection = NinePointAnchor | {
|
|
123133
|
+
direction: NinePointAnchor;
|
|
123134
|
+
};
|
|
123130
123135
|
interface AutoroutingPhaseProps extends RoutingTolerances {
|
|
123131
123136
|
key?: any;
|
|
123132
123137
|
name?: string;
|
|
@@ -123142,6 +123147,11 @@ interface AutoroutingPhaseProps extends RoutingTolerances {
|
|
|
123142
123147
|
connection?: string;
|
|
123143
123148
|
connections?: string[];
|
|
123144
123149
|
reroute?: boolean;
|
|
123150
|
+
/**
|
|
123151
|
+
* Fanout direction for each named bus in this phase. `center` leaves the
|
|
123152
|
+
* direction unconstrained.
|
|
123153
|
+
*/
|
|
123154
|
+
busFanoutDirections?: Record<BusName, BusFanoutDirection>;
|
|
123145
123155
|
}
|
|
123146
123156
|
declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
123147
123157
|
region: z.ZodOptional<z.ZodObject<{
|
|
@@ -123166,6 +123176,13 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123166
123176
|
connection: z.ZodOptional<z.ZodString>;
|
|
123167
123177
|
connections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
123168
123178
|
reroute: z.ZodOptional<z.ZodBoolean>;
|
|
123179
|
+
busFanoutDirections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>, z.ZodObject<{
|
|
123180
|
+
direction: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
|
|
123181
|
+
}, "strip", z.ZodTypeAny, {
|
|
123182
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123183
|
+
}, {
|
|
123184
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123185
|
+
}>]>>>;
|
|
123169
123186
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
123170
123187
|
minViaHoleEdgeToViaHoleEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
123171
123188
|
minViaEdgeToPadEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -123203,6 +123220,9 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123203
123220
|
shape?: "rect" | undefined;
|
|
123204
123221
|
} | undefined;
|
|
123205
123222
|
reroute?: boolean | undefined;
|
|
123223
|
+
busFanoutDirections?: Record<string, "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | {
|
|
123224
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123225
|
+
}> | undefined;
|
|
123206
123226
|
}, {
|
|
123207
123227
|
name?: string | undefined;
|
|
123208
123228
|
key?: any;
|
|
@@ -123227,6 +123247,9 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123227
123247
|
shape?: "rect" | undefined;
|
|
123228
123248
|
} | undefined;
|
|
123229
123249
|
reroute?: boolean | undefined;
|
|
123250
|
+
busFanoutDirections?: Record<string, "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | {
|
|
123251
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123252
|
+
}> | undefined;
|
|
123230
123253
|
}>, {
|
|
123231
123254
|
name?: string | undefined;
|
|
123232
123255
|
key?: any;
|
|
@@ -123251,6 +123274,9 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123251
123274
|
shape?: "rect" | undefined;
|
|
123252
123275
|
} | undefined;
|
|
123253
123276
|
reroute?: boolean | undefined;
|
|
123277
|
+
busFanoutDirections?: Record<string, "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | {
|
|
123278
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123279
|
+
}> | undefined;
|
|
123254
123280
|
}, {
|
|
123255
123281
|
name?: string | undefined;
|
|
123256
123282
|
key?: any;
|
|
@@ -123275,6 +123301,9 @@ declare const autoroutingPhaseProps: z.ZodEffects<z.ZodObject<{
|
|
|
123275
123301
|
shape?: "rect" | undefined;
|
|
123276
123302
|
} | undefined;
|
|
123277
123303
|
reroute?: boolean | undefined;
|
|
123304
|
+
busFanoutDirections?: Record<string, "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | {
|
|
123305
|
+
direction: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
|
|
123306
|
+
}> | undefined;
|
|
123278
123307
|
}>;
|
|
123279
123308
|
|
|
123280
123309
|
declare const transistorPinsLabels: readonly ["pin1", "pin2", "pin3", "emitter", "collector", "base", "gate", "source", "drain"];
|
|
@@ -174650,8 +174679,8 @@ declare const voltageSourceProps: z.ZodObject<{
|
|
|
174650
174679
|
schSectionName?: string | undefined;
|
|
174651
174680
|
schSheetName?: string | undefined;
|
|
174652
174681
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
174653
|
-
frequency?: number | undefined;
|
|
174654
174682
|
voltage?: number | undefined;
|
|
174683
|
+
frequency?: number | undefined;
|
|
174655
174684
|
peakToPeakVoltage?: number | undefined;
|
|
174656
174685
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
174657
174686
|
phase?: number | undefined;
|
|
@@ -175244,8 +175273,8 @@ declare const voltageSourceProps: z.ZodObject<{
|
|
|
175244
175273
|
schSectionName?: string | undefined;
|
|
175245
175274
|
schSheetName?: string | undefined;
|
|
175246
175275
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
175247
|
-
frequency?: string | number | undefined;
|
|
175248
175276
|
voltage?: string | number | undefined;
|
|
175277
|
+
frequency?: string | number | undefined;
|
|
175249
175278
|
peakToPeakVoltage?: string | number | undefined;
|
|
175250
175279
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
175251
175280
|
phase?: string | number | undefined;
|
|
@@ -179223,8 +179252,8 @@ declare const currentSourceProps: z.ZodObject<{
|
|
|
179223
179252
|
schSectionName?: string | undefined;
|
|
179224
179253
|
schSheetName?: string | undefined;
|
|
179225
179254
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
179226
|
-
frequency?: number | undefined;
|
|
179227
179255
|
current?: number | undefined;
|
|
179256
|
+
frequency?: number | undefined;
|
|
179228
179257
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
179229
179258
|
phase?: number | undefined;
|
|
179230
179259
|
dutyCycle?: number | undefined;
|
|
@@ -179812,8 +179841,8 @@ declare const currentSourceProps: z.ZodObject<{
|
|
|
179812
179841
|
schSectionName?: string | undefined;
|
|
179813
179842
|
schSheetName?: string | undefined;
|
|
179814
179843
|
connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
|
|
179815
|
-
frequency?: string | number | undefined;
|
|
179816
179844
|
current?: string | number | undefined;
|
|
179845
|
+
frequency?: string | number | undefined;
|
|
179817
179846
|
waveShape?: "square" | "triangle" | "sawtooth" | "sinewave" | undefined;
|
|
179818
179847
|
phase?: string | number | undefined;
|
|
179819
179848
|
dutyCycle?: string | number | undefined;
|
|
@@ -192366,4 +192395,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
|
|
|
192366
192395
|
}
|
|
192367
192396
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
192368
192397
|
|
|
192369
|
-
export { type AmmeterPinLabels, type AmmeterProps, type AnalogAcSweepSimulationProps, type AnalogAnalysisSimulationBaseProps, type AnalogCapacitanceSweepParameterProps, type AnalogCurrentSweepParameterProps, type AnalogDcOperatingPointSimulationProps, type AnalogDcSweepSimulationProps, type AnalogInductanceSweepParameterProps, type AnalogResistanceSweepParameterProps, type AnalogSimulationProps, type AnalogSweepParameterProps, type AnalogTransientSimulationProps, type AnalogVoltageSweepParameterProps, type AssemblyDeviceProps, type AssemblyDevicePropsInput, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutoroutingPhaseProps, 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 BusProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, 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 CircleEnclosureCutoutApertureProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleShapeProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type CommonShapeProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutProps, type CutoutPropsInput, type DifferentialPairProps, type DiodePinLabels, type DiodePinLabelsProp, type DiodeProps, type Direction, type DirectionAlongEdge, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type EnclosureCutoutApertureProps, type EnclosureCutoutApertureShape, type EnclosureFdmBoxProps, type EnclosureFdmBoxPropsInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintInsertionDirection, 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 InferredSchematicSectionProps, type InferredSchematicSheetProps, type InferredSchematicSymbolProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type InternalCircuitElement, type InternalCircuitProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, 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 MountedBoardProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalHoleProps, type OvalPlatedHoleProps, type PanelProps, type ParsedEnclosureCutoutApertureProps, 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 PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillEnclosureCutoutApertureProps, type PillHoleProps, type PillPlatedHoleProps, type PillShapeProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCapability, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinSideDefinitionInput, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinLabels, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectEnclosureCutoutApertureProps, type RectHoleProps, type RectShapeProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type RoutingTolerances, 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 SchematicSectionProps, type SchematicSheetProps, type SchematicSymbolProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type SpiceOptions, 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, ammeterPinLabels, ammeterPins, ammeterProps, analogAcSweepSimulationProps, analogAnalysisSimulationBaseProps, analogCapacitanceSweepParameterProps, analogCurrentSweepParameterProps, analogDcOperatingPointSimulationProps, analogDcSweepSimulationProps, analogInductanceSweepParameterProps, analogResistanceSweepParameterProps, analogSimulationProps, analogSweepParameterProps, analogTransientSimulationProps, analogVoltageSweepParameterProps, assemblyDeviceProps, assemblyProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, busProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleShapeProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, commonShapeProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutProps, differentialPairProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, 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, enclosureCutoutApertureProps, enclosureCutoutApertureShapes, enclosureFdmBoxProps, enclosureProps, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, internalCircuitProps, jumperProps, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintKeys, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadFootprintStrings, kicadPinElectricalType, kicadPinGraphicStyle, kicadPinMetadata, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, mountedboardProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillShapeProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectShapeProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSheetProps, schematicSymbolProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
|
192398
|
+
export { type AmmeterPinLabels, type AmmeterProps, type AnalogAcSweepSimulationProps, type AnalogAnalysisSimulationBaseProps, type AnalogCapacitanceSweepParameterProps, type AnalogCurrentSweepParameterProps, type AnalogDcOperatingPointSimulationProps, type AnalogDcSweepSimulationProps, type AnalogInductanceSweepParameterProps, type AnalogResistanceSweepParameterProps, type AnalogSimulationProps, type AnalogSweepParameterProps, type AnalogTransientSimulationProps, type AnalogVoltageSweepParameterProps, type AssemblyDeviceProps, type AssemblyDevicePropsInput, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutoroutingPhaseProps, 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 BusFanoutDirection, type BusName, type BusProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, 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 CircleEnclosureCutoutApertureProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleShapeProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type CommonShapeProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutProps, type CutoutPropsInput, type DifferentialPairProps, type DiodePinLabels, type DiodePinLabelsProp, type DiodeProps, type Direction, type DirectionAlongEdge, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type EnclosureCutoutApertureProps, type EnclosureCutoutApertureShape, type EnclosureFdmBoxProps, type EnclosureFdmBoxPropsInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintInsertionDirection, 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 InferredSchematicSectionProps, type InferredSchematicSheetProps, type InferredSchematicSymbolProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type InternalCircuitElement, type InternalCircuitProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, 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 MountedBoardProps, type NetAliasProps, type NetLabelProps, type NetProps, type NinePointAnchor, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalHoleProps, type OvalPlatedHoleProps, type PanelProps, type ParsedEnclosureCutoutApertureProps, 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 PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillEnclosureCutoutApertureProps, type PillHoleProps, type PillPlatedHoleProps, type PillShapeProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCapability, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinSideDefinitionInput, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinLabels, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectEnclosureCutoutApertureProps, type RectHoleProps, type RectShapeProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type RoutingTolerances, 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 SchematicSectionProps, type SchematicSheetProps, type SchematicSymbolProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type SpiceOptions, 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, ammeterPinLabels, ammeterPins, ammeterProps, analogAcSweepSimulationProps, analogAnalysisSimulationBaseProps, analogCapacitanceSweepParameterProps, analogCurrentSweepParameterProps, analogDcOperatingPointSimulationProps, analogDcSweepSimulationProps, analogInductanceSweepParameterProps, analogResistanceSweepParameterProps, analogSimulationProps, analogSweepParameterProps, analogTransientSimulationProps, analogVoltageSweepParameterProps, assemblyDeviceProps, assemblyProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, busProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleShapeProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, commonShapeProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutProps, differentialPairProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, 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, enclosureCutoutApertureProps, enclosureCutoutApertureShapes, enclosureFdmBoxProps, enclosureProps, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, internalCircuitProps, jumperProps, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintKeys, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadFootprintStrings, kicadPinElectricalType, kicadPinGraphicStyle, kicadPinMetadata, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, mountedboardProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillShapeProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectShapeProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSheetProps, schematicSymbolProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
package/dist/index.js
CHANGED
|
@@ -16369,6 +16369,8 @@ var autorouterConfig = z41.object({
|
|
|
16369
16369
|
"krt",
|
|
16370
16370
|
"freerouting",
|
|
16371
16371
|
"laser_prefab",
|
|
16372
|
+
"single_layer_fanout",
|
|
16373
|
+
"fanout",
|
|
16372
16374
|
"auto-jumper",
|
|
16373
16375
|
"sequential-trace",
|
|
16374
16376
|
"auto-local",
|
|
@@ -16389,6 +16391,8 @@ var autorouterPreset = z41.union([
|
|
|
16389
16391
|
z41.literal("freerouting"),
|
|
16390
16392
|
z41.literal("laser_prefab"),
|
|
16391
16393
|
// Prefabricated PCB with laser copper ablation
|
|
16394
|
+
z41.literal("single_layer_fanout"),
|
|
16395
|
+
z41.literal("fanout"),
|
|
16392
16396
|
z41.literal("auto-jumper"),
|
|
16393
16397
|
z41.literal("sequential-trace"),
|
|
16394
16398
|
z41.literal("auto-local"),
|
|
@@ -17741,6 +17745,10 @@ expectTypesMatch(true);
|
|
|
17741
17745
|
|
|
17742
17746
|
// lib/components/autoroutingphase.ts
|
|
17743
17747
|
import { z as z86 } from "zod";
|
|
17748
|
+
var busFanoutDirection = z86.union([
|
|
17749
|
+
ninePointAnchor,
|
|
17750
|
+
z86.object({ direction: ninePointAnchor })
|
|
17751
|
+
]);
|
|
17744
17752
|
var autoroutingPhaseProps = z86.object({
|
|
17745
17753
|
key: z86.any().optional(),
|
|
17746
17754
|
name: z86.string().optional(),
|
|
@@ -17756,7 +17764,8 @@ var autoroutingPhaseProps = z86.object({
|
|
|
17756
17764
|
}).optional(),
|
|
17757
17765
|
connection: z86.string().optional(),
|
|
17758
17766
|
connections: z86.array(z86.string()).optional(),
|
|
17759
|
-
reroute: z86.boolean().optional()
|
|
17767
|
+
reroute: z86.boolean().optional(),
|
|
17768
|
+
busFanoutDirections: z86.record(busFanoutDirection).optional()
|
|
17760
17769
|
}).superRefine((value, ctx) => {
|
|
17761
17770
|
if (value.reroute !== void 0 && value.region === void 0 && value.connection === void 0 && value.connections === void 0) {
|
|
17762
17771
|
ctx.addIssue({
|