UNPKG

@didask/scol-r

Version:

Shareable Cross-Origin Learning Resources

29 lines (28 loc) 851 B
import { scormVersions } from "."; export declare class Sco { scoID: string; scoTitle: string; scoHref: `./${string}`; author: string; learningTime: number; resources: string[]; constructor(props: { scoID: string; scoTitle: string; author: string; learningTime: number; scoHref: `./${string}`; resources: string[]; }); } export interface ManifestGeneratorProps { courseId: string; courseTitle: string; courseAuthor: string; scoList?: Sco[]; sharedResources?: string[]; totalLearningTime?: number; dataFromLms?: string; scormVersion?: (typeof scormVersions)[number]; } export declare function ManifestGenerator({ courseId, scoList, sharedResources, totalLearningTime, dataFromLms, scormVersion, ...props }: ManifestGeneratorProps): string;