You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -103,14 +105,26 @@ Parse Dashboard is compatible with the following Parse Server versions.
103
105
### Node.js
104
106
Parse Dashboard is continuously tested with the most recent releases of Node.js to ensure compatibility. We follow the [Node.js Long Term Support plan](https://github.com/nodejs/Release) and only test against versions that are officially supported and have not reached their end-of-life date.
105
107
106
-
| Version | Latest Version | End-of-Life | Compatible |
|`apps`| Array<Object>| no | - |`[{ ... }, { ... }]`| The apps that are configured for the dashboard. |
121
+
|`apps.scripts`| Array<Object>| yes |`[]`|`[{ ... }, { ... }]`| The scripts that can be executed for that app. |
122
+
|`apps.scripts.title`| String | no | - |`'Delete User'`| The title that will be displayed in the data browser context menu and the script run confirmation dialog. |
123
+
|`apps.scripts.classes`| Array<String>| no | - |`['_User']`| The classes of Parse Objects for which the scripts can be executed. |
124
+
|`apps.scripts.cloudCodeFunction`| String | no | - |`'deleteUser'`| The name of the Parse Cloud Function to execute. |
125
+
|`apps.scripts.showConfirmationDialog`| Bool | yes |`false`|`true`| Is `true` if a confirmation dialog should be displayed before the script is executed, `false` if the script should be executed immediately. |
126
+
|`apps.scripts.confirmationDialogStyle`| String | yes |`info`|`critical`| The style of the confirmation dialog. Valid values: `info` (blue style), `critical` (red style). |
127
+
114
128
### File
115
129
116
130
You can also start the dashboard from the command line with a config file. To do this, create a new file called `parse-dashboard-config.json` inside your local Parse Dashboard directory hierarchy. The file should match the following format:
@@ -367,15 +381,16 @@ You can conveniently create a filter definition without having to write it by ha
367
381
368
382
You can specify scripts to execute Cloud Functions with the `scripts` option:
0 commit comments