@tscircuit/props 0.0.285 → 0.0.287

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 CHANGED
@@ -57,6 +57,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
57
57
  | `<testpoint />` | [`TestpointProps`](#testpointprops-testpoint) |
58
58
  | `<transistor />` | [`TransistorProps`](#transistorprops-transistor) |
59
59
  | `<via />` | [`ViaProps`](#viaprops-via) |
60
+ | `<voltagesource />` | [`VoltageSourceProps`](#voltagesourceprops-voltagesource) |
60
61
 
61
62
  <!-- COMPONENT_TABLE_END -->
62
63
 
@@ -942,6 +943,20 @@ export interface ViaProps extends CommonLayoutProps {
942
943
 
943
944
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/via.ts)
944
945
 
946
+ ### VoltageSourceProps `<voltagesource />`
947
+
948
+ ```ts
949
+ export interface VoltageSourceProps extends CommonComponentProps {
950
+ voltage?: number | string;
951
+ frequency?: number | string;
952
+ peakToPeakVoltage?: number | string;
953
+ waveShape?: WaveShape;
954
+ phase?: number | string;
955
+ }
956
+ ```
957
+
958
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/voltagesource.ts)
959
+
945
960
  <!-- INTERFACE_DEFINITIONS_END -->
946
961
 
947
962
  <!-- PLATFORM_CONFIG_START -->
package/dist/index.d.ts CHANGED
@@ -27896,6 +27896,474 @@ declare const powerSourceProps: z.ZodObject<{
27896
27896
  }>;
27897
27897
  type PowerSourceProps = z.input<typeof powerSourceProps>;
27898
27898
 
27899
+ type WaveShape = "sinewave" | "square" | "triangle" | "sawtooth";
27900
+ interface VoltageSourceProps extends CommonComponentProps {
27901
+ voltage?: number | string;
27902
+ frequency?: number | string;
27903
+ peakToPeakVoltage?: number | string;
27904
+ waveShape?: WaveShape;
27905
+ phase?: number | string;
27906
+ }
27907
+ declare const voltageSourceProps: z.ZodObject<{
27908
+ pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27909
+ pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27910
+ pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27911
+ schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27912
+ schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27913
+ schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27914
+ layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
27915
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
27916
+ }, "strip", z.ZodTypeAny, {
27917
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
27918
+ }, {
27919
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
27920
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
27921
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
27922
+ }>>;
27923
+ footprint: z.ZodOptional<z.ZodType<FootprintProp, z.ZodTypeDef, FootprintProp>>;
27924
+ relative: z.ZodOptional<z.ZodBoolean>;
27925
+ schRelative: z.ZodOptional<z.ZodBoolean>;
27926
+ pcbRelative: z.ZodOptional<z.ZodBoolean>;
27927
+ } & {
27928
+ supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
27929
+ } & {
27930
+ key: z.ZodOptional<z.ZodAny>;
27931
+ name: z.ZodString;
27932
+ cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodObject<{
27933
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
27934
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
27935
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
27936
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
27937
+ }, "strip", z.ZodTypeAny, {
27938
+ x: string | number;
27939
+ y: string | number;
27940
+ z: string | number;
27941
+ }, {
27942
+ x: string | number;
27943
+ y: string | number;
27944
+ z: string | number;
27945
+ }>]>>;
27946
+ positionOffset: z.ZodOptional<z.ZodObject<{
27947
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27948
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27949
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27950
+ }, "strip", z.ZodTypeAny, {
27951
+ x: number;
27952
+ y: number;
27953
+ z: number;
27954
+ }, {
27955
+ x: string | number;
27956
+ y: string | number;
27957
+ z: string | number;
27958
+ }>>;
27959
+ size: z.ZodOptional<z.ZodObject<{
27960
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27961
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27962
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
27963
+ }, "strip", z.ZodTypeAny, {
27964
+ x: number;
27965
+ y: number;
27966
+ z: number;
27967
+ }, {
27968
+ x: string | number;
27969
+ y: string | number;
27970
+ z: string | number;
27971
+ }>>;
27972
+ } & {
27973
+ stlUrl: z.ZodString;
27974
+ }, "strip", z.ZodTypeAny, {
27975
+ stlUrl: string;
27976
+ rotationOffset?: number | {
27977
+ x: string | number;
27978
+ y: string | number;
27979
+ z: string | number;
27980
+ } | undefined;
27981
+ positionOffset?: {
27982
+ x: number;
27983
+ y: number;
27984
+ z: number;
27985
+ } | undefined;
27986
+ size?: {
27987
+ x: number;
27988
+ y: number;
27989
+ z: number;
27990
+ } | undefined;
27991
+ }, {
27992
+ stlUrl: string;
27993
+ rotationOffset?: number | {
27994
+ x: string | number;
27995
+ y: string | number;
27996
+ z: string | number;
27997
+ } | undefined;
27998
+ positionOffset?: {
27999
+ x: string | number;
28000
+ y: string | number;
28001
+ z: string | number;
28002
+ } | undefined;
28003
+ size?: {
28004
+ x: string | number;
28005
+ y: string | number;
28006
+ z: string | number;
28007
+ } | undefined;
28008
+ }>, z.ZodObject<{
28009
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
28010
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
28011
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
28012
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
28013
+ }, "strip", z.ZodTypeAny, {
28014
+ x: string | number;
28015
+ y: string | number;
28016
+ z: string | number;
28017
+ }, {
28018
+ x: string | number;
28019
+ y: string | number;
28020
+ z: string | number;
28021
+ }>]>>;
28022
+ positionOffset: z.ZodOptional<z.ZodObject<{
28023
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28024
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28025
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28026
+ }, "strip", z.ZodTypeAny, {
28027
+ x: number;
28028
+ y: number;
28029
+ z: number;
28030
+ }, {
28031
+ x: string | number;
28032
+ y: string | number;
28033
+ z: string | number;
28034
+ }>>;
28035
+ size: z.ZodOptional<z.ZodObject<{
28036
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28037
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28038
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28039
+ }, "strip", z.ZodTypeAny, {
28040
+ x: number;
28041
+ y: number;
28042
+ z: number;
28043
+ }, {
28044
+ x: string | number;
28045
+ y: string | number;
28046
+ z: string | number;
28047
+ }>>;
28048
+ } & {
28049
+ objUrl: z.ZodString;
28050
+ mtlUrl: z.ZodOptional<z.ZodString>;
28051
+ }, "strip", z.ZodTypeAny, {
28052
+ objUrl: string;
28053
+ rotationOffset?: number | {
28054
+ x: string | number;
28055
+ y: string | number;
28056
+ z: string | number;
28057
+ } | undefined;
28058
+ positionOffset?: {
28059
+ x: number;
28060
+ y: number;
28061
+ z: number;
28062
+ } | undefined;
28063
+ size?: {
28064
+ x: number;
28065
+ y: number;
28066
+ z: number;
28067
+ } | undefined;
28068
+ mtlUrl?: string | undefined;
28069
+ }, {
28070
+ objUrl: string;
28071
+ rotationOffset?: number | {
28072
+ x: string | number;
28073
+ y: string | number;
28074
+ z: string | number;
28075
+ } | undefined;
28076
+ positionOffset?: {
28077
+ x: string | number;
28078
+ y: string | number;
28079
+ z: string | number;
28080
+ } | undefined;
28081
+ size?: {
28082
+ x: string | number;
28083
+ y: string | number;
28084
+ z: string | number;
28085
+ } | undefined;
28086
+ mtlUrl?: string | undefined;
28087
+ }>, z.ZodObject<{
28088
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
28089
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
28090
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
28091
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
28092
+ }, "strip", z.ZodTypeAny, {
28093
+ x: string | number;
28094
+ y: string | number;
28095
+ z: string | number;
28096
+ }, {
28097
+ x: string | number;
28098
+ y: string | number;
28099
+ z: string | number;
28100
+ }>]>>;
28101
+ positionOffset: z.ZodOptional<z.ZodObject<{
28102
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28103
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28104
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28105
+ }, "strip", z.ZodTypeAny, {
28106
+ x: number;
28107
+ y: number;
28108
+ z: number;
28109
+ }, {
28110
+ x: string | number;
28111
+ y: string | number;
28112
+ z: string | number;
28113
+ }>>;
28114
+ size: z.ZodOptional<z.ZodObject<{
28115
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28116
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28117
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
28118
+ }, "strip", z.ZodTypeAny, {
28119
+ x: number;
28120
+ y: number;
28121
+ z: number;
28122
+ }, {
28123
+ x: string | number;
28124
+ y: string | number;
28125
+ z: string | number;
28126
+ }>>;
28127
+ } & {
28128
+ jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
28129
+ }, "strip", z.ZodTypeAny, {
28130
+ jscad: Record<string, any>;
28131
+ rotationOffset?: number | {
28132
+ x: string | number;
28133
+ y: string | number;
28134
+ z: string | number;
28135
+ } | undefined;
28136
+ positionOffset?: {
28137
+ x: number;
28138
+ y: number;
28139
+ z: number;
28140
+ } | undefined;
28141
+ size?: {
28142
+ x: number;
28143
+ y: number;
28144
+ z: number;
28145
+ } | undefined;
28146
+ }, {
28147
+ jscad: Record<string, any>;
28148
+ rotationOffset?: number | {
28149
+ x: string | number;
28150
+ y: string | number;
28151
+ z: string | number;
28152
+ } | undefined;
28153
+ positionOffset?: {
28154
+ x: string | number;
28155
+ y: string | number;
28156
+ z: string | number;
28157
+ } | undefined;
28158
+ size?: {
28159
+ x: string | number;
28160
+ y: string | number;
28161
+ z: string | number;
28162
+ } | undefined;
28163
+ }>]>>;
28164
+ children: z.ZodOptional<z.ZodAny>;
28165
+ symbolName: z.ZodOptional<z.ZodString>;
28166
+ doNotPlace: z.ZodOptional<z.ZodBoolean>;
28167
+ pinAttributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
28168
+ providesPower: z.ZodOptional<z.ZodBoolean>;
28169
+ requiresPower: z.ZodOptional<z.ZodBoolean>;
28170
+ providesGround: z.ZodOptional<z.ZodBoolean>;
28171
+ requiresGround: z.ZodOptional<z.ZodBoolean>;
28172
+ providesVoltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
28173
+ requiresVoltage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
28174
+ }, "strip", z.ZodTypeAny, {
28175
+ providesPower?: boolean | undefined;
28176
+ requiresPower?: boolean | undefined;
28177
+ providesGround?: boolean | undefined;
28178
+ requiresGround?: boolean | undefined;
28179
+ providesVoltage?: string | number | undefined;
28180
+ requiresVoltage?: string | number | undefined;
28181
+ }, {
28182
+ providesPower?: boolean | undefined;
28183
+ requiresPower?: boolean | undefined;
28184
+ providesGround?: boolean | undefined;
28185
+ requiresGround?: boolean | undefined;
28186
+ providesVoltage?: string | number | undefined;
28187
+ requiresVoltage?: string | number | undefined;
28188
+ }>>>;
28189
+ } & {
28190
+ voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
28191
+ frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
28192
+ peakToPeakVoltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
28193
+ waveShape: z.ZodOptional<z.ZodEnum<["sinewave", "square", "triangle", "sawtooth"]>>;
28194
+ phase: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
28195
+ }, "strip", z.ZodTypeAny, {
28196
+ name: string;
28197
+ pcbX?: number | undefined;
28198
+ pcbY?: number | undefined;
28199
+ pcbRotation?: number | undefined;
28200
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
28201
+ pcbRelative?: boolean | undefined;
28202
+ relative?: boolean | undefined;
28203
+ schX?: number | undefined;
28204
+ schY?: number | undefined;
28205
+ schRotation?: number | undefined;
28206
+ footprint?: FootprintProp | undefined;
28207
+ schRelative?: boolean | undefined;
28208
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
28209
+ key?: any;
28210
+ pinAttributes?: Record<string, {
28211
+ providesPower?: boolean | undefined;
28212
+ requiresPower?: boolean | undefined;
28213
+ providesGround?: boolean | undefined;
28214
+ requiresGround?: boolean | undefined;
28215
+ providesVoltage?: string | number | undefined;
28216
+ requiresVoltage?: string | number | undefined;
28217
+ }> | undefined;
28218
+ cadModel?: string | {
28219
+ stlUrl: string;
28220
+ rotationOffset?: number | {
28221
+ x: string | number;
28222
+ y: string | number;
28223
+ z: string | number;
28224
+ } | undefined;
28225
+ positionOffset?: {
28226
+ x: number;
28227
+ y: number;
28228
+ z: number;
28229
+ } | undefined;
28230
+ size?: {
28231
+ x: number;
28232
+ y: number;
28233
+ z: number;
28234
+ } | undefined;
28235
+ } | {
28236
+ objUrl: string;
28237
+ rotationOffset?: number | {
28238
+ x: string | number;
28239
+ y: string | number;
28240
+ z: string | number;
28241
+ } | undefined;
28242
+ positionOffset?: {
28243
+ x: number;
28244
+ y: number;
28245
+ z: number;
28246
+ } | undefined;
28247
+ size?: {
28248
+ x: number;
28249
+ y: number;
28250
+ z: number;
28251
+ } | undefined;
28252
+ mtlUrl?: string | undefined;
28253
+ } | {
28254
+ jscad: Record<string, any>;
28255
+ rotationOffset?: number | {
28256
+ x: string | number;
28257
+ y: string | number;
28258
+ z: string | number;
28259
+ } | undefined;
28260
+ positionOffset?: {
28261
+ x: number;
28262
+ y: number;
28263
+ z: number;
28264
+ } | undefined;
28265
+ size?: {
28266
+ x: number;
28267
+ y: number;
28268
+ z: number;
28269
+ } | undefined;
28270
+ } | null | undefined;
28271
+ children?: any;
28272
+ symbolName?: string | undefined;
28273
+ doNotPlace?: boolean | undefined;
28274
+ voltage?: number | undefined;
28275
+ frequency?: number | undefined;
28276
+ peakToPeakVoltage?: number | undefined;
28277
+ waveShape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
28278
+ phase?: number | undefined;
28279
+ }, {
28280
+ name: string;
28281
+ pcbX?: string | number | undefined;
28282
+ pcbY?: string | number | undefined;
28283
+ pcbRotation?: string | number | undefined;
28284
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
28285
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
28286
+ } | undefined;
28287
+ pcbRelative?: boolean | undefined;
28288
+ relative?: boolean | undefined;
28289
+ schX?: string | number | undefined;
28290
+ schY?: string | number | undefined;
28291
+ schRotation?: string | number | undefined;
28292
+ footprint?: FootprintProp | undefined;
28293
+ schRelative?: boolean | undefined;
28294
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
28295
+ key?: any;
28296
+ pinAttributes?: Record<string, {
28297
+ providesPower?: boolean | undefined;
28298
+ requiresPower?: boolean | undefined;
28299
+ providesGround?: boolean | undefined;
28300
+ requiresGround?: boolean | undefined;
28301
+ providesVoltage?: string | number | undefined;
28302
+ requiresVoltage?: string | number | undefined;
28303
+ }> | undefined;
28304
+ cadModel?: string | {
28305
+ stlUrl: string;
28306
+ rotationOffset?: number | {
28307
+ x: string | number;
28308
+ y: string | number;
28309
+ z: string | number;
28310
+ } | undefined;
28311
+ positionOffset?: {
28312
+ x: string | number;
28313
+ y: string | number;
28314
+ z: string | number;
28315
+ } | undefined;
28316
+ size?: {
28317
+ x: string | number;
28318
+ y: string | number;
28319
+ z: string | number;
28320
+ } | undefined;
28321
+ } | {
28322
+ objUrl: string;
28323
+ rotationOffset?: number | {
28324
+ x: string | number;
28325
+ y: string | number;
28326
+ z: string | number;
28327
+ } | undefined;
28328
+ positionOffset?: {
28329
+ x: string | number;
28330
+ y: string | number;
28331
+ z: string | number;
28332
+ } | undefined;
28333
+ size?: {
28334
+ x: string | number;
28335
+ y: string | number;
28336
+ z: string | number;
28337
+ } | undefined;
28338
+ mtlUrl?: string | undefined;
28339
+ } | {
28340
+ jscad: Record<string, any>;
28341
+ rotationOffset?: number | {
28342
+ x: string | number;
28343
+ y: string | number;
28344
+ z: string | number;
28345
+ } | undefined;
28346
+ positionOffset?: {
28347
+ x: string | number;
28348
+ y: string | number;
28349
+ z: string | number;
28350
+ } | undefined;
28351
+ size?: {
28352
+ x: string | number;
28353
+ y: string | number;
28354
+ z: string | number;
28355
+ } | undefined;
28356
+ } | null | undefined;
28357
+ children?: any;
28358
+ symbolName?: string | undefined;
28359
+ doNotPlace?: boolean | undefined;
28360
+ voltage?: string | number | undefined;
28361
+ frequency?: string | number | undefined;
28362
+ peakToPeakVoltage?: string | number | undefined;
28363
+ waveShape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
28364
+ phase?: string | number | undefined;
28365
+ }>;
28366
+
27899
28367
  declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
