Add comments

pull/2529/head
Jérémy Rialland 2023-03-02 17:16:34 +01:00 committed by Johan Girod
parent b4b620dc38
commit 9d5955da9a
1 changed files with 12 additions and 7 deletions

View File

@ -56,6 +56,14 @@ export type SimulationConfig = Partial<{
'unité par défaut'?: string
}>
type Tracking =
| string
| {
chapter1?: string
chapter2?: string
chapter3?: string
}
export interface PageConfig {
id: string
path?: string
@ -64,13 +72,7 @@ export interface PageConfig {
icône: string
shortName: string
title: string
tracking:
| string
| {
chapter1?: string
chapter2?: string
chapter3?: string
}
tracking: Tracking
meta: {
title: string
description: string
@ -79,6 +81,9 @@ export interface PageConfig {
ogImage?: string
color?: string
}
/**
* Hides the simulator in the iframe integration page
*/
private?: boolean
beta?: boolean
tooltip?: string