diff options
author | crupest <crupest@outlook.com> | 2019-03-11 00:14:48 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-03-11 00:14:48 +0800 |
commit | 92cd9a980075fa482bd7f67412c618e54ac9501c (patch) | |
tree | 3cc369a51013e4f2e220aaf3ec32ed74104ad808 /Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts | |
parent | f8cfca136a69c6589bb610a66ea5342fc585f19b (diff) | |
download | timeline-92cd9a980075fa482bd7f67412c618e54ac9501c.tar.gz timeline-92cd9a980075fa482bd7f67412c618e54ac9501c.tar.bz2 timeline-92cd9a980075fa482bd7f67412c618e54ac9501c.zip |
Extract out http entities.
Diffstat (limited to 'Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts b/Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts new file mode 100644 index 00000000..3971617c --- /dev/null +++ b/Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts @@ -0,0 +1,11 @@ +export const githubBaseUrl = 'https://api.github.com/repos/crupest/Timeline'; + +export interface IssueResponseItem { + number: number; + title: string; + state: string; + html_url: string; + pull_request?: any; +} + +export type IssueResponse = IssueResponseItem[]; |