aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-11 00:14:48 +0800
committercrupest <crupest@outlook.com>2019-03-11 00:14:48 +0800
commit66e345c2ef3cdff410bf6f31d54f09ab4e6fe213 (patch)
tree8fdf86e18f2dcfa2ee5bfc6973985b8b8706b433 /Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts
parent31199282e1ccf72bb464117ae68668aed91e2530 (diff)
downloadtimeline-66e345c2ef3cdff410bf6f31d54f09ab4e6fe213.tar.gz
timeline-66e345c2ef3cdff410bf6f31d54f09ab4e6fe213.tar.bz2
timeline-66e345c2ef3cdff410bf6f31d54f09ab4e6fe213.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.ts11
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[];