From cb53d904790b55fecc4e5a024d4c4cc4ea57f648 Mon Sep 17 00:00:00 2001 From: Benoit Rospars <benoit.rospars@inria.fr> Date: Tue, 23 May 2023 16:13:21 +0200 Subject: [PATCH] Add missing hidden property --- src/v1/content.ts | 1 + src/v2/epoc.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/v1/content.ts b/src/v1/content.ts index f026d0f..fac8faa 100644 --- a/src/v1/content.ts +++ b/src/v1/content.ts @@ -4,6 +4,7 @@ export interface Content { type: string; title: string; subtitle?: string; + hidden?: boolean; conditional?: boolean; conditionResolver?: ScoreResolver | ChoiceResolver; } diff --git a/src/v2/epoc.ts b/src/v2/epoc.ts index 1f50962..f2f23b6 100644 --- a/src/v2/epoc.ts +++ b/src/v2/epoc.ts @@ -201,6 +201,11 @@ export interface Screen { */ subtitle?: string; + /** + * Specifies if the screen appears in the detailed table of contents + */ + hidden?: boolean; + /** * List the screen content ids */ -- GitLab