@elyra/pipeline-schemas 3.0.102 → 3.0.107
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/.github/workflows/build.yml +6 -4
- package/.github/workflows/publish.yml +14 -7
- package/common-pipeline/pipeline-flow/pipeline-flow-ui-v3-schema.json +14 -5
- package/common-pipeline/pipeline-flow/pipeline-flow-v3-schema.json +6 -0
- package/package.json +2 -2
- package/types/canvas-info-v3.d.ts +4 -16
- package/types/palette-v3.d.ts +11 -5
- package/types/pipeline-flow-v3.d.ts +34 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
# Copyright 2025 Elyra Authors
|
|
2
|
+
# Copyright 2025-2026 Elyra Authors
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -29,10 +29,12 @@ concurrency:
|
|
|
29
29
|
jobs:
|
|
30
30
|
build:
|
|
31
31
|
runs-on: ubuntu-latest
|
|
32
|
+
env:
|
|
33
|
+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
32
34
|
steps:
|
|
33
|
-
- uses: actions/checkout@
|
|
35
|
+
- uses: actions/checkout@v6
|
|
34
36
|
- name: Use Node.js
|
|
35
|
-
uses: actions/setup-node@
|
|
37
|
+
uses: actions/setup-node@v6
|
|
36
38
|
with:
|
|
37
|
-
node-version:
|
|
39
|
+
node-version: 24.x
|
|
38
40
|
- run: ./scripts/generateTS.sh
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#
|
|
2
|
-
# Copyright 2017-
|
|
2
|
+
# Copyright 2017-2026 Elyra Authors
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
@@ -22,16 +22,23 @@ jobs:
|
|
|
22
22
|
publish:
|
|
23
23
|
if: "!contains(github.event.commits[0].message, '[skip ci]')"
|
|
24
24
|
runs-on: ubuntu-latest
|
|
25
|
+
permissions:
|
|
26
|
+
contents: read
|
|
27
|
+
id-token: write # Required for OIDC authentication
|
|
28
|
+
env:
|
|
29
|
+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
25
30
|
steps:
|
|
26
|
-
- uses: actions/checkout@
|
|
31
|
+
- uses: actions/checkout@v6
|
|
27
32
|
with:
|
|
28
33
|
token: ${{ secrets.GIT_TOKEN }}
|
|
34
|
+
fetch-depth: 0
|
|
35
|
+
- name: Pull latest changes
|
|
36
|
+
run: git pull origin main
|
|
29
37
|
- name: Use Node.js
|
|
30
|
-
uses: actions/setup-node@
|
|
38
|
+
uses: actions/setup-node@v6
|
|
31
39
|
with:
|
|
32
|
-
node-version:
|
|
40
|
+
node-version: 24.x
|
|
41
|
+
registry-url: 'https://registry.npmjs.org'
|
|
42
|
+
- run: node -v && npm -v
|
|
33
43
|
- run: ./scripts/generateTS.sh
|
|
34
44
|
- run: ./scripts/publish_modules.sh
|
|
35
|
-
env:
|
|
36
|
-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
37
|
-
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"type": "boolean"
|
|
221
221
|
},
|
|
222
222
|
"decorations": {
|
|
223
|
-
"description": "Array of decorations used to decorate
|
|
223
|
+
"description": "Array of decorations used to decorate the node",
|
|
224
224
|
"type": "array",
|
|
225
225
|
"minItems": 0,
|
|
226
226
|
"items": {
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
"type": ["string", "object"]
|
|
249
249
|
},
|
|
250
250
|
"decorations": {
|
|
251
|
-
"description": "Array of decorations used to decorate node
|
|
251
|
+
"description": "Array of decorations used to decorate the node link",
|
|
252
252
|
"type": "array",
|
|
253
253
|
"minItems": 0,
|
|
254
254
|
"items": {
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
"type": ["string", "object"]
|
|
287
287
|
},
|
|
288
288
|
"decorations": {
|
|
289
|
-
"description": "Array of decorations used to decorate association
|
|
289
|
+
"description": "Array of decorations used to decorate the association link",
|
|
290
290
|
"type": "array",
|
|
291
291
|
"minItems": 0,
|
|
292
292
|
"items": {
|
|
@@ -302,10 +302,10 @@
|
|
|
302
302
|
"additionalProperties": false
|
|
303
303
|
},
|
|
304
304
|
"node_decoration_def": {
|
|
305
|
-
"description": "Decoration used to decorate a node",
|
|
305
|
+
"description": "Decoration used to decorate a node or comment",
|
|
306
306
|
"properties": {
|
|
307
307
|
"position": {
|
|
308
|
-
"description": "Indicates an anchor point on the node at which the decoration will be displayed.",
|
|
308
|
+
"description": "Indicates an anchor point on the node or comment at which the decoration will be displayed.",
|
|
309
309
|
"enum": [
|
|
310
310
|
"topLeft",
|
|
311
311
|
"topCenter",
|
|
@@ -587,6 +587,15 @@
|
|
|
587
587
|
"$ref": "#/definitions/comment_link_def"
|
|
588
588
|
},
|
|
589
589
|
"uniqueItems": true
|
|
590
|
+
},
|
|
591
|
+
"decorations": {
|
|
592
|
+
"description": "Array of decorations used to decorate the comment",
|
|
593
|
+
"type": "array",
|
|
594
|
+
"minItems": 0,
|
|
595
|
+
"items": {
|
|
596
|
+
"$ref": "#/definitions/node_decoration_def"
|
|
597
|
+
},
|
|
598
|
+
"uniqueItems": true
|
|
590
599
|
}
|
|
591
600
|
},
|
|
592
601
|
"required": [
|
|
@@ -601,6 +601,12 @@
|
|
|
601
601
|
"description": "Link type attribute",
|
|
602
602
|
"type": "string"
|
|
603
603
|
},
|
|
604
|
+
"parameters": {
|
|
605
|
+
"description": "Parameters for the link",
|
|
606
|
+
"type": "object",
|
|
607
|
+
"properties": {},
|
|
608
|
+
"additionalProperties": true
|
|
609
|
+
},
|
|
604
610
|
"description": {
|
|
605
611
|
"description": "Deprecated - use description in pipeline-flow-ui-v3-schema.json#/definitions/node_link_ui_def instead.",
|
|
606
612
|
"type": "string",
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyra/pipeline-schemas",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.107",
|
|
4
4
|
"description": "pipeline-schemas",
|
|
5
5
|
"main": "common-pipeline/pipeline-flow/upgrade/upgrade-flow.js",
|
|
6
6
|
"homepage": "https://github.com/elyra-ai/pipeline-schemas",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "https://github.com/elyra-ai/pipeline-schemas
|
|
10
|
+
"url": "git+https://github.com/elyra-ai/pipeline-schemas.git#main"
|
|
11
11
|
},
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/elyra-ai/pipeline-schemas/issues"
|
|
@@ -21,11 +21,7 @@
|
|
|
21
21
|
/* eslint-disable */
|
|
22
22
|
|
|
23
23
|
export type CanvasNode =
|
|
24
|
-
|
|
|
25
|
-
| CanvasSupernode
|
|
26
|
-
| CanvasBindingEntryNode
|
|
27
|
-
| CanvasBindingExitNode
|
|
28
|
-
| CanvasModelNode;
|
|
24
|
+
CanvasExecutionNode | CanvasSupernode | CanvasBindingEntryNode | CanvasBindingExitNode | CanvasModelNode;
|
|
29
25
|
export type CanvasExecutionNode = {
|
|
30
26
|
/**
|
|
31
27
|
* Node type - always 'execution_node'
|
|
@@ -59,11 +55,11 @@ export type CanvasExecutionNode = {
|
|
|
59
55
|
*/
|
|
60
56
|
export type CanvasPorts = CanvasPort[];
|
|
61
57
|
/**
|
|
62
|
-
* Decoration used to decorate a node
|
|
58
|
+
* Decoration used to decorate a node or comment
|
|
63
59
|
*/
|
|
64
60
|
export type NodeDecorationDef = (ImageDecorationDef | LabelDecorationDef | ShapeDecorationDef | JsxDecorationDef) & {
|
|
65
61
|
/**
|
|
66
|
-
* Indicates an anchor point on the node at which the decoration will be displayed.
|
|
62
|
+
* Indicates an anchor point on the node or comment at which the decoration will be displayed.
|
|
67
63
|
*/
|
|
68
64
|
position?:
|
|
69
65
|
| "topLeft"
|
|
@@ -1098,15 +1094,7 @@ export interface Metadata {
|
|
|
1098
1094
|
* Field measurement level
|
|
1099
1095
|
*/
|
|
1100
1096
|
measure?:
|
|
1101
|
-
| "
|
|
1102
|
-
| "discrete"
|
|
1103
|
-
| "flag"
|
|
1104
|
-
| "set"
|
|
1105
|
-
| "ordered-set"
|
|
1106
|
-
| "typeless"
|
|
1107
|
-
| "collection"
|
|
1108
|
-
| "geospatial"
|
|
1109
|
-
| "default";
|
|
1097
|
+
"range" | "discrete" | "flag" | "set" | "ordered-set" | "typeless" | "collection" | "geospatial" | "default";
|
|
1110
1098
|
/**
|
|
1111
1099
|
* Field role for modeling
|
|
1112
1100
|
*/
|
package/types/palette-v3.d.ts
CHANGED
|
@@ -105,11 +105,11 @@ export type JsxDecorationDef = {
|
|
|
105
105
|
*/
|
|
106
106
|
export type PortsDef = PortDef[];
|
|
107
107
|
/**
|
|
108
|
-
* Decoration used to decorate a node
|
|
108
|
+
* Decoration used to decorate a node or comment
|
|
109
109
|
*/
|
|
110
110
|
export type NodeDecorationDef = (ImageDecorationDef | LabelDecorationDef | ShapeDecorationDef | JsxDecorationDef) & {
|
|
111
111
|
/**
|
|
112
|
-
* Indicates an anchor point on the node at which the decoration will be displayed.
|
|
112
|
+
* Indicates an anchor point on the node or comment at which the decoration will be displayed.
|
|
113
113
|
*/
|
|
114
114
|
position?:
|
|
115
115
|
| "topLeft"
|
|
@@ -279,6 +279,12 @@ export interface NodeLinkDef {
|
|
|
279
279
|
* Link type attribute
|
|
280
280
|
*/
|
|
281
281
|
type_attr?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Parameters for the link
|
|
284
|
+
*/
|
|
285
|
+
parameters?: {
|
|
286
|
+
[k: string]: unknown;
|
|
287
|
+
};
|
|
282
288
|
/**
|
|
283
289
|
* @deprecated
|
|
284
290
|
* Deprecated - use description in pipeline-flow-ui-v3-schema.json#/definitions/node_link_ui_def instead.
|
|
@@ -313,7 +319,7 @@ export interface NodeLinkUiDef {
|
|
|
313
319
|
[k: string]: unknown;
|
|
314
320
|
};
|
|
315
321
|
/**
|
|
316
|
-
* Array of decorations used to decorate node
|
|
322
|
+
* Array of decorations used to decorate the node link
|
|
317
323
|
*
|
|
318
324
|
* @minItems 0
|
|
319
325
|
*/
|
|
@@ -506,7 +512,7 @@ export interface NodeUiDef {
|
|
|
506
512
|
*/
|
|
507
513
|
palette_disabled?: boolean;
|
|
508
514
|
/**
|
|
509
|
-
* Array of decorations used to decorate
|
|
515
|
+
* Array of decorations used to decorate the node
|
|
510
516
|
*
|
|
511
517
|
* @minItems 0
|
|
512
518
|
*/
|
|
@@ -538,7 +544,7 @@ export interface AssociationLinkDef {
|
|
|
538
544
|
[k: string]: unknown;
|
|
539
545
|
};
|
|
540
546
|
/**
|
|
541
|
-
* Array of decorations used to decorate association
|
|
547
|
+
* Array of decorations used to decorate the association link
|
|
542
548
|
*
|
|
543
549
|
* @minItems 0
|
|
544
550
|
*/
|
|
@@ -116,11 +116,11 @@ export type JsxDecorationDef = {
|
|
|
116
116
|
*/
|
|
117
117
|
export type PortsDef = PortDef[];
|
|
118
118
|
/**
|
|
119
|
-
* Decoration used to decorate a node
|
|
119
|
+
* Decoration used to decorate a node or comment
|
|
120
120
|
*/
|
|
121
121
|
export type NodeDecorationDef = (ImageDecorationDef | LabelDecorationDef | ShapeDecorationDef | JsxDecorationDef) & {
|
|
122
122
|
/**
|
|
123
|
-
* Indicates an anchor point on the node at which the decoration will be displayed.
|
|
123
|
+
* Indicates an anchor point on the node or comment at which the decoration will be displayed.
|
|
124
124
|
*/
|
|
125
125
|
position?:
|
|
126
126
|
| "topLeft"
|
|
@@ -133,7 +133,22 @@ export type NodeDecorationDef = (ImageDecorationDef | LabelDecorationDef | Shape
|
|
|
133
133
|
| "bottomCenter"
|
|
134
134
|
| "bottomRight";
|
|
135
135
|
[k: string]: unknown;
|
|
136
|
-
}
|
|
136
|
+
} & (ImageDecorationDef | LabelDecorationDef | ShapeDecorationDef | JsxDecorationDef) & {
|
|
137
|
+
/**
|
|
138
|
+
* Indicates an anchor point on the node or comment at which the decoration will be displayed.
|
|
139
|
+
*/
|
|
140
|
+
position?:
|
|
141
|
+
| "topLeft"
|
|
142
|
+
| "topCenter"
|
|
143
|
+
| "topRight"
|
|
144
|
+
| "middleLeft"
|
|
145
|
+
| "middleCenter"
|
|
146
|
+
| "middleRight"
|
|
147
|
+
| "bottomLeft"
|
|
148
|
+
| "bottomCenter"
|
|
149
|
+
| "bottomRight";
|
|
150
|
+
[k: string]: unknown;
|
|
151
|
+
};
|
|
137
152
|
/**
|
|
138
153
|
* @minItems 0
|
|
139
154
|
*/
|
|
@@ -364,6 +379,12 @@ export interface NodeLinkDef {
|
|
|
364
379
|
* Link type attribute
|
|
365
380
|
*/
|
|
366
381
|
type_attr?: string;
|
|
382
|
+
/**
|
|
383
|
+
* Parameters for the link
|
|
384
|
+
*/
|
|
385
|
+
parameters?: {
|
|
386
|
+
[k: string]: unknown;
|
|
387
|
+
};
|
|
367
388
|
/**
|
|
368
389
|
* @deprecated
|
|
369
390
|
* Deprecated - use description in pipeline-flow-ui-v3-schema.json#/definitions/node_link_ui_def instead.
|
|
@@ -398,7 +419,7 @@ export interface NodeLinkUiDef {
|
|
|
398
419
|
[k: string]: unknown;
|
|
399
420
|
};
|
|
400
421
|
/**
|
|
401
|
-
* Array of decorations used to decorate node
|
|
422
|
+
* Array of decorations used to decorate the node link
|
|
402
423
|
*
|
|
403
424
|
* @minItems 0
|
|
404
425
|
*/
|
|
@@ -591,7 +612,7 @@ export interface NodeUiDef {
|
|
|
591
612
|
*/
|
|
592
613
|
palette_disabled?: boolean;
|
|
593
614
|
/**
|
|
594
|
-
* Array of decorations used to decorate
|
|
615
|
+
* Array of decorations used to decorate the node
|
|
595
616
|
*
|
|
596
617
|
* @minItems 0
|
|
597
618
|
*/
|
|
@@ -623,7 +644,7 @@ export interface AssociationLinkDef {
|
|
|
623
644
|
[k: string]: unknown;
|
|
624
645
|
};
|
|
625
646
|
/**
|
|
626
|
-
* Array of decorations used to decorate association
|
|
647
|
+
* Array of decorations used to decorate the association link
|
|
627
648
|
*
|
|
628
649
|
* @minItems 0
|
|
629
650
|
*/
|
|
@@ -1015,6 +1036,12 @@ export interface CommentDef {
|
|
|
1015
1036
|
* @minItems 0
|
|
1016
1037
|
*/
|
|
1017
1038
|
associated_id_refs?: CommentLinkDef[];
|
|
1039
|
+
/**
|
|
1040
|
+
* Array of decorations used to decorate the comment
|
|
1041
|
+
*
|
|
1042
|
+
* @minItems 0
|
|
1043
|
+
*/
|
|
1044
|
+
decorations?: NodeDecorationDef[];
|
|
1018
1045
|
[k: string]: unknown;
|
|
1019
1046
|
}
|
|
1020
1047
|
/**
|
|
@@ -1117,15 +1144,7 @@ export interface Metadata {
|
|
|
1117
1144
|
* Field measurement level
|
|
1118
1145
|
*/
|
|
1119
1146
|
measure?:
|
|
1120
|
-
| "
|
|
1121
|
-
| "discrete"
|
|
1122
|
-
| "flag"
|
|
1123
|
-
| "set"
|
|
1124
|
-
| "ordered-set"
|
|
1125
|
-
| "typeless"
|
|
1126
|
-
| "collection"
|
|
1127
|
-
| "geospatial"
|
|
1128
|
-
| "default";
|
|
1147
|
+
"range" | "discrete" | "flag" | "set" | "ordered-set" | "typeless" | "collection" | "geospatial" | "default";
|
|
1129
1148
|
/**
|
|
1130
1149
|
* Field role for modeling
|
|
1131
1150
|
*/
|