@knime/hub-features 1.24.1 → 1.24.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 +6 -0
- package/package.json +2 -2
- package/src/analytics/schema/schema.d.ts +45 -0
- package/src/analytics/schema/schema.json +162 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/hub-features",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.2",
|
|
4
4
|
"description": "Vue components & composables for shared hub features",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"scripts": {
|
|
63
63
|
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
|
64
64
|
"test:unit": "TZ='Europe/Berlin' vitest",
|
|
65
|
-
"generate-analytics-events": "json2ts ./src/
|
|
65
|
+
"generate-analytics-events": "json2ts ./src/analytics/schema/schema.json > ./src/analytics/schema/schema.d.ts"
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -23,6 +23,34 @@ export interface AnalyticsEventSchema {
|
|
|
23
23
|
kaibuild_button_: EmptyPayload;
|
|
24
24
|
qam_button_: KaiPromptedPayload;
|
|
25
25
|
};
|
|
26
|
+
session_started: {
|
|
27
|
+
autotrigger: EmptyPayload;
|
|
28
|
+
};
|
|
29
|
+
session_ended: {
|
|
30
|
+
session_tab_closed: EmptyPayload;
|
|
31
|
+
autotrigger_timedout_: EmptyPayload;
|
|
32
|
+
autotrigger_disconnect_: EmptyPayload;
|
|
33
|
+
};
|
|
34
|
+
session_interrupted: {
|
|
35
|
+
session_tab: EmptyPayload;
|
|
36
|
+
};
|
|
37
|
+
session_resumed: {
|
|
38
|
+
session_tab: EmptyPayload;
|
|
39
|
+
};
|
|
40
|
+
containernode_created: {
|
|
41
|
+
canvas_ctxmenu_: ContainerNodeCreatedPayload;
|
|
42
|
+
keyboard_shortcut_: ContainerNodeCreatedPayload;
|
|
43
|
+
};
|
|
44
|
+
hint_shown: {
|
|
45
|
+
autotrigger: HintIdPayload;
|
|
46
|
+
};
|
|
47
|
+
hint_closed: {
|
|
48
|
+
hint_button_: HintIdPayload;
|
|
49
|
+
};
|
|
50
|
+
configuration_completed: {
|
|
51
|
+
nodedialog_button_apply: ConfigurationCompletedPayload;
|
|
52
|
+
nodedialog_click_autoapply: ConfigurationCompletedPayload;
|
|
53
|
+
};
|
|
26
54
|
layouteditor_opened: {
|
|
27
55
|
canvas_ctxmenu_openlayouteditor: EmptyPayload;
|
|
28
56
|
keyboard_shortcut_openlayouteditor: EmptyPayload;
|
|
@@ -81,12 +109,29 @@ export interface AnalyticsEventSchema {
|
|
|
81
109
|
wftoolbar_button_: EmptyPayload;
|
|
82
110
|
keyboard_shortcut_: EmptyPayload;
|
|
83
111
|
};
|
|
112
|
+
version_created: {
|
|
113
|
+
versionhistorypanel_button_: EmptyPayload;
|
|
114
|
+
};
|
|
84
115
|
};
|
|
85
116
|
}
|
|
86
117
|
export interface KaiPromptedPayload {
|
|
87
118
|
nodeFactoryId?: string;
|
|
88
119
|
nodeType?: "node" | "component" | "metanode";
|
|
89
120
|
}
|
|
121
|
+
export interface ContainerNodeCreatedPayload {
|
|
122
|
+
nodeType: "component" | "metanode";
|
|
123
|
+
childrenNodes: {
|
|
124
|
+
nodeType: "component" | "metanode" | "node";
|
|
125
|
+
nodeFactoryId?: string;
|
|
126
|
+
}[];
|
|
127
|
+
}
|
|
128
|
+
export interface HintIdPayload {
|
|
129
|
+
hintId: string;
|
|
130
|
+
}
|
|
131
|
+
export interface ConfigurationCompletedPayload {
|
|
132
|
+
nodeFactoryId?: string;
|
|
133
|
+
state: "success" | "failed_invalid_setting";
|
|
134
|
+
}
|
|
90
135
|
export interface WorkflowSavedPayload {
|
|
91
136
|
isAutosyncEnabled: boolean;
|
|
92
137
|
}
|
|
@@ -25,7 +25,16 @@
|
|
|
25
25
|
"node_searched",
|
|
26
26
|
"sidepanel_opened",
|
|
27
27
|
"action_undone",
|
|
28
|
-
"action_redone"
|
|
28
|
+
"action_redone",
|
|
29
|
+
"configuration_completed",
|
|
30
|
+
"version_created",
|
|
31
|
+
"session_started",
|
|
32
|
+
"session_ended",
|
|
33
|
+
"session_interrupted",
|
|
34
|
+
"session_resumed",
|
|
35
|
+
"containernode_created",
|
|
36
|
+
"hint_shown",
|
|
37
|
+
"hint_closed"
|
|
29
38
|
],
|
|
30
39
|
"properties": {
|
|
31
40
|
"kai_prompted": {
|
|
@@ -44,6 +53,98 @@
|
|
|
44
53
|
}
|
|
45
54
|
}
|
|
46
55
|
},
|
|
56
|
+
"session_started": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"additionalProperties": false,
|
|
59
|
+
"required": ["autotrigger"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"autotrigger": {
|
|
62
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"session_ended": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"additionalProperties": false,
|
|
69
|
+
"required": [
|
|
70
|
+
"session_tab_closed",
|
|
71
|
+
"autotrigger_timedout_",
|
|
72
|
+
"autotrigger_disconnect_"
|
|
73
|
+
],
|
|
74
|
+
"properties": {
|
|
75
|
+
"session_tab_closed": {
|
|
76
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
77
|
+
},
|
|
78
|
+
"autotrigger_timedout_": {
|
|
79
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
80
|
+
},
|
|
81
|
+
"autotrigger_disconnect_": {
|
|
82
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"session_interrupted": {
|
|
87
|
+
"type": "object",
|
|
88
|
+
"additionalProperties": false,
|
|
89
|
+
"required": ["session_tab"],
|
|
90
|
+
"properties": {
|
|
91
|
+
"session_tab": {
|
|
92
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"session_resumed": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"required": ["session_tab"],
|
|
100
|
+
"properties": {
|
|
101
|
+
"session_tab": {
|
|
102
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"containernode_created": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"additionalProperties": false,
|
|
109
|
+
"required": ["canvas_ctxmenu_", "keyboard_shortcut_"],
|
|
110
|
+
"properties": {
|
|
111
|
+
"canvas_ctxmenu_": {
|
|
112
|
+
"$ref": "#/definitions/ContainerNodeCreatedPayload"
|
|
113
|
+
},
|
|
114
|
+
"keyboard_shortcut_": {
|
|
115
|
+
"$ref": "#/definitions/ContainerNodeCreatedPayload"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"hint_shown": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"additionalProperties": false,
|
|
122
|
+
"required": ["autotrigger"],
|
|
123
|
+
"properties": {
|
|
124
|
+
"autotrigger": { "$ref": "#/definitions/HintIdPayload" }
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"hint_closed": {
|
|
128
|
+
"type": "object",
|
|
129
|
+
"additionalProperties": false,
|
|
130
|
+
"required": ["hint_button_"],
|
|
131
|
+
"properties": {
|
|
132
|
+
"hint_button_": { "$ref": "#/definitions/HintIdPayload" }
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"configuration_completed": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"additionalProperties": false,
|
|
138
|
+
"required": ["nodedialog_button_apply", "nodedialog_click_autoapply"],
|
|
139
|
+
"properties": {
|
|
140
|
+
"nodedialog_button_apply": {
|
|
141
|
+
"$ref": "#/definitions/ConfigurationCompletedPayload"
|
|
142
|
+
},
|
|
143
|
+
"nodedialog_click_autoapply": {
|
|
144
|
+
"$ref": "#/definitions/ConfigurationCompletedPayload"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
47
148
|
"layouteditor_opened": {
|
|
48
149
|
"type": "object",
|
|
49
150
|
"additionalProperties": false,
|
|
@@ -263,6 +364,16 @@
|
|
|
263
364
|
"$ref": "#/definitions/EmptyPayload"
|
|
264
365
|
}
|
|
265
366
|
}
|
|
367
|
+
},
|
|
368
|
+
"version_created": {
|
|
369
|
+
"type": "object",
|
|
370
|
+
"additionalProperties": false,
|
|
371
|
+
"required": ["versionhistorypanel_button_"],
|
|
372
|
+
"properties": {
|
|
373
|
+
"versionhistorypanel_button_": {
|
|
374
|
+
"$ref": "#/definitions/EmptyPayload"
|
|
375
|
+
}
|
|
376
|
+
}
|
|
266
377
|
}
|
|
267
378
|
}
|
|
268
379
|
}
|
|
@@ -273,6 +384,48 @@
|
|
|
273
384
|
"additionalProperties": false,
|
|
274
385
|
"maxProperties": 0
|
|
275
386
|
},
|
|
387
|
+
"ContainerNodeCreatedPayload": {
|
|
388
|
+
"type": "object",
|
|
389
|
+
"additionalProperties": false,
|
|
390
|
+
"required": ["nodeType", "childrenNodes"],
|
|
391
|
+
"properties": {
|
|
392
|
+
"nodeType": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"enum": ["component", "metanode"]
|
|
395
|
+
},
|
|
396
|
+
"childrenNodes": {
|
|
397
|
+
"type": "array",
|
|
398
|
+
"items": {
|
|
399
|
+
"type": "object",
|
|
400
|
+
"additionalProperties": false,
|
|
401
|
+
"required": ["nodeType"],
|
|
402
|
+
"properties": {
|
|
403
|
+
"nodeType": {
|
|
404
|
+
"type": "string",
|
|
405
|
+
"enum": ["component", "metanode", "node"]
|
|
406
|
+
},
|
|
407
|
+
"nodeFactoryId": {
|
|
408
|
+
"type": "string"
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"ConfigurationCompletedPayload": {
|
|
416
|
+
"type": "object",
|
|
417
|
+
"additionalProperties": false,
|
|
418
|
+
"required": ["state"],
|
|
419
|
+
"properties": {
|
|
420
|
+
"nodeFactoryId": {
|
|
421
|
+
"type": "string"
|
|
422
|
+
},
|
|
423
|
+
"state": {
|
|
424
|
+
"type": "string",
|
|
425
|
+
"enum": ["success", "failed_invalid_setting"]
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
},
|
|
276
429
|
"WorkflowSavedPayload": {
|
|
277
430
|
"type": "object",
|
|
278
431
|
"additionalProperties": false,
|
|
@@ -467,6 +620,14 @@
|
|
|
467
620
|
"type": "string"
|
|
468
621
|
}
|
|
469
622
|
}
|
|
623
|
+
},
|
|
624
|
+
"HintIdPayload": {
|
|
625
|
+
"type": "object",
|
|
626
|
+
"additionalProperties": false,
|
|
627
|
+
"required": ["hintId"],
|
|
628
|
+
"properties": {
|
|
629
|
+
"hintId": { "type": "string" }
|
|
630
|
+
}
|
|
470
631
|
}
|
|
471
632
|
}
|
|
472
633
|
}
|