-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy Production Code for Commit 268b2bc 🚀
- Loading branch information
Showing
107 changed files
with
4,398 additions
and
809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
import 'cross-fetch/polyfill'; | ||
import { ActionInterface, GitHubResponse, Status } from './constants'; | ||
/** Fetches */ | ||
/** | ||
* Fetches sponsors from the GitHub Sponsors API. | ||
*/ | ||
export declare function getSponsors(action: ActionInterface): Promise<GitHubResponse>; | ||
/** | ||
* Generates the sponsorship template. | ||
*/ | ||
export declare function generateTemplate(response: GitHubResponse, action: ActionInterface): string; | ||
export declare function generateFile(response: GitHubResponse, action: ActionInterface): Promise<Status>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
import { ActionInterface } from './constants'; | ||
/** | ||
* Utility function that checks to see if a value is undefined or not. | ||
*/ | ||
export declare const isNullOrUndefined: (value: string | undefined | null) => boolean; | ||
/** | ||
* Verifies the action has the required parameters to run, otherwise throw an error. | ||
*/ | ||
export declare const checkParameters: (action: ActionInterface) => void; | ||
/** | ||
* Suppresses sensitive information from being exposed in error messages. | ||
*/ | ||
export declare const suppressSensitiveInformation: (str: string, action: ActionInterface) => string; | ||
/** | ||
* Extracts error message from an error. | ||
*/ | ||
export declare const extractErrorMessage: (error: unknown) => string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.