(
runId: string,
sequence: number,
organizationId?: string | null,
)
| 119 | } |
| 120 | |
| 121 | async listAfterSequence( |
| 122 | runId: string, |
| 123 | sequence: number, |
| 124 | organizationId?: string | null, |
| 125 | ): Promise<WorkflowTraceRecord[]> { |
| 126 | const runFilter = this.buildRunFilter(runId, organizationId); |
| 127 | return this.db |
| 128 | .select() |
| 129 | .from(workflowTracesTable) |
| 130 | .where(and(runFilter, gt(workflowTracesTable.sequence, sequence))) |
| 131 | .orderBy(workflowTracesTable.sequence); |
| 132 | } |
| 133 | |
| 134 | async countByType( |
| 135 | runId: string, |
no test coverage detected