@zinn-dev/cli 0.39.0 → 0.41.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 (113) hide show
  1. package/README.md +171 -40
  2. package/index.d.ts +2 -0
  3. package/index.js +34 -0
  4. package/package.json +27 -18
  5. package/skills/zinn/SKILL.md +63 -0
  6. package/src/actor.d.ts +7 -0
  7. package/src/actor.js +129 -0
  8. package/src/capabilities-schema.d.ts +163 -0
  9. package/src/capabilities-schema.js +124 -0
  10. package/src/capabilities.d.ts +21 -0
  11. package/src/capabilities.js +22 -0
  12. package/src/database.d.ts +6 -0
  13. package/src/database.js +27 -0
  14. package/src/errors.d.ts +158 -0
  15. package/src/errors.js +224 -0
  16. package/src/input.d.ts +116 -0
  17. package/src/input.js +119 -0
  18. package/src/lib.d.ts +66 -0
  19. package/src/lib.js +333 -0
  20. package/src/presentation/activity-presentation.d.ts +23 -0
  21. package/src/presentation/activity-presentation.js +403 -0
  22. package/src/presentation/color.d.ts +9 -0
  23. package/src/presentation/color.js +21 -0
  24. package/src/presentation/column-presentation.d.ts +14 -0
  25. package/src/presentation/column-presentation.js +29 -0
  26. package/src/presentation/description-presentation.d.ts +3 -0
  27. package/src/presentation/description-presentation.js +11 -0
  28. package/src/presentation/info-presentation.d.ts +4 -0
  29. package/src/presentation/info-presentation.js +96 -0
  30. package/src/presentation/row-layout.d.ts +22 -0
  31. package/src/presentation/row-layout.js +58 -0
  32. package/src/presentation/section.d.ts +4 -0
  33. package/src/presentation/section.js +9 -0
  34. package/src/presentation/task-presentation.d.ts +9 -0
  35. package/src/presentation/task-presentation.js +62 -0
  36. package/src/presentation/time.d.ts +1 -0
  37. package/src/presentation/time.js +13 -0
  38. package/src/project.d.ts +12 -0
  39. package/src/project.js +44 -0
  40. package/src/release-identity.d.ts +2 -0
  41. package/src/release-identity.js +1 -0
  42. package/src/result-schemas.d.ts +987 -0
  43. package/src/result-schemas.js +220 -0
  44. package/src/results.d.ts +23 -0
  45. package/src/results.js +17 -0
  46. package/src/routes/activity-router.d.ts +81 -0
  47. package/src/routes/activity-router.js +119 -0
  48. package/src/routes/backup-router.d.ts +21 -0
  49. package/src/routes/backup-router.js +30 -0
  50. package/src/routes/capabilities-router.d.ts +21 -0
  51. package/src/routes/capabilities-router.js +28 -0
  52. package/src/routes/comment-router.d.ts +203 -0
  53. package/src/routes/comment-router.js +241 -0
  54. package/src/routes/info-router.d.ts +21 -0
  55. package/src/routes/info-router.js +29 -0
  56. package/src/routes/label-router.d.ts +183 -0
  57. package/src/routes/label-router.js +218 -0
  58. package/src/routes/migrate-router.d.ts +21 -0
  59. package/src/routes/migrate-router.js +49 -0
  60. package/src/routes/project-router.d.ts +389 -0
  61. package/src/routes/project-router.js +514 -0
  62. package/src/routes/reindex-router.d.ts +21 -0
  63. package/src/routes/reindex-router.js +33 -0
  64. package/src/routes/relation-router.d.ts +124 -0
  65. package/src/routes/relation-router.js +223 -0
  66. package/src/routes/restore-router.d.ts +33 -0
  67. package/src/routes/restore-router.js +88 -0
  68. package/src/routes/router.d.ts +6 -0
  69. package/src/routes/router.js +204 -0
  70. package/src/routes/routes.d.ts +1735 -0
  71. package/src/routes/routes.js +23 -0
  72. package/src/routes/task-router.d.ts +945 -0
  73. package/src/routes/task-router.js +789 -0
  74. package/src/text-edit.d.ts +43 -0
  75. package/src/text-edit.js +57 -0
  76. package/src/types.d.ts +24 -0
  77. package/src/types.js +1 -0
  78. package/index.ts +0 -26
  79. package/release-stamp.json +0 -1
  80. package/src/actor.test.ts +0 -41
  81. package/src/actor.ts +0 -78
  82. package/src/database.test.ts +0 -70
  83. package/src/database.ts +0 -41
  84. package/src/lib.test.ts +0 -86
  85. package/src/lib.ts +0 -159
  86. package/src/presentation/activity-presentation.test.ts +0 -112
  87. package/src/presentation/activity-presentation.ts +0 -490
  88. package/src/presentation/color.ts +0 -29
  89. package/src/presentation/column-presentation.ts +0 -48
  90. package/src/presentation/description-presentation.ts +0 -18
  91. package/src/presentation/row-layout.ts +0 -77
  92. package/src/presentation/section.ts +0 -16
  93. package/src/presentation/task-presentation.ts +0 -92
  94. package/src/presentation/time.ts +0 -17
  95. package/src/project.test.ts +0 -479
  96. package/src/project.ts +0 -53
  97. package/src/routes/activity-router.ts +0 -81
  98. package/src/routes/backup-router.ts +0 -24
  99. package/src/routes/comment-router.ts +0 -171
  100. package/src/routes/label-router.ts +0 -168
  101. package/src/routes/migrate-router.test.ts +0 -31
  102. package/src/routes/migrate-router.ts +0 -48
  103. package/src/routes/project-router.ts +0 -415
  104. package/src/routes/reindex-router.ts +0 -27
  105. package/src/routes/relation-router.ts +0 -194
  106. package/src/routes/restore-router.test.ts +0 -44
  107. package/src/routes/restore-router.ts +0 -90
  108. package/src/routes/router.test.ts +0 -136
  109. package/src/routes/router.ts +0 -248
  110. package/src/routes/routes.ts +0 -20
  111. package/src/routes/task-router.ts +0 -649
  112. package/src/text-edit.ts +0 -68
  113. package/src/types.ts +0 -6
