Skip to content

Commit

Permalink
refactor: reworked apps/ file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
netr0m committed Oct 17, 2022
1 parent d1483db commit 2252c37
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"_id": "4483c9b0-d505-46c9-a157-94c79f4d7a6a",
"type": "DemoApplicationDataSource/models/DemoApplication",
"label": "...",
"urlPath": "demoapp"
}
27 changes: 27 additions & 0 deletions app/data/DemoApplicationDataSource/models/DemoApplication.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "DemoApplication",
"type": "system/SIMOS/Blueprint",
"extends": ["system/SIMOS/Application"],
"description": "",
"attributes": [
{
"name": "label",
"type": "system/SIMOS/BlueprintAttribute",
"attributeType": "string",
"optional": true
},
{
"name": "urlPath",
"type": "system/SIMOS/BlueprintAttribute",
"attributeType": "string",
"optional": false
}
],
"uiRecipes": [
{
"name": "Default",
"type": "system/SIMOS/UiRecipe",
"plugin": "demoApp"
}
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "DemoDS",
"name": "DemoApplicationDataSource",
"repositories": {
"forecastDB": {
"type": "mongo-db",
Expand Down
14 changes: 0 additions & 14 deletions apps/demo-app/data/DemoDS/Blueprints/Demo.json

This file was deleted.

5 changes: 0 additions & 5 deletions apps/demo-app/data/DemoDS/Data/Demo.json

This file was deleted.

18 changes: 0 additions & 18 deletions apps/demo-app/settings.json

This file was deleted.

3 changes: 3 additions & 0 deletions src/app-settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"applicationId": ""
}

0 comments on commit 2252c37

Please sign in to comment.