@objectstack/service-automation 9.8.0 → 9.9.0
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/dist/index.cjs +32 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +32 -6
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -869,6 +869,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
869
869
|
currencyMode: "fixed" | "dynamic";
|
|
870
870
|
defaultCurrency: string;
|
|
871
871
|
} | undefined;
|
|
872
|
+
dimensions?: number | undefined;
|
|
872
873
|
vectorConfig?: {
|
|
873
874
|
dimensions: number;
|
|
874
875
|
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
@@ -1453,6 +1454,8 @@ declare const SysAutomationRun: Omit<{
|
|
|
1453
1454
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
1454
1455
|
confirmText?: string | undefined;
|
|
1455
1456
|
successMessage?: string | undefined;
|
|
1457
|
+
errorMessage?: string | undefined;
|
|
1458
|
+
undoable?: boolean | undefined;
|
|
1456
1459
|
resultDialog?: {
|
|
1457
1460
|
title?: string | undefined;
|
|
1458
1461
|
description?: string | undefined;
|
|
@@ -1553,6 +1556,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
1553
1556
|
readonly system?: boolean | undefined;
|
|
1554
1557
|
readonly min?: number | undefined;
|
|
1555
1558
|
readonly max?: number | undefined;
|
|
1559
|
+
readonly dimensions?: number | undefined;
|
|
1556
1560
|
readonly columnName?: string | undefined;
|
|
1557
1561
|
readonly searchable?: boolean | undefined;
|
|
1558
1562
|
readonly unique?: boolean | undefined;
|
|
@@ -1707,6 +1711,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
1707
1711
|
readonly system?: boolean | undefined;
|
|
1708
1712
|
readonly min?: number | undefined;
|
|
1709
1713
|
readonly max?: number | undefined;
|
|
1714
|
+
readonly dimensions?: number | undefined;
|
|
1710
1715
|
readonly columnName?: string | undefined;
|
|
1711
1716
|
readonly searchable?: boolean | undefined;
|
|
1712
1717
|
readonly unique?: boolean | undefined;
|
|
@@ -1861,6 +1866,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
1861
1866
|
readonly system?: boolean | undefined;
|
|
1862
1867
|
readonly min?: number | undefined;
|
|
1863
1868
|
readonly max?: number | undefined;
|
|
1869
|
+
readonly dimensions?: number | undefined;
|
|
1864
1870
|
readonly columnName?: string | undefined;
|
|
1865
1871
|
readonly searchable?: boolean | undefined;
|
|
1866
1872
|
readonly unique?: boolean | undefined;
|
|
@@ -2015,6 +2021,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2015
2021
|
readonly system?: boolean | undefined;
|
|
2016
2022
|
readonly min?: number | undefined;
|
|
2017
2023
|
readonly max?: number | undefined;
|
|
2024
|
+
readonly dimensions?: number | undefined;
|
|
2018
2025
|
readonly columnName?: string | undefined;
|
|
2019
2026
|
readonly searchable?: boolean | undefined;
|
|
2020
2027
|
readonly unique?: boolean | undefined;
|
|
@@ -2169,6 +2176,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2169
2176
|
readonly system?: boolean | undefined;
|
|
2170
2177
|
readonly min?: number | undefined;
|
|
2171
2178
|
readonly max?: number | undefined;
|
|
2179
|
+
readonly dimensions?: number | undefined;
|
|
2172
2180
|
readonly columnName?: string | undefined;
|
|
2173
2181
|
readonly searchable?: boolean | undefined;
|
|
2174
2182
|
readonly unique?: boolean | undefined;
|
|
@@ -2323,6 +2331,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2323
2331
|
readonly system?: boolean | undefined;
|
|
2324
2332
|
readonly min?: number | undefined;
|
|
2325
2333
|
readonly max?: number | undefined;
|
|
2334
|
+
readonly dimensions?: number | undefined;
|
|
2326
2335
|
readonly columnName?: string | undefined;
|
|
2327
2336
|
readonly searchable?: boolean | undefined;
|
|
2328
2337
|
readonly unique?: boolean | undefined;
|
|
@@ -2477,6 +2486,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2477
2486
|
readonly system?: boolean | undefined;
|
|
2478
2487
|
readonly min?: number | undefined;
|
|
2479
2488
|
readonly max?: number | undefined;
|
|
2489
|
+
readonly dimensions?: number | undefined;
|
|
2480
2490
|
readonly columnName?: string | undefined;
|
|
2481
2491
|
readonly searchable?: boolean | undefined;
|
|
2482
2492
|
readonly unique?: boolean | undefined;
|
|
@@ -2631,6 +2641,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2631
2641
|
readonly system?: boolean | undefined;
|
|
2632
2642
|
readonly min?: number | undefined;
|
|
2633
2643
|
readonly max?: number | undefined;
|
|
2644
|
+
readonly dimensions?: number | undefined;
|
|
2634
2645
|
readonly columnName?: string | undefined;
|
|
2635
2646
|
readonly searchable?: boolean | undefined;
|
|
2636
2647
|
readonly unique?: boolean | undefined;
|
|
@@ -2785,6 +2796,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2785
2796
|
readonly system?: boolean | undefined;
|
|
2786
2797
|
readonly min?: number | undefined;
|
|
2787
2798
|
readonly max?: number | undefined;
|
|
2799
|
+
readonly dimensions?: number | undefined;
|
|
2788
2800
|
readonly columnName?: string | undefined;
|
|
2789
2801
|
readonly searchable?: boolean | undefined;
|
|
2790
2802
|
readonly unique?: boolean | undefined;
|
|
@@ -2939,6 +2951,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2939
2951
|
readonly system?: boolean | undefined;
|
|
2940
2952
|
readonly min?: number | undefined;
|
|
2941
2953
|
readonly max?: number | undefined;
|
|
2954
|
+
readonly dimensions?: number | undefined;
|
|
2942
2955
|
readonly columnName?: string | undefined;
|
|
2943
2956
|
readonly searchable?: boolean | undefined;
|
|
2944
2957
|
readonly unique?: boolean | undefined;
|
|
@@ -3093,6 +3106,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3093
3106
|
readonly system?: boolean | undefined;
|
|
3094
3107
|
readonly min?: number | undefined;
|
|
3095
3108
|
readonly max?: number | undefined;
|
|
3109
|
+
readonly dimensions?: number | undefined;
|
|
3096
3110
|
readonly columnName?: string | undefined;
|
|
3097
3111
|
readonly searchable?: boolean | undefined;
|
|
3098
3112
|
readonly unique?: boolean | undefined;
|
|
@@ -3247,6 +3261,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3247
3261
|
readonly system?: boolean | undefined;
|
|
3248
3262
|
readonly min?: number | undefined;
|
|
3249
3263
|
readonly max?: number | undefined;
|
|
3264
|
+
readonly dimensions?: number | undefined;
|
|
3250
3265
|
readonly columnName?: string | undefined;
|
|
3251
3266
|
readonly searchable?: boolean | undefined;
|
|
3252
3267
|
readonly unique?: boolean | undefined;
|
|
@@ -3401,6 +3416,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3401
3416
|
readonly system?: boolean | undefined;
|
|
3402
3417
|
readonly min?: number | undefined;
|
|
3403
3418
|
readonly max?: number | undefined;
|
|
3419
|
+
readonly dimensions?: number | undefined;
|
|
3404
3420
|
readonly columnName?: string | undefined;
|
|
3405
3421
|
readonly searchable?: boolean | undefined;
|
|
3406
3422
|
readonly unique?: boolean | undefined;
|
|
@@ -3555,6 +3571,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3555
3571
|
readonly system?: boolean | undefined;
|
|
3556
3572
|
readonly min?: number | undefined;
|
|
3557
3573
|
readonly max?: number | undefined;
|
|
3574
|
+
readonly dimensions?: number | undefined;
|
|
3558
3575
|
readonly columnName?: string | undefined;
|
|
3559
3576
|
readonly searchable?: boolean | undefined;
|
|
3560
3577
|
readonly unique?: boolean | undefined;
|
|
@@ -3709,6 +3726,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3709
3726
|
readonly system?: boolean | undefined;
|
|
3710
3727
|
readonly min?: number | undefined;
|
|
3711
3728
|
readonly max?: number | undefined;
|
|
3729
|
+
readonly dimensions?: number | undefined;
|
|
3712
3730
|
readonly columnName?: string | undefined;
|
|
3713
3731
|
readonly searchable?: boolean | undefined;
|
|
3714
3732
|
readonly unique?: boolean | undefined;
|
|
@@ -3863,6 +3881,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3863
3881
|
readonly system?: boolean | undefined;
|
|
3864
3882
|
readonly min?: number | undefined;
|
|
3865
3883
|
readonly max?: number | undefined;
|
|
3884
|
+
readonly dimensions?: number | undefined;
|
|
3866
3885
|
readonly columnName?: string | undefined;
|
|
3867
3886
|
readonly searchable?: boolean | undefined;
|
|
3868
3887
|
readonly unique?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -869,6 +869,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
869
869
|
currencyMode: "fixed" | "dynamic";
|
|
870
870
|
defaultCurrency: string;
|
|
871
871
|
} | undefined;
|
|
872
|
+
dimensions?: number | undefined;
|
|
872
873
|
vectorConfig?: {
|
|
873
874
|
dimensions: number;
|
|
874
875
|
distanceMetric: "cosine" | "euclidean" | "dotProduct" | "manhattan";
|
|
@@ -1453,6 +1454,8 @@ declare const SysAutomationRun: Omit<{
|
|
|
1453
1454
|
variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
|
|
1454
1455
|
confirmText?: string | undefined;
|
|
1455
1456
|
successMessage?: string | undefined;
|
|
1457
|
+
errorMessage?: string | undefined;
|
|
1458
|
+
undoable?: boolean | undefined;
|
|
1456
1459
|
resultDialog?: {
|
|
1457
1460
|
title?: string | undefined;
|
|
1458
1461
|
description?: string | undefined;
|
|
@@ -1553,6 +1556,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
1553
1556
|
readonly system?: boolean | undefined;
|
|
1554
1557
|
readonly min?: number | undefined;
|
|
1555
1558
|
readonly max?: number | undefined;
|
|
1559
|
+
readonly dimensions?: number | undefined;
|
|
1556
1560
|
readonly columnName?: string | undefined;
|
|
1557
1561
|
readonly searchable?: boolean | undefined;
|
|
1558
1562
|
readonly unique?: boolean | undefined;
|
|
@@ -1707,6 +1711,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
1707
1711
|
readonly system?: boolean | undefined;
|
|
1708
1712
|
readonly min?: number | undefined;
|
|
1709
1713
|
readonly max?: number | undefined;
|
|
1714
|
+
readonly dimensions?: number | undefined;
|
|
1710
1715
|
readonly columnName?: string | undefined;
|
|
1711
1716
|
readonly searchable?: boolean | undefined;
|
|
1712
1717
|
readonly unique?: boolean | undefined;
|
|
@@ -1861,6 +1866,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
1861
1866
|
readonly system?: boolean | undefined;
|
|
1862
1867
|
readonly min?: number | undefined;
|
|
1863
1868
|
readonly max?: number | undefined;
|
|
1869
|
+
readonly dimensions?: number | undefined;
|
|
1864
1870
|
readonly columnName?: string | undefined;
|
|
1865
1871
|
readonly searchable?: boolean | undefined;
|
|
1866
1872
|
readonly unique?: boolean | undefined;
|
|
@@ -2015,6 +2021,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2015
2021
|
readonly system?: boolean | undefined;
|
|
2016
2022
|
readonly min?: number | undefined;
|
|
2017
2023
|
readonly max?: number | undefined;
|
|
2024
|
+
readonly dimensions?: number | undefined;
|
|
2018
2025
|
readonly columnName?: string | undefined;
|
|
2019
2026
|
readonly searchable?: boolean | undefined;
|
|
2020
2027
|
readonly unique?: boolean | undefined;
|
|
@@ -2169,6 +2176,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2169
2176
|
readonly system?: boolean | undefined;
|
|
2170
2177
|
readonly min?: number | undefined;
|
|
2171
2178
|
readonly max?: number | undefined;
|
|
2179
|
+
readonly dimensions?: number | undefined;
|
|
2172
2180
|
readonly columnName?: string | undefined;
|
|
2173
2181
|
readonly searchable?: boolean | undefined;
|
|
2174
2182
|
readonly unique?: boolean | undefined;
|
|
@@ -2323,6 +2331,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2323
2331
|
readonly system?: boolean | undefined;
|
|
2324
2332
|
readonly min?: number | undefined;
|
|
2325
2333
|
readonly max?: number | undefined;
|
|
2334
|
+
readonly dimensions?: number | undefined;
|
|
2326
2335
|
readonly columnName?: string | undefined;
|
|
2327
2336
|
readonly searchable?: boolean | undefined;
|
|
2328
2337
|
readonly unique?: boolean | undefined;
|
|
@@ -2477,6 +2486,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2477
2486
|
readonly system?: boolean | undefined;
|
|
2478
2487
|
readonly min?: number | undefined;
|
|
2479
2488
|
readonly max?: number | undefined;
|
|
2489
|
+
readonly dimensions?: number | undefined;
|
|
2480
2490
|
readonly columnName?: string | undefined;
|
|
2481
2491
|
readonly searchable?: boolean | undefined;
|
|
2482
2492
|
readonly unique?: boolean | undefined;
|
|
@@ -2631,6 +2641,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2631
2641
|
readonly system?: boolean | undefined;
|
|
2632
2642
|
readonly min?: number | undefined;
|
|
2633
2643
|
readonly max?: number | undefined;
|
|
2644
|
+
readonly dimensions?: number | undefined;
|
|
2634
2645
|
readonly columnName?: string | undefined;
|
|
2635
2646
|
readonly searchable?: boolean | undefined;
|
|
2636
2647
|
readonly unique?: boolean | undefined;
|
|
@@ -2785,6 +2796,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2785
2796
|
readonly system?: boolean | undefined;
|
|
2786
2797
|
readonly min?: number | undefined;
|
|
2787
2798
|
readonly max?: number | undefined;
|
|
2799
|
+
readonly dimensions?: number | undefined;
|
|
2788
2800
|
readonly columnName?: string | undefined;
|
|
2789
2801
|
readonly searchable?: boolean | undefined;
|
|
2790
2802
|
readonly unique?: boolean | undefined;
|
|
@@ -2939,6 +2951,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
2939
2951
|
readonly system?: boolean | undefined;
|
|
2940
2952
|
readonly min?: number | undefined;
|
|
2941
2953
|
readonly max?: number | undefined;
|
|
2954
|
+
readonly dimensions?: number | undefined;
|
|
2942
2955
|
readonly columnName?: string | undefined;
|
|
2943
2956
|
readonly searchable?: boolean | undefined;
|
|
2944
2957
|
readonly unique?: boolean | undefined;
|
|
@@ -3093,6 +3106,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3093
3106
|
readonly system?: boolean | undefined;
|
|
3094
3107
|
readonly min?: number | undefined;
|
|
3095
3108
|
readonly max?: number | undefined;
|
|
3109
|
+
readonly dimensions?: number | undefined;
|
|
3096
3110
|
readonly columnName?: string | undefined;
|
|
3097
3111
|
readonly searchable?: boolean | undefined;
|
|
3098
3112
|
readonly unique?: boolean | undefined;
|
|
@@ -3247,6 +3261,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3247
3261
|
readonly system?: boolean | undefined;
|
|
3248
3262
|
readonly min?: number | undefined;
|
|
3249
3263
|
readonly max?: number | undefined;
|
|
3264
|
+
readonly dimensions?: number | undefined;
|
|
3250
3265
|
readonly columnName?: string | undefined;
|
|
3251
3266
|
readonly searchable?: boolean | undefined;
|
|
3252
3267
|
readonly unique?: boolean | undefined;
|
|
@@ -3401,6 +3416,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3401
3416
|
readonly system?: boolean | undefined;
|
|
3402
3417
|
readonly min?: number | undefined;
|
|
3403
3418
|
readonly max?: number | undefined;
|
|
3419
|
+
readonly dimensions?: number | undefined;
|
|
3404
3420
|
readonly columnName?: string | undefined;
|
|
3405
3421
|
readonly searchable?: boolean | undefined;
|
|
3406
3422
|
readonly unique?: boolean | undefined;
|
|
@@ -3555,6 +3571,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3555
3571
|
readonly system?: boolean | undefined;
|
|
3556
3572
|
readonly min?: number | undefined;
|
|
3557
3573
|
readonly max?: number | undefined;
|
|
3574
|
+
readonly dimensions?: number | undefined;
|
|
3558
3575
|
readonly columnName?: string | undefined;
|
|
3559
3576
|
readonly searchable?: boolean | undefined;
|
|
3560
3577
|
readonly unique?: boolean | undefined;
|
|
@@ -3709,6 +3726,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3709
3726
|
readonly system?: boolean | undefined;
|
|
3710
3727
|
readonly min?: number | undefined;
|
|
3711
3728
|
readonly max?: number | undefined;
|
|
3729
|
+
readonly dimensions?: number | undefined;
|
|
3712
3730
|
readonly columnName?: string | undefined;
|
|
3713
3731
|
readonly searchable?: boolean | undefined;
|
|
3714
3732
|
readonly unique?: boolean | undefined;
|
|
@@ -3863,6 +3881,7 @@ declare const SysAutomationRun: Omit<{
|
|
|
3863
3881
|
readonly system?: boolean | undefined;
|
|
3864
3882
|
readonly min?: number | undefined;
|
|
3865
3883
|
readonly max?: number | undefined;
|
|
3884
|
+
readonly dimensions?: number | undefined;
|
|
3866
3885
|
readonly columnName?: string | undefined;
|
|
3867
3886
|
readonly searchable?: boolean | undefined;
|
|
3868
3887
|
readonly unique?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -728,7 +728,7 @@ var _AutomationEngine = class _AutomationEngine {
|
|
|
728
728
|
if (!skipBubble) {
|
|
729
729
|
await this.bubbleToParent(run, output);
|
|
730
730
|
}
|
|
731
|
-
return { success: true, output, durationMs };
|
|
731
|
+
return { success: true, output, durationMs, successMessage: flow.successMessage };
|
|
732
732
|
} catch (err) {
|
|
733
733
|
if (isSuspendSignal(err)) {
|
|
734
734
|
const durationMs2 = Date.now() - run.startTime;
|
|
@@ -777,7 +777,7 @@ var _AutomationEngine = class _AutomationEngine {
|
|
|
777
777
|
if (!skipBubble) {
|
|
778
778
|
await this.failAncestors(run.context, errorMessage);
|
|
779
779
|
}
|
|
780
|
-
return { success: false, error: errorMessage, durationMs };
|
|
780
|
+
return { success: false, error: errorMessage, durationMs, errorMessage: flow.errorMessage };
|
|
781
781
|
}
|
|
782
782
|
} finally {
|
|
783
783
|
this.resuming.delete(runId);
|
|
@@ -2351,8 +2351,34 @@ function registerScreenNodes(engine, ctx) {
|
|
|
2351
2351
|
supportsPause: true,
|
|
2352
2352
|
isAsync: true
|
|
2353
2353
|
}),
|
|
2354
|
-
async execute(node,
|
|
2354
|
+
async execute(node, variables, context) {
|
|
2355
2355
|
const cfg = node.config ?? {};
|
|
2356
|
+
const interp = (v) => {
|
|
2357
|
+
if (v == null) return void 0;
|
|
2358
|
+
const r = interpolate(v, variables, context);
|
|
2359
|
+
return r == null ? void 0 : String(r);
|
|
2360
|
+
};
|
|
2361
|
+
const objectName = typeof cfg.objectName === "string" && cfg.objectName.trim() ? cfg.objectName.trim() : void 0;
|
|
2362
|
+
if (objectName) {
|
|
2363
|
+
const defaults = cfg.defaults && typeof cfg.defaults === "object" ? interpolate(cfg.defaults, variables, context) : void 0;
|
|
2364
|
+
const idVariable = typeof cfg.idVariable === "string" && cfg.idVariable.trim() ? cfg.idVariable.trim() : void 0;
|
|
2365
|
+
return {
|
|
2366
|
+
success: true,
|
|
2367
|
+
suspend: true,
|
|
2368
|
+
screen: {
|
|
2369
|
+
nodeId: node.id,
|
|
2370
|
+
kind: "object-form",
|
|
2371
|
+
title: interp(cfg.title) ?? node.label ?? objectName,
|
|
2372
|
+
description: interp(cfg.description),
|
|
2373
|
+
objectName,
|
|
2374
|
+
mode: cfg.mode === "edit" ? "edit" : "create",
|
|
2375
|
+
recordId: cfg.recordId != null ? interp(cfg.recordId) : void 0,
|
|
2376
|
+
defaults,
|
|
2377
|
+
idVariable,
|
|
2378
|
+
fields: []
|
|
2379
|
+
}
|
|
2380
|
+
};
|
|
2381
|
+
}
|
|
2356
2382
|
const rawFields = Array.isArray(cfg.fields) ? cfg.fields : [];
|
|
2357
2383
|
const hasFields = rawFields.length > 0;
|
|
2358
2384
|
const shouldPause = cfg.waitForInput === true || hasFields && cfg.waitForInput !== false;
|
|
@@ -2365,7 +2391,7 @@ function registerScreenNodes(engine, ctx) {
|
|
|
2365
2391
|
type: f.type != null ? String(f.type) : void 0,
|
|
2366
2392
|
required: f.required === true,
|
|
2367
2393
|
options: Array.isArray(f.options) ? f.options : void 0,
|
|
2368
|
-
defaultValue: f.defaultValue,
|
|
2394
|
+
defaultValue: f.defaultValue !== void 0 ? interpolate(f.defaultValue, variables, context) : void 0,
|
|
2369
2395
|
placeholder: f.placeholder != null ? String(f.placeholder) : void 0
|
|
2370
2396
|
})).filter((f) => f.name.length > 0);
|
|
2371
2397
|
return {
|
|
@@ -2373,8 +2399,8 @@ function registerScreenNodes(engine, ctx) {
|
|
|
2373
2399
|
suspend: true,
|
|
2374
2400
|
screen: {
|
|
2375
2401
|
nodeId: node.id,
|
|
2376
|
-
title: cfg.title ?? node.label ?? "Input",
|
|
2377
|
-
description: cfg.description,
|
|
2402
|
+
title: interp(cfg.title) ?? node.label ?? "Input",
|
|
2403
|
+
description: interp(cfg.description),
|
|
2378
2404
|
fields
|
|
2379
2405
|
}
|
|
2380
2406
|
};
|