ezlogs-nextjs 0.2.0 → 0.3.0
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/README.md +40 -16
- package/bin/install-triggers.cjs +45 -11
- package/dist/db/drizzle.cjs +118 -10
- package/dist/db/drizzle.js +118 -10
- package/dist/db/prisma.cjs +143 -29
- package/dist/db/prisma.d.cts +3 -1
- package/dist/db/prisma.d.ts +3 -1
- package/dist/db/prisma.js +143 -29
- package/dist/db/supabase.cjs +118 -10
- package/dist/db/supabase.js +118 -10
- package/dist/index.cjs +295 -42
- package/dist/index.js +295 -42
- package/dist/jobs/bullmq.cjs +973 -12
- package/dist/jobs/bullmq.d.cts +8 -3
- package/dist/jobs/bullmq.d.ts +8 -3
- package/dist/jobs/bullmq.js +973 -12
- package/dist/jobs/inngest.cjs +880 -10
- package/dist/jobs/inngest.d.cts +7 -5
- package/dist/jobs/inngest.d.ts +7 -5
- package/dist/jobs/inngest.js +880 -10
- package/dist/jobs/supabase-queues.cjs +878 -12
- package/dist/jobs/supabase-queues.js +878 -12
- package/dist/jobs/trigger.cjs +914 -38
- package/dist/jobs/trigger.js +914 -38
- package/dist/jobs/upstash-workflow.cjs +914 -10
- package/dist/jobs/upstash-workflow.d.cts +16 -2
- package/dist/jobs/upstash-workflow.d.ts +16 -2
- package/dist/jobs/upstash-workflow.js +914 -11
- package/dist/triggers/index.cjs +219 -19
- package/dist/triggers/index.d.cts +7 -2
- package/dist/triggers/index.d.ts +7 -2
- package/dist/triggers/index.js +219 -19
- package/package.json +3 -1
package/dist/jobs/bullmq.d.cts
CHANGED
|
@@ -19,6 +19,10 @@ interface BullWorkerLike {
|
|
|
19
19
|
on: Function;
|
|
20
20
|
off?: Function;
|
|
21
21
|
name?: string;
|
|
22
|
+
/** BullMQ internal: the processor `callProcessJob` invokes. */
|
|
23
|
+
processFn?: Function;
|
|
24
|
+
/** BullMQ internal: calls `this.processFn(job, token, signal)`. */
|
|
25
|
+
callProcessJob?: Function;
|
|
22
26
|
}
|
|
23
27
|
/**
|
|
24
28
|
* Patches `queue.add` (and `queue.addBulk` when present) so each
|
|
@@ -30,9 +34,10 @@ interface BullWorkerLike {
|
|
|
30
34
|
*/
|
|
31
35
|
declare function wrapBullQueue<T extends BullQueueLike>(queue: T): T;
|
|
32
36
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* (
|
|
37
|
+
* Captures a BullMQ Worker's jobs: one event per run, with the
|
|
38
|
+
* processor running inside the job's correlation scope (see the file
|
|
39
|
+
* header). Sandboxed processors (a file path) run in a child process:
|
|
40
|
+
* the job event is still captured, their DB writes are not tagged.
|
|
36
41
|
*
|
|
37
42
|
* Idempotent — calling on the same worker twice is a no-op.
|
|
38
43
|
*/
|
package/dist/jobs/bullmq.d.ts
CHANGED
|
@@ -19,6 +19,10 @@ interface BullWorkerLike {
|
|
|
19
19
|
on: Function;
|
|
20
20
|
off?: Function;
|
|
21
21
|
name?: string;
|
|
22
|
+
/** BullMQ internal: the processor `callProcessJob` invokes. */
|
|
23
|
+
processFn?: Function;
|
|
24
|
+
/** BullMQ internal: calls `this.processFn(job, token, signal)`. */
|
|
25
|
+
callProcessJob?: Function;
|
|
22
26
|
}
|
|
23
27
|
/**
|
|
24
28
|
* Patches `queue.add` (and `queue.addBulk` when present) so each
|
|
@@ -30,9 +34,10 @@ interface BullWorkerLike {
|
|
|
30
34
|
*/
|
|
31
35
|
declare function wrapBullQueue<T extends BullQueueLike>(queue: T): T;
|
|
32
36
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* (
|
|
37
|
+
* Captures a BullMQ Worker's jobs: one event per run, with the
|
|
38
|
+
* processor running inside the job's correlation scope (see the file
|
|
39
|
+
* header). Sandboxed processors (a file path) run in a child process:
|
|
40
|
+
* the job event is still captured, their DB writes are not tagged.
|
|
36
41
|
*
|
|
37
42
|
* Idempotent — calling on the same worker twice is a no-op.
|
|
38
43
|
*/
|