From 8e77d14ed5451c8e7bded2f4b4d3890932cb287b Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Fri, 30 Jun 2023 15:10:40 +0200 Subject: [PATCH] Fix structure of JorfTexteVersion.LIENS.LIEN --- src/lib/legal/jorf.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/legal/jorf.ts b/src/lib/legal/jorf.ts index 296b81b..de4361c 100644 --- a/src/lib/legal/jorf.ts +++ b/src/lib/legal/jorf.ts @@ -305,7 +305,7 @@ export interface JorfTexteVersion { DATE_DEBUT: string DATE_FIN: string LIENS?: { - LIEN: { + LIEN: Array<{ "#text"?: string "@cidtexte"?: string "@datesignatexte"?: string @@ -316,7 +316,7 @@ export interface JorfTexteVersion { "@numtexte"?: string "@sens": Sens "@typelien": JorfTexteVersionLienType - } + }> } MCS_TXT?: { MC: string[]