API reference@evolu/commonType › Name

const Name:  brand(
  "Name",
  UrlSafeString,
  (value) =>
    value.length <= 64 ? ok() : err<NameError>({ type: "Name", value }),
  (error) =>
    The value ${safelyStringifyUnknownValue(error.value)} is not a valid Name.,
) ;

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

A non-empty file-system-safe and URL-safe token of at most 64 UTF-16 code units.

Evolu uses it for database file names, storage pool names, and log prefixes. It accepts the UrlSafeString alphabet in any order, so it may start with a digit, -, or _. It is not a language identifier; for word-structured names, use identifier.