@corsair-dev/linear 0.1.2 → 0.1.4
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/endpoints/index.d.ts +371 -371
- package/dist/endpoints/types.d.ts +597 -7920
- package/dist/endpoints/types.d.ts.map +1 -1
- package/dist/index.d.ts +1072 -4156
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -19
- package/dist/schema/database.d.ts +39 -180
- package/dist/schema/database.d.ts.map +1 -1
- package/dist/schema/index.d.ts +39 -180
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/webhooks/index.d.ts +232 -244
- package/dist/webhooks/index.d.ts.map +1 -1
- package/dist/webhooks/types.d.ts +308 -2438
- package/dist/webhooks/types.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -3,7 +3,7 @@ export declare const LinearIssue: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
title: z.ZodString;
|
|
5
5
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
-
priority: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
|
|
6
|
+
priority: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
|
|
7
7
|
estimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8
8
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
9
9
|
number: z.ZodNumber;
|
|
@@ -16,68 +16,16 @@ export declare const LinearIssue: z.ZodObject<{
|
|
|
16
16
|
projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
cycleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
dueDate: z.ZodOptional<z.ZodNullable<z.
|
|
20
|
-
startedAt: z.ZodOptional<z.ZodNullable<z.
|
|
21
|
-
completedAt: z.ZodOptional<z.ZodNullable<z.
|
|
22
|
-
canceledAt: z.ZodOptional<z.ZodNullable<z.
|
|
23
|
-
triagedAt: z.ZodOptional<z.ZodNullable<z.
|
|
24
|
-
snoozedUntilAt: z.ZodOptional<z.ZodNullable<z.
|
|
25
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.
|
|
26
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.
|
|
27
|
-
archivedAt: z.ZodOptional<z.ZodNullable<z.
|
|
28
|
-
},
|
|
29
|
-
number: number;
|
|
30
|
-
priority: 0 | 3 | 2 | 1 | 4;
|
|
31
|
-
id: string;
|
|
32
|
-
identifier: string;
|
|
33
|
-
title: string;
|
|
34
|
-
stateId: string;
|
|
35
|
-
teamId: string;
|
|
36
|
-
creatorId: string;
|
|
37
|
-
url: string;
|
|
38
|
-
description?: string | null | undefined;
|
|
39
|
-
createdAt?: Date | null | undefined;
|
|
40
|
-
updatedAt?: Date | null | undefined;
|
|
41
|
-
archivedAt?: Date | null | undefined;
|
|
42
|
-
estimate?: number | null | undefined;
|
|
43
|
-
sortOrder?: number | undefined;
|
|
44
|
-
startedAt?: Date | null | undefined;
|
|
45
|
-
completedAt?: Date | null | undefined;
|
|
46
|
-
canceledAt?: Date | null | undefined;
|
|
47
|
-
dueDate?: Date | null | undefined;
|
|
48
|
-
snoozedUntilAt?: Date | null | undefined;
|
|
49
|
-
assigneeId?: string | null | undefined;
|
|
50
|
-
projectId?: string | null | undefined;
|
|
51
|
-
cycleId?: string | null | undefined;
|
|
52
|
-
parentId?: string | null | undefined;
|
|
53
|
-
triagedAt?: Date | null | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
number: number;
|
|
56
|
-
priority: 0 | 3 | 2 | 1 | 4;
|
|
57
|
-
id: string;
|
|
58
|
-
identifier: string;
|
|
59
|
-
title: string;
|
|
60
|
-
stateId: string;
|
|
61
|
-
teamId: string;
|
|
62
|
-
creatorId: string;
|
|
63
|
-
url: string;
|
|
64
|
-
description?: string | null | undefined;
|
|
65
|
-
createdAt?: Date | null | undefined;
|
|
66
|
-
updatedAt?: Date | null | undefined;
|
|
67
|
-
archivedAt?: Date | null | undefined;
|
|
68
|
-
estimate?: number | null | undefined;
|
|
69
|
-
sortOrder?: number | undefined;
|
|
70
|
-
startedAt?: Date | null | undefined;
|
|
71
|
-
completedAt?: Date | null | undefined;
|
|
72
|
-
canceledAt?: Date | null | undefined;
|
|
73
|
-
dueDate?: Date | null | undefined;
|
|
74
|
-
snoozedUntilAt?: Date | null | undefined;
|
|
75
|
-
assigneeId?: string | null | undefined;
|
|
76
|
-
projectId?: string | null | undefined;
|
|
77
|
-
cycleId?: string | null | undefined;
|
|
78
|
-
parentId?: string | null | undefined;
|
|
79
|
-
triagedAt?: Date | null | undefined;
|
|
80
|
-
}>;
|
|
19
|
+
dueDate: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
20
|
+
startedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
21
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
22
|
+
canceledAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
23
|
+
triagedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
24
|
+
snoozedUntilAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
25
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
26
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
27
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
81
29
|
export declare const LinearTeam: z.ZodObject<{
|
|
82
30
|
id: z.ZodString;
|
|
83
31
|
name: z.ZodString;
|
|
@@ -86,115 +34,46 @@ export declare const LinearTeam: z.ZodObject<{
|
|
|
86
34
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
35
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
36
|
private: z.ZodBoolean;
|
|
89
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.
|
|
90
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.
|
|
91
|
-
archivedAt: z.ZodOptional<z.ZodNullable<z.
|
|
92
|
-
},
|
|
93
|
-
key: string;
|
|
94
|
-
id: string;
|
|
95
|
-
name: string;
|
|
96
|
-
private: boolean;
|
|
97
|
-
description?: string | null | undefined;
|
|
98
|
-
createdAt?: Date | null | undefined;
|
|
99
|
-
updatedAt?: Date | null | undefined;
|
|
100
|
-
archivedAt?: Date | null | undefined;
|
|
101
|
-
icon?: string | null | undefined;
|
|
102
|
-
color?: string | null | undefined;
|
|
103
|
-
}, {
|
|
104
|
-
key: string;
|
|
105
|
-
id: string;
|
|
106
|
-
name: string;
|
|
107
|
-
private: boolean;
|
|
108
|
-
description?: string | null | undefined;
|
|
109
|
-
createdAt?: Date | null | undefined;
|
|
110
|
-
updatedAt?: Date | null | undefined;
|
|
111
|
-
archivedAt?: Date | null | undefined;
|
|
112
|
-
icon?: string | null | undefined;
|
|
113
|
-
color?: string | null | undefined;
|
|
114
|
-
}>;
|
|
37
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
38
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
39
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
115
41
|
export declare const LinearProject: z.ZodObject<{
|
|
116
42
|
id: z.ZodString;
|
|
117
43
|
name: z.ZodString;
|
|
118
44
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
45
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
46
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
-
state: z.ZodEnum<
|
|
47
|
+
state: z.ZodEnum<{
|
|
48
|
+
completed: "completed";
|
|
49
|
+
planned: "planned";
|
|
50
|
+
started: "started";
|
|
51
|
+
paused: "paused";
|
|
52
|
+
canceled: "canceled";
|
|
53
|
+
backlog: "backlog";
|
|
54
|
+
}>;
|
|
122
55
|
priority: z.ZodNumber;
|
|
123
56
|
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
124
|
-
startDate: z.ZodOptional<z.ZodNullable<z.
|
|
125
|
-
targetDate: z.ZodOptional<z.ZodNullable<z.
|
|
126
|
-
completedAt: z.ZodOptional<z.ZodNullable<z.
|
|
127
|
-
canceledAt: z.ZodOptional<z.ZodNullable<z.
|
|
57
|
+
startDate: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
58
|
+
targetDate: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
59
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
60
|
+
canceledAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
128
61
|
leadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.
|
|
130
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.
|
|
131
|
-
archivedAt: z.ZodOptional<z.ZodNullable<z.
|
|
132
|
-
},
|
|
133
|
-
priority: number;
|
|
134
|
-
id: string;
|
|
135
|
-
name: string;
|
|
136
|
-
state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
|
|
137
|
-
description?: string | null | undefined;
|
|
138
|
-
createdAt?: Date | null | undefined;
|
|
139
|
-
updatedAt?: Date | null | undefined;
|
|
140
|
-
archivedAt?: Date | null | undefined;
|
|
141
|
-
sortOrder?: number | undefined;
|
|
142
|
-
completedAt?: Date | null | undefined;
|
|
143
|
-
canceledAt?: Date | null | undefined;
|
|
144
|
-
icon?: string | null | undefined;
|
|
145
|
-
color?: string | null | undefined;
|
|
146
|
-
startDate?: Date | null | undefined;
|
|
147
|
-
targetDate?: Date | null | undefined;
|
|
148
|
-
leadId?: string | null | undefined;
|
|
149
|
-
}, {
|
|
150
|
-
priority: number;
|
|
151
|
-
id: string;
|
|
152
|
-
name: string;
|
|
153
|
-
state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
|
|
154
|
-
description?: string | null | undefined;
|
|
155
|
-
createdAt?: Date | null | undefined;
|
|
156
|
-
updatedAt?: Date | null | undefined;
|
|
157
|
-
archivedAt?: Date | null | undefined;
|
|
158
|
-
sortOrder?: number | undefined;
|
|
159
|
-
completedAt?: Date | null | undefined;
|
|
160
|
-
canceledAt?: Date | null | undefined;
|
|
161
|
-
icon?: string | null | undefined;
|
|
162
|
-
color?: string | null | undefined;
|
|
163
|
-
startDate?: Date | null | undefined;
|
|
164
|
-
targetDate?: Date | null | undefined;
|
|
165
|
-
leadId?: string | null | undefined;
|
|
166
|
-
}>;
|
|
62
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
63
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
64
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
167
66
|
export declare const LinearComment: z.ZodObject<{
|
|
168
67
|
id: z.ZodString;
|
|
169
68
|
body: z.ZodString;
|
|
170
69
|
issueId: z.ZodString;
|
|
171
70
|
userId: z.ZodString;
|
|
172
71
|
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
173
|
-
editedAt: z.ZodOptional<z.ZodNullable<z.
|
|
174
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.
|
|
175
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.
|
|
176
|
-
archivedAt: z.ZodOptional<z.ZodNullable<z.
|
|
177
|
-
},
|
|
178
|
-
id: string;
|
|
179
|
-
body: string;
|
|
180
|
-
issueId: string;
|
|
181
|
-
userId: string;
|
|
182
|
-
createdAt?: Date | null | undefined;
|
|
183
|
-
updatedAt?: Date | null | undefined;
|
|
184
|
-
archivedAt?: Date | null | undefined;
|
|
185
|
-
editedAt?: Date | null | undefined;
|
|
186
|
-
parentId?: string | null | undefined;
|
|
187
|
-
}, {
|
|
188
|
-
id: string;
|
|
189
|
-
body: string;
|
|
190
|
-
issueId: string;
|
|
191
|
-
userId: string;
|
|
192
|
-
createdAt?: Date | null | undefined;
|
|
193
|
-
updatedAt?: Date | null | undefined;
|
|
194
|
-
archivedAt?: Date | null | undefined;
|
|
195
|
-
editedAt?: Date | null | undefined;
|
|
196
|
-
parentId?: string | null | undefined;
|
|
197
|
-
}>;
|
|
72
|
+
editedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
73
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
74
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
75
|
+
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
198
77
|
export declare const LinearUser: z.ZodObject<{
|
|
199
78
|
id: z.ZodString;
|
|
200
79
|
name: z.ZodString;
|
|
@@ -203,29 +82,9 @@ export declare const LinearUser: z.ZodObject<{
|
|
|
203
82
|
avatarUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
204
83
|
active: z.ZodBoolean;
|
|
205
84
|
admin: z.ZodBoolean;
|
|
206
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.
|
|
207
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.
|
|
208
|
-
},
|
|
209
|
-
id: string;
|
|
210
|
-
name: string;
|
|
211
|
-
displayName: string;
|
|
212
|
-
active: boolean;
|
|
213
|
-
admin: boolean;
|
|
214
|
-
createdAt?: Date | null | undefined;
|
|
215
|
-
updatedAt?: Date | null | undefined;
|
|
216
|
-
email?: string | null | undefined;
|
|
217
|
-
avatarUrl?: string | null | undefined;
|
|
218
|
-
}, {
|
|
219
|
-
id: string;
|
|
220
|
-
name: string;
|
|
221
|
-
displayName: string;
|
|
222
|
-
active: boolean;
|
|
223
|
-
admin: boolean;
|
|
224
|
-
createdAt?: Date | null | undefined;
|
|
225
|
-
updatedAt?: Date | null | undefined;
|
|
226
|
-
email?: string | null | undefined;
|
|
227
|
-
avatarUrl?: string | null | undefined;
|
|
228
|
-
}>;
|
|
85
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
86
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
87
|
+
}, z.core.$strip>;
|
|
229
88
|
export type LinearIssue = z.infer<typeof LinearIssue>;
|
|
230
89
|
export type LinearTeam = z.infer<typeof LinearTeam>;
|
|
231
90
|
export type LinearProject = z.infer<typeof LinearProject>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../schema/database.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../schema/database.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgCtB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;iBAWrB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;iBAwBxB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;iBAUxB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;iBAUrB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AACtD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACpD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const LinearSchema: {
|
|
|
5
5
|
id: import("zod").ZodString;
|
|
6
6
|
title: import("zod").ZodString;
|
|
7
7
|
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
8
|
-
priority: import("zod").ZodUnion<[import("zod").ZodLiteral<0>, import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>, import("zod").ZodLiteral<4>]>;
|
|
8
|
+
priority: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<0>, import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>, import("zod").ZodLiteral<4>]>;
|
|
9
9
|
estimate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
10
10
|
sortOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
11
11
|
number: import("zod").ZodNumber;
|
|
@@ -18,68 +18,16 @@ export declare const LinearSchema: {
|
|
|
18
18
|
projectId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
19
19
|
cycleId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
20
20
|
parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
21
|
-
dueDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
22
|
-
startedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
23
|
-
completedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
24
|
-
canceledAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
25
|
-
triagedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
26
|
-
snoozedUntilAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
27
|
-
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
28
|
-
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
29
|
-
archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
30
|
-
},
|
|
31
|
-
number: number;
|
|
32
|
-
priority: 0 | 3 | 2 | 1 | 4;
|
|
33
|
-
id: string;
|
|
34
|
-
identifier: string;
|
|
35
|
-
title: string;
|
|
36
|
-
stateId: string;
|
|
37
|
-
teamId: string;
|
|
38
|
-
creatorId: string;
|
|
39
|
-
url: string;
|
|
40
|
-
description?: string | null | undefined;
|
|
41
|
-
createdAt?: Date | null | undefined;
|
|
42
|
-
updatedAt?: Date | null | undefined;
|
|
43
|
-
archivedAt?: Date | null | undefined;
|
|
44
|
-
estimate?: number | null | undefined;
|
|
45
|
-
sortOrder?: number | undefined;
|
|
46
|
-
startedAt?: Date | null | undefined;
|
|
47
|
-
completedAt?: Date | null | undefined;
|
|
48
|
-
canceledAt?: Date | null | undefined;
|
|
49
|
-
dueDate?: Date | null | undefined;
|
|
50
|
-
snoozedUntilAt?: Date | null | undefined;
|
|
51
|
-
assigneeId?: string | null | undefined;
|
|
52
|
-
projectId?: string | null | undefined;
|
|
53
|
-
cycleId?: string | null | undefined;
|
|
54
|
-
parentId?: string | null | undefined;
|
|
55
|
-
triagedAt?: Date | null | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
number: number;
|
|
58
|
-
priority: 0 | 3 | 2 | 1 | 4;
|
|
59
|
-
id: string;
|
|
60
|
-
identifier: string;
|
|
61
|
-
title: string;
|
|
62
|
-
stateId: string;
|
|
63
|
-
teamId: string;
|
|
64
|
-
creatorId: string;
|
|
65
|
-
url: string;
|
|
66
|
-
description?: string | null | undefined;
|
|
67
|
-
createdAt?: Date | null | undefined;
|
|
68
|
-
updatedAt?: Date | null | undefined;
|
|
69
|
-
archivedAt?: Date | null | undefined;
|
|
70
|
-
estimate?: number | null | undefined;
|
|
71
|
-
sortOrder?: number | undefined;
|
|
72
|
-
startedAt?: Date | null | undefined;
|
|
73
|
-
completedAt?: Date | null | undefined;
|
|
74
|
-
canceledAt?: Date | null | undefined;
|
|
75
|
-
dueDate?: Date | null | undefined;
|
|
76
|
-
snoozedUntilAt?: Date | null | undefined;
|
|
77
|
-
assigneeId?: string | null | undefined;
|
|
78
|
-
projectId?: string | null | undefined;
|
|
79
|
-
cycleId?: string | null | undefined;
|
|
80
|
-
parentId?: string | null | undefined;
|
|
81
|
-
triagedAt?: Date | null | undefined;
|
|
82
|
-
}>;
|
|
21
|
+
dueDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
22
|
+
startedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
23
|
+
completedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
24
|
+
canceledAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
25
|
+
triagedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
26
|
+
snoozedUntilAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
27
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
28
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
29
|
+
archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
30
|
+
}, import("zod/v4/core").$strip>;
|
|
83
31
|
readonly teams: import("zod").ZodObject<{
|
|
84
32
|
id: import("zod").ZodString;
|
|
85
33
|
name: import("zod").ZodString;
|
|
@@ -88,115 +36,46 @@ export declare const LinearSchema: {
|
|
|
88
36
|
icon: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
89
37
|
color: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
90
38
|
private: import("zod").ZodBoolean;
|
|
91
|
-
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
92
|
-
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
93
|
-
archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
94
|
-
},
|
|
95
|
-
key: string;
|
|
96
|
-
id: string;
|
|
97
|
-
name: string;
|
|
98
|
-
private: boolean;
|
|
99
|
-
description?: string | null | undefined;
|
|
100
|
-
createdAt?: Date | null | undefined;
|
|
101
|
-
updatedAt?: Date | null | undefined;
|
|
102
|
-
archivedAt?: Date | null | undefined;
|
|
103
|
-
icon?: string | null | undefined;
|
|
104
|
-
color?: string | null | undefined;
|
|
105
|
-
}, {
|
|
106
|
-
key: string;
|
|
107
|
-
id: string;
|
|
108
|
-
name: string;
|
|
109
|
-
private: boolean;
|
|
110
|
-
description?: string | null | undefined;
|
|
111
|
-
createdAt?: Date | null | undefined;
|
|
112
|
-
updatedAt?: Date | null | undefined;
|
|
113
|
-
archivedAt?: Date | null | undefined;
|
|
114
|
-
icon?: string | null | undefined;
|
|
115
|
-
color?: string | null | undefined;
|
|
116
|
-
}>;
|
|
39
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
40
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
41
|
+
archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
42
|
+
}, import("zod/v4/core").$strip>;
|
|
117
43
|
readonly projects: import("zod").ZodObject<{
|
|
118
44
|
id: import("zod").ZodString;
|
|
119
45
|
name: import("zod").ZodString;
|
|
120
46
|
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
121
47
|
icon: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
122
48
|
color: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
123
|
-
state: import("zod").ZodEnum<
|
|
49
|
+
state: import("zod").ZodEnum<{
|
|
50
|
+
completed: "completed";
|
|
51
|
+
planned: "planned";
|
|
52
|
+
started: "started";
|
|
53
|
+
paused: "paused";
|
|
54
|
+
canceled: "canceled";
|
|
55
|
+
backlog: "backlog";
|
|
56
|
+
}>;
|
|
124
57
|
priority: import("zod").ZodNumber;
|
|
125
58
|
sortOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
126
|
-
startDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
127
|
-
targetDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
128
|
-
completedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
129
|
-
canceledAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
59
|
+
startDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
60
|
+
targetDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
61
|
+
completedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
62
|
+
canceledAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
130
63
|
leadId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
131
|
-
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
132
|
-
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
133
|
-
archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
134
|
-
},
|
|
135
|
-
priority: number;
|
|
136
|
-
id: string;
|
|
137
|
-
name: string;
|
|
138
|
-
state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
|
|
139
|
-
description?: string | null | undefined;
|
|
140
|
-
createdAt?: Date | null | undefined;
|
|
141
|
-
updatedAt?: Date | null | undefined;
|
|
142
|
-
archivedAt?: Date | null | undefined;
|
|
143
|
-
sortOrder?: number | undefined;
|
|
144
|
-
completedAt?: Date | null | undefined;
|
|
145
|
-
canceledAt?: Date | null | undefined;
|
|
146
|
-
icon?: string | null | undefined;
|
|
147
|
-
color?: string | null | undefined;
|
|
148
|
-
startDate?: Date | null | undefined;
|
|
149
|
-
targetDate?: Date | null | undefined;
|
|
150
|
-
leadId?: string | null | undefined;
|
|
151
|
-
}, {
|
|
152
|
-
priority: number;
|
|
153
|
-
id: string;
|
|
154
|
-
name: string;
|
|
155
|
-
state: "completed" | "planned" | "started" | "paused" | "canceled" | "backlog";
|
|
156
|
-
description?: string | null | undefined;
|
|
157
|
-
createdAt?: Date | null | undefined;
|
|
158
|
-
updatedAt?: Date | null | undefined;
|
|
159
|
-
archivedAt?: Date | null | undefined;
|
|
160
|
-
sortOrder?: number | undefined;
|
|
161
|
-
completedAt?: Date | null | undefined;
|
|
162
|
-
canceledAt?: Date | null | undefined;
|
|
163
|
-
icon?: string | null | undefined;
|
|
164
|
-
color?: string | null | undefined;
|
|
165
|
-
startDate?: Date | null | undefined;
|
|
166
|
-
targetDate?: Date | null | undefined;
|
|
167
|
-
leadId?: string | null | undefined;
|
|
168
|
-
}>;
|
|
64
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
65
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
66
|
+
archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
67
|
+
}, import("zod/v4/core").$strip>;
|
|
169
68
|
readonly comments: import("zod").ZodObject<{
|
|
170
69
|
id: import("zod").ZodString;
|
|
171
70
|
body: import("zod").ZodString;
|
|
172
71
|
issueId: import("zod").ZodString;
|
|
173
72
|
userId: import("zod").ZodString;
|
|
174
73
|
parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
175
|
-
editedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
176
|
-
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
177
|
-
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
178
|
-
archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
179
|
-
},
|
|
180
|
-
id: string;
|
|
181
|
-
body: string;
|
|
182
|
-
issueId: string;
|
|
183
|
-
userId: string;
|
|
184
|
-
createdAt?: Date | null | undefined;
|
|
185
|
-
updatedAt?: Date | null | undefined;
|
|
186
|
-
archivedAt?: Date | null | undefined;
|
|
187
|
-
editedAt?: Date | null | undefined;
|
|
188
|
-
parentId?: string | null | undefined;
|
|
189
|
-
}, {
|
|
190
|
-
id: string;
|
|
191
|
-
body: string;
|
|
192
|
-
issueId: string;
|
|
193
|
-
userId: string;
|
|
194
|
-
createdAt?: Date | null | undefined;
|
|
195
|
-
updatedAt?: Date | null | undefined;
|
|
196
|
-
archivedAt?: Date | null | undefined;
|
|
197
|
-
editedAt?: Date | null | undefined;
|
|
198
|
-
parentId?: string | null | undefined;
|
|
199
|
-
}>;
|
|
74
|
+
editedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
75
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
76
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
77
|
+
archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
78
|
+
}, import("zod/v4/core").$strip>;
|
|
200
79
|
readonly users: import("zod").ZodObject<{
|
|
201
80
|
id: import("zod").ZodString;
|
|
202
81
|
name: import("zod").ZodString;
|
|
@@ -205,29 +84,9 @@ export declare const LinearSchema: {
|
|
|
205
84
|
avatarUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
206
85
|
active: import("zod").ZodBoolean;
|
|
207
86
|
admin: import("zod").ZodBoolean;
|
|
208
|
-
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
209
|
-
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
210
|
-
},
|
|
211
|
-
id: string;
|
|
212
|
-
name: string;
|
|
213
|
-
displayName: string;
|
|
214
|
-
active: boolean;
|
|
215
|
-
admin: boolean;
|
|
216
|
-
createdAt?: Date | null | undefined;
|
|
217
|
-
updatedAt?: Date | null | undefined;
|
|
218
|
-
email?: string | null | undefined;
|
|
219
|
-
avatarUrl?: string | null | undefined;
|
|
220
|
-
}, {
|
|
221
|
-
id: string;
|
|
222
|
-
name: string;
|
|
223
|
-
displayName: string;
|
|
224
|
-
active: boolean;
|
|
225
|
-
admin: boolean;
|
|
226
|
-
createdAt?: Date | null | undefined;
|
|
227
|
-
updatedAt?: Date | null | undefined;
|
|
228
|
-
email?: string | null | undefined;
|
|
229
|
-
avatarUrl?: string | null | undefined;
|
|
230
|
-
}>;
|
|
87
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
88
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
89
|
+
}, import("zod/v4/core").$strip>;
|
|
231
90
|
};
|
|
232
91
|
};
|
|
233
92
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../schema/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../schema/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASf,CAAC"}
|