改个名?

This commit is contained in:
shenjack 2024-05-09 00:30:41 +08:00
parent bec856e9fc
commit 463169a13a
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 16 additions and 1 deletions

View File

@ -133,3 +133,18 @@ async function score_callback(
} }
return await md5_module.score_callback(names, callback); return await md5_module.score_callback(names, callback);
} }
export {
FightResult,
WinRate,
WinRateResult,
WinRateCallback,
Score,
ScoreResult,
ScoreCallback,
fight,
win_rate,
win_rate_callback,
score,
score_callback,
};

View File

@ -1,7 +1,7 @@
const fs = require('fs'); const fs = require('fs');
const path = require('path'); const path = require('path');
import { fight } from "./md5"; import { fight } from "./md5-api.mts";
// 从文件的 ./input.txt 中读取输入 // 从文件的 ./input.txt 中读取输入
// 然后丢给 md5.js // 然后丢给 md5.js