I changed some other code along the way ... which makes this PR slightly long :') rip.
takes a stab at #466
Looks good overall, thanks for working on this Adi! Though next time please split unrelated changes into separate PRs. 😆
Dropping this here for personal reference: https://json-schema.org/
"title": "Member list",
"description": "List of all members of the Computer Science Club of the University of Waterloo",
NIT: List of all current members
await writeFile("public/api/members.json", JSON.stringify(result));
Just wanted to note, I think NextJS has some kind of API Routing thing which maps files in pages/api to /api/* - I wonder how that would interact with us hosting a static file like this at /api/*?
(This probably isn't relevant though, as we are aiming to keep the site static so there's no reason to be using the API Routing shenanigans.)
yep, that one is only for a non-static website.
I think it's okay for now, even if we add nextjs api later on, it should still work.
This script will not work for events by default anymore, since events now have startDate instead of endDate
NIT: is this the best location in the file for this comment? Not sure if it should go right at the top, or right above the main function, or if this is fine. 🤔
Since the script doesn't work, i decided to delete it. I don't think we'll be needing this. Even if we do it's fairly easy to rewrite :P
export function* getTermYear(
This is very cool, did not know it was a thing 👀
whoopsie got a little carried away :'(
No due date set.
No dependencies set.
Deleting a branch is permanent. It CANNOT be undone. Continue?