Skip to content

Commit

Permalink
fix: modif
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed Oct 15, 2024
1 parent 6d8c185 commit 87e2d7e
Show file tree
Hide file tree
Showing 4 changed files with 17 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
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5681,6 +5681,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@socialgouv/cdtn-types@workspace:shared/types"
dependencies:
"@socialgouv/cdtn-utils": ^4.156.1
"@socialgouv/kali-data-types": ^2.127.0
"@socialgouv/legi-data-types": ^2.73.1
typescript: ^5.4.3
Expand Down Expand Up @@ -5716,6 +5717,13 @@ __metadata:
languageName: node
linkType: hard

"@socialgouv/cdtn-utils@npm:^4.156.1":
version: 4.156.1
resolution: "@socialgouv/cdtn-utils@npm:4.156.1"
checksum: 3429e6f801e7bc748a7fc666972fee2855627fab13a32fe902f6f39cb9aff332248cf83a8cd061b6e303f75a9e5bdffcfe8c91681fbd8da7770e759a41a405f9
languageName: node
linkType: hard

"@socialgouv/contributions-data-types@npm:3.27.0":
version: 3.27.0
resolution: "@socialgouv/contributions-data-types@npm:3.27.0"
Expand Down

0 comments on commit 87e2d7e

Please sign in to comment.