LoopKitType Reference
Type Reference
Overview of LoopKit's type system and import paths
Import Paths
Backend Types
import type {
// Entities
CardBase, CardState, NoteBase, NoteType, DeckBase, DeckPreset,
ReviewLog, DeckTreeNode, DeckCounts, CardStateSnapshot,
Field, FieldDef, FieldType, TemplateDef,
// Config
DeckConfig, NewCardOrder, ReviewOrder,
// Inputs
CreateNoteInput, UpdateNoteInput, NoteFilters,
CreateCardInput, UpdateCardInput,
CreateDeckInput, UpdateDeckInput, DeckFilters,
CreatePresetInput, UpdatePresetInput,
CreateNoteTypeInput, UpdateNoteTypeInput,
CreateReviewLogInput, ReviewLogFilters,
// Session & Results
SessionOptions, SessionQueue, GradeResult, SessionSummary,
FieldMapping, ImportResult, LoopKitExportData,
// Grade
Grade,
// Rendering
RenderedCard, RenderContext, ContentTransform,
// SRS
SRSState, SRSAlgorithm,
} from '@loopkit/nestjs';Frontend Types
import type {
CardBase, CardState, NoteBase, NoteType, DeckBase,
DeckCounts, DeckTreeNode, RenderedCard, ReviewLog,
Grade, Field, FieldDef, TemplateDef,
SessionQueue, GradeResult, SessionSummary,
DeckStats, ImportResult,
} from '@loopkit/react';The frontend re-exports core types with Date fields serialized as string (JSON transport).