@@ -146,6 +146,17 @@ export const LinearBlock: BlockConfig<LinearResponse> = {
146146 placeholder : 'Select a team' ,
147147 dependsOn : [ 'credential' ] ,
148148 mode : 'basic' ,
149+ required : {
150+ field : 'operation' ,
151+ value : [
152+ 'linear_create_issue' ,
153+ 'linear_create_project' ,
154+ 'linear_list_workflow_states' ,
155+ 'linear_create_workflow_state' ,
156+ 'linear_create_cycle' ,
157+ 'linear_get_active_cycle' ,
158+ ] ,
159+ } ,
149160 condition : {
150161 field : 'operation' ,
151162 value : [
@@ -172,6 +183,17 @@ export const LinearBlock: BlockConfig<LinearResponse> = {
172183 canonicalParamId : 'teamId' ,
173184 placeholder : 'Enter Linear team ID' ,
174185 mode : 'advanced' ,
186+ required : {
187+ field : 'operation' ,
188+ value : [
189+ 'linear_create_issue' ,
190+ 'linear_create_project' ,
191+ 'linear_list_workflow_states' ,
192+ 'linear_create_workflow_state' ,
193+ 'linear_create_cycle' ,
194+ 'linear_get_active_cycle' ,
195+ ] ,
196+ } ,
175197 condition : {
176198 field : 'operation' ,
177199 value : [
@@ -201,6 +223,16 @@ export const LinearBlock: BlockConfig<LinearResponse> = {
201223 placeholder : 'Select a project' ,
202224 dependsOn : [ 'credential' , 'teamId' ] ,
203225 mode : 'basic' ,
226+ required : {
227+ field : 'operation' ,
228+ value : [
229+ 'linear_get_project' ,
230+ 'linear_update_project' ,
231+ 'linear_archive_project' ,
232+ 'linear_delete_project' ,
233+ 'linear_list_project_updates' ,
234+ ] ,
235+ } ,
204236 condition : {
205237 field : 'operation' ,
206238 value : [
@@ -223,6 +255,18 @@ export const LinearBlock: BlockConfig<LinearResponse> = {
223255 canonicalParamId : 'projectId' ,
224256 placeholder : 'Enter Linear project ID' ,
225257 mode : 'advanced' ,
258+ required : {
259+ field : 'operation' ,
260+ value : [
261+ 'linear_get_project' ,
262+ 'linear_update_project' ,
263+ 'linear_archive_project' ,
264+ 'linear_delete_project' ,
265+ 'linear_create_project_update' ,
266+ 'linear_list_project_updates' ,
267+ 'linear_create_project_link' ,
268+ ] ,
269+ } ,
226270 condition : {
227271 field : 'operation' ,
228272 value : [
@@ -299,7 +343,10 @@ export const LinearBlock: BlockConfig<LinearResponse> = {
299343 title : 'Comment' ,
300344 type : 'long-input' ,
301345 placeholder : 'Enter comment text' ,
302- required : true ,
346+ required : {
347+ field : 'operation' ,
348+ value : [ 'linear_create_comment' , 'linear_create_project_update' ] ,
349+ } ,
303350 condition : {
304351 field : 'operation' ,
305352 value : [ 'linear_create_comment' , 'linear_update_comment' , 'linear_create_project_update' ] ,
@@ -505,6 +552,7 @@ export const LinearBlock: BlockConfig<LinearResponse> = {
505552 title : 'Title' ,
506553 type : 'short-input' ,
507554 placeholder : 'Enter attachment title' ,
555+ required : true ,
508556 condition : {
509557 field : 'operation' ,
510558 value : [ 'linear_create_attachment' , 'linear_update_attachment' ] ,
0 commit comments