Interface: LabelsDataProvider<TLabelsDataSource, TLabelsData>
Defined in: storage/labels.ts:11
Data provider for label images
Extends
DataProvider<TLabelsDataSource,TLabelsData>
Type Parameters
TLabelsDataSource
TLabelsDataSource extends LabelsDataSource
TLabelsData
TLabelsData extends LabelsData
The concrete LabelsData type produced by this data provider
Properties
name
readonlyname:string
Defined in: storage/base.ts:14
The name of the data provider
Inherited from
schema
readonlyschema:JsonSchema
Defined in: storage/base.ts:17
The JSON schema for the data source
Inherited from
uischema
readonlyuischema:UISchemaElement
Defined in: storage/base.ts:20
The JSON Forms UI schema for the data source
Inherited from
Methods
open()
open(
dataSource,options?):Promise<TLabelsData>
Defined in: storage/base.ts:29
Opens a data source and returns the loaded data accessor
Parameters
dataSource
TLabelsDataSource
The data source to open
options?
Optional abort signal, progress callback, and workspace directory handle
onProgress?
signal?
AbortSignal
workspace?
FileSystemDirectoryHandle | null
Returns
Promise<TLabelsData>
A promise that resolves to the loaded data accessor