PersistentAI API Documentation / @persistent-ai/fireflow-types / TEXT_FILE_CONTENT_TYPES
Variable: TEXT_FILE_CONTENT_TYPES
constTEXT_FILE_CONTENT_TYPES: readonly ["text/plain","text/markdown","text/html","text/css","text/csv","text/javascript","text/typescript","application/javascript","application/typescript","application/json","application/xml","text/xml","application/yaml","text/yaml","application/x-fireflow-flow","application/x-fireflow-secret","application/x-fireflow-mcp"]
Defined in: packages/fireflow-types/src/constants/content-types.ts:18
Text-based content types that VFSContextService.readFile() supports. These are MIME types that can safely be read as UTF-8 text.
IMPORTANT: When adding new FireFlow custom types here, also add the file extension → content type mapping in inferContentType() at: packages/fireflow-vfs/src/steps/lakefs-steps.ts Without both, readFile() will reject the file at runtime.