(value: T)
| 39 | } |
| 40 | |
| 41 | function stripUserFileBase64<T extends { base64?: unknown }>(value: T): Omit<T, 'base64'> { |
| 42 | const { base64: _base64, ...rest } = value |
| 43 | return rest |
| 44 | } |
| 45 | |
| 46 | function canPersistDurably(options: CompactExecutionPayloadOptions): boolean { |
| 47 | return Boolean(options.workspaceId && options.workflowId && options.executionId) |