Skip to content

Commit ed2d462

Browse files
committed
fix: view type enum
1 parent 052ed11 commit ed2d462

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vika/types/view.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from enum import Enum
2+
from typing import Optional
23

34
from pydantic import BaseModel
45

@@ -8,9 +9,11 @@ class ViewTypeEnum(str, Enum):
89
Gallery = 'Gallery'
910
Kanban = 'Kanban'
1011
Gantt = 'Gantt'
12+
Calendar = 'Calendar'
13+
Architecture = 'Architecture'
1114

1215

1316
class MetaView(BaseModel):
1417
id: str
1518
name: str
16-
type: ViewTypeEnum
19+
type: Optional[ViewTypeEnum]

0 commit comments

Comments
 (0)