Skip to content

Commit

Permalink
REMOVE: depricated graphql methods and filters
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremiahUy committed Oct 6, 2023
1 parent a954696 commit 2546716
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 36 deletions.
12 changes: 0 additions & 12 deletions apps/backend/src/main/resources/graphql/query.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ type Query {

etterlevelseById(id: ID!) : Etterlevelse

behandling(filter: BehandlingFilter, pageNumber: NonNegativeInt = 0, pageSize: NonNegativeInt = 0): BehandlingPage!

etterlevelseDokumentasjon(filter: EtterlevelseDokumentasjonFilter, pageNumber: NonNegativeInt = 0, pageSize: NonNegativeInt = 0): EtterlevelseDokumentasjonPage!
}

Expand Down Expand Up @@ -45,13 +43,3 @@ input EtterlevelseDokumentasjonFilter {
knyttetTilVirkemiddel: Boolean
sok: String
}

input BehandlingFilter {
id: ID
relevans: [String!]
"""min 1, max 20"""
sistRedigert: NonNegativeInt
teams: [String!]
mineBehandlinger: Boolean
sok: String
}
10 changes: 0 additions & 10 deletions apps/backend/src/main/resources/graphql/types.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -184,20 +184,10 @@ type Behandling {
teams: [String!]!
teamsData: [Team!]!

irrelevansFor: [Code!]!
stats: BehandlingStats!

etterlevelser: [Etterlevelse!]!
sistEndretEtterlevelse: DateTime
}

type BehandlingStats {
fyltKrav: [Krav!]!
ikkeFyltKrav: [Krav!]!
irrelevantKrav: [Krav!]!
lovStats: [LovStats!]!
}

type EtterlevelseDokumentasjonStats {
fyltKrav: [Krav!]!
ikkeFyltKrav: [Krav!]!
Expand Down

This file was deleted.

0 comments on commit 2546716

Please sign in to comment.