@elyra/pipeline-schemas 3.0.106 → 3.0.108

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.
@@ -220,7 +220,7 @@
220
220
  "type": "boolean"
221
221
  },
222
222
  "decorations": {
223
- "description": "Array of decorations used to decorate nodes",
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 links",
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 links",
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": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyra/pipeline-schemas",
3
- "version": "3.0.106",
3
+ "version": "3.0.108",
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",
@@ -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.
@@ -21,11 +21,7 @@
21
21
  /* eslint-disable */
22
22
 
23
23
  export type CanvasNode =
24
- | CanvasExecutionNode
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
- | "range"
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
  */
@@ -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.
package/types/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * Copyright 2025 Elyra Authors
3
+ * Copyright 2025-2026 Elyra Authors
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License");
6
6
  * you may not use this file except in compliance with the License.
@@ -40,6 +40,7 @@ export {
40
40
  PortUiDef,
41
41
  ZoomObjectDef,
42
42
  NodeDecorationDef,
43
+ CommentDecorationDef,
43
44
  LinkDecorationDef,
44
45
  ImageDecorationDef,
45
46
  LabelDecorationDef,
@@ -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.
@@ -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"
@@ -319,7 +319,7 @@ export interface NodeLinkUiDef {
319
319
  [k: string]: unknown;
320
320
  };
321
321
  /**
322
- * Array of decorations used to decorate node links
322
+ * Array of decorations used to decorate the node link
323
323
  *
324
324
  * @minItems 0
325
325
  */
@@ -512,7 +512,7 @@ export interface NodeUiDef {
512
512
  */
513
513
  palette_disabled?: boolean;
514
514
  /**
515
- * Array of decorations used to decorate nodes
515
+ * Array of decorations used to decorate the node
516
516
  *
517
517
  * @minItems 0
518
518
  */
@@ -544,7 +544,7 @@ export interface AssociationLinkDef {
544
544
  [k: string]: unknown;
545
545
  };
546
546
  /**
547
- * Array of decorations used to decorate association links
547
+ * Array of decorations used to decorate the association link
548
548
  *
549
549
  * @minItems 0
550
550
  */
@@ -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.
@@ -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.
@@ -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
  */
@@ -404,7 +419,7 @@ export interface NodeLinkUiDef {
404
419
  [k: string]: unknown;
405
420
  };
406
421
  /**
407
- * Array of decorations used to decorate node links
422
+ * Array of decorations used to decorate the node link
408
423
  *
409
424
  * @minItems 0
410
425
  */
@@ -597,7 +612,7 @@ export interface NodeUiDef {
597
612
  */
598
613
  palette_disabled?: boolean;
599
614
  /**
600
- * Array of decorations used to decorate nodes
615
+ * Array of decorations used to decorate the node
601
616
  *
602
617
  * @minItems 0
603
618
  */
@@ -629,7 +644,7 @@ export interface AssociationLinkDef {
629
644
  [k: string]: unknown;
630
645
  };
631
646
  /**
632
- * Array of decorations used to decorate association links
647
+ * Array of decorations used to decorate the association link
633
648
  *
634
649
  * @minItems 0
635
650
  */
@@ -1021,6 +1036,12 @@ export interface CommentDef {
1021
1036
  * @minItems 0
1022
1037
  */
1023
1038
  associated_id_refs?: CommentLinkDef[];
1039
+ /**
1040
+ * Array of decorations used to decorate the comment
1041
+ *
1042
+ * @minItems 0
1043
+ */
1044
+ decorations?: NodeDecorationDef[];
1024
1045
  [k: string]: unknown;
1025
1046
  }
1026
1047
  /**
@@ -1123,15 +1144,7 @@ export interface Metadata {
1123
1144
  * Field measurement level
1124
1145
  */
1125
1146
  measure?:
1126
- | "range"
1127
- | "discrete"
1128
- | "flag"
1129
- | "set"
1130
- | "ordered-set"
1131
- | "typeless"
1132
- | "collection"
1133
- | "geospatial"
1134
- | "default";
1147
+ "range" | "discrete" | "flag" | "set" | "ordered-set" | "typeless" | "collection" | "geospatial" | "default";
1135
1148
  /**
1136
1149
  * Field role for modeling
1137
1150
  */