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

    Represents input data for updating an existing survey. This class is used to validate the survey data before applying updates in the database.

    • title: The title of the survey (must be between 10 and 255 characters).
    • description: The description of the survey (must be between 100 and 5000 characters).
    • public: Indicates whether the survey is public or private (optional).
    • category: The category associated with the survey (optional, follows structure of CreateCategoryInput).

    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

    category: number
    description: string
    public: boolean
    title: string