feat: add LuaCATS type annotations across all modules #36
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/canola-collection!36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/luacats-types"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The codebase lacked type annotations on most local functions, module tables, and column definitions, limiting IDE support and static analysis coverage.
Solution
Add
@class,@field,@param,@return,@type, and@privateannotations to all 12 Lua source files. Introduce three new classes (canola.git.Config,canola.git.CacheEntry,canola.git.StatusResult) incanola-git/init.luaand type all column tables withcanola.ColumnDefinitionacross adapters.