-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(export): correction de l'erreur d'affichage (#1443)
* fix: erreur * fix: test * fix: test * fix: test * fix: test * fix: test * fix: test * fix: test * fix: test * fix: test * fix: test * fix: test * fix: test
- Loading branch information
Showing
14 changed files
with
256 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
extends: ["@shared/eslint-config"], | ||
rules: { | ||
"@typescript-eslint/naming-convention": "off", | ||
}, | ||
parserOptions: { | ||
project: "tsconfig.json", | ||
sourceType: "module", | ||
tsconfigRootDir: __dirname, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
export type GraphQLResponseRoot<Data> = { | ||
export interface GraphQLResponseRoot<Data> { | ||
data?: Data; | ||
errors?: GraphQLResponseError[]; | ||
}; | ||
} | ||
|
||
export type GraphQLResponseError = { | ||
export interface GraphQLResponseError { | ||
message: string; | ||
locations?: GraphQLResponseErrorLocation[]; | ||
}; | ||
} | ||
|
||
export type GraphQLResponseErrorLocation = { | ||
export interface GraphQLResponseErrorLocation { | ||
line: number; | ||
column: number; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
targets/export-elasticsearch/src/services/__test__/fake/agreements.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { injectable } from "inversify"; | ||
|
||
import { wait } from "../../../utils"; | ||
import { Environment } from "@socialgouv/cdtn-types"; | ||
|
||
@injectable() | ||
export class FakeAgreementsService { | ||
async uploadAgreements( | ||
environment: Environment, | ||
destinationFolder: string, | ||
destinationName: string | ||
): Promise<void> { | ||
await wait(100); | ||
} | ||
} |
6 changes: 4 additions & 2 deletions
6
targets/export-elasticsearch/src/services/__test__/fake/sitemap.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.