1
0
Fork 0
mirror of https://github.com/classchartsapi/classcharts-api-js.git synced 2026-05-14 03:56:59 +00:00
Commit graph

42 commits

Author SHA1 Message Date
Veloi
5b25302a5c
Update src/types.ts
Co-authored-by: James Cook <jamesatjaminit@jaminit.co.uk>
2023-09-24 14:40:31 +01:00
Veloi
6e10b98517
fix: purchase reward count to be number or string 2023-09-24 12:37:01 +01:00
Veloi
618167a98d
fix: update late minutes and "fix" spelling "mistake" 2023-09-23 22:05:25 +01:00
Veloi
eb2bdfd557
fix: detention lesson and teacher to be nullable 2023-09-23 21:48:21 +01:00
Veloi
2543f22b5d
Update types.ts
fix: last_seen_date and first_seen_date on homework to be nullable
2023-09-23 19:06:19 +01:00
Veloi
c304dca94d
Update types.ts
fix: last_id can be number or boolean
2023-09-23 17:58:04 +01:00
Veloi
97077a610c
Update types.ts 2023-09-23 17:55:19 +01:00
Veloi
1d6c3f377e
fix: type def ActivityPoint note is now nullable 2023-09-23 17:20:36 +01:00
Veloi
60da10cb3e
fix: Student type and ActivityPoint type 2023-09-23 17:18:45 +01:00
James Cook
c38a83708d fix: update homework attachments type 2023-09-18 20:54:52 +01:00
Veloi
41f23e01d0
feat: reward shop methods, get pupil fields and add meta on detentions (#35) 2023-09-18 20:46:50 +01:00
Veloi
d39eda7bf3
fix: attendance typing && expose full attendance response object (#34) 2023-09-15 19:02:16 +01:00
James Cook
7529b572a0 fix: remove description sanitising logic
Since the purpose of this library is to stay as true to the actual API as possible
2023-09-14 19:40:08 +01:00
James Cook
45ef7c7ce9 feat: announcements meta response 2023-09-14 19:38:21 +01:00
James Cook
b34d972167 fix: remove @internal
Since it messes with emitted types
2023-09-05 15:16:18 +01:00
James Cook
f86ded2ae3
feat: denoify (#33) 2023-08-30 12:28:49 +01:00
James Cook
350878c945 fix: response typing typo 2023-05-04 11:55:55 +01:00
James Cook
d752eed8bd fix: improve readability of typing 2023-04-29 23:34:36 +01:00
James Cook
3aa119a063 feat: better documentation 2023-04-16 20:47:40 +01:00
James Cook
629c998293 feat: axios -> ky-universal
Better compat since ky uses fetch :)
E.g. cloudflare workers
2023-04-16 15:13:42 +01:00
James Cook
24208c310e feat: massive overhaul 2023-04-07 13:47:08 +01:00
James Cook
eead2535d9 fix: use from instead of fromDate for consistancy 2022-07-21 16:02:41 +01:00
James Cook
6bf915ad7b fix: eslint config 2022-07-21 15:35:22 +01:00
James Cook
39aa5cb7ea feat: attendance filtering
Co-authored-by: Harrison <harrisondcrafter@gmail.com>
2022-06-24 13:15:13 +01:00
James Cook
04b72babcf feat: attendance 2022-05-25 18:18:31 +01:00
James Cook
315a2d1129 docs: update docs 2022-05-24 22:52:57 +01:00
James Cook
eea157566c feat: getFullActivity
Co-Authored-By: Tim <65774333+timthedev07@users.noreply.github.com>
2022-04-02 12:11:04 +01:00
James Cook
fd75c3ff75 feat: add selectPupil to parent client 2022-03-12 12:00:28 +00:00
James Cook
efba7086ea style: prettier and eslint 2022-03-12 11:37:28 +00:00
James Cook
e1ac2b1364 fix: pupil types 2022-03-12 11:34:56 +00:00
James Cook
d9e80a7152 fix: spelling error in types 2022-02-10 19:08:06 +00:00
ZelrDev
620d42ac1d Fix typo 2022-02-06 15:45:28 +00:00
James Cook
bc76946200 style: add booleanhuman 2022-02-06 15:23:30 +00:00
ZelrDev
685dddbcc7 Add listAnnoucements 2022-02-06 15:14:48 +00:00
James Cook
6c38f3c3ea chore: document arguments 2022-02-06 12:09:37 +00:00
James Cook
3cfaa20f2a fix: types 2022-02-06 11:13:23 +00:00
ZelrDev
62e667a4e8 Make some types better, add get detentions 2022-02-06 10:32:35 +00:00
James Cook
b35dc528a6 feat: badges support 2022-01-31 23:13:05 +00:00
James Cook
5fe9686a51 fix: update types 2022-01-31 22:44:31 +00:00
James Cook
df58288b2c style: eslint 2022-01-31 22:38:17 +00:00
James Cook
0801d3aae0 style: prettier 2022-01-31 22:32:29 +00:00
James Cook
d9a234bd7e fix: cleanup code 2021-12-12 14:33:32 +00:00
Renamed from types.d.ts (Browse further)