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

11
node_modules/bullmq/dist/esm/enums/child-command.d.ts generated vendored Normal file
View File

@@ -0,0 +1,11 @@
export declare enum ChildCommand {
Init = 0,
Start = 1,
Stop = 2,
GetChildrenValuesResponse = 3,
GetIgnoredChildrenFailuresResponse = 4,
GetDependenciesCountResponse = 5,
MoveToWaitingChildrenResponse = 6,
Cancel = 7,
GetDependenciesResponse = 8
}

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

@@ -0,0 +1,12 @@
export 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 || (ChildCommand = {}));

13
node_modules/bullmq/dist/esm/enums/error-code.d.ts generated vendored Normal file
View File

@@ -0,0 +1,13 @@
export declare enum ErrorCode {
JobNotExist = -1,
JobLockNotExist = -2,
JobNotInState = -3,
JobPendingChildren = -4,
ParentJobNotExist = -5,
JobLockMismatch = -6,
ParentJobCannotBeReplaced = -7,
JobBelongsToJobScheduler = -8,
JobHasFailedChildren = -9,
SchedulerJobIdCollision = -10,
SchedulerJobSlotsBusy = -11
}

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

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

5
node_modules/bullmq/dist/esm/enums/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,5 @@
export * from './child-command';
export * from './error-code';
export * from './parent-command';
export * from './metrics-time';
export * from './telemetry-attributes';

5
node_modules/bullmq/dist/esm/enums/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
export * from './child-command';
export * from './error-code';
export * from './parent-command';
export * from './metrics-time';
export * from './telemetry-attributes';

10
node_modules/bullmq/dist/esm/enums/metrics-time.d.ts generated vendored Normal file
View File

@@ -0,0 +1,10 @@
export declare enum MetricsTime {
ONE_MINUTE = 1,
FIVE_MINUTES = 5,
FIFTEEN_MINUTES = 15,
THIRTY_MINUTES = 30,
ONE_HOUR = 60,
ONE_WEEK = 10080,
TWO_WEEKS = 20160,
ONE_MONTH = 80640
}

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

@@ -0,0 +1,11 @@
export 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 || (MetricsTime = {}));

17
node_modules/bullmq/dist/esm/enums/parent-command.d.ts generated vendored Normal file
View File

@@ -0,0 +1,17 @@
export declare enum ParentCommand {
Completed = 0,
Error = 1,
Failed = 2,
InitFailed = 3,
InitCompleted = 4,
Log = 5,
MoveToDelayed = 6,
MoveToWait = 7,
Progress = 8,
Update = 9,
GetChildrenValues = 10,
GetIgnoredChildrenFailures = 11,
GetDependenciesCount = 12,
MoveToWaitingChildren = 13,
GetDependencies = 14
}

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

@@ -0,0 +1,18 @@
export 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 || (ParentCommand = {}));

View File

@@ -0,0 +1,59 @@
export declare enum TelemetryAttributes {
QueueName = "bullmq.queue.name",
QueueOperation = "bullmq.queue.operation",
BulkCount = "bullmq.job.bulk.count",
BulkNames = "bullmq.job.bulk.names",
JobName = "bullmq.job.name",
JobId = "bullmq.job.id",
JobKey = "bullmq.job.key",
JobIds = "bullmq.job.ids",
JobAttemptsMade = "bullmq.job.attempts.made",
DeduplicationKey = "bullmq.job.deduplication.key",
JobOptions = "bullmq.job.options",
JobProgress = "bullmq.job.progress",
QueueDrainDelay = "bullmq.queue.drain.delay",
QueueGrace = "bullmq.queue.grace",
QueueCleanLimit = "bullmq.queue.clean.limit",
QueueCleanCount = "bullmq.queue.clean.count",
QueueRateLimit = "bullmq.queue.rate.limit",
JobType = "bullmq.job.type",
QueueOptions = "bullmq.queue.options",
QueueEventMaxLength = "bullmq.queue.event.max.length",
QueueJobsState = "bullmq.queue.jobs.state",
WorkerOptions = "bullmq.worker.options",
WorkerName = "bullmq.worker.name",
WorkerId = "bullmq.worker.id",
WorkerRateLimit = "bullmq.worker.rate.limit",
WorkerDoNotWaitActive = "bullmq.worker.do.not.wait.active",
WorkerForceClose = "bullmq.worker.force.close",
WorkerStalledJobs = "bullmq.worker.stalled.jobs",
WorkerFailedJobs = "bullmq.worker.failed.jobs",
WorkerJobsToExtendLocks = "bullmq.worker.jobs.to.extend.locks",
JobAttemptFinishedTimestamp = "bullmq.job.attempt_finished_timestamp",
JobProcessedTimestamp = "bullmq.job.processed.timestamp",
JobResult = "bullmq.job.result",
JobFailedReason = "bullmq.job.failed.reason",
FlowName = "bullmq.flow.name",
JobSchedulerId = "bullmq.job.scheduler.id",
JobState = "bullmq.job.state"
}
/**
* Standard metric names for BullMQ telemetry
*/
export declare enum MetricNames {
QueueJobsCount = "bullmq.queue.jobs",
JobsCompleted = "bullmq.jobs.completed",
JobsFailed = "bullmq.jobs.failed",
JobsDelayed = "bullmq.jobs.delayed",
JobsRetried = "bullmq.jobs.retried",
JobsWaiting = "bullmq.jobs.waiting",
JobsWaitingChildren = "bullmq.jobs.waiting_children",
JobDuration = "bullmq.job.duration"
}
export declare enum SpanKind {
INTERNAL = 0,
SERVER = 1,
CLIENT = 2,
PRODUCER = 3,
CONSUMER = 4
}

View File

@@ -0,0 +1,62 @@
export 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 || (TelemetryAttributes = {}));
/**
* Standard metric names for BullMQ telemetry
*/
export 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 || (MetricNames = {}));
export 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 || (SpanKind = {}));