-
-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathindex.ts
More file actions
24 lines (22 loc) · 614 Bytes
/
index.ts
File metadata and controls
24 lines (22 loc) · 614 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { IPicGo, IPicGoPlugin } from '../../types'
import SMMSUploader from './smms'
import tcYunUploader from './tcyun'
import githubUploader from './github'
import qiniuUploader from './qiniu'
import imgurUploader from './imgur'
import aliYunUploader from './aliyun'
import upYunUploader from './upyun'
const buildInUploaders: IPicGoPlugin = () => {
return {
register (ctx: IPicGo) {
aliYunUploader(ctx)
tcYunUploader(ctx)
SMMSUploader(ctx)
githubUploader(ctx)
qiniuUploader(ctx)
imgurUploader(ctx)
upYunUploader(ctx)
}
}
}
export default buildInUploaders