Added PlantTouchPoint and IPMSchedule models. Implemented touch-points and IPM controllers/routes. Updated frontend with Dashboard feed and IPM widgets.
7 lines
288 B
TypeScript
7 lines
288 B
TypeScript
import { FastifyInstance } from 'fastify';
|
|
import { getSettings, updateSettings } from '../controllers/walkthrough-settings.controller';
|
|
|
|
export async function walkthroughSettingsRoutes(server: FastifyInstance) {
|
|
server.get('/', getSettings);
|
|
server.patch('/', updateSettings);
|
|
}
|