UNPKG

@benshi.ai/react-native-bsh-e-learn

Version:

benshi.ai SDK for tracking logs for E-learning content block

31 lines (30 loc) 610 B
export declare enum ModuleAction { View = "view" } export declare enum ExamAction { Start = "start", Submit = "submit", Result = "result" } export declare enum QuestionAction { Answer = "answer", Skip = "skip" } export interface ModuleProperties { id: string; action: ModuleAction; progress: number; } export interface ExamProperties { id: string; action: ExamAction; duration?: number; score?: number; is_passed?: boolean; } export interface QuestionProperties { id: string; exam_id: string; action: QuestionAction; answer_id: string; }