From 811de8f5e2e18a57c169067ad1cd34d23d75f3d3 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Thu, 22 Aug 2019 21:58:01 +0800 Subject: [PATCH] [+] Create a grade interfacce --- src/utils/json-utils.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/utils/json-utils.ts b/src/utils/json-utils.ts index 85502ac..f245b67 100644 --- a/src/utils/json-utils.ts +++ b/src/utils/json-utils.ts @@ -1,3 +1,19 @@ +/** + * Objects of this interface represent assignment grades. + */ +interface Grade +{ + type: string, + description: string, + date: string, + complete: string, + include: boolean, + display: boolean, + + scoreMax: number, + score: number +} + export default class JsonUtils { }