2019-05-27 16:54:47 +09:00
|
|
|
import define from '../../../define';
|
2019-07-01 21:12:14 +09:00
|
|
|
import { createCleanRemoteFilesJob } from '../../../../../queue';
|
2019-05-27 16:54:47 +09:00
|
|
|
|
|
|
|
export const meta = {
|
2021-03-06 22:34:11 +09:00
|
|
|
desc: {
|
|
|
|
'ja-JP': 'キャッシュされたリモートファイルをすべて削除します。',
|
|
|
|
'en-US': 'Deletes all cached remote files.'
|
|
|
|
},
|
|
|
|
|
2019-05-27 16:54:47 +09:00
|
|
|
tags: ['admin'],
|
|
|
|
|
2020-02-15 21:33:32 +09:00
|
|
|
requireCredential: true as const,
|
2019-05-27 16:54:47 +09:00
|
|
|
requireModerator: true,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default define(meta, async (ps, me) => {
|
2019-07-01 21:12:14 +09:00
|
|
|
createCleanRemoteFilesJob();
|
2019-05-27 16:54:47 +09:00
|
|
|
});
|