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§
- Create
Note - Parameters for creating a new note.
- Note
- A full note with all fields.
- Note
Query - Query parameters for listing notes.
- Note
Summary - A summary of a note for listing (truncated body).
- TagCount
- Tag with note count.
- Update
Note - Parameters for updating an existing note.
- Veta
Service - The main service that contains all business logic. Generic over the database implementation.
Enums§
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.