mirror of
https://github.com/Kizuren/QuizConnect.git
synced 2025-12-21 13:06:15 +01:00
36 lines
No EOL
673 B
TypeScript
36 lines
No EOL
673 B
TypeScript
export interface LoginResponse {
|
|
success: boolean;
|
|
accessToken: string;
|
|
errorMessage: string | null;
|
|
}
|
|
|
|
export interface QuestionSet {
|
|
questionSetId: string;
|
|
questionSetName: string;
|
|
questionSetOrder: number;
|
|
locked: boolean;
|
|
}
|
|
|
|
export interface Question {
|
|
questionId: string;
|
|
questionSetId: string;
|
|
questionText: string;
|
|
expectedResultText: string;
|
|
questionOrder: number;
|
|
minWordLength: number;
|
|
maxWordLength: number;
|
|
}
|
|
|
|
export interface Response {
|
|
responseId: string;
|
|
questionId: string;
|
|
userName: string;
|
|
responseText: string;
|
|
timestamp: string;
|
|
}
|
|
|
|
export interface User {
|
|
username: string;
|
|
pin: string;
|
|
resetState: boolean;
|
|
} |