/
index.ts
31 lines (28 loc) · 836 Bytes
/
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
/*
* GNU GENERAL PUBLIC LICENSE
* Version 3, 29 June 2007
*
* Copyright (C) 2024 Terwer, Inc. <https://terwer.space/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
import { IPicGo, IPicGoPlugin } from "../../types"
import githubUploader from "./github"
import gitlabUploader from "./gitlab"
import aliYunUploader from "./aliyun"
import qiniuUploader from "./qiniu"
import SMMSUploader from "./smms"
import imgurUploader from "./imgur"
const buildInUploaders: IPicGoPlugin = () => {
return {
register(ctx: IPicGo) {
githubUploader(ctx)
gitlabUploader(ctx)
aliYunUploader(ctx)
qiniuUploader(ctx)
SMMSUploader(ctx)
imgurUploader(ctx)
},
}
}
export default buildInUploaders