@strav/queue 0.1.0 → 0.1.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.
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import ServiceProvider from '@
|
|
2
|
-
import type Application from '@
|
|
1
|
+
import ServiceProvider from '@strav/kernel/core/service_provider'
|
|
2
|
+
import type Application from '@strav/kernel/core/application'
|
|
3
3
|
import Queue from '../queue/queue.ts'
|
|
4
4
|
|
|
5
5
|
export interface QueueProviderOptions {
|
package/src/queue/queue.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { inject } from '@
|
|
2
|
-
import Configuration from '@
|
|
3
|
-
import Database from '@
|
|
4
|
-
import Emitter from '@
|
|
5
|
-
import { ConfigurationError } from '@
|
|
1
|
+
import { inject } from '@strav/kernel/core/inject'
|
|
2
|
+
import Configuration from '@strav/kernel/config/configuration'
|
|
3
|
+
import Database from '@strav/database/database/database'
|
|
4
|
+
import Emitter from '@strav/kernel/events/emitter'
|
|
5
|
+
import { ConfigurationError } from '@strav/kernel/exceptions/errors'
|
|
6
6
|
|
|
7
7
|
export interface JobOptions {
|
|
8
8
|
queue?: string
|
package/src/queue/worker.ts
CHANGED