circuit-json 0.0.188 → 0.0.190
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 +13 -0
- package/dist/index.d.mts +530 -538
- package/dist/index.mjs +622 -612
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3009,12 +3009,12 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
3009
3009
|
type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
3010
3010
|
type PCBKeepout = z.infer<typeof pcb_keepout>;
|
|
3011
3011
|
|
|
3012
|
-
declare const pcb_cutout_rect: z.ZodObject<
|
|
3012
|
+
declare const pcb_cutout_rect: z.ZodObject<{
|
|
3013
3013
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
3014
3014
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3015
3015
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3016
3016
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3017
|
-
}
|
|
3017
|
+
} & {
|
|
3018
3018
|
shape: z.ZodLiteral<"rect">;
|
|
3019
3019
|
center: z.ZodObject<{
|
|
3020
3020
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3029,7 +3029,7 @@ declare const pcb_cutout_rect: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3029
3029
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3030
3030
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3031
3031
|
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3032
|
-
}
|
|
3032
|
+
}, "strip", z.ZodTypeAny, {
|
|
3033
3033
|
type: "pcb_cutout";
|
|
3034
3034
|
width: number;
|
|
3035
3035
|
height: number;
|
|
@@ -3071,12 +3071,12 @@ interface PcbCutoutRect {
|
|
|
3071
3071
|
height: Length;
|
|
3072
3072
|
rotation?: Rotation;
|
|
3073
3073
|
}
|
|
3074
|
-
declare const pcb_cutout_circle: z.ZodObject<
|
|
3074
|
+
declare const pcb_cutout_circle: z.ZodObject<{
|
|
3075
3075
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
3076
3076
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3077
3077
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3078
3078
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3079
|
-
}
|
|
3079
|
+
} & {
|
|
3080
3080
|
shape: z.ZodLiteral<"circle">;
|
|
3081
3081
|
center: z.ZodObject<{
|
|
3082
3082
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3089,7 +3089,7 @@ declare const pcb_cutout_circle: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3089
3089
|
y: string | number;
|
|
3090
3090
|
}>;
|
|
3091
3091
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3092
|
-
}
|
|
3092
|
+
}, "strip", z.ZodTypeAny, {
|
|
3093
3093
|
type: "pcb_cutout";
|
|
3094
3094
|
center: {
|
|
3095
3095
|
x: number;
|
|
@@ -3125,12 +3125,12 @@ interface PcbCutoutCircle {
|
|
|
3125
3125
|
center: Point;
|
|
3126
3126
|
radius: Length;
|
|
3127
3127
|
}
|
|
3128
|
-
declare const pcb_cutout_polygon: z.ZodObject<
|
|
3128
|
+
declare const pcb_cutout_polygon: z.ZodObject<{
|
|
3129
3129
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
3130
3130
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3131
3131
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3132
3132
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3133
|
-
}
|
|
3133
|
+
} & {
|
|
3134
3134
|
shape: z.ZodLiteral<"polygon">;
|
|
3135
3135
|
points: z.ZodArray<z.ZodObject<{
|
|
3136
3136
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3142,7 +3142,7 @@ declare const pcb_cutout_polygon: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3142
3142
|
x: string | number;
|
|
3143
3143
|
y: string | number;
|
|
3144
3144
|
}>, "many">;
|
|
3145
|
-
}
|
|
3145
|
+
}, "strip", z.ZodTypeAny, {
|
|
3146
3146
|
type: "pcb_cutout";
|
|
3147
3147
|
shape: "polygon";
|
|
3148
3148
|
pcb_cutout_id: string;
|
|
@@ -3176,12 +3176,12 @@ interface PcbCutoutPolygon {
|
|
|
3176
3176
|
shape: "polygon";
|
|
3177
3177
|
points: Point[];
|
|
3178
3178
|
}
|
|
3179
|
-
declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<
|
|
3179
|
+
declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
3180
3180
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
3181
3181
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3182
3182
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3183
3183
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3184
|
-
}
|
|
3184
|
+
} & {
|
|
3185
3185
|
shape: z.ZodLiteral<"rect">;
|
|
3186
3186
|
center: z.ZodObject<{
|
|
3187
3187
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3196,7 +3196,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.object
|
|
|
3196
3196
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3197
3197
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3198
3198
|
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3199
|
-
}
|
|
3199
|
+
}, "strip", z.ZodTypeAny, {
|
|
3200
3200
|
type: "pcb_cutout";
|
|
3201
3201
|
width: number;
|
|
3202
3202
|
height: number;
|
|
@@ -3222,12 +3222,12 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.object
|
|
|
3222
3222
|
subcircuit_id?: string | undefined;
|
|
3223
3223
|
pcb_group_id?: string | undefined;
|
|
3224
3224
|
pcb_cutout_id?: string | undefined;
|
|
3225
|
-
}>, z.ZodObject<
|
|
3225
|
+
}>, z.ZodObject<{
|
|
3226
3226
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
3227
3227
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3228
3228
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3229
3229
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3230
|
-
}
|
|
3230
|
+
} & {
|
|
3231
3231
|
shape: z.ZodLiteral<"circle">;
|
|
3232
3232
|
center: z.ZodObject<{
|
|
3233
3233
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3240,7 +3240,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.object
|
|
|
3240
3240
|
y: string | number;
|
|
3241
3241
|
}>;
|
|
3242
3242
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3243
|
-
}
|
|
3243
|
+
}, "strip", z.ZodTypeAny, {
|
|
3244
3244
|
type: "pcb_cutout";
|
|
3245
3245
|
center: {
|
|
3246
3246
|
x: number;
|
|
@@ -3262,12 +3262,12 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.object
|
|
|
3262
3262
|
subcircuit_id?: string | undefined;
|
|
3263
3263
|
pcb_group_id?: string | undefined;
|
|
3264
3264
|
pcb_cutout_id?: string | undefined;
|
|
3265
|
-
}>, z.ZodObject<
|
|
3265
|
+
}>, z.ZodObject<{
|
|
3266
3266
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
3267
3267
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3268
3268
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3269
3269
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3270
|
-
}
|
|
3270
|
+
} & {
|
|
3271
3271
|
shape: z.ZodLiteral<"polygon">;
|
|
3272
3272
|
points: z.ZodArray<z.ZodObject<{
|
|
3273
3273
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3279,7 +3279,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.object
|
|
|
3279
3279
|
x: string | number;
|
|
3280
3280
|
y: string | number;
|
|
3281
3281
|
}>, "many">;
|
|
3282
|
-
}
|
|
3282
|
+
}, "strip", z.ZodTypeAny, {
|
|
3283
3283
|
type: "pcb_cutout";
|
|
3284
3284
|
shape: "polygon";
|
|
3285
3285
|
pcb_cutout_id: string;
|
|
@@ -4451,10 +4451,10 @@ declare const schematic_debug_object_base: z.ZodObject<{
|
|
|
4451
4451
|
type: "schematic_debug_object";
|
|
4452
4452
|
label?: string | undefined;
|
|
4453
4453
|
}>;
|
|
4454
|
-
declare const schematic_debug_rect: z.ZodObject<
|
|
4454
|
+
declare const schematic_debug_rect: z.ZodObject<{
|
|
4455
4455
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4456
4456
|
label: z.ZodOptional<z.ZodString>;
|
|
4457
|
-
}
|
|
4457
|
+
} & {
|
|
4458
4458
|
shape: z.ZodLiteral<"rect">;
|
|
4459
4459
|
center: z.ZodObject<{
|
|
4460
4460
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4476,7 +4476,7 @@ declare const schematic_debug_rect: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4476
4476
|
width: number;
|
|
4477
4477
|
height: number;
|
|
4478
4478
|
}>;
|
|
4479
|
-
}
|
|
4479
|
+
}, "strip", z.ZodTypeAny, {
|
|
4480
4480
|
type: "schematic_debug_object";
|
|
4481
4481
|
center: {
|
|
4482
4482
|
x: number;
|
|
@@ -4501,10 +4501,10 @@ declare const schematic_debug_rect: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4501
4501
|
};
|
|
4502
4502
|
label?: string | undefined;
|
|
4503
4503
|
}>;
|
|
4504
|
-
declare const schematic_debug_line: z.ZodObject<
|
|
4504
|
+
declare const schematic_debug_line: z.ZodObject<{
|
|
4505
4505
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4506
4506
|
label: z.ZodOptional<z.ZodString>;
|
|
4507
|
-
}
|
|
4507
|
+
} & {
|
|
4508
4508
|
shape: z.ZodLiteral<"line">;
|
|
4509
4509
|
start: z.ZodObject<{
|
|
4510
4510
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4526,7 +4526,7 @@ declare const schematic_debug_line: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4526
4526
|
x: string | number;
|
|
4527
4527
|
y: string | number;
|
|
4528
4528
|
}>;
|
|
4529
|
-
}
|
|
4529
|
+
}, "strip", z.ZodTypeAny, {
|
|
4530
4530
|
type: "schematic_debug_object";
|
|
4531
4531
|
shape: "line";
|
|
4532
4532
|
start: {
|
|
@@ -4551,10 +4551,10 @@ declare const schematic_debug_line: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4551
4551
|
};
|
|
4552
4552
|
label?: string | undefined;
|
|
4553
4553
|
}>;
|
|
4554
|
-
declare const schematic_debug_point: z.ZodObject<
|
|
4554
|
+
declare const schematic_debug_point: z.ZodObject<{
|
|
4555
4555
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4556
4556
|
label: z.ZodOptional<z.ZodString>;
|
|
4557
|
-
}
|
|
4557
|
+
} & {
|
|
4558
4558
|
shape: z.ZodLiteral<"point">;
|
|
4559
4559
|
center: z.ZodObject<{
|
|
4560
4560
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4566,7 +4566,7 @@ declare const schematic_debug_point: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4566
4566
|
x: string | number;
|
|
4567
4567
|
y: string | number;
|
|
4568
4568
|
}>;
|
|
4569
|
-
}
|
|
4569
|
+
}, "strip", z.ZodTypeAny, {
|
|
4570
4570
|
type: "schematic_debug_object";
|
|
4571
4571
|
center: {
|
|
4572
4572
|
x: number;
|
|
@@ -4583,10 +4583,10 @@ declare const schematic_debug_point: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4583
4583
|
shape: "point";
|
|
4584
4584
|
label?: string | undefined;
|
|
4585
4585
|
}>;
|
|
4586
|
-
declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<
|
|
4586
|
+
declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
4587
4587
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4588
4588
|
label: z.ZodOptional<z.ZodString>;
|
|
4589
|
-
}
|
|
4589
|
+
} & {
|
|
4590
4590
|
shape: z.ZodLiteral<"rect">;
|
|
4591
4591
|
center: z.ZodObject<{
|
|
4592
4592
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4608,7 +4608,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
4608
4608
|
width: number;
|
|
4609
4609
|
height: number;
|
|
4610
4610
|
}>;
|
|
4611
|
-
}
|
|
4611
|
+
}, "strip", z.ZodTypeAny, {
|
|
4612
4612
|
type: "schematic_debug_object";
|
|
4613
4613
|
center: {
|
|
4614
4614
|
x: number;
|
|
@@ -4632,10 +4632,10 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
4632
4632
|
height: number;
|
|
4633
4633
|
};
|
|
4634
4634
|
label?: string | undefined;
|
|
4635
|
-
}>, z.ZodObject<
|
|
4635
|
+
}>, z.ZodObject<{
|
|
4636
4636
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4637
4637
|
label: z.ZodOptional<z.ZodString>;
|
|
4638
|
-
}
|
|
4638
|
+
} & {
|
|
4639
4639
|
shape: z.ZodLiteral<"line">;
|
|
4640
4640
|
start: z.ZodObject<{
|
|
4641
4641
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4657,7 +4657,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
4657
4657
|
x: string | number;
|
|
4658
4658
|
y: string | number;
|
|
4659
4659
|
}>;
|
|
4660
|
-
}
|
|
4660
|
+
}, "strip", z.ZodTypeAny, {
|
|
4661
4661
|
type: "schematic_debug_object";
|
|
4662
4662
|
shape: "line";
|
|
4663
4663
|
start: {
|
|
@@ -4681,10 +4681,10 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
4681
4681
|
y: string | number;
|
|
4682
4682
|
};
|
|
4683
4683
|
label?: string | undefined;
|
|
4684
|
-
}>, z.ZodObject<
|
|
4684
|
+
}>, z.ZodObject<{
|
|
4685
4685
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
4686
4686
|
label: z.ZodOptional<z.ZodString>;
|
|
4687
|
-
}
|
|
4687
|
+
} & {
|
|
4688
4688
|
shape: z.ZodLiteral<"point">;
|
|
4689
4689
|
center: z.ZodObject<{
|
|
4690
4690
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4696,7 +4696,7 @@ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObj
|
|
|
4696
4696
|
x: string | number;
|
|
4697
4697
|
y: string | number;
|
|
4698
4698
|
}>;
|
|
4699
|
-
}
|
|
4699
|
+
}, "strip", z.ZodTypeAny, {
|
|
4700
4700
|
type: "schematic_debug_object";
|
|
4701
4701
|
center: {
|
|
4702
4702
|
x: number;
|
|
@@ -4937,9 +4937,8 @@ declare const source_component_base: z.ZodObject<{
|
|
|
4937
4937
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
4938
4938
|
}>;
|
|
4939
4939
|
|
|
4940
|
-
declare const source_simple_capacitor: z.ZodObject<
|
|
4940
|
+
declare const source_simple_capacitor: z.ZodObject<{
|
|
4941
4941
|
type: z.ZodLiteral<"source_component">;
|
|
4942
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
4943
4942
|
source_component_id: z.ZodString;
|
|
4944
4943
|
name: z.ZodString;
|
|
4945
4944
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -4948,13 +4947,13 @@ declare const source_simple_capacitor: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
4948
4947
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
4949
4948
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
4950
4949
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
4951
|
-
}
|
|
4950
|
+
} & {
|
|
4952
4951
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
4953
4952
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
4954
4953
|
max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4955
4954
|
display_capacitance: z.ZodOptional<z.ZodString>;
|
|
4956
4955
|
max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4957
|
-
}
|
|
4956
|
+
}, "strip", z.ZodTypeAny, {
|
|
4958
4957
|
type: "source_component";
|
|
4959
4958
|
name: string;
|
|
4960
4959
|
source_component_id: string;
|
|
@@ -4997,9 +4996,8 @@ interface SourceSimpleCapacitor extends SourceComponentBase {
|
|
|
4997
4996
|
max_decoupling_trace_length?: number;
|
|
4998
4997
|
}
|
|
4999
4998
|
|
|
5000
|
-
declare const source_simple_resistor: z.ZodObject<
|
|
4999
|
+
declare const source_simple_resistor: z.ZodObject<{
|
|
5001
5000
|
type: z.ZodLiteral<"source_component">;
|
|
5002
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5003
5001
|
source_component_id: z.ZodString;
|
|
5004
5002
|
name: z.ZodString;
|
|
5005
5003
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5008,11 +5006,11 @@ declare const source_simple_resistor: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5008
5006
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5009
5007
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5010
5008
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5011
|
-
}
|
|
5009
|
+
} & {
|
|
5012
5010
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
5013
5011
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5014
5012
|
display_resistance: z.ZodOptional<z.ZodString>;
|
|
5015
|
-
}
|
|
5013
|
+
}, "strip", z.ZodTypeAny, {
|
|
5016
5014
|
type: "source_component";
|
|
5017
5015
|
name: string;
|
|
5018
5016
|
source_component_id: string;
|
|
@@ -5049,9 +5047,8 @@ interface SourceSimpleResistor extends SourceComponentBase {
|
|
|
5049
5047
|
display_resistance?: string;
|
|
5050
5048
|
}
|
|
5051
5049
|
|
|
5052
|
-
declare const source_simple_diode: z.ZodObject<
|
|
5050
|
+
declare const source_simple_diode: z.ZodObject<{
|
|
5053
5051
|
type: z.ZodLiteral<"source_component">;
|
|
5054
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5055
5052
|
source_component_id: z.ZodString;
|
|
5056
5053
|
name: z.ZodString;
|
|
5057
5054
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5060,9 +5057,9 @@ declare const source_simple_diode: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5060
5057
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5061
5058
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5062
5059
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5063
|
-
}
|
|
5060
|
+
} & {
|
|
5064
5061
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
5065
|
-
}
|
|
5062
|
+
}, "strip", z.ZodTypeAny, {
|
|
5066
5063
|
type: "source_component";
|
|
5067
5064
|
name: string;
|
|
5068
5065
|
source_component_id: string;
|
|
@@ -5093,9 +5090,8 @@ interface SourceSimpleDiode extends SourceComponentBase {
|
|
|
5093
5090
|
ftype: "simple_diode";
|
|
5094
5091
|
}
|
|
5095
5092
|
|
|
5096
|
-
declare const source_simple_led: z.ZodObject<
|
|
5093
|
+
declare const source_simple_led: z.ZodObject<{
|
|
5097
5094
|
type: z.ZodLiteral<"source_component">;
|
|
5098
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5099
5095
|
source_component_id: z.ZodString;
|
|
5100
5096
|
name: z.ZodString;
|
|
5101
5097
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5104,13 +5100,11 @@ declare const source_simple_led: z.ZodObject<z.objectUtil.extendShape<z.objectUt
|
|
|
5104
5100
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5105
5101
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5106
5102
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5107
|
-
}
|
|
5108
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
5109
|
-
}>, {
|
|
5103
|
+
} & {
|
|
5110
5104
|
ftype: z.ZodLiteral<"simple_led">;
|
|
5111
5105
|
color: z.ZodOptional<z.ZodString>;
|
|
5112
5106
|
wavelength: z.ZodOptional<z.ZodString>;
|
|
5113
|
-
}
|
|
5107
|
+
}, "strip", z.ZodTypeAny, {
|
|
5114
5108
|
type: "source_component";
|
|
5115
5109
|
name: string;
|
|
5116
5110
|
source_component_id: string;
|
|
@@ -5147,9 +5141,8 @@ interface SourceSimpleLed extends Omit<SourceSimpleDiode, "ftype"> {
|
|
|
5147
5141
|
wavelength?: string;
|
|
5148
5142
|
}
|
|
5149
5143
|
|
|
5150
|
-
declare const source_simple_ground: z.ZodObject<
|
|
5144
|
+
declare const source_simple_ground: z.ZodObject<{
|
|
5151
5145
|
type: z.ZodLiteral<"source_component">;
|
|
5152
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5153
5146
|
source_component_id: z.ZodString;
|
|
5154
5147
|
name: z.ZodString;
|
|
5155
5148
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5158,9 +5151,9 @@ declare const source_simple_ground: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5158
5151
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5159
5152
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5160
5153
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5161
|
-
}
|
|
5154
|
+
} & {
|
|
5162
5155
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
5163
|
-
}
|
|
5156
|
+
}, "strip", z.ZodTypeAny, {
|
|
5164
5157
|
type: "source_component";
|
|
5165
5158
|
name: string;
|
|
5166
5159
|
source_component_id: string;
|
|
@@ -5194,9 +5187,8 @@ interface SourceSimpleGround extends SourceComponentBase {
|
|
|
5194
5187
|
/**
|
|
5195
5188
|
* @deprecated Use source_simple_chip instead. This will be removed in a future version.
|
|
5196
5189
|
*/
|
|
5197
|
-
declare const source_simple_bug: z.ZodObject<
|
|
5190
|
+
declare const source_simple_bug: z.ZodObject<{
|
|
5198
5191
|
type: z.ZodLiteral<"source_component">;
|
|
5199
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5200
5192
|
source_component_id: z.ZodString;
|
|
5201
5193
|
name: z.ZodString;
|
|
5202
5194
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5205,9 +5197,9 @@ declare const source_simple_bug: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5205
5197
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5206
5198
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5207
5199
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5208
|
-
}
|
|
5200
|
+
} & {
|
|
5209
5201
|
ftype: z.ZodLiteral<"simple_bug">;
|
|
5210
|
-
}
|
|
5202
|
+
}, "strip", z.ZodTypeAny, {
|
|
5211
5203
|
type: "source_component";
|
|
5212
5204
|
name: string;
|
|
5213
5205
|
source_component_id: string;
|
|
@@ -5233,9 +5225,8 @@ declare const source_simple_bug: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5233
5225
|
type source_simple_bug = z.infer<typeof source_simple_bug>;
|
|
5234
5226
|
type SourceSimpleBugInput = z.input<typeof source_simple_bug>;
|
|
5235
5227
|
|
|
5236
|
-
declare const source_simple_chip: z.ZodObject<
|
|
5228
|
+
declare const source_simple_chip: z.ZodObject<{
|
|
5237
5229
|
type: z.ZodLiteral<"source_component">;
|
|
5238
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5239
5230
|
source_component_id: z.ZodString;
|
|
5240
5231
|
name: z.ZodString;
|
|
5241
5232
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5244,9 +5235,9 @@ declare const source_simple_chip: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5244
5235
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5245
5236
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5246
5237
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5247
|
-
}
|
|
5238
|
+
} & {
|
|
5248
5239
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
5249
|
-
}
|
|
5240
|
+
}, "strip", z.ZodTypeAny, {
|
|
5250
5241
|
type: "source_component";
|
|
5251
5242
|
name: string;
|
|
5252
5243
|
source_component_id: string;
|
|
@@ -5277,9 +5268,8 @@ interface SourceSimpleChip extends SourceComponentBase {
|
|
|
5277
5268
|
ftype: "simple_chip";
|
|
5278
5269
|
}
|
|
5279
5270
|
|
|
5280
|
-
declare const source_led: z.ZodObject<
|
|
5271
|
+
declare const source_led: z.ZodObject<{
|
|
5281
5272
|
type: z.ZodLiteral<"source_component">;
|
|
5282
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5283
5273
|
source_component_id: z.ZodString;
|
|
5284
5274
|
name: z.ZodString;
|
|
5285
5275
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5288,11 +5278,9 @@ declare const source_led: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
5288
5278
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5289
5279
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5290
5280
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5291
|
-
}
|
|
5292
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
5293
|
-
}>, {
|
|
5281
|
+
} & {
|
|
5294
5282
|
ftype: z.ZodLiteral<"led">;
|
|
5295
|
-
}
|
|
5283
|
+
}, "strip", z.ZodTypeAny, {
|
|
5296
5284
|
type: "source_component";
|
|
5297
5285
|
name: string;
|
|
5298
5286
|
source_component_id: string;
|
|
@@ -5323,9 +5311,8 @@ interface SourceLed extends SourceComponentBase {
|
|
|
5323
5311
|
ftype: "led";
|
|
5324
5312
|
}
|
|
5325
5313
|
|
|
5326
|
-
declare const source_simple_power_source: z.ZodObject<
|
|
5314
|
+
declare const source_simple_power_source: z.ZodObject<{
|
|
5327
5315
|
type: z.ZodLiteral<"source_component">;
|
|
5328
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5329
5316
|
source_component_id: z.ZodString;
|
|
5330
5317
|
name: z.ZodString;
|
|
5331
5318
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5334,10 +5321,10 @@ declare const source_simple_power_source: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5334
5321
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5335
5322
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5336
5323
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5337
|
-
}
|
|
5324
|
+
} & {
|
|
5338
5325
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
5339
5326
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5340
|
-
}
|
|
5327
|
+
}, "strip", z.ZodTypeAny, {
|
|
5341
5328
|
type: "source_component";
|
|
5342
5329
|
name: string;
|
|
5343
5330
|
source_component_id: string;
|
|
@@ -5371,9 +5358,14 @@ interface SourceSimplePowerSource extends SourceComponentBase {
|
|
|
5371
5358
|
voltage: number;
|
|
5372
5359
|
}
|
|
5373
5360
|
|
|
5374
|
-
|
|
5361
|
+
interface SourceSimpleFuse extends SourceComponentBase {
|
|
5362
|
+
ftype: "simple_fuse";
|
|
5363
|
+
current_rating_amps: number;
|
|
5364
|
+
voltage_rating_volts: number;
|
|
5365
|
+
}
|
|
5366
|
+
|
|
5367
|
+
declare const source_simple_battery: z.ZodObject<{
|
|
5375
5368
|
type: z.ZodLiteral<"source_component">;
|
|
5376
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5377
5369
|
source_component_id: z.ZodString;
|
|
5378
5370
|
name: z.ZodString;
|
|
5379
5371
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5382,10 +5374,10 @@ declare const source_simple_battery: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5382
5374
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5383
5375
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5384
5376
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5385
|
-
}
|
|
5377
|
+
} & {
|
|
5386
5378
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
5387
5379
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
5388
|
-
}
|
|
5380
|
+
}, "strip", z.ZodTypeAny, {
|
|
5389
5381
|
type: "source_component";
|
|
5390
5382
|
name: string;
|
|
5391
5383
|
source_component_id: string;
|
|
@@ -5419,9 +5411,8 @@ interface SourceSimpleBattery extends SourceComponentBase {
|
|
|
5419
5411
|
capacity: number;
|
|
5420
5412
|
}
|
|
5421
5413
|
|
|
5422
|
-
declare const source_simple_inductor: z.ZodObject<
|
|
5414
|
+
declare const source_simple_inductor: z.ZodObject<{
|
|
5423
5415
|
type: z.ZodLiteral<"source_component">;
|
|
5424
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5425
5416
|
source_component_id: z.ZodString;
|
|
5426
5417
|
name: z.ZodString;
|
|
5427
5418
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5430,10 +5421,10 @@ declare const source_simple_inductor: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5430
5421
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5431
5422
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5432
5423
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5433
|
-
}
|
|
5424
|
+
} & {
|
|
5434
5425
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
5435
5426
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5436
|
-
}
|
|
5427
|
+
}, "strip", z.ZodTypeAny, {
|
|
5437
5428
|
type: "source_component";
|
|
5438
5429
|
name: string;
|
|
5439
5430
|
source_component_id: string;
|
|
@@ -5467,9 +5458,8 @@ interface SourceSimpleInductor extends SourceComponentBase {
|
|
|
5467
5458
|
inductance: number;
|
|
5468
5459
|
}
|
|
5469
5460
|
|
|
5470
|
-
declare const source_simple_push_button: z.ZodObject<
|
|
5461
|
+
declare const source_simple_push_button: z.ZodObject<{
|
|
5471
5462
|
type: z.ZodLiteral<"source_component">;
|
|
5472
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5473
5463
|
source_component_id: z.ZodString;
|
|
5474
5464
|
name: z.ZodString;
|
|
5475
5465
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5478,9 +5468,9 @@ declare const source_simple_push_button: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5478
5468
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5479
5469
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5480
5470
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5481
|
-
}
|
|
5471
|
+
} & {
|
|
5482
5472
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
5483
|
-
}
|
|
5473
|
+
}, "strip", z.ZodTypeAny, {
|
|
5484
5474
|
type: "source_component";
|
|
5485
5475
|
name: string;
|
|
5486
5476
|
source_component_id: string;
|
|
@@ -5511,9 +5501,8 @@ interface SourceSimplePushButton extends SourceComponentBase {
|
|
|
5511
5501
|
ftype: "simple_push_button";
|
|
5512
5502
|
}
|
|
5513
5503
|
|
|
5514
|
-
declare const source_simple_potentiometer: z.ZodObject<
|
|
5504
|
+
declare const source_simple_potentiometer: z.ZodObject<{
|
|
5515
5505
|
type: z.ZodLiteral<"source_component">;
|
|
5516
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5517
5506
|
source_component_id: z.ZodString;
|
|
5518
5507
|
name: z.ZodString;
|
|
5519
5508
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5522,10 +5511,10 @@ declare const source_simple_potentiometer: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5522
5511
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5523
5512
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5524
5513
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5525
|
-
}
|
|
5514
|
+
} & {
|
|
5526
5515
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
5527
5516
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5528
|
-
}
|
|
5517
|
+
}, "strip", z.ZodTypeAny, {
|
|
5529
5518
|
type: "source_component";
|
|
5530
5519
|
name: string;
|
|
5531
5520
|
source_component_id: string;
|
|
@@ -5553,9 +5542,8 @@ declare const source_simple_potentiometer: z.ZodObject<z.objectUtil.extendShape<
|
|
|
5553
5542
|
type SourceSimplePotentiometer = z.infer<typeof source_simple_potentiometer>;
|
|
5554
5543
|
type SourceSimplePotentiometerInput = z.input<typeof source_simple_potentiometer>;
|
|
5555
5544
|
|
|
5556
|
-
declare const source_simple_crystal: z.ZodObject<
|
|
5545
|
+
declare const source_simple_crystal: z.ZodObject<{
|
|
5557
5546
|
type: z.ZodLiteral<"source_component">;
|
|
5558
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5559
5547
|
source_component_id: z.ZodString;
|
|
5560
5548
|
name: z.ZodString;
|
|
5561
5549
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5564,11 +5552,11 @@ declare const source_simple_crystal: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5564
5552
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5565
5553
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5566
5554
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5567
|
-
}
|
|
5555
|
+
} & {
|
|
5568
5556
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
5569
5557
|
frequency: z.ZodNumber;
|
|
5570
5558
|
load_capacitance: z.ZodOptional<z.ZodNumber>;
|
|
5571
|
-
}
|
|
5559
|
+
}, "strip", z.ZodTypeAny, {
|
|
5572
5560
|
type: "source_component";
|
|
5573
5561
|
name: string;
|
|
5574
5562
|
source_component_id: string;
|
|
@@ -5605,9 +5593,8 @@ interface SourceSimpleCrystal extends SourceComponentBase {
|
|
|
5605
5593
|
load_capacitance?: number;
|
|
5606
5594
|
}
|
|
5607
5595
|
|
|
5608
|
-
declare const source_simple_pin_header: z.ZodObject<
|
|
5596
|
+
declare const source_simple_pin_header: z.ZodObject<{
|
|
5609
5597
|
type: z.ZodLiteral<"source_component">;
|
|
5610
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5611
5598
|
source_component_id: z.ZodString;
|
|
5612
5599
|
name: z.ZodString;
|
|
5613
5600
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5616,11 +5603,11 @@ declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5616
5603
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5617
5604
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5618
5605
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5619
|
-
}
|
|
5606
|
+
} & {
|
|
5620
5607
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
5621
5608
|
pin_count: z.ZodNumber;
|
|
5622
5609
|
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
|
|
5623
|
-
}
|
|
5610
|
+
}, "strip", z.ZodTypeAny, {
|
|
5624
5611
|
type: "source_component";
|
|
5625
5612
|
name: string;
|
|
5626
5613
|
source_component_id: string;
|
|
@@ -5650,9 +5637,8 @@ declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5650
5637
|
type SourceSimplePinHeader = z.infer<typeof source_simple_pin_header>;
|
|
5651
5638
|
type SourceSimplePinHeaderInput = z.input<typeof source_simple_pin_header>;
|
|
5652
5639
|
|
|
5653
|
-
declare const source_simple_resonator: z.ZodObject<
|
|
5640
|
+
declare const source_simple_resonator: z.ZodObject<{
|
|
5654
5641
|
type: z.ZodLiteral<"source_component">;
|
|
5655
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5656
5642
|
source_component_id: z.ZodString;
|
|
5657
5643
|
name: z.ZodString;
|
|
5658
5644
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5661,12 +5647,12 @@ declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5661
5647
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5662
5648
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5663
5649
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5664
|
-
}
|
|
5650
|
+
} & {
|
|
5665
5651
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
5666
5652
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
5667
5653
|
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5668
5654
|
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5669
|
-
}
|
|
5655
|
+
}, "strip", z.ZodTypeAny, {
|
|
5670
5656
|
type: "source_component";
|
|
5671
5657
|
name: string;
|
|
5672
5658
|
source_component_id: string;
|
|
@@ -5706,9 +5692,8 @@ interface SourceSimpleResonator extends SourceComponentBase {
|
|
|
5706
5692
|
frequency: number;
|
|
5707
5693
|
}
|
|
5708
5694
|
|
|
5709
|
-
declare const source_simple_transistor: z.ZodObject<
|
|
5695
|
+
declare const source_simple_transistor: z.ZodObject<{
|
|
5710
5696
|
type: z.ZodLiteral<"source_component">;
|
|
5711
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5712
5697
|
source_component_id: z.ZodString;
|
|
5713
5698
|
name: z.ZodString;
|
|
5714
5699
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5717,10 +5702,10 @@ declare const source_simple_transistor: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5717
5702
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5718
5703
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5719
5704
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5720
|
-
}
|
|
5705
|
+
} & {
|
|
5721
5706
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
5722
5707
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
5723
|
-
}
|
|
5708
|
+
}, "strip", z.ZodTypeAny, {
|
|
5724
5709
|
type: "source_component";
|
|
5725
5710
|
name: string;
|
|
5726
5711
|
source_component_id: string;
|
|
@@ -5756,9 +5741,8 @@ interface SourceSimpleTransistor extends SourceComponentBase {
|
|
|
5756
5741
|
transistor_type: "npn" | "pnp";
|
|
5757
5742
|
}
|
|
5758
5743
|
|
|
5759
|
-
declare const source_simple_mosfet: z.ZodObject<
|
|
5744
|
+
declare const source_simple_mosfet: z.ZodObject<{
|
|
5760
5745
|
type: z.ZodLiteral<"source_component">;
|
|
5761
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5762
5746
|
source_component_id: z.ZodString;
|
|
5763
5747
|
name: z.ZodString;
|
|
5764
5748
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5767,11 +5751,11 @@ declare const source_simple_mosfet: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5767
5751
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5768
5752
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5769
5753
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5770
|
-
}
|
|
5754
|
+
} & {
|
|
5771
5755
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
5772
5756
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
5773
5757
|
mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
|
|
5774
|
-
}
|
|
5758
|
+
}, "strip", z.ZodTypeAny, {
|
|
5775
5759
|
type: "source_component";
|
|
5776
5760
|
name: string;
|
|
5777
5761
|
source_component_id: string;
|
|
@@ -5810,9 +5794,8 @@ interface SourceSimpleMosfet extends SourceComponentBase {
|
|
|
5810
5794
|
mosfet_mode: "enhancement" | "depletion";
|
|
5811
5795
|
}
|
|
5812
5796
|
|
|
5813
|
-
declare const source_simple_switch: z.ZodObject<
|
|
5797
|
+
declare const source_simple_switch: z.ZodObject<{
|
|
5814
5798
|
type: z.ZodLiteral<"source_component">;
|
|
5815
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5816
5799
|
source_component_id: z.ZodString;
|
|
5817
5800
|
name: z.ZodString;
|
|
5818
5801
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -5821,9 +5804,9 @@ declare const source_simple_switch: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5821
5804
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
5822
5805
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5823
5806
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
5824
|
-
}
|
|
5807
|
+
} & {
|
|
5825
5808
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
5826
|
-
}
|
|
5809
|
+
}, "strip", z.ZodTypeAny, {
|
|
5827
5810
|
type: "source_component";
|
|
5828
5811
|
name: string;
|
|
5829
5812
|
source_component_id: string;
|
|
@@ -5993,9 +5976,8 @@ interface SourceFailedToCreateComponentError {
|
|
|
5993
5976
|
};
|
|
5994
5977
|
}
|
|
5995
5978
|
|
|
5996
|
-
declare const any_source_component: z.ZodUnion<[z.ZodObject<
|
|
5979
|
+
declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
5997
5980
|
type: z.ZodLiteral<"source_component">;
|
|
5998
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
5999
5981
|
source_component_id: z.ZodString;
|
|
6000
5982
|
name: z.ZodString;
|
|
6001
5983
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6004,11 +5986,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6004
5986
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6005
5987
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6006
5988
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6007
|
-
}
|
|
5989
|
+
} & {
|
|
6008
5990
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
6009
5991
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6010
5992
|
display_resistance: z.ZodOptional<z.ZodString>;
|
|
6011
|
-
}
|
|
5993
|
+
}, "strip", z.ZodTypeAny, {
|
|
6012
5994
|
type: "source_component";
|
|
6013
5995
|
name: string;
|
|
6014
5996
|
source_component_id: string;
|
|
@@ -6034,9 +6016,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6034
6016
|
are_pins_interchangeable?: boolean | undefined;
|
|
6035
6017
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6036
6018
|
display_resistance?: string | undefined;
|
|
6037
|
-
}>, z.ZodObject<
|
|
6019
|
+
}>, z.ZodObject<{
|
|
6038
6020
|
type: z.ZodLiteral<"source_component">;
|
|
6039
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6040
6021
|
source_component_id: z.ZodString;
|
|
6041
6022
|
name: z.ZodString;
|
|
6042
6023
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6045,13 +6026,13 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6045
6026
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6046
6027
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6047
6028
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6048
|
-
}
|
|
6029
|
+
} & {
|
|
6049
6030
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
6050
6031
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
6051
6032
|
max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6052
6033
|
display_capacitance: z.ZodOptional<z.ZodString>;
|
|
6053
6034
|
max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6054
|
-
}
|
|
6035
|
+
}, "strip", z.ZodTypeAny, {
|
|
6055
6036
|
type: "source_component";
|
|
6056
6037
|
name: string;
|
|
6057
6038
|
source_component_id: string;
|
|
@@ -6081,9 +6062,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6081
6062
|
max_voltage_rating?: string | number | undefined;
|
|
6082
6063
|
display_capacitance?: string | undefined;
|
|
6083
6064
|
max_decoupling_trace_length?: string | number | undefined;
|
|
6084
|
-
}>, z.ZodObject<
|
|
6065
|
+
}>, z.ZodObject<{
|
|
6085
6066
|
type: z.ZodLiteral<"source_component">;
|
|
6086
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6087
6067
|
source_component_id: z.ZodString;
|
|
6088
6068
|
name: z.ZodString;
|
|
6089
6069
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6092,9 +6072,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6092
6072
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6093
6073
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6094
6074
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6095
|
-
}
|
|
6075
|
+
} & {
|
|
6096
6076
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
6097
|
-
}
|
|
6077
|
+
}, "strip", z.ZodTypeAny, {
|
|
6098
6078
|
type: "source_component";
|
|
6099
6079
|
name: string;
|
|
6100
6080
|
source_component_id: string;
|
|
@@ -6116,9 +6096,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6116
6096
|
display_value?: string | undefined;
|
|
6117
6097
|
are_pins_interchangeable?: boolean | undefined;
|
|
6118
6098
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6119
|
-
}>, z.ZodObject<
|
|
6099
|
+
}>, z.ZodObject<{
|
|
6120
6100
|
type: z.ZodLiteral<"source_component">;
|
|
6121
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6122
6101
|
source_component_id: z.ZodString;
|
|
6123
6102
|
name: z.ZodString;
|
|
6124
6103
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6127,13 +6106,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6127
6106
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6128
6107
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6129
6108
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6130
|
-
}
|
|
6131
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
6132
|
-
}>, {
|
|
6109
|
+
} & {
|
|
6133
6110
|
ftype: z.ZodLiteral<"simple_led">;
|
|
6134
6111
|
color: z.ZodOptional<z.ZodString>;
|
|
6135
6112
|
wavelength: z.ZodOptional<z.ZodString>;
|
|
6136
|
-
}
|
|
6113
|
+
}, "strip", z.ZodTypeAny, {
|
|
6137
6114
|
type: "source_component";
|
|
6138
6115
|
name: string;
|
|
6139
6116
|
source_component_id: string;
|
|
@@ -6159,9 +6136,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6159
6136
|
are_pins_interchangeable?: boolean | undefined;
|
|
6160
6137
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6161
6138
|
wavelength?: string | undefined;
|
|
6162
|
-
}>, z.ZodObject<
|
|
6139
|
+
}>, z.ZodObject<{
|
|
6163
6140
|
type: z.ZodLiteral<"source_component">;
|
|
6164
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6165
6141
|
source_component_id: z.ZodString;
|
|
6166
6142
|
name: z.ZodString;
|
|
6167
6143
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6170,9 +6146,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6170
6146
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6171
6147
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6172
6148
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6173
|
-
}
|
|
6149
|
+
} & {
|
|
6174
6150
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
6175
|
-
}
|
|
6151
|
+
}, "strip", z.ZodTypeAny, {
|
|
6176
6152
|
type: "source_component";
|
|
6177
6153
|
name: string;
|
|
6178
6154
|
source_component_id: string;
|
|
@@ -6194,9 +6170,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6194
6170
|
display_value?: string | undefined;
|
|
6195
6171
|
are_pins_interchangeable?: boolean | undefined;
|
|
6196
6172
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6197
|
-
}>, z.ZodObject<
|
|
6173
|
+
}>, z.ZodObject<{
|
|
6198
6174
|
type: z.ZodLiteral<"source_component">;
|
|
6199
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6200
6175
|
source_component_id: z.ZodString;
|
|
6201
6176
|
name: z.ZodString;
|
|
6202
6177
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6205,9 +6180,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6205
6180
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6206
6181
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6207
6182
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6208
|
-
}
|
|
6183
|
+
} & {
|
|
6209
6184
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
6210
|
-
}
|
|
6185
|
+
}, "strip", z.ZodTypeAny, {
|
|
6211
6186
|
type: "source_component";
|
|
6212
6187
|
name: string;
|
|
6213
6188
|
source_component_id: string;
|
|
@@ -6229,9 +6204,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6229
6204
|
display_value?: string | undefined;
|
|
6230
6205
|
are_pins_interchangeable?: boolean | undefined;
|
|
6231
6206
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6232
|
-
}>, z.ZodObject<
|
|
6207
|
+
}>, z.ZodObject<{
|
|
6233
6208
|
type: z.ZodLiteral<"source_component">;
|
|
6234
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6235
6209
|
source_component_id: z.ZodString;
|
|
6236
6210
|
name: z.ZodString;
|
|
6237
6211
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6240,9 +6214,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6240
6214
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6241
6215
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6242
6216
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6243
|
-
}
|
|
6217
|
+
} & {
|
|
6244
6218
|
ftype: z.ZodLiteral<"simple_bug">;
|
|
6245
|
-
}
|
|
6219
|
+
}, "strip", z.ZodTypeAny, {
|
|
6246
6220
|
type: "source_component";
|
|
6247
6221
|
name: string;
|
|
6248
6222
|
source_component_id: string;
|
|
@@ -6264,9 +6238,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6264
6238
|
display_value?: string | undefined;
|
|
6265
6239
|
are_pins_interchangeable?: boolean | undefined;
|
|
6266
6240
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6267
|
-
}>, z.ZodObject<
|
|
6241
|
+
}>, z.ZodObject<{
|
|
6268
6242
|
type: z.ZodLiteral<"source_component">;
|
|
6269
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6270
6243
|
source_component_id: z.ZodString;
|
|
6271
6244
|
name: z.ZodString;
|
|
6272
6245
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6275,11 +6248,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6275
6248
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6276
6249
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6277
6250
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6278
|
-
}
|
|
6279
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
6280
|
-
}>, {
|
|
6251
|
+
} & {
|
|
6281
6252
|
ftype: z.ZodLiteral<"led">;
|
|
6282
|
-
}
|
|
6253
|
+
}, "strip", z.ZodTypeAny, {
|
|
6283
6254
|
type: "source_component";
|
|
6284
6255
|
name: string;
|
|
6285
6256
|
source_component_id: string;
|
|
@@ -6301,9 +6272,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6301
6272
|
display_value?: string | undefined;
|
|
6302
6273
|
are_pins_interchangeable?: boolean | undefined;
|
|
6303
6274
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6304
|
-
}>, z.ZodObject<
|
|
6275
|
+
}>, z.ZodObject<{
|
|
6305
6276
|
type: z.ZodLiteral<"source_component">;
|
|
6306
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6307
6277
|
source_component_id: z.ZodString;
|
|
6308
6278
|
name: z.ZodString;
|
|
6309
6279
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6312,10 +6282,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6312
6282
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6313
6283
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6314
6284
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6315
|
-
}
|
|
6285
|
+
} & {
|
|
6316
6286
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
6317
6287
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6318
|
-
}
|
|
6288
|
+
}, "strip", z.ZodTypeAny, {
|
|
6319
6289
|
type: "source_component";
|
|
6320
6290
|
name: string;
|
|
6321
6291
|
source_component_id: string;
|
|
@@ -6339,9 +6309,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6339
6309
|
display_value?: string | undefined;
|
|
6340
6310
|
are_pins_interchangeable?: boolean | undefined;
|
|
6341
6311
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6342
|
-
}>, z.ZodObject<
|
|
6312
|
+
}>, z.ZodObject<{
|
|
6343
6313
|
type: z.ZodLiteral<"source_component">;
|
|
6344
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6345
6314
|
source_component_id: z.ZodString;
|
|
6346
6315
|
name: z.ZodString;
|
|
6347
6316
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6350,10 +6319,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6350
6319
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6351
6320
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6352
6321
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6353
|
-
}
|
|
6322
|
+
} & {
|
|
6354
6323
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
6355
6324
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
6356
|
-
}
|
|
6325
|
+
}, "strip", z.ZodTypeAny, {
|
|
6357
6326
|
type: "source_component";
|
|
6358
6327
|
name: string;
|
|
6359
6328
|
source_component_id: string;
|
|
@@ -6377,9 +6346,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6377
6346
|
display_value?: string | undefined;
|
|
6378
6347
|
are_pins_interchangeable?: boolean | undefined;
|
|
6379
6348
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6380
|
-
}>, z.ZodObject<
|
|
6349
|
+
}>, z.ZodObject<{
|
|
6381
6350
|
type: z.ZodLiteral<"source_component">;
|
|
6382
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6383
6351
|
source_component_id: z.ZodString;
|
|
6384
6352
|
name: z.ZodString;
|
|
6385
6353
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6388,10 +6356,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6388
6356
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6389
6357
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6390
6358
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6391
|
-
}
|
|
6359
|
+
} & {
|
|
6392
6360
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
6393
6361
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6394
|
-
}
|
|
6362
|
+
}, "strip", z.ZodTypeAny, {
|
|
6395
6363
|
type: "source_component";
|
|
6396
6364
|
name: string;
|
|
6397
6365
|
source_component_id: string;
|
|
@@ -6415,9 +6383,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6415
6383
|
display_value?: string | undefined;
|
|
6416
6384
|
are_pins_interchangeable?: boolean | undefined;
|
|
6417
6385
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6418
|
-
}>, z.ZodObject<
|
|
6386
|
+
}>, z.ZodObject<{
|
|
6419
6387
|
type: z.ZodLiteral<"source_component">;
|
|
6420
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6421
6388
|
source_component_id: z.ZodString;
|
|
6422
6389
|
name: z.ZodString;
|
|
6423
6390
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6426,9 +6393,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6426
6393
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6427
6394
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6428
6395
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6429
|
-
}
|
|
6396
|
+
} & {
|
|
6430
6397
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
6431
|
-
}
|
|
6398
|
+
}, "strip", z.ZodTypeAny, {
|
|
6432
6399
|
type: "source_component";
|
|
6433
6400
|
name: string;
|
|
6434
6401
|
source_component_id: string;
|
|
@@ -6450,9 +6417,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6450
6417
|
display_value?: string | undefined;
|
|
6451
6418
|
are_pins_interchangeable?: boolean | undefined;
|
|
6452
6419
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6453
|
-
}>, z.ZodObject<
|
|
6420
|
+
}>, z.ZodObject<{
|
|
6454
6421
|
type: z.ZodLiteral<"source_component">;
|
|
6455
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6456
6422
|
source_component_id: z.ZodString;
|
|
6457
6423
|
name: z.ZodString;
|
|
6458
6424
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6461,10 +6427,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6461
6427
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6462
6428
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6463
6429
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6464
|
-
}
|
|
6430
|
+
} & {
|
|
6465
6431
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
6466
6432
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6467
|
-
}
|
|
6433
|
+
}, "strip", z.ZodTypeAny, {
|
|
6468
6434
|
type: "source_component";
|
|
6469
6435
|
name: string;
|
|
6470
6436
|
source_component_id: string;
|
|
@@ -6488,9 +6454,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6488
6454
|
display_value?: string | undefined;
|
|
6489
6455
|
are_pins_interchangeable?: boolean | undefined;
|
|
6490
6456
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6491
|
-
}>, z.ZodObject<
|
|
6457
|
+
}>, z.ZodObject<{
|
|
6492
6458
|
type: z.ZodLiteral<"source_component">;
|
|
6493
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6494
6459
|
source_component_id: z.ZodString;
|
|
6495
6460
|
name: z.ZodString;
|
|
6496
6461
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6499,11 +6464,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6499
6464
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6500
6465
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6501
6466
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6502
|
-
}
|
|
6467
|
+
} & {
|
|
6503
6468
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
6504
6469
|
frequency: z.ZodNumber;
|
|
6505
6470
|
load_capacitance: z.ZodOptional<z.ZodNumber>;
|
|
6506
|
-
}
|
|
6471
|
+
}, "strip", z.ZodTypeAny, {
|
|
6507
6472
|
type: "source_component";
|
|
6508
6473
|
name: string;
|
|
6509
6474
|
source_component_id: string;
|
|
@@ -6529,9 +6494,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6529
6494
|
are_pins_interchangeable?: boolean | undefined;
|
|
6530
6495
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6531
6496
|
load_capacitance?: number | undefined;
|
|
6532
|
-
}>, z.ZodObject<
|
|
6497
|
+
}>, z.ZodObject<{
|
|
6533
6498
|
type: z.ZodLiteral<"source_component">;
|
|
6534
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6535
6499
|
source_component_id: z.ZodString;
|
|
6536
6500
|
name: z.ZodString;
|
|
6537
6501
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6540,11 +6504,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6540
6504
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6541
6505
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6542
6506
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6543
|
-
}
|
|
6507
|
+
} & {
|
|
6544
6508
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
6545
6509
|
pin_count: z.ZodNumber;
|
|
6546
6510
|
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
|
|
6547
|
-
}
|
|
6511
|
+
}, "strip", z.ZodTypeAny, {
|
|
6548
6512
|
type: "source_component";
|
|
6549
6513
|
name: string;
|
|
6550
6514
|
source_component_id: string;
|
|
@@ -6570,9 +6534,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6570
6534
|
are_pins_interchangeable?: boolean | undefined;
|
|
6571
6535
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6572
6536
|
gender?: "male" | "female" | undefined;
|
|
6573
|
-
}>, z.ZodObject<
|
|
6537
|
+
}>, z.ZodObject<{
|
|
6574
6538
|
type: z.ZodLiteral<"source_component">;
|
|
6575
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6576
6539
|
source_component_id: z.ZodString;
|
|
6577
6540
|
name: z.ZodString;
|
|
6578
6541
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6581,12 +6544,12 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6581
6544
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6582
6545
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6583
6546
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6584
|
-
}
|
|
6547
|
+
} & {
|
|
6585
6548
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
6586
6549
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
6587
6550
|
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
6588
6551
|
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6589
|
-
}
|
|
6552
|
+
}, "strip", z.ZodTypeAny, {
|
|
6590
6553
|
type: "source_component";
|
|
6591
6554
|
name: string;
|
|
6592
6555
|
source_component_id: string;
|
|
@@ -6614,9 +6577,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6614
6577
|
are_pins_interchangeable?: boolean | undefined;
|
|
6615
6578
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6616
6579
|
equivalent_series_resistance?: string | number | undefined;
|
|
6617
|
-
}>, z.ZodObject<
|
|
6580
|
+
}>, z.ZodObject<{
|
|
6618
6581
|
type: z.ZodLiteral<"source_component">;
|
|
6619
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6620
6582
|
source_component_id: z.ZodString;
|
|
6621
6583
|
name: z.ZodString;
|
|
6622
6584
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6625,9 +6587,9 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6625
6587
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6626
6588
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6627
6589
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6628
|
-
}
|
|
6590
|
+
} & {
|
|
6629
6591
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
6630
|
-
}
|
|
6592
|
+
}, "strip", z.ZodTypeAny, {
|
|
6631
6593
|
type: "source_component";
|
|
6632
6594
|
name: string;
|
|
6633
6595
|
source_component_id: string;
|
|
@@ -6649,9 +6611,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6649
6611
|
display_value?: string | undefined;
|
|
6650
6612
|
are_pins_interchangeable?: boolean | undefined;
|
|
6651
6613
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6652
|
-
}>, z.ZodObject<
|
|
6614
|
+
}>, z.ZodObject<{
|
|
6653
6615
|
type: z.ZodLiteral<"source_component">;
|
|
6654
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6655
6616
|
source_component_id: z.ZodString;
|
|
6656
6617
|
name: z.ZodString;
|
|
6657
6618
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6660,10 +6621,10 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6660
6621
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6661
6622
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6662
6623
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6663
|
-
}
|
|
6624
|
+
} & {
|
|
6664
6625
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
6665
6626
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
6666
|
-
}
|
|
6627
|
+
}, "strip", z.ZodTypeAny, {
|
|
6667
6628
|
type: "source_component";
|
|
6668
6629
|
name: string;
|
|
6669
6630
|
source_component_id: string;
|
|
@@ -6687,9 +6648,8 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6687
6648
|
display_value?: string | undefined;
|
|
6688
6649
|
are_pins_interchangeable?: boolean | undefined;
|
|
6689
6650
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6690
|
-
}>, z.ZodObject<
|
|
6651
|
+
}>, z.ZodObject<{
|
|
6691
6652
|
type: z.ZodLiteral<"source_component">;
|
|
6692
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
6693
6653
|
source_component_id: z.ZodString;
|
|
6694
6654
|
name: z.ZodString;
|
|
6695
6655
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -6698,11 +6658,11 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6698
6658
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6699
6659
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6700
6660
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6701
|
-
}
|
|
6661
|
+
} & {
|
|
6702
6662
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
6703
6663
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
6704
6664
|
mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
|
|
6705
|
-
}
|
|
6665
|
+
}, "strip", z.ZodTypeAny, {
|
|
6706
6666
|
type: "source_component";
|
|
6707
6667
|
name: string;
|
|
6708
6668
|
source_component_id: string;
|
|
@@ -6728,6 +6688,46 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6728
6688
|
display_value?: string | undefined;
|
|
6729
6689
|
are_pins_interchangeable?: boolean | undefined;
|
|
6730
6690
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6691
|
+
}>, z.ZodObject<{
|
|
6692
|
+
type: z.ZodLiteral<"source_component">;
|
|
6693
|
+
source_component_id: z.ZodString;
|
|
6694
|
+
name: z.ZodString;
|
|
6695
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
6696
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
6697
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
6698
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
6699
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
6700
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
6701
|
+
} & {
|
|
6702
|
+
ftype: z.ZodLiteral<"simple_fuse">;
|
|
6703
|
+
current_rating_amps: z.ZodNumber;
|
|
6704
|
+
voltage_rating_volts: z.ZodNumber;
|
|
6705
|
+
}, "strip", z.ZodTypeAny, {
|
|
6706
|
+
type: "source_component";
|
|
6707
|
+
name: string;
|
|
6708
|
+
source_component_id: string;
|
|
6709
|
+
ftype: "simple_fuse";
|
|
6710
|
+
current_rating_amps: number;
|
|
6711
|
+
voltage_rating_volts: number;
|
|
6712
|
+
source_group_id?: string | undefined;
|
|
6713
|
+
manufacturer_part_number?: string | undefined;
|
|
6714
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6715
|
+
display_value?: string | undefined;
|
|
6716
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
6717
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6718
|
+
}, {
|
|
6719
|
+
type: "source_component";
|
|
6720
|
+
name: string;
|
|
6721
|
+
source_component_id: string;
|
|
6722
|
+
ftype: "simple_fuse";
|
|
6723
|
+
current_rating_amps: number;
|
|
6724
|
+
voltage_rating_volts: number;
|
|
6725
|
+
source_group_id?: string | undefined;
|
|
6726
|
+
manufacturer_part_number?: string | undefined;
|
|
6727
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
6728
|
+
display_value?: string | undefined;
|
|
6729
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
6730
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
6731
6731
|
}>, z.ZodObject<{
|
|
6732
6732
|
type: z.ZodLiteral<"source_project_metadata">;
|
|
6733
6733
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -6826,7 +6826,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
|
6826
6826
|
* Deprecated: use `AnySourceElement` instead
|
|
6827
6827
|
*/
|
|
6828
6828
|
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
6829
|
-
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleMosfet | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
|
|
6829
|
+
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
|
|
6830
6830
|
|
|
6831
6831
|
declare const source_port: z.ZodObject<{
|
|
6832
6832
|
type: z.ZodLiteral<"source_port">;
|
|
@@ -7142,9 +7142,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7142
7142
|
subcircuit_id?: string | undefined;
|
|
7143
7143
|
port_hints?: string[] | undefined;
|
|
7144
7144
|
pin_number?: number | undefined;
|
|
7145
|
-
}>, z.ZodUnion<[z.ZodObject<
|
|
7145
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
7146
7146
|
type: z.ZodLiteral<"source_component">;
|
|
7147
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7148
7147
|
source_component_id: z.ZodString;
|
|
7149
7148
|
name: z.ZodString;
|
|
7150
7149
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7153,11 +7152,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7153
7152
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7154
7153
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7155
7154
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7156
|
-
}
|
|
7155
|
+
} & {
|
|
7157
7156
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
7158
7157
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7159
7158
|
display_resistance: z.ZodOptional<z.ZodString>;
|
|
7160
|
-
}
|
|
7159
|
+
}, "strip", z.ZodTypeAny, {
|
|
7161
7160
|
type: "source_component";
|
|
7162
7161
|
name: string;
|
|
7163
7162
|
source_component_id: string;
|
|
@@ -7183,9 +7182,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7183
7182
|
are_pins_interchangeable?: boolean | undefined;
|
|
7184
7183
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7185
7184
|
display_resistance?: string | undefined;
|
|
7186
|
-
}>, z.ZodObject<
|
|
7185
|
+
}>, z.ZodObject<{
|
|
7187
7186
|
type: z.ZodLiteral<"source_component">;
|
|
7188
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7189
7187
|
source_component_id: z.ZodString;
|
|
7190
7188
|
name: z.ZodString;
|
|
7191
7189
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7194,13 +7192,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7194
7192
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7195
7193
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7196
7194
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7197
|
-
}
|
|
7195
|
+
} & {
|
|
7198
7196
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
7199
7197
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
7200
7198
|
max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7201
7199
|
display_capacitance: z.ZodOptional<z.ZodString>;
|
|
7202
7200
|
max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7203
|
-
}
|
|
7201
|
+
}, "strip", z.ZodTypeAny, {
|
|
7204
7202
|
type: "source_component";
|
|
7205
7203
|
name: string;
|
|
7206
7204
|
source_component_id: string;
|
|
@@ -7230,9 +7228,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7230
7228
|
max_voltage_rating?: string | number | undefined;
|
|
7231
7229
|
display_capacitance?: string | undefined;
|
|
7232
7230
|
max_decoupling_trace_length?: string | number | undefined;
|
|
7233
|
-
}>, z.ZodObject<
|
|
7231
|
+
}>, z.ZodObject<{
|
|
7234
7232
|
type: z.ZodLiteral<"source_component">;
|
|
7235
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7236
7233
|
source_component_id: z.ZodString;
|
|
7237
7234
|
name: z.ZodString;
|
|
7238
7235
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7241,9 +7238,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7241
7238
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7242
7239
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7243
7240
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7244
|
-
}
|
|
7241
|
+
} & {
|
|
7245
7242
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
7246
|
-
}
|
|
7243
|
+
}, "strip", z.ZodTypeAny, {
|
|
7247
7244
|
type: "source_component";
|
|
7248
7245
|
name: string;
|
|
7249
7246
|
source_component_id: string;
|
|
@@ -7265,9 +7262,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7265
7262
|
display_value?: string | undefined;
|
|
7266
7263
|
are_pins_interchangeable?: boolean | undefined;
|
|
7267
7264
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7268
|
-
}>, z.ZodObject<
|
|
7265
|
+
}>, z.ZodObject<{
|
|
7269
7266
|
type: z.ZodLiteral<"source_component">;
|
|
7270
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7271
7267
|
source_component_id: z.ZodString;
|
|
7272
7268
|
name: z.ZodString;
|
|
7273
7269
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7276,13 +7272,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7276
7272
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7277
7273
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7278
7274
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7279
|
-
}
|
|
7280
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
7281
|
-
}>, {
|
|
7275
|
+
} & {
|
|
7282
7276
|
ftype: z.ZodLiteral<"simple_led">;
|
|
7283
7277
|
color: z.ZodOptional<z.ZodString>;
|
|
7284
7278
|
wavelength: z.ZodOptional<z.ZodString>;
|
|
7285
|
-
}
|
|
7279
|
+
}, "strip", z.ZodTypeAny, {
|
|
7286
7280
|
type: "source_component";
|
|
7287
7281
|
name: string;
|
|
7288
7282
|
source_component_id: string;
|
|
@@ -7308,9 +7302,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7308
7302
|
are_pins_interchangeable?: boolean | undefined;
|
|
7309
7303
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7310
7304
|
wavelength?: string | undefined;
|
|
7311
|
-
}>, z.ZodObject<
|
|
7305
|
+
}>, z.ZodObject<{
|
|
7312
7306
|
type: z.ZodLiteral<"source_component">;
|
|
7313
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7314
7307
|
source_component_id: z.ZodString;
|
|
7315
7308
|
name: z.ZodString;
|
|
7316
7309
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7319,9 +7312,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7319
7312
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7320
7313
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7321
7314
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7322
|
-
}
|
|
7315
|
+
} & {
|
|
7323
7316
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
7324
|
-
}
|
|
7317
|
+
}, "strip", z.ZodTypeAny, {
|
|
7325
7318
|
type: "source_component";
|
|
7326
7319
|
name: string;
|
|
7327
7320
|
source_component_id: string;
|
|
@@ -7343,9 +7336,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7343
7336
|
display_value?: string | undefined;
|
|
7344
7337
|
are_pins_interchangeable?: boolean | undefined;
|
|
7345
7338
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7346
|
-
}>, z.ZodObject<
|
|
7339
|
+
}>, z.ZodObject<{
|
|
7347
7340
|
type: z.ZodLiteral<"source_component">;
|
|
7348
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7349
7341
|
source_component_id: z.ZodString;
|
|
7350
7342
|
name: z.ZodString;
|
|
7351
7343
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7354,9 +7346,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7354
7346
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7355
7347
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7356
7348
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7357
|
-
}
|
|
7349
|
+
} & {
|
|
7358
7350
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
7359
|
-
}
|
|
7351
|
+
}, "strip", z.ZodTypeAny, {
|
|
7360
7352
|
type: "source_component";
|
|
7361
7353
|
name: string;
|
|
7362
7354
|
source_component_id: string;
|
|
@@ -7378,9 +7370,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7378
7370
|
display_value?: string | undefined;
|
|
7379
7371
|
are_pins_interchangeable?: boolean | undefined;
|
|
7380
7372
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7381
|
-
}>, z.ZodObject<
|
|
7373
|
+
}>, z.ZodObject<{
|
|
7382
7374
|
type: z.ZodLiteral<"source_component">;
|
|
7383
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7384
7375
|
source_component_id: z.ZodString;
|
|
7385
7376
|
name: z.ZodString;
|
|
7386
7377
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7389,9 +7380,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7389
7380
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7390
7381
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7391
7382
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7392
|
-
}
|
|
7383
|
+
} & {
|
|
7393
7384
|
ftype: z.ZodLiteral<"simple_bug">;
|
|
7394
|
-
}
|
|
7385
|
+
}, "strip", z.ZodTypeAny, {
|
|
7395
7386
|
type: "source_component";
|
|
7396
7387
|
name: string;
|
|
7397
7388
|
source_component_id: string;
|
|
@@ -7413,9 +7404,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7413
7404
|
display_value?: string | undefined;
|
|
7414
7405
|
are_pins_interchangeable?: boolean | undefined;
|
|
7415
7406
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7416
|
-
}>, z.ZodObject<
|
|
7407
|
+
}>, z.ZodObject<{
|
|
7417
7408
|
type: z.ZodLiteral<"source_component">;
|
|
7418
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7419
7409
|
source_component_id: z.ZodString;
|
|
7420
7410
|
name: z.ZodString;
|
|
7421
7411
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7424,11 +7414,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7424
7414
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7425
7415
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7426
7416
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7427
|
-
}
|
|
7428
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
7429
|
-
}>, {
|
|
7417
|
+
} & {
|
|
7430
7418
|
ftype: z.ZodLiteral<"led">;
|
|
7431
|
-
}
|
|
7419
|
+
}, "strip", z.ZodTypeAny, {
|
|
7432
7420
|
type: "source_component";
|
|
7433
7421
|
name: string;
|
|
7434
7422
|
source_component_id: string;
|
|
@@ -7450,9 +7438,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7450
7438
|
display_value?: string | undefined;
|
|
7451
7439
|
are_pins_interchangeable?: boolean | undefined;
|
|
7452
7440
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7453
|
-
}>, z.ZodObject<
|
|
7441
|
+
}>, z.ZodObject<{
|
|
7454
7442
|
type: z.ZodLiteral<"source_component">;
|
|
7455
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7456
7443
|
source_component_id: z.ZodString;
|
|
7457
7444
|
name: z.ZodString;
|
|
7458
7445
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7461,10 +7448,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7461
7448
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7462
7449
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7463
7450
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7464
|
-
}
|
|
7451
|
+
} & {
|
|
7465
7452
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
7466
7453
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7467
|
-
}
|
|
7454
|
+
}, "strip", z.ZodTypeAny, {
|
|
7468
7455
|
type: "source_component";
|
|
7469
7456
|
name: string;
|
|
7470
7457
|
source_component_id: string;
|
|
@@ -7488,9 +7475,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7488
7475
|
display_value?: string | undefined;
|
|
7489
7476
|
are_pins_interchangeable?: boolean | undefined;
|
|
7490
7477
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7491
|
-
}>, z.ZodObject<
|
|
7478
|
+
}>, z.ZodObject<{
|
|
7492
7479
|
type: z.ZodLiteral<"source_component">;
|
|
7493
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7494
7480
|
source_component_id: z.ZodString;
|
|
7495
7481
|
name: z.ZodString;
|
|
7496
7482
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7499,10 +7485,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7499
7485
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7500
7486
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7501
7487
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7502
|
-
}
|
|
7488
|
+
} & {
|
|
7503
7489
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
7504
7490
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
7505
|
-
}
|
|
7491
|
+
}, "strip", z.ZodTypeAny, {
|
|
7506
7492
|
type: "source_component";
|
|
7507
7493
|
name: string;
|
|
7508
7494
|
source_component_id: string;
|
|
@@ -7526,9 +7512,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7526
7512
|
display_value?: string | undefined;
|
|
7527
7513
|
are_pins_interchangeable?: boolean | undefined;
|
|
7528
7514
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7529
|
-
}>, z.ZodObject<
|
|
7515
|
+
}>, z.ZodObject<{
|
|
7530
7516
|
type: z.ZodLiteral<"source_component">;
|
|
7531
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7532
7517
|
source_component_id: z.ZodString;
|
|
7533
7518
|
name: z.ZodString;
|
|
7534
7519
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7537,10 +7522,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7537
7522
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7538
7523
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7539
7524
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7540
|
-
}
|
|
7525
|
+
} & {
|
|
7541
7526
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
7542
7527
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7543
|
-
}
|
|
7528
|
+
}, "strip", z.ZodTypeAny, {
|
|
7544
7529
|
type: "source_component";
|
|
7545
7530
|
name: string;
|
|
7546
7531
|
source_component_id: string;
|
|
@@ -7564,9 +7549,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7564
7549
|
display_value?: string | undefined;
|
|
7565
7550
|
are_pins_interchangeable?: boolean | undefined;
|
|
7566
7551
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7567
|
-
}>, z.ZodObject<
|
|
7552
|
+
}>, z.ZodObject<{
|
|
7568
7553
|
type: z.ZodLiteral<"source_component">;
|
|
7569
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7570
7554
|
source_component_id: z.ZodString;
|
|
7571
7555
|
name: z.ZodString;
|
|
7572
7556
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7575,9 +7559,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7575
7559
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7576
7560
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7577
7561
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7578
|
-
}
|
|
7562
|
+
} & {
|
|
7579
7563
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
7580
|
-
}
|
|
7564
|
+
}, "strip", z.ZodTypeAny, {
|
|
7581
7565
|
type: "source_component";
|
|
7582
7566
|
name: string;
|
|
7583
7567
|
source_component_id: string;
|
|
@@ -7599,9 +7583,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7599
7583
|
display_value?: string | undefined;
|
|
7600
7584
|
are_pins_interchangeable?: boolean | undefined;
|
|
7601
7585
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7602
|
-
}>, z.ZodObject<
|
|
7586
|
+
}>, z.ZodObject<{
|
|
7603
7587
|
type: z.ZodLiteral<"source_component">;
|
|
7604
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7605
7588
|
source_component_id: z.ZodString;
|
|
7606
7589
|
name: z.ZodString;
|
|
7607
7590
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7610,10 +7593,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7610
7593
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7611
7594
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7612
7595
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7613
|
-
}
|
|
7596
|
+
} & {
|
|
7614
7597
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
7615
7598
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7616
|
-
}
|
|
7599
|
+
}, "strip", z.ZodTypeAny, {
|
|
7617
7600
|
type: "source_component";
|
|
7618
7601
|
name: string;
|
|
7619
7602
|
source_component_id: string;
|
|
@@ -7637,9 +7620,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7637
7620
|
display_value?: string | undefined;
|
|
7638
7621
|
are_pins_interchangeable?: boolean | undefined;
|
|
7639
7622
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7640
|
-
}>, z.ZodObject<
|
|
7623
|
+
}>, z.ZodObject<{
|
|
7641
7624
|
type: z.ZodLiteral<"source_component">;
|
|
7642
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7643
7625
|
source_component_id: z.ZodString;
|
|
7644
7626
|
name: z.ZodString;
|
|
7645
7627
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7648,11 +7630,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7648
7630
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7649
7631
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7650
7632
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7651
|
-
}
|
|
7633
|
+
} & {
|
|
7652
7634
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
7653
7635
|
frequency: z.ZodNumber;
|
|
7654
7636
|
load_capacitance: z.ZodOptional<z.ZodNumber>;
|
|
7655
|
-
}
|
|
7637
|
+
}, "strip", z.ZodTypeAny, {
|
|
7656
7638
|
type: "source_component";
|
|
7657
7639
|
name: string;
|
|
7658
7640
|
source_component_id: string;
|
|
@@ -7678,9 +7660,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7678
7660
|
are_pins_interchangeable?: boolean | undefined;
|
|
7679
7661
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7680
7662
|
load_capacitance?: number | undefined;
|
|
7681
|
-
}>, z.ZodObject<
|
|
7663
|
+
}>, z.ZodObject<{
|
|
7682
7664
|
type: z.ZodLiteral<"source_component">;
|
|
7683
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7684
7665
|
source_component_id: z.ZodString;
|
|
7685
7666
|
name: z.ZodString;
|
|
7686
7667
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7689,11 +7670,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7689
7670
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7690
7671
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7691
7672
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7692
|
-
}
|
|
7673
|
+
} & {
|
|
7693
7674
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
7694
7675
|
pin_count: z.ZodNumber;
|
|
7695
7676
|
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
|
|
7696
|
-
}
|
|
7677
|
+
}, "strip", z.ZodTypeAny, {
|
|
7697
7678
|
type: "source_component";
|
|
7698
7679
|
name: string;
|
|
7699
7680
|
source_component_id: string;
|
|
@@ -7719,9 +7700,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7719
7700
|
are_pins_interchangeable?: boolean | undefined;
|
|
7720
7701
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7721
7702
|
gender?: "male" | "female" | undefined;
|
|
7722
|
-
}>, z.ZodObject<
|
|
7703
|
+
}>, z.ZodObject<{
|
|
7723
7704
|
type: z.ZodLiteral<"source_component">;
|
|
7724
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7725
7705
|
source_component_id: z.ZodString;
|
|
7726
7706
|
name: z.ZodString;
|
|
7727
7707
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7730,12 +7710,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7730
7710
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7731
7711
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7732
7712
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7733
|
-
}
|
|
7713
|
+
} & {
|
|
7734
7714
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
7735
7715
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
7736
7716
|
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7737
7717
|
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7738
|
-
}
|
|
7718
|
+
}, "strip", z.ZodTypeAny, {
|
|
7739
7719
|
type: "source_component";
|
|
7740
7720
|
name: string;
|
|
7741
7721
|
source_component_id: string;
|
|
@@ -7763,9 +7743,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7763
7743
|
are_pins_interchangeable?: boolean | undefined;
|
|
7764
7744
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7765
7745
|
equivalent_series_resistance?: string | number | undefined;
|
|
7766
|
-
}>, z.ZodObject<
|
|
7746
|
+
}>, z.ZodObject<{
|
|
7767
7747
|
type: z.ZodLiteral<"source_component">;
|
|
7768
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7769
7748
|
source_component_id: z.ZodString;
|
|
7770
7749
|
name: z.ZodString;
|
|
7771
7750
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7774,9 +7753,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7774
7753
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7775
7754
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7776
7755
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7777
|
-
}
|
|
7756
|
+
} & {
|
|
7778
7757
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
7779
|
-
}
|
|
7758
|
+
}, "strip", z.ZodTypeAny, {
|
|
7780
7759
|
type: "source_component";
|
|
7781
7760
|
name: string;
|
|
7782
7761
|
source_component_id: string;
|
|
@@ -7798,9 +7777,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7798
7777
|
display_value?: string | undefined;
|
|
7799
7778
|
are_pins_interchangeable?: boolean | undefined;
|
|
7800
7779
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7801
|
-
}>, z.ZodObject<
|
|
7780
|
+
}>, z.ZodObject<{
|
|
7802
7781
|
type: z.ZodLiteral<"source_component">;
|
|
7803
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7804
7782
|
source_component_id: z.ZodString;
|
|
7805
7783
|
name: z.ZodString;
|
|
7806
7784
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7809,10 +7787,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7809
7787
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7810
7788
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7811
7789
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7812
|
-
}
|
|
7790
|
+
} & {
|
|
7813
7791
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
7814
7792
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
7815
|
-
}
|
|
7793
|
+
}, "strip", z.ZodTypeAny, {
|
|
7816
7794
|
type: "source_component";
|
|
7817
7795
|
name: string;
|
|
7818
7796
|
source_component_id: string;
|
|
@@ -7836,9 +7814,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7836
7814
|
display_value?: string | undefined;
|
|
7837
7815
|
are_pins_interchangeable?: boolean | undefined;
|
|
7838
7816
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7839
|
-
}>, z.ZodObject<
|
|
7817
|
+
}>, z.ZodObject<{
|
|
7840
7818
|
type: z.ZodLiteral<"source_component">;
|
|
7841
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7842
7819
|
source_component_id: z.ZodString;
|
|
7843
7820
|
name: z.ZodString;
|
|
7844
7821
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7847,11 +7824,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7847
7824
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7848
7825
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7849
7826
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7850
|
-
}
|
|
7827
|
+
} & {
|
|
7851
7828
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
7852
7829
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
7853
7830
|
mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
|
|
7854
|
-
}
|
|
7831
|
+
}, "strip", z.ZodTypeAny, {
|
|
7855
7832
|
type: "source_component";
|
|
7856
7833
|
name: string;
|
|
7857
7834
|
source_component_id: string;
|
|
@@ -7877,6 +7854,46 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7877
7854
|
display_value?: string | undefined;
|
|
7878
7855
|
are_pins_interchangeable?: boolean | undefined;
|
|
7879
7856
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7857
|
+
}>, z.ZodObject<{
|
|
7858
|
+
type: z.ZodLiteral<"source_component">;
|
|
7859
|
+
source_component_id: z.ZodString;
|
|
7860
|
+
name: z.ZodString;
|
|
7861
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
7862
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
7863
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
7864
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7865
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7866
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7867
|
+
} & {
|
|
7868
|
+
ftype: z.ZodLiteral<"simple_fuse">;
|
|
7869
|
+
current_rating_amps: z.ZodNumber;
|
|
7870
|
+
voltage_rating_volts: z.ZodNumber;
|
|
7871
|
+
}, "strip", z.ZodTypeAny, {
|
|
7872
|
+
type: "source_component";
|
|
7873
|
+
name: string;
|
|
7874
|
+
source_component_id: string;
|
|
7875
|
+
ftype: "simple_fuse";
|
|
7876
|
+
current_rating_amps: number;
|
|
7877
|
+
voltage_rating_volts: number;
|
|
7878
|
+
source_group_id?: string | undefined;
|
|
7879
|
+
manufacturer_part_number?: string | undefined;
|
|
7880
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7881
|
+
display_value?: string | undefined;
|
|
7882
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
7883
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7884
|
+
}, {
|
|
7885
|
+
type: "source_component";
|
|
7886
|
+
name: string;
|
|
7887
|
+
source_component_id: string;
|
|
7888
|
+
ftype: "simple_fuse";
|
|
7889
|
+
current_rating_amps: number;
|
|
7890
|
+
voltage_rating_volts: number;
|
|
7891
|
+
source_group_id?: string | undefined;
|
|
7892
|
+
manufacturer_part_number?: string | undefined;
|
|
7893
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
7894
|
+
display_value?: string | undefined;
|
|
7895
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
7896
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
7880
7897
|
}>, z.ZodObject<{
|
|
7881
7898
|
type: z.ZodLiteral<"source_project_metadata">;
|
|
7882
7899
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -7970,9 +7987,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7970
7987
|
x?: number | undefined;
|
|
7971
7988
|
y?: number | undefined;
|
|
7972
7989
|
} | undefined;
|
|
7973
|
-
}>]>, z.ZodObject<
|
|
7990
|
+
}>]>, z.ZodObject<{
|
|
7974
7991
|
type: z.ZodLiteral<"source_component">;
|
|
7975
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
7976
7992
|
source_component_id: z.ZodString;
|
|
7977
7993
|
name: z.ZodString;
|
|
7978
7994
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -7981,11 +7997,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7981
7997
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
7982
7998
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
7983
7999
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
7984
|
-
}
|
|
7985
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
7986
|
-
}>, {
|
|
8000
|
+
} & {
|
|
7987
8001
|
ftype: z.ZodLiteral<"led">;
|
|
7988
|
-
}
|
|
8002
|
+
}, "strip", z.ZodTypeAny, {
|
|
7989
8003
|
type: "source_component";
|
|
7990
8004
|
name: string;
|
|
7991
8005
|
source_component_id: string;
|
|
@@ -8061,9 +8075,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8061
8075
|
subcircuit_id?: string | undefined;
|
|
8062
8076
|
is_subcircuit?: boolean | undefined;
|
|
8063
8077
|
parent_subcircuit_id?: string | undefined;
|
|
8064
|
-
}>, z.ZodObject<
|
|
8078
|
+
}>, z.ZodObject<{
|
|
8065
8079
|
type: z.ZodLiteral<"source_component">;
|
|
8066
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8067
8080
|
source_component_id: z.ZodString;
|
|
8068
8081
|
name: z.ZodString;
|
|
8069
8082
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8072,9 +8085,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8072
8085
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8073
8086
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8074
8087
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8075
|
-
}
|
|
8088
|
+
} & {
|
|
8076
8089
|
ftype: z.ZodLiteral<"simple_bug">;
|
|
8077
|
-
}
|
|
8090
|
+
}, "strip", z.ZodTypeAny, {
|
|
8078
8091
|
type: "source_component";
|
|
8079
8092
|
name: string;
|
|
8080
8093
|
source_component_id: string;
|
|
@@ -8096,9 +8109,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8096
8109
|
display_value?: string | undefined;
|
|
8097
8110
|
are_pins_interchangeable?: boolean | undefined;
|
|
8098
8111
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8099
|
-
}>, z.ZodObject<
|
|
8112
|
+
}>, z.ZodObject<{
|
|
8100
8113
|
type: z.ZodLiteral<"source_component">;
|
|
8101
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8102
8114
|
source_component_id: z.ZodString;
|
|
8103
8115
|
name: z.ZodString;
|
|
8104
8116
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8107,9 +8119,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8107
8119
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8108
8120
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8109
8121
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8110
|
-
}
|
|
8122
|
+
} & {
|
|
8111
8123
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
8112
|
-
}
|
|
8124
|
+
}, "strip", z.ZodTypeAny, {
|
|
8113
8125
|
type: "source_component";
|
|
8114
8126
|
name: string;
|
|
8115
8127
|
source_component_id: string;
|
|
@@ -8131,9 +8143,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8131
8143
|
display_value?: string | undefined;
|
|
8132
8144
|
are_pins_interchangeable?: boolean | undefined;
|
|
8133
8145
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8134
|
-
}>, z.ZodObject<
|
|
8146
|
+
}>, z.ZodObject<{
|
|
8135
8147
|
type: z.ZodLiteral<"source_component">;
|
|
8136
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8137
8148
|
source_component_id: z.ZodString;
|
|
8138
8149
|
name: z.ZodString;
|
|
8139
8150
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8142,13 +8153,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8142
8153
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8143
8154
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8144
8155
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8145
|
-
}
|
|
8156
|
+
} & {
|
|
8146
8157
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
8147
8158
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
8148
8159
|
max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8149
8160
|
display_capacitance: z.ZodOptional<z.ZodString>;
|
|
8150
8161
|
max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8151
|
-
}
|
|
8162
|
+
}, "strip", z.ZodTypeAny, {
|
|
8152
8163
|
type: "source_component";
|
|
8153
8164
|
name: string;
|
|
8154
8165
|
source_component_id: string;
|
|
@@ -8178,9 +8189,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8178
8189
|
max_voltage_rating?: string | number | undefined;
|
|
8179
8190
|
display_capacitance?: string | undefined;
|
|
8180
8191
|
max_decoupling_trace_length?: string | number | undefined;
|
|
8181
|
-
}>, z.ZodObject<
|
|
8192
|
+
}>, z.ZodObject<{
|
|
8182
8193
|
type: z.ZodLiteral<"source_component">;
|
|
8183
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8184
8194
|
source_component_id: z.ZodString;
|
|
8185
8195
|
name: z.ZodString;
|
|
8186
8196
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8189,9 +8199,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8189
8199
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8190
8200
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8191
8201
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8192
|
-
}
|
|
8202
|
+
} & {
|
|
8193
8203
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
8194
|
-
}
|
|
8204
|
+
}, "strip", z.ZodTypeAny, {
|
|
8195
8205
|
type: "source_component";
|
|
8196
8206
|
name: string;
|
|
8197
8207
|
source_component_id: string;
|
|
@@ -8213,9 +8223,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8213
8223
|
display_value?: string | undefined;
|
|
8214
8224
|
are_pins_interchangeable?: boolean | undefined;
|
|
8215
8225
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8216
|
-
}>, z.ZodObject<
|
|
8226
|
+
}>, z.ZodObject<{
|
|
8217
8227
|
type: z.ZodLiteral<"source_component">;
|
|
8218
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8219
8228
|
source_component_id: z.ZodString;
|
|
8220
8229
|
name: z.ZodString;
|
|
8221
8230
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8223,14 +8232,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8223
8232
|
display_value: z.ZodOptional<z.ZodString>;
|
|
8224
8233
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8225
8234
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8226
|
-
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8227
|
-
}
|
|
8228
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
8229
|
-
}>, {
|
|
8235
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8236
|
+
} & {
|
|
8230
8237
|
ftype: z.ZodLiteral<"simple_led">;
|
|
8231
8238
|
color: z.ZodOptional<z.ZodString>;
|
|
8232
8239
|
wavelength: z.ZodOptional<z.ZodString>;
|
|
8233
|
-
}
|
|
8240
|
+
}, "strip", z.ZodTypeAny, {
|
|
8234
8241
|
type: "source_component";
|
|
8235
8242
|
name: string;
|
|
8236
8243
|
source_component_id: string;
|
|
@@ -8256,9 +8263,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8256
8263
|
are_pins_interchangeable?: boolean | undefined;
|
|
8257
8264
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8258
8265
|
wavelength?: string | undefined;
|
|
8259
|
-
}>, z.ZodObject<
|
|
8266
|
+
}>, z.ZodObject<{
|
|
8260
8267
|
type: z.ZodLiteral<"source_component">;
|
|
8261
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8262
8268
|
source_component_id: z.ZodString;
|
|
8263
8269
|
name: z.ZodString;
|
|
8264
8270
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8267,11 +8273,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8267
8273
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8268
8274
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8269
8275
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8270
|
-
}
|
|
8276
|
+
} & {
|
|
8271
8277
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
8272
8278
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8273
8279
|
display_resistance: z.ZodOptional<z.ZodString>;
|
|
8274
|
-
}
|
|
8280
|
+
}, "strip", z.ZodTypeAny, {
|
|
8275
8281
|
type: "source_component";
|
|
8276
8282
|
name: string;
|
|
8277
8283
|
source_component_id: string;
|
|
@@ -8297,9 +8303,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8297
8303
|
are_pins_interchangeable?: boolean | undefined;
|
|
8298
8304
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8299
8305
|
display_resistance?: string | undefined;
|
|
8300
|
-
}>, z.ZodObject<
|
|
8306
|
+
}>, z.ZodObject<{
|
|
8301
8307
|
type: z.ZodLiteral<"source_component">;
|
|
8302
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8303
8308
|
source_component_id: z.ZodString;
|
|
8304
8309
|
name: z.ZodString;
|
|
8305
8310
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8308,10 +8313,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8308
8313
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8309
8314
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8310
8315
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8311
|
-
}
|
|
8316
|
+
} & {
|
|
8312
8317
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
8313
8318
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8314
|
-
}
|
|
8319
|
+
}, "strip", z.ZodTypeAny, {
|
|
8315
8320
|
type: "source_component";
|
|
8316
8321
|
name: string;
|
|
8317
8322
|
source_component_id: string;
|
|
@@ -8335,9 +8340,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8335
8340
|
display_value?: string | undefined;
|
|
8336
8341
|
are_pins_interchangeable?: boolean | undefined;
|
|
8337
8342
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8338
|
-
}>, z.ZodObject<
|
|
8343
|
+
}>, z.ZodObject<{
|
|
8339
8344
|
type: z.ZodLiteral<"source_component">;
|
|
8340
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8341
8345
|
source_component_id: z.ZodString;
|
|
8342
8346
|
name: z.ZodString;
|
|
8343
8347
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8346,10 +8350,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8346
8350
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8347
8351
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8348
8352
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8349
|
-
}
|
|
8353
|
+
} & {
|
|
8350
8354
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
8351
8355
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
8352
|
-
}
|
|
8356
|
+
}, "strip", z.ZodTypeAny, {
|
|
8353
8357
|
type: "source_component";
|
|
8354
8358
|
name: string;
|
|
8355
8359
|
source_component_id: string;
|
|
@@ -8373,9 +8377,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8373
8377
|
display_value?: string | undefined;
|
|
8374
8378
|
are_pins_interchangeable?: boolean | undefined;
|
|
8375
8379
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8376
|
-
}>, z.ZodObject<
|
|
8380
|
+
}>, z.ZodObject<{
|
|
8377
8381
|
type: z.ZodLiteral<"source_component">;
|
|
8378
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8379
8382
|
source_component_id: z.ZodString;
|
|
8380
8383
|
name: z.ZodString;
|
|
8381
8384
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8384,10 +8387,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8384
8387
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8385
8388
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8386
8389
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8387
|
-
}
|
|
8390
|
+
} & {
|
|
8388
8391
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
8389
8392
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8390
|
-
}
|
|
8393
|
+
}, "strip", z.ZodTypeAny, {
|
|
8391
8394
|
type: "source_component";
|
|
8392
8395
|
name: string;
|
|
8393
8396
|
source_component_id: string;
|
|
@@ -8411,9 +8414,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8411
8414
|
display_value?: string | undefined;
|
|
8412
8415
|
are_pins_interchangeable?: boolean | undefined;
|
|
8413
8416
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8414
|
-
}>, z.ZodObject<
|
|
8417
|
+
}>, z.ZodObject<{
|
|
8415
8418
|
type: z.ZodLiteral<"source_component">;
|
|
8416
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8417
8419
|
source_component_id: z.ZodString;
|
|
8418
8420
|
name: z.ZodString;
|
|
8419
8421
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8422,11 +8424,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8422
8424
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8423
8425
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8424
8426
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8425
|
-
}
|
|
8427
|
+
} & {
|
|
8426
8428
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
8427
8429
|
pin_count: z.ZodNumber;
|
|
8428
8430
|
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
|
|
8429
|
-
}
|
|
8431
|
+
}, "strip", z.ZodTypeAny, {
|
|
8430
8432
|
type: "source_component";
|
|
8431
8433
|
name: string;
|
|
8432
8434
|
source_component_id: string;
|
|
@@ -8452,9 +8454,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8452
8454
|
are_pins_interchangeable?: boolean | undefined;
|
|
8453
8455
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8454
8456
|
gender?: "male" | "female" | undefined;
|
|
8455
|
-
}>, z.ZodObject<
|
|
8457
|
+
}>, z.ZodObject<{
|
|
8456
8458
|
type: z.ZodLiteral<"source_component">;
|
|
8457
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8458
8459
|
source_component_id: z.ZodString;
|
|
8459
8460
|
name: z.ZodString;
|
|
8460
8461
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8463,12 +8464,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8463
8464
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8464
8465
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8465
8466
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8466
|
-
}
|
|
8467
|
+
} & {
|
|
8467
8468
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
8468
8469
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
8469
8470
|
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8470
8471
|
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8471
|
-
}
|
|
8472
|
+
}, "strip", z.ZodTypeAny, {
|
|
8472
8473
|
type: "source_component";
|
|
8473
8474
|
name: string;
|
|
8474
8475
|
source_component_id: string;
|
|
@@ -8496,9 +8497,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8496
8497
|
are_pins_interchangeable?: boolean | undefined;
|
|
8497
8498
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8498
8499
|
equivalent_series_resistance?: string | number | undefined;
|
|
8499
|
-
}>, z.ZodObject<
|
|
8500
|
+
}>, z.ZodObject<{
|
|
8500
8501
|
type: z.ZodLiteral<"source_component">;
|
|
8501
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8502
8502
|
source_component_id: z.ZodString;
|
|
8503
8503
|
name: z.ZodString;
|
|
8504
8504
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8507,9 +8507,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8507
8507
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8508
8508
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8509
8509
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8510
|
-
}
|
|
8510
|
+
} & {
|
|
8511
8511
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
8512
|
-
}
|
|
8512
|
+
}, "strip", z.ZodTypeAny, {
|
|
8513
8513
|
type: "source_component";
|
|
8514
8514
|
name: string;
|
|
8515
8515
|
source_component_id: string;
|
|
@@ -8531,9 +8531,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8531
8531
|
display_value?: string | undefined;
|
|
8532
8532
|
are_pins_interchangeable?: boolean | undefined;
|
|
8533
8533
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8534
|
-
}>, z.ZodObject<
|
|
8534
|
+
}>, z.ZodObject<{
|
|
8535
8535
|
type: z.ZodLiteral<"source_component">;
|
|
8536
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8537
8536
|
source_component_id: z.ZodString;
|
|
8538
8537
|
name: z.ZodString;
|
|
8539
8538
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8542,10 +8541,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8542
8541
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8543
8542
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8544
8543
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8545
|
-
}
|
|
8544
|
+
} & {
|
|
8546
8545
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
8547
8546
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
8548
|
-
}
|
|
8547
|
+
}, "strip", z.ZodTypeAny, {
|
|
8549
8548
|
type: "source_component";
|
|
8550
8549
|
name: string;
|
|
8551
8550
|
source_component_id: string;
|
|
@@ -8569,9 +8568,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8569
8568
|
display_value?: string | undefined;
|
|
8570
8569
|
are_pins_interchangeable?: boolean | undefined;
|
|
8571
8570
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8572
|
-
}>, z.ZodObject<
|
|
8571
|
+
}>, z.ZodObject<{
|
|
8573
8572
|
type: z.ZodLiteral<"source_component">;
|
|
8574
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8575
8573
|
source_component_id: z.ZodString;
|
|
8576
8574
|
name: z.ZodString;
|
|
8577
8575
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8580,11 +8578,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8580
8578
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8581
8579
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8582
8580
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8583
|
-
}
|
|
8581
|
+
} & {
|
|
8584
8582
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
8585
8583
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
8586
8584
|
mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
|
|
8587
|
-
}
|
|
8585
|
+
}, "strip", z.ZodTypeAny, {
|
|
8588
8586
|
type: "source_component";
|
|
8589
8587
|
name: string;
|
|
8590
8588
|
source_component_id: string;
|
|
@@ -8610,9 +8608,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8610
8608
|
display_value?: string | undefined;
|
|
8611
8609
|
are_pins_interchangeable?: boolean | undefined;
|
|
8612
8610
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8613
|
-
}>, z.ZodObject<
|
|
8611
|
+
}>, z.ZodObject<{
|
|
8614
8612
|
type: z.ZodLiteral<"source_component">;
|
|
8615
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8616
8613
|
source_component_id: z.ZodString;
|
|
8617
8614
|
name: z.ZodString;
|
|
8618
8615
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8621,10 +8618,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8621
8618
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8622
8619
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8623
8620
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8624
|
-
}
|
|
8621
|
+
} & {
|
|
8625
8622
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
8626
8623
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8627
|
-
}
|
|
8624
|
+
}, "strip", z.ZodTypeAny, {
|
|
8628
8625
|
type: "source_component";
|
|
8629
8626
|
name: string;
|
|
8630
8627
|
source_component_id: string;
|
|
@@ -8648,9 +8645,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8648
8645
|
display_value?: string | undefined;
|
|
8649
8646
|
are_pins_interchangeable?: boolean | undefined;
|
|
8650
8647
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
8651
|
-
}>, z.ZodObject<
|
|
8648
|
+
}>, z.ZodObject<{
|
|
8652
8649
|
type: z.ZodLiteral<"source_component">;
|
|
8653
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
8654
8650
|
source_component_id: z.ZodString;
|
|
8655
8651
|
name: z.ZodString;
|
|
8656
8652
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -8659,9 +8655,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8659
8655
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
8660
8656
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
8661
8657
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
8662
|
-
}
|
|
8658
|
+
} & {
|
|
8663
8659
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
8664
|
-
}
|
|
8660
|
+
}, "strip", z.ZodTypeAny, {
|
|
8665
8661
|
type: "source_component";
|
|
8666
8662
|
name: string;
|
|
8667
8663
|
source_component_id: string;
|
|
@@ -10606,12 +10602,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10606
10602
|
message: string;
|
|
10607
10603
|
type: "pcb_autorouting_error";
|
|
10608
10604
|
pcb_error_id?: string | undefined;
|
|
10609
|
-
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<
|
|
10605
|
+
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
10610
10606
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
10611
10607
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10612
10608
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10613
10609
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10614
|
-
}
|
|
10610
|
+
} & {
|
|
10615
10611
|
shape: z.ZodLiteral<"rect">;
|
|
10616
10612
|
center: z.ZodObject<{
|
|
10617
10613
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10626,7 +10622,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10626
10622
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10627
10623
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10628
10624
|
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10629
|
-
}
|
|
10625
|
+
}, "strip", z.ZodTypeAny, {
|
|
10630
10626
|
type: "pcb_cutout";
|
|
10631
10627
|
width: number;
|
|
10632
10628
|
height: number;
|
|
@@ -10652,12 +10648,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10652
10648
|
subcircuit_id?: string | undefined;
|
|
10653
10649
|
pcb_group_id?: string | undefined;
|
|
10654
10650
|
pcb_cutout_id?: string | undefined;
|
|
10655
|
-
}>, z.ZodObject<
|
|
10651
|
+
}>, z.ZodObject<{
|
|
10656
10652
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
10657
10653
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10658
10654
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10659
10655
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10660
|
-
}
|
|
10656
|
+
} & {
|
|
10661
10657
|
shape: z.ZodLiteral<"circle">;
|
|
10662
10658
|
center: z.ZodObject<{
|
|
10663
10659
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10670,7 +10666,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10670
10666
|
y: string | number;
|
|
10671
10667
|
}>;
|
|
10672
10668
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10673
|
-
}
|
|
10669
|
+
}, "strip", z.ZodTypeAny, {
|
|
10674
10670
|
type: "pcb_cutout";
|
|
10675
10671
|
center: {
|
|
10676
10672
|
x: number;
|
|
@@ -10692,12 +10688,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10692
10688
|
subcircuit_id?: string | undefined;
|
|
10693
10689
|
pcb_group_id?: string | undefined;
|
|
10694
10690
|
pcb_cutout_id?: string | undefined;
|
|
10695
|
-
}>, z.ZodObject<
|
|
10691
|
+
}>, z.ZodObject<{
|
|
10696
10692
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
10697
10693
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10698
10694
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10699
10695
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10700
|
-
}
|
|
10696
|
+
} & {
|
|
10701
10697
|
shape: z.ZodLiteral<"polygon">;
|
|
10702
10698
|
points: z.ZodArray<z.ZodObject<{
|
|
10703
10699
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10709,7 +10705,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10709
10705
|
x: string | number;
|
|
10710
10706
|
y: string | number;
|
|
10711
10707
|
}>, "many">;
|
|
10712
|
-
}
|
|
10708
|
+
}, "strip", z.ZodTypeAny, {
|
|
10713
10709
|
type: "pcb_cutout";
|
|
10714
10710
|
shape: "polygon";
|
|
10715
10711
|
pcb_cutout_id: string;
|
|
@@ -11320,10 +11316,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11320
11316
|
symbol_name?: string | undefined;
|
|
11321
11317
|
schematic_trace_id?: string | undefined;
|
|
11322
11318
|
schematic_net_label_id?: string | undefined;
|
|
11323
|
-
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<
|
|
11319
|
+
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
11324
11320
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
11325
11321
|
label: z.ZodOptional<z.ZodString>;
|
|
11326
|
-
}
|
|
11322
|
+
} & {
|
|
11327
11323
|
shape: z.ZodLiteral<"rect">;
|
|
11328
11324
|
center: z.ZodObject<{
|
|
11329
11325
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -11345,7 +11341,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11345
11341
|
width: number;
|
|
11346
11342
|
height: number;
|
|
11347
11343
|
}>;
|
|
11348
|
-
}
|
|
11344
|
+
}, "strip", z.ZodTypeAny, {
|
|
11349
11345
|
type: "schematic_debug_object";
|
|
11350
11346
|
center: {
|
|
11351
11347
|
x: number;
|
|
@@ -11369,10 +11365,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11369
11365
|
height: number;
|
|
11370
11366
|
};
|
|
11371
11367
|
label?: string | undefined;
|
|
11372
|
-
}>, z.ZodObject<
|
|
11368
|
+
}>, z.ZodObject<{
|
|
11373
11369
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
11374
11370
|
label: z.ZodOptional<z.ZodString>;
|
|
11375
|
-
}
|
|
11371
|
+
} & {
|
|
11376
11372
|
shape: z.ZodLiteral<"line">;
|
|
11377
11373
|
start: z.ZodObject<{
|
|
11378
11374
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -11394,7 +11390,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11394
11390
|
x: string | number;
|
|
11395
11391
|
y: string | number;
|
|
11396
11392
|
}>;
|
|
11397
|
-
}
|
|
11393
|
+
}, "strip", z.ZodTypeAny, {
|
|
11398
11394
|
type: "schematic_debug_object";
|
|
11399
11395
|
shape: "line";
|
|
11400
11396
|
start: {
|
|
@@ -11418,10 +11414,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11418
11414
|
y: string | number;
|
|
11419
11415
|
};
|
|
11420
11416
|
label?: string | undefined;
|
|
11421
|
-
}>, z.ZodObject<
|
|
11417
|
+
}>, z.ZodObject<{
|
|
11422
11418
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
11423
11419
|
label: z.ZodOptional<z.ZodString>;
|
|
11424
|
-
}
|
|
11420
|
+
} & {
|
|
11425
11421
|
shape: z.ZodLiteral<"point">;
|
|
11426
11422
|
center: z.ZodObject<{
|
|
11427
11423
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -11433,7 +11429,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11433
11429
|
x: string | number;
|
|
11434
11430
|
y: string | number;
|
|
11435
11431
|
}>;
|
|
11436
|
-
}
|
|
11432
|
+
}, "strip", z.ZodTypeAny, {
|
|
11437
11433
|
type: "schematic_debug_object";
|
|
11438
11434
|
center: {
|
|
11439
11435
|
x: number;
|
|
@@ -11727,9 +11723,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11727
11723
|
subcircuit_id?: string | undefined;
|
|
11728
11724
|
port_hints?: string[] | undefined;
|
|
11729
11725
|
pin_number?: number | undefined;
|
|
11730
|
-
}>, z.ZodUnion<[z.ZodObject<
|
|
11726
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
11731
11727
|
type: z.ZodLiteral<"source_component">;
|
|
11732
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
11733
11728
|
source_component_id: z.ZodString;
|
|
11734
11729
|
name: z.ZodString;
|
|
11735
11730
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -11738,11 +11733,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11738
11733
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
11739
11734
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
11740
11735
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
11741
|
-
}
|
|
11736
|
+
} & {
|
|
11742
11737
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
11743
11738
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
11744
11739
|
display_resistance: z.ZodOptional<z.ZodString>;
|
|
11745
|
-
}
|
|
11740
|
+
}, "strip", z.ZodTypeAny, {
|
|
11746
11741
|
type: "source_component";
|
|
11747
11742
|
name: string;
|
|
11748
11743
|
source_component_id: string;
|
|
@@ -11768,9 +11763,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11768
11763
|
are_pins_interchangeable?: boolean | undefined;
|
|
11769
11764
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
11770
11765
|
display_resistance?: string | undefined;
|
|
11771
|
-
}>, z.ZodObject<
|
|
11766
|
+
}>, z.ZodObject<{
|
|
11772
11767
|
type: z.ZodLiteral<"source_component">;
|
|
11773
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
11774
11768
|
source_component_id: z.ZodString;
|
|
11775
11769
|
name: z.ZodString;
|
|
11776
11770
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -11779,13 +11773,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11779
11773
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
11780
11774
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
11781
11775
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
11782
|
-
}
|
|
11776
|
+
} & {
|
|
11783
11777
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
11784
11778
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
11785
11779
|
max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11786
11780
|
display_capacitance: z.ZodOptional<z.ZodString>;
|
|
11787
11781
|
max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11788
|
-
}
|
|
11782
|
+
}, "strip", z.ZodTypeAny, {
|
|
11789
11783
|
type: "source_component";
|
|
11790
11784
|
name: string;
|
|
11791
11785
|
source_component_id: string;
|
|
@@ -11815,9 +11809,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11815
11809
|
max_voltage_rating?: string | number | undefined;
|
|
11816
11810
|
display_capacitance?: string | undefined;
|
|
11817
11811
|
max_decoupling_trace_length?: string | number | undefined;
|
|
11818
|
-
}>, z.ZodObject<
|
|
11812
|
+
}>, z.ZodObject<{
|
|
11819
11813
|
type: z.ZodLiteral<"source_component">;
|
|
11820
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
11821
11814
|
source_component_id: z.ZodString;
|
|
11822
11815
|
name: z.ZodString;
|
|
11823
11816
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -11826,9 +11819,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11826
11819
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
11827
11820
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
11828
11821
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
11829
|
-
}
|
|
11822
|
+
} & {
|
|
11830
11823
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
11831
|
-
}
|
|
11824
|
+
}, "strip", z.ZodTypeAny, {
|
|
11832
11825
|
type: "source_component";
|
|
11833
11826
|
name: string;
|
|
11834
11827
|
source_component_id: string;
|
|
@@ -11850,9 +11843,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11850
11843
|
display_value?: string | undefined;
|
|
11851
11844
|
are_pins_interchangeable?: boolean | undefined;
|
|
11852
11845
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
11853
|
-
}>, z.ZodObject<
|
|
11846
|
+
}>, z.ZodObject<{
|
|
11854
11847
|
type: z.ZodLiteral<"source_component">;
|
|
11855
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
11856
11848
|
source_component_id: z.ZodString;
|
|
11857
11849
|
name: z.ZodString;
|
|
11858
11850
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -11861,13 +11853,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11861
11853
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
11862
11854
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
11863
11855
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
11864
|
-
}
|
|
11865
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
11866
|
-
}>, {
|
|
11856
|
+
} & {
|
|
11867
11857
|
ftype: z.ZodLiteral<"simple_led">;
|
|
11868
11858
|
color: z.ZodOptional<z.ZodString>;
|
|
11869
11859
|
wavelength: z.ZodOptional<z.ZodString>;
|
|
11870
|
-
}
|
|
11860
|
+
}, "strip", z.ZodTypeAny, {
|
|
11871
11861
|
type: "source_component";
|
|
11872
11862
|
name: string;
|
|
11873
11863
|
source_component_id: string;
|
|
@@ -11893,9 +11883,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11893
11883
|
are_pins_interchangeable?: boolean | undefined;
|
|
11894
11884
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
11895
11885
|
wavelength?: string | undefined;
|
|
11896
|
-
}>, z.ZodObject<
|
|
11886
|
+
}>, z.ZodObject<{
|
|
11897
11887
|
type: z.ZodLiteral<"source_component">;
|
|
11898
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
11899
11888
|
source_component_id: z.ZodString;
|
|
11900
11889
|
name: z.ZodString;
|
|
11901
11890
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -11904,9 +11893,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11904
11893
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
11905
11894
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
11906
11895
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
11907
|
-
}
|
|
11896
|
+
} & {
|
|
11908
11897
|
ftype: z.ZodLiteral<"simple_ground">;
|
|
11909
|
-
}
|
|
11898
|
+
}, "strip", z.ZodTypeAny, {
|
|
11910
11899
|
type: "source_component";
|
|
11911
11900
|
name: string;
|
|
11912
11901
|
source_component_id: string;
|
|
@@ -11928,9 +11917,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11928
11917
|
display_value?: string | undefined;
|
|
11929
11918
|
are_pins_interchangeable?: boolean | undefined;
|
|
11930
11919
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
11931
|
-
}>, z.ZodObject<
|
|
11920
|
+
}>, z.ZodObject<{
|
|
11932
11921
|
type: z.ZodLiteral<"source_component">;
|
|
11933
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
11934
11922
|
source_component_id: z.ZodString;
|
|
11935
11923
|
name: z.ZodString;
|
|
11936
11924
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -11939,9 +11927,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11939
11927
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
11940
11928
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
11941
11929
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
11942
|
-
}
|
|
11930
|
+
} & {
|
|
11943
11931
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
11944
|
-
}
|
|
11932
|
+
}, "strip", z.ZodTypeAny, {
|
|
11945
11933
|
type: "source_component";
|
|
11946
11934
|
name: string;
|
|
11947
11935
|
source_component_id: string;
|
|
@@ -11963,9 +11951,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11963
11951
|
display_value?: string | undefined;
|
|
11964
11952
|
are_pins_interchangeable?: boolean | undefined;
|
|
11965
11953
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
11966
|
-
}>, z.ZodObject<
|
|
11954
|
+
}>, z.ZodObject<{
|
|
11967
11955
|
type: z.ZodLiteral<"source_component">;
|
|
11968
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
11969
11956
|
source_component_id: z.ZodString;
|
|
11970
11957
|
name: z.ZodString;
|
|
11971
11958
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -11974,9 +11961,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11974
11961
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
11975
11962
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
11976
11963
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
11977
|
-
}
|
|
11964
|
+
} & {
|
|
11978
11965
|
ftype: z.ZodLiteral<"simple_bug">;
|
|
11979
|
-
}
|
|
11966
|
+
}, "strip", z.ZodTypeAny, {
|
|
11980
11967
|
type: "source_component";
|
|
11981
11968
|
name: string;
|
|
11982
11969
|
source_component_id: string;
|
|
@@ -11998,9 +11985,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11998
11985
|
display_value?: string | undefined;
|
|
11999
11986
|
are_pins_interchangeable?: boolean | undefined;
|
|
12000
11987
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12001
|
-
}>, z.ZodObject<
|
|
11988
|
+
}>, z.ZodObject<{
|
|
12002
11989
|
type: z.ZodLiteral<"source_component">;
|
|
12003
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12004
11990
|
source_component_id: z.ZodString;
|
|
12005
11991
|
name: z.ZodString;
|
|
12006
11992
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12009,11 +11995,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12009
11995
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12010
11996
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12011
11997
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12012
|
-
}
|
|
12013
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
12014
|
-
}>, {
|
|
11998
|
+
} & {
|
|
12015
11999
|
ftype: z.ZodLiteral<"led">;
|
|
12016
|
-
}
|
|
12000
|
+
}, "strip", z.ZodTypeAny, {
|
|
12017
12001
|
type: "source_component";
|
|
12018
12002
|
name: string;
|
|
12019
12003
|
source_component_id: string;
|
|
@@ -12035,9 +12019,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12035
12019
|
display_value?: string | undefined;
|
|
12036
12020
|
are_pins_interchangeable?: boolean | undefined;
|
|
12037
12021
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12038
|
-
}>, z.ZodObject<
|
|
12022
|
+
}>, z.ZodObject<{
|
|
12039
12023
|
type: z.ZodLiteral<"source_component">;
|
|
12040
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12041
12024
|
source_component_id: z.ZodString;
|
|
12042
12025
|
name: z.ZodString;
|
|
12043
12026
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12046,10 +12029,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12046
12029
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12047
12030
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12048
12031
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12049
|
-
}
|
|
12032
|
+
} & {
|
|
12050
12033
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
12051
12034
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12052
|
-
}
|
|
12035
|
+
}, "strip", z.ZodTypeAny, {
|
|
12053
12036
|
type: "source_component";
|
|
12054
12037
|
name: string;
|
|
12055
12038
|
source_component_id: string;
|
|
@@ -12073,9 +12056,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12073
12056
|
display_value?: string | undefined;
|
|
12074
12057
|
are_pins_interchangeable?: boolean | undefined;
|
|
12075
12058
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12076
|
-
}>, z.ZodObject<
|
|
12059
|
+
}>, z.ZodObject<{
|
|
12077
12060
|
type: z.ZodLiteral<"source_component">;
|
|
12078
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12079
12061
|
source_component_id: z.ZodString;
|
|
12080
12062
|
name: z.ZodString;
|
|
12081
12063
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12084,10 +12066,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12084
12066
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12085
12067
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12086
12068
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12087
|
-
}
|
|
12069
|
+
} & {
|
|
12088
12070
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
12089
12071
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
12090
|
-
}
|
|
12072
|
+
}, "strip", z.ZodTypeAny, {
|
|
12091
12073
|
type: "source_component";
|
|
12092
12074
|
name: string;
|
|
12093
12075
|
source_component_id: string;
|
|
@@ -12111,9 +12093,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12111
12093
|
display_value?: string | undefined;
|
|
12112
12094
|
are_pins_interchangeable?: boolean | undefined;
|
|
12113
12095
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12114
|
-
}>, z.ZodObject<
|
|
12096
|
+
}>, z.ZodObject<{
|
|
12115
12097
|
type: z.ZodLiteral<"source_component">;
|
|
12116
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12117
12098
|
source_component_id: z.ZodString;
|
|
12118
12099
|
name: z.ZodString;
|
|
12119
12100
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12122,10 +12103,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12122
12103
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12123
12104
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12124
12105
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12125
|
-
}
|
|
12106
|
+
} & {
|
|
12126
12107
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
12127
12108
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12128
|
-
}
|
|
12109
|
+
}, "strip", z.ZodTypeAny, {
|
|
12129
12110
|
type: "source_component";
|
|
12130
12111
|
name: string;
|
|
12131
12112
|
source_component_id: string;
|
|
@@ -12149,9 +12130,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12149
12130
|
display_value?: string | undefined;
|
|
12150
12131
|
are_pins_interchangeable?: boolean | undefined;
|
|
12151
12132
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12152
|
-
}>, z.ZodObject<
|
|
12133
|
+
}>, z.ZodObject<{
|
|
12153
12134
|
type: z.ZodLiteral<"source_component">;
|
|
12154
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12155
12135
|
source_component_id: z.ZodString;
|
|
12156
12136
|
name: z.ZodString;
|
|
12157
12137
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12160,9 +12140,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12160
12140
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12161
12141
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12162
12142
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12163
|
-
}
|
|
12143
|
+
} & {
|
|
12164
12144
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
12165
|
-
}
|
|
12145
|
+
}, "strip", z.ZodTypeAny, {
|
|
12166
12146
|
type: "source_component";
|
|
12167
12147
|
name: string;
|
|
12168
12148
|
source_component_id: string;
|
|
@@ -12184,9 +12164,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12184
12164
|
display_value?: string | undefined;
|
|
12185
12165
|
are_pins_interchangeable?: boolean | undefined;
|
|
12186
12166
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12187
|
-
}>, z.ZodObject<
|
|
12167
|
+
}>, z.ZodObject<{
|
|
12188
12168
|
type: z.ZodLiteral<"source_component">;
|
|
12189
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12190
12169
|
source_component_id: z.ZodString;
|
|
12191
12170
|
name: z.ZodString;
|
|
12192
12171
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12195,10 +12174,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12195
12174
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12196
12175
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12197
12176
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12198
|
-
}
|
|
12177
|
+
} & {
|
|
12199
12178
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
12200
12179
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12201
|
-
}
|
|
12180
|
+
}, "strip", z.ZodTypeAny, {
|
|
12202
12181
|
type: "source_component";
|
|
12203
12182
|
name: string;
|
|
12204
12183
|
source_component_id: string;
|
|
@@ -12222,9 +12201,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12222
12201
|
display_value?: string | undefined;
|
|
12223
12202
|
are_pins_interchangeable?: boolean | undefined;
|
|
12224
12203
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12225
|
-
}>, z.ZodObject<
|
|
12204
|
+
}>, z.ZodObject<{
|
|
12226
12205
|
type: z.ZodLiteral<"source_component">;
|
|
12227
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12228
12206
|
source_component_id: z.ZodString;
|
|
12229
12207
|
name: z.ZodString;
|
|
12230
12208
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12233,11 +12211,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12233
12211
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12234
12212
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12235
12213
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12236
|
-
}
|
|
12214
|
+
} & {
|
|
12237
12215
|
ftype: z.ZodLiteral<"simple_crystal">;
|
|
12238
12216
|
frequency: z.ZodNumber;
|
|
12239
12217
|
load_capacitance: z.ZodOptional<z.ZodNumber>;
|
|
12240
|
-
}
|
|
12218
|
+
}, "strip", z.ZodTypeAny, {
|
|
12241
12219
|
type: "source_component";
|
|
12242
12220
|
name: string;
|
|
12243
12221
|
source_component_id: string;
|
|
@@ -12263,9 +12241,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12263
12241
|
are_pins_interchangeable?: boolean | undefined;
|
|
12264
12242
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12265
12243
|
load_capacitance?: number | undefined;
|
|
12266
|
-
}>, z.ZodObject<
|
|
12244
|
+
}>, z.ZodObject<{
|
|
12267
12245
|
type: z.ZodLiteral<"source_component">;
|
|
12268
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12269
12246
|
source_component_id: z.ZodString;
|
|
12270
12247
|
name: z.ZodString;
|
|
12271
12248
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12274,11 +12251,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12274
12251
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12275
12252
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12276
12253
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12277
|
-
}
|
|
12254
|
+
} & {
|
|
12278
12255
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
12279
12256
|
pin_count: z.ZodNumber;
|
|
12280
12257
|
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
|
|
12281
|
-
}
|
|
12258
|
+
}, "strip", z.ZodTypeAny, {
|
|
12282
12259
|
type: "source_component";
|
|
12283
12260
|
name: string;
|
|
12284
12261
|
source_component_id: string;
|
|
@@ -12304,9 +12281,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12304
12281
|
are_pins_interchangeable?: boolean | undefined;
|
|
12305
12282
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12306
12283
|
gender?: "male" | "female" | undefined;
|
|
12307
|
-
}>, z.ZodObject<
|
|
12284
|
+
}>, z.ZodObject<{
|
|
12308
12285
|
type: z.ZodLiteral<"source_component">;
|
|
12309
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12310
12286
|
source_component_id: z.ZodString;
|
|
12311
12287
|
name: z.ZodString;
|
|
12312
12288
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12315,12 +12291,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12315
12291
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12316
12292
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12317
12293
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12318
|
-
}
|
|
12294
|
+
} & {
|
|
12319
12295
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
12320
12296
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
12321
12297
|
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12322
12298
|
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12323
|
-
}
|
|
12299
|
+
}, "strip", z.ZodTypeAny, {
|
|
12324
12300
|
type: "source_component";
|
|
12325
12301
|
name: string;
|
|
12326
12302
|
source_component_id: string;
|
|
@@ -12348,9 +12324,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12348
12324
|
are_pins_interchangeable?: boolean | undefined;
|
|
12349
12325
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12350
12326
|
equivalent_series_resistance?: string | number | undefined;
|
|
12351
|
-
}>, z.ZodObject<
|
|
12327
|
+
}>, z.ZodObject<{
|
|
12352
12328
|
type: z.ZodLiteral<"source_component">;
|
|
12353
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12354
12329
|
source_component_id: z.ZodString;
|
|
12355
12330
|
name: z.ZodString;
|
|
12356
12331
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12359,9 +12334,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12359
12334
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12360
12335
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12361
12336
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12362
|
-
}
|
|
12337
|
+
} & {
|
|
12363
12338
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
12364
|
-
}
|
|
12339
|
+
}, "strip", z.ZodTypeAny, {
|
|
12365
12340
|
type: "source_component";
|
|
12366
12341
|
name: string;
|
|
12367
12342
|
source_component_id: string;
|
|
@@ -12383,9 +12358,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12383
12358
|
display_value?: string | undefined;
|
|
12384
12359
|
are_pins_interchangeable?: boolean | undefined;
|
|
12385
12360
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12386
|
-
}>, z.ZodObject<
|
|
12361
|
+
}>, z.ZodObject<{
|
|
12387
12362
|
type: z.ZodLiteral<"source_component">;
|
|
12388
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12389
12363
|
source_component_id: z.ZodString;
|
|
12390
12364
|
name: z.ZodString;
|
|
12391
12365
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12394,10 +12368,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12394
12368
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12395
12369
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12396
12370
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12397
|
-
}
|
|
12371
|
+
} & {
|
|
12398
12372
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
12399
12373
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
12400
|
-
}
|
|
12374
|
+
}, "strip", z.ZodTypeAny, {
|
|
12401
12375
|
type: "source_component";
|
|
12402
12376
|
name: string;
|
|
12403
12377
|
source_component_id: string;
|
|
@@ -12421,9 +12395,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12421
12395
|
display_value?: string | undefined;
|
|
12422
12396
|
are_pins_interchangeable?: boolean | undefined;
|
|
12423
12397
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12424
|
-
}>, z.ZodObject<
|
|
12398
|
+
}>, z.ZodObject<{
|
|
12425
12399
|
type: z.ZodLiteral<"source_component">;
|
|
12426
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12427
12400
|
source_component_id: z.ZodString;
|
|
12428
12401
|
name: z.ZodString;
|
|
12429
12402
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12432,11 +12405,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12432
12405
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12433
12406
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12434
12407
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12435
|
-
}
|
|
12408
|
+
} & {
|
|
12436
12409
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
12437
12410
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
12438
12411
|
mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
|
|
12439
|
-
}
|
|
12412
|
+
}, "strip", z.ZodTypeAny, {
|
|
12440
12413
|
type: "source_component";
|
|
12441
12414
|
name: string;
|
|
12442
12415
|
source_component_id: string;
|
|
@@ -12462,6 +12435,46 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12462
12435
|
display_value?: string | undefined;
|
|
12463
12436
|
are_pins_interchangeable?: boolean | undefined;
|
|
12464
12437
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12438
|
+
}>, z.ZodObject<{
|
|
12439
|
+
type: z.ZodLiteral<"source_component">;
|
|
12440
|
+
source_component_id: z.ZodString;
|
|
12441
|
+
name: z.ZodString;
|
|
12442
|
+
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
12443
|
+
supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
|
|
12444
|
+
display_value: z.ZodOptional<z.ZodString>;
|
|
12445
|
+
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12446
|
+
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12447
|
+
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12448
|
+
} & {
|
|
12449
|
+
ftype: z.ZodLiteral<"simple_fuse">;
|
|
12450
|
+
current_rating_amps: z.ZodNumber;
|
|
12451
|
+
voltage_rating_volts: z.ZodNumber;
|
|
12452
|
+
}, "strip", z.ZodTypeAny, {
|
|
12453
|
+
type: "source_component";
|
|
12454
|
+
name: string;
|
|
12455
|
+
source_component_id: string;
|
|
12456
|
+
ftype: "simple_fuse";
|
|
12457
|
+
current_rating_amps: number;
|
|
12458
|
+
voltage_rating_volts: number;
|
|
12459
|
+
source_group_id?: string | undefined;
|
|
12460
|
+
manufacturer_part_number?: string | undefined;
|
|
12461
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12462
|
+
display_value?: string | undefined;
|
|
12463
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
12464
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12465
|
+
}, {
|
|
12466
|
+
type: "source_component";
|
|
12467
|
+
name: string;
|
|
12468
|
+
source_component_id: string;
|
|
12469
|
+
ftype: "simple_fuse";
|
|
12470
|
+
current_rating_amps: number;
|
|
12471
|
+
voltage_rating_volts: number;
|
|
12472
|
+
source_group_id?: string | undefined;
|
|
12473
|
+
manufacturer_part_number?: string | undefined;
|
|
12474
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
12475
|
+
display_value?: string | undefined;
|
|
12476
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
12477
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12465
12478
|
}>, z.ZodObject<{
|
|
12466
12479
|
type: z.ZodLiteral<"source_project_metadata">;
|
|
12467
12480
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -12555,9 +12568,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12555
12568
|
x?: number | undefined;
|
|
12556
12569
|
y?: number | undefined;
|
|
12557
12570
|
} | undefined;
|
|
12558
|
-
}>]>, z.ZodObject<
|
|
12571
|
+
}>]>, z.ZodObject<{
|
|
12559
12572
|
type: z.ZodLiteral<"source_component">;
|
|
12560
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12561
12573
|
source_component_id: z.ZodString;
|
|
12562
12574
|
name: z.ZodString;
|
|
12563
12575
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12566,11 +12578,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12566
12578
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12567
12579
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12568
12580
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12569
|
-
}
|
|
12570
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
12571
|
-
}>, {
|
|
12581
|
+
} & {
|
|
12572
12582
|
ftype: z.ZodLiteral<"led">;
|
|
12573
|
-
}
|
|
12583
|
+
}, "strip", z.ZodTypeAny, {
|
|
12574
12584
|
type: "source_component";
|
|
12575
12585
|
name: string;
|
|
12576
12586
|
source_component_id: string;
|
|
@@ -12646,9 +12656,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12646
12656
|
subcircuit_id?: string | undefined;
|
|
12647
12657
|
is_subcircuit?: boolean | undefined;
|
|
12648
12658
|
parent_subcircuit_id?: string | undefined;
|
|
12649
|
-
}>, z.ZodObject<
|
|
12659
|
+
}>, z.ZodObject<{
|
|
12650
12660
|
type: z.ZodLiteral<"source_component">;
|
|
12651
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12652
12661
|
source_component_id: z.ZodString;
|
|
12653
12662
|
name: z.ZodString;
|
|
12654
12663
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12657,9 +12666,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12657
12666
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12658
12667
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12659
12668
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12660
|
-
}
|
|
12669
|
+
} & {
|
|
12661
12670
|
ftype: z.ZodLiteral<"simple_bug">;
|
|
12662
|
-
}
|
|
12671
|
+
}, "strip", z.ZodTypeAny, {
|
|
12663
12672
|
type: "source_component";
|
|
12664
12673
|
name: string;
|
|
12665
12674
|
source_component_id: string;
|
|
@@ -12681,9 +12690,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12681
12690
|
display_value?: string | undefined;
|
|
12682
12691
|
are_pins_interchangeable?: boolean | undefined;
|
|
12683
12692
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12684
|
-
}>, z.ZodObject<
|
|
12693
|
+
}>, z.ZodObject<{
|
|
12685
12694
|
type: z.ZodLiteral<"source_component">;
|
|
12686
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12687
12695
|
source_component_id: z.ZodString;
|
|
12688
12696
|
name: z.ZodString;
|
|
12689
12697
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12692,9 +12700,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12692
12700
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12693
12701
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12694
12702
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12695
|
-
}
|
|
12703
|
+
} & {
|
|
12696
12704
|
ftype: z.ZodLiteral<"simple_chip">;
|
|
12697
|
-
}
|
|
12705
|
+
}, "strip", z.ZodTypeAny, {
|
|
12698
12706
|
type: "source_component";
|
|
12699
12707
|
name: string;
|
|
12700
12708
|
source_component_id: string;
|
|
@@ -12716,9 +12724,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12716
12724
|
display_value?: string | undefined;
|
|
12717
12725
|
are_pins_interchangeable?: boolean | undefined;
|
|
12718
12726
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12719
|
-
}>, z.ZodObject<
|
|
12727
|
+
}>, z.ZodObject<{
|
|
12720
12728
|
type: z.ZodLiteral<"source_component">;
|
|
12721
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12722
12729
|
source_component_id: z.ZodString;
|
|
12723
12730
|
name: z.ZodString;
|
|
12724
12731
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12727,13 +12734,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12727
12734
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12728
12735
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12729
12736
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12730
|
-
}
|
|
12737
|
+
} & {
|
|
12731
12738
|
ftype: z.ZodLiteral<"simple_capacitor">;
|
|
12732
12739
|
capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
12733
12740
|
max_voltage_rating: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12734
12741
|
display_capacitance: z.ZodOptional<z.ZodString>;
|
|
12735
12742
|
max_decoupling_trace_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
12736
|
-
}
|
|
12743
|
+
}, "strip", z.ZodTypeAny, {
|
|
12737
12744
|
type: "source_component";
|
|
12738
12745
|
name: string;
|
|
12739
12746
|
source_component_id: string;
|
|
@@ -12763,9 +12770,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12763
12770
|
max_voltage_rating?: string | number | undefined;
|
|
12764
12771
|
display_capacitance?: string | undefined;
|
|
12765
12772
|
max_decoupling_trace_length?: string | number | undefined;
|
|
12766
|
-
}>, z.ZodObject<
|
|
12773
|
+
}>, z.ZodObject<{
|
|
12767
12774
|
type: z.ZodLiteral<"source_component">;
|
|
12768
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12769
12775
|
source_component_id: z.ZodString;
|
|
12770
12776
|
name: z.ZodString;
|
|
12771
12777
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12774,9 +12780,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12774
12780
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12775
12781
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12776
12782
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12777
|
-
}
|
|
12783
|
+
} & {
|
|
12778
12784
|
ftype: z.ZodLiteral<"simple_diode">;
|
|
12779
|
-
}
|
|
12785
|
+
}, "strip", z.ZodTypeAny, {
|
|
12780
12786
|
type: "source_component";
|
|
12781
12787
|
name: string;
|
|
12782
12788
|
source_component_id: string;
|
|
@@ -12798,9 +12804,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12798
12804
|
display_value?: string | undefined;
|
|
12799
12805
|
are_pins_interchangeable?: boolean | undefined;
|
|
12800
12806
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12801
|
-
}>, z.ZodObject<
|
|
12807
|
+
}>, z.ZodObject<{
|
|
12802
12808
|
type: z.ZodLiteral<"source_component">;
|
|
12803
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12804
12809
|
source_component_id: z.ZodString;
|
|
12805
12810
|
name: z.ZodString;
|
|
12806
12811
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12809,13 +12814,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12809
12814
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12810
12815
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12811
12816
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12812
|
-
}
|
|
12813
|
-
ftype: z.ZodLiteral<"simple_diode">;
|
|
12814
|
-
}>, {
|
|
12817
|
+
} & {
|
|
12815
12818
|
ftype: z.ZodLiteral<"simple_led">;
|
|
12816
12819
|
color: z.ZodOptional<z.ZodString>;
|
|
12817
12820
|
wavelength: z.ZodOptional<z.ZodString>;
|
|
12818
|
-
}
|
|
12821
|
+
}, "strip", z.ZodTypeAny, {
|
|
12819
12822
|
type: "source_component";
|
|
12820
12823
|
name: string;
|
|
12821
12824
|
source_component_id: string;
|
|
@@ -12841,9 +12844,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12841
12844
|
are_pins_interchangeable?: boolean | undefined;
|
|
12842
12845
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12843
12846
|
wavelength?: string | undefined;
|
|
12844
|
-
}>, z.ZodObject<
|
|
12847
|
+
}>, z.ZodObject<{
|
|
12845
12848
|
type: z.ZodLiteral<"source_component">;
|
|
12846
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12847
12849
|
source_component_id: z.ZodString;
|
|
12848
12850
|
name: z.ZodString;
|
|
12849
12851
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12852,11 +12854,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12852
12854
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12853
12855
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12854
12856
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12855
|
-
}
|
|
12857
|
+
} & {
|
|
12856
12858
|
ftype: z.ZodLiteral<"simple_resistor">;
|
|
12857
12859
|
resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12858
12860
|
display_resistance: z.ZodOptional<z.ZodString>;
|
|
12859
|
-
}
|
|
12861
|
+
}, "strip", z.ZodTypeAny, {
|
|
12860
12862
|
type: "source_component";
|
|
12861
12863
|
name: string;
|
|
12862
12864
|
source_component_id: string;
|
|
@@ -12882,9 +12884,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12882
12884
|
are_pins_interchangeable?: boolean | undefined;
|
|
12883
12885
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12884
12886
|
display_resistance?: string | undefined;
|
|
12885
|
-
}>, z.ZodObject<
|
|
12887
|
+
}>, z.ZodObject<{
|
|
12886
12888
|
type: z.ZodLiteral<"source_component">;
|
|
12887
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12888
12889
|
source_component_id: z.ZodString;
|
|
12889
12890
|
name: z.ZodString;
|
|
12890
12891
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12893,10 +12894,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12893
12894
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12894
12895
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12895
12896
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12896
|
-
}
|
|
12897
|
+
} & {
|
|
12897
12898
|
ftype: z.ZodLiteral<"simple_power_source">;
|
|
12898
12899
|
voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12899
|
-
}
|
|
12900
|
+
}, "strip", z.ZodTypeAny, {
|
|
12900
12901
|
type: "source_component";
|
|
12901
12902
|
name: string;
|
|
12902
12903
|
source_component_id: string;
|
|
@@ -12920,9 +12921,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12920
12921
|
display_value?: string | undefined;
|
|
12921
12922
|
are_pins_interchangeable?: boolean | undefined;
|
|
12922
12923
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12923
|
-
}>, z.ZodObject<
|
|
12924
|
+
}>, z.ZodObject<{
|
|
12924
12925
|
type: z.ZodLiteral<"source_component">;
|
|
12925
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12926
12926
|
source_component_id: z.ZodString;
|
|
12927
12927
|
name: z.ZodString;
|
|
12928
12928
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12931,10 +12931,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12931
12931
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12932
12932
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12933
12933
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12934
|
-
}
|
|
12934
|
+
} & {
|
|
12935
12935
|
ftype: z.ZodLiteral<"simple_battery">;
|
|
12936
12936
|
capacity: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>;
|
|
12937
|
-
}
|
|
12937
|
+
}, "strip", z.ZodTypeAny, {
|
|
12938
12938
|
type: "source_component";
|
|
12939
12939
|
name: string;
|
|
12940
12940
|
source_component_id: string;
|
|
@@ -12958,9 +12958,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12958
12958
|
display_value?: string | undefined;
|
|
12959
12959
|
are_pins_interchangeable?: boolean | undefined;
|
|
12960
12960
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12961
|
-
}>, z.ZodObject<
|
|
12961
|
+
}>, z.ZodObject<{
|
|
12962
12962
|
type: z.ZodLiteral<"source_component">;
|
|
12963
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
12964
12963
|
source_component_id: z.ZodString;
|
|
12965
12964
|
name: z.ZodString;
|
|
12966
12965
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -12969,10 +12968,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12969
12968
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
12970
12969
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
12971
12970
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
12972
|
-
}
|
|
12971
|
+
} & {
|
|
12973
12972
|
ftype: z.ZodLiteral<"simple_inductor">;
|
|
12974
12973
|
inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12975
|
-
}
|
|
12974
|
+
}, "strip", z.ZodTypeAny, {
|
|
12976
12975
|
type: "source_component";
|
|
12977
12976
|
name: string;
|
|
12978
12977
|
source_component_id: string;
|
|
@@ -12996,9 +12995,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12996
12995
|
display_value?: string | undefined;
|
|
12997
12996
|
are_pins_interchangeable?: boolean | undefined;
|
|
12998
12997
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
12999
|
-
}>, z.ZodObject<
|
|
12998
|
+
}>, z.ZodObject<{
|
|
13000
12999
|
type: z.ZodLiteral<"source_component">;
|
|
13001
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
13002
13000
|
source_component_id: z.ZodString;
|
|
13003
13001
|
name: z.ZodString;
|
|
13004
13002
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -13007,11 +13005,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13007
13005
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13008
13006
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13009
13007
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13010
|
-
}
|
|
13008
|
+
} & {
|
|
13011
13009
|
ftype: z.ZodLiteral<"simple_pin_header">;
|
|
13012
13010
|
pin_count: z.ZodNumber;
|
|
13013
13011
|
gender: z.ZodDefault<z.ZodOptional<z.ZodEnum<["male", "female"]>>>;
|
|
13014
|
-
}
|
|
13012
|
+
}, "strip", z.ZodTypeAny, {
|
|
13015
13013
|
type: "source_component";
|
|
13016
13014
|
name: string;
|
|
13017
13015
|
source_component_id: string;
|
|
@@ -13037,9 +13035,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13037
13035
|
are_pins_interchangeable?: boolean | undefined;
|
|
13038
13036
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13039
13037
|
gender?: "male" | "female" | undefined;
|
|
13040
|
-
}>, z.ZodObject<
|
|
13038
|
+
}>, z.ZodObject<{
|
|
13041
13039
|
type: z.ZodLiteral<"source_component">;
|
|
13042
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
13043
13040
|
source_component_id: z.ZodString;
|
|
13044
13041
|
name: z.ZodString;
|
|
13045
13042
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -13048,12 +13045,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13048
13045
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13049
13046
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13050
13047
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13051
|
-
}
|
|
13048
|
+
} & {
|
|
13052
13049
|
ftype: z.ZodLiteral<"simple_resonator">;
|
|
13053
13050
|
load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
|
|
13054
13051
|
equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
13055
13052
|
frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13056
|
-
}
|
|
13053
|
+
}, "strip", z.ZodTypeAny, {
|
|
13057
13054
|
type: "source_component";
|
|
13058
13055
|
name: string;
|
|
13059
13056
|
source_component_id: string;
|
|
@@ -13081,9 +13078,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13081
13078
|
are_pins_interchangeable?: boolean | undefined;
|
|
13082
13079
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13083
13080
|
equivalent_series_resistance?: string | number | undefined;
|
|
13084
|
-
}>, z.ZodObject<
|
|
13081
|
+
}>, z.ZodObject<{
|
|
13085
13082
|
type: z.ZodLiteral<"source_component">;
|
|
13086
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
13087
13083
|
source_component_id: z.ZodString;
|
|
13088
13084
|
name: z.ZodString;
|
|
13089
13085
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -13092,9 +13088,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13092
13088
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13093
13089
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13094
13090
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13095
|
-
}
|
|
13091
|
+
} & {
|
|
13096
13092
|
ftype: z.ZodLiteral<"simple_switch">;
|
|
13097
|
-
}
|
|
13093
|
+
}, "strip", z.ZodTypeAny, {
|
|
13098
13094
|
type: "source_component";
|
|
13099
13095
|
name: string;
|
|
13100
13096
|
source_component_id: string;
|
|
@@ -13116,9 +13112,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13116
13112
|
display_value?: string | undefined;
|
|
13117
13113
|
are_pins_interchangeable?: boolean | undefined;
|
|
13118
13114
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13119
|
-
}>, z.ZodObject<
|
|
13115
|
+
}>, z.ZodObject<{
|
|
13120
13116
|
type: z.ZodLiteral<"source_component">;
|
|
13121
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
13122
13117
|
source_component_id: z.ZodString;
|
|
13123
13118
|
name: z.ZodString;
|
|
13124
13119
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -13127,10 +13122,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13127
13122
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13128
13123
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13129
13124
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13130
|
-
}
|
|
13125
|
+
} & {
|
|
13131
13126
|
ftype: z.ZodLiteral<"simple_transistor">;
|
|
13132
13127
|
transistor_type: z.ZodEnum<["npn", "pnp"]>;
|
|
13133
|
-
}
|
|
13128
|
+
}, "strip", z.ZodTypeAny, {
|
|
13134
13129
|
type: "source_component";
|
|
13135
13130
|
name: string;
|
|
13136
13131
|
source_component_id: string;
|
|
@@ -13154,9 +13149,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13154
13149
|
display_value?: string | undefined;
|
|
13155
13150
|
are_pins_interchangeable?: boolean | undefined;
|
|
13156
13151
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13157
|
-
}>, z.ZodObject<
|
|
13152
|
+
}>, z.ZodObject<{
|
|
13158
13153
|
type: z.ZodLiteral<"source_component">;
|
|
13159
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
13160
13154
|
source_component_id: z.ZodString;
|
|
13161
13155
|
name: z.ZodString;
|
|
13162
13156
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -13165,11 +13159,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13165
13159
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13166
13160
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13167
13161
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13168
|
-
}
|
|
13162
|
+
} & {
|
|
13169
13163
|
ftype: z.ZodLiteral<"simple_mosfet">;
|
|
13170
13164
|
channel_type: z.ZodEnum<["n", "p"]>;
|
|
13171
13165
|
mosfet_mode: z.ZodEnum<["enhancement", "depletion"]>;
|
|
13172
|
-
}
|
|
13166
|
+
}, "strip", z.ZodTypeAny, {
|
|
13173
13167
|
type: "source_component";
|
|
13174
13168
|
name: string;
|
|
13175
13169
|
source_component_id: string;
|
|
@@ -13195,9 +13189,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13195
13189
|
display_value?: string | undefined;
|
|
13196
13190
|
are_pins_interchangeable?: boolean | undefined;
|
|
13197
13191
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13198
|
-
}>, z.ZodObject<
|
|
13192
|
+
}>, z.ZodObject<{
|
|
13199
13193
|
type: z.ZodLiteral<"source_component">;
|
|
13200
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
13201
13194
|
source_component_id: z.ZodString;
|
|
13202
13195
|
name: z.ZodString;
|
|
13203
13196
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -13206,10 +13199,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13206
13199
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13207
13200
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13208
13201
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13209
|
-
}
|
|
13202
|
+
} & {
|
|
13210
13203
|
ftype: z.ZodLiteral<"simple_potentiometer">;
|
|
13211
13204
|
max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
13212
|
-
}
|
|
13205
|
+
}, "strip", z.ZodTypeAny, {
|
|
13213
13206
|
type: "source_component";
|
|
13214
13207
|
name: string;
|
|
13215
13208
|
source_component_id: string;
|
|
@@ -13233,9 +13226,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13233
13226
|
display_value?: string | undefined;
|
|
13234
13227
|
are_pins_interchangeable?: boolean | undefined;
|
|
13235
13228
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
13236
|
-
}>, z.ZodObject<
|
|
13229
|
+
}>, z.ZodObject<{
|
|
13237
13230
|
type: z.ZodLiteral<"source_component">;
|
|
13238
|
-
ftype: z.ZodOptional<z.ZodString>;
|
|
13239
13231
|
source_component_id: z.ZodString;
|
|
13240
13232
|
name: z.ZodString;
|
|
13241
13233
|
manufacturer_part_number: z.ZodOptional<z.ZodString>;
|
|
@@ -13244,9 +13236,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
13244
13236
|
are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
|
|
13245
13237
|
internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
13246
13238
|
source_group_id: z.ZodOptional<z.ZodString>;
|
|
13247
|
-
}
|
|
13239
|
+
} & {
|
|
13248
13240
|
ftype: z.ZodLiteral<"simple_push_button">;
|
|
13249
|
-
}
|
|
13241
|
+
}, "strip", z.ZodTypeAny, {
|
|
13250
13242
|
type: "source_component";
|
|
13251
13243
|
name: string;
|
|
13252
13244
|
source_component_id: string;
|
|
@@ -15191,12 +15183,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15191
15183
|
message: string;
|
|
15192
15184
|
type: "pcb_autorouting_error";
|
|
15193
15185
|
pcb_error_id?: string | undefined;
|
|
15194
|
-
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<
|
|
15186
|
+
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
15195
15187
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
15196
15188
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15197
15189
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15198
15190
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15199
|
-
}
|
|
15191
|
+
} & {
|
|
15200
15192
|
shape: z.ZodLiteral<"rect">;
|
|
15201
15193
|
center: z.ZodObject<{
|
|
15202
15194
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15211,7 +15203,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15211
15203
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15212
15204
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15213
15205
|
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15214
|
-
}
|
|
15206
|
+
}, "strip", z.ZodTypeAny, {
|
|
15215
15207
|
type: "pcb_cutout";
|
|
15216
15208
|
width: number;
|
|
15217
15209
|
height: number;
|
|
@@ -15237,12 +15229,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15237
15229
|
subcircuit_id?: string | undefined;
|
|
15238
15230
|
pcb_group_id?: string | undefined;
|
|
15239
15231
|
pcb_cutout_id?: string | undefined;
|
|
15240
|
-
}>, z.ZodObject<
|
|
15232
|
+
}>, z.ZodObject<{
|
|
15241
15233
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
15242
15234
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15243
15235
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15244
15236
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15245
|
-
}
|
|
15237
|
+
} & {
|
|
15246
15238
|
shape: z.ZodLiteral<"circle">;
|
|
15247
15239
|
center: z.ZodObject<{
|
|
15248
15240
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15255,7 +15247,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15255
15247
|
y: string | number;
|
|
15256
15248
|
}>;
|
|
15257
15249
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15258
|
-
}
|
|
15250
|
+
}, "strip", z.ZodTypeAny, {
|
|
15259
15251
|
type: "pcb_cutout";
|
|
15260
15252
|
center: {
|
|
15261
15253
|
x: number;
|
|
@@ -15277,12 +15269,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15277
15269
|
subcircuit_id?: string | undefined;
|
|
15278
15270
|
pcb_group_id?: string | undefined;
|
|
15279
15271
|
pcb_cutout_id?: string | undefined;
|
|
15280
|
-
}>, z.ZodObject<
|
|
15272
|
+
}>, z.ZodObject<{
|
|
15281
15273
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
15282
15274
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15283
15275
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15284
15276
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15285
|
-
}
|
|
15277
|
+
} & {
|
|
15286
15278
|
shape: z.ZodLiteral<"polygon">;
|
|
15287
15279
|
points: z.ZodArray<z.ZodObject<{
|
|
15288
15280
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15294,7 +15286,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15294
15286
|
x: string | number;
|
|
15295
15287
|
y: string | number;
|
|
15296
15288
|
}>, "many">;
|
|
15297
|
-
}
|
|
15289
|
+
}, "strip", z.ZodTypeAny, {
|
|
15298
15290
|
type: "pcb_cutout";
|
|
15299
15291
|
shape: "polygon";
|
|
15300
15292
|
pcb_cutout_id: string;
|
|
@@ -15905,10 +15897,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15905
15897
|
symbol_name?: string | undefined;
|
|
15906
15898
|
schematic_trace_id?: string | undefined;
|
|
15907
15899
|
schematic_net_label_id?: string | undefined;
|
|
15908
|
-
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<
|
|
15900
|
+
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
15909
15901
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
15910
15902
|
label: z.ZodOptional<z.ZodString>;
|
|
15911
|
-
}
|
|
15903
|
+
} & {
|
|
15912
15904
|
shape: z.ZodLiteral<"rect">;
|
|
15913
15905
|
center: z.ZodObject<{
|
|
15914
15906
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15930,7 +15922,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15930
15922
|
width: number;
|
|
15931
15923
|
height: number;
|
|
15932
15924
|
}>;
|
|
15933
|
-
}
|
|
15925
|
+
}, "strip", z.ZodTypeAny, {
|
|
15934
15926
|
type: "schematic_debug_object";
|
|
15935
15927
|
center: {
|
|
15936
15928
|
x: number;
|
|
@@ -15954,10 +15946,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15954
15946
|
height: number;
|
|
15955
15947
|
};
|
|
15956
15948
|
label?: string | undefined;
|
|
15957
|
-
}>, z.ZodObject<
|
|
15949
|
+
}>, z.ZodObject<{
|
|
15958
15950
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
15959
15951
|
label: z.ZodOptional<z.ZodString>;
|
|
15960
|
-
}
|
|
15952
|
+
} & {
|
|
15961
15953
|
shape: z.ZodLiteral<"line">;
|
|
15962
15954
|
start: z.ZodObject<{
|
|
15963
15955
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15979,7 +15971,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15979
15971
|
x: string | number;
|
|
15980
15972
|
y: string | number;
|
|
15981
15973
|
}>;
|
|
15982
|
-
}
|
|
15974
|
+
}, "strip", z.ZodTypeAny, {
|
|
15983
15975
|
type: "schematic_debug_object";
|
|
15984
15976
|
shape: "line";
|
|
15985
15977
|
start: {
|
|
@@ -16003,10 +15995,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16003
15995
|
y: string | number;
|
|
16004
15996
|
};
|
|
16005
15997
|
label?: string | undefined;
|
|
16006
|
-
}>, z.ZodObject<
|
|
15998
|
+
}>, z.ZodObject<{
|
|
16007
15999
|
type: z.ZodLiteral<"schematic_debug_object">;
|
|
16008
16000
|
label: z.ZodOptional<z.ZodString>;
|
|
16009
|
-
}
|
|
16001
|
+
} & {
|
|
16010
16002
|
shape: z.ZodLiteral<"point">;
|
|
16011
16003
|
center: z.ZodObject<{
|
|
16012
16004
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16018,7 +16010,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16018
16010
|
x: string | number;
|
|
16019
16011
|
y: string | number;
|
|
16020
16012
|
}>;
|
|
16021
|
-
}
|
|
16013
|
+
}, "strip", z.ZodTypeAny, {
|
|
16022
16014
|
type: "schematic_debug_object";
|
|
16023
16015
|
center: {
|
|
16024
16016
|
x: number;
|