@forklaunch/implementation-worker-kafka 0.1.3 → 0.1.5
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/lib/__test__/schemaEquality.test.d.ts +2 -0
- package/lib/__test__/schemaEquality.test.d.ts.map +1 -0
- package/lib/__test__/schemaEquality.test.js +24 -0
- package/lib/consumers/index.d.ts +2 -0
- package/lib/consumers/index.d.ts.map +1 -0
- package/lib/consumers/index.js +1 -0
- package/lib/consumers/kafkaWorker.consumer.d.ts +32 -0
- package/lib/consumers/kafkaWorker.consumer.d.ts.map +1 -0
- package/lib/consumers/kafkaWorker.consumer.js +147 -0
- package/lib/eject/consumers/index.ts +1 -0
- package/lib/eject/consumers/kafkaWorker.consumer.ts +182 -0
- package/lib/eject/domain/schemas/index.ts +1 -0
- package/lib/eject/domain/schemas/kafkaWorker.schema.ts +10 -0
- package/lib/eject/producers/index.ts +1 -0
- package/lib/eject/producers/kafkaWorker.producer.ts +35 -0
- package/lib/eject/types/index.ts +1 -0
- package/lib/eject/types/kafkaWorker.types.ts +8 -0
- package/lib/jest.config.d.ts +4 -0
- package/lib/jest.config.d.ts.map +1 -0
- package/lib/jest.config.js +19 -0
- package/lib/producers/index.d.ts +2 -0
- package/lib/producers/index.d.ts.map +1 -0
- package/lib/producers/index.js +1 -0
- package/lib/producers/kafkaWorker.producer.d.ts +14 -0
- package/lib/producers/kafkaWorker.producer.d.ts.map +1 -0
- package/lib/producers/kafkaWorker.producer.js +28 -0
- package/lib/schemas/index.d.ts +2 -0
- package/lib/schemas/index.d.ts.map +1 -0
- package/lib/schemas/index.js +1 -0
- package/lib/schemas/kafka.schema.d.ts +64 -0
- package/lib/schemas/kafka.schema.d.ts.map +1 -0
- package/lib/schemas/kafka.schema.js +7 -0
- package/lib/schemas/typebox/kafkaWorker.schema.d.ts +47 -0
- package/lib/schemas/typebox/kafkaWorker.schema.d.ts.map +1 -0
- package/lib/schemas/typebox/kafkaWorker.schema.js +9 -0
- package/lib/schemas/zod/kafkaWorker.schema.d.ts +9 -0
- package/lib/schemas/zod/kafkaWorker.schema.d.ts.map +1 -0
- package/lib/schemas/zod/kafkaWorker.schema.js +9 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.js +1 -0
- package/lib/types/kafkaWorker.types.d.ts +9 -0
- package/lib/types/kafkaWorker.types.d.ts.map +1 -0
- package/lib/types/kafkaWorker.types.js +1 -0
- package/lib/vitest.config.d.ts +3 -0
- package/lib/vitest.config.d.ts.map +1 -0
- package/lib/vitest.config.js +7 -0
- package/package.json +2 -2
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const KafkaWorkerOptionsSchema: {
|
|
2
|
+
brokers: import('@sinclair/typebox').TArray<
|
|
3
|
+
import('@sinclair/typebox').TString
|
|
4
|
+
>;
|
|
5
|
+
clientId: import('@sinclair/typebox').TString;
|
|
6
|
+
groupId: import('@sinclair/typebox').TString;
|
|
7
|
+
retries: import('@sinclair/typebox').TTransform<
|
|
8
|
+
import('@sinclair/typebox').TUnion<
|
|
9
|
+
[
|
|
10
|
+
import('@sinclair/typebox').TNumber,
|
|
11
|
+
import('@sinclair/typebox').TString,
|
|
12
|
+
import('@sinclair/typebox').TBoolean,
|
|
13
|
+
import('@sinclair/typebox').TNull,
|
|
14
|
+
import('@sinclair/typebox').TDate,
|
|
15
|
+
import('@sinclair/typebox').TBigInt
|
|
16
|
+
]
|
|
17
|
+
>,
|
|
18
|
+
number
|
|
19
|
+
>;
|
|
20
|
+
interval: import('@sinclair/typebox').TTransform<
|
|
21
|
+
import('@sinclair/typebox').TUnion<
|
|
22
|
+
[
|
|
23
|
+
import('@sinclair/typebox').TNumber,
|
|
24
|
+
import('@sinclair/typebox').TString,
|
|
25
|
+
import('@sinclair/typebox').TBoolean,
|
|
26
|
+
import('@sinclair/typebox').TNull,
|
|
27
|
+
import('@sinclair/typebox').TDate,
|
|
28
|
+
import('@sinclair/typebox').TBigInt
|
|
29
|
+
]
|
|
30
|
+
>,
|
|
31
|
+
number
|
|
32
|
+
>;
|
|
33
|
+
peekCount: import('@sinclair/typebox').TTransform<
|
|
34
|
+
import('@sinclair/typebox').TUnion<
|
|
35
|
+
[
|
|
36
|
+
import('@sinclair/typebox').TNumber,
|
|
37
|
+
import('@sinclair/typebox').TString,
|
|
38
|
+
import('@sinclair/typebox').TBoolean,
|
|
39
|
+
import('@sinclair/typebox').TNull,
|
|
40
|
+
import('@sinclair/typebox').TDate,
|
|
41
|
+
import('@sinclair/typebox').TBigInt
|
|
42
|
+
]
|
|
43
|
+
>,
|
|
44
|
+
number
|
|
45
|
+
>;
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=kafkaWorker.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kafkaWorker.schema.d.ts","sourceRoot":"","sources":["../../../schemas/typebox/kafkaWorker.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB;;;;;;;CAOpC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const KafkaWorkerOptionsSchema: {
|
|
2
|
+
brokers: import('zod').ZodArray<import('zod').ZodString, 'many'>;
|
|
3
|
+
clientId: import('zod').ZodString;
|
|
4
|
+
groupId: import('zod').ZodString;
|
|
5
|
+
retries: import('zod').ZodNumber;
|
|
6
|
+
interval: import('zod').ZodNumber;
|
|
7
|
+
peekCount: import('zod').ZodNumber;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=kafkaWorker.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kafkaWorker.schema.d.ts","sourceRoot":"","sources":["../../../schemas/zod/kafkaWorker.schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB;;;;;;;CAOpC,CAAC"}
|