CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
gbaranski

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: gbaranski/quizizz-cheat
Path: blob/master/src/types.ts
Views: 2223
1
/*
2
Quizizz-cheat
3
Copyright (C) gbaranski
4
5
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
7
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
8
9
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
10
11
github repository: https://github.com/gbaranski/quizizz-cheat
12
email: [email protected]
13
*/
14
15
16
17
export interface VueElement extends HTMLElement {
18
__vue__: any;
19
}
20
21
interface QuizQuestionOption {
22
text: string;
23
}
24
25
export interface QuizQuestion {
26
_id: string;
27
structure: {
28
answer: number | number[];
29
options?: QuizQuestionOption[];
30
query: {
31
text: string;
32
answer: number;
33
}
34
};
35
}
36
37
export interface QuizInfo {
38
data: {
39
questions: QuizQuestion[];
40
}
41
}
42
43
44