@ms-cloudpack/api-server 0.34.5 → 0.36.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 (66) hide show
  1. package/lib/apis/addPackageOverride.d.ts +2 -2
  2. package/lib/apis/ensurePackageBundled.d.ts +2 -2
  3. package/lib/apis/ensurePackageBundled.d.ts.map +1 -1
  4. package/lib/apis/ensurePackageBundled.js +24 -4
  5. package/lib/apis/ensurePackageBundled.js.map +1 -1
  6. package/lib/apis/getData.d.ts +2 -2
  7. package/lib/apis/getSessionId.d.ts +2 -2
  8. package/lib/apis/onDataChanged.d.ts +2 -2
  9. package/lib/apis/openCodeEditor.d.ts +2 -2
  10. package/lib/apis/openConfigEditor.d.ts +2 -2
  11. package/lib/apis/openFilePath.d.ts +2 -2
  12. package/lib/apis/reportMetric.d.ts +2 -2
  13. package/lib/apis/syncDownload.d.ts +2 -2
  14. package/lib/apis/syncUpload.d.ts +2 -2
  15. package/lib/apis/validatePackageOverride.d.ts +2 -2
  16. package/lib/data/busSources.d.ts +19 -161
  17. package/lib/data/busSources.d.ts.map +1 -1
  18. package/lib/index.browser.d.ts +1 -14
  19. package/lib/index.browser.d.ts.map +1 -1
  20. package/lib/index.browser.js +1 -1
  21. package/lib/index.browser.js.map +1 -1
  22. package/lib/trpc/common.d.ts +3 -3
  23. package/lib/trpc/createAppRouter.d.ts +25 -25
  24. package/lib/trpc/createCloudpackServer.d.ts +1 -1
  25. package/lib/trpc/createRouterFromApis.d.ts +1 -1
  26. package/lib/types/BundleTaskOptions.d.ts +8 -0
  27. package/lib/types/BundleTaskOptions.d.ts.map +1 -1
  28. package/lib/types/BundleTaskOptions.js.map +1 -1
  29. package/lib/types/TaskDescription.d.ts +13 -119
  30. package/lib/types/TaskDescription.d.ts.map +1 -1
  31. package/lib/types/TaskEndDescription.d.ts +10 -116
  32. package/lib/types/TaskEndDescription.d.ts.map +1 -1
  33. package/lib/types/TaskMessage.d.ts +3 -57
  34. package/lib/types/TaskMessage.d.ts.map +1 -1
  35. package/lib/types/TaskMessage.js +1 -2
  36. package/lib/types/TaskMessage.js.map +1 -1
  37. package/lib/types/TaskMessageLocation.d.ts +0 -9
  38. package/lib/types/TaskMessageLocation.d.ts.map +1 -1
  39. package/lib/types/TaskMessageLocation.js +0 -3
  40. package/lib/types/TaskMessageLocation.js.map +1 -1
  41. package/lib/types/TaskResponse.d.ts +14 -148
  42. package/lib/types/TaskResponse.d.ts.map +1 -1
  43. package/lib/types/TaskResult.d.ts +10 -116
  44. package/lib/types/TaskResult.d.ts.map +1 -1
  45. package/lib/utilities/TaskRunner.d.ts.map +1 -1
  46. package/lib/utilities/TaskRunner.js +21 -35
  47. package/lib/utilities/TaskRunner.js.map +1 -1
  48. package/lib/utilities/addOverride.js +1 -1
  49. package/lib/utilities/addOverride.js.map +1 -1
  50. package/lib/utilities/bundleTask.d.ts.map +1 -1
  51. package/lib/utilities/bundleTask.js +10 -8
  52. package/lib/utilities/bundleTask.js.map +1 -1
  53. package/lib/utilities/createBundleRequestForPackage.d.ts +2 -4
  54. package/lib/utilities/createBundleRequestForPackage.d.ts.map +1 -1
  55. package/lib/utilities/createBundleRequestForPackage.js +3 -10
  56. package/lib/utilities/createBundleRequestForPackage.js.map +1 -1
  57. package/lib/utilities/createBundleTask.d.ts.map +1 -1
  58. package/lib/utilities/createBundleTask.js +4 -3
  59. package/lib/utilities/createBundleTask.js.map +1 -1
  60. package/lib/utilities/formatBundleErrors.js +5 -9
  61. package/lib/utilities/formatBundleErrors.js.map +1 -1
  62. package/lib/utilities/getBundleLocation.d.ts +1 -0
  63. package/lib/utilities/getBundleLocation.d.ts.map +1 -1
  64. package/lib/utilities/getBundleLocation.js +11 -10
  65. package/lib/utilities/getBundleLocation.js.map +1 -1
  66. package/package.json +10 -10
