Skip to content

Commit

Permalink
Regenerate frontend API files now that listCount APIs are merged (#757)
Browse files Browse the repository at this point in the history
* Regenerate frontend swagger-generated API files now that listCount APIs are merged

* Manually remove 'url' import from filter/api.ts
  • Loading branch information
rileyjbauer authored and k8s-ci-robot committed Jan 31, 2019
1 parent ec4d7e8 commit 423f33c
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 27 deletions.
6 changes: 6 additions & 0 deletions frontend/src/apis/experiment/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ export interface ApiListExperimentsResponse {
* @memberof ApiListExperimentsResponse
*/
experiments?: Array<ApiExperiment>;
/**
*
* @type {number}
* @memberof ApiListExperimentsResponse
*/
total_size?: number;
/**
*
* @type {string}
Expand Down
53 changes: 26 additions & 27 deletions frontend/src/apis/filter/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: version not set
*
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/


import * as portableFetch from "portable-fetch";
import { Configuration } from "./configuration";

Expand All @@ -39,7 +38,7 @@ export interface FetchAPI {
}

/**
*
*
* @export
* @interface FetchArgs
*/
Expand All @@ -49,7 +48,7 @@ export interface FetchArgs {
}

/**
*
*
* @export
* @class BaseAPI
*/
Expand All @@ -65,7 +64,7 @@ export class BaseAPI {
};

/**
*
*
* @export
* @class RequiredError
* @extends {Error}
Expand All @@ -92,27 +91,27 @@ export interface ApiFilter {
}

/**
*
*
* @export
* @interface ApiIntValues
*/
export interface ApiIntValues {
/**
*
*
* @type {Array&lt;number&gt;}
* @memberof ApiIntValues
*/
values?: Array<number>;
}

/**
*
*
* @export
* @interface ApiLongValues
*/
export interface ApiLongValues {
/**
*
*
* @type {Array&lt;string&gt;}
* @memberof ApiLongValues
*/
Expand All @@ -126,31 +125,31 @@ export interface ApiLongValues {
*/
export interface ApiPredicate {
/**
*
*
* @type {PredicateOp}
* @memberof ApiPredicate
*/
op?: PredicateOp;
/**
*
*
* @type {string}
* @memberof ApiPredicate
*/
key?: string;
/**
*
*
* @type {number}
* @memberof ApiPredicate
*/
int_value?: number;
/**
*
*
* @type {string}
* @memberof ApiPredicate
*/
long_value?: string;
/**
*
*
* @type {string}
* @memberof ApiPredicate
*/
Expand All @@ -168,27 +167,27 @@ export interface ApiPredicate {
*/
int_values?: ApiIntValues;
/**
*
*
* @type {ApiLongValues}
* @memberof ApiPredicate
*/
long_values?: ApiLongValues;
/**
*
*
* @type {ApiStringValues}
* @memberof ApiPredicate
*/
string_values?: ApiStringValues;
}

/**
*
*
* @export
* @interface ApiStringValues
*/
export interface ApiStringValues {
/**
*
*
* @type {Array&lt;string&gt;}
* @memberof ApiStringValues
*/
Expand All @@ -201,15 +200,15 @@ export interface ApiStringValues {
* @enum {string}
*/
export enum PredicateOp {
UNKNOWN = <any>'UNKNOWN',
EQUALS = <any>'EQUALS',
NOTEQUALS = <any>'NOT_EQUALS',
GREATERTHAN = <any>'GREATER_THAN',
GREATERTHANEQUALS = <any>'GREATER_THAN_EQUALS',
LESSTHAN = <any>'LESS_THAN',
LESSTHANEQUALS = <any>'LESS_THAN_EQUALS',
IN = <any>'IN',
ISSUBSTRING = <any>'IS_SUBSTRING'
UNKNOWN = <any> 'UNKNOWN',
EQUALS = <any> 'EQUALS',
NOTEQUALS = <any> 'NOT_EQUALS',
GREATERTHAN = <any> 'GREATER_THAN',
GREATERTHANEQUALS = <any> 'GREATER_THAN_EQUALS',
LESSTHAN = <any> 'LESS_THAN',
LESSTHANEQUALS = <any> 'LESS_THAN_EQUALS',
IN = <any> 'IN',
ISSUBSTRING = <any> 'IS_SUBSTRING'
}


6 changes: 6 additions & 0 deletions frontend/src/apis/job/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ export interface ApiListJobsResponse {
* @memberof ApiListJobsResponse
*/
jobs?: Array<ApiJob>;
/**
*
* @type {number}
* @memberof ApiListJobsResponse
*/
total_size?: number;
/**
*
* @type {string}
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/apis/pipeline/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ export interface ApiListPipelinesResponse {
* @memberof ApiListPipelinesResponse
*/
pipelines?: Array<ApiPipeline>;
/**
*
* @type {number}
* @memberof ApiListPipelinesResponse
*/
total_size?: number;
/**
*
* @type {string}
Expand Down
6 changes: 6 additions & 0 deletions frontend/src/apis/run/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ export interface ApiListRunsResponse {
* @memberof ApiListRunsResponse
*/
runs?: Array<ApiRun>;
/**
*
* @type {number}
* @memberof ApiListRunsResponse
*/
total_size?: number;
/**
*
* @type {string}
Expand Down

0 comments on commit 423f33c

Please sign in to comment.