API reference@evolu/commonlocal‑first/Protocol › ProtocolValueType

const ProtocolValueType: {
  Base64Url: number & Brand<"Int"> & Brand<"NonNegative">;
  Bytes: number & Brand<"Int"> & Brand<"NonNegative">;
  DateIsoWithNegativeTime: number & Brand<"Int"> & Brand<"NonNegative">;
  DateIsoWithNonNegativeTime: number & Brand<"Int"> & Brand<"NonNegative">;
  EmptyString: number & Brand<"Int"> & Brand<"NonNegative">;
  Id: number & Brand<"Int"> & Brand<"NonNegative">;
  Json: number & Brand<"Int"> & Brand<"NonNegative">;
  NonNegativeInt: number & Brand<"Int"> & Brand<"NonNegative">;
  Null: number & Brand<"Int"> & Brand<"NonNegative">;
  Number: number & Brand<"Int"> & Brand<"NonNegative">;
  String: number & Brand<"Int"> & Brand<"NonNegative">;
};

Defined in: packages/common/src/local-first/Protocol.ts:2062

Type Declaration

NameTypeDefined in
Base64Urlnumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2077
Bytesnumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2069
DateIsoWithNegativeTimenumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2085
DateIsoWithNonNegativeTimenumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2084
EmptyStringnumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2076
Idnumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2078
Jsonnumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2079
NonNegativeIntnumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2073
Nullnumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2068
Numbernumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2067
Stringnumber & Brand<"Int"> & Brand<"NonNegative">packages/common/src/local-first/Protocol.ts:2066