aboutsummaryrefslogtreecommitdiff
path: root/src/models/registry.ts
diff options
context:
space:
mode:
authorvictor2026-10-24 15:57:01 +0200
committervictor2026-10-24 15:57:01 +0200
commit4533910bce394e7a0ee6debfc05ca1221ee51899 (patch)
tree73aaa5b2c7a48dbf226e6b81d499ba1a8ecc33a1 /src/models/registry.ts
parentTilføj dansk (diff)
download3D-Electrophysics-4533910bce394e7a0ee6debfc05ca1221ee51899.tar.gz
3D-Electrophysics-4533910bce394e7a0ee6debfc05ca1221ee51899.zip
Astra!ny-start
Diffstat (limited to '')
-rw-r--r--src/models/registry.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/models/registry.ts b/src/models/registry.ts
new file mode 100644
index 0000000..e78ddba
--- /dev/null
+++ b/src/models/registry.ts
@@ -0,0 +1,13 @@
+import type { ModelDefinition } from '../core/model';
+
+// Register only subjects enabled by PLAN.md. Each model loads its own scene and UI.
+export const models: readonly ModelDefinition[] = [
+ {
+ id: 'electric-flux',
+ titleKey: 'flux.title',
+ async mount(host, context) {
+ const { mountFluxModel } = await import('./electric-flux/view');
+ return mountFluxModel(host, context);
+ },
+ },
+];