# datumo v0.1.0 - API Reference

## Modules

- [Datumo.Command](Datumo.Command.md): A command is an `embedded_schema` with the board's fields. `use Datumo.Command`
gives it `new/2` and `changeset/2`: every field is required unless it's named
in `optional:` (the fields with `optional: true` on the board).
- [Datumo.Decide](Datumo.Decide.md): The engine behind every write: read → fold → decide → append, with DCB and
optimistic concurrency.
- [Datumo.Event](Datumo.Event.md): A domain event, declared on its struct
- [Datumo.Reader](Datumo.Reader.md): Reads from the event store by picking the right index instead of walking the
ledger.
- [Datumo.Scenario](Datumo.Scenario.md): The board's scenarios as tests: `given`, then `decide` or `read`, then
`expect`.
- [Datumo.StateChange](Datumo.StateChange.md): Behaviour for write slices (the Decider pattern with DCB).
- [Datumo.StateView](Datumo.StateView.md): Behaviour for read slices (read models), and the read that serves them.

