PublishedState
The state of an aggregate after its stream version as it is published: the state as a JSON tree, numbers exact, and the schemaFingerprint of the state's schema, the one the Manifest and the aggregate's snapshots carry, so a reader knows which schema the tree follows.
The runtime keeps its own form of a view for the state consumers of a context (runtime.state.SharedStates): the serialized text a snapshot stores, with the aggregate's scope, deletion and access attributes. A sink maps that form to this one.
A sink makes one from that view's text (ofText): the tree is then parsed on its first read, once, and a writer of the record writes the text as it is (stateText).
Fields may be added: construct one with of; the constructor is internal to Wow.