Files
evig/cms-api/dist/controllers/adminController.d.ts
T
Your Name 148d91a1b7 Update Dockerfile and TypeScript definitions; enhance health check and user role management
- Added curl to Dockerfile for health check improvements.
- Modified npm install commands to build TypeScript and prune unnecessary packages.
- Updated health check command to use curl for better reliability.
- Adjusted TypeScript definitions for user-related functions to return more specific response types.
- Changed user role options from 'viewer' to 'user' in multiple places for consistency.
- Updated package.json dependencies, including downgrading jsonwebtoken types and switching bcrypt to bcryptjs for compatibility.
- Added new environment variables for email configuration in the env.template file.
- Cleaned up various files by removing unnecessary newlines and ensuring consistent formatting.
2025-12-16 16:11:35 +01:00

8 lines
742 B
TypeScript

import { Request, Response } from 'express';
export declare const getUsers: (import("express-validator").ValidationChain | ((req: Request, res: Response) => Promise<void>))[];
export declare const getUser: (req: Request, res: Response) => Promise<void>;
export declare const createUser: (import("express-validator").ValidationChain | ((req: Request, res: Response) => Promise<void>))[];
export declare const updateUser: (import("express-validator").ValidationChain | ((req: Request, res: Response) => Promise<void>))[];
export declare const deleteUser: (req: Request, res: Response) => Promise<Response | void>;
export declare const getSystemStats: (req: Request, res: Response) => Promise<void>;
//# sourceMappingURL=adminController.d.ts.map