Skip to content

Commit

Permalink
editor: sync
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotype committed Jun 14, 2024
1 parent 318b9e0 commit 931febe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 13 deletions.
3 changes: 2 additions & 1 deletion apps/blue-archive-story-editor/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@
"toml",
"gql",
"graphql"
]
],
"i18n-ally.localesPaths": []
}
2 changes: 1 addition & 1 deletion apps/blue-archive-story-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.0.1",
"private": true,
"packageManager": "pnpm@8.11.0",
"packageManager": "pnpm@9.0.6",
"scripts": {
"build": "vite build",
"build:github": "pnpm build",
Expand Down
9 changes: 0 additions & 9 deletions apps/blue-archive-story-editor/src/common/visual-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ export function buildNexonJSONStory(nodes: StoryNode[]) {
TextEn: '',
VoiceJp: '',
}
// if (command.type === JSONStoryCommandType.Title) {
// temp.ScriptKr = `#title;${AST2Text([command.title[Lang.kr]])};${AST2Text([command.subtitle?.[Lang.kr]])};`
// }
// else if (command.type === JSONStoryCommandType.Place) {
// temp.ScriptKr = `#place;${command.place};`
// }
// else if (command.type === JSONStoryCommandType.Wait) {
// temp.ScriptKr = `#wait;${command.millionSecond};`
// }
if (node.type === StoryNodeType.DialogNode) {
const dialog = node.dialog
const characterIndex = node.dialog.speaker
Expand Down
2 changes: 1 addition & 1 deletion apps/blue-archive-story-editor/typed-router.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ declare module 'vue-router/auto-routes' {
'/[...all]': RouteRecordInfo<'/[...all]', '/:all(.*)', { all: ParamValue<true> }, { all: ParamValue<false> }>,
'/editor': RouteRecordInfo<'/editor', '/editor', Record<never, never>, Record<never, never>>,
'/player/[[id]]': RouteRecordInfo<'/player/[[id]]', '/player/:id?', { id?: ParamValueZeroOrOne<true> }, { id?: ParamValueZeroOrOne<false> }>,
'/Preview': RouteRecordInfo<'/Preview', '/Preview', Record<never, never>, Record<never, never>>,
'/preview': RouteRecordInfo<'/preview', '/preview', Record<never, never>, Record<never, never>>,
'/story-gallery': RouteRecordInfo<'/story-gallery', '/story-gallery', Record<never, never>, Record<never, never>>,
'/visual-editor': RouteRecordInfo<'/visual-editor', '/visual-editor', Record<never, never>, Record<never, never>>,
'/visual-editor/[[id]]': RouteRecordInfo<'/visual-editor/[[id]]', '/visual-editor/:id?', { id?: ParamValueZeroOrOne<true> }, { id?: ParamValueZeroOrOne<false> }>,
Expand Down
2 changes: 1 addition & 1 deletion apps/blue-archive-story-editor/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineConfig({
// },
// }),

VueRouter(),
VueRouter(),

Vue({
script: {
Expand Down

0 comments on commit 931febe

Please sign in to comment.