refactor: handle api models identifiers

This commit is contained in:
2022-10-10 10:29:25 +02:00
parent baccbf8d56
commit 09ff7433ed
9 changed files with 32 additions and 27 deletions

View File

@@ -1,6 +1,7 @@
import {RestLinks} from "~/repositories/models/rest-response.model";
export interface Question extends RestLinks {
id: number;
label: string;
description: string;
}

View File

@@ -13,7 +13,7 @@ export interface Quiz extends RestLinks {
export interface Response {
axeId: number;
questionId: string;
questionId: number;
score?: number;
comment?: string;
}