Skip to main content

types/DataSourceResult

@prismatic-io/spectral"types/DataSourceResult"

Index#

Type aliases#

Type aliases#

DataSourceResult#

Ƭ DataSourceResult: object

Defined in packages/spectral/src/types/DataSourceResult.ts:26

Represents the result of a Data Source action.

Type declaration:#

  • result: DataSourceTypeMap[TDataSourceType]

  • supplementalData? : undefined | object


DataSourceResultType#

Ƭ DataSourceResultType: DataSourceTypeMap[DataSourceType]

Defined in packages/spectral/src/types/DataSourceResult.ts:23


DataSourceType#

Ƭ DataSourceType: keyof DataSourceTypeMap

Defined in packages/spectral/src/types/DataSourceResult.ts:21


DataSourceTypeMap#

Ƭ DataSourceTypeMap: object

Defined in packages/spectral/src/types/DataSourceResult.ts:5

The type of field that is appropriate for rendering the data that is the result of the data source perform function.

Type declaration:#