Skip to main content

@terascope/job-components / job-schemas

job-schemas

Variables

apiSchema

const apiSchema: Terafoundation.Schema<any>

Defined in: job-components/src/job-schemas.ts:437

This is the schema for a Teraslice API.


makeJobSchema()

const makeJobSchema: (context) => Terafoundation.Schema<any> = jobSchema

Defined in: job-components/src/job-schemas.ts:403

This schema is for a Teraslice Job definition.

Parameters

ParameterTypeDescription
contextContextTeraslice context object

Returns

Terafoundation.Schema<any>

Complete convict style schema for the Teraslice Job


opSchema

const opSchema: Terafoundation.Schema<any>

Defined in: job-components/src/job-schemas.ts:408

This is the schema for a Teraslice Operation.

Functions

jobSchema()

jobSchema(context): Terafoundation.Schema<any>

Defined in: job-components/src/job-schemas.ts:19

This schema is for a Teraslice Job definition.

Parameters

ParameterTypeDescription
contextContextTeraslice context object

Returns

Terafoundation.Schema<any>

Complete convict style schema for the Teraslice Job