( checkpointsOrCheckpointsId: MaybeCheckpointsOrCheckpointsId | undefined, action: string, arg?: string, )
| 398 | }; |
| 399 | |
| 400 | const useCheckpointAction = ( |
| 401 | checkpointsOrCheckpointsId: MaybeCheckpointsOrCheckpointsId | undefined, |
| 402 | action: string, |
| 403 | arg?: string, |
| 404 | ) => { |
| 405 | const checkpoints = useCheckpointsOrCheckpointsById( |
| 406 | checkpointsOrCheckpointsId, |
| 407 | ); |
| 408 | return () => |
| 409 | ( |
| 410 | getThing(checkpoints) as |
| 411 | {[method: string]: (arg?: string) => Checkpoints} | undefined |
| 412 | )?.[action](arg); |
| 413 | }; |
| 414 | |
| 415 | const useSortedRowIdsImpl = ( |
| 416 | tableId: MaybeAccessor<Id>, |
no test coverage detected
searching dependent graphs…