@boringnode/queue 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1428,4 +1428,4 @@ declare abstract class Job<Payload = any> {
1428
1428
  failed?(error: Error): Promise<void>;
1429
1429
  }
1430
1430
 
1431
- export { type Adapter as A, type BackoffStrategy as B, type DispatchManyResult as D, type JobRetention as J, type Logger as L, type QueueManagerConfig as Q, type RetryConfig as R, type ScheduleConfig as S, type WorkerCycle as W, type AcquiredJob as a, type JobRecord as b, type JobData as c, type ScheduleData as d, type ScheduleListOptions as e, type JobFactory as f, type JobOptions as g, Job as h, type JobClass as i, type ScheduleStatus as j, ScheduleBuilder as k, JobBatchDispatcher as l, type AdapterFactory as m, customBackoff as n, linearBackoff as o, exponentialBackoff as p, fixedBackoff as q, type Duration as r, type JobStatus as s, type DispatchResult as t, type JobContext as u, type BackoffConfig as v, type QueueConfig as w, type WorkerConfig as x, type ScheduleResult as y };
1431
+ export { type Adapter as A, type BackoffStrategy as B, type Duration as D, type JobRetention as J, type Logger as L, type QueueManagerConfig as Q, type RetryConfig as R, type ScheduleConfig as S, type WorkerCycle as W, type AcquiredJob as a, type JobRecord as b, type JobData as c, type ScheduleData as d, type ScheduleListOptions as e, type JobFactory as f, type JobOptions as g, Job as h, type JobClass as i, type ScheduleStatus as j, ScheduleBuilder as k, JobBatchDispatcher as l, customBackoff as m, linearBackoff as n, exponentialBackoff as o, fixedBackoff as p, type JobStatus as q, type DispatchResult as r, type DispatchManyResult as s, type JobContext as t, type BackoffConfig as u, type QueueConfig as v, type WorkerConfig as w, type AdapterFactory as x, type ScheduleResult as y };
package/build/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Q as QueueManagerConfig, W as WorkerCycle, A as Adapter, R as RetryConfig, f as JobFactory, g as JobOptions, h as Job, i as JobClass, d as ScheduleData, j as ScheduleStatus, e as ScheduleListOptions } from './index-PDfE6h8d.js';
2
- export { m as AdapterFactory, D as DispatchManyResult, l as JobBatchDispatcher, k as ScheduleBuilder, n as customBackoff, p as exponentialBackoff, q as fixedBackoff, o as linearBackoff } from './index-PDfE6h8d.js';
1
+ import { Q as QueueManagerConfig, W as WorkerCycle, A as Adapter, R as RetryConfig, f as JobFactory, g as JobOptions, h as Job, i as JobClass, d as ScheduleData, j as ScheduleStatus, e as ScheduleListOptions } from './index-BzPIqdx3.js';
2
+ export { l as JobBatchDispatcher, k as ScheduleBuilder, m as customBackoff, o as exponentialBackoff, p as fixedBackoff, n as linearBackoff } from './index-BzPIqdx3.js';
3
3
  import * as _poppinss_utils from '@poppinss/utils';
4
4
 