@@ -2,30 +2,20 @@ import z from 'zod';
2
2
  export declare const ZodTaskEndDescription: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
5
- pluginName: z.ZodOptional<z.ZodString>;
6
- type: z.ZodOptional<z.ZodString>;
7
5
  text: z.ZodString;
6
+ source: z.ZodString;
8
7
  location: z.ZodOptional<z.ZodObject<{
9
8
  file: z.ZodString;
10
9
  line: z.ZodNumber;
11
10
  column: z.ZodNumber;
12
- length: z.ZodOptional<z.ZodNumber>;
13
- lineText: z.ZodOptional<z.ZodString>;
14
- suggestion: z.ZodOptional<z.ZodString>;
15
11
  }, "strip", z.ZodTypeAny, {
16
12
  file: string;
17
13
  line: number;
18
14
  column: number;
19
- length?: number | undefined;
20
- lineText?: string | undefined;
21
- suggestion?: string | undefined;
22
15
  }, {
23
16
  file: string;
24
17
  line: number;
25
18
  column: number;
26
- length?: number | undefined;
27
- lineText?: string | undefined;
28
- suggestion?: string | undefined;
29
19
  }>>;
30
20
  notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
21
  text: z.ZodString;
@@ -33,23 +23,14 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
33
23
  file: z.ZodString;
34
24
  line: z.ZodNumber;
35
25
  column: z.ZodNumber;
36
- length: z.ZodOptional<z.ZodNumber>;
37
- lineText: z.ZodOptional<z.ZodString>;
38
- suggestion: z.ZodOptional<z.ZodString>;
39
26
  }, "strip", z.ZodTypeAny, {
40
27
  file: string;
41
28
  line: number;
42
29
  column: number;
43
- length?: number | undefined;
44
- lineText?: string | undefined;
45
- suggestion?: string | undefined;
46
30
  }, {
47
31
  file: string;
48
32
  line: number;
49
33
  column: number;
50
- length?: number | undefined;
51
- lineText?: string | undefined;
52
- suggestion?: string | undefined;
53
34
  }>>;
54
35
  }, "strip", z.ZodTypeAny, {
55
36
  text: string;
@@ -57,9 +38,6 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
57
38
  file: string;
58
39
  line: number;
59
40
  column: number;
60
- length?: number | undefined;
61
- lineText?: string | undefined;
62
- suggestion?: string | undefined;
63
41
  } | undefined;
64
42
  }, {
65
43
  text: string;
@@ -67,22 +45,15 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
67
45
  file: string;
68
46
  line: number;
69
47
  column: number;
70
- length?: number | undefined;
71
- lineText?: string | undefined;
72
- suggestion?: string | undefined;
73
48
  } | undefined;
74
49
  }>, "many">>;
75
50
  }, "strip", z.ZodTypeAny, {
76
51
  text: string;
77
- pluginName?: string | undefined;
78
- type?: string | undefined;
52
+ source: string;
79
53
  location?: {
80
54
  file: string;
81
55
  line: number;
82
56
  column: number;
83
- length?: number | undefined;
84
- lineText?: string | undefined;
85
- suggestion?: string | undefined;
86
57
  } | undefined;
87
58
  notes?: {
88
59
  text: string;
@@ -90,22 +61,15 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
90
61
  file: string;
91
62
  line: number;
92
63
  column: number;
93
- length?: number | undefined;
94
- lineText?: string | undefined;
95
- suggestion?: string | undefined;
96
64
  } | undefined;
97
65
  }[] | undefined;
