update
This commit is contained in:
@@ -32,3 +32,30 @@ class GuideResponse(BaseModel):
|
||||
pdf_path: str | None = None
|
||||
created_at: str
|
||||
updated_at: str
|
||||
|
||||
|
||||
class BausteinCreateRequest(BaseModel):
|
||||
topic: str = Field(min_length=1, max_length=100)
|
||||
title: str = Field(min_length=1, max_length=200)
|
||||
|
||||
|
||||
class BausteinResponse(BaseModel):
|
||||
id: str
|
||||
topic: str
|
||||
title: str
|
||||
description: str
|
||||
purpose: str
|
||||
example: str
|
||||
created_at: str
|
||||
updated_at: str
|
||||
|
||||
|
||||
class SuggestionResponse(BaseModel):
|
||||
id: str
|
||||
topic: str
|
||||
title: str
|
||||
description: str
|
||||
purpose: str
|
||||
example: str
|
||||
status: str
|
||||
created_at: str
|
||||
|
||||
Reference in New Issue
Block a user