aboutsummaryrefslogtreecommitdiff
path: root/packages/api/src/repository.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/api/src/repository.d.ts')
-rw-r--r--packages/api/src/repository.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/api/src/repository.d.ts b/packages/api/src/repository.d.ts
new file mode 100644
index 0000000..cb4d246
--- /dev/null
+++ b/packages/api/src/repository.d.ts
@@ -0,0 +1,12 @@
+interface RepositoryBase {
+ name: string,
+ description: string | null
+}
+
+export interface RepositorySummary extends RepositoryBase {
+ last_updated: number | string
+}
+
+export interface Repository extends RepositoryBase {
+ has_readme: boolean
+} \ No newline at end of file