Projektstart

This commit is contained in:
2026-01-22 15:49:12 +01:00
parent 7212eb6f7a
commit 57e5f652f8
10637 changed files with 2598792 additions and 64 deletions

View File

@@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChildCommand = void 0;
var ChildCommand;
(function (ChildCommand) {
ChildCommand[ChildCommand["Init"] = 0] = "Init";
ChildCommand[ChildCommand["Start"] = 1] = "Start";
ChildCommand[ChildCommand["Stop"] = 2] = "Stop";
ChildCommand[ChildCommand["GetChildrenValuesResponse"] = 3] = "GetChildrenValuesResponse";
ChildCommand[ChildCommand["GetIgnoredChildrenFailuresResponse"] = 4] = "GetIgnoredChildrenFailuresResponse";
ChildCommand[ChildCommand["MoveToWaitingChildrenResponse"] = 5] = "MoveToWaitingChildrenResponse";
})(ChildCommand || (exports.ChildCommand = ChildCommand = {}));
//# sourceMappingURL=child-command.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"child-command.js","sourceRoot":"","sources":["../../../src/enums/child-command.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAOX;AAPD,WAAY,YAAY;IACtB,+CAAI,CAAA;IACJ,iDAAK,CAAA;IACL,+CAAI,CAAA;IACJ,yFAAyB,CAAA;IACzB,2GAAkC,CAAA;IAClC,iGAA6B,CAAA;AAC/B,CAAC,EAPW,YAAY,4BAAZ,YAAY,QAOvB"}

View File

