33 lines
825 B
JavaScript
33 lines
825 B
JavaScript
"use strict";
|
||
Object.defineProperty(exports, "__esModule", { value: true });
|
||
const tslib_1 = require("tslib");
|
||
const ship_1 = tslib_1.__importDefault(require("./ship"));
|
||
exports.default = [
|
||
...ship_1.default,
|
||
];
|
||
const timers = [
|
||
// {
|
||
// name: '示例timer',
|
||
// cron: '30 * * * * *',
|
||
// entity: 'extraFile',
|
||
// filter: {
|
||
// uploadState: 'uploading',
|
||
// },
|
||
// projection: {
|
||
// id: 1,
|
||
// uploadMeta: 1,
|
||
// uploadState: 1,
|
||
// entity: 1,
|
||
// entityId: 1,
|
||
// objectId: 1,
|
||
// },
|
||
// fn: async (context, data) => {
|
||
// console.log(
|
||
// '这是示例timer程序,每30秒执行一次,请在src/timer/index中关闭'
|
||
// );
|
||
// return context.opResult;
|
||
// },
|
||
// },
|
||
];
|
||
// export default timers;
|