Skip to content

@morph-mapper/source


@morph-mapper/source / FileState

Interface: FileState ​

Defined in: store/file.ts:28

Extends ​

  • FileProps

Properties ​

file ​

file: File | null

Defined in: store/file.ts:17

Inherited from ​

FileProps.file


getFile ​

getFile: () => File | null

Defined in: store/file.ts:30

Returns ​

File | null


getSelectionMode ​

getSelectionMode: () => SelectionMode

Defined in: store/file.ts:34

Returns ​

SelectionMode


getTextContent ​

getTextContent: () => string

Defined in: store/file.ts:31

Returns ​

string


getVariant ​

getVariant: () => SchemaVariant | null

Defined in: store/file.ts:29

Returns ​

SchemaVariant | null


highlights ​

highlights: Highlight[]

Defined in: store/file.ts:21

Inherited from ​

FileProps.highlights


selectionMode ​

selectionMode: SelectionMode

Defined in: store/file.ts:20

Inherited from ​

FileProps.selectionMode


setHighlights ​

setHighlights: (highlights) => void

Defined in: store/file.ts:35

Parameters ​

highlights ​

Highlight[]

Returns ​

void


setSelectionMode ​

setSelectionMode: (mode) => void

Defined in: store/file.ts:33

Parameters ​

mode ​

SelectionMode

Returns ​

void


textContent ​

textContent: string

Defined in: store/file.ts:18

Inherited from ​

FileProps.textContent


variant ​

variant: SchemaVariant | null

Defined in: store/file.ts:16

Inherited from ​

FileProps.variant