Skip to content

Commit

Permalink
fix(types): modification de types pour l'intégration de la page home (#…
Browse files Browse the repository at this point in the history
…1491)

* fix: modif

* fix: modif
  • Loading branch information
maxgfr authored Oct 15, 2024
1 parent 6d8c185 commit 2f3e251
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions shared/types/src/elastic/highlights.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Highlight } from "../hasura";
import { DocumentElasticWithSource } from "./common";

export type HighlightDocument = DocumentElasticWithSource<
Highlight,
"highlights"
>;
1 change: 1 addition & 0 deletions shared/types/src/elastic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ export * from "./tools";
export * from "./editorial-content";
export * from "./fiche-travail";
export * from "./code-du-travail";
export * from "./highlights";
2 changes: 1 addition & 1 deletion shared/types/src/elastic/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type Tool = {
isPublished: boolean;
metaDescription: string;
slug: string;
source: string;
source: "outils";
text: string;
title: string;
_id: string;
Expand Down

0 comments on commit 2f3e251

Please sign in to comment.