@c9up/bay 0.1.5 → 0.1.6
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/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +11 -0
package/dist/index.d.ts
CHANGED
|
@@ -5,9 +5,16 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @implements MISS-11
|
|
7
7
|
*/
|
|
8
|
+
export type { BayProviderConfig } from "./BayProvider.js";
|
|
8
9
|
export { MemoryDriver } from "./drivers/MemoryDriver.js";
|
|
9
10
|
export type { RedisClient } from "./drivers/RedisDriver.js";
|
|
10
11
|
export { RedisDriver } from "./drivers/RedisDriver.js";
|
|
11
12
|
export type { Job, JobHandler, QueueDriver } from "./QueueManager.js";
|
|
12
13
|
export { QueueManager } from "./QueueManager.js";
|
|
14
|
+
import type { BayProviderConfig } from "./BayProvider.js";
|
|
15
|
+
/**
|
|
16
|
+
* Author-time config helper for `config/queue.ts` — AdonisJS `defineConfig`
|
|
17
|
+
* parity. Identity at runtime; the generic preserves literal types for inference.
|
|
18
|
+
*/
|
|
19
|
+
export declare function defineConfig<T extends BayProviderConfig>(config: T): T;
|
|
13
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,iBAAiB,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAEtE"}
|
package/dist/index.js
CHANGED
|
@@ -8,4 +8,11 @@
|
|
|
8
8
|
export { MemoryDriver } from "./drivers/MemoryDriver.js";
|
|
9
9
|
export { RedisDriver } from "./drivers/RedisDriver.js";
|
|
10
10
|
export { QueueManager } from "./QueueManager.js";
|
|
11
|
+
/**
|
|
12
|
+
* Author-time config helper for `config/queue.ts` — AdonisJS `defineConfig`
|
|
13
|
+
* parity. Identity at runtime; the generic preserves literal types for inference.
|
|
14
|
+
*/
|
|
15
|
+
export function defineConfig(config) {
|
|
16
|
+
return config;
|
|
17
|
+
}
|
|
11
18
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAIjD;;;GAGG;AACH,MAAM,UAAU,YAAY,CAA8B,MAAS;IAClE,OAAO,MAAM,CAAC;AACf,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -6,8 +6,19 @@
|
|
|
6
6
|
* @implements MISS-11
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
export type { BayProviderConfig } from "./BayProvider.js";
|
|
9
10
|
export { MemoryDriver } from "./drivers/MemoryDriver.js";
|
|
10
11
|
export type { RedisClient } from "./drivers/RedisDriver.js";
|
|
11
12
|
export { RedisDriver } from "./drivers/RedisDriver.js";
|
|
12
13
|
export type { Job, JobHandler, QueueDriver } from "./QueueManager.js";
|
|
13
14
|
export { QueueManager } from "./QueueManager.js";
|
|
15
|
+
|
|
16
|
+
import type { BayProviderConfig } from "./BayProvider.js";
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Author-time config helper for `config/queue.ts` — AdonisJS `defineConfig`
|
|
20
|
+
* parity. Identity at runtime; the generic preserves literal types for inference.
|
|
21
|
+
*/
|
|
22
|
+
export function defineConfig<T extends BayProviderConfig>(config: T): T {
|
|
23
|
+
return config;
|
|
24
|
+
}
|