(
files: (K & { key: string })[]
)
| 144 | } |
| 145 | |
| 146 | function mapKeyToFileKey<K>( |
| 147 | files: (K & { key: string })[] |
| 148 | ): (Omit<K, 'key'> & { fileKey: string })[] { |
| 149 | return files.map(({ key, ...rest }) => ({ ...rest, fileKey: key })); |
| 150 | } |
| 151 | |
| 152 | export function getSessionUser( |
| 153 | signal?: AbortSignal |
no outgoing calls
no test coverage detected