@knime/hub-features 1.35.0 → 1.35.2
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/CHANGELOG.md +13 -0
- package/package.json +2 -2
- package/src/embeddingSDK/types.ts +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @knime/hub-features
|
|
2
2
|
|
|
3
|
+
## 1.35.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [c9e13ef]
|
|
8
|
+
- @knime/components@1.46.11
|
|
9
|
+
|
|
10
|
+
## 1.35.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 43b78d2: Add `customProperties` to `EmbeddingContext`
|
|
15
|
+
|
|
3
16
|
## 1.35.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/hub-features",
|
|
3
|
-
"version": "1.35.
|
|
3
|
+
"version": "1.35.2",
|
|
4
4
|
"description": "Vue components & composables for shared hub features",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"lodash-es": "4.18.1",
|
|
40
40
|
"ofetch": "^1.4.1",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
|
-
"@knime/components": "1.46.
|
|
42
|
+
"@knime/components": "1.46.11",
|
|
43
43
|
"@knime/styles": "1.15.3",
|
|
44
44
|
"@knime/utils": "1.11.1"
|
|
45
45
|
},
|
|
@@ -48,6 +48,10 @@ export type EmbeddingContext = {
|
|
|
48
48
|
*/
|
|
49
49
|
enabled: boolean;
|
|
50
50
|
};
|
|
51
|
+
/**
|
|
52
|
+
* A set of custom properties provided by the host, which the guest has to read and validate.
|
|
53
|
+
*/
|
|
54
|
+
customProperties?: Record<string, unknown>;
|
|
51
55
|
};
|
|
52
56
|
|
|
53
57
|
type ShowNotificationEvent = {
|
|
@@ -72,6 +76,14 @@ type HostNavigationRequestEvent = {
|
|
|
72
76
|
| { intent: "navigate"; href: string; openIn: "_blank" | "_parent" };
|
|
73
77
|
};
|
|
74
78
|
|
|
79
|
+
type CustomPropertyUpdateEvent = {
|
|
80
|
+
kind: "customPropertyUpdate";
|
|
81
|
+
payload: {
|
|
82
|
+
key: string;
|
|
83
|
+
value: unknown;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
|
|
75
87
|
type AnalyticsEvent = {
|
|
76
88
|
kind: "analytics";
|
|
77
89
|
payload: {
|
|
@@ -84,6 +96,7 @@ export type GenericEvent =
|
|
|
84
96
|
| ShowNotificationEvent
|
|
85
97
|
| ClearNotificationEvent
|
|
86
98
|
| HostNavigationRequestEvent
|
|
99
|
+
| CustomPropertyUpdateEvent
|
|
87
100
|
| AnalyticsEvent;
|
|
88
101
|
|
|
89
102
|
export type GenericEventByKind<K extends GenericEvent["kind"]> = Extract<
|