@psraghuveer/memento-schema
v0.6.0
Published
Zod schemas and TypeScript types shared across all Memento packages. The single source of truth for data shapes and config keys.
Maintainers
Readme
@psraghuveer/memento-schema
Zod schemas and TypeScript types shared across every Memento package.
This package is the single source of truth for:
- The
Memoryentity and itsMemoryKinddiscriminated union (fact|preference|decision|todo|snippet) MemoryEvent,ScrubReport,Conflict,ConflictEvent,ConfigEntry,ConfigEventOwnerRef,ActorRef,ScopeConfigKey/ConfigSourceand the per-key value schemas- The universal
Result<T>envelope and theErrorCodeenum
Every other package in the workspace consumes these types — see ADR 0002 — Single typed config schema as source of truth.
