Skip to content

Generated TypeScript schema imports Sync Stream types as type-only - #720

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
autopilot/46e4528a
Open

mintlify[bot] wants to merge 1 commit into
mainfrom
autopilot/46e4528a

Conversation

@mintlify

@mintlify mintlify Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Release: Version Packages #827 (PowerSync Service 1.27.1).

Source: fix(sync-rules): emit type-only imports for SyncStream in TS schema, which marks PowerSyncDatabase and SyncStream as type imports in generated TypeScript schemas so verbatimModuleSyntax and strict bundlers accept the output.

Found in release review.

Released in PowerSync Service 1.27.1 (@powersync/service-sync-rules 0.44.0).

  • Sync Streams client usage, "The Generated Code" sample: the import line now reads import { column, Schema, Table, type PowerSyncDatabase, type SyncStream } from '@powersync/web';, matching the TypeScript schema generator's import clause at the release commit. JavaScript output keeps plain imports, and the sample is TypeScript.

@Tyagiquamar, could you confirm this matches the generator output?

@mintlify
mintlify Bot requested a review from benitav October 22, 2026 13:12
@mintlify

mintlify Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
powersync 🟢 Ready View Preview Oct 22, 2026, 1:12 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

This branch was successfully deployed

1 active deployment
staging — a97315b7 Deployed Oct 22, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant