(note: Note)
| 218 | type Note = Awaited<ReturnType<typeof getNotes>>[0] |
| 219 | |
| 220 | function simplifyNote(note: Note) { |
| 221 | return { |
| 222 | created: note.note.created.getTime(), |
| 223 | edited: dateToEpoch(note.note.edited), |
| 224 | remoteNoteId: base64urlToArray(note.id), |
| 225 | } satisfies SimplifiedNote |
| 226 | } |
| 227 | |
| 228 | interface SimplifiedNote { |
| 229 | created: number |
nothing calls this directly
no test coverage detected