Skip to content

Commit

Permalink
Changes in sample project for the documentation site
Browse files Browse the repository at this point in the history
  • Loading branch information
annekekleppe committed Nov 15, 2024
1 parent a8cb308 commit 1c4868b
Show file tree
Hide file tree
Showing 11 changed files with 117 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/samples/EduTutorialNew/src/defs/edu-flow.edit
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Flow {[
FlowRule {[
-------------------------------------
Name: ${self.name}
Description: ${self.description}
For page ${self.page}
Description: ${self.description}
From page ${self.page}

${self.transitions}
]}
Expand Down
1 change: 1 addition & 0 deletions packages/samples/EduTutorialNew/src/defs/edu-subjects.ast
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ modelunit Subject {
description: string; /* e.g. Mathematics, fractions for students age 10 */
reference topics: Topic[];
reference flows: Flow[];
reference tests: Test[];
}
3 changes: 2 additions & 1 deletion packages/samples/EduTutorialNew/src/defs/edu-tests.edit
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ Test {[
]}

Scenario {[
------------------------------------
${self.description}

${self.testFlow vertical separator[=>]}
${self.testFlow vertical}
]}

TestFlow {[
Expand Down
42 changes: 41 additions & 1 deletion packages/server/modelstore/Fractions/TestA.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"key": "-default-key-Test-scenarios"
},
"children": [
"ID-36"
"ID-36",
"ID-129"
]
}
],
Expand Down Expand Up @@ -999,6 +1000,45 @@
"references": [],
"annotations": [],
"parent": "ID-81"
},
{
"id": "ID-129",
"classifier": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Scenario"
},
"properties": [
{
"property": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Scenario-description"
},
"value": ""
}
],
"containments": [
{
"containment": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Scenario-testFlow"
},
"children": []
},
{
"containment": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Scenario-steps"
},
"children": []
}
],
"references": [],
"annotations": [],
"parent": "ID-17"
}
]
}
42 changes: 41 additions & 1 deletion packages/server/modelstore/Fractions/TestAPublic.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"key": "-default-key-Test-scenarios"
},
"children": [
"ID-36"
"ID-36",
"ID-129"
]
}
],
Expand Down Expand Up @@ -999,6 +1000,45 @@
"references": [],
"annotations": [],
"parent": "ID-81"
},
{
"id": "ID-129",
"classifier": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Scenario"
},
"properties": [
{
"property": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Scenario-description"
},
"value": ""
}
],
"containments": [
{
"containment": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Scenario-testFlow"
},
"children": []
},
{
"containment": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Scenario-steps"
},
"children": []
}
],
"references": [],
"annotations": [],
"parent": "ID-17"
}
]
}
16 changes: 15 additions & 1 deletion packages/server/modelstore/Fractions/startFlow.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,21 @@
]
}
],
"references": [],
"references": [
{
"reference": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Flow-subject"
},
"targets": [
{
"resolveInfo": "Fractions",
"reference": "ID-18"
}
]
}
],
"annotations": [],
"parent": null
},
Expand Down
16 changes: 15 additions & 1 deletion packages/server/modelstore/Fractions/startFlowPublic.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,21 @@
]
}
],
"references": [],
"references": [
{
"reference": {
"language": "-default-key-Education",
"version": "2023.1",
"key": "-default-key-Flow-subject"
},
"targets": [
{
"resolveInfo": "Fractions",
"reference": "ID-18"
}
]
}
],
"annotations": [],
"parent": null
},
Expand Down

0 comments on commit 1c4868b

Please sign in to comment.