From 6882f4d86f97d2601e00a99d862bcbae180a7d82 Mon Sep 17 00:00:00 2001 From: Yohann Valentin Date: Wed, 30 Jul 2025 17:06:42 +0200 Subject: [PATCH 01/18] refactor: update ThemeId import paths across multiple files --- apps/nuxt/src/components/layout/LayoutCatalog.vue | 2 +- apps/nuxt/src/components/theme/ThemeFiltersAndCard.vue | 3 +-- apps/nuxt/src/tools/api/opportunityApi.ts | 4 ++-- .../backend-ddd/src/opportunity/domain/opportunityFeatures.ts | 4 ++-- libs/backend-ddd/src/opportunity/domain/types.ts | 4 ++-- .../api/placedesentreprises/placeDesEntreprises.ts | 4 ++-- libs/backend-ddd/src/program/infrastructure/frontConverter.ts | 4 ++-- libs/backend-ddd/tests/opportunity/testing.ts | 3 +-- libs/common/src/index.ts | 1 + libs/common/src/questionnaire/questionnaireSchemaValidator.ts | 2 +- libs/common/src/questionnaire/types/questionnaireData.ts | 2 +- .../src/theme/types/shared.ts => common/src/theme/types.ts} | 0 libs/data/src/index.ts | 1 - libs/data/src/program/types/shared.ts | 2 +- libs/data/src/program/yamlGenerator/publicodesGenerator.ts | 2 +- libs/data/src/project/projectFeatures.ts | 2 +- libs/data/src/project/types/shared.ts | 2 +- libs/data/src/testimony/types/shared.ts | 2 +- libs/data/src/theme/types/domain.ts | 2 +- 19 files changed, 22 insertions(+), 24 deletions(-) rename libs/{data/src/theme/types/shared.ts => common/src/theme/types.ts} (100%) diff --git a/apps/nuxt/src/components/layout/LayoutCatalog.vue b/apps/nuxt/src/components/layout/LayoutCatalog.vue index 171629f08..5e991b1a0 100644 --- a/apps/nuxt/src/components/layout/LayoutCatalog.vue +++ b/apps/nuxt/src/components/layout/LayoutCatalog.vue @@ -79,7 +79,7 @@ import { useNavigationStore } from '@/stores/navigation' import { FaqPage } from '@/tools/faq/faqType' import Navigation from '@/tools/navigation' import { Theme } from '@/tools/theme' -import { ThemeId } from '@tee/data' +import { ThemeId } from '@/types' import { computed } from 'vue' interface Props { diff --git a/apps/nuxt/src/components/theme/ThemeFiltersAndCard.vue b/apps/nuxt/src/components/theme/ThemeFiltersAndCard.vue index c0c0d9345..1ad7f8aad 100644 --- a/apps/nuxt/src/components/theme/ThemeFiltersAndCard.vue +++ b/apps/nuxt/src/components/theme/ThemeFiltersAndCard.vue @@ -11,9 +11,8 @@ /> diff --git a/apps/nuxt/src/components/layout/LayoutCatalog.vue b/apps/nuxt/src/components/layout/LayoutCatalog.vue index 342ea43b2..fc4338373 100644 --- a/apps/nuxt/src/components/layout/LayoutCatalog.vue +++ b/apps/nuxt/src/components/layout/LayoutCatalog.vue @@ -57,13 +57,13 @@ :count-items="countItems" />