@novu/framework 2.10.0 → 2.10.1-alpha.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/dist/cjs/{health-check.types-DwKatX-8.d.cts → health-check.types-Nhsa_lGZ.d.cts} +28 -9
- package/dist/cjs/index-naFCU9MB.d.cts +268 -0
- package/dist/cjs/index.cjs +148 -92
- package/dist/cjs/index.d.cts +4 -3
- package/dist/cjs/internal/index.cjs +1 -1
- package/dist/cjs/internal/index.d.cts +6 -4
- package/dist/cjs/jsx-dev-runtime.cjs +1 -0
- package/dist/cjs/jsx-dev-runtime.d.cts +1 -0
- package/dist/cjs/jsx-runtime.cjs +1 -0
- package/dist/cjs/jsx-runtime.d.cts +1 -0
- package/dist/cjs/servers/express.cjs +148 -92
- package/dist/cjs/servers/express.d.cts +5 -4
- package/dist/cjs/servers/h3.cjs +148 -92
- package/dist/cjs/servers/h3.d.cts +5 -4
- package/dist/cjs/servers/lambda.cjs +148 -92
- package/dist/cjs/servers/lambda.d.cts +6 -5
- package/dist/cjs/servers/nest.cjs +148 -92
- package/dist/cjs/servers/nest.d.cts +14 -10
- package/dist/cjs/servers/next.cjs +148 -92
- package/dist/cjs/servers/next.d.cts +5 -4
- package/dist/cjs/servers/nuxt.cjs +148 -92
- package/dist/cjs/servers/nuxt.d.cts +5 -4
- package/dist/cjs/servers/remix.cjs +148 -92
- package/dist/cjs/servers/remix.d.cts +5 -4
- package/dist/cjs/servers/sveltekit.cjs +148 -92
- package/dist/cjs/servers/sveltekit.d.cts +5 -4
- package/dist/cjs/step-resolver.cjs +4 -4
- package/dist/cjs/step-resolver.d.cts +85 -36
- package/dist/cjs/{subscriber.types-CftO3aFY.d.cts → subscriber.types-CNLicO8m.d.cts} +12 -1
- package/dist/cjs/validators.cjs +1 -1
- package/dist/esm/chunk-2GCKOQK4.js +0 -0
- package/dist/esm/chunk-2M25EATE.js +1 -0
- package/dist/esm/chunk-52LSX2V5.js +1 -0
- package/dist/esm/chunk-6GCCKYZC.js +1 -0
- package/dist/esm/{chunk-RCWIURDJ.js → chunk-CBLKARLC.js} +4 -4
- package/dist/esm/chunk-EWC7I6UD.js +1 -0
- package/dist/esm/chunk-T2VIX2ZH.js +22 -0
- package/dist/esm/{chunk-JKG63DBC.js → chunk-U3IL7QCI.js} +1 -1
- package/dist/esm/chunk-WUP5SBTV.js +130 -0
- package/dist/esm/{health-check.types-C4vZDz5x.d.ts → health-check.types-zMcfbkrA.d.ts} +28 -9
- package/dist/esm/index-cfmN-nqZ.d.ts +268 -0
- package/dist/esm/index.d.ts +4 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal/index.d.ts +6 -4
- package/dist/esm/internal/index.js +1 -1
- package/dist/esm/jsx-dev-runtime.d.ts +1 -0
- package/dist/esm/jsx-dev-runtime.js +1 -0
- package/dist/esm/jsx-runtime.d.ts +1 -0
- package/dist/esm/jsx-runtime.js +1 -0
- package/dist/esm/servers/express.d.ts +5 -4
- package/dist/esm/servers/express.js +1 -1
- package/dist/esm/servers/h3.d.ts +5 -4
- package/dist/esm/servers/h3.js +1 -1
- package/dist/esm/servers/lambda.d.ts +6 -5
- package/dist/esm/servers/lambda.js +1 -1
- package/dist/esm/servers/nest.d.ts +14 -10
- package/dist/esm/servers/nest.js +1 -1
- package/dist/esm/servers/next.d.ts +5 -4
- package/dist/esm/servers/next.js +1 -1
- package/dist/esm/servers/nuxt.d.ts +5 -4
- package/dist/esm/servers/nuxt.js +1 -1
- package/dist/esm/servers/remix.d.ts +5 -4
- package/dist/esm/servers/remix.js +1 -1
- package/dist/esm/servers/sveltekit.d.ts +5 -4
- package/dist/esm/servers/sveltekit.js +1 -1
- package/dist/esm/step-resolver.d.ts +85 -36
- package/dist/esm/step-resolver.js +1 -1
- package/dist/esm/{subscriber.types-CfRj4acH.d.ts → subscriber.types-B0sKq6v3.d.ts} +12 -1
- package/dist/esm/validators.js +1 -1
- package/jsx-dev-runtime/package.json +3 -0
- package/jsx-runtime/package.json +3 -0
- package/package.json +26 -3
- package/dist/cjs/index-BTTxx1ad.d.cts +0 -141
- package/dist/esm/chunk-APAOD3BG.js +0 -1
- package/dist/esm/chunk-LPE4ME2M.js +0 -1
- package/dist/esm/chunk-MQSAHSED.js +0 -1
- package/dist/esm/chunk-PLPQUHX6.js +0 -1
- package/dist/esm/chunk-WSQ6EEHO.js +0 -95
- package/dist/esm/index-D4Rt1gOC.d.ts +0 -141
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { I as INovuRequestHandlerOptions, N as NovuRequestHandler, S as ServeHandlerOptions, C as Client } from '../index-
|
|
2
|
-
export { w as workflow } from '../index-
|
|
3
|
-
import { W as Workflow } from '../health-check.types-
|
|
4
|
-
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum } from '../health-check.types-
|
|
1
|
+
import { I as INovuRequestHandlerOptions, N as NovuRequestHandler, S as ServeHandlerOptions, C as Client, A as Agent } from '../index-naFCU9MB.cjs';
|
|
2
|
+
export { a as AgentContext, b as AgentHandlers, c as AgentReaction, F as FileRef, M as MessageContent, d as agent, w as workflow } from '../index-naFCU9MB.cjs';
|
|
3
|
+
import { W as Workflow } from '../health-check.types-Nhsa_lGZ.cjs';
|
|
4
|
+
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum } from '../health-check.types-Nhsa_lGZ.cjs';
|
|
5
|
+
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Divider, Select, SelectOption, TextInput } from 'chat';
|
|
5
6
|
export { AnyStepResolver, ChatStepResolver, EmailStepResolver, InAppStepResolver, PushStepResolver, SmsStepResolver, StepResolverContext, step } from '../step-resolver.cjs';
|
|
6
|
-
import {
|
|
7
|
-
export { C as ContextResolved, S as Subscriber, p as providerSchemas } from '../subscriber.types-
|
|
7
|
+
import { a as Either } from '../subscriber.types-CNLicO8m.cjs';
|
|
8
|
+
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-CNLicO8m.cjs';
|
|
8
9
|
import { Request, Response } from 'express';
|
|
9
10
|
import { S as SupportedFrameworkName } from '../server.types-BRWsA1CA.cjs';
|
|
10
11
|
import { VercelRequest, VercelResponse } from '@vercel/node';
|
|
@@ -35,7 +36,8 @@ type NovuModuleOptions = ServeHandlerOptions & {
|
|
|
35
36
|
declare const NovuBaseModule: _nestjs_common.ConfigurableModuleCls<NovuModuleOptions, "register", "createNovuModuleOptions", (definition: NovuModuleOptions) => {
|
|
36
37
|
isGlobal: boolean;
|
|
37
38
|
client?: Client;
|
|
38
|
-
workflows
|
|
39
|
+
workflows?: Array<Workflow>;
|
|
40
|
+
agents?: Array<Agent>;
|
|
39
41
|
apiPath: string;
|
|
40
42
|
controllerDecorators?: ClassDecorator[];
|
|
41
43
|
}>;
|
|
@@ -46,14 +48,16 @@ declare const OPTIONS_TYPE: ServeHandlerOptions & {
|
|
|
46
48
|
} & Partial<(definition: NovuModuleOptions) => {
|
|
47
49
|
isGlobal: boolean;
|
|
48
50
|
client?: Client;
|
|
49
|
-
workflows
|
|
51
|
+
workflows?: Array<Workflow>;
|
|
52
|
+
agents?: Array<Agent>;
|
|
50
53
|
apiPath: string;
|
|
51
54
|
controllerDecorators?: ClassDecorator[];
|
|
52
55
|
}>;
|
|
53
56
|
declare const ASYNC_OPTIONS_TYPE: _nestjs_common.ConfigurableModuleAsyncOptions<NovuModuleOptions, "createNovuModuleOptions"> & Partial<(definition: NovuModuleOptions) => {
|
|
54
57
|
isGlobal: boolean;
|
|
55
58
|
client?: Client;
|
|
56
|
-
workflows
|
|
59
|
+
workflows?: Array<Workflow>;
|
|
60
|
+
agents?: Array<Agent>;
|
|
57
61
|
apiPath: string;
|
|
58
62
|
controllerDecorators?: ClassDecorator[];
|
|
59
63
|
}>;
|
|
@@ -124,4 +128,4 @@ declare class NovuModule extends NovuBaseModule {
|
|
|
124
128
|
*/
|
|
125
129
|
declare const registerApiPath: FactoryProvider;
|
|
126
130
|
|
|
127
|
-
export { Client, NOVU_OPTIONS, NovuClient, NovuController, NovuHandler, NovuModule, type NovuModuleOptions, NovuRequestHandler, REGISTER_API_PATH, ServeHandlerOptions, Workflow, frameworkName, registerApiPath };
|
|
131
|
+
export { Agent, Client, NOVU_OPTIONS, NovuClient, NovuController, NovuHandler, NovuModule, type NovuModuleOptions, NovuRequestHandler, REGISTER_API_PATH, ServeHandlerOptions, Workflow, frameworkName, registerApiPath };
|