@corsair-dev/linear 0.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.
Files changed (39) hide show
  1. package/LICENSE +191 -0
  2. package/dist/client.d.ts +32 -0
  3. package/dist/client.d.ts.map +1 -0
  4. package/dist/endpoints/comments.d.ts +6 -0
  5. package/dist/endpoints/comments.d.ts.map +1 -0
  6. package/dist/endpoints/index.d.ts +1515 -0
  7. package/dist/endpoints/index.d.ts.map +1 -0
  8. package/dist/endpoints/issues.d.ts +7 -0
  9. package/dist/endpoints/issues.d.ts.map +1 -0
  10. package/dist/endpoints/projects.d.ts +7 -0
  11. package/dist/endpoints/projects.d.ts.map +1 -0
  12. package/dist/endpoints/teams.d.ts +4 -0
  13. package/dist/endpoints/teams.d.ts.map +1 -0
  14. package/dist/endpoints/types.d.ts +8804 -0
  15. package/dist/endpoints/types.d.ts.map +1 -0
  16. package/dist/endpoints/users.d.ts +4 -0
  17. package/dist/endpoints/users.d.ts.map +1 -0
  18. package/dist/error-handlers.d.ts +46 -0
  19. package/dist/error-handlers.d.ts.map +1 -0
  20. package/dist/index.d.ts +6195 -0
  21. package/dist/index.d.ts.map +1 -0
  22. package/dist/index.js +548 -0
  23. package/dist/schema/database.d.ts +234 -0
  24. package/dist/schema/database.d.ts.map +1 -0
  25. package/dist/schema/index.d.ts +233 -0
  26. package/dist/schema/index.d.ts.map +1 -0
  27. package/dist/tsup.config.d.ts +3 -0
  28. package/dist/tsup.config.d.ts.map +1 -0
  29. package/dist/webhooks/comments.d.ts +5 -0
  30. package/dist/webhooks/comments.d.ts.map +1 -0
  31. package/dist/webhooks/index.d.ts +654 -0
  32. package/dist/webhooks/index.d.ts.map +1 -0
  33. package/dist/webhooks/issues.d.ts +5 -0
  34. package/dist/webhooks/issues.d.ts.map +1 -0
  35. package/dist/webhooks/projects.d.ts +5 -0
  36. package/dist/webhooks/projects.d.ts.map +1 -0
  37. package/dist/webhooks/types.d.ts +2880 -0
  38. package/dist/webhooks/types.d.ts.map +1 -0
  39. package/package.json +40 -0
