-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export declare const commentDisclaimer: string; | ||
export declare const commentPrefix = "@all-contributors please add"; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
interface RepoFile { | ||
content: string; | ||
encoding: "base64"; | ||
type: "file"; | ||
} | ||
export declare function dataIsRepoFile(data: unknown): data is RepoFile; | ||
export {}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
import { Locator, Octokit } from "./types.js"; | ||
export declare function doesPullAlreadyHaveComment( | ||
octokit: Octokit, | ||
locator: Locator, | ||
id: number | ||
): Promise< | ||
| { | ||
id: number; | ||
node_id: string; | ||
url: string; | ||
body?: string | undefined; | ||
body_text?: string | undefined; | ||
body_html?: string | undefined; | ||
html_url: string; | ||
user: { | ||
name?: string | null | undefined; | ||
email?: string | null | undefined; | ||
login: string; | ||
id: number; | ||
node_id: string; | ||
avatar_url: string; | ||
gravatar_id: string | null; | ||
url: string; | ||
html_url: string; | ||
followers_url: string; | ||
following_url: string; | ||
gists_url: string; | ||
starred_url: string; | ||
subscriptions_url: string; | ||
organizations_url: string; | ||
repos_url: string; | ||
events_url: string; | ||
received_events_url: string; | ||
type: string; | ||
site_admin: boolean; | ||
starred_at?: string | undefined; | ||
} | null; | ||
created_at: string; | ||
updated_at: string; | ||
issue_url: string; | ||
author_association: | ||
| "COLLABORATOR" | ||
| "CONTRIBUTOR" | ||
| "FIRST_TIMER" | ||
| "FIRST_TIME_CONTRIBUTOR" | ||
| "MANNEQUIN" | ||
| "MEMBER" | ||
| "NONE" | ||
| "OWNER"; | ||
performed_via_github_app?: | ||
| { | ||
id: number; | ||
slug?: string | undefined; | ||
node_id: string; | ||
owner: { | ||
name?: string | null | undefined; | ||
email?: string | null | undefined; | ||
login: string; | ||
id: number; | ||
node_id: string; | ||
avatar_url: string; | ||
gravatar_id: string | null; | ||
url: string; | ||
html_url: string; | ||
followers_url: string; | ||
following_url: string; | ||
gists_url: string; | ||
starred_url: string; | ||
subscriptions_url: string; | ||
organizations_url: string; | ||
repos_url: string; | ||
events_url: string; | ||
received_events_url: string; | ||
type: string; | ||
site_admin: boolean; | ||
starred_at?: string | undefined; | ||
} | null; | ||
name: string; | ||
description: string | null; | ||
external_url: string; | ||
html_url: string; | ||
created_at: string; | ||
updated_at: string; | ||
permissions: { | ||
issues?: string | undefined; | ||
checks?: string | undefined; | ||
metadata?: string | undefined; | ||
contents?: string | undefined; | ||
deployments?: string | undefined; | ||
} & { | ||
[key: string]: string; | ||
}; | ||
events: string[]; | ||
installations_count?: number | undefined; | ||
client_id?: string | undefined; | ||
client_secret?: string | undefined; | ||
webhook_secret?: string | null | undefined; | ||
pem?: string | undefined; | ||
} | ||
| null | ||
| undefined; | ||
reactions?: | ||
| { | ||
url: string; | ||
total_count: number; | ||
"+1": number; | ||
"-1": number; | ||
laugh: number; | ||
confused: number; | ||
heart: number; | ||
hooray: number; | ||
eyes: number; | ||
rocket: number; | ||
} | ||
| undefined; | ||
} | ||
| undefined | ||
>; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { Locator, Octokit } from "./types.js"; | ||
export type ExistingContributions = Record<string, Set<string> | undefined>; | ||
export declare function getExistingContributors( | ||
octokit: Octokit, | ||
locator: Locator | ||
): Promise<ExistingContributions>; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { ContributorContributions } from "all-contributors-for-repository"; | ||
import { ExistingContributions } from "./getExistingContributors.js"; | ||
export declare function getMissingContributions( | ||
contributor: string, | ||
contributions: ContributorContributions, | ||
existingContributors: ExistingContributions | ||
): ContributorContributions; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export {}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.