storybooker 0.19.3 → 0.22.0-canary.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 (215) hide show
  1. package/README.md +40 -18
  2. package/dist/adapters/_internal/queue.d.mts +127 -0
  3. package/dist/aws-dynamodb.d.mts +22 -0
  4. package/dist/aws-dynamodb.mjs +118 -0
  5. package/dist/aws-dynamodb.mjs.map +1 -0
  6. package/dist/aws-s3.d.mts +20 -0
  7. package/dist/aws-s3.mjs +96 -0
  8. package/dist/aws-s3.mjs.map +1 -0
  9. package/dist/azure-blob-storage.d.mts +20 -0
  10. package/dist/azure-blob-storage.mjs +126 -0
  11. package/dist/azure-blob-storage.mjs.map +1 -0
  12. package/dist/azure-cosmos-db.d.mts +23 -0
  13. package/dist/azure-cosmos-db.mjs +87 -0
  14. package/dist/azure-cosmos-db.mjs.map +1 -0
  15. package/dist/azure-data-tables.d.mts +23 -0
  16. package/dist/azure-data-tables.mjs +127 -0
  17. package/dist/azure-data-tables.mjs.map +1 -0
  18. package/dist/azure-easy-auth.d.mts +50 -0
  19. package/dist/azure-easy-auth.mjs +88 -0
  20. package/dist/azure-easy-auth.mjs.map +1 -0
  21. package/dist/azure-functions.d.mts +62 -0
  22. package/dist/azure-functions.mjs +147 -0
  23. package/dist/azure-functions.mjs.map +1 -0
  24. package/dist/fs.d.mts +37 -0
  25. package/dist/fs.mjs +240 -0
  26. package/dist/fs.mjs.map +1 -0
  27. package/dist/gcp-big-table.d.mts +23 -0
  28. package/dist/gcp-big-table.mjs +92 -0
  29. package/dist/gcp-big-table.mjs.map +1 -0
  30. package/dist/gcp-firestore.d.mts +22 -0
  31. package/dist/gcp-firestore.mjs +87 -0
  32. package/dist/gcp-firestore.mjs.map +1 -0
  33. package/dist/gcp-storage.d.mts +20 -0
  34. package/dist/gcp-storage.mjs +96 -0
  35. package/dist/gcp-storage.mjs.map +1 -0
  36. package/dist/handlers/handle-process-zip.mjs +90 -0
  37. package/dist/handlers/handle-process-zip.mjs.map +1 -0
  38. package/dist/handlers/handle-purge.d.mts +12 -0
  39. package/dist/handlers/handle-purge.mjs +36 -0
  40. package/dist/handlers/handle-purge.mjs.map +1 -0
  41. package/dist/handlers/handle-serve-storybook.mjs +94 -0
  42. package/dist/handlers/handle-serve-storybook.mjs.map +1 -0
  43. package/dist/index.d.mts +28 -0
  44. package/dist/index.mjs +62 -0
  45. package/dist/index.mjs.map +1 -0
  46. package/dist/models/builds-model.mjs +248 -0
  47. package/dist/models/builds-model.mjs.map +1 -0
  48. package/dist/models/builds-schema.d.mts +171 -0
  49. package/dist/models/builds-schema.mjs +67 -0
  50. package/dist/models/builds-schema.mjs.map +1 -0
  51. package/dist/models/projects-model.mjs +122 -0
  52. package/dist/models/projects-model.mjs.map +1 -0
  53. package/dist/models/projects-schema.d.mts +70 -0
  54. package/dist/models/projects-schema.mjs +37 -0
  55. package/dist/models/projects-schema.mjs.map +1 -0
  56. package/dist/models/tags-model.mjs +110 -0
  57. package/dist/models/tags-model.mjs.map +1 -0
  58. package/dist/models/tags-schema.d.mts +76 -0
  59. package/dist/models/tags-schema.mjs +34 -0
  60. package/dist/models/tags-schema.mjs.map +1 -0
  61. package/dist/models/~model.mjs +43 -0
  62. package/dist/models/~model.mjs.map +1 -0
  63. package/dist/models/~shared-schema.d.mts +1 -0
  64. package/dist/models/~shared-schema.mjs +20 -0
  65. package/dist/models/~shared-schema.mjs.map +1 -0
  66. package/dist/mysql.d.mts +39 -0
  67. package/dist/mysql.mjs +151 -0
  68. package/dist/mysql.mjs.map +1 -0
  69. package/dist/redis.d.mts +33 -0
  70. package/dist/redis.mjs +118 -0
  71. package/dist/redis.mjs.map +1 -0
  72. package/dist/routers/account-router.mjs +91 -0
  73. package/dist/routers/account-router.mjs.map +1 -0
  74. package/dist/routers/builds-router.mjs +347 -0
  75. package/dist/routers/builds-router.mjs.map +1 -0
  76. package/dist/routers/projects-router.mjs +236 -0
  77. package/dist/routers/projects-router.mjs.map +1 -0
  78. package/dist/routers/root-router.mjs +108 -0
  79. package/dist/routers/root-router.mjs.map +1 -0
  80. package/dist/routers/tags-router.mjs +269 -0
  81. package/dist/routers/tags-router.mjs.map +1 -0
  82. package/dist/routers/tasks-router.mjs +71 -0
  83. package/dist/routers/tasks-router.mjs.map +1 -0
  84. package/dist/urls.d.mts +47 -0
  85. package/dist/urls.mjs +208 -0
  86. package/dist/urls.mjs.map +1 -0
  87. package/dist/utils/adapter-utils.d.mts +14 -0
  88. package/dist/utils/adapter-utils.mjs +14 -0
  89. package/dist/utils/adapter-utils.mjs.map +1 -0
  90. package/dist/utils/auth.mjs +25 -0
  91. package/dist/utils/auth.mjs.map +1 -0
  92. package/dist/utils/error.d.mts +21 -0
  93. package/dist/utils/error.mjs +109 -0
  94. package/dist/utils/error.mjs.map +1 -0
  95. package/dist/utils/file-utils.mjs +16 -0
  96. package/dist/utils/file-utils.mjs.map +1 -0
  97. package/dist/utils/openapi-utils.mjs +45 -0
  98. package/dist/utils/openapi-utils.mjs.map +1 -0
  99. package/dist/utils/request.mjs +35 -0
  100. package/dist/utils/request.mjs.map +1 -0
  101. package/dist/utils/response.mjs +24 -0
  102. package/dist/utils/response.mjs.map +1 -0
  103. package/dist/utils/store.mjs +54 -0
  104. package/dist/utils/store.mjs.map +1 -0
  105. package/dist/utils/ui-utils.mjs +38 -0
  106. package/dist/utils/ui-utils.mjs.map +1 -0
  107. package/dist/utils/url-utils.d.mts +10 -0
  108. package/dist/utils/url-utils.mjs +54 -0
  109. package/dist/utils/url-utils.mjs.map +1 -0
  110. package/dist/~internal/adapter/auth.d.mts +123 -0
  111. package/dist/~internal/adapter/auth.mjs +20 -0
  112. package/dist/~internal/adapter/auth.mjs.map +1 -0
  113. package/dist/~internal/adapter/database.d.mts +240 -0
  114. package/dist/~internal/adapter/database.mjs +63 -0
  115. package/dist/~internal/adapter/database.mjs.map +1 -0
  116. package/dist/~internal/adapter/logger.d.mts +34 -0
  117. package/dist/~internal/adapter/logger.mjs +13 -0
  118. package/dist/~internal/adapter/logger.mjs.map +1 -0
  119. package/dist/~internal/adapter/storage.d.mts +208 -0
  120. package/dist/~internal/adapter/storage.mjs +63 -0
  121. package/dist/~internal/adapter/storage.mjs.map +1 -0
  122. package/dist/~internal/adapter/ui.d.mts +109 -0
  123. package/dist/~internal/adapter/ui.mjs +1 -0
  124. package/dist/~internal/adapter.d.mts +8 -0
  125. package/dist/~internal/adapter.mjs +6 -0
  126. package/dist/~internal/constants.d.mts +24 -0
  127. package/dist/~internal/constants.mjs +32 -0
  128. package/dist/~internal/constants.mjs.map +1 -0
  129. package/dist/~internal/mimes.d.mts +449 -0
  130. package/dist/~internal/mimes.mjs +454 -0
  131. package/dist/~internal/mimes.mjs.map +1 -0
  132. package/dist/~internal/router.d.mts +1651 -0
  133. package/dist/~internal/router.mjs +39 -0
  134. package/dist/~internal/router.mjs.map +1 -0
  135. package/dist/~internal/types.d.mts +77 -0
  136. package/dist/~internal/types.mjs +1 -0
  137. package/dist/~internal/utils.d.mts +4 -0
  138. package/dist/~internal/utils.mjs +5 -0
  139. package/openapi.json +3162 -0
  140. package/package.json +148 -27
  141. package/src/adapters/_internal/auth.ts +135 -0
  142. package/src/adapters/_internal/database.ts +241 -0
  143. package/src/adapters/_internal/index.ts +8 -0
  144. package/src/adapters/_internal/logger.ts +41 -0
  145. package/src/adapters/_internal/queue.ts +151 -0
  146. package/src/adapters/_internal/storage.ts +197 -0
  147. package/src/adapters/_internal/ui.ts +103 -0
  148. package/src/adapters/aws-dynamodb.ts +201 -0
  149. package/src/adapters/aws-s3.ts +160 -0
  150. package/src/adapters/azure-blob-storage.ts +223 -0
  151. package/src/adapters/azure-cosmos-db.ts +158 -0
  152. package/src/adapters/azure-data-tables.ts +223 -0
  153. package/src/adapters/azure-easy-auth.ts +174 -0
  154. package/src/adapters/azure-functions.ts +242 -0
  155. package/src/adapters/fs.ts +398 -0
  156. package/src/adapters/gcp-big-table.ts +157 -0
  157. package/src/adapters/gcp-firestore.ts +146 -0
  158. package/src/adapters/gcp-storage.ts +141 -0
  159. package/src/adapters/mysql.ts +296 -0
  160. package/src/adapters/redis.ts +242 -0
  161. package/src/handlers/handle-process-zip.ts +117 -0
  162. package/src/handlers/handle-purge.ts +65 -0
  163. package/src/handlers/handle-serve-storybook.ts +101 -0
  164. package/src/index.ts +81 -16
  165. package/src/mocks/mock-auth-service.ts +51 -0
  166. package/src/mocks/mock-store.ts +26 -0
  167. package/src/models/builds-model.ts +373 -0
  168. package/src/models/builds-schema.ts +84 -0
  169. package/src/models/projects-model.ts +177 -0
  170. package/src/models/projects-schema.ts +69 -0
  171. package/src/models/tags-model.ts +138 -0
  172. package/src/models/tags-schema.ts +45 -0
  173. package/src/models/~model.ts +79 -0
  174. package/src/models/~shared-schema.ts +14 -0
  175. package/src/routers/_app-router.ts +57 -0
  176. package/src/routers/account-router.ts +136 -0
  177. package/src/routers/builds-router.ts +464 -0
  178. package/src/routers/projects-router.ts +309 -0
  179. package/src/routers/root-router.ts +127 -0
  180. package/src/routers/tags-router.ts +339 -0
  181. package/src/routers/tasks-router.ts +75 -0
  182. package/src/types.ts +107 -0
  183. package/src/urls.ts +327 -0
  184. package/src/utils/adapter-utils.ts +26 -0
  185. package/src/utils/auth.test.ts +71 -0
  186. package/src/utils/auth.ts +39 -0
  187. package/src/utils/constants.ts +31 -0
  188. package/src/utils/date-utils.ts +10 -0
  189. package/src/utils/error.test.ts +86 -0
  190. package/src/utils/error.ts +140 -0
  191. package/src/utils/file-utils.test.ts +65 -0
  192. package/src/utils/file-utils.ts +43 -0
  193. package/src/utils/index.ts +3 -0
  194. package/src/utils/mime-utils.ts +457 -0
  195. package/src/utils/openapi-utils.ts +49 -0
  196. package/src/utils/request.ts +97 -0
  197. package/src/utils/response.ts +20 -0
  198. package/src/utils/store.ts +85 -0
  199. package/src/utils/story-utils.ts +42 -0
  200. package/src/utils/text-utils.ts +10 -0
  201. package/src/utils/ui-utils.ts +57 -0
  202. package/src/utils/url-utils.ts +113 -0
  203. package/dist/index.js +0 -554
  204. package/src/commands/create.ts +0 -263
  205. package/src/commands/purge.ts +0 -70
  206. package/src/commands/test.ts +0 -42
  207. package/src/service-schema.d.ts +0 -2023
  208. package/src/utils/auth-utils.ts +0 -31
  209. package/src/utils/pkg-utils.ts +0 -37
  210. package/src/utils/sb-build.ts +0 -55
  211. package/src/utils/sb-test.ts +0 -115
  212. package/src/utils/schema-utils.ts +0 -123
  213. package/src/utils/stream-utils.ts +0 -72
  214. package/src/utils/types.ts +0 -4
  215. package/src/utils/zip.ts +0 -77
