Module models

Source
Expand description

Domain models for Anki entities

This module contains type-safe representations of Anki’s core concepts such as decks, cards, note types, and fields.

Structs§

Card
Represents a complete Anki card with all its data
CardId
Unique identifier for an Anki card
Deck
Represents an Anki deck
DeckConfig
Represents deck configuration options
DeckId
Unique identifier for a deck
DeckStats
Statistics for a deck
Field
Represents a field within a model
FieldMedia
Media attached to a specific field
FieldRef
A type-safe reference to a field in a model
Media
Media attachment for a note
Model
ModelId
Unique identifier for an Anki model (note type)
Note
Represents a note in Anki
NoteId
Unique identifier for an Anki note

Enums§

MediaSource
Source of media content
MediaType
Types of media that can be attached to notes