Skip to content

Commit 347b518

Browse files
release: 0.3.1 (#29)
* feat(api): manual updates (#28) * release: 0.3.1 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 2a6f6e7 commit 347b518

9 files changed

+12
-26
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.3.0"
2+
".": "0.3.1"
33
}

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 111
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bef0e79f204c51c91f5dca61e621e5e31c7494dccccb200e51da0c7654340816.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-cd6a05ae99d2a050577fa0e729e6ae89b4eacd78f61366a77269398368f8a877.yml

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.3.1 (2025-02-18)
4+
5+
Full Changelog: [v0.3.0...v0.3.1](https://github.com/gitpod-io/gitpod-sdk-typescript/compare/v0.3.0...v0.3.1)
6+
7+
### Features
8+
9+
* **api:** manual updates ([#28](https://github.com/gitpod-io/gitpod-sdk-typescript/issues/28)) ([fce5f5e](https://github.com/gitpod-io/gitpod-sdk-typescript/commit/fce5f5ef736814ab37d5bb7de15d68a5a42d7ace))
10+
311
## 0.3.0 (2025-02-18)
412

513
Full Changelog: [v0.2.0...v0.3.0](https://github.com/gitpod-io/gitpod-sdk-typescript/compare/v0.2.0...v0.3.0)

api.md

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
Types:
44

5-
- <code><a href="./src/resources/shared.ts">ArbitraryData</a></code>
65
- <code><a href="./src/resources/shared.ts">AutomationTrigger</a></code>
76
- <code><a href="./src/resources/shared.ts">EnvironmentClass</a></code>
87
- <code><a href="./src/resources/shared.ts">ErrorCode</a></code>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gitpod/sdk",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "The official TypeScript library for the Gitpod API",
55
"author": "Gitpod <[email protected]>",
66
"types": "dist/index.d.ts",

src/client.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,6 @@ export declare namespace Gitpod {
11451145
type UserSetSuspendedParams as UserSetSuspendedParams,
11461146
};
11471147

1148-
export type ArbitraryData = API.ArbitraryData;
11491148
export type AutomationTrigger = API.AutomationTrigger;
11501149
export type EnvironmentClass = API.EnvironmentClass;
11511150
export type ErrorCode = API.ErrorCode;

src/error.ts

-6
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ export class APIError<
2222
* [google.rpc.Code][google.rpc.Code].
2323
*/
2424
readonly code?: Shared.ErrorCode | undefined;
25-
/**
26-
* Contains an arbitrary serialized message along with a @type that describes the
27-
* type of the serialized message.
28-
*/
29-
readonly detail?: Shared.ArbitraryData | undefined;
3025

3126
constructor(status: TStatus, error: TError, message: string | undefined, headers: THeaders) {
3227
super(`${APIError.makeMessage(status, error, message)}`);
@@ -36,7 +31,6 @@ export class APIError<
3631

3732
const data = error as Record<string, any>;
3833
this.code = data?.['code'];
39-
this.detail = data?.['detail'];
4034
}
4135

4236
private static makeMessage(status: number | undefined, error: any, message: string | undefined) {

src/resources/shared.ts

-14
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,6 @@
22

33
import * as Shared from './shared';
44
import { EnvironmentClassesPage, TaskExecutionsPage, TasksPage } from '../pagination';
5-
import { type Uploadable } from '../uploads';
6-
7-
/**
8-
* Contains an arbitrary serialized message along with a @type that describes the
9-
* type of the serialized message.
10-
*/
11-
export interface ArbitraryData {
12-
debug?: Record<string, unknown>;
13-
14-
type?: string;
15-
16-
value?: Uploadable;
17-
[k: string]: unknown;
18-
}
195

206
/**
217
* An AutomationTrigger represents a trigger for an automation action. The

src/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.3.0'; // x-release-please-version
1+
export const VERSION = '0.3.1'; // x-release-please-version

0 commit comments

Comments
 (0)