add marks resolved

This commit is contained in:
Aleksandr 2025-12-14 21:27:34 +03:00
parent 43c678a9a4
commit 360675f6f9

View file

@ -3,6 +3,8 @@ use crate::{
types::{Patch, True, author, file, game},
};
use std::collections::HashMap;
use eva::{array, data, int, perfect_derive, str, time};
pub mod update {
@ -161,6 +163,12 @@ pub mod create {
pub mod get {
use super::*;
#[data]
pub struct Marks {
pub tags: HashMap<game::Tag, str::CompactString>,
pub badges: HashMap<game::Badge, str::CompactString>,
}
#[data]
pub struct Args {
pub game: game::Selector,
@ -173,6 +181,7 @@ pub mod get {
// - comments
// - downloads
pub game: game::Game,
pub marks: Marks,
}
#[data(error)]