@cherwell/emdash-newsletter 0.0.0-stage → 0.1.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,32 @@
1
+ # Changelog
2
+
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 0cbf15e: Published from GitHub Actions with npm trusted publishing, so each release carries a provenance statement linking it to its source commit.
8
+
9
+ ## 0.1.0
10
+
11
+ First release.
12
+
13
+ - **Signups:** double opt-in with stored consent evidence, the same answer for every address, rate limits, a honeypot and optional Turnstile.
14
+ - **Preference centre:** topics, all emails or digests only, pause, unsubscribe. Links are signed.
15
+ - **Campaigns:**
16
+ - light Markdown, sent as text and HTML
17
+ - topic targeting
18
+ - test sends
19
+ - scheduling, pause, resume and cancel
20
+ - batched background sending under a lease, with retries
21
+ - **Digests** of newly published entries.
22
+ - **Bounces and complaints** webhook, and a hashed suppression list.
23
+ - **Privacy:** export and erasure. Unconfirmed signups are deleted after a set time.
24
+ - **Site helpers:** `@cherwell/emdash-newsletter/astro`.
25
+ - **For teams and tools:**
26
+ - JSON API
27
+ - MCP tools
28
+ - signed webhooks
29
+ - CSV import and export
30
+ - custom fields
31
+ - audit trail
32
+ - **Emails** (confirmation and the campaign frame) are templates a site can rewrite on its Emails screen.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Cherwell Studio
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,165 @@
1
- # Temporary Holding Version
1
+ # Newsletter for EmDash
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ <img src="assets/icon.png" alt="" width="96" align="right">
4
+
5
+ **Double opt-in signups, a preference centre and batched campaigns, stored in your own EmDash site.**
6
+
7
+ A consent-first newsletter that runs inside your EmDash site. People sign up on your pages, confirm by email, and choose their topics in a preference centre. You write campaigns in the admin, send yourself a test, then send now or schedule. Sending runs in the background in small batches, within Cloudflare's sandbox limits. Nobody gets an email twice, and failed sends are retried.
8
+
9
+ - **Double opt-in, with evidence.** Each signup stores the consent wording shown, when they agreed, the page they signed up on and a shortened network address (never the full IP). Unconfirmed signups are deleted after 14 days by default.
10
+ - **Nothing to learn from the form.** The signup form gives the same answer for new and known addresses. It's rate-limited, has a honeypot field and can use Cloudflare Turnstile.
11
+ - **Links that scanners can't trigger.** Confirmation and preference links open pages on your site that post back. Mail-security scanners that follow links can't confirm or unsubscribe anyone. Confirmation tokens are stored hashed and expire after 7 days by default.
12
+ - **Preference centre.** Subscribers choose topics, all emails or digests only, pause for a while, or unsubscribe. The link is signed and needs no password.
13
+ - **Campaigns.** Write in light Markdown: headings, lists, links, bold. Each email goes out with text and HTML versions. Send to everyone or to chosen topics; schedule (in your site's time zone), pause, resume or cancel. Sending needs your sender name and postal address, which go in every footer.
14
+ - **Digests.** Entries published in the collections you choose are collected for the next digest. One click turns them into a draft.
15
+ - **Bounces and complaints.** Your email provider posts them to a webhook. Hard bounces and complaints suppress the address at once, soft bounces after a limit you set.
16
+ - **Suppression and privacy.** Unsubscribed, bounced and erased addresses go on a suppression list kept as one-way hashes. Campaigns and imports skip them. Someone who unsubscribed can come back by signing up and confirming again; bounced, complained and erased addresses can't. Administrators can download what's held about someone, or erase them, from **Data requests**.
17
+ - **For teams and tools:**
18
+ - a JSON API
19
+ - MCP tools for drafting, scheduling and reporting
20
+ - signed webhooks
21
+ - CSV import (administrators only; needs a consent date for every row) and export
22
+ - custom fields on subscribers
23
+ - an audit trail
24
+
25
+ ## Documentation
26
+
27
+ - [Overview](docs/overview.md): what it does and who it's for.
28
+ - [Installation](docs/install.md): the minimal setup and a check that it works.
29
+ - [FAQ](docs/faq.md): consent evidence, bounces, sending limits, imports.
30
+ - [Reference](docs/reference.md): every setting, route, MCP tool and storage collection, generated from the build.
31
+ - [llms.txt](llms.txt): the same facts in one file for AI agents.
32
+
33
+ ## Install
34
+
35
+ From the EmDash registry: **Admin ▸ Plugins ▸ Browse**, search for *Newsletter*, and approve its capabilities. You also need an email transport plugin (Resend, SMTP or Cloudflare Email).
36
+
37
+ From npm (your site needs the package for the helpers either way):
38
+
39
+ ```sh
40
+ npm install @cherwell/emdash-newsletter
41
+ ```
42
+
43
+ ```ts
44
+ // astro.config.mjs
45
+ import newsletter from "@cherwell/emdash-newsletter";
46
+ emdash({ sandboxed: [newsletter] }); // or plugins: [newsletter]
47
+ ```
48
+
49
+ Then fill in **Sender name** and **Postal address** in the plugin's settings. Campaigns won't send without them.
50
+
51
+ ## Site pages
52
+
53
+ The plugin needs three pages on your site. The helper calls the plugin in-process.
54
+
55
+ ```ts
56
+ // src/pages/newsletter/subscribe.ts: your signup forms post here
57
+ import { newsletter } from "@cherwell/emdash-newsletter/astro";
58
+ export const POST = (ctx) => newsletter(ctx).subscribeFromForm();
59
+ ```
60
+
61
+ ```html
62
+ <form method="post" action="/newsletter/subscribe">
63
+ <input type="email" name="email" required>
64
+ <label><input type="checkbox" name="topics" value="events"> Events</label>
65
+ <input type="text" name="website" hidden tabindex="-1" autocomplete="off"> <!-- honeypot -->
66
+ <p>Send me the newsletter. I can unsubscribe at any time.</p> <!-- match the Consent wording setting -->
67
+ <button>Subscribe</button>
68
+ </form>
69
+ ```
70
+
71
+ ```astro
72
+ ---
73
+ // src/pages/newsletter/confirm.astro: the emailed link opens this; the button confirms
74
+ import { newsletter } from "@cherwell/emdash-newsletter/astro";
75
+ const result = Astro.request.method === "POST" ? await newsletter(Astro).confirmFromForm() : null;
76
+ ---
77
+ {result?.ok ? <p>You're subscribed. <a href={result.manage}>Choose your topics</a></p> : (
78
+ <form method="post"><input type="hidden" name="s" value={Astro.url.searchParams.get("s")}>
79
+ <input type="hidden" name="t" value={Astro.url.searchParams.get("t")}><button>Confirm my subscription</button></form>
80
+ )}
81
+ ```
82
+
83
+ ```astro
84
+ ---
85
+ // src/pages/newsletter/manage.astro: the preference centre
86
+ import { newsletter } from "@cherwell/emdash-newsletter/astro";
87
+ const nl = newsletter(Astro);
88
+ if (Astro.request.method === "POST") await nl.updateFromForm();
89
+ const prefs = await nl.preferences();
90
+ ---
91
+ ```
92
+
93
+ The preference form posts `s` and `k` (from the link), `topics` (checkboxes, plus a hidden `topicsShown` so clearing every box counts), `frequency` (`all` or `digest`), `pauseDays`, and `unsubscribe`.
94
+
95
+ Set the paths in settings if yours differ (**Confirm page**, **Preference centre page**); emailed links use them. After signing up, `subscribeFromForm()` redirects to the form's `next` field, else the `thanks` option of `newsletter(ctx, { thanks })`, else the **Thanks page** setting (`thanksPath`, default `/newsletter/thanks`). The `subscribe` route returns that setting as `thanks`, so this costs no extra call. If the signup was refused (a malformed address, a failed Turnstile check), the redirect adds `?error=<CODE>` so the page can say so. Only paths on your own site are followed.
96
+
97
+ ## Email templates
98
+
99
+ The confirmation email and the frame around every campaign (the footer with your sender name, postal address and the link to change or stop) are templates you can rewrite on the plugin's **Emails** screen, with the layout around them. See [Email templates](../../docs/emails.md). The older `confirmSubject` and `confirmEmail` settings still work; what you save on the Emails screen wins over them.
100
+
101
+ ## Bounces
102
+
103
+ Point your provider's webhook (or a small adapter) at `POST /_emdash/api/plugins/newsletter/bounce` with the header `X-Bounce-Secret: <your Bounce webhook secret>` and the body `{ "email": "…", "type": "bounce" | "soft_bounce" | "complaint" }`.
104
+
105
+ ## Several sites
106
+
107
+ Signups remember the site address they came from, and their emails link back there, as long as that address is in **Other site addresses**. Anything else falls back to the site URL.
108
+
109
+ ## Settings
110
+
111
+ | Setting | Default | What it does |
112
+ |---|---|---|
113
+ | Sender name, Postal address | — | Shown in every email; required to send. |
114
+ | Reply-to | — | Where replies go. |
115
+ | Topics | — | Comma-separated topics people can choose. |
116
+ | Consent wording | "Send me the newsletter…" | Stored with each signup as evidence. Match what your form shows. |
117
+ | Confirm page, Preference centre page, Thanks page | `/newsletter/confirm`, `/newsletter/manage`, `/newsletter/thanks` | Paths on your site. See Site pages. |
118
+ | Most emails per minute | 20 | Batch size. In a Cloudflare sandbox the call budget caps it further (about 9 with a budget of 28). |
119
+ | Soft bounces before suppression | 3 | |
120
+ | Delete unconfirmed signups after | 14 days | |
121
+ | Confirmation links work for (`confirmDays`) | 7 days | Never longer than the unconfirmed-signup limit. |
122
+ | Signups per hour from one network address (`signupsPerIp`) | 20 | Raise it for event kiosks or shared Wi-Fi. Each address can also ask at most three times a day. |
123
+ | Time zone (`timeZone`) | UTC | How a send time typed without an offset (`2027-01-05 09:00`) is read, e.g. `Europe/London`. A send time that isn't a date and time is refused (`INVALID_SEND_AT`), never sent at once. |
124
+ | Confirmation subject (`confirmSubject`) | "Please confirm your subscription to …" | `{sender}` is the sender name. Empty uses the built-in wording. |
125
+ | Confirmation text (`confirmEmail`) | built-in English | Placeholders: `{name}` (a space and their name, when it's plain letters), `{link}`, `{days}`, `{sender}`. The link is added if you leave `{link}` out. Your name and address follow it. |
126
+ | Footer link text (`unsubscribeText`) | "Change what you get, or unsubscribe" | In every campaign. |
127
+ | Digest subject (`digestSubject`) | "What's new" | The default subject for digest drafts. |
128
+ | Digest collections | — | Collections whose new entries feed the digest. |
129
+ | Bounce secret | — | Checked against the `X-Bounce-Secret` header. See Bounces. |
130
+ | Turnstile secret | — | When set, signups need a valid `cf-turnstile-response` from your form's Turnstile widget. |
131
+ | Webhook secret | — | Signs outgoing webhooks (`X-Webhook-Signature`). |
132
+ | Custom fields | — | JSON array of `{ "key", "label", "type" }` (types: `text`, `longtext`, `number`, `date`, `select`, `multiselect`, `boolean`, `email`, `url`, `phone`; optional `options`, `required`, `personal`, `help`). Signups pass values as `custom` (the `subscribe()` helper or route). |
133
+ | Call budget | 28 | Host calls per background run. Raise it when running in-process. |
134
+ | Audit trail | 365 days | |
135
+
136
+ ## API and MCP
137
+
138
+ Routes live under `/_emdash/api/plugins/newsletter/`. `subscribe` answers `{ ok: true, thanks }` for new and known addresses alike. `campaigns/send` takes `sendAt` as an ISO time with `Z` or an offset. Signed-in editors can call `campaigns/list`, `campaigns/get`, `campaigns/draft`, `campaigns/update`, `campaigns/digest`, `campaigns/state` and `subscribers/stats`. Administrators also get `campaigns/send`, `privacy/export` and `privacy/erase`. Every response is `{ ok: true, … }` or `{ ok: false, error: "CODE" }`.
139
+
140
+ MCP tools: `newsletter_campaigns_list`, `newsletter_campaign_get`, `newsletter_campaign_draft`, `newsletter_campaign_update`, `newsletter_digest_draft`, `newsletter_campaign_send` (destructive), `newsletter_campaign_state` (destructive), `newsletter_subscriber_stats`.
141
+
142
+ Webhook events: `newsletter.subscriber.confirmed`, `.unsubscribed`, `.updated`, `.suppressed`, `newsletter.campaign.started`, `.sent`.
143
+
144
+ ## Limits
145
+
146
+ - EmDash's email API doesn't allow custom headers, so emails can't carry a one-click `List-Unsubscribe` header yet. Every email has an unsubscribe link in its footer instead.
147
+ - Subscriber CSV export covers up to 2,000 confirmed subscribers per download.
148
+ - Digests are drafted by hand (one click); there's no automatic digest schedule.
149
+ - Settings saved through the API are checked when read: numbers are kept within the ranges above, paths must stay on your site, and an invalid reply-to address or time zone falls back to none and UTC.
150
+
151
+ ## Development
152
+
153
+ In this monorepo:
154
+
155
+ ```sh
156
+ pnpm --filter @cherwell/emdash-newsletter validate
157
+ pnpm --filter @cherwell/emdash-newsletter typecheck
158
+ pnpm --filter @cherwell/emdash-newsletter test
159
+ pnpm --filter @cherwell/emdash-newsletter build
160
+ pnpm run docs # at the repo root: regenerates docs/reference.md and llms.txt
161
+ ```
162
+
163
+ ## Licence
164
+
165
+ MIT © Cherwell Studio
Binary file
Binary file
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><g transform="translate(0 0)">
2
+ <defs><linearGradient id="t" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#B45309"/><stop offset="1" stop-color="#78350F"/></linearGradient></defs>
3
+ <rect width="512" height="512" rx="112.64" fill="url(#t)"/>
4
+ <rect x="1" y="1" width="510" height="510" rx="111.64" fill="none" stroke="#fff" stroke-opacity=".14" stroke-width="2"/>
5
+ <g transform="translate(102.4 102.4) scale(12.799999999999999)" fill="none" stroke="#fff" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="5" width="18" height="14" rx="2"/><path d="M3.5 6.5 12 13l8.5-6.5"/></g>
6
+ </g></svg>
@@ -0,0 +1,89 @@
1
+ //#region src/astro.d.ts
2
+ /**
3
+ * Site side of the Newsletter: three small pages call these helpers.
4
+ *
5
+ * // src/pages/newsletter/subscribe.ts (the signup form posts here)
6
+ * import { newsletter } from "@cherwell/emdash-newsletter/astro";
7
+ * export const POST = (ctx) => newsletter(ctx).subscribeFromForm();
8
+ *
9
+ * // src/pages/newsletter/confirm.astro: GET shows a "Confirm" button (so
10
+ * // mail scanners that follow links confirm nobody); the button POSTs back.
11
+ * const nl = newsletter(Astro);
12
+ * const result = Astro.request.method === "POST" ? await nl.confirmFromForm() : null;
13
+ *
14
+ * // src/pages/newsletter/manage.astro: the preference centre.
15
+ * const prefs = await nl.preferences(); // from ?s=&k=
16
+ * if (Astro.request.method === "POST") await nl.updateFromForm();
17
+ *
18
+ * Calls run in-process through EmDash, so they don't leave the Worker.
19
+ */
20
+ type Call = (id: string, method: string, path: string, req: Request) => Promise<{
21
+ data?: unknown;
22
+ } | unknown>;
23
+ interface PageContext {
24
+ request: Request;
25
+ url: URL;
26
+ locals: Record<string, unknown> & {
27
+ emdash?: {
28
+ handlePublicPluginApiRoute?: Call;
29
+ };
30
+ };
31
+ redirect?: (to: string, status?: number) => Response;
32
+ }
33
+ interface NewsletterOptions {
34
+ /** Plugin id, if installed under another one. */
35
+ pluginId?: string;
36
+ /**
37
+ * Where the signup form goes afterwards, overriding the plugin's Thanks page setting (`thanksPath`).
38
+ * A form's own `next` field wins over both.
39
+ */
40
+ thanks?: string;
41
+ }
42
+ interface Preferences {
43
+ email: string;
44
+ status: "pending" | "confirmed" | "unsubscribed" | "paused";
45
+ topics: string[];
46
+ frequency: "all" | "digest";
47
+ pausedUntil: string | null;
48
+ available: string[];
49
+ }
50
+ type Result<T> = ({
51
+ ok: true;
52
+ } & T) | {
53
+ ok: false;
54
+ error: string;
55
+ fields?: Record<string, string>;
56
+ };
57
+ declare function newsletter(ctx: PageContext, opts?: NewsletterOptions): {
58
+ /** Sign someone up. Always resolves the same way for new and known addresses. */subscribe(input: {
59
+ email: string;
60
+ name?: string;
61
+ topics?: string[];
62
+ source?: string;
63
+ turnstileToken?: string;
64
+ website?: string;
65
+ custom?: Record<string, unknown>;
66
+ }): Promise<Result<Record<string, never>>>;
67
+ /**
68
+ * POST handler for a plain HTML signup form (fields: email, name, topics[], website honeypot,
69
+ * cf-turnstile-response, next). Redirects (303) to the form's `next` field, else the `thanks` option,
70
+ * else the plugin's Thanks page setting, else /newsletter/thanks. When the signup was refused (a
71
+ * malformed address, a failed Turnstile check) the redirect carries `?error=<CODE>`, so the page
72
+ * can say so. Only paths on this site are followed.
73
+ */
74
+ subscribeFromForm(): Promise<Response>; /** The confirm page's POST: reads s and t from the form (or the query). */
75
+ confirmFromForm(): Promise<Result<{
76
+ manage: string;
77
+ }>>; /** The preference centre's current state, from the manage link's s and k. */
78
+ preferences(): Promise<Result<Preferences>>; /** The preference centre's POST: topics[], frequency, pauseDays, unsubscribe. */
79
+ updateFromForm(): Promise<Result<{
80
+ status: string;
81
+ }>>; /** Topics and consent wording for rendering the signup form. */
82
+ config(): Promise<Result<{
83
+ topics: string[];
84
+ consentWording: string;
85
+ turnstile: boolean;
86
+ }>>;
87
+ };
88
+ //#endregion
89
+ export { NewsletterOptions, Preferences, newsletter };
@@ -0,0 +1,102 @@
1
+ //#region src/astro.ts
2
+ const FORWARD = [
3
+ "cf-connecting-ip",
4
+ "x-forwarded-for",
5
+ "x-real-ip",
6
+ "user-agent",
7
+ "referer"
8
+ ];
9
+ function newsletter(ctx, opts = {}) {
10
+ const pluginId = opts.pluginId ?? "newsletter";
11
+ async function call(route, method, body) {
12
+ const fn = ctx.locals.emdash?.handlePublicPluginApiRoute;
13
+ if (!fn) return {
14
+ ok: false,
15
+ error: "UNAVAILABLE"
16
+ };
17
+ const url = new URL(ctx.request.url);
18
+ url.pathname = `/_emdash/api/plugins/${pluginId}/${route}`;
19
+ url.search = method === "GET" && body ? new URLSearchParams(body).toString() : "";
20
+ const headers = new Headers({ "content-type": "application/json" });
21
+ for (const h of FORWARD) {
22
+ const v = ctx.request.headers.get(h);
23
+ if (v) headers.set(h, v);
24
+ }
25
+ const req = new Request(url, {
26
+ method,
27
+ headers,
28
+ ...method === "POST" ? { body: JSON.stringify(body) } : {}
29
+ });
30
+ const res = await fn(pluginId, method, `/${route}`, req);
31
+ return (res && typeof res === "object" && "data" in res ? res.data : res) ?? {
32
+ ok: false,
33
+ error: "UNAVAILABLE"
34
+ };
35
+ }
36
+ const form = async () => {
37
+ try {
38
+ return await ctx.request.formData();
39
+ } catch {
40
+ return new FormData();
41
+ }
42
+ };
43
+ const q = (k) => ctx.url.searchParams.get(k) ?? "";
44
+ return {
45
+ subscribe(input) {
46
+ return call("subscribe", "POST", {
47
+ ...input,
48
+ origin: ctx.url.origin
49
+ });
50
+ },
51
+ async subscribeFromForm() {
52
+ const f = await form();
53
+ const res = await call("subscribe", "POST", {
54
+ email: String(f.get("email") ?? ""),
55
+ name: String(f.get("name") ?? "") || void 0,
56
+ topics: f.getAll("topics").map(String),
57
+ source: ctx.request.headers.get("referer") ?? void 0,
58
+ origin: ctx.url.origin,
59
+ turnstileToken: String(f.get("cf-turnstile-response") ?? "") || void 0,
60
+ website: String(f.get("website") ?? "") || void 0
61
+ });
62
+ const next = String(f.get("next") ?? opts.thanks ?? (typeof res.thanks === "string" && res.thanks ? res.thanks : "/newsletter/thanks"));
63
+ let safe = next.startsWith("/") && !next.startsWith("//") && !next.includes("\\") ? next : "/";
64
+ if (!res.ok) safe += `${safe.includes("?") ? "&" : "?"}error=${encodeURIComponent(res.error)}`;
65
+ return new Response(null, {
66
+ status: 303,
67
+ headers: { location: safe }
68
+ });
69
+ },
70
+ async confirmFromForm() {
71
+ const f = await form();
72
+ return call("confirm", "POST", {
73
+ s: String(f.get("s") ?? q("s")),
74
+ t: String(f.get("t") ?? q("t"))
75
+ });
76
+ },
77
+ preferences() {
78
+ return call("preferences", "GET", {
79
+ s: q("s"),
80
+ k: q("k")
81
+ });
82
+ },
83
+ async updateFromForm() {
84
+ const f = await form();
85
+ const pause = String(f.get("pauseDays") ?? "");
86
+ return call("preferences", "POST", {
87
+ s: String(f.get("s") ?? q("s")),
88
+ k: String(f.get("k") ?? q("k")),
89
+ ...f.has("topics") || f.has("topicsShown") ? { topics: f.getAll("topics").map(String) } : {},
90
+ ...f.get("frequency") ? { frequency: String(f.get("frequency")) } : {},
91
+ ...pause !== "" ? { pauseDays: Number(pause) } : {},
92
+ ...f.get("unsubscribe") ? { unsubscribe: true } : {}
93
+ });
94
+ },
95
+ config() {
96
+ return call("config", "GET");
97
+ }
98
+ };
99
+ }
100
+
101
+ //#endregion
102
+ export { newsletter };
@@ -0,0 +1,5 @@
1
+ // Auto-generated by emdash-plugin build. Do not edit.
2
+ import type { PluginDescriptor } from "emdash";
3
+
4
+ declare const descriptor: PluginDescriptor;
5
+ export default descriptor;