@package-broker/core 0.7.2 → 0.8.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 (194) hide show
  1. package/dist/factory.d.ts +2 -2
  2. package/dist/factory.d.ts.map +1 -1
  3. package/dist/factory.js +186 -66
  4. package/dist/factory.js.map +1 -1
  5. package/dist/modules/admin/admin.handlers.d.ts +25 -0
  6. package/dist/modules/admin/admin.handlers.d.ts.map +1 -0
  7. package/dist/modules/admin/admin.handlers.js +97 -0
  8. package/dist/modules/admin/admin.handlers.js.map +1 -0
  9. package/dist/modules/admin/admin.routes.d.ts +147 -0
  10. package/dist/modules/admin/admin.routes.d.ts.map +1 -0
  11. package/dist/modules/admin/admin.routes.js +130 -0
  12. package/dist/modules/admin/admin.routes.js.map +1 -0
  13. package/dist/modules/admin/index.d.ts +9 -0
  14. package/dist/modules/admin/index.d.ts.map +1 -0
  15. package/dist/modules/admin/index.js +19 -0
  16. package/dist/modules/admin/index.js.map +1 -0
  17. package/dist/modules/artifacts/artifacts.handlers.d.ts +18 -0
  18. package/dist/modules/artifacts/artifacts.handlers.d.ts.map +1 -0
  19. package/dist/modules/artifacts/artifacts.handlers.js +47 -0
  20. package/dist/modules/artifacts/artifacts.handlers.js.map +1 -0
  21. package/dist/modules/artifacts/artifacts.routes.d.ts +80 -0
  22. package/dist/modules/artifacts/artifacts.routes.d.ts.map +1 -0
  23. package/dist/modules/artifacts/artifacts.routes.js +79 -0
  24. package/dist/modules/artifacts/artifacts.routes.js.map +1 -0
  25. package/dist/modules/artifacts/index.d.ts +8 -0
  26. package/dist/modules/artifacts/index.d.ts.map +1 -0
  27. package/dist/modules/artifacts/index.js +14 -0
  28. package/dist/modules/artifacts/index.js.map +1 -0
  29. package/dist/modules/auth/auth.handlers.d.ts +51 -0
  30. package/dist/modules/auth/auth.handlers.d.ts.map +1 -0
  31. package/dist/modules/auth/auth.handlers.js +278 -0
  32. package/dist/modules/auth/auth.handlers.js.map +1 -0
  33. package/dist/modules/auth/auth.routes.d.ts +187 -0
  34. package/dist/modules/auth/auth.routes.d.ts.map +1 -0
  35. package/dist/modules/auth/auth.routes.js +136 -0
  36. package/dist/modules/auth/auth.routes.js.map +1 -0
  37. package/dist/modules/auth/index.d.ts +11 -0
  38. package/dist/modules/auth/index.d.ts.map +1 -0
  39. package/dist/modules/auth/index.js +34 -0
  40. package/dist/modules/auth/index.js.map +1 -0
  41. package/dist/modules/composer/composer.handlers.d.ts +3 -0
  42. package/dist/modules/composer/composer.handlers.d.ts.map +1 -0
  43. package/dist/modules/composer/composer.handlers.js +12 -0
  44. package/dist/modules/composer/composer.handlers.js.map +1 -0
  45. package/dist/modules/composer/index.d.ts +11 -0
  46. package/dist/modules/composer/index.d.ts.map +1 -0
  47. package/dist/modules/composer/index.js +40 -0
  48. package/dist/modules/composer/index.js.map +1 -0
  49. package/dist/modules/packages/index.d.ts +8 -0
  50. package/dist/modules/packages/index.d.ts.map +1 -0
  51. package/dist/modules/packages/index.js +19 -0
  52. package/dist/modules/packages/index.js.map +1 -0
  53. package/dist/modules/packages/packages.handlers.d.ts +50 -0
  54. package/dist/modules/packages/packages.handlers.d.ts.map +1 -0
  55. package/dist/modules/packages/packages.handlers.js +670 -0
  56. package/dist/modules/packages/packages.handlers.js.map +1 -0
  57. package/dist/modules/packages/packages.routes.d.ts +172 -0
  58. package/dist/modules/packages/packages.routes.d.ts.map +1 -0
  59. package/dist/modules/packages/packages.routes.js +160 -0
  60. package/dist/modules/packages/packages.routes.js.map +1 -0
  61. package/dist/modules/repositories/index.d.ts +8 -0
  62. package/dist/modules/repositories/index.d.ts.map +1 -0
  63. package/dist/modules/repositories/index.js +19 -0
  64. package/dist/modules/repositories/index.js.map +1 -0
  65. package/dist/modules/repositories/repositories.handlers.d.ts +29 -0
  66. package/dist/modules/repositories/repositories.handlers.d.ts.map +1 -0
  67. package/dist/modules/repositories/repositories.handlers.js +261 -0
  68. package/dist/modules/repositories/repositories.handlers.js.map +1 -0
  69. package/dist/modules/repositories/repositories.routes.d.ts +451 -0
  70. package/dist/modules/repositories/repositories.routes.d.ts.map +1 -0
  71. package/dist/modules/repositories/repositories.routes.js +264 -0
  72. package/dist/modules/repositories/repositories.routes.js.map +1 -0
  73. package/dist/modules/system/index.d.ts +8 -0
  74. package/dist/modules/system/index.d.ts.map +1 -0
  75. package/dist/modules/system/index.js +13 -0
  76. package/dist/modules/system/index.js.map +1 -0
  77. package/dist/modules/system/system.handlers.d.ts +9 -0
  78. package/dist/modules/system/system.handlers.d.ts.map +1 -0
  79. package/dist/modules/system/system.handlers.js +22 -0
  80. package/dist/modules/system/system.handlers.js.map +1 -0
  81. package/dist/modules/system/system.routes.d.ts +24 -0
  82. package/dist/modules/system/system.routes.d.ts.map +1 -0
  83. package/dist/modules/system/system.routes.js +27 -0
  84. package/dist/modules/system/system.routes.js.map +1 -0
  85. package/dist/modules/tokens/index.d.ts +8 -0
  86. package/dist/modules/tokens/index.d.ts.map +1 -0
  87. package/dist/modules/tokens/index.js +16 -0
  88. package/dist/modules/tokens/index.js.map +1 -0
  89. package/dist/modules/tokens/tokens.handlers.d.ts +22 -0
  90. package/dist/modules/tokens/tokens.handlers.d.ts.map +1 -0
  91. package/dist/modules/tokens/tokens.handlers.js +150 -0
  92. package/dist/modules/tokens/tokens.handlers.js.map +1 -0
  93. package/dist/modules/tokens/tokens.routes.d.ts +202 -0
  94. package/dist/modules/tokens/tokens.routes.d.ts.map +1 -0
  95. package/dist/modules/tokens/tokens.routes.js +143 -0
  96. package/dist/modules/tokens/tokens.routes.js.map +1 -0
  97. package/dist/modules/users/index.d.ts +8 -0
  98. package/dist/modules/users/index.d.ts.map +1 -0
  99. package/dist/modules/users/index.js +15 -0
  100. package/dist/modules/users/index.js.map +1 -0
  101. package/dist/modules/users/users.handlers.d.ts +6 -0
  102. package/dist/modules/users/users.handlers.d.ts.map +1 -0
  103. package/dist/modules/users/users.handlers.js +120 -0
  104. package/dist/modules/users/users.handlers.js.map +1 -0
  105. package/dist/modules/users/users.routes.d.ts +190 -0
  106. package/dist/modules/users/users.routes.d.ts.map +1 -0
  107. package/dist/modules/users/users.routes.js +132 -0
  108. package/dist/modules/users/users.routes.js.map +1 -0
  109. package/dist/routes/api/artifacts.d.ts +5 -3
  110. package/dist/routes/api/artifacts.d.ts.map +1 -1
  111. package/dist/routes/api/artifacts.js +2 -2
  112. package/dist/routes/api/artifacts.js.map +1 -1
  113. package/dist/routes/api/auth.d.ts +5 -3
  114. package/dist/routes/api/auth.d.ts.map +1 -1
  115. package/dist/routes/api/auth.js +2 -12
  116. package/dist/routes/api/auth.js.map +1 -1
  117. package/dist/routes/api/index.d.ts +1 -0
  118. package/dist/routes/api/index.d.ts.map +1 -1
  119. package/dist/routes/api/index.js +1 -0
  120. package/dist/routes/api/index.js.map +1 -1
  121. package/dist/routes/api/openapi/artifacts.d.ts +80 -0
  122. package/dist/routes/api/openapi/artifacts.d.ts.map +1 -0
  123. package/dist/routes/api/openapi/artifacts.js +73 -0
  124. package/dist/routes/api/openapi/artifacts.js.map +1 -0
  125. package/dist/routes/api/openapi/auth.d.ts +187 -0
  126. package/dist/routes/api/openapi/auth.d.ts.map +1 -0
  127. package/dist/routes/api/openapi/auth.js +135 -0
  128. package/dist/routes/api/openapi/auth.js.map +1 -0
  129. package/dist/routes/api/openapi/health.d.ts +24 -0
  130. package/dist/routes/api/openapi/health.d.ts.map +1 -0
  131. package/dist/routes/api/openapi/health.js +25 -0
  132. package/dist/routes/api/openapi/health.js.map +1 -0
  133. package/dist/routes/api/openapi/index.d.ts +10 -0
  134. package/dist/routes/api/openapi/index.d.ts.map +1 -0
  135. package/dist/routes/api/openapi/index.js +16 -0
  136. package/dist/routes/api/openapi/index.js.map +1 -0
  137. package/dist/routes/api/openapi/packages.d.ts +172 -0
  138. package/dist/routes/api/openapi/packages.d.ts.map +1 -0
  139. package/dist/routes/api/openapi/packages.js +126 -0
  140. package/dist/routes/api/openapi/packages.js.map +1 -0
  141. package/dist/routes/api/openapi/repositories.d.ts +451 -0
  142. package/dist/routes/api/openapi/repositories.d.ts.map +1 -0
  143. package/dist/routes/api/openapi/repositories.js +238 -0
  144. package/dist/routes/api/openapi/repositories.js.map +1 -0
  145. package/dist/routes/api/openapi/settings.d.ts +90 -0
  146. package/dist/routes/api/openapi/settings.d.ts.map +1 -0
  147. package/dist/routes/api/openapi/settings.js +72 -0
  148. package/dist/routes/api/openapi/settings.js.map +1 -0
  149. package/dist/routes/api/openapi/stats.d.ts +59 -0
  150. package/dist/routes/api/openapi/stats.d.ts.map +1 -0
  151. package/dist/routes/api/openapi/stats.js +53 -0
  152. package/dist/routes/api/openapi/stats.js.map +1 -0
  153. package/dist/routes/api/openapi/tokens.d.ts +202 -0
  154. package/dist/routes/api/openapi/tokens.d.ts.map +1 -0
  155. package/dist/routes/api/openapi/tokens.js +132 -0
  156. package/dist/routes/api/openapi/tokens.js.map +1 -0
  157. package/dist/routes/api/openapi/users.d.ts +190 -0
  158. package/dist/routes/api/openapi/users.d.ts.map +1 -0
  159. package/dist/routes/api/openapi/users.js +126 -0
  160. package/dist/routes/api/openapi/users.js.map +1 -0
  161. package/dist/routes/api/packages.d.ts +7 -4
  162. package/dist/routes/api/packages.d.ts.map +1 -1
  163. package/dist/routes/api/packages.js +6 -7
  164. package/dist/routes/api/packages.js.map +1 -1
  165. package/dist/routes/api/repositories.d.ts +8 -6
  166. package/dist/routes/api/repositories.d.ts.map +1 -1
  167. package/dist/routes/api/repositories.js +18 -22
  168. package/dist/routes/api/repositories.js.map +1 -1
  169. package/dist/routes/api/settings.d.ts +4 -3
  170. package/dist/routes/api/settings.d.ts.map +1 -1
  171. package/dist/routes/api/settings.js +1 -1
  172. package/dist/routes/api/settings.js.map +1 -1
  173. package/dist/routes/api/stats.d.ts +3 -3
  174. package/dist/routes/api/stats.d.ts.map +1 -1
  175. package/dist/routes/api/stats.js +1 -2
  176. package/dist/routes/api/stats.js.map +1 -1
  177. package/dist/routes/api/tokens.d.ts +6 -5
  178. package/dist/routes/api/tokens.d.ts.map +1 -1
  179. package/dist/routes/api/tokens.js +4 -7
  180. package/dist/routes/api/tokens.js.map +1 -1
  181. package/dist/routes/api/types.d.ts +17 -0
  182. package/dist/routes/api/types.d.ts.map +1 -0
  183. package/dist/routes/api/types.js +7 -0
  184. package/dist/routes/api/types.js.map +1 -0
  185. package/dist/routes/api/users.d.ts +5 -4
  186. package/dist/routes/api/users.d.ts.map +1 -1
  187. package/dist/routes/api/users.js +2 -12
  188. package/dist/routes/api/users.js.map +1 -1
  189. package/dist/routes/composer.js +1 -1
  190. package/dist/routes/composer.js.map +1 -1
  191. package/dist/routes/health.d.ts +3 -1
  192. package/dist/routes/health.d.ts.map +1 -1
  193. package/dist/routes/health.js.map +1 -1
  194. package/package.json +3 -2
