Variable emailServiceConst
emailService: {
id: "email";
mount: {
kind: "route";
path: "/api/email";
symbol: "emailRoutes";
from: "./routes/email";
};
contract: { symbol: "emailOps"; from: "./contract/email" };
deps: ["@suluk/email"];
env: [
{
name: "RESEND_API_KEY";
secret: true;
hint: "omit → the console provider (dev)";
},
{ name: "EMAIL_FROM"; hint: "the from-address" },
{ name: "BRAND_NAME"; hint: "email template branding" },
{ name: "BASE_URL"; hint: "email link base" },
{
name: "ENVIRONMENT";
hint: "\"production\" → use Resend (else console)";
},
];
} = ...
Type Declaration
Readonlyid: "email"
Readonlymount: {
kind: "route";
path: "/api/email";
symbol: "emailRoutes";
from: "./routes/email";
}
Readonlycontract: { symbol: "emailOps"; from: "./contract/email" }
Readonlydeps: ["@suluk/email"]
Readonlyenv: [
{
name: "RESEND_API_KEY";
secret: true;
hint: "omit → the console provider (dev)";
},
{ name: "EMAIL_FROM"; hint: "the from-address" },
{ name: "BRAND_NAME"; hint: "email template branding" },
{ name: "BASE_URL"; hint: "email link base" },
{ name: "ENVIRONMENT"; hint: "\"production\" → use Resend (else console)" },
]