@wild-framework/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/dist/queue.d.ts +5 -1
- package/dist/queue.d.ts.map +1 -1
- package/dist/queue.js.map +1 -1
- package/package.json +3 -3
package/dist/queue.d.ts
CHANGED
|
@@ -11,8 +11,12 @@ export interface Job<TPayload = unknown> {
|
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* A job class constructor.
|
|
14
|
+
*
|
|
15
|
+
* Jobs are resolved from the container, so they may declare constructor
|
|
16
|
+
* dependencies — the zero-arg requirement is only at the type level because
|
|
17
|
+
* the container handles instantiation.
|
|
14
18
|
*/
|
|
15
|
-
export type JobConstructor<TPayload = unknown> = new () => Job<TPayload>;
|
|
19
|
+
export type JobConstructor<TPayload = unknown> = new (...args: any[]) => Job<TPayload>;
|
|
16
20
|
/**
|
|
17
21
|
* Queue.
|
|
18
22
|
*
|
package/dist/queue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../src/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;;;;;GAMG;AACH,MAAM,WAAW,GAAG,CAAC,QAAQ,GAAG,OAAO;IACnC,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnD;AAED
|
|
1
|
+
{"version":3,"file":"queue.d.ts","sourceRoot":"","sources":["../src/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD;;;;;;GAMG;AACH,MAAM,WAAW,GAAG,CAAC,QAAQ,GAAG,OAAO;IACnC,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnD;AAED;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,CAAC,QAAQ,GAAG,OAAO,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,QAAQ,CAAC,CAAC;AAEvF;;;;;;;;GAQG;AACH,qBAAa,KAAK;IACF,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,SAAS;IAExC;;;;;OAKG;IACG,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE,cAAc,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAI5F"}
|
package/dist/queue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../src/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../src/queue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAsBtD;;;;;;;;GAQG;AACH,MAAM,OAAO,KAAK;IACM;IAApB,YAAoB,SAAoB;QAApB,cAAS,GAAT,SAAS,CAAW;IAAG,CAAC;IAE5C;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CAAW,GAA6B,EAAE,OAAiB;QACrE,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAgB,GAAG,CAAC,CAAC;QAC5D,MAAM,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wild-framework/queue",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"worker"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@wild-framework/core": "0.1.
|
|
35
|
-
"@wild-framework/container": "0.1.
|
|
34
|
+
"@wild-framework/core": "0.1.1",
|
|
35
|
+
"@wild-framework/container": "0.1.1"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "tsc",
|