@modular-circuit/transpiler 0.3.0 → 0.3.1
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -3
- package/dist/index.mjs +4 -3
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -133,7 +133,9 @@ declare class NetListConverter {
|
|
|
133
133
|
private convert_net_label;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
declare function convert_graph_to_sheets(ctx: ConvertGraphToKiCadInput): Promise<
|
|
136
|
+
declare function convert_graph_to_sheets(ctx: ConvertGraphToKiCadInput): Promise<{
|
|
137
|
+
[x: string]: string;
|
|
138
|
+
}>;
|
|
137
139
|
|
|
138
140
|
declare function convert_graph_to_kicad_project(ctx: ConvertGraphToKiCadInput): Promise<Blob>;
|
|
139
141
|
|
package/dist/index.d.ts
CHANGED
|
@@ -133,7 +133,9 @@ declare class NetListConverter {
|
|
|
133
133
|
private convert_net_label;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
declare function convert_graph_to_sheets(ctx: ConvertGraphToKiCadInput): Promise<
|
|
136
|
+
declare function convert_graph_to_sheets(ctx: ConvertGraphToKiCadInput): Promise<{
|
|
137
|
+
[x: string]: string;
|
|
138
|
+
}>;
|
|
137
139
|
|
|
138
140
|
declare function convert_graph_to_kicad_project(ctx: ConvertGraphToKiCadInput): Promise<Blob>;
|
|
139
141
|
|
package/dist/index.js
CHANGED
|
@@ -2568,9 +2568,10 @@ async function do_convert_graph_to_kicad_project(ctx) {
|
|
|
2568
2568
|
}
|
|
2569
2569
|
}
|
|
2570
2570
|
}
|
|
2571
|
-
const
|
|
2572
|
-
|
|
2573
|
-
...
|
|
2571
|
+
const collected = await collect_sub_sheets_by_id(module_ids, ctx.module_resolver);
|
|
2572
|
+
const sheets = {
|
|
2573
|
+
...collected.sheets,
|
|
2574
|
+
...generated_sheets
|
|
2574
2575
|
};
|
|
2575
2576
|
const netlist = new GraphConverter({
|
|
2576
2577
|
...ctx
|
package/dist/index.mjs
CHANGED
|
@@ -2543,9 +2543,10 @@ async function do_convert_graph_to_kicad_project(ctx) {
|
|
|
2543
2543
|
}
|
|
2544
2544
|
}
|
|
2545
2545
|
}
|
|
2546
|
-
const
|
|
2547
|
-
|
|
2548
|
-
...
|
|
2546
|
+
const collected = await collect_sub_sheets_by_id(module_ids, ctx.module_resolver);
|
|
2547
|
+
const sheets = {
|
|
2548
|
+
...collected.sheets,
|
|
2549
|
+
...generated_sheets
|
|
2549
2550
|
};
|
|
2550
2551
|
const netlist = new GraphConverter({
|
|
2551
2552
|
...ctx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modular-circuit/transpiler",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Intermediate representation of the modular circuit",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"js-base64": "^3.7.7",
|
|
31
31
|
"jszip": "^3.10.1",
|
|
32
32
|
"@modular-circuit/electronics-model": "0.3.0",
|
|
33
|
-
"@modular-circuit/perc": "0.3.0",
|
|
34
33
|
"@modular-circuit/ir": "0.3.0",
|
|
35
|
-
"@modular-circuit/
|
|
36
|
-
"@modular-circuit/utils": "0.3.0"
|
|
34
|
+
"@modular-circuit/perc": "0.3.0",
|
|
35
|
+
"@modular-circuit/utils": "0.3.0",
|
|
36
|
+
"@modular-circuit/genai": "0.3.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"clean": "rimraf dist",
|