Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/llms-txt-hub / packages/security/types.ts |
| Date | Not specified in source |
| Repository | Janady13/llms-txt-hub |
| Revision | e0f4bf978d4df168369c7601d9c5f5ea89e84377 |
| Branch | main |
| Path or archive member | packages/security/types.ts |
| Original SHA-256 | abaa971e20843290b0b0d8062e1b95b3a8b200ce1da46fe9f83bf7289b73c799 |
| Git blob SHA | c23545b38952020c8e61efefba615fc5c400fc9c |
| Reading-copy SHA-256 | abaa971e20843290b0b0d8062e1b95b3a8b200ce1da46fe9f83bf7289b73c799 |
Recovered source transcript
Download complete source text ↓20 lines · 0.3 KB
/**
* URL validation options
*/
export interface URLValidationOptions {
protocols?: string[]
requireProtocol?: boolean
requireTLD?: boolean
allowAuth?: boolean
maxLength?: number
}
/**
* Validation result
*/
export interface ValidationResult {
valid: boolean
error?: string
sanitized?: string
}