API reference / @evolu/common / Evolu/Internal / Timestamp
Variable: Timestamp
const Timestamp: ObjectType<{
counter: BrandType<
BrandType<
Type<
"Brand",
number & Brand<"Int"> & Brand<"NonNegative">,
number,
NonNegativeError,
number & Brand<"Int">,
IntError | NumberError
>,
"LessThanOrEqualTo65535",
LessThanOrEqualToError<65535>,
NonNegativeError | IntError | NumberError
>,
"Counter",
BrandWithoutRefineError<
"Counter",
NonNegativeError | IntError | NumberError | LessThanOrEqualToError<65535>
>,
never
>;
millis: BrandType<
BrandType<
Type<
"Brand",
number & Brand<"Int"> & Brand<"NonNegative">,
number,
NonNegativeError,
number & Brand<"Int">,
IntError | NumberError
>,
`LessThanOrEqualTo${number}`,
LessThanOrEqualToError<number>,
NonNegativeError | IntError | NumberError
>,
"Millis",
BrandWithoutRefineError<
"Millis",
NonNegativeError | IntError | NumberError | LessThanOrEqualToError<number>
>,
never
>;
nodeId: BrandType<
Type<"String", string, string, StringError, string, StringError>,
"NodeId",
RegexError<"NodeId">,
StringError
>;
}>;
Defined in: packages/common/src/Evolu/Timestamp.ts:121
Hybrid Logical Clock timestamp.