Skip to content

Commit

Permalink
improve HAR type docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mrowetz committed Feb 25, 2017
1 parent c4097c3 commit 11200f0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/ts/typing/har.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@
* http://www.softwareishard.com/blog/har-12-spec/#log
*/
export interface Har {
/** Version number of the format. If empty, string "1.1" is assumed by default. */
version: string;
/** Name and version info of the log creator application. */
creator: Creator;
/** Name and version info of used browser. */
browser?: Browser;
/**
* List of all exported (tracked) pages.
*
* _Leave out this field if the application does not support grouping by pages._
*/
pages?: Page[];
/** List of all exported (tracked) requests. */
entries: Entry[];
/** A comment provided by the user or the application. */
comment?: string;
label?: string; // TODO: Verify if this does exist
}

/**
Expand Down

0 comments on commit 11200f0

Please sign in to comment.