@versatiledatakit/data-pipelines
Version:
Data Pipelines help Data Engineers develop, deploy, run, and manage data processing workloads (called 'Data Job')
43 lines (42 loc) • 1.3 kB
TypeScript
import { DirectionType } from '@versatiledatakit/shared';
import { DataJobExecution, DataJobExecutionStatus, GraphQLResponsePage } from './data-job-base.model';
export declare type DataJobExecutions = DataJobExecution[];
/**
* ** Execution status.
*
* @deprecated
*/
export declare enum DataJobExecutionStatusDeprecated {
SUBMITTED = "submitted",
RUNNING = "running",
FINISHED = "finished",
SUCCEEDED = "succeeded",
CANCELLED = "cancelled",
SKIPPED = "skipped",
FAILED = "failed",
USER_ERROR = "user_error",
PLATFORM_ERROR = "platform_error"
}
/**
* ** Request variables fro DataJobs Executions jobsQuery GraphQL API.
*/
export interface DataJobExecutionsReqVariables {
pageNumber?: number;
pageSize?: number;
filter?: DataJobExecutionFilter;
order?: DataJobExecutionOrder;
}
export interface DataJobExecutionFilter {
statusIn?: DataJobExecutionStatus[];
jobNameIn?: string[];
teamNameIn?: string[];
startTimeGte?: string | Date;
endTimeGte?: string | Date;
startTimeLte?: string | Date;
endTimeLte?: string | Date;
}
export interface DataJobExecutionOrder {
property: keyof DataJobExecution;
direction: DirectionType;
}
export declare type DataJobExecutionsPage = GraphQLResponsePage<DataJobExecution>;