a deep copy of the entire configuration object
the keys specifying the path trough the configuration that should be accessed
a deep copy of a specified subsection of the configuration object, or undefined
if such subsection doesn't exist.
Calling this method with an empty array as argument is equivalent to calling the [get()]{@link ConfigurationService#get} method.
the appropriate template configuration for data fields, or undefined
if such configuration is not present.
the value stored in the [onLoginRedirect]{@link Services#auth.onLoginRedirect} attribute if defined.
Otherwise, undefined
is returned.
the value stored in the [onLogoutRedirect]{@link Services#auth.onLogoutRedirect} attribute if defined.
If not and the deprecated attribute [logoutRedirect]{@link Services#auth.logoutRedirect} is defined then its value is returned.
Otherwise, undefined
is returned.
Get all URLs/paths of views with specified layout.
Search views with this layout
Paths with prefixed '/' of all views with specified layout, empty array otherwise.
the services configuration, or undefined
if such configuration is not present.
the value stored in the [toLoginRedirect]{@link Services#auth.toLoginRedirect} attribute if defined.
If not and the deprecated attribute [loginRedirect]{@link Services#auth.loginRedirect} is defined then its value is returned.
Otherwise, undefined
is returned.
Get view configuration from nae.json for view at given config path.
configuration path to the requested view. No leading backslash.
requested configuration if it exists. undefined
otherwise.
Get view configuration from nae.json for view at given url.
to the requested view. Necessary backslash.
requested configuration if it exists. undefined
otherwise.
Resolves the URL addresses of backend endpoints based on the provided configuration.
If the URLs begin with either http://
, or https://
the provided URL will be used.
If not, then the URLs are considered to be relative to the location of the frontend application and it's URL will be used
as the base path. /api
is appended automatically.
the attribute name of the endpoint address in nae.json
the endpoint address or undefined
if such endpoint is not defined in nae.json
Resolves a single URL address.
If the URL begins with either http://
, or https://
the provided URL will be used.
If not, then the URL is considered to be relative to the location of the frontend application and it's URL will be used
as the base path. /api
is appended automatically.
value from the configuration file
the resolved URL
Generated using TypeDoc
Calls to this method should be avoided as creating a deep copy of the configuration has a large overhead