From 66e345c2ef3cdff410bf6f31d54f09ab4e6fe213 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 11 Mar 2019 00:14:48 +0800 Subject: Extract out http entities. --- Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts (limited to 'Timeline/ClientApp/src/app/todo/todo-service/http-entities.ts') 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[]; -- cgit v1.2.3