Skip to content

Commit

Permalink
[sherlock-build] generated from e3a8906
Browse files Browse the repository at this point in the history
  • Loading branch information
broadbot committed Oct 10, 2023
1 parent e3a8906 commit 0f97f22
Show file tree
Hide file tree
Showing 14 changed files with 277 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 49 additions & 0 deletions sherlock-go-client/client/models/sherlock_app_version_v3.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 49 additions & 0 deletions sherlock-go-client/client/models/sherlock_chart_version_v3.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sherlock-typescript-client/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## @sherlock-js-client/sherlock@v0.2.9
## @sherlock-js-client/sherlock@v0.2.10

This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:

Expand Down Expand Up @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
_published:_

```
npm install @sherlock-js-client/[email protected].9 --save
npm install @sherlock-js-client/[email protected].10 --save
```

_unPublished (not recommended):_
Expand Down
4 changes: 2 additions & 2 deletions sherlock-typescript-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sherlock-typescript-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sherlock-js-client/sherlock",
"version": "v0.2.9",
"version": "v0.2.10",
"description": "OpenAPI client for @sherlock-js-client/sherlock",
"author": "OpenAPI-Generator",
"repository": {
Expand Down
5 changes: 5 additions & 0 deletions sherlock-typescript-client/src/apis/AppVersionsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export interface ApiAppVersionsProceduresV3ChangelogGetRequest {

export interface ApiAppVersionsV3GetRequest {
appVersion?: string;
authoredBy?: string;
chart?: string;
createdAt?: Date;
description?: string;
Expand Down Expand Up @@ -175,6 +176,10 @@ export class AppVersionsApi extends runtime.BaseAPI {
queryParameters['appVersion'] = requestParameters.appVersion;
}

if (requestParameters.authoredBy !== undefined) {
queryParameters['authoredBy'] = requestParameters.authoredBy;
}

if (requestParameters.chart !== undefined) {
queryParameters['chart'] = requestParameters.chart;
}
Expand Down
5 changes: 5 additions & 0 deletions sherlock-typescript-client/src/apis/ChartVersionsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export interface ApiChartVersionsProceduresV3ChangelogGetRequest {
}

export interface ApiChartVersionsV3GetRequest {
authoredBy?: string;
chart?: string;
chartVersion?: string;
createdAt?: Date;
Expand Down Expand Up @@ -167,6 +168,10 @@ export class ChartVersionsApi extends runtime.BaseAPI {
async apiChartVersionsV3GetRaw(requestParameters: ApiChartVersionsV3GetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SherlockChartVersionV3>>> {
const queryParameters: any = {};

if (requestParameters.authoredBy !== undefined) {
queryParameters['authoredBy'] = requestParameters.authoredBy;
}

if (requestParameters.chart !== undefined) {
queryParameters['chart'] = requestParameters.chart;
}
Expand Down
22 changes: 22 additions & 0 deletions sherlock-typescript-client/src/models/SherlockAppVersionV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ import {
SherlockCiIdentifierV3FromJSONTyped,
SherlockCiIdentifierV3ToJSON,
} from './SherlockCiIdentifierV3';
import type { SherlockUserV3 } from './SherlockUserV3';
import {
SherlockUserV3FromJSON,
SherlockUserV3FromJSONTyped,
SherlockUserV3ToJSON,
} from './SherlockUserV3';

/**
*
Expand All @@ -38,6 +44,18 @@ export interface SherlockAppVersionV3 {
* @memberof SherlockAppVersionV3
*/
appVersion?: string;
/**
*
* @type {string}
* @memberof SherlockAppVersionV3
*/
authoredBy?: string;
/**
*
* @type {SherlockUserV3}
* @memberof SherlockAppVersionV3
*/
authoredByInfo?: SherlockUserV3;
/**
* Required when creating
* @type {string}
Expand Down Expand Up @@ -126,6 +144,8 @@ export function SherlockAppVersionV3FromJSONTyped(json: any, ignoreDiscriminator
return {

'appVersion': !exists(json, 'appVersion') ? undefined : json['appVersion'],
'authoredBy': !exists(json, 'authoredBy') ? undefined : json['authoredBy'],
'authoredByInfo': !exists(json, 'authoredByInfo') ? undefined : SherlockUserV3FromJSON(json['authoredByInfo']),
'chart': !exists(json, 'chart') ? undefined : json['chart'],
'chartInfo': !exists(json, 'chartInfo') ? undefined : SherlockChartV3FromJSON(json['chartInfo']),
'ciIdentifier': !exists(json, 'ciIdentifier') ? undefined : SherlockCiIdentifierV3FromJSON(json['ciIdentifier']),
Expand All @@ -150,6 +170,8 @@ export function SherlockAppVersionV3ToJSON(value?: SherlockAppVersionV3 | null):
return {

'appVersion': value.appVersion,
'authoredBy': value.authoredBy,
'authoredByInfo': SherlockUserV3ToJSON(value.authoredByInfo),
'chart': value.chart,
'chartInfo': SherlockChartV3ToJSON(value.chartInfo),
'ciIdentifier': SherlockCiIdentifierV3ToJSON(value.ciIdentifier),
Expand Down
Loading

0 comments on commit 0f97f22

Please sign in to comment.