@pipedream/linear_app 0.9.2 → 0.11.0
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/actions/create-comment/create-comment.mjs +1 -1
- package/actions/create-initiative/create-initiative.mjs +1 -1
- package/actions/create-issue/create-issue.mjs +1 -1
- package/actions/create-project/create-project.mjs +1 -1
- package/actions/get-issue/get-issue.mjs +1 -1
- package/actions/get-teams/get-teams.mjs +1 -1
- package/actions/get-view-issues/get-view-issues.mjs +1 -1
- package/actions/list-comments/list-comments.mjs +1 -1
- package/actions/list-initiatives/list-initiatives.mjs +1 -1
- package/actions/list-labels/list-labels.mjs +82 -0
- package/actions/list-projects/list-projects.mjs +1 -1
- package/actions/list-views/list-views.mjs +1 -1
- package/actions/list-workflow-states/list-workflow-states.mjs +79 -0
- package/actions/remove-label-from-issue/remove-label-from-issue.mjs +1 -1
- package/actions/search-issues/search-issues.mjs +1 -1
- package/actions/update-initiative/update-initiative.mjs +1 -1
- package/actions/update-issue/update-issue.mjs +1 -1
- package/package.json +1 -1
- package/sources/comment-created-instant/comment-created-instant.mjs +1 -1
- package/sources/issue-created-instant/issue-created-instant.mjs +1 -1
- package/sources/issue-updated-instant/issue-updated-instant.mjs +1 -1
- package/sources/new-issue-status-updated/new-issue-status-updated.mjs +1 -1
- package/sources/new-projectupdate-created/new-projectupdate-created.mjs +1 -1
- package/sources/project-updated-instant/project-updated-instant.mjs +1 -1
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "linear_app-create-comment",
|
|
5
5
|
name: "Create Comment",
|
|
6
6
|
description: "Create a comment in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Mutation?query=comment)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "linear_app-create-initiative",
|
|
5
5
|
name: "Create Initiative",
|
|
6
6
|
description: "Create an initiative in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Mutation?query=initiativeCreate)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "linear_app-create-issue",
|
|
6
6
|
name: "Create Issue",
|
|
7
7
|
description: "Creates a new issue in Linear. Requires team ID and title. Optional: description, assignee, project, state. Returns response object with success status and issue details. Uses API Key authentication. [See the documentation](https://linear.app/developers/graphql#creating-and-editing-issues).",
|
|
8
|
-
version: "0.4.
|
|
8
|
+
version: "0.4.20",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: true,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
name: "Create Project",
|
|
6
6
|
description: "Create a project in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/inputs/ProjectCreateInput).",
|
|
7
7
|
type: "action",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.6",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "linear_app-get-issue",
|
|
6
6
|
name: "Get Issue",
|
|
7
7
|
description: "Retrieves a Linear issue by its ID or identifier. Returns complete issue details including title, description, state, assignee, team, project, labels, and timestamps. Uses API Key authentication. [See the documentation](https://linear.app/developers/graphql).",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.20",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "linear_app-get-teams",
|
|
6
6
|
name: "Get Teams",
|
|
7
7
|
description: "Retrieves all teams in your Linear workspace. Returns array of team objects with details like ID, name, and key. Supports pagination with configurable limit. Uses API Key authentication. See Linear docs for additional info [here](https://linear.app/developers/graphql).",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.20",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
11
11
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "linear_app-get-view-issues",
|
|
5
5
|
name: "Get View Issues",
|
|
6
6
|
description: "Get issues from a custom view in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Query?query=customView)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "linear_app-list-comments",
|
|
5
5
|
name: "List Comments",
|
|
6
6
|
description: "List comments in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Query?query=comments)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "linear_app-list-initiatives",
|
|
5
5
|
name: "List Initiatives",
|
|
6
6
|
description: "List initiatives in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Query?query=initiatives)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import linearApp from "../../linear_app.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "linear_app-list-labels",
|
|
5
|
+
name: "List Labels",
|
|
6
|
+
description: "List issue labels in Linear. Use this to retrieve label IDs and names for filtering or label-management flows. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Query?query=issueLabels).",
|
|
7
|
+
version: "0.0.2",
|
|
8
|
+
type: "action",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
linearApp,
|
|
16
|
+
orderBy: {
|
|
17
|
+
propDefinition: [
|
|
18
|
+
linearApp,
|
|
19
|
+
"orderBy",
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
first: {
|
|
23
|
+
type: "integer",
|
|
24
|
+
label: "First",
|
|
25
|
+
description: "The number of labels to return",
|
|
26
|
+
optional: true,
|
|
27
|
+
},
|
|
28
|
+
after: {
|
|
29
|
+
type: "string",
|
|
30
|
+
label: "After",
|
|
31
|
+
description: "Cursor for pagination to fetch the next page (example: \"label_01J8XYZABCDEF123456789\").",
|
|
32
|
+
optional: true,
|
|
33
|
+
},
|
|
34
|
+
before: {
|
|
35
|
+
type: "string",
|
|
36
|
+
label: "Before",
|
|
37
|
+
description: "Cursor for pagination to fetch the previous page (example: \"label_01J8XYZABCDEF123456789\").",
|
|
38
|
+
optional: true,
|
|
39
|
+
},
|
|
40
|
+
last: {
|
|
41
|
+
type: "integer",
|
|
42
|
+
label: "Last",
|
|
43
|
+
description: "The number of items to backward paginate (used with before). Defaults to 50.",
|
|
44
|
+
optional: true,
|
|
45
|
+
},
|
|
46
|
+
includeArchived: {
|
|
47
|
+
propDefinition: [
|
|
48
|
+
linearApp,
|
|
49
|
+
"includeArchived",
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
filter: {
|
|
53
|
+
type: "object",
|
|
54
|
+
label: "Filter",
|
|
55
|
+
description: "Filter returned issue labels. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/inputs/IssueLabelFilter) for more details. Example: `{ \"name\": { \"contains\": \"Bug\" } }`",
|
|
56
|
+
optional: true,
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
async run({ $ }) {
|
|
60
|
+
const filter = typeof this.filter === "string"
|
|
61
|
+
? JSON.parse(this.filter)
|
|
62
|
+
: this.filter;
|
|
63
|
+
const {
|
|
64
|
+
nodes, pageInfo,
|
|
65
|
+
} = await this.linearApp.listIssueLabels({
|
|
66
|
+
orderBy: this.orderBy,
|
|
67
|
+
first: this.first,
|
|
68
|
+
after: this.after,
|
|
69
|
+
before: this.before,
|
|
70
|
+
last: this.last,
|
|
71
|
+
includeArchived: this.includeArchived,
|
|
72
|
+
filter,
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
$.export("$summary", `Found ${nodes.length} labels`);
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
nodes,
|
|
79
|
+
pageInfo,
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
};
|
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
name: "List Projects",
|
|
7
7
|
description: "List projects in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/ProjectConnection?query=projects).",
|
|
8
8
|
type: "action",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.6",
|
|
10
10
|
annotations: {
|
|
11
11
|
destructiveHint: false,
|
|
12
12
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "linear_app-list-views",
|
|
5
5
|
name: "List Views",
|
|
6
6
|
description: "List views in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Query?query=views)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: false,
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import linearApp from "../../linear_app.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "linear_app-list-workflow-states",
|
|
5
|
+
name: "List Workflow States",
|
|
6
|
+
description: "List workflow states (statuses) in Linear. Returns state IDs, names, types (e.g. backlog, started, completed, cancelled), and team info. Optionally filter by team (use the **Get Teams** action to discover valid team IDs, e.g. `4e80f53c-da9e-4dee-b14e-2cab3e2e8716`). [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Query?query=workflowStates).",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
type: "action",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
linearApp,
|
|
16
|
+
teamId: {
|
|
17
|
+
propDefinition: [
|
|
18
|
+
linearApp,
|
|
19
|
+
"teamId",
|
|
20
|
+
],
|
|
21
|
+
optional: true,
|
|
22
|
+
description: "Optional team to filter workflow states by. If omitted, returns states across all teams the API key has access to. Use the **Get Teams** action to discover valid team IDs (UUID format, e.g. `4e80f53c-da9e-4dee-b14e-2cab3e2e8716`).",
|
|
23
|
+
},
|
|
24
|
+
orderBy: {
|
|
25
|
+
propDefinition: [
|
|
26
|
+
linearApp,
|
|
27
|
+
"orderBy",
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
first: {
|
|
31
|
+
type: "integer",
|
|
32
|
+
label: "First",
|
|
33
|
+
description: "The number of workflow states to return",
|
|
34
|
+
optional: true,
|
|
35
|
+
},
|
|
36
|
+
after: {
|
|
37
|
+
type: "string",
|
|
38
|
+
label: "After",
|
|
39
|
+
description: "The cursor to return the next page of workflow states",
|
|
40
|
+
optional: true,
|
|
41
|
+
},
|
|
42
|
+
includeArchived: {
|
|
43
|
+
propDefinition: [
|
|
44
|
+
linearApp,
|
|
45
|
+
"includeArchived",
|
|
46
|
+
],
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
async run({ $ }) {
|
|
50
|
+
const variables = {
|
|
51
|
+
orderBy: this.orderBy,
|
|
52
|
+
first: this.first,
|
|
53
|
+
after: this.after,
|
|
54
|
+
includeArchived: this.includeArchived,
|
|
55
|
+
};
|
|
56
|
+
if (this.teamId) {
|
|
57
|
+
variables.filter = {
|
|
58
|
+
team: {
|
|
59
|
+
id: {
|
|
60
|
+
eq: this.teamId,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const {
|
|
67
|
+
nodes, pageInfo,
|
|
68
|
+
} = await this.linearApp.listStates(variables);
|
|
69
|
+
|
|
70
|
+
$.export("$summary", `Found ${nodes?.length ?? 0} workflow state${nodes?.length === 1
|
|
71
|
+
? ""
|
|
72
|
+
: "s"}`);
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
nodes,
|
|
76
|
+
pageInfo,
|
|
77
|
+
};
|
|
78
|
+
},
|
|
79
|
+
};
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "linear_app-remove-label-from-issue",
|
|
5
5
|
name: "Remove Label from Issue",
|
|
6
6
|
description: "Remove a label from an issue in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Mutation?query=issueremovelabel)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: true,
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "Search Issues",
|
|
8
8
|
description: "Searches Linear issues by team, project, assignee, labels, state, or text query. Supports pagination, ordering, and archived issues. Returns array of matching issues. Uses API Key authentication. See Linear docs for additional info [here](https://linear.app/developers/graphql).",
|
|
9
9
|
type: "action",
|
|
10
|
-
version: "0.2.
|
|
10
|
+
version: "0.2.20",
|
|
11
11
|
annotations: {
|
|
12
12
|
destructiveHint: false,
|
|
13
13
|
openWorldHint: true,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "linear_app-update-initiative",
|
|
5
5
|
name: "Update Initiative",
|
|
6
6
|
description: "Update an initiative in Linear. [See the documentation](https://studio.apollographql.com/public/Linear-API/variant/current/schema/reference/objects/Mutation?query=initiativeupdate)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.3",
|
|
8
8
|
type: "action",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: true,
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
name: "Update Issue",
|
|
6
6
|
description: "Updates an existing Linear issue. Can modify title, description, assignee, state, project, team, labels, priority, and dates. Returns updated issue details. Uses API Key authentication. [See the documentation](https://linear.app/developers/graphql#creating-and-editing-issues).",
|
|
7
7
|
type: "action",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.20",
|
|
9
9
|
annotations: {
|
|
10
10
|
destructiveHint: true,
|
|
11
11
|
openWorldHint: true,
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "New Comment Created (Instant)",
|
|
8
8
|
description: "Triggers instantly when a new comment is added to an issue in Linear. Returns comment details including content, author, issue reference, and timestamps. Supports filtering by team. See Linear docs for additional info [here](https://linear.app/developers/webhooks).",
|
|
9
9
|
type: "source",
|
|
10
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.21",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
methods: {
|
|
13
13
|
...common.methods,
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "New Issue Created (Instant)",
|
|
8
8
|
description: "Triggers instantly when a new issue is created in Linear. Provides complete issue details including title, description, team, assignee, state, and timestamps. Supports filtering by team and project. See Linear docs for additional info [here](https://linear.app/developers/webhooks).",
|
|
9
9
|
type: "source",
|
|
10
|
-
version: "0.3.
|
|
10
|
+
version: "0.3.21",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
methods: {
|
|
13
13
|
...common.methods,
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
name: "Issue Updated (Instant)",
|
|
8
8
|
description: "Triggers instantly when any issue is updated in Linear. Provides complete issue details with changes. Supports filtering by team and project. Includes all updates except status changes. See Linear docs for additional info [here](https://linear.app/developers/webhooks).",
|
|
9
9
|
type: "source",
|
|
10
|
-
version: "0.3.
|
|
10
|
+
version: "0.3.21",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
methods: {
|
|
13
13
|
...common.methods,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
name: "Issue Status Updated (Instant)",
|
|
9
9
|
description: "Triggers instantly when an issue's workflow state changes (e.g., Todo to In Progress). Returns issue with previous and current state info. Can filter by specific target state. See Linear docs for additional info [here](https://linear.app/developers/webhooks).",
|
|
10
10
|
type: "source",
|
|
11
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.21",
|
|
12
12
|
dedupe: "unique",
|
|
13
13
|
props: {
|
|
14
14
|
linearApp: common.props.linearApp,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
name: "New Project Update Written (Instant)",
|
|
9
9
|
description: "Triggers instantly when a project update (status report) is created in Linear. Returns update content, author, project details, and health status. Filters by team and optionally by project. See Linear docs for additional info [here](https://linear.app/developers/webhooks).",
|
|
10
10
|
type: "source",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.13",
|
|
12
12
|
dedupe: "unique",
|
|
13
13
|
props: {
|
|
14
14
|
linearApp,
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
name: "Project Updated (Instant)",
|
|
9
9
|
description: "Triggers instantly when a project is updated in Linear. Returns project details including name, description, status, dates, and team info. Supports filtering by specific teams. See Linear docs for additional info [here](https://linear.app/developers/webhooks).",
|
|
10
10
|
type: "source",
|
|
11
|
-
version: "0.0.
|
|
11
|
+
version: "0.0.14",
|
|
12
12
|
dedupe: "unique",
|
|
13
13
|
props: {
|
|
14
14
|
linearApp,
|