-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathnode-advanced-path-authoring-options.ts
More file actions
46 lines (43 loc) · 1.52 KB
/
node-advanced-path-authoring-options.ts
File metadata and controls
46 lines (43 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
export const canChangePathOptions = [
{ value: true, text: $localize`True` },
{ value: false, text: $localize`False` }
];
export const howToChooseAmongAvailablePathsOptions = [
{ value: 'random', text: $localize`Random` },
{ value: 'workgroupId', text: $localize`Workgroup ID` },
{ value: 'firstAvailable', text: $localize`First Available` },
{ value: 'lastAvailable', text: $localize`Last Available` },
{ value: 'tag', text: $localize`Tag` }
];
export const transitionCriterias = [
{
value: 'score',
text: $localize`Get a specific score on a component`,
params: [
{ value: 'nodeId', text: $localize`Node ID` },
{ value: 'componentId', text: $localize`Component ID` },
{ value: 'scores', text: $localize`Scores(s)` },
{ value: 'scoreId', text: $localize`Score ID (Optional)` }
]
},
{
value: 'choiceChosen',
text: $localize`Choose a specific choice on a component`,
params: [
{ value: 'nodeId', text: $localize`Node ID` },
{ value: 'componentId', text: $localize`Component ID` },
{ value: 'choiceIds', text: $localize`Choices` }
]
},
{
value: 'tag',
text: $localize`Have Tag Assigned To Workgroup`,
params: [{ value: 'tag', text: $localize`Tag` }]
}
];
export const whenToChoosePathOptions = [
{ value: 'enterNode', text: $localize`Enter Node` },
{ value: 'exitNode', text: $localize`Exit Node` },
{ value: 'scoreChanged', text: $localize`Score Changed` },
{ value: 'studentDataChanged', text: $localize`Student Data Changed` }
];