"use strict";
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.__ΩIJobOptions = exports.__ΩJobClass = exports.__ΩBaseJobClass = exports.BaseJob = exports.WorkerJob = exports.WorkerSymbol = exports.OutputDataSymbol = exports.InputDataSymbol = exports.JobSymbol = void 0;
/*@ts-ignore*/
var { __ΩClassType } = require('@deepkit/core');
const decorators_1 = require("../../helpers/framework/decorators");
exports.JobSymbol = Symbol('Job');
exports.InputDataSymbol = Symbol('InputData');
exports.OutputDataSymbol = Symbol('OutputData');
exports.WorkerSymbol = Symbol('Worker');
exports.WorkerJob = (0, decorators_1.createRegistryClassDecorator)(exports.WorkerSymbol);
class BaseJob {
    constructor() {
        this[_a] = exports.JobSymbol;
    }
}
exports.BaseJob = BaseJob;
_a = exports.JobSymbol;
BaseJob.QUEUE_NAME = 'default';
BaseJob.CRON_SCHEDULE = null;
BaseJob.__type = ['I', 'O', () => exports.JobSymbol, function () { return exports.JobSymbol; }, () => exports.InputDataSymbol, () => exports.OutputDataSymbol, 'QUEUE_NAME', function () { return 'default'; }, 'CRON_SCHEDULE', function () { return null; }, 'data', 'handle', 'BaseJob', '$c!$c"!3#>$e!!3%e!"3&&3\'s>(P&,J3)s>*Pe"!2+e""`0,=5w-'];
const __ΩBaseJobClass = ['QUEUE_NAME', 'CRON_SCHEDULE', 'BaseJobClass', 'P&4!P&,J4"Mw#y'];
exports.__ΩBaseJobClass = __ΩBaseJobClass;
const __ΩJobClass = [() => __ΩClassType, () => BaseJob, () => __ΩBaseJobClass, 'JobClass', 'PP7"o!"n#Kw$y'];
exports.__ΩJobClass = __ΩJobClass;
const __ΩIJobOptions = ['delay', 'IJobOptions', 'P\'4!8Mw"y'];
exports.__ΩIJobOptions = __ΩIJobOptions;
//# sourceMappingURL=types.js.map