Function
toTableRow
(
r: typeof userTableRowsTable.$inferSelect,
executions: RowExecutions = {}
)
Source from the content-addressed store, hash-verified
| 313 | } |
| 314 | |
| 315 | export function toTableRow( |
| 316 | r: typeof userTableRowsTable.$inferSelect, |
| 317 | executions: RowExecutions = {} |
| 318 | ): TableRow { |
| 319 | return { |
| 320 | id: r.id, |
| 321 | data: r.data as RowData, |
| 322 | executions, |
| 323 | position: r.position, |
| 324 | createdAt: r.createdAt, |
| 325 | updatedAt: r.updatedAt, |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | export interface WorkflowGroupCellPayload { |
| 330 | tableId: string |
Tested by
no test coverage detected