Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Oct 15, 2024
1 parent 2f1715e commit 8909538
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shared/types/src/hasura/fiche-travail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { HasuraDocument } from "./common";

export type FicheTravailEmploi = HasuraDocument<
FicheTravailEmploiDoc,
typeof SOURCES.SHEET_MT_PAGE
typeof SOURCES.SHEET_MT_PAGE | typeof SOURCES.SHEET_MT
>;

export interface FicheTravailEmploiDoc {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const mockFiches: FicheTravail[] = [
url: "https://travail-emploi",
},
initialId: "fiche-sp-1",
source: "page_fiche_ministere_travail",
source: "fiches_ministere_travail",
title: "fiche1",
},
];
Expand All @@ -83,7 +83,7 @@ const expected = [
{
document: {
id: "fiche-sp-1",
source: "page_fiche_ministere_travail",
source: "fiches_ministere_travail",
title: "fiche1#sous-titre",
},
references: [
Expand All @@ -106,7 +106,7 @@ const expected = [
{
document: {
id: "fiche-sp-1",
source: "page_fiche_ministere_travail",
source: "fiches_ministere_travail",
title: "fiche1#sous-titre-2",
},
references: [
Expand Down

0 comments on commit 8909538

Please sign in to comment.