@@ -0,0 +1,1651 @@
1
+ import { Context, Env } from "hono";
2
+ import { OpenAPIObjectConfigure } from "@hono/zod-openapi";
3
+ import * as hono_utils_http_status0 from "hono/utils/http-status";
4
+ import * as hono_types0 from "hono/types";
5
+ import * as hono_utils_types0 from "hono/utils/types";
6
+ import * as hono_hono_base0 from "hono/hono-base";
7
+
8
+ //#region src/routers/_app-router.d.ts
9
+ type OpenAPIObjectConfig<Configure extends OpenAPIObjectConfigure<Env, "">> = Configure extends ((context: Context) => infer Config) ? Config : Configure;
10
+ /**
11
+ * @private
12
+ */
13
+ declare const openapiConfig: OpenAPIObjectConfig<OpenAPIObjectConfigure<Env, "">>;
14
+ /**
15
+ * @private
16
+ */
17
+ type AppRouter = typeof appRouter;
18
+ /**
19
+ * @private
20
+ */
21
+ declare const appRouter: hono_hono_base0.HonoBase<Env, (hono_types0.MergeSchemaPath<{
22
+ "/purge": {
23
+ $post: {
24
+ input: {
25
+ query: {
26
+ [x: string]: unknown;
27
+ projectId?: string | undefined;
28
+ };
29
+ };
30
+ output: {};
31
+ outputFormat: string;
32
+ status: 204;
33
+ };
34
+ };
35
+ } & {
36
+ "/process-zip": {
37
+ $post: {
38
+ input: {
39
+ query: {
40
+ [x: string]: unknown;
41
+ projectId: string;
42
+ buildId: string;
43
+ variant: "coverage" | "screenshots" | "storybook" | "testReport";
44
+ };
45
+ };
46
+ output: {};
47
+ outputFormat: string;
48
+ status: 204;
49
+ };
50
+ };
51
+ }, "/tasks"> | hono_types0.MergeSchemaPath<{
52
+ "/": {
53
+ $get: {
54
+ input: {};
55
+ output: Response;
56
+ outputFormat: "json";
57
+ status: hono_utils_http_status0.StatusCode;
58
+ };
59
+ };
60
+ } & {
61
+ "/login": {
62
+ $get: {
63
+ input: {
64
+ query: {
65
+ [x: string]: unknown;
66
+ redirect?: string | undefined;
67
+ };
68
+ };
69
+ output: {};
70
+ outputFormat: string;
71
+ status: 302;
72
+ };
73
+ };
74
+ } & {
75
+ "/logout": {
76
+ $get: {
77
+ input: {};
78
+ output: {};
79
+ outputFormat: string;
80
+ status: 302;
81
+ };
82
+ };
83
+ }, "/account"> | hono_types0.MergeSchemaPath<{
84
+ "/": {
85
+ $get: {
86
+ input: {};
87
+ output: string | {
88
+ name: string;
89
+ adapters: {
90
+ [x: string]: {
91
+ name: string;
92
+ };
93
+ };
94
+ config: {
95
+ [x: string]: hono_utils_types0.JSONValue;
96
+ };
97
+ urls: {
98
+ [x: string]: string;
99
+ };
100
+ };
101
+ outputFormat: "json";
102
+ status: 200;
103
+ } | {
104
+ input: {};
105
+ output: Response;
106
+ outputFormat: "json";
107
+ status: hono_utils_http_status0.StatusCode;
108
+ };
109
+ };
110
+ } & {
111
+ "/health": {
112
+ $get: {
113
+ input: {};
114
+ output: {};
115
+ outputFormat: string;
116
+ status: 200;
117
+ };
118
+ };
119
+ } & {
120
+ "_/:projectId/:buildId/:filepath{.+}": {
121
+ $get: {
122
+ input: {
123
+ param: {
124
+ projectId: string;
125
+ buildId: string;
126
+ filepath: string;
127
+ };
128
+ } & {
129
+ query: {
130
+ id?: string | undefined;
131
+ path?: string | undefined;
132
+ viewMode?: "story" | undefined;
133
+ };
134
+ };
135
+ output: Response;
136
+ outputFormat: "json";
137
+ status: hono_utils_http_status0.StatusCode;
138
+ };
139
+ };
140
+ }, "/"> | hono_types0.MergeSchemaPath<{
141
+ "/projects": {
142
+ $get: {
143
+ input: {};
144
+ output: string | {
145
+ projects: {
146
+ createdAt: string;
147
+ gitHubDefaultBranch: string;
148
+ gitHubPath?: string | undefined;
149
+ gitHubRepository: string;
150
+ id: string;
151
+ jiraDomain?: string | undefined;
152
+ latestBuildId?: string | undefined;
153
+ name: string;
154
+ purgeBuildsAfterDays: number;
155
+ updatedAt: string;
156
+ }[];
157
+ };
158
+ outputFormat: "json";
159
+ status: 200;
160
+ } | {
161
+ input: {};
162
+ output: Response;
163
+ outputFormat: "json";
164
+ status: hono_utils_http_status0.StatusCode;
165
+ };
166
+ };
167
+ } & {
168
+ "/projects/create": {
169
+ $get: {
170
+ input: {};
171
+ output: Response;
172
+ outputFormat: "json";
173
+ status: hono_utils_http_status0.StatusCode;
174
+ };
175
+ };
176
+ } & {
177
+ "/projects/create": {
178
+ $post: {
179
+ input: {
180
+ form: {
181
+ gitHubDefaultBranch?: string | undefined;
182
+ gitHubPath?: string | undefined;
183
+ gitHubRepository: string;
184
+ id: string;
185
+ jiraDomain?: string | undefined;
186
+ name: string;
187
+ purgeBuildsAfterDays?: unknown;
188
+ };
189
+ };
190
+ output: {};
191
+ outputFormat: string;
192
+ status: 303;
193
+ } | {
194
+ input: {
195
+ form: {
196
+ gitHubDefaultBranch?: string | undefined;
197
+ gitHubPath?: string | undefined;
198
+ gitHubRepository: string;
199
+ id: string;
200
+ jiraDomain?: string | undefined;
201
+ name: string;
202
+ purgeBuildsAfterDays?: unknown;
203
+ };
204
+ };
205
+ output: never;
206
+ outputFormat: "json";
207
+ status: 409;
208
+ } | {
209
+ input: {
210
+ form: {
211
+ gitHubDefaultBranch?: string | undefined;
212
+ gitHubPath?: string | undefined;
213
+ gitHubRepository: string;
214
+ id: string;
215
+ jiraDomain?: string | undefined;
216
+ name: string;
217
+ purgeBuildsAfterDays?: unknown;
218
+ };
219
+ };
220
+ output: never;
221
+ outputFormat: "json";
222
+ status: 415;
223
+ } | {
224
+ input: {
225
+ form: {
226
+ gitHubDefaultBranch?: string | undefined;
227
+ gitHubPath?: string | undefined;
228
+ gitHubRepository: string;
229
+ id: string;
230
+ jiraDomain?: string | undefined;
231
+ name: string;
232
+ purgeBuildsAfterDays?: unknown;
233
+ };
234
+ };
235
+ output: {
236
+ project: {
237
+ createdAt: string;
238
+ gitHubDefaultBranch: string;
239
+ gitHubPath?: string | undefined;
240
+ gitHubRepository: string;
241
+ id: string;
242
+ jiraDomain?: string | undefined;
243
+ latestBuildId?: string | undefined;
244
+ name: string;
245
+ purgeBuildsAfterDays: number;
246
+ updatedAt: string;
247
+ };
248
+ };
249
+ outputFormat: "json";
250
+ status: 201;
251
+ } | {
252
+ input: {
253
+ form: {
254
+ gitHubDefaultBranch?: string | undefined;
255
+ gitHubPath?: string | undefined;
256
+ gitHubRepository: string;
257
+ id: string;
258
+ jiraDomain?: string | undefined;
259
+ name: string;
260
+ purgeBuildsAfterDays?: unknown;
261
+ };
262
+ };
263
+ output: never;
264
+ outputFormat: "text";
265
+ status: 409;
266
+ } | {
267
+ input: {
268
+ form: {
269
+ gitHubDefaultBranch?: string | undefined;
270
+ gitHubPath?: string | undefined;
271
+ gitHubRepository: string;
272
+ id: string;
273
+ jiraDomain?: string | undefined;
274
+ name: string;
275
+ purgeBuildsAfterDays?: unknown;
276
+ };
277
+ };
278
+ output: never;
279
+ outputFormat: "text";
280
+ status: 415;
281
+ } | {
282
+ input: {
283
+ form: {
284
+ gitHubDefaultBranch?: string | undefined;
285
+ gitHubPath?: string | undefined;
286
+ gitHubRepository: string;
287
+ id: string;
288
+ jiraDomain?: string | undefined;
289
+ name: string;
290
+ purgeBuildsAfterDays?: unknown;
291
+ };
292
+ };
293
+ output: Response;
294
+ outputFormat: "json";
295
+ status: hono_utils_http_status0.StatusCode;
296
+ };
297
+ };
298
+ } & {
299
+ "/projects/:projectId": {
300
+ $get: {
301
+ input: {
302
+ param: {
303
+ projectId: string;
304
+ };
305
+ };
306
+ output: never;
307
+ outputFormat: "json";
308
+ status: 404;
309
+ } | {
310
+ input: {
311
+ param: {
312
+ projectId: string;
313
+ };
314
+ };
315
+ output: string | {
316
+ project: {
317
+ createdAt: string;
318
+ gitHubDefaultBranch: string;
319
+ gitHubPath?: string | undefined;
320
+ gitHubRepository: string;
321
+ id: string;
322
+ jiraDomain?: string | undefined;
323
+ latestBuildId?: string | undefined;
324
+ name: string;
325
+ purgeBuildsAfterDays: number;
326
+ updatedAt: string;
327
+ };
328
+ };
329
+ outputFormat: "json";
330
+ status: 200;
331
+ } | {
332
+ input: {
333
+ param: {
334
+ projectId: string;
335
+ };
336
+ };
337
+ output: never;
338
+ outputFormat: "text";
339
+ status: 404;
340
+ } | {
341
+ input: {
342
+ param: {
343
+ projectId: string;
344
+ };
345
+ };
346
+ output: Response;
347
+ outputFormat: "json";
348
+ status: hono_utils_http_status0.StatusCode;
349
+ };
350
+ };
351
+ } & {
352
+ "/projects/:projectId/delete": {
353
+ $post: {
354
+ input: {
355
+ param: {
356
+ projectId: string;
357
+ };
358
+ };
359
+ output: {};
360
+ outputFormat: string;
361
+ status: 204;
362
+ } | {
363
+ input: {
364
+ param: {
365
+ projectId: string;
366
+ };
367
+ };
368
+ output: {};
369
+ outputFormat: string;
370
+ status: 303;
371
+ } | {
372
+ input: {
373
+ param: {
374
+ projectId: string;
375
+ };
376
+ };
377
+ output: never;
378
+ outputFormat: "json";
379
+ status: 404;
380
+ } | {
381
+ input: {
382
+ param: {
383
+ projectId: string;
384
+ };
385
+ };
386
+ output: never;
387
+ outputFormat: "text";
388
+ status: 404;
389
+ } | {
390
+ input: {
391
+ param: {
392
+ projectId: string;
393
+ };
394
+ };
395
+ output: Response;
396
+ outputFormat: "json";
397
+ status: hono_utils_http_status0.StatusCode;
398
+ };
399
+ };
400
+ } & {
401
+ "/projects/:projectId/update": {
402
+ $get: {
403
+ input: {
404
+ param: {
405
+ projectId: string;
406
+ };
407
+ };
408
+ output: never;
409
+ outputFormat: "json";
410
+ status: 404;
411
+ } | {
412
+ input: {
413
+ param: {
414
+ projectId: string;
415
+ };
416
+ };
417
+ output: never;
418
+ outputFormat: "text";
419
+ status: 404;
420
+ } | {
421
+ input: {
422
+ param: {
423
+ projectId: string;
424
+ };
425
+ };
426
+ output: Response;
427
+ outputFormat: "json";
428
+ status: hono_utils_http_status0.StatusCode;
429
+ };
430
+ };
431
+ } & {
432
+ "/projects/:projectId/update": {
433
+ $post: {
434
+ input: {
435
+ param: {
436
+ projectId: string;
437
+ };
438
+ } & {
439
+ form: {
440
+ gitHubPath?: string | undefined;
441
+ gitHubRepository?: string | undefined;
442
+ jiraDomain?: string | undefined;
443
+ latestBuildId?: string | undefined;
444
+ name?: string | undefined;
445
+ purgeBuildsAfterDays?: unknown;
446
+ gitHubDefaultBranch?: string | undefined;
447
+ };
448
+ };
449
+ output: {};
450
+ outputFormat: string;
451
+ status: 202;
452
+ } | {
453
+ input: {
454
+ param: {
455
+ projectId: string;
456
+ };
457
+ } & {
458
+ form: {
459
+ gitHubPath?: string | undefined;
460
+ gitHubRepository?: string | undefined;
461
+ jiraDomain?: string | undefined;
462
+ latestBuildId?: string | undefined;
463
+ name?: string | undefined;
464
+ purgeBuildsAfterDays?: unknown;
465
+ gitHubDefaultBranch?: string | undefined;
466
+ };
467
+ };
468
+ output: {};
469
+ outputFormat: string;
470
+ status: 303;
471
+ } | {
472
+ input: {
473
+ param: {
474
+ projectId: string;
475
+ };
476
+ } & {
477
+ form: {
478
+ gitHubPath?: string | undefined;
479
+ gitHubRepository?: string | undefined;
480
+ jiraDomain?: string | undefined;
481
+ latestBuildId?: string | undefined;
482
+ name?: string | undefined;
483
+ purgeBuildsAfterDays?: unknown;
484
+ gitHubDefaultBranch?: string | undefined;
485
+ };
486
+ };
487
+ output: never;
488
+ outputFormat: "json";
489
+ status: 404;
490
+ } | {
491
+ input: {
492
+ param: {
493
+ projectId: string;
494
+ };
495
+ } & {
496
+ form: {
497
+ gitHubPath?: string | undefined;
498
+ gitHubRepository?: string | undefined;
499
+ jiraDomain?: string | undefined;
500
+ latestBuildId?: string | undefined;
501
+ name?: string | undefined;
502
+ purgeBuildsAfterDays?: unknown;
503
+ gitHubDefaultBranch?: string | undefined;
504
+ };
505
+ };
506
+ output: never;
507
+ outputFormat: "json";
508
+ status: 415;
509
+ } | {
510
+ input: {
511
+ param: {
512
+ projectId: string;
513
+ };
514
+ } & {
515
+ form: {
516
+ gitHubPath?: string | undefined;
517
+ gitHubRepository?: string | undefined;
518
+ jiraDomain?: string | undefined;
519
+ latestBuildId?: string | undefined;
520
+ name?: string | undefined;
521
+ purgeBuildsAfterDays?: unknown;
522
+ gitHubDefaultBranch?: string | undefined;
523
+ };
524
+ };
525
+ output: never;
526
+ outputFormat: "text";
527
+ status: 404;
528
+ } | {
529
+ input: {
530
+ param: {
531
+ projectId: string;
532
+ };
533
+ } & {
534
+ form: {
535
+ gitHubPath?: string | undefined;
536
+ gitHubRepository?: string | undefined;
537
+ jiraDomain?: string | undefined;
538
+ latestBuildId?: string | undefined;
539
+ name?: string | undefined;
540
+ purgeBuildsAfterDays?: unknown;
541
+ gitHubDefaultBranch?: string | undefined;
542
+ };
543
+ };
544
+ output: never;
545
+ outputFormat: "text";
546
+ status: 415;
547
+ } | {
548
+ input: {
549
+ param: {
550
+ projectId: string;
551
+ };
552
+ } & {
553
+ form: {
554
+ gitHubPath?: string | undefined;
555
+ gitHubRepository?: string | undefined;
556
+ jiraDomain?: string | undefined;
557
+ latestBuildId?: string | undefined;
558
+ name?: string | undefined;
559
+ purgeBuildsAfterDays?: unknown;
560
+ gitHubDefaultBranch?: string | undefined;
561
+ };
562
+ };
563
+ output: Response;
564
+ outputFormat: "json";
565
+ status: hono_utils_http_status0.StatusCode;
566
+ };
567
+ };
568
+ }, "/"> | hono_types0.MergeSchemaPath<{
569
+ "/projects/:projectId/tags": {
570
+ $get: {
571
+ input: {
572
+ param: {
573
+ projectId: string;
574
+ };
575
+ } & {
576
+ query: {
577
+ type?: "" | "branch" | "jira" | "pr" | undefined;
578
+ };
579
+ };
580
+ output: string | {
581
+ tags: {
582
+ buildsCount: number;
583
+ createdAt: string;
584
+ id: string;
585
+ latestBuildId?: string | undefined;
586
+ type: "branch" | "jira" | "pr";
587
+ updatedAt: string;
588
+ value: string;
589
+ }[];
590
+ };
591
+ outputFormat: "json";
592
+ status: 200;
593
+ } | {
594
+ input: {
595
+ param: {
596
+ projectId: string;
597
+ };
598
+ } & {
599
+ query: {
600
+ type?: "" | "branch" | "jira" | "pr" | undefined;
601
+ };
602
+ };
603
+ output: Response;
604
+ outputFormat: "json";
605
+ status: hono_utils_http_status0.StatusCode;
606
+ };
607
+ };
608
+ } & {
609
+ "/projects/:projectId/tags/create": {
610
+ $get: {
611
+ input: {
612
+ param: {
613
+ projectId: string;
614
+ };
615
+ };
616
+ output: Response;
617
+ outputFormat: "json";
618
+ status: hono_utils_http_status0.StatusCode;
619
+ };
620
+ };
621
+ } & {
622
+ "/projects/:projectId/tags/create": {
623
+ $post: {
624
+ input: {
625
+ param: {
626
+ projectId: string;
627
+ };
628
+ } & {
629
+ form: {
630
+ latestBuildId?: string | undefined;
631
+ type: "branch" | "jira" | "pr";
632
+ value: string;
633
+ };
634
+ };
635
+ output: {};
636
+ outputFormat: string;
637
+ status: 303;
638
+ } | {
639
+ input: {
640
+ param: {
641
+ projectId: string;
642
+ };
643
+ } & {
644
+ form: {
645
+ latestBuildId?: string | undefined;
646
+ type: "branch" | "jira" | "pr";
647
+ value: string;
648
+ };
649
+ };
650
+ output: never;
651
+ outputFormat: "json";
652
+ status: 409;
653
+ } | {
654
+ input: {
655
+ param: {
656
+ projectId: string;
657
+ };
658
+ } & {
659
+ form: {
660
+ latestBuildId?: string | undefined;
661
+ type: "branch" | "jira" | "pr";
662
+ value: string;
663
+ };
664
+ };
665
+ output: never;
666
+ outputFormat: "json";
667
+ status: 415;
668
+ } | {
669
+ input: {
670
+ param: {
671
+ projectId: string;
672
+ };
673
+ } & {
674
+ form: {
675
+ latestBuildId?: string | undefined;
676
+ type: "branch" | "jira" | "pr";
677
+ value: string;
678
+ };
679
+ };
680
+ output: {
681
+ tag: {
682
+ buildsCount: number;
683
+ createdAt: string;
684
+ id: string;
685
+ latestBuildId?: string | undefined;
686
+ type: "branch" | "jira" | "pr";
687
+ updatedAt: string;
688
+ value: string;
689
+ };
690
+ };
691
+ outputFormat: "json";
692
+ status: 201;
693
+ } | {
694
+ input: {
695
+ param: {
696
+ projectId: string;
697
+ };
698
+ } & {
699
+ form: {
700
+ latestBuildId?: string | undefined;
701
+ type: "branch" | "jira" | "pr";
702
+ value: string;
703
+ };
704
+ };
705
+ output: never;
706
+ outputFormat: "text";
707
+ status: 409;
708
+ } | {
709
+ input: {
710
+ param: {
711
+ projectId: string;
712
+ };
713
+ } & {
714
+ form: {
715
+ latestBuildId?: string | undefined;
716
+ type: "branch" | "jira" | "pr";
717
+ value: string;
718
+ };
719
+ };
720
+ output: never;
721
+ outputFormat: "text";
722
+ status: 415;
723
+ } | {
724
+ input: {
725
+ param: {
726
+ projectId: string;
727
+ };
728
+ } & {
729
+ form: {
730
+ latestBuildId?: string | undefined;
731
+ type: "branch" | "jira" | "pr";
732
+ value: string;
733
+ };
734
+ };
735
+ output: Response;
736
+ outputFormat: "json";
737
+ status: hono_utils_http_status0.StatusCode;
738
+ };
739
+ };
740
+ } & {
741
+ "/projects/:projectId/tags/:tagId": {
742
+ $get: {
743
+ input: {
744
+ param: {
745
+ projectId: string;
746
+ tagId: string;
747
+ };
748
+ };
749
+ output: never;
750
+ outputFormat: "json";
751
+ status: 404;
752
+ } | {
753
+ input: {
754
+ param: {
755
+ projectId: string;
756
+ tagId: string;
757
+ };
758
+ };
759
+ output: string | {
760
+ tag: {
761
+ buildsCount: number;
762
+ createdAt: string;
763
+ id: string;
764
+ latestBuildId?: string | undefined;
765
+ type: "branch" | "jira" | "pr";
766
+ updatedAt: string;
767
+ value: string;
768
+ };
769
+ };
770
+ outputFormat: "json";
771
+ status: 200;
772
+ } | {
773
+ input: {
774
+ param: {
775
+ projectId: string;
776
+ tagId: string;
777
+ };
778
+ };
779
+ output: never;
780
+ outputFormat: "text";
781
+ status: 404;
782
+ } | {
783
+ input: {
784
+ param: {
785
+ projectId: string;
786
+ tagId: string;
787
+ };
788
+ };
789
+ output: Response;
790
+ outputFormat: "json";
791
+ status: hono_utils_http_status0.StatusCode;
792
+ };
793
+ };
794
+ } & {
795
+ "/projects/:projectId/tags/:tagId/delete": {
796
+ $post: {
797
+ input: {
798
+ param: {
799
+ projectId: string;
800
+ tagId: string;
801
+ };
802
+ };
803
+ output: {};
804
+ outputFormat: string;
805
+ status: 204;
806
+ } | {
807
+ input: {
808
+ param: {
809
+ projectId: string;
810
+ tagId: string;
811
+ };
812
+ };
813
+ output: {};
814
+ outputFormat: string;
815
+ status: 303;
816
+ } | {
817
+ input: {
818
+ param: {
819
+ projectId: string;
820
+ tagId: string;
821
+ };
822
+ };
823
+ output: never;
824
+ outputFormat: "json";
825
+ status: 404;
826
+ } | {
827
+ input: {
828
+ param: {
829
+ projectId: string;
830
+ tagId: string;
831
+ };
832
+ };
833
+ output: never;
834
+ outputFormat: "text";
835
+ status: 404;
836
+ } | {
837
+ input: {
838
+ param: {
839
+ projectId: string;
840
+ tagId: string;
841
+ };
842
+ };
843
+ output: Response;
844
+ outputFormat: "json";
845
+ status: hono_utils_http_status0.StatusCode;
846
+ };
847
+ };
848
+ } & {
849
+ "/projects/:projectId/tags/:tagId/update": {
850
+ $get: {
851
+ input: {
852
+ param: {
853
+ projectId: string;
854
+ tagId: string;
855
+ };
856
+ };
857
+ output: never;
858
+ outputFormat: "json";
859
+ status: 404;
860
+ } | {
861
+ input: {
862
+ param: {
863
+ projectId: string;
864
+ tagId: string;
865
+ };
866
+ };
867
+ output: never;
868
+ outputFormat: "text";
869
+ status: 404;
870
+ } | {
871
+ input: {
872
+ param: {
873
+ projectId: string;
874
+ tagId: string;
875
+ };
876
+ };
877
+ output: Response;
878
+ outputFormat: "json";
879
+ status: hono_utils_http_status0.StatusCode;
880
+ };
881
+ };
882
+ } & {
883
+ "/projects/:projectId/tags/:tagId/update": {
884
+ $post: {
885
+ input: {
886
+ param: {
887
+ projectId: string;
888
+ tagId: string;
889
+ };
890
+ } & {
891
+ form: {
892
+ buildsCount?: number | undefined;
893
+ latestBuildId?: string | undefined;
894
+ type?: "branch" | "jira" | "pr" | undefined;
895
+ value?: string | undefined;
896
+ };
897
+ };
898
+ output: {};
899
+ outputFormat: string;
900
+ status: 202;
901
+ } | {
902
+ input: {
903
+ param: {
904
+ projectId: string;
905
+ tagId: string;
906
+ };
907
+ } & {
908
+ form: {
909
+ buildsCount?: number | undefined;
910
+ latestBuildId?: string | undefined;
911
+ type?: "branch" | "jira" | "pr" | undefined;
912
+ value?: string | undefined;
913
+ };
914
+ };
915
+ output: {};
916
+ outputFormat: string;
917
+ status: 303;
918
+ } | {
919
+ input: {
920
+ param: {
921
+ projectId: string;
922
+ tagId: string;
923
+ };
924
+ } & {
925
+ form: {
926
+ buildsCount?: number | undefined;
927
+ latestBuildId?: string | undefined;
928
+ type?: "branch" | "jira" | "pr" | undefined;
929
+ value?: string | undefined;
930
+ };
931
+ };
932
+ output: never;
933
+ outputFormat: "json";
934
+ status: 404;
935
+ } | {
936
+ input: {
937
+ param: {
938
+ projectId: string;
939
+ tagId: string;
940
+ };
941
+ } & {
942
+ form: {
943
+ buildsCount?: number | undefined;
944
+ latestBuildId?: string | undefined;
945
+ type?: "branch" | "jira" | "pr" | undefined;
946
+ value?: string | undefined;
947
+ };
948
+ };
949
+ output: never;
950
+ outputFormat: "json";
951
+ status: 415;
952
+ } | {
953
+ input: {
954
+ param: {
955
+ projectId: string;
956
+ tagId: string;
957
+ };
958
+ } & {
959
+ form: {
960
+ buildsCount?: number | undefined;
961
+ latestBuildId?: string | undefined;
962
+ type?: "branch" | "jira" | "pr" | undefined;
963
+ value?: string | undefined;
964
+ };
965
+ };
966
+ output: never;
967
+ outputFormat: "text";
968
+ status: 404;
969
+ } | {
970
+ input: {
971
+ param: {
972
+ projectId: string;
973
+ tagId: string;
974
+ };
975
+ } & {
976
+ form: {
977
+ buildsCount?: number | undefined;
978
+ latestBuildId?: string | undefined;
979
+ type?: "branch" | "jira" | "pr" | undefined;
980
+ value?: string | undefined;
981
+ };
982
+ };
983
+ output: never;
984
+ outputFormat: "text";
985
+ status: 415;
986
+ } | {
987
+ input: {
988
+ param: {
989
+ projectId: string;
990
+ tagId: string;
991
+ };
992
+ } & {
993
+ form: {
994
+ buildsCount?: number | undefined;
995
+ latestBuildId?: string | undefined;
996
+ type?: "branch" | "jira" | "pr" | undefined;
997
+ value?: string | undefined;
998
+ };
999
+ };
1000
+ output: Response;
1001
+ outputFormat: "json";
1002
+ status: hono_utils_http_status0.StatusCode;
1003
+ };
1004
+ };
1005
+ }, "/"> | hono_types0.MergeSchemaPath<{
1006
+ "/projects/:projectId/builds": {
1007
+ $get: {
1008
+ input: {
1009
+ param: {
1010
+ projectId: string;
1011
+ };
1012
+ };
1013
+ output: string | {
1014
+ builds: {
1015
+ authorEmail: string;
1016
+ authorName: string;
1017
+ createdAt: string;
1018
+ id: string;
1019
+ tagIds?: string | undefined;
1020
+ message?: string | undefined;
1021
+ updatedAt: string;
1022
+ coverage: "none" | "processing" | "ready" | "uploaded";
1023
+ screenshots: "none" | "processing" | "ready" | "uploaded";
1024
+ storybook: "none" | "processing" | "ready" | "uploaded";
1025
+ testReport: "none" | "processing" | "ready" | "uploaded";
1026
+ }[];
1027
+ };
1028
+ outputFormat: "json";
1029
+ status: 200;
1030
+ } | {
1031
+ input: {
1032
+ param: {
1033
+ projectId: string;
1034
+ };
1035
+ };
1036
+ output: Response;
1037
+ outputFormat: "json";
1038
+ status: hono_utils_http_status0.StatusCode;
1039
+ };
1040
+ };
1041
+ } & {
1042
+ "/projects/:projectId/builds/create": {
1043
+ $get: {
1044
+ input: {
1045
+ param: {
1046
+ projectId: string;
1047
+ };
1048
+ } & {
1049
+ query: {
1050
+ tagId?: string | undefined;
1051
+ };
1052
+ };
1053
+ output: Response;
1054
+ outputFormat: "json";
1055
+ status: hono_utils_http_status0.StatusCode;
1056
+ };
1057
+ };
1058
+ } & {
1059
+ "/projects/:projectId/builds/create": {
1060
+ $post: {
1061
+ input: {
1062
+ param: {
1063
+ projectId: string;
1064
+ };
1065
+ } & {
1066
+ form: {
1067
+ authorEmail: string;
1068
+ authorName: string;
1069
+ id: string;
1070
+ message?: string | undefined;
1071
+ tags: string | string[];
1072
+ };
1073
+ };
1074
+ output: {};
1075
+ outputFormat: string;
1076
+ status: 303;
1077
+ } | {
1078
+ input: {
1079
+ param: {
1080
+ projectId: string;
1081
+ };
1082
+ } & {
1083
+ form: {
1084
+ authorEmail: string;
1085
+ authorName: string;
1086
+ id: string;
1087
+ message?: string | undefined;
1088
+ tags: string | string[];
1089
+ };
1090
+ };
1091
+ output: never;
1092
+ outputFormat: "json";
1093
+ status: 409;
1094
+ } | {
1095
+ input: {
1096
+ param: {
1097
+ projectId: string;
1098
+ };
1099
+ } & {
1100
+ form: {
1101
+ authorEmail: string;
1102
+ authorName: string;
1103
+ id: string;
1104
+ message?: string | undefined;
1105
+ tags: string | string[];
1106
+ };
1107
+ };
1108
+ output: never;
1109
+ outputFormat: "json";
1110
+ status: 415;
1111
+ } | {
1112
+ input: {
1113
+ param: {
1114
+ projectId: string;
1115
+ };
1116
+ } & {
1117
+ form: {
1118
+ authorEmail: string;
1119
+ authorName: string;
1120
+ id: string;
1121
+ message?: string | undefined;
1122
+ tags: string | string[];
1123
+ };
1124
+ };
1125
+ output: {
1126
+ build: {
1127
+ authorEmail: string;
1128
+ authorName: string;
1129
+ createdAt: string;
1130
+ id: string;
1131
+ tagIds?: string | undefined;
1132
+ message?: string | undefined;
1133
+ updatedAt: string;
1134
+ coverage: "none" | "processing" | "ready" | "uploaded";
1135
+ screenshots: "none" | "processing" | "ready" | "uploaded";
1136
+ storybook: "none" | "processing" | "ready" | "uploaded";
1137
+ testReport: "none" | "processing" | "ready" | "uploaded";
1138
+ };
1139
+ url: string;
1140
+ };
1141
+ outputFormat: "json";
1142
+ status: 201;
1143
+ } | {
1144
+ input: {
1145
+ param: {
1146
+ projectId: string;
1147
+ };
1148
+ } & {
1149
+ form: {
1150
+ authorEmail: string;
1151
+ authorName: string;
1152
+ id: string;
1153
+ message?: string | undefined;
1154
+ tags: string | string[];
1155
+ };
1156
+ };
1157
+ output: never;
1158
+ outputFormat: "text";
1159
+ status: 409;
1160
+ } | {
1161
+ input: {
1162
+ param: {
1163
+ projectId: string;
1164
+ };
1165
+ } & {
1166
+ form: {
1167
+ authorEmail: string;
1168
+ authorName: string;
1169
+ id: string;
1170
+ message?: string | undefined;
1171
+ tags: string | string[];
1172
+ };
1173
+ };
1174
+ output: never;
1175
+ outputFormat: "text";
1176
+ status: 415;
1177
+ } | {
1178
+ input: {
1179
+ param: {
1180
+ projectId: string;
1181
+ };
1182
+ } & {
1183
+ form: {
1184
+ authorEmail: string;
1185
+ authorName: string;
1186
+ id: string;
1187
+ message?: string | undefined;
1188
+ tags: string | string[];
1189
+ };
1190
+ };
1191
+ output: Response;
1192
+ outputFormat: "json";
1193
+ status: hono_utils_http_status0.StatusCode;
1194
+ };
1195
+ };
1196
+ } & {
1197
+ "/projects/:projectId/builds/:buildId": {
1198
+ $get: {
1199
+ input: {
1200
+ param: {
1201
+ projectId: string;
1202
+ buildId: string;
1203
+ };
1204
+ };
1205
+ output: never;
1206
+ outputFormat: "json";
1207
+ status: 404;
1208
+ } | {
1209
+ input: {
1210
+ param: {
1211
+ projectId: string;
1212
+ buildId: string;
1213
+ };
1214
+ };
1215
+ output: string | {
1216
+ build: {
1217
+ authorEmail: string;
1218
+ authorName: string;
1219
+ createdAt: string;
1220
+ id: string;
1221
+ tagIds?: string | undefined;
1222
+ message?: string | undefined;
1223
+ updatedAt: string;
1224
+ coverage: "none" | "processing" | "ready" | "uploaded";
1225
+ screenshots: "none" | "processing" | "ready" | "uploaded";
1226
+ storybook: "none" | "processing" | "ready" | "uploaded";
1227
+ testReport: "none" | "processing" | "ready" | "uploaded";
1228
+ };
1229
+ url: string;
1230
+ };
1231
+ outputFormat: "json";
1232
+ status: 200;
1233
+ } | {
1234
+ input: {
1235
+ param: {
1236
+ projectId: string;
1237
+ buildId: string;
1238
+ };
1239
+ };
1240
+ output: never;
1241
+ outputFormat: "text";
1242
+ status: 404;
1243
+ } | {
1244
+ input: {
1245
+ param: {
1246
+ projectId: string;
1247
+ buildId: string;
1248
+ };
1249
+ };
1250
+ output: Response;
1251
+ outputFormat: "json";
1252
+ status: hono_utils_http_status0.StatusCode;
1253
+ };
1254
+ };
1255
+ } & {
1256
+ "/projects/:projectId/builds/:buildId/delete": {
1257
+ $post: {
1258
+ input: {
1259
+ param: {
1260
+ projectId: string;
1261
+ buildId: string;
1262
+ };
1263
+ };
1264
+ output: {};
1265
+ outputFormat: string;
1266
+ status: 204;
1267
+ } | {
1268
+ input: {
1269
+ param: {
1270
+ projectId: string;
1271
+ buildId: string;
1272
+ };
1273
+ };
1274
+ output: {};
1275
+ outputFormat: string;
1276
+ status: 303;
1277
+ } | {
1278
+ input: {
1279
+ param: {
1280
+ projectId: string;
1281
+ buildId: string;
1282
+ };
1283
+ };
1284
+ output: never;
1285
+ outputFormat: "json";
1286
+ status: 404;
1287
+ } | {
1288
+ input: {
1289
+ param: {
1290
+ projectId: string;
1291
+ buildId: string;
1292
+ };
1293
+ };
1294
+ output: never;
1295
+ outputFormat: "text";
1296
+ status: 404;
1297
+ } | {
1298
+ input: {
1299
+ param: {
1300
+ projectId: string;
1301
+ buildId: string;
1302
+ };
1303
+ };
1304
+ output: Response;
1305
+ outputFormat: "json";
1306
+ status: hono_utils_http_status0.StatusCode;
1307
+ };
1308
+ };
1309
+ } & {
1310
+ "/projects/:projectId/builds/:buildId/update": {
1311
+ $post: {
1312
+ input: {
1313
+ param: {
1314
+ projectId: string;
1315
+ buildId: string;
1316
+ };
1317
+ } & {
1318
+ form: {
1319
+ authorEmail?: string | undefined;
1320
+ authorName?: string | undefined;
1321
+ tagIds?: string | undefined;
1322
+ message?: string | undefined;
1323
+ coverage?: "none" | "processing" | "ready" | "uploaded" | undefined;
1324
+ screenshots?: "none" | "processing" | "ready" | "uploaded" | undefined;
1325
+ storybook?: "none" | "processing" | "ready" | "uploaded" | undefined;
1326
+ testReport?: "none" | "processing" | "ready" | "uploaded" | undefined;
1327
+ };
1328
+ };
1329
+ output: {};
1330
+ outputFormat: string;
1331
+ status: 202;
1332
+ } | {
1333
+ input: {
1334
+ param: {
1335
+ projectId: string;
1336
+ buildId: string;
1337
+ };
1338
+ } & {
1339
+ form: {
1340
+ authorEmail?: string | undefined;
1341
+ authorName?: string | undefined;
1342
+ tagIds?: string | undefined;
1343
+ message?: string | undefined;
1344
+ coverage?: "none" | "processing" | "ready" | "uploaded" | undefined;
1345
+ screenshots?: "none" | "processing" | "ready" | "uploaded" | undefined;
1346
+ storybook?: "none" | "processing" | "ready" | "uploaded" | undefined;
1347
+ testReport?: "none" | "processing" | "ready" | "uploaded" | undefined;
1348
+ };
1349
+ };
1350
+ output: {};
1351
+ outputFormat: string;
1352
+ status: 303;
1353
+ } | {
1354
+ input: {
1355
+ param: {
1356
+ projectId: string;
1357
+ buildId: string;
1358
+ };
1359
+ } & {
1360
+ form: {
1361
+ authorEmail?: string | undefined;
1362
+ authorName?: string | undefined;
1363
+ tagIds?: string | undefined;
1364
+ message?: string | undefined;
1365
+ coverage?: "none" | "processing" | "ready" | "uploaded" | undefined;
1366
+ screenshots?: "none" | "processing" | "ready" | "uploaded" | undefined;
1367
+ storybook?: "none" | "processing" | "ready" | "uploaded" | undefined;
1368
+ testReport?: "none" | "processing" | "ready" | "uploaded" | undefined;
1369
+ };
1370
+ };
1371
+ output: never;
1372
+ outputFormat: "json";
1373
+ status: 404;
1374
+ } | {
1375
+ input: {
1376
+ param: {
1377
+ projectId: string;
1378
+ buildId: string;
1379
+ };
1380
+ } & {
1381
+ form: {
1382
+ authorEmail?: string | undefined;
1383
+ authorName?: string | undefined;
1384
+ tagIds?: string | undefined;
1385
+ message?: string | undefined;
1386
+ coverage?: "none" | "processing" | "ready" | "uploaded" | undefined;
1387
+ screenshots?: "none" | "processing" | "ready" | "uploaded" | undefined;
1388
+ storybook?: "none" | "processing" | "ready" | "uploaded" | undefined;
1389
+ testReport?: "none" | "processing" | "ready" | "uploaded" | undefined;
1390
+ };
1391
+ };
1392
+ output: never;
1393
+ outputFormat: "json";
1394
+ status: 415;
1395
+ } | {
1396
+ input: {
1397
+ param: {
1398
+ projectId: string;
1399
+ buildId: string;
1400
+ };
1401
+ } & {
1402
+ form: {
1403
+ authorEmail?: string | undefined;
1404
+ authorName?: string | undefined;
1405
+ tagIds?: string | undefined;
1406
+ message?: string | undefined;
1407
+ coverage?: "none" | "processing" | "ready" | "uploaded" | undefined;
1408
+ screenshots?: "none" | "processing" | "ready" | "uploaded" | undefined;
1409
+ storybook?: "none" | "processing" | "ready" | "uploaded" | undefined;
1410
+ testReport?: "none" | "processing" | "ready" | "uploaded" | undefined;
1411
+ };
1412
+ };
1413
+ output: never;
1414
+ outputFormat: "text";
1415
+ status: 404;
1416
+ } | {
1417
+ input: {
1418
+ param: {
1419
+ projectId: string;
1420
+ buildId: string;
1421
+ };
1422
+ } & {
1423
+ form: {
1424
+ authorEmail?: string | undefined;
1425
+ authorName?: string | undefined;
1426
+ tagIds?: string | undefined;
1427
+ message?: string | undefined;
1428
+ coverage?: "none" | "processing" | "ready" | "uploaded" | undefined;
1429
+ screenshots?: "none" | "processing" | "ready" | "uploaded" | undefined;
1430
+ storybook?: "none" | "processing" | "ready" | "uploaded" | undefined;
1431
+ testReport?: "none" | "processing" | "ready" | "uploaded" | undefined;
1432
+ };
1433
+ };
1434
+ output: never;
1435
+ outputFormat: "text";
1436
+ status: 415;
1437
+ } | {
1438
+ input: {
1439
+ param: {
1440
+ projectId: string;
1441
+ buildId: string;
1442
+ };
1443
+ } & {
1444
+ form: {
1445
+ authorEmail?: string | undefined;
1446
+ authorName?: string | undefined;
1447
+ tagIds?: string | undefined;
1448
+ message?: string | undefined;
1449
+ coverage?: "none" | "processing" | "ready" | "uploaded" | undefined;
1450
+ screenshots?: "none" | "processing" | "ready" | "uploaded" | undefined;
1451
+ storybook?: "none" | "processing" | "ready" | "uploaded" | undefined;
1452
+ testReport?: "none" | "processing" | "ready" | "uploaded" | undefined;
1453
+ };
1454
+ };
1455
+ output: Response;
1456
+ outputFormat: "json";
1457
+ status: hono_utils_http_status0.StatusCode;
1458
+ };
1459
+ };
1460
+ } & {
1461
+ "/projects/:projectId/builds/:buildId/upload": {
1462
+ $get: {
1463
+ input: {
1464
+ param: {
1465
+ projectId: string;
1466
+ buildId: string;
1467
+ };
1468
+ } & {
1469
+ query: {
1470
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1471
+ };
1472
+ };
1473
+ output: never;
1474
+ outputFormat: "json";
1475
+ status: 404;
1476
+ } | {
1477
+ input: {
1478
+ param: {
1479
+ projectId: string;
1480
+ buildId: string;
1481
+ };
1482
+ } & {
1483
+ query: {
1484
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1485
+ };
1486
+ };
1487
+ output: never;
1488
+ outputFormat: "text";
1489
+ status: 404;
1490
+ } | {
1491
+ input: {
1492
+ param: {
1493
+ projectId: string;
1494
+ buildId: string;
1495
+ };
1496
+ } & {
1497
+ query: {
1498
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1499
+ };
1500
+ };
1501
+ output: Response;
1502
+ outputFormat: "json";
1503
+ status: hono_utils_http_status0.StatusCode;
1504
+ };
1505
+ };
1506
+ } & {
1507
+ "/projects/:projectId/builds/:buildId/upload": {
1508
+ $post: {
1509
+ input: {
1510
+ param: {
1511
+ projectId: string;
1512
+ buildId: string;
1513
+ };
1514
+ } & {
1515
+ query: {
1516
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1517
+ };
1518
+ };
1519
+ output: {};
1520
+ outputFormat: string;
1521
+ status: 204;
1522
+ } | {
1523
+ input: {
1524
+ param: {
1525
+ projectId: string;
1526
+ buildId: string;
1527
+ };
1528
+ } & {
1529
+ query: {
1530
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1531
+ };
1532
+ };
1533
+ output: {};
1534
+ outputFormat: string;
1535
+ status: 303;
1536
+ } | {
1537
+ input: {
1538
+ param: {
1539
+ projectId: string;
1540
+ buildId: string;
1541
+ };
1542
+ } & {
1543
+ query: {
1544
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1545
+ };
1546
+ };
1547
+ output: never;
1548
+ outputFormat: "json";
1549
+ status: 404;
1550
+ } | {
1551
+ input: {
1552
+ param: {
1553
+ projectId: string;
1554
+ buildId: string;
1555
+ };
1556
+ } & {
1557
+ query: {
1558
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1559
+ };
1560
+ };
1561
+ output: never;
1562
+ outputFormat: "json";
1563
+ status: 415;
1564
+ } | {
1565
+ input: {
1566
+ param: {
1567
+ projectId: string;
1568
+ buildId: string;
1569
+ };
1570
+ } & {
1571
+ query: {
1572
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1573
+ };
1574
+ };
1575
+ output: never;
1576
+ outputFormat: "text";
1577
+ status: 404;
1578
+ } | {
1579
+ input: {
1580
+ param: {
1581
+ projectId: string;
1582
+ buildId: string;
1583
+ };
1584
+ } & {
1585
+ query: {
1586
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1587
+ };
1588
+ };
1589
+ output: never;
1590
+ outputFormat: "text";
1591
+ status: 415;
1592
+ } | {
1593
+ input: {
1594
+ param: {
1595
+ projectId: string;
1596
+ buildId: string;
1597
+ };
1598
+ } & {
1599
+ query: {
1600
+ variant?: "coverage" | "screenshots" | "storybook" | "testReport" | undefined;
1601
+ };
1602
+ };
1603
+ output: Response;
1604
+ outputFormat: "json";
1605
+ status: hono_utils_http_status0.StatusCode;
1606
+ };
1607
+ };
1608
+ }, "/"> | ({
1609
+ "/openapi.json": {
1610
+ $get: {
1611
+ input: {};
1612
+ output: {};
1613
+ outputFormat: "json";
1614
+ status: hono_utils_http_status0.StatusCode;
1615
+ };
1616
+ };
1617
+ } & {
1618
+ "/openapi.yaml": {
1619
+ $get: {
1620
+ input: {};
1621
+ output: string;
1622
+ outputFormat: "body";
1623
+ status: 200;
1624
+ };
1625
+ };
1626
+ } & {
1627
+ "/openapi": {
1628
+ $get: {
1629
+ input: {};
1630
+ output: {};
1631
+ outputFormat: string;
1632
+ status: hono_utils_http_status0.StatusCode;
1633
+ };
1634
+ };
1635
+ })) & {
1636
+ "/:filepath{.+}": {
1637
+ $get: {
1638
+ input: {
1639
+ param: {
1640
+ filepath: string;
1641
+ };
1642
+ };
1643
+ output: {};
1644
+ outputFormat: string;
1645
+ status: hono_utils_http_status0.StatusCode;
1646
+ };
1647
+ };
1648
+ }, "/", "/:filepath{.+}">;
1649
+ //#endregion
1650
+ export { AppRouter, appRouter, openapiConfig };
1651
+ //# sourceMappingURL=router.d.mts.map