Skip to content

Commit

Permalink
0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed May 10, 2023
1 parent 63cb7ba commit 0c9fe8b
Show file tree
Hide file tree
Showing 18 changed files with 10,229 additions and 7,935 deletions.
2 changes: 2 additions & 0 deletions dist/comments.d.ts
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";
1 change: 1 addition & 0 deletions dist/comments.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/dataIsRepoFile.d.ts
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 {};
1 change: 1 addition & 0 deletions dist/dataIsRepoFile.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/dataIsRepoFile.test.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
1 change: 1 addition & 0 deletions dist/dataIsRepoFile.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

118 changes: 118 additions & 0 deletions dist/doesPullAlreadyHaveComment.d.ts
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
>;
1 change: 1 addition & 0 deletions dist/doesPullAlreadyHaveComment.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions dist/getExistingContributors.d.ts
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>;
1 change: 1 addition & 0 deletions dist/getExistingContributors.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/getMissingContributions.d.ts
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;
1 change: 1 addition & 0 deletions dist/getMissingContributions.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/getMissingContributions.test.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
1 change: 1 addition & 0 deletions dist/getMissingContributions.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0c9fe8b

Please sign in to comment.