Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(types): modification de types pour l'intégration de la page home #1491

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading