27 lines
388 B
Python
27 lines
388 B
Python
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
|