s-private API Documentation - v3.8.1
    Preparing search index...
    • Creates a validated UserId from a string.

      Parameters

      • v: string

        The user ID string (typically from Auth0)

      Returns string & $brand<"UserId">

      A branded UserId value

      When the string is empty

      const userId = makeUserId("auth0|123456789");