Skip to main content

Interface: DatasetPluginContextOf<TDataset>

Defined in: api/dataset-plugin.ts:146

What a plugin's data() half receives, once, while the Dataset constructs. A Field declares on the plugin object itself — fields/fieldTypes/aggregators (#496 grill round 3) — so there is no ctx.fields door here: one way to declare, so the earlier gap (a flat value dropped because the plugin declared its Field too late for ingest to see) cannot come back.

Type Parameters​

TDataset​

TDataset

Properties​

dataset​

dataset: TDataset

Defined in: api/dataset-plugin.ts:147


disposables​

disposables: DisposableStore

Defined in: api/dataset-plugin.ts:151


edits​

edits: DatasetEditHook<PropsOf<TDataset>>

Defined in: api/dataset-plugin.ts:149


events​

events: DatasetEvents

Defined in: api/dataset-plugin.ts:148


store​

store: DatasetStoreAccess

Defined in: api/dataset-plugin.ts:150