@pipedream/linear 0.3.3 → 0.4.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-issue/create-issue.mjs +1 -1
- package/actions/get-issue/get-issue.mjs +26 -0
- package/actions/get-teams/get-teams.mjs +1 -1
- package/actions/search-issues/search-issues.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 +15 -0
- package/sources/issue-created-instant/issue-created-instant.mjs +1 -1
- package/sources/issue-updated-instant/issue-updated-instant.mjs +1 -1
|
@@ -4,6 +4,7 @@ import createIssue from "../../../linear_app/actions/create-issue/create-issue.m
|
|
|
4
4
|
|
|
5
5
|
/* eslint-disable pipedream/required-properties-type */
|
|
6
6
|
/* eslint-disable pipedream/required-properties-name */
|
|
7
|
+
/* eslint-disable pipedream/required-properties-version */
|
|
7
8
|
|
|
8
9
|
const {
|
|
9
10
|
// eslint-disable-next-line no-unused-vars
|
|
@@ -15,7 +16,6 @@ export default {
|
|
|
15
16
|
...createIssue,
|
|
16
17
|
key: "linear-create-issue",
|
|
17
18
|
description: "Create an issue (OAuth). See the docs [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api#creating-and-editing-issues)",
|
|
18
|
-
version: "0.0.2",
|
|
19
19
|
props: {
|
|
20
20
|
linearApp,
|
|
21
21
|
...utils.buildPropDefinitions({
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import linearApp from "../../linear.app.mjs";
|
|
2
|
+
import utils from "../../common/utils.mjs";
|
|
3
|
+
import getIssue from "../../../linear_app/actions/get-issue/get-issue.mjs";
|
|
4
|
+
|
|
5
|
+
/* eslint-disable pipedream/required-properties-type */
|
|
6
|
+
/* eslint-disable pipedream/required-properties-name */
|
|
7
|
+
/* eslint-disable pipedream/required-properties-version */
|
|
8
|
+
|
|
9
|
+
const {
|
|
10
|
+
// eslint-disable-next-line no-unused-vars
|
|
11
|
+
linearApp: app,
|
|
12
|
+
...otherProps
|
|
13
|
+
} = getIssue.props;
|
|
14
|
+
|
|
15
|
+
export default {
|
|
16
|
+
...getIssue,
|
|
17
|
+
key: "linear-get-issue",
|
|
18
|
+
description: "Get an issue by ID (OAuth). See the docs [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api)",
|
|
19
|
+
props: {
|
|
20
|
+
linearApp,
|
|
21
|
+
...utils.buildPropDefinitions({
|
|
22
|
+
app: linearApp,
|
|
23
|
+
props: otherProps,
|
|
24
|
+
}),
|
|
25
|
+
},
|
|
26
|
+
};
|
|
@@ -3,12 +3,12 @@ import getTeams from "../../../linear_app/actions/get-teams/get-teams.mjs";
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable pipedream/required-properties-type */
|
|
5
5
|
/* eslint-disable pipedream/required-properties-name */
|
|
6
|
+
/* eslint-disable pipedream/required-properties-version */
|
|
6
7
|
|
|
7
8
|
export default {
|
|
8
9
|
...getTeams,
|
|
9
10
|
key: "linear-get-teams",
|
|
10
11
|
description: "Get all the teams (OAuth). See the docs [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api#creating-and-editing-issues)",
|
|
11
|
-
version: "0.0.2",
|
|
12
12
|
props: {
|
|
13
13
|
linearApp,
|
|
14
14
|
},
|
|
@@ -4,6 +4,7 @@ import searchIssues from "../../../linear_app/actions/search-issues/search-issue
|
|
|
4
4
|
|
|
5
5
|
/* eslint-disable pipedream/required-properties-type */
|
|
6
6
|
/* eslint-disable pipedream/required-properties-name */
|
|
7
|
+
/* eslint-disable pipedream/required-properties-version */
|
|
7
8
|
|
|
8
9
|
const {
|
|
9
10
|
// eslint-disable-next-line no-unused-vars
|
|
@@ -15,7 +16,6 @@ export default {
|
|
|
15
16
|
...searchIssues,
|
|
16
17
|
key: "linear-search-issues",
|
|
17
18
|
description: "Search issues (OAuth). See the docs [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api)",
|
|
18
|
-
version: "0.1.0",
|
|
19
19
|
props: {
|
|
20
20
|
linearApp,
|
|
21
21
|
...utils.buildPropDefinitions({
|
|
@@ -4,6 +4,7 @@ import updateIssue from "../../../linear_app/actions/update-issue/update-issue.m
|
|
|
4
4
|
|
|
5
5
|
/* eslint-disable pipedream/required-properties-type */
|
|
6
6
|
/* eslint-disable pipedream/required-properties-name */
|
|
7
|
+
/* eslint-disable pipedream/required-properties-version */
|
|
7
8
|
|
|
8
9
|
const {
|
|
9
10
|
// eslint-disable-next-line no-unused-vars
|
|
@@ -15,7 +16,6 @@ export default {
|
|
|
15
16
|
...updateIssue,
|
|
16
17
|
key: "linear-update-issue",
|
|
17
18
|
description: "Update an issue (OAuth). See the docs [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api#creating-and-editing-issues)",
|
|
18
|
-
version: "0.0.2",
|
|
19
19
|
props: {
|
|
20
20
|
linearApp,
|
|
21
21
|
...utils.buildPropDefinitions({
|
package/package.json
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import common from "../common/webhook-props.mjs";
|
|
2
|
+
import commentCreatedInstant from "../../../linear_app/sources/comment-created-instant/comment-created-instant.mjs";
|
|
3
|
+
|
|
4
|
+
/* eslint-disable pipedream/required-properties-type */
|
|
5
|
+
/* eslint-disable pipedream/required-properties-name */
|
|
6
|
+
/* eslint-disable pipedream/required-properties-version */
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
...commentCreatedInstant,
|
|
10
|
+
key: "linear-comment-created-instant",
|
|
11
|
+
description: "Emit new event when a new comment is created (OAuth). See the docs [here](https://developers.linear.app/docs/graphql/webhooks)",
|
|
12
|
+
props: {
|
|
13
|
+
...common.props,
|
|
14
|
+
},
|
|
15
|
+
};
|
|
@@ -3,12 +3,12 @@ import issueCreatedInstant from "../../../linear_app/sources/issue-created-insta
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable pipedream/required-properties-type */
|
|
5
5
|
/* eslint-disable pipedream/required-properties-name */
|
|
6
|
+
/* eslint-disable pipedream/required-properties-version */
|
|
6
7
|
|
|
7
8
|
export default {
|
|
8
9
|
...issueCreatedInstant,
|
|
9
10
|
key: "linear-issue-created-instant",
|
|
10
11
|
description: "Emit new event when a new issue is created (OAuth). See the docs [here](https://developers.linear.app/docs/graphql/webhooks)",
|
|
11
|
-
version: "0.1.0",
|
|
12
12
|
props: {
|
|
13
13
|
...common.props,
|
|
14
14
|
},
|
|
@@ -3,12 +3,12 @@ import issueUpdatedInstant from "../../../linear_app/sources/issue-updated-insta
|
|
|
3
3
|
|
|
4
4
|
/* eslint-disable pipedream/required-properties-type */
|
|
5
5
|
/* eslint-disable pipedream/required-properties-name */
|
|
6
|
+
/* eslint-disable pipedream/required-properties-version */
|
|
6
7
|
|
|
7
8
|
export default {
|
|
8
9
|
...issueUpdatedInstant,
|
|
9
10
|
key: "linear-issue-updated-instant",
|
|
10
11
|
description: "Emit new event when an issue is updated (OAuth). See the docs [here](https://developers.linear.app/docs/graphql/webhooks)",
|
|
11
|
-
version: "0.1.0",
|
|
12
12
|
props: {
|
|
13
13
|
...common.props,
|
|
14
14
|
},
|