docs: draft ECS component interfaces and World type

Example interfaces for all 7 entity kinds (Node, Link, Slot, Widget,
Reroute, Group, Subgraph), branded entity ID types with cast helpers,
and a Map-backed World implementation. Reuses existing litegraph types
(Point, Size, INodeFlags, ISlotType, etc.) for migration compatibility.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alexander Brown
2026-03-23 20:26:49 -07:00
committed by DrJKL
parent 97c61eeff3
commit e6901a32a3

View File

@@ -61,7 +61,9 @@ const config: KnipConfig = {
// Pending integration in stacked PR
'src/components/sidebar/tabs/nodeLibrary/CustomNodesPanel.vue',
// Agent review check config, not part of the build
'.agents/checks/eslint.strict.config.js'
'.agents/checks/eslint.strict.config.js',
// ECS draft interfaces (ADR 0008) — not yet consumed by production code
'src/ecs/**/*.ts'
],
vite: {
config: ['vite?(.*).config.mts']