-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: ブラウザ版のConfigをBaseConfigManagerベースに (#1629)
Co-authored-by: Hiroshiba <[email protected]>
- Loading branch information
1 parent
aee7d1f
commit 8f2099c
Showing
15 changed files
with
164 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
import { EngineInfo, EngineId } from "@/type/preload"; | ||
import { EngineInfo, envEngineInfoSchema } from "@/type/preload"; | ||
|
||
const baseEngineInfo = envEngineInfoSchema | ||
.array() | ||
.parse(JSON.parse(import.meta.env.VITE_DEFAULT_ENGINE_INFOS))[0]; | ||
|
||
export const defaultEngine: EngineInfo = { | ||
uuid: EngineId("074fc39e-678b-4c13-8916-ffca8d505d1d"), | ||
host: "http://127.0.0.1:50021", | ||
name: "VOICEVOX Engine", | ||
path: undefined, | ||
executionEnabled: false, | ||
executionFilePath: "", | ||
executionArgs: [], | ||
...baseEngineInfo, | ||
type: "default", | ||
}; | ||
|
||
export const directoryHandleStoreKey = "directoryHandle"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.