diff --git a/src/databases/officer_db/src/index.ts b/src/databases/officer_db/src/index.ts index 1de46eef..40d72e4a 100644 --- a/src/databases/officer_db/src/index.ts +++ b/src/databases/officer_db/src/index.ts @@ -10,11 +10,21 @@ // // The surface is unchanged: the same names are exported, they are just declared next to what they // describe. 107 files import from 'officerdb' and none of them notice. +// +// ── Core above, plugins below ── +// +// The split mirrors schema.ts, where the plugin TABLES are commented out so db:push does not create +// them. These lines are NOT commented, and the difference is worth stating: commenting them would break +// nothing at runtime — hono.ts no longer mounts a single plugin router, so none of this is ever +// reached — but `bunx tsgo` checks every file under src/ whether it runs or not, and the plugin +// sidecars still import these symbols. So they stay exported until each plugin is extracted, and the +// blank line below is the only thing marking the boundary. // The connection, and drizzle-kit's view of the schema. See ./schema.ts for the core/plugin split. export { db } from './db'; export * as schema from './schema'; +// ── Core ───────────────────────────────────────────────────────────────────────────────────────── export * from './agent-panels'; export * from './api-keys'; @@ -23,20 +33,27 @@ export * from './auth'; export * from './capabilities'; export * from './chat-events'; export * from './dashboards'; -export * from './dav'; -export * from './email'; export * from './headscale'; export * from './integrations'; +export * from './pipeline-jobs'; +export * from './server'; +export * from './service-connections'; +export * from './user-data'; + + +// ── Plugins — exported only so tsgo stays clean; nothing mounts them ────────────────────────────── + +export * from './dav'; +export * from './email'; export * from './invoiceshelf'; export * from './jellyfin'; export * from './music'; export * from './notify'; export * from './photos'; -export * from './pipeline-jobs'; -export * from './server'; -export * from './service-connections'; export * from './soulseek'; -export * from './user-data'; export * from './vault'; export * from './wallet'; +// `operations` is absent because it no longer exists: it held task_logs, and the Task Logs feature was +// deleted end to end on 2026-08-13 after `task-logger.ts` turned out to have no callers — a full read +// path over a table nothing could write to.