mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 18:34:09 +00:00
724c88c201
A mechanical prettier --write over server/src, server/tests, server/scripts and shared/src with the workspaces' .prettierrc; nothing but layout and import order changes, and every file keeps the same set of imports. shared is formatted throughout and its format baseline is empty. The server baseline keeps the 35 files that Prettier would grow past their lint:size limit (they need a split first, which is not a formatting change), and the generated entity files stay as their generator writes them.
11 lines
399 B
TypeScript
11 lines
399 B
TypeScript
import { routeUsageReportRequestSchema } from '@trek/shared';
|
|
|
|
import { createZodDto } from 'nestjs-zod';
|
|
|
|
/**
|
|
* Zod-pipe wrapper for a batch of counters. Same pattern as every other write
|
|
* endpoint: the contract lives in @trek/shared, the class exists so a controller
|
|
* parameter can be typed with it.
|
|
*/
|
|
export class RouteUsageReportDto extends createZodDto(routeUsageReportRequestSchema) {}
|