Skip to content

Commit

Permalink
feature: remove application_swrs_* functions
Browse files Browse the repository at this point in the history
BREAKING CHANGE: SWRS data is now loaded in the application creation mutation chain. Removed the swrs_* queries in the Application object
  • Loading branch information
matthieu-foucault committed Nov 12, 2019
1 parent d3c5f16 commit 7453a9c
Show file tree
Hide file tree
Showing 18 changed files with 3,137 additions and 3,627 deletions.
47 changes: 0 additions & 47 deletions app/server/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -92,53 +92,6 @@ type Application implements Node {

"""The application id used for reference and join"""
rowId: Int!

"""Reads and enables pagination through a set of `EmissionDatum`."""
swrsEmissionData(
"""Read all values in the set after (below) this cursor."""
after: Cursor

"""Read all values in the set before (above) this cursor."""
before: Cursor

"""Only read the first `n` values of the set."""
first: Int

"""Only read the last `n` values of the set."""
last: Int

"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int
reportingYear: String
): EmissionDataConnection!
swrsFacilityData(reportingYear: String): FacilityDatum

"""Reads and enables pagination through a set of `FuelDatum`."""
swrsFuelData(
"""Read all values in the set after (below) this cursor."""
after: Cursor

"""Read all values in the set before (above) this cursor."""
before: Cursor

"""Only read the first `n` values of the set."""
first: Int

"""Only read the last `n` values of the set."""
last: Int

"""
Skip the first `n` values from our `after` cursor, an alternative to cursor
based pagination. May not be used with `last`.
"""
offset: Int
reportingYear: String
): FuelDataConnection!
swrsOperatorContactData(reportingYear: String): OperatorContactDatum
swrsOrganisationData(reportingYear: String): OrganisationDatum
}

"""
Expand Down
Loading

0 comments on commit 7453a9c

Please sign in to comment.