diff --git a/apps/backend/src/main/resources/graphql/query.graphqls b/apps/backend/src/main/resources/graphql/query.graphqls index 775ef8259..5dc4d2b56 100644 --- a/apps/backend/src/main/resources/graphql/query.graphqls +++ b/apps/backend/src/main/resources/graphql/query.graphqls @@ -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! } @@ -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 -} \ No newline at end of file diff --git a/apps/backend/src/main/resources/graphql/types.graphqls b/apps/backend/src/main/resources/graphql/types.graphqls index 53668b50b..2f3b12537 100644 --- a/apps/backend/src/main/resources/graphql/types.graphqls +++ b/apps/backend/src/main/resources/graphql/types.graphqls @@ -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!]! diff --git a/apps/backend/src/test/resources/graphqltest/behandling_filter.graphql b/apps/backend/src/test/resources/graphqltest/behandling_filter.graphql deleted file mode 100644 index ec07ffaa7..000000000 --- a/apps/backend/src/test/resources/graphqltest/behandling_filter.graphql +++ /dev/null @@ -1,14 +0,0 @@ -query getBehandling($relevans: [String!], $sistRedigert: NonNegativeInt, $pageNumber: NonNegativeInt, $pageSize: NonNegativeInt) { - behandling(filter: {relevans: $relevans, sistRedigert: $sistRedigert}, pageNumber: $pageNumber, pageSize: $pageSize) { - totalElements - numberOfElements - content { - id - nummer - irrelevansFor { - code - } - sistEndretEtterlevelse - } - } -}