Files
SIRH/frontend/types/documentation.ts
tristan b8b9368ad0
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
[#SIRH-6] Faire une doc de type wiki (#14)
| Numéro du ticket | Titre du ticket |
|------------------|-----------------|
|                  |                 |

## Description de la PR

## Modification du .env

## Check list

- [ ] Pas de régression
- [ ] TU/TI/TF rédigée
- [ ] TU/TI/TF OK
- [ ] CHANGELOG modifié

Reviewed-on: #14
Co-authored-by: tristan <tristan@yuno.malio.fr>
Co-committed-by: tristan <tristan@yuno.malio.fr>
2026-04-03 13:18:32 +00:00

22 lines
403 B
TypeScript

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[]
}