UNPKG

@5minds/processcube_engine

Version:

The ProcessCube Engine. Stores and executes BPMNs.

16 lines (15 loc) 1.18 kB
import { Sequelize, WhereOptions } from 'sequelize'; import { SearchQuery } from '@5minds/processcube_engine_sdk'; import { InternalFlowNodeInstanceQuery } from '../../../Contracts/index'; export interface IPagination { limit?: number; offset?: number; } export declare function getCleanupOrphanedFlowNodeInstancesQuery(dialect: string, schema: string): string; export declare function getCleanupOrphanedExternalTasksQuery(dialect: string, schema: string): string; export declare function buildWhereClause<TQuery>(query: TQuery): WhereOptions; export declare function buildPagination(offset: number, limit: number): IPagination; export declare function getProcessDefinitionUpdatedAtMaxFilter(dialect: string, schema: string): string; export declare function buildDateFilter(equals?: Array<Date> | Date, after?: Date, before?: Date): WhereOptions; export declare function buildSearchQueryFilter(searchQuery: Array<string> | string | SearchQuery, column: string, sequelizeInstance: Sequelize, lowerCaseSearchValue?: boolean, forceMostPerformantCasingOption?: boolean): any; export declare function buildFlowNodeLaneQuery(query: InternalFlowNodeInstanceQuery): WhereOptions;