Skip to content

Commit be552ee

Browse files
authored
Merge pull request #1 from stainless-api/release-please--branches--main--changes--next--components--stainless-v0
release: 0.1.0-alpha.1
2 parents d46df16 + eee406c commit be552ee

File tree

11 files changed

+55
-53
lines changed

11 files changed

+55
-53
lines changed

.github/workflows/create-releases.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/release-doctor.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ jobs:
1818
run: |
1919
bash ./bin/check-release-environment
2020
env:
21-
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
2221

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.0.1-alpha.0"
2+
".": "0.1.0-alpha.1"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 8
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-6cc6dbcccc2b281f55ced484ddf562c7615d5facb27db5599575e253d9a9a47c.yml
3-
openapi_spec_hash: d74c662cb71cffec14b86f666f53f7c4
4-
config_hash: dd7918597ce0745e0142bbe0c7ab2321
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stainless%2Fstainless-v0-9c4cbbd20ce1628e48129ad8e871b729c3f774c5d1ff4cbc560fca81db611d93.yml
3+
openapi_spec_hash: e511d8f4716a56182b97d139eb89b68a
4+
config_hash: 1bee02a0eeb902e1ea32aa032bc70f54

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
3+
## 0.1.0-alpha.1 (2025-04-21)
4+
5+
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)
6+
7+
### Features
8+
9+
* add typescript ([c0bb679](https://github.com/stainless-api/stainless-api-typescript/commit/c0bb6791b7f2fca7c20d97ac00e879184a9b22e2))
10+
* add typescript ([d46df16](https://github.com/stainless-api/stainless-api-typescript/commit/d46df1603e09620ee06db15ee6dc05abd3d9193a))
11+
* **api:** fix enum name conflict maybe ([e31eca9](https://github.com/stainless-api/stainless-api-typescript/commit/e31eca9fb75f5ffbe28adc0939233cde18ee3d13))
12+
* **api:** remove discriminator thing ([f5da06c](https://github.com/stainless-api/stainless-api-typescript/commit/f5da06c1934137696b29fe5a708efb4fbffb2985))
13+
* change list endpoint ([2f25166](https://github.com/stainless-api/stainless-api-typescript/commit/2f2516691557541a6bea1cc73a71945054325ebf))

bin/check-release-environment

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
errors=()
44

5-
if [ -z "${STAINLESS_API_KEY}" ]; then
6-
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.")
7-
fi
8-
95
lenErrors=${#errors[@]}
106

117
if [[ lenErrors -gt 0 ]]; then

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stainless-v0",
3-
"version": "0.0.1-alpha.0",
3+
"version": "0.1.0-alpha.1",
44
"description": "The official TypeScript library for the Stainless V0 API",
55
"author": "Stainless V0 <>",
66
"types": "dist/index.d.ts",

src/resources/build-target-outputs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ export namespace BuildTargetOutputRetrieveResponse {
4444
ref: string;
4545

4646
/**
47-
* Full repository name (owner/repo)
47+
* URL to git remote
4848
*/
49-
repo: string;
49+
url: string;
5050
}
5151
}
5252

src/resources/builds.ts

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,20 @@ export namespace BuildTarget {
9797
commit: Completed.Commit | null;
9898

9999
conclusion:
100+
| 'success'
101+
| 'failure'
102+
| 'skipped'
103+
| 'cancelled'
104+
| 'action_required'
105+
| 'neutral'
106+
| 'timed_out'
100107
| 'error'
101108
| 'warning'
102109
| 'note'
103-
| 'success'
104110
| 'merge_conflict'
105111
| 'upstream_merge_conflict'
106112
| 'fatal'
107113
| 'payment_required'
108-
| 'cancelled'
109-
| 'timed_out'
110114
| 'noop'
111115
| 'version_bump';
112116

@@ -173,7 +177,16 @@ export namespace BuildTarget {
173177
| 'cancelled'
174178
| 'action_required'
175179
| 'neutral'
176-
| 'timed_out';
180+
| 'timed_out'
181+
| 'error'
182+
| 'warning'
183+
| 'note'
184+
| 'merge_conflict'
185+
| 'upstream_merge_conflict'
186+
| 'fatal'
187+
| 'payment_required'
188+
| 'noop'
189+
| 'version_bump';
177190
}
178191
}
179192

@@ -204,7 +217,16 @@ export namespace BuildTarget {
204217
| 'cancelled'
205218
| 'action_required'
206219
| 'neutral'
207-
| 'timed_out';
220+
| 'timed_out'
221+
| 'error'
222+
| 'warning'
223+
| 'note'
224+
| 'merge_conflict'
225+
| 'upstream_merge_conflict'
226+
| 'fatal'
227+
| 'payment_required'
228+
| 'noop'
229+
| 'version_bump';
208230
}
209231
}
210232
}
@@ -268,10 +290,15 @@ export interface BuildListParams {
268290
project: string;
269291

270292
/**
271-
* Branch name, defaults to "main"
293+
* Branch name
272294
*/
273295
branch?: string;
274296

297+
/**
298+
* Config commit SHA
299+
*/
300+
config_commit?: string;
301+
275302
/**
276303
* Pagination cursor from a previous response
277304
*/

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.0.1-alpha.0'; // x-release-please-version
1+
export const VERSION = '0.1.0-alpha.1'; // x-release-please-version

0 commit comments

Comments
 (0)