Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .github/workflows/create-releases.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ jobs:
run: |
bash ./bin/check-release-environment
env:
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}

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.0.1-alpha.0"
".": "0.1.0-alpha.1"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 8
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-6cc6dbcccc2b281f55ced484ddf562c7615d5facb27db5599575e253d9a9a47c.yml
openapi_spec_hash: d74c662cb71cffec14b86f666f53f7c4
config_hash: dd7918597ce0745e0142bbe0c7ab2321
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-9c4cbbd20ce1628e48129ad8e871b729c3f774c5d1ff4cbc560fca81db611d93.yml
openapi_spec_hash: e511d8f4716a56182b97d139eb89b68a
config_hash: 1bee02a0eeb902e1ea32aa032bc70f54
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

## 0.1.0-alpha.1 (2025-04-21)

Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/stainless-api/stainless-api-typescript/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)

### Features

* add typescript ([c0bb679](https://github.com/stainless-api/stainless-api-typescript/commit/c0bb6791b7f2fca7c20d97ac00e879184a9b22e2))
* add typescript ([d46df16](https://github.com/stainless-api/stainless-api-typescript/commit/d46df1603e09620ee06db15ee6dc05abd3d9193a))
* **api:** fix enum name conflict maybe ([e31eca9](https://github.com/stainless-api/stainless-api-typescript/commit/e31eca9fb75f5ffbe28adc0939233cde18ee3d13))
* **api:** remove discriminator thing ([f5da06c](https://github.com/stainless-api/stainless-api-typescript/commit/f5da06c1934137696b29fe5a708efb4fbffb2985))
* change list endpoint ([2f25166](https://github.com/stainless-api/stainless-api-typescript/commit/2f2516691557541a6bea1cc73a71945054325ebf))
4 changes: 0 additions & 4 deletions bin/check-release-environment
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

errors=()

if [ -z "${STAINLESS_API_KEY}" ]; then
errors+=("The STAINLESS_API_KEY secret has not been set. Please contact Stainless for an API key & set it in your organization secrets on GitHub.")
fi

lenErrors=${#errors[@]}

if [[ lenErrors -gt 0 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stainless-v0",
"version": "0.0.1-alpha.0",
"version": "0.1.0-alpha.1",
"description": "The official TypeScript library for the Stainless V0 API",
"author": "Stainless V0 <>",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/resources/build-target-outputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ export namespace BuildTargetOutputRetrieveResponse {
ref: string;

/**
* Full repository name (owner/repo)
* URL to git remote
*/
repo: string;
url: string;
}
}

Expand Down
39 changes: 33 additions & 6 deletions src/resources/builds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,20 @@ export namespace BuildTarget {
commit: Completed.Commit | null;

conclusion:
| 'success'
| 'failure'
| 'skipped'
| 'cancelled'
| 'action_required'
| 'neutral'
| 'timed_out'
| 'error'
| 'warning'
| 'note'
| 'success'
| 'merge_conflict'
| 'upstream_merge_conflict'
| 'fatal'
| 'payment_required'
| 'cancelled'
| 'timed_out'
| 'noop'
| 'version_bump';

Expand Down Expand Up @@ -173,7 +177,16 @@ export namespace BuildTarget {
| 'cancelled'
| 'action_required'
| 'neutral'
| 'timed_out';
| 'timed_out'
| 'error'
| 'warning'
| 'note'
| 'merge_conflict'
| 'upstream_merge_conflict'
| 'fatal'
| 'payment_required'
| 'noop'
| 'version_bump';
}
}

Expand Down Expand Up @@ -204,7 +217,16 @@ export namespace BuildTarget {
| 'cancelled'
| 'action_required'
| 'neutral'
| 'timed_out';
| 'timed_out'
| 'error'
| 'warning'
| 'note'
| 'merge_conflict'
| 'upstream_merge_conflict'
| 'fatal'
| 'payment_required'
| 'noop'
| 'version_bump';
}
}
}
Expand Down Expand Up @@ -268,10 +290,15 @@ export interface BuildListParams {
project: string;

/**
* Branch name, defaults to "main"
* Branch name
*/
branch?: string;

/**
* Config commit SHA
*/
config_commit?: string;

/**
* Pagination cursor from a previous response
*/
Expand Down
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.0.1-alpha.0'; // x-release-please-version
export const VERSION = '0.1.0-alpha.1'; // x-release-please-version
1 change: 1 addition & 0 deletions tests/api-resources/builds.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ describe('resource builds', () => {
const response = await client.builds.list({
project: 'project',
branch: 'branch',
config_commit: 'config_commit',
cursor: 'cursor',
limit: 0,
});
Expand Down