@tscircuit/props 0.0.111 → 0.0.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +386 -6
- package/dist/index.js +97 -66
- package/dist/index.js.map +1 -1
- package/lib/manual-edits/index.ts +3 -1
- package/lib/manual-edits/manual-edit-events/edit_pcb_component_location_event.ts +37 -0
- package/lib/manual-edits/manual-edit-events/edit_schematic_component_location_event.ts +31 -0
- package/lib/manual-edits/manual-edit-events/index.ts +2 -1
- package/lib/manual-edits/manual_edit_event.ts +15 -6
- package/lib/manual-edits/manual_edit_file.ts +3 -1
- package/lib/manual-edits/manual_pcb_placement.ts +24 -0
- package/lib/manual-edits/manual_schematic_placement.ts +30 -0
- package/package.json +1 -1
- package/lib/manual-edits/manual-edit-events/edit_component_location_event.ts +0 -29
- package/lib/manual-edits/manual_pcb_position.ts +0 -15
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { LayerRef, LayerRefInput, AnySourceComponent, PcbTrace, RouteHintPoint } from 'circuit-json';
|
|
2
|
+
import { LayerRef, LayerRefInput, AnySourceComponent, PcbTrace, Point as Point$1, RouteHintPoint } from 'circuit-json';
|
|
3
3
|
import { ReactElement } from 'react';
|
|
4
4
|
import * as _tscircuit_layout from '@tscircuit/layout';
|
|
5
5
|
import { LayoutBuilder, ManualEditFile } from '@tscircuit/layout';
|
|
@@ -7787,12 +7787,73 @@ interface BaseManualEditEvent {
|
|
|
7787
7787
|
}
|
|
7788
7788
|
type BaseManualEditEventInput = z.input<typeof base_manual_edit_event>;
|
|
7789
7789
|
|
|
7790
|
+
declare const edit_pcb_component_location_event: z.ZodObject<z.objectUtil.extendShape<{
|
|
7791
|
+
edit_event_id: z.ZodString;
|
|
7792
|
+
in_progress: z.ZodOptional<z.ZodBoolean>;
|
|
7793
|
+
created_at: z.ZodNumber;
|
|
7794
|
+
}, {
|
|
7795
|
+
pcb_edit_event_type: z.ZodLiteral<"edit_component_location">;
|
|
7796
|
+
edit_event_type: z.ZodLiteral<"edit_pcb_component_location">;
|
|
7797
|
+
pcb_component_id: z.ZodString;
|
|
7798
|
+
original_center: z.ZodObject<{
|
|
7799
|
+
x: z.ZodNumber;
|
|
7800
|
+
y: z.ZodNumber;
|
|
7801
|
+
}, "strip", z.ZodTypeAny, {
|
|
7802
|
+
x: number;
|
|
7803
|
+
y: number;
|
|
7804
|
+
}, {
|
|
7805
|
+
x: number;
|
|
7806
|
+
y: number;
|
|
7807
|
+
}>;
|
|
7808
|
+
new_center: z.ZodObject<{
|
|
7809
|
+
x: z.ZodNumber;
|
|
7810
|
+
y: z.ZodNumber;
|
|
7811
|
+
}, "strip", z.ZodTypeAny, {
|
|
7812
|
+
x: number;
|
|
7813
|
+
y: number;
|
|
7814
|
+
}, {
|
|
7815
|
+
x: number;
|
|
7816
|
+
y: number;
|
|
7817
|
+
}>;
|
|
7818
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7819
|
+
edit_event_id: string;
|
|
7820
|
+
created_at: number;
|
|
7821
|
+
pcb_edit_event_type: "edit_component_location";
|
|
7822
|
+
edit_event_type: "edit_pcb_component_location";
|
|
7823
|
+
pcb_component_id: string;
|
|
7824
|
+
original_center: {
|
|
7825
|
+
x: number;
|
|
7826
|
+
y: number;
|
|
7827
|
+
};
|
|
7828
|
+
new_center: {
|
|
7829
|
+
x: number;
|
|
7830
|
+
y: number;
|
|
7831
|
+
};
|
|
7832
|
+
in_progress?: boolean | undefined;
|
|
7833
|
+
}, {
|
|
7834
|
+
edit_event_id: string;
|
|
7835
|
+
created_at: number;
|
|
7836
|
+
pcb_edit_event_type: "edit_component_location";
|
|
7837
|
+
edit_event_type: "edit_pcb_component_location";
|
|
7838
|
+
pcb_component_id: string;
|
|
7839
|
+
original_center: {
|
|
7840
|
+
x: number;
|
|
7841
|
+
y: number;
|
|
7842
|
+
};
|
|
7843
|
+
new_center: {
|
|
7844
|
+
x: number;
|
|
7845
|
+
y: number;
|
|
7846
|
+
};
|
|
7847
|
+
in_progress?: boolean | undefined;
|
|
7848
|
+
}>;
|
|
7849
|
+
/** @deprecated use edit_pcb_component_location_event instead */
|
|
7790
7850
|
declare const edit_component_location_event: z.ZodObject<z.objectUtil.extendShape<{
|
|
7791
7851
|
edit_event_id: z.ZodString;
|
|
7792
7852
|
in_progress: z.ZodOptional<z.ZodBoolean>;
|
|
7793
7853
|
created_at: z.ZodNumber;
|
|
7794
7854
|
}, {
|
|
7795
7855
|
pcb_edit_event_type: z.ZodLiteral<"edit_component_location">;
|
|
7856
|
+
edit_event_type: z.ZodLiteral<"edit_pcb_component_location">;
|
|
7796
7857
|
pcb_component_id: z.ZodString;
|
|
7797
7858
|
original_center: z.ZodObject<{
|
|
7798
7859
|
x: z.ZodNumber;
|
|
@@ -7818,6 +7879,7 @@ declare const edit_component_location_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
7818
7879
|
edit_event_id: string;
|
|
7819
7880
|
created_at: number;
|
|
7820
7881
|
pcb_edit_event_type: "edit_component_location";
|
|
7882
|
+
edit_event_type: "edit_pcb_component_location";
|
|
7821
7883
|
pcb_component_id: string;
|
|
7822
7884
|
original_center: {
|
|
7823
7885
|
x: number;
|
|
@@ -7832,6 +7894,7 @@ declare const edit_component_location_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
7832
7894
|
edit_event_id: string;
|
|
7833
7895
|
created_at: number;
|
|
7834
7896
|
pcb_edit_event_type: "edit_component_location";
|
|
7897
|
+
edit_event_type: "edit_pcb_component_location";
|
|
7835
7898
|
pcb_component_id: string;
|
|
7836
7899
|
original_center: {
|
|
7837
7900
|
x: number;
|
|
@@ -7843,7 +7906,9 @@ declare const edit_component_location_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
7843
7906
|
};
|
|
7844
7907
|
in_progress?: boolean | undefined;
|
|
7845
7908
|
}>;
|
|
7846
|
-
interface
|
|
7909
|
+
interface EditPcbComponentLocationEvent extends BaseManualEditEvent {
|
|
7910
|
+
edit_event_type: "edit_pcb_component_location";
|
|
7911
|
+
/** @deprecated */
|
|
7847
7912
|
pcb_edit_event_type: "edit_component_location";
|
|
7848
7913
|
pcb_component_id: string;
|
|
7849
7914
|
original_center: {
|
|
@@ -7855,7 +7920,7 @@ interface EditComponentLocationEvent extends BaseManualEditEvent {
|
|
|
7855
7920
|
y: number;
|
|
7856
7921
|
};
|
|
7857
7922
|
}
|
|
7858
|
-
type
|
|
7923
|
+
type EditPcbComponentLocationEventInput = z.input<typeof edit_pcb_component_location_event>;
|
|
7859
7924
|
|
|
7860
7925
|
declare const edit_trace_hint_event: z.ZodObject<z.objectUtil.extendShape<{
|
|
7861
7926
|
edit_event_id: z.ZodString;
|
|
@@ -7915,6 +7980,238 @@ interface EditTraceHintEvent extends BaseManualEditEvent {
|
|
|
7915
7980
|
}
|
|
7916
7981
|
type EditTraceHintEventInput = z.input<typeof edit_trace_hint_event>;
|
|
7917
7982
|
|
|
7983
|
+
declare const edit_schematic_component_location_event: z.ZodObject<z.objectUtil.extendShape<{
|
|
7984
|
+
edit_event_id: z.ZodString;
|
|
7985
|
+
in_progress: z.ZodOptional<z.ZodBoolean>;
|
|
7986
|
+
created_at: z.ZodNumber;
|
|
7987
|
+
}, {
|
|
7988
|
+
edit_event_type: z.ZodLiteral<"edit_schematic_component_location">;
|
|
7989
|
+
schematic_component_id: z.ZodString;
|
|
7990
|
+
original_center: z.ZodObject<{
|
|
7991
|
+
x: z.ZodNumber;
|
|
7992
|
+
y: z.ZodNumber;
|
|
7993
|
+
}, "strip", z.ZodTypeAny, {
|
|
7994
|
+
x: number;
|
|
7995
|
+
y: number;
|
|
7996
|
+
}, {
|
|
7997
|
+
x: number;
|
|
7998
|
+
y: number;
|
|
7999
|
+
}>;
|
|
8000
|
+
new_center: z.ZodObject<{
|
|
8001
|
+
x: z.ZodNumber;
|
|
8002
|
+
y: z.ZodNumber;
|
|
8003
|
+
}, "strip", z.ZodTypeAny, {
|
|
8004
|
+
x: number;
|
|
8005
|
+
y: number;
|
|
8006
|
+
}, {
|
|
8007
|
+
x: number;
|
|
8008
|
+
y: number;
|
|
8009
|
+
}>;
|
|
8010
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8011
|
+
edit_event_id: string;
|
|
8012
|
+
created_at: number;
|
|
8013
|
+
edit_event_type: "edit_schematic_component_location";
|
|
8014
|
+
original_center: {
|
|
8015
|
+
x: number;
|
|
8016
|
+
y: number;
|
|
8017
|
+
};
|
|
8018
|
+
new_center: {
|
|
8019
|
+
x: number;
|
|
8020
|
+
y: number;
|
|
8021
|
+
};
|
|
8022
|
+
schematic_component_id: string;
|
|
8023
|
+
in_progress?: boolean | undefined;
|
|
8024
|
+
}, {
|
|
8025
|
+
edit_event_id: string;
|
|
8026
|
+
created_at: number;
|
|
8027
|
+
edit_event_type: "edit_schematic_component_location";
|
|
8028
|
+
original_center: {
|
|
8029
|
+
x: number;
|
|
8030
|
+
y: number;
|
|
8031
|
+
};
|
|
8032
|
+
new_center: {
|
|
8033
|
+
x: number;
|
|
8034
|
+
y: number;
|
|
8035
|
+
};
|
|
8036
|
+
schematic_component_id: string;
|
|
8037
|
+
in_progress?: boolean | undefined;
|
|
8038
|
+
}>;
|
|
8039
|
+
interface EditSchematicComponentLocationEvent extends BaseManualEditEvent {
|
|
8040
|
+
edit_event_type: "edit_schematic_component_location";
|
|
8041
|
+
schematic_component_id: string;
|
|
8042
|
+
original_center: {
|
|
8043
|
+
x: number;
|
|
8044
|
+
y: number;
|
|
8045
|
+
};
|
|
8046
|
+
new_center: {
|
|
8047
|
+
x: number;
|
|
8048
|
+
y: number;
|
|
8049
|
+
};
|
|
8050
|
+
}
|
|
8051
|
+
type EditSchematicComponentLocationEventInput = z.input<typeof edit_schematic_component_location_event>;
|
|
8052
|
+
|
|
8053
|
+
type ManualEditEvent = EditPcbComponentLocationEvent | EditTraceHintEvent | EditSchematicComponentLocationEvent;
|
|
8054
|
+
declare const manual_edit_event: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
8055
|
+
edit_event_id: z.ZodString;
|
|
8056
|
+
in_progress: z.ZodOptional<z.ZodBoolean>;
|
|
8057
|
+
created_at: z.ZodNumber;
|
|
8058
|
+
}, {
|
|
8059
|
+
pcb_edit_event_type: z.ZodLiteral<"edit_component_location">;
|
|
8060
|
+
edit_event_type: z.ZodLiteral<"edit_pcb_component_location">;
|
|
8061
|
+
pcb_component_id: z.ZodString;
|
|
8062
|
+
original_center: z.ZodObject<{
|
|
8063
|
+
x: z.ZodNumber;
|
|
8064
|
+
y: z.ZodNumber;
|
|
8065
|
+
}, "strip", z.ZodTypeAny, {
|
|
8066
|
+
x: number;
|
|
8067
|
+
y: number;
|
|
8068
|
+
}, {
|
|
8069
|
+
x: number;
|
|
8070
|
+
y: number;
|
|
8071
|
+
}>;
|
|
8072
|
+
new_center: z.ZodObject<{
|
|
8073
|
+
x: z.ZodNumber;
|
|
8074
|
+
y: z.ZodNumber;
|
|
8075
|
+
}, "strip", z.ZodTypeAny, {
|
|
8076
|
+
x: number;
|
|
8077
|
+
y: number;
|
|
8078
|
+
}, {
|
|
8079
|
+
x: number;
|
|
8080
|
+
y: number;
|
|
8081
|
+
}>;
|
|
8082
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8083
|
+
edit_event_id: string;
|
|
8084
|
+
created_at: number;
|
|
8085
|
+
pcb_edit_event_type: "edit_component_location";
|
|
8086
|
+
edit_event_type: "edit_pcb_component_location";
|
|
8087
|
+
pcb_component_id: string;
|
|
8088
|
+
original_center: {
|
|
8089
|
+
x: number;
|
|
8090
|
+
y: number;
|
|
8091
|
+
};
|
|
8092
|
+
new_center: {
|
|
8093
|
+
x: number;
|
|
8094
|
+
y: number;
|
|
8095
|
+
};
|
|
8096
|
+
in_progress?: boolean | undefined;
|
|
8097
|
+
}, {
|
|
8098
|
+
edit_event_id: string;
|
|
8099
|
+
created_at: number;
|
|
8100
|
+
pcb_edit_event_type: "edit_component_location";
|
|
8101
|
+
edit_event_type: "edit_pcb_component_location";
|
|
8102
|
+
pcb_component_id: string;
|
|
8103
|
+
original_center: {
|
|
8104
|
+
x: number;
|
|
8105
|
+
y: number;
|
|
8106
|
+
};
|
|
8107
|
+
new_center: {
|
|
8108
|
+
x: number;
|
|
8109
|
+
y: number;
|
|
8110
|
+
};
|
|
8111
|
+
in_progress?: boolean | undefined;
|
|
8112
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8113
|
+
edit_event_id: z.ZodString;
|
|
8114
|
+
in_progress: z.ZodOptional<z.ZodBoolean>;
|
|
8115
|
+
created_at: z.ZodNumber;
|
|
8116
|
+
}, {
|
|
8117
|
+
pcb_edit_event_type: z.ZodLiteral<"edit_trace_hint">;
|
|
8118
|
+
pcb_port_id: z.ZodString;
|
|
8119
|
+
pcb_trace_hint_id: z.ZodOptional<z.ZodString>;
|
|
8120
|
+
route: z.ZodArray<z.ZodObject<{
|
|
8121
|
+
x: z.ZodNumber;
|
|
8122
|
+
y: z.ZodNumber;
|
|
8123
|
+
via: z.ZodOptional<z.ZodBoolean>;
|
|
8124
|
+
}, "strip", z.ZodTypeAny, {
|
|
8125
|
+
x: number;
|
|
8126
|
+
y: number;
|
|
8127
|
+
via?: boolean | undefined;
|
|
8128
|
+
}, {
|
|
8129
|
+
x: number;
|
|
8130
|
+
y: number;
|
|
8131
|
+
via?: boolean | undefined;
|
|
8132
|
+
}>, "many">;
|
|
8133
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8134
|
+
route: {
|
|
8135
|
+
x: number;
|
|
8136
|
+
y: number;
|
|
8137
|
+
via?: boolean | undefined;
|
|
8138
|
+
}[];
|
|
8139
|
+
edit_event_id: string;
|
|
8140
|
+
created_at: number;
|
|
8141
|
+
pcb_edit_event_type: "edit_trace_hint";
|
|
8142
|
+
pcb_port_id: string;
|
|
8143
|
+
in_progress?: boolean | undefined;
|
|
8144
|
+
pcb_trace_hint_id?: string | undefined;
|
|
8145
|
+
}, {
|
|
8146
|
+
route: {
|
|
8147
|
+
x: number;
|
|
8148
|
+
y: number;
|
|
8149
|
+
via?: boolean | undefined;
|
|
8150
|
+
}[];
|
|
8151
|
+
edit_event_id: string;
|
|
8152
|
+
created_at: number;
|
|
8153
|
+
pcb_edit_event_type: "edit_trace_hint";
|
|
8154
|
+
pcb_port_id: string;
|
|
8155
|
+
in_progress?: boolean | undefined;
|
|
8156
|
+
pcb_trace_hint_id?: string | undefined;
|
|
8157
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8158
|
+
edit_event_id: z.ZodString;
|
|
8159
|
+
in_progress: z.ZodOptional<z.ZodBoolean>;
|
|
8160
|
+
created_at: z.ZodNumber;
|
|
8161
|
+
}, {
|
|
8162
|
+
edit_event_type: z.ZodLiteral<"edit_schematic_component_location">;
|
|
8163
|
+
schematic_component_id: z.ZodString;
|
|
8164
|
+
original_center: z.ZodObject<{
|
|
8165
|
+
x: z.ZodNumber;
|
|
8166
|
+
y: z.ZodNumber;
|
|
8167
|
+
}, "strip", z.ZodTypeAny, {
|
|
8168
|
+
x: number;
|
|
8169
|
+
y: number;
|
|
8170
|
+
}, {
|
|
8171
|
+
x: number;
|
|
8172
|
+
y: number;
|
|
8173
|
+
}>;
|
|
8174
|
+
new_center: z.ZodObject<{
|
|
8175
|
+
x: z.ZodNumber;
|
|
8176
|
+
y: z.ZodNumber;
|
|
8177
|
+
}, "strip", z.ZodTypeAny, {
|
|
8178
|
+
x: number;
|
|
8179
|
+
y: number;
|
|
8180
|
+
}, {
|
|
8181
|
+
x: number;
|
|
8182
|
+
y: number;
|
|
8183
|
+
}>;
|
|
8184
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8185
|
+
edit_event_id: string;
|
|
8186
|
+
created_at: number;
|
|
8187
|
+
edit_event_type: "edit_schematic_component_location";
|
|
8188
|
+
original_center: {
|
|
8189
|
+
x: number;
|
|
8190
|
+
y: number;
|
|
8191
|
+
};
|
|
8192
|
+
new_center: {
|
|
8193
|
+
x: number;
|
|
8194
|
+
y: number;
|
|
8195
|
+
};
|
|
8196
|
+
schematic_component_id: string;
|
|
8197
|
+
in_progress?: boolean | undefined;
|
|
8198
|
+
}, {
|
|
8199
|
+
edit_event_id: string;
|
|
8200
|
+
created_at: number;
|
|
8201
|
+
edit_event_type: "edit_schematic_component_location";
|
|
8202
|
+
original_center: {
|
|
8203
|
+
x: number;
|
|
8204
|
+
y: number;
|
|
8205
|
+
};
|
|
8206
|
+
new_center: {
|
|
8207
|
+
x: number;
|
|
8208
|
+
y: number;
|
|
8209
|
+
};
|
|
8210
|
+
schematic_component_id: string;
|
|
8211
|
+
in_progress?: boolean | undefined;
|
|
8212
|
+
}>]>;
|
|
8213
|
+
type ManualEditEventInput = z.input<typeof manual_edit_event>;
|
|
8214
|
+
|
|
7918
8215
|
declare const manual_edit_file: z.ZodObject<{
|
|
7919
8216
|
pcb_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7920
8217
|
selector: z.ZodString;
|
|
@@ -7996,6 +8293,34 @@ declare const manual_edit_file: z.ZodObject<{
|
|
|
7996
8293
|
}[];
|
|
7997
8294
|
pcb_port_selector: string;
|
|
7998
8295
|
}>, "many">>;
|
|
8296
|
+
schematic_placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8297
|
+
selector: z.ZodString;
|
|
8298
|
+
relative_to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8299
|
+
center: z.ZodObject<{
|
|
8300
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8301
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8302
|
+
}, "strip", z.ZodTypeAny, {
|
|
8303
|
+
x: number;
|
|
8304
|
+
y: number;
|
|
8305
|
+
}, {
|
|
8306
|
+
x: string | number;
|
|
8307
|
+
y: string | number;
|
|
8308
|
+
}>;
|
|
8309
|
+
}, "strip", z.ZodTypeAny, {
|
|
8310
|
+
center: {
|
|
8311
|
+
x: number;
|
|
8312
|
+
y: number;
|
|
8313
|
+
};
|
|
8314
|
+
selector: string;
|
|
8315
|
+
relative_to: string;
|
|
8316
|
+
}, {
|
|
8317
|
+
center: {
|
|
8318
|
+
x: string | number;
|
|
8319
|
+
y: string | number;
|
|
8320
|
+
};
|
|
8321
|
+
selector: string;
|
|
8322
|
+
relative_to?: string | undefined;
|
|
8323
|
+
}>, "many">>;
|
|
7999
8324
|
}, "strip", z.ZodTypeAny, {
|
|
8000
8325
|
pcb_placements?: {
|
|
8001
8326
|
center: {
|
|
@@ -8015,6 +8340,14 @@ declare const manual_edit_file: z.ZodObject<{
|
|
|
8015
8340
|
}[];
|
|
8016
8341
|
pcb_port_selector: string;
|
|
8017
8342
|
}[] | undefined;
|
|
8343
|
+
schematic_placements?: {
|
|
8344
|
+
center: {
|
|
8345
|
+
x: number;
|
|
8346
|
+
y: number;
|
|
8347
|
+
};
|
|
8348
|
+
selector: string;
|
|
8349
|
+
relative_to: string;
|
|
8350
|
+
}[] | undefined;
|
|
8018
8351
|
}, {
|
|
8019
8352
|
pcb_placements?: {
|
|
8020
8353
|
center: {
|
|
@@ -8036,6 +8369,14 @@ declare const manual_edit_file: z.ZodObject<{
|
|
|
8036
8369
|
}[];
|
|
8037
8370
|
pcb_port_selector: string;
|
|
8038
8371
|
}[] | undefined;
|
|
8372
|
+
schematic_placements?: {
|
|
8373
|
+
center: {
|
|
8374
|
+
x: string | number;
|
|
8375
|
+
y: string | number;
|
|
8376
|
+
};
|
|
8377
|
+
selector: string;
|
|
8378
|
+
relative_to?: string | undefined;
|
|
8379
|
+
}[] | undefined;
|
|
8039
8380
|
}>;
|
|
8040
8381
|
|
|
8041
8382
|
declare const manual_pcb_placement: z.ZodObject<{
|
|
@@ -8066,8 +8407,47 @@ declare const manual_pcb_placement: z.ZodObject<{
|
|
|
8066
8407
|
selector: string;
|
|
8067
8408
|
relative_to?: string | undefined;
|
|
8068
8409
|
}>;
|
|
8069
|
-
|
|
8070
|
-
|
|
8410
|
+
interface ManualPcbPlacement {
|
|
8411
|
+
selector: string;
|
|
8412
|
+
relative_to: string;
|
|
8413
|
+
center: Point$1;
|
|
8414
|
+
}
|
|
8415
|
+
type ManualPcbPlacementInput = z.input<typeof manual_pcb_placement>;
|
|
8416
|
+
|
|
8417
|
+
declare const manual_schematic_placement: z.ZodObject<{
|
|
8418
|
+
selector: z.ZodString;
|
|
8419
|
+
relative_to: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8420
|
+
center: z.ZodObject<{
|
|
8421
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8422
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8423
|
+
}, "strip", z.ZodTypeAny, {
|
|
8424
|
+
x: number;
|
|
8425
|
+
y: number;
|
|
8426
|
+
}, {
|
|
8427
|
+
x: string | number;
|
|
8428
|
+
y: string | number;
|
|
8429
|
+
}>;
|
|
8430
|
+
}, "strip", z.ZodTypeAny, {
|
|
8431
|
+
center: {
|
|
8432
|
+
x: number;
|
|
8433
|
+
y: number;
|
|
8434
|
+
};
|
|
8435
|
+
selector: string;
|
|
8436
|
+
relative_to: string;
|
|
8437
|
+
}, {
|
|
8438
|
+
center: {
|
|
8439
|
+
x: string | number;
|
|
8440
|
+
y: string | number;
|
|
8441
|
+
};
|
|
8442
|
+
selector: string;
|
|
8443
|
+
relative_to?: string | undefined;
|
|
8444
|
+
}>;
|
|
8445
|
+
interface ManualSchematicPlacement {
|
|
8446
|
+
selector: string;
|
|
8447
|
+
relative_to: string;
|
|
8448
|
+
center: Point$1;
|
|
8449
|
+
}
|
|
8450
|
+
type ManualSchematicPlacementInput = z.input<typeof manual_schematic_placement>;
|
|
8071
8451
|
|
|
8072
8452
|
declare const manual_trace_hint: z.ZodObject<{
|
|
8073
8453
|
pcb_port_selector: z.ZodString;
|
|
@@ -11388,4 +11768,4 @@ declare const fabricationNotePathProps: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
11388
11768
|
}>;
|
|
11389
11769
|
type FabricationNotePathProps = z.input<typeof fabricationNotePathProps>;
|
|
11390
11770
|
|
|
11391
|
-
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type
|
|
11771
|
+
export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type JumperProps, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type NetAliasProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PortHints, type PortProps, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edit_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pinHeaderProps, pinLabelsProp, platedHoleProps, point3, portHints, portProps, portRef, potentiometerPins, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, viaProps };
|