@@ -0,0 +1,18 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErrorCode = void 0;
var ErrorCode;
(function (ErrorCode) {
ErrorCode[ErrorCode["JobNotExist"] = -1] = "JobNotExist";
ErrorCode[ErrorCode["JobLockNotExist"] = -2] = "JobLockNotExist";
ErrorCode[ErrorCode["JobNotInState"] = -3] = "JobNotInState";
ErrorCode[ErrorCode["JobPendingChildren"] = -4] = "JobPendingChildren";
ErrorCode[ErrorCode["ParentJobNotExist"] = -5] = "ParentJobNotExist";
ErrorCode[ErrorCode["JobLockMismatch"] = -6] = "JobLockMismatch";
ErrorCode[ErrorCode["ParentJobCannotBeReplaced"] = -7] = "ParentJobCannotBeReplaced";
ErrorCode[ErrorCode["JobBelongsToJobScheduler"] = -8] = "JobBelongsToJobScheduler";
ErrorCode[ErrorCode["JobHasFailedChildren"] = -9] = "JobHasFailedChildren";
ErrorCode[ErrorCode["SchedulerJobIdCollision"] = -10] = "SchedulerJobIdCollision";
ErrorCode[ErrorCode["SchedulerJobSlotsBusy"] = -11] = "SchedulerJobSlotsBusy";
})(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
//# sourceMappingURL=error-code.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"error-code.js","sourceRoot":"","sources":["../../../src/enums/error-code.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAYX;AAZD,WAAY,SAAS;IACnB,wDAAgB,CAAA;IAChB,gEAAoB,CAAA;IACpB,4DAAkB,CAAA;IAClB,sEAAuB,CAAA;IACvB,oEAAsB,CAAA;IACtB,gEAAoB,CAAA;IACpB,oFAA8B,CAAA;IAC9B,kFAA6B,CAAA;IAC7B,0EAAyB,CAAA;IACzB,iFAA6B,CAAA;IAC7B,6EAA2B,CAAA;AAC7B,CAAC,EAZW,SAAS,yBAAT,SAAS,QAYpB"}

9
backend/node_modules/bullmq/dist/cjs/enums/index.js generated vendored Normal file
View File

@@ -0,0 +1,9 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./child-command"), exports);
tslib_1.__exportStar(require("./error-code"), exports);
tslib_1.__exportStar(require("./parent-command"), exports);
tslib_1.__exportStar(require("./metrics-time"), exports);
tslib_1.__exportStar(require("./telemetry-attributes"), exports);
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/enums/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,uDAA6B;AAC7B,2DAAiC;AACjC,yDAA+B;AAC/B,iEAAuC"}

View File

@@ -0,0 +1,15 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MetricsTime = void 0;
var MetricsTime;
(function (MetricsTime) {
MetricsTime[MetricsTime["ONE_MINUTE"] = 1] = "ONE_MINUTE";
MetricsTime[MetricsTime["FIVE_MINUTES"] = 5] = "FIVE_MINUTES";
MetricsTime[MetricsTime["FIFTEEN_MINUTES"] = 15] = "FIFTEEN_MINUTES";
MetricsTime[MetricsTime["THIRTY_MINUTES"] = 30] = "THIRTY_MINUTES";
MetricsTime[MetricsTime["ONE_HOUR"] = 60] = "ONE_HOUR";
MetricsTime[MetricsTime["ONE_WEEK"] = 10080] = "ONE_WEEK";
MetricsTime[MetricsTime["TWO_WEEKS"] = 20160] = "TWO_WEEKS";
MetricsTime[MetricsTime["ONE_MONTH"] = 80640] = "ONE_MONTH";
})(MetricsTime || (exports.MetricsTime = MetricsTime = {}));
//# sourceMappingURL=metrics-time.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"metrics-time.js","sourceRoot":"","sources":["../../../src/enums/metrics-time.ts"],"names":[],"mappings":";;;AAAA,IAAY,WASX;AATD,WAAY,WAAW;IACrB,yDAAc,CAAA;IACd,6DAAgB,CAAA;IAChB,oEAAoB,CAAA;IACpB,kEAAmB,CAAA;IACnB,sDAAa,CAAA;IACb,yDAAsB,CAAA;IACtB,2DAA2B,CAAA;IAC3B,2DAA+B,CAAA;AACjC,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB"}

View File

@@ -0,0 +1,20 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ParentCommand = void 0;
var ParentCommand;
(function (ParentCommand) {
ParentCommand[ParentCommand["Completed"] = 0] = "Completed";
ParentCommand[ParentCommand["Error"] = 1] = "Error";
ParentCommand[ParentCommand["Failed"] = 2] = "Failed";
ParentCommand[ParentCommand["InitFailed"] = 3] = "InitFailed";
ParentCommand[ParentCommand["InitCompleted"] = 4] = "InitCompleted";
ParentCommand[ParentCommand["Log"] = 5] = "Log";
ParentCommand[ParentCommand["MoveToDelayed"] = 6] = "MoveToDelayed";
ParentCommand[ParentCommand["MoveToWait"] = 7] = "MoveToWait";
ParentCommand[ParentCommand["Progress"] = 8] = "Progress";
ParentCommand[ParentCommand["Update"] = 9] = "Update";
ParentCommand[ParentCommand["GetChildrenValues"] = 10] = "GetChildrenValues";
ParentCommand[ParentCommand["GetIgnoredChildrenFailures"] = 11] = "GetIgnoredChildrenFailures";
ParentCommand[ParentCommand["MoveToWaitingChildren"] = 12] = "MoveToWaitingChildren";
})(ParentCommand || (exports.ParentCommand = ParentCommand = {}));
//# sourceMappingURL=parent-command.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"parent-command.js","sourceRoot":"","sources":["../../../src/enums/parent-command.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAcX;AAdD,WAAY,aAAa;IACvB,2DAAS,CAAA;IACT,mDAAK,CAAA;IACL,qDAAM,CAAA;IACN,6DAAU,CAAA;IACV,mEAAa,CAAA;IACb,+CAAG,CAAA;IACH,mEAAa,CAAA;IACb,6DAAU,CAAA;IACV,yDAAQ,CAAA;IACR,qDAAM,CAAA;IACN,4EAAiB,CAAA;IACjB,8FAA0B,CAAA;IAC1B,oFAAqB,CAAA;AACvB,CAAC,EAdW,aAAa,6BAAb,aAAa,QAcxB"}

View File

@@ -0,0 +1,49 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpanKind = exports.TelemetryAttributes = void 0;
var TelemetryAttributes;
(function (TelemetryAttributes) {
TelemetryAttributes["QueueName"] = "bullmq.queue.name";
TelemetryAttributes["QueueOperation"] = "bullmq.queue.operation";
TelemetryAttributes["BulkCount"] = "bullmq.job.bulk.count";
TelemetryAttributes["BulkNames"] = "bullmq.job.bulk.names";
TelemetryAttributes["JobName"] = "bullmq.job.name";
TelemetryAttributes["JobId"] = "bullmq.job.id";
TelemetryAttributes["JobKey"] = "bullmq.job.key";
TelemetryAttributes["JobIds"] = "bullmq.job.ids";
TelemetryAttributes["JobAttemptsMade"] = "bullmq.job.attempts.made";
TelemetryAttributes["DeduplicationKey"] = "bullmq.job.deduplication.key";
TelemetryAttributes["JobOptions"] = "bullmq.job.options";
TelemetryAttributes["JobProgress"] = "bullmq.job.progress";
TelemetryAttributes["QueueDrainDelay"] = "bullmq.queue.drain.delay";
TelemetryAttributes["QueueGrace"] = "bullmq.queue.grace";
TelemetryAttributes["QueueCleanLimit"] = "bullmq.queue.clean.limit";
TelemetryAttributes["QueueRateLimit"] = "bullmq.queue.rate.limit";
TelemetryAttributes["JobType"] = "bullmq.job.type";
TelemetryAttributes["QueueOptions"] = "bullmq.queue.options";
TelemetryAttributes["QueueEventMaxLength"] = "bullmq.queue.event.max.length";
TelemetryAttributes["WorkerOptions"] = "bullmq.worker.options";
TelemetryAttributes["WorkerName"] = "bullmq.worker.name";
TelemetryAttributes["WorkerId"] = "bullmq.worker.id";
TelemetryAttributes["WorkerRateLimit"] = "bullmq.worker.rate.limit";
TelemetryAttributes["WorkerDoNotWaitActive"] = "bullmq.worker.do.not.wait.active";
TelemetryAttributes["WorkerForceClose"] = "bullmq.worker.force.close";
TelemetryAttributes["WorkerStalledJobs"] = "bullmq.worker.stalled.jobs";
TelemetryAttributes["WorkerFailedJobs"] = "bullmq.worker.failed.jobs";
TelemetryAttributes["WorkerJobsToExtendLocks"] = "bullmq.worker.jobs.to.extend.locks";
TelemetryAttributes["JobFinishedTimestamp"] = "bullmq.job.finished.timestamp";
TelemetryAttributes["JobProcessedTimestamp"] = "bullmq.job.processed.timestamp";
TelemetryAttributes["JobResult"] = "bullmq.job.result";
TelemetryAttributes["JobFailedReason"] = "bullmq.job.failed.reason";
TelemetryAttributes["FlowName"] = "bullmq.flow.name";
TelemetryAttributes["JobSchedulerId"] = "bullmq.job.scheduler.id";
})(TelemetryAttributes || (exports.TelemetryAttributes = TelemetryAttributes = {}));
var SpanKind;
(function (SpanKind) {
SpanKind[SpanKind["INTERNAL"] = 0] = "INTERNAL";
SpanKind[SpanKind["SERVER"] = 1] = "SERVER";
SpanKind[SpanKind["CLIENT"] = 2] = "CLIENT";
SpanKind[SpanKind["PRODUCER"] = 3] = "PRODUCER";
SpanKind[SpanKind["CONSUMER"] = 4] = "CONSUMER";
})(SpanKind || (exports.SpanKind = SpanKind = {}));
//# sourceMappingURL=telemetry-attributes.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"telemetry-attributes.js","sourceRoot":"","sources":["../../../src/enums/telemetry-attributes.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAmCX;AAnCD,WAAY,mBAAmB;IAC7B,sDAA+B,CAAA;IAC/B,gEAAyC,CAAA;IACzC,0DAAmC,CAAA;IACnC,0DAAmC,CAAA;IACnC,kDAA2B,CAAA;IAC3B,8CAAuB,CAAA;IACvB,gDAAyB,CAAA;IACzB,gDAAyB,CAAA;IACzB,mEAA4C,CAAA;IAC5C,wEAAiD,CAAA;IACjD,wDAAiC,CAAA;IACjC,0DAAmC,CAAA;IACnC,mEAA4C,CAAA;IAC5C,wDAAiC,CAAA;IACjC,mEAA4C,CAAA;IAC5C,iEAA0C,CAAA;IAC1C,kDAA2B,CAAA;IAC3B,4DAAqC,CAAA;IACrC,4EAAqD,CAAA;IACrD,8DAAuC,CAAA;IACvC,wDAAiC,CAAA;IACjC,oDAA6B,CAAA;IAC7B,mEAA4C,CAAA;IAC5C,iFAA0D,CAAA;IAC1D,qEAA8C,CAAA;IAC9C,uEAAgD,CAAA;IAChD,qEAA8C,CAAA;IAC9C,qFAA8D,CAAA;IAC9D,6EAAsD,CAAA;IACtD,+EAAwD,CAAA;IACxD,sDAA+B,CAAA;IAC/B,mEAA4C,CAAA;IAC5C,oDAA6B,CAAA;IAC7B,iEAA0C,CAAA;AAC5C,CAAC,EAnCW,mBAAmB,mCAAnB,mBAAmB,QAmC9B;AAED,IAAY,QAMX;AAND,WAAY,QAAQ;IAClB,+CAAY,CAAA;IACZ,2CAAU,CAAA;IACV,2CAAU,CAAA;IACV,+CAAY,CAAA;IACZ,+CAAY,CAAA;AACd,CAAC,EANW,QAAQ,wBAAR,QAAQ,QAMnB"}