-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtaskManager.ts
More file actions
83 lines (70 loc) · 1.49 KB
/
taskManager.ts
File metadata and controls
83 lines (70 loc) · 1.49 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import { gql } from 'apollo-server-express';
export default gql`
"""
Task Manager usage tracking for daily auto-task budget
"""
type TaskManagerUsage {
"""
UTC day boundary (e.g. 2026-01-17T00:00:00.000Z)
"""
dayStartUtc: DateTime!
"""
Number of auto-created tasks since dayStartUtc
"""
autoTasksCreated: Int!
}
"""
GitHub Task Manager specific configuration
"""
type GitHubTaskManagerConfig {
"""
GitHub App installation ID
"""
installationId: String!
"""
Repository ID
"""
repoId: String!
"""
Repository full name (owner/repo)
"""
repoFullName: String!
}
"""
Task Manager configuration for project
"""
type TaskManager {
"""
Type of task manager (currently only 'github' is supported)
"""
type: String!
"""
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!
"""
Usage tracking for daily auto-task budget
"""
usage: TaskManagerUsage
"""
Date when integration was connected
"""
connectedAt: DateTime!
"""
Date when configuration was last updated
"""
updatedAt: DateTime!
"""
Task manager specific configuration (typed by type)
"""
config: GitHubTaskManagerConfig!
}
`;