From 007a5d3fc899c534a5fc6b1581d31c926850059a Mon Sep 17 00:00:00 2001 From: z3n Date: Mon, 22 Jun 2026 12:53:00 +0000 Subject: [PATCH] =?UTF-8?q?feat(api-detail):=20bouton=20Voir=20doc=20en=20?= =?UTF-8?q?acc=C3=A8s=20direct=20+=20assets=20seeder=20yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Déplace "Voir la documentation" hors du dropdown Actions en bouton principal à gauche du menu (désactivé si status ≠ GENERATED) - nest-cli.json : copie automatique des assets YAML du seeder (src/modules/seeder/assets/**/*.yaml → dist, watchAssets: true) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- back/nest-cli.json | 8 +++++++- .../pages/api-detail/api-detail.component.ts | 19 ++++++++++--------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/back/nest-cli.json b/back/nest-cli.json index 6307885..c224b33 100644 --- a/back/nest-cli.json +++ b/back/nest-cli.json @@ -3,7 +3,13 @@ "collection": "@nestjs/schematics", "sourceRoot": "src", "compilerOptions": { - "deleteOutDir": true + "deleteOutDir": true, + "assets": [ + { + "include": "modules/seeder/assets/**/*.yaml", + "watchAssets": true + } + ] }, "entryFile": "back/src/main" } diff --git a/front-public/src/app/pages/api-detail/api-detail.component.ts b/front-public/src/app/pages/api-detail/api-detail.component.ts index d5e825a..d2a18a2 100644 --- a/front-public/src/app/pages/api-detail/api-detail.component.ts +++ b/front-public/src/app/pages/api-detail/api-detail.component.ts @@ -77,21 +77,21 @@ import { ApiEntry, ApiEntryListItem, Category } from '@datacat/shared'; } - -
+ +
+ + Voir la documentation + +
@if (actionsOpen()) {
- - Voir la documentation -
} +