Hosanna UI API v1.30.2-next
Preparing search index...
Views/common
DeveloperUtils
IDeveloperUtils
Interface IDeveloperUtils
interface
IDeveloperUtils
{
getFlag
<
T
>
(
path
:
string
,
defaultValue
?:
unknown
)
:
T
;
getMockResponse
<
T
>
(
path
:
string
)
:
undefined
|
T
;
getMockResponseForHttpRequest
(
method
:
http_commands_api
.
HttpMethod
,
url
:
string
,
)
:
undefined
|
IHsFetchResponse
;
loadFlags
(
json
:
JsonData
)
:
void
;
notifyConfigurationChange
()
:
void
;
}
Implemented by
DeveloperUtils
.
DeveloperUtils
Index
Methods
get
Flag
get
Mock
Response
get
Mock
Response
For
Http
Request
load
Flags
notify
Configuration
Change
Methods
get
Flag
getFlag
<
T
>
(
path
:
string
,
defaultValue
?:
unknown
)
:
T
Type Parameters
T
Parameters
path
:
string
Optional
defaultValue
:
unknown
Returns
T
get
Mock
Response
getMockResponse
<
T
>
(
path
:
string
)
:
undefined
|
T
Type Parameters
T
Parameters
path
:
string
Returns
undefined
|
T
get
Mock
Response
For
Http
Request
getMockResponseForHttpRequest
(
method
:
http_commands_api
.
HttpMethod
,
url
:
string
,
)
:
undefined
|
IHsFetchResponse
Parameters
method
:
http_commands_api
.
HttpMethod
url
:
string
Returns
undefined
|
IHsFetchResponse
load
Flags
loadFlags
(
json
:
JsonData
)
:
void
Parameters
json
:
JsonData
Returns
void
notify
Configuration
Change
notifyConfigurationChange
()
:
void
Returns
void
Settings
Member Visibility
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Flag
get
Mock
Response
get
Mock
Response
For
Http
Request
load
Flags
notify
Configuration
Change
Hosanna UI API v1.30.2-next
Loading...