API Reference / @evolu/common / Type / SimplePassword

Variable: SimplePassword

const SimplePassword: BrandType<BrandType<Type<"Brand", string & Brand<"Trimmed"> & Brand<"MaxLength64">, string, MaxLengthError<64>, string & Brand<"Trimmed">, 
  | StringError
  | TrimmedError>, "MinLength8", MinLengthError<8>, 
  | StringError
  | TrimmedError
  | MaxLengthError<64>>, "SimplePassword", BrandWithoutRefineError<"SimplePassword", 
  | StringError
  | TrimmedError
  | MinLengthError<8>
| MaxLengthError<64>>, never>;

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

Trimmed string between 8 and 64 characters, branded as SimplePassword.

Was this page helpful?