98
66
  }, {
99
67
  text: string;
100
- pluginName?: string | undefined;
101
- type?: string | undefined;
68
+ source: string;
102
69
  location?: {
103
70
  file: string;
104
71
  line: number;
105
72
  column: number;
106
- length?: number | undefined;
107
- lineText?: string | undefined;
108
- suggestion?: string | undefined;
109
73
  } | undefined;
110
74
  notes?: {
111
75
  text: string;
@@ -113,37 +77,24 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
113
77
  file: string;
114
78
  line: number;
115
79
  column: number;
116
- length?: number | undefined;
117
- lineText?: string | undefined;
118
- suggestion?: string | undefined;
119
80
  } | undefined;
120
81
  }[] | undefined;
121
82
  }>, "many">>;
122
83
  warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
123
- pluginName: z.ZodOptional<z.ZodString>;
124
- type: z.ZodOptional<z.ZodString>;
125
84
  text: z.ZodString;
85
+ source: z.ZodString;
126
86
  location: z.ZodOptional<z.ZodObject<{
127
87
  file: z.ZodString;
128
88
  line: z.ZodNumber;
129
89
  column: z.ZodNumber;
130
- length: z.ZodOptional<z.ZodNumber>;
131
- lineText: z.ZodOptional<z.ZodString>;
132
- suggestion: z.ZodOptional<z.ZodString>;
133
90
  }, "strip", z.ZodTypeAny, {
134
91
  file: string;
135
92
  line: number;
136
93
  column: number;
137
- length?: number | undefined;
138
- lineText?: string | undefined;
139
- suggestion?: string | undefined;
140
94
  }, {
141
95
  file: string;
142
96
  line: number;
143
97
  column: number;
144
- length?: number | undefined;
145
- lineText?: string | undefined;
146
- suggestion?: string | undefined;
147
98
  }>>;
148
99
  notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
149
100
  text: z.ZodString;
@@ -151,23 +102,14 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
151
102
  file: z.ZodString;
152
103
  line: z.ZodNumber;
153
104
  column: z.ZodNumber;
154
- length: z.ZodOptional<z.ZodNumber>;
155
- lineText: z.ZodOptional<z.ZodString>;
156
- suggestion: z.ZodOptional<z.ZodString>;
157
105
  }, "strip", z.ZodTypeAny, {
158
106
  file: string;
159
107
  line: number;
160
108
  column: number;
161
- length?: number | undefined;
162
- lineText?: string | undefined;
163
- suggestion?: string | undefined;
164
109
  }, {
165
110
  file: string;
166
111
  line: number;
167
112
  column: number;
168
- length?: number | undefined;
169
- lineText?: string | undefined;
170
- suggestion?: string | undefined;
171
113
  }>>;
172
114
  }, "strip", z.ZodTypeAny, {
173
115
  text: string;
@@ -175,9 +117,6 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
175
117
  file: string;
176
118
  line: number;
177
119
  column: number;
178
- length?: number | undefined;
179
- lineText?: string | undefined;
180
- suggestion?: string | undefined;
181
120
  } | undefined;
182
121
  }, {
183
122
  text: string;
@@ -185,22 +124,15 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
185
124
  file: string;
186
125
  line: number;
187
126
  column: number;
188
- length?: number | undefined;
189
- lineText?: string | undefined;
190
- suggestion?: string | undefined;
191
127
  } | undefined;
192
128
  }>, "many">>;
