@digilogiclabs/platform-core 1.7.0 → 1.9.0
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/dist/auth.d.mts +3 -2
- package/dist/auth.d.ts +3 -2
- package/dist/auth.js +119 -0
- package/dist/auth.js.map +1 -1
- package/dist/auth.mjs +113 -0
- package/dist/auth.mjs.map +1 -1
- package/dist/email-templates.d.mts +210 -0
- package/dist/email-templates.d.ts +210 -0
- package/dist/email-templates.js +338 -0
- package/dist/email-templates.js.map +1 -0
- package/dist/email-templates.mjs +297 -0
- package/dist/email-templates.mjs.map +1 -0
- package/dist/{env-DerQ7Da-.d.mts → env-DHPZR3Lv.d.mts} +345 -74
- package/dist/{env-DerQ7Da-.d.ts → env-DHPZR3Lv.d.ts} +345 -74
- package/dist/{index-CepDdu7h.d.mts → index-DzQ0Js5Z.d.mts} +13 -1
- package/dist/{index-CepDdu7h.d.ts → index-DzQ0Js5Z.d.ts} +13 -1
- package/dist/index.d.mts +99 -3
- package/dist/index.d.ts +99 -3
- package/dist/index.js +974 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +960 -14
- package/dist/index.mjs.map +1 -1
- package/dist/migrations/index.d.mts +1 -1
- package/dist/migrations/index.d.ts +1 -1
- package/dist/migrations/index.js +72 -1
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/index.mjs +72 -1
- package/dist/migrations/index.mjs.map +1 -1
- package/dist/security-BvLXaQkv.d.mts +88 -0
- package/dist/security-BvLXaQkv.d.ts +88 -0
- package/package.json +6 -1
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
export { e as escapeHtml } from './security-BvLXaQkv.mjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Shared email template types.
|
|
5
|
+
*
|
|
6
|
+
* All apps provide a BrandingConfig to customize the look & feel
|
|
7
|
+
* while keeping structure, security, and accessibility consistent.
|
|
8
|
+
*/
|
|
9
|
+
/** Branding configuration — each app provides one of these. */
|
|
10
|
+
interface EmailBranding {
|
|
11
|
+
/** App display name (e.g. "OpenSourceSports") */
|
|
12
|
+
appName: string;
|
|
13
|
+
/** Full URL to app logo (optional — falls back to text-only header) */
|
|
14
|
+
logoUrl?: string;
|
|
15
|
+
/** Primary brand color as hex (e.g. "#0d9488") */
|
|
16
|
+
primaryColor: string;
|
|
17
|
+
/** Gradient start color (defaults to primaryColor) */
|
|
18
|
+
gradientFrom?: string;
|
|
19
|
+
/** Gradient end color (defaults to a darker shade) */
|
|
20
|
+
gradientTo?: string;
|
|
21
|
+
/** Accent color for callout boxes (defaults to primaryColor) */
|
|
22
|
+
accentColor?: string;
|
|
23
|
+
/** Sender email address */
|
|
24
|
+
fromEmail: string;
|
|
25
|
+
/** Support/reply-to email (optional) */
|
|
26
|
+
supportEmail?: string;
|
|
27
|
+
/** App base URL (e.g. "https://opensourcesports.io") */
|
|
28
|
+
baseUrl: string;
|
|
29
|
+
/** Preferences/unsubscribe URL (optional) */
|
|
30
|
+
preferencesUrl?: string;
|
|
31
|
+
/** Footer tagline (e.g. "A Digi Logic Labs project") */
|
|
32
|
+
footerText?: string;
|
|
33
|
+
}
|
|
34
|
+
/** CTA button configuration. */
|
|
35
|
+
interface EmailCTA {
|
|
36
|
+
text: string;
|
|
37
|
+
url: string;
|
|
38
|
+
}
|
|
39
|
+
/** A step in a numbered list (for onboarding emails). */
|
|
40
|
+
interface EmailStep {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
}
|
|
44
|
+
/** A stat card for digest/summary emails. */
|
|
45
|
+
interface EmailStat {
|
|
46
|
+
label: string;
|
|
47
|
+
value: string | number;
|
|
48
|
+
}
|
|
49
|
+
/** A table row for data-rich emails. */
|
|
50
|
+
interface EmailTableRow {
|
|
51
|
+
cells: string[];
|
|
52
|
+
}
|
|
53
|
+
/** Layout options for the base email wrapper. */
|
|
54
|
+
interface EmailLayoutOptions {
|
|
55
|
+
/** Email subject line */
|
|
56
|
+
subject: string;
|
|
57
|
+
/** Preheader text (shows in inbox preview, hidden in body) */
|
|
58
|
+
preheader?: string;
|
|
59
|
+
/** Emoji or text icon shown before the header title */
|
|
60
|
+
icon?: string;
|
|
61
|
+
/** Header subtitle (smaller text below title) */
|
|
62
|
+
subtitle?: string;
|
|
63
|
+
/** Main HTML body content (between header and footer) */
|
|
64
|
+
body: string;
|
|
65
|
+
/** CTA button (optional) */
|
|
66
|
+
cta?: EmailCTA;
|
|
67
|
+
/** Additional footer links */
|
|
68
|
+
footerLinks?: {
|
|
69
|
+
label: string;
|
|
70
|
+
url: string;
|
|
71
|
+
}[];
|
|
72
|
+
}
|
|
73
|
+
/** Return type for all email template functions. */
|
|
74
|
+
interface EmailOutput {
|
|
75
|
+
subject: string;
|
|
76
|
+
html: string;
|
|
77
|
+
text: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Base email layout builder.
|
|
82
|
+
*
|
|
83
|
+
* Generates a fully responsive, email-client-compatible HTML email
|
|
84
|
+
* using only inline styles and table-based layout.
|
|
85
|
+
*
|
|
86
|
+
* Every user-facing string in the layout is pre-escaped. Template functions
|
|
87
|
+
* that accept user input MUST escape those values before passing them to body.
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Build a complete HTML email from branding + layout options.
|
|
92
|
+
*
|
|
93
|
+
* Returns `{ subject, html, text }` ready to pass to any IEmail adapter.
|
|
94
|
+
*/
|
|
95
|
+
declare function emailLayout(branding: EmailBranding, options: EmailLayoutOptions): EmailOutput;
|
|
96
|
+
/** Highlighted callout box with colored left border. */
|
|
97
|
+
declare function calloutBlock(content: string, color?: string): string;
|
|
98
|
+
/** Numbered step card (for onboarding sequences). */
|
|
99
|
+
declare function stepBlock(number: number, title: string, description: string, color?: string): string;
|
|
100
|
+
/** Stats bar — row of metric cards. */
|
|
101
|
+
declare function statsBar(stats: {
|
|
102
|
+
label: string;
|
|
103
|
+
value: string | number;
|
|
104
|
+
}[]): string;
|
|
105
|
+
/** Simple data table with header row. */
|
|
106
|
+
declare function dataTable(headers: string[], rows: string[][]): string;
|
|
107
|
+
/** Info/tip box with icon. */
|
|
108
|
+
declare function tipBlock(content: string, icon?: string): string;
|
|
109
|
+
/** Centered heading within email body. */
|
|
110
|
+
declare function sectionHeading(text: string): string;
|
|
111
|
+
/** Horizontal rule divider. */
|
|
112
|
+
declare function divider(): string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Pre-built email templates.
|
|
116
|
+
*
|
|
117
|
+
* Each template accepts branding + template-specific data, composes the
|
|
118
|
+
* layout + building blocks, and returns { subject, html, text }.
|
|
119
|
+
*
|
|
120
|
+
* Apps call these directly — no need to touch layout internals.
|
|
121
|
+
* All user-provided strings are escaped internally.
|
|
122
|
+
*/
|
|
123
|
+
|
|
124
|
+
interface WelcomeEmailData {
|
|
125
|
+
/** User's display name */
|
|
126
|
+
userName: string;
|
|
127
|
+
/** URL to their dashboard or profile */
|
|
128
|
+
dashboardUrl: string;
|
|
129
|
+
/** Onboarding steps (typically 3) */
|
|
130
|
+
steps: EmailStep[];
|
|
131
|
+
/** Optional pro-tip text */
|
|
132
|
+
tip?: string;
|
|
133
|
+
}
|
|
134
|
+
declare function welcomeEmail(branding: EmailBranding, data: WelcomeEmailData): EmailOutput;
|
|
135
|
+
interface DigestEmailData {
|
|
136
|
+
/** Recipient display name */
|
|
137
|
+
recipientName: string;
|
|
138
|
+
/** Period label (e.g. "This Week", "March 2026") */
|
|
139
|
+
period: string;
|
|
140
|
+
/** Summary stats shown in the stats bar */
|
|
141
|
+
stats: EmailStat[];
|
|
142
|
+
/** Main body HTML (app-specific content — must be pre-escaped) */
|
|
143
|
+
contentHtml: string;
|
|
144
|
+
/** Optional: URL to view full report */
|
|
145
|
+
reportUrl?: string;
|
|
146
|
+
/** Optional: why they're receiving this */
|
|
147
|
+
subscriptionNote?: string;
|
|
148
|
+
}
|
|
149
|
+
declare function digestEmail(branding: EmailBranding, data: DigestEmailData): EmailOutput;
|
|
150
|
+
interface NotificationEmailData {
|
|
151
|
+
/** Recipient display name */
|
|
152
|
+
recipientName: string;
|
|
153
|
+
/** Notification headline */
|
|
154
|
+
headline: string;
|
|
155
|
+
/** Main message body (HTML-safe — will be escaped) */
|
|
156
|
+
message: string;
|
|
157
|
+
/** Optional highlighted detail block */
|
|
158
|
+
detail?: string;
|
|
159
|
+
/** Optional CTA */
|
|
160
|
+
actionUrl?: string;
|
|
161
|
+
/** Optional CTA label (defaults to "View Details") */
|
|
162
|
+
actionText?: string;
|
|
163
|
+
}
|
|
164
|
+
declare function notificationEmail(branding: EmailBranding, data: NotificationEmailData): EmailOutput;
|
|
165
|
+
type ModerationAction = "warning" | "suspension" | "ban" | "reinstatement";
|
|
166
|
+
interface ModerationEmailData {
|
|
167
|
+
/** User display name */
|
|
168
|
+
userName: string;
|
|
169
|
+
/** Type of moderation action */
|
|
170
|
+
action: ModerationAction;
|
|
171
|
+
/** Reason for the action */
|
|
172
|
+
reason: string;
|
|
173
|
+
/** What the user should do next (optional) */
|
|
174
|
+
nextSteps?: string;
|
|
175
|
+
/** Appeal/support URL (optional) */
|
|
176
|
+
appealUrl?: string;
|
|
177
|
+
}
|
|
178
|
+
declare function moderationEmail(branding: EmailBranding, data: ModerationEmailData): EmailOutput;
|
|
179
|
+
interface TransactionEmailData {
|
|
180
|
+
/** Recipient display name */
|
|
181
|
+
recipientName: string;
|
|
182
|
+
/** Transaction headline (e.g. "Payment Received", "Order Confirmed") */
|
|
183
|
+
headline: string;
|
|
184
|
+
/** Line items: [label, value] pairs */
|
|
185
|
+
lineItems: [string, string][];
|
|
186
|
+
/** Total amount string (e.g. "$25.00") */
|
|
187
|
+
total?: string;
|
|
188
|
+
/** Optional message above the table */
|
|
189
|
+
message?: string;
|
|
190
|
+
/** Optional receipt/order URL */
|
|
191
|
+
receiptUrl?: string;
|
|
192
|
+
}
|
|
193
|
+
declare function transactionEmail(branding: EmailBranding, data: TransactionEmailData): EmailOutput;
|
|
194
|
+
interface SecurityEmailData {
|
|
195
|
+
/** User display name */
|
|
196
|
+
userName: string;
|
|
197
|
+
/** What happened (e.g. "Password Changed", "New Login Detected") */
|
|
198
|
+
event: string;
|
|
199
|
+
/** Details about the event */
|
|
200
|
+
details: string;
|
|
201
|
+
/** Optional action URL (e.g. reset password link) */
|
|
202
|
+
actionUrl?: string;
|
|
203
|
+
/** Optional action label */
|
|
204
|
+
actionText?: string;
|
|
205
|
+
/** Expiry note (e.g. "This link expires in 1 hour") */
|
|
206
|
+
expiryNote?: string;
|
|
207
|
+
}
|
|
208
|
+
declare function securityEmail(branding: EmailBranding, data: SecurityEmailData): EmailOutput;
|
|
209
|
+
|
|
210
|
+
export { type DigestEmailData, type EmailBranding, type EmailCTA, type EmailLayoutOptions, type EmailOutput, type EmailStat, type EmailStep, type EmailTableRow, type ModerationAction, type ModerationEmailData, type NotificationEmailData, type SecurityEmailData, type TransactionEmailData, type WelcomeEmailData, calloutBlock, dataTable, digestEmail, divider, emailLayout, moderationEmail, notificationEmail, sectionHeading, securityEmail, statsBar, stepBlock, tipBlock, transactionEmail, welcomeEmail };
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
export { e as escapeHtml } from './security-BvLXaQkv.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Shared email template types.
|
|
5
|
+
*
|
|
6
|
+
* All apps provide a BrandingConfig to customize the look & feel
|
|
7
|
+
* while keeping structure, security, and accessibility consistent.
|
|
8
|
+
*/
|
|
9
|
+
/** Branding configuration — each app provides one of these. */
|
|
10
|
+
interface EmailBranding {
|
|
11
|
+
/** App display name (e.g. "OpenSourceSports") */
|
|
12
|
+
appName: string;
|
|
13
|
+
/** Full URL to app logo (optional — falls back to text-only header) */
|
|
14
|
+
logoUrl?: string;
|
|
15
|
+
/** Primary brand color as hex (e.g. "#0d9488") */
|
|
16
|
+
primaryColor: string;
|
|
17
|
+
/** Gradient start color (defaults to primaryColor) */
|
|
18
|
+
gradientFrom?: string;
|
|
19
|
+
/** Gradient end color (defaults to a darker shade) */
|
|
20
|
+
gradientTo?: string;
|
|
21
|
+
/** Accent color for callout boxes (defaults to primaryColor) */
|
|
22
|
+
accentColor?: string;
|
|
23
|
+
/** Sender email address */
|
|
24
|
+
fromEmail: string;
|
|
25
|
+
/** Support/reply-to email (optional) */
|
|
26
|
+
supportEmail?: string;
|
|
27
|
+
/** App base URL (e.g. "https://opensourcesports.io") */
|
|
28
|
+
baseUrl: string;
|
|
29
|
+
/** Preferences/unsubscribe URL (optional) */
|
|
30
|
+
preferencesUrl?: string;
|
|
31
|
+
/** Footer tagline (e.g. "A Digi Logic Labs project") */
|
|
32
|
+
footerText?: string;
|
|
33
|
+
}
|
|
34
|
+
/** CTA button configuration. */
|
|
35
|
+
interface EmailCTA {
|
|
36
|
+
text: string;
|
|
37
|
+
url: string;
|
|
38
|
+
}
|
|
39
|
+
/** A step in a numbered list (for onboarding emails). */
|
|
40
|
+
interface EmailStep {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
}
|
|
44
|
+
/** A stat card for digest/summary emails. */
|
|
45
|
+
interface EmailStat {
|
|
46
|
+
label: string;
|
|
47
|
+
value: string | number;
|
|
48
|
+
}
|
|
49
|
+
/** A table row for data-rich emails. */
|
|
50
|
+
interface EmailTableRow {
|
|
51
|
+
cells: string[];
|
|
52
|
+
}
|
|
53
|
+
/** Layout options for the base email wrapper. */
|
|
54
|
+
interface EmailLayoutOptions {
|
|
55
|
+
/** Email subject line */
|
|
56
|
+
subject: string;
|
|
57
|
+
/** Preheader text (shows in inbox preview, hidden in body) */
|
|
58
|
+
preheader?: string;
|
|
59
|
+
/** Emoji or text icon shown before the header title */
|
|
60
|
+
icon?: string;
|
|
61
|
+
/** Header subtitle (smaller text below title) */
|
|
62
|
+
subtitle?: string;
|
|
63
|
+
/** Main HTML body content (between header and footer) */
|
|
64
|
+
body: string;
|
|
65
|
+
/** CTA button (optional) */
|
|
66
|
+
cta?: EmailCTA;
|
|
67
|
+
/** Additional footer links */
|
|
68
|
+
footerLinks?: {
|
|
69
|
+
label: string;
|
|
70
|
+
url: string;
|
|
71
|
+
}[];
|
|
72
|
+
}
|
|
73
|
+
/** Return type for all email template functions. */
|
|
74
|
+
interface EmailOutput {
|
|
75
|
+
subject: string;
|
|
76
|
+
html: string;
|
|
77
|
+
text: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Base email layout builder.
|
|
82
|
+
*
|
|
83
|
+
* Generates a fully responsive, email-client-compatible HTML email
|
|
84
|
+
* using only inline styles and table-based layout.
|
|
85
|
+
*
|
|
86
|
+
* Every user-facing string in the layout is pre-escaped. Template functions
|
|
87
|
+
* that accept user input MUST escape those values before passing them to body.
|
|
88
|
+
*/
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Build a complete HTML email from branding + layout options.
|
|
92
|
+
*
|
|
93
|
+
* Returns `{ subject, html, text }` ready to pass to any IEmail adapter.
|
|
94
|
+
*/
|
|
95
|
+
declare function emailLayout(branding: EmailBranding, options: EmailLayoutOptions): EmailOutput;
|
|
96
|
+
/** Highlighted callout box with colored left border. */
|
|
97
|
+
declare function calloutBlock(content: string, color?: string): string;
|
|
98
|
+
/** Numbered step card (for onboarding sequences). */
|
|
99
|
+
declare function stepBlock(number: number, title: string, description: string, color?: string): string;
|
|
100
|
+
/** Stats bar — row of metric cards. */
|
|
101
|
+
declare function statsBar(stats: {
|
|
102
|
+
label: string;
|
|
103
|
+
value: string | number;
|
|
104
|
+
}[]): string;
|
|
105
|
+
/** Simple data table with header row. */
|
|
106
|
+
declare function dataTable(headers: string[], rows: string[][]): string;
|
|
107
|
+
/** Info/tip box with icon. */
|
|
108
|
+
declare function tipBlock(content: string, icon?: string): string;
|
|
109
|
+
/** Centered heading within email body. */
|
|
110
|
+
declare function sectionHeading(text: string): string;
|
|
111
|
+
/** Horizontal rule divider. */
|
|
112
|
+
declare function divider(): string;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Pre-built email templates.
|
|
116
|
+
*
|
|
117
|
+
* Each template accepts branding + template-specific data, composes the
|
|
118
|
+
* layout + building blocks, and returns { subject, html, text }.
|
|
119
|
+
*
|
|
120
|
+
* Apps call these directly — no need to touch layout internals.
|
|
121
|
+
* All user-provided strings are escaped internally.
|
|
122
|
+
*/
|
|
123
|
+
|
|
124
|
+
interface WelcomeEmailData {
|
|
125
|
+
/** User's display name */
|
|
126
|
+
userName: string;
|
|
127
|
+
/** URL to their dashboard or profile */
|
|
128
|
+
dashboardUrl: string;
|
|
129
|
+
/** Onboarding steps (typically 3) */
|
|
130
|
+
steps: EmailStep[];
|
|
131
|
+
/** Optional pro-tip text */
|
|
132
|
+
tip?: string;
|
|
133
|
+
}
|
|
134
|
+
declare function welcomeEmail(branding: EmailBranding, data: WelcomeEmailData): EmailOutput;
|
|
135
|
+
interface DigestEmailData {
|
|
136
|
+
/** Recipient display name */
|
|
137
|
+
recipientName: string;
|
|
138
|
+
/** Period label (e.g. "This Week", "March 2026") */
|
|
139
|
+
period: string;
|
|
140
|
+
/** Summary stats shown in the stats bar */
|
|
141
|
+
stats: EmailStat[];
|
|
142
|
+
/** Main body HTML (app-specific content — must be pre-escaped) */
|
|
143
|
+
contentHtml: string;
|
|
144
|
+
/** Optional: URL to view full report */
|
|
145
|
+
reportUrl?: string;
|
|
146
|
+
/** Optional: why they're receiving this */
|
|
147
|
+
subscriptionNote?: string;
|
|
148
|
+
}
|
|
149
|
+
declare function digestEmail(branding: EmailBranding, data: DigestEmailData): EmailOutput;
|
|
150
|
+
interface NotificationEmailData {
|
|
151
|
+
/** Recipient display name */
|
|
152
|
+
recipientName: string;
|
|
153
|
+
/** Notification headline */
|
|
154
|
+
headline: string;
|
|
155
|
+
/** Main message body (HTML-safe — will be escaped) */
|
|
156
|
+
message: string;
|
|
157
|
+
/** Optional highlighted detail block */
|
|
158
|
+
detail?: string;
|
|
159
|
+
/** Optional CTA */
|
|
160
|
+
actionUrl?: string;
|
|
161
|
+
/** Optional CTA label (defaults to "View Details") */
|
|
162
|
+
actionText?: string;
|
|
163
|
+
}
|
|
164
|
+
declare function notificationEmail(branding: EmailBranding, data: NotificationEmailData): EmailOutput;
|
|
165
|
+
type ModerationAction = "warning" | "suspension" | "ban" | "reinstatement";
|
|
166
|
+
interface ModerationEmailData {
|
|
167
|
+
/** User display name */
|
|
168
|
+
userName: string;
|
|
169
|
+
/** Type of moderation action */
|
|
170
|
+
action: ModerationAction;
|
|
171
|
+
/** Reason for the action */
|
|
172
|
+
reason: string;
|
|
173
|
+
/** What the user should do next (optional) */
|
|
174
|
+
nextSteps?: string;
|
|
175
|
+
/** Appeal/support URL (optional) */
|
|
176
|
+
appealUrl?: string;
|
|
177
|
+
}
|
|
178
|
+
declare function moderationEmail(branding: EmailBranding, data: ModerationEmailData): EmailOutput;
|
|
179
|
+
interface TransactionEmailData {
|
|
180
|
+
/** Recipient display name */
|
|
181
|
+
recipientName: string;
|
|
182
|
+
/** Transaction headline (e.g. "Payment Received", "Order Confirmed") */
|
|
183
|
+
headline: string;
|
|
184
|
+
/** Line items: [label, value] pairs */
|
|
185
|
+
lineItems: [string, string][];
|
|
186
|
+
/** Total amount string (e.g. "$25.00") */
|
|
187
|
+
total?: string;
|
|
188
|
+
/** Optional message above the table */
|
|
189
|
+
message?: string;
|
|
190
|
+
/** Optional receipt/order URL */
|
|
191
|
+
receiptUrl?: string;
|
|
192
|
+
}
|
|
193
|
+
declare function transactionEmail(branding: EmailBranding, data: TransactionEmailData): EmailOutput;
|
|
194
|
+
interface SecurityEmailData {
|
|
195
|
+
/** User display name */
|
|
196
|
+
userName: string;
|
|
197
|
+
/** What happened (e.g. "Password Changed", "New Login Detected") */
|
|
198
|
+
event: string;
|
|
199
|
+
/** Details about the event */
|
|
200
|
+
details: string;
|
|
201
|
+
/** Optional action URL (e.g. reset password link) */
|
|
202
|
+
actionUrl?: string;
|
|
203
|
+
/** Optional action label */
|
|
204
|
+
actionText?: string;
|
|
205
|
+
/** Expiry note (e.g. "This link expires in 1 hour") */
|
|
206
|
+
expiryNote?: string;
|
|
207
|
+
}
|
|
208
|
+
declare function securityEmail(branding: EmailBranding, data: SecurityEmailData): EmailOutput;
|
|
209
|
+
|
|
210
|
+
export { type DigestEmailData, type EmailBranding, type EmailCTA, type EmailLayoutOptions, type EmailOutput, type EmailStat, type EmailStep, type EmailTableRow, type ModerationAction, type ModerationEmailData, type NotificationEmailData, type SecurityEmailData, type TransactionEmailData, type WelcomeEmailData, calloutBlock, dataTable, digestEmail, divider, emailLayout, moderationEmail, notificationEmail, sectionHeading, securityEmail, statsBar, stepBlock, tipBlock, transactionEmail, welcomeEmail };
|