@hideyukimori/nene2-client 0.1.0 → 0.1.1
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/README.md +2 -0
- package/dist/generated/openapi.d.ts +877 -0
- package/dist/generated/openapi.d.ts.map +1 -0
- package/dist/generated/openapi.js +6 -0
- package/dist/generated/openapi.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/problem/types.d.ts +2 -19
- package/dist/problem/types.d.ts.map +1 -1
- package/dist/problem/types.js +0 -4
- package/dist/problem/types.js.map +1 -1
- package/dist/types/examples/notes.d.ts +4 -15
- package/dist/types/examples/notes.d.ts.map +1 -1
- package/dist/types/examples/notes.js +0 -3
- package/dist/types/examples/notes.js.map +1 -1
- package/dist/types/examples/protected.d.ts +3 -5
- package/dist/types/examples/protected.d.ts.map +1 -1
- package/dist/types/examples/protected.js +0 -3
- package/dist/types/examples/protected.js.map +1 -1
- package/dist/types/examples/tags.d.ts +4 -13
- package/dist/types/examples/tags.d.ts.map +1 -1
- package/dist/types/examples/tags.js +0 -3
- package/dist/types/examples/tags.js.map +1 -1
- package/dist/types/schemas.d.ts +21 -0
- package/dist/types/schemas.d.ts.map +1 -0
- package/dist/types/schemas.js +2 -0
- package/dist/types/schemas.js.map +1 -0
- package/dist/types/system.d.ts +4 -21
- package/dist/types/system.d.ts.map +1 -1
- package/dist/types/system.js +0 -3
- package/dist/types/system.js.map +1 -1
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -0,0 +1,877 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Framework smoke endpoint
|
|
15
|
+
* @description Returns a minimal JSON response that confirms the NENE2 public entry point is working.
|
|
16
|
+
*/
|
|
17
|
+
get: operations["getFrameworkSmoke"];
|
|
18
|
+
put?: never;
|
|
19
|
+
post?: never;
|
|
20
|
+
delete?: never;
|
|
21
|
+
options?: never;
|
|
22
|
+
head?: never;
|
|
23
|
+
patch?: never;
|
|
24
|
+
trace?: never;
|
|
25
|
+
};
|
|
26
|
+
"/health": {
|
|
27
|
+
parameters: {
|
|
28
|
+
query?: never;
|
|
29
|
+
header?: never;
|
|
30
|
+
path?: never;
|
|
31
|
+
cookie?: never;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Health endpoint
|
|
35
|
+
* @description Returns a JSON response for operational health checks. When no health checks are configured the response is always 200. When health checks are configured the response includes a `checks` map; if any check fails the status is `degraded` and the HTTP status code is 503.
|
|
36
|
+
*/
|
|
37
|
+
get: operations["getHealth"];
|
|
38
|
+
put?: never;
|
|
39
|
+
post?: never;
|
|
40
|
+
delete?: never;
|
|
41
|
+
options?: never;
|
|
42
|
+
head?: never;
|
|
43
|
+
patch?: never;
|
|
44
|
+
trace?: never;
|
|
45
|
+
};
|
|
46
|
+
"/machine/health": {
|
|
47
|
+
parameters: {
|
|
48
|
+
query?: never;
|
|
49
|
+
header?: never;
|
|
50
|
+
path?: never;
|
|
51
|
+
cookie?: never;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Protected machine health endpoint
|
|
55
|
+
* @description Returns health information for machine clients that provide a configured API key.
|
|
56
|
+
*/
|
|
57
|
+
get: operations["getMachineHealth"];
|
|
58
|
+
put?: never;
|
|
59
|
+
post?: never;
|
|
60
|
+
delete?: never;
|
|
61
|
+
options?: never;
|
|
62
|
+
head?: never;
|
|
63
|
+
patch?: never;
|
|
64
|
+
trace?: never;
|
|
65
|
+
};
|
|
66
|
+
"/examples/protected": {
|
|
67
|
+
parameters: {
|
|
68
|
+
query?: never;
|
|
69
|
+
header?: never;
|
|
70
|
+
path?: never;
|
|
71
|
+
cookie?: never;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Protected example endpoint
|
|
75
|
+
* @description Demonstrates BearerTokenMiddleware. Returns the authenticated user's JWT claims. Requires NENE2_LOCAL_JWT_SECRET to be set in the environment.
|
|
76
|
+
*/
|
|
77
|
+
get: operations["getProtected"];
|
|
78
|
+
put?: never;
|
|
79
|
+
post?: never;
|
|
80
|
+
delete?: never;
|
|
81
|
+
options?: never;
|
|
82
|
+
head?: never;
|
|
83
|
+
patch?: never;
|
|
84
|
+
trace?: never;
|
|
85
|
+
};
|
|
86
|
+
"/examples/tags": {
|
|
87
|
+
parameters: {
|
|
88
|
+
query?: never;
|
|
89
|
+
header?: never;
|
|
90
|
+
path?: never;
|
|
91
|
+
cookie?: never;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* List example tags
|
|
95
|
+
* @description Returns a paginated list of tags. Demonstrates the collection endpoint pattern for a second domain entity.
|
|
96
|
+
*/
|
|
97
|
+
get: operations["listExampleTags"];
|
|
98
|
+
put?: never;
|
|
99
|
+
/**
|
|
100
|
+
* Create example tag
|
|
101
|
+
* @description Creates a new tag. Demonstrates the POST write path for a second domain entity.
|
|
102
|
+
*/
|
|
103
|
+
post: operations["createExampleTag"];
|
|
104
|
+
delete?: never;
|
|
105
|
+
options?: never;
|
|
106
|
+
head?: never;
|
|
107
|
+
patch?: never;
|
|
108
|
+
trace?: never;
|
|
109
|
+
};
|
|
110
|
+
"/examples/tags/{id}": {
|
|
111
|
+
parameters: {
|
|
112
|
+
query?: never;
|
|
113
|
+
header?: never;
|
|
114
|
+
path?: never;
|
|
115
|
+
cookie?: never;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Get example tag by ID
|
|
119
|
+
* @description Returns a single tag by ID. Returns 404 when the tag does not exist.
|
|
120
|
+
*/
|
|
121
|
+
get: operations["getExampleTagById"];
|
|
122
|
+
/**
|
|
123
|
+
* Update example tag
|
|
124
|
+
* @description Updates a tag by ID. Replaces the name. Returns 200 with the updated tag on success.
|
|
125
|
+
*/
|
|
126
|
+
put: operations["updateExampleTagById"];
|
|
127
|
+
post?: never;
|
|
128
|
+
/**
|
|
129
|
+
* Delete example tag
|
|
130
|
+
* @description Deletes a tag by ID. Returns 204 on success, 404 if the tag does not exist.
|
|
131
|
+
*/
|
|
132
|
+
delete: operations["deleteExampleTagById"];
|
|
133
|
+
options?: never;
|
|
134
|
+
head?: never;
|
|
135
|
+
patch?: never;
|
|
136
|
+
trace?: never;
|
|
137
|
+
};
|
|
138
|
+
"/examples/notes": {
|
|
139
|
+
parameters: {
|
|
140
|
+
query?: never;
|
|
141
|
+
header?: never;
|
|
142
|
+
path?: never;
|
|
143
|
+
cookie?: never;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* List example notes
|
|
147
|
+
* @description Returns a paginated list of notes. Demonstrates the collection endpoint pattern with limit/offset query parameters.
|
|
148
|
+
*/
|
|
149
|
+
get: operations["listExampleNotes"];
|
|
150
|
+
put?: never;
|
|
151
|
+
/**
|
|
152
|
+
* Create example note
|
|
153
|
+
* @description Creates a new note. Demonstrates the POST → UseCase → Repository write path with body validation.
|
|
154
|
+
*/
|
|
155
|
+
post: operations["createExampleNote"];
|
|
156
|
+
delete?: never;
|
|
157
|
+
options?: never;
|
|
158
|
+
head?: never;
|
|
159
|
+
patch?: never;
|
|
160
|
+
trace?: never;
|
|
161
|
+
};
|
|
162
|
+
"/examples/notes/{id}": {
|
|
163
|
+
parameters: {
|
|
164
|
+
query?: never;
|
|
165
|
+
header?: never;
|
|
166
|
+
path?: never;
|
|
167
|
+
cookie?: never;
|
|
168
|
+
};
|
|
169
|
+
/**
|
|
170
|
+
* Example note endpoint
|
|
171
|
+
* @description Returns a single note by id. Demonstrates the UseCase → Repository → Handler domain layer pattern.
|
|
172
|
+
*/
|
|
173
|
+
get: operations["getExampleNoteById"];
|
|
174
|
+
/**
|
|
175
|
+
* Update example note
|
|
176
|
+
* @description Updates a note by id. Replaces title and body. Returns 200 with the updated note on success.
|
|
177
|
+
*/
|
|
178
|
+
put: operations["updateExampleNoteById"];
|
|
179
|
+
post?: never;
|
|
180
|
+
/**
|
|
181
|
+
* Delete example note
|
|
182
|
+
* @description Deletes a note by id. Returns 204 on success, 404 if the note does not exist.
|
|
183
|
+
*/
|
|
184
|
+
delete: operations["deleteExampleNoteById"];
|
|
185
|
+
options?: never;
|
|
186
|
+
head?: never;
|
|
187
|
+
patch?: never;
|
|
188
|
+
trace?: never;
|
|
189
|
+
};
|
|
190
|
+
"/examples/ping": {
|
|
191
|
+
parameters: {
|
|
192
|
+
query?: never;
|
|
193
|
+
header?: never;
|
|
194
|
+
path?: never;
|
|
195
|
+
cookie?: never;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* Example ping endpoint
|
|
199
|
+
* @description Returns a minimal response used to exercise the endpoint scaffold workflow.
|
|
200
|
+
*/
|
|
201
|
+
get: operations["getExamplePing"];
|
|
202
|
+
put?: never;
|
|
203
|
+
post?: never;
|
|
204
|
+
delete?: never;
|
|
205
|
+
options?: never;
|
|
206
|
+
head?: never;
|
|
207
|
+
patch?: never;
|
|
208
|
+
trace?: never;
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
export type webhooks = Record<string, never>;
|
|
212
|
+
export interface components {
|
|
213
|
+
schemas: {
|
|
214
|
+
/** @description RFC 9457 Problem Details response for NENE2 JSON APIs. */
|
|
215
|
+
ProblemDetails: {
|
|
216
|
+
/**
|
|
217
|
+
* Format: uri
|
|
218
|
+
* @description Stable problem type URI.
|
|
219
|
+
* @example https://nene2.dev/problems/not-found
|
|
220
|
+
*/
|
|
221
|
+
type: string;
|
|
222
|
+
/**
|
|
223
|
+
* @description Short, human-readable summary of the problem type.
|
|
224
|
+
* @example Not Found
|
|
225
|
+
*/
|
|
226
|
+
title: string;
|
|
227
|
+
/**
|
|
228
|
+
* Format: int32
|
|
229
|
+
* @description HTTP status code for this occurrence.
|
|
230
|
+
* @example 404
|
|
231
|
+
*/
|
|
232
|
+
status: number;
|
|
233
|
+
/**
|
|
234
|
+
* @description Safe, human-readable detail for this occurrence.
|
|
235
|
+
* @example The requested resource was not found.
|
|
236
|
+
*/
|
|
237
|
+
detail?: string;
|
|
238
|
+
/**
|
|
239
|
+
* @description Request-specific URI or identifier for this occurrence.
|
|
240
|
+
* @example /missing
|
|
241
|
+
*/
|
|
242
|
+
instance?: string;
|
|
243
|
+
} & {
|
|
244
|
+
[key: string]: unknown;
|
|
245
|
+
};
|
|
246
|
+
ValidationProblemDetails: components["schemas"]["ProblemDetails"] & {
|
|
247
|
+
errors: components["schemas"]["ValidationError"][];
|
|
248
|
+
};
|
|
249
|
+
/** @description A single request validation error. */
|
|
250
|
+
ValidationError: {
|
|
251
|
+
/**
|
|
252
|
+
* @description Field name, parameter name, or JSON pointer.
|
|
253
|
+
* @example email
|
|
254
|
+
*/
|
|
255
|
+
field: string;
|
|
256
|
+
/**
|
|
257
|
+
* @description Safe, human-readable validation message.
|
|
258
|
+
* @example Email must be a valid email address.
|
|
259
|
+
*/
|
|
260
|
+
message: string;
|
|
261
|
+
/**
|
|
262
|
+
* @description Stable machine-readable validation code.
|
|
263
|
+
* @example invalid_email
|
|
264
|
+
*/
|
|
265
|
+
code: string;
|
|
266
|
+
};
|
|
267
|
+
FrameworkSmokeResponse: {
|
|
268
|
+
/** @example NENE2 */
|
|
269
|
+
name: string;
|
|
270
|
+
/** @example JSON APIs first, minimal server HTML, frontend ready, AI-readable. */
|
|
271
|
+
description: string;
|
|
272
|
+
/**
|
|
273
|
+
* @example ok
|
|
274
|
+
* @enum {string}
|
|
275
|
+
*/
|
|
276
|
+
status: "ok";
|
|
277
|
+
};
|
|
278
|
+
HealthResponse: {
|
|
279
|
+
/**
|
|
280
|
+
* @example ok
|
|
281
|
+
* @enum {string}
|
|
282
|
+
*/
|
|
283
|
+
status: "ok" | "degraded";
|
|
284
|
+
/** @example NENE2 */
|
|
285
|
+
service: string;
|
|
286
|
+
/**
|
|
287
|
+
* @description Present only when health checks are configured. Each key is a check name; each value is "ok" or "error".
|
|
288
|
+
* @example {
|
|
289
|
+
* "database": "ok"
|
|
290
|
+
* }
|
|
291
|
+
*/
|
|
292
|
+
checks?: {
|
|
293
|
+
[key: string]: "ok" | "error";
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
MachineHealthResponse: {
|
|
297
|
+
/**
|
|
298
|
+
* @example ok
|
|
299
|
+
* @enum {string}
|
|
300
|
+
*/
|
|
301
|
+
status: "ok";
|
|
302
|
+
/** @example NENE2 */
|
|
303
|
+
service: string;
|
|
304
|
+
/**
|
|
305
|
+
* @example api_key
|
|
306
|
+
* @enum {string}
|
|
307
|
+
*/
|
|
308
|
+
credential_type: "api_key";
|
|
309
|
+
};
|
|
310
|
+
ExamplePingResponse: {
|
|
311
|
+
/**
|
|
312
|
+
* @example pong
|
|
313
|
+
* @enum {string}
|
|
314
|
+
*/
|
|
315
|
+
message: "pong";
|
|
316
|
+
/**
|
|
317
|
+
* @example ok
|
|
318
|
+
* @enum {string}
|
|
319
|
+
*/
|
|
320
|
+
status: "ok";
|
|
321
|
+
};
|
|
322
|
+
CreateNoteRequest: {
|
|
323
|
+
/** @example Example Note */
|
|
324
|
+
title: string;
|
|
325
|
+
/** @example This is the body of an example note. */
|
|
326
|
+
body: string;
|
|
327
|
+
};
|
|
328
|
+
ExampleNoteResponse: {
|
|
329
|
+
/**
|
|
330
|
+
* Format: int64
|
|
331
|
+
* @example 1
|
|
332
|
+
*/
|
|
333
|
+
id: number;
|
|
334
|
+
/** @example Example Note */
|
|
335
|
+
title: string;
|
|
336
|
+
/** @example This is the body of an example note. */
|
|
337
|
+
body: string;
|
|
338
|
+
};
|
|
339
|
+
CreateTagRequest: {
|
|
340
|
+
/** @example php */
|
|
341
|
+
name: string;
|
|
342
|
+
};
|
|
343
|
+
ExampleTagResponse: {
|
|
344
|
+
/**
|
|
345
|
+
* Format: int64
|
|
346
|
+
* @example 1
|
|
347
|
+
*/
|
|
348
|
+
id: number;
|
|
349
|
+
/** @example php */
|
|
350
|
+
name: string;
|
|
351
|
+
};
|
|
352
|
+
ExampleTagListResponse: {
|
|
353
|
+
items: components["schemas"]["ExampleTagResponse"][];
|
|
354
|
+
/** @example 20 */
|
|
355
|
+
limit: number;
|
|
356
|
+
/** @example 0 */
|
|
357
|
+
offset: number;
|
|
358
|
+
};
|
|
359
|
+
ProtectedResponse: {
|
|
360
|
+
/** @example Welcome, authenticated user. */
|
|
361
|
+
message: string;
|
|
362
|
+
/**
|
|
363
|
+
* @example {
|
|
364
|
+
* "sub": "user-42",
|
|
365
|
+
* "scope": "read:system"
|
|
366
|
+
* }
|
|
367
|
+
*/
|
|
368
|
+
claims: {
|
|
369
|
+
[key: string]: unknown;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
ExampleNoteListResponse: {
|
|
373
|
+
items: components["schemas"]["ExampleNoteResponse"][];
|
|
374
|
+
/** @example 20 */
|
|
375
|
+
limit: number;
|
|
376
|
+
/** @example 0 */
|
|
377
|
+
offset: number;
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
responses: {
|
|
381
|
+
/** @description Request body is empty, syntactically invalid, or not a JSON object. */
|
|
382
|
+
InvalidJson: {
|
|
383
|
+
headers: {
|
|
384
|
+
[name: string]: unknown;
|
|
385
|
+
};
|
|
386
|
+
content: {
|
|
387
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
/** @description Rate limit exceeded. */
|
|
391
|
+
TooManyRequests: {
|
|
392
|
+
headers: {
|
|
393
|
+
/** @description Seconds until the rate limit window resets. */
|
|
394
|
+
"Retry-After"?: number;
|
|
395
|
+
/** @description Maximum requests allowed in the current window. */
|
|
396
|
+
"X-RateLimit-Limit"?: number;
|
|
397
|
+
/** @description Requests remaining in the current window. */
|
|
398
|
+
"X-RateLimit-Remaining"?: number;
|
|
399
|
+
/** @description Unix timestamp when the rate limit window resets. */
|
|
400
|
+
"X-RateLimit-Reset"?: number;
|
|
401
|
+
[name: string]: unknown;
|
|
402
|
+
};
|
|
403
|
+
content: {
|
|
404
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
/** @description A valid API key is required for this endpoint. */
|
|
408
|
+
Unauthorized: {
|
|
409
|
+
headers: {
|
|
410
|
+
/** @description API-key challenge for machine clients. */
|
|
411
|
+
"WWW-Authenticate"?: string;
|
|
412
|
+
[name: string]: unknown;
|
|
413
|
+
};
|
|
414
|
+
content: {
|
|
415
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
416
|
+
};
|
|
417
|
+
};
|
|
418
|
+
/** @description The requested resource was not found. */
|
|
419
|
+
NotFound: {
|
|
420
|
+
headers: {
|
|
421
|
+
[name: string]: unknown;
|
|
422
|
+
};
|
|
423
|
+
content: {
|
|
424
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
/** @description The requested resource does not support this HTTP method. */
|
|
428
|
+
MethodNotAllowed: {
|
|
429
|
+
headers: {
|
|
430
|
+
/** @description Comma-separated list of allowed HTTP methods. */
|
|
431
|
+
Allow?: string;
|
|
432
|
+
[name: string]: unknown;
|
|
433
|
+
};
|
|
434
|
+
content: {
|
|
435
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
/** @description The request body, query, or path parameters contain invalid values. */
|
|
439
|
+
ValidationFailed: {
|
|
440
|
+
headers: {
|
|
441
|
+
[name: string]: unknown;
|
|
442
|
+
};
|
|
443
|
+
content: {
|
|
444
|
+
"application/problem+json": components["schemas"]["ValidationProblemDetails"];
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
/** @description The request body exceeds the configured size limit. */
|
|
448
|
+
PayloadTooLarge: {
|
|
449
|
+
headers: {
|
|
450
|
+
[name: string]: unknown;
|
|
451
|
+
};
|
|
452
|
+
content: {
|
|
453
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
/** @description The server encountered an unexpected condition. */
|
|
457
|
+
InternalServerError: {
|
|
458
|
+
headers: {
|
|
459
|
+
[name: string]: unknown;
|
|
460
|
+
};
|
|
461
|
+
content: {
|
|
462
|
+
"application/problem+json": components["schemas"]["ProblemDetails"];
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
parameters: never;
|
|
467
|
+
requestBodies: never;
|
|
468
|
+
headers: never;
|
|
469
|
+
pathItems: never;
|
|
470
|
+
}
|
|
471
|
+
export type $defs = Record<string, never>;
|
|
472
|
+
export interface operations {
|
|
473
|
+
getFrameworkSmoke: {
|
|
474
|
+
parameters: {
|
|
475
|
+
query?: never;
|
|
476
|
+
header?: never;
|
|
477
|
+
path?: never;
|
|
478
|
+
cookie?: never;
|
|
479
|
+
};
|
|
480
|
+
requestBody?: never;
|
|
481
|
+
responses: {
|
|
482
|
+
/** @description Framework smoke response. */
|
|
483
|
+
200: {
|
|
484
|
+
headers: {
|
|
485
|
+
[name: string]: unknown;
|
|
486
|
+
};
|
|
487
|
+
content: {
|
|
488
|
+
"application/json": components["schemas"]["FrameworkSmokeResponse"];
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
492
|
+
500: components["responses"]["InternalServerError"];
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
getHealth: {
|
|
496
|
+
parameters: {
|
|
497
|
+
query?: never;
|
|
498
|
+
header?: never;
|
|
499
|
+
path?: never;
|
|
500
|
+
cookie?: never;
|
|
501
|
+
};
|
|
502
|
+
requestBody?: never;
|
|
503
|
+
responses: {
|
|
504
|
+
/** @description All configured checks passed (or no checks configured). */
|
|
505
|
+
200: {
|
|
506
|
+
headers: {
|
|
507
|
+
[name: string]: unknown;
|
|
508
|
+
};
|
|
509
|
+
content: {
|
|
510
|
+
"application/json": components["schemas"]["HealthResponse"];
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
514
|
+
500: components["responses"]["InternalServerError"];
|
|
515
|
+
/** @description One or more health checks failed. */
|
|
516
|
+
503: {
|
|
517
|
+
headers: {
|
|
518
|
+
[name: string]: unknown;
|
|
519
|
+
};
|
|
520
|
+
content: {
|
|
521
|
+
"application/json": components["schemas"]["HealthResponse"];
|
|
522
|
+
};
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
getMachineHealth: {
|
|
527
|
+
parameters: {
|
|
528
|
+
query?: never;
|
|
529
|
+
header?: never;
|
|
530
|
+
path?: never;
|
|
531
|
+
cookie?: never;
|
|
532
|
+
};
|
|
533
|
+
requestBody?: never;
|
|
534
|
+
responses: {
|
|
535
|
+
/** @description Machine health response. */
|
|
536
|
+
200: {
|
|
537
|
+
headers: {
|
|
538
|
+
[name: string]: unknown;
|
|
539
|
+
};
|
|
540
|
+
content: {
|
|
541
|
+
"application/json": components["schemas"]["MachineHealthResponse"];
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
401: components["responses"]["Unauthorized"];
|
|
545
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
546
|
+
500: components["responses"]["InternalServerError"];
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
getProtected: {
|
|
550
|
+
parameters: {
|
|
551
|
+
query?: never;
|
|
552
|
+
header?: never;
|
|
553
|
+
path?: never;
|
|
554
|
+
cookie?: never;
|
|
555
|
+
};
|
|
556
|
+
requestBody?: never;
|
|
557
|
+
responses: {
|
|
558
|
+
/** @description Authenticated response with JWT claims. */
|
|
559
|
+
200: {
|
|
560
|
+
headers: {
|
|
561
|
+
[name: string]: unknown;
|
|
562
|
+
};
|
|
563
|
+
content: {
|
|
564
|
+
"application/json": components["schemas"]["ProtectedResponse"];
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
401: components["responses"]["Unauthorized"];
|
|
568
|
+
500: components["responses"]["InternalServerError"];
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
listExampleTags: {
|
|
572
|
+
parameters: {
|
|
573
|
+
query?: {
|
|
574
|
+
/** @description Maximum number of tags to return (1–100). */
|
|
575
|
+
limit?: number;
|
|
576
|
+
/** @description Number of tags to skip before returning results. */
|
|
577
|
+
offset?: number;
|
|
578
|
+
};
|
|
579
|
+
header?: never;
|
|
580
|
+
path?: never;
|
|
581
|
+
cookie?: never;
|
|
582
|
+
};
|
|
583
|
+
requestBody?: never;
|
|
584
|
+
responses: {
|
|
585
|
+
/** @description List of tags. */
|
|
586
|
+
200: {
|
|
587
|
+
headers: {
|
|
588
|
+
[name: string]: unknown;
|
|
589
|
+
};
|
|
590
|
+
content: {
|
|
591
|
+
"application/json": components["schemas"]["ExampleTagListResponse"];
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
422: components["responses"]["ValidationFailed"];
|
|
595
|
+
500: components["responses"]["InternalServerError"];
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
createExampleTag: {
|
|
599
|
+
parameters: {
|
|
600
|
+
query?: never;
|
|
601
|
+
header?: never;
|
|
602
|
+
path?: never;
|
|
603
|
+
cookie?: never;
|
|
604
|
+
};
|
|
605
|
+
requestBody: {
|
|
606
|
+
content: {
|
|
607
|
+
"application/json": components["schemas"]["CreateTagRequest"];
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
responses: {
|
|
611
|
+
/** @description Tag created. */
|
|
612
|
+
201: {
|
|
613
|
+
headers: {
|
|
614
|
+
/** @description URI of the created tag. */
|
|
615
|
+
Location?: string;
|
|
616
|
+
[name: string]: unknown;
|
|
617
|
+
};
|
|
618
|
+
content: {
|
|
619
|
+
"application/json": components["schemas"]["ExampleTagResponse"];
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
400: components["responses"]["InvalidJson"];
|
|
623
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
624
|
+
422: components["responses"]["ValidationFailed"];
|
|
625
|
+
500: components["responses"]["InternalServerError"];
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
getExampleTagById: {
|
|
629
|
+
parameters: {
|
|
630
|
+
query?: never;
|
|
631
|
+
header?: never;
|
|
632
|
+
path: {
|
|
633
|
+
/** @description Tag ID. */
|
|
634
|
+
id: number;
|
|
635
|
+
};
|
|
636
|
+
cookie?: never;
|
|
637
|
+
};
|
|
638
|
+
requestBody?: never;
|
|
639
|
+
responses: {
|
|
640
|
+
/** @description Tag found. */
|
|
641
|
+
200: {
|
|
642
|
+
headers: {
|
|
643
|
+
[name: string]: unknown;
|
|
644
|
+
};
|
|
645
|
+
content: {
|
|
646
|
+
"application/json": components["schemas"]["ExampleTagResponse"];
|
|
647
|
+
};
|
|
648
|
+
};
|
|
649
|
+
404: components["responses"]["NotFound"];
|
|
650
|
+
500: components["responses"]["InternalServerError"];
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
updateExampleTagById: {
|
|
654
|
+
parameters: {
|
|
655
|
+
query?: never;
|
|
656
|
+
header?: never;
|
|
657
|
+
path: {
|
|
658
|
+
/** @description Tag ID. */
|
|
659
|
+
id: number;
|
|
660
|
+
};
|
|
661
|
+
cookie?: never;
|
|
662
|
+
};
|
|
663
|
+
requestBody: {
|
|
664
|
+
content: {
|
|
665
|
+
"application/json": components["schemas"]["CreateTagRequest"];
|
|
666
|
+
};
|
|
667
|
+
};
|
|
668
|
+
responses: {
|
|
669
|
+
/** @description Tag updated. */
|
|
670
|
+
200: {
|
|
671
|
+
headers: {
|
|
672
|
+
[name: string]: unknown;
|
|
673
|
+
};
|
|
674
|
+
content: {
|
|
675
|
+
"application/json": components["schemas"]["ExampleTagResponse"];
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
400: components["responses"]["InvalidJson"];
|
|
679
|
+
404: components["responses"]["NotFound"];
|
|
680
|
+
422: components["responses"]["ValidationFailed"];
|
|
681
|
+
500: components["responses"]["InternalServerError"];
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
deleteExampleTagById: {
|
|
685
|
+
parameters: {
|
|
686
|
+
query?: never;
|
|
687
|
+
header?: never;
|
|
688
|
+
path: {
|
|
689
|
+
/** @description Tag ID. */
|
|
690
|
+
id: number;
|
|
691
|
+
};
|
|
692
|
+
cookie?: never;
|
|
693
|
+
};
|
|
694
|
+
requestBody?: never;
|
|
695
|
+
responses: {
|
|
696
|
+
/** @description Tag deleted. */
|
|
697
|
+
204: {
|
|
698
|
+
headers: {
|
|
699
|
+
[name: string]: unknown;
|
|
700
|
+
};
|
|
701
|
+
content?: never;
|
|
702
|
+
};
|
|
703
|
+
404: components["responses"]["NotFound"];
|
|
704
|
+
500: components["responses"]["InternalServerError"];
|
|
705
|
+
};
|
|
706
|
+
};
|
|
707
|
+
listExampleNotes: {
|
|
708
|
+
parameters: {
|
|
709
|
+
query?: {
|
|
710
|
+
/** @description Maximum number of notes to return (1–100). */
|
|
711
|
+
limit?: number;
|
|
712
|
+
/** @description Number of notes to skip before returning results. */
|
|
713
|
+
offset?: number;
|
|
714
|
+
};
|
|
715
|
+
header?: never;
|
|
716
|
+
path?: never;
|
|
717
|
+
cookie?: never;
|
|
718
|
+
};
|
|
719
|
+
requestBody?: never;
|
|
720
|
+
responses: {
|
|
721
|
+
/** @description List of notes. */
|
|
722
|
+
200: {
|
|
723
|
+
headers: {
|
|
724
|
+
[name: string]: unknown;
|
|
725
|
+
};
|
|
726
|
+
content: {
|
|
727
|
+
"application/json": components["schemas"]["ExampleNoteListResponse"];
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
422: components["responses"]["ValidationFailed"];
|
|
731
|
+
500: components["responses"]["InternalServerError"];
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
createExampleNote: {
|
|
735
|
+
parameters: {
|
|
736
|
+
query?: never;
|
|
737
|
+
header?: never;
|
|
738
|
+
path?: never;
|
|
739
|
+
cookie?: never;
|
|
740
|
+
};
|
|
741
|
+
requestBody: {
|
|
742
|
+
content: {
|
|
743
|
+
"application/json": components["schemas"]["CreateNoteRequest"];
|
|
744
|
+
};
|
|
745
|
+
};
|
|
746
|
+
responses: {
|
|
747
|
+
/** @description Note created. */
|
|
748
|
+
201: {
|
|
749
|
+
headers: {
|
|
750
|
+
/** @description URI of the created note. */
|
|
751
|
+
Location?: string;
|
|
752
|
+
[name: string]: unknown;
|
|
753
|
+
};
|
|
754
|
+
content: {
|
|
755
|
+
"application/json": components["schemas"]["ExampleNoteResponse"];
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
400: components["responses"]["InvalidJson"];
|
|
759
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
760
|
+
422: components["responses"]["ValidationFailed"];
|
|
761
|
+
500: components["responses"]["InternalServerError"];
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
getExampleNoteById: {
|
|
765
|
+
parameters: {
|
|
766
|
+
query?: never;
|
|
767
|
+
header?: never;
|
|
768
|
+
path: {
|
|
769
|
+
/**
|
|
770
|
+
* @description Note id.
|
|
771
|
+
* @example 1
|
|
772
|
+
*/
|
|
773
|
+
id: number;
|
|
774
|
+
};
|
|
775
|
+
cookie?: never;
|
|
776
|
+
};
|
|
777
|
+
requestBody?: never;
|
|
778
|
+
responses: {
|
|
779
|
+
/** @description Note response. */
|
|
780
|
+
200: {
|
|
781
|
+
headers: {
|
|
782
|
+
[name: string]: unknown;
|
|
783
|
+
};
|
|
784
|
+
content: {
|
|
785
|
+
"application/json": components["schemas"]["ExampleNoteResponse"];
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
404: components["responses"]["NotFound"];
|
|
789
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
790
|
+
500: components["responses"]["InternalServerError"];
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
updateExampleNoteById: {
|
|
794
|
+
parameters: {
|
|
795
|
+
query?: never;
|
|
796
|
+
header?: never;
|
|
797
|
+
path: {
|
|
798
|
+
/**
|
|
799
|
+
* @description Note id.
|
|
800
|
+
* @example 1
|
|
801
|
+
*/
|
|
802
|
+
id: number;
|
|
803
|
+
};
|
|
804
|
+
cookie?: never;
|
|
805
|
+
};
|
|
806
|
+
requestBody: {
|
|
807
|
+
content: {
|
|
808
|
+
"application/json": components["schemas"]["CreateNoteRequest"];
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
responses: {
|
|
812
|
+
/** @description Note updated. */
|
|
813
|
+
200: {
|
|
814
|
+
headers: {
|
|
815
|
+
[name: string]: unknown;
|
|
816
|
+
};
|
|
817
|
+
content: {
|
|
818
|
+
"application/json": components["schemas"]["ExampleNoteResponse"];
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
400: components["responses"]["InvalidJson"];
|
|
822
|
+
404: components["responses"]["NotFound"];
|
|
823
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
824
|
+
422: components["responses"]["ValidationFailed"];
|
|
825
|
+
500: components["responses"]["InternalServerError"];
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
deleteExampleNoteById: {
|
|
829
|
+
parameters: {
|
|
830
|
+
query?: never;
|
|
831
|
+
header?: never;
|
|
832
|
+
path: {
|
|
833
|
+
/**
|
|
834
|
+
* @description Note id.
|
|
835
|
+
* @example 1
|
|
836
|
+
*/
|
|
837
|
+
id: number;
|
|
838
|
+
};
|
|
839
|
+
cookie?: never;
|
|
840
|
+
};
|
|
841
|
+
requestBody?: never;
|
|
842
|
+
responses: {
|
|
843
|
+
/** @description Note deleted. */
|
|
844
|
+
204: {
|
|
845
|
+
headers: {
|
|
846
|
+
[name: string]: unknown;
|
|
847
|
+
};
|
|
848
|
+
content?: never;
|
|
849
|
+
};
|
|
850
|
+
404: components["responses"]["NotFound"];
|
|
851
|
+
500: components["responses"]["InternalServerError"];
|
|
852
|
+
};
|
|
853
|
+
};
|
|
854
|
+
getExamplePing: {
|
|
855
|
+
parameters: {
|
|
856
|
+
query?: never;
|
|
857
|
+
header?: never;
|
|
858
|
+
path?: never;
|
|
859
|
+
cookie?: never;
|
|
860
|
+
};
|
|
861
|
+
requestBody?: never;
|
|
862
|
+
responses: {
|
|
863
|
+
/** @description Example ping response. */
|
|
864
|
+
200: {
|
|
865
|
+
headers: {
|
|
866
|
+
[name: string]: unknown;
|
|
867
|
+
};
|
|
868
|
+
content: {
|
|
869
|
+
"application/json": components["schemas"]["ExamplePingResponse"];
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
413: components["responses"]["PayloadTooLarge"];
|
|
873
|
+
500: components["responses"]["InternalServerError"];
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
}
|
|
877
|
+
//# sourceMappingURL=openapi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../../src/generated/openapi.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,KAAK;IAClB,GAAG,EAAE;QACD,UAAU,EAAE;YACR,KAAK,CAAC,EAAE,KAAK,CAAC;YACd,MAAM,CAAC,EAAE,KAAK,CAAC;YACf,IAAI,CAAC,EAAE,KAAK,CAAC;YACb,MAAM,CAAC,EAAE,KAAK,CAAC;SAClB,CAAC;QACF;;;WAGG;QACH,GAAG,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;QACrC,GAAG,CAAC,EAAE,KAAK,CAAC;QACZ,IAAI,CAAC,EAAE,KAAK,CAAC;QACb,MAAM,CAAC,EAAE,KAAK,CAAC;QACf,OAAO,CAAC,EAAE,KAAK,CAAC;QAChB,IAAI,CAAC,EAAE,KAAK,CAAC;QACb,KAAK,CAAC,EAAE,KAAK,CAAC;QACd,KAAK,CAAC,EAAE,KAAK,CAAC;KACjB,CAAC;IACF,SAAS,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IAAI,CAAC,EAAE,KAAK,CAAC;YACb,MAAM,CAAC,EAAE,KAAK,CAAC;SAClB,CAAC;QACF,WAAW,CAAC,EAAE,KAAK,CAAC;QACpB,SAAS,EAAE;YACP,0CAA0C;YAC1C,GAAG,EAAE;gBACD,OAAO,EAAE;oBACL,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;iBAC3B,CAAC;gBACF,OAAO,EAAE;oBACL,kBAAkB,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,qBAAqB,CAAC,CAAC;iBACpE,CAAC;aACL,CAAC;YACF,GAAG,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC,iBAAiB,CAAC,CAAC;YAChD,GAAG,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC,qBAAqB,CAAC,CAAC;SACvD,CAAC;KACL,CAAC;CACL"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openapi.js","sourceRoot":"","sources":["../../src/generated/openapi.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export declare const NENE2_CLIENT_PACKAGE: "@hideyukimori/nene2-client";
|
|
|
6
6
|
export { NENE2_PROBLEM_TYPE_VALIDATION_FAILED, isNene2ValidationFailedProblem, isNene2ValidationFailedType, isProblemDetails, isValidationError, isValidationProblemDetails, parseProblemDetails, parseProblemDetailsResponse, parseValidationProblemDetails, problemDetailsExtensions, } from './problem/index.js';
|
|
7
7
|
export type { ProblemDetails, ProblemDetailsDocument, ValidationError, ValidationProblemDetails, ValidationProblemDetailsDocument, } from './problem/index.js';
|
|
8
8
|
export { createNene2Client, isNene2ClientError, Nene2ClientError, validationErrorsByField, validationErrorsFromClientError, type HealthOptions, type Nene2Client, type Nene2ClientConfig, } from './client/index.js';
|
|
9
|
+
export type { OpenApiSchemas } from './types/schemas.js';
|
|
9
10
|
export type { CreateNoteRequest, CreateTagRequest, ExampleNote, ExampleNoteListResponse, ExamplePingResponse, ExampleTag, ExampleTagListResponse, FrameworkSmokeResponse, HealthResponse, HealthStatus, ListNotesParams, ListTagsParams, MachineHealthResponse, ProtectedResponse, SmokeCheckResult, } from './types/index.js';
|
|
10
11
|
export { isCreateNoteRequest, isCreateTagRequest, isExampleNoteListResponse, isExampleNoteResponse, isExamplePingResponse, isExampleTagListResponse, isExampleTagResponse, isFrameworkSmokeResponse, isHealthResponse, isMachineHealthResponse, isProtectedResponse, } from './types/index.js';
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAG,4BAAqC,CAAC;AAE1E,OAAO,EACL,oCAAoC,EACpC,8BAA8B,EAC9B,2BAA2B,EAC3B,gBAAgB,EAChB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,EAC7B,wBAAwB,GACzB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,cAAc,EACd,sBAAsB,EACtB,eAAe,EACf,wBAAwB,EACxB,gCAAgC,GACjC,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,+BAA+B,EAC/B,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,iBAAiB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,uBAAuB,EACvB,mBAAmB,EACnB,UAAU,EACV,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,wBAAwB,EACxB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAG,4BAAqC,CAAC;AAE1E,OAAO,EACL,oCAAoC,EACpC,8BAA8B,EAC9B,2BAA2B,EAC3B,gBAAgB,EAChB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,EAC7B,wBAAwB,GACzB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,cAAc,EACd,sBAAsB,EACtB,eAAe,EACf,wBAAwB,EACxB,gCAAgC,GACjC,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,+BAA+B,EAC/B,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,iBAAiB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACzD,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,uBAAuB,EACvB,mBAAmB,EACnB,UAAU,EACV,sBAAsB,EACtB,sBAAsB,EACtB,cAAc,EACd,YAAY,EACZ,eAAe,EACf,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,wBAAwB,EACxB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,4BAAqC,CAAC;AAE1E,OAAO,EACL,oCAAoC,EACpC,8BAA8B,EAC9B,2BAA2B,EAC3B,gBAAgB,EAChB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,EAC7B,wBAAwB,GACzB,MAAM,oBAAoB,CAAC;AAS5B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,+BAA+B,GAIhC,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,4BAAqC,CAAC;AAE1E,OAAO,EACL,oCAAoC,EACpC,8BAA8B,EAC9B,2BAA2B,EAC3B,gBAAgB,EAChB,iBAAiB,EACjB,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,EAC7B,wBAAwB,GACzB,MAAM,oBAAoB,CAAC;AAS5B,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,uBAAuB,EACvB,+BAA+B,GAIhC,MAAM,mBAAmB,CAAC;AAmB3B,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,wBAAwB,EACxB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC"}
|
package/dist/problem/types.d.ts
CHANGED
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* RFC 9457 Problem Details types aligned with NENE2 OpenAPI schemas.
|
|
3
|
-
* @see contracts/openapi.yaml — ProblemDetails, ValidationProblemDetails, ValidationError
|
|
4
3
|
*/
|
|
5
|
-
|
|
6
|
-
export
|
|
7
|
-
readonly field: string;
|
|
8
|
-
readonly message: string;
|
|
9
|
-
readonly code: string;
|
|
10
|
-
}
|
|
11
|
-
/** NENE2 base Problem Details (required: type, title, status). */
|
|
12
|
-
export interface ProblemDetails {
|
|
13
|
-
readonly type: string;
|
|
14
|
-
readonly title: string;
|
|
15
|
-
readonly status: number;
|
|
16
|
-
readonly detail?: string | undefined;
|
|
17
|
-
readonly instance?: string | undefined;
|
|
18
|
-
}
|
|
19
|
-
/** Problem Details with `errors` (HTTP 422 validation-failed). */
|
|
20
|
-
export interface ValidationProblemDetails extends ProblemDetails {
|
|
21
|
-
readonly errors: readonly ValidationError[];
|
|
22
|
-
}
|
|
4
|
+
import type { ProblemDetails, ValidationError, ValidationProblemDetails } from '../types/schemas.js';
|
|
5
|
+
export type { ProblemDetails, ValidationError, ValidationProblemDetails };
|
|
23
6
|
/** Parsed body may include RFC 9457 extension members at the top level. */
|
|
24
7
|
export type ProblemDetailsDocument = ProblemDetails & Record<string, unknown>;
|
|
25
8
|
export type ValidationProblemDetailsDocument = ValidationProblemDetails & Record<string, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/problem/types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/problem/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,wBAAwB,EACzB,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,wBAAwB,EAAE,CAAC;AAE1E,2EAA2E;AAC3E,MAAM,MAAM,sBAAsB,GAAG,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE9E,MAAM,MAAM,gCAAgC,GAAG,wBAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC"}
|
package/dist/problem/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/problem/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/problem/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Example notes types (OpenAPI
|
|
2
|
+
* Example notes types and guards (OpenAPI-aligned).
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly body: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ExampleNoteListResponse {
|
|
10
|
-
readonly items: readonly ExampleNote[];
|
|
11
|
-
readonly limit: number;
|
|
12
|
-
readonly offset: number;
|
|
13
|
-
}
|
|
14
|
-
export interface CreateNoteRequest {
|
|
15
|
-
readonly title: string;
|
|
16
|
-
readonly body: string;
|
|
17
|
-
}
|
|
4
|
+
import type { CreateNoteRequest, ExampleNote, ExampleNoteListResponse } from '../schemas.js';
|
|
5
|
+
export type { CreateNoteRequest, ExampleNote, ExampleNoteListResponse } from '../schemas.js';
|
|
6
|
+
/** Query params for GET /examples/notes (not a named OpenAPI schema). */
|
|
18
7
|
export type ListNotesParams = {
|
|
19
8
|
readonly limit?: number;
|
|
20
9
|
readonly offset?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notes.d.ts","sourceRoot":"","sources":["../../../src/types/examples/notes.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"notes.d.ts","sourceRoot":"","sources":["../../../src/types/examples/notes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAE7F,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAE7F,yEAAyE;AACzE,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAeF,0CAA0C;AAC1C,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW,CAE1E;AAED,sDAAsD;AACtD,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,uBAAuB,CAS1F;AAED,oFAAoF;AACpF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,iBAAiB,CAQ9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notes.js","sourceRoot":"","sources":["../../../src/types/examples/notes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notes.js","sourceRoot":"","sources":["../../../src/types/examples/notes.ts"],"names":[],"mappings":"AAaA,SAAS,aAAa,CAAC,KAAc;IACnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAgC,CAAC;IAC7D,OAAO,CACL,OAAO,EAAE,KAAK,QAAQ;QACtB,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC;QACpB,OAAO,KAAK,KAAK,QAAQ;QACzB,OAAO,IAAI,KAAK,QAAQ,CACzB,CAAC;AACJ,CAAC;AAED,0CAA0C;AAC1C,MAAM,UAAU,qBAAqB,CAAC,KAAc;IAClD,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC;AAED,sDAAsD;AACtD,MAAM,UAAU,yBAAyB,CAAC,KAAc;IACtD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,KAAgC,CAAC;IAClE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC;QACzD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,MAAM,KAAK,QAAQ,CAAC;AACjE,CAAC;AAED,oFAAoF;AACpF,MAAM,UAAU,mBAAmB,CAAC,KAAc;IAChD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,KAAgC,CAAC;IACzD,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,CAC7F,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Protected example response (OpenAPI
|
|
2
|
+
* Protected example response (OpenAPI-aligned).
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
readonly claims: Readonly<Record<string, unknown>>;
|
|
7
|
-
}
|
|
4
|
+
import type { ProtectedResponse } from '../schemas.js';
|
|
5
|
+
export type { ProtectedResponse } from '../schemas.js';
|
|
8
6
|
/** Type guard for {@link ProtectedResponse}. */
|
|
9
7
|
export declare function isProtectedResponse(value: unknown): value is ProtectedResponse;
|
|
10
8
|
//# sourceMappingURL=protected.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protected.d.ts","sourceRoot":"","sources":["../../../src/types/examples/protected.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"protected.d.ts","sourceRoot":"","sources":["../../../src/types/examples/protected.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,gDAAgD;AAChD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,iBAAiB,CAW9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protected.js","sourceRoot":"","sources":["../../../src/types/examples/protected.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"protected.js","sourceRoot":"","sources":["../../../src/types/examples/protected.ts"],"names":[],"mappings":"AAOA,gDAAgD;AAChD,MAAM,UAAU,mBAAmB,CAAC,KAAc;IAChD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,KAAgC,CAAC;IAC7D,OAAO,CACL,OAAO,OAAO,KAAK,QAAQ;QAC3B,OAAO,MAAM,KAAK,QAAQ;QAC1B,MAAM,KAAK,IAAI;QACf,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CACvB,CAAC;AACJ,CAAC"}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Example tags types (OpenAPI
|
|
2
|
+
* Example tags types and guards (OpenAPI-aligned).
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export interface ExampleTagListResponse {
|
|
9
|
-
readonly items: readonly ExampleTag[];
|
|
10
|
-
readonly limit: number;
|
|
11
|
-
readonly offset: number;
|
|
12
|
-
}
|
|
13
|
-
export interface CreateTagRequest {
|
|
14
|
-
readonly name: string;
|
|
15
|
-
}
|
|
4
|
+
import type { CreateTagRequest, ExampleTag, ExampleTagListResponse } from '../schemas.js';
|
|
5
|
+
export type { CreateTagRequest, ExampleTag, ExampleTagListResponse } from '../schemas.js';
|
|
6
|
+
/** Query params for GET /examples/tags (not a named OpenAPI schema). */
|
|
16
7
|
export type ListTagsParams = {
|
|
17
8
|
readonly limit?: number;
|
|
18
9
|
readonly offset?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../src/types/examples/tags.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../src/types/examples/tags.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE1F,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAE1F,wEAAwE;AACxE,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAUF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAExE;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,sBAAsB,CASxF;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,gBAAgB,CAM5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tags.js","sourceRoot":"","sources":["../../../src/types/examples/tags.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tags.js","sourceRoot":"","sources":["../../../src/types/examples/tags.ts"],"names":[],"mappings":"AAaA,SAAS,YAAY,CAAC,KAAc;IAClC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,KAAgC,CAAC;IACtD,OAAO,OAAO,EAAE,KAAK,QAAQ,IAAI,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,OAAO,IAAI,KAAK,QAAQ,CAAC;AACpF,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,KAAc;IACjD,OAAO,YAAY,CAAC,KAAK,CAAC,CAAC;AAC7B,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,KAAc;IACrD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,KAAgC,CAAC;IAClE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,CAAC;QACxD,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,MAAM,KAAK,QAAQ,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC/C,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,EAAE,IAAI,EAAE,GAAG,KAAgC,CAAC;IAClD,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;AACrD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI component schema aliases (ADR 0006). Source: src/generated/openapi.ts
|
|
3
|
+
*/
|
|
4
|
+
import type { components } from '../generated/openapi.js';
|
|
5
|
+
export type OpenApiSchemas = components['schemas'];
|
|
6
|
+
export type ProblemDetails = OpenApiSchemas['ProblemDetails'];
|
|
7
|
+
export type ValidationError = OpenApiSchemas['ValidationError'];
|
|
8
|
+
export type ValidationProblemDetails = OpenApiSchemas['ValidationProblemDetails'];
|
|
9
|
+
export type FrameworkSmokeResponse = OpenApiSchemas['FrameworkSmokeResponse'];
|
|
10
|
+
export type HealthResponse = OpenApiSchemas['HealthResponse'];
|
|
11
|
+
export type HealthStatus = HealthResponse['status'];
|
|
12
|
+
export type MachineHealthResponse = OpenApiSchemas['MachineHealthResponse'];
|
|
13
|
+
export type ExamplePingResponse = OpenApiSchemas['ExamplePingResponse'];
|
|
14
|
+
export type CreateNoteRequest = OpenApiSchemas['CreateNoteRequest'];
|
|
15
|
+
export type ExampleNote = OpenApiSchemas['ExampleNoteResponse'];
|
|
16
|
+
export type ExampleNoteListResponse = OpenApiSchemas['ExampleNoteListResponse'];
|
|
17
|
+
export type CreateTagRequest = OpenApiSchemas['CreateTagRequest'];
|
|
18
|
+
export type ExampleTag = OpenApiSchemas['ExampleTagResponse'];
|
|
19
|
+
export type ExampleTagListResponse = OpenApiSchemas['ExampleTagListResponse'];
|
|
20
|
+
export type ProtectedResponse = OpenApiSchemas['ProtectedResponse'];
|
|
21
|
+
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/types/schemas.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;AAEnD,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAC9D,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC,iBAAiB,CAAC,CAAC;AAChE,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,0BAA0B,CAAC,CAAC;AAElF,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,wBAAwB,CAAC,CAAC;AAC9E,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAC9D,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,QAAQ,CAAC,CAAC;AACpD,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,qBAAqB,CAAC,CAAC;AAExE,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,mBAAmB,CAAC,CAAC;AACpE,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,qBAAqB,CAAC,CAAC;AAChE,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,yBAAyB,CAAC,CAAC;AAEhF,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,kBAAkB,CAAC,CAAC;AAClE,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAC9D,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,wBAAwB,CAAC,CAAC;AAE9E,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../src/types/schemas.ts"],"names":[],"mappings":""}
|
package/dist/types/system.d.ts
CHANGED
|
@@ -1,26 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* System endpoint
|
|
2
|
+
* System endpoint types (OpenAPI-aligned) and runtime guards.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
readonly service: string;
|
|
8
|
-
readonly checks?: Readonly<Record<string, 'ok' | 'error'>>;
|
|
9
|
-
}
|
|
10
|
-
export interface ExamplePingResponse {
|
|
11
|
-
readonly message: 'pong';
|
|
12
|
-
readonly status: 'ok';
|
|
13
|
-
}
|
|
14
|
-
export interface FrameworkSmokeResponse {
|
|
15
|
-
readonly name: string;
|
|
16
|
-
readonly description: string;
|
|
17
|
-
readonly status: 'ok';
|
|
18
|
-
}
|
|
19
|
-
export interface MachineHealthResponse {
|
|
20
|
-
readonly status: 'ok';
|
|
21
|
-
readonly service: string;
|
|
22
|
-
readonly credential_type: string;
|
|
23
|
-
}
|
|
4
|
+
import type { ExamplePingResponse, FrameworkSmokeResponse, HealthResponse, MachineHealthResponse } from './schemas.js';
|
|
5
|
+
export type { ExamplePingResponse, FrameworkSmokeResponse, HealthResponse, HealthStatus, MachineHealthResponse, } from './schemas.js';
|
|
6
|
+
/** Composite result of {@link createNene2Client#smoke} (not an OpenAPI schema). */
|
|
24
7
|
export interface SmokeCheckResult {
|
|
25
8
|
readonly health: HealthResponse;
|
|
26
9
|
readonly ping: ExamplePingResponse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/types/system.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../src/types/system.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EACV,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,qBAAqB,EACtB,MAAM,cAAc,CAAC;AAEtB,YAAY,EACV,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,YAAY,EACZ,qBAAqB,GACtB,MAAM,cAAc,CAAC;AAEtB,mFAAmF;AACnF,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;CACpC;AASD,6CAA6C;AAC7C,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAkBxE;AAED,kDAAkD;AAClD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,mBAAmB,CAMlF;AAED,qDAAqD;AACrD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,sBAAsB,CAMxF;AAED,oDAAoD;AACpD,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,qBAAqB,CAMtF"}
|
package/dist/types/system.js
CHANGED
package/dist/types/system.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../src/types/system.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"system.js","sourceRoot":"","sources":["../../src/types/system.ts"],"names":[],"mappings":"AAwBA,SAAS,cAAc,CAAC,KAAc;IACpC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,KAA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K,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,KAAgC,CAAC;IACvE,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,OAAO,WAAW,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,CAAC;AACxF,CAAC;AAED,oDAAoD;AACpD,MAAM,UAAU,uBAAuB,CAAC,KAAc;IACpD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACxE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,KAAgC,CAAC;IAC9E,OAAO,MAAM,KAAK,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,eAAe,KAAK,QAAQ,CAAC;AAC/F,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hideyukimori/nene2-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "TypeScript client ecosystem for NENE2 JSON APIs (OpenAPI-aligned)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
"type": "git",
|
|
25
25
|
"url": "git+https://github.com/hideyukiMORI/nene2-js.git"
|
|
26
26
|
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public",
|
|
29
|
+
"provenance": true
|
|
30
|
+
},
|
|
27
31
|
"engines": {
|
|
28
32
|
"node": ">=22 <25",
|
|
29
33
|
"npm": ">=10 <12"
|
|
@@ -40,10 +44,12 @@
|
|
|
40
44
|
"ft:marathon": "npm run test:ft-marathon && npm run ft:reports",
|
|
41
45
|
"contracts:sync": "node tools/sync-openapi.mjs",
|
|
42
46
|
"contracts:check": "node tools/sync-openapi.mjs --check",
|
|
47
|
+
"codegen": "node tools/codegen-openapi.mjs",
|
|
48
|
+
"codegen:check": "node tools/codegen-check.mjs",
|
|
43
49
|
"build": "tsc -p tsconfig.build.json",
|
|
44
50
|
"pack:smoke": "node tools/smoke-pack.mjs",
|
|
45
51
|
"prepublishOnly": "npm run build",
|
|
46
|
-
"check": "npm run type-check && npm run lint && npm run format && npm run contracts:check && npm run build && npm run test && npm run pack:smoke"
|
|
52
|
+
"check": "npm run type-check && npm run lint && npm run format && npm run contracts:check && npm run codegen:check && npm run build && npm run test && npm run pack:smoke"
|
|
47
53
|
},
|
|
48
54
|
"keywords": [
|
|
49
55
|
"nene2",
|
|
@@ -56,6 +62,7 @@
|
|
|
56
62
|
"@eslint/js": "^9.39.3",
|
|
57
63
|
"@types/node": "^22.19.19",
|
|
58
64
|
"eslint": "^9.39.3",
|
|
65
|
+
"openapi-typescript": "^7.13.0",
|
|
59
66
|
"prettier": "^3.8.1",
|
|
60
67
|
"typescript": "^5.9.3",
|
|
61
68
|
"typescript-eslint": "^8.59.3",
|