MCPcopy Create free account
hub / github.com/decaporg/decap-cms / GitHubNotesAPI

Interface GitHubNotesAPI

packages/decap-cms-backend-github/src/polling.ts:24–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24export 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
38export const NOTES_POLLING_START = 'NOTES_POLLING_START';

Callers 4

watchIssueMethod · 0.65
checkCurrentIssueMethod · 0.65
checkCurrentIssueMethod · 0.65
attemptWatchMethod · 0.65

Implementers 1

APIpackages/decap-cms-backend-github/src/

Calls

no outgoing calls

Tested by

no test coverage detected