ask-and-trust - v1.0.0
    Preparing search index...

    Represents user input for logging in (SIGN IN). This class is used to validate the email and password data provided by the user for authentication.

    • email: The user's email address, must be valid.
    • password: The user's password, must not be empty.

    The class uses the following decorators:

    • @Field(): Exposes the property in the GraphQL schema (via type-graphql).
    • @IsEmail(): Ensures the email is valid.
    • @IsNotEmpty(): Ensures the password is provided.
    Index

    Constructors

    Properties

    Constructors

    Properties

    email: string
    password: string