Skip to main content

Class: CSVTableDataProvider

Defined in: @tissuumaps-storage/src/csv/CSVTableDataProvider.ts:15

Implements

Constructors

Constructor

new CSVTableDataProvider(): CSVTableDataProvider

Returns

CSVTableDataProvider

Properties

name

readonly name: "CSV" = "CSV"

Defined in: @tissuumaps-storage/src/csv/CSVTableDataProvider.ts:19

The name of the data provider

Implementation of

TableDataProvider.name


schema

readonly schema: object

Defined in: @tissuumaps-storage/src/csv/CSVTableDataProvider.ts:21

The JSON schema for the data source

properties

properties: object

properties.idColumn

idColumn: object

properties.idColumn.type

type: string = "string"

properties.nameColumn

nameColumn: object

properties.nameColumn.type

type: string = "string"

properties.url

url: object

properties.url.type

type: string = "string"

required

required: string[]

type

type: string = "object"

Implementation of

TableDataProvider.schema


uischema

readonly uischema: object

Defined in: @tissuumaps-storage/src/csv/CSVTableDataProvider.ts:42

The JSON Forms UI schema for the data source

elements

elements: object[]

type

type: string = "VerticalLayout"

Implementation of

TableDataProvider.uischema

Methods

open()

open(dataSource, options?): Promise<CSVTableData>

Defined in: @tissuumaps-storage/src/csv/CSVTableDataProvider.ts:68

Opens a data source and returns the loaded data accessor

Parameters

dataSource

CSVTableDataSource

The data source to open

options?

Optional abort signal, progress callback, and workspace directory handle

onProgress?

ProgressCallback

signal?

AbortSignal

workspace?

FileSystemDirectoryHandle | null

Returns

Promise<CSVTableData>

A promise that resolves to the loaded data accessor

Implementation of

TableDataProvider.open