@elyra/pipeline-schemas 3.0.109 → 3.0.111
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/common-canvas/canvas-info/canvas-info-v3-schema.json +9 -0
- package/common-pipeline/operators/uihints-v3-schema.json +3 -2
- package/common-pipeline/pipeline-flow/pipeline-flow-ui-v3-schema.json +35 -5
- package/package.json +1 -1
- package/types/canvas-info-v3.d.ts +27 -2
- package/types/palette-v3.d.ts +2 -2
- package/types/parameter-defs-v3.d.ts +2 -2
- package/types/pipeline-flow-v3.d.ts +24 -20
|
@@ -758,6 +758,15 @@
|
|
|
758
758
|
"description": "A 'style spec' object containing CSS strings to be applied to the SVG objects of the comment.",
|
|
759
759
|
"type": ["string", "object"],
|
|
760
760
|
"additionalProperties": false
|
|
761
|
+
},
|
|
762
|
+
"decorations": {
|
|
763
|
+
"description": "Array of decorations used to decorate the comment",
|
|
764
|
+
"type": "array",
|
|
765
|
+
"minItems": 0,
|
|
766
|
+
"items": {
|
|
767
|
+
"$ref": "./pipeline-flow-ui-v3-schema.json#/definitions/comment_decoration_def"
|
|
768
|
+
},
|
|
769
|
+
"uniqueItems": true
|
|
761
770
|
}
|
|
762
771
|
},
|
|
763
772
|
"required": [
|
|
@@ -595,12 +595,13 @@
|
|
|
595
595
|
"default": true
|
|
596
596
|
},
|
|
597
597
|
"row_selection": {
|
|
598
|
-
"description": "Determines how many rows can be selected at a time. 'multiple-edit': select multiple rows and allow the editing of column values for all selected rows.",
|
|
598
|
+
"description": "Determines how many rows can be selected at a time. 'multiple-edit': select multiple rows and allow the editing of column values for all selected rows. 'none': suppress all row selection UI.",
|
|
599
599
|
"type": "string",
|
|
600
600
|
"enum": [
|
|
601
601
|
"single",
|
|
602
602
|
"multiple",
|
|
603
|
-
"multiple-edit"
|
|
603
|
+
"multiple-edit",
|
|
604
|
+
"none"
|
|
604
605
|
]
|
|
605
606
|
},
|
|
606
607
|
"header": {
|
|
@@ -302,10 +302,43 @@
|
|
|
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",
|
|
306
306
|
"properties": {
|
|
307
307
|
"position": {
|
|
308
|
-
"description": "Indicates an anchor point on the node
|
|
308
|
+
"description": "Indicates an anchor point on the node at which the decoration will be displayed.",
|
|
309
|
+
"enum": [
|
|
310
|
+
"topLeft",
|
|
311
|
+
"topCenter",
|
|
312
|
+
"topRight",
|
|
313
|
+
"middleLeft",
|
|
314
|
+
"middleCenter",
|
|
315
|
+
"middleRight",
|
|
316
|
+
"bottomLeft",
|
|
317
|
+
"bottomCenter",
|
|
318
|
+
"bottomRight"
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"anyOf": [
|
|
323
|
+
{
|
|
324
|
+
"$ref": "#/definitions/image_decoration_def"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"$ref": "#/definitions/label_decoration_def"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"$ref": "#/definitions/shape_decoration_def"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"$ref": "#/definitions/jsx_decoration_def"
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
},
|
|
337
|
+
"comment_decoration_def": {
|
|
338
|
+
"description": "Decoration used to decorate a comment",
|
|
339
|
+
"properties": {
|
|
340
|
+
"position": {
|
|
341
|
+
"description": "Indicates an anchor point on the comment at which the decoration will be displayed.",
|
|
309
342
|
"enum": [
|
|
310
343
|
"topLeft",
|
|
311
344
|
"topCenter",
|
|
@@ -607,9 +640,6 @@
|
|
|
607
640
|
],
|
|
608
641
|
"additionalProperties": true
|
|
609
642
|
},
|
|
610
|
-
"comment_decoration_def": {
|
|
611
|
-
"$ref": "#/definitions/node_decoration_def"
|
|
612
|
-
},
|
|
613
643
|
"comment_link_def": {
|
|
614
644
|
"description": "Comment link definition",
|
|
615
645
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -55,11 +55,11 @@ export type CanvasExecutionNode = {
|
|
|
55
55
|
*/
|
|
56
56
|
export type CanvasPorts = CanvasPort[];
|
|
57
57
|
/**
|
|
58
|
-
* Decoration used to decorate a node
|
|
58
|
+
* Decoration used to decorate a node
|
|
59
59
|
*/
|
|
60
60
|
export type NodeDecorationDef = (ImageDecorationDef | LabelDecorationDef | ShapeDecorationDef | JsxDecorationDef) & {
|
|
61
61
|
/**
|
|
62
|
-
* Indicates an anchor point on the node
|
|
62
|
+
* Indicates an anchor point on the node at which the decoration will be displayed.
|
|
63
63
|
*/
|
|
64
64
|
position?:
|
|
65
65
|
| "topLeft"
|
|
@@ -276,6 +276,25 @@ export type CanvasModelNode = {
|
|
|
276
276
|
*/
|
|
277
277
|
runtime_ref?: string;
|
|
278
278
|
} & CanvasNodeSharedProperties;
|
|
279
|
+
/**
|
|
280
|
+
* Decoration used to decorate a comment
|
|
281
|
+
*/
|
|
282
|
+
export type CommentDecorationDef = (ImageDecorationDef | LabelDecorationDef | ShapeDecorationDef | JsxDecorationDef) & {
|
|
283
|
+
/**
|
|
284
|
+
* Indicates an anchor point on the comment at which the decoration will be displayed.
|
|
285
|
+
*/
|
|
286
|
+
position?:
|
|
287
|
+
| "topLeft"
|
|
288
|
+
| "topCenter"
|
|
289
|
+
| "topRight"
|
|
290
|
+
| "middleLeft"
|
|
291
|
+
| "middleCenter"
|
|
292
|
+
| "middleRight"
|
|
293
|
+
| "bottomLeft"
|
|
294
|
+
| "bottomCenter"
|
|
295
|
+
| "bottomRight";
|
|
296
|
+
[k: string]: unknown;
|
|
297
|
+
};
|
|
279
298
|
export type CanvasLink = CanvasCommentLink | CanvasNodeLink | CanvasAssociationLink;
|
|
280
299
|
/**
|
|
281
300
|
* Decoration used to decorate a link
|
|
@@ -856,6 +875,12 @@ export interface CanvasComment {
|
|
|
856
875
|
* A 'style spec' object containing CSS strings to be applied to the SVG objects of the comment.
|
|
857
876
|
*/
|
|
858
877
|
style?: string | {};
|
|
878
|
+
/**
|
|
879
|
+
* Array of decorations used to decorate the comment
|
|
880
|
+
*
|
|
881
|
+
* @minItems 0
|
|
882
|
+
*/
|
|
883
|
+
decorations?: CommentDecorationDef[];
|
|
859
884
|
[k: string]: unknown;
|
|
860
885
|
}
|
|
861
886
|
/**
|
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
|
|
109
109
|
*/
|
|
110
110
|
export type NodeDecorationDef = (ImageDecorationDef | LabelDecorationDef | ShapeDecorationDef | JsxDecorationDef) & {
|
|
111
111
|
/**
|
|
112
|
-
* Indicates an anchor point on the node
|
|
112
|
+
* Indicates an anchor point on the node at which the decoration will be displayed.
|
|
113
113
|
*/
|
|
114
114
|
position?:
|
|
115
115
|
| "topLeft"
|
|
@@ -760,9 +760,9 @@ export interface ComplexTypeDefinition {
|
|
|
760
760
|
*/
|
|
761
761
|
add_remove_rows?: boolean;
|
|
762
762
|
/**
|
|
763
|
-
* Determines how many rows can be selected at a time. 'multiple-edit': select multiple rows and allow the editing of column values for all selected rows.
|
|
763
|
+
* Determines how many rows can be selected at a time. 'multiple-edit': select multiple rows and allow the editing of column values for all selected rows. 'none': suppress all row selection UI.
|
|
764
764
|
*/
|
|
765
|
-
row_selection?: "single" | "multiple" | "multiple-edit";
|
|
765
|
+
row_selection?: "single" | "multiple" | "multiple-edit" | "none";
|
|
766
766
|
/**
|
|
767
767
|
* Determines if the table header should be displayed
|
|
768
768
|
*/
|
|
@@ -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
|
|
120
120
|
*/
|
|
121
|
-
export type
|
|
121
|
+
export type NodeDecorationDef = (ImageDecorationDef | LabelDecorationDef | ShapeDecorationDef | JsxDecorationDef) & {
|
|
122
122
|
/**
|
|
123
|
-
* Indicates an anchor point on the node
|
|
123
|
+
* Indicates an anchor point on the node at which the decoration will be displayed.
|
|
124
124
|
*/
|
|
125
125
|
position?:
|
|
126
126
|
| "topLeft"
|
|
@@ -133,22 +133,7 @@ export type CommentDecorationDef = (ImageDecorationDef | LabelDecorationDef | Sh
|
|
|
133
133
|
| "bottomCenter"
|
|
134
134
|
| "bottomRight";
|
|
135
135
|
[k: string]: unknown;
|
|
136
|
-
}
|
|
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
|
-
};
|
|
136
|
+
};
|
|
152
137
|
/**
|
|
153
138
|
* @minItems 0
|
|
154
139
|
*/
|
|
@@ -172,6 +157,25 @@ export type ZoomObjectDef =
|
|
|
172
157
|
*/
|
|
173
158
|
k: number;
|
|
174
159
|
};
|
|
160
|
+
/**
|
|
161
|
+
* Decoration used to decorate a comment
|
|
162
|
+
*/
|
|
163
|
+
export type CommentDecorationDef = (ImageDecorationDef | LabelDecorationDef | ShapeDecorationDef | JsxDecorationDef) & {
|
|
164
|
+
/**
|
|
165
|
+
* Indicates an anchor point on the comment at which the decoration will be displayed.
|
|
166
|
+
*/
|
|
167
|
+
position?:
|
|
168
|
+
| "topLeft"
|
|
169
|
+
| "topCenter"
|
|
170
|
+
| "topRight"
|
|
171
|
+
| "middleLeft"
|
|
172
|
+
| "middleCenter"
|
|
173
|
+
| "middleRight"
|
|
174
|
+
| "bottomLeft"
|
|
175
|
+
| "bottomCenter"
|
|
176
|
+
| "bottomRight";
|
|
177
|
+
[k: string]: unknown;
|
|
178
|
+
};
|
|
175
179
|
|
|
176
180
|
/**
|
|
177
181
|
* Pipeline Flow Schema
|
|
@@ -616,7 +620,7 @@ export interface NodeUiDef {
|
|
|
616
620
|
*
|
|
617
621
|
* @minItems 0
|
|
618
622
|
*/
|
|
619
|
-
decorations?:
|
|
623
|
+
decorations?: NodeDecorationDef[];
|
|
620
624
|
[k: string]: unknown;
|
|
621
625
|
}
|
|
622
626
|
/**
|