Skip to content

Commit d06a21f

Browse files
committed
Continue DB migration cleanup with Local API naming, schema alignment, DML seed clarity, and remaining review item closeout - PR_26164_110-113-db-migration-followup
1 parent 6040ea6 commit d06a21f

76 files changed

Lines changed: 129785 additions & 36401 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

admin/db-viewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ async function loadLocalDbViewer() {
4444
showGatewayStatus(session.diagnostic || "DB Viewer is available only in Local DB mode.");
4545
return;
4646
}
47-
const module = await import("../src/engine/api/mock-db-viewer-ui.js");
48-
module.startMockDbViewer(document, { session });
47+
const module = await import("../src/engine/api/local-db-viewer-ui.js");
48+
module.startLocalDbViewer(document, { session });
4949
}
5050

5151
loadLocalDbViewer().catch((error) => {

assets/theme-v2/js/local-db-page-data.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getMockDbSnapshot } from "../../../src/engine/api/mock-db-api-client.js";
1+
import { getLocalDbSnapshot } from "../../../src/engine/api/local-db-api-client.js";
22
import { getSessionCurrent } from "../../../src/engine/api/session-api-client.js";
33

44
const LOCAL_DB_START_ACTION = "Start the API-backed local server with npm run dev:local-api, then reload this page.";
@@ -317,7 +317,7 @@ function renderRoot(root) {
317317
return;
318318
}
319319
try {
320-
const snapshot = getMockDbSnapshot();
320+
const snapshot = getLocalDbSnapshot();
321321
const session = getSessionCurrent();
322322
renderer(root, snapshot, session);
323323
} catch (error) {

0 commit comments

Comments
 (0)