Options
All
  • Public
  • Public/Protected
  • All
Menu
description

The "fake user".

This uses a very simple, easy-to-use (but non-optimized) implementation where we keep distinct properties per each use-case (i.e. regular, beta, or "new feature").

Adding many more of those (UserData, UserDataExtended etc) will make it messy. For cleanliness and peace-of-mind, the number of these variants should anyway stay as low as possible, though we do demonstrate that we can support both innovation AND stability at the same time.

Hierarchy

  • User

Index

Constructors

  • new User(enableBetaFeatures?: boolean): User

Properties

enableBetaFeatures: boolean
userData: UserData
userDataExtended: UserDataExtended

Methods

  • description

    Set the user's data based on response from RandomUser. This is the new underlying service that we are driving beta users to. NOTE: This implementation is currently only for developers of this new feature!

    version

    2.0 (to be released)

    Parameters

    Returns void

Generated using TypeDoc