Skip to content

Commit

Permalink
release: 0.3.1 (#29)
Browse files Browse the repository at this point in the history
* feat(api): manual updates (#28)

* release: 0.3.1

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
  • Loading branch information
stainless-app[bot] authored Feb 18, 2025
1 parent 2a6f6e7 commit 347b518
Showing 9 changed files with 12 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.3.0"
".": "0.3.1"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 111
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bef0e79f204c51c91f5dca61e621e5e31c7494dccccb200e51da0c7654340816.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-cd6a05ae99d2a050577fa0e729e6ae89b4eacd78f61366a77269398368f8a877.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.3.1 (2025-02-18)

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

### Features

* **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))

## 0.3.0 (2025-02-18)

Full Changelog: [v0.2.0...v0.3.0](https://github.com/gitpod-io/gitpod-sdk-typescript/compare/v0.2.0...v0.3.0)
1 change: 0 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@

Types:

- <code><a href="./src/resources/shared.ts">ArbitraryData</a></code>
- <code><a href="./src/resources/shared.ts">AutomationTrigger</a></code>
- <code><a href="./src/resources/shared.ts">EnvironmentClass</a></code>
- <code><a href="./src/resources/shared.ts">ErrorCode</a></code>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gitpod/sdk",
"version": "0.3.0",
"version": "0.3.1",
"description": "The official TypeScript library for the Gitpod API",
"author": "Gitpod <dev-feedback@gitpod.com>",
"types": "dist/index.d.ts",
1 change: 0 additions & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
@@ -1145,7 +1145,6 @@ export declare namespace Gitpod {
type UserSetSuspendedParams as UserSetSuspendedParams,
};

export type ArbitraryData = API.ArbitraryData;
export type AutomationTrigger = API.AutomationTrigger;
export type EnvironmentClass = API.EnvironmentClass;
export type ErrorCode = API.ErrorCode;
6 changes: 0 additions & 6 deletions src/error.ts
Original file line number Diff line number Diff line change
@@ -22,11 +22,6 @@ export class APIError<
* [google.rpc.Code][google.rpc.Code].
*/
readonly code?: Shared.ErrorCode | undefined;
/**
* Contains an arbitrary serialized message along with a @type that describes the
* type of the serialized message.
*/
readonly detail?: Shared.ArbitraryData | undefined;

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

const data = error as Record<string, any>;
this.code = data?.['code'];
this.detail = data?.['detail'];
}

private static makeMessage(status: number | undefined, error: any, message: string | undefined) {
14 changes: 0 additions & 14 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
@@ -2,20 +2,6 @@

import * as Shared from './shared';
import { EnvironmentClassesPage, TaskExecutionsPage, TasksPage } from '../pagination';
import { type Uploadable } from '../uploads';

/**
* Contains an arbitrary serialized message along with a @type that describes the
* type of the serialized message.
*/
export interface ArbitraryData {
debug?: Record<string, unknown>;

type?: string;

value?: Uploadable;
[k: string]: unknown;
}

/**
* An AutomationTrigger represents a trigger for an automation action. The
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.3.0'; // x-release-please-version
export const VERSION = '0.3.1'; // x-release-please-version

0 comments on commit 347b518

Please sign in to comment.