2024-08-19 12:44:56 +00:00
|
|
|
export interface IQuizQuestions {
|
|
|
|
|
data: Data;
|
|
|
|
|
message: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface Data {
|
|
|
|
|
id: number;
|
|
|
|
|
title: string;
|
|
|
|
|
date: string;
|
|
|
|
|
banner: string;
|
2024-09-09 11:27:10 +00:00
|
|
|
sms_number: string;
|
2024-08-19 12:44:56 +00:00
|
|
|
banner_mobile: string;
|
|
|
|
|
description: string;
|
|
|
|
|
rules: Note[];
|
|
|
|
|
notes: Note[];
|
2025-03-07 10:18:56 +00:00
|
|
|
questions?: Question[];
|
|
|
|
|
has_steps: 0 | 1;
|
|
|
|
|
steps?: {
|
|
|
|
|
tapgyr: number;
|
|
|
|
|
questions: Question[];
|
|
|
|
|
}[];
|
2024-08-19 12:44:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface Note {
|
|
|
|
|
title: string;
|
|
|
|
|
content: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface Question {
|
|
|
|
|
id: number;
|
|
|
|
|
question: string;
|
|
|
|
|
status: string;
|
|
|
|
|
score: number;
|
|
|
|
|
starts_at: string;
|
|
|
|
|
ends_at: string;
|
|
|
|
|
}
|