Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix: export URL schema for external usage (#2559)
tom682e2228af64
diff --git a/apps/api/src/controllers/v2/types.ts b/apps/api/src/controllers/v2/types.tsindex 856917296..d9701d028 100644--- a/apps/api/src/controllers/v2/types.ts+++ b/apps/api/src/controllers/v2/types.ts@@ -24,7 +24,7 @@ import { webhookSchema } from "../../services/webhook/schema";import { BrandingProfile } from "../../types/branding";// Base URL schema with common validation logic-const URL = z.preprocess(+export const URL = z.preprocess(x => {if (!protocolIncluded(x as string)) {x = `http://${x}`;