@defikitdotnet/education-module-ai
Version:
AI Education Module using Agent Framework
25 lines (24 loc) • 673 B
TypeScript
import { Request, Response } from "express";
/**
* Controller for H5P content management
*/
export declare class H5PContentController {
private contentDirectory;
constructor(contentDirectory?: string);
/**
* Ensure the H5P content directory exists
*/
private ensureDirectoryExists;
/**
* Get a list of all H5P content
*/
getAllContent: (req: Request, res: Response) => Promise<void>;
/**
* Get a specific H5P content by ID
*/
getContentById: (req: Request, res: Response) => Promise<void>;
/**
* Serve H5P content files
*/
serveContentFile: (req: Request, res: Response) => Promise<void>;
}