fix(workflow-engine-*): q text search (#12435)
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import { FindParams } from "../../common"
|
||||
|
||||
export interface AdminGetWorkflowExecutionsParams extends FindParams {
|
||||
/**
|
||||
* Filter using a search query.
|
||||
*/
|
||||
q?: string
|
||||
/**
|
||||
* Filter by the ID of the transaction to retrieve workflow executions for a specific transaction.
|
||||
*/
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
import { BaseFilterable, OperatorMap } from "../dal"
|
||||
|
||||
import { TransactionState } from "../http"
|
||||
export interface WorkflowExecutionDTO {
|
||||
id: string
|
||||
workflow_id: string
|
||||
transaction_id: string
|
||||
execution: string
|
||||
context: string
|
||||
state: any
|
||||
execution: Record<string, any> | null
|
||||
context: Record<string, any> | null
|
||||
state: TransactionState
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date
|
||||
deleted_at: Date | null
|
||||
}
|
||||
|
||||
export interface FilterableWorkflowExecutionProps
|
||||
extends BaseFilterable<FilterableWorkflowExecutionProps> {
|
||||
q?: string
|
||||
id?: string | string[] | OperatorMap<string>
|
||||
workflow_id?: string | string[] | OperatorMap<string>
|
||||
transaction_id?: string | string[] | OperatorMap<string>
|
||||
|
||||
Reference in New Issue
Block a user