Skip to content

Commit d642931

Browse files
committedMar 13, 2019
Make the task template in a hook be a JSON
1 parent d40f6c3 commit d642931

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed
 

‎services/web-server/src/graphql/Hooks.graphql

+1-16
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,6 @@ input HookMetadataInput {
1212
emailOnError: Boolean
1313
}
1414

15-
type HookTask {
16-
provisionerId: String!
17-
workerType: String!
18-
schedulerId: ID
19-
taskGroupId: ID
20-
routes: [String]
21-
priority: TaskPriority
22-
retries: Int
23-
scopes: [String]
24-
payload: JSON!
25-
metadata: TaskMetadata!
26-
tags: JSON
27-
extra: JSON
28-
}
29-
3015
enum HookFireResult {
3116
SUCCESS
3217
ERROR
@@ -67,7 +52,7 @@ type Hook {
6752
hookId: ID!
6853
metadata: HookMetadata!
6954
schedule: [String]!
70-
task: HookTask!
55+
task: JSON!
7156
expires: DateTime!
7257
deadline: DateTime!
7358
triggerSchema: JSON!

0 commit comments

Comments
 (0)
Please sign in to comment.