fix: add missing imports (api, escapeHtml, safeCreateIcons, getFileIcon) to sidebar, legacy, viewer, dashboard, config
This commit is contained in:
parent
c83068f473
commit
015bec7774
@ -1,5 +1,7 @@
|
||||
// config.js — extracted from app.js (3872-4865)
|
||||
import { api } from './auth.js';
|
||||
import { state } from './state.js';
|
||||
import { escapeHtml, safeCreateIcons } from './utils.js';
|
||||
|
||||
let _recentTimestampTimer = null;
|
||||
let _recentFilesCache = [];
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
// dashboard.js — extracted from app.js (3414-3806) + DashboardBookmarkWidget (3810-3870)
|
||||
import { api } from './auth.js';
|
||||
import { state } from './state.js';
|
||||
import { escapeHtml, safeCreateIcons, getFileIcon } from './utils.js';
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Recent files
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
/* ObsiGate — Legacy module: remaining functions for the orchestrator
|
||||
import { api } from './auth.js';
|
||||
Extracted from the monolithic frontend/app.js IIFE.
|
||||
Functions already in other modules are re-exported. */
|
||||
|
||||
// --- State imports ---
|
||||
import { state } from './state.js';
|
||||
import { escapeHtml, safeCreateIcons } from './utils.js';
|
||||
|
||||
// --- Search imports ---
|
||||
import {
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
import { state } from './state.js';
|
||||
import { safeCreateIcons, getFileIcon } from './utils.js';
|
||||
import { api } from './auth.js';
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Vault context switching
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
/* ObsiGate — Viewer module */
|
||||
import { api } from './auth.js';
|
||||
import { state } from './state.js';
|
||||
import { escapeHtml, safeCreateIcons, safeHighlight, getFileIcon } from './utils.js';
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user