27900
28368
  schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27901
28369
  schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -28204,6 +28672,15 @@ declare const silkscreenTextProps: z.ZodObject<{
28204
28672
  anchorAlignment: z.ZodDefault<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
28205
28673
  font: z.ZodOptional<z.ZodEnum<["tscircuit2024"]>>;
28206
28674
  fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
28675
+ layers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
28676
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
28677
+ }, "strip", z.ZodTypeAny, {
28678
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
28679
+ }, {
28680
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
28681
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
28682
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
28683
+ }>, "many">>;
28207
28684
  }, "strip", z.ZodTypeAny, {
28208
28685
  text: string;
28209
28686
  anchorAlignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center";
@@ -28213,6 +28690,7 @@ declare const silkscreenTextProps: z.ZodObject<{
28213
28690
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
28214
28691
  pcbRelative?: boolean | undefined;
28215
28692
  relative?: boolean | undefined;
28693
+ layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[] | undefined;
28216
28694
  font?: "tscircuit2024" | undefined;
28217
28695
  fontSize?: number | undefined;
28218
28696
  }, {
@@ -28225,6 +28703,9 @@ declare const silkscreenTextProps: z.ZodObject<{
28225
28703
  } | undefined;
28226
28704
  pcbRelative?: boolean | undefined;
28227
28705
  relative?: boolean | undefined;
28706
+ layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
28707
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
28708
+ })[] | undefined;
28228
28709
  anchorAlignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | undefined;
28229
28710
  font?: "tscircuit2024" | undefined;
28230
28711
  fontSize?: string | number | undefined;
@@ -28731,4 +29212,4 @@ interface PlatformConfig {
28731
29212
  }
28732
29213
  declare const platformConfig: z.ZodType<PlatformConfig>;
28733
29214
 
28734
- export { type AutocompleteString, type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, 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 FabricationNotePathProps, type FabricationNoteTextProps, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, 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 JumperProps, 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 PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicCellProps, 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 SchematicRowProps, type SchematicTableProps, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, 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, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, 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, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicCellProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRowProps, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps };
29215
+ export { type AutocompleteString, type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, 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 FabricationNotePathProps, type FabricationNoteTextProps, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, 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 JumperProps, 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 PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicCellProps, 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 SchematicRowProps, type SchematicTableProps, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageSourceProps, type WaveShape, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, 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, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, 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, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicCellProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRowProps, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageSourceProps };