@statesync/core / Revision
Type Alias: Revision
ts
type Revision = string & object;Defined in: types.ts:31
Canonical decimal u64 string.
v0 canonicalization rules:
- must match
^[0-9]+$ - "0" is allowed
- otherwise: no leading zeros
NOTE: This type is intentionally a branded string to prevent accidental mixing with other strings in user code. The engine is responsible for validation.
Type Declaration
__brand
ts
readonly __brand: "Revision";