- add `app_state` module with `ClockAnchor` and `AppState` - initialize `AppState` with a default `CountdownService` - register app state in Tauri via `.manage(app_state)` - extend `CountdownSnapshotDto` epoch fields to `Option<u128>` - add countdown model helpers for start/target epoch-ms conversion - return optional epoch fields from `CountdownService::snapshot` - ignore generated `dist/` directory in `.gitignore`
58 lines
730 B
Plaintext
58 lines
730 B
Plaintext
# dependency directories
|
|
node_modules/
|
|
|
|
# Optional npm and yarn cache directory
|
|
.npm/
|
|
.yarn/
|
|
|
|
# Output of 'npm pack'
|
|
*.tgz
|
|
|
|
# dotenv environment variables file
|
|
.env
|
|
|
|
# .vscode workspace settings file
|
|
.vscode/settings.json
|
|
.vscode/launch.json
|
|
.vscode/tasks.json
|
|
|
|
# npm, yarn and bun lock files
|
|
package-lock.json
|
|
yarn.lock
|
|
bun.lockb
|
|
|
|
# rust compiled folders
|
|
target/
|
|
|
|
# test video for streaming example
|
|
streaming_example_test_video.mp4
|
|
|
|
# examples /gen directory
|
|
/examples/**/src-tauri/gen/
|
|
/bench/**/src-tauri/gen/
|
|
|
|
# logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# runtime data
|
|
pids
|
|
*.pid
|
|
*.seed
|
|
*.pid.lock
|
|
|
|
# miscellaneous
|
|
/.vs
|
|
.DS_Store
|
|
.Thumbs.db
|
|
*.sublime*
|
|
.idea
|
|
debug.log
|
|
TODO.md
|
|
.aider*
|
|
|
|
# dist folder
|
|
dist/ |