Tucker McKnight <tmcknight@instructure.com> | Tue Oct 21 2025
rough draft of new repo data type
0 1
export type BranchInfo = {
files: Array<string>,
patches: Array<any>0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
type Repository = {
name: string,
description?: string,
cloneUrl: string,
branches: Array<{
name: string,
description?: string,
head: string,
isDefault: boolean,
}>,
tags: Array<{
name: string,
sha: string,
}>,
commits: Map<string, {
message: string,
author: string,
date: Date,
parent: string,
}>,
}
export type BranchInfo = {
files: Array<string>,
patches: Array<any>