createOpaqueTimestampId
createOpaqueTimestampId<
Brand>(brand,opts):OpaqueTimestampCodec<Brand>
Defined in: src/codecs/opaque/index.ts:135
Creates an Opaque Timestamp codec for brand (three lowercase a–z characters).
Type Parameters
Section titled “Type Parameters”Brand extends string
Parameters
Section titled “Parameters”Brand & ValidBrand<Brand>
Entity type brand validated once at construction.
Required key (an OpaqueKey from importOpaqueKey) plus
optional now, rng, and allowDuplicateBrand overrides.
Returns
Section titled “Returns”OpaqueTimestampCodec<Brand>