mirror of
https://github.com/actions/toolkit
synced 2025-05-10 09:03:02 +00:00
Some more in the docs
This commit is contained in:
parent
db9fd45770
commit
ea2ffbe002
2 changed files with 7 additions and 7 deletions
|
@ -8,7 +8,7 @@ Its main purpose will be to provide a hydrated GitHub context/Octokit client wit
|
|||
|
||||
##### interfaces.ts
|
||||
|
||||
```
|
||||
```ts
|
||||
/*
|
||||
* Interfaces
|
||||
*/
|
||||
|
@ -56,7 +56,7 @@ export interface WebhookPayloadWithRepository {
|
|||
|
||||
Contains a GitHub context
|
||||
|
||||
```
|
||||
```ts
|
||||
export class Context {
|
||||
/**
|
||||
* Webhook payload object that triggered the workflow
|
||||
|
@ -89,7 +89,7 @@ export class Context {
|
|||
|
||||
Contains a hydrated Octokit client
|
||||
|
||||
```
|
||||
```ts
|
||||
export class GithubClient extends Octokit {
|
||||
// For making GraphQL requests
|
||||
public graphql: (query: string, variables?: Variables) => Promise<GraphQlQueryResponse>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue