UNPKG

@novu/framework

Version:

The Code-First Notifications Workflow SDK.

2 lines (1 loc) 765 B
import{a as t,b as h,c as o,d as c}from"../chunk-WSQ6EEHO.js";import{a as i}from"../chunk-MQSAHSED.js";import"../chunk-JKG63DBC.js";import{S as R}from"../chunk-APAOD3BG.js";import{a as l}from"../chunk-RCWIURDJ.js";import{f as u}from"../chunk-LPE4ME2M.js";import"../chunk-PLPQUHX6.js";var m="remix",x=s=>new o({frameworkName:m,...s,handler:({request:e})=>({body:()=>e.json(),headers:r=>e.headers.get(r),method:()=>e.method,url:()=>new URL(e.url,`https://${e.headers.get("host")||""}`),transformResponse:({body:r,status:n,headers:p})=>{let a=t();return new a(r,{status:n,headers:p})}})}).createHandler();export{h as Client,u as CronExpression,o as NovuRequestHandler,R as SeverityLevelEnum,m as frameworkName,l as providerSchemas,x as serve,i as step,c as workflow};