fix(workflow-engine-*): q text search (#12435)

This commit is contained in:
Adrien de Peretti
2025-05-11 16:21:41 +02:00
committed by GitHub
parent e4d196e522
commit 9d29078b0d
6 changed files with 237 additions and 5 deletions
@@ -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>