• Public
  • Public/Protected
  • All

A file type to associate with the renderer.


  • IFileType



Optional Readonly displayName

displayName: string

An optional display name for the file type.

Readonly extensions

extensions: readonly string[]

The extensions of the file type (e.g. ".txt"). Can be a compound extension (e.g. ".table.json).

Optional Readonly fileFormat

fileFormat: string

The file format for the file type ('text', 'base64', or 'json').

Optional Readonly icon

The icon for the file type. Can either be a string containing the name of an existing icon, or an object with {name, svgstr} fields, where svgstr is a string containing the raw contents of an svg file.

Optional Readonly iconClass

iconClass: string

The icon class name for the file type.

Optional Readonly iconLabel

iconLabel: string

The icon label for the file type.

Readonly mimeTypes

mimeTypes: readonly string[]

The mime types associated the file type.

Readonly name

name: string

The name of the file type.

Optional Readonly pattern

pattern: string

An optional pattern for a file name (e.g. ^Dockerfile$).

Generated using TypeDoc