aboutsummaryrefslogtreecommitdiff
path: root/packages/api/src/branch.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/api/src/branch.d.ts')
-rw-r--r--packages/api/src/branch.d.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/api/src/branch.d.ts b/packages/api/src/branch.d.ts
new file mode 100644
index 0000000..a32515e
--- /dev/null
+++ b/packages/api/src/branch.d.ts
@@ -0,0 +1,10 @@
+import { LatestCommit } from "./commit";
+
+export interface BranchSummary {
+ id: string,
+ name: string
+}
+
+export interface Branch extends BranchSummary {
+ latest_commit: LatestCommit
+} \ No newline at end of file