193
129
  }, "strip", z.ZodTypeAny, {
194
130
  text: string;
195
- pluginName?: string | undefined;
196
- type?: string | undefined;
131
+ source: string;
197
132
  location?: {
198
133
  file: string;
199
134
  line: number;
200
135
  column: number;
201
- length?: number | undefined;
202
- lineText?: string | undefined;
203
- suggestion?: string | undefined;
204
136
  } | undefined;
205
137
  notes?: {
206
138
  text: string;
@@ -208,22 +140,15 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
208
140
  file: string;
209
141
  line: number;
210
142
  column: number;
211
- length?: number | undefined;
212
- lineText?: string | undefined;
213
- suggestion?: string | undefined;
214
143
  } | undefined;
215
144
  }[] | undefined;
216
145
  }, {
217
146
  text: string;
218
- pluginName?: string | undefined;
219
- type?: string | undefined;
147
+ source: string;
220
148
  location?: {
221
149
  file: string;
222
150
  line: number;
223
151
  column: number;
224
- length?: number | undefined;
225
- lineText?: string | undefined;
226
- suggestion?: string | undefined;
227
152
  } | undefined;
228
153
  notes?: {
229
154
  text: string;
@@ -231,9 +156,6 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
231
156
  file: string;
232
157
  line: number;
233
158
  column: number;
234
- length?: number | undefined;
235
- lineText?: string | undefined;
236
- suggestion?: string | undefined;
237
159
  } | undefined;
238
160
  }[] | undefined;
239
161
  }>, "many">>;
@@ -241,15 +163,11 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
241
163
  id: string;
242
164
  errors?: {
243
165
  text: string;
244
- pluginName?: string | undefined;
245
- type?: string | undefined;
166
+ source: string;
246
167
  location?: {
247
168
  file: string;
248
169
  line: number;
249
170
  column: number;
250
- length?: number | undefined;
251
- lineText?: string | undefined;
252
- suggestion?: string | undefined;
253
171
  } | undefined;
254
172
  notes?: {
255
173
  text: string;
@@ -257,23 +175,16 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
257
175
  file: string;
258
176
  line: number;
259
177
  column: number;
260
- length?: number | undefined;
261
- lineText?: string | undefined;
262
- suggestion?: string | undefined;
263
178
  } | undefined;
264
179
  }[] | undefined;
265
180
  }[] | undefined;
266
181
  warnings?: {
267
182
  text: string;
268
- pluginName?: string | undefined;
269
- type?: string | undefined;
183
+ source: string;
270
184
  location?: {
271
185
  file: string;
272
186
  line: number;
273
187
  column: number;
274
- length?: number | undefined;
275
- lineText?: string | undefined;
276
- suggestion?: string | undefined;
277
188
  } | undefined;
278
189
  notes?: {
279
190
  text: string;
@@ -281,9 +192,6 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
281
192
  file: string;
282
193
  line: number;
283
194
  column: number;
284
- length?: number | undefined;
285
- lineText?: string | undefined;
286
- suggestion?: string | undefined;
287
195
  } | undefined;
288
196
  }[] | undefined;
289
197
  }[] | undefined;
@@ -291,15 +199,11 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
291
199
  id: string;
292
200
  errors?: {
293
201
  text: string;
294
- pluginName?: string | undefined;
295
- type?: string | undefined;
202
+ source: string;
296
203
  location?: {
297
204
  file: string;
298
205
  line: number;
299
206
  column: number;
300
- length?: number | undefined;
301
- lineText?: string | undefined;
302
- suggestion?: string | undefined;
303
207
  } | undefined;
304
208
  notes?: {
305
209
  text: string;
@@ -307,23 +211,16 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
307
211
  file: string;
308
212
  line: number;
309
213
  column: number;
310
- length?: number | undefined;
311
- lineText?: string | undefined;
312
- suggestion?: string | undefined;
313
214
  } | undefined;
314
215
  }[] | undefined;
315
216
  }[] | undefined;
