Documentation
Preparing search index...
@saltcorn/data
models/email
emailMockReqRes
Variable emailMockReqRes
Const
emailMockReqRes
:
{
req
:
{
__
:
(
s
:
string
,
...
args
:
any
[]
)
=>
string
;
body
:
any
;
csrfToken
:
()
=>
string
;
flash
:
{
(
flash_type
:
"success"
|
"error"
|
"danger"
|
"warning"
,
message
:
string
,
)
:
void
;
(
flash_type
:
"success"
|
"error"
|
"danger"
|
"warning"
)
:
string
;
}
;
generate_email
:
boolean
;
get
:
(
s
:
string
)
=>
string
;
get_base_url
:
()
=>
any
;
getLocale
:
()
=>
string
;
headers
:
GenObj
;
hostname
?:
string
;
isAuthenticated
:
()
=>
boolean
;
protocol
?:
string
;
query
:
GenObj
;
sessionID
?:
string
;
user
?:
AbstractUser
;
xhr
:
boolean
;
}
;
res
:
Res
;
}
= ...
Type Declaration
req
:
{
__
:
(
s
:
string
,
...
args
:
any
[]
)
=>
string
;
body
:
any
;
csrfToken
:
()
=>
string
;
flash
:
{
(
flash_type
:
"success"
|
"error"
|
"danger"
|
"warning"
,
message
:
string
,
)
:
void
;
(
flash_type
:
"success"
|
"error"
|
"danger"
|
"warning"
)
:
string
;
}
;
generate_email
:
boolean
;
get
:
(
s
:
string
)
=>
string
;
get_base_url
:
()
=>
any
;
getLocale
:
()
=>
string
;
headers
:
GenObj
;
hostname
?:
string
;
isAuthenticated
:
()
=>
boolean
;
protocol
?:
string
;
query
:
GenObj
;
sessionID
?:
string
;
user
?:
AbstractUser
;
xhr
:
boolean
;
}
res
:
Res
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...