circuit-json 0.0.179 → 0.0.180
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 +22 -0
- package/dist/index.d.mts +550 -10
- package/dist/index.mjs +81 -42
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3003,6 +3003,300 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
3003
3003
|
type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
3004
3004
|
type PCBKeepout = z.infer<typeof pcb_keepout>;
|
|
3005
3005
|
|
|
3006
|
+
declare const pcb_cutout_rect: z.ZodObject<z.objectUtil.extendShape<{
|
|
3007
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
3008
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3009
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3011
|
+
}, {
|
|
3012
|
+
shape: z.ZodLiteral<"rect">;
|
|
3013
|
+
center: z.ZodObject<{
|
|
3014
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3015
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3016
|
+
}, "strip", z.ZodTypeAny, {
|
|
3017
|
+
x: number;
|
|
3018
|
+
y: number;
|
|
3019
|
+
}, {
|
|
3020
|
+
x: string | number;
|
|
3021
|
+
y: string | number;
|
|
3022
|
+
}>;
|
|
3023
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3024
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3025
|
+
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3026
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3027
|
+
type: "pcb_cutout";
|
|
3028
|
+
width: number;
|
|
3029
|
+
height: number;
|
|
3030
|
+
center: {
|
|
3031
|
+
x: number;
|
|
3032
|
+
y: number;
|
|
3033
|
+
};
|
|
3034
|
+
shape: "rect";
|
|
3035
|
+
pcb_cutout_id: string;
|
|
3036
|
+
rotation?: number | undefined;
|
|
3037
|
+
subcircuit_id?: string | undefined;
|
|
3038
|
+
pcb_group_id?: string | undefined;
|
|
3039
|
+
}, {
|
|
3040
|
+
type: "pcb_cutout";
|
|
3041
|
+
width: string | number;
|
|
3042
|
+
height: string | number;
|
|
3043
|
+
center: {
|
|
3044
|
+
x: string | number;
|
|
3045
|
+
y: string | number;
|
|
3046
|
+
};
|
|
3047
|
+
shape: "rect";
|
|
3048
|
+
rotation?: string | number | undefined;
|
|
3049
|
+
subcircuit_id?: string | undefined;
|
|
3050
|
+
pcb_group_id?: string | undefined;
|
|
3051
|
+
pcb_cutout_id?: string | undefined;
|
|
3052
|
+
}>;
|
|
3053
|
+
type PcbCutoutRectInput = z.input<typeof pcb_cutout_rect>;
|
|
3054
|
+
/**
|
|
3055
|
+
* Defines a rectangular cutout on the PCB.
|
|
3056
|
+
*/
|
|
3057
|
+
interface PcbCutoutRect {
|
|
3058
|
+
type: "pcb_cutout";
|
|
3059
|
+
pcb_cutout_id: string;
|
|
3060
|
+
pcb_group_id?: string;
|
|
3061
|
+
subcircuit_id?: string;
|
|
3062
|
+
shape: "rect";
|
|
3063
|
+
center: Point;
|
|
3064
|
+
width: Length;
|
|
3065
|
+
height: Length;
|
|
3066
|
+
rotation?: Rotation;
|
|
3067
|
+
}
|
|
3068
|
+
declare const pcb_cutout_circle: z.ZodObject<z.objectUtil.extendShape<{
|
|
3069
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
3070
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3071
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3072
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3073
|
+
}, {
|
|
3074
|
+
shape: z.ZodLiteral<"circle">;
|
|
3075
|
+
center: z.ZodObject<{
|
|
3076
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3077
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3078
|
+
}, "strip", z.ZodTypeAny, {
|
|
3079
|
+
x: number;
|
|
3080
|
+
y: number;
|
|
3081
|
+
}, {
|
|
3082
|
+
x: string | number;
|
|
3083
|
+
y: string | number;
|
|
3084
|
+
}>;
|
|
3085
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3086
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3087
|
+
type: "pcb_cutout";
|
|
3088
|
+
center: {
|
|
3089
|
+
x: number;
|
|
3090
|
+
y: number;
|
|
3091
|
+
};
|
|
3092
|
+
shape: "circle";
|
|
3093
|
+
radius: number;
|
|
3094
|
+
pcb_cutout_id: string;
|
|
3095
|
+
subcircuit_id?: string | undefined;
|
|
3096
|
+
pcb_group_id?: string | undefined;
|
|
3097
|
+
}, {
|
|
3098
|
+
type: "pcb_cutout";
|
|
3099
|
+
center: {
|
|
3100
|
+
x: string | number;
|
|
3101
|
+
y: string | number;
|
|
3102
|
+
};
|
|
3103
|
+
shape: "circle";
|
|
3104
|
+
radius: string | number;
|
|
3105
|
+
subcircuit_id?: string | undefined;
|
|
3106
|
+
pcb_group_id?: string | undefined;
|
|
3107
|
+
pcb_cutout_id?: string | undefined;
|
|
3108
|
+
}>;
|
|
3109
|
+
type PcbCutoutCircleInput = z.input<typeof pcb_cutout_circle>;
|
|
3110
|
+
/**
|
|
3111
|
+
* Defines a circular cutout on the PCB.
|
|
3112
|
+
*/
|
|
3113
|
+
interface PcbCutoutCircle {
|
|
3114
|
+
type: "pcb_cutout";
|
|
3115
|
+
pcb_cutout_id: string;
|
|
3116
|
+
pcb_group_id?: string;
|
|
3117
|
+
subcircuit_id?: string;
|
|
3118
|
+
shape: "circle";
|
|
3119
|
+
center: Point;
|
|
3120
|
+
radius: Length;
|
|
3121
|
+
}
|
|
3122
|
+
declare const pcb_cutout_polygon: z.ZodObject<z.objectUtil.extendShape<{
|
|
3123
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
3124
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3125
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3126
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3127
|
+
}, {
|
|
3128
|
+
shape: z.ZodLiteral<"polygon">;
|
|
3129
|
+
points: z.ZodArray<z.ZodObject<{
|
|
3130
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3131
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3132
|
+
}, "strip", z.ZodTypeAny, {
|
|
3133
|
+
x: number;
|
|
3134
|
+
y: number;
|
|
3135
|
+
}, {
|
|
3136
|
+
x: string | number;
|
|
3137
|
+
y: string | number;
|
|
3138
|
+
}>, "many">;
|
|
3139
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3140
|
+
type: "pcb_cutout";
|
|
3141
|
+
shape: "polygon";
|
|
3142
|
+
pcb_cutout_id: string;
|
|
3143
|
+
points: {
|
|
3144
|
+
x: number;
|
|
3145
|
+
y: number;
|
|
3146
|
+
}[];
|
|
3147
|
+
subcircuit_id?: string | undefined;
|
|
3148
|
+
pcb_group_id?: string | undefined;
|
|
3149
|
+
}, {
|
|
3150
|
+
type: "pcb_cutout";
|
|
3151
|
+
shape: "polygon";
|
|
3152
|
+
points: {
|
|
3153
|
+
x: string | number;
|
|
3154
|
+
y: string | number;
|
|
3155
|
+
}[];
|
|
3156
|
+
subcircuit_id?: string | undefined;
|
|
3157
|
+
pcb_group_id?: string | undefined;
|
|
3158
|
+
pcb_cutout_id?: string | undefined;
|
|
3159
|
+
}>;
|
|
3160
|
+
type PcbCutoutPolygonInput = z.input<typeof pcb_cutout_polygon>;
|
|
3161
|
+
/**
|
|
3162
|
+
* Defines a polygonal cutout on the PCB, specified by a list of points.
|
|
3163
|
+
* The polygon should be closed (the last point implicitly connects to the first).
|
|
3164
|
+
*/
|
|
3165
|
+
interface PcbCutoutPolygon {
|
|
3166
|
+
type: "pcb_cutout";
|
|
3167
|
+
pcb_cutout_id: string;
|
|
3168
|
+
pcb_group_id?: string;
|
|
3169
|
+
subcircuit_id?: string;
|
|
3170
|
+
shape: "polygon";
|
|
3171
|
+
points: Point[];
|
|
3172
|
+
}
|
|
3173
|
+
declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
|
|
3174
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
3175
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3176
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3177
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3178
|
+
}, {
|
|
3179
|
+
shape: z.ZodLiteral<"rect">;
|
|
3180
|
+
center: z.ZodObject<{
|
|
3181
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3182
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3183
|
+
}, "strip", z.ZodTypeAny, {
|
|
3184
|
+
x: number;
|
|
3185
|
+
y: number;
|
|
3186
|
+
}, {
|
|
3187
|
+
x: string | number;
|
|
3188
|
+
y: string | number;
|
|
3189
|
+
}>;
|
|
3190
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3191
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3192
|
+
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3193
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3194
|
+
type: "pcb_cutout";
|
|
3195
|
+
width: number;
|
|
3196
|
+
height: number;
|
|
3197
|
+
center: {
|
|
3198
|
+
x: number;
|
|
3199
|
+
y: number;
|
|
3200
|
+
};
|
|
3201
|
+
shape: "rect";
|
|
3202
|
+
pcb_cutout_id: string;
|
|
3203
|
+
rotation?: number | undefined;
|
|
3204
|
+
subcircuit_id?: string | undefined;
|
|
3205
|
+
pcb_group_id?: string | undefined;
|
|
3206
|
+
}, {
|
|
3207
|
+
type: "pcb_cutout";
|
|
3208
|
+
width: string | number;
|
|
3209
|
+
height: string | number;
|
|
3210
|
+
center: {
|
|
3211
|
+
x: string | number;
|
|
3212
|
+
y: string | number;
|
|
3213
|
+
};
|
|
3214
|
+
shape: "rect";
|
|
3215
|
+
rotation?: string | number | undefined;
|
|
3216
|
+
subcircuit_id?: string | undefined;
|
|
3217
|
+
pcb_group_id?: string | undefined;
|
|
3218
|
+
pcb_cutout_id?: string | undefined;
|
|
3219
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3220
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
3221
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3222
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3223
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3224
|
+
}, {
|
|
3225
|
+
shape: z.ZodLiteral<"circle">;
|
|
3226
|
+
center: z.ZodObject<{
|
|
3227
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3228
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3229
|
+
}, "strip", z.ZodTypeAny, {
|
|
3230
|
+
x: number;
|
|
3231
|
+
y: number;
|
|
3232
|
+
}, {
|
|
3233
|
+
x: string | number;
|
|
3234
|
+
y: string | number;
|
|
3235
|
+
}>;
|
|
3236
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3237
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3238
|
+
type: "pcb_cutout";
|
|
3239
|
+
center: {
|
|
3240
|
+
x: number;
|
|
3241
|
+
y: number;
|
|
3242
|
+
};
|
|
3243
|
+
shape: "circle";
|
|
3244
|
+
radius: number;
|
|
3245
|
+
pcb_cutout_id: string;
|
|
3246
|
+
subcircuit_id?: string | undefined;
|
|
3247
|
+
pcb_group_id?: string | undefined;
|
|
3248
|
+
}, {
|
|
3249
|
+
type: "pcb_cutout";
|
|
3250
|
+
center: {
|
|
3251
|
+
x: string | number;
|
|
3252
|
+
y: string | number;
|
|
3253
|
+
};
|
|
3254
|
+
shape: "circle";
|
|
3255
|
+
radius: string | number;
|
|
3256
|
+
subcircuit_id?: string | undefined;
|
|
3257
|
+
pcb_group_id?: string | undefined;
|
|
3258
|
+
pcb_cutout_id?: string | undefined;
|
|
3259
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
3260
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
3261
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3262
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3263
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3264
|
+
}, {
|
|
3265
|
+
shape: z.ZodLiteral<"polygon">;
|
|
3266
|
+
points: z.ZodArray<z.ZodObject<{
|
|
3267
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3268
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3269
|
+
}, "strip", z.ZodTypeAny, {
|
|
3270
|
+
x: number;
|
|
3271
|
+
y: number;
|
|
3272
|
+
}, {
|
|
3273
|
+
x: string | number;
|
|
3274
|
+
y: string | number;
|
|
3275
|
+
}>, "many">;
|
|
3276
|
+
}>, "strip", z.ZodTypeAny, {
|
|
3277
|
+
type: "pcb_cutout";
|
|
3278
|
+
shape: "polygon";
|
|
3279
|
+
pcb_cutout_id: string;
|
|
3280
|
+
points: {
|
|
3281
|
+
x: number;
|
|
3282
|
+
y: number;
|
|
3283
|
+
}[];
|
|
3284
|
+
subcircuit_id?: string | undefined;
|
|
3285
|
+
pcb_group_id?: string | undefined;
|
|
3286
|
+
}, {
|
|
3287
|
+
type: "pcb_cutout";
|
|
3288
|
+
shape: "polygon";
|
|
3289
|
+
points: {
|
|
3290
|
+
x: string | number;
|
|
3291
|
+
y: string | number;
|
|
3292
|
+
}[];
|
|
3293
|
+
subcircuit_id?: string | undefined;
|
|
3294
|
+
pcb_group_id?: string | undefined;
|
|
3295
|
+
pcb_cutout_id?: string | undefined;
|
|
3296
|
+
}>]>;
|
|
3297
|
+
type PcbCutoutInput = z.input<typeof pcb_cutout>;
|
|
3298
|
+
type PcbCutout = PcbCutoutRect | PcbCutoutCircle | PcbCutoutPolygon;
|
|
3299
|
+
|
|
3006
3300
|
declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
3007
3301
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
3008
3302
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -3176,7 +3470,7 @@ interface PcbManualEditConflictWarning {
|
|
|
3176
3470
|
source_component_id: string;
|
|
3177
3471
|
}
|
|
3178
3472
|
|
|
3179
|
-
type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError;
|
|
3473
|
+
type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbCutout;
|
|
3180
3474
|
|
|
3181
3475
|
interface SchematicBox {
|
|
3182
3476
|
type: "schematic_box";
|
|
@@ -3234,20 +3528,20 @@ declare const schematic_path: z.ZodObject<{
|
|
|
3234
3528
|
}>, "many">;
|
|
3235
3529
|
}, "strip", z.ZodTypeAny, {
|
|
3236
3530
|
type: "schematic_path";
|
|
3237
|
-
schematic_component_id: string;
|
|
3238
3531
|
points: {
|
|
3239
3532
|
x: number;
|
|
3240
3533
|
y: number;
|
|
3241
3534
|
}[];
|
|
3535
|
+
schematic_component_id: string;
|
|
3242
3536
|
fill_color?: "red" | "blue" | undefined;
|
|
3243
3537
|
is_filled?: boolean | undefined;
|
|
3244
3538
|
}, {
|
|
3245
3539
|
type: "schematic_path";
|
|
3246
|
-
schematic_component_id: string;
|
|
3247
3540
|
points: {
|
|
3248
3541
|
x: string | number;
|
|
3249
3542
|
y: string | number;
|
|
3250
3543
|
}[];
|
|
3544
|
+
schematic_component_id: string;
|
|
3251
3545
|
fill_color?: "red" | "blue" | undefined;
|
|
3252
3546
|
is_filled?: boolean | undefined;
|
|
3253
3547
|
}>;
|
|
@@ -9875,7 +10169,130 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9875
10169
|
message: string;
|
|
9876
10170
|
type: "pcb_autorouting_error";
|
|
9877
10171
|
pcb_error_id?: string | undefined;
|
|
9878
|
-
}>, z.ZodObject<{
|
|
10172
|
+
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
|
|
10173
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
10174
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10175
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10176
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10177
|
+
}, {
|
|
10178
|
+
shape: z.ZodLiteral<"rect">;
|
|
10179
|
+
center: z.ZodObject<{
|
|
10180
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10181
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10182
|
+
}, "strip", z.ZodTypeAny, {
|
|
10183
|
+
x: number;
|
|
10184
|
+
y: number;
|
|
10185
|
+
}, {
|
|
10186
|
+
x: string | number;
|
|
10187
|
+
y: string | number;
|
|
10188
|
+
}>;
|
|
10189
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10190
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10191
|
+
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10192
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10193
|
+
type: "pcb_cutout";
|
|
10194
|
+
width: number;
|
|
10195
|
+
height: number;
|
|
10196
|
+
center: {
|
|
10197
|
+
x: number;
|
|
10198
|
+
y: number;
|
|
10199
|
+
};
|
|
10200
|
+
shape: "rect";
|
|
10201
|
+
pcb_cutout_id: string;
|
|
10202
|
+
rotation?: number | undefined;
|
|
10203
|
+
subcircuit_id?: string | undefined;
|
|
10204
|
+
pcb_group_id?: string | undefined;
|
|
10205
|
+
}, {
|
|
10206
|
+
type: "pcb_cutout";
|
|
10207
|
+
width: string | number;
|
|
10208
|
+
height: string | number;
|
|
10209
|
+
center: {
|
|
10210
|
+
x: string | number;
|
|
10211
|
+
y: string | number;
|
|
10212
|
+
};
|
|
10213
|
+
shape: "rect";
|
|
10214
|
+
rotation?: string | number | undefined;
|
|
10215
|
+
subcircuit_id?: string | undefined;
|
|
10216
|
+
pcb_group_id?: string | undefined;
|
|
10217
|
+
pcb_cutout_id?: string | undefined;
|
|
10218
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
10219
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
10220
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10221
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10222
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10223
|
+
}, {
|
|
10224
|
+
shape: z.ZodLiteral<"circle">;
|
|
10225
|
+
center: z.ZodObject<{
|
|
10226
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10227
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10228
|
+
}, "strip", z.ZodTypeAny, {
|
|
10229
|
+
x: number;
|
|
10230
|
+
y: number;
|
|
10231
|
+
}, {
|
|
10232
|
+
x: string | number;
|
|
10233
|
+
y: string | number;
|
|
10234
|
+
}>;
|
|
10235
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10236
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10237
|
+
type: "pcb_cutout";
|
|
10238
|
+
center: {
|
|
10239
|
+
x: number;
|
|
10240
|
+
y: number;
|
|
10241
|
+
};
|
|
10242
|
+
shape: "circle";
|
|
10243
|
+
radius: number;
|
|
10244
|
+
pcb_cutout_id: string;
|
|
10245
|
+
subcircuit_id?: string | undefined;
|
|
10246
|
+
pcb_group_id?: string | undefined;
|
|
10247
|
+
}, {
|
|
10248
|
+
type: "pcb_cutout";
|
|
10249
|
+
center: {
|
|
10250
|
+
x: string | number;
|
|
10251
|
+
y: string | number;
|
|
10252
|
+
};
|
|
10253
|
+
shape: "circle";
|
|
10254
|
+
radius: string | number;
|
|
10255
|
+
subcircuit_id?: string | undefined;
|
|
10256
|
+
pcb_group_id?: string | undefined;
|
|
10257
|
+
pcb_cutout_id?: string | undefined;
|
|
10258
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
10259
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
10260
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10261
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10262
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10263
|
+
}, {
|
|
10264
|
+
shape: z.ZodLiteral<"polygon">;
|
|
10265
|
+
points: z.ZodArray<z.ZodObject<{
|
|
10266
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10267
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10268
|
+
}, "strip", z.ZodTypeAny, {
|
|
10269
|
+
x: number;
|
|
10270
|
+
y: number;
|
|
10271
|
+
}, {
|
|
10272
|
+
x: string | number;
|
|
10273
|
+
y: string | number;
|
|
10274
|
+
}>, "many">;
|
|
10275
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10276
|
+
type: "pcb_cutout";
|
|
10277
|
+
shape: "polygon";
|
|
10278
|
+
pcb_cutout_id: string;
|
|
10279
|
+
points: {
|
|
10280
|
+
x: number;
|
|
10281
|
+
y: number;
|
|
10282
|
+
}[];
|
|
10283
|
+
subcircuit_id?: string | undefined;
|
|
10284
|
+
pcb_group_id?: string | undefined;
|
|
10285
|
+
}, {
|
|
10286
|
+
type: "pcb_cutout";
|
|
10287
|
+
shape: "polygon";
|
|
10288
|
+
points: {
|
|
10289
|
+
x: string | number;
|
|
10290
|
+
y: string | number;
|
|
10291
|
+
}[];
|
|
10292
|
+
subcircuit_id?: string | undefined;
|
|
10293
|
+
pcb_group_id?: string | undefined;
|
|
10294
|
+
pcb_cutout_id?: string | undefined;
|
|
10295
|
+
}>]>, z.ZodObject<{
|
|
9879
10296
|
type: z.ZodLiteral<"schematic_box">;
|
|
9880
10297
|
schematic_component_id: z.ZodString;
|
|
9881
10298
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10363,20 +10780,20 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10363
10780
|
}>, "many">;
|
|
10364
10781
|
}, "strip", z.ZodTypeAny, {
|
|
10365
10782
|
type: "schematic_path";
|
|
10366
|
-
schematic_component_id: string;
|
|
10367
10783
|
points: {
|
|
10368
10784
|
x: number;
|
|
10369
10785
|
y: number;
|
|
10370
10786
|
}[];
|
|
10787
|
+
schematic_component_id: string;
|
|
10371
10788
|
fill_color?: "red" | "blue" | undefined;
|
|
10372
10789
|
is_filled?: boolean | undefined;
|
|
10373
10790
|
}, {
|
|
10374
10791
|
type: "schematic_path";
|
|
10375
|
-
schematic_component_id: string;
|
|
10376
10792
|
points: {
|
|
10377
10793
|
x: string | number;
|
|
10378
10794
|
y: string | number;
|
|
10379
10795
|
}[];
|
|
10796
|
+
schematic_component_id: string;
|
|
10380
10797
|
fill_color?: "red" | "blue" | undefined;
|
|
10381
10798
|
is_filled?: boolean | undefined;
|
|
10382
10799
|
}>, z.ZodObject<{
|
|
@@ -14128,7 +14545,130 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14128
14545
|
message: string;
|
|
14129
14546
|
type: "pcb_autorouting_error";
|
|
14130
14547
|
pcb_error_id?: string | undefined;
|
|
14131
|
-
}>, z.ZodObject<{
|
|
14548
|
+
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
|
|
14549
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
14550
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14551
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
14552
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14553
|
+
}, {
|
|
14554
|
+
shape: z.ZodLiteral<"rect">;
|
|
14555
|
+
center: z.ZodObject<{
|
|
14556
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14557
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14558
|
+
}, "strip", z.ZodTypeAny, {
|
|
14559
|
+
x: number;
|
|
14560
|
+
y: number;
|
|
14561
|
+
}, {
|
|
14562
|
+
x: string | number;
|
|
14563
|
+
y: string | number;
|
|
14564
|
+
}>;
|
|
14565
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14566
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14567
|
+
rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
14568
|
+
}>, "strip", z.ZodTypeAny, {
|
|
14569
|
+
type: "pcb_cutout";
|
|
14570
|
+
width: number;
|
|
14571
|
+
height: number;
|
|
14572
|
+
center: {
|
|
14573
|
+
x: number;
|
|
14574
|
+
y: number;
|
|
14575
|
+
};
|
|
14576
|
+
shape: "rect";
|
|
14577
|
+
pcb_cutout_id: string;
|
|
14578
|
+
rotation?: number | undefined;
|
|
14579
|
+
subcircuit_id?: string | undefined;
|
|
14580
|
+
pcb_group_id?: string | undefined;
|
|
14581
|
+
}, {
|
|
14582
|
+
type: "pcb_cutout";
|
|
14583
|
+
width: string | number;
|
|
14584
|
+
height: string | number;
|
|
14585
|
+
center: {
|
|
14586
|
+
x: string | number;
|
|
14587
|
+
y: string | number;
|
|
14588
|
+
};
|
|
14589
|
+
shape: "rect";
|
|
14590
|
+
rotation?: string | number | undefined;
|
|
14591
|
+
subcircuit_id?: string | undefined;
|
|
14592
|
+
pcb_group_id?: string | undefined;
|
|
14593
|
+
pcb_cutout_id?: string | undefined;
|
|
14594
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
14595
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
14596
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14597
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
14598
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14599
|
+
}, {
|
|
14600
|
+
shape: z.ZodLiteral<"circle">;
|
|
14601
|
+
center: z.ZodObject<{
|
|
14602
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14603
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14604
|
+
}, "strip", z.ZodTypeAny, {
|
|
14605
|
+
x: number;
|
|
14606
|
+
y: number;
|
|
14607
|
+
}, {
|
|
14608
|
+
x: string | number;
|
|
14609
|
+
y: string | number;
|
|
14610
|
+
}>;
|
|
14611
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14612
|
+
}>, "strip", z.ZodTypeAny, {
|
|
14613
|
+
type: "pcb_cutout";
|
|
14614
|
+
center: {
|
|
14615
|
+
x: number;
|
|
14616
|
+
y: number;
|
|
14617
|
+
};
|
|
14618
|
+
shape: "circle";
|
|
14619
|
+
radius: number;
|
|
14620
|
+
pcb_cutout_id: string;
|
|
14621
|
+
subcircuit_id?: string | undefined;
|
|
14622
|
+
pcb_group_id?: string | undefined;
|
|
14623
|
+
}, {
|
|
14624
|
+
type: "pcb_cutout";
|
|
14625
|
+
center: {
|
|
14626
|
+
x: string | number;
|
|
14627
|
+
y: string | number;
|
|
14628
|
+
};
|
|
14629
|
+
shape: "circle";
|
|
14630
|
+
radius: string | number;
|
|
14631
|
+
subcircuit_id?: string | undefined;
|
|
14632
|
+
pcb_group_id?: string | undefined;
|
|
14633
|
+
pcb_cutout_id?: string | undefined;
|
|
14634
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
14635
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
14636
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
14637
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
14638
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
14639
|
+
}, {
|
|
14640
|
+
shape: z.ZodLiteral<"polygon">;
|
|
14641
|
+
points: z.ZodArray<z.ZodObject<{
|
|
14642
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14643
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14644
|
+
}, "strip", z.ZodTypeAny, {
|
|
14645
|
+
x: number;
|
|
14646
|
+
y: number;
|
|
14647
|
+
}, {
|
|
14648
|
+
x: string | number;
|
|
14649
|
+
y: string | number;
|
|
14650
|
+
}>, "many">;
|
|
14651
|
+
}>, "strip", z.ZodTypeAny, {
|
|
14652
|
+
type: "pcb_cutout";
|
|
14653
|
+
shape: "polygon";
|
|
14654
|
+
pcb_cutout_id: string;
|
|
14655
|
+
points: {
|
|
14656
|
+
x: number;
|
|
14657
|
+
y: number;
|
|
14658
|
+
}[];
|
|
14659
|
+
subcircuit_id?: string | undefined;
|
|
14660
|
+
pcb_group_id?: string | undefined;
|
|
14661
|
+
}, {
|
|
14662
|
+
type: "pcb_cutout";
|
|
14663
|
+
shape: "polygon";
|
|
14664
|
+
points: {
|
|
14665
|
+
x: string | number;
|
|
14666
|
+
y: string | number;
|
|
14667
|
+
}[];
|
|
14668
|
+
subcircuit_id?: string | undefined;
|
|
14669
|
+
pcb_group_id?: string | undefined;
|
|
14670
|
+
pcb_cutout_id?: string | undefined;
|
|
14671
|
+
}>]>, z.ZodObject<{
|
|
14132
14672
|
type: z.ZodLiteral<"schematic_box">;
|
|
14133
14673
|
schematic_component_id: z.ZodString;
|
|
14134
14674
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -14616,20 +15156,20 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14616
15156
|
}>, "many">;
|
|
14617
15157
|
}, "strip", z.ZodTypeAny, {
|
|
14618
15158
|
type: "schematic_path";
|
|
14619
|
-
schematic_component_id: string;
|
|
14620
15159
|
points: {
|
|
14621
15160
|
x: number;
|
|
14622
15161
|
y: number;
|
|
14623
15162
|
}[];
|
|
15163
|
+
schematic_component_id: string;
|
|
14624
15164
|
fill_color?: "red" | "blue" | undefined;
|
|
14625
15165
|
is_filled?: boolean | undefined;
|
|
14626
15166
|
}, {
|
|
14627
15167
|
type: "schematic_path";
|
|
14628
|
-
schematic_component_id: string;
|
|
14629
15168
|
points: {
|
|
14630
15169
|
x: string | number;
|
|
14631
15170
|
y: string | number;
|
|
14632
15171
|
}[];
|
|
15172
|
+
schematic_component_id: string;
|
|
14633
15173
|
fill_color?: "red" | "blue" | undefined;
|
|
14634
15174
|
is_filled?: boolean | undefined;
|
|
14635
15175
|
}>, z.ZodObject<{
|
|
@@ -15067,4 +15607,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
15067
15607
|
*/
|
|
15068
15608
|
type CircuitJson = AnyCircuitElement[];
|
|
15069
15609
|
|
|
15070
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_led, source_missing_property_error, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
|
|
15610
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_led, source_missing_property_error, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
|