template-for-typescript-projects
    Preparing search index...

    Handles internal API requests for creating alerts.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Creates a new alert from request body and returns its identifier.

      Parameters

      • req: Request

        The incoming request.

      • res: Response

        The response used to send the created identifier.

      • next: NextFunction

        The next middleware function for error handling.

      Returns Promise<void>