Anki/rslib/src/prelude.rs
Damien Elmes 84fe309583 update scheduling ops
- migrate to CollectionOp()
- return actual change count when suspending/burying
- add helper to convert vec to vec of newtype
2021-04-06 16:38:42 +10:00

20 lines
612 B
Rust

// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
pub(crate) use crate::types::IntoNewtypeVec;
pub use crate::{
card::{Card, CardId},
collection::Collection,
config::BoolKey,
deckconf::{DeckConf, DeckConfId},
decks::{Deck, DeckId, DeckKind},
error::{AnkiError, Result},
i18n::I18n,
notes::{Note, NoteId},
notetype::{Notetype, NotetypeId},
ops::{Op, OpChanges, OpOutput},
revlog::RevlogId,
timestamp::{TimestampMillis, TimestampSecs},
types::Usn,
};
pub use slog::{debug, Logger};