mulink 1.1.6 → 1.1.7
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/.tsbuildinfo +1 -1
- package/dist/lib/{chunk-GJQLMHP7.cjs → chunk-RGFU7SMN.cjs} +5 -5
- package/dist/lib/chunk-RGFU7SMN.cjs.map +1 -0
- package/dist/lib/{chunk-OSS5TUD2.js → chunk-SL4RMR26.js} +5 -5
- package/dist/lib/chunk-SL4RMR26.js.map +1 -0
- package/dist/lib/cli.cjs +16 -16
- package/dist/lib/cli.js +1 -1
- package/dist/lib/client.cjs +18 -18
- package/dist/lib/client.js +2 -2
- package/dist/lib/index.cjs +15 -15
- package/dist/lib/index.js +1 -1
- package/package.json +1 -1
- package/dist/lib/chunk-GJQLMHP7.cjs.map +0 -1
- package/dist/lib/chunk-OSS5TUD2.js.map +0 -1
|
@@ -3497,7 +3497,7 @@ ${this.commentLine("Rate limiting", 6)} const { userAgent, ip } = await get
|
|
|
3497
3497
|
requiresAuth: ${requiresAuth}${hasRateLimit ? `,
|
|
3498
3498
|
rateLimit: { requests: ${endpoint.metadata.rateLimit?.requests || 10}, window: "${endpoint.metadata.rateLimit?.window || "1m"}" }` : ""}
|
|
3499
3499
|
})
|
|
3500
|
-
.schema(${schemaName})
|
|
3500
|
+
.schema(${schemaName.includes("\n") ? `z.object({ body: ${operationName}RequestSchema, params: ${operationName}ParamsSchema })` : schemaName})
|
|
3501
3501
|
.action(async ({ parsedInput, ctx }: ${actionArgsType}) => {
|
|
3502
3502
|
const startTime = Date.now()
|
|
3503
3503
|
|
|
@@ -3563,7 +3563,7 @@ ${this.commentLine("Process file with compression and validation if enabled", 10
|
|
|
3563
3563
|
requiresAuth: ${requiresAuth}${hasRateLimit ? `,
|
|
3564
3564
|
rateLimit: { requests: ${endpoint.metadata.rateLimit?.requests || 10}, window: "${endpoint.metadata.rateLimit?.window || "1m"}" }` : ""}
|
|
3565
3565
|
})
|
|
3566
|
-
.schema(${schemaName})
|
|
3566
|
+
.schema(${schemaName.includes("\n") ? `z.object({ body: ${operationName}RequestSchema, params: ${operationName}ParamsSchema })` : schemaName})
|
|
3567
3567
|
.action(async ({ parsedInput, ctx }: ${actionArgsType}) => {
|
|
3568
3568
|
const startTime = Date.now()
|
|
3569
3569
|
|
|
@@ -3937,7 +3937,7 @@ export function ${hookName.replace("use", "useInfinite")}(${parameterTypes.lengt
|
|
|
3937
3937
|
return `if ('${param.name}' in searchParams) queryParams.${param.name} = searchParams.${param.name}`;
|
|
3938
3938
|
}
|
|
3939
3939
|
}).join("\n ")}
|
|
3940
|
-
const result = await resolveActionResult<${returnType}>(${actionName}(${actionCallParams.replace(queryParamObject, "
|
|
3940
|
+
const result = await resolveActionResult<${returnType}>(${actionName}(${actionCallParams.replace(queryParamObject, "queryParams")}))
|
|
3941
3941
|
return result
|
|
3942
3942
|
} catch (error) {
|
|
3943
3943
|
handleActionError(error)
|
|
@@ -9782,5 +9782,5 @@ ${errorMessages}`,
|
|
|
9782
9782
|
};
|
|
9783
9783
|
|
|
9784
9784
|
export { BridgeCore, BridgeError, BridgeLogger, ConfigurationLoader, FileSystemManager, GenerationError, LogLevel, NextJsCodeGenerator, OpenApiSchemaParser, SchemaParseError, ValidationError, VersionChecker, __name, checkAndNotifyUpdates, createBridgeVersionChecker };
|
|
9785
|
-
//# sourceMappingURL=chunk-
|
|
9786
|
-
//# sourceMappingURL=chunk-
|
|
9785
|
+
//# sourceMappingURL=chunk-SL4RMR26.js.map
|
|
9786
|
+
//# sourceMappingURL=chunk-SL4RMR26.js.map
|