-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathprojectTaskManagerMutations.ts
More file actions
50 lines (44 loc) · 1011 Bytes
/
projectTaskManagerMutations.ts
File metadata and controls
50 lines (44 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import { gql } from 'apollo-server-express';
export default gql`
"""
Input type for updating task manager settings
"""
input UpdateTaskManagerSettingsInput {
"""
Project ID to update
"""
projectId: ID!
"""
Enable automatic task creation by scheduled worker
"""
autoTaskEnabled: Boolean!
"""
Threshold for auto task creation (minimum totalCount)
"""
taskThresholdTotalCount: Int!
"""
Assign agent (e.g. Copilot) to newly created tasks
"""
assignAgent: Boolean!
}
extend type Mutation {
"""
Disconnect Task Manager integration from project
"""
disconnectTaskManager(
"""
Project ID to disconnect Task Manager from
"""
projectId: ID!
): Project! @requireAdmin
"""
Update Task Manager settings for project
"""
updateTaskManagerSettings(
"""
Task Manager settings input
"""
input: UpdateTaskManagerSettingsInput!
): Project! @requireAdmin
}
`;