circuit-json 0.0.238 → 0.0.239
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 +3 -2
- package/dist/index.d.mts +10 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,9 +28,9 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
28
28
|
|
|
29
29
|
- Generate [Gerber files](https://github.com/tscircuit/circuit-json-to-gerber)
|
|
30
30
|
- Generate and read [Specctra DSN Autorouting files](https://github.com/tscircuit/dsn-converter)
|
|
31
|
-
- Generate [Pick'n'Place Files](https://github.com/tscircuit/circuit-json-to-pnp)
|
|
31
|
+
- Generate [Pick'n'Place Files](https://github.com/tscircuit/circuit-json-to-pnp-csv)
|
|
32
32
|
- Generate [PCB and Schematic SVGs](https://github.com/tscircuit/circuit-to-svg)
|
|
33
|
-
- Generate [Bill of Materials](https://github.com/tscircuit/circuit-json-to-bom)
|
|
33
|
+
- Generate [Bill of Materials](https://github.com/tscircuit/circuit-json-to-bom-csv)
|
|
34
34
|
- Generate [SPICE netlists and simulations](https://github.com/tscircuit/circuit-json-to-spice)
|
|
35
35
|
- Display [PCBs on the web](https://github.com/tscircuit/pcb-viewer)
|
|
36
36
|
- Display [Schematics on the web](https://github.com/tscircuit/schematic-viewer)
|
|
@@ -301,6 +301,7 @@ interface SourceNet {
|
|
|
301
301
|
is_ground?: boolean
|
|
302
302
|
is_digital_signal?: boolean
|
|
303
303
|
is_analog_signal?: boolean
|
|
304
|
+
is_positive_voltage_source?: boolean
|
|
304
305
|
trace_width?: number
|
|
305
306
|
subcircuit_id?: string
|
|
306
307
|
subcircuit_connectivity_map_key?: string
|
package/dist/index.d.mts
CHANGED
|
@@ -8347,6 +8347,7 @@ declare const source_net: z.ZodObject<{
|
|
|
8347
8347
|
is_ground: z.ZodOptional<z.ZodBoolean>;
|
|
8348
8348
|
is_digital_signal: z.ZodOptional<z.ZodBoolean>;
|
|
8349
8349
|
is_analog_signal: z.ZodOptional<z.ZodBoolean>;
|
|
8350
|
+
is_positive_voltage_source: z.ZodOptional<z.ZodBoolean>;
|
|
8350
8351
|
trace_width: z.ZodOptional<z.ZodNumber>;
|
|
8351
8352
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8352
8353
|
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
@@ -8362,6 +8363,7 @@ declare const source_net: z.ZodObject<{
|
|
|
8362
8363
|
is_ground?: boolean | undefined;
|
|
8363
8364
|
is_digital_signal?: boolean | undefined;
|
|
8364
8365
|
is_analog_signal?: boolean | undefined;
|
|
8366
|
+
is_positive_voltage_source?: boolean | undefined;
|
|
8365
8367
|
}, {
|
|
8366
8368
|
type: "source_net";
|
|
8367
8369
|
name: string;
|
|
@@ -8374,6 +8376,7 @@ declare const source_net: z.ZodObject<{
|
|
|
8374
8376
|
is_ground?: boolean | undefined;
|
|
8375
8377
|
is_digital_signal?: boolean | undefined;
|
|
8376
8378
|
is_analog_signal?: boolean | undefined;
|
|
8379
|
+
is_positive_voltage_source?: boolean | undefined;
|
|
8377
8380
|
}>;
|
|
8378
8381
|
type SourceNetInput = z.input<typeof source_net>;
|
|
8379
8382
|
interface SourceNet {
|
|
@@ -8385,6 +8388,7 @@ interface SourceNet {
|
|
|
8385
8388
|
is_ground?: boolean;
|
|
8386
8389
|
is_digital_signal?: boolean;
|
|
8387
8390
|
is_analog_signal?: boolean;
|
|
8391
|
+
is_positive_voltage_source?: boolean;
|
|
8388
8392
|
trace_width?: number;
|
|
8389
8393
|
subcircuit_id?: string;
|
|
8390
8394
|
subcircuit_connectivity_map_key?: string;
|
|
@@ -9813,6 +9817,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9813
9817
|
is_ground: z.ZodOptional<z.ZodBoolean>;
|
|
9814
9818
|
is_digital_signal: z.ZodOptional<z.ZodBoolean>;
|
|
9815
9819
|
is_analog_signal: z.ZodOptional<z.ZodBoolean>;
|
|
9820
|
+
is_positive_voltage_source: z.ZodOptional<z.ZodBoolean>;
|
|
9816
9821
|
trace_width: z.ZodOptional<z.ZodNumber>;
|
|
9817
9822
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
9818
9823
|
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
@@ -9828,6 +9833,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9828
9833
|
is_ground?: boolean | undefined;
|
|
9829
9834
|
is_digital_signal?: boolean | undefined;
|
|
9830
9835
|
is_analog_signal?: boolean | undefined;
|
|
9836
|
+
is_positive_voltage_source?: boolean | undefined;
|
|
9831
9837
|
}, {
|
|
9832
9838
|
type: "source_net";
|
|
9833
9839
|
name: string;
|
|
@@ -9840,6 +9846,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
9840
9846
|
is_ground?: boolean | undefined;
|
|
9841
9847
|
is_digital_signal?: boolean | undefined;
|
|
9842
9848
|
is_analog_signal?: boolean | undefined;
|
|
9849
|
+
is_positive_voltage_source?: boolean | undefined;
|
|
9843
9850
|
}>, z.ZodObject<{
|
|
9844
9851
|
type: z.ZodLiteral<"source_group">;
|
|
9845
9852
|
source_group_id: z.ZodString;
|
|
@@ -15449,6 +15456,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15449
15456
|
is_ground: z.ZodOptional<z.ZodBoolean>;
|
|
15450
15457
|
is_digital_signal: z.ZodOptional<z.ZodBoolean>;
|
|
15451
15458
|
is_analog_signal: z.ZodOptional<z.ZodBoolean>;
|
|
15459
|
+
is_positive_voltage_source: z.ZodOptional<z.ZodBoolean>;
|
|
15452
15460
|
trace_width: z.ZodOptional<z.ZodNumber>;
|
|
15453
15461
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
15454
15462
|
subcircuit_connectivity_map_key: z.ZodOptional<z.ZodString>;
|
|
@@ -15464,6 +15472,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15464
15472
|
is_ground?: boolean | undefined;
|
|
15465
15473
|
is_digital_signal?: boolean | undefined;
|
|
15466
15474
|
is_analog_signal?: boolean | undefined;
|
|
15475
|
+
is_positive_voltage_source?: boolean | undefined;
|
|
15467
15476
|
}, {
|
|
15468
15477
|
type: "source_net";
|
|
15469
15478
|
name: string;
|
|
@@ -15476,6 +15485,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15476
15485
|
is_ground?: boolean | undefined;
|
|
15477
15486
|
is_digital_signal?: boolean | undefined;
|
|
15478
15487
|
is_analog_signal?: boolean | undefined;
|
|
15488
|
+
is_positive_voltage_source?: boolean | undefined;
|
|
15479
15489
|
}>, z.ZodObject<{
|
|
15480
15490
|
type: z.ZodLiteral<"source_group">;
|
|
15481
15491
|
source_group_id: z.ZodString;
|
package/dist/index.mjs
CHANGED
|
@@ -695,6 +695,7 @@ var source_net = z39.object({
|
|
|
695
695
|
is_ground: z39.boolean().optional(),
|
|
696
696
|
is_digital_signal: z39.boolean().optional(),
|
|
697
697
|
is_analog_signal: z39.boolean().optional(),
|
|
698
|
+
is_positive_voltage_source: z39.boolean().optional(),
|
|
698
699
|
trace_width: z39.number().optional(),
|
|
699
700
|
subcircuit_id: z39.string().optional(),
|
|
700
701
|
subcircuit_connectivity_map_key: z39.string().optional()
|