renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
25 lines (24 loc) • 564 B
TypeScript
import type { GitTreeNode } from '../../git';
export interface GithubGitBase {
sha: string;
url: string;
size: number;
}
/**
* https://docs.github.com/en/rest/reference/git#get-a-tree
*/
export type GithubGitTreeNode = GithubGitBase & GitTreeNode;
export interface GithubGitTree {
sha: string;
url: string;
tree: GithubGitTreeNode[];
truncated: boolean;
}
/**
* https://docs.github.com/en/rest/reference/git#get-a-blob
*/
export type GithubGitBlob = {
type: string;
content: string;
encoding: string;
} & GithubGitBase;