Skip to content

Commit a9924ec

Browse files
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

15 files changed

+3497
-37400
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
save=true
22
save-exact=true
3+
auto-install-peers=true

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ $> pnpm install
4747
开发模式运行:
4848

4949
```bash
50-
$> npm start
50+
$> pnpm run start
5151
```
5252

5353
构建可执行文件(构建结果根据当前操作系统而定):
5454
```bash
55-
$> npm run electron:build
55+
$> pnpm run electron:build
5656
```
5757

5858
编译完成即可在 `./release` 中看到。

app/pnpm-lock.yaml

Lines changed: 0 additions & 71 deletions
This file was deleted.

0 commit comments

Comments
 (0)