@knime/hub-features 1.20.1 → 1.21.1
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 +4 -4
- package/src/embeddingSDK/types.ts +16 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @knime/hub-features
|
|
2
2
|
|
|
3
|
+
## 1.21.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [e048c89]
|
|
8
|
+
- @knime/components@1.45.7
|
|
9
|
+
|
|
10
|
+
## 1.21.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- 068203b: introduce new version for user activity events
|
|
15
|
+
|
|
3
16
|
## 1.20.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/hub-features",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.1",
|
|
4
4
|
"description": "Vue components & composables for shared hub features",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@vueuse/shared": "~13.8.0",
|
|
36
36
|
"lodash-es": "4.17.23",
|
|
37
37
|
"ofetch": "^1.4.1",
|
|
38
|
-
"typescript": "^5.
|
|
39
|
-
"@knime/components": "1.45.
|
|
38
|
+
"typescript": "^5.9.3",
|
|
39
|
+
"@knime/components": "1.45.7",
|
|
40
40
|
"@knime/styles": "1.15.0",
|
|
41
41
|
"@knime/utils": "1.10.0"
|
|
42
42
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
49
49
|
"@vue/test-utils": "2.4.6",
|
|
50
50
|
"consola": "3.4.2",
|
|
51
|
-
"vite": "^7.
|
|
51
|
+
"vite": "^7.3.1",
|
|
52
52
|
"vite-svg-loader": "5.1.0",
|
|
53
53
|
"vue-tsc": "3.0.4"
|
|
54
54
|
},
|
|
@@ -85,7 +85,19 @@ export type GenericEventHandlers = {
|
|
|
85
85
|
[K in GenericEvent["kind"]]?: (event: GenericEventByKind<K>) => void;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
export type UserActivityInfo =
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
export type UserActivityInfo =
|
|
89
|
+
| {
|
|
90
|
+
idle: boolean;
|
|
91
|
+
lastActive: string;
|
|
92
|
+
version?: "v0";
|
|
93
|
+
}
|
|
94
|
+
| {
|
|
95
|
+
/**
|
|
96
|
+
* active: *default* state, user is interacting with app but NO background task is running
|
|
97
|
+
* idle: user is NOT interacting and NO task is running
|
|
98
|
+
* background-task: whenever a background task is running, whether the user is interacting with app or not
|
|
99
|
+
*/
|
|
100
|
+
state: "active" | "idle" | "background-task";
|
|
101
|
+
lastActive: string;
|
|
102
|
+
version: "v1";
|
|
103
|
+
};
|