316
217
  warnings?: {
317
218
  text: string;
318
- pluginName?: string | undefined;
319
- type?: string | undefined;
219
+ source: string;
320
220
  location?: {
321
221
  file: string;
322
222
  line: number;
323
223
  column: number;
324
- length?: number | undefined;
325
- lineText?: string | undefined;
326
- suggestion?: string | undefined;
327
224
  } | undefined;
328
225
  notes?: {
329
226
  text: string;
@@ -331,9 +228,6 @@ export declare const ZodTaskEndDescription: z.ZodObject<{
331
228
  file: string;
332
229
  line: number;
333
230
  column: number;
334
- length?: number | undefined;
335
- lineText?: string | undefined;
336
- suggestion?: string | undefined;
337
231
  } | undefined;
338
232
  }[] | undefined;
339
233
  }[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TaskEndDescription.d.ts","sourceRoot":"","sources":["../../src/types/TaskEndDescription.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIhC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"TaskEndDescription.d.ts","sourceRoot":"","sources":["../../src/types/TaskEndDescription.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIhC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -5,23 +5,14 @@ export declare const ZodTaskNote: z.ZodObject<{
5
5
  file: z.ZodString;
6
6
  line: z.ZodNumber;
7
7
  column: z.ZodNumber;
8
- length: z.ZodOptional<z.ZodNumber>;
9
- lineText: z.ZodOptional<z.ZodString>;
10
- suggestion: z.ZodOptional<z.ZodString>;
11
8
  }, "strip", z.ZodTypeAny, {
12
9
  file: string;
13
10
  line: number;
14
11
  column: number;
15
- length?: number | undefined;
16
- lineText?: string | undefined;
17
- suggestion?: string | undefined;
18
12
  }, {
19
13
  file: string;
20
14
  line: number;
21
15
  column: number;
22
- length?: number | undefined;
23
- lineText?: string | undefined;
24
- suggestion?: string | undefined;
25
16
  }>>;
26
17
  }, "strip", z.ZodTypeAny, {
27
18
  text: string;
@@ -29,9 +20,6 @@ export declare const ZodTaskNote: z.ZodObject<{
29
20
  file: string;
30
21
  line: number;
31
22
  column: number;
32
- length?: number | undefined;
33
- lineText?: string | undefined;
34
- suggestion?: string | undefined;
35
23
  } | undefined;
36
24
  }, {
37
25
  text: string;
@@ -39,36 +27,23 @@ export declare const ZodTaskNote: z.ZodObject<{
39
27
  file: string;
40
28
  line: number;
41
29
  column: number;
42
- length?: number | undefined;
43
- lineText?: string | undefined;
44
- suggestion?: string | undefined;
45
30
  } | undefined;
46
31
  }>;
47
32
  export declare const ZodTaskMessage: z.ZodObject<{
48
- pluginName: z.ZodOptional<z.ZodString>;
49
- type: z.ZodOptional<z.ZodString>;
50
33
  text: z.ZodString;
34
+ source: z.ZodString;
51
35
  location: z.ZodOptional<z.ZodObject<{
52
36
  file: z.ZodString;
53
37
  line: z.ZodNumber;
54
38
  column: z.ZodNumber;
55
- length: z.ZodOptional<z.ZodNumber>;
56
- lineText: z.ZodOptional<z.ZodString>;
57
- suggestion: z.ZodOptional<z.ZodString>;
58
39
  }, "strip", z.ZodTypeAny, {
59
40
  file: string;
60
41
  line: number;
61
42
  column: number;
62
- length?: number | undefined;
63
- lineText?: string | undefined;
64
- suggestion?: string | undefined;
65
43
  }, {
66
44
  file: string;
67
45
  line: number;
68
46
  column: number;
69
- length?: number | undefined;
70
- lineText?: string | undefined;
71
- suggestion?: string | undefined;
72
47
  }>>;
73
48
  notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
49
  text: z.ZodString;
@@ -76,23 +51,14 @@ export declare const ZodTaskMessage: z.ZodObject<{
76
51
  file: z.ZodString;
77
52
  line: z.ZodNumber;
78
53
  column: z.ZodNumber;
79
- length: z.ZodOptional<z.ZodNumber>;
80
- lineText: z.ZodOptional<z.ZodString>;
81
- suggestion: z.ZodOptional<z.ZodString>;
82
54
  }, "strip", z.ZodTypeAny, {
83
55
  file: string;
84
56
  line: number;
85
57
  column: number;
86
- length?: number | undefined;
87
- lineText?: string | undefined;
88
- suggestion?: string | undefined;
89
58
  }, {
90
59
  file: string;
91
60
  line: number;
92
61
  column: number;
93
- length?: number | undefined;
94
- lineText?: string | undefined;
95
- suggestion?: string | undefined;
96
62
  }>>;
97
63
  }, "strip", z.ZodTypeAny, {
98
64
  text: string;
@@ -100,9 +66,6 @@ export declare const ZodTaskMessage: z.ZodObject<{
100
66
  file: string;
101
67
  line: number;
102
68
  column: number;
103
- length?: number | undefined;
104
- lineText?: string | undefined;
105
- suggestion?: string | undefined;
106
69
  } | undefined;
107
70
  }, {
108
71
  text: string;
@@ -110,22 +73,15 @@ export declare const ZodTaskMessage: z.ZodObject<{
110
73
  file: string;
111
74
  line: number;
112
75
  column: number;
113
- length?: number | undefined;
114
- lineText?: string | undefined;
115
- suggestion?: string | undefined;
116
76
  } | undefined;
117
77
  }>, "many">>;
