Documentation
Preparing search index...
@saltcorn/types
base_types
Req
Type Alias Req
type
Req
=
{
__
:
(
s
:
string
)
=>
string
;
body
:
any
;
csrfToken
:
()
=>
string
;
flash
:
(
flash_type
:
"warning"
|
"success"
,
message
:
string
)
=>
void
;
get
:
(
s
:
string
)
=>
string
;
getLocale
:
()
=>
string
;
headers
:
GenObj
;
hostname
?:
string
;
isAuthenticated
:
()
=>
boolean
;
protocol
?:
string
;
query
:
GenObj
;
sessionID
?:
string
;
user
?:
AbstractUser
;
xhr
:
boolean
;
[
k
:
string
]:
any
;
}
Indexable
[
k
:
string
]:
any
Index
Properties
__
body
csrf
Token
flash
get
get
Locale
headers
hostname?
is
Authenticated
protocol?
query
session
ID?
user?
xhr
Properties
__
__
:
(
s
:
string
)
=>
string
body
body
:
any
csrf
Token
csrfToken
:
()
=>
string
flash
flash
:
(
flash_type
:
"warning"
|
"success"
,
message
:
string
)
=>
void
get
get
:
(
s
:
string
)
=>
string
get
Locale
getLocale
:
()
=>
string
headers
headers
:
GenObj
Optional
hostname
hostname
?:
string
is
Authenticated
isAuthenticated
:
()
=>
boolean
Optional
protocol
protocol
?:
string
query
query
:
GenObj
Optional
session
ID
sessionID
?:
string
Optional
user
user
?:
AbstractUser
xhr
xhr
:
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
__
body
csrf
Token
flash
get
get
Locale
headers
hostname
is
Authenticated
protocol
query
session
ID
user
xhr
Documentation
Loading...