@codacy/api-typescript
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -204,2 +204,14 @@ import { ServiceClientOptions } from "@azure/ms-rest-js"; | ||
/** | ||
* An interface representing Commit. | ||
*/ | ||
export interface Commit { | ||
sha: string; | ||
/** | ||
* Timestamp when the repository finished the latest analysis | ||
* **NOTE: This entity will be treated as a string instead of a Date because the API can | ||
* potentially deal with a higher precision value than what is supported by JavaScript.** | ||
*/ | ||
endedAnalysis?: string; | ||
} | ||
/** | ||
* An interface representing RepositoryListResponse. | ||
@@ -275,3 +287,2 @@ */ | ||
isEnabled: boolean; | ||
latestCommitUUID?: string; | ||
/** | ||
@@ -296,2 +307,3 @@ * **NOTE: This entity will be treated as a string instead of a Date because the API can | ||
export interface RepositoryWithAnalysis { | ||
lastAnalysedCommit?: Commit; | ||
grade?: number; | ||
@@ -376,2 +388,3 @@ issuesPercentage?: number; | ||
duplicationPercentage?: number; | ||
coveragePercentage?: number; | ||
numberFilesUncovered?: number; | ||
@@ -378,0 +391,0 @@ techDebt: number; |
@@ -21,2 +21,3 @@ import * as msRest from "@azure/ms-rest-js"; | ||
export declare const Repository: msRest.CompositeMapper; | ||
export declare const Commit: msRest.CompositeMapper; | ||
export declare const RepositoryListResponse: msRest.CompositeMapper; | ||
@@ -23,0 +24,0 @@ export declare const ProblemLink: msRest.CompositeMapper; |
@@ -603,2 +603,24 @@ /* | ||
}; | ||
export var Commit = { | ||
serializedName: "Commit", | ||
type: { | ||
name: "Composite", | ||
className: "Commit", | ||
modelProperties: { | ||
sha: { | ||
required: true, | ||
serializedName: "sha", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
endedAnalysis: { | ||
serializedName: "endedAnalysis", | ||
type: { | ||
name: "String" | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
export var RepositoryListResponse = { | ||
@@ -818,8 +840,2 @@ serializedName: "RepositoryListResponse", | ||
}, | ||
latestCommitUUID: { | ||
serializedName: "latestCommitUUID", | ||
type: { | ||
name: "String" | ||
} | ||
}, | ||
lastUpdated: { | ||
@@ -873,2 +889,9 @@ serializedName: "lastUpdated", | ||
modelProperties: { | ||
lastAnalysedCommit: { | ||
serializedName: "lastAnalysedCommit", | ||
type: { | ||
name: "Composite", | ||
className: "Commit" | ||
} | ||
}, | ||
grade: { | ||
@@ -1201,2 +1224,8 @@ serializedName: "grade", | ||
}, | ||
coveragePercentage: { | ||
serializedName: "coveragePercentage", | ||
type: { | ||
name: "Number" | ||
} | ||
}, | ||
numberFilesUncovered: { | ||
@@ -1203,0 +1232,0 @@ serializedName: "numberFilesUncovered", |
{ | ||
"name": "@codacy/api-typescript", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Codacy API client for Typescript", | ||
@@ -73,3 +73,3 @@ "homepage": "https://github.com/codacy/codacy-api-typescript#readme", | ||
}, | ||
"apiVersion": "15.19.0" | ||
"apiVersion": "16.10.2" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
302017
6142