Skip to content

Commit 1272a9d

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.665.0
1 parent 82fbbb7 commit 1272a9d

File tree

2,431 files changed

+44022
-55321
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,431 files changed

+44022
-55321
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: 5098 additions & 581 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,53 @@ 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+
schemas:
24+
allOfMergeStrategy: shallowMerge
25+
requestBodyFieldName: ""
26+
tests:
27+
generateTests: true
28+
generateNewTests: false
29+
skipResponseBodyAssertions: false
2030
typescript:
21-
version: 0.2.0
31+
version: 0.3.0
32+
acceptHeaderEnum: true
2233
additionalDependencies:
2334
dependencies: {}
2435
devDependencies: {}
2536
peerDependencies: {}
2637
additionalPackageJSON: {}
38+
additionalScripts: {}
39+
alwaysIncludeInboundAndOutbound: false
2740
author: Speakeasy
41+
baseErrorName: BlueskyError
2842
clientServerStatusCodesAsErrors: true
43+
constFieldsAlwaysOptional: true
2944
defaultErrorName: APIError
3045
enableCustomCodeRegions: false
3146
enableMCPServer: true
3247
enableReactQuery: true
3348
enumFormat: union
3449
envVarPrefix: BLUESKY
50+
exportZodModelNamespace: false
3551
flattenGlobalSecurity: true
3652
flatteningOrder: parameters-first
53+
formStringArrayEncodeMode: encoded-string
54+
forwardCompatibleEnumsByDefault: false
55+
forwardCompatibleUnionsByDefault: "false"
56+
generateExamples: true
3757
imports:
3858
option: openapi
3959
paths:
@@ -42,12 +62,21 @@ typescript:
4262
operations: models/operations
4363
shared: models/components
4464
webhooks: models/webhooks
65+
inferUnionDiscriminators: true
4566
inputModelSuffix: input
67+
jsonpath: legacy
68+
laxMode: strict
4669
maxMethodParams: 0
4770
methodArguments: infer-optional-args
71+
modelPropertyCasing: camel
4872
moduleFormat: esm
73+
multipartArrayFormat: legacy
4974
outputModelSuffix: output
5075
packageName: '@speakeasy-sdks/bluesky'
5176
responseFormat: flat
77+
sseFlatResponse: false
5278
templateVersion: v2
79+
unionStrategy: left-to-right
80+
usageSDKInitImports: []
5381
useIndexModules: true
82+
zodVersion: v3

.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.665.0
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)