Skip to main content

Module model

Module model 

Source
Expand description

Task and category types for the local todo store.

SQLite is the current on-disk format. SCHEMA_VERSION identifies only the legacy JSON envelopes accepted by the one-time importer. “All Tasks” is never stored — it is a UI view over every task.

Structs§

Category
Task

Enums§

Block

Constants§

ALL_CATEGORY
Sentinel category id for the “All Tasks” view. Not written to disk.
MAX_BODY_LINES
MAX_CATEGORY_COUNT
MAX_CATEGORY_DESC_LINES
MAX_CATEGORY_DESC_LINE_LEN
MAX_CATEGORY_NAME_LEN
MAX_IMPORTANCE
MAX_NOTES_LINE_LEN
MAX_TASK_COUNT
MAX_TITLE_LEN
SCHEMA_VERSION
Legacy tasks.json / categories.json envelope schema accepted on import.

Functions§

caseless_key
Stable Unicode compatibility-normalized, default-case-folded text used by every caseless identity and search path.
has_prose_or_image
importance_marks
new_uuid
text_byte_limit
Byte budget paired with a user-visible grapheme limit. This keeps a single grapheme with pathological combining sequences from bypassing every text length boundary while leaving generous room for emoji ZWJ sequences.
todo_progress