additional fields encoding and decoding

This commit is contained in:
micialware committed 2026-09-11 13:56:26 +03:00
1 parent f61f93717c
commit cbf49412ec
2 files changed
+28 -5

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
use crate::core::srs::{FADE_PER_DAY, MAX_SCORE, WordOpenMode};
use crate::data::{INVALID_ID, Id};
use crate::data::{Id, SmallId, INVALID_ID};
use crate::data_provider::history::HistoryRepositoryInner;
use chrono::{DateTime, Local, NaiveDate, Utc};
use fsrs::MemoryState;
@@ -19,7 +19,7 @@ pub struct WordData {
pub key: String,
pub value: String,
pub tags: String,
pub additional: LiteMap<String, String>,
pub additional: LiteMap<Id, String>,
}
impl EntityData for WordData {