UNPKG

@adocasts.com/dto

Version:

Easily make and generate DTOs from Lucid Models

12 lines (11 loc) 350 B
import { BaseCommand } from '@adonisjs/core/ace'; import { CommandOptions } from '@adonisjs/core/types/ace'; export default class MakeDto extends BaseCommand { static commandName: string; static description: string; static options: CommandOptions; name: string; model?: string; validator: boolean; run(): Promise<void>; }