(rawEntryInfo: RawEntryInfo)
| 217 | } |
| 218 | |
| 219 | function serverEntryInfo(rawEntryInfo: RawEntryInfo): ?RawEntryInfo { |
| 220 | const { id } = rawEntryInfo; |
| 221 | if (!id) { |
| 222 | return null; |
| 223 | } |
| 224 | const { localID, ...rest } = rawEntryInfo; |
| 225 | return { ...rest }; // we only do this for Flow |
| 226 | } |
| 227 | |
| 228 | function serverEntryInfosObject( |
| 229 | array: $ReadOnlyArray<RawEntryInfo>, |
no outgoing calls
no test coverage detected