Search
Preparing search index...
The search index is not available
Radical Console
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
StorageMeta
Class StorageMeta
Hierarchy
StorageMeta
Implements
IStorageBagOptions
Index
Constructors
constructor
Properties
expires
json
Methods
can
Expire
expires
In
is
Expired
isJSON
merge
setJSON
to
String
create
from
String
Constructors
constructor
new
Storage
Meta
(
options
?:
IStorageBagOptions
)
:
StorageMeta
Parameters
Default value
options:
IStorageBagOptions
= {}
Returns
StorageMeta
Properties
expires
expires
:
number
= null
json
json
:
boolean
= true
Methods
can
Expire
can
Expire
(
)
:
boolean
Returns
boolean
expires
In
expires
In
(
minutes
:
number
)
:
void
Parameters
minutes:
number
Returns
void
is
Expired
is
Expired
(
)
:
boolean
Returns
boolean
isJSON
isJSON
(
)
:
boolean
Returns
boolean
merge
merge
(
options
:
IStorageBagOptions
)
:
this
Parameters
options:
IStorageBagOptions
Returns
this
setJSON
setJSON
(
val
:
boolean
)
:
void
Parameters
val:
boolean
Returns
void
to
String
to
String
(
)
:
string
Returns
string
Static
create
create
(
options
?:
IStorageBagOptions
)
:
StorageMeta
Parameters
Optional
options:
IStorageBagOptions
Returns
StorageMeta
Static
from
String
from
String
(
meta
:
string
)
:
StorageMeta
Parameters
meta:
string
Returns
StorageMeta
Globals
Storage
Meta
constructor
expires
json
can
Expire
expires
In
is
Expired
isJSON
merge
setJSON
to
String
create
from
String
Generated using
TypeDoc