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 = ( ) => { return { register ( ctx ) { ctx . helper . uploader . register ( 'smms' , SMMSUploader ) ; ctx . helper . uploader . register ( 'tcyun' , tcYunUploader ) ; ctx . helper . uploader . register ( 'github' , githubUploader ) ; ctx . helper . uploader . register ( 'qiniu' , qiniuUploader ) ; ctx . helper . uploader . register ( 'imgur' , imgurUploader ) ; ctx . helper . uploader . register ( 'aliyun' , aliYunUploader ) ; ctx . helper . uploader . register ( 'upyun' , upYunUploader ) ; } } ; } ; export default buildInUploaders ;