/
index.ts
37 lines (36 loc) · 1.08 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { UniversalPicGo } from "./core/UniversalPicGo"
import { ExternalPicgo } from "./core/ExternalPicgo"
import ConfigDb from "./db/config"
import PluginLoaderDb from "./db/pluginLoder"
import ExternalPicgoConfigDb from "./db/externalPicGo"
import { eventBus } from "./utils/eventBus"
import { currentWin, hasNodeEnv, parentWin, win } from "universal-picgo-store"
import { PicgoTypeEnum, IBusEvent } from "./utils/enums"
import {
IPicGo,
IImgInfo,
IPicgoDb,
IConfig,
IExternalPicgoConfig,
IPicBedType,
IUploaderConfigItem,
IUploaderConfigListItem,
IPluginConfig,
} from "./types"
import { isFileOrBlob, calculateMD5 } from "./utils/common"
export { UniversalPicGo, ExternalPicgo, eventBus }
export { ConfigDb, PluginLoaderDb, ExternalPicgoConfigDb }
export { PicgoTypeEnum, IBusEvent }
export { isFileOrBlob, calculateMD5 }
export { win, currentWin, parentWin, hasNodeEnv }
export {
type IPicGo,
type IImgInfo,
type IPicgoDb,
type IConfig,
type IExternalPicgoConfig,
type IPicBedType,
type IUploaderConfigItem,
type IUploaderConfigListItem,
type IPluginConfig,
}