mirror of
https://github.com/ankitects/anki.git
synced 2025-11-18 18:47:12 -05:00
- migrate to CollectionOp() - return actual change count when suspending/burying - add helper to convert vec to vec of newtype
20 lines
612 B
Rust
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};
|