blob: 5e965e907e94c89f9733a9315c1e9e4c5d6e15b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// @tidyindex/core — shared, platform-agnostic domain code for the
// SvelteKit UI (web/ui) and the Hono API (web/api).
//
// Rules of the road:
// - No imports from SvelteKit, Vite, Workers, Node-only modules, or
// anything platform-specific. Pass platform values in as arguments.
// - Use Web Crypto (./crypto), not node:crypto.
// - No module-level state. Functions take a Db (or other context) as
// their first argument.
//
// Real submodules will be added in subsequent passes (db, keys, auth,
// usage, plans, accounts). For now this barrel just exists so the
// workspace wires together.
export const CORE_VERSION = '0.0.0';
|