@solid-nestjs/rest-api
Version:
solid-nestjs Rest-API utilities
23 lines • 698 B
TypeScript
import { AggregateFieldInput } from './aggregate-field.input';
/**
* Base REST API input type for GroupBy requests.
* This is a generic base that should be extended with specific groupBy fields.
*
* @class GroupByRequestInput
*
* @example
* ```typescript
* // Extend this class with specific entity groupBy fields
* export class ProductGroupByRequest extends GroupByRequestInput {
* @ApiProperty({ type: ProductGroupByFields, required: false })
* fields?: ProductGroupByFields;
* }
* ```
*/
export declare class GroupByRequestInput {
/**
* Aggregate functions to apply
*/
aggregates?: AggregateFieldInput[];
}
//# sourceMappingURL=group-by-request.input.d.ts.map