File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @trigger.dev/linear " : patch
3+ ---
4+
5+ Fix ` getAll ` helper and search function params
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ export class Linear implements TriggerIntegration {
182182 > (
183183 task : TTask ,
184184 key : IntegrationTaskKey ,
185- params : Nullable < QueryVariables > = { }
185+ params : Parameters < TTask > [ 1 ] = { }
186186 ) : Promise < Awaited < ReturnType < TTask > > [ "nodes" ] > {
187187 const boundTask = task . bind ( this as any ) ;
188188
@@ -695,7 +695,7 @@ export class Linear implements TriggerIntegration {
695695 key : IntegrationTaskKey ,
696696 params : {
697697 term : string ;
698- variables ?: L . SearchDocumentsQueryVariables ;
698+ variables ?: Parameters < LinearClient [ "searchDocuments" ] > [ 1 ] ;
699699 }
700700 ) : LinearReturnType < DocumentSearchPayload > {
701701 return this . runTask (
@@ -862,7 +862,7 @@ export class Linear implements TriggerIntegration {
862862 key : IntegrationTaskKey ,
863863 params : {
864864 term : string ;
865- variables ?: L . SearchIssuesQueryVariables ;
865+ variables ?: Parameters < LinearClient [ "searchIssues" ] > [ 1 ] ;
866866 }
867867 ) : LinearReturnType < IssueSearchPayload > {
868868 return this . runTask (
@@ -1273,7 +1273,7 @@ export class Linear implements TriggerIntegration {
12731273 key : IntegrationTaskKey ,
12741274 params : {
12751275 term : string ;
1276- variables ?: L . SearchProjectsQueryVariables ;
1276+ variables ?: Parameters < LinearClient [ "searchProjects" ] > [ 1 ] ;
12771277 }
12781278 ) : LinearReturnType < ProjectSearchPayload > {
12791279 return this . runTask (
You can’t perform that action at this time.
0 commit comments