Download src/constants/gh.ts from lynfera/api: direct link, hf CLI and curl.
- Browser
- Download file 655 Bytes
-
https://huggingface.co/spaces/lynfera/api/resolve/main/src/constants/gh.ts
- Command line
-
hf download hf://spaces/lynfera/api/src/constants/gh.ts
-
curl -L -o gh.ts https://huggingface.co/spaces/lynfera/api/resolve/main/src/constants/gh.ts
655 Bytes
| export const githubAppSlug = "lynfera-app"; | |
| export const githubAppId = 2973065; | |
| export const installationIdVerifyUrl = "https://api.github.com/app/installations/"; | |
| export const newAccessTokensUrl = (id: number) => `https://api.github.com/app/installations/${id}/access_tokens`; | |
| export const reposUrl = "https://api.github.com/installation/repositories"; | |
| export const makeRepoUr = (owner: string, repo: string) => `https://api.github.com/repos/${owner}/${repo}`; | |
| export const makeRepoBranchUr = (owner: string, repo: string) => `https://api.github.com/repos/${owner}/${repo}/branches`; | |
| export const GITHUB_ACCEPT_HEADER = "application/vnd.github+json"; | |