File tree Expand file tree Collapse file tree
workers/transactional_email_service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,12 +5,10 @@ import { Resend } from "resend";
55
66import { sendTransactionalHTMLEmail } from "~/datasources/email/sendTransactionalHTMLEmail" ;
77import { createLogger } from "~/logging" ;
8+ import { ENV } from "~workers/transactional_email_service/types" ;
89
910import { PurchaseOrderSuccessful } from "../../emails/templates/tickets/purchase-order-successful" ;
1011
11- type ENV = {
12- RESEND_API_KEY : string | undefined ;
13- } ;
1412export default class EmailService extends WorkerEntrypoint < ENV > {
1513 logger = createLogger ( "EmailService" ) ;
1614
Original file line number Diff line number Diff line change 11export type ENV = {
2- NEON_URL : string ;
3- HIGHLIGHT_PROJECT_ID : string ;
4- MP_ACCESS_TOKEN : string ;
5- MP_PUBLIC_KEY : string ;
6- ST_KEY : string ;
7- RV_KEY : string ;
2+ RESEND_API_KEY : string | undefined ;
83} ;
You can’t perform that action at this time.
0 commit comments