@geekmidas/cli 10.0.0-alpha.21 → 10.0.0-alpha.23
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 +271 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +274 -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 });
|
|
@@ -1998,6 +2001,12 @@ Object.defineProperty(exports, "OPENAPI_OUTPUT_PATH", {
|
|
|
1998
2001
|
return OPENAPI_OUTPUT_PATH;
|
|
1999
2002
|
}
|
|
2000
2003
|
});
|
|
2004
|
+
Object.defineProperty(exports, "OpenApiTsGenerator", {
|
|
2005
|
+
enumerable: true,
|
|
2006
|
+
get: function() {
|
|
2007
|
+
return OpenApiTsGenerator;
|
|
2008
|
+
}
|
|
2009
|
+
});
|
|
2001
2010
|
Object.defineProperty(exports, "generateOpenApi", {
|
|
2002
2011
|
enumerable: true,
|
|
2003
2012
|
get: function() {
|
|
@@ -2035,4 +2044,4 @@ Object.defineProperty(exports, "runtimeFor", {
|
|
|
2035
2044
|
}
|
|
2036
2045
|
});
|
|
2037
2046
|
|
|
2038
|
-
//# sourceMappingURL=openapi-
|
|
2047
|
+
//# sourceMappingURL=openapi-CN69hrf0.cjs.map
|