Search
Preparing search index...
The search index is not available
Aurelia Deco Documentation - v2.0.9
Options
All
Public
Public/Protected
All
Inherited
Menu
Aurelia Deco Documentation - v2.0.9
SwissdataGlobal
Class SwissdataGlobal
Hierarchy
SwissdataGlobal
Index
Constructors
constructor
Properties
config
container
ensure
Profiles
ensure
Users
event
Aggregator
i18n
ip
Stack
Response
log
ready
router
sd
Login
sentry
state
state
Language
Subscription
state
Subscription
swissdata
Api
Methods
after
Ensuring
Authentication
before
Ensuring
Authentication
bootstrap
debug
error
get
Current
RouteASAP
get
Locale
image
Src
info
is
Ready
last
Update
Text
listen
ToRoute
And
Save
InState
navigate
navigate
ToRoute
on
Any
Load
on
Authenticated
Load
on
Login
on
Logout
on
Unauthenticated
Load
pop
Error
publish
register
Actions
restore
Route
From
State
start
subscribe
subscribe
Once
update
All
Models
From
Api
update
Models
From
Api
warn
Constructors
constructor
new
Swissdata
Global
(
)
:
SwissdataGlobal
Returns
SwissdataGlobal
Properties
config
config
:
BootstrapConfig
container
container
:
Container
ensure
Profiles
ensure
Profiles
:
EnsureModel
<
typeof
ProfileModel
>
ensure
Users
ensure
Users
:
EnsureModel
<
typeof
UserModel
>
event
Aggregator
event
Aggregator
:
EventAggregator
i18n
i18n
:
I18N
Optional
ip
Stack
Response
ip
Stack
Response
:
IpStackResponse
log
log
:
Logger
ready
ready
:
boolean
= false
router
router
:
Router
sd
Login
sd
Login
:
SdLogin
sentry
sentry
:
SentryHelper
state
state
:
AppState
Private
state
Language
Subscription
state
Language
Subscription
:
any
Private
state
Subscription
state
Subscription
:
any
swissdata
Api
swissdata
Api
:
SwissdataApi
Methods
after
Ensuring
Authentication
after
Ensuring
Authentication
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
before
Ensuring
Authentication
before
Ensuring
Authentication
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
bootstrap
bootstrap
(
config
:
BootstrapConfig
)
:
Promise
<
any
>
Parameters
config:
BootstrapConfig
Returns
Promise
<
any
>
debug
debug
(
message
:
string
,
...
rest
:
any
[]
)
:
void
Parameters
message:
string
Rest
...
rest:
any
[]
Returns
void
error
error
(
message
:
string
,
...
rest
:
any
[]
)
:
void
Parameters
message:
string
Rest
...
rest:
any
[]
Returns
void
Private
get
Current
RouteASAP
get
Current
RouteASAP
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Locale
get
Locale
(
)
:
string
Returns
string
image
Src
image
Src
(
modelRoute
:
"string"
, fieldname
:
"string"
, previewFormat
?:
string
)
:
string
Parameters
modelRoute:
"string"
fieldname:
"string"
previewFormat:
string
= null
Returns
string
info
info
(
message
:
string
,
...
rest
:
any
[]
)
:
void
Parameters
message:
string
Rest
...
rest:
any
[]
Returns
void
is
Ready
is
Ready
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
last
Update
Text
last
Update
Text
(
instance
:
Model
)
:
Promise
<
string
>
Parameters
instance:
Model
Returns
Promise
<
string
>
listen
ToRoute
And
Save
InState
listen
ToRoute
And
Save
InState
(
)
:
void
Returns
void
navigate
navigate
(
fragment
:
string
, options
?:
any
)
:
boolean
Parameters
fragment:
string
Optional
options:
any
Returns
boolean
navigate
ToRoute
navigate
ToRoute
(
route
:
string
, params
?:
any
, options
?:
any
)
:
boolean
Parameters
route:
string
Optional
params:
any
Optional
options:
any
Returns
boolean
on
Any
Load
on
Any
Load
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
on
Authenticated
Load
on
Authenticated
Load
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
on
Login
on
Login
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
on
Logout
on
Logout
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
on
Unauthenticated
Load
on
Unauthenticated
Load
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
pop
Error
pop
Error
(
event
:
any
)
:
void
Parameters
event:
any
Returns
void
publish
publish
(
event
:
any
, data
?:
any
)
:
void
Parameters
event:
any
Optional
data:
any
Returns
void
register
Actions
register
Actions
(
)
:
void
Returns
void
restore
Route
From
State
restore
Route
From
State
(
state
:
AppState
, onlyOnSpecificRouteNames
?:
string
[]
)
:
Promise
<
any
>
Parameters
state:
AppState
onlyOnSpecificRouteNames:
string
[]
= ...
Returns
Promise
<
any
>
start
start
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
subscribe
subscribe
(
event
:
any
, callback
:
Function
)
:
Subscription
Parameters
event:
any
callback:
Function
Returns
Subscription
subscribe
Once
subscribe
Once
(
event
:
any
, callback
:
Function
)
:
Subscription
Parameters
event:
any
callback:
Function
Returns
Subscription
update
All
Models
From
Api
update
All
Models
From
Api
(
ignoreError
?:
boolean
)
:
Promise
<
any
>
Parameters
ignoreError:
boolean
= false
Returns
Promise
<
any
>
update
Models
From
Api
update
Models
From
Api
(
modelName
:
string
, ignoreError
?:
boolean
)
:
Promise
<
any
>
Parameters
modelName:
string
ignoreError:
boolean
= false
Returns
Promise
<
any
>
warn
warn
(
message
:
string
,
...
rest
:
any
[]
)
:
void
Parameters
message:
string
Rest
...
rest:
any
[]
Returns
void
Exports
Swissdata
Global
constructor
config
container
ensure
Profiles
ensure
Users
event
Aggregator
i18n
ip
Stack
Response
log
ready
router
sd
Login
sentry
state
state
Language
Subscription
state
Subscription
swissdata
Api
after
Ensuring
Authentication
before
Ensuring
Authentication
bootstrap
debug
error
get
Current
RouteASAP
get
Locale
image
Src
info
is
Ready
last
Update
Text
listen
ToRoute
And
Save
InState
navigate
navigate
ToRoute
on
Any
Load
on
Authenticated
Load
on
Login
on
Logout
on
Unauthenticated
Load
pop
Error
publish
register
Actions
restore
Route
From
State
start
subscribe
subscribe
Once
update
All
Models
From
Api
update
Models
From
Api
warn
Generated using
TypeDoc