Added PlantTouchPoint and IPMSchedule models. Implemented touch-points and IPM controllers/routes. Updated frontend with Dashboard feed and IPM widgets.
7 lines
247 B
TypeScript
7 lines
247 B
TypeScript
import { FastifyInstance } from 'fastify';
|
|
import { getUsers, updateUser } from '../controllers/users.controller';
|
|
|
|
export async function userRoutes(server: FastifyInstance) {
|
|
server.get('/', getUsers);
|
|
server.patch('/:id', updateUser);
|
|
}
|