Skip to content

Commit

Permalink
open api generation
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Apr 29, 2024
1 parent 703f526 commit a1319ff
Show file tree
Hide file tree
Showing 52 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion orval.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default defineConfig({
input: './openapi.json',
output: {
mode: 'tags',
target: 'src/api/query.ts',
target: 'src/api/',
schemas: 'src/model/api',
client: 'react-query',
override: {
Expand Down
2 changes: 1 addition & 1 deletion src/api/01-integrations.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/api/02-campaigns.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/api/03-questionnaires.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/api/04-nomenclatures.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/api/05-metadata.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/api/06-survey-units.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/api/07-paradata-events.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/api/08-survey-units-in-temp-zone.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/api/09-healthcheck.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/api/10-create-data-set.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/components/Orchestrator/CustomPages/EndPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fr } from "@codegouvfr/react-dsfr"
import { fr } from '@codegouvfr/react-dsfr'

export function EndPage(props: { date: number | undefined }) {
const { date = Date.now() } = props
Expand Down
2 changes: 1 addition & 1 deletion src/components/Orchestrator/CustomPages/Validation.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fr } from "@codegouvfr/react-dsfr";
import { fr } from '@codegouvfr/react-dsfr'

export function Validation() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/addParadataBody.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/arrayNode.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/campaignCreationData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/campaignSummaryDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/deleteCampaignByIdParams.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/integrateContextBody.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/integrateXmlContextBody.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/integrationResultUnitDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/integrationResultUnitDtoStatus.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/integrationResultsDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/metadataCreationData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/metadataCreationDataValue.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/nomenclatureCreationData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/postSurveyUnitByIdInTempZoneBody.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/questionnaireModelCreationData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/questionnaireModelCreationDataValue.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/questionnaireModelIdDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/questionnaireModelValueDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/setCommentBody.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/stateDataDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/stateDataDtoState.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/stateDataInput.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/stateDataInputState.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitByCampaignDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitCreationInput.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitCreationInputComment.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitCreationInputData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitDataStateDataUpdateInput.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitDataStateDataUpdateInputData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitOkNokDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitTempZoneDto.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitUpdateInput.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitUpdateInputComment.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/surveyUnitUpdateInputData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/updateCollectedDataBody.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/model/api/updateDataBody.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Generated by orval v6.26.0 🍺
* Generated by orval v6.28.2 🍺
* Do not edit manually.
* queen-application
* API for Queen/Stromae
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Collect/CollectPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { useSetLogoutQuestionnaire } from 'hooks/useLogoutUrl'
export function CollectPage() {
const { surveyUnitId, questionnaireId } = collectRoute.useParams()
const queryClient = useQueryClient()

useSetLogoutQuestionnaire(questionnaireId)

const loaderResults = collectRoute.useLoaderData()
Expand Down

0 comments on commit a1319ff

Please sign in to comment.