Skip to main content

AddTrackModel

Note: this document is automatically generated from mobx-state-tree objects in our source code. See Core concepts and intro to pluggable elements for more info

Source file

plugins/data-management/src/AddTrackWidget/model.ts

AddTrackModel - Properties

property: id

// type signature
IOptionalIType<ISimpleType<string>, [undefined]>
// code
id: ElementId

property: type

// type signature
ISimpleType<"AddTrackWidget">
// code
type: types.literal('AddTrackWidget')

property: view

// type signature
IMaybe<IReferenceType<IAnyType>>
// code
view: types.safeReference(
pluginManager.pluggableMstType('view', 'stateModel'),
)

AddTrackModel - Getters

getter: trackAdapter

// type
AdapterConfig

getter: trackName

// type
string

getter: isFtp

// type
boolean

getter: isRelativeTrackUrl

// type
boolean

getter: isRelativeIndexUrl

// type
boolean

getter: isRelativeUrl

// type
any

getter: trackHttp

// type
any

getter: indexHttp

// type
any

getter: wrongProtocol

// type
any

getter: unsupported

// type
boolean

getter: assembly

// type
any

getter: trackType

// type
string

getter: warningMessage

// type
"" | "Warning: JBrowse cannot access files using the ftp protocol" | "Warning: one or more of your files do not provide the protocol e.g.\n https://, please provide an absolute URL unless you are sure a\n relative URL is intended." | "Warning: You entered a http:// resources but we cannot access HT...

AddTrackModel - Actions

action: setAdapterHint

// type signature
setAdapterHint: (obj: string) => void

action: setTrackSource

// type signature
setTrackSource: (str: string) => void

action: setTextIndexingConf

// type signature
setTextIndexingConf: (conf: IndexingAttr) => void

action: setTextIndexTrack

// type signature
setTextIndexTrack: (flag: boolean) => void

action: setTrackData

// type signature
setTrackData: (obj: FileLocation) => void

action: setIndexTrackData

// type signature
setIndexTrackData: (obj: FileLocation) => void

action: setAssembly

// type signature
setAssembly: (str: string) => void

action: setTrackName

// type signature
setTrackName: (str: string) => void

action: setTrackType

// type signature
setTrackType: (str: string) => void

action: clearData

// type signature
clearData: () => void