refactor: use type imports

This commit is contained in:
Carlos Valente
2025-01-24 17:03:34 +01:00
committed by Carlos Valente
parent 960f0322ad
commit b4caec0644
25 changed files with 28 additions and 28 deletions
@@ -8,7 +8,7 @@ import {
} from 'ontime-types';
import { getErrorMessage } from 'ontime-utils';
import { Request, Response } from 'express';
import type { Request, Response } from 'express';
import { failEmptyObjects } from '../../utils/routerUtils.js';
import {
@@ -1,5 +1,5 @@
import { body, param, query, validationResult } from 'express-validator';
import { Request, Response, NextFunction } from 'express';
import type { Request, Response, NextFunction } from 'express';
export const rundownPostValidator = [
body('type').isString().exists().isIn(['event', 'delay', 'block']),