Files
accounted/lib/init.ts
T
Jakob Wennberg cdf1dcc4c8 New Base func
2026-02-19 09:48:02 +01:00

11 lines
279 B
TypeScript

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()
}