@marcoturi/fastify-boilerplate 2.4.44 → 2.5.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.
- package/graphql.ts +0 -5
- package/package.json +1 -1
- package/rest.d.ts +97 -5
package/graphql.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
export type Maybe<T> = T | null;
|
|
2
2
|
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
-
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
4
|
-
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
5
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
6
|
-
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
|
|
7
|
-
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
8
3
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
9
4
|
export type Scalars = {
|
|
10
5
|
ID: { input: string; output: string; }
|
package/package.json
CHANGED
package/rest.d.ts
CHANGED
|
@@ -105,6 +105,24 @@ export interface paths {
|
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
109
|
+
"4XX": {
|
|
110
|
+
headers: {
|
|
111
|
+
[name: string]: unknown;
|
|
112
|
+
};
|
|
113
|
+
content: {
|
|
114
|
+
"application/json": components["schemas"]["def-0"];
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
118
|
+
"5XX": {
|
|
119
|
+
headers: {
|
|
120
|
+
[name: string]: unknown;
|
|
121
|
+
};
|
|
122
|
+
content: {
|
|
123
|
+
"application/json": components["schemas"]["def-0"];
|
|
124
|
+
};
|
|
125
|
+
};
|
|
108
126
|
};
|
|
109
127
|
};
|
|
110
128
|
put?: never;
|
|
@@ -160,6 +178,33 @@ export interface paths {
|
|
|
160
178
|
};
|
|
161
179
|
};
|
|
162
180
|
};
|
|
181
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
182
|
+
409: {
|
|
183
|
+
headers: {
|
|
184
|
+
[name: string]: unknown;
|
|
185
|
+
};
|
|
186
|
+
content: {
|
|
187
|
+
"application/json": components["schemas"]["def-0"];
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
191
|
+
"4XX": {
|
|
192
|
+
headers: {
|
|
193
|
+
[name: string]: unknown;
|
|
194
|
+
};
|
|
195
|
+
content: {
|
|
196
|
+
"application/json": components["schemas"]["def-0"];
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
200
|
+
"5XX": {
|
|
201
|
+
headers: {
|
|
202
|
+
[name: string]: unknown;
|
|
203
|
+
};
|
|
204
|
+
content: {
|
|
205
|
+
"application/json": components["schemas"]["def-0"];
|
|
206
|
+
};
|
|
207
|
+
};
|
|
163
208
|
};
|
|
164
209
|
};
|
|
165
210
|
delete?: never;
|
|
@@ -198,6 +243,33 @@ export interface paths {
|
|
|
198
243
|
};
|
|
199
244
|
content?: never;
|
|
200
245
|
};
|
|
246
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
247
|
+
404: {
|
|
248
|
+
headers: {
|
|
249
|
+
[name: string]: unknown;
|
|
250
|
+
};
|
|
251
|
+
content: {
|
|
252
|
+
"application/json": components["schemas"]["def-0"];
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
256
|
+
"4XX": {
|
|
257
|
+
headers: {
|
|
258
|
+
[name: string]: unknown;
|
|
259
|
+
};
|
|
260
|
+
content: {
|
|
261
|
+
"application/json": components["schemas"]["def-0"];
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
265
|
+
"5XX": {
|
|
266
|
+
headers: {
|
|
267
|
+
[name: string]: unknown;
|
|
268
|
+
};
|
|
269
|
+
content: {
|
|
270
|
+
"application/json": components["schemas"]["def-0"];
|
|
271
|
+
};
|
|
272
|
+
};
|
|
201
273
|
};
|
|
202
274
|
};
|
|
203
275
|
options?: never;
|
|
@@ -282,6 +354,24 @@ export interface paths {
|
|
|
282
354
|
};
|
|
283
355
|
};
|
|
284
356
|
};
|
|
357
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
358
|
+
"4XX": {
|
|
359
|
+
headers: {
|
|
360
|
+
[name: string]: unknown;
|
|
361
|
+
};
|
|
362
|
+
content: {
|
|
363
|
+
"application/json": components["schemas"]["def-0"];
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
/** @description Error response. All errors share this shape; `correlationId` correlates it to logs. */
|
|
367
|
+
"5XX": {
|
|
368
|
+
headers: {
|
|
369
|
+
[name: string]: unknown;
|
|
370
|
+
};
|
|
371
|
+
content: {
|
|
372
|
+
"application/json": components["schemas"]["def-0"];
|
|
373
|
+
};
|
|
374
|
+
};
|
|
285
375
|
};
|
|
286
376
|
};
|
|
287
377
|
put?: never;
|
|
@@ -306,11 +396,13 @@ export interface components {
|
|
|
306
396
|
error: string;
|
|
307
397
|
/** @example YevPQs */
|
|
308
398
|
correlationId: string;
|
|
309
|
-
/**
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
399
|
+
/** @description List of field-level validation errors */
|
|
400
|
+
subErrors?: {
|
|
401
|
+
/** @example /email */
|
|
402
|
+
path: string;
|
|
403
|
+
/** @example must match format "email" */
|
|
404
|
+
message: string;
|
|
405
|
+
}[];
|
|
314
406
|
};
|
|
315
407
|
};
|
|
316
408
|
responses: never;
|