(
value: T,
context: {
workspaceId?: string
workflowId?: string
executionId?: string
userId?: string
preserveUserFileBase64?: boolean
preserveRoot?: boolean
rejectLargeValues?: boolean
rejectLargeValueLabel?: string
thresholdBytes?: number
}
)
| 96 | export const dynamic = 'force-dynamic' |
| 97 | |
| 98 | async function compactRoutePayload<T>( |
| 99 | value: T, |
| 100 | context: { |
| 101 | workspaceId?: string |
| 102 | workflowId?: string |
| 103 | executionId?: string |
| 104 | userId?: string |
| 105 | preserveUserFileBase64?: boolean |
| 106 | preserveRoot?: boolean |
| 107 | rejectLargeValues?: boolean |
| 108 | rejectLargeValueLabel?: string |
| 109 | thresholdBytes?: number |
| 110 | } |
| 111 | ): Promise<T> { |
| 112 | return compactExecutionPayload(value, { ...context, requireDurable: true }) |
| 113 | } |
| 114 | |
| 115 | async function compactWorkflowResponseOutput<T>( |
| 116 | value: T, |
no test coverage detected