Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async getOne(@ParsedQuery() query, @ParsedOptions() options) {
return this.base.getOneBase(query, options);
}
@Override()
async createOne(@ParsedParams() params, @ParsedBody() body: Company) {
return this.base.createOneBase(params, body);
}
@Override()
async createMany(@ParsedParams() params, @ParsedBody() body: EntitiesBulk) {
return this.base.createManyBase(params, body);
}
@Get('/custom/get-all')
@UsePathInterceptors()
async customRoute(
@ParsedQuery() query: RestfulParamsDto,
@ParsedParams() params,
@ParsedOptions() options: CrudOptions,
) {
return { query, params, options };
}
}