(item: T)
| 75 | }; |
| 76 | |
| 77 | const defaultLeanMap = <T extends {id: string; name?: string}>(item: T): LeanShape => ({ |
| 78 | id: item.id, |
| 79 | name: item.name ?? '', |
| 80 | }); |
| 81 | |
| 82 | /** |
| 83 | * Caller-requested lean mode (`forceLean: true`) returns items mapped through |
nothing calls this directly
no outgoing calls
no test coverage detected