Commit dcfdf2c
chore(types): widen UseCase.category from union to string (#13)
Future use-case category additions in InstaNode-dev/content/use-
cases.json now ship without a dashboard PR. The closed A–I union
was useful as documentation but its rigidity meant every new
category (J, K, L, …) would need a coordinated dashboard change
just to satisfy the type checker, even though the runtime behavior
(group by string, render alphabetically) is identical.
This is the last shape change to useCases.ts for category growth.
The content repo is now the source of truth for what categories
exist on /use-cases.
Verified: build still produces 104 cards across 18 categories in
dist/use-cases/index.html after the upstream content commit added
the parallel-agent J–R cases.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5c933b9 commit dcfdf2c
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
| |||
0 commit comments