Перейти к содержимому

Packages

An app installs three of these: the contract, the toolkit and one connector. The versions live on npm; the release process is described under Versionen und Releases (German).

PackageWhat it is
@real-life/data-interfaceThe core contract: Item, Relation, Group (Space), User, ItemFilter, Observable, capability interfaces and module hints. Zero dependencies.
@real-life/toolkitReact UI toolkit: the app frame (AppFrame, RoutedAppFrame), the module host, seven modules (feed, list, kanban, calendar, map, graph, resonance), item preview and detail, composer, hooks. Styles from ./styles/globals.css; map engine from ./maplibre or ./leaflet; router glue from ./router.
@real-life/local-connectorLocal persistence connector: offline-first, single device.
@real-life/mock-connectorIn-memory connector with seed data. The starting point for prototypes, stories and tests.
@real-life/supabase-connectorConnector for a central Supabase backend (auth, rows, realtime).
@real-life/wot-connectorDecentralized connector on the Web of Trust stack: DID identity, end-to-end encrypted groups and sync.

Subpaths of the toolkit: @real-life/toolkit/router (frame with URL focus, needs react-router-dom), /maplibre and /leaflet (map engines), /styles/globals.css (tokens).