| 22 | } |
| 23 | |
| 24 | export interface GitHubNotesAPI { |
| 25 | getIssueState(issueNumber: number): Promise<IssueState>; |
| 26 | getIssueWithETag( |
| 27 | issueNumber: number, |
| 28 | etag: string | null, |
| 29 | ): Promise< |
| 30 | | { status: 304; data?: never; etag?: never } |
| 31 | | { status: 200; data: IssueState; etag: string | null } |
| 32 | >; |
| 33 | parseCommentToNote(comment: CommentData): Note; |
| 34 | findEntryIssue(collection: string, slug: string): Promise<{ number: number } | null>; |
| 35 | } |
| 36 | |
| 37 | // Redux action types |
| 38 | export const NOTES_POLLING_START = 'NOTES_POLLING_START'; |
no outgoing calls
no test coverage detected