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

    Represents input data for creating a new survey category. This class is used to validate the category data before storing it in the database.

    • name: the name of the survey category, must be between 5 and 100 characters.

    The class uses the following decorators:

    • @Field(): Exposes the property in the GraphQL schema (via type-graphql).
    • @Length(): Ensures the string length is within the specified bounds.
    Index

    Constructors

    Properties

    Constructors

    Properties

    name: string