You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds support for multi select inputs and cleans up the building block resources code.
Also corrects schema restrictions for allowed input/output types.
Copy file name to clipboardExpand all lines: docs/data-sources/buildingblock.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,20 +58,24 @@ Read-Only:
58
58
Read-Only:
59
59
60
60
-`display_name` (String) Display name for the Building Block as shown in meshPanel.
61
-
-`inputs` (Attributes Map) Contains all Building Block inputs. Each input has exactly one value attribute set according to its' type. (see [below for nested schema](#nestedatt--spec--inputs))
61
+
-`inputs` (Attributes Map) Contains all building block inputs. Each input has exactly one value attribute set according to its' type. (see [below for nested schema](#nestedatt--spec--inputs))
62
62
-`parent_building_blocks` (Attributes List) List of parent Building Blocks. (see [below for nested schema](#nestedatt--spec--parent_building_blocks))
63
63
64
64
<aid="nestedatt--spec--inputs"></a>
65
65
### Nested Schema for `spec.inputs`
66
66
67
+
Optional:
68
+
69
+
-`value_single_select` (String)
70
+
67
71
Read-Only:
68
72
69
73
-`value_bool` (Boolean)
70
74
-`value_code` (String) Code value.
71
75
-`value_file` (String)
72
76
-`value_int` (Number)
73
-
-`value_list` (String) JSON encoded list of objects.
74
-
-`value_single_select` (String)
77
+
-`value_list` (String) Deprecated: use `value_code` instead. JSON encoded list of objects.
78
+
-`value_multi_select` (List of String) Multi-select value (list of strings).
75
79
-`value_string` (String)
76
80
77
81
@@ -90,7 +94,7 @@ Read-Only:
90
94
91
95
Read-Only:
92
96
93
-
-`outputs` (Attributes Map) Building Block outputs. Each output has exactly one value attribute set. (see [below for nested schema](#nestedatt--status--outputs))
97
+
-`outputs` (Attributes Map) Building block outputs. Each output has exactly one value attribute set. (see [below for nested schema](#nestedatt--status--outputs))
94
98
-`status` (String) Execution status. One of `WAITING_FOR_DEPENDENT_INPUT`, `WAITING_FOR_OPERATOR_INPUT`, `PENDING`, `IN_PROGRESS`, `SUCCEEDED`, `FAILED`.
95
99
96
100
<aid="nestedatt--status--outputs"></a>
@@ -100,8 +104,5 @@ Read-Only:
100
104
101
105
-`value_bool` (Boolean)
102
106
-`value_code` (String) Code value.
103
-
-`value_file` (String)
104
107
-`value_int` (Number)
105
-
-`value_list` (String) JSON encoded list of objects.
Copy file name to clipboardExpand all lines: docs/resources/buildingblock.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,12 +72,12 @@ Required:
72
72
73
73
Optional:
74
74
75
-
-`inputs` (Attributes Map) Building Block user inputs. Each input has exactly one value. Use the value attribute that corresponds to the desired input type, e.g. `value_int` to set an integer input, and leave the remaining attributes empty. (see [below for nested schema](#nestedatt--spec--inputs))
75
+
-`inputs` (Attributes Map) Building block user inputs. Each input has exactly one value. Use the value attribute that corresponds to the desired input type, e.g. `value_int` to set an integer input, and leave the remaining attributes empty. (see [below for nested schema](#nestedatt--spec--inputs))
76
76
-`parent_building_blocks` (Attributes List) List of parent Building Blocks. (see [below for nested schema](#nestedatt--spec--parent_building_blocks))
77
77
78
78
Read-Only:
79
79
80
-
-`combined_inputs` (Attributes Map) Contains all Building Block inputs. Each input has exactly one value attribute set according to its' type. (see [below for nested schema](#nestedatt--spec--combined_inputs))
80
+
-`combined_inputs` (Attributes Map) Contains all building block inputs. Each input has exactly one value attribute set according to its' type. (see [below for nested schema](#nestedatt--spec--combined_inputs))
81
81
82
82
<aid="nestedatt--spec--inputs"></a>
83
83
### Nested Schema for `spec.inputs`
@@ -86,9 +86,8 @@ Optional:
86
86
87
87
-`value_bool` (Boolean)
88
88
-`value_code` (String) Code value.
89
-
-`value_file` (String)
90
89
-`value_int` (Number)
91
-
-`value_list` (String) JSON encoded list of objects.
90
+
-`value_multi_select` (List of String) Multi-select value (list of strings).
92
91
-`value_single_select` (String)
93
92
-`value_string` (String)
94
93
@@ -105,14 +104,18 @@ Required:
105
104
<aid="nestedatt--spec--combined_inputs"></a>
106
105
### Nested Schema for `spec.combined_inputs`
107
106
107
+
Optional:
108
+
109
+
-`value_single_select` (String)
110
+
108
111
Read-Only:
109
112
110
113
-`value_bool` (Boolean)
111
114
-`value_code` (String) Code value.
112
115
-`value_file` (String)
113
116
-`value_int` (Number)
114
-
-`value_list` (String) JSON encoded list of objects.
115
-
-`value_single_select` (String)
117
+
-`value_list` (String) Deprecated: use `value_code` instead. JSON encoded list of objects.
118
+
-`value_multi_select` (List of String) Multi-select value (list of strings).
116
119
-`value_string` (String)
117
120
118
121
@@ -122,7 +125,7 @@ Read-Only:
122
125
123
126
Read-Only:
124
127
125
-
-`outputs` (Attributes Map) Building Block outputs. Each output has exactly one value attribute set. (see [below for nested schema](#nestedatt--status--outputs))
128
+
-`outputs` (Attributes Map) Building block outputs. Each output has exactly one value attribute set. (see [below for nested schema](#nestedatt--status--outputs))
126
129
-`status` (String) Execution status. One of `WAITING_FOR_DEPENDENT_INPUT`, `WAITING_FOR_OPERATOR_INPUT`, `PENDING`, `IN_PROGRESS`, `SUCCEEDED`, `FAILED`.
127
130
128
131
<aid="nestedatt--status--outputs"></a>
@@ -132,8 +135,5 @@ Read-Only:
132
135
133
136
-`value_bool` (Boolean)
134
137
-`value_code` (String) Code value.
135
-
-`value_file` (String)
136
138
-`value_int` (Number)
137
-
-`value_list` (String) JSON encoded list of objects.
0 commit comments