@tscircuit/props 0.0.434 → 0.0.436
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +105 -8
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +2 -0
- package/lib/components/schematic-arc.ts +17 -1
- package/lib/components/schematic-box.ts +25 -1
- package/lib/components/schematic-circle.ts +18 -1
- package/lib/components/schematic-line.ts +16 -1
- package/lib/components/schematic-path.ts +12 -1
- package/lib/components/schematic-rect.ts +19 -1
- package/lib/components/schematic-text.ts +16 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5712,6 +5712,7 @@ declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
|
5712
5712
|
interface SubcircuitGroupProps extends BaseGroupProps {
|
|
5713
5713
|
manualEdits?: ManualEditsFileInput;
|
|
5714
5714
|
routingDisabled?: boolean;
|
|
5715
|
+
bomDisabled?: boolean;
|
|
5715
5716
|
defaultTraceWidth?: Distance;
|
|
5716
5717
|
minTraceWidth?: Distance;
|
|
5717
5718
|
pcbRouteCache?: PcbRouteCache;
|
|
@@ -7497,6 +7498,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7497
7498
|
schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7498
7499
|
schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7499
7500
|
routingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
7501
|
+
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
7500
7502
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7501
7503
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7502
7504
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
@@ -7765,6 +7767,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7765
7767
|
}[] | undefined;
|
|
7766
7768
|
} | undefined;
|
|
7767
7769
|
routingDisabled?: boolean | undefined;
|
|
7770
|
+
bomDisabled?: boolean | undefined;
|
|
7768
7771
|
defaultTraceWidth?: number | undefined;
|
|
7769
7772
|
pcbGrid?: boolean | undefined;
|
|
7770
7773
|
pcbGridCols?: string | number | undefined;
|
|
@@ -8069,6 +8072,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
8069
8072
|
}[] | undefined;
|
|
8070
8073
|
} | undefined;
|
|
8071
8074
|
routingDisabled?: boolean | undefined;
|
|
8075
|
+
bomDisabled?: boolean | undefined;
|
|
8072
8076
|
defaultTraceWidth?: string | number | undefined;
|
|
8073
8077
|
pcbGrid?: boolean | undefined;
|
|
8074
8078
|
pcbGridCols?: string | number | undefined;
|
|
@@ -8825,6 +8829,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
8825
8829
|
schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
8826
8830
|
schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8827
8831
|
routingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
8832
|
+
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
8828
8833
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8829
8834
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8830
8835
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
@@ -9096,6 +9101,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
9096
9101
|
}[] | undefined;
|
|
9097
9102
|
} | undefined;
|
|
9098
9103
|
routingDisabled?: boolean | undefined;
|
|
9104
|
+
bomDisabled?: boolean | undefined;
|
|
9099
9105
|
defaultTraceWidth?: number | undefined;
|
|
9100
9106
|
pcbGrid?: boolean | undefined;
|
|
9101
9107
|
pcbGridCols?: string | number | undefined;
|
|
@@ -9401,6 +9407,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
9401
9407
|
}[] | undefined;
|
|
9402
9408
|
} | undefined;
|
|
9403
9409
|
routingDisabled?: boolean | undefined;
|
|
9410
|
+
bomDisabled?: boolean | undefined;
|
|
9404
9411
|
defaultTraceWidth?: string | number | undefined;
|
|
9405
9412
|
pcbGrid?: boolean | undefined;
|
|
9406
9413
|
pcbGridCols?: string | number | undefined;
|
|
@@ -11204,6 +11211,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11204
11211
|
schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
11205
11212
|
schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11206
11213
|
routingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
11214
|
+
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
11207
11215
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11208
11216
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11209
11217
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
@@ -11475,6 +11483,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11475
11483
|
}[] | undefined;
|
|
11476
11484
|
} | undefined;
|
|
11477
11485
|
routingDisabled?: boolean | undefined;
|
|
11486
|
+
bomDisabled?: boolean | undefined;
|
|
11478
11487
|
defaultTraceWidth?: number | undefined;
|
|
11479
11488
|
pcbGrid?: boolean | undefined;
|
|
11480
11489
|
pcbGridCols?: string | number | undefined;
|
|
@@ -11780,6 +11789,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11780
11789
|
}[] | undefined;
|
|
11781
11790
|
} | undefined;
|
|
11782
11791
|
routingDisabled?: boolean | undefined;
|
|
11792
|
+
bomDisabled?: boolean | undefined;
|
|
11783
11793
|
defaultTraceWidth?: string | number | undefined;
|
|
11784
11794
|
pcbGrid?: boolean | undefined;
|
|
11785
11795
|
pcbGridCols?: string | number | undefined;
|
|
@@ -12567,6 +12577,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12567
12577
|
schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
12568
12578
|
schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12569
12579
|
routingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
12580
|
+
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
12570
12581
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12571
12582
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12572
12583
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
@@ -12863,6 +12874,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12863
12874
|
}[] | undefined;
|
|
12864
12875
|
} | undefined;
|
|
12865
12876
|
routingDisabled?: boolean | undefined;
|
|
12877
|
+
bomDisabled?: boolean | undefined;
|
|
12866
12878
|
defaultTraceWidth?: number | undefined;
|
|
12867
12879
|
pcbGrid?: boolean | undefined;
|
|
12868
12880
|
pcbGridCols?: string | number | undefined;
|
|
@@ -13182,6 +13194,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
13182
13194
|
}[] | undefined;
|
|
13183
13195
|
} | undefined;
|
|
13184
13196
|
routingDisabled?: boolean | undefined;
|
|
13197
|
+
bomDisabled?: boolean | undefined;
|
|
13185
13198
|
defaultTraceWidth?: string | number | undefined;
|
|
13186
13199
|
pcbGrid?: boolean | undefined;
|
|
13187
13200
|
pcbGridCols?: string | number | undefined;
|
|
@@ -16184,6 +16197,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16184
16197
|
schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
16185
16198
|
schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16186
16199
|
routingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
16200
|
+
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
16187
16201
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16188
16202
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16189
16203
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
@@ -16458,6 +16472,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16458
16472
|
}[] | undefined;
|
|
16459
16473
|
} | undefined;
|
|
16460
16474
|
routingDisabled?: boolean | undefined;
|
|
16475
|
+
bomDisabled?: boolean | undefined;
|
|
16461
16476
|
defaultTraceWidth?: number | undefined;
|
|
16462
16477
|
pcbGrid?: boolean | undefined;
|
|
16463
16478
|
pcbGridCols?: string | number | undefined;
|
|
@@ -16762,6 +16777,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16762
16777
|
}[] | undefined;
|
|
16763
16778
|
} | undefined;
|
|
16764
16779
|
routingDisabled?: boolean | undefined;
|
|
16780
|
+
bomDisabled?: boolean | undefined;
|
|
16765
16781
|
defaultTraceWidth?: string | number | undefined;
|
|
16766
16782
|
pcbGrid?: boolean | undefined;
|
|
16767
16783
|
pcbGridCols?: string | number | undefined;
|
|
@@ -35010,6 +35026,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35010
35026
|
schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
35011
35027
|
schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35012
35028
|
routingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
35029
|
+
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
35013
35030
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35014
35031
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
35015
35032
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
@@ -35321,6 +35338,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35321
35338
|
}[] | undefined;
|
|
35322
35339
|
} | undefined;
|
|
35323
35340
|
routingDisabled?: boolean | undefined;
|
|
35341
|
+
bomDisabled?: boolean | undefined;
|
|
35324
35342
|
defaultTraceWidth?: number | undefined;
|
|
35325
35343
|
pcbGrid?: boolean | undefined;
|
|
35326
35344
|
pcbGridCols?: string | number | undefined;
|
|
@@ -35650,6 +35668,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35650
35668
|
}[] | undefined;
|
|
35651
35669
|
} | undefined;
|
|
35652
35670
|
routingDisabled?: boolean | undefined;
|
|
35671
|
+
bomDisabled?: boolean | undefined;
|
|
35653
35672
|
defaultTraceWidth?: string | number | undefined;
|
|
35654
35673
|
pcbGrid?: boolean | undefined;
|
|
35655
35674
|
pcbGridCols?: string | number | undefined;
|
|
@@ -47024,6 +47043,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47024
47043
|
schTraceAutoLabelEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
47025
47044
|
schMaxTraceDistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
47026
47045
|
routingDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
47046
|
+
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
47027
47047
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
47028
47048
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
47029
47049
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
@@ -47292,6 +47312,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47292
47312
|
}[] | undefined;
|
|
47293
47313
|
} | undefined;
|
|
47294
47314
|
routingDisabled?: boolean | undefined;
|
|
47315
|
+
bomDisabled?: boolean | undefined;
|
|
47295
47316
|
defaultTraceWidth?: number | undefined;
|
|
47296
47317
|
pcbGrid?: boolean | undefined;
|
|
47297
47318
|
pcbGridCols?: string | number | undefined;
|
|
@@ -47596,6 +47617,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47596
47617
|
}[] | undefined;
|
|
47597
47618
|
} | undefined;
|
|
47598
47619
|
routingDisabled?: boolean | undefined;
|
|
47620
|
+
bomDisabled?: boolean | undefined;
|
|
47599
47621
|
defaultTraceWidth?: string | number | undefined;
|
|
47600
47622
|
pcbGrid?: boolean | undefined;
|
|
47601
47623
|
pcbGridCols?: string | number | undefined;
|
|
@@ -62525,7 +62547,17 @@ declare const schematicArcProps: z.ZodObject<{
|
|
|
62525
62547
|
color?: string | undefined;
|
|
62526
62548
|
isDashed?: boolean | undefined;
|
|
62527
62549
|
}>;
|
|
62528
|
-
|
|
62550
|
+
interface SchematicArcProps {
|
|
62551
|
+
center: Point;
|
|
62552
|
+
radius: Distance;
|
|
62553
|
+
startAngleDegrees: number | string;
|
|
62554
|
+
endAngleDegrees: number | string;
|
|
62555
|
+
direction?: "clockwise" | "counterclockwise";
|
|
62556
|
+
strokeWidth?: Distance;
|
|
62557
|
+
color?: string;
|
|
62558
|
+
isDashed?: boolean;
|
|
62559
|
+
}
|
|
62560
|
+
type InferredSchematicArcProps = z.input<typeof schematicArcProps>;
|
|
62529
62561
|
|
|
62530
62562
|
interface ToolingrailProps {
|
|
62531
62563
|
children?: any;
|
|
@@ -62658,7 +62690,25 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
62658
62690
|
titleInside?: boolean | undefined;
|
|
62659
62691
|
strokeStyle?: "dashed" | "solid" | undefined;
|
|
62660
62692
|
}>;
|
|
62661
|
-
|
|
62693
|
+
interface SchematicBoxProps {
|
|
62694
|
+
schX?: Distance;
|
|
62695
|
+
schY?: Distance;
|
|
62696
|
+
width?: Distance;
|
|
62697
|
+
height?: Distance;
|
|
62698
|
+
overlay?: string[];
|
|
62699
|
+
padding?: Distance;
|
|
62700
|
+
paddingLeft?: Distance;
|
|
62701
|
+
paddingRight?: Distance;
|
|
62702
|
+
paddingTop?: Distance;
|
|
62703
|
+
paddingBottom?: Distance;
|
|
62704
|
+
title?: string;
|
|
62705
|
+
titleAlignment?: z.infer<typeof ninePointAnchor>;
|
|
62706
|
+
titleColor?: string;
|
|
62707
|
+
titleFontSize?: Distance;
|
|
62708
|
+
titleInside?: boolean;
|
|
62709
|
+
strokeStyle?: "solid" | "dashed";
|
|
62710
|
+
}
|
|
62711
|
+
type InferredSchematicBoxProps = z.input<typeof schematicBoxProps>;
|
|
62662
62712
|
|
|
62663
62713
|
declare const schematicCircleProps: z.ZodObject<{
|
|
62664
62714
|
center: z.ZodObject<{
|
|
@@ -62700,7 +62750,16 @@ declare const schematicCircleProps: z.ZodObject<{
|
|
|
62700
62750
|
isDashed?: boolean | undefined;
|
|
62701
62751
|
fillColor?: string | undefined;
|
|
62702
62752
|
}>;
|
|
62703
|
-
|
|
62753
|
+
interface SchematicCircleProps {
|
|
62754
|
+
center: Point;
|
|
62755
|
+
radius: Distance;
|
|
62756
|
+
strokeWidth?: Distance;
|
|
62757
|
+
color?: string;
|
|
62758
|
+
isFilled?: boolean;
|
|
62759
|
+
fillColor?: string;
|
|
62760
|
+
isDashed?: boolean;
|
|
62761
|
+
}
|
|
62762
|
+
type InferredSchematicCircleProps = z.input<typeof schematicCircleProps>;
|
|
62704
62763
|
|
|
62705
62764
|
declare const schematicRectProps: z.ZodObject<{
|
|
62706
62765
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -62739,7 +62798,20 @@ declare const schematicRectProps: z.ZodObject<{
|
|
|
62739
62798
|
fillColor?: string | undefined;
|
|
62740
62799
|
rotation?: string | number | undefined;
|
|
62741
62800
|
}>;
|
|
62742
|
-
|
|
62801
|
+
interface SchematicRectProps {
|
|
62802
|
+
schX?: Distance;
|
|
62803
|
+
schY?: Distance;
|
|
62804
|
+
width: Distance;
|
|
62805
|
+
height: Distance;
|
|
62806
|
+
rotation?: number | string;
|
|
62807
|
+
strokeWidth?: Distance;
|
|
62808
|
+
color?: string;
|
|
62809
|
+
isFilled?: boolean;
|
|
62810
|
+
fillColor?: string;
|
|
62811
|
+
isDashed?: boolean;
|
|
62812
|
+
cornerRadius?: Distance;
|
|
62813
|
+
}
|
|
62814
|
+
type InferredSchematicRectProps = z.input<typeof schematicRectProps>;
|
|
62743
62815
|
|
|
62744
62816
|
declare const schematicLineProps: z.ZodObject<{
|
|
62745
62817
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -62766,7 +62838,18 @@ declare const schematicLineProps: z.ZodObject<{
|
|
|
62766
62838
|
color?: string | undefined;
|
|
62767
62839
|
isDashed?: boolean | undefined;
|
|
62768
62840
|
}>;
|
|
62769
|
-
|
|
62841
|
+
interface SchematicLineProps {
|
|
62842
|
+
x1: Distance;
|
|
62843
|
+
y1: Distance;
|
|
62844
|
+
x2: Distance;
|
|
62845
|
+
y2: Distance;
|
|
62846
|
+
strokeWidth?: Distance;
|
|
62847
|
+
color?: string;
|
|
62848
|
+
isDashed?: boolean;
|
|
62849
|
+
}
|
|
62850
|
+
type InferredSchematicLineProps = z.input<typeof schematicLineProps>;
|
|
62851
|
+
|
|
62852
|
+
declare const fivePointAnchor: z.ZodEnum<["center", "left", "right", "top", "bottom"]>;
|
|
62770
62853
|
|
|
62771
62854
|
declare const schematicTextProps: z.ZodObject<{
|
|
62772
62855
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -62793,7 +62876,16 @@ declare const schematicTextProps: z.ZodObject<{
|
|
|
62793
62876
|
color?: string | undefined;
|
|
62794
62877
|
fontSize?: number | undefined;
|
|
62795
62878
|
}>;
|
|
62796
|
-
|
|
62879
|
+
interface SchematicTextProps {
|
|
62880
|
+
schX?: Distance;
|
|
62881
|
+
schY?: Distance;
|
|
62882
|
+
text: string;
|
|
62883
|
+
fontSize?: number;
|
|
62884
|
+
anchor?: z.infer<typeof fivePointAnchor> | z.infer<typeof ninePointAnchor>;
|
|
62885
|
+
color?: string;
|
|
62886
|
+
schRotation?: number | string;
|
|
62887
|
+
}
|
|
62888
|
+
type InferredSchematicTextProps = z.input<typeof schematicTextProps>;
|
|
62797
62889
|
|
|
62798
62890
|
declare const schematicPathProps: z.ZodObject<{
|
|
62799
62891
|
points: z.ZodArray<z.ZodObject<{
|
|
@@ -62823,7 +62915,12 @@ declare const schematicPathProps: z.ZodObject<{
|
|
|
62823
62915
|
isFilled?: boolean | undefined;
|
|
62824
62916
|
fillColor?: "red" | "blue" | undefined;
|
|
62825
62917
|
}>;
|
|
62826
|
-
|
|
62918
|
+
interface SchematicPathProps {
|
|
62919
|
+
points: Point[];
|
|
62920
|
+
isFilled?: boolean;
|
|
62921
|
+
fillColor?: "red" | "blue";
|
|
62922
|
+
}
|
|
62923
|
+
type InferredSchematicPathProps = z.input<typeof schematicPathProps>;
|
|
62827
62924
|
|
|
62828
62925
|
declare const schematicTableProps: z.ZodObject<{
|
|
62829
62926
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -65121,4 +65218,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
|
|
|
65121
65218
|
}
|
|
65122
65219
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
65123
65220
|
|
|
65124
|
-
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 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 };
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -707,6 +707,7 @@ var subcircuitGroupProps = baseGroupProps.extend({
|
|
|
707
707
|
schTraceAutoLabelEnabled: z30.boolean().optional(),
|
|
708
708
|
schMaxTraceDistance: distance9.optional(),
|
|
709
709
|
routingDisabled: z30.boolean().optional(),
|
|
710
|
+
bomDisabled: z30.boolean().optional(),
|
|
710
711
|
defaultTraceWidth: length2.optional(),
|
|
711
712
|
minTraceWidth: length2.optional(),
|
|
712
713
|
partsEngine: partsEngine.optional(),
|
|
@@ -2008,6 +2009,7 @@ var schematicArcProps = z88.object({
|
|
|
2008
2009
|
color: z88.string().optional(),
|
|
2009
2010
|
isDashed: z88.boolean().optional().default(false)
|
|
2010
2011
|
});
|
|
2012
|
+
expectTypesMatch(true);
|
|
2011
2013
|
|
|
2012
2014
|
// lib/components/toolingrail.ts
|
|
2013
2015
|
import { z as z89 } from "zod";
|
|
@@ -2047,6 +2049,7 @@ var schematicBoxProps = z90.object({
|
|
|
2047
2049
|
message: "Cannot provide both `width`/`height` and `overlay` at the same time."
|
|
2048
2050
|
}
|
|
2049
2051
|
);
|
|
2052
|
+
expectTypesMatch(true);
|
|
2050
2053
|
|
|
2051
2054
|
// lib/components/schematic-circle.ts
|
|
2052
2055
|
import { distance as distance27, point as point6 } from "circuit-json";
|
|
@@ -2060,6 +2063,9 @@ var schematicCircleProps = z91.object({
|
|
|
2060
2063
|
fillColor: z91.string().optional(),
|
|
2061
2064
|
isDashed: z91.boolean().optional().default(false)
|
|
2062
2065
|
});
|
|
2066
|
+
expectTypesMatch(
|
|
2067
|
+
true
|
|
2068
|
+
);
|
|
2063
2069
|
|
|
2064
2070
|
// lib/components/schematic-rect.ts
|
|
2065
2071
|
import { distance as distance28, rotation as rotation6 } from "circuit-json";
|
|
@@ -2077,6 +2083,7 @@ var schematicRectProps = z92.object({
|
|
|
2077
2083
|
isDashed: z92.boolean().optional().default(false),
|
|
2078
2084
|
cornerRadius: distance28.optional()
|
|
2079
2085
|
});
|
|
2086
|
+
expectTypesMatch(true);
|
|
2080
2087
|
|
|
2081
2088
|
// lib/components/schematic-line.ts
|
|
2082
2089
|
import { distance as distance29 } from "circuit-json";
|
|
@@ -2090,6 +2097,7 @@ var schematicLineProps = z93.object({
|
|
|
2090
2097
|
color: z93.string().optional(),
|
|
2091
2098
|
isDashed: z93.boolean().optional().default(false)
|
|
2092
2099
|
});
|
|
2100
|
+
expectTypesMatch(true);
|
|
2093
2101
|
|
|
2094
2102
|
// lib/components/schematic-text.ts
|
|
2095
2103
|
import { distance as distance30, rotation as rotation7 } from "circuit-json";
|
|
@@ -2115,6 +2123,7 @@ var schematicTextProps = z95.object({
|
|
|
2115
2123
|
color: z95.string().default("#000000"),
|
|
2116
2124
|
schRotation: rotation7.default(0)
|
|
2117
2125
|
});
|
|
2126
|
+
expectTypesMatch(true);
|
|
2118
2127
|
|
|
2119
2128
|
// lib/components/schematic-path.ts
|
|
2120
2129
|
import { point as point8 } from "circuit-json";
|
|
@@ -2124,6 +2133,7 @@ var schematicPathProps = z96.object({
|
|
|
2124
2133
|
isFilled: z96.boolean().optional().default(false),
|
|
2125
2134
|
fillColor: z96.enum(["red", "blue"]).optional()
|
|
2126
2135
|
});
|
|
2136
|
+
expectTypesMatch(true);
|
|
2127
2137
|
|
|
2128
2138
|
// lib/components/schematic-table.ts
|
|
2129
2139
|
import { distance as distance31 } from "circuit-json";
|