-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
export interface RequestInfo { | ||
url: string; | ||
method: string; | ||
body: string; | ||
headers: { [key: string]: string }; | ||
readonly url: string; | ||
readonly method: string; | ||
readonly body: string; | ||
readonly headers: { [key: string]: string }; | ||
} | ||
|
||
export interface ResponseInfo { | ||
status: number; | ||
body: string; | ||
headers: { [key: string]: string }; | ||
readonly status: number; | ||
readonly body: string; | ||
readonly headers: { [key: string]: string }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
export interface Project { | ||
uuid: string; | ||
name: string; | ||
sections: ProjectSection[]; | ||
specs: ProjectRequestSpec[]; | ||
readonly uuid: string; | ||
readonly name: string; | ||
readonly sections: ProjectSection[]; | ||
readonly specs: ProjectRequestSpec[]; | ||
} | ||
|
||
export interface ProjectSection { | ||
uuid: string; | ||
name: string; | ||
readonly uuid: string; | ||
readonly name: string; | ||
} | ||
|
||
export interface ProjectRequestSpec { | ||
uuid: string; | ||
url: string; | ||
method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"; | ||
headers: ProjectRequestSpecHeader[]; | ||
body: string; | ||
readonly uuid: string; | ||
readonly url: string; | ||
readonly method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE"; | ||
readonly headers: ProjectRequestSpecHeader[]; | ||
readonly body: string; | ||
} | ||
|
||
export interface ProjectRequestSpecHeader { | ||
key: string; | ||
value: string; | ||
isEnabled: boolean; | ||
readonly key: string; | ||
readonly value: string; | ||
readonly isEnabled: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters