StateLens Demo

Projection Types

CustomerOrderHistory

The properties the projection declares — the shape folding its stream leaves it in, and the shape it is stored and read back as. These belong to the type; the values one stored instance holds are reached through an identifier on the identifiers tab.

Property Type
Bought IReadOnlyDictionary<string, int>
CustomerId string
FirstOrderOn DateTimeOffset?
LastOrderOn DateTimeOffset?
LifetimeSpend decimal
OpenOrders IReadOnlyList<string>
OrdersCancelled int
OrdersDelivered int
OrdersPlaced int
Refunded decimal
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.