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.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`.|
148
148
149
149
### File
150
150
@@ -883,11 +883,13 @@ The Cloud Code Function receives the selected object in the payload and returns
883
883
884
884
The info panel can contain multiple segments to display different groups of information.
|`segments`| Array | No | An ordered array of segments, where each segment represents a distinct group of items to display. |
889
-
|`segments[i].title`| String | No | The title of the segment that will be displayed. |
890
-
|`segments[i].items`| Array | No | An ordered array of items within the segment. Each item can be of different types, such as text, key-value pairs, tables, images, etc. |
|`segments`| Array | No | An ordered array of segments, where each segment represents a distinct group of items to display. |
889
+
|`segments[i].title`| String | No | The title of the segment that will be displayed. |
890
+
|`segments[i].items`| Array | No | An ordered array of items within the segment. Each item can be of different types, such as text, key-value pairs, tables, images, etc. |
891
+
|`segments[i].style`| Object | Yes | The CSS style definition for the segment. |
892
+
|`segments[i].titleStyle`| Object | Yes | The CSS style definition for the segment title. |
|`style`| Object | Yes | The CSS style definition. |
922
927
923
928
Example:
924
929
925
930
```json
926
931
{
927
932
"type": "text",
928
-
"text": "This user has a high churn risk!"
933
+
"text": "This user has a high churn risk!",
934
+
"style": { "backgroundColor": "red" },
929
935
}
930
936
```
931
937
@@ -940,14 +946,16 @@ A text item that consists of a key and a value. The value can optionally be link
940
946
|`value`| String | - | No | The value text to display. |
941
947
|`url`| String |`undefined`| Yes | The URL that will be opened in a new browser tab when clicking on the value text. It can be set to an absolute URL or a relative URL in which case the base URL is `<PROTOCOL>://<HOST>/<MOUNT_PATH>/`. |
942
948
|`isRelativeUrl`| Boolean |`false`| Yes | Set this to `true` when linking to another dashboard page, in which case the base URL for the relative URL will be `<PROTOCOL>://<HOST>/<MOUNT_PATH>/apps/<APP_NAME>/`. |
@@ -1122,14 +1140,16 @@ A sub-panel whose data is loaded on-demand by expanding the item.
1122
1140
|`type`| String | No | Must be `"infoPanel"`. |
1123
1141
|`title`| String | No | The title to display in the expandable headline. |
1124
1142
|`cloudCodeFunction`| String | No | The Cloud Code Function to call which receives the selected object in the data browser and returns the response to be displayed in the sub-panel. |
1143
+
|`style`| Object | Yes | The CSS style definition. |
0 commit comments