circuit-json 0.0.276 → 0.0.277
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 +126 -0
- package/dist/index.d.mts +893 -23
- package/dist/index.mjs +339 -243
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3938,6 +3938,360 @@ interface PcbFabricationNoteRect {
|
|
|
3938
3938
|
*/
|
|
3939
3939
|
type PCBFabricationNoteRect = PcbFabricationNoteRect;
|
|
3940
3940
|
|
|
3941
|
+
declare const pcb_note_text: z.ZodObject<{
|
|
3942
|
+
type: z.ZodLiteral<"pcb_note_text">;
|
|
3943
|
+
pcb_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3944
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3946
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3947
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
3948
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
3949
|
+
text: z.ZodString;
|
|
3950
|
+
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
3951
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3952
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3953
|
+
}, "strip", z.ZodTypeAny, {
|
|
3954
|
+
x: number;
|
|
3955
|
+
y: number;
|
|
3956
|
+
}, {
|
|
3957
|
+
x: string | number;
|
|
3958
|
+
y: string | number;
|
|
3959
|
+
}>>;
|
|
3960
|
+
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
3961
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3962
|
+
}, "strip", z.ZodTypeAny, {
|
|
3963
|
+
type: "pcb_note_text";
|
|
3964
|
+
text: string;
|
|
3965
|
+
font: "tscircuit2024";
|
|
3966
|
+
font_size: number;
|
|
3967
|
+
anchor_position: {
|
|
3968
|
+
x: number;
|
|
3969
|
+
y: number;
|
|
3970
|
+
};
|
|
3971
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
3972
|
+
pcb_note_text_id: string;
|
|
3973
|
+
pcb_component_id?: string | undefined;
|
|
3974
|
+
subcircuit_id?: string | undefined;
|
|
3975
|
+
pcb_group_id?: string | undefined;
|
|
3976
|
+
color?: string | undefined;
|
|
3977
|
+
}, {
|
|
3978
|
+
type: "pcb_note_text";
|
|
3979
|
+
text: string;
|
|
3980
|
+
pcb_component_id?: string | undefined;
|
|
3981
|
+
subcircuit_id?: string | undefined;
|
|
3982
|
+
pcb_group_id?: string | undefined;
|
|
3983
|
+
font?: "tscircuit2024" | undefined;
|
|
3984
|
+
font_size?: string | number | undefined;
|
|
3985
|
+
anchor_position?: {
|
|
3986
|
+
x: string | number;
|
|
3987
|
+
y: string | number;
|
|
3988
|
+
} | undefined;
|
|
3989
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
3990
|
+
color?: string | undefined;
|
|
3991
|
+
pcb_note_text_id?: string | undefined;
|
|
3992
|
+
}>;
|
|
3993
|
+
type PcbNoteTextInput = z.input<typeof pcb_note_text>;
|
|
3994
|
+
/**
|
|
3995
|
+
* Defines a documentation note in text on the PCB
|
|
3996
|
+
*/
|
|
3997
|
+
interface PcbNoteText {
|
|
3998
|
+
type: "pcb_note_text";
|
|
3999
|
+
pcb_note_text_id: string;
|
|
4000
|
+
pcb_component_id?: string;
|
|
4001
|
+
pcb_group_id?: string;
|
|
4002
|
+
subcircuit_id?: string;
|
|
4003
|
+
font: "tscircuit2024";
|
|
4004
|
+
font_size: Length;
|
|
4005
|
+
text: string;
|
|
4006
|
+
anchor_position: Point;
|
|
4007
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
4008
|
+
color?: string;
|
|
4009
|
+
}
|
|
4010
|
+
|
|
4011
|
+
declare const pcb_note_rect: z.ZodObject<{
|
|
4012
|
+
type: z.ZodLiteral<"pcb_note_rect">;
|
|
4013
|
+
pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4014
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4015
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4016
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4017
|
+
center: z.ZodObject<{
|
|
4018
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4019
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4020
|
+
}, "strip", z.ZodTypeAny, {
|
|
4021
|
+
x: number;
|
|
4022
|
+
y: number;
|
|
4023
|
+
}, {
|
|
4024
|
+
x: string | number;
|
|
4025
|
+
y: string | number;
|
|
4026
|
+
}>;
|
|
4027
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4028
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4029
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4030
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
4031
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
4032
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
4033
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4034
|
+
}, "strip", z.ZodTypeAny, {
|
|
4035
|
+
type: "pcb_note_rect";
|
|
4036
|
+
width: number;
|
|
4037
|
+
height: number;
|
|
4038
|
+
center: {
|
|
4039
|
+
x: number;
|
|
4040
|
+
y: number;
|
|
4041
|
+
};
|
|
4042
|
+
stroke_width: number;
|
|
4043
|
+
pcb_note_rect_id: string;
|
|
4044
|
+
pcb_component_id?: string | undefined;
|
|
4045
|
+
subcircuit_id?: string | undefined;
|
|
4046
|
+
pcb_group_id?: string | undefined;
|
|
4047
|
+
is_filled?: boolean | undefined;
|
|
4048
|
+
has_stroke?: boolean | undefined;
|
|
4049
|
+
is_stroke_dashed?: boolean | undefined;
|
|
4050
|
+
color?: string | undefined;
|
|
4051
|
+
}, {
|
|
4052
|
+
type: "pcb_note_rect";
|
|
4053
|
+
width: string | number;
|
|
4054
|
+
height: string | number;
|
|
4055
|
+
center: {
|
|
4056
|
+
x: string | number;
|
|
4057
|
+
y: string | number;
|
|
4058
|
+
};
|
|
4059
|
+
pcb_component_id?: string | undefined;
|
|
4060
|
+
subcircuit_id?: string | undefined;
|
|
4061
|
+
pcb_group_id?: string | undefined;
|
|
4062
|
+
stroke_width?: string | number | undefined;
|
|
4063
|
+
is_filled?: boolean | undefined;
|
|
4064
|
+
has_stroke?: boolean | undefined;
|
|
4065
|
+
is_stroke_dashed?: boolean | undefined;
|
|
4066
|
+
color?: string | undefined;
|
|
4067
|
+
pcb_note_rect_id?: string | undefined;
|
|
4068
|
+
}>;
|
|
4069
|
+
type PcbNoteRectInput = z.input<typeof pcb_note_rect>;
|
|
4070
|
+
/**
|
|
4071
|
+
* Defines a rectangular documentation note on the PCB
|
|
4072
|
+
*/
|
|
4073
|
+
interface PcbNoteRect {
|
|
4074
|
+
type: "pcb_note_rect";
|
|
4075
|
+
pcb_note_rect_id: string;
|
|
4076
|
+
pcb_component_id?: string;
|
|
4077
|
+
pcb_group_id?: string;
|
|
4078
|
+
subcircuit_id?: string;
|
|
4079
|
+
center: Point;
|
|
4080
|
+
width: Length;
|
|
4081
|
+
height: Length;
|
|
4082
|
+
stroke_width: Length;
|
|
4083
|
+
is_filled?: boolean;
|
|
4084
|
+
has_stroke?: boolean;
|
|
4085
|
+
is_stroke_dashed?: boolean;
|
|
4086
|
+
color?: string;
|
|
4087
|
+
}
|
|
4088
|
+
|
|
4089
|
+
declare const pcb_note_path: z.ZodObject<{
|
|
4090
|
+
type: z.ZodLiteral<"pcb_note_path">;
|
|
4091
|
+
pcb_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4092
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4093
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4094
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4095
|
+
route: z.ZodArray<z.ZodObject<{
|
|
4096
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4097
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4098
|
+
}, "strip", z.ZodTypeAny, {
|
|
4099
|
+
x: number;
|
|
4100
|
+
y: number;
|
|
4101
|
+
}, {
|
|
4102
|
+
x: string | number;
|
|
4103
|
+
y: string | number;
|
|
4104
|
+
}>, "many">;
|
|
4105
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4106
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4107
|
+
}, "strip", z.ZodTypeAny, {
|
|
4108
|
+
type: "pcb_note_path";
|
|
4109
|
+
route: {
|
|
4110
|
+
x: number;
|
|
4111
|
+
y: number;
|
|
4112
|
+
}[];
|
|
4113
|
+
stroke_width: number;
|
|
4114
|
+
pcb_note_path_id: string;
|
|
4115
|
+
pcb_component_id?: string | undefined;
|
|
4116
|
+
subcircuit_id?: string | undefined;
|
|
4117
|
+
pcb_group_id?: string | undefined;
|
|
4118
|
+
color?: string | undefined;
|
|
4119
|
+
}, {
|
|
4120
|
+
type: "pcb_note_path";
|
|
4121
|
+
route: {
|
|
4122
|
+
x: string | number;
|
|
4123
|
+
y: string | number;
|
|
4124
|
+
}[];
|
|
4125
|
+
pcb_component_id?: string | undefined;
|
|
4126
|
+
subcircuit_id?: string | undefined;
|
|
4127
|
+
pcb_group_id?: string | undefined;
|
|
4128
|
+
stroke_width?: string | number | undefined;
|
|
4129
|
+
color?: string | undefined;
|
|
4130
|
+
pcb_note_path_id?: string | undefined;
|
|
4131
|
+
}>;
|
|
4132
|
+
type PcbNotePathInput = z.input<typeof pcb_note_path>;
|
|
4133
|
+
/**
|
|
4134
|
+
* Defines a polyline documentation note on the PCB
|
|
4135
|
+
*/
|
|
4136
|
+
interface PcbNotePath {
|
|
4137
|
+
type: "pcb_note_path";
|
|
4138
|
+
pcb_note_path_id: string;
|
|
4139
|
+
pcb_component_id?: string;
|
|
4140
|
+
pcb_group_id?: string;
|
|
4141
|
+
subcircuit_id?: string;
|
|
4142
|
+
route: Point[];
|
|
4143
|
+
stroke_width: Length;
|
|
4144
|
+
color?: string;
|
|
4145
|
+
}
|
|
4146
|
+
|
|
4147
|
+
declare const pcb_note_line: z.ZodObject<{
|
|
4148
|
+
type: z.ZodLiteral<"pcb_note_line">;
|
|
4149
|
+
pcb_note_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4150
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4151
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4152
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4153
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4154
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4155
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4156
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4157
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4158
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4159
|
+
is_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
4160
|
+
}, "strip", z.ZodTypeAny, {
|
|
4161
|
+
type: "pcb_note_line";
|
|
4162
|
+
stroke_width: number;
|
|
4163
|
+
x1: number;
|
|
4164
|
+
y1: number;
|
|
4165
|
+
x2: number;
|
|
4166
|
+
y2: number;
|
|
4167
|
+
pcb_note_line_id: string;
|
|
4168
|
+
pcb_component_id?: string | undefined;
|
|
4169
|
+
subcircuit_id?: string | undefined;
|
|
4170
|
+
pcb_group_id?: string | undefined;
|
|
4171
|
+
color?: string | undefined;
|
|
4172
|
+
is_dashed?: boolean | undefined;
|
|
4173
|
+
}, {
|
|
4174
|
+
type: "pcb_note_line";
|
|
4175
|
+
x1: string | number;
|
|
4176
|
+
y1: string | number;
|
|
4177
|
+
x2: string | number;
|
|
4178
|
+
y2: string | number;
|
|
4179
|
+
pcb_component_id?: string | undefined;
|
|
4180
|
+
subcircuit_id?: string | undefined;
|
|
4181
|
+
pcb_group_id?: string | undefined;
|
|
4182
|
+
stroke_width?: string | number | undefined;
|
|
4183
|
+
color?: string | undefined;
|
|
4184
|
+
pcb_note_line_id?: string | undefined;
|
|
4185
|
+
is_dashed?: boolean | undefined;
|
|
4186
|
+
}>;
|
|
4187
|
+
type PcbNoteLineInput = z.input<typeof pcb_note_line>;
|
|
4188
|
+
/**
|
|
4189
|
+
* Defines a straight documentation note line on the PCB
|
|
4190
|
+
*/
|
|
4191
|
+
interface PcbNoteLine {
|
|
4192
|
+
type: "pcb_note_line";
|
|
4193
|
+
pcb_note_line_id: string;
|
|
4194
|
+
pcb_component_id?: string;
|
|
4195
|
+
pcb_group_id?: string;
|
|
4196
|
+
subcircuit_id?: string;
|
|
4197
|
+
x1: Distance;
|
|
4198
|
+
y1: Distance;
|
|
4199
|
+
x2: Distance;
|
|
4200
|
+
y2: Distance;
|
|
4201
|
+
stroke_width: Distance;
|
|
4202
|
+
color?: string;
|
|
4203
|
+
is_dashed?: boolean;
|
|
4204
|
+
}
|
|
4205
|
+
|
|
4206
|
+
declare const pcb_note_dimension: z.ZodObject<{
|
|
4207
|
+
type: z.ZodLiteral<"pcb_note_dimension">;
|
|
4208
|
+
pcb_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4209
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
4210
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4211
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4212
|
+
from: z.ZodObject<{
|
|
4213
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4214
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4215
|
+
}, "strip", z.ZodTypeAny, {
|
|
4216
|
+
x: number;
|
|
4217
|
+
y: number;
|
|
4218
|
+
}, {
|
|
4219
|
+
x: string | number;
|
|
4220
|
+
y: string | number;
|
|
4221
|
+
}>;
|
|
4222
|
+
to: z.ZodObject<{
|
|
4223
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4224
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4225
|
+
}, "strip", z.ZodTypeAny, {
|
|
4226
|
+
x: number;
|
|
4227
|
+
y: number;
|
|
4228
|
+
}, {
|
|
4229
|
+
x: string | number;
|
|
4230
|
+
y: string | number;
|
|
4231
|
+
}>;
|
|
4232
|
+
text: z.ZodOptional<z.ZodString>;
|
|
4233
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
4234
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4235
|
+
color: z.ZodOptional<z.ZodString>;
|
|
4236
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4237
|
+
}, "strip", z.ZodTypeAny, {
|
|
4238
|
+
type: "pcb_note_dimension";
|
|
4239
|
+
font: "tscircuit2024";
|
|
4240
|
+
font_size: number;
|
|
4241
|
+
pcb_note_dimension_id: string;
|
|
4242
|
+
from: {
|
|
4243
|
+
x: number;
|
|
4244
|
+
y: number;
|
|
4245
|
+
};
|
|
4246
|
+
to: {
|
|
4247
|
+
x: number;
|
|
4248
|
+
y: number;
|
|
4249
|
+
};
|
|
4250
|
+
arrow_size: number;
|
|
4251
|
+
pcb_component_id?: string | undefined;
|
|
4252
|
+
subcircuit_id?: string | undefined;
|
|
4253
|
+
pcb_group_id?: string | undefined;
|
|
4254
|
+
text?: string | undefined;
|
|
4255
|
+
color?: string | undefined;
|
|
4256
|
+
}, {
|
|
4257
|
+
type: "pcb_note_dimension";
|
|
4258
|
+
from: {
|
|
4259
|
+
x: string | number;
|
|
4260
|
+
y: string | number;
|
|
4261
|
+
};
|
|
4262
|
+
to: {
|
|
4263
|
+
x: string | number;
|
|
4264
|
+
y: string | number;
|
|
4265
|
+
};
|
|
4266
|
+
pcb_component_id?: string | undefined;
|
|
4267
|
+
subcircuit_id?: string | undefined;
|
|
4268
|
+
pcb_group_id?: string | undefined;
|
|
4269
|
+
text?: string | undefined;
|
|
4270
|
+
font?: "tscircuit2024" | undefined;
|
|
4271
|
+
font_size?: string | number | undefined;
|
|
4272
|
+
color?: string | undefined;
|
|
4273
|
+
pcb_note_dimension_id?: string | undefined;
|
|
4274
|
+
arrow_size?: string | number | undefined;
|
|
4275
|
+
}>;
|
|
4276
|
+
type PcbNoteDimensionInput = z.input<typeof pcb_note_dimension>;
|
|
4277
|
+
/**
|
|
4278
|
+
* Defines a measurement annotation within PCB documentation notes
|
|
4279
|
+
*/
|
|
4280
|
+
interface PcbNoteDimension {
|
|
4281
|
+
type: "pcb_note_dimension";
|
|
4282
|
+
pcb_note_dimension_id: string;
|
|
4283
|
+
pcb_component_id?: string;
|
|
4284
|
+
pcb_group_id?: string;
|
|
4285
|
+
subcircuit_id?: string;
|
|
4286
|
+
from: Point;
|
|
4287
|
+
to: Point;
|
|
4288
|
+
text?: string;
|
|
4289
|
+
font: "tscircuit2024";
|
|
4290
|
+
font_size: Length;
|
|
4291
|
+
color?: string;
|
|
4292
|
+
arrow_size: Length;
|
|
4293
|
+
}
|
|
4294
|
+
|
|
3941
4295
|
declare const pcb_footprint_overlap_error: z.ZodObject<{
|
|
3942
4296
|
type: z.ZodLiteral<"pcb_footprint_overlap_error">;
|
|
3943
4297
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -5793,7 +6147,7 @@ interface PcbCourtyardOutline {
|
|
|
5793
6147
|
*/
|
|
5794
6148
|
type PCBCourtyardOutline = PcbCourtyardOutline;
|
|
5795
6149
|
|
|
5796
|
-
type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbNet | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbFabricationNoteRect | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbViaClearanceError | PcbCourtyardRect | PcbCourtyardOutline;
|
|
6150
|
+
type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbNet | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbFabricationNoteRect | PcbNoteText | PcbNoteRect | PcbNotePath | PcbNoteLine | PcbNoteDimension | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbViaClearanceError | PcbCourtyardRect | PcbCourtyardOutline;
|
|
5797
6151
|
|
|
5798
6152
|
interface SchematicBox {
|
|
5799
6153
|
type: "schematic_box";
|
|
@@ -5830,8 +6184,8 @@ declare const schematic_box: z.ZodObject<{
|
|
|
5830
6184
|
width: string | number;
|
|
5831
6185
|
height: string | number;
|
|
5832
6186
|
subcircuit_id?: string | undefined;
|
|
5833
|
-
schematic_component_id?: string | undefined;
|
|
5834
6187
|
is_dashed?: boolean | undefined;
|
|
6188
|
+
schematic_component_id?: string | undefined;
|
|
5835
6189
|
}>;
|
|
5836
6190
|
type SchematicBoxInput = z.input<typeof schematic_box>;
|
|
5837
6191
|
|
|
@@ -6409,8 +6763,8 @@ declare const schematic_line: z.ZodObject<{
|
|
|
6409
6763
|
x2: number;
|
|
6410
6764
|
y2: number;
|
|
6411
6765
|
color: string;
|
|
6412
|
-
schematic_component_id: string;
|
|
6413
6766
|
is_dashed: boolean;
|
|
6767
|
+
schematic_component_id: string;
|
|
6414
6768
|
schematic_line_id: string;
|
|
6415
6769
|
subcircuit_id?: string | undefined;
|
|
6416
6770
|
stroke_width?: number | null | undefined;
|
|
@@ -6479,8 +6833,8 @@ declare const schematic_rect: z.ZodObject<{
|
|
|
6479
6833
|
rotation: number;
|
|
6480
6834
|
is_filled: boolean;
|
|
6481
6835
|
color: string;
|
|
6482
|
-
schematic_component_id: string;
|
|
6483
6836
|
is_dashed: boolean;
|
|
6837
|
+
schematic_component_id: string;
|
|
6484
6838
|
schematic_rect_id: string;
|
|
6485
6839
|
subcircuit_id?: string | undefined;
|
|
6486
6840
|
stroke_width?: number | null | undefined;
|
|
@@ -6549,8 +6903,8 @@ declare const schematic_circle: z.ZodObject<{
|
|
|
6549
6903
|
radius: number;
|
|
6550
6904
|
is_filled: boolean;
|
|
6551
6905
|
color: string;
|
|
6552
|
-
schematic_component_id: string;
|
|
6553
6906
|
is_dashed: boolean;
|
|
6907
|
+
schematic_component_id: string;
|
|
6554
6908
|
schematic_circle_id: string;
|
|
6555
6909
|
subcircuit_id?: string | undefined;
|
|
6556
6910
|
stroke_width?: number | null | undefined;
|
|
@@ -6618,8 +6972,8 @@ declare const schematic_arc: z.ZodObject<{
|
|
|
6618
6972
|
};
|
|
6619
6973
|
radius: number;
|
|
6620
6974
|
color: string;
|
|
6621
|
-
schematic_component_id: string;
|
|
6622
6975
|
is_dashed: boolean;
|
|
6976
|
+
schematic_component_id: string;
|
|
6623
6977
|
direction: "clockwise" | "counterclockwise";
|
|
6624
6978
|
schematic_arc_id: string;
|
|
6625
6979
|
start_angle_degrees: number;
|
|
@@ -15360,15 +15714,273 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15360
15714
|
x: string | number;
|
|
15361
15715
|
y: string | number;
|
|
15362
15716
|
};
|
|
15363
|
-
layer: "top" | "bottom";
|
|
15717
|
+
layer: "top" | "bottom";
|
|
15718
|
+
subcircuit_id?: string | undefined;
|
|
15719
|
+
pcb_group_id?: string | undefined;
|
|
15720
|
+
stroke_width?: string | number | undefined;
|
|
15721
|
+
is_filled?: boolean | undefined;
|
|
15722
|
+
has_stroke?: boolean | undefined;
|
|
15723
|
+
is_stroke_dashed?: boolean | undefined;
|
|
15724
|
+
color?: string | undefined;
|
|
15725
|
+
pcb_fabrication_note_rect_id?: string | undefined;
|
|
15726
|
+
}>, z.ZodObject<{
|
|
15727
|
+
type: z.ZodLiteral<"pcb_note_text">;
|
|
15728
|
+
pcb_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15729
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15730
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15731
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15732
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
15733
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15734
|
+
text: z.ZodString;
|
|
15735
|
+
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
15736
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15737
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15738
|
+
}, "strip", z.ZodTypeAny, {
|
|
15739
|
+
x: number;
|
|
15740
|
+
y: number;
|
|
15741
|
+
}, {
|
|
15742
|
+
x: string | number;
|
|
15743
|
+
y: string | number;
|
|
15744
|
+
}>>;
|
|
15745
|
+
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
15746
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15747
|
+
}, "strip", z.ZodTypeAny, {
|
|
15748
|
+
type: "pcb_note_text";
|
|
15749
|
+
text: string;
|
|
15750
|
+
font: "tscircuit2024";
|
|
15751
|
+
font_size: number;
|
|
15752
|
+
anchor_position: {
|
|
15753
|
+
x: number;
|
|
15754
|
+
y: number;
|
|
15755
|
+
};
|
|
15756
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
15757
|
+
pcb_note_text_id: string;
|
|
15758
|
+
pcb_component_id?: string | undefined;
|
|
15759
|
+
subcircuit_id?: string | undefined;
|
|
15760
|
+
pcb_group_id?: string | undefined;
|
|
15761
|
+
color?: string | undefined;
|
|
15762
|
+
}, {
|
|
15763
|
+
type: "pcb_note_text";
|
|
15764
|
+
text: string;
|
|
15765
|
+
pcb_component_id?: string | undefined;
|
|
15766
|
+
subcircuit_id?: string | undefined;
|
|
15767
|
+
pcb_group_id?: string | undefined;
|
|
15768
|
+
font?: "tscircuit2024" | undefined;
|
|
15769
|
+
font_size?: string | number | undefined;
|
|
15770
|
+
anchor_position?: {
|
|
15771
|
+
x: string | number;
|
|
15772
|
+
y: string | number;
|
|
15773
|
+
} | undefined;
|
|
15774
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
15775
|
+
color?: string | undefined;
|
|
15776
|
+
pcb_note_text_id?: string | undefined;
|
|
15777
|
+
}>, z.ZodObject<{
|
|
15778
|
+
type: z.ZodLiteral<"pcb_note_rect">;
|
|
15779
|
+
pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15780
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15781
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15782
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15783
|
+
center: z.ZodObject<{
|
|
15784
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15785
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15786
|
+
}, "strip", z.ZodTypeAny, {
|
|
15787
|
+
x: number;
|
|
15788
|
+
y: number;
|
|
15789
|
+
}, {
|
|
15790
|
+
x: string | number;
|
|
15791
|
+
y: string | number;
|
|
15792
|
+
}>;
|
|
15793
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15794
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15795
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15796
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
15797
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
15798
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
15799
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15800
|
+
}, "strip", z.ZodTypeAny, {
|
|
15801
|
+
type: "pcb_note_rect";
|
|
15802
|
+
width: number;
|
|
15803
|
+
height: number;
|
|
15804
|
+
center: {
|
|
15805
|
+
x: number;
|
|
15806
|
+
y: number;
|
|
15807
|
+
};
|
|
15808
|
+
stroke_width: number;
|
|
15809
|
+
pcb_note_rect_id: string;
|
|
15810
|
+
pcb_component_id?: string | undefined;
|
|
15811
|
+
subcircuit_id?: string | undefined;
|
|
15812
|
+
pcb_group_id?: string | undefined;
|
|
15813
|
+
is_filled?: boolean | undefined;
|
|
15814
|
+
has_stroke?: boolean | undefined;
|
|
15815
|
+
is_stroke_dashed?: boolean | undefined;
|
|
15816
|
+
color?: string | undefined;
|
|
15817
|
+
}, {
|
|
15818
|
+
type: "pcb_note_rect";
|
|
15819
|
+
width: string | number;
|
|
15820
|
+
height: string | number;
|
|
15821
|
+
center: {
|
|
15822
|
+
x: string | number;
|
|
15823
|
+
y: string | number;
|
|
15824
|
+
};
|
|
15825
|
+
pcb_component_id?: string | undefined;
|
|
15826
|
+
subcircuit_id?: string | undefined;
|
|
15827
|
+
pcb_group_id?: string | undefined;
|
|
15828
|
+
stroke_width?: string | number | undefined;
|
|
15829
|
+
is_filled?: boolean | undefined;
|
|
15830
|
+
has_stroke?: boolean | undefined;
|
|
15831
|
+
is_stroke_dashed?: boolean | undefined;
|
|
15832
|
+
color?: string | undefined;
|
|
15833
|
+
pcb_note_rect_id?: string | undefined;
|
|
15834
|
+
}>, z.ZodObject<{
|
|
15835
|
+
type: z.ZodLiteral<"pcb_note_path">;
|
|
15836
|
+
pcb_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15837
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15838
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15839
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15840
|
+
route: z.ZodArray<z.ZodObject<{
|
|
15841
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15842
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15843
|
+
}, "strip", z.ZodTypeAny, {
|
|
15844
|
+
x: number;
|
|
15845
|
+
y: number;
|
|
15846
|
+
}, {
|
|
15847
|
+
x: string | number;
|
|
15848
|
+
y: string | number;
|
|
15849
|
+
}>, "many">;
|
|
15850
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15851
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15852
|
+
}, "strip", z.ZodTypeAny, {
|
|
15853
|
+
type: "pcb_note_path";
|
|
15854
|
+
route: {
|
|
15855
|
+
x: number;
|
|
15856
|
+
y: number;
|
|
15857
|
+
}[];
|
|
15858
|
+
stroke_width: number;
|
|
15859
|
+
pcb_note_path_id: string;
|
|
15860
|
+
pcb_component_id?: string | undefined;
|
|
15861
|
+
subcircuit_id?: string | undefined;
|
|
15862
|
+
pcb_group_id?: string | undefined;
|
|
15863
|
+
color?: string | undefined;
|
|
15864
|
+
}, {
|
|
15865
|
+
type: "pcb_note_path";
|
|
15866
|
+
route: {
|
|
15867
|
+
x: string | number;
|
|
15868
|
+
y: string | number;
|
|
15869
|
+
}[];
|
|
15870
|
+
pcb_component_id?: string | undefined;
|
|
15871
|
+
subcircuit_id?: string | undefined;
|
|
15872
|
+
pcb_group_id?: string | undefined;
|
|
15873
|
+
stroke_width?: string | number | undefined;
|
|
15874
|
+
color?: string | undefined;
|
|
15875
|
+
pcb_note_path_id?: string | undefined;
|
|
15876
|
+
}>, z.ZodObject<{
|
|
15877
|
+
type: z.ZodLiteral<"pcb_note_line">;
|
|
15878
|
+
pcb_note_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15879
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15880
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15881
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15882
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15883
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15884
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15885
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15886
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15887
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15888
|
+
is_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
15889
|
+
}, "strip", z.ZodTypeAny, {
|
|
15890
|
+
type: "pcb_note_line";
|
|
15891
|
+
stroke_width: number;
|
|
15892
|
+
x1: number;
|
|
15893
|
+
y1: number;
|
|
15894
|
+
x2: number;
|
|
15895
|
+
y2: number;
|
|
15896
|
+
pcb_note_line_id: string;
|
|
15897
|
+
pcb_component_id?: string | undefined;
|
|
15898
|
+
subcircuit_id?: string | undefined;
|
|
15899
|
+
pcb_group_id?: string | undefined;
|
|
15900
|
+
color?: string | undefined;
|
|
15901
|
+
is_dashed?: boolean | undefined;
|
|
15902
|
+
}, {
|
|
15903
|
+
type: "pcb_note_line";
|
|
15904
|
+
x1: string | number;
|
|
15905
|
+
y1: string | number;
|
|
15906
|
+
x2: string | number;
|
|
15907
|
+
y2: string | number;
|
|
15908
|
+
pcb_component_id?: string | undefined;
|
|
15909
|
+
subcircuit_id?: string | undefined;
|
|
15910
|
+
pcb_group_id?: string | undefined;
|
|
15911
|
+
stroke_width?: string | number | undefined;
|
|
15912
|
+
color?: string | undefined;
|
|
15913
|
+
pcb_note_line_id?: string | undefined;
|
|
15914
|
+
is_dashed?: boolean | undefined;
|
|
15915
|
+
}>, z.ZodObject<{
|
|
15916
|
+
type: z.ZodLiteral<"pcb_note_dimension">;
|
|
15917
|
+
pcb_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15918
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
15919
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
15920
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15921
|
+
from: z.ZodObject<{
|
|
15922
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15923
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15924
|
+
}, "strip", z.ZodTypeAny, {
|
|
15925
|
+
x: number;
|
|
15926
|
+
y: number;
|
|
15927
|
+
}, {
|
|
15928
|
+
x: string | number;
|
|
15929
|
+
y: string | number;
|
|
15930
|
+
}>;
|
|
15931
|
+
to: z.ZodObject<{
|
|
15932
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15933
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15934
|
+
}, "strip", z.ZodTypeAny, {
|
|
15935
|
+
x: number;
|
|
15936
|
+
y: number;
|
|
15937
|
+
}, {
|
|
15938
|
+
x: string | number;
|
|
15939
|
+
y: string | number;
|
|
15940
|
+
}>;
|
|
15941
|
+
text: z.ZodOptional<z.ZodString>;
|
|
15942
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
15943
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15944
|
+
color: z.ZodOptional<z.ZodString>;
|
|
15945
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
15946
|
+
}, "strip", z.ZodTypeAny, {
|
|
15947
|
+
type: "pcb_note_dimension";
|
|
15948
|
+
font: "tscircuit2024";
|
|
15949
|
+
font_size: number;
|
|
15950
|
+
pcb_note_dimension_id: string;
|
|
15951
|
+
from: {
|
|
15952
|
+
x: number;
|
|
15953
|
+
y: number;
|
|
15954
|
+
};
|
|
15955
|
+
to: {
|
|
15956
|
+
x: number;
|
|
15957
|
+
y: number;
|
|
15958
|
+
};
|
|
15959
|
+
arrow_size: number;
|
|
15960
|
+
pcb_component_id?: string | undefined;
|
|
15961
|
+
subcircuit_id?: string | undefined;
|
|
15962
|
+
pcb_group_id?: string | undefined;
|
|
15963
|
+
text?: string | undefined;
|
|
15964
|
+
color?: string | undefined;
|
|
15965
|
+
}, {
|
|
15966
|
+
type: "pcb_note_dimension";
|
|
15967
|
+
from: {
|
|
15968
|
+
x: string | number;
|
|
15969
|
+
y: string | number;
|
|
15970
|
+
};
|
|
15971
|
+
to: {
|
|
15972
|
+
x: string | number;
|
|
15973
|
+
y: string | number;
|
|
15974
|
+
};
|
|
15975
|
+
pcb_component_id?: string | undefined;
|
|
15364
15976
|
subcircuit_id?: string | undefined;
|
|
15365
15977
|
pcb_group_id?: string | undefined;
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
15369
|
-
is_stroke_dashed?: boolean | undefined;
|
|
15978
|
+
text?: string | undefined;
|
|
15979
|
+
font?: "tscircuit2024" | undefined;
|
|
15980
|
+
font_size?: string | number | undefined;
|
|
15370
15981
|
color?: string | undefined;
|
|
15371
|
-
|
|
15982
|
+
pcb_note_dimension_id?: string | undefined;
|
|
15983
|
+
arrow_size?: string | number | undefined;
|
|
15372
15984
|
}>, z.ZodObject<{
|
|
15373
15985
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
15374
15986
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -16147,8 +16759,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16147
16759
|
width: string | number;
|
|
16148
16760
|
height: string | number;
|
|
16149
16761
|
subcircuit_id?: string | undefined;
|
|
16150
|
-
schematic_component_id?: string | undefined;
|
|
16151
16762
|
is_dashed?: boolean | undefined;
|
|
16763
|
+
schematic_component_id?: string | undefined;
|
|
16152
16764
|
}>, z.ZodObject<{
|
|
16153
16765
|
type: z.ZodLiteral<"schematic_text">;
|
|
16154
16766
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -16216,8 +16828,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16216
16828
|
x2: number;
|
|
16217
16829
|
y2: number;
|
|
16218
16830
|
color: string;
|
|
16219
|
-
schematic_component_id: string;
|
|
16220
16831
|
is_dashed: boolean;
|
|
16832
|
+
schematic_component_id: string;
|
|
16221
16833
|
schematic_line_id: string;
|
|
16222
16834
|
subcircuit_id?: string | undefined;
|
|
16223
16835
|
stroke_width?: number | null | undefined;
|
|
@@ -16267,8 +16879,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16267
16879
|
rotation: number;
|
|
16268
16880
|
is_filled: boolean;
|
|
16269
16881
|
color: string;
|
|
16270
|
-
schematic_component_id: string;
|
|
16271
16882
|
is_dashed: boolean;
|
|
16883
|
+
schematic_component_id: string;
|
|
16272
16884
|
schematic_rect_id: string;
|
|
16273
16885
|
subcircuit_id?: string | undefined;
|
|
16274
16886
|
stroke_width?: number | null | undefined;
|
|
@@ -16320,8 +16932,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16320
16932
|
radius: number;
|
|
16321
16933
|
is_filled: boolean;
|
|
16322
16934
|
color: string;
|
|
16323
|
-
schematic_component_id: string;
|
|
16324
16935
|
is_dashed: boolean;
|
|
16936
|
+
schematic_component_id: string;
|
|
16325
16937
|
schematic_circle_id: string;
|
|
16326
16938
|
subcircuit_id?: string | undefined;
|
|
16327
16939
|
stroke_width?: number | null | undefined;
|
|
@@ -16371,8 +16983,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16371
16983
|
};
|
|
16372
16984
|
radius: number;
|
|
16373
16985
|
color: string;
|
|
16374
|
-
schematic_component_id: string;
|
|
16375
16986
|
is_dashed: boolean;
|
|
16987
|
+
schematic_component_id: string;
|
|
16376
16988
|
direction: "clockwise" | "counterclockwise";
|
|
16377
16989
|
schematic_arc_id: string;
|
|
16378
16990
|
start_angle_degrees: number;
|
|
@@ -22159,6 +22771,264 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22159
22771
|
is_stroke_dashed?: boolean | undefined;
|
|
22160
22772
|
color?: string | undefined;
|
|
22161
22773
|
pcb_fabrication_note_rect_id?: string | undefined;
|
|
22774
|
+
}>, z.ZodObject<{
|
|
22775
|
+
type: z.ZodLiteral<"pcb_note_text">;
|
|
22776
|
+
pcb_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22777
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22778
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22779
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22780
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
22781
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22782
|
+
text: z.ZodString;
|
|
22783
|
+
anchor_position: z.ZodDefault<z.ZodObject<{
|
|
22784
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22785
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22786
|
+
}, "strip", z.ZodTypeAny, {
|
|
22787
|
+
x: number;
|
|
22788
|
+
y: number;
|
|
22789
|
+
}, {
|
|
22790
|
+
x: string | number;
|
|
22791
|
+
y: string | number;
|
|
22792
|
+
}>>;
|
|
22793
|
+
anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
|
|
22794
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22795
|
+
}, "strip", z.ZodTypeAny, {
|
|
22796
|
+
type: "pcb_note_text";
|
|
22797
|
+
text: string;
|
|
22798
|
+
font: "tscircuit2024";
|
|
22799
|
+
font_size: number;
|
|
22800
|
+
anchor_position: {
|
|
22801
|
+
x: number;
|
|
22802
|
+
y: number;
|
|
22803
|
+
};
|
|
22804
|
+
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
22805
|
+
pcb_note_text_id: string;
|
|
22806
|
+
pcb_component_id?: string | undefined;
|
|
22807
|
+
subcircuit_id?: string | undefined;
|
|
22808
|
+
pcb_group_id?: string | undefined;
|
|
22809
|
+
color?: string | undefined;
|
|
22810
|
+
}, {
|
|
22811
|
+
type: "pcb_note_text";
|
|
22812
|
+
text: string;
|
|
22813
|
+
pcb_component_id?: string | undefined;
|
|
22814
|
+
subcircuit_id?: string | undefined;
|
|
22815
|
+
pcb_group_id?: string | undefined;
|
|
22816
|
+
font?: "tscircuit2024" | undefined;
|
|
22817
|
+
font_size?: string | number | undefined;
|
|
22818
|
+
anchor_position?: {
|
|
22819
|
+
x: string | number;
|
|
22820
|
+
y: string | number;
|
|
22821
|
+
} | undefined;
|
|
22822
|
+
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
22823
|
+
color?: string | undefined;
|
|
22824
|
+
pcb_note_text_id?: string | undefined;
|
|
22825
|
+
}>, z.ZodObject<{
|
|
22826
|
+
type: z.ZodLiteral<"pcb_note_rect">;
|
|
22827
|
+
pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22828
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22829
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22830
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22831
|
+
center: z.ZodObject<{
|
|
22832
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22833
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22834
|
+
}, "strip", z.ZodTypeAny, {
|
|
22835
|
+
x: number;
|
|
22836
|
+
y: number;
|
|
22837
|
+
}, {
|
|
22838
|
+
x: string | number;
|
|
22839
|
+
y: string | number;
|
|
22840
|
+
}>;
|
|
22841
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22842
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22843
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22844
|
+
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
22845
|
+
has_stroke: z.ZodOptional<z.ZodBoolean>;
|
|
22846
|
+
is_stroke_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
22847
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22848
|
+
}, "strip", z.ZodTypeAny, {
|
|
22849
|
+
type: "pcb_note_rect";
|
|
22850
|
+
width: number;
|
|
22851
|
+
height: number;
|
|
22852
|
+
center: {
|
|
22853
|
+
x: number;
|
|
22854
|
+
y: number;
|
|
22855
|
+
};
|
|
22856
|
+
stroke_width: number;
|
|
22857
|
+
pcb_note_rect_id: string;
|
|
22858
|
+
pcb_component_id?: string | undefined;
|
|
22859
|
+
subcircuit_id?: string | undefined;
|
|
22860
|
+
pcb_group_id?: string | undefined;
|
|
22861
|
+
is_filled?: boolean | undefined;
|
|
22862
|
+
has_stroke?: boolean | undefined;
|
|
22863
|
+
is_stroke_dashed?: boolean | undefined;
|
|
22864
|
+
color?: string | undefined;
|
|
22865
|
+
}, {
|
|
22866
|
+
type: "pcb_note_rect";
|
|
22867
|
+
width: string | number;
|
|
22868
|
+
height: string | number;
|
|
22869
|
+
center: {
|
|
22870
|
+
x: string | number;
|
|
22871
|
+
y: string | number;
|
|
22872
|
+
};
|
|
22873
|
+
pcb_component_id?: string | undefined;
|
|
22874
|
+
subcircuit_id?: string | undefined;
|
|
22875
|
+
pcb_group_id?: string | undefined;
|
|
22876
|
+
stroke_width?: string | number | undefined;
|
|
22877
|
+
is_filled?: boolean | undefined;
|
|
22878
|
+
has_stroke?: boolean | undefined;
|
|
22879
|
+
is_stroke_dashed?: boolean | undefined;
|
|
22880
|
+
color?: string | undefined;
|
|
22881
|
+
pcb_note_rect_id?: string | undefined;
|
|
22882
|
+
}>, z.ZodObject<{
|
|
22883
|
+
type: z.ZodLiteral<"pcb_note_path">;
|
|
22884
|
+
pcb_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22885
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22886
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22887
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22888
|
+
route: z.ZodArray<z.ZodObject<{
|
|
22889
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22890
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22891
|
+
}, "strip", z.ZodTypeAny, {
|
|
22892
|
+
x: number;
|
|
22893
|
+
y: number;
|
|
22894
|
+
}, {
|
|
22895
|
+
x: string | number;
|
|
22896
|
+
y: string | number;
|
|
22897
|
+
}>, "many">;
|
|
22898
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22899
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22900
|
+
}, "strip", z.ZodTypeAny, {
|
|
22901
|
+
type: "pcb_note_path";
|
|
22902
|
+
route: {
|
|
22903
|
+
x: number;
|
|
22904
|
+
y: number;
|
|
22905
|
+
}[];
|
|
22906
|
+
stroke_width: number;
|
|
22907
|
+
pcb_note_path_id: string;
|
|
22908
|
+
pcb_component_id?: string | undefined;
|
|
22909
|
+
subcircuit_id?: string | undefined;
|
|
22910
|
+
pcb_group_id?: string | undefined;
|
|
22911
|
+
color?: string | undefined;
|
|
22912
|
+
}, {
|
|
22913
|
+
type: "pcb_note_path";
|
|
22914
|
+
route: {
|
|
22915
|
+
x: string | number;
|
|
22916
|
+
y: string | number;
|
|
22917
|
+
}[];
|
|
22918
|
+
pcb_component_id?: string | undefined;
|
|
22919
|
+
subcircuit_id?: string | undefined;
|
|
22920
|
+
pcb_group_id?: string | undefined;
|
|
22921
|
+
stroke_width?: string | number | undefined;
|
|
22922
|
+
color?: string | undefined;
|
|
22923
|
+
pcb_note_path_id?: string | undefined;
|
|
22924
|
+
}>, z.ZodObject<{
|
|
22925
|
+
type: z.ZodLiteral<"pcb_note_line">;
|
|
22926
|
+
pcb_note_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22927
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22928
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22929
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22930
|
+
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22931
|
+
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22932
|
+
x2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22933
|
+
y2: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22934
|
+
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22935
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22936
|
+
is_dashed: z.ZodOptional<z.ZodBoolean>;
|
|
22937
|
+
}, "strip", z.ZodTypeAny, {
|
|
22938
|
+
type: "pcb_note_line";
|
|
22939
|
+
stroke_width: number;
|
|
22940
|
+
x1: number;
|
|
22941
|
+
y1: number;
|
|
22942
|
+
x2: number;
|
|
22943
|
+
y2: number;
|
|
22944
|
+
pcb_note_line_id: string;
|
|
22945
|
+
pcb_component_id?: string | undefined;
|
|
22946
|
+
subcircuit_id?: string | undefined;
|
|
22947
|
+
pcb_group_id?: string | undefined;
|
|
22948
|
+
color?: string | undefined;
|
|
22949
|
+
is_dashed?: boolean | undefined;
|
|
22950
|
+
}, {
|
|
22951
|
+
type: "pcb_note_line";
|
|
22952
|
+
x1: string | number;
|
|
22953
|
+
y1: string | number;
|
|
22954
|
+
x2: string | number;
|
|
22955
|
+
y2: string | number;
|
|
22956
|
+
pcb_component_id?: string | undefined;
|
|
22957
|
+
subcircuit_id?: string | undefined;
|
|
22958
|
+
pcb_group_id?: string | undefined;
|
|
22959
|
+
stroke_width?: string | number | undefined;
|
|
22960
|
+
color?: string | undefined;
|
|
22961
|
+
pcb_note_line_id?: string | undefined;
|
|
22962
|
+
is_dashed?: boolean | undefined;
|
|
22963
|
+
}>, z.ZodObject<{
|
|
22964
|
+
type: z.ZodLiteral<"pcb_note_dimension">;
|
|
22965
|
+
pcb_note_dimension_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
22966
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
22967
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
22968
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
22969
|
+
from: z.ZodObject<{
|
|
22970
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22971
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22972
|
+
}, "strip", z.ZodTypeAny, {
|
|
22973
|
+
x: number;
|
|
22974
|
+
y: number;
|
|
22975
|
+
}, {
|
|
22976
|
+
x: string | number;
|
|
22977
|
+
y: string | number;
|
|
22978
|
+
}>;
|
|
22979
|
+
to: z.ZodObject<{
|
|
22980
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22981
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22982
|
+
}, "strip", z.ZodTypeAny, {
|
|
22983
|
+
x: number;
|
|
22984
|
+
y: number;
|
|
22985
|
+
}, {
|
|
22986
|
+
x: string | number;
|
|
22987
|
+
y: string | number;
|
|
22988
|
+
}>;
|
|
22989
|
+
text: z.ZodOptional<z.ZodString>;
|
|
22990
|
+
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
22991
|
+
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22992
|
+
color: z.ZodOptional<z.ZodString>;
|
|
22993
|
+
arrow_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22994
|
+
}, "strip", z.ZodTypeAny, {
|
|
22995
|
+
type: "pcb_note_dimension";
|
|
22996
|
+
font: "tscircuit2024";
|
|
22997
|
+
font_size: number;
|
|
22998
|
+
pcb_note_dimension_id: string;
|
|
22999
|
+
from: {
|
|
23000
|
+
x: number;
|
|
23001
|
+
y: number;
|
|
23002
|
+
};
|
|
23003
|
+
to: {
|
|
23004
|
+
x: number;
|
|
23005
|
+
y: number;
|
|
23006
|
+
};
|
|
23007
|
+
arrow_size: number;
|
|
23008
|
+
pcb_component_id?: string | undefined;
|
|
23009
|
+
subcircuit_id?: string | undefined;
|
|
23010
|
+
pcb_group_id?: string | undefined;
|
|
23011
|
+
text?: string | undefined;
|
|
23012
|
+
color?: string | undefined;
|
|
23013
|
+
}, {
|
|
23014
|
+
type: "pcb_note_dimension";
|
|
23015
|
+
from: {
|
|
23016
|
+
x: string | number;
|
|
23017
|
+
y: string | number;
|
|
23018
|
+
};
|
|
23019
|
+
to: {
|
|
23020
|
+
x: string | number;
|
|
23021
|
+
y: string | number;
|
|
23022
|
+
};
|
|
23023
|
+
pcb_component_id?: string | undefined;
|
|
23024
|
+
subcircuit_id?: string | undefined;
|
|
23025
|
+
pcb_group_id?: string | undefined;
|
|
23026
|
+
text?: string | undefined;
|
|
23027
|
+
font?: "tscircuit2024" | undefined;
|
|
23028
|
+
font_size?: string | number | undefined;
|
|
23029
|
+
color?: string | undefined;
|
|
23030
|
+
pcb_note_dimension_id?: string | undefined;
|
|
23031
|
+
arrow_size?: string | number | undefined;
|
|
22162
23032
|
}>, z.ZodObject<{
|
|
22163
23033
|
type: z.ZodLiteral<"pcb_autorouting_error">;
|
|
22164
23034
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -22937,8 +23807,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
22937
23807
|
width: string | number;
|
|
22938
23808
|
height: string | number;
|
|
22939
23809
|
subcircuit_id?: string | undefined;
|
|
22940
|
-
schematic_component_id?: string | undefined;
|
|
22941
23810
|
is_dashed?: boolean | undefined;
|
|
23811
|
+
schematic_component_id?: string | undefined;
|
|
22942
23812
|
}>, z.ZodObject<{
|
|
22943
23813
|
type: z.ZodLiteral<"schematic_text">;
|
|
22944
23814
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
@@ -23006,8 +23876,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23006
23876
|
x2: number;
|
|
23007
23877
|
y2: number;
|
|
23008
23878
|
color: string;
|
|
23009
|
-
schematic_component_id: string;
|
|
23010
23879
|
is_dashed: boolean;
|
|
23880
|
+
schematic_component_id: string;
|
|
23011
23881
|
schematic_line_id: string;
|
|
23012
23882
|
subcircuit_id?: string | undefined;
|
|
23013
23883
|
stroke_width?: number | null | undefined;
|
|
@@ -23057,8 +23927,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23057
23927
|
rotation: number;
|
|
23058
23928
|
is_filled: boolean;
|
|
23059
23929
|
color: string;
|
|
23060
|
-
schematic_component_id: string;
|
|
23061
23930
|
is_dashed: boolean;
|
|
23931
|
+
schematic_component_id: string;
|
|
23062
23932
|
schematic_rect_id: string;
|
|
23063
23933
|
subcircuit_id?: string | undefined;
|
|
23064
23934
|
stroke_width?: number | null | undefined;
|
|
@@ -23110,8 +23980,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23110
23980
|
radius: number;
|
|
23111
23981
|
is_filled: boolean;
|
|
23112
23982
|
color: string;
|
|
23113
|
-
schematic_component_id: string;
|
|
23114
23983
|
is_dashed: boolean;
|
|
23984
|
+
schematic_component_id: string;
|
|
23115
23985
|
schematic_circle_id: string;
|
|
23116
23986
|
subcircuit_id?: string | undefined;
|
|
23117
23987
|
stroke_width?: number | null | undefined;
|
|
@@ -23161,8 +24031,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
23161
24031
|
};
|
|
23162
24032
|
radius: number;
|
|
23163
24033
|
color: string;
|
|
23164
|
-
schematic_component_id: string;
|
|
23165
24034
|
is_dashed: boolean;
|
|
24035
|
+
schematic_component_id: string;
|
|
23166
24036
|
direction: "clockwise" | "counterclockwise";
|
|
23167
24037
|
schematic_arc_id: string;
|
|
23168
24038
|
start_angle_degrees: number;
|
|
@@ -24447,4 +25317,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
24447
25317
|
*/
|
|
24448
25318
|
type CircuitJson = AnyCircuitElement[];
|
|
24449
25319
|
|
|
24450
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCourtyardOutline, type PCBCourtyardRect, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, 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 PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, 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 PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, 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 SchematicRect, type SchematicRectInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, 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 SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, 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 SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_courtyard_outline, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, 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_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, 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_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, visible_layer, voltage, wave_shape };
|
|
25320
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCourtyardOutline, type PCBCourtyardRect, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, 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 PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, 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 PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, 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 SchematicRect, type SchematicRectInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, 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 SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, 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 SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_courtyard_outline, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, 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_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, 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_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, visible_layer, voltage, wave_shape };
|