First commit
This commit is contained in:
14
types/practice.ts
Normal file
14
types/practice.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export type PracticeQuestion = {
|
||||
id: string;
|
||||
prompt: string;
|
||||
choices: string[];
|
||||
answerIndex: number;
|
||||
};
|
||||
|
||||
export type PracticeModule = {
|
||||
slug: string;
|
||||
title: string;
|
||||
description: string;
|
||||
isInteractive: boolean;
|
||||
questions?: PracticeQuestion[];
|
||||
};
|
||||
Reference in New Issue
Block a user