@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
264 lines (263 loc) • 13.6 kB
TypeScript
/**
* File Extension Constants
* Centralized file extension definitions organized by category for file processing
*
* @module processors/config/fileTypes
*/
/**
* Image file extensions supported by the platform
*/
export declare const IMAGE_EXTENSIONS: readonly [".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg", ".bmp", ".tiff", ".tif", ".avif", ".heic", ".heif", ".ico"];
/**
* AI vision-supported image extensions (subset that works with AI models)
*/
export declare const AI_VISION_EXTENSIONS: readonly [".jpg", ".jpeg", ".png", ".gif", ".webp"];
/**
* Document file extensions for office documents and PDFs
*/
export declare const DOCUMENT_EXTENSIONS: readonly [".pdf", ".docx", ".doc", ".xlsx", ".xls", ".pptx", ".ppt", ".odt", ".ods", ".odp", ".rtf"];
/**
* PDF document extensions
*/
export declare const PDF_EXTENSIONS: readonly [".pdf"];
/**
* Word document extensions
*/
export declare const WORD_EXTENSIONS: readonly [".docx", ".doc"];
/**
* Excel spreadsheet extensions
*/
export declare const EXCEL_EXTENSIONS: readonly [".xlsx", ".xls"];
/**
* PowerPoint presentation extensions
*/
export declare const POWERPOINT_EXTENSIONS: readonly [".pptx", ".ppt"];
/**
* OpenDocument format extensions
*/
export declare const OPENDOCUMENT_EXTENSIONS: readonly [".odt", ".ods", ".odp"];
/**
* Rich Text Format extensions
*/
export declare const RTF_EXTENSIONS: readonly [".rtf"];
/**
* JSON data file extensions
*/
export declare const JSON_EXTENSIONS: readonly [".json"];
/**
* XML data file extensions
*/
export declare const XML_EXTENSIONS: readonly [".xml"];
/**
* CSV data file extensions
*/
export declare const CSV_EXTENSIONS: readonly [".csv"];
/**
* YAML data file extensions
*/
export declare const YAML_EXTENSIONS: readonly [".yaml", ".yml"];
/**
* All data format extensions combined
*/
export declare const DATA_EXTENSIONS: readonly [".json", ".xml", ".csv", ".yaml", ".yml"];
/**
* Plain text file extensions
*/
export declare const TEXT_EXTENSIONS: readonly [".txt", ".md", ".markdown", ".html", ".htm", ".css", ".log"];
/**
* HTML file extensions
*/
export declare const HTML_EXTENSIONS: readonly [".html", ".htm", ".xhtml"];
/**
* Markdown file extensions
*/
export declare const MARKDOWN_EXTENSIONS: readonly [".md", ".markdown", ".mdown", ".mkd"];
/**
* JavaScript/TypeScript extensions
*/
export declare const JAVASCRIPT_EXTENSIONS: readonly [".js", ".jsx", ".mjs", ".cjs"];
export declare const TYPESCRIPT_EXTENSIONS: readonly [".ts", ".tsx"];
/**
* Python extensions
*/
export declare const PYTHON_EXTENSIONS: readonly [".py", ".pyw", ".pyi"];
/**
* Java/Kotlin extensions
*/
export declare const JAVA_EXTENSIONS: readonly [".java"];
export declare const KOTLIN_EXTENSIONS: readonly [".kt", ".kts"];
/**
* Systems programming language extensions
*/
export declare const GO_EXTENSIONS: readonly [".go"];
export declare const RUST_EXTENSIONS: readonly [".rs"];
export declare const C_EXTENSIONS: readonly [".c", ".h"];
export declare const CPP_EXTENSIONS: readonly [".cpp", ".hpp", ".cc", ".cxx", ".hxx"];
export declare const CSHARP_EXTENSIONS: readonly [".cs"];
/**
* Scripting language extensions
*/
export declare const RUBY_EXTENSIONS: readonly [".rb", ".rake"];
export declare const PHP_EXTENSIONS: readonly [".php", ".phtml", ".php3", ".php4", ".php5", ".phps"];
export declare const SHELL_EXTENSIONS: readonly [".sh", ".bash", ".zsh", ".fish", ".ksh"];
export declare const PERL_EXTENSIONS: readonly [".pl", ".pm", ".pod", ".t"];
export declare const LUA_EXTENSIONS: readonly [".lua"];
/**
* Database/query extensions
*/
export declare const SQL_EXTENSIONS: readonly [".sql"];
/**
* Mobile development extensions
*/
export declare const SWIFT_EXTENSIONS: readonly [".swift"];
export declare const DART_EXTENSIONS: readonly [".dart"];
export declare const OBJECTIVE_C_EXTENSIONS: readonly [".m", ".mm"];
/**
* Functional programming language extensions
*/
export declare const SCALA_EXTENSIONS: readonly [".scala", ".sc"];
export declare const HASKELL_EXTENSIONS: readonly [".hs", ".lhs"];
export declare const ELIXIR_EXTENSIONS: readonly [".ex", ".exs"];
export declare const ERLANG_EXTENSIONS: readonly [".erl", ".hrl"];
export declare const CLOJURE_EXTENSIONS: readonly [".clj", ".cljs", ".cljc", ".edn"];
export declare const FSHARP_EXTENSIONS: readonly [".fs", ".fsx", ".fsi"];
export declare const OCAML_EXTENSIONS: readonly [".ml", ".mli"];
export declare const LISP_EXTENSIONS: readonly [".lisp", ".lsp", ".cl"];
export declare const SCHEME_EXTENSIONS: readonly [".scm", ".ss"];
/**
* Other programming language extensions
*/
export declare const GROOVY_EXTENSIONS: readonly [".groovy", ".gvy", ".gy", ".gsh"];
export declare const POWERSHELL_EXTENSIONS: readonly [".ps1", ".psm1", ".psd1"];
export declare const R_EXTENSIONS: readonly [".r", ".rmd"];
export declare const JULIA_EXTENSIONS: readonly [".jl"];
export declare const NIM_EXTENSIONS: readonly [".nim", ".nims"];
export declare const ZIG_EXTENSIONS: readonly [".zig"];
export declare const V_EXTENSIONS: readonly [".v"];
export declare const CRYSTAL_EXTENSIONS: readonly [".cr"];
export declare const D_EXTENSIONS: readonly [".d"];
export declare const ASSEMBLY_EXTENSIONS: readonly [".asm", ".s"];
export declare const FORTRAN_EXTENSIONS: readonly [".f", ".f90", ".f95", ".f03", ".for"];
export declare const COBOL_EXTENSIONS: readonly [".cob", ".cbl", ".cobol"];
export declare const PASCAL_EXTENSIONS: readonly [".pas", ".pp", ".p"];
export declare const ADA_EXTENSIONS: readonly [".ada", ".adb", ".ads"];
/**
* Web/template extensions
*/
export declare const VUE_EXTENSIONS: readonly [".vue"];
export declare const SVELTE_EXTENSIONS: readonly [".svelte"];
export declare const HANDLEBARS_EXTENSIONS: readonly [".hbs", ".handlebars"];
export declare const EJS_EXTENSIONS: readonly [".ejs"];
export declare const PUG_EXTENSIONS: readonly [".pug", ".jade"];
/**
* Stylesheet extensions
*/
export declare const CSS_EXTENSIONS: readonly [".css"];
export declare const SCSS_EXTENSIONS: readonly [".scss", ".sass"];
export declare const LESS_EXTENSIONS: readonly [".less"];
export declare const STYLUS_EXTENSIONS: readonly [".styl", ".stylus"];
/**
* Build/Config file extensions
*/
export declare const DOCKERFILE_EXTENSIONS: readonly [".dockerfile"];
export declare const MAKEFILE_EXTENSIONS: readonly [".mk"];
/**
* All source code extensions combined.
* Derived programmatically from per-language arrays to prevent drift.
*/
export declare const SOURCE_CODE_EXTENSIONS: readonly [".js", ".jsx", ".mjs", ".cjs", ".ts", ".tsx", ".py", ".pyw", ".pyi", ".java", ".kt", ".kts", ".go", ".rs", ".c", ".h", ".cpp", ".hpp", ".cc", ".cxx", ".hxx", ".cs", ".rb", ".rake", ".php", ".phtml", ".php3", ".php4", ".php5", ".phps", ".sh", ".bash", ".zsh", ".fish", ".ksh", ".pl", ".pm", ".pod", ".t", ".lua", ".sql", ".swift", ".dart", ".m", ".mm", ".scala", ".sc", ".hs", ".lhs", ".ex", ".exs", ".erl", ".hrl", ".clj", ".cljs", ".cljc", ".edn", ".fs", ".fsx", ".fsi", ".ml", ".mli", ".lisp", ".lsp", ".cl", ".scm", ".ss", ".groovy", ".gvy", ".gy", ".gsh", ".ps1", ".psm1", ".psd1", ".r", ".rmd", ".jl", ".nim", ".nims", ".zig", ".v", ".cr", ".d", ".asm", ".s", ".f", ".f90", ".f95", ".f03", ".for", ".cob", ".cbl", ".cobol", ".pas", ".pp", ".p", ".ada", ".adb", ".ads", ".vue", ".svelte", ".hbs", ".handlebars", ".ejs", ".pug", ".jade", ".css", ".scss", ".sass", ".less", ".styl", ".stylus", ".dockerfile", ".mk"];
/**
* Configuration file extensions
*/
export declare const CONFIG_EXTENSIONS: readonly [".env", ".ini", ".toml", ".cfg", ".conf", ".config", ".properties", ".editorconfig", ".gitignore", ".gitattributes", ".npmrc", ".yarnrc", ".prettierrc", ".eslintrc", ".babelrc"];
/**
* Archive and compressed file extensions
*/
export declare const ARCHIVE_EXTENSIONS: readonly [".zip", ".tar", ".gz", ".tgz", ".tar.gz", ".tar.bz2", ".bz2", ".rar", ".7z", ".xz"];
/**
* Video file extensions
*/
export declare const VIDEO_EXTENSIONS: readonly [".mp4", ".avi", ".mov", ".mkv", ".webm", ".flv", ".wmv", ".m4v", ".mpg", ".mpeg"];
/**
* Audio file extensions
*/
export declare const AUDIO_EXTENSIONS: readonly [".mp3", ".wav", ".aac", ".flac", ".ogg", ".m4a", ".wma", ".opus"];
/**
* Design and graphics file extensions
*/
export declare const DESIGN_EXTENSIONS: readonly [".psd", ".psb", ".ai", ".sketch", ".fig", ".xd"];
/**
* Database file extensions
*/
export declare const DATABASE_EXTENSIONS: readonly [".db", ".sqlite", ".sqlite3", ".mdb", ".accdb"];
/**
* Executable and binary file extensions (security risk)
*/
export declare const EXECUTABLE_EXTENSIONS: readonly [".exe", ".dll", ".so", ".dylib", ".app", ".bat", ".cmd", ".vbs", ".ps1", ".msi", ".dmg", ".bin"];
/**
* File extensions grouped by category for easy access
*/
export declare const FILE_EXTENSIONS: {
readonly IMAGES: readonly [".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg", ".bmp", ".tiff", ".tif", ".avif", ".heic", ".heif", ".ico"];
readonly AI_VISION: readonly [".jpg", ".jpeg", ".png", ".gif", ".webp"];
readonly DOCUMENTS: readonly [".pdf", ".docx", ".doc", ".xlsx", ".xls", ".pptx", ".ppt", ".odt", ".ods", ".odp", ".rtf"];
readonly PDF: readonly [".pdf"];
readonly WORD: readonly [".docx", ".doc"];
readonly EXCEL: readonly [".xlsx", ".xls"];
readonly POWERPOINT: readonly [".pptx", ".ppt"];
readonly OPENDOCUMENT: readonly [".odt", ".ods", ".odp"];
readonly RTF: readonly [".rtf"];
readonly DATA: readonly [".json", ".xml", ".csv", ".yaml", ".yml"];
readonly JSON: readonly [".json"];
readonly XML: readonly [".xml"];
readonly CSV: readonly [".csv"];
readonly YAML: readonly [".yaml", ".yml"];
readonly TEXT: readonly [".txt", ".md", ".markdown", ".html", ".htm", ".css", ".log"];
readonly HTML: readonly [".html", ".htm", ".xhtml"];
readonly MARKDOWN: readonly [".md", ".markdown", ".mdown", ".mkd"];
readonly CODE: {
readonly JAVASCRIPT: readonly [".js", ".jsx", ".mjs", ".cjs"];
readonly TYPESCRIPT: readonly [".ts", ".tsx"];
readonly PYTHON: readonly [".py", ".pyw", ".pyi"];
readonly JAVA: readonly [".java"];
readonly KOTLIN: readonly [".kt", ".kts"];
readonly GO: readonly [".go"];
readonly RUST: readonly [".rs"];
readonly C: readonly [".c", ".h"];
readonly CPP: readonly [".cpp", ".hpp", ".cc", ".cxx", ".hxx"];
readonly CSHARP: readonly [".cs"];
readonly RUBY: readonly [".rb", ".rake"];
readonly PHP: readonly [".php", ".phtml", ".php3", ".php4", ".php5", ".phps"];
readonly SHELL: readonly [".sh", ".bash", ".zsh", ".fish", ".ksh"];
readonly PERL: readonly [".pl", ".pm", ".pod", ".t"];
readonly LUA: readonly [".lua"];
readonly SQL: readonly [".sql"];
readonly SWIFT: readonly [".swift"];
readonly DART: readonly [".dart"];
readonly SCALA: readonly [".scala", ".sc"];
readonly HASKELL: readonly [".hs", ".lhs"];
readonly ELIXIR: readonly [".ex", ".exs"];
readonly ERLANG: readonly [".erl", ".hrl"];
readonly CLOJURE: readonly [".clj", ".cljs", ".cljc", ".edn"];
readonly FSHARP: readonly [".fs", ".fsx", ".fsi"];
readonly GROOVY: readonly [".groovy", ".gvy", ".gy", ".gsh"];
readonly POWERSHELL: readonly [".ps1", ".psm1", ".psd1"];
readonly R: readonly [".r", ".rmd"];
readonly JULIA: readonly [".jl"];
readonly NIM: readonly [".nim", ".nims"];
readonly ZIG: readonly [".zig"];
readonly V: readonly [".v"];
readonly CRYSTAL: readonly [".cr"];
readonly ASSEMBLY: readonly [".asm", ".s"];
readonly DOCKERFILE: readonly [".dockerfile"];
readonly MAKEFILE: readonly [".mk"];
};
readonly ALL_CODE: readonly [".js", ".jsx", ".mjs", ".cjs", ".ts", ".tsx", ".py", ".pyw", ".pyi", ".java", ".kt", ".kts", ".go", ".rs", ".c", ".h", ".cpp", ".hpp", ".cc", ".cxx", ".hxx", ".cs", ".rb", ".rake", ".php", ".phtml", ".php3", ".php4", ".php5", ".phps", ".sh", ".bash", ".zsh", ".fish", ".ksh", ".pl", ".pm", ".pod", ".t", ".lua", ".sql", ".swift", ".dart", ".m", ".mm", ".scala", ".sc", ".hs", ".lhs", ".ex", ".exs", ".erl", ".hrl", ".clj", ".cljs", ".cljc", ".edn", ".fs", ".fsx", ".fsi", ".ml", ".mli", ".lisp", ".lsp", ".cl", ".scm", ".ss", ".groovy", ".gvy", ".gy", ".gsh", ".ps1", ".psm1", ".psd1", ".r", ".rmd", ".jl", ".nim", ".nims", ".zig", ".v", ".cr", ".d", ".asm", ".s", ".f", ".f90", ".f95", ".f03", ".for", ".cob", ".cbl", ".cobol", ".pas", ".pp", ".p", ".ada", ".adb", ".ads", ".vue", ".svelte", ".hbs", ".handlebars", ".ejs", ".pug", ".jade", ".css", ".scss", ".sass", ".less", ".styl", ".stylus", ".dockerfile", ".mk"];
readonly CONFIG: readonly [".env", ".ini", ".toml", ".cfg", ".conf", ".config", ".properties", ".editorconfig", ".gitignore", ".gitattributes", ".npmrc", ".yarnrc", ".prettierrc", ".eslintrc", ".babelrc"];
readonly ARCHIVES: readonly [".zip", ".tar", ".gz", ".tgz", ".tar.gz", ".tar.bz2", ".bz2", ".rar", ".7z", ".xz"];
readonly VIDEO: readonly [".mp4", ".avi", ".mov", ".mkv", ".webm", ".flv", ".wmv", ".m4v", ".mpg", ".mpeg"];
readonly AUDIO: readonly [".mp3", ".wav", ".aac", ".flac", ".ogg", ".m4a", ".wma", ".opus"];
readonly DESIGN: readonly [".psd", ".psb", ".ai", ".sketch", ".fig", ".xd"];
readonly DATABASE: readonly [".db", ".sqlite", ".sqlite3", ".mdb", ".accdb"];
readonly EXECUTABLE: readonly [".exe", ".dll", ".so", ".dylib", ".app", ".bat", ".cmd", ".vbs", ".ps1", ".msi", ".dmg", ".bin"];
};