@neatau/dto
    Preparing search index...

    Type Alias DTOConstructor<T>

    type DTOConstructor<T extends ZodType> = {
        create(input: DTOData<T>): DTOInterface<T>;
        getSchema(): T;
        new (data: DTOData<T>): DTOInterface<T>;
    }

    Type Parameters

    • T extends ZodType
    Index

    Methods

    • Get the Zod schema associated with this DTO definition.

      Returns T