Skip to main content

@terascope/job-components / operation-loader/interfaces

operation-loader/interfaces

Enumerations​

EnumerationDescription
AssetBundleType-
OperationLocationType-
OperationTypeName-

Interfaces​

InterfaceDescription
AssetRepository-
BundledAPIOperation-
BundledObserverOperation-
BundledProcessorOperation-
BundledReaderOperation-
FindOperationResults-
LoaderOptions-
OperationResults-
ValidLoaderOptions-

Type Aliases​

RepositoryOperation​

RepositoryOperation = BundledProcessorOperation | BundledReaderOperation | BundledAPIOperation | BundledObserverOperation

Defined in: job-components/src/operation-loader/interfaces.ts:109

Variables​

ASSET_KEYWORD​

const ASSET_KEYWORD: "ASSETS" = 'ASSETS'

Defined in: job-components/src/operation-loader/interfaces.ts:6


AssetRepositoryKey​

const AssetRepositoryKey: object

Defined in: job-components/src/operation-loader/interfaces.ts:77

Type Declaration​

api​

readonly api: "API" = 'API'

fetcher​

readonly fetcher: "Fetcher" = 'Fetcher'

observer​

readonly observer: "Observer" = 'Observer'

processor​

readonly processor: "Processor" = 'Processor'

schema​

readonly schema: "Schema" = 'Schema'

slicer​

readonly slicer: "Slicer" = 'Slicer'


OpTypeToRepositoryKey​

const OpTypeToRepositoryKey: object

Defined in: job-components/src/operation-loader/interfaces.ts:123

This map what type of operation the loader is looking for with the key listed in the asset bundle

Type Declaration​

api​

api: "API" = AssetRepositoryKey.api

fetcher​

fetcher: "Fetcher" = AssetRepositoryKey.fetcher

observer​

observer: "Observer" = AssetRepositoryKey.observer

processor​

processor: "Processor" = AssetRepositoryKey.processor

schema​

schema: "Schema" = AssetRepositoryKey.schema

slicer​

slicer: "Slicer" = AssetRepositoryKey.slicer