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:23

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:20


DataSourceType

Ƭ DataSourceType: keyof DataSourceTypeMap

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


DataSourceTypeMap

Ƭ DataSourceTypeMap: object

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

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

Type declaration:

  • boolean: boolean

  • code: string

  • date: string

  • jsonForm: JSONForm

  • number: number

  • objectFieldMap: ObjectFieldMap

  • objectSelection: ObjectSelection

  • picklist: string[] | Element[]

  • schedule(): object

    • value: string
  • string: string

  • timestamp: string