refactor: extract all data structures to types/types.go

- Move 300+ lines of type definitions to types package
- Update all type references throughout main.go
- Extract all structs: StoredValue, User, Group, APIToken, etc.
- Include all API request/response types
- Move permission constants and configuration types
- Maintain zero functional changes

Reduced main.go from ~3990 to ~3650 lines

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-18 18:42:24 +03:00
parent f9965c8f9c
commit b1d5423108
2 changed files with 444 additions and 438 deletions

606
main.go

File diff suppressed because it is too large Load Diff