From 6f9e922341a8f56b692b2aa7e770a611aaf144d5 Mon Sep 17 00:00:00 2001 From: Tobias Kohr Date: Mon, 18 Mar 2024 12:02:06 +0100 Subject: [PATCH] fix(storybook): fix fixture for storybook build --- .../fixtures/src/lib/records.fixtures.ts | 42 ++++++++++++++----- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/libs/common/fixtures/src/lib/records.fixtures.ts b/libs/common/fixtures/src/lib/records.fixtures.ts index dc4584b947..33a2a9e275 100644 --- a/libs/common/fixtures/src/lib/records.fixtures.ts +++ b/libs/common/fixtures/src/lib/records.fixtures.ts @@ -71,19 +71,19 @@ Cette section contient des *caractères internationaux* (ainsi que des "caractè ], keywords: [ { - thesaurusId: 'geonetwork.thesaurus.local', + thesaurus: { id: 'geonetwork.thesaurus.local' }, type: 'other', - value: 'international', + label: 'international', }, { - thesaurusId: 'geonetwork.thesaurus.local', + thesaurus: { id: 'geonetwork.thesaurus.local' }, type: 'other', - value: 'test', + label: 'test', }, { - thesaurusId: 'geonetwork.thesaurus.local', + thesaurus: { id: 'geonetwork.thesaurus.local' }, type: 'other', - value: '_another_keyword_', + label: '_another_keyword_', }, ], topics: ['testData', 'exampleData'], @@ -186,11 +186,31 @@ Malgré l'attention portée à la création de ces données, il est rappelé que }, ], keywords: [ - 'planification', - 'PLU', - "Plan local d'urbanisme", - 'données ouvertes', - 'Avrigny*60036', + { + thesaurus: { id: 'geonetwork.thesaurus.local' }, + type: 'other', + label: 'planification', + }, + { + thesaurus: { id: 'geonetwork.thesaurus.local' }, + type: 'other', + label: 'PLU', + }, + { + thesaurus: { id: 'geonetwork.thesaurus.local' }, + type: 'other', + label: "Plan local d'urbanisme", + }, + { + thesaurus: { id: 'geonetwork.thesaurus.local' }, + type: 'other', + label: 'données ouvertes', + }, + { + thesaurus: { id: 'geonetwork.thesaurus.local' }, + type: 'other', + label: 'Avrigny*60036', + }, ], topics: ['Usage des sols', "document d'urbanisme"], spatialRepresentation: 'vector',