Skip to content

Commit 7a0cc68

Browse files
committed
fix: format JS SDK files with project prettier version
Co-authored-by: Cursor <cursoragent@cursor.com> fix: regenerate API clients with snapshots tag and add missing body param - Add 'snapshots' to codegen tag filter in JS SDK and Python SDK - Add required body parameter to createSnapshot API call - Regenerate all API clients from current OpenAPI spec fix: add missing body param to Python SDK create_snapshot calls fix: use unformatted schema.gen.ts output from openapi-typescript These files are in .prettierignore and should not be reformatted.
1 parent 740a9c9 commit 7a0cc68

27 files changed

Lines changed: 1521 additions & 232 deletions

packages/js-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"example": "tsx example.mts",
3030
"test": "vitest run",
3131
"generate": "npm-run-all generate:* && pnpm run format",
32-
"generate:api": "python ./../../spec/remove_extra_tags.py sandboxes templates tags auth && openapi-typescript ../../spec/openapi_generated.yml -x api_key --array-length --alphabetize --default-non-nullable false --output src/api/schema.gen.ts",
32+
"generate:api": "python ./../../spec/remove_extra_tags.py sandboxes snapshots templates tags auth && openapi-typescript ../../spec/openapi_generated.yml -x api_key --array-length --alphabetize --default-non-nullable false --output src/api/schema.gen.ts",
3333
"generate:envd": "cd ../../spec/envd && buf generate --template buf-js.gen.yaml\n",
3434
"generate:envd-api": "openapi-typescript ../../spec/envd/envd.yaml -x api_key --array-length --alphabetize --output src/envd/schema.gen.ts",
3535
"generate:mcp": "json2ts -i ./../../spec/mcp-server.json -o src/sandbox/mcp.d.ts --unreachableDefinitions --style.singleQuote --no-style.semi",

0 commit comments

Comments
 (0)