Put GraphQL queries in separate files and generate types with apollo-client based on query/schema
Type-safe access will simplify accessing data, inform about accessing nullable objects and also show in build warning/errors when schema has changed but queries are not updates.