@@ -0,0 +1,234 @@
1
+ import { z } from 'zod';
2
+ export declare const LinearIssue: z.ZodObject<{
3
+ id: z.ZodString;
4
+ title: z.ZodString;
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>]>;
7
+ estimate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ sortOrder: z.ZodOptional<z.ZodNumber>;
9
+ number: z.ZodNumber;
10
+ identifier: z.ZodString;
11
+ url: z.ZodString;
12
+ stateId: z.ZodString;
13
+ teamId: z.ZodString;
14
+ assigneeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ creatorId: z.ZodString;
16
+ projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ cycleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ dueDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
20
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
21
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
22
+ canceledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
23
+ triagedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
24
+ snoozedUntilAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
25
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
26
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
27
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
28
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
81
+ export declare const LinearTeam: z.ZodObject<{
82
+ id: z.ZodString;
83
+ name: z.ZodString;
84
+ key: z.ZodString;
85
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
+ private: z.ZodBoolean;
89
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
90
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
91
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
92
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
115
+ export declare const LinearProject: z.ZodObject<{
116
+ id: z.ZodString;
117
+ name: z.ZodString;
118
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
120
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
121
+ state: z.ZodEnum<["planned", "started", "paused", "completed", "canceled", "backlog"]>;
122
+ priority: z.ZodNumber;
123
+ sortOrder: z.ZodOptional<z.ZodNumber>;
124
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
125
+ targetDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
126
+ completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
127
+ canceledAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
128
+ leadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
130
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
131
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
132
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
167
+ export declare const LinearComment: z.ZodObject<{
168
+ id: z.ZodString;
169
+ body: z.ZodString;
170
+ issueId: z.ZodString;
171
+ userId: z.ZodString;
172
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ editedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
174
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
175
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
176
+ archivedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
177
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
198
+ export declare const LinearUser: z.ZodObject<{
199
+ id: z.ZodString;
200
+ name: z.ZodString;
201
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
202
+ displayName: z.ZodString;
203
+ avatarUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
204
+ active: z.ZodBoolean;
205
+ admin: z.ZodBoolean;
206
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
207
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
208
+ }, "strip", z.ZodTypeAny, {
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
+ }>;
229
+ export type LinearIssue = z.infer<typeof LinearIssue>;
230
+ export type LinearTeam = z.infer<typeof LinearTeam>;
231
+ export type LinearProject = z.infer<typeof LinearProject>;
232
+ export type LinearComment = z.infer<typeof LinearComment>;
233
+ export type LinearUser = z.infer<typeof LinearUser>;
234
+ //# sourceMappingURL=database.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCtB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWrB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBxB,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUxB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,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"}
@@ -0,0 +1,233 @@
1
+ export declare const LinearSchema: {
2
+ readonly version: "1.0.0";
3
+ readonly entities: {
4
+ readonly issues: import("zod").ZodObject<{
5
+ id: import("zod").ZodString;
6
+ title: import("zod").ZodString;
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>]>;
9
+ estimate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
10
+ sortOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
11
+ number: import("zod").ZodNumber;
12
+ identifier: import("zod").ZodString;
13
+ url: import("zod").ZodString;
14
+ stateId: import("zod").ZodString;
15
+ teamId: import("zod").ZodString;
16
+ assigneeId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
17
+ creatorId: import("zod").ZodString;
18
+ projectId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
19
+ cycleId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
20
+ parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
21
+ dueDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
22
+ startedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
23
+ completedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
24
+ canceledAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
25
+ triagedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
26
+ snoozedUntilAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
27
+ createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
28
+ updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
29
+ archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
30
+ }, "strip", import("zod").ZodTypeAny, {
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
+ }>;
83
+ readonly teams: import("zod").ZodObject<{
84
+ id: import("zod").ZodString;
85
+ name: import("zod").ZodString;
86
+ key: import("zod").ZodString;
87
+ description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
88
+ icon: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
89
+ color: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
90
+ private: import("zod").ZodBoolean;
91
+ createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
92
+ updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
93
+ archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
94
+ }, "strip", import("zod").ZodTypeAny, {
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
+ }>;
117
+ readonly projects: import("zod").ZodObject<{
118
+ id: import("zod").ZodString;
119
+ name: import("zod").ZodString;
120
+ description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
121
+ icon: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
122
+ color: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
123
+ state: import("zod").ZodEnum<["planned", "started", "paused", "completed", "canceled", "backlog"]>;
124
+ priority: import("zod").ZodNumber;
125
+ sortOrder: import("zod").ZodOptional<import("zod").ZodNumber>;
126
+ startDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
127
+ targetDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
128
+ completedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
129
+ canceledAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
130
+ leadId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
131
+ createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
132
+ updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
133
+ archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
134
+ }, "strip", import("zod").ZodTypeAny, {
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
+ }>;
169
+ readonly comments: import("zod").ZodObject<{
170
+ id: import("zod").ZodString;
171
+ body: import("zod").ZodString;
172
+ issueId: import("zod").ZodString;
173
+ userId: import("zod").ZodString;
174
+ parentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
175
+ editedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
176
+ createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
177
+ updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
178
+ archivedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
179
+ }, "strip", import("zod").ZodTypeAny, {
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
+ }>;
200
+ readonly users: import("zod").ZodObject<{
201
+ id: import("zod").ZodString;
202
+ name: import("zod").ZodString;
203
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
204
+ displayName: import("zod").ZodString;
205
+ avatarUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
206
+ active: import("zod").ZodBoolean;
207
+ admin: import("zod").ZodBoolean;
208
+ createdAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
209
+ updatedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
210
+ }, "strip", import("zod").ZodTypeAny, {
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
+ }>;
231
+ };
232
+ };
233
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../schema/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASf,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("tsup").Options | import("tsup").Options[] | ((overrideOptions: import("tsup").Options) => import("tsup").Options | import("tsup").Options[] | Promise<import("tsup").Options | import("tsup").Options[]>);
2
+ export default _default;
3
+ //# sourceMappingURL=tsup.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tsup.config.d.ts","sourceRoot":"","sources":["../tsup.config.ts"],"names":[],"mappings":";AAEA,wBAYG"}
@@ -0,0 +1,5 @@
1
+ import type { LinearWebhooks } from '..';
2
+ export declare const commentCreate: LinearWebhooks['commentCreate'];
3
+ export declare const commentUpdate: LinearWebhooks['commentUpdate'];
4
+ export declare const commentRemove: LinearWebhooks['commentRemove'];
5
+ //# sourceMappingURL=comments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../webhooks/comments.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,IAAI,CAAC;AAGzC,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,eAAe,CA2DzD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,eAAe,CA2DzD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,eAAe,CAsDzD,CAAC"}