refactor: handle api models identifiers
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import {RestLinks} from "~/repositories/models/rest-response.model";
|
||||
|
||||
export interface Question extends RestLinks {
|
||||
id: number;
|
||||
label: string;
|
||||
description: string;
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@ export interface Quiz extends RestLinks {
|
||||
|
||||
export interface Response {
|
||||
axeId: number;
|
||||
questionId: string;
|
||||
questionId: number;
|
||||
score?: number;
|
||||
comment?: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user