import express from "express" ; import helper from "nestia-helper" ; import * as nest from "@nestjs/common" ; import { IPage } from "../../api/structures/common/IPage" ; import { ISaleComment } from "../../api/structures/sales/articles/ISaleComment" ; export abstract class SaleCommentsController { /**
     * Get page of comments.
     *
     * Get list of the  ISaleComment with  IPage .
     *
     *  param section param saleId param articleId param input return throw throw @ helper . EncryptedRoute . Get ( ) public async index ( @ helper . TypedParam ( "section" , "string" ) section , @ helper . TypedParam ( "saleId" , "number" ) saleId , @ helper . TypedParam ( "articleId" , "number" ) articleId , @ nest . Query ( ) input ) { section ; saleId ; articleId ; input ; return null ! ; } param request param section param saleId param articleId param body return throw throw throw throw @ helper . EncryptedRoute . Post ( ) public async store ( @ nest . Request ( ) request , @ helper . TypedParam ( "section" , "string" ) section , @ helper . TypedParam ( "saleId" , "number" ) saleId , @ helper . TypedParam ( "articleId" , "number" ) articleId , @ helper . EncryptedBody ( ) body ) { request ; section ; saleId ; articleId ; body ; return null ! ; } param section param sale_ID param articleId param commentId return throw throw throw @ nest . Delete ( ":commentId" ) public async remove ( @ helper . TypedParam ( "section" , "string" ) section , @ helper . TypedParam ( "saleId" , "number" ) sale_ID , @ helper . TypedParam ( "articleId" , "number" ) articleId , @ helper . TypedParam ( "commentId" , "number" ) commentId ) { section ; sale_ID ; articleId ; commentId ; } }