chowbea-axios 1.0.4 → 1.0.5
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/dist/lib/generator.js +6 -6
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/lib/generator.js
CHANGED
|
@@ -670,18 +670,18 @@ export type ServerRequestBody<OpId extends keyof operations> = ExpandRecursively
|
|
|
670
670
|
export type ServerRequestParams<OpId extends keyof operations> = ExpandRecursively<
|
|
671
671
|
operations[OpId] extends { parameters: infer P }
|
|
672
672
|
? P extends { path?: infer Path; query?: infer Query }
|
|
673
|
-
? (Path extends Record<string, unknown> ? { path: Path } :
|
|
674
|
-
(Query extends Record<string, unknown> ? { query?: Query } :
|
|
673
|
+
? (Path extends Record<string, unknown> ? { path: Path } : {}) &
|
|
674
|
+
(Query extends Record<string, unknown> ? { query?: Query } : {})
|
|
675
675
|
: P extends { path?: infer Path }
|
|
676
676
|
? Path extends Record<string, unknown>
|
|
677
677
|
? { path: Path }
|
|
678
|
-
:
|
|
678
|
+
: {}
|
|
679
679
|
: P extends { query?: infer Query }
|
|
680
680
|
? Query extends Record<string, unknown>
|
|
681
681
|
? { query?: Query }
|
|
682
|
-
:
|
|
683
|
-
:
|
|
684
|
-
:
|
|
682
|
+
: {}
|
|
683
|
+
: {}
|
|
684
|
+
: {}
|
|
685
685
|
>;
|
|
686
686
|
|
|
687
687
|
/**
|
package/oclif.manifest.json
CHANGED