ZINC-FYP-2022-23 / console

ZINC UI for teaching assistants
1 stars 0 forks source link

feat(types): types for database tables #5

Closed AnsonH closed 2 years ago

AnsonH commented 2 years ago

Description

Currently there's no TypeScript typing for all the objects of Hasura GraphQL (i.e., the database tables). We should define the types inside types/tables.ts, so that the types can be used by Apollo Graphql hooks: https://www.apollographql.com/docs/react/development-testing/static-typing/