circuit-json 0.0.464 → 0.0.465
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.mts +16 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -25152,6 +25152,13 @@ interface SchematicText {
|
|
|
25152
25152
|
schematic_component_id?: string;
|
|
25153
25153
|
schematic_symbol_id?: string;
|
|
25154
25154
|
schematic_text_id: string;
|
|
25155
|
+
/**
|
|
25156
|
+
* Set when the text annotates a trace rather than a component, as an inline
|
|
25157
|
+
* net label does - the net name drawn alongside a point-to-point wire instead
|
|
25158
|
+
* of as an anchored `schematic_net_label`. Lets consumers tell such a label
|
|
25159
|
+
* apart from free-standing text and resolve the net it belongs to.
|
|
25160
|
+
*/
|
|
25161
|
+
source_trace_id?: string;
|
|
25155
25162
|
text: string;
|
|
25156
25163
|
font_size: number;
|
|
25157
25164
|
position: {
|
|
@@ -25169,6 +25176,7 @@ declare const schematic_text: z.ZodObject<{
|
|
|
25169
25176
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
25170
25177
|
schematic_symbol_id: z.ZodOptional<z.ZodString>;
|
|
25171
25178
|
schematic_text_id: z.ZodString;
|
|
25179
|
+
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
25172
25180
|
text: z.ZodString;
|
|
25173
25181
|
font_size: z.ZodDefault<z.ZodNumber>;
|
|
25174
25182
|
position: z.ZodObject<{
|
|
@@ -25198,6 +25206,7 @@ declare const schematic_text: z.ZodObject<{
|
|
|
25198
25206
|
y: number;
|
|
25199
25207
|
};
|
|
25200
25208
|
subcircuit_id?: string | undefined;
|
|
25209
|
+
source_trace_id?: string | undefined;
|
|
25201
25210
|
schematic_sheet_id?: string | undefined;
|
|
25202
25211
|
schematic_component_id?: string | undefined;
|
|
25203
25212
|
schematic_symbol_id?: string | undefined;
|
|
@@ -25212,6 +25221,7 @@ declare const schematic_text: z.ZodObject<{
|
|
|
25212
25221
|
anchor?: "top" | "bottom" | "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
|
|
25213
25222
|
rotation?: number | undefined;
|
|
25214
25223
|
subcircuit_id?: string | undefined;
|
|
25224
|
+
source_trace_id?: string | undefined;
|
|
25215
25225
|
font_size?: number | undefined;
|
|
25216
25226
|
color?: string | undefined;
|
|
25217
25227
|
schematic_sheet_id?: string | undefined;
|
|
@@ -46060,6 +46070,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46060
46070
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
46061
46071
|
schematic_symbol_id: z.ZodOptional<z.ZodString>;
|
|
46062
46072
|
schematic_text_id: z.ZodString;
|
|
46073
|
+
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
46063
46074
|
text: z.ZodString;
|
|
46064
46075
|
font_size: z.ZodDefault<z.ZodNumber>;
|
|
46065
46076
|
position: z.ZodObject<{
|
|
@@ -46089,6 +46100,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46089
46100
|
y: number;
|
|
46090
46101
|
};
|
|
46091
46102
|
subcircuit_id?: string | undefined;
|
|
46103
|
+
source_trace_id?: string | undefined;
|
|
46092
46104
|
schematic_sheet_id?: string | undefined;
|
|
46093
46105
|
schematic_component_id?: string | undefined;
|
|
46094
46106
|
schematic_symbol_id?: string | undefined;
|
|
@@ -46103,6 +46115,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
46103
46115
|
anchor?: "top" | "bottom" | "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
|
|
46104
46116
|
rotation?: number | undefined;
|
|
46105
46117
|
subcircuit_id?: string | undefined;
|
|
46118
|
+
source_trace_id?: string | undefined;
|
|
46106
46119
|
font_size?: number | undefined;
|
|
46107
46120
|
color?: string | undefined;
|
|
46108
46121
|
schematic_sheet_id?: string | undefined;
|
|
@@ -66054,6 +66067,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66054
66067
|
schematic_component_id: z.ZodOptional<z.ZodString>;
|
|
66055
66068
|
schematic_symbol_id: z.ZodOptional<z.ZodString>;
|
|
66056
66069
|
schematic_text_id: z.ZodString;
|
|
66070
|
+
source_trace_id: z.ZodOptional<z.ZodString>;
|
|
66057
66071
|
text: z.ZodString;
|
|
66058
66072
|
font_size: z.ZodDefault<z.ZodNumber>;
|
|
66059
66073
|
position: z.ZodObject<{
|
|
@@ -66083,6 +66097,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66083
66097
|
y: number;
|
|
66084
66098
|
};
|
|
66085
66099
|
subcircuit_id?: string | undefined;
|
|
66100
|
+
source_trace_id?: string | undefined;
|
|
66086
66101
|
schematic_sheet_id?: string | undefined;
|
|
66087
66102
|
schematic_component_id?: string | undefined;
|
|
66088
66103
|
schematic_symbol_id?: string | undefined;
|
|
@@ -66097,6 +66112,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
66097
66112
|
anchor?: "top" | "bottom" | "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
|
|
66098
66113
|
rotation?: number | undefined;
|
|
66099
66114
|
subcircuit_id?: string | undefined;
|
|
66115
|
+
source_trace_id?: string | undefined;
|
|
66100
66116
|
font_size?: number | undefined;
|
|
66101
66117
|
color?: string | undefined;
|
|
66102
66118
|
schematic_sheet_id?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -1368,6 +1368,7 @@ var schematic_text = z82.object({
|
|
|
1368
1368
|
schematic_component_id: z82.string().optional(),
|
|
1369
1369
|
schematic_symbol_id: z82.string().optional(),
|
|
1370
1370
|
schematic_text_id: z82.string(),
|
|
1371
|
+
source_trace_id: z82.string().optional(),
|
|
1371
1372
|
text: z82.string(),
|
|
1372
1373
|
font_size: z82.number().default(0.18),
|
|
1373
1374
|
position: z82.object({
|