@integry/sdk 4.8.85 → 4.8.86
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/README.md +10 -4
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,8 +23,8 @@ Get started and learn more using our [documentation.](https://sdk.integry.io)
|
|
|
23
23
|
## Activity meta passthrough (renderFunctionForm)
|
|
24
24
|
|
|
25
25
|
When `is_activity: true` is used with `renderFunctionForm`, the saved
|
|
26
|
-
`json_schema.meta`
|
|
27
|
-
|
|
26
|
+
`json_schema.meta` follows the standard function-style shape and only includes
|
|
27
|
+
activity fields for `type`, `activity_type`, and `endpoint_id`. For example:
|
|
28
28
|
|
|
29
29
|
```json
|
|
30
30
|
{
|
|
@@ -33,9 +33,15 @@ shape (including nested `app` and `ui` fields). For example:
|
|
|
33
33
|
"function": { "name": "activities.send_message" }
|
|
34
34
|
},
|
|
35
35
|
"meta": {
|
|
36
|
+
"id": 55,
|
|
37
|
+
"version": "2024-04-01",
|
|
38
|
+
"name": "activities.send_message",
|
|
39
|
+
"title": "Send message",
|
|
40
|
+
"app_name": "Slack",
|
|
41
|
+
"app_icon_url": "https://...",
|
|
36
42
|
"type": "ACTIVITY",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
43
|
+
"activity_type": "ACTION",
|
|
44
|
+
"endpoint_id": 77
|
|
39
45
|
}
|
|
40
46
|
}
|
|
41
47
|
```
|