add marks resolved
This commit is contained in:
parent
43c678a9a4
commit
360675f6f9
1 changed files with 9 additions and 0 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue