refactor(core): normalize core service naming

Standardize core service module and export names to reduce naming ambiguity and make imports predictable across runtime, tests, scripts, and docs.
This commit is contained in:
2026-02-17 01:18:10 -08:00
parent 25faf3ef3e
commit 37cc3a6b01
3 changed files with 18 additions and 19 deletions

View File

@@ -342,7 +342,6 @@ test("handleCliCommand runs AniList retry command", async () => {
assert.ok(calls.includes("retryAnilistQueue"));
assert.ok(calls.includes("log:AniList retry processed."));
});
test("handleCliCommand runs refresh-known-words command", () => {
const { deps, calls } = createDeps();

View File

@@ -180,7 +180,7 @@ test("handleMineSentenceDigit reports async create failures", async () => {
assert.equal(cardsMined, 0);
});
test("handleMineSentenceDigitService increments successful card count", async () => {
test("handleMineSentenceDigit increments successful card count", async () => {
const osd: string[] = [];
let cardsMined = 0;

View File

@@ -112,8 +112,8 @@ import {
loadYomitanExtension as loadYomitanExtensionCore,
markLastCardAsAudioCard as markLastCardAsAudioCardCore,
DEFAULT_MPV_SUBTITLE_RENDER_METRICS,
mineSentenceCard as mineSentenceCardCore,
ImmersionTrackerService,
mineSentenceCard as mineSentenceCardCore,
openYomitanSettingsWindow,
playNextSubtitleRuntime,
registerGlobalShortcuts as registerGlobalShortcutsCore,