circuit-json 0.0.232 → 0.0.234
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 +40 -0
- package/dist/index.d.mts +272 -2
- package/dist/index.mjs +769 -732
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,8 +52,10 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
52
52
|
- [SourceMissingPropertyError](#sourcemissingpropertyerror)
|
|
53
53
|
- [SourceNet](#sourcenet)
|
|
54
54
|
- [SourcePcbGroundPlane](#sourcepcbgroundplane)
|
|
55
|
+
- [SourcePinMissingTraceWarning](#sourcepinmissingtracewarning)
|
|
55
56
|
- [SourcePort](#sourceport)
|
|
56
57
|
- [SourceProjectMetadata](#sourceprojectmetadata)
|
|
58
|
+
- [SourcePropertyIgnoredWarning](#sourcepropertyignoredwarning)
|
|
57
59
|
- [SourceSimpleBattery](#sourcesimplebattery)
|
|
58
60
|
- [SourceSimpleCapacitor](#sourcesimplecapacitor)
|
|
59
61
|
- [SourceSimpleChip](#sourcesimplechip)
|
|
@@ -321,6 +323,25 @@ interface SourcePcbGroundPlane {
|
|
|
321
323
|
}
|
|
322
324
|
```
|
|
323
325
|
|
|
326
|
+
### SourcePinMissingTraceWarning
|
|
327
|
+
|
|
328
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_pin_missing_trace_warning.ts)
|
|
329
|
+
|
|
330
|
+
Warning emitted when a source component pin is missing a trace connection
|
|
331
|
+
|
|
332
|
+
```typescript
|
|
333
|
+
/** Warning emitted when a source component pin is missing a trace connection */
|
|
334
|
+
interface SourcePinMissingTraceWarning {
|
|
335
|
+
type: "source_pin_missing_trace_warning"
|
|
336
|
+
source_pin_missing_trace_warning_id: string
|
|
337
|
+
warning_type: "source_pin_missing_trace_warning"
|
|
338
|
+
message: string
|
|
339
|
+
source_component_id: string
|
|
340
|
+
source_port_id: string
|
|
341
|
+
subcircuit_id?: string
|
|
342
|
+
}
|
|
343
|
+
```
|
|
344
|
+
|
|
324
345
|
### SourcePort
|
|
325
346
|
|
|
326
347
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_port.ts)
|
|
@@ -355,6 +376,25 @@ interface SourceProjectMetadata {
|
|
|
355
376
|
}
|
|
356
377
|
```
|
|
357
378
|
|
|
379
|
+
### SourcePropertyIgnoredWarning
|
|
380
|
+
|
|
381
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_property_ignored_warning.ts)
|
|
382
|
+
|
|
383
|
+
The source property was ignored
|
|
384
|
+
|
|
385
|
+
```typescript
|
|
386
|
+
/** The source property was ignored */
|
|
387
|
+
interface SourcePropertyIgnoredWarning {
|
|
388
|
+
type: "source_property_ignored_warning"
|
|
389
|
+
source_property_ignored_warning_id: string
|
|
390
|
+
source_component_id: string
|
|
391
|
+
property_name: string
|
|
392
|
+
subcircuit_id?: string
|
|
393
|
+
error_type: "source_property_ignored_warning"
|
|
394
|
+
message: string
|
|
395
|
+
}
|
|
396
|
+
```
|
|
397
|
+
|
|
358
398
|
### SourceSimpleBattery
|
|
359
399
|
|
|
360
400
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_battery.ts)
|
package/dist/index.d.mts
CHANGED
|
@@ -7059,6 +7059,84 @@ interface SourceTraceNotConnectedError {
|
|
|
7059
7059
|
selectors_not_found?: string[];
|
|
7060
7060
|
}
|
|
7061
7061
|
|
|
7062
|
+
declare const source_property_ignored_warning: z.ZodObject<{
|
|
7063
|
+
type: z.ZodLiteral<"source_property_ignored_warning">;
|
|
7064
|
+
source_property_ignored_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7065
|
+
source_component_id: z.ZodString;
|
|
7066
|
+
property_name: z.ZodString;
|
|
7067
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7068
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_property_ignored_warning">>;
|
|
7069
|
+
message: z.ZodString;
|
|
7070
|
+
}, "strip", z.ZodTypeAny, {
|
|
7071
|
+
message: string;
|
|
7072
|
+
type: "source_property_ignored_warning";
|
|
7073
|
+
source_component_id: string;
|
|
7074
|
+
error_type: "source_property_ignored_warning";
|
|
7075
|
+
property_name: string;
|
|
7076
|
+
source_property_ignored_warning_id: string;
|
|
7077
|
+
subcircuit_id?: string | undefined;
|
|
7078
|
+
}, {
|
|
7079
|
+
message: string;
|
|
7080
|
+
type: "source_property_ignored_warning";
|
|
7081
|
+
source_component_id: string;
|
|
7082
|
+
property_name: string;
|
|
7083
|
+
subcircuit_id?: string | undefined;
|
|
7084
|
+
error_type?: "source_property_ignored_warning" | undefined;
|
|
7085
|
+
source_property_ignored_warning_id?: string | undefined;
|
|
7086
|
+
}>;
|
|
7087
|
+
type SourcePropertyIgnoredWarningInput = z.input<typeof source_property_ignored_warning>;
|
|
7088
|
+
/**
|
|
7089
|
+
* The source property was ignored
|
|
7090
|
+
*/
|
|
7091
|
+
interface SourcePropertyIgnoredWarning {
|
|
7092
|
+
type: "source_property_ignored_warning";
|
|
7093
|
+
source_property_ignored_warning_id: string;
|
|
7094
|
+
source_component_id: string;
|
|
7095
|
+
property_name: string;
|
|
7096
|
+
subcircuit_id?: string;
|
|
7097
|
+
error_type: "source_property_ignored_warning";
|
|
7098
|
+
message: string;
|
|
7099
|
+
}
|
|
7100
|
+
|
|
7101
|
+
declare const source_pin_missing_trace_warning: z.ZodObject<{
|
|
7102
|
+
type: z.ZodLiteral<"source_pin_missing_trace_warning">;
|
|
7103
|
+
source_pin_missing_trace_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
7104
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"source_pin_missing_trace_warning">>;
|
|
7105
|
+
message: z.ZodString;
|
|
7106
|
+
source_component_id: z.ZodString;
|
|
7107
|
+
source_port_id: z.ZodString;
|
|
7108
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
7109
|
+
}, "strip", z.ZodTypeAny, {
|
|
7110
|
+
message: string;
|
|
7111
|
+
type: "source_pin_missing_trace_warning";
|
|
7112
|
+
source_component_id: string;
|
|
7113
|
+
source_port_id: string;
|
|
7114
|
+
warning_type: "source_pin_missing_trace_warning";
|
|
7115
|
+
source_pin_missing_trace_warning_id: string;
|
|
7116
|
+
subcircuit_id?: string | undefined;
|
|
7117
|
+
}, {
|
|
7118
|
+
message: string;
|
|
7119
|
+
type: "source_pin_missing_trace_warning";
|
|
7120
|
+
source_component_id: string;
|
|
7121
|
+
source_port_id: string;
|
|
7122
|
+
subcircuit_id?: string | undefined;
|
|
7123
|
+
warning_type?: "source_pin_missing_trace_warning" | undefined;
|
|
7124
|
+
source_pin_missing_trace_warning_id?: string | undefined;
|
|
7125
|
+
}>;
|
|
7126
|
+
type SourcePinMissingTraceWarningInput = z.input<typeof source_pin_missing_trace_warning>;
|
|
7127
|
+
/**
|
|
7128
|
+
* Warning emitted when a source component pin is missing a trace connection
|
|
7129
|
+
*/
|
|
7130
|
+
interface SourcePinMissingTraceWarning {
|
|
7131
|
+
type: "source_pin_missing_trace_warning";
|
|
7132
|
+
source_pin_missing_trace_warning_id: string;
|
|
7133
|
+
warning_type: "source_pin_missing_trace_warning";
|
|
7134
|
+
message: string;
|
|
7135
|
+
source_component_id: string;
|
|
7136
|
+
source_port_id: string;
|
|
7137
|
+
subcircuit_id?: string;
|
|
7138
|
+
}
|
|
7139
|
+
|
|
7062
7140
|
declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
7063
7141
|
type: z.ZodLiteral<"source_component">;
|
|
7064
7142
|
source_component_id: z.ZodString;
|
|
@@ -7987,12 +8065,60 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
|
|
|
7987
8065
|
source_trace_not_connected_error_id?: string | undefined;
|
|
7988
8066
|
connected_source_port_ids?: string[] | undefined;
|
|
7989
8067
|
selectors_not_found?: string[] | undefined;
|
|
8068
|
+
}>, z.ZodObject<{
|
|
8069
|
+
type: z.ZodLiteral<"source_property_ignored_warning">;
|
|
8070
|
+
source_property_ignored_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8071
|
+
source_component_id: z.ZodString;
|
|
8072
|
+
property_name: z.ZodString;
|
|
8073
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8074
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_property_ignored_warning">>;
|
|
8075
|
+
message: z.ZodString;
|
|
8076
|
+
}, "strip", z.ZodTypeAny, {
|
|
8077
|
+
message: string;
|
|
8078
|
+
type: "source_property_ignored_warning";
|
|
8079
|
+
source_component_id: string;
|
|
8080
|
+
error_type: "source_property_ignored_warning";
|
|
8081
|
+
property_name: string;
|
|
8082
|
+
source_property_ignored_warning_id: string;
|
|
8083
|
+
subcircuit_id?: string | undefined;
|
|
8084
|
+
}, {
|
|
8085
|
+
message: string;
|
|
8086
|
+
type: "source_property_ignored_warning";
|
|
8087
|
+
source_component_id: string;
|
|
8088
|
+
property_name: string;
|
|
8089
|
+
subcircuit_id?: string | undefined;
|
|
8090
|
+
error_type?: "source_property_ignored_warning" | undefined;
|
|
8091
|
+
source_property_ignored_warning_id?: string | undefined;
|
|
8092
|
+
}>, z.ZodObject<{
|
|
8093
|
+
type: z.ZodLiteral<"source_pin_missing_trace_warning">;
|
|
8094
|
+
source_pin_missing_trace_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
8095
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"source_pin_missing_trace_warning">>;
|
|
8096
|
+
message: z.ZodString;
|
|
8097
|
+
source_component_id: z.ZodString;
|
|
8098
|
+
source_port_id: z.ZodString;
|
|
8099
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8100
|
+
}, "strip", z.ZodTypeAny, {
|
|
8101
|
+
message: string;
|
|
8102
|
+
type: "source_pin_missing_trace_warning";
|
|
8103
|
+
source_component_id: string;
|
|
8104
|
+
source_port_id: string;
|
|
8105
|
+
warning_type: "source_pin_missing_trace_warning";
|
|
8106
|
+
source_pin_missing_trace_warning_id: string;
|
|
8107
|
+
subcircuit_id?: string | undefined;
|
|
8108
|
+
}, {
|
|
8109
|
+
message: string;
|
|
8110
|
+
type: "source_pin_missing_trace_warning";
|
|
8111
|
+
source_component_id: string;
|
|
8112
|
+
source_port_id: string;
|
|
8113
|
+
subcircuit_id?: string | undefined;
|
|
8114
|
+
warning_type?: "source_pin_missing_trace_warning" | undefined;
|
|
8115
|
+
source_pin_missing_trace_warning_id?: string | undefined;
|
|
7990
8116
|
}>]>;
|
|
7991
8117
|
/**
|
|
7992
8118
|
* Deprecated: use `AnySourceElement` instead
|
|
7993
8119
|
*/
|
|
7994
8120
|
type AnySourceComponent = z.infer<typeof any_source_component>;
|
|
7995
|
-
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError | SourceTraceNotConnectedError;
|
|
8121
|
+
type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError | SourceTraceNotConnectedError | SourcePropertyIgnoredWarning | SourcePinMissingTraceWarning;
|
|
7996
8122
|
|
|
7997
8123
|
declare const source_port: z.ZodObject<{
|
|
7998
8124
|
type: z.ZodLiteral<"source_port">;
|
|
@@ -9489,6 +9615,54 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9489
9615
|
source_trace_not_connected_error_id?: string | undefined;
|
|
9490
9616
|
connected_source_port_ids?: string[] | undefined;
|
|
9491
9617
|
selectors_not_found?: string[] | undefined;
|
|
9618
|
+
}>, z.ZodObject<{
|
|
9619
|
+
type: z.ZodLiteral<"source_property_ignored_warning">;
|
|
9620
|
+
source_property_ignored_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9621
|
+
source_component_id: z.ZodString;
|
|
9622
|
+
property_name: z.ZodString;
|
|
9623
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9624
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_property_ignored_warning">>;
|
|
9625
|
+
message: z.ZodString;
|
|
9626
|
+
}, "strip", z.ZodTypeAny, {
|
|
9627
|
+
message: string;
|
|
9628
|
+
type: "source_property_ignored_warning";
|
|
9629
|
+
source_component_id: string;
|
|
9630
|
+
error_type: "source_property_ignored_warning";
|
|
9631
|
+
property_name: string;
|
|
9632
|
+
source_property_ignored_warning_id: string;
|
|
9633
|
+
subcircuit_id?: string | undefined;
|
|
9634
|
+
}, {
|
|
9635
|
+
message: string;
|
|
9636
|
+
type: "source_property_ignored_warning";
|
|
9637
|
+
source_component_id: string;
|
|
9638
|
+
property_name: string;
|
|
9639
|
+
subcircuit_id?: string | undefined;
|
|
9640
|
+
error_type?: "source_property_ignored_warning" | undefined;
|
|
9641
|
+
source_property_ignored_warning_id?: string | undefined;
|
|
9642
|
+
}>, z.ZodObject<{
|
|
9643
|
+
type: z.ZodLiteral<"source_pin_missing_trace_warning">;
|
|
9644
|
+
source_pin_missing_trace_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
9645
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"source_pin_missing_trace_warning">>;
|
|
9646
|
+
message: z.ZodString;
|
|
9647
|
+
source_component_id: z.ZodString;
|
|
9648
|
+
source_port_id: z.ZodString;
|
|
9649
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9650
|
+
}, "strip", z.ZodTypeAny, {
|
|
9651
|
+
message: string;
|
|
9652
|
+
type: "source_pin_missing_trace_warning";
|
|
9653
|
+
source_component_id: string;
|
|
9654
|
+
source_port_id: string;
|
|
9655
|
+
warning_type: "source_pin_missing_trace_warning";
|
|
9656
|
+
source_pin_missing_trace_warning_id: string;
|
|
9657
|
+
subcircuit_id?: string | undefined;
|
|
9658
|
+
}, {
|
|
9659
|
+
message: string;
|
|
9660
|
+
type: "source_pin_missing_trace_warning";
|
|
9661
|
+
source_component_id: string;
|
|
9662
|
+
source_port_id: string;
|
|
9663
|
+
subcircuit_id?: string | undefined;
|
|
9664
|
+
warning_type?: "source_pin_missing_trace_warning" | undefined;
|
|
9665
|
+
source_pin_missing_trace_warning_id?: string | undefined;
|
|
9492
9666
|
}>]>, z.ZodObject<{
|
|
9493
9667
|
type: z.ZodLiteral<"source_net">;
|
|
9494
9668
|
source_net_id: z.ZodString;
|
|
@@ -10288,6 +10462,30 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
10288
10462
|
source_trace_not_connected_error_id?: string | undefined;
|
|
10289
10463
|
connected_source_port_ids?: string[] | undefined;
|
|
10290
10464
|
selectors_not_found?: string[] | undefined;
|
|
10465
|
+
}>, z.ZodObject<{
|
|
10466
|
+
type: z.ZodLiteral<"source_pin_missing_trace_warning">;
|
|
10467
|
+
source_pin_missing_trace_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
10468
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"source_pin_missing_trace_warning">>;
|
|
10469
|
+
message: z.ZodString;
|
|
10470
|
+
source_component_id: z.ZodString;
|
|
10471
|
+
source_port_id: z.ZodString;
|
|
10472
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
10473
|
+
}, "strip", z.ZodTypeAny, {
|
|
10474
|
+
message: string;
|
|
10475
|
+
type: "source_pin_missing_trace_warning";
|
|
10476
|
+
source_component_id: string;
|
|
10477
|
+
source_port_id: string;
|
|
10478
|
+
warning_type: "source_pin_missing_trace_warning";
|
|
10479
|
+
source_pin_missing_trace_warning_id: string;
|
|
10480
|
+
subcircuit_id?: string | undefined;
|
|
10481
|
+
}, {
|
|
10482
|
+
message: string;
|
|
10483
|
+
type: "source_pin_missing_trace_warning";
|
|
10484
|
+
source_component_id: string;
|
|
10485
|
+
source_port_id: string;
|
|
10486
|
+
subcircuit_id?: string | undefined;
|
|
10487
|
+
warning_type?: "source_pin_missing_trace_warning" | undefined;
|
|
10488
|
+
source_pin_missing_trace_warning_id?: string | undefined;
|
|
10291
10489
|
}>, z.ZodObject<{
|
|
10292
10490
|
type: z.ZodLiteral<"pcb_component">;
|
|
10293
10491
|
pcb_component_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -14967,6 +15165,54 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14967
15165
|
source_trace_not_connected_error_id?: string | undefined;
|
|
14968
15166
|
connected_source_port_ids?: string[] | undefined;
|
|
14969
15167
|
selectors_not_found?: string[] | undefined;
|
|
15168
|
+
}>, z.ZodObject<{
|
|
15169
|
+
type: z.ZodLiteral<"source_property_ignored_warning">;
|
|
15170
|
+
source_property_ignored_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15171
|
+
source_component_id: z.ZodString;
|
|
15172
|
+
property_name: z.ZodString;
|
|
15173
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15174
|
+
error_type: z.ZodDefault<z.ZodLiteral<"source_property_ignored_warning">>;
|
|
15175
|
+
message: z.ZodString;
|
|
15176
|
+
}, "strip", z.ZodTypeAny, {
|
|
15177
|
+
message: string;
|
|
15178
|
+
type: "source_property_ignored_warning";
|
|
15179
|
+
source_component_id: string;
|
|
15180
|
+
error_type: "source_property_ignored_warning";
|
|
15181
|
+
property_name: string;
|
|
15182
|
+
source_property_ignored_warning_id: string;
|
|
15183
|
+
subcircuit_id?: string | undefined;
|
|
15184
|
+
}, {
|
|
15185
|
+
message: string;
|
|
15186
|
+
type: "source_property_ignored_warning";
|
|
15187
|
+
source_component_id: string;
|
|
15188
|
+
property_name: string;
|
|
15189
|
+
subcircuit_id?: string | undefined;
|
|
15190
|
+
error_type?: "source_property_ignored_warning" | undefined;
|
|
15191
|
+
source_property_ignored_warning_id?: string | undefined;
|
|
15192
|
+
}>, z.ZodObject<{
|
|
15193
|
+
type: z.ZodLiteral<"source_pin_missing_trace_warning">;
|
|
15194
|
+
source_pin_missing_trace_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
15195
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"source_pin_missing_trace_warning">>;
|
|
15196
|
+
message: z.ZodString;
|
|
15197
|
+
source_component_id: z.ZodString;
|
|
15198
|
+
source_port_id: z.ZodString;
|
|
15199
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15200
|
+
}, "strip", z.ZodTypeAny, {
|
|
15201
|
+
message: string;
|
|
15202
|
+
type: "source_pin_missing_trace_warning";
|
|
15203
|
+
source_component_id: string;
|
|
15204
|
+
source_port_id: string;
|
|
15205
|
+
warning_type: "source_pin_missing_trace_warning";
|
|
15206
|
+
source_pin_missing_trace_warning_id: string;
|
|
15207
|
+
subcircuit_id?: string | undefined;
|
|
15208
|
+
}, {
|
|
15209
|
+
message: string;
|
|
15210
|
+
type: "source_pin_missing_trace_warning";
|
|
15211
|
+
source_component_id: string;
|
|
15212
|
+
source_port_id: string;
|
|
15213
|
+
subcircuit_id?: string | undefined;
|
|
15214
|
+
warning_type?: "source_pin_missing_trace_warning" | undefined;
|
|
15215
|
+
source_pin_missing_trace_warning_id?: string | undefined;
|
|
14970
15216
|
}>]>, z.ZodObject<{
|
|
14971
15217
|
type: z.ZodLiteral<"source_net">;
|
|
14972
15218
|
source_net_id: z.ZodString;
|
|
@@ -15766,6 +16012,30 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15766
16012
|
source_trace_not_connected_error_id?: string | undefined;
|
|
15767
16013
|
connected_source_port_ids?: string[] | undefined;
|
|
15768
16014
|
selectors_not_found?: string[] | undefined;
|
|
16015
|
+
}>, z.ZodObject<{
|
|
16016
|
+
type: z.ZodLiteral<"source_pin_missing_trace_warning">;
|
|
16017
|
+
source_pin_missing_trace_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16018
|
+
warning_type: z.ZodDefault<z.ZodLiteral<"source_pin_missing_trace_warning">>;
|
|
16019
|
+
message: z.ZodString;
|
|
16020
|
+
source_component_id: z.ZodString;
|
|
16021
|
+
source_port_id: z.ZodString;
|
|
16022
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16023
|
+
}, "strip", z.ZodTypeAny, {
|
|
16024
|
+
message: string;
|
|
16025
|
+
type: "source_pin_missing_trace_warning";
|
|
16026
|
+
source_component_id: string;
|
|
16027
|
+
source_port_id: string;
|
|
16028
|
+
warning_type: "source_pin_missing_trace_warning";
|
|
16029
|
+
source_pin_missing_trace_warning_id: string;
|
|
16030
|
+
subcircuit_id?: string | undefined;
|
|
16031
|
+
}, {
|
|
16032
|
+
message: string;
|
|
16033
|
+
type: "source_pin_missing_trace_warning";
|
|
16034
|
+
source_component_id: string;
|
|
16035
|
+
source_port_id: string;
|
|
16036
|
+
subcircuit_id?: string | undefined;
|
|
16037
|
+
warning_type?: "source_pin_missing_trace_warning" | undefined;
|
|
16038
|
+
source_pin_missing_trace_warning_id?: string | undefined;
|
|
15769
16039
|
}>, z.ZodObject<{
|
|
15770
16040
|
type: z.ZodLiteral<"pcb_component">;
|
|
15771
16041
|
pcb_component_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -19473,4 +19743,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
19473
19743
|
*/
|
|
19474
19744
|
type CircuitJson = AnyCircuitElement[];
|
|
19475
19745
|
|
|
19476
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_port, source_project_metadata, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
|
|
19746
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
|