API reference / @evolu/common / Type / IdBytes

Variable: IdBytes

const IdBytes: BrandType<
  BrandType<
    Type<
      "Uint8Array",
      Uint8Array<ArrayBufferLike>,
      Uint8Array<ArrayBufferLike>,
      Uint8ArrayError,
      Uint8Array<ArrayBufferLike>,
      Uint8ArrayError
    >,
    "Length16",
    LengthError<16>,
    Uint8ArrayError
  >,
  "IdBytes",
  BrandWithoutRefineError<"IdBytes", LengthError<16> | Uint8ArrayError>,
  never
>;

Defined in: packages/common/src/Type.ts:1706

Binary representation of an Id.

Was this page helpful?