Skip to main content

@terascope/job-components / job-schemas

job-schemas

Variables

apiSchema

const apiSchema: convict.Schema<any>

This is the schema for a Teraslice API.

Source

packages/job-components/src/job-schemas.ts:434


opSchema

const opSchema: convict.Schema<any>

This is the schema for a Teraslice Operation.

Source

packages/job-components/src/job-schemas.ts:405

Functions

jobSchema()

jobSchema(context): convict.Schema<any>

This schema is for a Teraslice Job definition.

Parameters

ParameterTypeDescription
contextContextTeraslice context object

Returns

convict.Schema<any>

Complete convict schema for the Teraslice Job

Source

packages/job-components/src/job-schemas.ts:19


makeJobSchema()

makeJobSchema(context): convict.Schema<any>

This schema is for a Teraslice Job definition.

Parameters

ParameterTypeDescription
contextContextTeraslice context object

Returns

convict.Schema<any>

Complete convict schema for the Teraslice Job

Source

packages/job-components/src/job-schemas.ts:400