(owner: Owner)
| 426 | // (empty `position`) aren't valid keys for `generateKeyBetween` and |
| 427 | // aren't reorderable until the server confirms. |
| 428 | const committedForOwner = (owner: Owner) => |
| 429 | sorted.filter((p) => p.owner === owner && p.position !== ""); |
| 430 | const committedIndex = (id: string, owner: Owner): number => |
| 431 | committedForOwner(owner).findIndex((p) => p.id === id); |
| 432 | const positionAbove = (id: string, owner: Owner): string => { |
no outgoing calls
no test coverage detected