@n8n/n8n-nodes-langchain
Version:

10 lines (9 loc) • 358 B
TypeScript
import type { CreateCheckFn, GuardrailResult } from '../types';
export type UrlsConfig = {
allowedUrls: string[];
allowedSchemes: string[];
blockUserinfo: boolean;
allowSubdomains: boolean;
};
export declare const urls: (data: string, config: UrlsConfig) => GuardrailResult;
export declare const createUrlsCheckFn: CreateCheckFn<UrlsConfig>;