From e3438f01cdf76592025c2eb2d4c9e49d6b83ace1 Mon Sep 17 00:00:00 2001
From: Benoit Rospars <benoit.rospars@inria.fr>
Date: Thu, 25 Jul 2024 16:05:37 +0200
Subject: [PATCH] Add ePoc chapter mean duration

---
 src/v1/epoc.ts | 1 +
 src/v2/epoc.ts | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/src/v1/epoc.ts b/src/v1/epoc.ts
index 4e34fa7..ea65552 100644
--- a/src/v1/epoc.ts
+++ b/src/v1/epoc.ts
@@ -19,6 +19,7 @@ export interface EpocMetadata {
     prerequisites: string[];
     chaptersCount: number;
     assessmentsCount: number;
+    chapterDuration: number;
     download: string;
     edition: string;
     license: {
diff --git a/src/v2/epoc.ts b/src/v2/epoc.ts
index 63c87f2..346ae00 100644
--- a/src/v2/epoc.ts
+++ b/src/v2/epoc.ts
@@ -82,6 +82,11 @@ export interface EpocMetadata {
      */
     assessmentsCount: number;
 
+    /**
+     * Specifies the mean duration of the ePoc chapters
+     */
+    chapterDuration: number;
+
     /**
      * Specifies the download URL
      */
-- 
GitLab