feat: started cleaning up context
This commit is contained in:
26
stsg/definitions.py
Normal file
26
stsg/definitions.py
Normal file
@@ -0,0 +1,26 @@
|
||||
from typing import TypedDict
|
||||
|
||||
|
||||
class ArticleConfig(TypedDict):
|
||||
slug: str
|
||||
name: str
|
||||
iso_date: str
|
||||
author: str
|
||||
|
||||
|
||||
class ArticleContext(TypedDict):
|
||||
slug: str
|
||||
name: str
|
||||
url: str
|
||||
date: str
|
||||
iso_date: str
|
||||
author: str
|
||||
|
||||
|
||||
class ArticleTranslationContext(TypedDict):
|
||||
slug: str
|
||||
name: str
|
||||
url: str
|
||||
date: str
|
||||
iso_date: str
|
||||
author: str
|
||||
Reference in New Issue
Block a user