mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 15:24:52 +09:00
Share structured data types in export
Place shared types of the export functionality into lib and use in the web interface to make sure the data is not incorrectly handled. Resolves #526
This commit is contained in:
1 parent
bcabad567e
commit
076fb933dc
9 files changed
+143
-35
No files matched your search
@@ -246,7 +246,7 @@ async function uploadExport(req: Request, res: Response) {
|
||||
];
|
||||
|
||||
let assets: any = {};
|
||||
let settingPrototypes = {};
|
||||
let settingPrototypes: lib.ExportSettings = {};
|
||||
for (let filePath of exportFiles) {
|
||||
let file = zip.file(filePath);
|
||||
if (!file) {
|
||||
|
||||
Reference in new issue
Block a user