@@ -0,0 +1,451 @@
1
+ import { z } from '@hono/zod-openapi';
2
+ export declare const listRepositoriesRouteDef: {
3
+ method: "get";
4
+ path: "/";
5
+ summary: string;
6
+ description: string;
7
+ security: {
8
+ Bearer: never[];
9
+ }[];
10
+ responses: {
11
+ 200: {
12
+ content: {
13
+ 'application/json': {
14
+ schema: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodString;
16
+ url: z.ZodString;
17
+ vcs_type: z.ZodEnum<{
18
+ git: "git";
19
+ composer: "composer";
20
+ artifact: "artifact";
21
+ }>;
22
+ credential_type: z.ZodEnum<{
23
+ http_basic: "http_basic";
24
+ github_token: "github_token";
25
+ gitlab_token: "gitlab_token";
26
+ bitbucket_app_password: "bitbucket_app_password";
27
+ bitbucket_api_token: "bitbucket_api_token";
28
+ bitbucket_api_key: "bitbucket_api_key";
29
+ bitbucket_server_pat: "bitbucket_server_pat";
30
+ bearer_token: "bearer_token";
31
+ }>;
32
+ composer_json_path: z.ZodNullable<z.ZodString>;
33
+ package_filter: z.ZodNullable<z.ZodString>;
34
+ status: z.ZodEnum<{
35
+ error: "error";
36
+ pending: "pending";
37
+ active: "active";
38
+ syncing: "syncing";
39
+ }>;
40
+ error_message: z.ZodNullable<z.ZodString>;
41
+ last_synced_at: z.ZodNullable<z.ZodNumber>;
42
+ created_at: z.ZodNumber;
43
+ }, z.core.$strip>>;
44
+ };
45
+ };
46
+ description: string;
47
+ };
48
+ };
49
+ tags: string[];
50
+ } & {
51
+ getRoutingPath(): "/";
52
+ };
53
+ export declare const createRepositoryRouteDef: {
54
+ method: "post";
55
+ path: "/";
56
+ summary: string;
57
+ description: string;
58
+ security: {
59
+ Bearer: never[];
60
+ }[];
61
+ request: {
62
+ body: {
63
+ content: {
64
+ 'application/json': {
65
+ schema: z.ZodObject<{
66
+ url: z.ZodString;
67
+ vcs_type: z.ZodEnum<{
68
+ git: "git";
69
+ composer: "composer";
70
+ artifact: "artifact";
71
+ }>;
72
+ credential_type: z.ZodEnum<{
73
+ http_basic: "http_basic";
74
+ github_token: "github_token";
75
+ gitlab_token: "gitlab_token";
76
+ bitbucket_app_password: "bitbucket_app_password";
77
+ bitbucket_api_token: "bitbucket_api_token";
78
+ bitbucket_api_key: "bitbucket_api_key";
79
+ bitbucket_server_pat: "bitbucket_server_pat";
80
+ bearer_token: "bearer_token";
81
+ }>;
82
+ auth_credentials: z.ZodRecord<z.ZodString, z.ZodString>;
83
+ composer_json_path: z.ZodOptional<z.ZodString>;
84
+ package_filter: z.ZodOptional<z.ZodString>;
85
+ }, z.core.$strip>;
86
+ };
87
+ };
88
+ };
89
+ };
90
+ responses: {
91
+ 200: {
92
+ content: {
93
+ 'application/json': {
94
+ schema: z.ZodObject<{
95
+ id: z.ZodString;
96
+ url: z.ZodString;
97
+ vcs_type: z.ZodEnum<{
98
+ git: "git";
99
+ composer: "composer";
100
+ artifact: "artifact";
101
+ }>;
102
+ credential_type: z.ZodEnum<{
103
+ http_basic: "http_basic";
104
+ github_token: "github_token";
105
+ gitlab_token: "gitlab_token";
106
+ bitbucket_app_password: "bitbucket_app_password";
107
+ bitbucket_api_token: "bitbucket_api_token";
108
+ bitbucket_api_key: "bitbucket_api_key";
109
+ bitbucket_server_pat: "bitbucket_server_pat";
110
+ bearer_token: "bearer_token";
111
+ }>;
112
+ composer_json_path: z.ZodNullable<z.ZodString>;
113
+ package_filter: z.ZodNullable<z.ZodString>;
114
+ status: z.ZodEnum<{
115
+ error: "error";
116
+ pending: "pending";
117
+ active: "active";
118
+ syncing: "syncing";
119
+ }>;
120
+ error_message: z.ZodNullable<z.ZodString>;
121
+ last_synced_at: z.ZodNullable<z.ZodNumber>;
122
+ created_at: z.ZodNumber;
123
+ }, z.core.$strip>;
124
+ };
125
+ };
126
+ description: string;
127
+ };
128
+ 400: {
129
+ content: {
130
+ 'application/json': {
131
+ schema: z.ZodObject<{
132
+ error: z.ZodString;
133
+ message: z.ZodOptional<z.ZodString>;
134
+ code: z.ZodOptional<z.ZodString>;
135
+ requestId: z.ZodOptional<z.ZodString>;
136
+ }, z.core.$strip>;
137
+ };
138
+ };
139
+ description: string;
140
+ };
141
+ 500: {
142
+ content: {
143
+ 'application/json': {
144
+ schema: z.ZodObject<{
145
+ error: z.ZodString;
146
+ message: z.ZodOptional<z.ZodString>;
147
+ code: z.ZodOptional<z.ZodString>;
148
+ requestId: z.ZodOptional<z.ZodString>;
149
+ }, z.core.$strip>;
150
+ };
151
+ };
152
+ description: string;
153
+ };
154
+ };
155
+ tags: string[];
156
+ } & {
157
+ getRoutingPath(): "/";
158
+ };
159
+ export declare const getRepositoryRouteDef: {
160
+ method: "get";
161
+ path: "/{id}";
162
+ summary: string;
163
+ description: string;
164
+ security: {
165
+ Bearer: never[];
166
+ }[];
167
+ request: {
168
+ params: z.ZodObject<{
169
+ id: z.ZodString;
170
+ }, z.core.$strip>;
171
+ };
172
+ responses: {
173
+ 200: {
174
+ content: {
175
+ 'application/json': {
176
+ schema: z.ZodObject<{
177
+ id: z.ZodString;
178
+ url: z.ZodString;
179
+ vcs_type: z.ZodEnum<{
180
+ git: "git";
181
+ composer: "composer";
182
+ artifact: "artifact";
183
+ }>;
184
+ credential_type: z.ZodEnum<{
185
+ http_basic: "http_basic";
186
+ github_token: "github_token";
187
+ gitlab_token: "gitlab_token";
188
+ bitbucket_app_password: "bitbucket_app_password";
189
+ bitbucket_api_token: "bitbucket_api_token";
190
+ bitbucket_api_key: "bitbucket_api_key";
191
+ bitbucket_server_pat: "bitbucket_server_pat";
192
+ bearer_token: "bearer_token";
193
+ }>;
194
+ composer_json_path: z.ZodNullable<z.ZodString>;
195
+ package_filter: z.ZodNullable<z.ZodString>;
196
+ status: z.ZodEnum<{
197
+ error: "error";
198
+ pending: "pending";
199
+ active: "active";
200
+ syncing: "syncing";
201
+ }>;
202
+ error_message: z.ZodNullable<z.ZodString>;
203
+ last_synced_at: z.ZodNullable<z.ZodNumber>;
204
+ created_at: z.ZodNumber;
205
+ }, z.core.$strip>;
206
+ };
207
+ };
208
+ description: string;
209
+ };
210
+ 404: {
211
+ content: {
212
+ 'application/json': {
213
+ schema: z.ZodObject<{
214
+ error: z.ZodString;
215
+ message: z.ZodOptional<z.ZodString>;
216
+ code: z.ZodOptional<z.ZodString>;
217
+ requestId: z.ZodOptional<z.ZodString>;
218
+ }, z.core.$strip>;
219
+ };
220
+ };
221
+ description: string;
222
+ };
223
+ };
224
+ tags: string[];
225
+ } & {
226
+ getRoutingPath(): "/:id";
227
+ };
228
+ export declare const updateRepositoryRouteDef: {
229
+ method: "put";
230
+ path: "/{id}";
231
+ summary: string;
232
+ description: string;
233
+ security: {
234
+ Bearer: never[];
235
+ }[];
236
+ request: {
237
+ params: z.ZodObject<{
238
+ id: z.ZodString;
239
+ }, z.core.$strip>;
240
+ body: {
241
+ content: {
242
+ 'application/json': {
243
+ schema: z.ZodObject<{
244
+ url: z.ZodOptional<z.ZodString>;
245
+ vcs_type: z.ZodOptional<z.ZodEnum<{
246
+ git: "git";
247
+ composer: "composer";
248
+ artifact: "artifact";
249
+ }>>;
250
+ credential_type: z.ZodOptional<z.ZodEnum<{
251
+ http_basic: "http_basic";
252
+ github_token: "github_token";
253
+ gitlab_token: "gitlab_token";
254
+ bitbucket_app_password: "bitbucket_app_password";
255
+ bitbucket_api_token: "bitbucket_api_token";
256
+ bitbucket_api_key: "bitbucket_api_key";
257
+ bitbucket_server_pat: "bitbucket_server_pat";
258
+ bearer_token: "bearer_token";
259
+ }>>;
260
+ auth_credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
261
+ composer_json_path: z.ZodOptional<z.ZodOptional<z.ZodString>>;
262
+ package_filter: z.ZodOptional<z.ZodOptional<z.ZodString>>;
263
+ }, z.core.$strip>;
264
+ };
265
+ };
266
+ };
267
+ };
268
+ responses: {
269
+ 200: {
270
+ content: {
271
+ 'application/json': {
272
+ schema: z.ZodObject<{
273
+ id: z.ZodString;
274
+ url: z.ZodString;
275
+ vcs_type: z.ZodEnum<{
276
+ git: "git";
277
+ composer: "composer";
278
+ artifact: "artifact";
279
+ }>;
280
+ credential_type: z.ZodEnum<{
281
+ http_basic: "http_basic";
282
+ github_token: "github_token";
283
+ gitlab_token: "gitlab_token";
284
+ bitbucket_app_password: "bitbucket_app_password";
285
+ bitbucket_api_token: "bitbucket_api_token";
286
+ bitbucket_api_key: "bitbucket_api_key";
287
+ bitbucket_server_pat: "bitbucket_server_pat";
288
+ bearer_token: "bearer_token";
289
+ }>;
290
+ composer_json_path: z.ZodNullable<z.ZodString>;
291
+ package_filter: z.ZodNullable<z.ZodString>;
292
+ status: z.ZodEnum<{
293
+ error: "error";
294
+ pending: "pending";
295
+ active: "active";
296
+ syncing: "syncing";
297
+ }>;
298
+ error_message: z.ZodNullable<z.ZodString>;
299
+ last_synced_at: z.ZodNullable<z.ZodNumber>;
300
+ created_at: z.ZodNumber;
301
+ }, z.core.$strip>;
302
+ };
303
+ };
304
+ description: string;
305
+ };
306
+ 404: {
307
+ content: {
308
+ 'application/json': {
309
+ schema: z.ZodObject<{
310
+ error: z.ZodString;
311
+ message: z.ZodOptional<z.ZodString>;
312
+ code: z.ZodOptional<z.ZodString>;
313
+ requestId: z.ZodOptional<z.ZodString>;
314
+ }, z.core.$strip>;
315
+ };
316
+ };
317
+ description: string;
318
+ };
319
+ };
320
+ tags: string[];
321
+ } & {
322
+ getRoutingPath(): "/:id";
323
+ };
324
+ export declare const deleteRepositoryRouteDef: {
325
+ method: "delete";
326
+ path: "/{id}";
327
+ summary: string;
328
+ description: string;
329
+ security: {
330
+ Bearer: never[];
331
+ }[];
332
+ request: {
333
+ params: z.ZodObject<{
334
+ id: z.ZodString;
335
+ }, z.core.$strip>;
336
+ };
337
+ responses: {
338
+ 200: {
339
+ content: {
340
+ 'application/json': {
341
+ schema: z.ZodObject<{
342
+ message: z.ZodString;
343
+ }, z.core.$strip>;
344
+ };
345
+ };
346
+ description: string;
347
+ };
348
+ 404: {
349
+ content: {
350
+ 'application/json': {
351
+ schema: z.ZodObject<{
352
+ error: z.ZodString;
353
+ message: z.ZodOptional<z.ZodString>;
354
+ code: z.ZodOptional<z.ZodString>;
355
+ requestId: z.ZodOptional<z.ZodString>;
356
+ }, z.core.$strip>;
357
+ };
358
+ };
359
+ description: string;
360
+ };
361
+ };
362
+ tags: string[];
363
+ } & {
364
+ getRoutingPath(): "/:id";
365
+ };
366
+ export declare const verifyRepositoryRouteDef: {
367
+ method: "get";
368
+ path: "/{id}/verify";
369
+ summary: string;
370
+ description: string;
371
+ security: {
372
+ Bearer: never[];
373
+ }[];
374
+ request: {
375
+ params: z.ZodObject<{
376
+ id: z.ZodString;
377
+ }, z.core.$strip>;
378
+ };
379
+ responses: {
380
+ 200: {
381
+ content: {
382
+ 'application/json': {
383
+ schema: z.ZodObject<{
384
+ valid: z.ZodBoolean;
385
+ message: z.ZodString;
386
+ }, z.core.$strip>;
387
+ };
388
+ };
389
+ description: string;
390
+ };
391
+ 404: {
392
+ content: {
393
+ 'application/json': {
394
+ schema: z.ZodObject<{
395
+ error: z.ZodString;
396
+ message: z.ZodOptional<z.ZodString>;
397
+ code: z.ZodOptional<z.ZodString>;
398
+ requestId: z.ZodOptional<z.ZodString>;
399
+ }, z.core.$strip>;
400
+ };
401
+ };
402
+ description: string;
403
+ };
404
+ };
405
+ tags: string[];
406
+ } & {
407
+ getRoutingPath(): "/:id/verify";
408
+ };
409
+ export declare const syncRepositoryRouteDef: {
410
+ method: "post";
411
+ path: "/{id}/sync";
412
+ summary: string;
413
+ description: string;
414
+ security: {
415
+ Bearer: never[];
416
+ }[];
417
+ request: {
418
+ params: z.ZodObject<{
419
+ id: z.ZodString;
420
+ }, z.core.$strip>;
421
+ };
422
+ responses: {
423
+ 200: {
424
+ content: {
425
+ 'application/json': {
426
+ schema: z.ZodObject<{
427
+ message: z.ZodString;
428
+ }, z.core.$strip>;
429
+ };
430
+ };
431
+ description: string;
432
+ };
433
+ 404: {
434
+ content: {
435
+ 'application/json': {
436
+ schema: z.ZodObject<{
437
+ error: z.ZodString;
438
+ message: z.ZodOptional<z.ZodString>;
439
+ code: z.ZodOptional<z.ZodString>;
440
+ requestId: z.ZodOptional<z.ZodString>;
441
+ }, z.core.$strip>;
442
+ };
443
+ };
444
+ description: string;
445
+ };
446
+ };
447
+ tags: string[];
448
+ } & {
449
+ getRoutingPath(): "/:id/sync";
450
+ };
451
+ //# sourceMappingURL=repositories.routes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repositories.routes.d.ts","sourceRoot":"","sources":["../../../src/modules/repositories/repositories.routes.ts"],"names":[],"mappings":"AAMA,OAAO,EAAe,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAUnD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBnC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CnC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmChC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CnC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCnC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCnC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCjC,CAAC"}