rough draft of new repo data type

929902548271025085c41d2271bccd17fdbd689f

Tucker McKnight <tmcknight@instructure.com> | Tue Oct 21 2025

rough draft of new repo data type
src/dataTypes.ts:1
Before





















0
1
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
⁣
export type BranchInfo = {
  files: Array<string>,
  patches: Array<any>
After
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>