education-module-ai
Version:
AI Education Module using Agent Framework
86 lines (85 loc) • 2.03 kB
TypeScript
/**
* Educational content types
*/
export type ContentType = "explanation" | "tutorial" | "practice_problem" | "quiz" | "reference_material";
/**
* Default educational levels - can be overridden by configuration
*/
export declare const DEFAULT_EDUCATIONAL_LEVELS: string[];
/**
* Educational level type - dynamically created from configuration
*/
export type EducationalLevel = string;
/**
* Default subject areas - can be overridden by configuration
*/
export declare const DEFAULT_SUBJECTS: string[];
/**
* Subject type - dynamically created from configuration
*/
export type Subject = string;
/**
* Configuration options for the education module
*/
export interface EducationModuleConfig {
levels?: string[];
subjects?: string[];
}
/**
* Education module configuration service
*/
export declare class EducationConfigService {
private static instance;
private _levels;
private _subjects;
private constructor();
static getInstance(): EducationConfigService;
/**
* Configure the education module
*/
configure(config: EducationModuleConfig): void;
/**
* Get configured educational levels
*/
get levels(): string[];
/**
* Get configured subjects
*/
get subjects(): string[];
/**
* Check if a level is valid
*/
isValidLevel(level: string): boolean;
/**
* Check if a subject is valid
*/
isValidSubject(subject: string): boolean;
}
/**
* Educational content interface
*/
export interface EducationalContent {
id: string;
title: string;
content: string;
type: ContentType;
subject: Subject;
level: EducationalLevel;
keywords: string[];
createdAt: Date;
updatedAt?: Date;
}
/**
* Educational content resource model
*/
export declare class EducationalContentResource {
id: string;
title: string;
content: string;
type: ContentType;
subject: Subject;
level: EducationalLevel;
keywords: string[];
createdAt: Date;
updatedAt?: Date;
}