dtamind-components
Version:
Apps integration for Dtamind. Contain Nodes and Credentials.
13 lines (12 loc) • 467 B
TypeScript
/**
* Validates if a string is a valid UUID v4
* @param {string} uuid The string to validate
* @returns {boolean} True if valid UUID, false otherwise
*/
export declare const isValidUUID: (uuid: string) => boolean;
/**
* Validates if a string contains path traversal attempts
* @param {string} path The string to validate
* @returns {boolean} True if path traversal detected, false otherwise
*/
export declare const isPathTraversal: (path: string) => boolean;