This commit is contained in:
2026-06-07 05:50:47 -06:00
parent 9fbab91cf9
commit cd6d67ac97
5 changed files with 43 additions and 0 deletions

View File

@@ -20,6 +20,9 @@ class TutorialIn(Schema):
title: str
content: str
is_public: bool = False
example_html: Optional[str] = None
example_css: Optional[str] = None
example_js: Optional[str] = None
class ChallengeSlim(Schema):
@@ -49,3 +52,6 @@ class ChallengeIn(Schema):
content: str
score: int = 0
is_public: bool = False
example_html: Optional[str] = None
example_css: Optional[str] = None
example_js: Optional[str] = None