From bff540c396456e4d3bda78c1dcead08fda32fca8 Mon Sep 17 00:00:00 2001 From: James Cook Date: Wed, 24 Nov 2021 18:05:07 +0000 Subject: [PATCH] fix: fix homework types --- package.json | 2 +- types.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8cd040f..9872a7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "classcharts-api", - "version": "0.0.6", + "version": "0.0.7", "description": "", "repository": { "url": "https://github.com/jamesatjaminit/classcharts-api" diff --git a/types.d.ts b/types.d.ts index e76b99f..94ce4ee 100644 --- a/types.d.ts +++ b/types.d.ts @@ -110,7 +110,7 @@ export interface Homework { state: null mark: null mark_relative: number - ticked: boolean + ticked: 'yes' | 'no' allow_attachments: string first_seen_date: string last_seen_date: string