diff options
author | HampusM <hampus@hampusmat.com> | 2021-08-02 17:26:29 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-08-02 17:26:29 +0200 |
commit | 904bd1731447796cf1a2bd992c89f889f2a6263a (patch) | |
tree | c746534149722905792e8a1b0059568ed9cc1c7c /packages/api/src/repository.d.ts | |
parent | 8feb65c5467cc3ad48270183113a121c4a9f86ca (diff) |
Renamed the shared types package to api
Diffstat (limited to 'packages/api/src/repository.d.ts')
-rw-r--r-- | packages/api/src/repository.d.ts | 12 |
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 |