Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / TEXT_FILE_CONTENT_TYPES

Variable: TEXT_FILE_CONTENT_TYPES

const TEXT_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:13

Text-based content types that VFSContextService.readFile() supports. These are MIME types that can safely be read as UTF-8 text.

Licensed under BUSL-1.1