Review funkt

This commit is contained in:
2026-08-09 21:56:00 +00:00
parent f522ae9953
commit fe9dfa4519
11366 changed files with 2335077 additions and 97 deletions

15
node_modules/bullmq/dist/cjs/enums/child-command.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
"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["GetDependenciesCountResponse"] = 5] = "GetDependenciesCountResponse";
ChildCommand[ChildCommand["MoveToWaitingChildrenResponse"] = 6] = "MoveToWaitingChildrenResponse";
ChildCommand[ChildCommand["Cancel"] = 7] = "Cancel";
ChildCommand[ChildCommand["GetDependenciesResponse"] = 8] = "GetDependenciesResponse";
})(ChildCommand || (exports.ChildCommand = ChildCommand = {}));

17
node_modules/bullmq/dist/cjs/enums/error-code.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
"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 = {}));

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

@@ -0,0 +1,8 @@
"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);

14
node_modules/bullmq/dist/cjs/enums/metrics-time.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
"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 = {}));

21
node_modules/bullmq/dist/cjs/enums/parent-command.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
"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["GetDependenciesCount"] = 12] = "GetDependenciesCount";
ParentCommand[ParentCommand["MoveToWaitingChildren"] = 13] = "MoveToWaitingChildren";
ParentCommand[ParentCommand["GetDependencies"] = 14] = "GetDependencies";
})(ParentCommand || (exports.ParentCommand = ParentCommand = {}));

View File

@@ -0,0 +1,65 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SpanKind = exports.MetricNames = 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["QueueCleanCount"] = "bullmq.queue.clean.count";
TelemetryAttributes["QueueRateLimit"] = "bullmq.queue.rate.limit";
TelemetryAttributes["JobType"] = "bullmq.job.type";
TelemetryAttributes["QueueOptions"] = "bullmq.queue.options";
TelemetryAttributes["QueueEventMaxLength"] = "bullmq.queue.event.max.length";
TelemetryAttributes["QueueJobsState"] = "bullmq.queue.jobs.state";
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["JobAttemptFinishedTimestamp"] = "bullmq.job.attempt_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["JobState"] = "bullmq.job.state";
})(TelemetryAttributes || (exports.TelemetryAttributes = TelemetryAttributes = {}));
/**
* Standard metric names for BullMQ telemetry
*/
var MetricNames;
(function (MetricNames) {
MetricNames["QueueJobsCount"] = "bullmq.queue.jobs";
MetricNames["JobsCompleted"] = "bullmq.jobs.completed";
MetricNames["JobsFailed"] = "bullmq.jobs.failed";
MetricNames["JobsDelayed"] = "bullmq.jobs.delayed";
MetricNames["JobsRetried"] = "bullmq.jobs.retried";
MetricNames["JobsWaiting"] = "bullmq.jobs.waiting";
MetricNames["JobsWaitingChildren"] = "bullmq.jobs.waiting_children";
MetricNames["JobDuration"] = "bullmq.job.duration";
})(MetricNames || (exports.MetricNames = MetricNames = {}));
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 = {}));