mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-26 22:57:32 +00:00
fix(mail-ingest): type errors and formatting after joining the flight work
The cron callbacks hand back nothing; the cursor's lookup is findCursor so it no longer shadows the base repository's find(); the draft's suggested trip uses the shared contract's type; endpoints spell out their optional columns; the relay page's running count is typed. Prettier over every new file outside the generated entities.
This commit is contained in:
@@ -24,7 +24,8 @@ export const mailIngestApi = {
|
||||
inbox: (params: { status?: 'open' | 'resolved'; before?: number; limit?: number }): Promise<unknown> =>
|
||||
apiClient.get('/mail-ingest/inbox', { params }).then(data),
|
||||
inboxCount: (): Promise<unknown> => apiClient.get('/mail-ingest/inbox/count').then(data),
|
||||
preview: (messageId: number): Promise<unknown> => apiClient.get(`/mail-ingest/messages/${messageId}/preview`).then(data),
|
||||
preview: (messageId: number): Promise<unknown> =>
|
||||
apiClient.get(`/mail-ingest/messages/${messageId}/preview`).then(data),
|
||||
prefill: (candidateId: number): Promise<unknown> =>
|
||||
apiClient.get(`/mail-ingest/candidates/${candidateId}/prefill`).then(data),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user