burying-beetle - v0.1.0
    Preparing search index...

    Type Alias Version

    Version: VersionPart | readonly VersionPart[]

    An event's version: a non-negative integer, or a tuple of them compared left to right. Every event for one entity must use the same tuple length.

    Strings are not versions. Postgres orders them by collation and JavaScript by UTF-16 code units, so the store and this package could disagree. Turn an ISO date into a number with Date.parse first.