Skip to content

Commit 0e145c1

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.636.3
1 parent 82fbbb7 commit 0e145c1

File tree

2,223 files changed

+46637
-41753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,223 files changed

+46637
-41753
lines changed

.devcontainer/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/instal
77
rmdir samples || true
88
mkdir samples
99

10-
npm install
11-
npm install -g ts-node
10+
npm install --ignore-scripts
11+
npm install -g ts-node --ignore-scripts
1212
npm link
1313
npm link @speakeasy-sdks/bluesky
1414
TS_CONFIG_CONTENT=$(cat <<EOL

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/examples/node_modules
2+
.DS_Store
3+
**/.speakeasy/temp/
4+
**/.speakeasy/logs/
5+
.DS_Store
6+
.env
7+
.env.local
8+
.env.*.local
19
/mcp-server
210
/bin
311
/.eslintcache

.speakeasy/gen.lock

Lines changed: 5096 additions & 580 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,35 @@ generation:
77
maintainOpenAPIOrder: true
88
usageSnippets:
99
optionalPropertyRendering: withExample
10+
sdkInitStyle: constructor
1011
useClassNamesForArrayFields: true
1112
fixes:
1213
nameResolutionDec2023: true
1314
nameResolutionFeb2025: true
1415
parameterOrderingFeb2024: true
1516
requestResponseComponentNamesFeb2024: true
1617
securityFeb2025: false
18+
sharedErrorComponentsApr2025: false
1719
auth:
1820
oAuth2ClientCredentialsEnabled: false
1921
oAuth2PasswordEnabled: false
22+
hoistGlobalSecurity: true
23+
tests:
24+
generateTests: true
25+
generateNewTests: false
26+
skipResponseBodyAssertions: false
2027
typescript:
21-
version: 0.2.0
28+
version: 0.3.0
29+
acceptHeaderEnum: true
2230
additionalDependencies:
2331
dependencies: {}
2432
devDependencies: {}
2533
peerDependencies: {}
2634
additionalPackageJSON: {}
2735
author: Speakeasy
36+
baseErrorName: BlueskyError
2837
clientServerStatusCodesAsErrors: true
38+
constFieldsAlwaysOptional: true
2939
defaultErrorName: APIError
3040
enableCustomCodeRegions: false
3141
enableMCPServer: true
@@ -34,6 +44,7 @@ typescript:
3444
envVarPrefix: BLUESKY
3545
flattenGlobalSecurity: true
3646
flatteningOrder: parameters-first
47+
generateExamples: true
3748
imports:
3849
option: openapi
3950
paths:
@@ -43,11 +54,15 @@ typescript:
4354
shared: models/components
4455
webhooks: models/webhooks
4556
inputModelSuffix: input
57+
jsonpath: legacy
4658
maxMethodParams: 0
4759
methodArguments: infer-optional-args
60+
modelPropertyCasing: camel
4861
moduleFormat: esm
4962
outputModelSuffix: output
5063
packageName: '@speakeasy-sdks/bluesky'
5164
responseFormat: flat
65+
sseFlatResponse: false
5266
templateVersion: v2
67+
usageSDKInitImports: []
5368
useIndexModules: true

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.502.0
1+
speakeasyVersion: 1.636.3
22
sources:
33
OAS:
44
sourceNamespace: oas
5-
sourceRevisionDigest: sha256:e1219e25d26c16987db000021f18323b34f8a5887ac8aa7c73e807baff6e3263
6-
sourceBlobDigest: sha256:fc611c3f426fda575a39f6881e166ba50f7760e7c81a8a7d094b851ae6f3fbb8
5+
sourceRevisionDigest: sha256:d6657a856c6af4fe59a19f3c0e9f494f0244365b1bdacb3c8bac54214ca743f2
6+
sourceBlobDigest: sha256:063686bb0b805dbbd27321bed15a14dc6d24f11e568ebee4598d7863f56fbc61
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740161432
9+
- speakeasy-sdk-regen-1758760356
1010
- 0.0.0
1111
targets:
1212
bluesky:
1313
source: OAS
1414
sourceNamespace: oas
15-
sourceRevisionDigest: sha256:e1219e25d26c16987db000021f18323b34f8a5887ac8aa7c73e807baff6e3263
16-
sourceBlobDigest: sha256:fc611c3f426fda575a39f6881e166ba50f7760e7c81a8a7d094b851ae6f3fbb8
15+
sourceRevisionDigest: sha256:d6657a856c6af4fe59a19f3c0e9f494f0244365b1bdacb3c8bac54214ca743f2
16+
sourceBlobDigest: sha256:063686bb0b805dbbd27321bed15a14dc6d24f11e568ebee4598d7863f56fbc61
1717
codeSamplesNamespace: oas-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:e022cc6f30be05153433d64c6f8644170041b02aea03d095c774b0d146f1de23
18+
codeSamplesRevisionDigest: sha256:2243b5aaa4b736609d93dc2b0635741f8f0c6790f46cd823a87e212b5ae6f345
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

FUNCTIONS.md

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ specific category of applications.
2121
```typescript
2222
import { BlueskyCore } from "@speakeasy-sdks/bluesky/core.js";
2323
import { actorsGetProfile } from "@speakeasy-sdks/bluesky/funcs/actorsGetProfile.js";
24-
import { SDKValidationError } from "@speakeasy-sdks/bluesky/models/errors/sdkvalidationerror.js";
2524

2625
// Use `BlueskyCore` for best tree-shaking performance.
2726
// You can create one instance of it to use across an application.
@@ -33,28 +32,12 @@ async function run() {
3332
const res = await actorsGetProfile(bluesky, {
3433
actor: "did:plc:z72i7hdynmk6r22z27h6tvur",
3534
});
36-
37-
switch (true) {
38-
case res.ok:
39-
// The success case will be handled outside of the switch block
40-
break;
41-
case res.error instanceof SDKValidationError:
42-
// Pretty-print validation errors.
43-
return console.log(res.error.pretty());
44-
case res.error instanceof Error:
45-
return console.log(res.error);
46-
default:
47-
// TypeScript's type checking will fail on the following line if the above
48-
// cases were not exhaustive.
49-
res.error satisfies never;
50-
throw new Error("Assertion failed: expected error checks to be exhaustive: " + res.error);
35+
if (res.ok) {
36+
const { value: result } = res;
37+
console.log(result);
38+
} else {
39+
console.log("actorsGetProfile failed:", res.error);
5140
}
52-
53-
54-
const { value: result } = res;
55-
56-
// Handle the result
57-
console.log(result);
5841
}
5942

6043
run();

REACT_QUERY.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,6 @@ export function Example() {
122122
mutate({
123123
preferences: [
124124
{},
125-
{
126-
labelers: [
127-
{
128-
did: "<id>",
129-
},
130-
],
131-
},
132125
],
133126
});
134127
}}

0 commit comments

Comments
 (0)