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.
@@ -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, "...queryParams")}))
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-OSS5TUD2.js.map
9786
- //# sourceMappingURL=chunk-OSS5TUD2.js.map
9785
+ //# sourceMappingURL=chunk-SL4RMR26.js.map
9786
+ //# sourceMappingURL=chunk-SL4RMR26.js.map