feat : Faire une doc de type wiki

This commit is contained in:
2026-04-03 15:17:50 +02:00
parent 10a0ab0809
commit 42b14f8d65
11 changed files with 778 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
export type DocAccessLevel = 'employee' | 'site_manager' | 'admin'
export interface DocBlock {
type: 'paragraph' | 'list' | 'note'
content: string
}
export interface DocArticle {
id: string
title: string
requiredLevel: DocAccessLevel
blocks: DocBlock[]
}
export interface DocSection {
id: string
title: string
requiredLevel: DocAccessLevel
icon: string
articles: DocArticle[]
}