Methods
(protected, static) _assembleHead(head, tagInfo, config) → {Help4.widget.companionCore.SEN.PubProjectResponse|null}
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
head |
Help4.widget.companionCore.SEN.ProjectResponseHead |
Properties
|
||||||||||||
tagInfo |
Help4.widget.help.project.SEN.TagInfoList | |||||||||||||
config |
Help4.typedef.SystemConfiguration |
- Source:
Returns:
(protected, static) _assemblePub(pub, tagInfo, config) → {Help4.widget.companionCore.SEN.PubProjectResponse|null}
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
pub |
Help4.widget.companionCore.SEN.ProjectResponsePub |
Properties
|
|||||||||
tagInfo |
Help4.widget.help.project.SEN.TagInfoList | ||||||||||
config |
Help4.typedef.SystemConfiguration |
- Source:
Returns:
(protected, static) _getUrls(projectId, config, serviceUrl) → {Help4.widget.help.project.SEN.ProjectUrlConfig}
Parameters:
Name | Type | Description |
---|---|---|
projectId |
string | the project id |
config |
Help4.typedef.SystemConfiguration | the system configuration |
serviceUrl |
string | the server base URL |
- Source:
Returns:
(protected, static) _parse(data, config, catalogueTypeopt, isExtensionopt) → {Help4.widget.help.Project}
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
Help4.widget.companionCore.SEN.PubProjectResponse |
Properties
|
||||||||||||||
config |
Help4.typedef.SystemConfiguration | |||||||||||||||
catalogueType |
Help4.widget.help.CatalogueTypes |
<optional> |
'SEN' | |||||||||||||
isExtension |
boolean |
<optional> |
false |
- Source:
Returns:
(async, static) load(projectId, config, data) → {Promise.<(Help4.widget.help.Projects|null)>}
Parameters:
Name | Type | Description |
---|---|---|
projectId |
string | project ID |
config |
Help4.typedef.SystemConfiguration | the system configuration |
data |
Help4.widget.help.Data |
- Source:
Returns:
- Type
- Promise.<(Help4.widget.help.Projects|null)>
Type Definitions
EntityTxt
Type:
- Object
Properties:
Name | Type | Attributes | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
assets |
* | |||||||||||
caption |
string | |||||||||||
conditions |
string | |||||||||||
context_id |
string | |||||||||||
created_by |
string | |||||||||||
creation_time |
string | |||||||||||
creator |
string | |||||||||||
cwa_recommended_sync_mode |
string | |||||||||||
description |
string | |||||||||||
h4_loio |
string | |||||||||||
h4_product |
string | |||||||||||
h4_product_version |
string | |||||||||||
h4_system |
string | |||||||||||
hidden |
boolean |
<optional> |
||||||||||
language |
string | |||||||||||
macroset |
string | |||||||||||
mastery_score_percent |
string | |||||||||||
max_score_percent |
string | |||||||||||
modification_time |
string | |||||||||||
modified_by |
string | |||||||||||
sub_type |
string | |||||||||||
tclass |
string | |||||||||||
uid |
string | |||||||||||
info |
Object |
<optional> |
Properties
|
- Source:
LessonJs
Type:
- Object
Properties:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
global_params |
Object | |||||||||||||||||||||||||||||||
tourstops |
Array.<Help4.widget.help.project.SEN.LessonJsTourstop> | |||||||||||||||||||||||||||||||
user_header |
Object |
Properties
|
- Source:
LessonJsMacro
Type:
- Help4.widget.help.project.SEN.LessonJsMacroStartUnit | Help4.widget.help.project.SEN.LessonJsMacroLinkTile | Help4.widget.help.project.SEN.LessonJsMacroHelpTile | Help4.widget.help.project.SEN.LessonJsMacroDefineTarget | Help4.widget.help.project.SEN.LessonJsMacroGuideClick
- Source:
LessonJsMacroArray
Type:
- Source:
LessonJsMacroDefineTarget
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
duration |
number | |
key |
string | screen ID |
macro_template |
'define_target' | |
time |
number | |
uid |
string |
- Source:
LessonJsMacroGuideClick
Type:
- Object
Properties:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
bubble_centered |
boolean | ||||||||||
bubble_orientation |
string | ||||||||||
bubble_size |
string | ||||||||||
bubble_text |
string | ||||||||||
bubble_type |
string | ||||||||||
caption |
string | ||||||||||
conditions |
string | ||||||||||
duration |
number | ||||||||||
hotspot |
string | ||||||||||
hotspot_element_type |
string | ||||||||||
manual_manual_offset |
Object |
Properties
|
|||||||||
hotspot_offset |
boolean | ||||||||||
hotspot_rect_delta |
Object |
Properties
|
|||||||||
hotspot_spotlight |
boolean | ||||||||||
hotspot_style |
string | ||||||||||
macro_template |
'guide_click' | ||||||||||
show_arrow |
boolean | ||||||||||
show_title_bar |
boolean | ||||||||||
time |
number | ||||||||||
tourstep_auto_progress |
string | ||||||||||
tourstep_auto_skip |
boolean | ||||||||||
uid |
string |
- Source:
LessonJsMacroHelpTile
Type:
- Object
- Source:
LessonJsMacroLinkTile
Type:
- Object
- Source:
LessonJsMacroStartUnit
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
duration |
number | |
macro_template |
'start_unit' | |
time |
number | |
uid |
string |
- Source:
LessonJsTourstop
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
audio |
string | |
audio_duration |
number | |
callable |
boolean | |
duration |
number | |
index |
index | |
jumpable |
boolean | |
macros |
Help4.widget.help.project.SEN.LessonJsMacroArray | |
title |
string | |
uid |
string | |
visible |
boolean |
- Source:
Project
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
Meta |
Help4.widget.help.project.SEN.ProjectMeta | |
Tags |
Help4.widget.help.project.SEN.ProjectTags | |
Versions |
Help4.widget.help.project.SEN.ProjectVersions | |
active |
boolean | |
assets |
Array.<*> | |
assignee |
string | |
caption |
string | |
conditions |
string | |
context_id |
string | |
created_by |
string | |
creation_time |
string | |
creator |
string | |
cwa_recommended_sync_mode |
string | |
description |
string | |
entity_published_path |
* | |
fallback_has_entity |
boolean | |
h4_loio |
string | |
h4_product |
string | |
h4_product_version |
string | |
h4_system |
string | |
hidden |
number | |
language |
string | |
macroset |
string | |
mastery_score_percent |
string | |
max_score_percent |
string | |
maxversion |
string | |
modification_time |
string | |
modified_by |
string | |
ref_status |
string | |
status |
string | |
sub_type |
string | |
uid |
string | |
workflow_uid |
string |
- Source:
ProjectMeta
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
Commits |
Array.<Object> | |
Streams |
Array.<Object> | |
wt |
number | write token status |
- Source:
ProjectTag
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
tag |
string | |
version |
string |
- Source:
ProjectTags
Type:
- Source:
ProjectUrlConfig
Type:
- Object
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
serverBaseUrl |
string | base URL of the content server | ||
pubUrl |
string | URL extension to public end-user content | ||
headUrl |
string |
<optional> |
null | URL extension to non-public author only content |
- Source:
ProjectVersion
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
version |
string | |
user |
string | |
date |
string |
- Source:
ProjectVersions
Type:
- Source:
TagInfo
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
id |
string | tag ID |
display_name |
string | |
description |
string |
- Source:
TagInfoList
Type:
- Source: