Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
1.3 KB
Raw Blame
{
  "$comment": "Source of truth for attachment types served by the authenticated text-preview endpoint. Edit this file only. The Go handler embeds it directly; packages/views/editor/utils/text-preview-whitelist.generated.ts is regenerated by `pnpm generate:attachment-text-preview`. CI fails when the generated TypeScript output is stale.",
  "content_type_prefixes": [
    "text/"
  ],
  "content_types": [
    "application/json",
    "application/x-ndjson",
    "application/javascript",
    "application/xml",
    "application/x-yaml",
    "application/yaml",
    "application/toml",
    "application/x-sh",
    "application/x-httpd-php"
  ],
  "extensions": [
    "md",
    "markdown",
    "txt",
    "log",
    "csv",
    "tsv",
    "html",
    "htm",
    "json",
    "jsonl",
    "ndjson",
    "xml",
    "yml",
    "yaml",
    "toml",
    "ini",
    "conf",
    "dockerfile",
    "makefile",
    "gitignore",
    "sh",
    "bash",
    "zsh",
    "py",
    "rb",
    "go",
    "rs",
    "ts",
    "tsx",
    "js",
    "jsx",
    "mjs",
    "cjs",
    "css",
    "scss",
    "sass",
    "less",
    "sql",
    "java",
    "kt",
    "swift",
    "c",
    "cc",
    "cpp",
    "h",
    "hpp",
    "cs",
    "php",
    "lua",
    "vim"
  ],
  "basenames": [
    "dockerfile",
    "makefile",
    ".env",
    ".gitignore"
  ]
}