@tscircuit/props 0.0.113 → 0.0.115
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 +418 -1
- package/dist/index.js +173 -161
- package/dist/index.js.map +1 -1
- package/lib/components/resonator.ts +22 -0
- package/lib/index.ts +1 -0
- package/lib/manual-edits/manual-edit-events/edit_trace_hint_event.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5069,6 +5069,415 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
5069
5069
|
}>;
|
|
5070
5070
|
declare const crystalPins: readonly ["pin1", "left", "pin2", "right"];
|
|
5071
5071
|
|
|
5072
|
+
interface ResonatorProps extends CommonComponentProps {
|
|
5073
|
+
frequency: number | string;
|
|
5074
|
+
loadCapacitance: number | string;
|
|
5075
|
+
pinVariant: "3pin";
|
|
5076
|
+
}
|
|
5077
|
+
declare const resonatorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
5078
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5079
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5080
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5081
|
+
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5082
|
+
schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5083
|
+
schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5084
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
5085
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
5086
|
+
}, "strip", z.ZodTypeAny, {
|
|
5087
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5088
|
+
}, {
|
|
5089
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5090
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5091
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5092
|
+
}>>;
|
|
5093
|
+
footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
|
|
5094
|
+
}, {
|
|
5095
|
+
supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
5096
|
+
}>, {
|
|
5097
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
5098
|
+
name: z.ZodString;
|
|
5099
|
+
cadModel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
5100
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
5101
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5102
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5103
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5104
|
+
}, "strip", z.ZodTypeAny, {
|
|
5105
|
+
x: string | number;
|
|
5106
|
+
y: string | number;
|
|
5107
|
+
z: string | number;
|
|
5108
|
+
}, {
|
|
5109
|
+
x: string | number;
|
|
5110
|
+
y: string | number;
|
|
5111
|
+
z: string | number;
|
|
5112
|
+
}>]>>;
|
|
5113
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
5114
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5115
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5116
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5117
|
+
}, "strip", z.ZodTypeAny, {
|
|
5118
|
+
x: number;
|
|
5119
|
+
y: number;
|
|
5120
|
+
z: number;
|
|
5121
|
+
}, {
|
|
5122
|
+
x: string | number;
|
|
5123
|
+
y: string | number;
|
|
5124
|
+
z: string | number;
|
|
5125
|
+
}>>;
|
|
5126
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
5127
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5128
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5129
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5130
|
+
}, "strip", z.ZodTypeAny, {
|
|
5131
|
+
x: number;
|
|
5132
|
+
y: number;
|
|
5133
|
+
z: number;
|
|
5134
|
+
}, {
|
|
5135
|
+
x: string | number;
|
|
5136
|
+
y: string | number;
|
|
5137
|
+
z: string | number;
|
|
5138
|
+
}>>;
|
|
5139
|
+
}, {
|
|
5140
|
+
stlUrl: z.ZodString;
|
|
5141
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5142
|
+
stlUrl: string;
|
|
5143
|
+
rotationOffset?: number | {
|
|
5144
|
+
x: string | number;
|
|
5145
|
+
y: string | number;
|
|
5146
|
+
z: string | number;
|
|
5147
|
+
} | undefined;
|
|
5148
|
+
positionOffset?: {
|
|
5149
|
+
x: number;
|
|
5150
|
+
y: number;
|
|
5151
|
+
z: number;
|
|
5152
|
+
} | undefined;
|
|
5153
|
+
size?: {
|
|
5154
|
+
x: number;
|
|
5155
|
+
y: number;
|
|
5156
|
+
z: number;
|
|
5157
|
+
} | undefined;
|
|
5158
|
+
}, {
|
|
5159
|
+
stlUrl: string;
|
|
5160
|
+
rotationOffset?: number | {
|
|
5161
|
+
x: string | number;
|
|
5162
|
+
y: string | number;
|
|
5163
|
+
z: string | number;
|
|
5164
|
+
} | undefined;
|
|
5165
|
+
positionOffset?: {
|
|
5166
|
+
x: string | number;
|
|
5167
|
+
y: string | number;
|
|
5168
|
+
z: string | number;
|
|
5169
|
+
} | undefined;
|
|
5170
|
+
size?: {
|
|
5171
|
+
x: string | number;
|
|
5172
|
+
y: string | number;
|
|
5173
|
+
z: string | number;
|
|
5174
|
+
} | undefined;
|
|
5175
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5176
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
5177
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5178
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5179
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5180
|
+
}, "strip", z.ZodTypeAny, {
|
|
5181
|
+
x: string | number;
|
|
5182
|
+
y: string | number;
|
|
5183
|
+
z: string | number;
|
|
5184
|
+
}, {
|
|
5185
|
+
x: string | number;
|
|
5186
|
+
y: string | number;
|
|
5187
|
+
z: string | number;
|
|
5188
|
+
}>]>>;
|
|
5189
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
5190
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5191
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5192
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5193
|
+
}, "strip", z.ZodTypeAny, {
|
|
5194
|
+
x: number;
|
|
5195
|
+
y: number;
|
|
5196
|
+
z: number;
|
|
5197
|
+
}, {
|
|
5198
|
+
x: string | number;
|
|
5199
|
+
y: string | number;
|
|
5200
|
+
z: string | number;
|
|
5201
|
+
}>>;
|
|
5202
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
5203
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5204
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5205
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5206
|
+
}, "strip", z.ZodTypeAny, {
|
|
5207
|
+
x: number;
|
|
5208
|
+
y: number;
|
|
5209
|
+
z: number;
|
|
5210
|
+
}, {
|
|
5211
|
+
x: string | number;
|
|
5212
|
+
y: string | number;
|
|
5213
|
+
z: string | number;
|
|
5214
|
+
}>>;
|
|
5215
|
+
}, {
|
|
5216
|
+
objUrl: z.ZodString;
|
|
5217
|
+
mtlUrl: z.ZodOptional<z.ZodString>;
|
|
5218
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5219
|
+
objUrl: string;
|
|
5220
|
+
rotationOffset?: number | {
|
|
5221
|
+
x: string | number;
|
|
5222
|
+
y: string | number;
|
|
5223
|
+
z: string | number;
|
|
5224
|
+
} | undefined;
|
|
5225
|
+
positionOffset?: {
|
|
5226
|
+
x: number;
|
|
5227
|
+
y: number;
|
|
5228
|
+
z: number;
|
|
5229
|
+
} | undefined;
|
|
5230
|
+
size?: {
|
|
5231
|
+
x: number;
|
|
5232
|
+
y: number;
|
|
5233
|
+
z: number;
|
|
5234
|
+
} | undefined;
|
|
5235
|
+
mtlUrl?: string | undefined;
|
|
5236
|
+
}, {
|
|
5237
|
+
objUrl: string;
|
|
5238
|
+
rotationOffset?: number | {
|
|
5239
|
+
x: string | number;
|
|
5240
|
+
y: string | number;
|
|
5241
|
+
z: string | number;
|
|
5242
|
+
} | undefined;
|
|
5243
|
+
positionOffset?: {
|
|
5244
|
+
x: string | number;
|
|
5245
|
+
y: string | number;
|
|
5246
|
+
z: string | number;
|
|
5247
|
+
} | undefined;
|
|
5248
|
+
size?: {
|
|
5249
|
+
x: string | number;
|
|
5250
|
+
y: string | number;
|
|
5251
|
+
z: string | number;
|
|
5252
|
+
} | undefined;
|
|
5253
|
+
mtlUrl?: string | undefined;
|
|
5254
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5255
|
+
rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
5256
|
+
x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5257
|
+
y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5258
|
+
z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5259
|
+
}, "strip", z.ZodTypeAny, {
|
|
5260
|
+
x: string | number;
|
|
5261
|
+
y: string | number;
|
|
5262
|
+
z: string | number;
|
|
5263
|
+
}, {
|
|
5264
|
+
x: string | number;
|
|
5265
|
+
y: string | number;
|
|
5266
|
+
z: string | number;
|
|
5267
|
+
}>]>>;
|
|
5268
|
+
positionOffset: z.ZodOptional<z.ZodObject<{
|
|
5269
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5270
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5271
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5272
|
+
}, "strip", z.ZodTypeAny, {
|
|
5273
|
+
x: number;
|
|
5274
|
+
y: number;
|
|
5275
|
+
z: number;
|
|
5276
|
+
}, {
|
|
5277
|
+
x: string | number;
|
|
5278
|
+
y: string | number;
|
|
5279
|
+
z: string | number;
|
|
5280
|
+
}>>;
|
|
5281
|
+
size: z.ZodOptional<z.ZodObject<{
|
|
5282
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5283
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5284
|
+
z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5285
|
+
}, "strip", z.ZodTypeAny, {
|
|
5286
|
+
x: number;
|
|
5287
|
+
y: number;
|
|
5288
|
+
z: number;
|
|
5289
|
+
}, {
|
|
5290
|
+
x: string | number;
|
|
5291
|
+
y: string | number;
|
|
5292
|
+
z: string | number;
|
|
5293
|
+
}>>;
|
|
5294
|
+
}, {
|
|
5295
|
+
jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
5296
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5297
|
+
jscad: Record<string, any>;
|
|
5298
|
+
rotationOffset?: number | {
|
|
5299
|
+
x: string | number;
|
|
5300
|
+
y: string | number;
|
|
5301
|
+
z: string | number;
|
|
5302
|
+
} | undefined;
|
|
5303
|
+
positionOffset?: {
|
|
5304
|
+
x: number;
|
|
5305
|
+
y: number;
|
|
5306
|
+
z: number;
|
|
5307
|
+
} | undefined;
|
|
5308
|
+
size?: {
|
|
5309
|
+
x: number;
|
|
5310
|
+
y: number;
|
|
5311
|
+
z: number;
|
|
5312
|
+
} | undefined;
|
|
5313
|
+
}, {
|
|
5314
|
+
jscad: Record<string, any>;
|
|
5315
|
+
rotationOffset?: number | {
|
|
5316
|
+
x: string | number;
|
|
5317
|
+
y: string | number;
|
|
5318
|
+
z: string | number;
|
|
5319
|
+
} | undefined;
|
|
5320
|
+
positionOffset?: {
|
|
5321
|
+
x: string | number;
|
|
5322
|
+
y: string | number;
|
|
5323
|
+
z: string | number;
|
|
5324
|
+
} | undefined;
|
|
5325
|
+
size?: {
|
|
5326
|
+
x: string | number;
|
|
5327
|
+
y: string | number;
|
|
5328
|
+
z: string | number;
|
|
5329
|
+
} | undefined;
|
|
5330
|
+
}>]>>;
|
|
5331
|
+
children: z.ZodOptional<z.ZodAny>;
|
|
5332
|
+
symbolName: z.ZodOptional<z.ZodString>;
|
|
5333
|
+
}>, {
|
|
5334
|
+
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5335
|
+
loadCapacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5336
|
+
pinVariant: z.ZodLiteral<"3pin">;
|
|
5337
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5338
|
+
name: string;
|
|
5339
|
+
frequency: number;
|
|
5340
|
+
loadCapacitance: number;
|
|
5341
|
+
pinVariant: "3pin";
|
|
5342
|
+
pcbX?: number | undefined;
|
|
5343
|
+
pcbY?: number | undefined;
|
|
5344
|
+
pcbRotation?: number | undefined;
|
|
5345
|
+
schX?: number | undefined;
|
|
5346
|
+
schY?: number | undefined;
|
|
5347
|
+
schRotation?: number | undefined;
|
|
5348
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
5349
|
+
footprint?: Footprint | undefined;
|
|
5350
|
+
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5351
|
+
key?: any;
|
|
5352
|
+
cadModel?: string | {
|
|
5353
|
+
stlUrl: string;
|
|
5354
|
+
rotationOffset?: number | {
|
|
5355
|
+
x: string | number;
|
|
5356
|
+
y: string | number;
|
|
5357
|
+
z: string | number;
|
|
5358
|
+
} | undefined;
|
|
5359
|
+
positionOffset?: {
|
|
5360
|
+
x: number;
|
|
5361
|
+
y: number;
|
|
5362
|
+
z: number;
|
|
5363
|
+
} | undefined;
|
|
5364
|
+
size?: {
|
|
5365
|
+
x: number;
|
|
5366
|
+
y: number;
|
|
5367
|
+
z: number;
|
|
5368
|
+
} | undefined;
|
|
5369
|
+
} | {
|
|
5370
|
+
objUrl: string;
|
|
5371
|
+
rotationOffset?: number | {
|
|
5372
|
+
x: string | number;
|
|
5373
|
+
y: string | number;
|
|
5374
|
+
z: string | number;
|
|
5375
|
+
} | undefined;
|
|
5376
|
+
positionOffset?: {
|
|
5377
|
+
x: number;
|
|
5378
|
+
y: number;
|
|
5379
|
+
z: number;
|
|
5380
|
+
} | undefined;
|
|
5381
|
+
size?: {
|
|
5382
|
+
x: number;
|
|
5383
|
+
y: number;
|
|
5384
|
+
z: number;
|
|
5385
|
+
} | undefined;
|
|
5386
|
+
mtlUrl?: string | undefined;
|
|
5387
|
+
} | {
|
|
5388
|
+
jscad: Record<string, any>;
|
|
5389
|
+
rotationOffset?: number | {
|
|
5390
|
+
x: string | number;
|
|
5391
|
+
y: string | number;
|
|
5392
|
+
z: string | number;
|
|
5393
|
+
} | undefined;
|
|
5394
|
+
positionOffset?: {
|
|
5395
|
+
x: number;
|
|
5396
|
+
y: number;
|
|
5397
|
+
z: number;
|
|
5398
|
+
} | undefined;
|
|
5399
|
+
size?: {
|
|
5400
|
+
x: number;
|
|
5401
|
+
y: number;
|
|
5402
|
+
z: number;
|
|
5403
|
+
} | undefined;
|
|
5404
|
+
} | undefined;
|
|
5405
|
+
children?: any;
|
|
5406
|
+
symbolName?: string | undefined;
|
|
5407
|
+
}, {
|
|
5408
|
+
name: string;
|
|
5409
|
+
frequency: string | number;
|
|
5410
|
+
loadCapacitance: string | number;
|
|
5411
|
+
pinVariant: "3pin";
|
|
5412
|
+
pcbX?: string | number | undefined;
|
|
5413
|
+
pcbY?: string | number | undefined;
|
|
5414
|
+
pcbRotation?: string | number | undefined;
|
|
5415
|
+
schX?: string | number | undefined;
|
|
5416
|
+
schY?: string | number | undefined;
|
|
5417
|
+
schRotation?: string | number | undefined;
|
|
5418
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
5419
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5420
|
+
} | undefined;
|
|
5421
|
+
footprint?: Footprint | undefined;
|
|
5422
|
+
supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
5423
|
+
key?: any;
|
|
5424
|
+
cadModel?: string | {
|
|
5425
|
+
stlUrl: string;
|
|
5426
|
+
rotationOffset?: number | {
|
|
5427
|
+
x: string | number;
|
|
5428
|
+
y: string | number;
|
|
5429
|
+
z: string | number;
|
|
5430
|
+
} | undefined;
|
|
5431
|
+
positionOffset?: {
|
|
5432
|
+
x: string | number;
|
|
5433
|
+
y: string | number;
|
|
5434
|
+
z: string | number;
|
|
5435
|
+
} | undefined;
|
|
5436
|
+
size?: {
|
|
5437
|
+
x: string | number;
|
|
5438
|
+
y: string | number;
|
|
5439
|
+
z: string | number;
|
|
5440
|
+
} | undefined;
|
|
5441
|
+
} | {
|
|
5442
|
+
objUrl: string;
|
|
5443
|
+
rotationOffset?: number | {
|
|
5444
|
+
x: string | number;
|
|
5445
|
+
y: string | number;
|
|
5446
|
+
z: string | number;
|
|
5447
|
+
} | undefined;
|
|
5448
|
+
positionOffset?: {
|
|
5449
|
+
x: string | number;
|
|
5450
|
+
y: string | number;
|
|
5451
|
+
z: string | number;
|
|
5452
|
+
} | undefined;
|
|
5453
|
+
size?: {
|
|
5454
|
+
x: string | number;
|
|
5455
|
+
y: string | number;
|
|
5456
|
+
z: string | number;
|
|
5457
|
+
} | undefined;
|
|
5458
|
+
mtlUrl?: string | undefined;
|
|
5459
|
+
} | {
|
|
5460
|
+
jscad: Record<string, any>;
|
|
5461
|
+
rotationOffset?: number | {
|
|
5462
|
+
x: string | number;
|
|
5463
|
+
y: string | number;
|
|
5464
|
+
z: string | number;
|
|
5465
|
+
} | undefined;
|
|
5466
|
+
positionOffset?: {
|
|
5467
|
+
x: string | number;
|
|
5468
|
+
y: string | number;
|
|
5469
|
+
z: string | number;
|
|
5470
|
+
} | undefined;
|
|
5471
|
+
size?: {
|
|
5472
|
+
x: string | number;
|
|
5473
|
+
y: string | number;
|
|
5474
|
+
z: string | number;
|
|
5475
|
+
} | undefined;
|
|
5476
|
+
} | undefined;
|
|
5477
|
+
children?: any;
|
|
5478
|
+
symbolName?: string | undefined;
|
|
5479
|
+
}>;
|
|
5480
|
+
|
|
5072
5481
|
interface CapacitorProps extends CommonComponentProps {
|
|
5073
5482
|
capacitance: number | string;
|
|
5074
5483
|
polarized?: boolean;
|
|
@@ -7928,6 +8337,7 @@ declare const edit_trace_hint_event: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7928
8337
|
created_at: z.ZodNumber;
|
|
7929
8338
|
}, {
|
|
7930
8339
|
pcb_edit_event_type: z.ZodLiteral<"edit_trace_hint">;
|
|
8340
|
+
edit_event_type: z.ZodOptional<z.ZodLiteral<"edit_pcb_trace_hint">>;
|
|
7931
8341
|
pcb_port_id: z.ZodString;
|
|
7932
8342
|
pcb_trace_hint_id: z.ZodOptional<z.ZodString>;
|
|
7933
8343
|
route: z.ZodArray<z.ZodObject<{
|
|
@@ -7954,6 +8364,7 @@ declare const edit_trace_hint_event: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7954
8364
|
pcb_edit_event_type: "edit_trace_hint";
|
|
7955
8365
|
pcb_port_id: string;
|
|
7956
8366
|
in_progress?: boolean | undefined;
|
|
8367
|
+
edit_event_type?: "edit_pcb_trace_hint" | undefined;
|
|
7957
8368
|
pcb_trace_hint_id?: string | undefined;
|
|
7958
8369
|
}, {
|
|
7959
8370
|
route: {
|
|
@@ -7966,10 +8377,13 @@ declare const edit_trace_hint_event: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7966
8377
|
pcb_edit_event_type: "edit_trace_hint";
|
|
7967
8378
|
pcb_port_id: string;
|
|
7968
8379
|
in_progress?: boolean | undefined;
|
|
8380
|
+
edit_event_type?: "edit_pcb_trace_hint" | undefined;
|
|
7969
8381
|
pcb_trace_hint_id?: string | undefined;
|
|
7970
8382
|
}>;
|
|
7971
8383
|
interface EditTraceHintEvent extends BaseManualEditEvent {
|
|
8384
|
+
/** @deprecated */
|
|
7972
8385
|
pcb_edit_event_type: "edit_trace_hint";
|
|
8386
|
+
edit_event_type?: "edit_pcb_trace_hint";
|
|
7973
8387
|
pcb_port_id: string;
|
|
7974
8388
|
pcb_trace_hint_id?: string;
|
|
7975
8389
|
route: Array<{
|
|
@@ -8115,6 +8529,7 @@ declare const manual_edit_event: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShap
|
|
|
8115
8529
|
created_at: z.ZodNumber;
|
|
8116
8530
|
}, {
|
|
8117
8531
|
pcb_edit_event_type: z.ZodLiteral<"edit_trace_hint">;
|
|
8532
|
+
edit_event_type: z.ZodOptional<z.ZodLiteral<"edit_pcb_trace_hint">>;
|
|
8118
8533
|
pcb_port_id: z.ZodString;
|
|
8119
8534
|
pcb_trace_hint_id: z.ZodOptional<z.ZodString>;
|
|
8120
8535
|
route: z.ZodArray<z.ZodObject<{
|
|
@@ -8141,6 +8556,7 @@ declare const manual_edit_event: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShap
|
|
|
8141
8556
|
pcb_edit_event_type: "edit_trace_hint";
|
|
8142
8557
|
pcb_port_id: string;
|
|
8143
8558
|
in_progress?: boolean | undefined;
|
|
8559
|
+
edit_event_type?: "edit_pcb_trace_hint" | undefined;
|
|
8144
8560
|
pcb_trace_hint_id?: string | undefined;
|
|
8145
8561
|
}, {
|
|
8146
8562
|
route: {
|
|
@@ -8153,6 +8569,7 @@ declare const manual_edit_event: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShap
|
|
|
8153
8569
|
pcb_edit_event_type: "edit_trace_hint";
|
|
8154
8570
|
pcb_port_id: string;
|
|
8155
8571
|
in_progress?: boolean | undefined;
|
|
8572
|
+
edit_event_type?: "edit_pcb_trace_hint" | undefined;
|
|
8156
8573
|
pcb_trace_hint_id?: string | undefined;
|
|
8157
8574
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8158
8575
|
edit_event_id: z.ZodString;
|
|
@@ -11768,4 +12185,4 @@ declare const fabricationNotePathProps: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
11768
12185
|
}>;
|
|
11769
12186
|
type FabricationNotePathProps = z.input<typeof fabricationNotePathProps>;
|
|
11770
12187
|
|
|
11771
|
-
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type JumperProps, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type NetAliasProps, 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 PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PortHints, type PortProps, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edit_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pinHeaderProps, pinLabelsProp, platedHoleProps, point3, portHints, portProps, portRef, potentiometerPins, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, viaProps };
|
|
12188
|
+
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type JumperProps, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type NetAliasProps, 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 PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PortHints, type PortProps, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorProps, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edit_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pinHeaderProps, pinLabelsProp, platedHoleProps, point3, portHints, portProps, portRef, potentiometerPins, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, viaProps };
|