@raclettejs/workbench 0.1.31 → 0.1.32-nightly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.raclette/backend/raclette.config.js +515 -0
- package/.raclette/backend/yarn.lock +3636 -0
- package/.raclette/frontend/raclette.config.js +43 -0
- package/.raclette/frontend/yarn.lock +3388 -0
- package/.raclette/virtual/backend/README.md +172 -0
- package/.raclette/virtual/backend/raclette.config.js +515 -0
- package/.raclette/virtual/backend/yarn.lock +3636 -0
- package/.raclette/virtual/frontend/README.md +511 -0
- package/.raclette/virtual/frontend/raclette.config.js +43 -0
- package/.raclette/virtual/frontend/src/core/lib/eggs/readme.md +75 -0
- package/.raclette/virtual/frontend/yarn.lock +3388 -0
- package/CHANGELOG.md +6 -10
- package/i18n/de-DE.json +1 -10
- package/i18n/en-EU.json +1 -10
- package/i18n/sk-SK.json +1 -10
- package/package.json +5 -3
- package/plugins/pacifico__compositions/frontend/widgets/CompositionListWidget.vue +61 -105
- package/plugins/pacifico__interactionLinks/frontend/widgets/InteractionLinkListWidget.vue +64 -120
- package/plugins/pacifico__plugins/frontend/widgets/PluginListWidget.vue +2 -2
- package/plugins/pacifico__tags/frontend/widgets/TagListWidget.vue +45 -102
- package/plugins/pacifico__users/frontend/widgets/UserListWidget.vue +24 -16
- package/services/frontend/src/app/lib/jsonTools.ts +69 -3
- package/services/frontend/src/app/components/BaseDataTable.vue +0 -303
- package/services/frontend/src/app/components/FileUpload.vue +0 -98
- package/services/frontend/src/app/components/SelectionDialog.vue +0 -182
- package/services/frontend/src/app/components/SummaryDialog.vue +0 -140
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
# Pacifico API
|
|
2
|
+
|
|
3
|
+
For initial setup, see the end of the file.
|
|
4
|
+
|
|
5
|
+
## Docker-Compose
|
|
6
|
+
|
|
7
|
+
The API runs under the service name `api`. For development we will also give a ccontainer name to make writing the READMEs easiert. It is called `portal-api`. On production this name will be auto-generated to prevent docker name collision. This also means you cannot start two instances of our services locally.
|
|
8
|
+
|
|
9
|
+
### Installing packages
|
|
10
|
+
|
|
11
|
+
When installing new packages, please exec into the docker container beforehand. Do not run `yarn add` on your machine.
|
|
12
|
+
|
|
13
|
+
`docker exec -it portal-api bash`
|
|
14
|
+
And install again:
|
|
15
|
+
`yarn add ...`
|
|
16
|
+
|
|
17
|
+
### EsLint
|
|
18
|
+
|
|
19
|
+
For Eslint to work you need to install the packages locally. It is fine to run `yarn install`on your machine (outside of the container). Just never so `yarn add...` there.
|
|
20
|
+
|
|
21
|
+
For now manually, run the linter and formatter before commiting or at the end of your work on a branch:
|
|
22
|
+
`yarn run fixAndFormat`
|
|
23
|
+
|
|
24
|
+
Manually check any lint errors and fix them before commiting. It is recommended to not commit any errors (only warning).
|
|
25
|
+
|
|
26
|
+
You can run the linter standalone with: `yarn run lint:fix`
|
|
27
|
+
And format after: `yarn run format`.
|
|
28
|
+
|
|
29
|
+
The linter itself is not formatting, so it is required to format after the linter fixed code.
|
|
30
|
+
|
|
31
|
+
### Debugging
|
|
32
|
+
|
|
33
|
+
If you use VS code and want to attach your debugger to node within the api docker container, add the following to your launch.json:
|
|
34
|
+
|
|
35
|
+
```json
|
|
36
|
+
{
|
|
37
|
+
"configurations": [
|
|
38
|
+
{
|
|
39
|
+
"name": "Docker: Attach to Node",
|
|
40
|
+
"type": "node",
|
|
41
|
+
"request": "attach",
|
|
42
|
+
"port": 9229,
|
|
43
|
+
"address": "localhost",
|
|
44
|
+
"restart": true,
|
|
45
|
+
"localRoot": "${workspaceFolder}/services/backend",
|
|
46
|
+
"remoteRoot": "/app"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Make sure to start the backend with the `dev:inspect` command and to map the port 9229:9229 in the docker-compose(.override).
|
|
53
|
+
|
|
54
|
+
For the auto-restart to fully work, we need to add a start delay. Create a `tasks.json`file besides your `launch.json` with the following content:
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
{
|
|
58
|
+
"version": "2.0.0",
|
|
59
|
+
"tasks": [
|
|
60
|
+
{
|
|
61
|
+
"label": "delay",
|
|
62
|
+
"type": "shell",
|
|
63
|
+
"command": "${workspaceFolder}/delay-api-debugger.sh",
|
|
64
|
+
"problemMatcher": []
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
If you have permission errors, make sure the delay shell script is executable under `app/api`
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
chmod +x delay-api-debugger.sh
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Shared Folder
|
|
77
|
+
|
|
78
|
+
The shared folder is mounted during container build. To make your IDE work with the given path INSIDE of api, while shared is still located outside of api, you need to symlink it.
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
cd app/api
|
|
82
|
+
ln -s ../shared ./shared
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Initial Setup
|
|
86
|
+
|
|
87
|
+
### Fill the database / Adding fixturees
|
|
88
|
+
|
|
89
|
+
Assuming you have already built and started all containers in the root of the
|
|
90
|
+
mono repo, run the following commands to fill the mongodb with the initial dev example data.
|
|
91
|
+
|
|
92
|
+
As a prerequisite, you need to install 'jq' on your dev machine (e.g. with `brew` on mac)
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# generate a token with the login-dev command (path expects you to be on root level)
|
|
96
|
+
token=$(./app/api/bin/login-dev)
|
|
97
|
+
|
|
98
|
+
# import the fixtures by calling the api endpoint POST /core/system/fixtures
|
|
99
|
+
# e.g. with curl
|
|
100
|
+
curl -X POST \
|
|
101
|
+
-H "$token" \
|
|
102
|
+
-H 'Accept-Version: 1.0' \
|
|
103
|
+
-H 'Content-Type: application/json' \
|
|
104
|
+
-d '{"useDeprecatedVersionAndDeleteDatabase": true}' \
|
|
105
|
+
http://localhost:8082/core/system/fixtures
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
The token generation will only work if there are NO users in the database. If you want to call the fixture endpoint anyway, you need to use an auth token of one of the exisiting user. Or delete all users from the database, e.g. with the ui tool `mongoCompass`.
|
|
109
|
+
|
|
110
|
+
Also note, that you are required to run database migrations as the deprecated fixture flow is not up to date. See below.
|
|
111
|
+
|
|
112
|
+
### Run migrations
|
|
113
|
+
|
|
114
|
+
TODO: On API container startup migrations will run. So usually there is no need to interact with them unless you are developing.
|
|
115
|
+
NOTE: Currently all migrations have to be executed by hand!
|
|
116
|
+
|
|
117
|
+
Exec into to api container: `docker exec -it portal-api bash` and run all yarn scripts related to migrations there. You can run migrations from your machine as well, but due to package differences, it is recommended to do this sensible job from within the docker environment!
|
|
118
|
+
|
|
119
|
+
To create a new file use this command: `yarn run migrate:create name-your-file`
|
|
120
|
+
|
|
121
|
+
This applies all migrations that had not run yet: `yarn run migrate:up`. Run this also when you have set up your database with fixture data, as the old fixture flow is a bit deprecated. It will be replaced in the future.
|
|
122
|
+
|
|
123
|
+
This reverts changed until a given script name (or all if none is given): `yarn run migrate:down`
|
|
124
|
+
|
|
125
|
+
Migration status: `yarn run migrate:status`
|
|
126
|
+
|
|
127
|
+
## Troubleshooting
|
|
128
|
+
|
|
129
|
+
### On Login: 429 - Too many Retries
|
|
130
|
+
|
|
131
|
+
Due to security reasons the login api logs and blocks too many failed login attempts. Just for consistency this also happens for local development.
|
|
132
|
+
|
|
133
|
+
But you can easily use the admin endpoints to remove these entries, if you need to. Normally calling this should be suitable (locally)
|
|
134
|
+
|
|
135
|
+
`DELETE http://localhost:8081/core/admin/cache/blocks/172.20.0.1`
|
|
136
|
+
|
|
137
|
+
Or you can delete all entries:
|
|
138
|
+
|
|
139
|
+
`DELETE http://localhost:8081/core/admin/cache/blocks`
|
|
140
|
+
|
|
141
|
+
You can always see the tracked attempts with this (to retrieve your key (ip address) for the first command):
|
|
142
|
+
|
|
143
|
+
`http://localhost:8081/core/admin/cache/blocks`
|
|
144
|
+
|
|
145
|
+
### Error when building the image or running any commands
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
error /app/node_modules/bcrypt: Command failed.
|
|
149
|
+
Exit code: 1
|
|
150
|
+
Command: node-pre-gyp install --fallback-to-build
|
|
151
|
+
Arguments:
|
|
152
|
+
Directory: /app/node_modules/bcrypt
|
|
153
|
+
Output:
|
|
154
|
+
/app/node_modules/wide-align/align.js:2
|
|
155
|
+
var stringWidth = require('string-width')
|
|
156
|
+
^
|
|
157
|
+
Error [ERR_REQUIRE_ESM]: require() of ES Module /app/node_modules/string-width/index.js from /app/node_modules/wide-align/align.js not supported.
|
|
158
|
+
Instead change the require of index.js in /app/node_modules/wide-align/align.js to a dynamic import() which is available in all CommonJS modules.
|
|
159
|
+
at Object.<anonymous> (/app/node_modules/wide-align/align.js:2:19) {
|
|
160
|
+
code: 'ERR_REQUIRE_ESM'
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
This error usually happens when you install a new package for the api from your host machine. To fix it you need to exec into the api container:
|
|
164
|
+
`docker exec -it portal-api bash`
|
|
165
|
+
|
|
166
|
+
Remove the yarn.lock file:
|
|
167
|
+
`rm -f yarn.lock`
|
|
168
|
+
|
|
169
|
+
And install again:
|
|
170
|
+
`yarn install`
|
|
171
|
+
|
|
172
|
+
This will align your versions and also update your yarn.lock file. Commit it!
|
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
// Generated Raclette backend Configuration
|
|
2
|
+
// This file is auto-generated, do not edit directly
|
|
3
|
+
|
|
4
|
+
export const racletteConfig = {
|
|
5
|
+
"name": "playground-workbench",
|
|
6
|
+
"env": {
|
|
7
|
+
"development": {
|
|
8
|
+
"RACLETTE_DEBUG_MODE": true,
|
|
9
|
+
"RACLETTE_APP_PATH": "/home/thesilverfisch/Work/Projects/pacifico/PublicRaclette/core-dev/@raclettejs/playground"
|
|
10
|
+
},
|
|
11
|
+
"production": {}
|
|
12
|
+
},
|
|
13
|
+
"global": {
|
|
14
|
+
"requireAuthentication": true,
|
|
15
|
+
"requiresAuthentication": true
|
|
16
|
+
},
|
|
17
|
+
"service": "backend",
|
|
18
|
+
"sockets": {
|
|
19
|
+
"autoSend": {
|
|
20
|
+
"compositions": false,
|
|
21
|
+
"interactionLinks": false,
|
|
22
|
+
"projectConfig": true,
|
|
23
|
+
"customData": {
|
|
24
|
+
"compositions": [
|
|
25
|
+
{
|
|
26
|
+
"_id": "compositionList",
|
|
27
|
+
"pathname": {
|
|
28
|
+
"default": "composition-list"
|
|
29
|
+
},
|
|
30
|
+
"widgetsLayout": [
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
|
+
"column": 12,
|
|
34
|
+
"widget": {
|
|
35
|
+
"uuid": "compositionList",
|
|
36
|
+
"name": "CompositionList",
|
|
37
|
+
"pluginKey": "pacifico__compositions"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"_id": "compositionCreate",
|
|
45
|
+
"pathname": {
|
|
46
|
+
"default": "composition-create"
|
|
47
|
+
},
|
|
48
|
+
"widgetsLayout": [
|
|
49
|
+
[
|
|
50
|
+
{
|
|
51
|
+
"column": 12,
|
|
52
|
+
"widget": {
|
|
53
|
+
"uuid": "compositionCreate",
|
|
54
|
+
"name": "CompositionCreate",
|
|
55
|
+
"pluginKey": "pacifico__compositions"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"_id": "compositionEdit",
|
|
63
|
+
"pathname": {
|
|
64
|
+
"default": "composition-edit"
|
|
65
|
+
},
|
|
66
|
+
"widgetsLayout": [
|
|
67
|
+
[
|
|
68
|
+
{
|
|
69
|
+
"column": 12,
|
|
70
|
+
"widget": {
|
|
71
|
+
"uuid": "compositionEdit",
|
|
72
|
+
"name": "CompositionEdit",
|
|
73
|
+
"pluginKey": "pacifico__compositions"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
],
|
|
78
|
+
"queryParameters": [
|
|
79
|
+
"id"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"_id": "interactionLinkList",
|
|
84
|
+
"pathname": {
|
|
85
|
+
"default": "interactionLink-list"
|
|
86
|
+
},
|
|
87
|
+
"widgetsLayout": [
|
|
88
|
+
[
|
|
89
|
+
{
|
|
90
|
+
"column": 12,
|
|
91
|
+
"widget": {
|
|
92
|
+
"uuid": "interactionLinkList",
|
|
93
|
+
"name": "InteractionLinkList",
|
|
94
|
+
"pluginKey": "pacifico__interactionlinks"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"_id": "interactionLinkCreate",
|
|
102
|
+
"pathname": {
|
|
103
|
+
"default": "interactionLink-create"
|
|
104
|
+
},
|
|
105
|
+
"widgetsLayout": [
|
|
106
|
+
[
|
|
107
|
+
{
|
|
108
|
+
"column": 12,
|
|
109
|
+
"widget": {
|
|
110
|
+
"uuid": "interactionLinkCreate",
|
|
111
|
+
"name": "InteractionLinkCreate",
|
|
112
|
+
"pluginKey": "pacifico__interactionlinks"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"_id": "interactionLinkEdit",
|
|
120
|
+
"pathname": {
|
|
121
|
+
"default": "interactionLink-edit"
|
|
122
|
+
},
|
|
123
|
+
"widgetsLayout": [
|
|
124
|
+
[
|
|
125
|
+
{
|
|
126
|
+
"column": 12,
|
|
127
|
+
"widget": {
|
|
128
|
+
"uuid": "interactionLinkEdit",
|
|
129
|
+
"name": "InteractionLinkEdit",
|
|
130
|
+
"pluginKey": "pacifico__interactionlinks"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
],
|
|
135
|
+
"queryParameters": [
|
|
136
|
+
"id"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"_id": "userList",
|
|
141
|
+
"pathname": {
|
|
142
|
+
"default": "user-list"
|
|
143
|
+
},
|
|
144
|
+
"widgetsLayout": [
|
|
145
|
+
[
|
|
146
|
+
{
|
|
147
|
+
"column": 12,
|
|
148
|
+
"widget": {
|
|
149
|
+
"uuid": "userList",
|
|
150
|
+
"name": "UserList",
|
|
151
|
+
"pluginKey": "pacifico__users"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"_id": "userCreate",
|
|
159
|
+
"pathname": {
|
|
160
|
+
"default": "user-create"
|
|
161
|
+
},
|
|
162
|
+
"widgetsLayout": [
|
|
163
|
+
[
|
|
164
|
+
{
|
|
165
|
+
"column": 12,
|
|
166
|
+
"widget": {
|
|
167
|
+
"uuid": "userCreate",
|
|
168
|
+
"name": "UserCreate",
|
|
169
|
+
"pluginKey": "pacifico__users"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"_id": "userEdit",
|
|
177
|
+
"pathname": {
|
|
178
|
+
"default": "user-edit"
|
|
179
|
+
},
|
|
180
|
+
"widgetsLayout": [
|
|
181
|
+
[
|
|
182
|
+
{
|
|
183
|
+
"column": 12,
|
|
184
|
+
"widget": {
|
|
185
|
+
"uuid": "userEdit",
|
|
186
|
+
"name": "UserEdit",
|
|
187
|
+
"pluginKey": "pacifico__users"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
],
|
|
192
|
+
"queryParameters": [
|
|
193
|
+
"id"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"_id": "tagList",
|
|
198
|
+
"pathname": {
|
|
199
|
+
"default": "tag-list"
|
|
200
|
+
},
|
|
201
|
+
"widgetsLayout": [
|
|
202
|
+
[
|
|
203
|
+
{
|
|
204
|
+
"column": 12,
|
|
205
|
+
"widget": {
|
|
206
|
+
"uuid": "tagList",
|
|
207
|
+
"name": "TagList",
|
|
208
|
+
"pluginKey": "pacifico__tags"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"_id": "tagCreate",
|
|
216
|
+
"pathname": {
|
|
217
|
+
"default": "tag-create"
|
|
218
|
+
},
|
|
219
|
+
"widgetsLayout": [
|
|
220
|
+
[
|
|
221
|
+
{
|
|
222
|
+
"column": 12,
|
|
223
|
+
"widget": {
|
|
224
|
+
"uuid": "tagCreate",
|
|
225
|
+
"name": "TagCreate",
|
|
226
|
+
"pluginKey": "pacifico__tags"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"_id": "tagEdit",
|
|
234
|
+
"pathname": {
|
|
235
|
+
"default": "tag-edit"
|
|
236
|
+
},
|
|
237
|
+
"widgetsLayout": [
|
|
238
|
+
[
|
|
239
|
+
{
|
|
240
|
+
"column": 12,
|
|
241
|
+
"widget": {
|
|
242
|
+
"uuid": "tagEdit",
|
|
243
|
+
"name": "TagEdit",
|
|
244
|
+
"pluginKey": "pacifico__tags"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
],
|
|
249
|
+
"queryParameters": [
|
|
250
|
+
"id"
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"_id": "pluginList",
|
|
255
|
+
"pathname": {
|
|
256
|
+
"default": "plugin-list"
|
|
257
|
+
},
|
|
258
|
+
"widgetsLayout": [
|
|
259
|
+
[
|
|
260
|
+
{
|
|
261
|
+
"column": 12,
|
|
262
|
+
"widget": {
|
|
263
|
+
"uuid": "pluginList",
|
|
264
|
+
"name": "PluginList",
|
|
265
|
+
"pluginKey": "pacifico__plugins"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"_id": "pluginDetail",
|
|
273
|
+
"pathname": {
|
|
274
|
+
"default": "plugin-detail"
|
|
275
|
+
},
|
|
276
|
+
"widgetsLayout": [
|
|
277
|
+
[
|
|
278
|
+
{
|
|
279
|
+
"column": 12,
|
|
280
|
+
"widget": {
|
|
281
|
+
"uuid": "pluginDetail",
|
|
282
|
+
"name": "PluginDetail",
|
|
283
|
+
"pluginKey": "pacifico__plugins"
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
],
|
|
288
|
+
"queryParameters": [
|
|
289
|
+
"id"
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"_id": "projectDetail",
|
|
294
|
+
"pathname": {
|
|
295
|
+
"default": "project-detail"
|
|
296
|
+
},
|
|
297
|
+
"widgetsLayout": [
|
|
298
|
+
[
|
|
299
|
+
{
|
|
300
|
+
"column": 12,
|
|
301
|
+
"widget": {
|
|
302
|
+
"uuid": "ProjectDetail",
|
|
303
|
+
"name": "ProjectDetail",
|
|
304
|
+
"pluginKey": "pacifico__project"
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
]
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"interactionLinks": [
|
|
312
|
+
{
|
|
313
|
+
"_id": "compositionListInteractionLink",
|
|
314
|
+
"composition": "compositionList",
|
|
315
|
+
"slotType": "page",
|
|
316
|
+
"triggers": [
|
|
317
|
+
{
|
|
318
|
+
"type": "page-navigation",
|
|
319
|
+
"settings": {
|
|
320
|
+
"icon": "mdi-file-document",
|
|
321
|
+
"title": {
|
|
322
|
+
"default": "Compositions",
|
|
323
|
+
"de": "Kompositionen"
|
|
324
|
+
},
|
|
325
|
+
"sortOrder": 0,
|
|
326
|
+
"navigationBarType": "navItem"
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"_id": "compositionCreateInteractionLink",
|
|
333
|
+
"composition": "compositionCreate",
|
|
334
|
+
"slotType": "page",
|
|
335
|
+
"triggers": []
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"_id": "compositionEditInteractionLink",
|
|
339
|
+
"composition": "compositionEdit",
|
|
340
|
+
"slotType": "page",
|
|
341
|
+
"triggers": [],
|
|
342
|
+
"queryParameters": [
|
|
343
|
+
"id"
|
|
344
|
+
]
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"_id": "interactionLinkListInteractionLink",
|
|
348
|
+
"composition": "interactionLinkList",
|
|
349
|
+
"slotType": "page",
|
|
350
|
+
"triggers": [
|
|
351
|
+
{
|
|
352
|
+
"type": "page-navigation",
|
|
353
|
+
"settings": {
|
|
354
|
+
"icon": "mdi-link-box-variant",
|
|
355
|
+
"title": {
|
|
356
|
+
"default": "Interaction Links",
|
|
357
|
+
"de": "Interaktionslinks"
|
|
358
|
+
},
|
|
359
|
+
"sortOrder": 1,
|
|
360
|
+
"navigationBarType": "navItem"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"_id": "interactionLinkCreateInteractionLink",
|
|
367
|
+
"composition": "interactionLinkCreate",
|
|
368
|
+
"slotType": "page",
|
|
369
|
+
"triggers": []
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"_id": "interactionLinkEditInteractionLink",
|
|
373
|
+
"composition": "interactionLinkEdit",
|
|
374
|
+
"slotType": "page",
|
|
375
|
+
"triggers": [],
|
|
376
|
+
"queryParameters": [
|
|
377
|
+
"id"
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"_id": "userListInteractionLink",
|
|
382
|
+
"composition": "userList",
|
|
383
|
+
"slotType": "page",
|
|
384
|
+
"triggers": [
|
|
385
|
+
{
|
|
386
|
+
"type": "page-navigation",
|
|
387
|
+
"settings": {
|
|
388
|
+
"icon": "mdi-account-details",
|
|
389
|
+
"title": {
|
|
390
|
+
"default": "Users",
|
|
391
|
+
"de": "Nutzer"
|
|
392
|
+
},
|
|
393
|
+
"sortOrder": 2,
|
|
394
|
+
"navigationBarType": "navItem"
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
]
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"_id": "userCreateInteractionLink",
|
|
401
|
+
"composition": "userCreate",
|
|
402
|
+
"slotType": "page",
|
|
403
|
+
"triggers": []
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"_id": "userEditInteractionLink",
|
|
407
|
+
"composition": "userEdit",
|
|
408
|
+
"slotType": "page",
|
|
409
|
+
"triggers": [],
|
|
410
|
+
"queryParameters": [
|
|
411
|
+
"id"
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"_id": "tagListInteractionLink",
|
|
416
|
+
"composition": "tagList",
|
|
417
|
+
"slotType": "page",
|
|
418
|
+
"triggers": [
|
|
419
|
+
{
|
|
420
|
+
"type": "page-navigation",
|
|
421
|
+
"settings": {
|
|
422
|
+
"icon": "mdi-tag",
|
|
423
|
+
"title": {
|
|
424
|
+
"default": "Tags",
|
|
425
|
+
"de": "Tags"
|
|
426
|
+
},
|
|
427
|
+
"sortOrder": 3,
|
|
428
|
+
"navigationBarType": "navItem"
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"_id": "tagCreateInteractionLink",
|
|
435
|
+
"composition": "tagCreate",
|
|
436
|
+
"slotType": "page",
|
|
437
|
+
"triggers": []
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"_id": "tagEditInteractionLink",
|
|
441
|
+
"composition": "tagEdit",
|
|
442
|
+
"slotType": "page",
|
|
443
|
+
"triggers": [],
|
|
444
|
+
"queryParameters": [
|
|
445
|
+
"id"
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"_id": "pluginListInteractionLink",
|
|
450
|
+
"composition": "pluginList",
|
|
451
|
+
"slotType": "page",
|
|
452
|
+
"triggers": [
|
|
453
|
+
{
|
|
454
|
+
"type": "page-navigation",
|
|
455
|
+
"settings": {
|
|
456
|
+
"icon": "mdi-puzzle",
|
|
457
|
+
"title": {
|
|
458
|
+
"default": "Plugins",
|
|
459
|
+
"de": "Plugins"
|
|
460
|
+
},
|
|
461
|
+
"sortOrder": 4,
|
|
462
|
+
"navigationBarType": "navItem"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
]
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"_id": "pluginDetailInteractionLink",
|
|
469
|
+
"composition": "pluginDetail",
|
|
470
|
+
"slotType": "page",
|
|
471
|
+
"triggers": [],
|
|
472
|
+
"queryParameters": [
|
|
473
|
+
"pluginKey"
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"_id": "projectDetailInteractionLink",
|
|
478
|
+
"composition": "projectDetail",
|
|
479
|
+
"slotType": "page",
|
|
480
|
+
"triggers": [
|
|
481
|
+
{
|
|
482
|
+
"type": "page-navigation",
|
|
483
|
+
"settings": {
|
|
484
|
+
"icon": "mdi-application-cog",
|
|
485
|
+
"title": {
|
|
486
|
+
"default": "Project",
|
|
487
|
+
"de": "Projekt"
|
|
488
|
+
},
|
|
489
|
+
"sortOrder": 0,
|
|
490
|
+
"navigationBarType": "footerItem"
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
]
|
|
494
|
+
}
|
|
495
|
+
]
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"security": {
|
|
499
|
+
"requireAuth": true,
|
|
500
|
+
"tokenValidation": "jwt"
|
|
501
|
+
},
|
|
502
|
+
"options": {
|
|
503
|
+
"adapter": "memory",
|
|
504
|
+
"connectionTimeout": 3000,
|
|
505
|
+
"pingInterval": 1500,
|
|
506
|
+
"pingTimeout": 1000
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
"additionalPluginPaths": [
|
|
510
|
+
"/app/src/workbenchPlugins"
|
|
511
|
+
],
|
|
512
|
+
"onlyAllowLoginWithAdminTag": true
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
export default racletteConfig;
|