implemented ratings, fixes

This commit is contained in:
lnn0q 2025-06-01 17:54:57 +03:00
parent 4801cf3a13
commit d1da980501
31 changed files with 775 additions and 236 deletions

View file

@ -16,6 +16,8 @@ export async function toReviewSchema(model: Review): Promise<ReviewSchema> {
return toUserSchema(userModel);
}),
text: model.text,
createdAt: model.createdAt.toISOString(),
updatedAt: model.updatedAt.toISOString(),
// todo: ratings implementation
ratingTotal: await call(async () => {
return 0;