(owner: Owner)
| 410 | // (empty `position`) aren't valid keys for `generateKeyBetween` and |
| 411 | // aren't reorderable until the server confirms. |
| 412 | const committedForOwner = (owner: Owner) => |
| 413 | sorted.filter((p) => p.owner === owner && p.position !== ""); |
| 414 | const committedIndex = (id: string, owner: Owner): number => |
| 415 | committedForOwner(owner).findIndex((p) => p.id === id); |
| 416 | const positionAbove = (id: string, owner: Owner): string => { |
no outgoing calls
no test coverage detected