Sitelet https://gro.fuz.dev/docs/api/github.ts

github.ts

view source

Declarations
#

3 declarations

github_fetch_commit_prs
#

github.ts view source

(owner: string, repo: string, commit_sha: string, token?: string | undefined, log?: Logger | undefined, cache?: Map<string, { key: string; url: string; params: any; value: any; etag: string | null; last_modified: string | null; }> | undefined, api_version?: string | undefined): Promise<...> import {github_fetch_commit_prs} from '@fuzdev/gro/github.js';

owner

type string

repo

type string

commit_sha

type string

token?

type string
optional

log?

type Logger
optional

cache?

type Map<string, { key: string; url: string; params: any; value: any; etag: string | null; last_modified: string | null; }>
optional

api_version?

type string
optional

returns

Promise<GithubPullRequest[] | null>

see also

GITHUB_REPO_MATCHER
#

GithubPullRequest
#

github.ts view source

value + type

{ [x: string]: unknown; url: string; id: number; html_url: string; number: number; user: { [x: string]: unknown; login: string; }; } import {GithubPullRequest} from '@fuzdev/gro/github.js';

url

type string

id

type number

html_url

type string

number

type number

user

type { [x: string]: unknown; login: string; }

[key: string]

type unknown

Imported by
#