circuit-json 0.0.129 → 0.0.131
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 +38 -0
- package/dist/index.d.mts +817 -5
- package/dist/index.mjs +81 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1011,15 +1011,21 @@ declare const source_trace: z.ZodObject<{
|
|
|
1011
1011
|
declare const source_group: z.ZodObject<{
|
|
1012
1012
|
type: z.ZodLiteral<"source_group">;
|
|
1013
1013
|
source_group_id: z.ZodString;
|
|
1014
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
1015
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
1014
1016
|
name: z.ZodOptional<z.ZodString>;
|
|
1015
1017
|
}, "strip", z.ZodTypeAny, {
|
|
1016
1018
|
type: "source_group";
|
|
1017
1019
|
source_group_id: string;
|
|
1018
1020
|
name?: string | undefined;
|
|
1021
|
+
subcircuit_id?: string | undefined;
|
|
1022
|
+
is_subcircuit?: boolean | undefined;
|
|
1019
1023
|
}, {
|
|
1020
1024
|
type: "source_group";
|
|
1021
1025
|
source_group_id: string;
|
|
1022
1026
|
name?: string | undefined;
|
|
1027
|
+
subcircuit_id?: string | undefined;
|
|
1028
|
+
is_subcircuit?: boolean | undefined;
|
|
1023
1029
|
}>;
|
|
1024
1030
|
type SourceGroup = z.infer<typeof source_group>;
|
|
1025
1031
|
type SourceGroupInput = z.input<typeof source_group>;
|
|
@@ -2814,6 +2820,7 @@ declare const pcb_component: z.ZodObject<{
|
|
|
2814
2820
|
rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2815
2821
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2816
2822
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
2823
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2817
2824
|
}, "strip", z.ZodTypeAny, {
|
|
2818
2825
|
type: "pcb_component";
|
|
2819
2826
|
width: number;
|
|
@@ -2826,6 +2833,7 @@ declare const pcb_component: z.ZodObject<{
|
|
|
2826
2833
|
};
|
|
2827
2834
|
pcb_component_id: string;
|
|
2828
2835
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2836
|
+
subcircuit_id?: string | undefined;
|
|
2829
2837
|
}, {
|
|
2830
2838
|
type: "pcb_component";
|
|
2831
2839
|
width: string | number;
|
|
@@ -2839,6 +2847,7 @@ declare const pcb_component: z.ZodObject<{
|
|
|
2839
2847
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2840
2848
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2841
2849
|
};
|
|
2850
|
+
subcircuit_id?: string | undefined;
|
|
2842
2851
|
pcb_component_id?: string | undefined;
|
|
2843
2852
|
}>;
|
|
2844
2853
|
type PcbComponentInput = z.input<typeof pcb_component>;
|
|
@@ -2849,6 +2858,7 @@ interface PcbComponent {
|
|
|
2849
2858
|
type: "pcb_component";
|
|
2850
2859
|
pcb_component_id: string;
|
|
2851
2860
|
source_component_id: string;
|
|
2861
|
+
subcircuit_id?: string;
|
|
2852
2862
|
center: Point;
|
|
2853
2863
|
layer: LayerRef;
|
|
2854
2864
|
rotation: Rotation;
|
|
@@ -2863,6 +2873,8 @@ type PCBComponent = PcbComponent;
|
|
|
2863
2873
|
declare const pcb_hole_circle_or_square: z.ZodObject<{
|
|
2864
2874
|
type: z.ZodLiteral<"pcb_hole">;
|
|
2865
2875
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2876
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
2877
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2866
2878
|
hole_shape: z.ZodEnum<["circle", "square"]>;
|
|
2867
2879
|
hole_diameter: z.ZodNumber;
|
|
2868
2880
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -2874,17 +2886,23 @@ declare const pcb_hole_circle_or_square: z.ZodObject<{
|
|
|
2874
2886
|
pcb_hole_id: string;
|
|
2875
2887
|
hole_shape: "circle" | "square";
|
|
2876
2888
|
hole_diameter: number;
|
|
2889
|
+
subcircuit_id?: string | undefined;
|
|
2890
|
+
pcb_group_id?: string | undefined;
|
|
2877
2891
|
}, {
|
|
2878
2892
|
x: string | number;
|
|
2879
2893
|
y: string | number;
|
|
2880
2894
|
type: "pcb_hole";
|
|
2881
2895
|
hole_shape: "circle" | "square";
|
|
2882
2896
|
hole_diameter: number;
|
|
2897
|
+
subcircuit_id?: string | undefined;
|
|
2883
2898
|
pcb_hole_id?: string | undefined;
|
|
2899
|
+
pcb_group_id?: string | undefined;
|
|
2884
2900
|
}>;
|
|
2885
2901
|
declare const pcb_hole_circle_or_square_shape: z.ZodObject<{
|
|
2886
2902
|
type: z.ZodLiteral<"pcb_hole">;
|
|
2887
2903
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2904
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
2905
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2888
2906
|
hole_shape: z.ZodEnum<["circle", "square"]>;
|
|
2889
2907
|
hole_diameter: z.ZodNumber;
|
|
2890
2908
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -2896,13 +2914,17 @@ declare const pcb_hole_circle_or_square_shape: z.ZodObject<{
|
|
|
2896
2914
|
pcb_hole_id: string;
|
|
2897
2915
|
hole_shape: "circle" | "square";
|
|
2898
2916
|
hole_diameter: number;
|
|
2917
|
+
subcircuit_id?: string | undefined;
|
|
2918
|
+
pcb_group_id?: string | undefined;
|
|
2899
2919
|
}, {
|
|
2900
2920
|
x: string | number;
|
|
2901
2921
|
y: string | number;
|
|
2902
2922
|
type: "pcb_hole";
|
|
2903
2923
|
hole_shape: "circle" | "square";
|
|
2904
2924
|
hole_diameter: number;
|
|
2925
|
+
subcircuit_id?: string | undefined;
|
|
2905
2926
|
pcb_hole_id?: string | undefined;
|
|
2927
|
+
pcb_group_id?: string | undefined;
|
|
2906
2928
|
}>;
|
|
2907
2929
|
type PcbHoleCircleOrSquareInput = z.input<typeof pcb_hole_circle_or_square>;
|
|
2908
2930
|
/**
|
|
@@ -2911,6 +2933,8 @@ type PcbHoleCircleOrSquareInput = z.input<typeof pcb_hole_circle_or_square>;
|
|
|
2911
2933
|
interface PcbHoleCircleOrSquare {
|
|
2912
2934
|
type: "pcb_hole";
|
|
2913
2935
|
pcb_hole_id: string;
|
|
2936
|
+
pcb_group_id?: string;
|
|
2937
|
+
subcircuit_id?: string;
|
|
2914
2938
|
hole_shape: "circle" | "square";
|
|
2915
2939
|
hole_diameter: number;
|
|
2916
2940
|
x: Distance;
|
|
@@ -2919,6 +2943,8 @@ interface PcbHoleCircleOrSquare {
|
|
|
2919
2943
|
declare const pcb_hole_oval: z.ZodObject<{
|
|
2920
2944
|
type: z.ZodLiteral<"pcb_hole">;
|
|
2921
2945
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2946
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
2947
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2922
2948
|
hole_shape: z.ZodLiteral<"oval">;
|
|
2923
2949
|
hole_width: z.ZodNumber;
|
|
2924
2950
|
hole_height: z.ZodNumber;
|
|
@@ -2932,6 +2958,8 @@ declare const pcb_hole_oval: z.ZodObject<{
|
|
|
2932
2958
|
hole_shape: "oval";
|
|
2933
2959
|
hole_width: number;
|
|
2934
2960
|
hole_height: number;
|
|
2961
|
+
subcircuit_id?: string | undefined;
|
|
2962
|
+
pcb_group_id?: string | undefined;
|
|
2935
2963
|
}, {
|
|
2936
2964
|
x: string | number;
|
|
2937
2965
|
y: string | number;
|
|
@@ -2939,11 +2967,15 @@ declare const pcb_hole_oval: z.ZodObject<{
|
|
|
2939
2967
|
hole_shape: "oval";
|
|
2940
2968
|
hole_width: number;
|
|
2941
2969
|
hole_height: number;
|
|
2970
|
+
subcircuit_id?: string | undefined;
|
|
2942
2971
|
pcb_hole_id?: string | undefined;
|
|
2972
|
+
pcb_group_id?: string | undefined;
|
|
2943
2973
|
}>;
|
|
2944
2974
|
declare const pcb_hole_oval_shape: z.ZodObject<{
|
|
2945
2975
|
type: z.ZodLiteral<"pcb_hole">;
|
|
2946
2976
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2977
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
2978
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2947
2979
|
hole_shape: z.ZodLiteral<"oval">;
|
|
2948
2980
|
hole_width: z.ZodNumber;
|
|
2949
2981
|
hole_height: z.ZodNumber;
|
|
@@ -2957,6 +2989,8 @@ declare const pcb_hole_oval_shape: z.ZodObject<{
|
|
|
2957
2989
|
hole_shape: "oval";
|
|
2958
2990
|
hole_width: number;
|
|
2959
2991
|
hole_height: number;
|
|
2992
|
+
subcircuit_id?: string | undefined;
|
|
2993
|
+
pcb_group_id?: string | undefined;
|
|
2960
2994
|
}, {
|
|
2961
2995
|
x: string | number;
|
|
2962
2996
|
y: string | number;
|
|
@@ -2964,7 +2998,9 @@ declare const pcb_hole_oval_shape: z.ZodObject<{
|
|
|
2964
2998
|
hole_shape: "oval";
|
|
2965
2999
|
hole_width: number;
|
|
2966
3000
|
hole_height: number;
|
|
3001
|
+
subcircuit_id?: string | undefined;
|
|
2967
3002
|
pcb_hole_id?: string | undefined;
|
|
3003
|
+
pcb_group_id?: string | undefined;
|
|
2968
3004
|
}>;
|
|
2969
3005
|
type PcbHoleOvalInput = z.input<typeof pcb_hole_oval>;
|
|
2970
3006
|
/**
|
|
@@ -2973,6 +3009,8 @@ type PcbHoleOvalInput = z.input<typeof pcb_hole_oval>;
|
|
|
2973
3009
|
interface PcbHoleOval {
|
|
2974
3010
|
type: "pcb_hole";
|
|
2975
3011
|
pcb_hole_id: string;
|
|
3012
|
+
pcb_group_id?: string;
|
|
3013
|
+
subcircuit_id?: string;
|
|
2976
3014
|
hole_shape: "oval";
|
|
2977
3015
|
hole_width: number;
|
|
2978
3016
|
hole_height: number;
|
|
@@ -2982,6 +3020,8 @@ interface PcbHoleOval {
|
|
|
2982
3020
|
declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
|
|
2983
3021
|
type: z.ZodLiteral<"pcb_hole">;
|
|
2984
3022
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3023
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3024
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
2985
3025
|
hole_shape: z.ZodEnum<["circle", "square"]>;
|
|
2986
3026
|
hole_diameter: z.ZodNumber;
|
|
2987
3027
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -2993,16 +3033,22 @@ declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
2993
3033
|
pcb_hole_id: string;
|
|
2994
3034
|
hole_shape: "circle" | "square";
|
|
2995
3035
|
hole_diameter: number;
|
|
3036
|
+
subcircuit_id?: string | undefined;
|
|
3037
|
+
pcb_group_id?: string | undefined;
|
|
2996
3038
|
}, {
|
|
2997
3039
|
x: string | number;
|
|
2998
3040
|
y: string | number;
|
|
2999
3041
|
type: "pcb_hole";
|
|
3000
3042
|
hole_shape: "circle" | "square";
|
|
3001
3043
|
hole_diameter: number;
|
|
3044
|
+
subcircuit_id?: string | undefined;
|
|
3002
3045
|
pcb_hole_id?: string | undefined;
|
|
3046
|
+
pcb_group_id?: string | undefined;
|
|
3003
3047
|
}>, z.ZodObject<{
|
|
3004
3048
|
type: z.ZodLiteral<"pcb_hole">;
|
|
3005
3049
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3050
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3051
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3006
3052
|
hole_shape: z.ZodLiteral<"oval">;
|
|
3007
3053
|
hole_width: z.ZodNumber;
|
|
3008
3054
|
hole_height: z.ZodNumber;
|
|
@@ -3016,6 +3062,8 @@ declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
3016
3062
|
hole_shape: "oval";
|
|
3017
3063
|
hole_width: number;
|
|
3018
3064
|
hole_height: number;
|
|
3065
|
+
subcircuit_id?: string | undefined;
|
|
3066
|
+
pcb_group_id?: string | undefined;
|
|
3019
3067
|
}, {
|
|
3020
3068
|
x: string | number;
|
|
3021
3069
|
y: string | number;
|
|
@@ -3023,7 +3071,9 @@ declare const pcb_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
3023
3071
|
hole_shape: "oval";
|
|
3024
3072
|
hole_width: number;
|
|
3025
3073
|
hole_height: number;
|
|
3074
|
+
subcircuit_id?: string | undefined;
|
|
3026
3075
|
pcb_hole_id?: string | undefined;
|
|
3076
|
+
pcb_group_id?: string | undefined;
|
|
3027
3077
|
}>]>;
|
|
3028
3078
|
/**
|
|
3029
3079
|
* @deprecated Use PcbHoleCircleOrSquare or PcbHoleOval
|
|
@@ -3041,6 +3091,8 @@ type PcbHole = PcbHoleCircleOrSquare | PcbHoleOval;
|
|
|
3041
3091
|
interface PcbPlatedHoleCircle {
|
|
3042
3092
|
type: "pcb_plated_hole";
|
|
3043
3093
|
shape: "circle";
|
|
3094
|
+
pcb_group_id?: string;
|
|
3095
|
+
subcircuit_id?: string;
|
|
3044
3096
|
outer_diameter: number;
|
|
3045
3097
|
hole_diameter: number;
|
|
3046
3098
|
x: Distance;
|
|
@@ -3057,6 +3109,8 @@ interface PcbPlatedHoleCircle {
|
|
|
3057
3109
|
interface PcbPlatedHoleOval {
|
|
3058
3110
|
type: "pcb_plated_hole";
|
|
3059
3111
|
shape: "oval" | "pill";
|
|
3112
|
+
pcb_group_id?: string;
|
|
3113
|
+
subcircuit_id?: string;
|
|
3060
3114
|
outer_width: number;
|
|
3061
3115
|
outer_height: number;
|
|
3062
3116
|
hole_width: number;
|
|
@@ -3072,6 +3126,8 @@ interface PcbPlatedHoleOval {
|
|
|
3072
3126
|
interface PcbHoleCircularWithRectPad {
|
|
3073
3127
|
type: "pcb_plated_hole";
|
|
3074
3128
|
shape: "circular_hole_with_rect_pad";
|
|
3129
|
+
pcb_group_id?: string;
|
|
3130
|
+
subcircuit_id?: string;
|
|
3075
3131
|
hole_shape: "circle";
|
|
3076
3132
|
pad_shape: "rect";
|
|
3077
3133
|
hole_diameter: number;
|
|
@@ -3088,6 +3144,8 @@ interface PcbHoleCircularWithRectPad {
|
|
|
3088
3144
|
declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
3089
3145
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
3090
3146
|
shape: z.ZodLiteral<"circle">;
|
|
3147
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3148
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3091
3149
|
outer_diameter: z.ZodNumber;
|
|
3092
3150
|
hole_diameter: z.ZodNumber;
|
|
3093
3151
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3115,7 +3173,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
3115
3173
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
3116
3174
|
pcb_plated_hole_id: string;
|
|
3117
3175
|
port_hints?: string[] | undefined;
|
|
3176
|
+
subcircuit_id?: string | undefined;
|
|
3118
3177
|
pcb_component_id?: string | undefined;
|
|
3178
|
+
pcb_group_id?: string | undefined;
|
|
3119
3179
|
pcb_port_id?: string | undefined;
|
|
3120
3180
|
}, {
|
|
3121
3181
|
x: string | number;
|
|
@@ -3128,12 +3188,16 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
3128
3188
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3129
3189
|
})[];
|
|
3130
3190
|
port_hints?: string[] | undefined;
|
|
3191
|
+
subcircuit_id?: string | undefined;
|
|
3131
3192
|
pcb_component_id?: string | undefined;
|
|
3193
|
+
pcb_group_id?: string | undefined;
|
|
3132
3194
|
pcb_port_id?: string | undefined;
|
|
3133
3195
|
pcb_plated_hole_id?: string | undefined;
|
|
3134
3196
|
}>, z.ZodObject<{
|
|
3135
3197
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
3136
3198
|
shape: z.ZodEnum<["oval", "pill"]>;
|
|
3199
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3200
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3137
3201
|
outer_width: z.ZodNumber;
|
|
3138
3202
|
outer_height: z.ZodNumber;
|
|
3139
3203
|
hole_width: z.ZodNumber;
|
|
@@ -3165,7 +3229,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
3165
3229
|
outer_width: number;
|
|
3166
3230
|
outer_height: number;
|
|
3167
3231
|
port_hints?: string[] | undefined;
|
|
3232
|
+
subcircuit_id?: string | undefined;
|
|
3168
3233
|
pcb_component_id?: string | undefined;
|
|
3234
|
+
pcb_group_id?: string | undefined;
|
|
3169
3235
|
pcb_port_id?: string | undefined;
|
|
3170
3236
|
}, {
|
|
3171
3237
|
x: string | number;
|
|
@@ -3180,12 +3246,16 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
3180
3246
|
outer_width: number;
|
|
3181
3247
|
outer_height: number;
|
|
3182
3248
|
port_hints?: string[] | undefined;
|
|
3249
|
+
subcircuit_id?: string | undefined;
|
|
3183
3250
|
pcb_component_id?: string | undefined;
|
|
3251
|
+
pcb_group_id?: string | undefined;
|
|
3184
3252
|
pcb_port_id?: string | undefined;
|
|
3185
3253
|
pcb_plated_hole_id?: string | undefined;
|
|
3186
3254
|
}>, z.ZodObject<{
|
|
3187
3255
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
3188
3256
|
shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
|
|
3257
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3258
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3189
3259
|
hole_shape: z.ZodLiteral<"circle">;
|
|
3190
3260
|
pad_shape: z.ZodLiteral<"rect">;
|
|
3191
3261
|
hole_diameter: z.ZodNumber;
|
|
@@ -3219,7 +3289,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
3219
3289
|
rect_pad_width: number;
|
|
3220
3290
|
rect_pad_height: number;
|
|
3221
3291
|
port_hints?: string[] | undefined;
|
|
3292
|
+
subcircuit_id?: string | undefined;
|
|
3222
3293
|
pcb_component_id?: string | undefined;
|
|
3294
|
+
pcb_group_id?: string | undefined;
|
|
3223
3295
|
pcb_port_id?: string | undefined;
|
|
3224
3296
|
}, {
|
|
3225
3297
|
x: string | number;
|
|
@@ -3235,7 +3307,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
3235
3307
|
rect_pad_width: number;
|
|
3236
3308
|
rect_pad_height: number;
|
|
3237
3309
|
port_hints?: string[] | undefined;
|
|
3310
|
+
subcircuit_id?: string | undefined;
|
|
3238
3311
|
pcb_component_id?: string | undefined;
|
|
3312
|
+
pcb_group_id?: string | undefined;
|
|
3239
3313
|
pcb_port_id?: string | undefined;
|
|
3240
3314
|
pcb_plated_hole_id?: string | undefined;
|
|
3241
3315
|
}>]>;
|
|
@@ -3253,6 +3327,8 @@ type PcbPlatedHoleInput = z.input<typeof pcb_plated_hole>;
|
|
|
3253
3327
|
declare const pcb_port: z.ZodObject<{
|
|
3254
3328
|
type: z.ZodLiteral<"pcb_port">;
|
|
3255
3329
|
pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3330
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3331
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3256
3332
|
source_port_id: z.ZodString;
|
|
3257
3333
|
pcb_component_id: z.ZodString;
|
|
3258
3334
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3274,6 +3350,8 @@ declare const pcb_port: z.ZodObject<{
|
|
|
3274
3350
|
pcb_component_id: string;
|
|
3275
3351
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
3276
3352
|
pcb_port_id: string;
|
|
3353
|
+
subcircuit_id?: string | undefined;
|
|
3354
|
+
pcb_group_id?: string | undefined;
|
|
3277
3355
|
}, {
|
|
3278
3356
|
x: string | number;
|
|
3279
3357
|
y: string | number;
|
|
@@ -3283,6 +3361,8 @@ declare const pcb_port: z.ZodObject<{
|
|
|
3283
3361
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3284
3362
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3285
3363
|
})[];
|
|
3364
|
+
subcircuit_id?: string | undefined;
|
|
3365
|
+
pcb_group_id?: string | undefined;
|
|
3286
3366
|
pcb_port_id?: string | undefined;
|
|
3287
3367
|
}>;
|
|
3288
3368
|
type PcbPortInput = z.input<typeof pcb_port>;
|
|
@@ -3292,6 +3372,8 @@ type PcbPortInput = z.input<typeof pcb_port>;
|
|
|
3292
3372
|
interface PcbPort {
|
|
3293
3373
|
type: "pcb_port";
|
|
3294
3374
|
pcb_port_id: string;
|
|
3375
|
+
pcb_group_id?: string;
|
|
3376
|
+
subcircuit_id?: string;
|
|
3295
3377
|
source_port_id: string;
|
|
3296
3378
|
pcb_component_id: string;
|
|
3297
3379
|
x: Distance;
|
|
@@ -3307,10 +3389,62 @@ type PCBPort = PcbPort;
|
|
|
3307
3389
|
*/
|
|
3308
3390
|
type PCBPortInput = PcbPortInput;
|
|
3309
3391
|
|
|
3392
|
+
declare const pcb_smtpad_pill: z.ZodObject<{
|
|
3393
|
+
type: z.ZodLiteral<"pcb_smtpad">;
|
|
3394
|
+
shape: z.ZodLiteral<"pill">;
|
|
3395
|
+
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3396
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3397
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3398
|
+
width: z.ZodNumber;
|
|
3399
|
+
height: z.ZodNumber;
|
|
3400
|
+
radius: z.ZodNumber;
|
|
3401
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
3402
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
3403
|
+
}, "strip", z.ZodTypeAny, {
|
|
3404
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3405
|
+
}, {
|
|
3406
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3407
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3408
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3409
|
+
}>;
|
|
3410
|
+
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3411
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
3412
|
+
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
3413
|
+
}, "strip", z.ZodTypeAny, {
|
|
3414
|
+
x: number;
|
|
3415
|
+
y: number;
|
|
3416
|
+
type: "pcb_smtpad";
|
|
3417
|
+
width: number;
|
|
3418
|
+
height: number;
|
|
3419
|
+
shape: "pill";
|
|
3420
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3421
|
+
pcb_smtpad_id: string;
|
|
3422
|
+
radius: number;
|
|
3423
|
+
port_hints?: string[] | undefined;
|
|
3424
|
+
pcb_component_id?: string | undefined;
|
|
3425
|
+
pcb_port_id?: string | undefined;
|
|
3426
|
+
}, {
|
|
3427
|
+
x: string | number;
|
|
3428
|
+
y: string | number;
|
|
3429
|
+
type: "pcb_smtpad";
|
|
3430
|
+
width: number;
|
|
3431
|
+
height: number;
|
|
3432
|
+
shape: "pill";
|
|
3433
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3434
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3435
|
+
};
|
|
3436
|
+
radius: number;
|
|
3437
|
+
port_hints?: string[] | undefined;
|
|
3438
|
+
pcb_component_id?: string | undefined;
|
|
3439
|
+
pcb_port_id?: string | undefined;
|
|
3440
|
+
pcb_smtpad_id?: string | undefined;
|
|
3441
|
+
}>;
|
|
3310
3442
|
declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
3311
3443
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
3312
3444
|
shape: z.ZodLiteral<"circle">;
|
|
3313
3445
|
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3446
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3447
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3314
3448
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3315
3449
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3316
3450
|
radius: z.ZodNumber;
|
|
@@ -3335,7 +3469,9 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
3335
3469
|
pcb_smtpad_id: string;
|
|
3336
3470
|
radius: number;
|
|
3337
3471
|
port_hints?: string[] | undefined;
|
|
3472
|
+
subcircuit_id?: string | undefined;
|
|
3338
3473
|
pcb_component_id?: string | undefined;
|
|
3474
|
+
pcb_group_id?: string | undefined;
|
|
3339
3475
|
pcb_port_id?: string | undefined;
|
|
3340
3476
|
}, {
|
|
3341
3477
|
x: string | number;
|
|
@@ -3347,13 +3483,17 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
3347
3483
|
};
|
|
3348
3484
|
radius: number;
|
|
3349
3485
|
port_hints?: string[] | undefined;
|
|
3486
|
+
subcircuit_id?: string | undefined;
|
|
3350
3487
|
pcb_component_id?: string | undefined;
|
|
3488
|
+
pcb_group_id?: string | undefined;
|
|
3351
3489
|
pcb_port_id?: string | undefined;
|
|
3352
3490
|
pcb_smtpad_id?: string | undefined;
|
|
3353
3491
|
}>, z.ZodObject<{
|
|
3354
3492
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
3355
3493
|
shape: z.ZodLiteral<"rect">;
|
|
3356
3494
|
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3495
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3496
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3357
3497
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3358
3498
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3359
3499
|
width: z.ZodNumber;
|
|
@@ -3380,7 +3520,9 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
3380
3520
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3381
3521
|
pcb_smtpad_id: string;
|
|
3382
3522
|
port_hints?: string[] | undefined;
|
|
3523
|
+
subcircuit_id?: string | undefined;
|
|
3383
3524
|
pcb_component_id?: string | undefined;
|
|
3525
|
+
pcb_group_id?: string | undefined;
|
|
3384
3526
|
pcb_port_id?: string | undefined;
|
|
3385
3527
|
}, {
|
|
3386
3528
|
x: string | number;
|
|
@@ -3393,13 +3535,17 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
3393
3535
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3394
3536
|
};
|
|
3395
3537
|
port_hints?: string[] | undefined;
|
|
3538
|
+
subcircuit_id?: string | undefined;
|
|
3396
3539
|
pcb_component_id?: string | undefined;
|
|
3540
|
+
pcb_group_id?: string | undefined;
|
|
3397
3541
|
pcb_port_id?: string | undefined;
|
|
3398
3542
|
pcb_smtpad_id?: string | undefined;
|
|
3399
3543
|
}>, z.ZodObject<{
|
|
3400
3544
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
3401
3545
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
3402
3546
|
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3547
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3548
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3403
3549
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3404
3550
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3405
3551
|
width: z.ZodNumber;
|
|
@@ -3428,7 +3574,9 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
3428
3574
|
pcb_smtpad_id: string;
|
|
3429
3575
|
ccw_rotation: number;
|
|
3430
3576
|
port_hints?: string[] | undefined;
|
|
3577
|
+
subcircuit_id?: string | undefined;
|
|
3431
3578
|
pcb_component_id?: string | undefined;
|
|
3579
|
+
pcb_group_id?: string | undefined;
|
|
3432
3580
|
pcb_port_id?: string | undefined;
|
|
3433
3581
|
}, {
|
|
3434
3582
|
x: string | number;
|
|
@@ -3442,6 +3590,57 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
3442
3590
|
};
|
|
3443
3591
|
ccw_rotation: string | number;
|
|
3444
3592
|
port_hints?: string[] | undefined;
|
|
3593
|
+
subcircuit_id?: string | undefined;
|
|
3594
|
+
pcb_component_id?: string | undefined;
|
|
3595
|
+
pcb_group_id?: string | undefined;
|
|
3596
|
+
pcb_port_id?: string | undefined;
|
|
3597
|
+
pcb_smtpad_id?: string | undefined;
|
|
3598
|
+
}>, z.ZodObject<{
|
|
3599
|
+
type: z.ZodLiteral<"pcb_smtpad">;
|
|
3600
|
+
shape: z.ZodLiteral<"pill">;
|
|
3601
|
+
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3602
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3603
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3604
|
+
width: z.ZodNumber;
|
|
3605
|
+
height: z.ZodNumber;
|
|
3606
|
+
radius: z.ZodNumber;
|
|
3607
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
3608
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
3609
|
+
}, "strip", z.ZodTypeAny, {
|
|
3610
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3611
|
+
}, {
|
|
3612
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3613
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3614
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3615
|
+
}>;
|
|
3616
|
+
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3617
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
3618
|
+
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
3619
|
+
}, "strip", z.ZodTypeAny, {
|
|
3620
|
+
x: number;
|
|
3621
|
+
y: number;
|
|
3622
|
+
type: "pcb_smtpad";
|
|
3623
|
+
width: number;
|
|
3624
|
+
height: number;
|
|
3625
|
+
shape: "pill";
|
|
3626
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3627
|
+
pcb_smtpad_id: string;
|
|
3628
|
+
radius: number;
|
|
3629
|
+
port_hints?: string[] | undefined;
|
|
3630
|
+
pcb_component_id?: string | undefined;
|
|
3631
|
+
pcb_port_id?: string | undefined;
|
|
3632
|
+
}, {
|
|
3633
|
+
x: string | number;
|
|
3634
|
+
y: string | number;
|
|
3635
|
+
type: "pcb_smtpad";
|
|
3636
|
+
width: number;
|
|
3637
|
+
height: number;
|
|
3638
|
+
shape: "pill";
|
|
3639
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3640
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3641
|
+
};
|
|
3642
|
+
radius: number;
|
|
3643
|
+
port_hints?: string[] | undefined;
|
|
3445
3644
|
pcb_component_id?: string | undefined;
|
|
3446
3645
|
pcb_port_id?: string | undefined;
|
|
3447
3646
|
pcb_smtpad_id?: string | undefined;
|
|
@@ -3454,6 +3653,8 @@ interface PcbSmtPadCircle {
|
|
|
3454
3653
|
type: "pcb_smtpad";
|
|
3455
3654
|
shape: "circle";
|
|
3456
3655
|
pcb_smtpad_id: string;
|
|
3656
|
+
pcb_group_id?: string;
|
|
3657
|
+
subcircuit_id?: string;
|
|
3457
3658
|
x: Distance;
|
|
3458
3659
|
y: Distance;
|
|
3459
3660
|
radius: number;
|
|
@@ -3469,6 +3670,8 @@ interface PcbSmtPadRect {
|
|
|
3469
3670
|
type: "pcb_smtpad";
|
|
3470
3671
|
shape: "rect";
|
|
3471
3672
|
pcb_smtpad_id: string;
|
|
3673
|
+
pcb_group_id?: string;
|
|
3674
|
+
subcircuit_id?: string;
|
|
3472
3675
|
x: Distance;
|
|
3473
3676
|
y: Distance;
|
|
3474
3677
|
width: number;
|
|
@@ -3485,6 +3688,8 @@ interface PcbSmtPadRotatedRect {
|
|
|
3485
3688
|
type: "pcb_smtpad";
|
|
3486
3689
|
shape: "rotated_rect";
|
|
3487
3690
|
pcb_smtpad_id: string;
|
|
3691
|
+
pcb_group_id?: string;
|
|
3692
|
+
subcircuit_id?: string;
|
|
3488
3693
|
x: Distance;
|
|
3489
3694
|
y: Distance;
|
|
3490
3695
|
width: number;
|
|
@@ -3495,7 +3700,24 @@ interface PcbSmtPadRotatedRect {
|
|
|
3495
3700
|
pcb_component_id?: string;
|
|
3496
3701
|
pcb_port_id?: string;
|
|
3497
3702
|
}
|
|
3498
|
-
|
|
3703
|
+
/**
|
|
3704
|
+
* Defines a pill-shaped SMT pad on the PCB (rounded rectangle).
|
|
3705
|
+
*/
|
|
3706
|
+
interface PcbSmtPadPill {
|
|
3707
|
+
type: "pcb_smtpad";
|
|
3708
|
+
shape: "pill";
|
|
3709
|
+
pcb_smtpad_id: string;
|
|
3710
|
+
x: Distance;
|
|
3711
|
+
y: Distance;
|
|
3712
|
+
width: number;
|
|
3713
|
+
height: number;
|
|
3714
|
+
radius: number;
|
|
3715
|
+
layer: LayerRef;
|
|
3716
|
+
port_hints?: string[];
|
|
3717
|
+
pcb_component_id?: string;
|
|
3718
|
+
pcb_port_id?: string;
|
|
3719
|
+
}
|
|
3720
|
+
type PcbSmtPad = PcbSmtPadCircle | PcbSmtPadRect | PcbSmtPadRotatedRect | PcbSmtPadPill;
|
|
3499
3721
|
/**
|
|
3500
3722
|
* @deprecated use PcbSmtPad
|
|
3501
3723
|
*/
|
|
@@ -3505,6 +3727,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
3505
3727
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
3506
3728
|
shape: z.ZodLiteral<"circle">;
|
|
3507
3729
|
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3730
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3731
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3508
3732
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3509
3733
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3510
3734
|
radius: z.ZodNumber;
|
|
@@ -3527,7 +3751,9 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
3527
3751
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3528
3752
|
radius: number;
|
|
3529
3753
|
pcb_solder_paste_id: string;
|
|
3754
|
+
subcircuit_id?: string | undefined;
|
|
3530
3755
|
pcb_component_id?: string | undefined;
|
|
3756
|
+
pcb_group_id?: string | undefined;
|
|
3531
3757
|
pcb_smtpad_id?: string | undefined;
|
|
3532
3758
|
}, {
|
|
3533
3759
|
x: string | number;
|
|
@@ -3538,13 +3764,17 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
3538
3764
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3539
3765
|
};
|
|
3540
3766
|
radius: number;
|
|
3767
|
+
subcircuit_id?: string | undefined;
|
|
3541
3768
|
pcb_component_id?: string | undefined;
|
|
3769
|
+
pcb_group_id?: string | undefined;
|
|
3542
3770
|
pcb_smtpad_id?: string | undefined;
|
|
3543
3771
|
pcb_solder_paste_id?: string | undefined;
|
|
3544
3772
|
}>, z.ZodObject<{
|
|
3545
3773
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
3546
3774
|
shape: z.ZodLiteral<"rect">;
|
|
3547
3775
|
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3776
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3777
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3548
3778
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3549
3779
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
3550
3780
|
width: z.ZodNumber;
|
|
@@ -3569,7 +3799,9 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
3569
3799
|
shape: "rect";
|
|
3570
3800
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3571
3801
|
pcb_solder_paste_id: string;
|
|
3802
|
+
subcircuit_id?: string | undefined;
|
|
3572
3803
|
pcb_component_id?: string | undefined;
|
|
3804
|
+
pcb_group_id?: string | undefined;
|
|
3573
3805
|
pcb_smtpad_id?: string | undefined;
|
|
3574
3806
|
}, {
|
|
3575
3807
|
x: string | number;
|
|
@@ -3581,7 +3813,9 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
3581
3813
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
3582
3814
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
3583
3815
|
};
|
|
3816
|
+
subcircuit_id?: string | undefined;
|
|
3584
3817
|
pcb_component_id?: string | undefined;
|
|
3818
|
+
pcb_group_id?: string | undefined;
|
|
3585
3819
|
pcb_smtpad_id?: string | undefined;
|
|
3586
3820
|
pcb_solder_paste_id?: string | undefined;
|
|
3587
3821
|
}>]>;
|
|
@@ -3593,6 +3827,8 @@ interface PcbSolderPasteCircle {
|
|
|
3593
3827
|
type: "pcb_solder_paste";
|
|
3594
3828
|
shape: "circle";
|
|
3595
3829
|
pcb_solder_paste_id: string;
|
|
3830
|
+
pcb_group_id?: string;
|
|
3831
|
+
subcircuit_id?: string;
|
|
3596
3832
|
x: Distance;
|
|
3597
3833
|
y: Distance;
|
|
3598
3834
|
radius: number;
|
|
@@ -3607,6 +3843,8 @@ interface PcbSolderPasteRect {
|
|
|
3607
3843
|
type: "pcb_solder_paste";
|
|
3608
3844
|
shape: "rect";
|
|
3609
3845
|
pcb_solder_paste_id: string;
|
|
3846
|
+
pcb_group_id?: string;
|
|
3847
|
+
subcircuit_id?: string;
|
|
3610
3848
|
x: Distance;
|
|
3611
3849
|
y: Distance;
|
|
3612
3850
|
width: number;
|
|
@@ -3620,6 +3858,8 @@ type PcbSolderPaste = PcbSolderPasteCircle | PcbSolderPasteRect;
|
|
|
3620
3858
|
declare const pcb_text: z.ZodObject<{
|
|
3621
3859
|
type: z.ZodLiteral<"pcb_text">;
|
|
3622
3860
|
pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3861
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
3862
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3623
3863
|
text: z.ZodString;
|
|
3624
3864
|
center: z.ZodObject<{
|
|
3625
3865
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -3657,6 +3897,8 @@ declare const pcb_text: z.ZodObject<{
|
|
|
3657
3897
|
pcb_text_id: string;
|
|
3658
3898
|
lines: number;
|
|
3659
3899
|
align: "bottom-left";
|
|
3900
|
+
subcircuit_id?: string | undefined;
|
|
3901
|
+
pcb_group_id?: string | undefined;
|
|
3660
3902
|
}, {
|
|
3661
3903
|
type: "pcb_text";
|
|
3662
3904
|
width: string | number;
|
|
@@ -3671,6 +3913,8 @@ declare const pcb_text: z.ZodObject<{
|
|
|
3671
3913
|
};
|
|
3672
3914
|
lines: number;
|
|
3673
3915
|
align: "bottom-left";
|
|
3916
|
+
subcircuit_id?: string | undefined;
|
|
3917
|
+
pcb_group_id?: string | undefined;
|
|
3674
3918
|
pcb_text_id?: string | undefined;
|
|
3675
3919
|
}>;
|
|
3676
3920
|
type PcbTextInput = z.input<typeof pcb_text>;
|
|
@@ -3680,6 +3924,8 @@ type PcbTextInput = z.input<typeof pcb_text>;
|
|
|
3680
3924
|
interface PcbText {
|
|
3681
3925
|
type: "pcb_text";
|
|
3682
3926
|
pcb_text_id: string;
|
|
3927
|
+
pcb_group_id?: string;
|
|
3928
|
+
subcircuit_id?: string;
|
|
3683
3929
|
text: string;
|
|
3684
3930
|
center: Point;
|
|
3685
3931
|
layer: LayerRef;
|
|
@@ -3805,6 +4051,8 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
3805
4051
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
3806
4052
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
3807
4053
|
pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4054
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4055
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
3808
4056
|
route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
|
|
3809
4057
|
route_order_index: z.ZodOptional<z.ZodNumber>;
|
|
3810
4058
|
should_round_corners: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3881,7 +4129,9 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
3881
4129
|
from_layer: string;
|
|
3882
4130
|
})[];
|
|
3883
4131
|
source_trace_id?: string | undefined;
|
|
4132
|
+
subcircuit_id?: string | undefined;
|
|
3884
4133
|
pcb_component_id?: string | undefined;
|
|
4134
|
+
pcb_group_id?: string | undefined;
|
|
3885
4135
|
route_thickness_mode?: "constant" | "interpolated" | undefined;
|
|
3886
4136
|
route_order_index?: number | undefined;
|
|
3887
4137
|
should_round_corners?: boolean | undefined;
|
|
@@ -3906,7 +4156,9 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
3906
4156
|
from_layer: string;
|
|
3907
4157
|
})[];
|
|
3908
4158
|
source_trace_id?: string | undefined;
|
|
4159
|
+
subcircuit_id?: string | undefined;
|
|
3909
4160
|
pcb_component_id?: string | undefined;
|
|
4161
|
+
pcb_group_id?: string | undefined;
|
|
3910
4162
|
pcb_trace_id?: string | undefined;
|
|
3911
4163
|
route_thickness_mode?: "constant" | "interpolated" | undefined;
|
|
3912
4164
|
route_order_index?: number | undefined;
|
|
@@ -3938,6 +4190,8 @@ interface PcbTrace {
|
|
|
3938
4190
|
type: "pcb_trace";
|
|
3939
4191
|
source_trace_id?: string;
|
|
3940
4192
|
pcb_component_id?: string;
|
|
4193
|
+
pcb_group_id?: string;
|
|
4194
|
+
subcircuit_id?: string;
|
|
3941
4195
|
pcb_trace_id: string;
|
|
3942
4196
|
/**
|
|
3943
4197
|
* The order that this trace was routed in. This can be used to debug the
|
|
@@ -4060,6 +4314,8 @@ type PCBPortNotMatchedError = PcbPortNotMatchedError;
|
|
|
4060
4314
|
declare const pcb_via: z.ZodObject<{
|
|
4061
4315
|
type: z.ZodLiteral<"pcb_via">;
|
|
4062
4316
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4317
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4318
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4063
4319
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4064
4320
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4065
4321
|
outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -4102,7 +4358,9 @@ declare const pcb_via: z.ZodObject<{
|
|
|
4102
4358
|
outer_diameter: number;
|
|
4103
4359
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
4104
4360
|
pcb_via_id: string;
|
|
4361
|
+
subcircuit_id?: string | undefined;
|
|
4105
4362
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4363
|
+
pcb_group_id?: string | undefined;
|
|
4106
4364
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
4107
4365
|
pcb_trace_id?: string | undefined;
|
|
4108
4366
|
}, {
|
|
@@ -4112,9 +4370,11 @@ declare const pcb_via: z.ZodObject<{
|
|
|
4112
4370
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4113
4371
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4114
4372
|
})[];
|
|
4373
|
+
subcircuit_id?: string | undefined;
|
|
4115
4374
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4116
4375
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4117
4376
|
} | undefined;
|
|
4377
|
+
pcb_group_id?: string | undefined;
|
|
4118
4378
|
hole_diameter?: string | number | undefined;
|
|
4119
4379
|
outer_diameter?: string | number | undefined;
|
|
4120
4380
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
@@ -4130,6 +4390,8 @@ type PcbViaInput = z.input<typeof pcb_via>;
|
|
|
4130
4390
|
interface PcbVia {
|
|
4131
4391
|
type: "pcb_via";
|
|
4132
4392
|
pcb_via_id: string;
|
|
4393
|
+
pcb_group_id?: string;
|
|
4394
|
+
subcircuit_id?: string;
|
|
4133
4395
|
x: Distance;
|
|
4134
4396
|
y: Distance;
|
|
4135
4397
|
outer_diameter: Distance;
|
|
@@ -4149,6 +4411,8 @@ type PCBVia = PcbVia;
|
|
|
4149
4411
|
declare const pcb_board: z.ZodObject<{
|
|
4150
4412
|
type: z.ZodLiteral<"pcb_board">;
|
|
4151
4413
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4414
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
4415
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4152
4416
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4153
4417
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4154
4418
|
center: z.ZodObject<{
|
|
@@ -4184,6 +4448,8 @@ declare const pcb_board: z.ZodObject<{
|
|
|
4184
4448
|
pcb_board_id: string;
|
|
4185
4449
|
thickness: number;
|
|
4186
4450
|
num_layers: number;
|
|
4451
|
+
subcircuit_id?: string | undefined;
|
|
4452
|
+
is_subcircuit?: boolean | undefined;
|
|
4187
4453
|
outline?: {
|
|
4188
4454
|
x: number;
|
|
4189
4455
|
y: number;
|
|
@@ -4196,6 +4462,8 @@ declare const pcb_board: z.ZodObject<{
|
|
|
4196
4462
|
x: string | number;
|
|
4197
4463
|
y: string | number;
|
|
4198
4464
|
};
|
|
4465
|
+
subcircuit_id?: string | undefined;
|
|
4466
|
+
is_subcircuit?: boolean | undefined;
|
|
4199
4467
|
pcb_board_id?: string | undefined;
|
|
4200
4468
|
thickness?: string | number | undefined;
|
|
4201
4469
|
num_layers?: number | undefined;
|
|
@@ -4210,6 +4478,8 @@ declare const pcb_board: z.ZodObject<{
|
|
|
4210
4478
|
interface PcbBoard {
|
|
4211
4479
|
type: "pcb_board";
|
|
4212
4480
|
pcb_board_id: string;
|
|
4481
|
+
is_subcircuit?: boolean;
|
|
4482
|
+
subcircuit_id?: string;
|
|
4213
4483
|
width: Length;
|
|
4214
4484
|
height: Length;
|
|
4215
4485
|
thickness: Length;
|
|
@@ -4331,6 +4601,8 @@ declare const pcb_silkscreen_line: z.ZodObject<{
|
|
|
4331
4601
|
type: z.ZodLiteral<"pcb_silkscreen_line">;
|
|
4332
4602
|
pcb_silkscreen_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4333
4603
|
pcb_component_id: z.ZodString;
|
|
4604
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4605
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4334
4606
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4335
4607
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4336
4608
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4347,6 +4619,8 @@ declare const pcb_silkscreen_line: z.ZodObject<{
|
|
|
4347
4619
|
layer: "top" | "bottom";
|
|
4348
4620
|
pcb_silkscreen_line_id: string;
|
|
4349
4621
|
stroke_width: number;
|
|
4622
|
+
subcircuit_id?: string | undefined;
|
|
4623
|
+
pcb_group_id?: string | undefined;
|
|
4350
4624
|
}, {
|
|
4351
4625
|
type: "pcb_silkscreen_line";
|
|
4352
4626
|
x1: string | number;
|
|
@@ -4355,6 +4629,8 @@ declare const pcb_silkscreen_line: z.ZodObject<{
|
|
|
4355
4629
|
y2: string | number;
|
|
4356
4630
|
pcb_component_id: string;
|
|
4357
4631
|
layer: "top" | "bottom";
|
|
4632
|
+
subcircuit_id?: string | undefined;
|
|
4633
|
+
pcb_group_id?: string | undefined;
|
|
4358
4634
|
pcb_silkscreen_line_id?: string | undefined;
|
|
4359
4635
|
stroke_width?: string | number | undefined;
|
|
4360
4636
|
}>;
|
|
@@ -4366,6 +4642,8 @@ interface PcbSilkscreenLine {
|
|
|
4366
4642
|
type: "pcb_silkscreen_line";
|
|
4367
4643
|
pcb_silkscreen_line_id: string;
|
|
4368
4644
|
pcb_component_id: string;
|
|
4645
|
+
pcb_group_id?: string;
|
|
4646
|
+
subcircuit_id?: string;
|
|
4369
4647
|
stroke_width: Distance;
|
|
4370
4648
|
x1: Distance;
|
|
4371
4649
|
y1: Distance;
|
|
@@ -4382,6 +4660,8 @@ declare const pcb_silkscreen_path: z.ZodObject<{
|
|
|
4382
4660
|
type: z.ZodLiteral<"pcb_silkscreen_path">;
|
|
4383
4661
|
pcb_silkscreen_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4384
4662
|
pcb_component_id: z.ZodString;
|
|
4663
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4664
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4385
4665
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
4386
4666
|
route: z.ZodArray<z.ZodObject<{
|
|
4387
4667
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4404,6 +4684,8 @@ declare const pcb_silkscreen_path: z.ZodObject<{
|
|
|
4404
4684
|
}[];
|
|
4405
4685
|
stroke_width: number;
|
|
4406
4686
|
pcb_silkscreen_path_id: string;
|
|
4687
|
+
subcircuit_id?: string | undefined;
|
|
4688
|
+
pcb_group_id?: string | undefined;
|
|
4407
4689
|
}, {
|
|
4408
4690
|
type: "pcb_silkscreen_path";
|
|
4409
4691
|
pcb_component_id: string;
|
|
@@ -4413,6 +4695,8 @@ declare const pcb_silkscreen_path: z.ZodObject<{
|
|
|
4413
4695
|
y: string | number;
|
|
4414
4696
|
}[];
|
|
4415
4697
|
stroke_width: string | number;
|
|
4698
|
+
subcircuit_id?: string | undefined;
|
|
4699
|
+
pcb_group_id?: string | undefined;
|
|
4416
4700
|
pcb_silkscreen_path_id?: string | undefined;
|
|
4417
4701
|
}>;
|
|
4418
4702
|
type PcbSilkscreenPathInput = z.input<typeof pcb_silkscreen_path>;
|
|
@@ -4423,6 +4707,8 @@ interface PcbSilkscreenPath {
|
|
|
4423
4707
|
type: "pcb_silkscreen_path";
|
|
4424
4708
|
pcb_silkscreen_path_id: string;
|
|
4425
4709
|
pcb_component_id: string;
|
|
4710
|
+
pcb_group_id?: string;
|
|
4711
|
+
subcircuit_id?: string;
|
|
4426
4712
|
layer: VisibleLayerRef;
|
|
4427
4713
|
route: Point[];
|
|
4428
4714
|
stroke_width: Length;
|
|
@@ -4435,6 +4721,8 @@ type PcbSilkscreenPathDeprecated = PcbSilkscreenPath;
|
|
|
4435
4721
|
declare const pcb_silkscreen_text: z.ZodObject<{
|
|
4436
4722
|
type: z.ZodLiteral<"pcb_silkscreen_text">;
|
|
4437
4723
|
pcb_silkscreen_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4724
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4725
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4438
4726
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
4439
4727
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4440
4728
|
pcb_component_id: z.ZodString;
|
|
@@ -4474,6 +4762,8 @@ declare const pcb_silkscreen_text: z.ZodObject<{
|
|
|
4474
4762
|
font: "tscircuit2024";
|
|
4475
4763
|
font_size: number;
|
|
4476
4764
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
4765
|
+
subcircuit_id?: string | undefined;
|
|
4766
|
+
pcb_group_id?: string | undefined;
|
|
4477
4767
|
ccw_rotation?: number | undefined;
|
|
4478
4768
|
is_mirrored?: boolean | undefined;
|
|
4479
4769
|
}, {
|
|
@@ -4483,10 +4773,12 @@ declare const pcb_silkscreen_text: z.ZodObject<{
|
|
|
4483
4773
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4484
4774
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4485
4775
|
};
|
|
4776
|
+
subcircuit_id?: string | undefined;
|
|
4486
4777
|
anchor_position?: {
|
|
4487
4778
|
x: string | number;
|
|
4488
4779
|
y: string | number;
|
|
4489
4780
|
} | undefined;
|
|
4781
|
+
pcb_group_id?: string | undefined;
|
|
4490
4782
|
ccw_rotation?: number | undefined;
|
|
4491
4783
|
pcb_silkscreen_text_id?: string | undefined;
|
|
4492
4784
|
font?: "tscircuit2024" | undefined;
|
|
@@ -4501,6 +4793,8 @@ type PcbSilkscreenTextInput = z.input<typeof pcb_silkscreen_text>;
|
|
|
4501
4793
|
interface PcbSilkscreenText {
|
|
4502
4794
|
type: "pcb_silkscreen_text";
|
|
4503
4795
|
pcb_silkscreen_text_id: string;
|
|
4796
|
+
pcb_group_id?: string;
|
|
4797
|
+
subcircuit_id?: string;
|
|
4504
4798
|
font: "tscircuit2024";
|
|
4505
4799
|
font_size: Length;
|
|
4506
4800
|
pcb_component_id: string;
|
|
@@ -4520,6 +4814,8 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
|
|
|
4520
4814
|
type: z.ZodLiteral<"pcb_silkscreen_rect">;
|
|
4521
4815
|
pcb_silkscreen_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4522
4816
|
pcb_component_id: z.ZodString;
|
|
4817
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4818
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4523
4819
|
center: z.ZodObject<{
|
|
4524
4820
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4525
4821
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4552,6 +4848,8 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
|
|
|
4552
4848
|
pcb_component_id: string;
|
|
4553
4849
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4554
4850
|
pcb_silkscreen_rect_id: string;
|
|
4851
|
+
subcircuit_id?: string | undefined;
|
|
4852
|
+
pcb_group_id?: string | undefined;
|
|
4555
4853
|
}, {
|
|
4556
4854
|
type: "pcb_silkscreen_rect";
|
|
4557
4855
|
width: string | number;
|
|
@@ -4564,6 +4862,8 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
|
|
|
4564
4862
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4565
4863
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4566
4864
|
};
|
|
4865
|
+
subcircuit_id?: string | undefined;
|
|
4866
|
+
pcb_group_id?: string | undefined;
|
|
4567
4867
|
pcb_silkscreen_rect_id?: string | undefined;
|
|
4568
4868
|
}>;
|
|
4569
4869
|
type PcbSilkscreenRectInput = z.input<typeof pcb_silkscreen_rect>;
|
|
@@ -4574,6 +4874,8 @@ interface PcbSilkscreenRect {
|
|
|
4574
4874
|
type: "pcb_silkscreen_rect";
|
|
4575
4875
|
pcb_silkscreen_rect_id: string;
|
|
4576
4876
|
pcb_component_id: string;
|
|
4877
|
+
pcb_group_id?: string;
|
|
4878
|
+
subcircuit_id?: string;
|
|
4577
4879
|
center: Point;
|
|
4578
4880
|
width: Length;
|
|
4579
4881
|
height: Length;
|
|
@@ -4588,6 +4890,8 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
|
|
|
4588
4890
|
type: z.ZodLiteral<"pcb_silkscreen_circle">;
|
|
4589
4891
|
pcb_silkscreen_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4590
4892
|
pcb_component_id: z.ZodString;
|
|
4893
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4894
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4591
4895
|
center: z.ZodObject<{
|
|
4592
4896
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4593
4897
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4610,6 +4914,8 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
|
|
|
4610
4914
|
layer: "top" | "bottom";
|
|
4611
4915
|
radius: number;
|
|
4612
4916
|
pcb_silkscreen_circle_id: string;
|
|
4917
|
+
subcircuit_id?: string | undefined;
|
|
4918
|
+
pcb_group_id?: string | undefined;
|
|
4613
4919
|
}, {
|
|
4614
4920
|
type: "pcb_silkscreen_circle";
|
|
4615
4921
|
center: {
|
|
@@ -4619,6 +4925,8 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
|
|
|
4619
4925
|
pcb_component_id: string;
|
|
4620
4926
|
layer: "top" | "bottom";
|
|
4621
4927
|
radius: string | number;
|
|
4928
|
+
subcircuit_id?: string | undefined;
|
|
4929
|
+
pcb_group_id?: string | undefined;
|
|
4622
4930
|
pcb_silkscreen_circle_id?: string | undefined;
|
|
4623
4931
|
}>;
|
|
4624
4932
|
type PcbSilkscreenCircleInput = z.input<typeof pcb_silkscreen_circle>;
|
|
@@ -4629,6 +4937,8 @@ interface PcbSilkscreenCircle {
|
|
|
4629
4937
|
type: "pcb_silkscreen_circle";
|
|
4630
4938
|
pcb_silkscreen_circle_id: string;
|
|
4631
4939
|
pcb_component_id: string;
|
|
4940
|
+
pcb_group_id?: string;
|
|
4941
|
+
subcircuit_id?: string;
|
|
4632
4942
|
center: Point;
|
|
4633
4943
|
radius: Length;
|
|
4634
4944
|
layer: VisibleLayer;
|
|
@@ -4638,6 +4948,8 @@ declare const pcb_silkscreen_oval: z.ZodObject<{
|
|
|
4638
4948
|
type: z.ZodLiteral<"pcb_silkscreen_oval">;
|
|
4639
4949
|
pcb_silkscreen_oval_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4640
4950
|
pcb_component_id: z.ZodString;
|
|
4951
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4952
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4641
4953
|
center: z.ZodObject<{
|
|
4642
4954
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4643
4955
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4662,6 +4974,8 @@ declare const pcb_silkscreen_oval: z.ZodObject<{
|
|
|
4662
4974
|
pcb_silkscreen_oval_id: string;
|
|
4663
4975
|
radius_x: number;
|
|
4664
4976
|
radius_y: number;
|
|
4977
|
+
subcircuit_id?: string | undefined;
|
|
4978
|
+
pcb_group_id?: string | undefined;
|
|
4665
4979
|
}, {
|
|
4666
4980
|
type: "pcb_silkscreen_oval";
|
|
4667
4981
|
center: {
|
|
@@ -4672,6 +4986,8 @@ declare const pcb_silkscreen_oval: z.ZodObject<{
|
|
|
4672
4986
|
layer: "top" | "bottom";
|
|
4673
4987
|
radius_x: string | number;
|
|
4674
4988
|
radius_y: string | number;
|
|
4989
|
+
subcircuit_id?: string | undefined;
|
|
4990
|
+
pcb_group_id?: string | undefined;
|
|
4675
4991
|
pcb_silkscreen_oval_id?: string | undefined;
|
|
4676
4992
|
}>;
|
|
4677
4993
|
type PcbSilkscreenOvalInput = z.input<typeof pcb_silkscreen_oval>;
|
|
@@ -4682,6 +4998,8 @@ interface PcbSilkscreenOval {
|
|
|
4682
4998
|
type: "pcb_silkscreen_oval";
|
|
4683
4999
|
pcb_silkscreen_oval_id: string;
|
|
4684
5000
|
pcb_component_id: string;
|
|
5001
|
+
pcb_group_id?: string;
|
|
5002
|
+
subcircuit_id?: string;
|
|
4685
5003
|
center: Point;
|
|
4686
5004
|
radius_x: Distance;
|
|
4687
5005
|
radius_y: Distance;
|
|
@@ -4695,6 +5013,8 @@ type PcbSilkscreenOvalDeprecated = PcbSilkscreenOval;
|
|
|
4695
5013
|
declare const pcb_fabrication_note_text: z.ZodObject<{
|
|
4696
5014
|
type: z.ZodLiteral<"pcb_fabrication_note_text">;
|
|
4697
5015
|
pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5016
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5017
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
4698
5018
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
4699
5019
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
4700
5020
|
pcb_component_id: z.ZodString;
|
|
@@ -4725,17 +5045,21 @@ declare const pcb_fabrication_note_text: z.ZodObject<{
|
|
|
4725
5045
|
font_size: number;
|
|
4726
5046
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
4727
5047
|
pcb_fabrication_note_text_id: string;
|
|
5048
|
+
subcircuit_id?: string | undefined;
|
|
4728
5049
|
color?: string | undefined;
|
|
5050
|
+
pcb_group_id?: string | undefined;
|
|
4729
5051
|
}, {
|
|
4730
5052
|
type: "pcb_fabrication_note_text";
|
|
4731
5053
|
text: string;
|
|
4732
5054
|
pcb_component_id: string;
|
|
4733
5055
|
layer: "top" | "bottom";
|
|
5056
|
+
subcircuit_id?: string | undefined;
|
|
4734
5057
|
color?: string | undefined;
|
|
4735
5058
|
anchor_position?: {
|
|
4736
5059
|
x: string | number;
|
|
4737
5060
|
y: string | number;
|
|
4738
5061
|
} | undefined;
|
|
5062
|
+
pcb_group_id?: string | undefined;
|
|
4739
5063
|
font?: "tscircuit2024" | undefined;
|
|
4740
5064
|
font_size?: string | number | undefined;
|
|
4741
5065
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
@@ -4748,6 +5072,8 @@ type PcbFabricationNoteTextInput = z.input<typeof pcb_fabrication_note_text>;
|
|
|
4748
5072
|
interface PcbFabricationNoteText {
|
|
4749
5073
|
type: "pcb_fabrication_note_text";
|
|
4750
5074
|
pcb_fabrication_note_text_id: string;
|
|
5075
|
+
subcircuit_id?: string;
|
|
5076
|
+
pcb_group_id?: string;
|
|
4751
5077
|
font: "tscircuit2024";
|
|
4752
5078
|
font_size: Length;
|
|
4753
5079
|
pcb_component_id: string;
|
|
@@ -4766,6 +5092,7 @@ declare const pcb_fabrication_note_path: z.ZodObject<{
|
|
|
4766
5092
|
type: z.ZodLiteral<"pcb_fabrication_note_path">;
|
|
4767
5093
|
pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4768
5094
|
pcb_component_id: z.ZodString;
|
|
5095
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4769
5096
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
4770
5097
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
4771
5098
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4797,6 +5124,7 @@ declare const pcb_fabrication_note_path: z.ZodObject<{
|
|
|
4797
5124
|
}[];
|
|
4798
5125
|
stroke_width: number;
|
|
4799
5126
|
pcb_fabrication_note_path_id: string;
|
|
5127
|
+
subcircuit_id?: string | undefined;
|
|
4800
5128
|
color?: string | undefined;
|
|
4801
5129
|
}, {
|
|
4802
5130
|
type: "pcb_fabrication_note_path";
|
|
@@ -4809,6 +5137,7 @@ declare const pcb_fabrication_note_path: z.ZodObject<{
|
|
|
4809
5137
|
y: string | number;
|
|
4810
5138
|
}[];
|
|
4811
5139
|
stroke_width: string | number;
|
|
5140
|
+
subcircuit_id?: string | undefined;
|
|
4812
5141
|
color?: string | undefined;
|
|
4813
5142
|
pcb_fabrication_note_path_id?: string | undefined;
|
|
4814
5143
|
}>;
|
|
@@ -4820,6 +5149,7 @@ interface PcbFabricationNotePath {
|
|
|
4820
5149
|
type: "pcb_fabrication_note_path";
|
|
4821
5150
|
pcb_fabrication_note_path_id: string;
|
|
4822
5151
|
pcb_component_id: string;
|
|
5152
|
+
subcircuit_id?: string;
|
|
4823
5153
|
layer: LayerRef;
|
|
4824
5154
|
route: Point[];
|
|
4825
5155
|
stroke_width: Length;
|
|
@@ -4833,6 +5163,8 @@ type PCBFabricationNotePath = PcbFabricationNotePath;
|
|
|
4833
5163
|
declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
4834
5164
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
4835
5165
|
shape: z.ZodLiteral<"rect">;
|
|
5166
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
5167
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4836
5168
|
center: z.ZodObject<{
|
|
4837
5169
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4838
5170
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4860,6 +5192,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
4860
5192
|
layers: string[];
|
|
4861
5193
|
pcb_keepout_id: string;
|
|
4862
5194
|
description?: string | undefined;
|
|
5195
|
+
subcircuit_id?: string | undefined;
|
|
5196
|
+
pcb_group_id?: string | undefined;
|
|
4863
5197
|
}, {
|
|
4864
5198
|
type: "pcb_keepout";
|
|
4865
5199
|
width: string | number;
|
|
@@ -4872,9 +5206,13 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
4872
5206
|
layers: string[];
|
|
4873
5207
|
pcb_keepout_id: string;
|
|
4874
5208
|
description?: string | undefined;
|
|
5209
|
+
subcircuit_id?: string | undefined;
|
|
5210
|
+
pcb_group_id?: string | undefined;
|
|
4875
5211
|
}>, z.ZodObject<{
|
|
4876
5212
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
4877
5213
|
shape: z.ZodLiteral<"circle">;
|
|
5214
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
5215
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4878
5216
|
center: z.ZodObject<{
|
|
4879
5217
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4880
5218
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -4900,6 +5238,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
4900
5238
|
radius: number;
|
|
4901
5239
|
pcb_keepout_id: string;
|
|
4902
5240
|
description?: string | undefined;
|
|
5241
|
+
subcircuit_id?: string | undefined;
|
|
5242
|
+
pcb_group_id?: string | undefined;
|
|
4903
5243
|
}, {
|
|
4904
5244
|
type: "pcb_keepout";
|
|
4905
5245
|
center: {
|
|
@@ -4911,6 +5251,8 @@ declare const pcb_keepout: z.ZodUnion<[z.ZodObject<{
|
|
|
4911
5251
|
radius: string | number;
|
|
4912
5252
|
pcb_keepout_id: string;
|
|
4913
5253
|
description?: string | undefined;
|
|
5254
|
+
subcircuit_id?: string | undefined;
|
|
5255
|
+
pcb_group_id?: string | undefined;
|
|
4914
5256
|
}>]>;
|
|
4915
5257
|
type PCBKeepoutInput = z.input<typeof pcb_keepout>;
|
|
4916
5258
|
type PCBKeepout = z.infer<typeof pcb_keepout>;
|
|
@@ -4918,6 +5260,8 @@ type PCBKeepout = z.infer<typeof pcb_keepout>;
|
|
|
4918
5260
|
declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
4919
5261
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
4920
5262
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5263
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
5264
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4921
5265
|
error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
4922
5266
|
source_component_id: z.ZodString;
|
|
4923
5267
|
message: z.ZodString;
|
|
@@ -4927,11 +5271,15 @@ declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
|
4927
5271
|
source_component_id: string;
|
|
4928
5272
|
error_type: "pcb_missing_footprint_error";
|
|
4929
5273
|
pcb_missing_footprint_error_id: string;
|
|
5274
|
+
subcircuit_id?: string | undefined;
|
|
5275
|
+
pcb_group_id?: string | undefined;
|
|
4930
5276
|
}, {
|
|
4931
5277
|
message: string;
|
|
4932
5278
|
type: "pcb_missing_footprint_error";
|
|
4933
5279
|
source_component_id: string;
|
|
4934
5280
|
error_type: "pcb_missing_footprint_error";
|
|
5281
|
+
subcircuit_id?: string | undefined;
|
|
5282
|
+
pcb_group_id?: string | undefined;
|
|
4935
5283
|
pcb_missing_footprint_error_id?: string | undefined;
|
|
4936
5284
|
}>;
|
|
4937
5285
|
type PcbMissingFootprintErrorInput = z.input<typeof pcb_missing_footprint_error>;
|
|
@@ -4941,6 +5289,8 @@ type PcbMissingFootprintErrorInput = z.input<typeof pcb_missing_footprint_error>
|
|
|
4941
5289
|
interface PcbMissingFootprintError {
|
|
4942
5290
|
type: "pcb_missing_footprint_error";
|
|
4943
5291
|
pcb_missing_footprint_error_id: string;
|
|
5292
|
+
pcb_group_id?: string;
|
|
5293
|
+
subcircuit_id?: string;
|
|
4944
5294
|
error_type: "pcb_missing_footprint_error";
|
|
4945
5295
|
source_component_id: string;
|
|
4946
5296
|
message: string;
|
|
@@ -4955,6 +5305,8 @@ declare const pcb_manual_edit_conflict_error: z.ZodObject<{
|
|
|
4955
5305
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4956
5306
|
message: z.ZodString;
|
|
4957
5307
|
pcb_component_id: z.ZodString;
|
|
5308
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
5309
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4958
5310
|
source_component_id: z.ZodString;
|
|
4959
5311
|
}, "strip", z.ZodTypeAny, {
|
|
4960
5312
|
message: string;
|
|
@@ -4962,11 +5314,15 @@ declare const pcb_manual_edit_conflict_error: z.ZodObject<{
|
|
|
4962
5314
|
source_component_id: string;
|
|
4963
5315
|
pcb_component_id: string;
|
|
4964
5316
|
pcb_error_id: string;
|
|
5317
|
+
subcircuit_id?: string | undefined;
|
|
5318
|
+
pcb_group_id?: string | undefined;
|
|
4965
5319
|
}, {
|
|
4966
5320
|
message: string;
|
|
4967
5321
|
type: "pcb_manual_edit_conflict_error";
|
|
4968
5322
|
source_component_id: string;
|
|
4969
5323
|
pcb_component_id: string;
|
|
5324
|
+
subcircuit_id?: string | undefined;
|
|
5325
|
+
pcb_group_id?: string | undefined;
|
|
4970
5326
|
pcb_error_id?: string | undefined;
|
|
4971
5327
|
}>;
|
|
4972
5328
|
type PcbManualEditConflictErrorInput = z.input<typeof pcb_manual_edit_conflict_error>;
|
|
@@ -4978,6 +5334,8 @@ interface PcbManualEditConflictError {
|
|
|
4978
5334
|
pcb_error_id: string;
|
|
4979
5335
|
message: string;
|
|
4980
5336
|
pcb_component_id: string;
|
|
5337
|
+
pcb_group_id?: string;
|
|
5338
|
+
subcircuit_id?: string;
|
|
4981
5339
|
source_component_id: string;
|
|
4982
5340
|
}
|
|
4983
5341
|
/**
|
|
@@ -4988,6 +5346,8 @@ type PCBManualEditConflictError = PcbManualEditConflictError;
|
|
|
4988
5346
|
declare const pcb_group: z.ZodObject<{
|
|
4989
5347
|
type: z.ZodLiteral<"pcb_group">;
|
|
4990
5348
|
pcb_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5349
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
5350
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
4991
5351
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4992
5352
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
4993
5353
|
center: z.ZodObject<{
|
|
@@ -5011,10 +5371,12 @@ declare const pcb_group: z.ZodObject<{
|
|
|
5011
5371
|
x: number;
|
|
5012
5372
|
y: number;
|
|
5013
5373
|
};
|
|
5014
|
-
pcb_component_ids: string[];
|
|
5015
5374
|
pcb_group_id: string;
|
|
5375
|
+
pcb_component_ids: string[];
|
|
5016
5376
|
description?: string | undefined;
|
|
5017
5377
|
name?: string | undefined;
|
|
5378
|
+
subcircuit_id?: string | undefined;
|
|
5379
|
+
is_subcircuit?: boolean | undefined;
|
|
5018
5380
|
}, {
|
|
5019
5381
|
type: "pcb_group";
|
|
5020
5382
|
width: string | number;
|
|
@@ -5026,6 +5388,8 @@ declare const pcb_group: z.ZodObject<{
|
|
|
5026
5388
|
pcb_component_ids: string[];
|
|
5027
5389
|
description?: string | undefined;
|
|
5028
5390
|
name?: string | undefined;
|
|
5391
|
+
subcircuit_id?: string | undefined;
|
|
5392
|
+
is_subcircuit?: boolean | undefined;
|
|
5029
5393
|
pcb_group_id?: string | undefined;
|
|
5030
5394
|
}>;
|
|
5031
5395
|
type PcbGroupInput = z.input<typeof pcb_group>;
|
|
@@ -5035,6 +5399,8 @@ type PcbGroupInput = z.input<typeof pcb_group>;
|
|
|
5035
5399
|
interface PcbGroup {
|
|
5036
5400
|
type: "pcb_group";
|
|
5037
5401
|
pcb_group_id: string;
|
|
5402
|
+
is_subcircuit?: boolean;
|
|
5403
|
+
subcircuit_id?: string;
|
|
5038
5404
|
width: Length;
|
|
5039
5405
|
height: Length;
|
|
5040
5406
|
center: Point;
|
|
@@ -5768,15 +6134,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5768
6134
|
}>, z.ZodObject<{
|
|
5769
6135
|
type: z.ZodLiteral<"source_group">;
|
|
5770
6136
|
source_group_id: z.ZodString;
|
|
6137
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6138
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
5771
6139
|
name: z.ZodOptional<z.ZodString>;
|
|
5772
6140
|
}, "strip", z.ZodTypeAny, {
|
|
5773
6141
|
type: "source_group";
|
|
5774
6142
|
source_group_id: string;
|
|
5775
6143
|
name?: string | undefined;
|
|
6144
|
+
subcircuit_id?: string | undefined;
|
|
6145
|
+
is_subcircuit?: boolean | undefined;
|
|
5776
6146
|
}, {
|
|
5777
6147
|
type: "source_group";
|
|
5778
6148
|
source_group_id: string;
|
|
5779
6149
|
name?: string | undefined;
|
|
6150
|
+
subcircuit_id?: string | undefined;
|
|
6151
|
+
is_subcircuit?: boolean | undefined;
|
|
5780
6152
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
5781
6153
|
type: z.ZodLiteral<"source_component">;
|
|
5782
6154
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -6218,6 +6590,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6218
6590
|
rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6219
6591
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6220
6592
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6593
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6221
6594
|
}, "strip", z.ZodTypeAny, {
|
|
6222
6595
|
type: "pcb_component";
|
|
6223
6596
|
width: number;
|
|
@@ -6230,6 +6603,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6230
6603
|
};
|
|
6231
6604
|
pcb_component_id: string;
|
|
6232
6605
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6606
|
+
subcircuit_id?: string | undefined;
|
|
6233
6607
|
}, {
|
|
6234
6608
|
type: "pcb_component";
|
|
6235
6609
|
width: string | number;
|
|
@@ -6243,10 +6617,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6243
6617
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6244
6618
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6245
6619
|
};
|
|
6620
|
+
subcircuit_id?: string | undefined;
|
|
6246
6621
|
pcb_component_id?: string | undefined;
|
|
6247
6622
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
6248
6623
|
type: z.ZodLiteral<"pcb_hole">;
|
|
6249
6624
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6625
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6626
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6250
6627
|
hole_shape: z.ZodEnum<["circle", "square"]>;
|
|
6251
6628
|
hole_diameter: z.ZodNumber;
|
|
6252
6629
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6258,16 +6635,22 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6258
6635
|
pcb_hole_id: string;
|
|
6259
6636
|
hole_shape: "circle" | "square";
|
|
6260
6637
|
hole_diameter: number;
|
|
6638
|
+
subcircuit_id?: string | undefined;
|
|
6639
|
+
pcb_group_id?: string | undefined;
|
|
6261
6640
|
}, {
|
|
6262
6641
|
x: string | number;
|
|
6263
6642
|
y: string | number;
|
|
6264
6643
|
type: "pcb_hole";
|
|
6265
6644
|
hole_shape: "circle" | "square";
|
|
6266
6645
|
hole_diameter: number;
|
|
6646
|
+
subcircuit_id?: string | undefined;
|
|
6267
6647
|
pcb_hole_id?: string | undefined;
|
|
6648
|
+
pcb_group_id?: string | undefined;
|
|
6268
6649
|
}>, z.ZodObject<{
|
|
6269
6650
|
type: z.ZodLiteral<"pcb_hole">;
|
|
6270
6651
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6652
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6653
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6271
6654
|
hole_shape: z.ZodLiteral<"oval">;
|
|
6272
6655
|
hole_width: z.ZodNumber;
|
|
6273
6656
|
hole_height: z.ZodNumber;
|
|
@@ -6281,6 +6664,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6281
6664
|
hole_shape: "oval";
|
|
6282
6665
|
hole_width: number;
|
|
6283
6666
|
hole_height: number;
|
|
6667
|
+
subcircuit_id?: string | undefined;
|
|
6668
|
+
pcb_group_id?: string | undefined;
|
|
6284
6669
|
}, {
|
|
6285
6670
|
x: string | number;
|
|
6286
6671
|
y: string | number;
|
|
@@ -6288,10 +6673,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6288
6673
|
hole_shape: "oval";
|
|
6289
6674
|
hole_width: number;
|
|
6290
6675
|
hole_height: number;
|
|
6676
|
+
subcircuit_id?: string | undefined;
|
|
6291
6677
|
pcb_hole_id?: string | undefined;
|
|
6678
|
+
pcb_group_id?: string | undefined;
|
|
6292
6679
|
}>]>, z.ZodObject<{
|
|
6293
6680
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
6294
6681
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6682
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6683
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6295
6684
|
error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
6296
6685
|
source_component_id: z.ZodString;
|
|
6297
6686
|
message: z.ZodString;
|
|
@@ -6301,17 +6690,23 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6301
6690
|
source_component_id: string;
|
|
6302
6691
|
error_type: "pcb_missing_footprint_error";
|
|
6303
6692
|
pcb_missing_footprint_error_id: string;
|
|
6693
|
+
subcircuit_id?: string | undefined;
|
|
6694
|
+
pcb_group_id?: string | undefined;
|
|
6304
6695
|
}, {
|
|
6305
6696
|
message: string;
|
|
6306
6697
|
type: "pcb_missing_footprint_error";
|
|
6307
6698
|
source_component_id: string;
|
|
6308
6699
|
error_type: "pcb_missing_footprint_error";
|
|
6700
|
+
subcircuit_id?: string | undefined;
|
|
6701
|
+
pcb_group_id?: string | undefined;
|
|
6309
6702
|
pcb_missing_footprint_error_id?: string | undefined;
|
|
6310
6703
|
}>, z.ZodObject<{
|
|
6311
6704
|
type: z.ZodLiteral<"pcb_manual_edit_conflict_error">;
|
|
6312
6705
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6313
6706
|
message: z.ZodString;
|
|
6314
6707
|
pcb_component_id: z.ZodString;
|
|
6708
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6709
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6315
6710
|
source_component_id: z.ZodString;
|
|
6316
6711
|
}, "strip", z.ZodTypeAny, {
|
|
6317
6712
|
message: string;
|
|
@@ -6319,15 +6714,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6319
6714
|
source_component_id: string;
|
|
6320
6715
|
pcb_component_id: string;
|
|
6321
6716
|
pcb_error_id: string;
|
|
6717
|
+
subcircuit_id?: string | undefined;
|
|
6718
|
+
pcb_group_id?: string | undefined;
|
|
6322
6719
|
}, {
|
|
6323
6720
|
message: string;
|
|
6324
6721
|
type: "pcb_manual_edit_conflict_error";
|
|
6325
6722
|
source_component_id: string;
|
|
6326
6723
|
pcb_component_id: string;
|
|
6724
|
+
subcircuit_id?: string | undefined;
|
|
6725
|
+
pcb_group_id?: string | undefined;
|
|
6327
6726
|
pcb_error_id?: string | undefined;
|
|
6328
6727
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
6329
6728
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
6330
6729
|
shape: z.ZodLiteral<"circle">;
|
|
6730
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6731
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6331
6732
|
outer_diameter: z.ZodNumber;
|
|
6332
6733
|
hole_diameter: z.ZodNumber;
|
|
6333
6734
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6355,7 +6756,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6355
6756
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
6356
6757
|
pcb_plated_hole_id: string;
|
|
6357
6758
|
port_hints?: string[] | undefined;
|
|
6759
|
+
subcircuit_id?: string | undefined;
|
|
6358
6760
|
pcb_component_id?: string | undefined;
|
|
6761
|
+
pcb_group_id?: string | undefined;
|
|
6359
6762
|
pcb_port_id?: string | undefined;
|
|
6360
6763
|
}, {
|
|
6361
6764
|
x: string | number;
|
|
@@ -6368,12 +6771,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6368
6771
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6369
6772
|
})[];
|
|
6370
6773
|
port_hints?: string[] | undefined;
|
|
6774
|
+
subcircuit_id?: string | undefined;
|
|
6371
6775
|
pcb_component_id?: string | undefined;
|
|
6776
|
+
pcb_group_id?: string | undefined;
|
|
6372
6777
|
pcb_port_id?: string | undefined;
|
|
6373
6778
|
pcb_plated_hole_id?: string | undefined;
|
|
6374
6779
|
}>, z.ZodObject<{
|
|
6375
6780
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
6376
6781
|
shape: z.ZodEnum<["oval", "pill"]>;
|
|
6782
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6783
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6377
6784
|
outer_width: z.ZodNumber;
|
|
6378
6785
|
outer_height: z.ZodNumber;
|
|
6379
6786
|
hole_width: z.ZodNumber;
|
|
@@ -6405,7 +6812,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6405
6812
|
outer_width: number;
|
|
6406
6813
|
outer_height: number;
|
|
6407
6814
|
port_hints?: string[] | undefined;
|
|
6815
|
+
subcircuit_id?: string | undefined;
|
|
6408
6816
|
pcb_component_id?: string | undefined;
|
|
6817
|
+
pcb_group_id?: string | undefined;
|
|
6409
6818
|
pcb_port_id?: string | undefined;
|
|
6410
6819
|
}, {
|
|
6411
6820
|
x: string | number;
|
|
@@ -6420,12 +6829,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6420
6829
|
outer_width: number;
|
|
6421
6830
|
outer_height: number;
|
|
6422
6831
|
port_hints?: string[] | undefined;
|
|
6832
|
+
subcircuit_id?: string | undefined;
|
|
6423
6833
|
pcb_component_id?: string | undefined;
|
|
6834
|
+
pcb_group_id?: string | undefined;
|
|
6424
6835
|
pcb_port_id?: string | undefined;
|
|
6425
6836
|
pcb_plated_hole_id?: string | undefined;
|
|
6426
6837
|
}>, z.ZodObject<{
|
|
6427
6838
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
6428
6839
|
shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
|
|
6840
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6841
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6429
6842
|
hole_shape: z.ZodLiteral<"circle">;
|
|
6430
6843
|
pad_shape: z.ZodLiteral<"rect">;
|
|
6431
6844
|
hole_diameter: z.ZodNumber;
|
|
@@ -6459,7 +6872,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6459
6872
|
rect_pad_width: number;
|
|
6460
6873
|
rect_pad_height: number;
|
|
6461
6874
|
port_hints?: string[] | undefined;
|
|
6875
|
+
subcircuit_id?: string | undefined;
|
|
6462
6876
|
pcb_component_id?: string | undefined;
|
|
6877
|
+
pcb_group_id?: string | undefined;
|
|
6463
6878
|
pcb_port_id?: string | undefined;
|
|
6464
6879
|
}, {
|
|
6465
6880
|
x: string | number;
|
|
@@ -6475,12 +6890,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6475
6890
|
rect_pad_width: number;
|
|
6476
6891
|
rect_pad_height: number;
|
|
6477
6892
|
port_hints?: string[] | undefined;
|
|
6893
|
+
subcircuit_id?: string | undefined;
|
|
6478
6894
|
pcb_component_id?: string | undefined;
|
|
6895
|
+
pcb_group_id?: string | undefined;
|
|
6479
6896
|
pcb_port_id?: string | undefined;
|
|
6480
6897
|
pcb_plated_hole_id?: string | undefined;
|
|
6481
6898
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
6482
6899
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
6483
6900
|
shape: z.ZodLiteral<"rect">;
|
|
6901
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6902
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6484
6903
|
center: z.ZodObject<{
|
|
6485
6904
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6486
6905
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6508,6 +6927,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6508
6927
|
layers: string[];
|
|
6509
6928
|
pcb_keepout_id: string;
|
|
6510
6929
|
description?: string | undefined;
|
|
6930
|
+
subcircuit_id?: string | undefined;
|
|
6931
|
+
pcb_group_id?: string | undefined;
|
|
6511
6932
|
}, {
|
|
6512
6933
|
type: "pcb_keepout";
|
|
6513
6934
|
width: string | number;
|
|
@@ -6520,9 +6941,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6520
6941
|
layers: string[];
|
|
6521
6942
|
pcb_keepout_id: string;
|
|
6522
6943
|
description?: string | undefined;
|
|
6944
|
+
subcircuit_id?: string | undefined;
|
|
6945
|
+
pcb_group_id?: string | undefined;
|
|
6523
6946
|
}>, z.ZodObject<{
|
|
6524
6947
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
6525
6948
|
shape: z.ZodLiteral<"circle">;
|
|
6949
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6950
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6526
6951
|
center: z.ZodObject<{
|
|
6527
6952
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6528
6953
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6548,6 +6973,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6548
6973
|
radius: number;
|
|
6549
6974
|
pcb_keepout_id: string;
|
|
6550
6975
|
description?: string | undefined;
|
|
6976
|
+
subcircuit_id?: string | undefined;
|
|
6977
|
+
pcb_group_id?: string | undefined;
|
|
6551
6978
|
}, {
|
|
6552
6979
|
type: "pcb_keepout";
|
|
6553
6980
|
center: {
|
|
@@ -6559,9 +6986,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6559
6986
|
radius: string | number;
|
|
6560
6987
|
pcb_keepout_id: string;
|
|
6561
6988
|
description?: string | undefined;
|
|
6989
|
+
subcircuit_id?: string | undefined;
|
|
6990
|
+
pcb_group_id?: string | undefined;
|
|
6562
6991
|
}>]>, z.ZodObject<{
|
|
6563
6992
|
type: z.ZodLiteral<"pcb_port">;
|
|
6564
6993
|
pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
6994
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
6995
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6565
6996
|
source_port_id: z.ZodString;
|
|
6566
6997
|
pcb_component_id: z.ZodString;
|
|
6567
6998
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6583,6 +7014,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6583
7014
|
pcb_component_id: string;
|
|
6584
7015
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
6585
7016
|
pcb_port_id: string;
|
|
7017
|
+
subcircuit_id?: string | undefined;
|
|
7018
|
+
pcb_group_id?: string | undefined;
|
|
6586
7019
|
}, {
|
|
6587
7020
|
x: string | number;
|
|
6588
7021
|
y: string | number;
|
|
@@ -6592,10 +7025,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6592
7025
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6593
7026
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6594
7027
|
})[];
|
|
7028
|
+
subcircuit_id?: string | undefined;
|
|
7029
|
+
pcb_group_id?: string | undefined;
|
|
6595
7030
|
pcb_port_id?: string | undefined;
|
|
6596
7031
|
}>, z.ZodObject<{
|
|
6597
7032
|
type: z.ZodLiteral<"pcb_text">;
|
|
6598
7033
|
pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7034
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7035
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6599
7036
|
text: z.ZodString;
|
|
6600
7037
|
center: z.ZodObject<{
|
|
6601
7038
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -6633,6 +7070,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6633
7070
|
pcb_text_id: string;
|
|
6634
7071
|
lines: number;
|
|
6635
7072
|
align: "bottom-left";
|
|
7073
|
+
subcircuit_id?: string | undefined;
|
|
7074
|
+
pcb_group_id?: string | undefined;
|
|
6636
7075
|
}, {
|
|
6637
7076
|
type: "pcb_text";
|
|
6638
7077
|
width: string | number;
|
|
@@ -6647,12 +7086,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6647
7086
|
};
|
|
6648
7087
|
lines: number;
|
|
6649
7088
|
align: "bottom-left";
|
|
7089
|
+
subcircuit_id?: string | undefined;
|
|
7090
|
+
pcb_group_id?: string | undefined;
|
|
6650
7091
|
pcb_text_id?: string | undefined;
|
|
6651
7092
|
}>, z.ZodObject<{
|
|
6652
7093
|
type: z.ZodLiteral<"pcb_trace">;
|
|
6653
7094
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
6654
7095
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
6655
7096
|
pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7097
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7098
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6656
7099
|
route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
|
|
6657
7100
|
route_order_index: z.ZodOptional<z.ZodNumber>;
|
|
6658
7101
|
should_round_corners: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6729,7 +7172,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6729
7172
|
from_layer: string;
|
|
6730
7173
|
})[];
|
|
6731
7174
|
source_trace_id?: string | undefined;
|
|
7175
|
+
subcircuit_id?: string | undefined;
|
|
6732
7176
|
pcb_component_id?: string | undefined;
|
|
7177
|
+
pcb_group_id?: string | undefined;
|
|
6733
7178
|
route_thickness_mode?: "constant" | "interpolated" | undefined;
|
|
6734
7179
|
route_order_index?: number | undefined;
|
|
6735
7180
|
should_round_corners?: boolean | undefined;
|
|
@@ -6754,7 +7199,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6754
7199
|
from_layer: string;
|
|
6755
7200
|
})[];
|
|
6756
7201
|
source_trace_id?: string | undefined;
|
|
7202
|
+
subcircuit_id?: string | undefined;
|
|
6757
7203
|
pcb_component_id?: string | undefined;
|
|
7204
|
+
pcb_group_id?: string | undefined;
|
|
6758
7205
|
pcb_trace_id?: string | undefined;
|
|
6759
7206
|
route_thickness_mode?: "constant" | "interpolated" | undefined;
|
|
6760
7207
|
route_order_index?: number | undefined;
|
|
@@ -6763,6 +7210,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6763
7210
|
}>, z.ZodObject<{
|
|
6764
7211
|
type: z.ZodLiteral<"pcb_via">;
|
|
6765
7212
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7213
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7214
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6766
7215
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6767
7216
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6768
7217
|
outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -6803,7 +7252,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6803
7252
|
outer_diameter: number;
|
|
6804
7253
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
6805
7254
|
pcb_via_id: string;
|
|
7255
|
+
subcircuit_id?: string | undefined;
|
|
6806
7256
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
7257
|
+
pcb_group_id?: string | undefined;
|
|
6807
7258
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
6808
7259
|
pcb_trace_id?: string | undefined;
|
|
6809
7260
|
}, {
|
|
@@ -6813,9 +7264,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6813
7264
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6814
7265
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6815
7266
|
})[];
|
|
7267
|
+
subcircuit_id?: string | undefined;
|
|
6816
7268
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6817
7269
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6818
7270
|
} | undefined;
|
|
7271
|
+
pcb_group_id?: string | undefined;
|
|
6819
7272
|
hole_diameter?: string | number | undefined;
|
|
6820
7273
|
outer_diameter?: string | number | undefined;
|
|
6821
7274
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
@@ -6827,6 +7280,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6827
7280
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
6828
7281
|
shape: z.ZodLiteral<"circle">;
|
|
6829
7282
|
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7283
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7284
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6830
7285
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6831
7286
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6832
7287
|
radius: z.ZodNumber;
|
|
@@ -6851,7 +7306,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6851
7306
|
pcb_smtpad_id: string;
|
|
6852
7307
|
radius: number;
|
|
6853
7308
|
port_hints?: string[] | undefined;
|
|
7309
|
+
subcircuit_id?: string | undefined;
|
|
6854
7310
|
pcb_component_id?: string | undefined;
|
|
7311
|
+
pcb_group_id?: string | undefined;
|
|
6855
7312
|
pcb_port_id?: string | undefined;
|
|
6856
7313
|
}, {
|
|
6857
7314
|
x: string | number;
|
|
@@ -6863,13 +7320,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6863
7320
|
};
|
|
6864
7321
|
radius: number;
|
|
6865
7322
|
port_hints?: string[] | undefined;
|
|
7323
|
+
subcircuit_id?: string | undefined;
|
|
6866
7324
|
pcb_component_id?: string | undefined;
|
|
7325
|
+
pcb_group_id?: string | undefined;
|
|
6867
7326
|
pcb_port_id?: string | undefined;
|
|
6868
7327
|
pcb_smtpad_id?: string | undefined;
|
|
6869
7328
|
}>, z.ZodObject<{
|
|
6870
7329
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
6871
7330
|
shape: z.ZodLiteral<"rect">;
|
|
6872
7331
|
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7332
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7333
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6873
7334
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6874
7335
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6875
7336
|
width: z.ZodNumber;
|
|
@@ -6896,7 +7357,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6896
7357
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6897
7358
|
pcb_smtpad_id: string;
|
|
6898
7359
|
port_hints?: string[] | undefined;
|
|
7360
|
+
subcircuit_id?: string | undefined;
|
|
6899
7361
|
pcb_component_id?: string | undefined;
|
|
7362
|
+
pcb_group_id?: string | undefined;
|
|
6900
7363
|
pcb_port_id?: string | undefined;
|
|
6901
7364
|
}, {
|
|
6902
7365
|
x: string | number;
|
|
@@ -6909,13 +7372,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6909
7372
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6910
7373
|
};
|
|
6911
7374
|
port_hints?: string[] | undefined;
|
|
7375
|
+
subcircuit_id?: string | undefined;
|
|
6912
7376
|
pcb_component_id?: string | undefined;
|
|
7377
|
+
pcb_group_id?: string | undefined;
|
|
6913
7378
|
pcb_port_id?: string | undefined;
|
|
6914
7379
|
pcb_smtpad_id?: string | undefined;
|
|
6915
7380
|
}>, z.ZodObject<{
|
|
6916
7381
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
6917
7382
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
6918
7383
|
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7384
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7385
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6919
7386
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6920
7387
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6921
7388
|
width: z.ZodNumber;
|
|
@@ -6944,7 +7411,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6944
7411
|
pcb_smtpad_id: string;
|
|
6945
7412
|
ccw_rotation: number;
|
|
6946
7413
|
port_hints?: string[] | undefined;
|
|
7414
|
+
subcircuit_id?: string | undefined;
|
|
6947
7415
|
pcb_component_id?: string | undefined;
|
|
7416
|
+
pcb_group_id?: string | undefined;
|
|
6948
7417
|
pcb_port_id?: string | undefined;
|
|
6949
7418
|
}, {
|
|
6950
7419
|
x: string | number;
|
|
@@ -6958,6 +7427,57 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6958
7427
|
};
|
|
6959
7428
|
ccw_rotation: string | number;
|
|
6960
7429
|
port_hints?: string[] | undefined;
|
|
7430
|
+
subcircuit_id?: string | undefined;
|
|
7431
|
+
pcb_component_id?: string | undefined;
|
|
7432
|
+
pcb_group_id?: string | undefined;
|
|
7433
|
+
pcb_port_id?: string | undefined;
|
|
7434
|
+
pcb_smtpad_id?: string | undefined;
|
|
7435
|
+
}>, z.ZodObject<{
|
|
7436
|
+
type: z.ZodLiteral<"pcb_smtpad">;
|
|
7437
|
+
shape: z.ZodLiteral<"pill">;
|
|
7438
|
+
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7439
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7440
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7441
|
+
width: z.ZodNumber;
|
|
7442
|
+
height: z.ZodNumber;
|
|
7443
|
+
radius: z.ZodNumber;
|
|
7444
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
7445
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
7446
|
+
}, "strip", z.ZodTypeAny, {
|
|
7447
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7448
|
+
}, {
|
|
7449
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7450
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7451
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7452
|
+
}>;
|
|
7453
|
+
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7454
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
7455
|
+
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
7456
|
+
}, "strip", z.ZodTypeAny, {
|
|
7457
|
+
x: number;
|
|
7458
|
+
y: number;
|
|
7459
|
+
type: "pcb_smtpad";
|
|
7460
|
+
width: number;
|
|
7461
|
+
height: number;
|
|
7462
|
+
shape: "pill";
|
|
7463
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7464
|
+
pcb_smtpad_id: string;
|
|
7465
|
+
radius: number;
|
|
7466
|
+
port_hints?: string[] | undefined;
|
|
7467
|
+
pcb_component_id?: string | undefined;
|
|
7468
|
+
pcb_port_id?: string | undefined;
|
|
7469
|
+
}, {
|
|
7470
|
+
x: string | number;
|
|
7471
|
+
y: string | number;
|
|
7472
|
+
type: "pcb_smtpad";
|
|
7473
|
+
width: number;
|
|
7474
|
+
height: number;
|
|
7475
|
+
shape: "pill";
|
|
7476
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7477
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7478
|
+
};
|
|
7479
|
+
radius: number;
|
|
7480
|
+
port_hints?: string[] | undefined;
|
|
6961
7481
|
pcb_component_id?: string | undefined;
|
|
6962
7482
|
pcb_port_id?: string | undefined;
|
|
6963
7483
|
pcb_smtpad_id?: string | undefined;
|
|
@@ -6965,6 +7485,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6965
7485
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
6966
7486
|
shape: z.ZodLiteral<"circle">;
|
|
6967
7487
|
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7488
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7489
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
6968
7490
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6969
7491
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6970
7492
|
radius: z.ZodNumber;
|
|
@@ -6987,7 +7509,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6987
7509
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6988
7510
|
radius: number;
|
|
6989
7511
|
pcb_solder_paste_id: string;
|
|
7512
|
+
subcircuit_id?: string | undefined;
|
|
6990
7513
|
pcb_component_id?: string | undefined;
|
|
7514
|
+
pcb_group_id?: string | undefined;
|
|
6991
7515
|
pcb_smtpad_id?: string | undefined;
|
|
6992
7516
|
}, {
|
|
6993
7517
|
x: string | number;
|
|
@@ -6998,13 +7522,17 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6998
7522
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6999
7523
|
};
|
|
7000
7524
|
radius: number;
|
|
7525
|
+
subcircuit_id?: string | undefined;
|
|
7001
7526
|
pcb_component_id?: string | undefined;
|
|
7527
|
+
pcb_group_id?: string | undefined;
|
|
7002
7528
|
pcb_smtpad_id?: string | undefined;
|
|
7003
7529
|
pcb_solder_paste_id?: string | undefined;
|
|
7004
7530
|
}>, z.ZodObject<{
|
|
7005
7531
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
7006
7532
|
shape: z.ZodLiteral<"rect">;
|
|
7007
7533
|
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7534
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7535
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7008
7536
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7009
7537
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7010
7538
|
width: z.ZodNumber;
|
|
@@ -7029,7 +7557,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7029
7557
|
shape: "rect";
|
|
7030
7558
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7031
7559
|
pcb_solder_paste_id: string;
|
|
7560
|
+
subcircuit_id?: string | undefined;
|
|
7032
7561
|
pcb_component_id?: string | undefined;
|
|
7562
|
+
pcb_group_id?: string | undefined;
|
|
7033
7563
|
pcb_smtpad_id?: string | undefined;
|
|
7034
7564
|
}, {
|
|
7035
7565
|
x: string | number;
|
|
@@ -7041,12 +7571,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7041
7571
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7042
7572
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7043
7573
|
};
|
|
7574
|
+
subcircuit_id?: string | undefined;
|
|
7044
7575
|
pcb_component_id?: string | undefined;
|
|
7576
|
+
pcb_group_id?: string | undefined;
|
|
7045
7577
|
pcb_smtpad_id?: string | undefined;
|
|
7046
7578
|
pcb_solder_paste_id?: string | undefined;
|
|
7047
7579
|
}>]>, z.ZodObject<{
|
|
7048
7580
|
type: z.ZodLiteral<"pcb_board">;
|
|
7049
7581
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7582
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
7583
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7050
7584
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7051
7585
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7052
7586
|
center: z.ZodObject<{
|
|
@@ -7082,6 +7616,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7082
7616
|
pcb_board_id: string;
|
|
7083
7617
|
thickness: number;
|
|
7084
7618
|
num_layers: number;
|
|
7619
|
+
subcircuit_id?: string | undefined;
|
|
7620
|
+
is_subcircuit?: boolean | undefined;
|
|
7085
7621
|
outline?: {
|
|
7086
7622
|
x: number;
|
|
7087
7623
|
y: number;
|
|
@@ -7094,6 +7630,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7094
7630
|
x: string | number;
|
|
7095
7631
|
y: string | number;
|
|
7096
7632
|
};
|
|
7633
|
+
subcircuit_id?: string | undefined;
|
|
7634
|
+
is_subcircuit?: boolean | undefined;
|
|
7097
7635
|
pcb_board_id?: string | undefined;
|
|
7098
7636
|
thickness?: string | number | undefined;
|
|
7099
7637
|
num_layers?: number | undefined;
|
|
@@ -7104,6 +7642,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7104
7642
|
}>, z.ZodObject<{
|
|
7105
7643
|
type: z.ZodLiteral<"pcb_group">;
|
|
7106
7644
|
pcb_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7645
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
7646
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7107
7647
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7108
7648
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7109
7649
|
center: z.ZodObject<{
|
|
@@ -7127,10 +7667,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7127
7667
|
x: number;
|
|
7128
7668
|
y: number;
|
|
7129
7669
|
};
|
|
7130
|
-
pcb_component_ids: string[];
|
|
7131
7670
|
pcb_group_id: string;
|
|
7671
|
+
pcb_component_ids: string[];
|
|
7132
7672
|
description?: string | undefined;
|
|
7133
7673
|
name?: string | undefined;
|
|
7674
|
+
subcircuit_id?: string | undefined;
|
|
7675
|
+
is_subcircuit?: boolean | undefined;
|
|
7134
7676
|
}, {
|
|
7135
7677
|
type: "pcb_group";
|
|
7136
7678
|
width: string | number;
|
|
@@ -7142,6 +7684,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7142
7684
|
pcb_component_ids: string[];
|
|
7143
7685
|
description?: string | undefined;
|
|
7144
7686
|
name?: string | undefined;
|
|
7687
|
+
subcircuit_id?: string | undefined;
|
|
7688
|
+
is_subcircuit?: boolean | undefined;
|
|
7145
7689
|
pcb_group_id?: string | undefined;
|
|
7146
7690
|
}>, z.ZodObject<{
|
|
7147
7691
|
type: z.ZodLiteral<"pcb_trace_hint">;
|
|
@@ -7207,6 +7751,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7207
7751
|
type: z.ZodLiteral<"pcb_silkscreen_line">;
|
|
7208
7752
|
pcb_silkscreen_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7209
7753
|
pcb_component_id: z.ZodString;
|
|
7754
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7755
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7210
7756
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7211
7757
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7212
7758
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7223,6 +7769,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7223
7769
|
layer: "top" | "bottom";
|
|
7224
7770
|
pcb_silkscreen_line_id: string;
|
|
7225
7771
|
stroke_width: number;
|
|
7772
|
+
subcircuit_id?: string | undefined;
|
|
7773
|
+
pcb_group_id?: string | undefined;
|
|
7226
7774
|
}, {
|
|
7227
7775
|
type: "pcb_silkscreen_line";
|
|
7228
7776
|
x1: string | number;
|
|
@@ -7231,12 +7779,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7231
7779
|
y2: string | number;
|
|
7232
7780
|
pcb_component_id: string;
|
|
7233
7781
|
layer: "top" | "bottom";
|
|
7782
|
+
subcircuit_id?: string | undefined;
|
|
7783
|
+
pcb_group_id?: string | undefined;
|
|
7234
7784
|
pcb_silkscreen_line_id?: string | undefined;
|
|
7235
7785
|
stroke_width?: string | number | undefined;
|
|
7236
7786
|
}>, z.ZodObject<{
|
|
7237
7787
|
type: z.ZodLiteral<"pcb_silkscreen_path">;
|
|
7238
7788
|
pcb_silkscreen_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7239
7789
|
pcb_component_id: z.ZodString;
|
|
7790
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7791
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7240
7792
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
7241
7793
|
route: z.ZodArray<z.ZodObject<{
|
|
7242
7794
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7259,6 +7811,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7259
7811
|
}[];
|
|
7260
7812
|
stroke_width: number;
|
|
7261
7813
|
pcb_silkscreen_path_id: string;
|
|
7814
|
+
subcircuit_id?: string | undefined;
|
|
7815
|
+
pcb_group_id?: string | undefined;
|
|
7262
7816
|
}, {
|
|
7263
7817
|
type: "pcb_silkscreen_path";
|
|
7264
7818
|
pcb_component_id: string;
|
|
@@ -7268,10 +7822,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7268
7822
|
y: string | number;
|
|
7269
7823
|
}[];
|
|
7270
7824
|
stroke_width: string | number;
|
|
7825
|
+
subcircuit_id?: string | undefined;
|
|
7826
|
+
pcb_group_id?: string | undefined;
|
|
7271
7827
|
pcb_silkscreen_path_id?: string | undefined;
|
|
7272
7828
|
}>, z.ZodObject<{
|
|
7273
7829
|
type: z.ZodLiteral<"pcb_silkscreen_text">;
|
|
7274
7830
|
pcb_silkscreen_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7831
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7832
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7275
7833
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
7276
7834
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7277
7835
|
pcb_component_id: z.ZodString;
|
|
@@ -7311,6 +7869,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7311
7869
|
font: "tscircuit2024";
|
|
7312
7870
|
font_size: number;
|
|
7313
7871
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
7872
|
+
subcircuit_id?: string | undefined;
|
|
7873
|
+
pcb_group_id?: string | undefined;
|
|
7314
7874
|
ccw_rotation?: number | undefined;
|
|
7315
7875
|
is_mirrored?: boolean | undefined;
|
|
7316
7876
|
}, {
|
|
@@ -7320,10 +7880,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7320
7880
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7321
7881
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7322
7882
|
};
|
|
7883
|
+
subcircuit_id?: string | undefined;
|
|
7323
7884
|
anchor_position?: {
|
|
7324
7885
|
x: string | number;
|
|
7325
7886
|
y: string | number;
|
|
7326
7887
|
} | undefined;
|
|
7888
|
+
pcb_group_id?: string | undefined;
|
|
7327
7889
|
ccw_rotation?: number | undefined;
|
|
7328
7890
|
pcb_silkscreen_text_id?: string | undefined;
|
|
7329
7891
|
font?: "tscircuit2024" | undefined;
|
|
@@ -7334,6 +7896,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7334
7896
|
type: z.ZodLiteral<"pcb_silkscreen_rect">;
|
|
7335
7897
|
pcb_silkscreen_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7336
7898
|
pcb_component_id: z.ZodString;
|
|
7899
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7900
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7337
7901
|
center: z.ZodObject<{
|
|
7338
7902
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7339
7903
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7366,6 +7930,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7366
7930
|
pcb_component_id: string;
|
|
7367
7931
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7368
7932
|
pcb_silkscreen_rect_id: string;
|
|
7933
|
+
subcircuit_id?: string | undefined;
|
|
7934
|
+
pcb_group_id?: string | undefined;
|
|
7369
7935
|
}, {
|
|
7370
7936
|
type: "pcb_silkscreen_rect";
|
|
7371
7937
|
width: string | number;
|
|
@@ -7378,11 +7944,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7378
7944
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7379
7945
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7380
7946
|
};
|
|
7947
|
+
subcircuit_id?: string | undefined;
|
|
7948
|
+
pcb_group_id?: string | undefined;
|
|
7381
7949
|
pcb_silkscreen_rect_id?: string | undefined;
|
|
7382
7950
|
}>, z.ZodObject<{
|
|
7383
7951
|
type: z.ZodLiteral<"pcb_silkscreen_circle">;
|
|
7384
7952
|
pcb_silkscreen_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7385
7953
|
pcb_component_id: z.ZodString;
|
|
7954
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7955
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7386
7956
|
center: z.ZodObject<{
|
|
7387
7957
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7388
7958
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7405,6 +7975,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7405
7975
|
layer: "top" | "bottom";
|
|
7406
7976
|
radius: number;
|
|
7407
7977
|
pcb_silkscreen_circle_id: string;
|
|
7978
|
+
subcircuit_id?: string | undefined;
|
|
7979
|
+
pcb_group_id?: string | undefined;
|
|
7408
7980
|
}, {
|
|
7409
7981
|
type: "pcb_silkscreen_circle";
|
|
7410
7982
|
center: {
|
|
@@ -7414,11 +7986,15 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7414
7986
|
pcb_component_id: string;
|
|
7415
7987
|
layer: "top" | "bottom";
|
|
7416
7988
|
radius: string | number;
|
|
7989
|
+
subcircuit_id?: string | undefined;
|
|
7990
|
+
pcb_group_id?: string | undefined;
|
|
7417
7991
|
pcb_silkscreen_circle_id?: string | undefined;
|
|
7418
7992
|
}>, z.ZodObject<{
|
|
7419
7993
|
type: z.ZodLiteral<"pcb_silkscreen_oval">;
|
|
7420
7994
|
pcb_silkscreen_oval_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7421
7995
|
pcb_component_id: z.ZodString;
|
|
7996
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7997
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7422
7998
|
center: z.ZodObject<{
|
|
7423
7999
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7424
8000
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7443,6 +8019,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7443
8019
|
pcb_silkscreen_oval_id: string;
|
|
7444
8020
|
radius_x: number;
|
|
7445
8021
|
radius_y: number;
|
|
8022
|
+
subcircuit_id?: string | undefined;
|
|
8023
|
+
pcb_group_id?: string | undefined;
|
|
7446
8024
|
}, {
|
|
7447
8025
|
type: "pcb_silkscreen_oval";
|
|
7448
8026
|
center: {
|
|
@@ -7453,6 +8031,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7453
8031
|
layer: "top" | "bottom";
|
|
7454
8032
|
radius_x: string | number;
|
|
7455
8033
|
radius_y: string | number;
|
|
8034
|
+
subcircuit_id?: string | undefined;
|
|
8035
|
+
pcb_group_id?: string | undefined;
|
|
7456
8036
|
pcb_silkscreen_oval_id?: string | undefined;
|
|
7457
8037
|
}>, z.ZodObject<{
|
|
7458
8038
|
type: z.ZodLiteral<"pcb_trace_error">;
|
|
@@ -7530,6 +8110,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7530
8110
|
type: z.ZodLiteral<"pcb_fabrication_note_path">;
|
|
7531
8111
|
pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7532
8112
|
pcb_component_id: z.ZodString;
|
|
8113
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7533
8114
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
7534
8115
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
7535
8116
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7561,6 +8142,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7561
8142
|
}[];
|
|
7562
8143
|
stroke_width: number;
|
|
7563
8144
|
pcb_fabrication_note_path_id: string;
|
|
8145
|
+
subcircuit_id?: string | undefined;
|
|
7564
8146
|
color?: string | undefined;
|
|
7565
8147
|
}, {
|
|
7566
8148
|
type: "pcb_fabrication_note_path";
|
|
@@ -7573,11 +8155,14 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7573
8155
|
y: string | number;
|
|
7574
8156
|
}[];
|
|
7575
8157
|
stroke_width: string | number;
|
|
8158
|
+
subcircuit_id?: string | undefined;
|
|
7576
8159
|
color?: string | undefined;
|
|
7577
8160
|
pcb_fabrication_note_path_id?: string | undefined;
|
|
7578
8161
|
}>, z.ZodObject<{
|
|
7579
8162
|
type: z.ZodLiteral<"pcb_fabrication_note_text">;
|
|
7580
8163
|
pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8164
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8165
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
7581
8166
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
7582
8167
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7583
8168
|
pcb_component_id: z.ZodString;
|
|
@@ -7608,17 +8193,21 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7608
8193
|
font_size: number;
|
|
7609
8194
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
7610
8195
|
pcb_fabrication_note_text_id: string;
|
|
8196
|
+
subcircuit_id?: string | undefined;
|
|
7611
8197
|
color?: string | undefined;
|
|
8198
|
+
pcb_group_id?: string | undefined;
|
|
7612
8199
|
}, {
|
|
7613
8200
|
type: "pcb_fabrication_note_text";
|
|
7614
8201
|
text: string;
|
|
7615
8202
|
pcb_component_id: string;
|
|
7616
8203
|
layer: "top" | "bottom";
|
|
8204
|
+
subcircuit_id?: string | undefined;
|
|
7617
8205
|
color?: string | undefined;
|
|
7618
8206
|
anchor_position?: {
|
|
7619
8207
|
x: string | number;
|
|
7620
8208
|
y: string | number;
|
|
7621
8209
|
} | undefined;
|
|
8210
|
+
pcb_group_id?: string | undefined;
|
|
7622
8211
|
font?: "tscircuit2024" | undefined;
|
|
7623
8212
|
font_size?: string | number | undefined;
|
|
7624
8213
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
@@ -9081,15 +9670,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9081
9670
|
}>, z.ZodObject<{
|
|
9082
9671
|
type: z.ZodLiteral<"source_group">;
|
|
9083
9672
|
source_group_id: z.ZodString;
|
|
9673
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9674
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
9084
9675
|
name: z.ZodOptional<z.ZodString>;
|
|
9085
9676
|
}, "strip", z.ZodTypeAny, {
|
|
9086
9677
|
type: "source_group";
|
|
9087
9678
|
source_group_id: string;
|
|
9088
9679
|
name?: string | undefined;
|
|
9680
|
+
subcircuit_id?: string | undefined;
|
|
9681
|
+
is_subcircuit?: boolean | undefined;
|
|
9089
9682
|
}, {
|
|
9090
9683
|
type: "source_group";
|
|
9091
9684
|
source_group_id: string;
|
|
9092
9685
|
name?: string | undefined;
|
|
9686
|
+
subcircuit_id?: string | undefined;
|
|
9687
|
+
is_subcircuit?: boolean | undefined;
|
|
9093
9688
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
9094
9689
|
type: z.ZodLiteral<"source_component">;
|
|
9095
9690
|
ftype: z.ZodOptional<z.ZodString>;
|
|
@@ -9531,6 +10126,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9531
10126
|
rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9532
10127
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9533
10128
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10129
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9534
10130
|
}, "strip", z.ZodTypeAny, {
|
|
9535
10131
|
type: "pcb_component";
|
|
9536
10132
|
width: number;
|
|
@@ -9543,6 +10139,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9543
10139
|
};
|
|
9544
10140
|
pcb_component_id: string;
|
|
9545
10141
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10142
|
+
subcircuit_id?: string | undefined;
|
|
9546
10143
|
}, {
|
|
9547
10144
|
type: "pcb_component";
|
|
9548
10145
|
width: string | number;
|
|
@@ -9556,10 +10153,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9556
10153
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9557
10154
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9558
10155
|
};
|
|
10156
|
+
subcircuit_id?: string | undefined;
|
|
9559
10157
|
pcb_component_id?: string | undefined;
|
|
9560
10158
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
9561
10159
|
type: z.ZodLiteral<"pcb_hole">;
|
|
9562
10160
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10161
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10162
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9563
10163
|
hole_shape: z.ZodEnum<["circle", "square"]>;
|
|
9564
10164
|
hole_diameter: z.ZodNumber;
|
|
9565
10165
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -9571,16 +10171,22 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9571
10171
|
pcb_hole_id: string;
|
|
9572
10172
|
hole_shape: "circle" | "square";
|
|
9573
10173
|
hole_diameter: number;
|
|
10174
|
+
subcircuit_id?: string | undefined;
|
|
10175
|
+
pcb_group_id?: string | undefined;
|
|
9574
10176
|
}, {
|
|
9575
10177
|
x: string | number;
|
|
9576
10178
|
y: string | number;
|
|
9577
10179
|
type: "pcb_hole";
|
|
9578
10180
|
hole_shape: "circle" | "square";
|
|
9579
10181
|
hole_diameter: number;
|
|
10182
|
+
subcircuit_id?: string | undefined;
|
|
9580
10183
|
pcb_hole_id?: string | undefined;
|
|
10184
|
+
pcb_group_id?: string | undefined;
|
|
9581
10185
|
}>, z.ZodObject<{
|
|
9582
10186
|
type: z.ZodLiteral<"pcb_hole">;
|
|
9583
10187
|
pcb_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10188
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10189
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9584
10190
|
hole_shape: z.ZodLiteral<"oval">;
|
|
9585
10191
|
hole_width: z.ZodNumber;
|
|
9586
10192
|
hole_height: z.ZodNumber;
|
|
@@ -9594,6 +10200,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9594
10200
|
hole_shape: "oval";
|
|
9595
10201
|
hole_width: number;
|
|
9596
10202
|
hole_height: number;
|
|
10203
|
+
subcircuit_id?: string | undefined;
|
|
10204
|
+
pcb_group_id?: string | undefined;
|
|
9597
10205
|
}, {
|
|
9598
10206
|
x: string | number;
|
|
9599
10207
|
y: string | number;
|
|
@@ -9601,10 +10209,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9601
10209
|
hole_shape: "oval";
|
|
9602
10210
|
hole_width: number;
|
|
9603
10211
|
hole_height: number;
|
|
10212
|
+
subcircuit_id?: string | undefined;
|
|
9604
10213
|
pcb_hole_id?: string | undefined;
|
|
10214
|
+
pcb_group_id?: string | undefined;
|
|
9605
10215
|
}>]>, z.ZodObject<{
|
|
9606
10216
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
9607
10217
|
pcb_missing_footprint_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10218
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10219
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9608
10220
|
error_type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
9609
10221
|
source_component_id: z.ZodString;
|
|
9610
10222
|
message: z.ZodString;
|
|
@@ -9614,17 +10226,23 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9614
10226
|
source_component_id: string;
|
|
9615
10227
|
error_type: "pcb_missing_footprint_error";
|
|
9616
10228
|
pcb_missing_footprint_error_id: string;
|
|
10229
|
+
subcircuit_id?: string | undefined;
|
|
10230
|
+
pcb_group_id?: string | undefined;
|
|
9617
10231
|
}, {
|
|
9618
10232
|
message: string;
|
|
9619
10233
|
type: "pcb_missing_footprint_error";
|
|
9620
10234
|
source_component_id: string;
|
|
9621
10235
|
error_type: "pcb_missing_footprint_error";
|
|
10236
|
+
subcircuit_id?: string | undefined;
|
|
10237
|
+
pcb_group_id?: string | undefined;
|
|
9622
10238
|
pcb_missing_footprint_error_id?: string | undefined;
|
|
9623
10239
|
}>, z.ZodObject<{
|
|
9624
10240
|
type: z.ZodLiteral<"pcb_manual_edit_conflict_error">;
|
|
9625
10241
|
pcb_error_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9626
10242
|
message: z.ZodString;
|
|
9627
10243
|
pcb_component_id: z.ZodString;
|
|
10244
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10245
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9628
10246
|
source_component_id: z.ZodString;
|
|
9629
10247
|
}, "strip", z.ZodTypeAny, {
|
|
9630
10248
|
message: string;
|
|
@@ -9632,15 +10250,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9632
10250
|
source_component_id: string;
|
|
9633
10251
|
pcb_component_id: string;
|
|
9634
10252
|
pcb_error_id: string;
|
|
10253
|
+
subcircuit_id?: string | undefined;
|
|
10254
|
+
pcb_group_id?: string | undefined;
|
|
9635
10255
|
}, {
|
|
9636
10256
|
message: string;
|
|
9637
10257
|
type: "pcb_manual_edit_conflict_error";
|
|
9638
10258
|
source_component_id: string;
|
|
9639
10259
|
pcb_component_id: string;
|
|
10260
|
+
subcircuit_id?: string | undefined;
|
|
10261
|
+
pcb_group_id?: string | undefined;
|
|
9640
10262
|
pcb_error_id?: string | undefined;
|
|
9641
10263
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
9642
10264
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
9643
10265
|
shape: z.ZodLiteral<"circle">;
|
|
10266
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10267
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9644
10268
|
outer_diameter: z.ZodNumber;
|
|
9645
10269
|
hole_diameter: z.ZodNumber;
|
|
9646
10270
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -9668,7 +10292,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9668
10292
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
9669
10293
|
pcb_plated_hole_id: string;
|
|
9670
10294
|
port_hints?: string[] | undefined;
|
|
10295
|
+
subcircuit_id?: string | undefined;
|
|
9671
10296
|
pcb_component_id?: string | undefined;
|
|
10297
|
+
pcb_group_id?: string | undefined;
|
|
9672
10298
|
pcb_port_id?: string | undefined;
|
|
9673
10299
|
}, {
|
|
9674
10300
|
x: string | number;
|
|
@@ -9681,12 +10307,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9681
10307
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9682
10308
|
})[];
|
|
9683
10309
|
port_hints?: string[] | undefined;
|
|
10310
|
+
subcircuit_id?: string | undefined;
|
|
9684
10311
|
pcb_component_id?: string | undefined;
|
|
10312
|
+
pcb_group_id?: string | undefined;
|
|
9685
10313
|
pcb_port_id?: string | undefined;
|
|
9686
10314
|
pcb_plated_hole_id?: string | undefined;
|
|
9687
10315
|
}>, z.ZodObject<{
|
|
9688
10316
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
9689
10317
|
shape: z.ZodEnum<["oval", "pill"]>;
|
|
10318
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10319
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9690
10320
|
outer_width: z.ZodNumber;
|
|
9691
10321
|
outer_height: z.ZodNumber;
|
|
9692
10322
|
hole_width: z.ZodNumber;
|
|
@@ -9718,7 +10348,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9718
10348
|
outer_width: number;
|
|
9719
10349
|
outer_height: number;
|
|
9720
10350
|
port_hints?: string[] | undefined;
|
|
10351
|
+
subcircuit_id?: string | undefined;
|
|
9721
10352
|
pcb_component_id?: string | undefined;
|
|
10353
|
+
pcb_group_id?: string | undefined;
|
|
9722
10354
|
pcb_port_id?: string | undefined;
|
|
9723
10355
|
}, {
|
|
9724
10356
|
x: string | number;
|
|
@@ -9733,12 +10365,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9733
10365
|
outer_width: number;
|
|
9734
10366
|
outer_height: number;
|
|
9735
10367
|
port_hints?: string[] | undefined;
|
|
10368
|
+
subcircuit_id?: string | undefined;
|
|
9736
10369
|
pcb_component_id?: string | undefined;
|
|
10370
|
+
pcb_group_id?: string | undefined;
|
|
9737
10371
|
pcb_port_id?: string | undefined;
|
|
9738
10372
|
pcb_plated_hole_id?: string | undefined;
|
|
9739
10373
|
}>, z.ZodObject<{
|
|
9740
10374
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
9741
10375
|
shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
|
|
10376
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10377
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9742
10378
|
hole_shape: z.ZodLiteral<"circle">;
|
|
9743
10379
|
pad_shape: z.ZodLiteral<"rect">;
|
|
9744
10380
|
hole_diameter: z.ZodNumber;
|
|
@@ -9772,7 +10408,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9772
10408
|
rect_pad_width: number;
|
|
9773
10409
|
rect_pad_height: number;
|
|
9774
10410
|
port_hints?: string[] | undefined;
|
|
10411
|
+
subcircuit_id?: string | undefined;
|
|
9775
10412
|
pcb_component_id?: string | undefined;
|
|
10413
|
+
pcb_group_id?: string | undefined;
|
|
9776
10414
|
pcb_port_id?: string | undefined;
|
|
9777
10415
|
}, {
|
|
9778
10416
|
x: string | number;
|
|
@@ -9788,12 +10426,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9788
10426
|
rect_pad_width: number;
|
|
9789
10427
|
rect_pad_height: number;
|
|
9790
10428
|
port_hints?: string[] | undefined;
|
|
10429
|
+
subcircuit_id?: string | undefined;
|
|
9791
10430
|
pcb_component_id?: string | undefined;
|
|
10431
|
+
pcb_group_id?: string | undefined;
|
|
9792
10432
|
pcb_port_id?: string | undefined;
|
|
9793
10433
|
pcb_plated_hole_id?: string | undefined;
|
|
9794
10434
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
9795
10435
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
9796
10436
|
shape: z.ZodLiteral<"rect">;
|
|
10437
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10438
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9797
10439
|
center: z.ZodObject<{
|
|
9798
10440
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9799
10441
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -9821,6 +10463,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9821
10463
|
layers: string[];
|
|
9822
10464
|
pcb_keepout_id: string;
|
|
9823
10465
|
description?: string | undefined;
|
|
10466
|
+
subcircuit_id?: string | undefined;
|
|
10467
|
+
pcb_group_id?: string | undefined;
|
|
9824
10468
|
}, {
|
|
9825
10469
|
type: "pcb_keepout";
|
|
9826
10470
|
width: string | number;
|
|
@@ -9833,9 +10477,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9833
10477
|
layers: string[];
|
|
9834
10478
|
pcb_keepout_id: string;
|
|
9835
10479
|
description?: string | undefined;
|
|
10480
|
+
subcircuit_id?: string | undefined;
|
|
10481
|
+
pcb_group_id?: string | undefined;
|
|
9836
10482
|
}>, z.ZodObject<{
|
|
9837
10483
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
9838
10484
|
shape: z.ZodLiteral<"circle">;
|
|
10485
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10486
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9839
10487
|
center: z.ZodObject<{
|
|
9840
10488
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
9841
10489
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -9861,6 +10509,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9861
10509
|
radius: number;
|
|
9862
10510
|
pcb_keepout_id: string;
|
|
9863
10511
|
description?: string | undefined;
|
|
10512
|
+
subcircuit_id?: string | undefined;
|
|
10513
|
+
pcb_group_id?: string | undefined;
|
|
9864
10514
|
}, {
|
|
9865
10515
|
type: "pcb_keepout";
|
|
9866
10516
|
center: {
|
|
@@ -9872,9 +10522,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9872
10522
|
radius: string | number;
|
|
9873
10523
|
pcb_keepout_id: string;
|
|
9874
10524
|
description?: string | undefined;
|
|
10525
|
+
subcircuit_id?: string | undefined;
|
|
10526
|
+
pcb_group_id?: string | undefined;
|
|
9875
10527
|
}>]>, z.ZodObject<{
|
|
9876
10528
|
type: z.ZodLiteral<"pcb_port">;
|
|
9877
10529
|
pcb_port_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10530
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10531
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9878
10532
|
source_port_id: z.ZodString;
|
|
9879
10533
|
pcb_component_id: z.ZodString;
|
|
9880
10534
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -9896,6 +10550,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9896
10550
|
pcb_component_id: string;
|
|
9897
10551
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
9898
10552
|
pcb_port_id: string;
|
|
10553
|
+
subcircuit_id?: string | undefined;
|
|
10554
|
+
pcb_group_id?: string | undefined;
|
|
9899
10555
|
}, {
|
|
9900
10556
|
x: string | number;
|
|
9901
10557
|
y: string | number;
|
|
@@ -9905,10 +10561,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9905
10561
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
9906
10562
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
9907
10563
|
})[];
|
|
10564
|
+
subcircuit_id?: string | undefined;
|
|
10565
|
+
pcb_group_id?: string | undefined;
|
|
9908
10566
|
pcb_port_id?: string | undefined;
|
|
9909
10567
|
}>, z.ZodObject<{
|
|
9910
10568
|
type: z.ZodLiteral<"pcb_text">;
|
|
9911
10569
|
pcb_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10570
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10571
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9912
10572
|
text: z.ZodString;
|
|
9913
10573
|
center: z.ZodObject<{
|
|
9914
10574
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -9946,6 +10606,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9946
10606
|
pcb_text_id: string;
|
|
9947
10607
|
lines: number;
|
|
9948
10608
|
align: "bottom-left";
|
|
10609
|
+
subcircuit_id?: string | undefined;
|
|
10610
|
+
pcb_group_id?: string | undefined;
|
|
9949
10611
|
}, {
|
|
9950
10612
|
type: "pcb_text";
|
|
9951
10613
|
width: string | number;
|
|
@@ -9960,12 +10622,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9960
10622
|
};
|
|
9961
10623
|
lines: number;
|
|
9962
10624
|
align: "bottom-left";
|
|
10625
|
+
subcircuit_id?: string | undefined;
|
|
10626
|
+
pcb_group_id?: string | undefined;
|
|
9963
10627
|
pcb_text_id?: string | undefined;
|
|
9964
10628
|
}>, z.ZodObject<{
|
|
9965
10629
|
type: z.ZodLiteral<"pcb_trace">;
|
|
9966
10630
|
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
9967
10631
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
9968
10632
|
pcb_trace_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10633
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10634
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9969
10635
|
route_thickness_mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<["constant", "interpolated"]>>>;
|
|
9970
10636
|
route_order_index: z.ZodOptional<z.ZodNumber>;
|
|
9971
10637
|
should_round_corners: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10042,7 +10708,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10042
10708
|
from_layer: string;
|
|
10043
10709
|
})[];
|
|
10044
10710
|
source_trace_id?: string | undefined;
|
|
10711
|
+
subcircuit_id?: string | undefined;
|
|
10045
10712
|
pcb_component_id?: string | undefined;
|
|
10713
|
+
pcb_group_id?: string | undefined;
|
|
10046
10714
|
route_thickness_mode?: "constant" | "interpolated" | undefined;
|
|
10047
10715
|
route_order_index?: number | undefined;
|
|
10048
10716
|
should_round_corners?: boolean | undefined;
|
|
@@ -10067,7 +10735,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10067
10735
|
from_layer: string;
|
|
10068
10736
|
})[];
|
|
10069
10737
|
source_trace_id?: string | undefined;
|
|
10738
|
+
subcircuit_id?: string | undefined;
|
|
10070
10739
|
pcb_component_id?: string | undefined;
|
|
10740
|
+
pcb_group_id?: string | undefined;
|
|
10071
10741
|
pcb_trace_id?: string | undefined;
|
|
10072
10742
|
route_thickness_mode?: "constant" | "interpolated" | undefined;
|
|
10073
10743
|
route_order_index?: number | undefined;
|
|
@@ -10076,6 +10746,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10076
10746
|
}>, z.ZodObject<{
|
|
10077
10747
|
type: z.ZodLiteral<"pcb_via">;
|
|
10078
10748
|
pcb_via_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10749
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10750
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10079
10751
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10080
10752
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10081
10753
|
outer_diameter: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -10116,7 +10788,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10116
10788
|
outer_diameter: number;
|
|
10117
10789
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
10118
10790
|
pcb_via_id: string;
|
|
10791
|
+
subcircuit_id?: string | undefined;
|
|
10119
10792
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
10793
|
+
pcb_group_id?: string | undefined;
|
|
10120
10794
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
10121
10795
|
pcb_trace_id?: string | undefined;
|
|
10122
10796
|
}, {
|
|
@@ -10126,9 +10800,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10126
10800
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10127
10801
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10128
10802
|
})[];
|
|
10803
|
+
subcircuit_id?: string | undefined;
|
|
10129
10804
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10130
10805
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10131
10806
|
} | undefined;
|
|
10807
|
+
pcb_group_id?: string | undefined;
|
|
10132
10808
|
hole_diameter?: string | number | undefined;
|
|
10133
10809
|
outer_diameter?: string | number | undefined;
|
|
10134
10810
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
@@ -10140,6 +10816,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10140
10816
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
10141
10817
|
shape: z.ZodLiteral<"circle">;
|
|
10142
10818
|
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10819
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10820
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10143
10821
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10144
10822
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10145
10823
|
radius: z.ZodNumber;
|
|
@@ -10164,7 +10842,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10164
10842
|
pcb_smtpad_id: string;
|
|
10165
10843
|
radius: number;
|
|
10166
10844
|
port_hints?: string[] | undefined;
|
|
10845
|
+
subcircuit_id?: string | undefined;
|
|
10167
10846
|
pcb_component_id?: string | undefined;
|
|
10847
|
+
pcb_group_id?: string | undefined;
|
|
10168
10848
|
pcb_port_id?: string | undefined;
|
|
10169
10849
|
}, {
|
|
10170
10850
|
x: string | number;
|
|
@@ -10176,13 +10856,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10176
10856
|
};
|
|
10177
10857
|
radius: number;
|
|
10178
10858
|
port_hints?: string[] | undefined;
|
|
10859
|
+
subcircuit_id?: string | undefined;
|
|
10179
10860
|
pcb_component_id?: string | undefined;
|
|
10861
|
+
pcb_group_id?: string | undefined;
|
|
10180
10862
|
pcb_port_id?: string | undefined;
|
|
10181
10863
|
pcb_smtpad_id?: string | undefined;
|
|
10182
10864
|
}>, z.ZodObject<{
|
|
10183
10865
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
10184
10866
|
shape: z.ZodLiteral<"rect">;
|
|
10185
10867
|
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10868
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10869
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10186
10870
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10187
10871
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10188
10872
|
width: z.ZodNumber;
|
|
@@ -10209,7 +10893,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10209
10893
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10210
10894
|
pcb_smtpad_id: string;
|
|
10211
10895
|
port_hints?: string[] | undefined;
|
|
10896
|
+
subcircuit_id?: string | undefined;
|
|
10212
10897
|
pcb_component_id?: string | undefined;
|
|
10898
|
+
pcb_group_id?: string | undefined;
|
|
10213
10899
|
pcb_port_id?: string | undefined;
|
|
10214
10900
|
}, {
|
|
10215
10901
|
x: string | number;
|
|
@@ -10222,13 +10908,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10222
10908
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10223
10909
|
};
|
|
10224
10910
|
port_hints?: string[] | undefined;
|
|
10911
|
+
subcircuit_id?: string | undefined;
|
|
10225
10912
|
pcb_component_id?: string | undefined;
|
|
10913
|
+
pcb_group_id?: string | undefined;
|
|
10226
10914
|
pcb_port_id?: string | undefined;
|
|
10227
10915
|
pcb_smtpad_id?: string | undefined;
|
|
10228
10916
|
}>, z.ZodObject<{
|
|
10229
10917
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
10230
10918
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
10231
10919
|
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10920
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10921
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10232
10922
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10233
10923
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10234
10924
|
width: z.ZodNumber;
|
|
@@ -10257,7 +10947,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10257
10947
|
pcb_smtpad_id: string;
|
|
10258
10948
|
ccw_rotation: number;
|
|
10259
10949
|
port_hints?: string[] | undefined;
|
|
10950
|
+
subcircuit_id?: string | undefined;
|
|
10260
10951
|
pcb_component_id?: string | undefined;
|
|
10952
|
+
pcb_group_id?: string | undefined;
|
|
10261
10953
|
pcb_port_id?: string | undefined;
|
|
10262
10954
|
}, {
|
|
10263
10955
|
x: string | number;
|
|
@@ -10271,6 +10963,57 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10271
10963
|
};
|
|
10272
10964
|
ccw_rotation: string | number;
|
|
10273
10965
|
port_hints?: string[] | undefined;
|
|
10966
|
+
subcircuit_id?: string | undefined;
|
|
10967
|
+
pcb_component_id?: string | undefined;
|
|
10968
|
+
pcb_group_id?: string | undefined;
|
|
10969
|
+
pcb_port_id?: string | undefined;
|
|
10970
|
+
pcb_smtpad_id?: string | undefined;
|
|
10971
|
+
}>, z.ZodObject<{
|
|
10972
|
+
type: z.ZodLiteral<"pcb_smtpad">;
|
|
10973
|
+
shape: z.ZodLiteral<"pill">;
|
|
10974
|
+
pcb_smtpad_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10975
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10976
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10977
|
+
width: z.ZodNumber;
|
|
10978
|
+
height: z.ZodNumber;
|
|
10979
|
+
radius: z.ZodNumber;
|
|
10980
|
+
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
10981
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
10982
|
+
}, "strip", z.ZodTypeAny, {
|
|
10983
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10984
|
+
}, {
|
|
10985
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10986
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10987
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10988
|
+
}>;
|
|
10989
|
+
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
10990
|
+
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
10991
|
+
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
10992
|
+
}, "strip", z.ZodTypeAny, {
|
|
10993
|
+
x: number;
|
|
10994
|
+
y: number;
|
|
10995
|
+
type: "pcb_smtpad";
|
|
10996
|
+
width: number;
|
|
10997
|
+
height: number;
|
|
10998
|
+
shape: "pill";
|
|
10999
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11000
|
+
pcb_smtpad_id: string;
|
|
11001
|
+
radius: number;
|
|
11002
|
+
port_hints?: string[] | undefined;
|
|
11003
|
+
pcb_component_id?: string | undefined;
|
|
11004
|
+
pcb_port_id?: string | undefined;
|
|
11005
|
+
}, {
|
|
11006
|
+
x: string | number;
|
|
11007
|
+
y: string | number;
|
|
11008
|
+
type: "pcb_smtpad";
|
|
11009
|
+
width: number;
|
|
11010
|
+
height: number;
|
|
11011
|
+
shape: "pill";
|
|
11012
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
11013
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
11014
|
+
};
|
|
11015
|
+
radius: number;
|
|
11016
|
+
port_hints?: string[] | undefined;
|
|
10274
11017
|
pcb_component_id?: string | undefined;
|
|
10275
11018
|
pcb_port_id?: string | undefined;
|
|
10276
11019
|
pcb_smtpad_id?: string | undefined;
|
|
@@ -10278,6 +11021,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10278
11021
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
10279
11022
|
shape: z.ZodLiteral<"circle">;
|
|
10280
11023
|
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11024
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11025
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10281
11026
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10282
11027
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10283
11028
|
radius: z.ZodNumber;
|
|
@@ -10300,7 +11045,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10300
11045
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10301
11046
|
radius: number;
|
|
10302
11047
|
pcb_solder_paste_id: string;
|
|
11048
|
+
subcircuit_id?: string | undefined;
|
|
10303
11049
|
pcb_component_id?: string | undefined;
|
|
11050
|
+
pcb_group_id?: string | undefined;
|
|
10304
11051
|
pcb_smtpad_id?: string | undefined;
|
|
10305
11052
|
}, {
|
|
10306
11053
|
x: string | number;
|
|
@@ -10311,13 +11058,17 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10311
11058
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10312
11059
|
};
|
|
10313
11060
|
radius: number;
|
|
11061
|
+
subcircuit_id?: string | undefined;
|
|
10314
11062
|
pcb_component_id?: string | undefined;
|
|
11063
|
+
pcb_group_id?: string | undefined;
|
|
10315
11064
|
pcb_smtpad_id?: string | undefined;
|
|
10316
11065
|
pcb_solder_paste_id?: string | undefined;
|
|
10317
11066
|
}>, z.ZodObject<{
|
|
10318
11067
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
10319
11068
|
shape: z.ZodLiteral<"rect">;
|
|
10320
11069
|
pcb_solder_paste_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11070
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11071
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10321
11072
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10322
11073
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10323
11074
|
width: z.ZodNumber;
|
|
@@ -10342,7 +11093,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10342
11093
|
shape: "rect";
|
|
10343
11094
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10344
11095
|
pcb_solder_paste_id: string;
|
|
11096
|
+
subcircuit_id?: string | undefined;
|
|
10345
11097
|
pcb_component_id?: string | undefined;
|
|
11098
|
+
pcb_group_id?: string | undefined;
|
|
10346
11099
|
pcb_smtpad_id?: string | undefined;
|
|
10347
11100
|
}, {
|
|
10348
11101
|
x: string | number;
|
|
@@ -10354,12 +11107,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10354
11107
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10355
11108
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10356
11109
|
};
|
|
11110
|
+
subcircuit_id?: string | undefined;
|
|
10357
11111
|
pcb_component_id?: string | undefined;
|
|
11112
|
+
pcb_group_id?: string | undefined;
|
|
10358
11113
|
pcb_smtpad_id?: string | undefined;
|
|
10359
11114
|
pcb_solder_paste_id?: string | undefined;
|
|
10360
11115
|
}>]>, z.ZodObject<{
|
|
10361
11116
|
type: z.ZodLiteral<"pcb_board">;
|
|
10362
11117
|
pcb_board_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11118
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
11119
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10363
11120
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10364
11121
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10365
11122
|
center: z.ZodObject<{
|
|
@@ -10395,6 +11152,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10395
11152
|
pcb_board_id: string;
|
|
10396
11153
|
thickness: number;
|
|
10397
11154
|
num_layers: number;
|
|
11155
|
+
subcircuit_id?: string | undefined;
|
|
11156
|
+
is_subcircuit?: boolean | undefined;
|
|
10398
11157
|
outline?: {
|
|
10399
11158
|
x: number;
|
|
10400
11159
|
y: number;
|
|
@@ -10407,6 +11166,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10407
11166
|
x: string | number;
|
|
10408
11167
|
y: string | number;
|
|
10409
11168
|
};
|
|
11169
|
+
subcircuit_id?: string | undefined;
|
|
11170
|
+
is_subcircuit?: boolean | undefined;
|
|
10410
11171
|
pcb_board_id?: string | undefined;
|
|
10411
11172
|
thickness?: string | number | undefined;
|
|
10412
11173
|
num_layers?: number | undefined;
|
|
@@ -10417,6 +11178,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10417
11178
|
}>, z.ZodObject<{
|
|
10418
11179
|
type: z.ZodLiteral<"pcb_group">;
|
|
10419
11180
|
pcb_group_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11181
|
+
is_subcircuit: z.ZodOptional<z.ZodBoolean>;
|
|
11182
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10420
11183
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10421
11184
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10422
11185
|
center: z.ZodObject<{
|
|
@@ -10440,10 +11203,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10440
11203
|
x: number;
|
|
10441
11204
|
y: number;
|
|
10442
11205
|
};
|
|
10443
|
-
pcb_component_ids: string[];
|
|
10444
11206
|
pcb_group_id: string;
|
|
11207
|
+
pcb_component_ids: string[];
|
|
10445
11208
|
description?: string | undefined;
|
|
10446
11209
|
name?: string | undefined;
|
|
11210
|
+
subcircuit_id?: string | undefined;
|
|
11211
|
+
is_subcircuit?: boolean | undefined;
|
|
10447
11212
|
}, {
|
|
10448
11213
|
type: "pcb_group";
|
|
10449
11214
|
width: string | number;
|
|
@@ -10455,6 +11220,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10455
11220
|
pcb_component_ids: string[];
|
|
10456
11221
|
description?: string | undefined;
|
|
10457
11222
|
name?: string | undefined;
|
|
11223
|
+
subcircuit_id?: string | undefined;
|
|
11224
|
+
is_subcircuit?: boolean | undefined;
|
|
10458
11225
|
pcb_group_id?: string | undefined;
|
|
10459
11226
|
}>, z.ZodObject<{
|
|
10460
11227
|
type: z.ZodLiteral<"pcb_trace_hint">;
|
|
@@ -10520,6 +11287,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10520
11287
|
type: z.ZodLiteral<"pcb_silkscreen_line">;
|
|
10521
11288
|
pcb_silkscreen_line_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10522
11289
|
pcb_component_id: z.ZodString;
|
|
11290
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11291
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10523
11292
|
stroke_width: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10524
11293
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10525
11294
|
y1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10536,6 +11305,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10536
11305
|
layer: "top" | "bottom";
|
|
10537
11306
|
pcb_silkscreen_line_id: string;
|
|
10538
11307
|
stroke_width: number;
|
|
11308
|
+
subcircuit_id?: string | undefined;
|
|
11309
|
+
pcb_group_id?: string | undefined;
|
|
10539
11310
|
}, {
|
|
10540
11311
|
type: "pcb_silkscreen_line";
|
|
10541
11312
|
x1: string | number;
|
|
@@ -10544,12 +11315,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10544
11315
|
y2: string | number;
|
|
10545
11316
|
pcb_component_id: string;
|
|
10546
11317
|
layer: "top" | "bottom";
|
|
11318
|
+
subcircuit_id?: string | undefined;
|
|
11319
|
+
pcb_group_id?: string | undefined;
|
|
10547
11320
|
pcb_silkscreen_line_id?: string | undefined;
|
|
10548
11321
|
stroke_width?: string | number | undefined;
|
|
10549
11322
|
}>, z.ZodObject<{
|
|
10550
11323
|
type: z.ZodLiteral<"pcb_silkscreen_path">;
|
|
10551
11324
|
pcb_silkscreen_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10552
11325
|
pcb_component_id: z.ZodString;
|
|
11326
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11327
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10553
11328
|
layer: z.ZodEnum<["top", "bottom"]>;
|
|
10554
11329
|
route: z.ZodArray<z.ZodObject<{
|
|
10555
11330
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10572,6 +11347,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10572
11347
|
}[];
|
|
10573
11348
|
stroke_width: number;
|
|
10574
11349
|
pcb_silkscreen_path_id: string;
|
|
11350
|
+
subcircuit_id?: string | undefined;
|
|
11351
|
+
pcb_group_id?: string | undefined;
|
|
10575
11352
|
}, {
|
|
10576
11353
|
type: "pcb_silkscreen_path";
|
|
10577
11354
|
pcb_component_id: string;
|
|
@@ -10581,10 +11358,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10581
11358
|
y: string | number;
|
|
10582
11359
|
}[];
|
|
10583
11360
|
stroke_width: string | number;
|
|
11361
|
+
subcircuit_id?: string | undefined;
|
|
11362
|
+
pcb_group_id?: string | undefined;
|
|
10584
11363
|
pcb_silkscreen_path_id?: string | undefined;
|
|
10585
11364
|
}>, z.ZodObject<{
|
|
10586
11365
|
type: z.ZodLiteral<"pcb_silkscreen_text">;
|
|
10587
11366
|
pcb_silkscreen_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11367
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11368
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10588
11369
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
10589
11370
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10590
11371
|
pcb_component_id: z.ZodString;
|
|
@@ -10624,6 +11405,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10624
11405
|
font: "tscircuit2024";
|
|
10625
11406
|
font_size: number;
|
|
10626
11407
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
11408
|
+
subcircuit_id?: string | undefined;
|
|
11409
|
+
pcb_group_id?: string | undefined;
|
|
10627
11410
|
ccw_rotation?: number | undefined;
|
|
10628
11411
|
is_mirrored?: boolean | undefined;
|
|
10629
11412
|
}, {
|
|
@@ -10633,10 +11416,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10633
11416
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10634
11417
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10635
11418
|
};
|
|
11419
|
+
subcircuit_id?: string | undefined;
|
|
10636
11420
|
anchor_position?: {
|
|
10637
11421
|
x: string | number;
|
|
10638
11422
|
y: string | number;
|
|
10639
11423
|
} | undefined;
|
|
11424
|
+
pcb_group_id?: string | undefined;
|
|
10640
11425
|
ccw_rotation?: number | undefined;
|
|
10641
11426
|
pcb_silkscreen_text_id?: string | undefined;
|
|
10642
11427
|
font?: "tscircuit2024" | undefined;
|
|
@@ -10647,6 +11432,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10647
11432
|
type: z.ZodLiteral<"pcb_silkscreen_rect">;
|
|
10648
11433
|
pcb_silkscreen_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10649
11434
|
pcb_component_id: z.ZodString;
|
|
11435
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11436
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10650
11437
|
center: z.ZodObject<{
|
|
10651
11438
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10652
11439
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10679,6 +11466,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10679
11466
|
pcb_component_id: string;
|
|
10680
11467
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10681
11468
|
pcb_silkscreen_rect_id: string;
|
|
11469
|
+
subcircuit_id?: string | undefined;
|
|
11470
|
+
pcb_group_id?: string | undefined;
|
|
10682
11471
|
}, {
|
|
10683
11472
|
type: "pcb_silkscreen_rect";
|
|
10684
11473
|
width: string | number;
|
|
@@ -10691,11 +11480,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10691
11480
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
10692
11481
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
10693
11482
|
};
|
|
11483
|
+
subcircuit_id?: string | undefined;
|
|
11484
|
+
pcb_group_id?: string | undefined;
|
|
10694
11485
|
pcb_silkscreen_rect_id?: string | undefined;
|
|
10695
11486
|
}>, z.ZodObject<{
|
|
10696
11487
|
type: z.ZodLiteral<"pcb_silkscreen_circle">;
|
|
10697
11488
|
pcb_silkscreen_circle_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10698
11489
|
pcb_component_id: z.ZodString;
|
|
11490
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11491
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10699
11492
|
center: z.ZodObject<{
|
|
10700
11493
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10701
11494
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10718,6 +11511,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10718
11511
|
layer: "top" | "bottom";
|
|
10719
11512
|
radius: number;
|
|
10720
11513
|
pcb_silkscreen_circle_id: string;
|
|
11514
|
+
subcircuit_id?: string | undefined;
|
|
11515
|
+
pcb_group_id?: string | undefined;
|
|
10721
11516
|
}, {
|
|
10722
11517
|
type: "pcb_silkscreen_circle";
|
|
10723
11518
|
center: {
|
|
@@ -10727,11 +11522,15 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10727
11522
|
pcb_component_id: string;
|
|
10728
11523
|
layer: "top" | "bottom";
|
|
10729
11524
|
radius: string | number;
|
|
11525
|
+
subcircuit_id?: string | undefined;
|
|
11526
|
+
pcb_group_id?: string | undefined;
|
|
10730
11527
|
pcb_silkscreen_circle_id?: string | undefined;
|
|
10731
11528
|
}>, z.ZodObject<{
|
|
10732
11529
|
type: z.ZodLiteral<"pcb_silkscreen_oval">;
|
|
10733
11530
|
pcb_silkscreen_oval_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10734
11531
|
pcb_component_id: z.ZodString;
|
|
11532
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
11533
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10735
11534
|
center: z.ZodObject<{
|
|
10736
11535
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
10737
11536
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -10756,6 +11555,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10756
11555
|
pcb_silkscreen_oval_id: string;
|
|
10757
11556
|
radius_x: number;
|
|
10758
11557
|
radius_y: number;
|
|
11558
|
+
subcircuit_id?: string | undefined;
|
|
11559
|
+
pcb_group_id?: string | undefined;
|
|
10759
11560
|
}, {
|
|
10760
11561
|
type: "pcb_silkscreen_oval";
|
|
10761
11562
|
center: {
|
|
@@ -10766,6 +11567,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10766
11567
|
layer: "top" | "bottom";
|
|
10767
11568
|
radius_x: string | number;
|
|
10768
11569
|
radius_y: string | number;
|
|
11570
|
+
subcircuit_id?: string | undefined;
|
|
11571
|
+
pcb_group_id?: string | undefined;
|
|
10769
11572
|
pcb_silkscreen_oval_id?: string | undefined;
|
|
10770
11573
|
}>, z.ZodObject<{
|
|
10771
11574
|
type: z.ZodLiteral<"pcb_trace_error">;
|
|
@@ -10843,6 +11646,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10843
11646
|
type: z.ZodLiteral<"pcb_fabrication_note_path">;
|
|
10844
11647
|
pcb_fabrication_note_path_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10845
11648
|
pcb_component_id: z.ZodString;
|
|
11649
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10846
11650
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
10847
11651
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
10848
11652
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10874,6 +11678,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10874
11678
|
}[];
|
|
10875
11679
|
stroke_width: number;
|
|
10876
11680
|
pcb_fabrication_note_path_id: string;
|
|
11681
|
+
subcircuit_id?: string | undefined;
|
|
10877
11682
|
color?: string | undefined;
|
|
10878
11683
|
}, {
|
|
10879
11684
|
type: "pcb_fabrication_note_path";
|
|
@@ -10886,11 +11691,14 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10886
11691
|
y: string | number;
|
|
10887
11692
|
}[];
|
|
10888
11693
|
stroke_width: string | number;
|
|
11694
|
+
subcircuit_id?: string | undefined;
|
|
10889
11695
|
color?: string | undefined;
|
|
10890
11696
|
pcb_fabrication_note_path_id?: string | undefined;
|
|
10891
11697
|
}>, z.ZodObject<{
|
|
10892
11698
|
type: z.ZodLiteral<"pcb_fabrication_note_text">;
|
|
10893
11699
|
pcb_fabrication_note_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
11700
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
11701
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
10894
11702
|
font: z.ZodDefault<z.ZodLiteral<"tscircuit2024">>;
|
|
10895
11703
|
font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
10896
11704
|
pcb_component_id: z.ZodString;
|
|
@@ -10921,17 +11729,21 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10921
11729
|
font_size: number;
|
|
10922
11730
|
anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
|
|
10923
11731
|
pcb_fabrication_note_text_id: string;
|
|
11732
|
+
subcircuit_id?: string | undefined;
|
|
10924
11733
|
color?: string | undefined;
|
|
11734
|
+
pcb_group_id?: string | undefined;
|
|
10925
11735
|
}, {
|
|
10926
11736
|
type: "pcb_fabrication_note_text";
|
|
10927
11737
|
text: string;
|
|
10928
11738
|
pcb_component_id: string;
|
|
10929
11739
|
layer: "top" | "bottom";
|
|
11740
|
+
subcircuit_id?: string | undefined;
|
|
10930
11741
|
color?: string | undefined;
|
|
10931
11742
|
anchor_position?: {
|
|
10932
11743
|
x: string | number;
|
|
10933
11744
|
y: string | number;
|
|
10934
11745
|
} | undefined;
|
|
11746
|
+
pcb_group_id?: string | undefined;
|
|
10935
11747
|
font?: "tscircuit2024" | undefined;
|
|
10936
11748
|
font_size?: string | number | undefined;
|
|
10937
11749
|
anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
|
|
@@ -11800,4 +12612,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
11800
12612
|
*/
|
|
11801
12613
|
type CircuitJson = AnyCircuitElement[];
|
|
11802
12614
|
|
|
11803
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, 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 PCBManualEditConflictError, 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 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 PcbManualEditConflictError, type PcbManualEditConflictErrorInput, 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 PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteRect, 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 SchematicLine, type SchematicLineInput, 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 SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, 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 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_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_error, 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_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_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_group, source_led, source_net, source_port, 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_transistor, source_trace, supplier_name, time, visible_layer, voltage };
|
|
12615
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, 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 PCBManualEditConflictError, 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 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 PcbManualEditConflictError, type PcbManualEditConflictErrorInput, 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 PcbSolderPasteRect, 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 SchematicLine, type SchematicLineInput, 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 SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, 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 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_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_error, 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_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_group, source_led, source_net, source_port, 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_transistor, source_trace, supplier_name, time, visible_layer, voltage };
|