Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFileType

An interface for a file type.

Hierarchy

  • IFileType

Index

Properties

contentType

contentType: Contents.ContentType

The content type of the new file.

Optional displayName

displayName: string

An optional display name for the file type.

extensions

extensions: ReadonlyArray<string>

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

fileFormat

fileFormat: Contents.FileFormat

The format of the new file.

Optional iconClass

iconClass: string

The icon class name for the file type.

Optional iconLabel

iconLabel: string

The icon label for the file type.

mimeTypes

mimeTypes: ReadonlyArray<string>

The mime types associated the file type.

name

name: string

The name of the file type.

Optional pattern

pattern: string

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

Generated using TypeDoc