@@ -0,0 +1,987 @@
1
+ import { z } from "zod";
2
+ export declare const taskSchema: z.ZodObject<{
3
+ key: z.ZodString;
4
+ status: z.ZodEnum<{
5
+ Active: "Active";
6
+ Archived: "Archived";
7
+ }>;
8
+ column: z.ZodString;
9
+ title: z.ZodString;
10
+ description: z.ZodNullable<z.ZodString>;
11
+ priority: z.ZodNullable<z.ZodString>;
12
+ labels: z.ZodArray<z.ZodString>;
13
+ }, z.core.$strict>;
14
+ export declare const relationSchema: z.ZodObject<{
15
+ type: z.ZodString;
16
+ direction: z.ZodNullable<z.ZodEnum<{
17
+ outgoing: "outgoing";
18
+ incoming: "incoming";
19
+ }>>;
20
+ task: z.ZodObject<{
21
+ column: z.ZodString;
22
+ key: z.ZodString;
23
+ status: z.ZodEnum<{
24
+ Active: "Active";
25
+ Archived: "Archived";
26
+ }>;
27
+ title: z.ZodString;
28
+ }, z.core.$strict>;
29
+ }, z.core.$strict>;
30
+ export declare const relationChangeSchema: z.ZodObject<{
31
+ type: z.ZodString;
32
+ source: z.ZodString;
33
+ target: z.ZodString;
34
+ }, z.core.$strict>;
35
+ export declare const commentSchema: z.ZodObject<{
36
+ key: z.ZodString;
37
+ text: z.ZodString;
38
+ created_at: z.ZodNumber;
39
+ updated_at: z.ZodNumber;
40
+ }, z.core.$strict>;
41
+ export declare const activitySchema: z.ZodObject<{
42
+ id: z.ZodString;
43
+ created_at: z.ZodNumber;
44
+ actor_name: z.ZodNullable<z.ZodString>;
45
+ actor_email: z.ZodNullable<z.ZodString>;
46
+ actor_kind: z.ZodString;
47
+ actor_source: z.ZodNullable<z.ZodString>;
48
+ actor_session_id: z.ZodNullable<z.ZodString>;
49
+ actor_thread_id: z.ZodNullable<z.ZodString>;
50
+ actor_agent: z.ZodNullable<z.ZodString>;
51
+ actor_model: z.ZodNullable<z.ZodString>;
52
+ actor_effort: z.ZodNullable<z.ZodString>;
53
+ entity_type: z.ZodString;
54
+ entity_id: z.ZodString;
55
+ action: z.ZodString;
56
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
57
+ }, z.core.$strict>;
58
+ export declare const taskDetailSchema: z.ZodObject<{
59
+ key: z.ZodString;
60
+ status: z.ZodEnum<{
61
+ Active: "Active";
62
+ Archived: "Archived";
63
+ }>;
64
+ column: z.ZodString;
65
+ title: z.ZodString;
66
+ description: z.ZodNullable<z.ZodString>;
67
+ priority: z.ZodNullable<z.ZodString>;
68
+ labels: z.ZodArray<z.ZodString>;
69
+ relations: z.ZodArray<z.ZodObject<{
70
+ type: z.ZodString;
71
+ direction: z.ZodNullable<z.ZodEnum<{
72
+ outgoing: "outgoing";
73
+ incoming: "incoming";
74
+ }>>;
75
+ task: z.ZodObject<{
76
+ column: z.ZodString;
77
+ key: z.ZodString;
78
+ status: z.ZodEnum<{
79
+ Active: "Active";
80
+ Archived: "Archived";
81
+ }>;
82
+ title: z.ZodString;
83
+ }, z.core.$strict>;
84
+ }, z.core.$strict>>;
85
+ comments: z.ZodArray<z.ZodObject<{
86
+ key: z.ZodString;
87
+ text: z.ZodString;
88
+ created_at: z.ZodNumber;
89
+ updated_at: z.ZodNumber;
90
+ }, z.core.$strict>>;
91
+ }, z.core.$strict>;
92
+ export declare const taskDetailHistorySchema: z.ZodObject<{
93
+ key: z.ZodString;
94
+ status: z.ZodEnum<{
95
+ Active: "Active";
96
+ Archived: "Archived";
97
+ }>;
98
+ column: z.ZodString;
99
+ title: z.ZodString;
100
+ description: z.ZodNullable<z.ZodString>;
101
+ priority: z.ZodNullable<z.ZodString>;
102
+ labels: z.ZodArray<z.ZodString>;
103
+ relations: z.ZodArray<z.ZodObject<{
104
+ type: z.ZodString;
105
+ direction: z.ZodNullable<z.ZodEnum<{
106
+ outgoing: "outgoing";
107
+ incoming: "incoming";
108
+ }>>;
109
+ task: z.ZodObject<{
110
+ column: z.ZodString;
111
+ key: z.ZodString;
112
+ status: z.ZodEnum<{
113
+ Active: "Active";
114
+ Archived: "Archived";
115
+ }>;
116
+ title: z.ZodString;
117
+ }, z.core.$strict>;
118
+ }, z.core.$strict>>;
119
+ comments: z.ZodArray<z.ZodObject<{
120
+ key: z.ZodString;
121
+ text: z.ZodString;
122
+ created_at: z.ZodNumber;
123
+ updated_at: z.ZodNumber;
124
+ }, z.core.$strict>>;
125
+ activity: z.ZodArray<z.ZodObject<{
126
+ id: z.ZodString;
127
+ created_at: z.ZodNumber;
128
+ actor_name: z.ZodNullable<z.ZodString>;
129
+ actor_email: z.ZodNullable<z.ZodString>;
130
+ actor_kind: z.ZodString;
131
+ actor_source: z.ZodNullable<z.ZodString>;
132
+ actor_session_id: z.ZodNullable<z.ZodString>;
133
+ actor_thread_id: z.ZodNullable<z.ZodString>;
134
+ actor_agent: z.ZodNullable<z.ZodString>;
135
+ actor_model: z.ZodNullable<z.ZodString>;
136
+ actor_effort: z.ZodNullable<z.ZodString>;
137
+ entity_type: z.ZodString;
138
+ entity_id: z.ZodString;
139
+ action: z.ZodString;
140
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
141
+ }, z.core.$strict>>;
142
+ }, z.core.$strict>;
143
+ export declare const taskChangeSchema: z.ZodObject<{
144
+ key: z.ZodString;
145
+ status: z.ZodEnum<{
146
+ Active: "Active";
147
+ Archived: "Archived";
148
+ }>;
149
+ column: z.ZodString;
150
+ title: z.ZodString;
151
+ description: z.ZodNullable<z.ZodString>;
152
+ priority: z.ZodNullable<z.ZodString>;
153
+ labels: z.ZodArray<z.ZodString>;
154
+ changed: z.ZodBoolean;
155
+ }, z.core.$strict>;
156
+ export declare const projectSchema: z.ZodObject<{
157
+ key: z.ZodString;
158
+ name: z.ZodString;
159
+ description: z.ZodNullable<z.ZodString>;
160
+ }, z.core.$strict>;
161
+ export declare const columnSchema: z.ZodObject<{
162
+ project: z.ZodString;
163
+ name: z.ZodString;
164
+ }, z.core.$strict>;
165
+ export declare const columnTaskCountSchema: z.ZodObject<{
166
+ name: z.ZodString;
167
+ taskCount: z.ZodNumber;
168
+ }, z.core.$strict>;
169
+ export declare const projectViewSchema: z.ZodObject<{
170
+ key: z.ZodString;
171
+ name: z.ZodString;
172
+ description: z.ZodNullable<z.ZodString>;
173
+ columns: z.ZodArray<z.ZodObject<{
174
+ name: z.ZodString;
175
+ taskCount: z.ZodNumber;
176
+ }, z.core.$strict>>;
177
+ archivedTaskCount: z.ZodNumber;
178
+ }, z.core.$strict>;
179
+ export declare const labelSchema: z.ZodObject<{
180
+ name: z.ZodString;
181
+ color: z.ZodString;
182
+ description: z.ZodNullable<z.ZodString>;
183
+ }, z.core.$strict>;
184
+ export declare const settingsFileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
185
+ path: z.ZodString;
186
+ source: z.ZodEnum<{
187
+ env: "env";
188
+ global: "global";
189
+ local: "local";
190
+ }>;
191
+ state: z.ZodEnum<{
192
+ found: "found";
193
+ }>;
194
+ settings: z.ZodObject<{
195
+ $schema: z.ZodOptional<z.ZodString>;
196
+ defaultProject: z.ZodOptional<z.ZodString>;
197
+ storage: z.ZodOptional<z.ZodObject<{
198
+ directory: z.ZodString;
199
+ }, z.core.$strict>>;
200
+ }, z.core.$strict>;
201
+ }, z.core.$strict>, z.ZodObject<{
202
+ path: z.ZodString;
203
+ source: z.ZodEnum<{
204
+ env: "env";
205
+ global: "global";
206
+ local: "local";
207
+ }>;
208
+ state: z.ZodEnum<{
209
+ missing: "missing";
210
+ }>;
211
+ }, z.core.$strict>, z.ZodObject<{
212
+ path: z.ZodString;
213
+ source: z.ZodEnum<{
214
+ env: "env";
215
+ global: "global";
216
+ local: "local";
217
+ }>;
218
+ state: z.ZodEnum<{
219
+ error: "error";
220
+ }>;
221
+ error: z.ZodString;
222
+ }, z.core.$strict>, z.ZodObject<{
223
+ path: z.ZodString;
224
+ source: z.ZodEnum<{
225
+ env: "env";
226
+ global: "global";
227
+ local: "local";
228
+ }>;
229
+ state: z.ZodEnum<{
230
+ "not-read": "not-read";
231
+ }>;
232
+ reason: z.ZodLiteral<"ZINN_DIR">;
233
+ }, z.core.$strict>], "state">;
234
+ export declare const infoSchema: z.ZodObject<{
235
+ settingsFiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
236
+ path: z.ZodString;
237
+ source: z.ZodEnum<{
238
+ env: "env";
239
+ global: "global";
240
+ local: "local";
241
+ }>;
242
+ state: z.ZodEnum<{
243
+ found: "found";
244
+ }>;
245
+ settings: z.ZodObject<{
246
+ $schema: z.ZodOptional<z.ZodString>;
247
+ defaultProject: z.ZodOptional<z.ZodString>;
248
+ storage: z.ZodOptional<z.ZodObject<{
249
+ directory: z.ZodString;
250
+ }, z.core.$strict>>;
251
+ }, z.core.$strict>;
252
+ }, z.core.$strict>, z.ZodObject<{
253
+ path: z.ZodString;
254
+ source: z.ZodEnum<{
255
+ env: "env";
256
+ global: "global";
257
+ local: "local";
258
+ }>;
259
+ state: z.ZodEnum<{
260
+ missing: "missing";
261
+ }>;
262
+ }, z.core.$strict>, z.ZodObject<{
263
+ path: z.ZodString;
264
+ source: z.ZodEnum<{
265
+ env: "env";
266
+ global: "global";
267
+ local: "local";
268
+ }>;
269
+ state: z.ZodEnum<{
270
+ error: "error";
271
+ }>;
272
+ error: z.ZodString;
273
+ }, z.core.$strict>, z.ZodObject<{
274
+ path: z.ZodString;
275
+ source: z.ZodEnum<{
276
+ env: "env";
277
+ global: "global";
278
+ local: "local";
279
+ }>;
280
+ state: z.ZodEnum<{
281
+ "not-read": "not-read";
282
+ }>;
283
+ reason: z.ZodLiteral<"ZINN_DIR">;
284
+ }, z.core.$strict>], "state">>;
285
+ storage: z.ZodObject<{
286
+ directory: z.ZodNullable<z.ZodString>;
287
+ source: z.ZodNullable<z.ZodEnum<{
288
+ default: "default";
289
+ env: "env";
290
+ global: "global";
291
+ local: "local";
292
+ }>>;
293
+ settingsPath: z.ZodNullable<z.ZodString>;
294
+ exists: z.ZodNullable<z.ZodBoolean>;
295
+ error: z.ZodNullable<z.ZodString>;
296
+ }, z.core.$strict>;
297
+ defaultProject: z.ZodObject<{
298
+ key: z.ZodNullable<z.ZodString>;
299
+ settingsPath: z.ZodNullable<z.ZodString>;
300
+ error: z.ZodNullable<z.ZodString>;
301
+ }, z.core.$strict>;
302
+ database: z.ZodObject<{
303
+ path: z.ZodNullable<z.ZodString>;
304
+ state: z.ZodEnum<{
305
+ absent: "absent";
306
+ empty: "empty";
307
+ unmarked: "unmarked";
308
+ current: "current";
309
+ older: "older";
310
+ newer: "newer";
311
+ unavailable: "unavailable";
312
+ }>;
313
+ version: z.ZodNullable<z.ZodNumber>;
314
+ latestVersion: z.ZodNumber;
315
+ error: z.ZodNullable<z.ZodString>;
316
+ }, z.core.$strict>;
317
+ versions: z.ZodObject<{
318
+ cli: z.ZodString;
319
+ core: z.ZodString;
320
+ runtime: z.ZodObject<{
321
+ name: z.ZodEnum<{
322
+ Node: "Node";
323
+ Bun: "Bun";
324
+ }>;
325
+ version: z.ZodString;
326
+ }, z.core.$strict>;
327
+ }, z.core.$strict>;
328
+ }, z.core.$strict>;
329
+ export declare const backupSchema: z.ZodObject<{
330
+ path: z.ZodString;
331
+ }, z.core.$strict>;
332
+ export declare const restoreSchema: z.ZodObject<{
333
+ databasePath: z.ZodString;
334
+ previousVersion: z.ZodNumber;
335
+ restoredVersion: z.ZodNumber;
336
+ backupPath: z.ZodNullable<z.ZodString>;
337
+ }, z.core.$strict>;
338
+ export declare const migrateSchema: z.ZodObject<{
339
+ databasePath: z.ZodString;
340
+ previousVersion: z.ZodNumber;
341
+ finalVersion: z.ZodNumber;
342
+ changed: z.ZodBoolean;
343
+ backupPath: z.ZodNullable<z.ZodString>;
344
+ }, z.core.$strict>;
345
+ export declare const reindexSchema: z.ZodObject<{
346
+ databasePath: z.ZodString;
347
+ taskCount: z.ZodNumber;
348
+ }, z.core.$strict>;
349
+ export declare const resultSchemas: {
350
+ Task: z.ZodObject<{
351
+ key: z.ZodString;
352
+ status: z.ZodEnum<{
353
+ Active: "Active";
354
+ Archived: "Archived";
355
+ }>;
356
+ column: z.ZodString;
357
+ title: z.ZodString;
358
+ description: z.ZodNullable<z.ZodString>;
359
+ priority: z.ZodNullable<z.ZodString>;
360
+ labels: z.ZodArray<z.ZodString>;
361
+ }, z.core.$strict>;
362
+ TaskList: z.ZodArray<z.ZodObject<{
363
+ key: z.ZodString;
364
+ status: z.ZodEnum<{
365
+ Active: "Active";
366
+ Archived: "Archived";
367
+ }>;
368
+ column: z.ZodString;
369
+ title: z.ZodString;
370
+ description: z.ZodNullable<z.ZodString>;
371
+ priority: z.ZodNullable<z.ZodString>;
372
+ labels: z.ZodArray<z.ZodString>;
373
+ }, z.core.$strict>>;
374
+ TaskDetail: z.ZodObject<{
375
+ key: z.ZodString;
376
+ status: z.ZodEnum<{
377
+ Active: "Active";
378
+ Archived: "Archived";
379
+ }>;
380
+ column: z.ZodString;
381
+ title: z.ZodString;
382
+ description: z.ZodNullable<z.ZodString>;
383
+ priority: z.ZodNullable<z.ZodString>;
384
+ labels: z.ZodArray<z.ZodString>;
385
+ relations: z.ZodArray<z.ZodObject<{
386
+ type: z.ZodString;
387
+ direction: z.ZodNullable<z.ZodEnum<{
388
+ outgoing: "outgoing";
389
+ incoming: "incoming";
390
+ }>>;
391
+ task: z.ZodObject<{
392
+ column: z.ZodString;
393
+ key: z.ZodString;
394
+ status: z.ZodEnum<{
395
+ Active: "Active";
396
+ Archived: "Archived";
397
+ }>;
398
+ title: z.ZodString;
399
+ }, z.core.$strict>;
400
+ }, z.core.$strict>>;
401
+ comments: z.ZodArray<z.ZodObject<{
402
+ key: z.ZodString;
403
+ text: z.ZodString;
404
+ created_at: z.ZodNumber;
405
+ updated_at: z.ZodNumber;
406
+ }, z.core.$strict>>;
407
+ }, z.core.$strict>;
408
+ TaskDetailHistory: z.ZodObject<{
409
+ key: z.ZodString;
410
+ status: z.ZodEnum<{
411
+ Active: "Active";
412
+ Archived: "Archived";
413
+ }>;
414
+ column: z.ZodString;
415
+ title: z.ZodString;
416
+ description: z.ZodNullable<z.ZodString>;
417
+ priority: z.ZodNullable<z.ZodString>;
418
+ labels: z.ZodArray<z.ZodString>;
419
+ relations: z.ZodArray<z.ZodObject<{
420
+ type: z.ZodString;
421
+ direction: z.ZodNullable<z.ZodEnum<{
422
+ outgoing: "outgoing";
423
+ incoming: "incoming";
424
+ }>>;
425
+ task: z.ZodObject<{
426
+ column: z.ZodString;
427
+ key: z.ZodString;
428
+ status: z.ZodEnum<{
429
+ Active: "Active";
430
+ Archived: "Archived";
431
+ }>;
432
+ title: z.ZodString;
433
+ }, z.core.$strict>;
434
+ }, z.core.$strict>>;
435
+ comments: z.ZodArray<z.ZodObject<{
436
+ key: z.ZodString;
437
+ text: z.ZodString;
438
+ created_at: z.ZodNumber;
439
+ updated_at: z.ZodNumber;
440
+ }, z.core.$strict>>;
441
+ activity: z.ZodArray<z.ZodObject<{
442
+ id: z.ZodString;
443
+ created_at: z.ZodNumber;
444
+ actor_name: z.ZodNullable<z.ZodString>;
445
+ actor_email: z.ZodNullable<z.ZodString>;
446
+ actor_kind: z.ZodString;
447
+ actor_source: z.ZodNullable<z.ZodString>;
448
+ actor_session_id: z.ZodNullable<z.ZodString>;
449
+ actor_thread_id: z.ZodNullable<z.ZodString>;
450
+ actor_agent: z.ZodNullable<z.ZodString>;
451
+ actor_model: z.ZodNullable<z.ZodString>;
452
+ actor_effort: z.ZodNullable<z.ZodString>;
453
+ entity_type: z.ZodString;
454
+ entity_id: z.ZodString;
455
+ action: z.ZodString;
456
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
457
+ }, z.core.$strict>>;
458
+ }, z.core.$strict>;
459
+ TaskChange: z.ZodObject<{
460
+ key: z.ZodString;
461
+ status: z.ZodEnum<{
462
+ Active: "Active";
463
+ Archived: "Archived";
464
+ }>;
465
+ column: z.ZodString;
466
+ title: z.ZodString;
467
+ description: z.ZodNullable<z.ZodString>;
468
+ priority: z.ZodNullable<z.ZodString>;
469
+ labels: z.ZodArray<z.ZodString>;
470
+ changed: z.ZodBoolean;
471
+ }, z.core.$strict>;
472
+ TaskChanges: z.ZodArray<z.ZodObject<{
473
+ key: z.ZodString;
474
+ status: z.ZodEnum<{
475
+ Active: "Active";
476
+ Archived: "Archived";
477
+ }>;
478
+ column: z.ZodString;
479
+ title: z.ZodString;
480
+ description: z.ZodNullable<z.ZodString>;
481
+ priority: z.ZodNullable<z.ZodString>;
482
+ labels: z.ZodArray<z.ZodString>;
483
+ changed: z.ZodBoolean;
484
+ }, z.core.$strict>>;
485
+ Relation: z.ZodObject<{
486
+ type: z.ZodString;
487
+ direction: z.ZodNullable<z.ZodEnum<{
488
+ outgoing: "outgoing";
489
+ incoming: "incoming";
490
+ }>>;
491
+ task: z.ZodObject<{
492
+ column: z.ZodString;
493
+ key: z.ZodString;
494
+ status: z.ZodEnum<{
495
+ Active: "Active";
496
+ Archived: "Archived";
497
+ }>;
498
+ title: z.ZodString;
499
+ }, z.core.$strict>;
500
+ }, z.core.$strict>;
501
+ RelationList: z.ZodArray<z.ZodObject<{
502
+ type: z.ZodString;
503
+ direction: z.ZodNullable<z.ZodEnum<{
504
+ outgoing: "outgoing";
505
+ incoming: "incoming";
506
+ }>>;
507
+ task: z.ZodObject<{
508
+ column: z.ZodString;
509
+ key: z.ZodString;
510
+ status: z.ZodEnum<{
511
+ Active: "Active";
512
+ Archived: "Archived";
513
+ }>;
514
+ title: z.ZodString;
515
+ }, z.core.$strict>;
516
+ }, z.core.$strict>>;
517
+ RelationChange: z.ZodObject<{
518
+ type: z.ZodString;
519
+ source: z.ZodString;
520
+ target: z.ZodString;
521
+ }, z.core.$strict>;
522
+ Comment: z.ZodObject<{
523
+ key: z.ZodString;
524
+ text: z.ZodString;
525
+ created_at: z.ZodNumber;
526
+ updated_at: z.ZodNumber;
527
+ }, z.core.$strict>;
528
+ CommentList: z.ZodArray<z.ZodObject<{
529
+ key: z.ZodString;
530
+ text: z.ZodString;
531
+ created_at: z.ZodNumber;
532
+ updated_at: z.ZodNumber;
533
+ }, z.core.$strict>>;
534
+ Project: z.ZodObject<{
535
+ key: z.ZodString;
536
+ name: z.ZodString;
537
+ description: z.ZodNullable<z.ZodString>;
538
+ }, z.core.$strict>;
539
+ ProjectList: z.ZodArray<z.ZodObject<{
540
+ key: z.ZodString;
541
+ name: z.ZodString;
542
+ description: z.ZodNullable<z.ZodString>;
543
+ }, z.core.$strict>>;
544
+ ProjectView: z.ZodObject<{
545
+ key: z.ZodString;
546
+ name: z.ZodString;
547
+ description: z.ZodNullable<z.ZodString>;
548
+ columns: z.ZodArray<z.ZodObject<{
549
+ name: z.ZodString;
550
+ taskCount: z.ZodNumber;
551
+ }, z.core.$strict>>;
552
+ archivedTaskCount: z.ZodNumber;
553
+ }, z.core.$strict>;
554
+ Column: z.ZodObject<{
555
+ project: z.ZodString;
556
+ name: z.ZodString;
557
+ }, z.core.$strict>;
558
+ ColumnTaskCount: z.ZodObject<{
559
+ name: z.ZodString;
560
+ taskCount: z.ZodNumber;
561
+ }, z.core.$strict>;
562
+ ColumnList: z.ZodArray<z.ZodObject<{
563
+ name: z.ZodString;
564
+ taskCount: z.ZodNumber;
565
+ }, z.core.$strict>>;
566
+ Label: z.ZodObject<{
567
+ name: z.ZodString;
568
+ color: z.ZodString;
569
+ description: z.ZodNullable<z.ZodString>;
570
+ }, z.core.$strict>;
571
+ LabelList: z.ZodArray<z.ZodObject<{
572
+ name: z.ZodString;
573
+ color: z.ZodString;
574
+ description: z.ZodNullable<z.ZodString>;
575
+ }, z.core.$strict>>;
576
+ Activity: z.ZodObject<{
577
+ id: z.ZodString;
578
+ created_at: z.ZodNumber;
579
+ actor_name: z.ZodNullable<z.ZodString>;
580
+ actor_email: z.ZodNullable<z.ZodString>;
581
+ actor_kind: z.ZodString;
582
+ actor_source: z.ZodNullable<z.ZodString>;
583
+ actor_session_id: z.ZodNullable<z.ZodString>;
584
+ actor_thread_id: z.ZodNullable<z.ZodString>;
585
+ actor_agent: z.ZodNullable<z.ZodString>;
586
+ actor_model: z.ZodNullable<z.ZodString>;
587
+ actor_effort: z.ZodNullable<z.ZodString>;
588
+ entity_type: z.ZodString;
589
+ entity_id: z.ZodString;
590
+ action: z.ZodString;
591
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
592
+ }, z.core.$strict>;
593
+ ActivityList: z.ZodArray<z.ZodObject<{
594
+ id: z.ZodString;
595
+ created_at: z.ZodNumber;
596
+ actor_name: z.ZodNullable<z.ZodString>;
597
+ actor_email: z.ZodNullable<z.ZodString>;
598
+ actor_kind: z.ZodString;
599
+ actor_source: z.ZodNullable<z.ZodString>;
600
+ actor_session_id: z.ZodNullable<z.ZodString>;
601
+ actor_thread_id: z.ZodNullable<z.ZodString>;
602
+ actor_agent: z.ZodNullable<z.ZodString>;
603
+ actor_model: z.ZodNullable<z.ZodString>;
604
+ actor_effort: z.ZodNullable<z.ZodString>;
605
+ entity_type: z.ZodString;
606
+ entity_id: z.ZodString;
607
+ action: z.ZodString;
608
+ changes: z.ZodNullable<z.ZodObject<{}, z.core.$loose>>;
609
+ }, z.core.$strict>>;
610
+ Info: z.ZodObject<{
611
+ settingsFiles: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
612
+ path: z.ZodString;
613
+ source: z.ZodEnum<{
614
+ env: "env";
615
+ global: "global";
616
+ local: "local";
617
+ }>;
618
+ state: z.ZodEnum<{
619
+ found: "found";
620
+ }>;
621
+ settings: z.ZodObject<{
622
+ $schema: z.ZodOptional<z.ZodString>;
623
+ defaultProject: z.ZodOptional<z.ZodString>;
624
+ storage: z.ZodOptional<z.ZodObject<{
625
+ directory: z.ZodString;
626
+ }, z.core.$strict>>;
627
+ }, z.core.$strict>;
628
+ }, z.core.$strict>, z.ZodObject<{
629
+ path: z.ZodString;
630
+ source: z.ZodEnum<{
631
+ env: "env";
632
+ global: "global";
633
+ local: "local";
634
+ }>;
635
+ state: z.ZodEnum<{
636
+ missing: "missing";
637
+ }>;
638
+ }, z.core.$strict>, z.ZodObject<{
639
+ path: z.ZodString;
640
+ source: z.ZodEnum<{
641
+ env: "env";
642
+ global: "global";
643
+ local: "local";
644
+ }>;
645
+ state: z.ZodEnum<{
646
+ error: "error";
647
+ }>;
648
+ error: z.ZodString;
649
+ }, z.core.$strict>, z.ZodObject<{
650
+ path: z.ZodString;
651
+ source: z.ZodEnum<{
652
+ env: "env";
653
+ global: "global";
654
+ local: "local";
655
+ }>;
656
+ state: z.ZodEnum<{
657
+ "not-read": "not-read";
658
+ }>;
659
+ reason: z.ZodLiteral<"ZINN_DIR">;
660
+ }, z.core.$strict>], "state">>;
661
+ storage: z.ZodObject<{
662
+ directory: z.ZodNullable<z.ZodString>;
663
+ source: z.ZodNullable<z.ZodEnum<{
664
+ default: "default";
665
+ env: "env";
666
+ global: "global";
667
+ local: "local";
668
+ }>>;
669
+ settingsPath: z.ZodNullable<z.ZodString>;
670
+ exists: z.ZodNullable<z.ZodBoolean>;
671
+ error: z.ZodNullable<z.ZodString>;
672
+ }, z.core.$strict>;
673
+ defaultProject: z.ZodObject<{
674
+ key: z.ZodNullable<z.ZodString>;
675
+ settingsPath: z.ZodNullable<z.ZodString>;
676
+ error: z.ZodNullable<z.ZodString>;
677
+ }, z.core.$strict>;
678
+ database: z.ZodObject<{
679
+ path: z.ZodNullable<z.ZodString>;
680
+ state: z.ZodEnum<{
681
+ absent: "absent";
682
+ empty: "empty";
683
+ unmarked: "unmarked";
684
+ current: "current";
685
+ older: "older";
686
+ newer: "newer";
687
+ unavailable: "unavailable";
688
+ }>;
689
+ version: z.ZodNullable<z.ZodNumber>;
690
+ latestVersion: z.ZodNumber;
691
+ error: z.ZodNullable<z.ZodString>;
692
+ }, z.core.$strict>;
693
+ versions: z.ZodObject<{
694
+ cli: z.ZodString;
695
+ core: z.ZodString;
696
+ runtime: z.ZodObject<{
697
+ name: z.ZodEnum<{
698
+ Node: "Node";
699
+ Bun: "Bun";
700
+ }>;
701
+ version: z.ZodString;
702
+ }, z.core.$strict>;
703
+ }, z.core.$strict>;
704
+ }, z.core.$strict>;
705
+ Backup: z.ZodObject<{
706
+ path: z.ZodString;
707
+ }, z.core.$strict>;
708
+ Restore: z.ZodObject<{
709
+ databasePath: z.ZodString;
710
+ previousVersion: z.ZodNumber;
711
+ restoredVersion: z.ZodNumber;
712
+ backupPath: z.ZodNullable<z.ZodString>;
713
+ }, z.core.$strict>;
714
+ Migrate: z.ZodObject<{
715
+ databasePath: z.ZodString;
716
+ previousVersion: z.ZodNumber;
717
+ finalVersion: z.ZodNumber;
718
+ changed: z.ZodBoolean;
719
+ backupPath: z.ZodNullable<z.ZodString>;
720
+ }, z.core.$strict>;
721
+ Reindex: z.ZodObject<{
722
+ databasePath: z.ZodString;
723
+ taskCount: z.ZodNumber;
724
+ }, z.core.$strict>;
725
+ ErrorEnvelope: z.ZodObject<{
726
+ error: z.ZodObject<{
727
+ code: z.ZodEnum<{
728
+ invalid_input: "invalid_input";
729
+ not_found: "not_found";
730
+ conflict: "conflict";
731
+ storage: "storage";
732
+ internal: "internal";
733
+ }>;
734
+ message: z.ZodString;
735
+ help: z.ZodOptional<z.ZodString>;
736
+ details: z.ZodOptional<z.ZodObject<{
737
+ argument: z.ZodOptional<z.ZodString>;
738
+ field: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
739
+ entity: z.ZodOptional<z.ZodEnum<{
740
+ project: "project";
741
+ task: "task";
742
+ comment: "comment";
743
+ label: "label";
744
+ column: "column";
745
+ relation: "relation";
746
+ activity: "activity";
747
+ database: "database";
748
+ backup: "backup";
749
+ }>>;
750
+ key: z.ZodOptional<z.ZodString>;
751
+ source: z.ZodOptional<z.ZodEnum<{
752
+ explicit: "explicit";
753
+ defaultProject: "defaultProject";
754
+ }>>;
755
+ settingsPath: z.ZodOptional<z.ZodString>;
756
+ reason: z.ZodOptional<z.ZodEnum<{
757
+ archived: "archived";
758
+ confirmation_required: "confirmation_required";
759
+ invalid_json: "invalid_json";
760
+ invalid_settings: "invalid_settings";
761
+ invalid_storage: "invalid_storage";
762
+ already_exists: "already_exists";
763
+ parent_exists: "parent_exists";
764
+ cycle: "cycle";
765
+ different_project: "different_project";
766
+ different_column: "different_column";
767
+ ambiguous_reference: "ambiguous_reference";
768
+ text_match_count: "text_match_count";
769
+ no_columns: "no_columns";
770
+ unmarked_database: "unmarked_database";
771
+ newer_database: "newer_database";
772
+ older_database: "older_database";
773
+ invalid_backup: "invalid_backup";
774
+ busy: "busy";
775
+ locked: "locked";
776
+ permission_denied: "permission_denied";
777
+ read_only: "read_only";
778
+ disk_full: "disk_full";
779
+ corrupt: "corrupt";
780
+ not_database: "not_database";
781
+ missing_index: "missing_index";
782
+ io: "io";
783
+ }>>;
784
+ matchCount: z.ZodOptional<z.ZodNumber>;
785
+ candidateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
786
+ path: z.ZodOptional<z.ZodString>;
787
+ databasePath: z.ZodOptional<z.ZodString>;
788
+ backupDirectory: z.ZodOptional<z.ZodString>;
789
+ backupPath: z.ZodOptional<z.ZodString>;
790
+ schemaVersion: z.ZodOptional<z.ZodNumber>;
791
+ supportedSchemaVersion: z.ZodOptional<z.ZodNumber>;
792
+ cause: z.ZodOptional<z.ZodObject<{
793
+ code: z.ZodOptional<z.ZodString>;
794
+ errcode: z.ZodOptional<z.ZodNumber>;
795
+ message: z.ZodString;
796
+ }, z.core.$strict>>;
797
+ }, z.core.$strict>>;
798
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodString>>;
799
+ }, z.core.$strict>;
800
+ }, z.core.$strict>;
801
+ Capabilities: z.ZodObject<{
802
+ manifestVersion: z.ZodLiteral<1>;
803
+ cli: z.ZodObject<{
804
+ name: z.ZodString;
805
+ version: z.ZodString;
806
+ }, z.core.$strict>;
807
+ invocation: z.ZodObject<{
808
+ routerOptions: z.ZodRecord<z.ZodString, z.ZodObject<{
809
+ type: z.ZodEnum<{
810
+ string: "string";
811
+ boolean: "boolean";
812
+ }>;
813
+ short: z.ZodOptional<z.ZodString>;
814
+ multiple: z.ZodOptional<z.ZodBoolean>;
815
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>>;
816
+ required: z.ZodOptional<z.ZodBoolean>;
817
+ value: z.ZodOptional<z.ZodObject<{
818
+ kind: z.ZodString;
819
+ name: z.ZodOptional<z.ZodString>;
820
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
821
+ caseInsensitive: z.ZodOptional<z.ZodBoolean>;
822
+ pattern: z.ZodOptional<z.ZodString>;
823
+ description: z.ZodOptional<z.ZodString>;
824
+ }, z.core.$strict>>;
825
+ description: z.ZodOptional<z.ZodString>;
826
+ }, z.core.$strict>>;
827
+ routerOptionPlacement: z.ZodLiteral<"exact-tokens-anywhere-before-separator">;
828
+ optionSeparator: z.ZodLiteral<"--">;
829
+ literalOptionValue: z.ZodLiteral<"equals">;
830
+ singularOptions: z.ZodLiteral<"reject-repetition">;
831
+ jsonFailure: z.ZodLiteral<"one-stderr-document-with-buffered-diagnostics">;
832
+ jsonSuccessDiagnostics: z.ZodLiteral<"text-on-stderr-at-completion">;
833
+ canonicalArgv: z.ZodArray<z.ZodEnum<{
834
+ "command-path": "command-path";
835
+ "options-with-equals-values": "options-with-equals-values";
836
+ "--json": "--json";
837
+ "separator-if-positionals": "separator-if-positionals";
838
+ positionals: "positionals";
839
+ }>>;
840
+ version: z.ZodObject<{
841
+ spellings: z.ZodArray<z.ZodString>;
842
+ placement: z.ZodLiteral<"sole-argument">;
843
+ stdout: z.ZodLiteral<"text">;
844
+ exitCode: z.ZodLiteral<0>;
845
+ }, z.core.$strict>;
846
+ help: z.ZodObject<{
847
+ spellings: z.ZodArray<z.ZodString>;
848
+ stdout: z.ZodLiteral<"text">;
849
+ exitCode: z.ZodLiteral<0>;
850
+ precedence: z.ZodLiteral<"root-first-token-otherwise-router-prefix-before-help">;
851
+ scansRouterOptionsFirst: z.ZodLiteral<true>;
852
+ }, z.core.$strict>;
853
+ }, z.core.$strict>;
854
+ commands: z.ZodArray<z.ZodObject<{
855
+ path: z.ZodArray<z.ZodString>;
856
+ summary: z.ZodString;
857
+ input: z.ZodObject<{
858
+ options: z.ZodRecord<z.ZodString, z.ZodObject<{
859
+ type: z.ZodEnum<{
860
+ string: "string";
861
+ boolean: "boolean";
862
+ }>;
863
+ short: z.ZodOptional<z.ZodString>;
864
+ multiple: z.ZodOptional<z.ZodBoolean>;
865
+ default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodBoolean>]>>;
866
+ required: z.ZodOptional<z.ZodBoolean>;
867
+ value: z.ZodOptional<z.ZodObject<{
868
+ kind: z.ZodString;
869
+ name: z.ZodOptional<z.ZodString>;
870
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
871
+ caseInsensitive: z.ZodOptional<z.ZodBoolean>;
872
+ pattern: z.ZodOptional<z.ZodString>;
873
+ description: z.ZodOptional<z.ZodString>;
874
+ }, z.core.$strict>>;
875
+ description: z.ZodOptional<z.ZodString>;
876
+ }, z.core.$strict>>;
877
+ forms: z.ZodArray<z.ZodObject<{
878
+ id: z.ZodString;
879
+ positionals: z.ZodArray<z.ZodObject<{
880
+ name: z.ZodString;
881
+ min: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>;
882
+ max: z.ZodNullable<z.ZodLiteral<1>>;
883
+ value: z.ZodObject<{
884
+ kind: z.ZodString;
885
+ name: z.ZodOptional<z.ZodString>;
886
+ choices: z.ZodOptional<z.ZodArray<z.ZodString>>;
887
+ caseInsensitive: z.ZodOptional<z.ZodBoolean>;
888
+ pattern: z.ZodOptional<z.ZodString>;
889
+ description: z.ZodOptional<z.ZodString>;
890
+ }, z.core.$strict>;
891
+ }, z.core.$strict>>;
892
+ }, z.core.$strict>>;
893
+ constraints: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
894
+ kind: z.ZodLiteral<"exclusive">;
895
+ members: z.ZodArray<z.ZodString>;
896
+ }, z.core.$strict>, z.ZodObject<{
897
+ kind: z.ZodLiteral<"requires">;
898
+ input: z.ZodString;
899
+ requires: z.ZodString;
900
+ }, z.core.$strict>, z.ZodObject<{
901
+ kind: z.ZodLiteral<"atLeastOne">;
902
+ members: z.ZodArray<z.ZodString>;
903
+ }, z.core.$strict>], "kind">>;
904
+ notes: z.ZodOptional<z.ZodArray<z.ZodString>>;
905
+ }, z.core.$strict>;
906
+ effects: z.ZodObject<{
907
+ domain: z.ZodEnum<{
908
+ read: "read";
909
+ create: "create";
910
+ update: "update";
911
+ delete: "delete";
912
+ replace: "replace";
913
+ none: "none";
914
+ }>;
915
+ storage: z.ZodEnum<{
916
+ backup: "backup";
917
+ none: "none";
918
+ "normal-open": "normal-open";
919
+ restore: "restore";
920
+ migrate: "migrate";
921
+ reindex: "reindex";
922
+ inspect: "inspect";
923
+ }>;
924
+ }, z.core.$strict>;
925
+ confirmation: z.ZodObject<{
926
+ kind: z.ZodEnum<{
927
+ prompt: "prompt";
928
+ none: "none";
929
+ "project-delete": "project-delete";
930
+ }>;
931
+ description: z.ZodOptional<z.ZodString>;
932
+ }, z.core.$strict>;
933
+ results: z.ZodArray<z.ZodObject<{
934
+ selector: z.ZodDiscriminatedUnion<[z.ZodObject<{
935
+ kind: z.ZodLiteral<"always">;
936
+ }, z.core.$strict>, z.ZodObject<{
937
+ kind: z.ZodLiteral<"booleanOption">;
938
+ name: z.ZodString;
939
+ value: z.ZodBoolean;
940
+ }, z.core.$strict>, z.ZodObject<{
941
+ kind: z.ZodLiteral<"positionalCount">;
942
+ name: z.ZodString;
943
+ min: z.ZodNumber;
944
+ max: z.ZodNullable<z.ZodNumber>;
945
+ }, z.core.$strict>], "kind">;
946
+ schemaRef: z.ZodString;
947
+ mode: z.ZodLiteral<"json">;
948
+ stream: z.ZodLiteral<"stdout">;
949
+ exitCode: z.ZodLiteral<0>;
950
+ }, z.core.$strict>>;
951
+ }, z.core.$strict>>;
952
+ error: z.ZodObject<{
953
+ schemaRef: z.ZodString;
954
+ exitCode: z.ZodLiteral<1>;
955
+ stream: z.ZodLiteral<"stderr">;
956
+ }, z.core.$strict>;
957
+ schemas: z.ZodObject<{
958
+ $schema: z.ZodLiteral<"http://json-schema.org/draft-07/schema#">;
959
+ definitions: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
960
+ }, z.core.$strict>;
961
+ }, z.core.$strict>;
962
+ JsonValue: z.ZodJSONSchema;
963
+ };
964
+ export type ResultSchemaName = keyof typeof resultSchemas;
965
+ export type PresentedTask = z.infer<typeof taskSchema>;
966
+ export type PresentedTaskDetail = z.infer<typeof taskDetailSchema>;
967
+ export type PresentedTaskDetailHistory = z.infer<typeof taskDetailHistorySchema>;
968
+ export type PresentedTaskChange = z.infer<typeof taskChangeSchema>;
969
+ export type PresentedRelation = z.infer<typeof relationSchema>;
970
+ export type PresentedRelationChange = z.infer<typeof relationChangeSchema>;
971
+ export type PresentedComment = z.infer<typeof commentSchema>;
972
+ export type PresentedProject = z.infer<typeof projectSchema>;
973
+ export type PresentedProjectView = z.infer<typeof projectViewSchema>;
974
+ export type PresentedColumn = z.infer<typeof columnSchema>;
975
+ export type PresentedColumnTaskCount = z.infer<typeof columnTaskCountSchema>;
976
+ export type PresentedLabel = z.infer<typeof labelSchema>;
977
+ export type PresentedActivity = z.infer<typeof activitySchema>;
978
+ export type PresentedInfo = z.infer<typeof infoSchema>;
979
+ export type PresentedBackup = z.infer<typeof backupSchema>;
980
+ export type PresentedRestore = z.infer<typeof restoreSchema>;
981
+ export type PresentedMigrate = z.infer<typeof migrateSchema>;
982
+ export type PresentedReindex = z.infer<typeof reindexSchema>;
983
+ /** Generates local references against the extracted schemas document in draft-07 spec */
984
+ export declare function generateResultSchemas(schemas?: Record<string, z.ZodType>): {
985
+ $schema: string;
986
+ definitions: Record<string, z.core.JSONSchema.JSONSchema>;
987
+ };