Coverage for webapp/vite_integration/types.py: 100%
13 statements
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-17 22:07 +0000
« prev ^ index » next coverage.py v7.10.6, created at 2025-09-17 22:07 +0000
1from typing import TypedDict, List, Dict, Optional
4class ManifestChunk(TypedDict):
5 """
6 Python equivalent of Vite's 'ManifestChunk' type.
7 """
9 src: Optional[str]
10 file: str
11 css: Optional[List[str]]
12 assets: Optional[List[str]]
13 isEntry: Optional[bool]
14 name: Optional[str]
15 names: Optional[List[str]]
16 isDynamicEntry: Optional[bool]
17 imports: Optional[List[str]]
18 dynamicImports: Optional[List[str]]
21# Python equivalent of Vite's 'Manifest' type.
22Manifest = Dict[str, ManifestChunk]