group the barrel by core and plugin

Same 23 features, same order within each group, split by a blank line and a
heading. It mirrors schema.ts, where the plugin tables are commented out.

The difference between the two files is written down rather than left to be
inferred: these lines are NOT commented, because doing so would break nothing at
runtime — hono.ts mounts no plugin router, so none of it is reached — but tsgo
checks every file under src/ whether it runs or not, and the plugin sidecars
still import these symbols. They stay until each plugin is extracted.

No export changed. Verified: same set of re-exported features before and after.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-13 02:20:10 +00:00
co-authored by Claude Opus 5
parent fbb6d6c78c
commit 7280d13b93
+23 -6
View File
@@ -10,11 +10,21 @@
// //
// The surface is unchanged: the same names are exported, they are just declared next to what they // 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. // 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. // The connection, and drizzle-kit's view of the schema. See ./schema.ts for the core/plugin split.
export { db } from './db'; export { db } from './db';
export * as schema from './schema'; export * as schema from './schema';
// ── Core ─────────────────────────────────────────────────────────────────────────────────────────
export * from './agent-panels'; export * from './agent-panels';
export * from './api-keys'; export * from './api-keys';
@@ -23,20 +33,27 @@ export * from './auth';
export * from './capabilities'; export * from './capabilities';
export * from './chat-events'; export * from './chat-events';
export * from './dashboards'; export * from './dashboards';
export * from './dav';
export * from './email';
export * from './headscale'; export * from './headscale';
export * from './integrations'; 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 './invoiceshelf';
export * from './jellyfin'; export * from './jellyfin';
export * from './music'; export * from './music';
export * from './notify'; export * from './notify';
export * from './photos'; export * from './photos';
export * from './pipeline-jobs';
export * from './server';
export * from './service-connections';
export * from './soulseek'; export * from './soulseek';
export * from './user-data';
export * from './vault'; export * from './vault';
export * from './wallet'; 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.