@knime/hub-features 2.0.0 → 2.1.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
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @knime/hub-features
|
|
2
2
|
|
|
3
|
+
## 2.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 966cc38: Adjust naming of payload properties for execution events
|
|
8
|
+
|
|
9
|
+
## 2.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 62b1106: Adjust editor execution instrumentation events
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- a898ba3: Add `realName` and `avatarUrl` to `UserIdentity`
|
|
18
|
+
|
|
3
19
|
## 2.0.0
|
|
4
20
|
|
|
5
21
|
### Major Changes
|
package/package.json
CHANGED
|
@@ -943,11 +943,36 @@ export const applyAndExecuteNodeConfig = <T extends DefaultContext>(ctx: T) => (
|
|
|
943
943
|
...toSnakeCaseDeep(ctx),
|
|
944
944
|
unique_event_id: crypto.randomUUID(),
|
|
945
945
|
timestamp: new Date().toISOString(),
|
|
946
|
-
event_name: "
|
|
946
|
+
event_name: "node_executed",
|
|
947
947
|
event_source: "editor",
|
|
948
|
-
event_display_name: "Node
|
|
948
|
+
event_display_name: "Node executed",
|
|
949
949
|
interaction: {
|
|
950
950
|
location: "node_configuration",
|
|
951
|
+
specification: "apply_and_execute",
|
|
952
|
+
trigger: "user",
|
|
953
|
+
type: "click",
|
|
954
|
+
},
|
|
955
|
+
} satisfies SchemaStaticFields & GeneratedStaticFields;
|
|
956
|
+
|
|
957
|
+
const event = { id: staticData.event_name, data: { ...staticData, payload: { ...toSnakeCaseDeep(eventData as Record<string, any>) } } };
|
|
958
|
+
|
|
959
|
+
return event;
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Fired when the user clicks Execute in the node configuration panel
|
|
964
|
+
*/
|
|
965
|
+
export const executeNodeConfig = <T extends DefaultContext>(ctx: T) => (eventData: EventFunctionArgs<"executeNodeConfig">): AnalyticsEvent => {
|
|
966
|
+
const staticData = {
|
|
967
|
+
...toSnakeCaseDeep(ctx),
|
|
968
|
+
unique_event_id: crypto.randomUUID(),
|
|
969
|
+
timestamp: new Date().toISOString(),
|
|
970
|
+
event_name: "node_executed",
|
|
971
|
+
event_source: "editor",
|
|
972
|
+
event_display_name: "Node executed",
|
|
973
|
+
interaction: {
|
|
974
|
+
location: "node_configuration",
|
|
975
|
+
specification: "execute",
|
|
951
976
|
trigger: "user",
|
|
952
977
|
type: "click",
|
|
953
978
|
},
|
|
@@ -1194,9 +1219,9 @@ export const executeAllNodesCtxMenu = <T extends DefaultContext>(ctx: T) => (eve
|
|
|
1194
1219
|
...toSnakeCaseDeep(ctx),
|
|
1195
1220
|
unique_event_id: crypto.randomUUID(),
|
|
1196
1221
|
timestamp: new Date().toISOString(),
|
|
1197
|
-
event_name: "
|
|
1222
|
+
event_name: "node_executed",
|
|
1198
1223
|
event_source: "editor",
|
|
1199
|
-
event_display_name: "
|
|
1224
|
+
event_display_name: "Node executed",
|
|
1200
1225
|
interaction: {
|
|
1201
1226
|
location: "canvas",
|
|
1202
1227
|
specification: "execute_all",
|
|
@@ -1219,9 +1244,9 @@ export const executeAllNodesKeyboard = <T extends DefaultContext>(ctx: T) => (ev
|
|
|
1219
1244
|
...toSnakeCaseDeep(ctx),
|
|
1220
1245
|
unique_event_id: crypto.randomUUID(),
|
|
1221
1246
|
timestamp: new Date().toISOString(),
|
|
1222
|
-
event_name: "
|
|
1247
|
+
event_name: "node_executed",
|
|
1223
1248
|
event_source: "editor",
|
|
1224
|
-
event_display_name: "
|
|
1249
|
+
event_display_name: "Node executed",
|
|
1225
1250
|
interaction: {
|
|
1226
1251
|
location: "global",
|
|
1227
1252
|
specification: "execute_all",
|
|
@@ -1243,9 +1268,9 @@ export const executeAllNodesToolbar = <T extends DefaultContext>(ctx: T) => (eve
|
|
|
1243
1268
|
...toSnakeCaseDeep(ctx),
|
|
1244
1269
|
unique_event_id: crypto.randomUUID(),
|
|
1245
1270
|
timestamp: new Date().toISOString(),
|
|
1246
|
-
event_name: "
|
|
1271
|
+
event_name: "node_executed",
|
|
1247
1272
|
event_source: "editor",
|
|
1248
|
-
event_display_name: "
|
|
1273
|
+
event_display_name: "Node executed",
|
|
1249
1274
|
interaction: {
|
|
1250
1275
|
location: "workflow_toolbar",
|
|
1251
1276
|
specification: "execute_all",
|
|
@@ -1267,9 +1292,9 @@ export const executeSelectedNodesCtxMenu = <T extends DefaultContext>(ctx: T) =>
|
|
|
1267
1292
|
...toSnakeCaseDeep(ctx),
|
|
1268
1293
|
unique_event_id: crypto.randomUUID(),
|
|
1269
1294
|
timestamp: new Date().toISOString(),
|
|
1270
|
-
event_name: "
|
|
1295
|
+
event_name: "node_executed",
|
|
1271
1296
|
event_source: "editor",
|
|
1272
|
-
event_display_name: "
|
|
1297
|
+
event_display_name: "Node executed",
|
|
1273
1298
|
interaction: {
|
|
1274
1299
|
location: "canvas",
|
|
1275
1300
|
specification: "execute",
|
|
@@ -1292,9 +1317,9 @@ export const executeSelectedNodesKeyboard = <T extends DefaultContext>(ctx: T) =
|
|
|
1292
1317
|
...toSnakeCaseDeep(ctx),
|
|
1293
1318
|
unique_event_id: crypto.randomUUID(),
|
|
1294
1319
|
timestamp: new Date().toISOString(),
|
|
1295
|
-
event_name: "
|
|
1320
|
+
event_name: "node_executed",
|
|
1296
1321
|
event_source: "editor",
|
|
1297
|
-
event_display_name: "
|
|
1322
|
+
event_display_name: "Node executed",
|
|
1298
1323
|
interaction: {
|
|
1299
1324
|
location: "global",
|
|
1300
1325
|
specification: "execute",
|
|
@@ -1316,9 +1341,9 @@ export const executeSelectedNodesToolbar = <T extends DefaultContext>(ctx: T) =>
|
|
|
1316
1341
|
...toSnakeCaseDeep(ctx),
|
|
1317
1342
|
unique_event_id: crypto.randomUUID(),
|
|
1318
1343
|
timestamp: new Date().toISOString(),
|
|
1319
|
-
event_name: "
|
|
1344
|
+
event_name: "node_executed",
|
|
1320
1345
|
event_source: "editor",
|
|
1321
|
-
event_display_name: "
|
|
1346
|
+
event_display_name: "Node executed",
|
|
1322
1347
|
interaction: {
|
|
1323
1348
|
location: "workflow_toolbar",
|
|
1324
1349
|
specification: "execute",
|
|
@@ -1340,9 +1365,9 @@ export const executeNodeActionBar = <T extends DefaultContext>(ctx: T) => (event
|
|
|
1340
1365
|
...toSnakeCaseDeep(ctx),
|
|
1341
1366
|
unique_event_id: crypto.randomUUID(),
|
|
1342
1367
|
timestamp: new Date().toISOString(),
|
|
1343
|
-
event_name: "
|
|
1368
|
+
event_name: "node_executed",
|
|
1344
1369
|
event_source: "editor",
|
|
1345
|
-
event_display_name: "Node
|
|
1370
|
+
event_display_name: "Node executed",
|
|
1346
1371
|
interaction: {
|
|
1347
1372
|
location: "canvas",
|
|
1348
1373
|
specification: "execute",
|
|
@@ -1365,9 +1390,9 @@ export const executeNodeFromMonitor = <T extends DefaultContext>(ctx: T) => (eve
|
|
|
1365
1390
|
...toSnakeCaseDeep(ctx),
|
|
1366
1391
|
unique_event_id: crypto.randomUUID(),
|
|
1367
1392
|
timestamp: new Date().toISOString(),
|
|
1368
|
-
event_name: "
|
|
1393
|
+
event_name: "node_executed",
|
|
1369
1394
|
event_source: "editor",
|
|
1370
|
-
event_display_name: "Node
|
|
1395
|
+
event_display_name: "Node executed",
|
|
1371
1396
|
interaction: {
|
|
1372
1397
|
location: "node_monitor",
|
|
1373
1398
|
trigger: "user",
|
|
@@ -1388,9 +1413,9 @@ export const resumeLoopExecutionKeyboard = <T extends DefaultContext>(ctx: T) =>
|
|
|
1388
1413
|
...toSnakeCaseDeep(ctx),
|
|
1389
1414
|
unique_event_id: crypto.randomUUID(),
|
|
1390
1415
|
timestamp: new Date().toISOString(),
|
|
1391
|
-
event_name: "
|
|
1416
|
+
event_name: "node_executed",
|
|
1392
1417
|
event_source: "editor",
|
|
1393
|
-
event_display_name: "Node
|
|
1418
|
+
event_display_name: "Node executed",
|
|
1394
1419
|
interaction: {
|
|
1395
1420
|
location: "global",
|
|
1396
1421
|
specification: "resume_loop",
|
|
@@ -1412,9 +1437,9 @@ export const resumeLoopExecutionActionBar = <T extends DefaultContext>(ctx: T) =
|
|
|
1412
1437
|
...toSnakeCaseDeep(ctx),
|
|
1413
1438
|
unique_event_id: crypto.randomUUID(),
|
|
1414
1439
|
timestamp: new Date().toISOString(),
|
|
1415
|
-
event_name: "
|
|
1440
|
+
event_name: "node_executed",
|
|
1416
1441
|
event_source: "editor",
|
|
1417
|
-
event_display_name: "Node
|
|
1442
|
+
event_display_name: "Node executed",
|
|
1418
1443
|
interaction: {
|
|
1419
1444
|
location: "canvas",
|
|
1420
1445
|
specification: "resume_loop",
|
|
@@ -1437,9 +1462,9 @@ export const stepLoopExecutionKeyboard = <T extends DefaultContext>(ctx: T) => (
|
|
|
1437
1462
|
...toSnakeCaseDeep(ctx),
|
|
1438
1463
|
unique_event_id: crypto.randomUUID(),
|
|
1439
1464
|
timestamp: new Date().toISOString(),
|
|
1440
|
-
event_name: "
|
|
1465
|
+
event_name: "node_executed",
|
|
1441
1466
|
event_source: "editor",
|
|
1442
|
-
event_display_name: "Node
|
|
1467
|
+
event_display_name: "Node executed",
|
|
1443
1468
|
interaction: {
|
|
1444
1469
|
location: "global",
|
|
1445
1470
|
specification: "step_loop",
|
|
@@ -1461,9 +1486,9 @@ export const stepLoopExecutionActionBar = <T extends DefaultContext>(ctx: T) =>
|
|
|
1461
1486
|
...toSnakeCaseDeep(ctx),
|
|
1462
1487
|
unique_event_id: crypto.randomUUID(),
|
|
1463
1488
|
timestamp: new Date().toISOString(),
|
|
1464
|
-
event_name: "
|
|
1489
|
+
event_name: "node_executed",
|
|
1465
1490
|
event_source: "editor",
|
|
1466
|
-
event_display_name: "Node
|
|
1491
|
+
event_display_name: "Node executed",
|
|
1467
1492
|
interaction: {
|
|
1468
1493
|
location: "canvas",
|
|
1469
1494
|
specification: "step_loop",
|
|
@@ -1486,9 +1511,9 @@ export const resumeLoopExecutionCtxMenu = <T extends DefaultContext>(ctx: T) =>
|
|
|
1486
1511
|
...toSnakeCaseDeep(ctx),
|
|
1487
1512
|
unique_event_id: crypto.randomUUID(),
|
|
1488
1513
|
timestamp: new Date().toISOString(),
|
|
1489
|
-
event_name: "
|
|
1514
|
+
event_name: "node_executed",
|
|
1490
1515
|
event_source: "editor",
|
|
1491
|
-
event_display_name: "Node
|
|
1516
|
+
event_display_name: "Node executed",
|
|
1492
1517
|
interaction: {
|
|
1493
1518
|
location: "canvas",
|
|
1494
1519
|
specification: "resume_loop",
|
|
@@ -1511,9 +1536,9 @@ export const stepLoopExecutionCtxMenu = <T extends DefaultContext>(ctx: T) => (e
|
|
|
1511
1536
|
...toSnakeCaseDeep(ctx),
|
|
1512
1537
|
unique_event_id: crypto.randomUUID(),
|
|
1513
1538
|
timestamp: new Date().toISOString(),
|
|
1514
|
-
event_name: "
|
|
1539
|
+
event_name: "node_executed",
|
|
1515
1540
|
event_source: "editor",
|
|
1516
|
-
event_display_name: "Node
|
|
1541
|
+
event_display_name: "Node executed",
|
|
1517
1542
|
interaction: {
|
|
1518
1543
|
location: "canvas",
|
|
1519
1544
|
specification: "step_loop",
|
|
@@ -618,11 +618,24 @@ export interface AnalyticsEventSchema {
|
|
|
618
618
|
payload: HintIdPayload;
|
|
619
619
|
};
|
|
620
620
|
applyAndExecuteNodeConfig: {
|
|
621
|
-
event_name: "
|
|
621
|
+
event_name: "node_executed";
|
|
622
622
|
event_source: "editor";
|
|
623
|
-
event_display_name: "Node
|
|
623
|
+
event_display_name: "Node executed";
|
|
624
624
|
interaction: {
|
|
625
625
|
location: "node_configuration";
|
|
626
|
+
specification?: "apply_and_execute";
|
|
627
|
+
trigger: InteractionTrigger & "user";
|
|
628
|
+
type: InteractionType & "click";
|
|
629
|
+
};
|
|
630
|
+
payload: NodeExecutionPayload;
|
|
631
|
+
};
|
|
632
|
+
executeNodeConfig: {
|
|
633
|
+
event_name: "node_executed";
|
|
634
|
+
event_source: "editor";
|
|
635
|
+
event_display_name: "Node executed";
|
|
636
|
+
interaction: {
|
|
637
|
+
location: "node_configuration";
|
|
638
|
+
specification?: "execute";
|
|
626
639
|
trigger: InteractionTrigger & "user";
|
|
627
640
|
type: InteractionType & "click";
|
|
628
641
|
};
|
|
@@ -812,9 +825,9 @@ export interface AnalyticsEventSchema {
|
|
|
812
825
|
payload: NodeMigrationRequestedPayload;
|
|
813
826
|
};
|
|
814
827
|
executeAllNodesCtxMenu: {
|
|
815
|
-
event_name: "
|
|
828
|
+
event_name: "node_executed";
|
|
816
829
|
event_source: "editor";
|
|
817
|
-
event_display_name: "
|
|
830
|
+
event_display_name: "Node executed";
|
|
818
831
|
interaction: {
|
|
819
832
|
location: "canvas";
|
|
820
833
|
specification?: "execute_all";
|
|
@@ -825,9 +838,9 @@ export interface AnalyticsEventSchema {
|
|
|
825
838
|
payload: NodeExecutionPayload;
|
|
826
839
|
};
|
|
827
840
|
executeAllNodesKeyboard: {
|
|
828
|
-
event_name: "
|
|
841
|
+
event_name: "node_executed";
|
|
829
842
|
event_source: "editor";
|
|
830
|
-
event_display_name: "
|
|
843
|
+
event_display_name: "Node executed";
|
|
831
844
|
interaction: {
|
|
832
845
|
location: "global";
|
|
833
846
|
specification?: "execute_all";
|
|
@@ -837,9 +850,9 @@ export interface AnalyticsEventSchema {
|
|
|
837
850
|
payload: NodeExecutionPayload;
|
|
838
851
|
};
|
|
839
852
|
executeAllNodesToolbar: {
|
|
840
|
-
event_name: "
|
|
853
|
+
event_name: "node_executed";
|
|
841
854
|
event_source: "editor";
|
|
842
|
-
event_display_name: "
|
|
855
|
+
event_display_name: "Node executed";
|
|
843
856
|
interaction: {
|
|
844
857
|
location: "workflow_toolbar";
|
|
845
858
|
specification?: "execute_all";
|
|
@@ -849,9 +862,9 @@ export interface AnalyticsEventSchema {
|
|
|
849
862
|
payload: NodeExecutionPayload;
|
|
850
863
|
};
|
|
851
864
|
executeSelectedNodesCtxMenu: {
|
|
852
|
-
event_name: "
|
|
865
|
+
event_name: "node_executed";
|
|
853
866
|
event_source: "editor";
|
|
854
|
-
event_display_name: "
|
|
867
|
+
event_display_name: "Node executed";
|
|
855
868
|
interaction: {
|
|
856
869
|
location: "canvas";
|
|
857
870
|
specification?: "execute";
|
|
@@ -862,9 +875,9 @@ export interface AnalyticsEventSchema {
|
|
|
862
875
|
payload: NodeExecutionPayload;
|
|
863
876
|
};
|
|
864
877
|
executeSelectedNodesKeyboard: {
|
|
865
|
-
event_name: "
|
|
878
|
+
event_name: "node_executed";
|
|
866
879
|
event_source: "editor";
|
|
867
|
-
event_display_name: "
|
|
880
|
+
event_display_name: "Node executed";
|
|
868
881
|
interaction: {
|
|
869
882
|
location: "global";
|
|
870
883
|
specification?: "execute";
|
|
@@ -874,9 +887,9 @@ export interface AnalyticsEventSchema {
|
|
|
874
887
|
payload: NodeExecutionPayload;
|
|
875
888
|
};
|
|
876
889
|
executeSelectedNodesToolbar: {
|
|
877
|
-
event_name: "
|
|
890
|
+
event_name: "node_executed";
|
|
878
891
|
event_source: "editor";
|
|
879
|
-
event_display_name: "
|
|
892
|
+
event_display_name: "Node executed";
|
|
880
893
|
interaction: {
|
|
881
894
|
location: "workflow_toolbar";
|
|
882
895
|
specification?: "execute";
|
|
@@ -886,9 +899,9 @@ export interface AnalyticsEventSchema {
|
|
|
886
899
|
payload: NodeExecutionPayload;
|
|
887
900
|
};
|
|
888
901
|
executeNodeActionBar: {
|
|
889
|
-
event_name: "
|
|
902
|
+
event_name: "node_executed";
|
|
890
903
|
event_source: "editor";
|
|
891
|
-
event_display_name: "Node
|
|
904
|
+
event_display_name: "Node executed";
|
|
892
905
|
interaction: {
|
|
893
906
|
location: "canvas";
|
|
894
907
|
specification?: "execute";
|
|
@@ -899,9 +912,9 @@ export interface AnalyticsEventSchema {
|
|
|
899
912
|
payload: NodeExecutionPayload;
|
|
900
913
|
};
|
|
901
914
|
executeNodeFromMonitor: {
|
|
902
|
-
event_name: "
|
|
915
|
+
event_name: "node_executed";
|
|
903
916
|
event_source: "editor";
|
|
904
|
-
event_display_name: "Node
|
|
917
|
+
event_display_name: "Node executed";
|
|
905
918
|
interaction: {
|
|
906
919
|
location: "node_monitor";
|
|
907
920
|
trigger: InteractionTrigger & "user";
|
|
@@ -910,9 +923,9 @@ export interface AnalyticsEventSchema {
|
|
|
910
923
|
payload: NodeExecutionPayload;
|
|
911
924
|
};
|
|
912
925
|
resumeLoopExecutionKeyboard: {
|
|
913
|
-
event_name: "
|
|
926
|
+
event_name: "node_executed";
|
|
914
927
|
event_source: "editor";
|
|
915
|
-
event_display_name: "Node
|
|
928
|
+
event_display_name: "Node executed";
|
|
916
929
|
interaction: {
|
|
917
930
|
location: "global";
|
|
918
931
|
specification?: "resume_loop";
|
|
@@ -922,9 +935,9 @@ export interface AnalyticsEventSchema {
|
|
|
922
935
|
payload: NodeExecutionPayload;
|
|
923
936
|
};
|
|
924
937
|
resumeLoopExecutionActionBar: {
|
|
925
|
-
event_name: "
|
|
938
|
+
event_name: "node_executed";
|
|
926
939
|
event_source: "editor";
|
|
927
|
-
event_display_name: "Node
|
|
940
|
+
event_display_name: "Node executed";
|
|
928
941
|
interaction: {
|
|
929
942
|
location: "canvas";
|
|
930
943
|
specification?: "resume_loop";
|
|
@@ -935,9 +948,9 @@ export interface AnalyticsEventSchema {
|
|
|
935
948
|
payload: NodeExecutionPayload;
|
|
936
949
|
};
|
|
937
950
|
stepLoopExecutionKeyboard: {
|
|
938
|
-
event_name: "
|
|
951
|
+
event_name: "node_executed";
|
|
939
952
|
event_source: "editor";
|
|
940
|
-
event_display_name: "Node
|
|
953
|
+
event_display_name: "Node executed";
|
|
941
954
|
interaction: {
|
|
942
955
|
location: "global";
|
|
943
956
|
specification?: "step_loop";
|
|
@@ -947,9 +960,9 @@ export interface AnalyticsEventSchema {
|
|
|
947
960
|
payload: NodeExecutionPayload;
|
|
948
961
|
};
|
|
949
962
|
stepLoopExecutionActionBar: {
|
|
950
|
-
event_name: "
|
|
963
|
+
event_name: "node_executed";
|
|
951
964
|
event_source: "editor";
|
|
952
|
-
event_display_name: "Node
|
|
965
|
+
event_display_name: "Node executed";
|
|
953
966
|
interaction: {
|
|
954
967
|
location: "canvas";
|
|
955
968
|
specification?: "step_loop";
|
|
@@ -960,9 +973,9 @@ export interface AnalyticsEventSchema {
|
|
|
960
973
|
payload: NodeExecutionPayload;
|
|
961
974
|
};
|
|
962
975
|
resumeLoopExecutionCtxMenu: {
|
|
963
|
-
event_name: "
|
|
976
|
+
event_name: "node_executed";
|
|
964
977
|
event_source: "editor";
|
|
965
|
-
event_display_name: "Node
|
|
978
|
+
event_display_name: "Node executed";
|
|
966
979
|
interaction: {
|
|
967
980
|
location: "canvas";
|
|
968
981
|
specification?: "resume_loop";
|
|
@@ -973,9 +986,9 @@ export interface AnalyticsEventSchema {
|
|
|
973
986
|
payload: NodeExecutionPayload;
|
|
974
987
|
};
|
|
975
988
|
stepLoopExecutionCtxMenu: {
|
|
976
|
-
event_name: "
|
|
989
|
+
event_name: "node_executed";
|
|
977
990
|
event_source: "editor";
|
|
978
|
-
event_display_name: "Node
|
|
991
|
+
event_display_name: "Node executed";
|
|
979
992
|
interaction: {
|
|
980
993
|
location: "canvas";
|
|
981
994
|
specification?: "step_loop";
|
|
@@ -1168,11 +1181,11 @@ export interface HintIdPayload {
|
|
|
1168
1181
|
hintId: string;
|
|
1169
1182
|
}
|
|
1170
1183
|
export interface NodeExecutionPayload {
|
|
1171
|
-
|
|
1184
|
+
nodes_executed: {
|
|
1172
1185
|
nodeType: "node" | "component" | "metanode";
|
|
1173
1186
|
nodeFactoryId?: string;
|
|
1174
1187
|
}[];
|
|
1175
|
-
|
|
1188
|
+
total_executed_nodes: number;
|
|
1176
1189
|
}
|
|
1177
1190
|
export interface ConfigurationCompletedPayload {
|
|
1178
1191
|
nodeFactoryId?: string;
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"additionalProperties": false,
|
|
17
17
|
"required": [
|
|
18
18
|
"applyAndExecuteNodeConfig",
|
|
19
|
+
"executeNodeConfig",
|
|
19
20
|
"kaiPromptedQA",
|
|
20
21
|
"kaiPromptedBuild",
|
|
21
22
|
"kaiPromptedQuickBuild",
|
|
@@ -3313,7 +3314,7 @@
|
|
|
3313
3314
|
"properties": {
|
|
3314
3315
|
"event_name": {
|
|
3315
3316
|
"type": "string",
|
|
3316
|
-
"const": "
|
|
3317
|
+
"const": "node_executed"
|
|
3317
3318
|
},
|
|
3318
3319
|
"event_source": {
|
|
3319
3320
|
"type": "string",
|
|
@@ -3321,7 +3322,7 @@
|
|
|
3321
3322
|
},
|
|
3322
3323
|
"event_display_name": {
|
|
3323
3324
|
"type": "string",
|
|
3324
|
-
"const": "Node
|
|
3325
|
+
"const": "Node executed"
|
|
3325
3326
|
},
|
|
3326
3327
|
"interaction": {
|
|
3327
3328
|
"type": "object",
|
|
@@ -3332,6 +3333,74 @@
|
|
|
3332
3333
|
"type": "string",
|
|
3333
3334
|
"const": "node_configuration"
|
|
3334
3335
|
},
|
|
3336
|
+
"specification": {
|
|
3337
|
+
"type": "string",
|
|
3338
|
+
"const": "apply_and_execute"
|
|
3339
|
+
},
|
|
3340
|
+
"trigger": {
|
|
3341
|
+
"allOf": [
|
|
3342
|
+
{
|
|
3343
|
+
"$ref": "#/definitions/InteractionTrigger"
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
"const": "user"
|
|
3347
|
+
}
|
|
3348
|
+
]
|
|
3349
|
+
},
|
|
3350
|
+
"type": {
|
|
3351
|
+
"allOf": [
|
|
3352
|
+
{
|
|
3353
|
+
"$ref": "#/definitions/InteractionType"
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
"const": "click"
|
|
3357
|
+
}
|
|
3358
|
+
]
|
|
3359
|
+
}
|
|
3360
|
+
}
|
|
3361
|
+
},
|
|
3362
|
+
"payload": {
|
|
3363
|
+
"$ref": "#/definitions/NodeExecutionPayload"
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
"executeNodeConfig": {
|
|
3368
|
+
"type": "object",
|
|
3369
|
+
"additionalProperties": false,
|
|
3370
|
+
"$comment": "Fired when the user clicks Execute in the node configuration panel",
|
|
3371
|
+
"required": [
|
|
3372
|
+
"event_name",
|
|
3373
|
+
"event_source",
|
|
3374
|
+
"event_display_name",
|
|
3375
|
+
"interaction",
|
|
3376
|
+
"payload"
|
|
3377
|
+
],
|
|
3378
|
+
"properties": {
|
|
3379
|
+
"event_name": {
|
|
3380
|
+
"type": "string",
|
|
3381
|
+
"const": "node_executed"
|
|
3382
|
+
},
|
|
3383
|
+
"event_source": {
|
|
3384
|
+
"type": "string",
|
|
3385
|
+
"const": "editor"
|
|
3386
|
+
},
|
|
3387
|
+
"event_display_name": {
|
|
3388
|
+
"type": "string",
|
|
3389
|
+
"const": "Node executed"
|
|
3390
|
+
},
|
|
3391
|
+
"interaction": {
|
|
3392
|
+
"type": "object",
|
|
3393
|
+
"additionalProperties": false,
|
|
3394
|
+
"required": ["location", "trigger", "type"],
|
|
3395
|
+
"properties": {
|
|
3396
|
+
"location": {
|
|
3397
|
+
"type": "string",
|
|
3398
|
+
"const": "node_configuration"
|
|
3399
|
+
},
|
|
3400
|
+
"specification": {
|
|
3401
|
+
"type": "string",
|
|
3402
|
+
"const": "execute"
|
|
3403
|
+
},
|
|
3335
3404
|
"trigger": {
|
|
3336
3405
|
"allOf": [
|
|
3337
3406
|
{
|
|
@@ -4352,7 +4421,7 @@
|
|
|
4352
4421
|
"properties": {
|
|
4353
4422
|
"event_name": {
|
|
4354
4423
|
"type": "string",
|
|
4355
|
-
"const": "
|
|
4424
|
+
"const": "node_executed"
|
|
4356
4425
|
},
|
|
4357
4426
|
"event_source": {
|
|
4358
4427
|
"type": "string",
|
|
@@ -4360,7 +4429,7 @@
|
|
|
4360
4429
|
},
|
|
4361
4430
|
"event_display_name": {
|
|
4362
4431
|
"type": "string",
|
|
4363
|
-
"const": "
|
|
4432
|
+
"const": "Node executed"
|
|
4364
4433
|
},
|
|
4365
4434
|
"interaction": {
|
|
4366
4435
|
"type": "object",
|
|
@@ -4420,7 +4489,7 @@
|
|
|
4420
4489
|
"properties": {
|
|
4421
4490
|
"event_name": {
|
|
4422
4491
|
"type": "string",
|
|
4423
|
-
"const": "
|
|
4492
|
+
"const": "node_executed"
|
|
4424
4493
|
},
|
|
4425
4494
|
"event_source": {
|
|
4426
4495
|
"type": "string",
|
|
@@ -4428,7 +4497,7 @@
|
|
|
4428
4497
|
},
|
|
4429
4498
|
"event_display_name": {
|
|
4430
4499
|
"type": "string",
|
|
4431
|
-
"const": "
|
|
4500
|
+
"const": "Node executed"
|
|
4432
4501
|
},
|
|
4433
4502
|
"interaction": {
|
|
4434
4503
|
"type": "object",
|
|
@@ -4484,7 +4553,7 @@
|
|
|
4484
4553
|
"properties": {
|
|
4485
4554
|
"event_name": {
|
|
4486
4555
|
"type": "string",
|
|
4487
|
-
"const": "
|
|
4556
|
+
"const": "node_executed"
|
|
4488
4557
|
},
|
|
4489
4558
|
"event_source": {
|
|
4490
4559
|
"type": "string",
|
|
@@ -4492,7 +4561,7 @@
|
|
|
4492
4561
|
},
|
|
4493
4562
|
"event_display_name": {
|
|
4494
4563
|
"type": "string",
|
|
4495
|
-
"const": "
|
|
4564
|
+
"const": "Node executed"
|
|
4496
4565
|
},
|
|
4497
4566
|
"interaction": {
|
|
4498
4567
|
"type": "object",
|
|
@@ -4548,7 +4617,7 @@
|
|
|
4548
4617
|
"properties": {
|
|
4549
4618
|
"event_name": {
|
|
4550
4619
|
"type": "string",
|
|
4551
|
-
"const": "
|
|
4620
|
+
"const": "node_executed"
|
|
4552
4621
|
},
|
|
4553
4622
|
"event_source": {
|
|
4554
4623
|
"type": "string",
|
|
@@ -4556,7 +4625,7 @@
|
|
|
4556
4625
|
},
|
|
4557
4626
|
"event_display_name": {
|
|
4558
4627
|
"type": "string",
|
|
4559
|
-
"const": "
|
|
4628
|
+
"const": "Node executed"
|
|
4560
4629
|
},
|
|
4561
4630
|
"interaction": {
|
|
4562
4631
|
"type": "object",
|
|
@@ -4616,7 +4685,7 @@
|
|
|
4616
4685
|
"properties": {
|
|
4617
4686
|
"event_name": {
|
|
4618
4687
|
"type": "string",
|
|
4619
|
-
"const": "
|
|
4688
|
+
"const": "node_executed"
|
|
4620
4689
|
},
|
|
4621
4690
|
"event_source": {
|
|
4622
4691
|
"type": "string",
|
|
@@ -4624,7 +4693,7 @@
|
|
|
4624
4693
|
},
|
|
4625
4694
|
"event_display_name": {
|
|
4626
4695
|
"type": "string",
|
|
4627
|
-
"const": "
|
|
4696
|
+
"const": "Node executed"
|
|
4628
4697
|
},
|
|
4629
4698
|
"interaction": {
|
|
4630
4699
|
"type": "object",
|
|
@@ -4680,7 +4749,7 @@
|
|
|
4680
4749
|
"properties": {
|
|
4681
4750
|
"event_name": {
|
|
4682
4751
|
"type": "string",
|
|
4683
|
-
"const": "
|
|
4752
|
+
"const": "node_executed"
|
|
4684
4753
|
},
|
|
4685
4754
|
"event_source": {
|
|
4686
4755
|
"type": "string",
|
|
@@ -4688,7 +4757,7 @@
|
|
|
4688
4757
|
},
|
|
4689
4758
|
"event_display_name": {
|
|
4690
4759
|
"type": "string",
|
|
4691
|
-
"const": "
|
|
4760
|
+
"const": "Node executed"
|
|
4692
4761
|
},
|
|
4693
4762
|
"interaction": {
|
|
4694
4763
|
"type": "object",
|
|
@@ -4744,7 +4813,7 @@
|
|
|
4744
4813
|
"properties": {
|
|
4745
4814
|
"event_name": {
|
|
4746
4815
|
"type": "string",
|
|
4747
|
-
"const": "
|
|
4816
|
+
"const": "node_executed"
|
|
4748
4817
|
},
|
|
4749
4818
|
"event_source": {
|
|
4750
4819
|
"type": "string",
|
|
@@ -4752,7 +4821,7 @@
|
|
|
4752
4821
|
},
|
|
4753
4822
|
"event_display_name": {
|
|
4754
4823
|
"type": "string",
|
|
4755
|
-
"const": "Node
|
|
4824
|
+
"const": "Node executed"
|
|
4756
4825
|
},
|
|
4757
4826
|
"interaction": {
|
|
4758
4827
|
"type": "object",
|
|
@@ -4812,7 +4881,7 @@
|
|
|
4812
4881
|
"properties": {
|
|
4813
4882
|
"event_name": {
|
|
4814
4883
|
"type": "string",
|
|
4815
|
-
"const": "
|
|
4884
|
+
"const": "node_executed"
|
|
4816
4885
|
},
|
|
4817
4886
|
"event_source": {
|
|
4818
4887
|
"type": "string",
|
|
@@ -4820,7 +4889,7 @@
|
|
|
4820
4889
|
},
|
|
4821
4890
|
"event_display_name": {
|
|
4822
4891
|
"type": "string",
|
|
4823
|
-
"const": "Node
|
|
4892
|
+
"const": "Node executed"
|
|
4824
4893
|
},
|
|
4825
4894
|
"interaction": {
|
|
4826
4895
|
"type": "object",
|
|
@@ -4872,7 +4941,7 @@
|
|
|
4872
4941
|
"properties": {
|
|
4873
4942
|
"event_name": {
|
|
4874
4943
|
"type": "string",
|
|
4875
|
-
"const": "
|
|
4944
|
+
"const": "node_executed"
|
|
4876
4945
|
},
|
|
4877
4946
|
"event_source": {
|
|
4878
4947
|
"type": "string",
|
|
@@ -4880,7 +4949,7 @@
|
|
|
4880
4949
|
},
|
|
4881
4950
|
"event_display_name": {
|
|
4882
4951
|
"type": "string",
|
|
4883
|
-
"const": "Node
|
|
4952
|
+
"const": "Node executed"
|
|
4884
4953
|
},
|
|
4885
4954
|
"interaction": {
|
|
4886
4955
|
"type": "object",
|
|
@@ -4936,7 +5005,7 @@
|
|
|
4936
5005
|
"properties": {
|
|
4937
5006
|
"event_name": {
|
|
4938
5007
|
"type": "string",
|
|
4939
|
-
"const": "
|
|
5008
|
+
"const": "node_executed"
|
|
4940
5009
|
},
|
|
4941
5010
|
"event_source": {
|
|
4942
5011
|
"type": "string",
|
|
@@ -4944,7 +5013,7 @@
|
|
|
4944
5013
|
},
|
|
4945
5014
|
"event_display_name": {
|
|
4946
5015
|
"type": "string",
|
|
4947
|
-
"const": "Node
|
|
5016
|
+
"const": "Node executed"
|
|
4948
5017
|
},
|
|
4949
5018
|
"interaction": {
|
|
4950
5019
|
"type": "object",
|
|
@@ -5004,7 +5073,7 @@
|
|
|
5004
5073
|
"properties": {
|
|
5005
5074
|
"event_name": {
|
|
5006
5075
|
"type": "string",
|
|
5007
|
-
"const": "
|
|
5076
|
+
"const": "node_executed"
|
|
5008
5077
|
},
|
|
5009
5078
|
"event_source": {
|
|
5010
5079
|
"type": "string",
|
|
@@ -5012,7 +5081,7 @@
|
|
|
5012
5081
|
},
|
|
5013
5082
|
"event_display_name": {
|
|
5014
5083
|
"type": "string",
|
|
5015
|
-
"const": "Node
|
|
5084
|
+
"const": "Node executed"
|
|
5016
5085
|
},
|
|
5017
5086
|
"interaction": {
|
|
5018
5087
|
"type": "object",
|
|
@@ -5068,7 +5137,7 @@
|
|
|
5068
5137
|
"properties": {
|
|
5069
5138
|
"event_name": {
|
|
5070
5139
|
"type": "string",
|
|
5071
|
-
"const": "
|
|
5140
|
+
"const": "node_executed"
|
|
5072
5141
|
},
|
|
5073
5142
|
"event_source": {
|
|
5074
5143
|
"type": "string",
|
|
@@ -5076,7 +5145,7 @@
|
|
|
5076
5145
|
},
|
|
5077
5146
|
"event_display_name": {
|
|
5078
5147
|
"type": "string",
|
|
5079
|
-
"const": "Node
|
|
5148
|
+
"const": "Node executed"
|
|
5080
5149
|
},
|
|
5081
5150
|
"interaction": {
|
|
5082
5151
|
"type": "object",
|
|
@@ -5136,7 +5205,7 @@
|
|
|
5136
5205
|
"properties": {
|
|
5137
5206
|
"event_name": {
|
|
5138
5207
|
"type": "string",
|
|
5139
|
-
"const": "
|
|
5208
|
+
"const": "node_executed"
|
|
5140
5209
|
},
|
|
5141
5210
|
"event_source": {
|
|
5142
5211
|
"type": "string",
|
|
@@ -5144,7 +5213,7 @@
|
|
|
5144
5213
|
},
|
|
5145
5214
|
"event_display_name": {
|
|
5146
5215
|
"type": "string",
|
|
5147
|
-
"const": "Node
|
|
5216
|
+
"const": "Node executed"
|
|
5148
5217
|
},
|
|
5149
5218
|
"interaction": {
|
|
5150
5219
|
"type": "object",
|
|
@@ -5204,7 +5273,7 @@
|
|
|
5204
5273
|
"properties": {
|
|
5205
5274
|
"event_name": {
|
|
5206
5275
|
"type": "string",
|
|
5207
|
-
"const": "
|
|
5276
|
+
"const": "node_executed"
|
|
5208
5277
|
},
|
|
5209
5278
|
"event_source": {
|
|
5210
5279
|
"type": "string",
|
|
@@ -5212,7 +5281,7 @@
|
|
|
5212
5281
|
},
|
|
5213
5282
|
"event_display_name": {
|
|
5214
5283
|
"type": "string",
|
|
5215
|
-
"const": "Node
|
|
5284
|
+
"const": "Node executed"
|
|
5216
5285
|
},
|
|
5217
5286
|
"interaction": {
|
|
5218
5287
|
"type": "object",
|
|
@@ -6271,9 +6340,9 @@
|
|
|
6271
6340
|
"NodeExecutionPayload": {
|
|
6272
6341
|
"type": "object",
|
|
6273
6342
|
"additionalProperties": false,
|
|
6274
|
-
"required": ["
|
|
6343
|
+
"required": ["nodes_executed", "total_executed_nodes"],
|
|
6275
6344
|
"properties": {
|
|
6276
|
-
"
|
|
6345
|
+
"nodes_executed": {
|
|
6277
6346
|
"type": "array",
|
|
6278
6347
|
"items": {
|
|
6279
6348
|
"type": "object",
|
|
@@ -6290,7 +6359,7 @@
|
|
|
6290
6359
|
}
|
|
6291
6360
|
}
|
|
6292
6361
|
},
|
|
6293
|
-
"
|
|
6362
|
+
"total_executed_nodes": {
|
|
6294
6363
|
"type": "number"
|
|
6295
6364
|
}
|
|
6296
6365
|
}
|