Skip to content

Commit 0695636

Browse files
committed
chore: align folder structure for components
1 parent 673cb6f commit 0695636

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

src/renderer/stores/index.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
export * from './_types'
2-
export * from './config'
3-
export * from './image'
4-
export * from './theme'
5-
export * from './update'
6-
export * from './upload'
1+
export * from './modules'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import type { ConfigStore } from './_types'
1+
import type { ConfigStore } from '../types'
22

33
import { useStorage } from '@vueuse/core'
44
import { computed, readonly } from 'vue'
55

66
import { defaultFontConfig, defaultFontSizeConfig } from '@/config/fonts'
77

8-
import { g } from './_utils'
8+
import { g } from '../utils'
99

1010
const defaultConfig: ConfigStore = {
1111
lang: 'zh-CN',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { ImageStore, PasteMethod } from './_types'
1+
import type { ImageStore, PasteMethod } from '../types'
22
import { useStorage } from '@vueuse/core'
33
import { computed, readonly } from 'vue'
4-
import { g } from './_utils'
4+
import { g } from '../utils'
55

66
const defaultImage: ImageStore = {
77
pasteMethod: 'local',
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export * from './config'
2+
export * from './image'
3+
export * from './theme'
4+
export * from './update'
5+
export * from './upload'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { Theme, ThemeName, ThemeStore } from './_types'
1+
import type { Theme, ThemeName, ThemeStore } from '../types'
22
import { useStorage } from '@vueuse/core'
33
import { computed, readonly } from 'vue'
4-
import { g } from './_utils'
4+
import { g } from '../utils'
55

66
const defaultTheme: ThemeStore = {
77
current: 'normal',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { UpdateInfo, UpdateStore } from './_types'
1+
import type { UpdateInfo, UpdateStore } from '../types'
22
import { useStorage } from '@vueuse/core'
33
import { computed, readonly } from 'vue'
4-
import { g } from './_utils'
4+
import { g } from '../utils'
55

66
const defaultUpdate: UpdateStore = {
77
info: null,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { BodyType, RequestMethod, UploadStore } from './_types'
1+
import type { BodyType, RequestMethod, UploadStore } from '../types'
22
import { useStorage } from '@vueuse/core'
33
import { computed, readonly } from 'vue'
4-
import { g } from './_utils'
4+
import { g } from '../utils'
55

66
const defaultUpload: UploadStore = {
77
url: '',

0 commit comments

Comments
 (0)