Prebuild release 1.0 #2

Merged
IgorVolochay merged 48 commits from frontend into prebuild 2026-08-13 09:04:08 +00:00
Showing only changes of commit 20c81dbd58 - Show all commits
+25 -3
View File
@@ -1,5 +1,5 @@
from pydantic import BaseModel
from pydantic import BaseModel, Field
IgorVolochay commented 2026-08-13 08:57:21 +00:00 (Migrated from github.com)
Review

commet -> comment

commet -> comment
from bson.objectid import ObjectId
class User(BaseModel):
user_id: int
@@ -14,4 +14,26 @@ class User(BaseModel):
disliked_post_ids: list[int] = list()
comments_ids: list[int] = list()
registration_date: str
registration_date: str
class Card(BaseModel):
card_id: ObjectId = Field(alias="_id")
choice_A: str
choice_B: str
count_choice_A: int = 0
count_choice_B: int = 0
count_total: int = 0
count_likes: int = 0
count_dislikes: int = 0
comments: list[int] = list()
author_id: int
creation_date: str
moderation_date: str = "Not moderated"
active_status: bool = False
class Config:
arbitrary_types_allowed = True