Commit a9924ec
committed
refactor: improve type safety and default values in video configuration models
- Updated BranchieVideoActivity and BranchieVideoTransition constructors to use optional parameters with default values.
- Removed unused endActivityInternal property from BranchieVideoFsm.
- Enhanced TimeSpan.fromTime method to handle default values for seconds.
- Modified AppSettingsService to ensure videoDirectory is always a valid string.
- Updated BranchieVideoService to handle potential undefined values for videoDirectory.
- Improved type annotations in HomeComponent for better clarity and safety.
- Added TOML module declaration to typings for compatibility.
- Updated TypeScript configuration to enforce stricter type checking and modern JavaScript features.1 parent 9f68626 commit a9924ec
File tree
15 files changed
+3497
-37400
lines changed- app
- src
- app
- core
- models
- services
- electron
- home
15 files changed
+3497
-37400
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
This file was deleted.
0 commit comments