5
5
  /**
@@ -453,4 +453,4 @@ declare namespace exceptions {
453
453
  export { exceptions_E_ADAPTER_INIT_ERROR as E_ADAPTER_INIT_ERROR, exceptions_E_CONFIGURATION_ERROR as E_CONFIGURATION_ERROR, exceptions_E_INVALID_BASE_DELAY as E_INVALID_BASE_DELAY, exceptions_E_INVALID_CRON_EXPRESSION as E_INVALID_CRON_EXPRESSION, exceptions_E_INVALID_DURATION_EXPRESSION as E_INVALID_DURATION_EXPRESSION, exceptions_E_INVALID_MAX_DELAY as E_INVALID_MAX_DELAY, exceptions_E_INVALID_MULTIPLIER as E_INVALID_MULTIPLIER, exceptions_E_INVALID_SCHEDULE_CONFIG as E_INVALID_SCHEDULE_CONFIG, exceptions_E_JOB_MAX_ATTEMPTS_REACHED as E_JOB_MAX_ATTEMPTS_REACHED, exceptions_E_JOB_NOT_FOUND as E_JOB_NOT_FOUND, exceptions_E_JOB_TIMEOUT as E_JOB_TIMEOUT, exceptions_E_NO_JOBS_FOUND as E_NO_JOBS_FOUND, exceptions_E_QUEUE_NOT_INITIALIZED as E_QUEUE_NOT_INITIALIZED };
454
454
  }
455
455
 
456
- export { Job, JobFactory, Locator, QueueManager, Schedule, Worker, exceptions as errors };
456
+ export { Job, Locator, QueueManager, Schedule, Worker, exceptions as errors };
@@ -1 +1 @@
1
- export { a as AcquiredJob, A as Adapter } from '../../index-PDfE6h8d.js';
1
+ export { a as AcquiredJob, A as Adapter } from '../../index-BzPIqdx3.js';
@@ -1,5 +1,5 @@
1
1
  import { Knex } from 'knex';
2
- import { A as Adapter, a as AcquiredJob, J as JobRetention, b as JobRecord, c as JobData, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions } from '../../index-PDfE6h8d.js';
2
+ import { A as Adapter, a as AcquiredJob, J as JobRetention, b as JobRecord, c as JobData, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions } from '../../index-BzPIqdx3.js';
3
3
 
4
4
  interface KnexAdapterOptions {
5
5
  connection: Knex;
@@ -1,5 +1,5 @@
1
1
  import { Redis, RedisOptions } from 'ioredis';
2
- import { A as Adapter, a as AcquiredJob, J as JobRetention, b as JobRecord, c as JobData, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions } from '../../index-PDfE6h8d.js';
2
+ import { A as Adapter, a as AcquiredJob, J as JobRetention, b as JobRecord, c as JobData, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions } from '../../index-BzPIqdx3.js';
3
3
 
4
4
  type RedisConfig = Redis | RedisOptions;
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { A as Adapter, c as JobData, a as AcquiredJob, J as JobRetention, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions } from '../../index-PDfE6h8d.js';
1
+ import { A as Adapter, c as JobData, a as AcquiredJob, J as JobRetention, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions } from '../../index-BzPIqdx3.js';
2
2
 
3
3
  /**
4
4
  * Create a sync adapter factory.
@@ -1 +1 @@
1
- export { a as AcquiredJob, A as Adapter, v as BackoffConfig, B as BackoffStrategy, t as DispatchResult, r as Duration, i as JobClass, u as JobContext, c as JobData, f as JobFactory, g as JobOptions, L as Logger, w as QueueConfig, Q as QueueManagerConfig, R as RetryConfig, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions, y as ScheduleResult, j as ScheduleStatus, x as WorkerConfig, W as WorkerCycle } from '../../index-PDfE6h8d.js';
1
+ export { a as AcquiredJob, A as Adapter, x as AdapterFactory, u as BackoffConfig, B as BackoffStrategy, s as DispatchManyResult, r as DispatchResult, D as Duration, i as JobClass, t as JobContext, c as JobData, f as JobFactory, g as JobOptions, b as JobRecord, J as JobRetention, q as JobStatus, L as Logger, v as QueueConfig, Q as QueueManagerConfig, R as RetryConfig, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions, y as ScheduleResult, j as ScheduleStatus, w as WorkerConfig, W as WorkerCycle } from '../../index-BzPIqdx3.js';
@@ -1 +1 @@
1
- export { m as AdapterFactory, v as BackoffConfig, B as BackoffStrategy, D as DispatchManyResult, t as DispatchResult, r as Duration, i as JobClass, u as JobContext, c as JobData, f as JobFactory, g as JobOptions, b as JobRecord, J as JobRetention, s as JobStatus, L as Logger, w as QueueConfig, Q as QueueManagerConfig, R as RetryConfig, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions, y as ScheduleResult, j as ScheduleStatus, x as WorkerConfig, W as WorkerCycle } from '../../index-PDfE6h8d.js';
1
+ export { x as AdapterFactory, u as BackoffConfig, B as BackoffStrategy, s as DispatchManyResult, r as DispatchResult, D as Duration, i as JobClass, t as JobContext, c as JobData, f as JobFactory, g as JobOptions, b as JobRecord, J as JobRetention, q as JobStatus, L as Logger, v as QueueConfig, Q as QueueManagerConfig, R as RetryConfig, S as ScheduleConfig, d as ScheduleData, e as ScheduleListOptions, y as ScheduleResult, j as ScheduleStatus, w as WorkerConfig, W as WorkerCycle } from '../../index-BzPIqdx3.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boringnode/queue",
3
3
  "description": "A simple and efficient queue system for Node.js applications",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
7
7
  "files": [