Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Transfer course info share mutations to backend (#1469)
* Add graphql functions in hasura/contest.ts and Add routes in routes/contest.ts offerred to frontend * add annotations for hasura/contest.ts * change start/end data type (from string to Date) * update routes/contests.ts, add response info (message and stack) * delete inappropriate route and classify routes: 1.contest management 2.contest team * delete useless routes in team.ts * fix errors: delete all defined but never used imports * fix contest.ts * update contest.ts ( fix return expressions ) * delete 'AuthenticationError' * add authenticate params in src/routes/team.ts as well as manage.ts * update routes and gqls to make params in update operations optional * fix errors in contest.ts * move frontend graphql mutation queries to backend for queries in web/info * fix error in dynamic params and improved several points * fix errors in /manage.ts * added routes and tested * Add routes for web/src/graphql/info/*.graphql * Updated routes to allow partial parameters * removed comments and modified null check * modified routes return value * initial commit for share.ts * gql functions added * route functions in routes\share.ts --------- Co-authored-by: konpoku <[email protected]> Co-authored-by: Jerffery Zhao <[email protected]> Co-authored-by: zzdhyb <[email protected]>
- Loading branch information