Add ADR for a shared core package

Both apps carry diverging copies of the same domain logic. Record where
shared logic lives, which types it uses and how it moves over.
This commit is contained in:
Rūdolfs Ošiņš
2026-10-29 17:02:24 +01:00
parent 2c44c70ff2
commit 99b39ca287
2 changed files with 68 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ the components:
heartwood
- Define them in `lib/types.ts`, named after domain concepts such as `Author`
or `Reaction`. The first extraction that needs a domain type creates the
file
file. ADR 4 moves them to `@radicle-gui/core` once that package exists
- Apps pass their own objects when the shapes match, and map them in one place
where they don't. Never import an app's types here