API reference / @evolu/common / Evolu/Owner / OwnerEncryptionKey

Variable: OwnerEncryptionKey

const OwnerEncryptionKey: BrandType<
  BrandType<
    BrandType<
      Type<
        "Brand",
        Uint8Array<ArrayBufferLike> & Brand<"Entropy">,
        Uint8Array<ArrayBufferLike>,
        BrandWithoutRefineError<"Entropy", Uint8ArrayError>,
        Uint8Array<ArrayBufferLike>,
        never
      >,
      "Length32",
      LengthError<32>,
      BrandWithoutRefineError<"Entropy", Uint8ArrayError>
    >,
    "EncryptionKey",
    BrandWithoutRefineError<
      "EncryptionKey",
      BrandWithoutRefineError<"Entropy", Uint8ArrayError> | LengthError<32>
    >,
    never
  >,
  "OwnerEncryptionKey",
  BrandWithoutRefineError<
    "OwnerEncryptionKey",
    BrandWithoutRefineError<
      "EncryptionKey",
      BrandWithoutRefineError<"Entropy", Uint8ArrayError> | LengthError<32>
    >
  >,
  never
>;

Defined in: packages/common/src/Evolu/Owner.ts:98

Was this page helpful?