@geekmidas/cli 10.0.0-alpha.21 → 10.0.0-alpha.22
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/{credentials-BfmmB4WD.cjs → credentials-COrSpZfF.cjs} +7 -1
- package/dist/{credentials-BfmmB4WD.cjs.map → credentials-COrSpZfF.cjs.map} +1 -1
- package/dist/{credentials-CD8ftUS6.mjs → credentials-D9TKJJZc.mjs} +2 -2
- package/dist/{credentials-CD8ftUS6.mjs.map → credentials-D9TKJJZc.mjs.map} +1 -1
- package/dist/{github-De-yMwVt.mjs → github-B4OQQZBV.mjs} +2 -2
- package/dist/{github-De-yMwVt.mjs.map → github-B4OQQZBV.mjs.map} +1 -1
- package/dist/{github-Bho-C6Zg.cjs → github-BpsnSDw2.cjs} +2 -2
- package/dist/{github-Bho-C6Zg.cjs.map → github-BpsnSDw2.cjs.map} +1 -1
- package/dist/index.cjs +263 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +266 -33
- package/dist/index.mjs.map +1 -1
- package/dist/{openapi-DfjbhrsM.mjs → openapi-B5PSuLym.mjs} +5 -2
- package/dist/{openapi-DfjbhrsM.mjs.map → openapi-B5PSuLym.mjs.map} +1 -1
- package/dist/{openapi-B8bu_OXN.cjs → openapi-CN69hrf0.cjs} +10 -1
- package/dist/{openapi-B8bu_OXN.cjs.map → openapi-CN69hrf0.cjs.map} +1 -1
- package/dist/openapi.cjs +1 -1
- package/dist/openapi.mjs +1 -1
- package/dist/{transfer-CXoyQZbB.cjs → transfer-BZbyaV3I.cjs} +2 -2
- package/dist/{transfer-CXoyQZbB.cjs.map → transfer-BZbyaV3I.cjs.map} +1 -1
- package/dist/{transfer-Gsxfy6m-.mjs → transfer-Bk5YlRyB.mjs} +2 -2
- package/dist/{transfer-Gsxfy6m-.mjs.map → transfer-Bk5YlRyB.mjs.map} +1 -1
- package/package.json +13 -11
|
@@ -1642,6 +1642,8 @@ export interface CreateApiOptions {
|
|
|
1642
1642
|
queryClient?: QueryClient;
|
|
1643
1643
|
/** Optional request interceptor */
|
|
1644
1644
|
onRequest?: (config: RequestInit) => RequestInit | Promise<RequestInit>;
|
|
1645
|
+
/** The \`fetch\` requests go out on — a test browser's, for one */
|
|
1646
|
+
fetch?: typeof fetch;
|
|
1645
1647
|
}
|
|
1646
1648
|
|
|
1647
1649
|
/**
|
|
@@ -1671,6 +1673,7 @@ export function createApi(options: CreateApiOptions) {
|
|
|
1671
1673
|
securitySchemes,
|
|
1672
1674
|
authStrategies: options.authStrategies,
|
|
1673
1675
|
onRequest: options.onRequest,
|
|
1676
|
+
...(options.fetch ? { fetch: options.fetch } : {}),
|
|
1674
1677
|
});
|
|
1675
1678
|
|
|
1676
1679
|
const hooks = createEndpointHooks<paths>(fetcher, { queryClient: options.queryClient });
|
|
@@ -1986,6 +1989,6 @@ async function runOpenApiInSubprocess(appCwd, appName) {
|
|
|
1986
1989
|
});
|
|
1987
1990
|
}
|
|
1988
1991
|
//#endregion
|
|
1989
|
-
export { openapiCommand as a,
|
|
1992
|
+
export { openapiCommand as a, EndpointGenerator as c, openApiPathFor as i, runtimeFor as l, generateOpenApi as n, resolveOpenApiConfig as o, generateOpenApiFrom as r, OpenApiTsGenerator as s, OPENAPI_OUTPUT_PATH as t };
|
|
1990
1993
|
|
|
1991
|
-
//# sourceMappingURL=openapi-
|
|
1994
|
+
//# sourceMappingURL=openapi-B5PSuLym.mjs.map
|