Skip to main content

Crate veta_core

Crate veta_core 

Source
Expand description

Veta core library - shared types, traits, and business logic.

This crate contains no I/O and can be compiled for any target.

Structs§

CreateNote
Parameters for creating a new note.
Note
A full note with all fields.
NoteQuery
Query parameters for listing notes.
NoteSummary
A summary of a note for listing (truncated body).
TagCount
Tag with note count.
UpdateNote
Parameters for updating an existing note.
VetaService
The main service that contains all business logic. Generic over the database implementation.

Enums§

Error

Traits§

Database
Database abstraction that works for both SQLite and D1.

Functions§

parse_human_date
Parse a human-readable date string into a SQLite datetime string.