Commit graph

4 commits

Author SHA1 Message Date
Yusen
3ee1efb4de Fix remaining warnings: add API response types, fix unsafe access
- github-api.ts: Add ShaResponse, TreeResponse, CompareResponse, UserResponse, GitCommitResponse interfaces; cast all resp.json
- github-auth.ts: Add DeviceCodeResponse, TokenResponse, UserResponse interfaces; cast all resp.json
- sync-engine.ts: Remove unnecessary TFile cast, fix repoOwner -> githubUsername
- main.ts: Wrap async setTimeout callback to avoid void return warning
2026-06-13 21:25:47 +08:00
Yusen
959bc999bd Fix remaining review issues
- Bump minAppVersion to 1.2.0 (setDisabled requires it)
- Add eslint-disable for required Node.js module imports
- Use instanceof TFile instead of type casting
- Wrap async callbacks to avoid void return warnings
2026-06-13 19:50:01 +08:00
Yusen
b7449b7604 Fix all plugin review warnings
- git-operations.ts: Add proper types for require(), use instanceof check, pass App for trashFile
- github-api.ts: Remove unused RequestUrlResponse, add App param, use trashFile, fix casts
- github-auth.ts: Remove unused Notice import, use window.setTimeout
- main.ts: Use window.setTimeout, add void to unhandled promises
- sync-engine.ts: Use vault.configDir instead of hardcoded .obsidian, fix unused var
- package.json: Remove unused builtin-modules dependency
2026-06-13 19:30:06 +08:00
Yusen
3afcd068a7 Initial release: Moving Note v1.0.0
- Desktop sync via system Git (pull → commit → push)
- Mobile sync via GitHub API (pull + push)
- i18n support (English / Chinese)
- Auto-sync and sync-on-startup
- Custom commit message template
- Branch management with auto-stash
2026-06-13 18:33:21 +08:00