New Base func

This commit is contained in:
Jakob Wennberg
2026-02-19 09:48:02 +01:00
parent afc9f69def
commit cdf1dcc4c8
73 changed files with 11036 additions and 51 deletions
+10
View File
@@ -0,0 +1,10 @@
import { loadExtensions } from '@/lib/extensions/loader'
/**
* Ensure the system is initialized (extensions loaded).
* Called from API routes that emit events.
* Idempotent — safe to call multiple times.
*/
export function ensureInitialized(): void {
loadExtensions()
}