changed id to just be string. #2

Merged
thetek merged 2 commits from Id-string-fix into main 2024-04-09 19:00:55 +02:00
Showing only changes of commit 403d8ece16 - Show all commits

View File

@ -51,7 +51,7 @@ export type AcaHeadingToBase = BaseMessage<"AcaHeadingToBase", {
/* utility types **********************************************************************************/
export type Id = string;
export type Id = string & tags.Format<"uuid">;
export type Priority = number & tags.Type<"uint32"> & tags.Maximum<10>;
export type Range<From extends number, To extends number> = number & tags.Type<"float"> & tags.Minimum<From> & tags.Maximum<To>;