add marks resolved

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

View file

@ -3,7 +3,7 @@ use crate::{
types::{Patch, True, author, file, game}, types::{Patch, True, author, file, game},
}; };
use eva::{array, data, int, perfect_derive, str, time}; use eva::{array, collections::HashMap, data, int, perfect_derive, str, time};
pub mod update { pub mod update {
use super::*; use super::*;
@ -161,6 +161,12 @@ pub mod create {
pub mod get { pub mod get {
use super::*; use super::*;
#[data]
pub struct Marks {
pub tags: HashMap<game::Tag, str::CompactString>,
pub badges: HashMap<game::Badge, str::CompactString>,
}
#[data] #[data]
pub struct Args { pub struct Args {
pub game: game::Selector, pub game: game::Selector,