@novu/framework
Version:
The Code-First Notifications Workflow SDK.
2 lines (1 loc) • 559 B
JavaScript
import{a as t,b as h,c as o,d as R}from"../chunk-CSADKVTU.js";import{h as u,ja as l}from"../chunk-LTQML2Z6.js";var m="remix",w=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,m as frameworkName,l as providerSchemas,w as serve,R as workflow};