mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-24 12:13:28 +00:00
85f7ecf384
Frontend (TypeScript):
- Eliminated all 'any' types (7 → 0)
- Added proper types for event system with generics
- Fixed event data interfaces with specific types
- Replaced any with unknown where appropriate
Backend (Go):
- Created central types.go with 30+ typed API structures
- Eliminated all interface{} in /internal/api package (158 → 0)
- Replaced map[string]interface{} with typed structs:
- ChartResponse, VMChartData, NodeChartData, StorageChartData
- DiagnosticsInfo with NodeDetails, ClusterInfo, PBSDetails
- StorageChartsResponse with StorageMetrics
- Improved compile-time type safety for all API responses
Benefits:
- Better IDE support and autocomplete
- Compile-time error detection
- Clearer API contracts
- Improved maintainability
All tests passing, service running successfully with typed code.
92 lines
1.1 KiB
Plaintext
92 lines
1.1 KiB
Plaintext
# Binaries
|
|
/bin/
|
|
pulse
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Go
|
|
*.exe
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
*.test
|
|
*.out
|
|
vendor/
|
|
pulse-test
|
|
test-pulse
|
|
|
|
# Node.js (for frontend-modern)
|
|
node_modules/
|
|
.npm/
|
|
.yarn/
|
|
frontend-modern/.vite/
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Build outputs
|
|
dist/
|
|
build/
|
|
*.tar.gz
|
|
pulse-fixes*.tar.gz
|
|
|
|
# Frontend copy for embedding (generated during build)
|
|
internal/api/frontend-modern/
|
|
|
|
# Claude-specific files
|
|
CLAUDE.md
|
|
.claude*
|
|
claude-*
|
|
fix-claude-*
|
|
backend
|
|
|
|
# Release process files
|
|
CHANGELOG.md
|
|
pulse-release/
|
|
pulse-release-staging/
|
|
release/
|
|
|
|
# Development scripts
|
|
scripts/backend-watch.sh
|
|
temp/
|
|
RELEASE_CHECKLIST.md
|
|
DOCKER_PUSH_INSTRUCTIONS.md
|
|
|
|
# Testing and temporary files
|
|
testing-tools/
|
|
manual-test*.md
|
|
verify-*.md
|
|
test-*.md
|
|
package.json
|
|
package-lock.json
|
|
*.test.js
|
|
*.test.md
|
|
screenshots/
|
|
.devdata/
|
|
|
|
# Master plan documents (local only)
|
|
PULSE_V4_ISSUES_MASTER_PLAN.md
|
|
FIX_SUMMARY_*.md
|
|
|
|
# Development documentation
|
|
TYPING_*.md
|
|
test-config.json
|
|
|
|
# Local test scripts
|
|
scripts/test-*.sh
|
|
scripts/run-tests.sh
|
|
scripts/TEST_*.md
|