@shzlwio/windrunner-cli 1.0.0 → 1.1.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/dist/index.js +513 -3
- package/package.json +1 -1
- package/src/index.ts +784 -4
- package/src/types.ts +80 -0
package/src/types.ts
CHANGED
|
@@ -29,6 +29,20 @@ export interface Project {
|
|
|
29
29
|
archivedAt?: string | null;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
export interface ProjectMember {
|
|
33
|
+
projectId: string;
|
|
34
|
+
userId: string;
|
|
35
|
+
role: string;
|
|
36
|
+
createdAt?: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface ProjectTeam {
|
|
40
|
+
projectId: string;
|
|
41
|
+
teamId: string;
|
|
42
|
+
role: string;
|
|
43
|
+
createdAt?: string;
|
|
44
|
+
}
|
|
45
|
+
|
|
32
46
|
export interface WorkItem {
|
|
33
47
|
id?: string;
|
|
34
48
|
projectId?: string;
|
|
@@ -66,6 +80,72 @@ export interface Entry {
|
|
|
66
80
|
updatedAt?: string;
|
|
67
81
|
}
|
|
68
82
|
|
|
83
|
+
export interface Relationship {
|
|
84
|
+
id?: string;
|
|
85
|
+
projectId?: string;
|
|
86
|
+
fromEntityType: string;
|
|
87
|
+
fromEntityId: string;
|
|
88
|
+
toEntityType: string;
|
|
89
|
+
toEntityId: string;
|
|
90
|
+
type: string;
|
|
91
|
+
reason?: string | null;
|
|
92
|
+
sourceEntryId?: string | null;
|
|
93
|
+
createdByUserId?: string;
|
|
94
|
+
createdAt?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export interface SearchResult {
|
|
98
|
+
workItems: WorkItemResponse[];
|
|
99
|
+
entries: Entry[];
|
|
100
|
+
relationships: Relationship[];
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export interface Team {
|
|
104
|
+
id: string;
|
|
105
|
+
name: string;
|
|
106
|
+
description?: string | null;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export interface TeamMember {
|
|
110
|
+
teamId: string;
|
|
111
|
+
userId: string;
|
|
112
|
+
role: string;
|
|
113
|
+
createdAt?: string;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export interface UserIdentity {
|
|
117
|
+
id: string;
|
|
118
|
+
username: string;
|
|
119
|
+
displayName?: string | null;
|
|
120
|
+
title?: string | null;
|
|
121
|
+
bio?: string | null;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface ContentOrderItem {
|
|
125
|
+
entityType: string;
|
|
126
|
+
entityId: string;
|
|
127
|
+
sortIndex: number;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export interface AuditLog {
|
|
131
|
+
id: string;
|
|
132
|
+
occurredAt?: string;
|
|
133
|
+
actorUserId?: string | null;
|
|
134
|
+
actorDisplayName?: string | null;
|
|
135
|
+
action?: string;
|
|
136
|
+
entityType?: string;
|
|
137
|
+
entityId?: string;
|
|
138
|
+
entityDisplayName?: string | null;
|
|
139
|
+
projectId?: string | null;
|
|
140
|
+
projectName?: string | null;
|
|
141
|
+
outcome?: string;
|
|
142
|
+
summary?: string;
|
|
143
|
+
beforeJson?: string | null;
|
|
144
|
+
afterJson?: string | null;
|
|
145
|
+
changesJson?: string | null;
|
|
146
|
+
metadataJson?: string | null;
|
|
147
|
+
}
|
|
148
|
+
|
|
69
149
|
export interface DryRunResult {
|
|
70
150
|
dryRun: true;
|
|
71
151
|
method: string;
|