15 lines
263 B
TypeScript
Executable File
15 lines
263 B
TypeScript
Executable File
export type PracticeQuestion = {
|
|
id: string;
|
|
prompt: string;
|
|
choices: string[];
|
|
answerIndex: number;
|
|
};
|
|
|
|
export type PracticeModule = {
|
|
slug: string;
|
|
title: string;
|
|
description: string;
|
|
isInteractive: boolean;
|
|
questions?: PracticeQuestion[];
|
|
};
|