This file contains hidden or 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
interface MyRequest extends AxiosRequestConfig { | |
params: { | |
foo: string; | |
}; | |
} |
This file contains hidden or 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
interface MyRequest extends Partial<AxiosRequestConfig> { | |
params: { | |
foo: string; | |
}; | |
} |
This file contains hidden or 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
query { | |
rateLimit { | |
limit | |
cost | |
remaining | |
resetAt | |
} | |
repository(owner: "${owner}", name: "${name}") { | |
description | |
issues(last: 10) { |
This file contains hidden or 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
function archiveDependabotPullRequestsThatHaveBeenMerged() { | |
const threads = GmailApp.search('label:"inbox" from:dependabot[bot]'); | |
for (let thread of threads) { | |
if (isMerged(thread)) { | |
thread.moveToArchive(); | |
}; | |
} | |
} | |
const patterns = [/This PR is included in version/, /Merged .* into .*/, /Closed /]; |
This file contains hidden or 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
/** | |
* A constant array defining the tools that this server makes available. | |
* Each tool is an object with a name, description, and an input schema. | |
*/ | |
const AVAILABLE_TOOLS = [ | |
{ | |
name: "read_recent_email", | |
description: | |
"Reads the subject line of the most recent email thread in your inbox.", | |
inputSchema: { |
OlderNewer