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
|`apps`| Array<Object>| no | - |`[{ ... }, { ... }]`| The apps that are configured for the dashboard. |
132
-
|`apps.appId`| String | yes | - |`"myAppId"`| The Application ID for your Parse Server instance. |
133
-
|`apps.masterKey`| String \| Function | yes | - |`"exampleMasterKey"`, `() => "exampleMasterKey"`| The master key for full access to Parse Server. It can be provided directly as a String or as a Function returning a String. |
134
-
|`apps.masterKeyTtl`| Number | no | - |`3600`| Time-to-live (TTL) for the master key in seconds. This defines how long the master key is cached before the `masterKey` function is re-triggered. |
135
-
|`apps.serverURL`| String | yes | - |`"http://localhost:1337/parse"`| The URL where your Parse Server is running. |
136
-
|`apps.appName`| String | no | - |`"MyApp"`| The display name of the app in the dashboard. |
|`infoPanel[*].title`| String | no | - |`User Details`| The panel title. |
139
-
|`infoPanel[*].classes`| Array<String>| no | - |`["_User"]`| The classes for which the info panel should be displayed. |
140
-
|`infoPanel[*].cloudCodeFunction`| String | no | - |`getUserDetails`| The Cloud Code Function which received the selected object in the data browser and returns the response to be displayed in the info panel. |
141
-
|`apps.scripts`| Array<Object>| yes |`[]`|`[{ ... }, { ... }]`| The scripts that can be executed for that app. |
142
-
|`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. |
143
-
|`apps.scripts.classes`| Array<String>| no | - |`['_User']`| The classes of Parse Objects for which the scripts can be executed. |
144
-
|`apps.scripts.cloudCodeFunction`| String | no | - |`'deleteUser'`| The name of the Parse Cloud Function to execute. |
145
-
|`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. |
146
-
|`apps.scripts.confirmationDialogStyle`| String | yes |`info`|`critical`| The style of the confirmation dialog. Valid values: `info` (blue style), `critical` (red style). |
147
-
|`apps.cloudConfigHistoryLimit`| Integer | yes |`100`|`100`| The number of historic values that should be saved in the Cloud Config change history. Valid values: `0`...`Number.MAX_SAFE_INTEGER`. |
129
+
| Parameter | Type | Optional | Default | Example | Description |
|`apps`| Array<Object>| no | - |`[{ ... }, { ... }]`| The apps that are configured for the dashboard. |
132
+
|`apps.appId`| String | yes | - |`"myAppId"`| The Application ID for your Parse Server instance. |
133
+
|`apps.masterKey`| String \| Function | yes | - |`"exampleMasterKey"`, `() => "exampleMasterKey"`| The master key for full access to Parse Server. It can be provided directly as a String or as a Function returning a String. |
134
+
|`apps.masterKeyTtl`| Number | no | - |`3600`| Time-to-live (TTL) for the master key in seconds. This defines how long the master key is cached before the `masterKey` function is re-triggered. |
135
+
|`apps.serverURL`| String | yes | - |`"http://localhost:1337/parse"`| The URL where your Parse Server is running. |
136
+
|`apps.appName`| String | no | - |`"MyApp"`| The display name of the app in the dashboard. |
|`infoPanel[*].title`| String | no | - |`User Details`| The panel title. |
139
+
|`infoPanel[*].classes`| Array<String>| no | - |`["_User"]`| The classes for which the info panel should be displayed. |
140
+
|`infoPanel[*].cloudCodeFunction`| String | no | - |`getUserDetails`| The Cloud Code Function which received the selected object in the data browser and returns the response to be displayed in the info panel. |
141
+
|`apps.scripts`| Array<Object>| yes |`[]`|`[{ ... }, { ... }]`| The scripts that can be executed for that app. |
142
+
|`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. |
143
+
|`apps.scripts.classes`| Array<String>| no | - |`['_User']`| The classes of Parse Objects for which the scripts can be executed. |
144
+
|`apps.scripts.cloudCodeFunction`| String | no | - |`'deleteUser'`| The name of the Parse Cloud Function to execute. |
145
+
|`apps.scripts.executionBatchSize`| Integer | yes |`1`|`10`| The batch size with which a script should be executed on all selected objects. For example, with 50 objects selected, a batch size of 10 means the script will run on 10 objects in parallel, running a total of 5 batches in serial. |
146
+
|`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. |
147
+
|`apps.scripts.confirmationDialogStyle`| String | yes |`info`|`critical`| The style of the confirmation dialog. Valid values: `info` (blue style), `critical` (red style). |
148
+
|`apps.cloudConfigHistoryLimit`| Integer | yes |`100`|`100`| The number of historic values that should be saved in the Cloud Config change history. Valid values: `0`...`Number.MAX_SAFE_INTEGER`. |
this.showNote(`Ran script "${script.title}" on ${batch.length} objects in batch ${batchCount}/${totalBatchCount} with ${batchErrorCount} errors.`,batchErrorCount>0);
1626
+
}
1627
+
}
1628
+
1629
+
if(objects.length>1){
1630
+
this.showNote(`Ran script "${script.title}" on ${objects.length} objects in ${batchCount} batches with ${totalErrorCount} errors.`,totalErrorCount>0);
0 commit comments