@activepieces/piece-github 0.5.9 → 0.6.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/package.json +9 -15
- package/src/i18n/de.json +50 -2
- package/src/i18n/es.json +50 -2
- package/src/i18n/fr.json +50 -2
- package/src/i18n/ja.json +50 -2
- package/src/i18n/nl.json +50 -2
- package/src/i18n/pt.json +50 -2
- package/src/i18n/translation.json +50 -2
- package/src/i18n/zh.json +50 -2
- package/src/lib/actions/add-labels-to-issue.d.ts +3 -6
- package/src/lib/actions/create-branch.d.ts +2 -5
- package/src/lib/actions/create-comment-on-a-issue.d.ts +1 -4
- package/src/lib/actions/create-commit-comment.d.ts +1 -4
- package/src/lib/actions/create-discussion-comment.d.ts +1 -4
- package/src/lib/actions/create-issue.d.ts +3 -6
- package/src/lib/actions/create-pull-request-review-comment.d.ts +1 -4
- package/src/lib/actions/delete-branch.d.ts +2 -5
- package/src/lib/actions/find-branch.d.ts +1 -4
- package/src/lib/actions/find-issue.d.ts +1 -4
- package/src/lib/actions/get-issue-information.d.ts +1 -4
- package/src/lib/actions/lock-issue.d.ts +2 -5
- package/src/lib/actions/lock-issue.js +1 -0
- package/src/lib/actions/lock-issue.js.map +1 -1
- package/src/lib/actions/unlock-issue.d.ts +1 -4
- package/src/lib/actions/update-issue.d.ts +5 -8
- package/src/lib/common/index.d.ts +7 -10
- package/src/lib/common/index.js +8 -0
- package/src/lib/common/index.js.map +1 -1
- package/src/lib/trigger/index.d.ts +16 -2
- package/src/lib/trigger/index.js.map +1 -1
- package/src/lib/trigger/new-branch.d.ts +3 -12
- package/src/lib/trigger/new-collaborator.d.ts +3 -12
- package/src/lib/trigger/new-label.d.ts +3 -12
- package/src/lib/trigger/new-milestone.d.ts +3 -12
- package/src/lib/trigger/new-release.d.ts +3 -12
- package/src/lib/trigger/register-trigger.d.ts +3 -12
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"Create Pull Request Review Comment": "Create Pull Request Review Comment",
|
|
10
10
|
"Create Commit Comment": "Create Commit Comment",
|
|
11
11
|
"Create Discussion Comment": "Create Discussion Comment",
|
|
12
|
+
"Add Labels to Issue": "Add Labels to Issue",
|
|
13
|
+
"Create Branch": "Create Branch",
|
|
14
|
+
"Delete Branch": "Delete Branch",
|
|
15
|
+
"Update Issue": "Update Issue",
|
|
16
|
+
"Find Branch": "Find Branch",
|
|
17
|
+
"Find Issue": "Find Issue",
|
|
18
|
+
"Find User": "Find User",
|
|
12
19
|
"Custom API Call": "Custom API Call",
|
|
13
20
|
"Create Issue in GitHub Repository": "Create Issue in GitHub Repository",
|
|
14
21
|
"Grabs information from a specific issue": "Grabs information from a specific issue",
|
|
@@ -19,6 +26,13 @@
|
|
|
19
26
|
"Creates a review comment on a pull request in a GitHub repository": "Creates a review comment on a pull request in a GitHub repository",
|
|
20
27
|
"Creates a comment on a commit in a GitHub repository": "Creates a comment on a commit in a GitHub repository",
|
|
21
28
|
"Creates a comment on a discussion in a GitHub repository": "Creates a comment on a discussion in a GitHub repository",
|
|
29
|
+
"Adds labels to an existing issue.": "Adds labels to an existing issue.",
|
|
30
|
+
"Creates a new branch on a repository.": "Creates a new branch on a repository.",
|
|
31
|
+
"Deletes a branch from a repository.": "Deletes a branch from a repository.",
|
|
32
|
+
"Updates an existing issue.": "Updates an existing issue.",
|
|
33
|
+
"Finds a branch by name and returns its details.": "Finds a branch by name and returns its details.",
|
|
34
|
+
"Finds an issue based title.": "Finds an issue based title.",
|
|
35
|
+
"Finds a user by their login name.": "Finds a user by their login name.",
|
|
22
36
|
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
23
37
|
"Repository": "Repository",
|
|
24
38
|
"Title": "Title",
|
|
@@ -37,10 +51,19 @@
|
|
|
37
51
|
"Comment Body": "Comment Body",
|
|
38
52
|
"Position": "Position",
|
|
39
53
|
"Discussion Number": "Discussion Number",
|
|
54
|
+
"Issue": "Issue",
|
|
55
|
+
"Source Branch": "Source Branch",
|
|
56
|
+
"New Branch Name": "New Branch Name",
|
|
57
|
+
"Branch": "Branch",
|
|
58
|
+
"Body": "Body",
|
|
59
|
+
"State": "State",
|
|
60
|
+
"State Reason": "State Reason",
|
|
61
|
+
"Milestone": "Milestone",
|
|
62
|
+
"Branch Name": "Branch Name",
|
|
63
|
+
"Username": "Username",
|
|
40
64
|
"Method": "Method",
|
|
41
65
|
"Headers": "Headers",
|
|
42
66
|
"Query Parameters": "Query Parameters",
|
|
43
|
-
"Body": "Body",
|
|
44
67
|
"Response is Binary ?": "Response is Binary ?",
|
|
45
68
|
"No Error on Failure": "No Error on Failure",
|
|
46
69
|
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
@@ -64,8 +87,23 @@
|
|
|
64
87
|
"The line index in the diff to comment on (optional)": "The line index in the diff to comment on (optional)",
|
|
65
88
|
"The number of the discussion to comment on": "The number of the discussion to comment on",
|
|
66
89
|
"The content of the comment (supports markdown)": "The content of the comment (supports markdown)",
|
|
90
|
+
"The issue to select.": "The issue to select.",
|
|
91
|
+
"The source branch that will be used to create the new branch": "The source branch that will be used to create the new branch",
|
|
92
|
+
"The name for the new branch (e.g., 'feature/new-design').": "The name for the new branch (e.g., 'feature/new-design').",
|
|
93
|
+
"The new state of the issue.": "The new state of the issue.",
|
|
94
|
+
"The reason for the state change. (Only used if State is changed).": "The reason for the state change. (Only used if State is changed).",
|
|
95
|
+
"The milestone to associate this issue with.": "The milestone to associate this issue with.",
|
|
96
|
+
"Filter issues by their state.": "Filter issues by their state.",
|
|
97
|
+
"The GitHub username (login) to look up.": "The GitHub username (login) to look up.",
|
|
67
98
|
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
68
99
|
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
|
100
|
+
"Open": "Open",
|
|
101
|
+
"Closed": "Closed",
|
|
102
|
+
"Completed": "Completed",
|
|
103
|
+
"Not Planned": "Not Planned",
|
|
104
|
+
"Reopened": "Reopened",
|
|
105
|
+
"Duplicate": "Duplicate",
|
|
106
|
+
"All": "All",
|
|
69
107
|
"GET": "GET",
|
|
70
108
|
"POST": "POST",
|
|
71
109
|
"PATCH": "PATCH",
|
|
@@ -78,10 +116,20 @@
|
|
|
78
116
|
"Push": "Push",
|
|
79
117
|
"New Discussion": "New Discussion",
|
|
80
118
|
"New Comment Posted": "New Comment Posted",
|
|
119
|
+
"New Branch": "New Branch",
|
|
120
|
+
"New Collaborator": "New Collaborator",
|
|
121
|
+
"New Label": "New Label",
|
|
122
|
+
"New Milestone": "New Milestone",
|
|
123
|
+
"New Release": "New Release",
|
|
81
124
|
"Triggers when there is activity on a pull request.": "Triggers when there is activity on a pull request.",
|
|
82
125
|
"Trigger when there is activity relating to repository stars.": "Trigger when there is activity relating to repository stars.",
|
|
83
126
|
"Triggers when there is activity relating to an issue.": "Triggers when there is activity relating to an issue.",
|
|
84
127
|
"Triggers when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, when a branch is deleted, when a tag is deleted, or when a repository is created from a template.": "Triggers when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, when a branch is deleted, when a tag is deleted, or when a repository is created from a template.",
|
|
85
128
|
"Triggers when there is activity relating to a discussion.": "Triggers when there is activity relating to a discussion.",
|
|
86
|
-
"Triggers when there is a new comment posted on a discussion.": "Triggers when there is a new comment posted on a discussion."
|
|
129
|
+
"Triggers when there is a new comment posted on a discussion.": "Triggers when there is a new comment posted on a discussion.",
|
|
130
|
+
"Triggers when a new branch is created.": "Triggers when a new branch is created.",
|
|
131
|
+
"Triggers when a new collaborator is added to a repository.": "Triggers when a new collaborator is added to a repository.",
|
|
132
|
+
"Triggers when a new label is created in a repository.": "Triggers when a new label is created in a repository.",
|
|
133
|
+
"Triggers when a new milestone is created.": "Triggers when a new milestone is created.",
|
|
134
|
+
"Triggers when a new release is added.": "Triggers when a new release is added."
|
|
87
135
|
}
|
package/src/i18n/zh.json
CHANGED
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
"Create Pull Request Review Comment": "Create Pull Request Review Comment",
|
|
10
10
|
"Create Commit Comment": "Create Commit Comment",
|
|
11
11
|
"Create Discussion Comment": "Create Discussion Comment",
|
|
12
|
+
"Add Labels to Issue": "Add Labels to Issue",
|
|
13
|
+
"Create Branch": "Create Branch",
|
|
14
|
+
"Delete Branch": "删除分支",
|
|
15
|
+
"Update Issue": "Update Issue",
|
|
16
|
+
"Find Branch": "Find Branch",
|
|
17
|
+
"Find Issue": "Find Issue",
|
|
18
|
+
"Find User": "Find User",
|
|
12
19
|
"Custom API Call": "自定义 API 呼叫",
|
|
13
20
|
"Create Issue in GitHub Repository": "Create Issue in GitHub Repository",
|
|
14
21
|
"Grabs information from a specific issue": "Grabs information from a specific issue",
|
|
@@ -19,6 +26,13 @@
|
|
|
19
26
|
"Creates a review comment on a pull request in a GitHub repository": "Creates a review comment on a pull request in a GitHub repository",
|
|
20
27
|
"Creates a comment on a commit in a GitHub repository": "Creates a comment on a commit in a GitHub repository",
|
|
21
28
|
"Creates a comment on a discussion in a GitHub repository": "Creates a comment on a discussion in a GitHub repository",
|
|
29
|
+
"Adds labels to an existing issue.": "Adds labels to an existing issue.",
|
|
30
|
+
"Creates a new branch on a repository.": "Creates a new branch on a repository.",
|
|
31
|
+
"Deletes a branch from a repository.": "Deletes a branch from a repository.",
|
|
32
|
+
"Updates an existing issue.": "Updates an existing issue.",
|
|
33
|
+
"Finds a branch by name and returns its details.": "Finds a branch by name and returns its details.",
|
|
34
|
+
"Finds an issue based title.": "Finds an issue based title.",
|
|
35
|
+
"Finds a user by their login name.": "Finds a user by their login name.",
|
|
22
36
|
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
|
23
37
|
"Repository": "Repository",
|
|
24
38
|
"Title": "标题",
|
|
@@ -37,10 +51,19 @@
|
|
|
37
51
|
"Comment Body": "Comment Body",
|
|
38
52
|
"Position": "Position",
|
|
39
53
|
"Discussion Number": "Discussion Number",
|
|
54
|
+
"Issue": "Issue",
|
|
55
|
+
"Source Branch": "Source Branch",
|
|
56
|
+
"New Branch Name": "New Branch Name",
|
|
57
|
+
"Branch": "分支",
|
|
58
|
+
"Body": "正文内容",
|
|
59
|
+
"State": "State",
|
|
60
|
+
"State Reason": "State Reason",
|
|
61
|
+
"Milestone": "Milestone",
|
|
62
|
+
"Branch Name": "分支名称",
|
|
63
|
+
"Username": "用户名",
|
|
40
64
|
"Method": "方法",
|
|
41
65
|
"Headers": "信头",
|
|
42
66
|
"Query Parameters": "查询参数",
|
|
43
|
-
"Body": "正文内容",
|
|
44
67
|
"Response is Binary ?": "Response is Binary ?",
|
|
45
68
|
"No Error on Failure": "失败时没有错误",
|
|
46
69
|
"Timeout (in seconds)": "超时(秒)",
|
|
@@ -64,8 +87,23 @@
|
|
|
64
87
|
"The line index in the diff to comment on (optional)": "The line index in the diff to comment on (optional)",
|
|
65
88
|
"The number of the discussion to comment on": "The number of the discussion to comment on",
|
|
66
89
|
"The content of the comment (supports markdown)": "The content of the comment (supports markdown)",
|
|
90
|
+
"The issue to select.": "The issue to select.",
|
|
91
|
+
"The source branch that will be used to create the new branch": "The source branch that will be used to create the new branch",
|
|
92
|
+
"The name for the new branch (e.g., 'feature/new-design').": "The name for the new branch (e.g., 'feature/new-design').",
|
|
93
|
+
"The new state of the issue.": "The new state of the issue.",
|
|
94
|
+
"The reason for the state change. (Only used if State is changed).": "The reason for the state change. (Only used if State is changed).",
|
|
95
|
+
"The milestone to associate this issue with.": "The milestone to associate this issue with.",
|
|
96
|
+
"Filter issues by their state.": "Filter issues by their state.",
|
|
97
|
+
"The GitHub username (login) to look up.": "The GitHub username (login) to look up.",
|
|
67
98
|
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
|
68
99
|
"Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
|
|
100
|
+
"Open": "Open",
|
|
101
|
+
"Closed": "Closed",
|
|
102
|
+
"Completed": "Completed",
|
|
103
|
+
"Not Planned": "Not Planned",
|
|
104
|
+
"Reopened": "Reopened",
|
|
105
|
+
"Duplicate": "Duplicate",
|
|
106
|
+
"All": "所有的",
|
|
69
107
|
"GET": "获取",
|
|
70
108
|
"POST": "帖子",
|
|
71
109
|
"PATCH": "PATCH",
|
|
@@ -78,10 +116,20 @@
|
|
|
78
116
|
"Push": "推送",
|
|
79
117
|
"New Discussion": "New Discussion",
|
|
80
118
|
"New Comment Posted": "New Comment Posted",
|
|
119
|
+
"New Branch": "新分支",
|
|
120
|
+
"New Collaborator": "New Collaborator",
|
|
121
|
+
"New Label": "New Label",
|
|
122
|
+
"New Milestone": "New Milestone",
|
|
123
|
+
"New Release": "New Release",
|
|
81
124
|
"Triggers when there is activity on a pull request.": "Triggers when there is activity on a pull request.",
|
|
82
125
|
"Trigger when there is activity relating to repository stars.": "Trigger when there is activity relating to repository stars.",
|
|
83
126
|
"Triggers when there is activity relating to an issue.": "Triggers when there is activity relating to an issue.",
|
|
84
127
|
"Triggers when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, when a branch is deleted, when a tag is deleted, or when a repository is created from a template.": "Triggers when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed, when a branch is deleted, when a tag is deleted, or when a repository is created from a template.",
|
|
85
128
|
"Triggers when there is activity relating to a discussion.": "Triggers when there is activity relating to a discussion.",
|
|
86
|
-
"Triggers when there is a new comment posted on a discussion.": "Triggers when there is a new comment posted on a discussion."
|
|
129
|
+
"Triggers when there is a new comment posted on a discussion.": "Triggers when there is a new comment posted on a discussion.",
|
|
130
|
+
"Triggers when a new branch is created.": "Triggers when a new branch is created.",
|
|
131
|
+
"Triggers when a new collaborator is added to a repository.": "Triggers when a new collaborator is added to a repository.",
|
|
132
|
+
"Triggers when a new label is created in a repository.": "Triggers when a new label is created in a repository.",
|
|
133
|
+
"Triggers when a new milestone is created.": "Triggers when a new milestone is created.",
|
|
134
|
+
"Triggers when a new release is added.": "Triggers when a new release is added."
|
|
87
135
|
}
|
|
@@ -2,10 +2,7 @@ export declare const githubAddLabelsToIssueAction: import("@activepieces/pieces-
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}, true>;
|
|
9
|
-
issue_number: import("@activepieces/pieces-framework").DropdownProperty<number, false> | import("@activepieces/pieces-framework").DropdownProperty<number, true>;
|
|
10
|
-
labels: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
6
|
+
issue_number: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
7
|
+
labels: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
11
8
|
}>;
|
|
@@ -2,10 +2,7 @@ export declare const githubCreateBranchAction: import("@activepieces/pieces-fram
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
9
|
-
source_branch: import("@activepieces/pieces-framework").DropdownProperty<string, false> | import("@activepieces/pieces-framework").DropdownProperty<string, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
6
|
+
source_branch: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
10
7
|
new_branch_name: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
11
8
|
}>;
|
|
@@ -2,10 +2,7 @@ export declare const githubCreateCommentOnAIssue: import("@activepieces/pieces-f
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
issue_number: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
10
7
|
comment: import("@activepieces/pieces-framework").LongTextProperty<true>;
|
|
11
8
|
}>;
|
|
@@ -2,10 +2,7 @@ export declare const githubCreateCommitCommentAction: import("@activepieces/piec
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
sha: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
7
|
body: import("@activepieces/pieces-framework").LongTextProperty<true>;
|
|
11
8
|
path: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
@@ -2,10 +2,7 @@ export declare const githubCreateDiscussionCommentAction: import("@activepieces/
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
discussion_number: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
10
7
|
body: import("@activepieces/pieces-framework").LongTextProperty<true>;
|
|
11
8
|
}>;
|
|
@@ -2,12 +2,9 @@ export declare const githubCreateIssueAction: import("@activepieces/pieces-frame
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
title: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
7
|
description: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
11
|
-
labels: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false
|
|
12
|
-
assignees: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false
|
|
8
|
+
labels: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
|
+
assignees: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
13
10
|
}>;
|
|
@@ -2,10 +2,7 @@ export declare const githubCreatePullRequestReviewCommentAction: import("@active
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
pull_number: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
10
7
|
commit_id: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
11
8
|
path: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
@@ -2,9 +2,6 @@ export declare const githubDeleteBranchAction: import("@activepieces/pieces-fram
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
9
|
-
branch: import("@activepieces/pieces-framework").DropdownProperty<string, false> | import("@activepieces/pieces-framework").DropdownProperty<string, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
6
|
+
branch: import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
10
7
|
}>;
|
|
@@ -2,9 +2,6 @@ export declare const githubFindBranchAction: import("@activepieces/pieces-framew
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
branch: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
7
|
}>;
|
|
@@ -2,10 +2,7 @@ export declare const githubFindIssueAction: import("@activepieces/pieces-framewo
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
title: import("@activepieces/pieces-framework").ShortTextProperty<true>;
|
|
10
7
|
state: import("@activepieces/pieces-framework").StaticDropdownProperty<string, true>;
|
|
11
8
|
}>;
|
|
@@ -2,9 +2,6 @@ export declare const githubGetIssueInformation: import("@activepieces/pieces-fra
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
issue_number: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
10
7
|
}>;
|
|
@@ -2,10 +2,7 @@ export declare const githubLockIssueAction: import("@activepieces/pieces-framewo
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
issue_number: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
10
|
-
lock_reason: import("@activepieces/pieces-framework").DropdownProperty<"off-topic" | "too heated" | "resolved" | "spam" | undefined, false
|
|
7
|
+
lock_reason: import("@activepieces/pieces-framework").DropdownProperty<"off-topic" | "too heated" | "resolved" | "spam" | undefined, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
11
8
|
}>;
|
|
@@ -19,6 +19,7 @@ exports.githubLockIssueAction = (0, pieces_framework_1.createAction)({
|
|
|
19
19
|
required: true,
|
|
20
20
|
}),
|
|
21
21
|
lock_reason: pieces_framework_1.Property.Dropdown({
|
|
22
|
+
auth: index_1.githubAuth,
|
|
22
23
|
displayName: 'Lock Reason',
|
|
23
24
|
description: 'The reason for locking the issue',
|
|
24
25
|
required: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lock-issue.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/github/src/lib/actions/lock-issue.ts"],"names":[],"mappings":";;;;AAAA,uCAAyC;AACzC,qEAAwE;AACxE,sCAAwD;AACxD,+DAAyD;AAE5C,QAAA,qBAAqB,GAAG,IAAA,+BAAY,EAAC;IAChD,IAAI,EAAE,kBAAU;IAChB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,YAAY;IACzB,WAAW,EAAE,2BAA2B;IACxC,KAAK,EAAE;QACL,UAAU,EAAE,qBAAY,CAAC,kBAAkB;QAC3C,YAAY,EAAE,2BAAQ,CAAC,MAAM,CAAC;YAC5B,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,WAAW,EAAE,2BAAQ,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"lock-issue.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/github/src/lib/actions/lock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MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,WAAW,EAAE,UAAU,KAAK,IAAI,IAAI,WAAW,YAAY,OAAO;gBAClE,IAAI,EAAE;oBACJ,WAAW;iBACZ;aACF,CAAC,CAAC;YACH,OAAO,QAAQ,CAAC;QAClB,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -2,9 +2,6 @@ export declare const githubUnlockIssueAction: import("@activepieces/pieces-frame
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
repo: string;
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
6
|
issue_number: import("@activepieces/pieces-framework").NumberProperty<true>;
|
|
10
7
|
}>;
|
|
@@ -2,16 +2,13 @@ export declare const githubUpdateIssueAction: import("@activepieces/pieces-frame
|
|
|
2
2
|
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
3
3
|
repo: string;
|
|
4
4
|
owner: string;
|
|
5
|
-
},
|
|
6
|
-
|
|
7
|
-
owner: string;
|
|
8
|
-
}, true>;
|
|
9
|
-
issue_number: import("@activepieces/pieces-framework").DropdownProperty<number, false> | import("@activepieces/pieces-framework").DropdownProperty<number, true>;
|
|
5
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
6
|
+
issue_number: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
10
7
|
title: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
11
8
|
body: import("@activepieces/pieces-framework").LongTextProperty<false>;
|
|
12
9
|
state: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
13
10
|
state_reason: import("@activepieces/pieces-framework").StaticDropdownProperty<string, false>;
|
|
14
|
-
milestone: import("@activepieces/pieces-framework").DropdownProperty<number, false
|
|
15
|
-
labels: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false
|
|
16
|
-
assignees: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false
|
|
11
|
+
milestone: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
12
|
+
labels: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
13
|
+
assignees: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
17
14
|
}>;
|
|
@@ -4,16 +4,13 @@ export declare const githubCommon: {
|
|
|
4
4
|
repositoryDropdown: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
5
5
|
repo: string;
|
|
6
6
|
owner: string;
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
assigneeSingleDropdown: (required?: boolean) => import("@activepieces/pieces-framework").DropdownProperty<string, false> | import("@activepieces/pieces-framework").DropdownProperty<string, true>;
|
|
15
|
-
assigneeDropDown: (required?: boolean) => import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true>;
|
|
16
|
-
labelDropDown: (required?: boolean) => import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true>;
|
|
7
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
8
|
+
milestoneDropdown: (required?: boolean) => import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
9
|
+
branchDropdown: (displayName: string, desc: string, required?: boolean) => import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
10
|
+
issueDropdown: (required?: boolean) => import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
11
|
+
assigneeSingleDropdown: (required?: boolean) => import("@activepieces/pieces-framework").DropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
12
|
+
assigneeDropDown: (required?: boolean) => import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
13
|
+
labelDropDown: (required?: boolean) => import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>> | import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
17
14
|
};
|
|
18
15
|
export interface RepositoryProp {
|
|
19
16
|
repo: string;
|
package/src/lib/common/index.js
CHANGED
|
@@ -7,11 +7,13 @@ const tslib_1 = require("tslib");
|
|
|
7
7
|
const pieces_common_1 = require("@activepieces/pieces-common");
|
|
8
8
|
const pieces_framework_1 = require("@activepieces/pieces-framework");
|
|
9
9
|
const shared_1 = require("@activepieces/shared");
|
|
10
|
+
const __1 = require("../..");
|
|
10
11
|
exports.githubCommon = {
|
|
11
12
|
baseUrl: 'https://api.github.com',
|
|
12
13
|
repositoryDropdown: pieces_framework_1.Property.Dropdown({
|
|
13
14
|
displayName: 'Repository',
|
|
14
15
|
refreshers: [],
|
|
16
|
+
auth: __1.githubAuth,
|
|
15
17
|
required: true,
|
|
16
18
|
options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
|
|
17
19
|
if (!auth) {
|
|
@@ -38,6 +40,7 @@ exports.githubCommon = {
|
|
|
38
40
|
}),
|
|
39
41
|
}),
|
|
40
42
|
milestoneDropdown: (required = false) => pieces_framework_1.Property.Dropdown({
|
|
43
|
+
auth: __1.githubAuth,
|
|
41
44
|
displayName: 'Milestone',
|
|
42
45
|
description: 'The milestone to associate this issue with.',
|
|
43
46
|
required,
|
|
@@ -68,6 +71,7 @@ exports.githubCommon = {
|
|
|
68
71
|
}),
|
|
69
72
|
}),
|
|
70
73
|
branchDropdown: (displayName, desc, required = true) => pieces_framework_1.Property.Dropdown({
|
|
74
|
+
auth: __1.githubAuth,
|
|
71
75
|
displayName,
|
|
72
76
|
description: desc,
|
|
73
77
|
required,
|
|
@@ -98,6 +102,7 @@ exports.githubCommon = {
|
|
|
98
102
|
}),
|
|
99
103
|
}),
|
|
100
104
|
issueDropdown: (required = true) => pieces_framework_1.Property.Dropdown({
|
|
105
|
+
auth: __1.githubAuth,
|
|
101
106
|
displayName: 'Issue',
|
|
102
107
|
description: 'The issue to select.',
|
|
103
108
|
required,
|
|
@@ -134,6 +139,7 @@ exports.githubCommon = {
|
|
|
134
139
|
}),
|
|
135
140
|
}),
|
|
136
141
|
assigneeSingleDropdown: (required = false) => pieces_framework_1.Property.Dropdown({
|
|
142
|
+
auth: __1.githubAuth,
|
|
137
143
|
displayName: 'Assignee',
|
|
138
144
|
description: 'Filter issues by a specific assignee.',
|
|
139
145
|
required,
|
|
@@ -160,6 +166,7 @@ exports.githubCommon = {
|
|
|
160
166
|
}),
|
|
161
167
|
}),
|
|
162
168
|
assigneeDropDown: (required = false) => pieces_framework_1.Property.MultiSelectDropdown({
|
|
169
|
+
auth: __1.githubAuth,
|
|
163
170
|
displayName: 'Assignees',
|
|
164
171
|
description: 'Assignees for the Issue',
|
|
165
172
|
refreshers: ['repository'],
|
|
@@ -187,6 +194,7 @@ exports.githubCommon = {
|
|
|
187
194
|
}),
|
|
188
195
|
}),
|
|
189
196
|
labelDropDown: (required = false) => pieces_framework_1.Property.MultiSelectDropdown({
|
|
197
|
+
auth: __1.githubAuth,
|
|
190
198
|
displayName: 'Labels',
|
|
191
199
|
description: 'Labels for the Issue',
|
|
192
200
|
refreshers: ['repository'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/github/src/lib/common/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/github/src/lib/common/index.ts"],"names":[],"mappings":";;;AAkTA,sCA+BC;AAED,wDA8BC;;AAjXD,+DAQqC;AACrC,qEAA+E;AAC/E,iDAA6C;AAC7C,6BAAmC;AAEtB,QAAA,YAAY,GAAG;IAC1B,OAAO,EAAE,wBAAwB;IACjC,kBAAkB,EAAE,2BAAQ,CAAC,QAAQ,CAInC;QACA,WAAW,EAAE,YAAY;QACzB,UAAU,EAAE,EAAE;QACd,IAAI,EAAE,cAAU;QAChB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;YACtB,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,OAAO;oBACL,QAAQ,EAAE,IAAI;oBACd,OAAO,EAAE,EAAE;oBACX,WAAW,EAAE,2BAA2B;iBACzC,CAAC;YACJ,CAAC;YACD,MAAM,QAAQ,GAAwB,IAA2B,CAAC;YAClE,MAAM,YAAY,GAAG,MAAM,WAAW,CAAC,QAAQ,CAAC,CAAC;YACjD,OAAO;gBACL,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACjC,OAAO;wBACL,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,GAAG,IAAI,CAAC,IAAI;wBACzC,KAAK,EAAE;4BACL,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;4BACvB,IAAI,EAAE,IAAI,CAAC,IAAI;yBAChB;qBACF,CAAC;gBACJ,CAAC,CAAC;aACH,CAAC;QACJ,CAAC,CAAA;KACF,CAAC;IACF,iBAAiB,EAAE,CAAC,QAAQ,GAAG,KAAK,EAAE,EAAE,CACtC,2BAAQ,CAAC,QAAQ,CAAC;QAChB,IAAI,EAAE,cAAU;QAChB,WAAW,EAAE,WAAW;QACxB,WAAW,EAAE,6CAA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C,CAAC,CAAC,EAAE,CAAC;QAE9B,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC;QACZ,EAAE,CAAC,QAAQ,GAAG,GAAG,CAAC;QAElB,MAAM,UAAU,GAAQ,EAAE,CAAC;QAC3B,IAAI,YAAY,GAAG,IAAI,CAAC;QAExB,GAAG,CAAC;YACF,MAAM,QAAQ,GAAG,MAAM,aAAa,CAAM;gBACxC,WAAW;gBACX,MAAM;gBACN,WAAW;gBACX,KAAK,EAAE,EAAE;gBACT,IAAI;aACL,CAAC,CAAC;YACH,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,GAAG,CAAC,CAAC;YACtB,UAAU,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;YAClC,MAAM,UAAU,GAAG,MAAA,QAAQ,CAAC,OAAO,0CAAE,IAAI,CAAC;YAC1C,YAAY,GAAG,CAAC,IAAA,cAAK,EAAC,UAAU,CAAC,IAAI,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;QACzE,CAAC,QAAQ,YAAY,EAAE;QAEvB,OAAO,UAAU,CAAC;IACpB,CAAC;CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Trigger } from '@activepieces/pieces-framework';
|
|
2
1
|
export declare enum GithubEventType {
|
|
3
2
|
PULL_REQUEST = "pull_request",
|
|
4
3
|
STAR = "star",
|
|
@@ -1294,4 +1293,19 @@ export declare const registered: ({
|
|
|
1294
1293
|
ref?: undefined;
|
|
1295
1294
|
};
|
|
1296
1295
|
})[];
|
|
1297
|
-
export declare const githubTriggers:
|
|
1296
|
+
export declare const githubTriggers: (import("@activepieces/pieces-framework").ITrigger<import("@activepieces/pieces-framework").TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
1297
|
+
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
1298
|
+
repo: string;
|
|
1299
|
+
owner: string;
|
|
1300
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
1301
|
+
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/pieces-framework").TriggerStrategy.POLLING, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
1302
|
+
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
1303
|
+
repo: string;
|
|
1304
|
+
owner: string;
|
|
1305
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
1306
|
+
}> | import("@activepieces/pieces-framework").ITrigger<import("@activepieces/pieces-framework").TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
|
|
1307
|
+
repository: import("@activepieces/pieces-framework").DropdownProperty<{
|
|
1308
|
+
repo: string;
|
|
1309
|
+
owner: string;
|
|
1310
|
+
}, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
|
|
1311
|
+
}>)[];
|