tmux-team 2.2.0 → 3.0.0-alpha.1

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/src/pm/types.ts DELETED
@@ -1,91 +0,0 @@
1
- // ─────────────────────────────────────────────────────────────
2
- // Project Management types
3
- // ─────────────────────────────────────────────────────────────
4
-
5
- export type TaskStatus = 'pending' | 'in_progress' | 'done';
6
- export type MilestoneStatus = 'pending' | 'in_progress' | 'done';
7
-
8
- export interface Team {
9
- id: string;
10
- name: string;
11
- windowId?: string;
12
- createdAt: string;
13
- }
14
-
15
- export interface Milestone {
16
- id: string;
17
- name: string;
18
- status: MilestoneStatus;
19
- description?: string;
20
- docPath?: string;
21
- createdAt: string;
22
- updatedAt: string;
23
- }
24
-
25
- export interface Task {
26
- id: string;
27
- title: string;
28
- milestone?: string;
29
- status: TaskStatus;
30
- assignee?: string;
31
- docPath?: string;
32
- createdAt: string;
33
- updatedAt: string;
34
- }
35
-
36
- export interface AuditEvent {
37
- event: string;
38
- id: string;
39
- actor: string;
40
- ts: string;
41
- [key: string]: unknown;
42
- }
43
-
44
- export interface CreateTaskInput {
45
- title: string;
46
- body?: string;
47
- milestone?: string;
48
- assignee?: string;
49
- }
50
-
51
- export interface UpdateTaskInput {
52
- status?: TaskStatus;
53
- assignee?: string;
54
- title?: string;
55
- milestone?: string;
56
- }
57
-
58
- export interface CreateMilestoneInput {
59
- name: string;
60
- description?: string;
61
- }
62
-
63
- export interface UpdateMilestoneInput {
64
- name?: string;
65
- status?: MilestoneStatus;
66
- description?: string;
67
- }
68
-
69
- export interface ListTasksFilter {
70
- milestone?: string;
71
- status?: TaskStatus;
72
- assignee?: string;
73
- excludeCompletedMilestones?: boolean; // Hide tasks in completed milestones (default: true)
74
- hideOrphanTasks?: boolean; // Hide tasks without milestone (default: false)
75
- }
76
-
77
- // ─────────────────────────────────────────────────────────────
78
- // Storage backend configuration
79
- // ─────────────────────────────────────────────────────────────
80
-
81
- export type StorageBackend = 'fs' | 'github';
82
-
83
- export interface TeamConfig {
84
- backend: StorageBackend;
85
- repo?: string; // GitHub repo (owner/repo format) for github backend
86
- }
87
-
88
- export interface TeamWithConfig extends Team {
89
- backend: StorageBackend;
90
- repo?: string;
91
- }