118
78
  }, "strip", z.ZodTypeAny, {
119
79
  text: string;
120
- pluginName?: string | undefined;
121
- type?: string | undefined;
80
+ source: string;
122
81
  location?: {
123
82
  file: string;
124
83
  line: number;
125
84
  column: number;
126
- length?: number | undefined;
127
- lineText?: string | undefined;
128
- suggestion?: string | undefined;
129
85
  } | undefined;
130
86
  notes?: {
131
87
  text: string;
@@ -133,22 +89,15 @@ export declare const ZodTaskMessage: z.ZodObject<{
133
89
  file: string;
134
90
  line: number;
135
91
  column: number;
136
- length?: number | undefined;
137
- lineText?: string | undefined;
138
- suggestion?: string | undefined;
139
92
  } | undefined;
140
93
  }[] | undefined;
141
94
  }, {
142
95
  text: string;
143
- pluginName?: string | undefined;
144
- type?: string | undefined;
96
+ source: string;
145
97
  location?: {
146
98
  file: string;
147
99
  line: number;
148
100
  column: number;
149
- length?: number | undefined;
150
- lineText?: string | undefined;
151
- suggestion?: string | undefined;
152
101
  } | undefined;
153
102
  notes?: {
154
103
  text: string;
@@ -156,9 +105,6 @@ export declare const ZodTaskMessage: z.ZodObject<{
156
105
  file: string;
157
106
  line: number;
158
107
  column: number;
159
- length?: number | undefined;
160
- lineText?: string | undefined;
161
- suggestion?: string | undefined;
162
108
  } | undefined;
163
109
  }[] | undefined;
164
110
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"TaskMessage.d.ts","sourceRoot":"","sources":["../../src/types/TaskMessage.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGtB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMzB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"TaskMessage.d.ts","sourceRoot":"","sources":["../../src/types/TaskMessage.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGtB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKzB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -5,9 +5,8 @@ export const ZodTaskNote = z.object({
5
5
  location: ZodTaskMessageLocation.optional(),
6
6
  });
7
7
  export const ZodTaskMessage = z.object({
8
- pluginName: z.string().optional(),
9
- type: z.string().optional(),
10
8
  text: z.string(),
9
+ source: z.string(),
11
10
  location: ZodTaskMessageLocation.optional(),
12
11
  notes: z.array(ZodTaskNote).optional(),
13
12
  });
@@ -1 +1 @@
1
- {"version":3,"file":"TaskMessage.js","sourceRoot":"","sources":["../../src/types/TaskMessage.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,sBAAsB,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC","sourcesContent":["import z from 'zod';\nimport { ZodTaskMessageLocation } from './TaskMessageLocation.js';\n\nexport const ZodTaskNote = z.object({\n text: z.string(),\n location: ZodTaskMessageLocation.optional(),\n});\n\nexport const ZodTaskMessage = z.object({\n pluginName: z.string().optional(),\n type: z.string().optional(),\n text: z.string(),\n location: ZodTaskMessageLocation.optional(),\n notes: z.array(ZodTaskNote).optional(),\n});\n\nexport type TaskMessage = z.infer<typeof ZodTaskMessage>;\n"]}
1
+ {"version":3,"file":"TaskMessage.js","sourceRoot":"","sources":["../../src/types/TaskMessage.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,sBAAsB,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAC3C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC","sourcesContent":["import z from 'zod';\nimport { ZodTaskMessageLocation } from './TaskMessageLocation.js';\n\nexport const ZodTaskNote = z.object({\n text: z.string(),\n location: ZodTaskMessageLocation.optional(),\n});\n\nexport const ZodTaskMessage = z.object({\n text: z.string(),\n source: z.string(),\n location: ZodTaskMessageLocation.optional(),\n notes: z.array(ZodTaskNote).optional(),\n});\n\nexport type TaskMessage = z.infer<typeof ZodTaskMessage>;\n"]}
@@ -3,23 +3,14 @@ export declare const ZodTaskMessageLocation: z.ZodObject<{
3
3
  file: z.ZodString;
4
4
  line: z.ZodNumber;
5
5
  column: z.ZodNumber;
6
- length: z.ZodOptional<z.ZodNumber>;
7
- lineText: z.ZodOptional<z.ZodString>;
8
- suggestion: z.ZodOptional<z.ZodString>;
9
6
  }, "strip", z.ZodTypeAny, {
10
7
  file: string;
11
8
  line: number;
12
9
  column: number;
13
- length?: number | undefined;
14
- lineText?: string | undefined;
15
- suggestion?: string | undefined;
16
10
  }, {
17
11
  file: string;
18
12
  line: number;
19
13
  column: number;
20
- length?: number | undefined;
21
- lineText?: string | undefined;
22
- suggestion?: string | undefined;
23
14
  }>;
24
15
  export type TaskMessageLocation = z.infer<typeof ZodTaskMessageLocation>;
25
16
  //# sourceMappingURL=TaskMessageLocation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TaskMessageLocation.d.ts","sourceRoot":"","sources":["../../src/types/TaskMessageLocation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;EAOjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"TaskMessageLocation.d.ts","sourceRoot":"","sources":["../../src/types/TaskMessageLocation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;EAIjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -3,8 +3,5 @@ export const ZodTaskMessageLocation = z.object({
3
3
  file: z.string(),
4
4
  line: z.number(),
5
5
  column: z.number(),
6
- length: z.number().optional(),
7
- lineText: z.string().optional(),
8
- suggestion: z.string().optional(),
9
6
  });
10
7
  //# sourceMappingURL=TaskMessageLocation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TaskMessageLocation.js","sourceRoot":"","sources":["../../src/types/TaskMessageLocation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC","sourcesContent":["import z from 'zod';\n\nexport const ZodTaskMessageLocation = z.object({\n file: z.string(),\n line: z.number(),\n column: z.number(),\n length: z.number().optional(),\n lineText: z.string().optional(),\n suggestion: z.string().optional(),\n});\n\nexport type TaskMessageLocation = z.infer<typeof ZodTaskMessageLocation>;\n"]}
1
+ {"version":3,"file":"TaskMessageLocation.js","sourceRoot":"","sources":["../../src/types/TaskMessageLocation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC","sourcesContent":["import z from 'zod';\n\nexport const ZodTaskMessageLocation = z.object({\n file: z.string(),\n line: z.number(),\n column: z.number(),\n});\n\nexport type TaskMessageLocation = z.infer<typeof ZodTaskMessageLocation>;\n"]}