Const
Zod schema for validating user identifiers.
Validates that the user ID is a non-empty string. Used for multi-tenant data isolation across all domains.
const userId = UserId.parse("auth0|123456789"); Copy
const userId = UserId.parse("auth0|123456789");
makeUserId for factory function
Zod schema for validating user identifiers.