Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F1262822
registration-intent.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
609 B
Referenced Files
None
Subscribers
None
registration-intent.ts
View Options
import
{
App
,
EmailTemplates
}
from
"sealious"
;
export
default
async
function
RegistrationIntentTemplate
(
app
:
App
,
{
email_address
,
token
}
:
{
email_address
:
string
;
token
:
string
}
)
{
return
EmailTemplates
.
Simple
(
app
,
{
subject
:
app
.
i18n
(
"registration_intent_email_subject"
,
[
app
.
manifest
.
name
]),
to
:
email_address
,
text
:
`
${
app
.
i18n
(
"registration_intent_email_text"
,
[
app
.
manifest
.
name
])
}
`
,
buttons
:
[
{
text
:
app
.
i18n
(
"registration_intent_cta"
),
href
:
`
${
app
.
manifest
.
base_url
}
/account/confirm-registration-email?token=
${
token
}
&email=
${
email_address
}
`
,
},
],
});
}
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Fri, Jan 24, 15:16 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
599303
Default Alt Text
registration-intent.ts (609 B)
Attached To
Mode
rPLAY Sealious playground
Attached
Detach File
Event Timeline
Log In to Comment