From 493746b14c1251a45b061d2e3edd9160c929d2b9 Mon Sep 17 00:00:00 2001 From: benj Date: Fri, 10 Apr 2026 11:13:34 +0800 Subject: a basic ui and landing web interface for tidyindex.com --- web/core/src/index.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 web/core/src/index.ts (limited to 'web/core/src/index.ts') diff --git a/web/core/src/index.ts b/web/core/src/index.ts new file mode 100644 index 0000000..5e965e9 --- /dev/null +++ b/web/core/src/index.ts @@ -0,0 +1,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'; -- cgit v1.2.3