@openinc/parse-server-opendash
Version:
Parse Server Cloud Code for open.INC Stack.
26 lines (25 loc) • 470 B
TypeScript
export type GitHubTreeItem = {
path: string;
mode: string;
type: "blob" | "tree";
sha: string;
size?: number;
url: string;
};
export type GitHubTreeResponse = {
sha: string;
url: string;
tree: GitHubTreeItem[];
truncated: boolean;
};
export type GitHubBranch = {
name: string;
commit: {
sha: string;
};
};
export type GitHubRepository = {
name: string;
private: boolean;
default_branch: string;
};