@testmonitor/ts-reporter-client
Version:
A convenient TypeScript wrapper for the TestMonitor reporter API endpoints. It can be used in both TypeScript and JavaScript.
69 lines (68 loc) • 1.39 kB
TypeScript
import { TestRun } from './TestRun';
/**
*
* @export
* @interface Report
*/
export interface Report {
/**
* The resource identifier. Defaults to integer.
* @type {number}
* @memberof Report
*/
id: number;
/**
* A resource string.
* @type {string}
* @memberof Report
*/
name: string;
/**
*
* @type {TestRun}
* @memberof Report
*/
test_run: TestRun;
/**
* A resource datetime string.
* @type {string}
* @memberof Report
*/
starts_at: string;
/**
* A resource datetime string.
* @type {string}
* @memberof Report
*/
completed_at: string;
/**
* All available application url\'s for this record.
* @type {object}
* @memberof Report
*/
links?: object;
/**
* Read-only timestamp, automatically assigned on back-end.
* @type {string}
* @memberof Report
*/
created_at: string;
/**
* Read-only timestamp, automatically assigned on back-end.
* @type {string}
* @memberof Report
*/
updated_at: string;
/**
* User who created this report.
* @type {object}
* @memberof Report
*/
created_by?: object | null;
/**
* User who last updated this report.
* @type {object}
* @memberof Report
*/
updated_by?: object | null;
}